@openc3/vue-common 6.2.1 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (489) hide show
  1. package/dist/{ArrayWidget-BxEO5hEG.js → ArrayWidget-BbsN1dzF.js} +5 -5
  2. package/dist/{ArrayWidget-BxEO5hEG.js.map → ArrayWidget-BbsN1dzF.js.map} +1 -1
  3. package/dist/{ArrayWidget-BIQi_bWC.cjs → ArrayWidget-DkjHrXsu.cjs} +3 -3
  4. package/dist/{ArrayWidget-BIQi_bWC.cjs.map → ArrayWidget-DkjHrXsu.cjs.map} +1 -1
  5. package/dist/{ArrayplotWidget-B_VPoV4v.js → ArrayplotWidget-CCKEyYIx.js} +4 -4
  6. package/dist/{ArrayplotWidget-B_VPoV4v.js.map → ArrayplotWidget-CCKEyYIx.js.map} +1 -1
  7. package/dist/ArrayplotWidget-COeaK_Lz.cjs +2 -0
  8. package/dist/{ArrayplotWidget-Donxhd8_.cjs.map → ArrayplotWidget-COeaK_Lz.cjs.map} +1 -1
  9. package/dist/{BarColumn-C9dkpg2O.js → BarColumn-C6p07yWK.js} +3 -3
  10. package/dist/{BarColumn-C9dkpg2O.js.map → BarColumn-C6p07yWK.js.map} +1 -1
  11. package/dist/BarColumn-CJLW1nXy.cjs +2 -0
  12. package/dist/{BarColumn-CyRSZHMh.cjs.map → BarColumn-CJLW1nXy.cjs.map} +1 -1
  13. package/dist/BlockWidget-BFVYgbd_.cjs +3 -0
  14. package/dist/{BlockWidget-DPLN1jgj.cjs.map → BlockWidget-BFVYgbd_.cjs.map} +1 -1
  15. package/dist/{BlockWidget-CuefOin6.js → BlockWidget-DlCHbqZX.js} +5 -5
  16. package/dist/{BlockWidget-CuefOin6.js.map → BlockWidget-DlCHbqZX.js.map} +1 -1
  17. package/dist/{ButtonWidget-B6HM0Doo.js → ButtonWidget-CtfJzCBR.js} +15 -15
  18. package/dist/{ButtonWidget-B6HM0Doo.js.map → ButtonWidget-CtfJzCBR.js.map} +1 -1
  19. package/dist/ButtonWidget-HN8UHsme.cjs +3 -0
  20. package/dist/{ButtonWidget-DccYzIY3.cjs.map → ButtonWidget-HN8UHsme.cjs.map} +1 -1
  21. package/dist/CanvasWidget-CHmkxxMO.cjs +2 -0
  22. package/dist/{CanvasWidget-BzTU9rc9.cjs.map → CanvasWidget-CHmkxxMO.cjs.map} +1 -1
  23. package/dist/{CanvasWidget-DZQGG-yQ.js → CanvasWidget-CqRlXc4r.js} +3 -3
  24. package/dist/{CanvasWidget-DZQGG-yQ.js.map → CanvasWidget-CqRlXc4r.js.map} +1 -1
  25. package/dist/{CanvasdotWidget-6wuCSnw_.js → CanvasdotWidget--Xr_KsZs.js} +3 -3
  26. package/dist/{CanvasdotWidget-6wuCSnw_.js.map → CanvasdotWidget--Xr_KsZs.js.map} +1 -1
  27. package/dist/CanvasdotWidget-B4bUcKRc.cjs +2 -0
  28. package/dist/{CanvasdotWidget-B7VTS1QI.cjs.map → CanvasdotWidget-B4bUcKRc.cjs.map} +1 -1
  29. package/dist/CanvasimageWidget-B5YozXoI.cjs +2 -0
  30. package/dist/{CanvasimageWidget-BwYpfmDE.cjs.map → CanvasimageWidget-B5YozXoI.cjs.map} +1 -1
  31. package/dist/{CanvasimageWidget-mhcPpAuN.js → CanvasimageWidget-BPlj5QYK.js} +4 -4
  32. package/dist/{CanvasimageWidget-mhcPpAuN.js.map → CanvasimageWidget-BPlj5QYK.js.map} +1 -1
  33. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js → CanvasimagevalueWidget-DVFGLt8f.js} +4 -4
  34. package/dist/{CanvasimagevalueWidget-Cx-dH8Gc.js.map → CanvasimagevalueWidget-DVFGLt8f.js.map} +1 -1
  35. package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs +2 -0
  36. package/dist/{CanvasimagevalueWidget-E_NsZ82T.cjs.map → CanvasimagevalueWidget-Dx1HnbEw.cjs.map} +1 -1
  37. package/dist/{CanvaslabelWidget-CQZCeohU.js → CanvaslabelWidget-CYNqmyP0.js} +3 -3
  38. package/dist/{CanvaslabelWidget-CQZCeohU.js.map → CanvaslabelWidget-CYNqmyP0.js.map} +1 -1
  39. package/dist/CanvaslabelWidget-DgadQD-D.cjs +2 -0
  40. package/dist/{CanvaslabelWidget-BBDuXWfU.cjs.map → CanvaslabelWidget-DgadQD-D.cjs.map} +1 -1
  41. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js → CanvaslabelvalueWidget-B7yIDmsn.js} +3 -3
  42. package/dist/{CanvaslabelvalueWidget-CwmYDCjr.js.map → CanvaslabelvalueWidget-B7yIDmsn.js.map} +1 -1
  43. package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs +2 -0
  44. package/dist/{CanvaslabelvalueWidget-DAdu7ujn.cjs.map → CanvaslabelvalueWidget-C3k5gx5c.cjs.map} +1 -1
  45. package/dist/{CanvaslineWidget-nTP3fJB4.js → CanvaslineWidget-BICdxX0Q.js} +3 -3
  46. package/dist/{CanvaslineWidget-nTP3fJB4.js.map → CanvaslineWidget-BICdxX0Q.js.map} +1 -1
  47. package/dist/CanvaslineWidget-CYHkes0a.cjs +2 -0
  48. package/dist/{CanvaslineWidget-Bv5da1Vy.cjs.map → CanvaslineWidget-CYHkes0a.cjs.map} +1 -1
  49. package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs +2 -0
  50. package/dist/{CanvaslinevalueWidget-BVfUB96K.cjs.map → CanvaslinevalueWidget-5DzhZ22p.cjs.map} +1 -1
  51. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js → CanvaslinevalueWidget-Cq-Ddh0P.js} +3 -3
  52. package/dist/{CanvaslinevalueWidget-C3sJnjLQ.js.map → CanvaslinevalueWidget-Cq-Ddh0P.js.map} +1 -1
  53. package/dist/{CheckbuttonWidget-5-8YDsQL.js → CheckbuttonWidget-B74AWeaW.js} +3 -3
  54. package/dist/{CheckbuttonWidget-5-8YDsQL.js.map → CheckbuttonWidget-B74AWeaW.js.map} +1 -1
  55. package/dist/CheckbuttonWidget-BCzsXnIF.cjs +2 -0
  56. package/dist/{CheckbuttonWidget-BGqD-BGc.cjs.map → CheckbuttonWidget-BCzsXnIF.cjs.map} +1 -1
  57. package/dist/{ComboboxWidget-DzBL8h9f.js → ComboboxWidget-CtyKbEWb.js} +3 -3
  58. package/dist/{ComboboxWidget-DzBL8h9f.js.map → ComboboxWidget-CtyKbEWb.js.map} +1 -1
  59. package/dist/ComboboxWidget-DQgDyDAC.cjs +2 -0
  60. package/dist/{ComboboxWidget-DoHMlSAr.cjs.map → ComboboxWidget-DQgDyDAC.cjs.map} +1 -1
  61. package/dist/CriticalCmdDialog-BnxZlt7W.cjs +2 -0
  62. package/dist/{CriticalCmdDialog-DoLBrU2k.cjs.map → CriticalCmdDialog-BnxZlt7W.cjs.map} +1 -1
  63. package/dist/{CriticalCmdDialog-DLEasFsx.js → CriticalCmdDialog-DPIZOBeP.js} +4 -4
  64. package/dist/{CriticalCmdDialog-DLEasFsx.js.map → CriticalCmdDialog-DPIZOBeP.js.map} +1 -1
  65. package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
  66. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
  67. package/dist/CustomIcon-h5X7369N.js +50 -0
  68. package/dist/CustomIcon-h5X7369N.js.map +1 -0
  69. package/dist/DateWidget-BB4cIuUS.cjs +2 -0
  70. package/dist/{DateWidget-DKZz1J9J.cjs.map → DateWidget-BB4cIuUS.cjs.map} +1 -1
  71. package/dist/{DateWidget-CW7Od7lB.js → DateWidget-BEVSczU8.js} +3 -3
  72. package/dist/{DateWidget-CW7Od7lB.js.map → DateWidget-BEVSczU8.js.map} +1 -1
  73. package/dist/{DetailsDialog-BvbziA7Y.js → DetailsDialog-DmEC5BTs.js} +6 -6
  74. package/dist/{DetailsDialog-BvbziA7Y.js.map → DetailsDialog-DmEC5BTs.js.map} +1 -1
  75. package/dist/DetailsDialog-mvxMFmgV.cjs +2 -0
  76. package/dist/{DetailsDialog-CiuQYvJK.cjs.map → DetailsDialog-mvxMFmgV.cjs.map} +1 -1
  77. package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
  78. package/dist/{DynamicWidget-3wHr6Ng-.cjs.map → DynamicWidget-BWEVCUfd.cjs.map} +1 -1
  79. package/dist/{DynamicWidget-gFSYxzvT.js → DynamicWidget-CfMtj7H8.js} +2 -2
  80. package/dist/{DynamicWidget-gFSYxzvT.js.map → DynamicWidget-CfMtj7H8.js.map} +1 -1
  81. package/dist/EventListDialog-BHZLl28V.cjs +2 -0
  82. package/dist/EventListDialog-BHZLl28V.cjs.map +1 -0
  83. package/dist/EventListDialog-CSMSmCIT.js +1586 -0
  84. package/dist/EventListDialog-CSMSmCIT.js.map +1 -0
  85. package/dist/FormatvalueWidget-CdjCEAI7.cjs +2 -0
  86. package/dist/{FormatvalueWidget-DFrbeKb9.cjs.map → FormatvalueWidget-CdjCEAI7.cjs.map} +1 -1
  87. package/dist/{FormatvalueWidget-CGpnTqVH.js → FormatvalueWidget-DN12xymS.js} +4 -4
  88. package/dist/{FormatvalueWidget-CGpnTqVH.js.map → FormatvalueWidget-DN12xymS.js.map} +1 -1
  89. package/dist/{Graph-3rkhFP3G.js → Graph-Bgo0cjl3.js} +214 -209
  90. package/dist/Graph-Bgo0cjl3.js.map +1 -0
  91. package/dist/Graph-Ujd2yaeI.cjs +2 -0
  92. package/dist/Graph-Ujd2yaeI.cjs.map +1 -0
  93. package/dist/{GraphWidget-Dycey-mj.js → GraphWidget-DurWDmpg.js} +2 -2
  94. package/dist/{GraphWidget-Dycey-mj.js.map → GraphWidget-DurWDmpg.js.map} +1 -1
  95. package/dist/{GraphWidget-22NxFa9k.cjs → GraphWidget-sid4Ws9H.cjs} +2 -2
  96. package/dist/{GraphWidget-22NxFa9k.cjs.map → GraphWidget-sid4Ws9H.cjs.map} +1 -1
  97. package/dist/{HorizontalWidget-D31NRWy5.js → HorizontalWidget-Cd_wl1b3.js} +3 -3
  98. package/dist/{HorizontalWidget-D31NRWy5.js.map → HorizontalWidget-Cd_wl1b3.js.map} +1 -1
  99. package/dist/HorizontalWidget-_6IR0cR8.cjs +2 -0
  100. package/dist/{HorizontalWidget-BBeB0eBI.cjs.map → HorizontalWidget-_6IR0cR8.cjs.map} +1 -1
  101. package/dist/HorizontalboxWidget-BcMTFBU-.js +47 -0
  102. package/dist/HorizontalboxWidget-BcMTFBU-.js.map +1 -0
  103. package/dist/HorizontalboxWidget-zmnurtv1.cjs +2 -0
  104. package/dist/HorizontalboxWidget-zmnurtv1.cjs.map +1 -0
  105. package/dist/HorizontallineWidget-CM-6WqCj.cjs +2 -0
  106. package/dist/{HorizontallineWidget-BCKOQase.cjs.map → HorizontallineWidget-CM-6WqCj.cjs.map} +1 -1
  107. package/dist/HorizontallineWidget-CXFqHclf.js +16 -0
  108. package/dist/{HorizontallineWidget-CbxREBYI.js.map → HorizontallineWidget-CXFqHclf.js.map} +1 -1
  109. package/dist/{IframeWidget-Ctj8OIcG.js → IframeWidget-BPerHCCa.js} +3 -3
  110. package/dist/{IframeWidget-Ctj8OIcG.js.map → IframeWidget-BPerHCCa.js.map} +1 -1
  111. package/dist/IframeWidget-EhncMob0.cjs +2 -0
  112. package/dist/{IframeWidget-CZwsTgvX.cjs.map → IframeWidget-EhncMob0.cjs.map} +1 -1
  113. package/dist/{ImageLoader-BrNrCBvi.js → ImageLoader-4N-7Gj61.js} +2 -2
  114. package/dist/{ImageLoader-BrNrCBvi.js.map → ImageLoader-4N-7Gj61.js.map} +1 -1
  115. package/dist/ImageLoader-cRmBcpU9.cjs +2 -0
  116. package/dist/{ImageLoader-D_Gq-KxR.cjs.map → ImageLoader-cRmBcpU9.cjs.map} +1 -1
  117. package/dist/ImageviewerWidget-Bv3CreXd.cjs +2 -0
  118. package/dist/{ImageviewerWidget-DwRPFSLR.cjs.map → ImageviewerWidget-Bv3CreXd.cjs.map} +1 -1
  119. package/dist/{ImageviewerWidget-XrsqxmLo.js → ImageviewerWidget-Cw_H_HmZ.js} +3 -3
  120. package/dist/{ImageviewerWidget-XrsqxmLo.js.map → ImageviewerWidget-Cw_H_HmZ.js.map} +1 -1
  121. package/dist/{InterfacesTab-DAeNlGlB.js → InterfacesTab-B4glsR9Z.js} +4 -4
  122. package/dist/{InterfacesTab-DAeNlGlB.js.map → InterfacesTab-B4glsR9Z.js.map} +1 -1
  123. package/dist/InterfacesTab-Co1Kd6Fa.cjs +2 -0
  124. package/dist/{InterfacesTab-CLaicsHA.cjs.map → InterfacesTab-Co1Kd6Fa.cjs.map} +1 -1
  125. package/dist/LabelWidget-mMcf5S8K.cjs +2 -0
  126. package/dist/LabelWidget-mMcf5S8K.cjs.map +1 -0
  127. package/dist/{LabelWidget-t7I87dp7.js → LabelWidget-xrmcVeq8.js} +5 -5
  128. package/dist/LabelWidget-xrmcVeq8.js.map +1 -0
  129. package/dist/LabelledWidget-BoYCuDaH.cjs +2 -0
  130. package/dist/{LabelledWidget-DUpHxc9z.cjs.map → LabelledWidget-BoYCuDaH.cjs.map} +1 -1
  131. package/dist/{LabelledWidget-C7TDf92M.js → LabelledWidget-D48QoyMk.js} +5 -5
  132. package/dist/{LabelledWidget-C7TDf92M.js.map → LabelledWidget-D48QoyMk.js.map} +1 -1
  133. package/dist/{LabelprogressbarWidget-wwLURt1u.js → LabelprogressbarWidget-C_950t6g.js} +5 -5
  134. package/dist/{LabelprogressbarWidget-wwLURt1u.js.map → LabelprogressbarWidget-C_950t6g.js.map} +1 -1
  135. package/dist/LabelprogressbarWidget-DiucKsT2.cjs +2 -0
  136. package/dist/{LabelprogressbarWidget-D6cpayCR.cjs.map → LabelprogressbarWidget-DiucKsT2.cjs.map} +1 -1
  137. package/dist/{LabelsparklineWidget-B3awLUyP.js → LabelsparklineWidget-0KXQyPoU.js} +5 -5
  138. package/dist/{LabelsparklineWidget-B3awLUyP.js.map → LabelsparklineWidget-0KXQyPoU.js.map} +1 -1
  139. package/dist/LabelsparklineWidget-A3MTEhQc.cjs +2 -0
  140. package/dist/{LabelsparklineWidget-CJRnLETe.cjs.map → LabelsparklineWidget-A3MTEhQc.cjs.map} +1 -1
  141. package/dist/{LabelvalueWidget-Zx_yHCtl.js → LabelvalueWidget-CQ06wWDK.js} +5 -5
  142. package/dist/{LabelvalueWidget-Zx_yHCtl.js.map → LabelvalueWidget-CQ06wWDK.js.map} +1 -1
  143. package/dist/LabelvalueWidget-DnKoz0-N.cjs +2 -0
  144. package/dist/{LabelvalueWidget-owiMSCYl.cjs.map → LabelvalueWidget-DnKoz0-N.cjs.map} +1 -1
  145. package/dist/{LabelvaluedescWidget-BBSBh4vI.js → LabelvaluedescWidget-Bo8zT01X.js} +6 -6
  146. package/dist/{LabelvaluedescWidget-BBSBh4vI.js.map → LabelvaluedescWidget-Bo8zT01X.js.map} +1 -1
  147. package/dist/LabelvaluedescWidget-I6ljK--Y.cjs +2 -0
  148. package/dist/{LabelvaluedescWidget-MRmZBUc0.cjs.map → LabelvaluedescWidget-I6ljK--Y.cjs.map} +1 -1
  149. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js → LabelvaluelimitsbarWidget-BucTw8Yk.js} +5 -5
  150. package/dist/{LabelvaluelimitsbarWidget-CZueHYWG.js.map → LabelvaluelimitsbarWidget-BucTw8Yk.js.map} +1 -1
  151. package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs +2 -0
  152. package/dist/{LabelvaluelimitsbarWidget-BQ2XYPNE.cjs.map → LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs.map} +1 -1
  153. package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs +2 -0
  154. package/dist/{LabelvaluelimitscolumnWidget-DNmVpU8J.cjs.map → LabelvaluelimitscolumnWidget-ClY5OxUC.cjs.map} +1 -1
  155. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js → LabelvaluelimitscolumnWidget-Dflb1hNd.js} +6 -6
  156. package/dist/{LabelvaluelimitscolumnWidget-BTvzyQMq.js.map → LabelvaluelimitscolumnWidget-Dflb1hNd.js.map} +1 -1
  157. package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs +2 -0
  158. package/dist/{LabelvaluerangebarWidget-DL0U8cbw.cjs.map → LabelvaluerangebarWidget-9S5rVZaS.cjs.map} +1 -1
  159. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js → LabelvaluerangebarWidget-D8cbfXFM.js} +5 -5
  160. package/dist/{LabelvaluerangebarWidget-BhYTBgDq.js.map → LabelvaluerangebarWidget-D8cbfXFM.js.map} +1 -1
  161. package/dist/Layout-DuCYyOw4.cjs +2 -0
  162. package/dist/{Layout-DRL0EeSA.cjs.map → Layout-DuCYyOw4.cjs.map} +1 -1
  163. package/dist/{Layout-Bh7VzCZd.js → Layout-Tf--nruw.js} +2 -2
  164. package/dist/{Layout-Bh7VzCZd.js.map → Layout-Tf--nruw.js.map} +1 -1
  165. package/dist/LedWidget-B2BcwiYF.cjs +2 -0
  166. package/dist/LedWidget-B2BcwiYF.cjs.map +1 -0
  167. package/dist/LedWidget-qH_FthkK.js +145 -0
  168. package/dist/LedWidget-qH_FthkK.js.map +1 -0
  169. package/dist/{LimitsbarWidget-Djui0IpK.js → LimitsbarWidget-B9lAB2RD.js} +3 -3
  170. package/dist/{LimitsbarWidget-Djui0IpK.js.map → LimitsbarWidget-B9lAB2RD.js.map} +1 -1
  171. package/dist/LimitsbarWidget-CVCLFIhG.cjs +2 -0
  172. package/dist/{LimitsbarWidget-CYIH8fdp.cjs.map → LimitsbarWidget-CVCLFIhG.cjs.map} +1 -1
  173. package/dist/LimitscolorWidget-DORhDxRo.cjs +2 -0
  174. package/dist/{LimitscolorWidget-CS0wpX9A.cjs.map → LimitscolorWidget-DORhDxRo.cjs.map} +1 -1
  175. package/dist/{LimitscolorWidget-DdmvKzmx.js → LimitscolorWidget-c6Qa6su7.js} +3 -3
  176. package/dist/{LimitscolorWidget-DdmvKzmx.js.map → LimitscolorWidget-c6Qa6su7.js.map} +1 -1
  177. package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs +2 -0
  178. package/dist/{LimitscolumnWidget-C_UW6xKq.cjs.map → LimitscolumnWidget-C9Uyg7Fh.cjs.map} +1 -1
  179. package/dist/{LimitscolumnWidget-Cc19IEjq.js → LimitscolumnWidget-CcLs_443.js} +3 -3
  180. package/dist/{LimitscolumnWidget-Cc19IEjq.js.map → LimitscolumnWidget-CcLs_443.js.map} +1 -1
  181. package/dist/{LinegraphWidget-BtieJxeL.js → LinegraphWidget-BSVYLFo1.js} +5 -5
  182. package/dist/{LinegraphWidget-BtieJxeL.js.map → LinegraphWidget-BSVYLFo1.js.map} +1 -1
  183. package/dist/LinegraphWidget-Bf8DIwEn.cjs +2 -0
  184. package/dist/{LinegraphWidget-8td_PqgU.cjs.map → LinegraphWidget-Bf8DIwEn.cjs.map} +1 -1
  185. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js → MatrixbycolumnsWidget-DXFpZTre.js} +4 -4
  186. package/dist/{MatrixbycolumnsWidget-DnExVRF8.js.map → MatrixbycolumnsWidget-DXFpZTre.js.map} +1 -1
  187. package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs +2 -0
  188. package/dist/{MatrixbycolumnsWidget-CGOeCNW2.cjs.map → MatrixbycolumnsWidget-DpdFzNeP.cjs.map} +1 -1
  189. package/dist/MicroservicesTab-B5n-mN8G.cjs +2 -0
  190. package/dist/MicroservicesTab-B5n-mN8G.cjs.map +1 -0
  191. package/dist/{MicroservicesTab-IbTmbPxO.js → MicroservicesTab-mCdS0v39.js} +17 -21
  192. package/dist/MicroservicesTab-mCdS0v39.js.map +1 -0
  193. package/dist/Openc3Screen-BYhHaH_I.cjs +5 -0
  194. package/dist/Openc3Screen-BYhHaH_I.cjs.map +1 -0
  195. package/dist/Openc3Screen-Cud0OCFu.js +1789 -0
  196. package/dist/Openc3Screen-Cud0OCFu.js.map +1 -0
  197. package/dist/{OutputDialog-B4Q0QMJ1.cjs → OutputDialog-DXoL9VPw.cjs} +2 -2
  198. package/dist/OutputDialog-DXoL9VPw.cjs.map +1 -0
  199. package/dist/{OutputDialog-Ci5OT_fH.js → OutputDialog-zVPZiZay.js} +3 -6
  200. package/dist/OutputDialog-zVPZiZay.js.map +1 -0
  201. package/dist/PackagesTab-CvT2JyMA.cjs +2 -0
  202. package/dist/{PackagesTab-eYbk2vw7.cjs.map → PackagesTab-CvT2JyMA.cjs.map} +1 -1
  203. package/dist/{PackagesTab-BX8YP3H1.js → PackagesTab-SWcXumpK.js} +4 -4
  204. package/dist/{PackagesTab-BX8YP3H1.js.map → PackagesTab-SWcXumpK.js.map} +1 -1
  205. package/dist/{PluginsTab-Ds3jk64b.js → PluginsTab-B64OvayB.js} +4 -4
  206. package/dist/{PluginsTab-Ds3jk64b.js.map → PluginsTab-B64OvayB.js.map} +1 -1
  207. package/dist/{PluginsTab-Ck3DvEGm.cjs → PluginsTab-CfpwWsqv.cjs} +4 -4
  208. package/dist/{PluginsTab-Ck3DvEGm.cjs.map → PluginsTab-CfpwWsqv.cjs.map} +1 -1
  209. package/dist/ProgressbarWidget-fGWa6ipm.cjs +2 -0
  210. package/dist/{ProgressbarWidget-CUIAYySg.cjs.map → ProgressbarWidget-fGWa6ipm.cjs.map} +1 -1
  211. package/dist/{ProgressbarWidget-DIfqhHRE.js → ProgressbarWidget-iYGw8-Dc.js} +3 -3
  212. package/dist/{ProgressbarWidget-DIfqhHRE.js.map → ProgressbarWidget-iYGw8-Dc.js.map} +1 -1
  213. package/dist/RadiobuttonWidget-ZEPJbOp_.cjs +2 -0
  214. package/dist/{RadiobuttonWidget-Cjk1JAP_.cjs.map → RadiobuttonWidget-ZEPJbOp_.cjs.map} +1 -1
  215. package/dist/{RadiobuttonWidget-QzIkNP7m.js → RadiobuttonWidget-ytmoVZ3u.js} +3 -3
  216. package/dist/{RadiobuttonWidget-QzIkNP7m.js.map → RadiobuttonWidget-ytmoVZ3u.js.map} +1 -1
  217. package/dist/{RadiogroupWidget-Ci9sCX39.js → RadiogroupWidget-CusMBhKH.js} +3 -3
  218. package/dist/{RadiogroupWidget-Ci9sCX39.js.map → RadiogroupWidget-CusMBhKH.js.map} +1 -1
  219. package/dist/RadiogroupWidget-EK4rEGUC.cjs +2 -0
  220. package/dist/{RadiogroupWidget-B4lkYWaC.cjs.map → RadiogroupWidget-EK4rEGUC.cjs.map} +1 -1
  221. package/dist/{RangebarWidget-CN0YuHqy.js → RangebarWidget-D_zGTtCa.js} +3 -3
  222. package/dist/{RangebarWidget-CN0YuHqy.js.map → RangebarWidget-D_zGTtCa.js.map} +1 -1
  223. package/dist/RangebarWidget-DwIs-L5k.cjs +2 -0
  224. package/dist/{RangebarWidget-nl0rzj93.cjs.map → RangebarWidget-DwIs-L5k.cjs.map} +1 -1
  225. package/dist/RedisTab-67UcKoPf.cjs +2 -0
  226. package/dist/{RedisTab-DhS4GHDj.cjs.map → RedisTab-67UcKoPf.cjs.map} +1 -1
  227. package/dist/{RedisTab-CVimDkIE.js → RedisTab-CyPo6ADN.js} +14 -14
  228. package/dist/{RedisTab-CVimDkIE.js.map → RedisTab-CyPo6ADN.js.map} +1 -1
  229. package/dist/RollupWidget-DC3OIP6G.cjs +2 -0
  230. package/dist/{RollupWidget-Bgudi_bt.cjs.map → RollupWidget-DC3OIP6G.cjs.map} +1 -1
  231. package/dist/{RollupWidget-y4jBtJB2.js → RollupWidget-Dolsixyt.js} +3 -3
  232. package/dist/{RollupWidget-y4jBtJB2.js.map → RollupWidget-Dolsixyt.js.map} +1 -1
  233. package/dist/RoutersTab-BBPlFi_z.cjs +2 -0
  234. package/dist/{RoutersTab-CzO10cVP.cjs.map → RoutersTab-BBPlFi_z.cjs.map} +1 -1
  235. package/dist/{RoutersTab-Dki_66av.js → RoutersTab-Cs2dFVNA.js} +4 -4
  236. package/dist/{RoutersTab-Dki_66av.js.map → RoutersTab-Cs2dFVNA.js.map} +1 -1
  237. package/dist/{ScriptChooser-l5i8c8KP.js → ScriptChooser-EV65rbWx.js} +3 -3
  238. package/dist/{ScriptChooser-l5i8c8KP.js.map → ScriptChooser-EV65rbWx.js.map} +1 -1
  239. package/dist/ScriptChooser-vyZwngrz.cjs +2 -0
  240. package/dist/{ScriptChooser-BNm_zXxX.cjs.map → ScriptChooser-vyZwngrz.cjs.map} +1 -1
  241. package/dist/ScrollwindowWidget-BWeqSUPc.cjs +2 -0
  242. package/dist/{ScrollwindowWidget-BIiV7xwi.cjs.map → ScrollwindowWidget-BWeqSUPc.cjs.map} +1 -1
  243. package/dist/{ScrollwindowWidget-CBzYk4Y3.js → ScrollwindowWidget-DV2nZuNi.js} +4 -4
  244. package/dist/{ScrollwindowWidget-CBzYk4Y3.js.map → ScrollwindowWidget-DV2nZuNi.js.map} +1 -1
  245. package/dist/SecretsTab-0IFqUxNJ.cjs +2 -0
  246. package/dist/{SecretsTab-BSzFZ81X.cjs.map → SecretsTab-0IFqUxNJ.cjs.map} +1 -1
  247. package/dist/{SecretsTab-BjviaTxh.js → SecretsTab-DVyyyGlG.js} +3 -3
  248. package/dist/{SecretsTab-BjviaTxh.js.map → SecretsTab-DVyyyGlG.js.map} +1 -1
  249. package/dist/SettingsTab-B1LvOLG2.cjs +3 -0
  250. package/dist/SettingsTab-B1LvOLG2.cjs.map +1 -0
  251. package/dist/{SettingsTab-Bo_dYXgb.js → SettingsTab-g29K6FyC.js} +198 -135
  252. package/dist/SettingsTab-g29K6FyC.js.map +1 -0
  253. package/dist/SignalWidget-RvRwpE8T.cjs +2 -0
  254. package/dist/{SignalWidget-CvZkvejy.cjs.map → SignalWidget-RvRwpE8T.cjs.map} +1 -1
  255. package/dist/{SignalWidget-DQ5Uc2uV.js → SignalWidget-d9-6h85k.js} +3 -3
  256. package/dist/{SignalWidget-DQ5Uc2uV.js.map → SignalWidget-d9-6h85k.js.map} +1 -1
  257. package/dist/SimpleTextDialog-Cpbt7Q-8.cjs +2 -0
  258. package/dist/{SimpleTextDialog-DmeNMMCR.cjs.map → SimpleTextDialog-Cpbt7Q-8.cjs.map} +1 -1
  259. package/dist/{SimpleTextDialog-CheuP_ls.js → SimpleTextDialog-pwN8oRy1.js} +9 -10
  260. package/dist/{SimpleTextDialog-CheuP_ls.js.map → SimpleTextDialog-pwN8oRy1.js.map} +1 -1
  261. package/dist/SpacerWidget-7_8bpLCb.cjs +2 -0
  262. package/dist/{SpacerWidget-BBJR6HBQ.cjs.map → SpacerWidget-7_8bpLCb.cjs.map} +1 -1
  263. package/dist/{SpacerWidget-6rsc_dSM.js → SpacerWidget-BH0p2OLi.js} +3 -3
  264. package/dist/{SpacerWidget-6rsc_dSM.js.map → SpacerWidget-BH0p2OLi.js.map} +1 -1
  265. package/dist/SparklineWidget-60jVlbHA.cjs +2 -0
  266. package/dist/{SparklineWidget-BxBLnjAO.cjs.map → SparklineWidget-60jVlbHA.cjs.map} +1 -1
  267. package/dist/{SparklineWidget-CZtvu2ss.js → SparklineWidget-coxi9r2g.js} +5 -5
  268. package/dist/{SparklineWidget-CZtvu2ss.js.map → SparklineWidget-coxi9r2g.js.map} +1 -1
  269. package/dist/{TabbookWidget-DNALU0jl.js → TabbookWidget-B1XKplGH.js} +3 -3
  270. package/dist/{TabbookWidget-DNALU0jl.js.map → TabbookWidget-B1XKplGH.js.map} +1 -1
  271. package/dist/TabbookWidget-D1CVT9IK.cjs +2 -0
  272. package/dist/{TabbookWidget-DyFQnA10.cjs.map → TabbookWidget-D1CVT9IK.cjs.map} +1 -1
  273. package/dist/{TargetsTab-Cd8U1aN_.js → TargetsTab-BkBkXn9A.js} +12 -12
  274. package/dist/{TargetsTab-Cd8U1aN_.js.map → TargetsTab-BkBkXn9A.js.map} +1 -1
  275. package/dist/TargetsTab-C-m26Eqq.cjs +2 -0
  276. package/dist/{TargetsTab-DMiOliqg.cjs.map → TargetsTab-C-m26Eqq.cjs.map} +1 -1
  277. package/dist/{TextBoxDialog-fHkDTtzI.js → TextBoxDialog-DOJ5d2RM.js} +2 -2
  278. package/dist/{TextBoxDialog-fHkDTtzI.js.map → TextBoxDialog-DOJ5d2RM.js.map} +1 -1
  279. package/dist/TextBoxDialog-DfMXg_5C.cjs +2 -0
  280. package/dist/{TextBoxDialog-DvUf3Cak.cjs.map → TextBoxDialog-DfMXg_5C.cjs.map} +1 -1
  281. package/dist/TextboxWidget-BDG4NxRw.cjs +2 -0
  282. package/dist/{TextboxWidget-D6lW_dsU.cjs.map → TextboxWidget-BDG4NxRw.cjs.map} +1 -1
  283. package/dist/{TextboxWidget-5hqPj74D.js → TextboxWidget-C-_M2M4l.js} +5 -5
  284. package/dist/{TextboxWidget-5hqPj74D.js.map → TextboxWidget-C-_M2M4l.js.map} +1 -1
  285. package/dist/TextfieldWidget-BGJv9Lox.cjs +2 -0
  286. package/dist/{TextfieldWidget-iHN7-fyF.cjs.map → TextfieldWidget-BGJv9Lox.cjs.map} +1 -1
  287. package/dist/{TextfieldWidget-Df0ANSiU.js → TextfieldWidget-C08N4JE8.js} +3 -3
  288. package/dist/{TextfieldWidget-Df0ANSiU.js.map → TextfieldWidget-C08N4JE8.js.map} +1 -1
  289. package/dist/TimeWidget-CGCOIouj.cjs +2 -0
  290. package/dist/{TimeWidget-C3NZqTEG.cjs.map → TimeWidget-CGCOIouj.cjs.map} +1 -1
  291. package/dist/{TimeWidget-C6XQMUG2.js → TimeWidget-DtwdEcFg.js} +3 -3
  292. package/dist/{TimeWidget-C6XQMUG2.js.map → TimeWidget-DtwdEcFg.js.map} +1 -1
  293. package/dist/TitleWidget-BljFH9RB.cjs +2 -0
  294. package/dist/{TitleWidget-CWZs33c4.cjs.map → TitleWidget-BljFH9RB.cjs.map} +1 -1
  295. package/dist/{TitleWidget-B9SPUlbW.js → TitleWidget-CT-aLcNb.js} +3 -3
  296. package/dist/{TitleWidget-B9SPUlbW.js.map → TitleWidget-CT-aLcNb.js.map} +1 -1
  297. package/dist/{ToolsTab-Cgpb2nAW.js → ToolsTab-NveeVXz2.js} +4 -4
  298. package/dist/{ToolsTab-Cgpb2nAW.js.map → ToolsTab-NveeVXz2.js.map} +1 -1
  299. package/dist/{ToolsTab-CUpUmkZL.cjs → ToolsTab-RMTst_Sy.cjs} +3 -3
  300. package/dist/{ToolsTab-CUpUmkZL.cjs.map → ToolsTab-RMTst_Sy.cjs.map} +1 -1
  301. package/dist/{TopBar-F1jHuFan.js → TopBar-CnJNNJlV.js} +104 -74
  302. package/dist/TopBar-CnJNNJlV.js.map +1 -0
  303. package/dist/TopBar-Cnmb6DyC.cjs +2 -0
  304. package/dist/TopBar-Cnmb6DyC.cjs.map +1 -0
  305. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js → UpgradeToEnterpriseDialog-BvfgoNB1.js} +9 -10
  306. package/dist/{UpgradeToEnterpriseDialog-DVcAH30Y.js.map → UpgradeToEnterpriseDialog-BvfgoNB1.js.map} +1 -1
  307. package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs +2 -0
  308. package/dist/{UpgradeToEnterpriseDialog-DfIKahNK.cjs.map → UpgradeToEnterpriseDialog-sUipOVpB.cjs.map} +1 -1
  309. package/dist/{VWidget-C2x_zSC2.cjs → VWidget-2N2cOosI.cjs} +2 -2
  310. package/dist/{VWidget-C2x_zSC2.cjs.map → VWidget-2N2cOosI.cjs.map} +1 -1
  311. package/dist/{VWidget-C4spAawK.js → VWidget-DQqb7NVW.js} +2 -2
  312. package/dist/{VWidget-C4spAawK.js.map → VWidget-DQqb7NVW.js.map} +1 -1
  313. package/dist/{ValueWidget-D4RrYVEK.js → ValueWidget-C6RanBj3.js} +5 -5
  314. package/dist/{ValueWidget-D4RrYVEK.js.map → ValueWidget-C6RanBj3.js.map} +1 -1
  315. package/dist/ValueWidget-Cu7hgKja.cjs +2 -0
  316. package/dist/{ValueWidget-Do3Yn47P.cjs.map → ValueWidget-Cu7hgKja.cjs.map} +1 -1
  317. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js → ValuelimitsbarWidget-B3bvjfxc.js} +5 -5
  318. package/dist/{ValuelimitsbarWidget-Bc9_Vj_f.js.map → ValuelimitsbarWidget-B3bvjfxc.js.map} +1 -1
  319. package/dist/ValuelimitsbarWidget-C0HROxrb.cjs +2 -0
  320. package/dist/{ValuelimitsbarWidget-DJuh7FOs.cjs.map → ValuelimitsbarWidget-C0HROxrb.cjs.map} +1 -1
  321. package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs +2 -0
  322. package/dist/{ValuelimitscolumnWidget-BFpG-H7v.cjs.map → ValuelimitscolumnWidget-CWvLfg8u.cjs.map} +1 -1
  323. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js → ValuelimitscolumnWidget-QvhI6EcE.js} +5 -5
  324. package/dist/{ValuelimitscolumnWidget-DHKIL7sf.js.map → ValuelimitscolumnWidget-QvhI6EcE.js.map} +1 -1
  325. package/dist/{ValuerangebarWidget-CecQRIok.js → ValuerangebarWidget-Dt3K9BnC.js} +5 -5
  326. package/dist/{ValuerangebarWidget-CecQRIok.js.map → ValuerangebarWidget-Dt3K9BnC.js.map} +1 -1
  327. package/dist/ValuerangebarWidget-DyN78cQl.cjs +2 -0
  328. package/dist/{ValuerangebarWidget-BlZSaiXo.cjs.map → ValuerangebarWidget-DyN78cQl.cjs.map} +1 -1
  329. package/dist/{VerticalWidget-D8jUFxjS.js → VerticalWidget-BIIViZgI.js} +3 -3
  330. package/dist/{VerticalWidget-D8jUFxjS.js.map → VerticalWidget-BIIViZgI.js.map} +1 -1
  331. package/dist/VerticalWidget-CFTOu4H8.cjs +2 -0
  332. package/dist/{VerticalWidget--8UErB4q.cjs.map → VerticalWidget-CFTOu4H8.cjs.map} +1 -1
  333. package/dist/VerticalboxWidget-DY72fLHW.js +46 -0
  334. package/dist/VerticalboxWidget-DY72fLHW.js.map +1 -0
  335. package/dist/VerticalboxWidget-Z8-DWI8t.cjs +2 -0
  336. package/dist/VerticalboxWidget-Z8-DWI8t.cjs.map +1 -0
  337. package/dist/Widget-ChoIB2dd.cjs +2 -0
  338. package/dist/{Widget-DNf52jRQ.cjs.map → Widget-ChoIB2dd.cjs.map} +1 -1
  339. package/dist/{Widget-fRCERxGf.js → Widget-oyqWpFXJ.js} +18 -18
  340. package/dist/{Widget-fRCERxGf.js.map → Widget-oyqWpFXJ.js.map} +1 -1
  341. package/dist/WidgetComponents-C1lSLZ0I.js +30205 -0
  342. package/dist/WidgetComponents-C1lSLZ0I.js.map +1 -0
  343. package/dist/WidgetComponents-utpQ592X.cjs +1493 -0
  344. package/dist/WidgetComponents-utpQ592X.cjs.map +1 -0
  345. package/dist/components.cjs +3 -6
  346. package/dist/components.cjs.map +1 -1
  347. package/dist/components.js +372 -1966
  348. package/dist/components.js.map +1 -1
  349. package/dist/icons.cjs +1 -1
  350. package/dist/icons.cjs.map +1 -1
  351. package/dist/icons.js +59 -52
  352. package/dist/icons.js.map +1 -1
  353. package/dist/index-BX05anye.cjs +7 -0
  354. package/dist/index-BX05anye.cjs.map +1 -0
  355. package/dist/{index-CFQnWdPA.js → index-DwP8ryNM.js} +385 -396
  356. package/dist/index-DwP8ryNM.js.map +1 -0
  357. package/dist/plugins.cjs +4 -4
  358. package/dist/plugins.cjs.map +1 -1
  359. package/dist/plugins.js +71 -67
  360. package/dist/plugins.js.map +1 -1
  361. package/dist/tools/admin.cjs +7 -7
  362. package/dist/tools/admin.cjs.map +1 -1
  363. package/dist/tools/admin.js +824 -744
  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 +10 -16
  368. package/dist/tools/base.js.map +1 -1
  369. package/dist/tools/calendar.cjs +1 -1
  370. package/dist/tools/calendar.cjs.map +1 -1
  371. package/dist/tools/calendar.js +9 -1583
  372. package/dist/tools/calendar.js.map +1 -1
  373. package/dist/tools/scriptrunner.cjs +86 -0
  374. package/dist/tools/scriptrunner.cjs.map +1 -0
  375. package/dist/tools/scriptrunner.js +4564 -0
  376. package/dist/tools/scriptrunner.js.map +1 -0
  377. package/dist/vue-common.css +1 -1
  378. package/dist/widgets.cjs +1 -1
  379. package/dist/widgets.js +64 -64
  380. package/package.json +20 -15
  381. package/dist/ArrayplotWidget-Donxhd8_.cjs +0 -2
  382. package/dist/BarColumn-CyRSZHMh.cjs +0 -2
  383. package/dist/BlockWidget-DPLN1jgj.cjs +0 -3
  384. package/dist/ButtonWidget-DccYzIY3.cjs +0 -3
  385. package/dist/CanvasWidget-BzTU9rc9.cjs +0 -2
  386. package/dist/CanvasdotWidget-B7VTS1QI.cjs +0 -2
  387. package/dist/CanvasimageWidget-BwYpfmDE.cjs +0 -2
  388. package/dist/CanvasimagevalueWidget-E_NsZ82T.cjs +0 -2
  389. package/dist/CanvaslabelWidget-BBDuXWfU.cjs +0 -2
  390. package/dist/CanvaslabelvalueWidget-DAdu7ujn.cjs +0 -2
  391. package/dist/CanvaslineWidget-Bv5da1Vy.cjs +0 -2
  392. package/dist/CanvaslinevalueWidget-BVfUB96K.cjs +0 -2
  393. package/dist/CheckbuttonWidget-BGqD-BGc.cjs +0 -2
  394. package/dist/ComboboxWidget-DoHMlSAr.cjs +0 -2
  395. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs +0 -2
  396. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-BHFhmbuH.cjs.map +0 -1
  397. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js +0 -10
  398. package/dist/CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js.map +0 -1
  399. package/dist/CriticalCmdDialog-DoLBrU2k.cjs +0 -2
  400. package/dist/DateWidget-DKZz1J9J.cjs +0 -2
  401. package/dist/DetailsDialog-CiuQYvJK.cjs +0 -2
  402. package/dist/DynamicWidget-3wHr6Ng-.cjs +0 -2
  403. package/dist/FormatvalueWidget-DFrbeKb9.cjs +0 -2
  404. package/dist/Graph-3rkhFP3G.js.map +0 -1
  405. package/dist/Graph-C3vGMcos.cjs +0 -2
  406. package/dist/Graph-C3vGMcos.cjs.map +0 -1
  407. package/dist/HorizontalWidget-BBeB0eBI.cjs +0 -2
  408. package/dist/HorizontalboxWidget-Br8dSVHD.js +0 -38
  409. package/dist/HorizontalboxWidget-Br8dSVHD.js.map +0 -1
  410. package/dist/HorizontalboxWidget-DsdzrCJx.cjs +0 -2
  411. package/dist/HorizontalboxWidget-DsdzrCJx.cjs.map +0 -1
  412. package/dist/HorizontallineWidget-BCKOQase.cjs +0 -2
  413. package/dist/HorizontallineWidget-CbxREBYI.js +0 -11
  414. package/dist/IframeWidget-CZwsTgvX.cjs +0 -2
  415. package/dist/ImageLoader-D_Gq-KxR.cjs +0 -2
  416. package/dist/ImageviewerWidget-DwRPFSLR.cjs +0 -2
  417. package/dist/InterfacesTab-CLaicsHA.cjs +0 -2
  418. package/dist/LabelWidget-C-s8OVmA.cjs +0 -2
  419. package/dist/LabelWidget-C-s8OVmA.cjs.map +0 -1
  420. package/dist/LabelWidget-t7I87dp7.js.map +0 -1
  421. package/dist/LabelledWidget-DUpHxc9z.cjs +0 -2
  422. package/dist/LabelprogressbarWidget-D6cpayCR.cjs +0 -2
  423. package/dist/LabelsparklineWidget-CJRnLETe.cjs +0 -2
  424. package/dist/LabelvalueWidget-owiMSCYl.cjs +0 -2
  425. package/dist/LabelvaluedescWidget-MRmZBUc0.cjs +0 -2
  426. package/dist/LabelvaluelimitsbarWidget-BQ2XYPNE.cjs +0 -2
  427. package/dist/LabelvaluelimitscolumnWidget-DNmVpU8J.cjs +0 -2
  428. package/dist/LabelvaluerangebarWidget-DL0U8cbw.cjs +0 -2
  429. package/dist/Layout-DRL0EeSA.cjs +0 -2
  430. package/dist/LedWidget-B8rjFe1b.cjs +0 -2
  431. package/dist/LedWidget-B8rjFe1b.cjs.map +0 -1
  432. package/dist/LedWidget-CxJjJBBS.js +0 -71
  433. package/dist/LedWidget-CxJjJBBS.js.map +0 -1
  434. package/dist/LimitsbarWidget-CYIH8fdp.cjs +0 -2
  435. package/dist/LimitscolorWidget-CS0wpX9A.cjs +0 -2
  436. package/dist/LimitscolumnWidget-C_UW6xKq.cjs +0 -2
  437. package/dist/LinegraphWidget-8td_PqgU.cjs +0 -2
  438. package/dist/MatrixbycolumnsWidget-CGOeCNW2.cjs +0 -2
  439. package/dist/MicroservicesTab-IbTmbPxO.js.map +0 -1
  440. package/dist/MicroservicesTab-uMC8NebS.cjs +0 -2
  441. package/dist/MicroservicesTab-uMC8NebS.cjs.map +0 -1
  442. package/dist/OutputDialog-B4Q0QMJ1.cjs.map +0 -1
  443. package/dist/OutputDialog-Ci5OT_fH.js.map +0 -1
  444. package/dist/PackagesTab-eYbk2vw7.cjs +0 -2
  445. package/dist/ProgressbarWidget-CUIAYySg.cjs +0 -2
  446. package/dist/RadiobuttonWidget-Cjk1JAP_.cjs +0 -2
  447. package/dist/RadiogroupWidget-B4lkYWaC.cjs +0 -2
  448. package/dist/RangebarWidget-nl0rzj93.cjs +0 -2
  449. package/dist/RedisTab-DhS4GHDj.cjs +0 -2
  450. package/dist/RollupWidget-Bgudi_bt.cjs +0 -2
  451. package/dist/RoutersTab-CzO10cVP.cjs +0 -2
  452. package/dist/ScriptChooser-BNm_zXxX.cjs +0 -2
  453. package/dist/ScrollwindowWidget-BIiV7xwi.cjs +0 -2
  454. package/dist/SecretsTab-BSzFZ81X.cjs +0 -2
  455. package/dist/SettingsTab-Bo_dYXgb.js.map +0 -1
  456. package/dist/SettingsTab-DH8LAAoG.cjs +0 -3
  457. package/dist/SettingsTab-DH8LAAoG.cjs.map +0 -1
  458. package/dist/SignalWidget-CvZkvejy.cjs +0 -2
  459. package/dist/SimpleTextDialog-DmeNMMCR.cjs +0 -2
  460. package/dist/SpacerWidget-BBJR6HBQ.cjs +0 -2
  461. package/dist/SparklineWidget-BxBLnjAO.cjs +0 -2
  462. package/dist/TabbookWidget-DyFQnA10.cjs +0 -2
  463. package/dist/TargetsTab-DMiOliqg.cjs +0 -2
  464. package/dist/TextBoxDialog-DvUf3Cak.cjs +0 -2
  465. package/dist/TextboxWidget-D6lW_dsU.cjs +0 -2
  466. package/dist/TextfieldWidget-iHN7-fyF.cjs +0 -2
  467. package/dist/TimeWidget-C3NZqTEG.cjs +0 -2
  468. package/dist/TitleWidget-CWZs33c4.cjs +0 -2
  469. package/dist/TopBar-DuXL27iD.cjs +0 -2
  470. package/dist/TopBar-DuXL27iD.cjs.map +0 -1
  471. package/dist/TopBar-F1jHuFan.js.map +0 -1
  472. package/dist/UpgradeToEnterpriseDialog-DfIKahNK.cjs +0 -2
  473. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs +0 -1417
  474. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-DJX55UPj.cjs.map +0 -1
  475. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js +0 -26941
  476. package/dist/UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js.map +0 -1
  477. package/dist/ValueWidget-Do3Yn47P.cjs +0 -2
  478. package/dist/ValuelimitsbarWidget-DJuh7FOs.cjs +0 -2
  479. package/dist/ValuelimitscolumnWidget-BFpG-H7v.cjs +0 -2
  480. package/dist/ValuerangebarWidget-BlZSaiXo.cjs +0 -2
  481. package/dist/VerticalWidget--8UErB4q.cjs +0 -2
  482. package/dist/VerticalboxWidget-B4eGUSYH.js +0 -37
  483. package/dist/VerticalboxWidget-B4eGUSYH.js.map +0 -1
  484. package/dist/VerticalboxWidget-cxHq1WKQ.cjs +0 -2
  485. package/dist/VerticalboxWidget-cxHq1WKQ.cjs.map +0 -1
  486. package/dist/Widget-DNf52jRQ.cjs +0 -2
  487. package/dist/index-Bz_jHTkl.cjs +0 -7
  488. package/dist/index-Bz_jHTkl.cjs.map +0 -1
  489. package/dist/index-CFQnWdPA.js.map +0 -1
@@ -1,10 +1,10 @@
1
- import { a as pe } from "../index-CFQnWdPA.js";
2
- import { resolveComponent as _, createBlock as M, openBlock as S, withCtx as u, createVNode as g, createElementVNode as k, createElementBlock as V, createTextVNode as E, Fragment as P, renderList as F, createCommentVNode as H, toDisplayString as A, mergeProps as me, withModifiers as j, normalizeProps as _e, guardReactiveProps as be, withDirectives as we, vShow as ye, toRaw as ve } from "vue";
3
- import { _ as U } from "../CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js";
4
- import { c as R, a as xe } from "../UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
1
+ import { a as we } from "../index-DwP8ryNM.js";
2
+ import { resolveComponent as m, createBlock as k, openBlock as L, withCtx as g, createVNode as c, createElementVNode as M, createElementBlock as R, createTextVNode as S, Fragment as G, renderList as $, createCommentVNode as j, toDisplayString as N, mergeProps as ye, withModifiers as H, normalizeProps as ve, guardReactiveProps as xe, withDirectives as Ce, vShow as Ee, toRaw as Le } from "vue";
3
+ import { _ as q } from "../CustomIcon-h5X7369N.js";
4
+ import { b as I, o as Se } from "../WidgetComponents-C1lSLZ0I.js";
5
+ import { A as U, T as De } from "../TopBar-CnJNNJlV.js";
5
6
  import "single-spa";
6
- import { T as Le } from "../TopBar-F1jHuFan.js";
7
- const Se = {
7
+ const Me = {
8
8
  props: {
9
9
  modelValue: Boolean
10
10
  },
@@ -40,7 +40,7 @@ const Se = {
40
40
  }));
41
41
  },
42
42
  getResponse: function() {
43
- this.disableSearch = !0, pe.get(this.url).then((e) => {
43
+ this.disableSearch = !0, we.get(this.url).then((e) => {
44
44
  this.response = e.data;
45
45
  }), setTimeout(() => {
46
46
  this.disableSearch = !1;
@@ -54,60 +54,60 @@ const Se = {
54
54
  t.href = e.url, t.setAttribute("download", e.name), t.click(), t.remove();
55
55
  }
56
56
  }
57
- }, Ee = { class: "pa-3" }, Ce = { class: "px-2" }, De = {
57
+ }, Te = { class: "pa-3" }, ke = { class: "px-2" }, Ie = {
58
58
  key: 0,
59
59
  class: "mt-4"
60
- }, Te = {
60
+ }, Re = {
61
61
  key: 1,
62
62
  class: "mt-4"
63
- }, ke = { key: 0 }, Ie = { key: 1 };
64
- function Me(e, t, n, o, s, i) {
65
- const l = _("v-spacer"), r = _("v-toolbar"), a = _("v-row"), f = _("v-icon"), c = _("v-btn"), h = _("v-col"), p = _("v-list-item-title"), m = _("v-progress-circular"), w = _("v-tooltip"), v = _("v-list-item"), y = _("v-divider"), b = _("v-card-text"), L = _("v-card"), x = _("v-dialog");
66
- return S(), M(x, {
63
+ }, Ve = { key: 0 }, Ae = { key: 1 };
64
+ function Ne(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"), d = m("v-col"), p = m("v-list-item-title"), _ = m("v-progress-circular"), w = m("v-tooltip"), C = m("v-list-item"), y = m("v-divider"), b = m("v-card-text"), E = m("v-card"), x = m("v-dialog");
66
+ return L(), k(x, {
67
67
  modelValue: i.show,
68
- "onUpdate:modelValue": t[0] || (t[0] = (C) => i.show = C),
68
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => i.show = v),
69
69
  width: "600"
70
70
  }, {
71
- default: u(() => [
72
- g(L, null, {
73
- default: u(() => [
74
- g(r, { height: "24" }, {
75
- default: u(() => [
76
- g(l),
77
- t[1] || (t[1] = k("span", null, " Download Gems ", -1)),
78
- g(l)
71
+ default: g(() => [
72
+ c(E, null, {
73
+ default: g(() => [
74
+ c(r, { height: "24" }, {
75
+ default: g(() => [
76
+ c(s),
77
+ t[1] || (t[1] = M("span", null, " Download Gems ", -1)),
78
+ c(s)
79
79
  ]),
80
80
  _: 1
81
81
  }),
82
- g(b, null, {
83
- default: u(() => [
84
- k("div", Ee, [
85
- g(a, { class: "my-2" }, {
86
- default: u(() => t[2] || (t[2] = [
87
- E(" Select a download option ")
82
+ c(b, null, {
83
+ default: g(() => [
84
+ M("div", Te, [
85
+ c(a, { class: "my-2" }, {
86
+ default: g(() => t[2] || (t[2] = [
87
+ S(" Select a download option ")
88
88
  ])),
89
89
  _: 1
90
90
  }),
91
- g(a, null, {
92
- default: u(() => [
93
- g(h, null, {
94
- default: u(() => [
95
- k("div", Ce, [
96
- g(c, {
91
+ c(a, null, {
92
+ default: g(() => [
93
+ c(d, null, {
94
+ default: g(() => [
95
+ M("div", ke, [
96
+ c(u, {
97
97
  onClick: i.searchGithub,
98
98
  block: "",
99
99
  "data-test": "searchGithub",
100
100
  color: "primary",
101
- disabled: s.disableSearch
101
+ disabled: l.disableSearch
102
102
  }, {
103
- default: u(() => [
104
- t[4] || (t[4] = E(" Github ")),
105
- g(f, {
103
+ default: g(() => [
104
+ t[4] || (t[4] = S(" Github ")),
105
+ c(f, {
106
106
  end: "",
107
107
  theme: "dark"
108
108
  }, {
109
- default: u(() => t[3] || (t[3] = [
110
- E(" mdi-github ")
109
+ default: g(() => t[3] || (t[3] = [
110
+ S(" mdi-github ")
111
111
  ])),
112
112
  _: 1
113
113
  })
@@ -121,51 +121,51 @@ function Me(e, t, n, o, s, i) {
121
121
  ]),
122
122
  _: 1
123
123
  }),
124
- g(a, { class: "mt-5" }, {
125
- default: u(() => t[5] || (t[5] = [
126
- E(" Community Gems ")
124
+ c(a, { class: "mt-5" }, {
125
+ default: g(() => t[5] || (t[5] = [
126
+ S(" Community Gems ")
127
127
  ])),
128
128
  _: 1
129
129
  }),
130
- i.listData.length < 1 ? (S(), V("div", De, [
131
- g(a, { class: "mx-2" }, {
132
- default: u(() => t[6] || (t[6] = [
133
- k("span", null, " I’m sorry, Dave. No gems available.... ", -1)
130
+ i.listData.length < 1 ? (L(), R("div", Ie, [
131
+ c(a, { class: "mx-2" }, {
132
+ default: g(() => t[6] || (t[6] = [
133
+ M("span", null, " I’m sorry, Dave. No gems available.... ", -1)
134
134
  ])),
135
135
  _: 1
136
136
  })
137
- ])) : (S(), V("div", Te, [
138
- (S(!0), V(P, null, F(i.listData, (C, D) => (S(), V("div", { key: D }, [
139
- g(v, null, {
140
- default: u(() => [
141
- g(p, null, {
142
- default: u(() => [
143
- E(A(C.name), 1)
137
+ ])) : (L(), R("div", Re, [
138
+ (L(!0), R(G, null, $(i.listData, (v, T) => (L(), R("div", { key: T }, [
139
+ c(C, null, {
140
+ default: g(() => [
141
+ c(p, null, {
142
+ default: g(() => [
143
+ S(N(v.name), 1)
144
144
  ]),
145
145
  _: 2
146
146
  }, 1024),
147
- g(v, { icon: "" }, {
148
- default: u(() => [
149
- s.activeDownload ? (S(), V("div", ke, [
150
- g(m, {
147
+ c(C, { icon: "" }, {
148
+ default: g(() => [
149
+ l.activeDownload ? (L(), R("div", Ve, [
150
+ c(_, {
151
151
  indeterminate: "",
152
152
  color: "primary"
153
153
  })
154
- ])) : (S(), V("div", Ie, [
155
- g(w, { location: "top" }, {
156
- activator: u(({ props: I }) => [
157
- g(f, me({ ref_for: !0 }, I, {
158
- onClick: (N) => i.downloadGem(C),
159
- disabled: s.activeDownload
154
+ ])) : (L(), R("div", Ae, [
155
+ c(w, { location: "top" }, {
156
+ activator: g(({ props: V }) => [
157
+ c(f, ye({ ref_for: !0 }, V, {
158
+ onClick: (P) => i.downloadGem(v),
159
+ disabled: l.activeDownload
160
160
  }), {
161
- default: u(() => t[7] || (t[7] = [
162
- E(" mdi-cloud-download ")
161
+ default: g(() => t[7] || (t[7] = [
162
+ S(" mdi-cloud-download ")
163
163
  ])),
164
164
  _: 2
165
165
  }, 1040, ["onClick", "disabled"])
166
166
  ]),
167
- default: u(() => [
168
- t[8] || (t[8] = k("span", null, "Download Gem", -1))
167
+ default: g(() => [
168
+ t[8] || (t[8] = M("span", null, "Download Gem", -1))
169
169
  ]),
170
170
  _: 2
171
171
  }, 1024)
@@ -176,7 +176,7 @@ function Me(e, t, n, o, s, i) {
176
176
  ]),
177
177
  _: 2
178
178
  }, 1024),
179
- D < i.listData.length - 1 ? (S(), M(y, { key: D })) : H("", !0)
179
+ T < i.listData.length - 1 ? (L(), k(y, { key: T })) : j("", !0)
180
180
  ]))), 128))
181
181
  ]))
182
182
  ])
@@ -190,7 +190,7 @@ function Me(e, t, n, o, s, i) {
190
190
  _: 1
191
191
  }, 8, ["modelValue"]);
192
192
  }
193
- const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
193
+ const _t = /* @__PURE__ */ q(Me, [["render", Ne]]), Pe = {
194
194
  props: {
195
195
  content: {
196
196
  type: String,
@@ -203,12 +203,15 @@ const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
203
203
  },
204
204
  data() {
205
205
  return {
206
- editor: null
206
+ editor: null,
207
+ contextMenu: !1,
208
+ menuX: 0,
209
+ menuY: 0
207
210
  };
208
211
  },
209
212
  mounted() {
210
213
  const e = this.buildPluginMode();
211
- this.editor = R.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(), this.editor.focus(), this.readonly && this.editor.setReadOnly(!0);
214
+ 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);
212
215
  },
213
216
  beforeUnmount() {
214
217
  this.editor && this.editor.destroy();
@@ -246,62 +249,70 @@ const pt = /* @__PURE__ */ U(Se, [["render", Me]]), Re = {
246
249
  ), t.click();
247
250
  },
248
251
  buildPluginMode() {
249
- let e = R.require("ace/lib/oop"), t = R.require(
252
+ let e = I.require("ace/lib/oop"), t = I.require(
250
253
  "ace/mode/json_highlight_rules"
251
- ).JsonHighlightRules, n = R.require(
254
+ ).JsonHighlightRules, n = I.require(
252
255
  "ace/mode/matching_brace_outdent"
253
- ).MatchingBraceOutdent, o = R.require(
256
+ ).MatchingBraceOutdent, o = I.require(
254
257
  "ace/mode/behaviour/cstyle"
255
- ).CstyleBehaviour, s = R.require("ace/mode/folding/ruby").FoldMode, i = function() {
256
- this.HighlightRules = t, this.$outdent = new n(), this.$behaviour = new o(), this.foldingRules = new s(), this.indentKeywords = this.foldingRules.indentKeywords;
257
- }, l = R.require("ace/mode/ruby").Mode;
258
- return e.inherits(i, l), (function() {
258
+ ).CstyleBehaviour, l = I.require("ace/mode/folding/ruby").FoldMode, i = function() {
259
+ this.HighlightRules = t, this.$outdent = new n(), this.$behaviour = new o(), this.foldingRules = new l(), this.indentKeywords = this.foldingRules.indentKeywords;
260
+ }, s = I.require("ace/mode/ruby").Mode;
261
+ return e.inherits(i, s), (function() {
259
262
  this.$id = "ace/mode/openc3";
260
263
  }).call(i.prototype), i;
264
+ },
265
+ showContextMenu: function(e) {
266
+ this.menuX = e.pageX, this.menuY = e.pageY;
267
+ let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
268
+ if (n) {
269
+ let o = n.value.trim();
270
+ o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
271
+ }
272
+ },
273
+ toggleVimMode: function() {
274
+ U.toggleVimMode(this.editor);
261
275
  }
262
276
  }
263
- }, Ve = ["textContent"], Ae = { class: "mx-2" }, Ne = { class: "pa-3" }, Oe = { key: 0 }, Pe = {
264
- class: "editor",
265
- ref: "editor"
266
- }, Fe = ["textContent"];
267
- function He(e, t, n, o, s, i) {
268
- const l = _("v-spacer"), r = _("v-icon"), a = _("v-tooltip"), f = _("v-toolbar"), c = _("v-row"), h = _("v-btn"), p = _("v-col"), m = _("v-file-input"), w = _("v-card-text"), v = _("v-card"), y = _("v-dialog");
269
- return S(), M(y, {
277
+ }, Oe = ["textContent"], Fe = { class: "mx-2" }, Ue = { class: "pa-3" }, He = { key: 0 }, Be = ["textContent"];
278
+ function Ge(e, t, n, o, l, i) {
279
+ const s = m("v-spacer"), r = m("v-icon"), a = m("v-tooltip"), f = m("v-toolbar"), u = m("v-row"), d = m("v-btn"), p = m("v-col"), _ = m("v-file-input"), w = m("v-list-item"), C = m("v-list"), y = m("v-menu"), b = m("v-card-text"), E = m("v-card"), x = m("v-dialog");
280
+ return L(), k(x, {
270
281
  persistent: !n.readonly,
271
282
  modelValue: i.show,
272
- "onUpdate:modelValue": t[2] || (t[2] = (b) => i.show = b),
283
+ "onUpdate:modelValue": t[4] || (t[4] = (v) => i.show = v),
273
284
  width: "80vw"
274
285
  }, {
275
- default: u(() => [
276
- g(v, null, {
277
- default: u(() => [
278
- k("form", {
279
- onSubmit: t[1] || (t[1] = j((...b) => i.submit && i.submit(...b), ["prevent"]))
286
+ default: g(() => [
287
+ c(E, null, {
288
+ default: g(() => [
289
+ M("form", {
290
+ onSubmit: t[3] || (t[3] = H((...v) => i.submit && i.submit(...v), ["prevent"]))
280
291
  }, [
281
- g(f, { height: "24" }, {
282
- default: u(() => [
283
- g(l),
284
- k("span", {
285
- textContent: A(i.title)
286
- }, null, 8, Ve),
287
- g(l),
288
- k("div", Ae, [
289
- g(a, { location: "top" }, {
290
- activator: u(({ props: b }) => [
291
- k("div", _e(be(b)), [
292
- g(r, {
292
+ c(f, { height: "24" }, {
293
+ default: g(() => [
294
+ c(s),
295
+ M("span", {
296
+ textContent: N(i.title)
297
+ }, null, 8, Oe),
298
+ c(s),
299
+ M("div", Fe, [
300
+ c(a, { location: "top" }, {
301
+ activator: g(({ props: v }) => [
302
+ M("div", ve(xe(v)), [
303
+ c(r, {
293
304
  "data-test": "downloadIcon",
294
305
  onClick: i.download
295
306
  }, {
296
- default: u(() => t[3] || (t[3] = [
297
- E(" mdi-download ")
307
+ default: g(() => t[5] || (t[5] = [
308
+ S(" mdi-download ")
298
309
  ])),
299
310
  _: 1
300
311
  }, 8, ["onClick"])
301
312
  ], 16)
302
313
  ]),
303
- default: u(() => [
304
- t[4] || (t[4] = k("span", null, " Download ", -1))
314
+ default: g(() => [
315
+ t[6] || (t[6] = M("span", null, " Download ", -1))
305
316
  ]),
306
317
  _: 1
307
318
  })
@@ -309,24 +320,24 @@ function He(e, t, n, o, s, i) {
309
320
  ]),
310
321
  _: 1
311
322
  }),
312
- g(w, null, {
313
- default: u(() => [
314
- k("div", Ne, [
315
- n.readonly ? H("", !0) : (S(), V("div", Oe, [
316
- g(c, { class: "mt-3" }, {
317
- default: u(() => t[5] || (t[5] = [
318
- E(" Upload a file. ")
323
+ c(b, null, {
324
+ default: g(() => [
325
+ M("div", Ue, [
326
+ n.readonly ? j("", !0) : (L(), R("div", He, [
327
+ c(u, { class: "mt-3" }, {
328
+ default: g(() => t[7] || (t[7] = [
329
+ S(" Upload a file. ")
319
330
  ])),
320
331
  _: 1
321
332
  }),
322
- g(c, {
333
+ c(u, {
323
334
  "no-gutters": "",
324
335
  align: "center"
325
336
  }, {
326
- default: u(() => [
327
- g(p, { cols: "3" }, {
328
- default: u(() => [
329
- g(h, {
337
+ default: g(() => [
338
+ c(p, { cols: "3" }, {
339
+ default: g(() => [
340
+ c(d, {
330
341
  block: "",
331
342
  color: "success",
332
343
  onClick: e.loadFile,
@@ -334,22 +345,22 @@ function He(e, t, n, o, s, i) {
334
345
  loading: e.loadingFile,
335
346
  "data-test": "editScreenLoadBtn"
336
347
  }, {
337
- loader: u(() => t[6] || (t[6] = [
338
- k("span", null, "Loading...", -1)
348
+ loader: g(() => t[8] || (t[8] = [
349
+ M("span", null, "Loading...", -1)
339
350
  ])),
340
- default: u(() => [
341
- t[7] || (t[7] = E(" Load "))
351
+ default: g(() => [
352
+ t[9] || (t[9] = S(" Load "))
342
353
  ]),
343
354
  _: 1
344
355
  }, 8, ["onClick", "disabled", "loading"])
345
356
  ]),
346
357
  _: 1
347
358
  }),
348
- g(p, { cols: "9" }, {
349
- default: u(() => [
350
- g(m, {
359
+ c(p, { cols: "9" }, {
360
+ default: g(() => [
361
+ c(_, {
351
362
  modelValue: e.file,
352
- "onUpdate:modelValue": t[0] || (t[0] = (b) => e.file = b),
363
+ "onUpdate:modelValue": t[0] || (t[0] = (v) => e.file = v),
353
364
  accept: ".json",
354
365
  label: "Click to select .json file.",
355
366
  disabled: n.readonly
@@ -361,38 +372,61 @@ function He(e, t, n, o, s, i) {
361
372
  _: 1
362
373
  })
363
374
  ])),
364
- g(c, { "no-gutters": "" }, {
365
- default: u(() => [
366
- k("pre", Pe, null, 512)
375
+ c(u, { "no-gutters": "" }, {
376
+ default: g(() => [
377
+ M("pre", {
378
+ class: "editor",
379
+ ref: "editor",
380
+ onContextmenu: t[1] || (t[1] = H((...v) => i.showContextMenu && i.showContextMenu(...v), ["prevent"]))
381
+ }, null, 544),
382
+ c(y, {
383
+ modelValue: l.contextMenu,
384
+ "onUpdate:modelValue": t[2] || (t[2] = (v) => l.contextMenu = v),
385
+ target: [l.menuX, l.menuY]
386
+ }, {
387
+ default: g(() => [
388
+ c(C, null, {
389
+ default: g(() => [
390
+ c(w, {
391
+ title: "Toggle Vim mode",
392
+ "prepend-icon": "extras:vim",
393
+ onClick: i.toggleVimMode
394
+ }, null, 8, ["onClick"])
395
+ ]),
396
+ _: 1
397
+ })
398
+ ]),
399
+ _: 1
400
+ }, 8, ["modelValue", "target"])
367
401
  ]),
368
402
  _: 1
369
403
  }),
370
- g(c, { class: "my-3" }, {
371
- default: u(() => [
372
- we(k("span", {
404
+ c(u, { class: "my-3" }, {
405
+ default: g(() => [
406
+ Ce(M("span", {
373
407
  class: "text-red",
374
- textContent: A(i.error)
375
- }, null, 8, Fe), [
376
- [ye, i.error]
408
+ textContent: N(i.error)
409
+ }, null, 8, Be), [
410
+ [Ee, i.error]
377
411
  ])
378
412
  ]),
379
413
  _: 1
380
414
  }),
381
- g(c, null, {
382
- default: u(() => [
383
- g(l),
384
- g(h, {
385
- onClick: j(i.close, ["prevent"]),
415
+ c(u, null, {
416
+ default: g(() => [
417
+ c(s),
418
+ c(d, {
419
+ onClick: H(i.close, ["prevent"]),
386
420
  variant: "outlined",
387
421
  class: "mx-2",
388
422
  "data-test": "editCancelBtn"
389
423
  }, {
390
- default: u(() => t[8] || (t[8] = [
391
- E(" Cancel ")
424
+ default: g(() => t[10] || (t[10] = [
425
+ S(" Cancel ")
392
426
  ])),
393
427
  _: 1
394
428
  }, 8, ["onClick"]),
395
- n.readonly ? H("", !0) : (S(), M(h, {
429
+ n.readonly ? j("", !0) : (L(), k(d, {
396
430
  key: 0,
397
431
  class: "mx-2",
398
432
  color: "primary",
@@ -400,8 +434,8 @@ function He(e, t, n, o, s, i) {
400
434
  "data-test": "editSubmitBtn",
401
435
  disabled: !!i.error || n.readonly
402
436
  }, {
403
- default: u(() => t[9] || (t[9] = [
404
- E(" Save ")
437
+ default: g(() => t[11] || (t[11] = [
438
+ S(" Save ")
405
439
  ])),
406
440
  _: 1
407
441
  }, 8, ["disabled"]))
@@ -420,7 +454,7 @@ function He(e, t, n, o, s, i) {
420
454
  _: 1
421
455
  }, 8, ["persistent", "modelValue"]);
422
456
  }
423
- const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47"]]), Ue = {
457
+ const bt = /* @__PURE__ */ q(Pe, [["render", Ge], ["__scopeId", "data-v-4b6b190e"]]), $e = {
424
458
  props: {
425
459
  modelValue: Boolean,
426
460
  plugin: String,
@@ -445,7 +479,7 @@ const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47
445
479
  },
446
480
  created() {
447
481
  for (const e of this.targets)
448
- xe.get(`/openc3-api/targets/${e.name}/modified_files`).then(
482
+ Se.get(`/openc3-api/targets/${e.name}/modified_files`).then(
449
483
  (t) => {
450
484
  t.data.length !== 0 && this.modifiedTargets.push({
451
485
  name: e.name,
@@ -455,50 +489,50 @@ const mt = /* @__PURE__ */ U(Re, [["render", He], ["__scopeId", "data-v-74f3ff47
455
489
  );
456
490
  }
457
491
  };
458
- function $e(e, t, n, o, s, i) {
459
- const l = _("v-spacer"), r = _("v-toolbar"), a = _("v-list-item-title"), f = _("v-list-item-subtitle"), c = _("v-list-item"), h = _("v-checkbox"), p = _("v-card-text"), m = _("v-btn"), w = _("v-card-actions"), v = _("v-card"), y = _("v-dialog");
460
- return S(), M(y, {
492
+ function je(e, t, n, o, l, i) {
493
+ 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"), d = m("v-checkbox"), p = m("v-card-text"), _ = m("v-btn"), w = m("v-card-actions"), C = m("v-card"), y = m("v-dialog");
494
+ return L(), k(y, {
461
495
  modelValue: i.show,
462
496
  "onUpdate:modelValue": t[3] || (t[3] = (b) => i.show = b),
463
497
  width: "600"
464
498
  }, {
465
- default: u(() => [
466
- g(v, null, {
467
- default: u(() => [
468
- g(r, { height: "24" }, {
469
- default: u(() => [
470
- g(l),
471
- t[4] || (t[4] = k("span", null, " Modified Plugin ", -1)),
472
- g(l)
499
+ default: g(() => [
500
+ c(C, null, {
501
+ default: g(() => [
502
+ c(r, { height: "24" }, {
503
+ default: g(() => [
504
+ c(s),
505
+ t[4] || (t[4] = M("span", null, " Modified Plugin ", -1)),
506
+ c(s)
473
507
  ]),
474
508
  _: 1
475
509
  }),
476
- g(p, { class: "pa-3" }, {
477
- default: u(() => [
478
- k("div", null, " Plugin " + A(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
479
- (S(!0), V(P, null, F(s.modifiedTargets, (b, L) => (S(), M(c, {
510
+ c(p, { class: "pa-3" }, {
511
+ default: g(() => [
512
+ M("div", null, " Plugin " + N(n.plugin) + " was modified. Would you like to delete the existing modified files? ", 1),
513
+ (L(!0), R(G, null, $(l.modifiedTargets, (b, E) => (L(), k(u, {
480
514
  lines: "two",
481
- key: L
515
+ key: E
482
516
  }, {
483
- default: u(() => [
484
- g(a, null, {
485
- default: u(() => [
486
- E(A(b.name), 1)
517
+ default: g(() => [
518
+ c(a, null, {
519
+ default: g(() => [
520
+ S(N(b.name), 1)
487
521
  ]),
488
522
  _: 2
489
523
  }, 1024),
490
- (S(!0), V(P, null, F(b.files, (x, C) => (S(), M(f, { key: C }, {
491
- default: u(() => [
492
- E(A(x), 1)
524
+ (L(!0), R(G, null, $(b.files, (x, v) => (L(), k(f, { key: v }, {
525
+ default: g(() => [
526
+ S(N(x), 1)
493
527
  ]),
494
528
  _: 2
495
529
  }, 1024))), 128))
496
530
  ]),
497
531
  _: 2
498
532
  }, 1024))), 128)),
499
- g(h, {
500
- modelValue: s.deleteModified,
501
- "onUpdate:modelValue": t[0] || (t[0] = (b) => s.deleteModified = b),
533
+ c(d, {
534
+ modelValue: l.deleteModified,
535
+ "onUpdate:modelValue": t[0] || (t[0] = (b) => l.deleteModified = b),
502
536
  label: "DELETE MODIFIED! THIS CAN NOT BE UNDONE!!!",
503
537
  color: "error",
504
538
  "data-test": "modified-plugin-delete-checkbox"
@@ -506,30 +540,30 @@ function $e(e, t, n, o, s, i) {
506
540
  ]),
507
541
  _: 1
508
542
  }),
509
- g(w, { class: "px-2" }, {
510
- default: u(() => [
511
- g(l),
512
- g(m, {
543
+ c(w, { class: "px-2" }, {
544
+ default: g(() => [
545
+ c(s),
546
+ c(_, {
513
547
  variant: "outlined",
514
548
  "data-test": "modified-plugin-cancel",
515
549
  onClick: t[1] || (t[1] = () => {
516
550
  i.show = !1, e.$emit("cancel");
517
551
  })
518
552
  }, {
519
- default: u(() => t[5] || (t[5] = [
520
- E(" Cancel ")
553
+ default: g(() => t[5] || (t[5] = [
554
+ S(" Cancel ")
521
555
  ])),
522
556
  _: 1
523
557
  }),
524
- g(m, {
558
+ c(_, {
525
559
  variant: "flat",
526
560
  "data-test": "modified-plugin-submit",
527
561
  onClick: t[2] || (t[2] = () => {
528
- i.show = !1, e.$emit("submit", s.deleteModified);
562
+ i.show = !1, e.$emit("submit", l.deleteModified);
529
563
  })
530
564
  }, {
531
- default: u(() => t[6] || (t[6] = [
532
- E(" Confirm ")
565
+ default: g(() => t[6] || (t[6] = [
566
+ S(" Confirm ")
533
567
  ])),
534
568
  _: 1
535
569
  })
@@ -543,70 +577,70 @@ function $e(e, t, n, o, s, i) {
543
577
  _: 1
544
578
  }, 8, ["modelValue"]);
545
579
  }
546
- const _t = /* @__PURE__ */ U(Ue, [["render", $e]]), Be = [
580
+ const wt = /* @__PURE__ */ q($e, [["render", je]]), qe = [
547
581
  {
548
582
  displayName: "Plugins",
549
583
  name: "PluginsTab",
550
584
  path: "plugins",
551
- component: () => import("../PluginsTab-Ds3jk64b.js")
585
+ component: () => import("../PluginsTab-B64OvayB.js")
552
586
  },
553
587
  {
554
588
  displayName: "Targets",
555
589
  name: "TargetsTab",
556
590
  path: "targets",
557
- component: () => import("../TargetsTab-Cd8U1aN_.js")
591
+ component: () => import("../TargetsTab-BkBkXn9A.js")
558
592
  },
559
593
  {
560
594
  displayName: "Interfaces",
561
595
  name: "InterfacesTab",
562
596
  path: "interfaces",
563
- component: () => import("../InterfacesTab-DAeNlGlB.js")
597
+ component: () => import("../InterfacesTab-B4glsR9Z.js")
564
598
  },
565
599
  {
566
600
  displayName: "Routers",
567
601
  name: "RoutersTab",
568
602
  path: "routers",
569
- component: () => import("../RoutersTab-Dki_66av.js")
603
+ component: () => import("../RoutersTab-Cs2dFVNA.js")
570
604
  },
571
605
  {
572
606
  displayName: "Microservices",
573
607
  name: "MicroservicesTab",
574
608
  path: "microservices",
575
- component: () => import("../MicroservicesTab-IbTmbPxO.js")
609
+ component: () => import("../MicroservicesTab-mCdS0v39.js")
576
610
  },
577
611
  {
578
612
  displayName: "Packages",
579
613
  name: "PackagesTab",
580
614
  path: "packages",
581
- component: () => import("../PackagesTab-BX8YP3H1.js")
615
+ component: () => import("../PackagesTab-SWcXumpK.js")
582
616
  },
583
617
  {
584
618
  displayName: "Tools",
585
619
  name: "ToolsTab",
586
620
  path: "tools",
587
- component: () => import("../ToolsTab-Cgpb2nAW.js")
621
+ component: () => import("../ToolsTab-NveeVXz2.js")
588
622
  },
589
623
  {
590
624
  displayName: "Redis",
591
625
  name: "RedisTab",
592
626
  path: "redis",
593
- component: () => import("../RedisTab-CVimDkIE.js")
627
+ component: () => import("../RedisTab-CyPo6ADN.js")
594
628
  },
595
629
  {
596
630
  displayName: "Secrets",
597
631
  name: "SecretsTab",
598
632
  path: "secrets",
599
- component: () => import("../SecretsTab-BjviaTxh.js")
633
+ component: () => import("../SecretsTab-DVyyyGlG.js")
600
634
  },
601
635
  {
602
636
  displayName: "Settings",
603
637
  name: "SettingsTab",
604
638
  path: "settings",
605
- component: () => import("../SettingsTab-Bo_dYXgb.js")
639
+ component: () => import("../SettingsTab-g29K6FyC.js")
606
640
  }
607
- ], Ge = {
641
+ ], Ye = {
608
642
  components: {
609
- TopBar: Le
643
+ TopBar: De
610
644
  },
611
645
  data() {
612
646
  return {
@@ -616,275 +650,275 @@ const _t = /* @__PURE__ */ U(Ue, [["render", $e]]), Be = [
616
650
  },
617
651
  computed: {
618
652
  tabs: function() {
619
- return Be.map((e) => ({
653
+ return qe.map((e) => ({
620
654
  displayName: e.displayName,
621
655
  path: { name: e.name }
622
656
  }));
623
657
  }
624
658
  }
625
659
  };
626
- function je(e, t, n, o, s, i) {
627
- const l = _("top-bar"), r = _("v-tab"), a = _("v-tabs"), f = _("router-view"), c = _("v-card");
628
- return S(), V("div", null, [
629
- g(l, { title: s.title }, null, 8, ["title"]),
630
- g(c, null, {
631
- default: u(() => [
632
- g(a, {
633
- modelValue: s.curTab,
634
- "onUpdate:modelValue": t[0] || (t[0] = (h) => s.curTab = h),
660
+ function ze(e, t, n, o, l, i) {
661
+ const s = m("top-bar"), r = m("v-tab"), a = m("v-tabs"), f = m("router-view"), u = m("v-card");
662
+ return L(), R("div", null, [
663
+ c(s, { title: l.title }, null, 8, ["title"]),
664
+ c(u, null, {
665
+ default: g(() => [
666
+ c(a, {
667
+ modelValue: l.curTab,
668
+ "onUpdate:modelValue": t[0] || (t[0] = (d) => l.curTab = d),
635
669
  "fixed-tabs": ""
636
670
  }, {
637
- default: u(() => [
638
- (S(!0), V(P, null, F(i.tabs, (h, p) => (S(), M(r, {
671
+ default: g(() => [
672
+ (L(!0), R(G, null, $(i.tabs, (d, p) => (L(), k(r, {
639
673
  key: p,
640
- to: h.path
674
+ to: d.path
641
675
  }, {
642
- default: u(() => [
643
- E(A(h.displayName), 1)
676
+ default: g(() => [
677
+ S(N(d.displayName), 1)
644
678
  ]),
645
679
  _: 2
646
680
  }, 1032, ["to"]))), 128))
647
681
  ]),
648
682
  _: 1
649
683
  }, 8, ["modelValue"]),
650
- g(f)
684
+ c(f)
651
685
  ]),
652
686
  _: 1
653
687
  })
654
688
  ]);
655
689
  }
656
- const bt = /* @__PURE__ */ U(Ge, [["render", je]]), d = function() {
690
+ const yt = /* @__PURE__ */ q(Ye, [["render", ze]]), h = function() {
657
691
  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;
658
692
  };
659
- d.Diff = function(e, t) {
693
+ h.Diff = function(e, t) {
660
694
  this[0] = e, this[1] = t;
661
695
  };
662
- d.Diff.prototype.length = 2;
663
- d.Diff.prototype.toString = function() {
696
+ h.Diff.prototype.length = 2;
697
+ h.Diff.prototype.toString = function() {
664
698
  return this[0] + "," + this[1];
665
699
  };
666
- d.prototype.diff_main = function(e, t, n, o) {
700
+ h.prototype.diff_main = function(e, t, n, o) {
667
701
  typeof o > "u" && (this.Diff_Timeout <= 0 ? o = Number.MAX_VALUE : o = (/* @__PURE__ */ new Date()).getTime() + this.Diff_Timeout * 1e3);
668
- let s = o;
702
+ let l = o;
669
703
  if (e == null || t == null) throw new Error("Null input. (diff_main)");
670
- if (e == t) return e ? [new d.Diff(0, e)] : [];
704
+ if (e == t) return e ? [new h.Diff(0, e)] : [];
671
705
  typeof n > "u" && (n = !0);
672
- let i = n, l = this.diff_commonPrefix(e, t), r = e.substring(0, l);
673
- e = e.substring(l), t = t.substring(l), l = this.diff_commonSuffix(e, t);
674
- let a = e.substring(e.length - l);
675
- e = e.substring(0, e.length - l), t = t.substring(0, t.length - l);
676
- let f = this.diff_compute_(e, t, i, s);
677
- return r && f.unshift(new d.Diff(0, r)), a && f.push(new d.Diff(0, a)), this.diff_cleanupMerge(f), f;
706
+ let i = n, s = this.diff_commonPrefix(e, t), r = e.substring(0, s);
707
+ e = e.substring(s), t = t.substring(s), s = this.diff_commonSuffix(e, t);
708
+ let a = e.substring(e.length - s);
709
+ e = e.substring(0, e.length - s), t = t.substring(0, t.length - s);
710
+ let f = this.diff_compute_(e, t, i, l);
711
+ return r && f.unshift(new h.Diff(0, r)), a && f.push(new h.Diff(0, a)), this.diff_cleanupMerge(f), f;
678
712
  };
679
- d.prototype.diff_compute_ = function(e, t, n, o) {
680
- let s;
681
- if (!e) return [new d.Diff(1, t)];
682
- if (!t) return [new d.Diff(-1, e)];
683
- let i = e.length > t.length ? e : t, l = e.length > t.length ? t : e, r = i.indexOf(l);
684
- return r != -1 ? (s = [new d.Diff(1, i.substring(0, r)), new d.Diff(0, l), new d.Diff(1, i.substring(r + l.length))], e.length > t.length && (s[0][0] = s[2][0] = -1), s) : l.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);
713
+ h.prototype.diff_compute_ = function(e, t, n, o) {
714
+ let l;
715
+ if (!e) return [new h.Diff(1, t)];
716
+ if (!t) return [new h.Diff(-1, e)];
717
+ let i = e.length > t.length ? e : t, s = e.length > t.length ? t : e, r = i.indexOf(s);
718
+ return r != -1 ? (l = [new h.Diff(1, i.substring(0, r)), new h.Diff(0, s), new h.Diff(1, i.substring(r + s.length))], e.length > t.length && (l[0][0] = l[2][0] = -1), l) : s.length == 1 ? [new h.Diff(-1, e), new h.Diff(1, t)] : n && e.length > 100 && t.length > 100 ? this.diff_lineMode_(e, t, o) : this.diff_bisect_(e, t, o);
685
719
  };
686
- d.prototype.diff_lineMode_ = function(e, t, n) {
720
+ h.prototype.diff_lineMode_ = function(e, t, n) {
687
721
  let o = this.diff_linesToChars_(e, t);
688
722
  e = o.chars1, t = o.chars2;
689
- let s = o.lineArray, i = this.diff_main(e, t, !1, n);
690
- this.diff_charsToLines_(i, s), this.diff_cleanupSemantic(i), i.push(new d.Diff(0, ""));
691
- let l = 0, r = 0, a = 0, f = "", c = "";
692
- for (; l < i.length; ) {
693
- switch (i[l][0]) {
723
+ let l = o.lineArray, i = this.diff_main(e, t, !1, n);
724
+ this.diff_charsToLines_(i, l), this.diff_cleanupSemantic(i), i.push(new h.Diff(0, ""));
725
+ let s = 0, r = 0, a = 0, f = "", u = "";
726
+ for (; s < i.length; ) {
727
+ switch (i[s][0]) {
694
728
  case 1:
695
- a++, c += i[l][1];
729
+ a++, u += i[s][1];
696
730
  break;
697
731
  case -1:
698
- r++, f += i[l][1];
732
+ r++, f += i[s][1];
699
733
  break;
700
734
  case 0:
701
735
  if (r >= 1 && a >= 1) {
702
- i.splice(l - r - a, r + a), l = l - r - a;
703
- let h = this.diff_main(f, c, !1, n);
704
- for (let p = h.length - 1; p >= 0; p--) i.splice(l, 0, h[p]);
705
- l = l + h.length;
736
+ i.splice(s - r - a, r + a), s = s - r - a;
737
+ let d = this.diff_main(f, u, !1, n);
738
+ for (let p = d.length - 1; p >= 0; p--) i.splice(s, 0, d[p]);
739
+ s = s + d.length;
706
740
  }
707
- a = 0, r = 0, f = "", c = "";
741
+ a = 0, r = 0, f = "", u = "";
708
742
  break;
709
743
  }
710
- l++;
744
+ s++;
711
745
  }
712
746
  return i.pop(), i;
713
747
  };
714
- d.prototype.diff_bisect_ = function(e, t, n) {
715
- let o = e.length, s = t.length, i = Math.ceil((o + s) / 2), l = i, r = 2 * i, a = new Array(r), f = new Array(r);
748
+ h.prototype.diff_bisect_ = function(e, t, n) {
749
+ 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);
716
750
  for (let y = 0; y < r; y++) a[y] = -1, f[y] = -1;
717
- a[l + 1] = 0, f[l + 1] = 0;
718
- let c = o - s, h = c % 2 != 0, p = 0, m = 0, w = 0, v = 0;
751
+ a[s + 1] = 0, f[s + 1] = 0;
752
+ let u = o - l, d = u % 2 != 0, p = 0, _ = 0, w = 0, C = 0;
719
753
  for (let y = 0; y < i && !((/* @__PURE__ */ new Date()).getTime() > n); y++) {
720
- for (let b = -y + p; b <= y - m; b += 2) {
721
- let L = l + b, x;
722
- b == -y || b != y && a[L - 1] < a[L + 1] ? x = a[L + 1] : x = a[L - 1] + 1;
723
- let C = x - b;
724
- for (; x < o && C < s && e.charAt(x) == t.charAt(C); ) x++, C++;
725
- if (a[L] = x, x > o) m += 2;
726
- else if (C > s) p += 2;
727
- else if (h) {
728
- let D = l + c - b;
729
- if (D >= 0 && D < r && f[D] != -1) {
730
- let I = o - f[D];
731
- if (x >= I) return this.diff_bisectSplit_(e, t, x, C, n);
754
+ for (let b = -y + p; b <= y - _; b += 2) {
755
+ let E = s + b, x;
756
+ b == -y || b != y && a[E - 1] < a[E + 1] ? x = a[E + 1] : x = a[E - 1] + 1;
757
+ let v = x - b;
758
+ for (; x < o && v < l && e.charAt(x) == t.charAt(v); ) x++, v++;
759
+ if (a[E] = x, x > o) _ += 2;
760
+ else if (v > l) p += 2;
761
+ else if (d) {
762
+ let T = s + u - b;
763
+ if (T >= 0 && T < r && f[T] != -1) {
764
+ let V = o - f[T];
765
+ if (x >= V) return this.diff_bisectSplit_(e, t, x, v, n);
732
766
  }
733
767
  }
734
768
  }
735
- for (let b = -y + w; b <= y - v; b += 2) {
736
- let L = l + b, x;
737
- b == -y || b != y && f[L - 1] < f[L + 1] ? x = f[L + 1] : x = f[L - 1] + 1;
738
- let C = x - b;
739
- for (; x < o && C < s && e.charAt(o - x - 1) == t.charAt(s - C - 1); ) x++, C++;
740
- if (f[L] = x, x > o) v += 2;
741
- else if (C > s) w += 2;
742
- else if (!h) {
743
- let D = l + c - b;
744
- if (D >= 0 && D < r && a[D] != -1) {
745
- let I = a[D], N = l + I - D;
746
- if (x = o - x, I >= x) return this.diff_bisectSplit_(e, t, I, N, n);
769
+ for (let b = -y + w; b <= y - C; b += 2) {
770
+ let E = s + b, x;
771
+ b == -y || b != y && f[E - 1] < f[E + 1] ? x = f[E + 1] : x = f[E - 1] + 1;
772
+ let v = x - b;
773
+ for (; x < o && v < l && e.charAt(o - x - 1) == t.charAt(l - v - 1); ) x++, v++;
774
+ if (f[E] = x, x > o) C += 2;
775
+ else if (v > l) w += 2;
776
+ else if (!d) {
777
+ let T = s + u - b;
778
+ if (T >= 0 && T < r && a[T] != -1) {
779
+ let V = a[T], P = s + V - T;
780
+ if (x = o - x, V >= x) return this.diff_bisectSplit_(e, t, V, P, n);
747
781
  }
748
782
  }
749
783
  }
750
784
  }
751
- return [new d.Diff(-1, e), new d.Diff(1, t)];
785
+ return [new h.Diff(-1, e), new h.Diff(1, t)];
752
786
  };
753
- d.prototype.diff_bisectSplit_ = function(e, t, n, o, s) {
754
- let i = e.substring(0, n), l = t.substring(0, o), r = e.substring(n), a = t.substring(o), f = this.diff_main(i, l, !1, s), c = this.diff_main(r, a, !1, s);
755
- return f.concat(c);
787
+ h.prototype.diff_bisectSplit_ = function(e, t, n, o, l) {
788
+ 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);
789
+ return f.concat(u);
756
790
  };
757
- d.prototype.diff_linesToChars_ = function(e, t) {
791
+ h.prototype.diff_linesToChars_ = function(e, t) {
758
792
  let n = [], o = {};
759
793
  n[0] = "";
760
- function s(a) {
761
- let f = "", c = 0, h = -1, p = n.length;
762
- for (; h < a.length - 1; ) {
763
- h = a.indexOf(`
764
- `, c), h == -1 && (h = a.length - 1);
765
- let m = a.substring(c, h + 1);
766
- (o.hasOwnProperty ? o.hasOwnProperty(m) : o[m] !== void 0) ? f += String.fromCharCode(o[m]) : (p == i && (m = a.substring(c), h = a.length), f += String.fromCharCode(p), o[m] = p, n[p++] = m), c = h + 1;
794
+ function l(a) {
795
+ let f = "", u = 0, d = -1, p = n.length;
796
+ for (; d < a.length - 1; ) {
797
+ d = a.indexOf(`
798
+ `, u), d == -1 && (d = a.length - 1);
799
+ let _ = a.substring(u, d + 1);
800
+ (o.hasOwnProperty ? o.hasOwnProperty(_) : o[_] !== void 0) ? f += String.fromCharCode(o[_]) : (p == i && (_ = a.substring(u), d = a.length), f += String.fromCharCode(p), o[_] = p, n[p++] = _), u = d + 1;
767
801
  }
768
802
  return f;
769
803
  }
770
- let i = 4e4, l = s(e);
804
+ let i = 4e4, s = l(e);
771
805
  i = 65535;
772
- let r = s(t);
773
- return { chars1: l, chars2: r, lineArray: n };
806
+ let r = l(t);
807
+ return { chars1: s, chars2: r, lineArray: n };
774
808
  };
775
- d.prototype.diff_charsToLines_ = function(e, t) {
809
+ h.prototype.diff_charsToLines_ = function(e, t) {
776
810
  for (let n = 0; n < e.length; n++) {
777
- let o = e[n][1], s = [];
778
- for (let i = 0; i < o.length; i++) s[i] = t[o.charCodeAt(i)];
779
- e[n][1] = s.join("");
811
+ let o = e[n][1], l = [];
812
+ for (let i = 0; i < o.length; i++) l[i] = t[o.charCodeAt(i)];
813
+ e[n][1] = l.join("");
780
814
  }
781
815
  };
782
- d.prototype.diff_commonPrefix = function(e, t) {
816
+ h.prototype.diff_commonPrefix = function(e, t) {
783
817
  if (!e || !t || e.charAt(0) != t.charAt(0)) return 0;
784
- let n = 0, o = Math.min(e.length, t.length), s = o, i = 0;
785
- for (; n < s; ) e.substring(i, s) == t.substring(i, s) ? (n = s, i = n) : o = s, s = Math.floor((o - n) / 2 + n);
786
- return s;
818
+ let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
819
+ for (; n < l; ) e.substring(i, l) == t.substring(i, l) ? (n = l, i = n) : o = l, l = Math.floor((o - n) / 2 + n);
820
+ return l;
787
821
  };
788
- d.prototype.diff_commonSuffix = function(e, t) {
822
+ h.prototype.diff_commonSuffix = function(e, t) {
789
823
  if (!e || !t || e.charAt(e.length - 1) != t.charAt(t.length - 1)) return 0;
790
- let n = 0, o = Math.min(e.length, t.length), s = o, i = 0;
791
- for (; n < s; ) e.substring(e.length - s, e.length - i) == t.substring(t.length - s, t.length - i) ? (n = s, i = n) : o = s, s = Math.floor((o - n) / 2 + n);
792
- return s;
824
+ let n = 0, o = Math.min(e.length, t.length), l = o, i = 0;
825
+ 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);
826
+ return l;
793
827
  };
794
- d.prototype.diff_commonOverlap_ = function(e, t) {
828
+ h.prototype.diff_commonOverlap_ = function(e, t) {
795
829
  let n = e.length, o = t.length;
796
830
  if (n == 0 || o == 0) return 0;
797
831
  n > o ? e = e.substring(n - o) : n < o && (t = t.substring(0, n));
798
- let s = Math.min(n, o);
799
- if (e == t) return s;
800
- let i = 0, l = 1;
832
+ let l = Math.min(n, o);
833
+ if (e == t) return l;
834
+ let i = 0, s = 1;
801
835
  for (; ; ) {
802
- let r = e.substring(s - l), a = t.indexOf(r);
836
+ let r = e.substring(l - s), a = t.indexOf(r);
803
837
  if (a == -1) return i;
804
- l += a, (a == 0 || e.substring(s - l) == t.substring(0, l)) && (i = l, l++);
838
+ s += a, (a == 0 || e.substring(l - s) == t.substring(0, s)) && (i = s, s++);
805
839
  }
806
840
  };
807
- d.prototype.diff_halfMatch_ = function(e, t) {
841
+ h.prototype.diff_halfMatch_ = function(e, t) {
808
842
  if (this.Diff_Timeout <= 0) return null;
809
843
  let n = e.length > t.length ? e : t, o = e.length > t.length ? t : e;
810
844
  if (n.length < 4 || o.length * 2 < n.length) return null;
811
- let s = this;
812
- function i(w, v, y) {
813
- let b = w.substring(y, y + Math.floor(w.length / 4)), L = -1, x = "", C, D, I, N;
814
- for (; (L = v.indexOf(b, L + 1)) != -1; ) {
815
- let $ = s.diff_commonPrefix(w.substring(y), v.substring(L)), B = s.diff_commonSuffix(w.substring(0, y), v.substring(0, L));
816
- x.length < B + $ && (x = v.substring(L - B, L) + v.substring(L, L + $), C = w.substring(0, y - B), D = w.substring(y + $), I = v.substring(0, L - B), N = v.substring(L + $));
845
+ let l = this;
846
+ function i(w, C, y) {
847
+ let b = w.substring(y, y + Math.floor(w.length / 4)), E = -1, x = "", v, T, V, P;
848
+ for (; (E = C.indexOf(b, E + 1)) != -1; ) {
849
+ let O = l.diff_commonPrefix(w.substring(y), C.substring(E)), F = l.diff_commonSuffix(w.substring(0, y), C.substring(0, E));
850
+ x.length < F + O && (x = C.substring(E - F, E) + C.substring(E, E + O), v = w.substring(0, y - F), T = w.substring(y + O), V = C.substring(0, E - F), P = C.substring(E + O));
817
851
  }
818
- return x.length * 2 >= w.length ? [C, D, I, N, x] : null;
852
+ return x.length * 2 >= w.length ? [v, T, V, P, x] : null;
819
853
  }
820
- let l = i(n, o, Math.ceil(n.length / 4)), r = i(n, o, Math.ceil(n.length / 2)), a;
821
- if (!l && !r) return null;
822
- r ? l ? a = l[4].length > r[4].length ? l : r : a = r : a = l;
823
- let f, c, h, p;
824
- e.length > t.length ? (f = a[0], c = a[1], h = a[2], p = a[3]) : (h = a[0], p = a[1], f = a[2], c = a[3]);
825
- let m = a[4];
826
- return [f, c, h, p, m];
854
+ let s = i(n, o, Math.ceil(n.length / 4)), r = i(n, o, Math.ceil(n.length / 2)), a;
855
+ if (!s && !r) return null;
856
+ r ? s ? a = s[4].length > r[4].length ? s : r : a = r : a = s;
857
+ let f, u, d, p;
858
+ e.length > t.length ? (f = a[0], u = a[1], d = a[2], p = a[3]) : (d = a[0], p = a[1], f = a[2], u = a[3]);
859
+ let _ = a[4];
860
+ return [f, u, d, p, _];
827
861
  };
828
- d.prototype.diff_cleanupSemantic = function(e) {
829
- let t = !1, n = [], o = 0, s = null, i = 0, l = 0, r = 0, a = 0, f = 0;
830
- for (; i < e.length; ) e[i][0] == 0 ? (n[o++] = i, l = a, r = f, a = 0, f = 0, s = e[i][1]) : (e[i][0] == 1 ? a += e[i][1].length : f += e[i][1].length, s && s.length <= Math.max(l, r) && s.length <= Math.max(a, f) && (e.splice(n[o - 1], 0, new d.Diff(-1, s)), e[n[o - 1] + 1][0] = 1, o--, o--, i = o > 0 ? n[o - 1] : -1, l = 0, r = 0, a = 0, f = 0, s = null, t = !0)), i++;
862
+ h.prototype.diff_cleanupSemantic = function(e) {
863
+ let t = !1, n = [], o = 0, l = null, i = 0, s = 0, r = 0, a = 0, f = 0;
864
+ 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 h.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++;
831
865
  for (t && this.diff_cleanupMerge(e), this.diff_cleanupSemanticLossless(e), i = 1; i < e.length; ) {
832
866
  if (e[i - 1][0] == -1 && e[i][0] == 1) {
833
- let c = e[i - 1][1], h = e[i][1], p = this.diff_commonOverlap_(c, h), m = this.diff_commonOverlap_(h, c);
834
- p >= m ? (p >= c.length / 2 || p >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, h.substring(0, p))), e[i - 1][1] = c.substring(0, c.length - p), e[i + 1][1] = h.substring(p), i++) : (m >= c.length / 2 || m >= h.length / 2) && (e.splice(i, 0, new d.Diff(0, c.substring(0, m))), e[i - 1][0] = 1, e[i - 1][1] = h.substring(0, h.length - m), e[i + 1][0] = -1, e[i + 1][1] = c.substring(m), i++), i++;
867
+ let u = e[i - 1][1], d = e[i][1], p = this.diff_commonOverlap_(u, d), _ = this.diff_commonOverlap_(d, u);
868
+ p >= _ ? (p >= u.length / 2 || p >= d.length / 2) && (e.splice(i, 0, new h.Diff(0, d.substring(0, p))), e[i - 1][1] = u.substring(0, u.length - p), e[i + 1][1] = d.substring(p), i++) : (_ >= u.length / 2 || _ >= d.length / 2) && (e.splice(i, 0, new h.Diff(0, u.substring(0, _))), e[i - 1][0] = 1, e[i - 1][1] = d.substring(0, d.length - _), e[i + 1][0] = -1, e[i + 1][1] = u.substring(_), i++), i++;
835
869
  }
836
870
  i++;
837
871
  }
838
872
  };
839
- d.prototype.diff_cleanupSemanticLossless = function(e) {
840
- function t(o, s) {
841
- if (!o || !s) return 6;
842
- let i = o.charAt(o.length - 1), l = s.charAt(0), r = i.match(d.nonAlphaNumericRegex_), a = l.match(d.nonAlphaNumericRegex_), f = r && i.match(d.whitespaceRegex_), c = a && l.match(d.whitespaceRegex_), h = f && i.match(d.linebreakRegex_), p = c && l.match(d.linebreakRegex_), m = h && o.match(d.blanklineEndRegex_), w = p && s.match(d.blanklineStartRegex_);
843
- return m || w ? 5 : h || p ? 4 : r && !f && c ? 3 : f || c ? 2 : r || a ? 1 : 0;
873
+ h.prototype.diff_cleanupSemanticLossless = function(e) {
874
+ function t(o, l) {
875
+ if (!o || !l) return 6;
876
+ let i = o.charAt(o.length - 1), s = l.charAt(0), r = i.match(h.nonAlphaNumericRegex_), a = s.match(h.nonAlphaNumericRegex_), f = r && i.match(h.whitespaceRegex_), u = a && s.match(h.whitespaceRegex_), d = f && i.match(h.linebreakRegex_), p = u && s.match(h.linebreakRegex_), _ = d && o.match(h.blanklineEndRegex_), w = p && l.match(h.blanklineStartRegex_);
877
+ return _ || w ? 5 : d || p ? 4 : r && !f && u ? 3 : f || u ? 2 : r || a ? 1 : 0;
844
878
  }
845
879
  let n = 1;
846
880
  for (; n < e.length - 1; ) {
847
881
  if (e[n - 1][0] == 0 && e[n + 1][0] == 0) {
848
- let o = e[n - 1][1], s = e[n][1], i = e[n + 1][1], l = this.diff_commonSuffix(o, s);
849
- if (l) {
850
- o[o.length - l] === `
851
- ` && (l -= 1);
852
- let h = s.substring(s.length - l);
853
- o = o.substring(0, o.length - l), s = h + s.substring(0, s.length - l), i = h + i;
882
+ let o = e[n - 1][1], l = e[n][1], i = e[n + 1][1], s = this.diff_commonSuffix(o, l);
883
+ if (s) {
884
+ o[o.length - s] === `
885
+ ` && (s -= 1);
886
+ let d = l.substring(l.length - s);
887
+ o = o.substring(0, o.length - s), l = d + l.substring(0, l.length - s), i = d + i;
854
888
  }
855
- let r = o, a = s, f = i, c = t(o, s) + t(s, i);
856
- for (; s.charAt(0) === i.charAt(0); ) {
857
- o += s.charAt(0), s = s.substring(1) + i.charAt(0), i = i.substring(1);
858
- let h = t(o, s) + t(s, i);
859
- h >= c && (c = h, r = o, a = s, f = i);
889
+ let r = o, a = l, f = i, u = t(o, l) + t(l, i);
890
+ for (; l.charAt(0) === i.charAt(0); ) {
891
+ o += l.charAt(0), l = l.substring(1) + i.charAt(0), i = i.substring(1);
892
+ let d = t(o, l) + t(l, i);
893
+ d >= u && (u = d, r = o, a = l, f = i);
860
894
  }
861
895
  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--));
862
896
  }
863
897
  n++;
864
898
  }
865
899
  };
866
- d.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
867
- d.whitespaceRegex_ = /\s/;
868
- d.linebreakRegex_ = /[\r\n]/;
869
- d.blanklineEndRegex_ = /\n\r?\n$/;
870
- d.blanklineStartRegex_ = /^\r?\n\r?\n/;
871
- d.prototype.diff_cleanupEfficiency = function(e) {
872
- let t = !1, n = [], o = 0, s = null, i = 0, l = !1, r = !1, a = !1, f = !1;
873
- for (; i < e.length; ) e[i][0] == 0 ? (e[i][1].length < this.Diff_EditCost && (a || f) ? (n[o++] = i, l = a, r = f, s = e[i][1]) : (o = 0, s = null), a = f = !1) : (e[i][0] == -1 ? f = !0 : a = !0, s && (l && r && a && f || s.length < this.Diff_EditCost / 2 && l + r + a + f == 3) && (e.splice(n[o - 1], 0, new d.Diff(-1, s)), e[n[o - 1] + 1][0] = 1, o--, s = null, l && r ? (a = f = !0, o = 0) : (o--, i = o > 0 ? n[o - 1] : -1, a = f = !1), t = !0)), i++;
900
+ h.nonAlphaNumericRegex_ = /[^a-zA-Z0-9]/;
901
+ h.whitespaceRegex_ = /\s/;
902
+ h.linebreakRegex_ = /[\r\n]/;
903
+ h.blanklineEndRegex_ = /\n\r?\n$/;
904
+ h.blanklineStartRegex_ = /^\r?\n\r?\n/;
905
+ h.prototype.diff_cleanupEfficiency = function(e) {
906
+ let t = !1, n = [], o = 0, l = null, i = 0, s = !1, r = !1, a = !1, f = !1;
907
+ 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 h.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++;
874
908
  t && this.diff_cleanupMerge(e);
875
909
  };
876
- d.prototype.diff_cleanupMerge = function(e) {
877
- e.push(new d.Diff(0, ""));
878
- let t = 0, n = 0, o = 0, s = "", i = "", l;
910
+ h.prototype.diff_cleanupMerge = function(e) {
911
+ e.push(new h.Diff(0, ""));
912
+ let t = 0, n = 0, o = 0, l = "", i = "", s;
879
913
  for (; t < e.length; ) switch (e[t][0]) {
880
914
  case 1:
881
915
  o++, i += e[t][1], t++;
882
916
  break;
883
917
  case -1:
884
- n++, s += e[t][1], t++;
918
+ n++, l += e[t][1], t++;
885
919
  break;
886
920
  case 0:
887
- n + o > 1 ? (n !== 0 && o !== 0 && (l = this.diff_commonPrefix(i, s), l !== 0 && (t - n - o > 0 && e[t - n - o - 1][0] == 0 ? e[t - n - o - 1][1] += i.substring(0, l) : (e.splice(0, 0, new d.Diff(0, i.substring(0, l))), t++), i = i.substring(l), s = s.substring(l)), l = this.diff_commonSuffix(i, s), l !== 0 && (e[t][1] = i.substring(i.length - l) + e[t][1], i = i.substring(0, i.length - l), s = s.substring(0, s.length - l))), t -= n + o, e.splice(t, n + o), s.length && (e.splice(t, 0, new d.Diff(-1, s)), 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, s = "", i = "";
921
+ 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 h.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 h.Diff(-1, l)), t++), i.length && (e.splice(t, 0, new h.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 = "";
888
922
  break;
889
923
  }
890
924
  e[e.length - 1][1] === "" && e.pop();
@@ -892,30 +926,30 @@ d.prototype.diff_cleanupMerge = function(e) {
892
926
  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++;
893
927
  r && this.diff_cleanupMerge(e);
894
928
  };
895
- d.prototype.diff_cleanupSplitSurrogates = function(e) {
929
+ h.prototype.diff_cleanupSplitSurrogates = function(e) {
896
930
  let t;
897
931
  for (let n = 0; n < e.length; n++) {
898
- let o = e[n], s = o[1][0], i = o[1][o[1].length - 1];
932
+ let o = e[n], l = o[1][0], i = o[1][o[1].length - 1];
899
933
  if (o[1].length === 0) {
900
934
  e.splice(n--, 1);
901
935
  continue;
902
936
  }
903
- if (i && this.isHighSurrogate(i) && (t = i, o[1] = o[1].slice(0, -1)), t && s && this.isHighSurrogate(t) && this.isLowSurrogate(s) && (o[1] = t + o[1]), o[1].length === 0) {
937
+ 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) {
904
938
  e.splice(n--, 1);
905
939
  continue;
906
940
  }
907
941
  }
908
942
  return e;
909
943
  };
910
- d.prototype.isHighSurrogate = function(e) {
944
+ h.prototype.isHighSurrogate = function(e) {
911
945
  let t = e.charCodeAt(0);
912
946
  return t >= 55296 && t <= 56319;
913
947
  };
914
- d.prototype.isLowSurrogate = function(e) {
948
+ h.prototype.isLowSurrogate = function(e) {
915
949
  let t = e.charCodeAt(0);
916
950
  return t >= 56320 && t <= 57343;
917
951
  };
918
- d.prototype.digit16 = function(e) {
952
+ h.prototype.digit16 = function(e) {
919
953
  switch (e) {
920
954
  case "0":
921
955
  return 0;
@@ -959,7 +993,7 @@ d.prototype.digit16 = function(e) {
959
993
  throw new Error("Invalid hex-code");
960
994
  }
961
995
  };
962
- d.prototype.decodeURI = function(e) {
996
+ h.prototype.decodeURI = function(e) {
963
997
  try {
964
998
  return decodeURI(e);
965
999
  } catch {
@@ -970,29 +1004,29 @@ d.prototype.decodeURI = function(e) {
970
1004
  continue;
971
1005
  }
972
1006
  let o = (this.digit16(e[t + 1]) << 4) + this.digit16(e[t + 2]);
973
- if (!(o & 128)) {
1007
+ if ((o & 128) === 0) {
974
1008
  n += String.fromCharCode(o), t += 3;
975
1009
  continue;
976
1010
  }
977
1011
  if (e[t + 3] !== "%") throw new URIError("URI malformed");
978
- let s = (this.digit16(e[t + 4]) << 4) + this.digit16(e[t + 5]);
979
- if ((s & 192) !== 128) throw new URIError("URI malformed");
980
- if (s = s & 63, (o & 224) === 192) {
981
- n += String.fromCharCode((o & 31) << 6 | s), t += 6;
1012
+ let l = (this.digit16(e[t + 4]) << 4) + this.digit16(e[t + 5]);
1013
+ if ((l & 192) !== 128) throw new URIError("URI malformed");
1014
+ if (l = l & 63, (o & 224) === 192) {
1015
+ n += String.fromCharCode((o & 31) << 6 | l), t += 6;
982
1016
  continue;
983
1017
  }
984
1018
  if (e[t + 6] !== "%") throw new URIError("URI malformed");
985
1019
  let i = (this.digit16(e[t + 7]) << 4) + this.digit16(e[t + 8]);
986
1020
  if ((i & 192) !== 128) throw new URIError("URI malformed");
987
1021
  if (i = i & 63, (o & 240) === 224) {
988
- n += String.fromCharCode((o & 15) << 12 | s << 6 | i), t += 9;
1022
+ n += String.fromCharCode((o & 15) << 12 | l << 6 | i), t += 9;
989
1023
  continue;
990
1024
  }
991
1025
  if (e[t + 9] !== "%") throw new URIError("URI malformed");
992
- let l = (this.digit16(e[t + 10]) << 4) + this.digit16(e[t + 11]);
993
- if ((l & 192) !== 128) throw new URIError("URI malformed");
994
- if (l = l & 63, (o & 248) === 240) {
995
- let r = (o & 7) << 18 | s << 12 | i << 6 | l;
1026
+ let s = (this.digit16(e[t + 10]) << 4) + this.digit16(e[t + 11]);
1027
+ if ((s & 192) !== 128) throw new URIError("URI malformed");
1028
+ if (s = s & 63, (o & 248) === 240) {
1029
+ let r = (o & 7) << 18 | l << 12 | i << 6 | s;
996
1030
  if (r >= 65536 && r <= 1114111) {
997
1031
  n += String.fromCharCode((r & 65535) >>> 10 & 1023 | 55296), n += String.fromCharCode(56320 | r & 65535 & 1023), t += 12;
998
1032
  continue;
@@ -1003,50 +1037,50 @@ d.prototype.decodeURI = function(e) {
1003
1037
  return n;
1004
1038
  }
1005
1039
  };
1006
- d.prototype.diff_xIndex = function(e, t) {
1007
- let n = 0, o = 0, s = 0, i = 0, l;
1008
- for (l = 0; l < e.length && (e[l][0] !== 1 && (n += e[l][1].length), e[l][0] !== -1 && (o += e[l][1].length), !(n > t)); l++) s = n, i = o;
1009
- return e.length != l && e[l][0] === -1 ? i : i + (t - s);
1040
+ h.prototype.diff_xIndex = function(e, t) {
1041
+ let n = 0, o = 0, l = 0, i = 0, s;
1042
+ 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;
1043
+ return e.length != s && e[s][0] === -1 ? i : i + (t - l);
1010
1044
  };
1011
- d.prototype.diff_prettyHtml = function(e) {
1045
+ h.prototype.diff_prettyHtml = function(e) {
1012
1046
  e = this.diff_cleanupSplitSurrogates(e);
1013
- let t = [], n = /&/g, o = /</g, s = />/g, i = /\n/g;
1014
- for (let l = 0; l < e.length; l++) {
1015
- let r = e[l][0], a = e[l][1].replace(n, "&amp;").replace(o, "&lt;").replace(s, "&gt;").replace(i, "&para;<br>");
1047
+ let t = [], n = /&/g, o = /</g, l = />/g, i = /\n/g;
1048
+ for (let s = 0; s < e.length; s++) {
1049
+ let r = e[s][0], a = e[s][1].replace(n, "&amp;").replace(o, "&lt;").replace(l, "&gt;").replace(i, "&para;<br>");
1016
1050
  switch (r) {
1017
1051
  case 1:
1018
- t[l] = '<ins style="background:#e6ffe6;">' + a + "</ins>";
1052
+ t[s] = '<ins style="background:#e6ffe6;">' + a + "</ins>";
1019
1053
  break;
1020
1054
  case -1:
1021
- t[l] = '<del style="background:#ffe6e6;">' + a + "</del>";
1055
+ t[s] = '<del style="background:#ffe6e6;">' + a + "</del>";
1022
1056
  break;
1023
1057
  case 0:
1024
- t[l] = "<span>" + a + "</span>";
1058
+ t[s] = "<span>" + a + "</span>";
1025
1059
  break;
1026
1060
  }
1027
1061
  }
1028
1062
  return t.join("");
1029
1063
  };
1030
- d.prototype.diff_text1 = function(e) {
1064
+ h.prototype.diff_text1 = function(e) {
1031
1065
  let t = [];
1032
1066
  for (let n = 0; n < e.length; n++) e[n][0] !== 1 && (t[n] = e[n][1]);
1033
1067
  return t.join("");
1034
1068
  };
1035
- d.prototype.diff_text2 = function(e) {
1069
+ h.prototype.diff_text2 = function(e) {
1036
1070
  let t = [];
1037
1071
  for (let n = 0; n < e.length; n++) e[n][0] !== -1 && (t[n] = e[n][1]);
1038
1072
  return t.join("");
1039
1073
  };
1040
- d.prototype.diff_levenshtein = function(e) {
1074
+ h.prototype.diff_levenshtein = function(e) {
1041
1075
  let t = 0, n = 0, o = 0;
1042
- for (let s = 0; s < e.length; s++) {
1043
- let i = e[s][0], l = e[s][1];
1076
+ for (let l = 0; l < e.length; l++) {
1077
+ let i = e[l][0], s = e[l][1];
1044
1078
  switch (i) {
1045
1079
  case 1:
1046
- n += l.length;
1080
+ n += s.length;
1047
1081
  break;
1048
1082
  case -1:
1049
- o += l.length;
1083
+ o += s.length;
1050
1084
  break;
1051
1085
  case 0:
1052
1086
  t += Math.max(n, o), n = 0, o = 0;
@@ -1055,7 +1089,7 @@ d.prototype.diff_levenshtein = function(e) {
1055
1089
  }
1056
1090
  return t += Math.max(n, o), t;
1057
1091
  };
1058
- d.prototype.diff_toDelta = function(e) {
1092
+ h.prototype.diff_toDelta = function(e) {
1059
1093
  e = this.diff_cleanupSplitSurrogates(e);
1060
1094
  let t = [];
1061
1095
  for (let n = 0; n < e.length; n++) switch (e[n][0]) {
@@ -1071,14 +1105,14 @@ d.prototype.diff_toDelta = function(e) {
1071
1105
  }
1072
1106
  return t.join(" ").replace(/%20/g, " ");
1073
1107
  };
1074
- d.prototype.diff_fromDelta = function(e, t) {
1075
- let n = 0, o = "", s = [], i = 0, l = 0, r = t.split(/\t/g);
1108
+ h.prototype.diff_fromDelta = function(e, t) {
1109
+ let n = 0, o = "", l = [], i = 0, s = 0, r = t.split(/\t/g);
1076
1110
  for (let a = 0; a < r.length; a++) {
1077
1111
  let f = r[a].substring(1);
1078
1112
  switch (r[a].charAt(0)) {
1079
1113
  case "+":
1080
1114
  try {
1081
- s[i++] = new d.Diff(1, this.decodeURI(f));
1115
+ l[i++] = new h.Diff(1, this.decodeURI(f));
1082
1116
  } catch {
1083
1117
  throw new Error("Illegal escape in diff_fromDelta: " + f);
1084
1118
  }
@@ -1086,192 +1120,192 @@ d.prototype.diff_fromDelta = function(e, t) {
1086
1120
  case "-":
1087
1121
  case "=":
1088
1122
  if (n = parseInt(f, 10), isNaN(n) || n < 0) throw new Error("Invalid number in diff_fromDelta: " + f);
1089
- o = e.substring(l, l += n), r[a].charAt(0) == "=" ? s[i++] = new d.Diff(0, o) : s[i++] = new d.Diff(-1, o);
1123
+ o = e.substring(s, s += n), r[a].charAt(0) == "=" ? l[i++] = new h.Diff(0, o) : l[i++] = new h.Diff(-1, o);
1090
1124
  break;
1091
1125
  default:
1092
1126
  if (r[a]) throw new Error("Invalid diff operation in diff_fromDelta: " + r[a]);
1093
1127
  }
1094
1128
  }
1095
- if (l != e.length) throw new Error("Delta length (" + l + ") does not equal source text length (" + e.length + ").");
1096
- return s;
1129
+ if (s != e.length) throw new Error("Delta length (" + s + ") does not equal source text length (" + e.length + ").");
1130
+ return l;
1097
1131
  };
1098
- d.prototype.match_main = function(e, t, n) {
1132
+ h.prototype.match_main = function(e, t, n) {
1099
1133
  if (e == null || t == null || n == null) throw new Error("Null input. (match_main)");
1100
1134
  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;
1101
1135
  };
1102
- d.prototype.match_bitap_ = function(e, t, n) {
1136
+ h.prototype.match_bitap_ = function(e, t, n) {
1103
1137
  if (t.length > this.Match_MaxBits) throw new Error("Pattern too long for this browser.");
1104
- let o = this.match_alphabet_(t), s = this;
1105
- function i(m, w) {
1106
- let v = m / t.length, y = Math.abs(n - w);
1107
- return s.Match_Distance ? v + y / s.Match_Distance : y ? 1 : v;
1138
+ let o = this.match_alphabet_(t), l = this;
1139
+ function i(_, w) {
1140
+ let C = _ / t.length, y = Math.abs(n - w);
1141
+ return l.Match_Distance ? C + y / l.Match_Distance : y ? 1 : C;
1108
1142
  }
1109
- let l = this.Match_Threshold, r = e.indexOf(t, n);
1110
- r != -1 && (l = Math.min(i(0, r), l), r = e.lastIndexOf(t, n + t.length), r != -1 && (l = Math.min(i(0, r), l)));
1143
+ let s = this.Match_Threshold, r = e.indexOf(t, n);
1144
+ 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)));
1111
1145
  let a = 1 << t.length - 1;
1112
1146
  r = -1;
1113
- let f, c, h = t.length + e.length, p;
1114
- for (let m = 0; m < t.length; m++) {
1115
- for (f = 0, c = h; f < c; ) i(m, n + c) <= l ? f = c : h = c, c = Math.floor((h - f) / 2 + f);
1116
- h = c;
1117
- let w = Math.max(1, n - c + 1), v = Math.min(n + c, e.length) + t.length, y = Array(v + 2);
1118
- y[v + 1] = (1 << m) - 1;
1119
- for (let b = v; b >= w; b--) {
1120
- let L = o[e.charAt(b - 1)];
1121
- if (m === 0 ? y[b] = (y[b + 1] << 1 | 1) & L : y[b] = (y[b + 1] << 1 | 1) & L | ((p[b + 1] | p[b]) << 1 | 1) | p[b + 1], y[b] & a) {
1122
- let x = i(m, b - 1);
1123
- if (x <= l) if (l = x, r = b - 1, r > n) w = Math.max(1, 2 * n - r);
1147
+ let f, u, d = t.length + e.length, p;
1148
+ for (let _ = 0; _ < t.length; _++) {
1149
+ for (f = 0, u = d; f < u; ) i(_, n + u) <= s ? f = u : d = u, u = Math.floor((d - f) / 2 + f);
1150
+ d = u;
1151
+ let w = Math.max(1, n - u + 1), C = Math.min(n + u, e.length) + t.length, y = Array(C + 2);
1152
+ y[C + 1] = (1 << _) - 1;
1153
+ for (let b = C; b >= w; b--) {
1154
+ let E = o[e.charAt(b - 1)];
1155
+ if (_ === 0 ? y[b] = (y[b + 1] << 1 | 1) & E : y[b] = (y[b + 1] << 1 | 1) & E | ((p[b + 1] | p[b]) << 1 | 1) | p[b + 1], y[b] & a) {
1156
+ let x = i(_, b - 1);
1157
+ if (x <= s) if (s = x, r = b - 1, r > n) w = Math.max(1, 2 * n - r);
1124
1158
  else break;
1125
1159
  }
1126
1160
  }
1127
- if (i(m + 1, n) > l) break;
1161
+ if (i(_ + 1, n) > s) break;
1128
1162
  p = y;
1129
1163
  }
1130
1164
  return r;
1131
1165
  };
1132
- d.prototype.match_alphabet_ = function(e) {
1166
+ h.prototype.match_alphabet_ = function(e) {
1133
1167
  let t = {};
1134
1168
  for (let n = 0; n < e.length; n++) t[e.charAt(n)] = 0;
1135
1169
  for (let n = 0; n < e.length; n++) t[e.charAt(n)] |= 1 << e.length - n - 1;
1136
1170
  return t;
1137
1171
  };
1138
- d.prototype.patch_addContext_ = function(e, t) {
1172
+ h.prototype.patch_addContext_ = function(e, t) {
1139
1173
  if (t.length == 0) return;
1140
1174
  if (e.start2 === null) throw Error("patch not initialized");
1141
1175
  let n = t.substring(e.start2, e.start2 + e.length1), o = 0;
1142
1176
  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);
1143
- o += this.Patch_Margin, e.start2 - o > 0 && d.prototype.isLowSurrogate(t[e.start2 - o]) && o++;
1144
- let s = t.substring(e.start2 - o, e.start2);
1145
- s && e.diffs.unshift(new d.Diff(0, s)), e.start2 + e.length1 + o < t.length && d.prototype.isHighSurrogate(t[e.start2 + e.length1 + o]) && o++;
1177
+ o += this.Patch_Margin, e.start2 - o > 0 && h.prototype.isLowSurrogate(t[e.start2 - o]) && o++;
1178
+ let l = t.substring(e.start2 - o, e.start2);
1179
+ l && e.diffs.unshift(new h.Diff(0, l)), e.start2 + e.length1 + o < t.length && h.prototype.isHighSurrogate(t[e.start2 + e.length1 + o]) && o++;
1146
1180
  let i = t.substring(e.start2 + e.length1, e.start2 + e.length1 + o);
1147
- i && e.diffs.push(new d.Diff(0, i)), e.start1 -= s.length, e.start2 -= s.length, e.length1 += s.length + i.length, e.length2 += s.length + i.length;
1181
+ i && e.diffs.push(new h.Diff(0, i)), e.start1 -= l.length, e.start2 -= l.length, e.length1 += l.length + i.length, e.length2 += l.length + i.length;
1148
1182
  };
1149
- d.prototype.patch_make = function(e, t, n) {
1150
- let o, s;
1151
- if (typeof e == "string" && typeof t == "string" && typeof n > "u") o = e, s = this.diff_main(o, t, !0), s.length > 2 && (this.diff_cleanupSemantic(s), this.diff_cleanupEfficiency(s));
1152
- else if (e && typeof e == "object" && typeof t > "u" && typeof n > "u") s = e, o = this.diff_text1(s);
1153
- else if (typeof e == "string" && t && typeof t == "object" && typeof n > "u") o = e, s = t;
1154
- else if (typeof e == "string" && typeof t == "string" && n && typeof n == "object") o = e, s = n;
1183
+ h.prototype.patch_make = function(e, t, n) {
1184
+ let o, l;
1185
+ 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));
1186
+ else if (e && typeof e == "object" && typeof t > "u" && typeof n > "u") l = e, o = this.diff_text1(l);
1187
+ else if (typeof e == "string" && t && typeof t == "object" && typeof n > "u") o = e, l = t;
1188
+ else if (typeof e == "string" && typeof t == "string" && n && typeof n == "object") o = e, l = n;
1155
1189
  else throw new Error("Unknown call format to patch_make.");
1156
- if (s.length === 0) return [];
1157
- s = this.diff_cleanupSplitSurrogates(s);
1158
- let i = [], l = new d.patch_obj(), r = 0, a = 0, f = 0, c = o, h = o;
1159
- for (let p = 0; p < s.length; p++) {
1160
- let m = s[p][0], w = s[p][1];
1161
- switch (!r && m !== 0 && (l.start1 = a, l.start2 = f), m) {
1190
+ if (l.length === 0) return [];
1191
+ l = this.diff_cleanupSplitSurrogates(l);
1192
+ let i = [], s = new h.patch_obj(), r = 0, a = 0, f = 0, u = o, d = o;
1193
+ for (let p = 0; p < l.length; p++) {
1194
+ let _ = l[p][0], w = l[p][1];
1195
+ switch (!r && _ !== 0 && (s.start1 = a, s.start2 = f), _) {
1162
1196
  case 1:
1163
- l.diffs[r++] = s[p], l.length2 += w.length, h = h.substring(0, f) + w + h.substring(f);
1197
+ s.diffs[r++] = l[p], s.length2 += w.length, d = d.substring(0, f) + w + d.substring(f);
1164
1198
  break;
1165
1199
  case -1:
1166
- l.length1 += w.length, l.diffs[r++] = s[p], h = h.substring(0, f) + h.substring(f + w.length);
1200
+ s.length1 += w.length, s.diffs[r++] = l[p], d = d.substring(0, f) + d.substring(f + w.length);
1167
1201
  break;
1168
1202
  case 0:
1169
- w.length <= 2 * this.Patch_Margin && r && s.length != p + 1 ? (l.diffs[r++] = s[p], l.length1 += w.length, l.length2 += w.length) : w.length >= 2 * this.Patch_Margin && r && (this.patch_addContext_(l, c), i.push(l), l = new d.patch_obj(), r = 0, c = h, a = f);
1203
+ 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 h.patch_obj(), r = 0, u = d, a = f);
1170
1204
  break;
1171
1205
  }
1172
- m !== 1 && (a += w.length), m !== -1 && (f += w.length);
1206
+ _ !== 1 && (a += w.length), _ !== -1 && (f += w.length);
1173
1207
  }
1174
- return r && (this.patch_addContext_(l, c), i.push(l)), i;
1208
+ return r && (this.patch_addContext_(s, u), i.push(s)), i;
1175
1209
  };
1176
- d.prototype.patch_deepCopy = function(e) {
1210
+ h.prototype.patch_deepCopy = function(e) {
1177
1211
  let t = [];
1178
1212
  for (let n = 0; n < e.length; n++) {
1179
- let o = e[n], s = new d.patch_obj();
1180
- s.diffs = [];
1181
- for (let i = 0; i < o.diffs.length; i++) s.diffs[i] = new d.Diff(o.diffs[i][0], o.diffs[i][1]);
1182
- s.start1 = o.start1, s.start2 = o.start2, s.length1 = o.length1, s.length2 = o.length2, t[n] = s;
1213
+ let o = e[n], l = new h.patch_obj();
1214
+ l.diffs = [];
1215
+ for (let i = 0; i < o.diffs.length; i++) l.diffs[i] = new h.Diff(o.diffs[i][0], o.diffs[i][1]);
1216
+ l.start1 = o.start1, l.start2 = o.start2, l.length1 = o.length1, l.length2 = o.length2, t[n] = l;
1183
1217
  }
1184
1218
  return t;
1185
1219
  };
1186
- d.prototype.patch_apply = function(e, t) {
1220
+ h.prototype.patch_apply = function(e, t) {
1187
1221
  if (e.length == 0) return [t, []];
1188
1222
  e = this.patch_deepCopy(e);
1189
1223
  let n = this.patch_addPadding(e);
1190
1224
  t = n + t + n, this.patch_splitMax(e);
1191
- let o = 0, s = [];
1225
+ let o = 0, l = [];
1192
1226
  for (let i = 0; i < e.length; i++) {
1193
- let l = e[i].start2 + o, r = this.diff_text1(e[i].diffs), a, f = -1;
1194
- if (r.length > this.Match_MaxBits ? (a = this.match_main(t, r.substring(0, this.Match_MaxBits), l), a != -1 && (f = this.match_main(t, r.substring(r.length - this.Match_MaxBits), l + r.length - this.Match_MaxBits), (f == -1 || a >= f) && (a = -1))) : a = this.match_main(t, r, l), a == -1) s[i] = !1, o -= e[i].length2 - e[i].length1;
1227
+ let s = e[i].start2 + o, r = this.diff_text1(e[i].diffs), a, f = -1;
1228
+ 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;
1195
1229
  else {
1196
- s[i] = !0, o = a - l;
1197
- let c;
1198
- if (f == -1 ? c = t.substring(a, a + r.length) : c = t.substring(a, f + this.Match_MaxBits), r == c) t = t.substring(0, a) + this.diff_text2(e[i].diffs) + t.substring(a + r.length);
1230
+ l[i] = !0, o = a - s;
1231
+ let u;
1232
+ 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);
1199
1233
  else {
1200
- let h = this.diff_main(r, c, !1);
1201
- if (r.length > this.Match_MaxBits && this.diff_levenshtein(h) / r.length > this.Patch_DeleteThreshold) s[i] = !1;
1234
+ let d = this.diff_main(r, u, !1);
1235
+ if (r.length > this.Match_MaxBits && this.diff_levenshtein(d) / r.length > this.Patch_DeleteThreshold) l[i] = !1;
1202
1236
  else {
1203
- this.diff_cleanupSemanticLossless(h);
1204
- let p = 0, m;
1237
+ this.diff_cleanupSemanticLossless(d);
1238
+ let p = 0, _;
1205
1239
  for (let w = 0; w < e[i].diffs.length; w++) {
1206
- let v = e[i].diffs[w];
1207
- v[0] !== 0 && (m = this.diff_xIndex(h, p)), v[0] === 1 ? t = t.substring(0, a + m) + v[1] + t.substring(a + m) : v[0] === -1 && (t = t.substring(0, a + m) + t.substring(a + this.diff_xIndex(h, p + v[1].length))), v[0] !== -1 && (p += v[1].length);
1240
+ let C = e[i].diffs[w];
1241
+ C[0] !== 0 && (_ = this.diff_xIndex(d, 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(d, p + C[1].length))), C[0] !== -1 && (p += C[1].length);
1208
1242
  }
1209
1243
  }
1210
1244
  }
1211
1245
  }
1212
1246
  }
1213
- return t = t.substring(n.length, t.length - n.length), [t, s];
1247
+ return t = t.substring(n.length, t.length - n.length), [t, l];
1214
1248
  };
1215
- d.prototype.patch_addPadding = function(e) {
1249
+ h.prototype.patch_addPadding = function(e) {
1216
1250
  let t = this.Patch_Margin, n = "";
1217
1251
  for (let i = 1; i <= t; i++) n += String.fromCharCode(i);
1218
1252
  for (let i = 0; i < e.length; i++) e[i].start1 += t, e[i].start2 += t;
1219
- let o = e[0], s = o.diffs;
1220
- if (s.length == 0 || s[0][0] != 0) s.unshift(new d.Diff(0, n)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
1221
- else if (t > s[0][1].length) {
1222
- let i = t - s[0][1].length;
1223
- s[0][1] = n.substring(s[0][1].length) + s[0][1], o.start1 -= i, o.start2 -= i, o.length1 += i, o.length2 += i;
1253
+ let o = e[0], l = o.diffs;
1254
+ if (l.length == 0 || l[0][0] != 0) l.unshift(new h.Diff(0, n)), o.start1 -= t, o.start2 -= t, o.length1 += t, o.length2 += t;
1255
+ else if (t > l[0][1].length) {
1256
+ let i = t - l[0][1].length;
1257
+ l[0][1] = n.substring(l[0][1].length) + l[0][1], o.start1 -= i, o.start2 -= i, o.length1 += i, o.length2 += i;
1224
1258
  }
1225
- if (o = e[e.length - 1], s = o.diffs, s.length == 0 || s[s.length - 1][0] != 0) s.push(new d.Diff(0, n)), o.length1 += t, o.length2 += t;
1226
- else if (t > s[s.length - 1][1].length) {
1227
- let i = t - s[s.length - 1][1].length;
1228
- s[s.length - 1][1] += n.substring(0, i), o.length1 += i, o.length2 += i;
1259
+ if (o = e[e.length - 1], l = o.diffs, l.length == 0 || l[l.length - 1][0] != 0) l.push(new h.Diff(0, n)), o.length1 += t, o.length2 += t;
1260
+ else if (t > l[l.length - 1][1].length) {
1261
+ let i = t - l[l.length - 1][1].length;
1262
+ l[l.length - 1][1] += n.substring(0, i), o.length1 += i, o.length2 += i;
1229
1263
  }
1230
1264
  return n;
1231
1265
  };
1232
- d.prototype.patch_splitMax = function(e) {
1266
+ h.prototype.patch_splitMax = function(e) {
1233
1267
  let t = this.Match_MaxBits;
1234
1268
  for (let n = 0; n < e.length; n++) {
1235
1269
  if (e[n].length1 <= t) continue;
1236
1270
  let o = e[n];
1237
1271
  e.splice(n--, 1);
1238
- let s = o.start1, i = o.start2, l = "";
1272
+ let l = o.start1, i = o.start2, s = "";
1239
1273
  for (; o.diffs.length !== 0; ) {
1240
- let r = new d.patch_obj(), a = !0;
1241
- for (r.start1 = s - l.length, r.start2 = i - l.length, l !== "" && (r.length1 = r.length2 = l.length, r.diffs.push(new d.Diff(0, l))); o.diffs.length !== 0 && r.length1 < t - this.Patch_Margin; ) {
1242
- let c = o.diffs[0][0], h = o.diffs[0][1];
1243
- c === 1 ? (r.length2 += h.length, i += h.length, r.diffs.push(o.diffs.shift()), a = !1) : c === -1 && r.diffs.length == 1 && r.diffs[0][0] == 0 && h.length > 2 * t ? (r.length1 += h.length, s += h.length, a = !1, r.diffs.push(new d.Diff(c, h)), o.diffs.shift()) : (h = h.substring(0, t - r.length1 - this.Patch_Margin), r.length1 += h.length, s += h.length, c === 0 ? (r.length2 += h.length, i += h.length) : a = !1, r.diffs.push(new d.Diff(c, h)), h == o.diffs[0][1] ? o.diffs.shift() : o.diffs[0][1] = o.diffs[0][1].substring(h.length));
1274
+ let r = new h.patch_obj(), a = !0;
1275
+ for (r.start1 = l - s.length, r.start2 = i - s.length, s !== "" && (r.length1 = r.length2 = s.length, r.diffs.push(new h.Diff(0, s))); o.diffs.length !== 0 && r.length1 < t - this.Patch_Margin; ) {
1276
+ let u = o.diffs[0][0], d = o.diffs[0][1];
1277
+ u === 1 ? (r.length2 += d.length, i += d.length, r.diffs.push(o.diffs.shift()), a = !1) : u === -1 && r.diffs.length == 1 && r.diffs[0][0] == 0 && d.length > 2 * t ? (r.length1 += d.length, l += d.length, a = !1, r.diffs.push(new h.Diff(u, d)), o.diffs.shift()) : (d = d.substring(0, t - r.length1 - this.Patch_Margin), r.length1 += d.length, l += d.length, u === 0 ? (r.length2 += d.length, i += d.length) : a = !1, r.diffs.push(new h.Diff(u, d)), d == o.diffs[0][1] ? o.diffs.shift() : o.diffs[0][1] = o.diffs[0][1].substring(d.length));
1244
1278
  }
1245
- l = this.diff_text2(r.diffs), l = l.substring(l.length - this.Patch_Margin);
1279
+ s = this.diff_text2(r.diffs), s = s.substring(s.length - this.Patch_Margin);
1246
1280
  let f = this.diff_text1(o.diffs).substring(0, this.Patch_Margin);
1247
- 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);
1281
+ 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 h.Diff(0, f))), a || e.splice(++n, 0, r);
1248
1282
  }
1249
1283
  }
1250
1284
  };
1251
- d.prototype.patch_toText = function(e) {
1285
+ h.prototype.patch_toText = function(e) {
1252
1286
  let t = [];
1253
1287
  for (let n = 0; n < e.length; n++) t[n] = e[n];
1254
1288
  return t.join("");
1255
1289
  };
1256
- d.prototype.patch_fromText = function(e) {
1290
+ h.prototype.patch_fromText = function(e) {
1257
1291
  let t = [];
1258
1292
  if (!e) return t;
1259
1293
  let n = e.split(`
1260
- `), o = 0, s = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
1294
+ `), o = 0, l = /^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;
1261
1295
  for (; o < n.length; ) {
1262
- let i = n[o].match(s);
1296
+ let i = n[o].match(l);
1263
1297
  if (!i) throw new Error("Invalid patch string: " + n[o]);
1264
- let l = new d.patch_obj();
1265
- for (t.push(l), l.start1 = parseInt(i[1], 10), i[2] === "" ? (l.start1--, l.length1 = 1) : i[2] == "0" ? l.length1 = 0 : (l.start1--, l.length1 = parseInt(i[2], 10)), l.start2 = parseInt(i[3], 10), i[4] === "" ? (l.start2--, l.length2 = 1) : i[4] == "0" ? l.length2 = 0 : (l.start2--, l.length2 = parseInt(i[4], 10)), o++; o < n.length; ) {
1298
+ let s = new h.patch_obj();
1299
+ 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; ) {
1266
1300
  let r = n[o].charAt(0), a = "";
1267
1301
  try {
1268
1302
  a = decodeURI(n[o].substring(1));
1269
1303
  } catch {
1270
1304
  throw new Error("Illegal escape in patch_fromText: " + a);
1271
1305
  }
1272
- if (r == "-") l.diffs.push(new d.Diff(-1, a));
1273
- else if (r == "+") l.diffs.push(new d.Diff(1, a));
1274
- else if (r == " ") l.diffs.push(new d.Diff(0, a));
1306
+ if (r == "-") s.diffs.push(new h.Diff(-1, a));
1307
+ else if (r == "+") s.diffs.push(new h.Diff(1, a));
1308
+ else if (r == " ") s.diffs.push(new h.Diff(0, a));
1275
1309
  else {
1276
1310
  if (r == "@") break;
1277
1311
  if (r !== "") throw new Error('Invalid patch mode "' + r + '" in: ' + a);
@@ -1281,17 +1315,17 @@ d.prototype.patch_fromText = function(e) {
1281
1315
  }
1282
1316
  return t;
1283
1317
  };
1284
- d.patch_obj = function() {
1318
+ h.patch_obj = function() {
1285
1319
  this.diffs = [], this.start1 = null, this.start2 = null, this.length1 = 0, this.length2 = 0;
1286
1320
  };
1287
- d.patch_obj.prototype.toString = function() {
1321
+ h.patch_obj.prototype.toString = function() {
1288
1322
  let e, t;
1289
1323
  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;
1290
1324
  let n = ["@@ -" + e + " +" + t + ` @@
1291
1325
  `], o;
1292
- d.prototype.diff_cleanupSplitSurrogates(this.diffs);
1293
- for (let s = 0; s < this.diffs.length; s++) {
1294
- switch (this.diffs[s][0]) {
1326
+ h.prototype.diff_cleanupSplitSurrogates(this.diffs);
1327
+ for (let l = 0; l < this.diffs.length; l++) {
1328
+ switch (this.diffs[l][0]) {
1295
1329
  case 1:
1296
1330
  o = "+";
1297
1331
  break;
@@ -1302,268 +1336,268 @@ d.patch_obj.prototype.toString = function() {
1302
1336
  o = " ";
1303
1337
  break;
1304
1338
  }
1305
- n[s + 1] = o + encodeURI(this.diffs[s][1]) + `
1339
+ n[l + 1] = o + encodeURI(this.diffs[l][1]) + `
1306
1340
  `;
1307
1341
  }
1308
1342
  return n.join("").replace(/%20/g, " ");
1309
1343
  };
1310
- function G(e) {
1344
+ function z(e) {
1311
1345
  return e && typeof e == "object" && !Array.isArray(e) && e !== null;
1312
1346
  }
1313
- function W(e, t) {
1314
- return G(e) && G(t) && Object.keys(t).forEach((n) => {
1315
- n === "__proto__" || n === "constructor" || (G(t[n]) ? ((!e[n] || !G(e[n])) && (e[n] = t[n]), W(e[n], t[n])) : Object.assign(e, { [n]: t[n] }));
1347
+ function J(e, t) {
1348
+ return z(e) && z(t) && Object.keys(t).forEach((n) => {
1349
+ 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] }));
1316
1350
  }), e;
1317
1351
  }
1318
- function J(e, t, n = !1) {
1319
- let o = null, s = !0;
1352
+ function Q(e, t, n = !1) {
1353
+ let o = null, l = !0;
1320
1354
  return (...i) => {
1321
- const l = n && s, r = () => {
1355
+ const s = n && l, r = () => {
1322
1356
  e.apply(this, i), o = null;
1323
1357
  };
1324
- l && (s = !1, r()), o || (o = setTimeout(r, t));
1358
+ s && (l = !1, r()), o || (o = setTimeout(r, t));
1325
1359
  };
1326
1360
  }
1327
- function qe(e, t) {
1361
+ function Ke(e, t) {
1328
1362
  let n;
1329
1363
  return (...o) => {
1330
- const s = this;
1331
- clearTimeout(n), n = setTimeout(() => e.apply(s, o), t);
1364
+ const l = this;
1365
+ clearTimeout(n), n = setTimeout(() => e.apply(l, o), t);
1332
1366
  };
1333
1367
  }
1334
- function K(e = "") {
1368
+ function Z(e = "") {
1335
1369
  return e.replace(/\r\n/g, `
1336
1370
  `);
1337
1371
  }
1338
- function Q(e, t, n, o) {
1339
- const s = n - e, i = e + s / 2;
1372
+ function ee(e, t, n, o) {
1373
+ const l = n - e, i = e + l / 2;
1340
1374
  return `M ${e} ${t} C ${i},${t} ${i},${o} ${n},${o}`;
1341
1375
  }
1342
- const T = { 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" };
1343
- function X(e, t) {
1376
+ 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" };
1377
+ function te(e, t) {
1344
1378
  let { mode: n } = e.options;
1345
- return t === T.EDITOR_LEFT && e.options.left.mode !== null && (n = e.options.left.mode), t === T.EDITOR_RIGHT && e.options.right.mode !== null && (n = e.options.right.mode), n;
1379
+ 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;
1346
1380
  }
1347
- function Z(e, t) {
1381
+ function ne(e, t) {
1348
1382
  let { theme: n } = e.options;
1349
- return t === T.EDITOR_LEFT && e.options.left.theme !== null && (n = e.options.left.theme), t === T.EDITOR_RIGHT && e.options.right.theme !== null && (n = e.options.right.theme), n;
1383
+ 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;
1350
1384
  }
1351
- function he(e, t) {
1385
+ function ce(e, t) {
1352
1386
  return e.ace.getSession().doc.getLine(t);
1353
1387
  }
1354
- function ze(e) {
1388
+ function Xe(e) {
1355
1389
  return document.getElementById(e.options.left.id).offsetHeight;
1356
1390
  }
1357
- function ee(e) {
1391
+ function ie(e) {
1358
1392
  const t = document.createElement("div"), n = { class: e.className, style: `top:${e.topOffset}px`, title: e.tooltip, "data-diff-index": e.diffIndex };
1359
1393
  for (const o in n) t.setAttribute(o, n[o]);
1360
1394
  return t.innerHTML = e.arrowContent, t;
1361
1395
  }
1362
- function Y(e, t) {
1363
- const n = Math.random().toString(36).substr(2, 5), o = `js-${t}-${n}`, s = e.querySelector(`.${t}`);
1364
- if (s) return s.id = s.id || o, s.id;
1396
+ function W(e, t) {
1397
+ const n = Math.random().toString(36).substr(2, 5), o = `js-${t}-${n}`, l = e.querySelector(`.${t}`);
1398
+ if (l) return l.id = l.id || o, l.id;
1365
1399
  const i = document.createElement("div");
1366
1400
  return e.appendChild(i), i.className = t, i.id = o, i.id;
1367
1401
  }
1368
- function te(e, t, n, o) {
1369
- const s = e === "document" ? document : document.querySelector(e);
1370
- s.addEventListener(t, (i) => {
1371
- const l = s.querySelectorAll(n), { target: r } = i;
1372
- for (let a = 0, f = l.length; a < f; a += 1) {
1373
- let c = r;
1374
- const h = l[a];
1375
- for (; c && c !== s; ) c === h && o.call(h, i), c = c.parentNode;
1402
+ function oe(e, t, n, o) {
1403
+ const l = e === "document" ? document : document.querySelector(e);
1404
+ l.addEventListener(t, (i) => {
1405
+ const s = l.querySelectorAll(n), { target: r } = i;
1406
+ for (let a = 0, f = s.length; a < f; a += 1) {
1407
+ let u = r;
1408
+ const d = s[a];
1409
+ for (; u && u !== l; ) u === d && o.call(d, i), u = u.parentNode;
1376
1410
  }
1377
1411
  });
1378
1412
  }
1379
- let q;
1380
- function Ye(e) {
1413
+ let K;
1414
+ function We(e) {
1381
1415
  if (e.Range) return e.Range;
1382
1416
  const t = e.acequire || e.require;
1383
1417
  return t ? t("ace/range") : !1;
1384
1418
  }
1385
- function z(e = {}) {
1386
- if (!(this instanceof z)) return new z(e);
1419
+ function X(e = {}) {
1420
+ if (!(this instanceof X)) return new X(e);
1387
1421
  const t = this, n = () => window ? window.ace : void 0;
1388
- t.options = W({ ace: n(), mode: null, theme: null, element: null, diffGranularity: T.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);
1422
+ 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);
1389
1423
  const { ace: o } = t.options;
1390
1424
  if (!o) {
1391
- const s = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1392
- return console.error(s), new Error(s);
1425
+ const l = "No ace editor found nor supplied - `options.ace` or `window.ace` is missing";
1426
+ return console.error(l), new Error(l);
1393
1427
  }
1394
- if (q = Ye(o), !q) {
1395
- const s = "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";
1396
- return console.error(s), new Error(s);
1428
+ if (K = We(o), !K) {
1429
+ 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";
1430
+ return console.error(l), new Error(l);
1397
1431
  }
1398
1432
  if (t.options.element === null) {
1399
- const s = "You need to specify an element for Ace-diff - `options.element` is missing";
1400
- return console.error(s), new Error(s);
1433
+ const l = "You need to specify an element for Ace-diff - `options.element` is missing";
1434
+ return console.error(l), new Error(l);
1401
1435
  }
1402
1436
  if (t.options.element instanceof HTMLElement ? t.el = t.options.element : t.el = document.body.querySelector(t.options.element), !t.el) {
1403
- const s = `Can't find the specified element ${t.options.element}`;
1404
- return console.error(s), new Error(s);
1437
+ const l = `Can't find the specified element ${t.options.element}`;
1438
+ return console.error(l), new Error(l);
1405
1439
  }
1406
- t.options.left.id = Y(t.el, "acediff__left"), t.options.classes.gutterID = Y(t.el, "acediff__gutter"), t.options.right.id = Y(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(X(t, T.EDITOR_LEFT)), t.editors.right.ace.getSession().setMode(X(t, T.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(Z(t, T.EDITOR_LEFT)), t.editors.right.ace.setTheme(Z(t, T.EDITOR_RIGHT)), t.editors.left.ace.setValue(K(t.options.left.content), -1), t.editors.right.ace.setValue(K(t.options.right.content), -1), t.editors.editorHeight = ze(t), setTimeout(() => {
1407
- t.lineHeight = t.editors.left.ace.renderer.lineHeight, We(t), Xe(t), ue(t), t.diff();
1440
+ 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 = Xe(t), setTimeout(() => {
1441
+ t.lineHeight = t.editors.left.ace.renderer.lineHeight, Je(t), tt(t), me(t), t.diff();
1408
1442
  }, 1);
1409
1443
  }
1410
- z.prototype = { setOptions(e) {
1411
- W(this.options, e), this.diff();
1444
+ X.prototype = { setOptions(e) {
1445
+ J(this.options, e), this.diff();
1412
1446
  }, getNumDiffs() {
1413
1447
  return this.diffs.length;
1414
1448
  }, getEditors() {
1415
1449
  return { left: this.editors.left.ace, right: this.editors.right.ace };
1416
1450
  }, diff() {
1417
- const e = new d(), t = this.editors.left.ace.getSession().getValue(), n = this.editors.right.ace.getSession().getValue(), o = e.diff_main(n, t);
1418
- e.diff_cleanupSemantic(o), this.editors.left.lineLengths = ie(this.editors.left), this.editors.right.lineLengths = ie(this.editors.right);
1419
- const s = [], i = { left: 0, right: 0 };
1420
- o.forEach((l) => {
1421
- const r = l[0];
1422
- let a = l[1];
1423
- a.length !== 0 && (r === T.DIFF_EQUAL ? (i.left += a.length, i.right += a.length) : r === T.DIFF_DELETE ? (s.push(le(this, T.DIFF_DELETE, i.left, i.right, a)), i.right += a.length) : r === T.DIFF_INSERT && (s.push(le(this, T.DIFF_INSERT, i.left, i.right, a)), i.left += a.length));
1424
- }, this), this.diffs = tt(this, s), !(this.diffs.length > this.options.maxDiffs) && (ce(this), ge(this));
1451
+ const e = new h(), t = this.editors.left.ace.getSession().getValue(), n = this.editors.right.ace.getSession().getValue(), o = e.diff_main(n, t);
1452
+ e.diff_cleanupSemantic(o), this.editors.left.lineLengths = se(this.editors.left), this.editors.right.lineLengths = se(this.editors.right);
1453
+ const l = [], i = { left: 0, right: 0 };
1454
+ o.forEach((s) => {
1455
+ const r = s[0];
1456
+ let a = s[1];
1457
+ 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));
1458
+ }, this), this.diffs = ot(this, l), !(this.diffs.length > this.options.maxDiffs) && (pe(this), _e(this));
1425
1459
  }, destroy() {
1426
1460
  const e = this.editors.left.ace.getValue();
1427
1461
  this.editors.left.ace.destroy();
1428
1462
  let t = this.editors.left.ace.container, n = t.cloneNode(!1);
1429
1463
  n.textContent = e, t.parentNode.replaceChild(n, t);
1430
1464
  const o = this.editors.right.ace.getValue();
1431
- 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 = "", de();
1465
+ 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();
1432
1466
  } };
1433
- let de = () => {
1467
+ let ge = () => {
1434
1468
  };
1435
- function We(e) {
1436
- e.editors.left.ace.getSession().on("changeScrollTop", J(() => {
1437
- se(e);
1438
- }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", J(() => {
1439
- se(e);
1469
+ function Je(e) {
1470
+ e.editors.left.ace.getSession().on("changeScrollTop", Q(() => {
1471
+ ae(e);
1472
+ }, 16)), e.editors.right.ace.getSession().on("changeScrollTop", Q(() => {
1473
+ ae(e);
1440
1474
  }, 16));
1441
1475
  const t = e.diff.bind(e);
1442
- e.editors.left.ace.on("change", t), e.editors.right.ace.on("change", t), e.options.left.copyLinkEnabled && te(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.newCodeConnectorLink}`, (o) => {
1443
- ne(e, o, T.LTR);
1444
- }), e.options.right.copyLinkEnabled && te(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (o) => {
1445
- ne(e, o, T.RTL);
1476
+ 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) => {
1477
+ le(e, o, D.LTR);
1478
+ }), e.options.right.copyLinkEnabled && oe(`#${e.options.classes.gutterID}`, "click", `.${e.options.classes.deletedCodeConnectorLink}`, (o) => {
1479
+ le(e, o, D.RTL);
1446
1480
  });
1447
- const n = qe(() => {
1481
+ const n = Ke(() => {
1448
1482
  e.editors.availableHeight = document.getElementById(e.options.left.id).offsetHeight, e.diff();
1449
1483
  }, 250);
1450
- window.addEventListener("resize", n), de = () => {
1484
+ window.addEventListener("resize", n), ge = () => {
1451
1485
  window.removeEventListener("resize", n);
1452
1486
  };
1453
1487
  }
1454
- function ne(e, t, n) {
1455
- const o = parseInt(t.target.getAttribute("data-diff-index"), 10), s = e.diffs[o];
1456
- let i, l, r, a, f, c;
1457
- n === T.LTR ? (i = e.editors.left, l = e.editors.right, r = s.leftStartLine, a = s.leftEndLine, f = s.rightStartLine, c = s.rightEndLine) : (i = e.editors.right, l = e.editors.left, r = s.rightStartLine, a = s.rightEndLine, f = s.leftStartLine, c = s.leftEndLine);
1458
- let h = "";
1459
- for (let m = r; m < a; m += 1) h += he(i, m), m === r && h === "" && f != 0 && (h += `
1460
- `), m < i.ace.getSession().getLength() - 1 && (h += `
1488
+ function le(e, t, n) {
1489
+ const o = parseInt(t.target.getAttribute("data-diff-index"), 10), l = e.diffs[o];
1490
+ let i, s, r, a, f, u;
1491
+ 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);
1492
+ let d = "";
1493
+ for (let _ = r; _ < a; _ += 1) d += ce(i, _), _ === r && d === "" && f != 0 && (d += `
1494
+ `), _ < i.ace.getSession().getLength() - 1 && (d += `
1461
1495
  `);
1462
- const p = l.ace.getSession().getScrollTop();
1463
- l.ace.getSession().replace(new q(f, 0, c, 0), h), l.ace.getSession().setScrollTop(parseInt(p, 10)), e.diff();
1496
+ const p = s.ace.getSession().getScrollTop();
1497
+ s.ace.getSession().replace(new K(f, 0, u, 0), d), s.ace.getSession().setScrollTop(parseInt(p, 10)), e.diff();
1464
1498
  }
1465
- function ie(e) {
1499
+ function se(e) {
1466
1500
  const t = e.ace.getSession().doc.getAllLines(), n = [];
1467
1501
  return t.forEach((o) => {
1468
1502
  n.push(o.length + 1);
1469
1503
  }), n;
1470
1504
  }
1471
- function oe(e, t, n, o, s) {
1505
+ function re(e, t, n, o, l) {
1472
1506
  const i = e.editors[t];
1473
1507
  o < n && (o = n);
1474
- const l = `${s} ${o > n ? "lines" : "targetOnly"}`;
1475
- o > n && (o -= 1), i.markers.push(i.ace.session.addMarker(new q(n, 0, o, 1), l, "fullLine"));
1508
+ const s = `${l} ${o > n ? "lines" : "targetOnly"}`;
1509
+ o > n && (o -= 1), i.markers.push(i.ace.session.addMarker(new K(n, 0, o, 1), s, "fullLine"));
1476
1510
  }
1477
- function se(e) {
1478
- ce(e), ge(e), Qe(e);
1511
+ function ae(e) {
1512
+ pe(e), _e(e), et(e);
1479
1513
  }
1480
- function ce(e) {
1514
+ function pe(e) {
1481
1515
  e.editors.left.markers.forEach((t) => {
1482
1516
  e.editors.left.ace.getSession().removeMarker(t);
1483
1517
  }, e), e.editors.right.markers.forEach((t) => {
1484
1518
  e.editors.right.ace.getSession().removeMarker(t);
1485
1519
  }, e);
1486
1520
  }
1487
- function Je(e, t, n, o, s) {
1488
- const i = e.editors.left.ace.getSession().getScrollTop(), l = e.editors.right.ace.getSession().getScrollTop();
1521
+ function Qe(e, t, n, o, l) {
1522
+ const i = e.editors.left.ace.getSession().getScrollTop(), s = e.editors.right.ace.getSession().getScrollTop();
1489
1523
  e.connectorYOffset = 1;
1490
- const r = -1, a = t * e.lineHeight - i + 0.5, f = e.gutterWidth + 1, c = o * e.lineHeight - l + 0.5, h = -1, p = n * e.lineHeight - i + e.connectorYOffset + 0.5, m = e.gutterWidth + 1, w = s * e.lineHeight - l + e.connectorYOffset + 0.5, v = Q(r, a, f, c), y = Q(m, w, h, p), b = `L${f},${c} ${m},${w}`, L = `L${h},${p} ${r},${a}`, x = `${v} ${b} ${y} ${L}`, C = document.createElementNS(T.SVG_NS, "path");
1491
- C.setAttribute("d", x), C.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(C);
1524
+ const r = -1, a = t * e.lineHeight - i + 0.5, f = e.gutterWidth + 1, u = o * e.lineHeight - s + 0.5, d = -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, d, p), b = `L${f},${u} ${_},${w}`, E = `L${d},${p} ${r},${a}`, x = `${C} ${b} ${y} ${E}`, v = document.createElementNS(D.SVG_NS, "path");
1525
+ v.setAttribute("d", x), v.setAttribute("class", e.options.classes.connector), e.gutterSVG.appendChild(v);
1492
1526
  }
1493
- function Ke(e, t, n) {
1527
+ function Ze(e, t, n) {
1494
1528
  if (t.leftEndLine > t.leftStartLine && e.options.left.copyLinkEnabled) {
1495
- const o = ee({ className: e.options.classes.newCodeConnectorLink, topOffset: t.leftStartLine * e.lineHeight, tooltip: "Copy to right", diffIndex: n, arrowContent: e.options.classes.newCodeConnectorLinkContent });
1529
+ const o = ie({ className: e.options.classes.newCodeConnectorLink, topOffset: t.leftStartLine * e.lineHeight, tooltip: "Copy to right", diffIndex: n, arrowContent: e.options.classes.newCodeConnectorLinkContent });
1496
1530
  e.copyRightContainer.appendChild(o);
1497
1531
  }
1498
1532
  if (t.rightEndLine > t.rightStartLine && e.options.right.copyLinkEnabled) {
1499
- const o = ee({ className: e.options.classes.deletedCodeConnectorLink, topOffset: t.rightStartLine * e.lineHeight, tooltip: "Copy to left", diffIndex: n, arrowContent: e.options.classes.deletedCodeConnectorLinkContent });
1533
+ const o = ie({ className: e.options.classes.deletedCodeConnectorLink, topOffset: t.rightStartLine * e.lineHeight, tooltip: "Copy to left", diffIndex: n, arrowContent: e.options.classes.deletedCodeConnectorLinkContent });
1500
1534
  e.copyLeftContainer.appendChild(o);
1501
1535
  }
1502
1536
  }
1503
- function Qe(e) {
1537
+ function et(e) {
1504
1538
  const t = e.editors.left.ace.getSession().getScrollTop(), n = e.editors.right.ace.getSession().getScrollTop();
1505
1539
  e.copyRightContainer.style.cssText = `top: ${-t}px`, e.copyLeftContainer.style.cssText = `top: ${-n}px`;
1506
1540
  }
1507
- function le(e, t, n, o, s) {
1541
+ function fe(e, t, n, o, l) {
1508
1542
  let i = {};
1509
- if (t === T.DIFF_INSERT) {
1510
- let l = re(e.editors.left, n, s), r = ae(e.editors.right, o), a = O(e.editors.right, r);
1511
- const f = O(e.editors.left, l.startLine);
1512
- let c = r, h = l.startLine === l.endLine, p = 0;
1513
- (l.startChar > 0 || h && s.length < f) && a > 0 && l.startChar < f && p++, i = { leftStartLine: l.startLine, leftEndLine: l.endLine + 1, rightStartLine: c, rightEndLine: c + p };
1543
+ if (t === D.DIFF_INSERT) {
1544
+ let s = de(e.editors.left, n, l), r = he(e.editors.right, o), a = B(e.editors.right, r);
1545
+ const f = B(e.editors.left, s.startLine);
1546
+ let u = r, d = s.startLine === s.endLine, p = 0;
1547
+ (s.startChar > 0 || d && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: s.startLine, leftEndLine: s.endLine + 1, rightStartLine: u, rightEndLine: u + p };
1514
1548
  } else {
1515
- let l = re(e.editors.right, o, s), r = ae(e.editors.left, n), a = O(e.editors.left, r);
1516
- const f = O(e.editors.right, l.startLine);
1517
- let c = r, h = l.startLine === l.endLine, p = 0;
1518
- (l.startChar > 0 || h && s.length < f) && a > 0 && l.startChar < f && p++, i = { leftStartLine: c, leftEndLine: c + p, rightStartLine: l.startLine, rightEndLine: l.endLine + 1 };
1549
+ let s = de(e.editors.right, o, l), r = he(e.editors.left, n), a = B(e.editors.left, r);
1550
+ const f = B(e.editors.right, s.startLine);
1551
+ let u = r, d = s.startLine === s.endLine, p = 0;
1552
+ (s.startChar > 0 || d && l.length < f) && a > 0 && s.startChar < f && p++, i = { leftStartLine: u, leftEndLine: u + p, rightStartLine: s.startLine, rightEndLine: s.endLine + 1 };
1519
1553
  }
1520
1554
  return i;
1521
1555
  }
1522
- function re(e, t, n) {
1523
- const o = { startLine: 0, startChar: 0, endLine: 0, endChar: 0 }, s = t + n.length;
1524
- let i = 0, l = !1, r = !1;
1525
- e.lineLengths.forEach((f, c) => {
1526
- i += f, !l && t < i && (o.startLine = c, o.startChar = t - i + f, l = !0), !r && s <= i && (o.endLine = c, o.endChar = s - i + f, r = !0);
1527
- }), o.startChar > 0 && O(e, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1556
+ function de(e, t, n) {
1557
+ const o = { startLine: 0, startChar: 0, endLine: 0, endChar: 0 }, l = t + n.length;
1558
+ let i = 0, s = !1, r = !1;
1559
+ e.lineLengths.forEach((f, u) => {
1560
+ 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);
1561
+ }), o.startChar > 0 && B(e, o.startLine) === o.startChar && (o.startLine++, o.startChar = 0), o.endChar === 0 && o.endLine--;
1528
1562
  const a = /\n$/.test(n);
1529
1563
  return o.startChar > 0 && a && o.endLine++, o;
1530
1564
  }
1531
- function O(e, t) {
1532
- return he(e, t).length;
1565
+ function B(e, t) {
1566
+ return ce(e, t).length;
1533
1567
  }
1534
- function ae(e, t) {
1568
+ function he(e, t) {
1535
1569
  const n = e.ace.getSession().doc.getAllLines();
1536
- let o = 0, s = 0;
1537
- for (let i = 0; i < n.length; i += 1) if (s += n[i].length + 1, t < s) {
1570
+ let o = 0, l = 0;
1571
+ for (let i = 0; i < n.length; i += 1) if (l += n[i].length + 1, t < l) {
1538
1572
  o = i;
1539
1573
  break;
1540
1574
  }
1541
- return s > e.ace.getSession().getValue().length && (o += 1), o;
1575
+ return l > e.ace.getSession().getValue().length && (o += 1), o;
1542
1576
  }
1543
- function ue(e) {
1577
+ function me(e) {
1544
1578
  e.gutterHeight = document.getElementById(e.options.classes.gutterID).clientHeight, e.gutterWidth = document.getElementById(e.options.classes.gutterID).clientWidth;
1545
- const t = fe(e, T.EDITOR_LEFT), n = fe(e, T.EDITOR_RIGHT), o = Math.max(t, n, e.gutterHeight);
1546
- e.gutterSVG = document.createElementNS(T.SVG_NS, "svg"), e.gutterSVG.setAttribute("width", e.gutterWidth), e.gutterSVG.setAttribute("height", o), document.getElementById(e.options.classes.gutterID).appendChild(e.gutterSVG);
1579
+ const t = ue(e, D.EDITOR_LEFT), n = ue(e, D.EDITOR_RIGHT), o = Math.max(t, n, e.gutterHeight);
1580
+ 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);
1547
1581
  }
1548
- function fe(e, t) {
1549
- return (t === T.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1582
+ function ue(e, t) {
1583
+ return (t === D.EDITOR_LEFT ? e.editors.left : e.editors.right).ace.getSession().getLength() * e.lineHeight;
1550
1584
  }
1551
- function Xe(e) {
1585
+ function tt(e) {
1552
1586
  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);
1553
1587
  }
1554
- function Ze(e) {
1555
- document.getElementById(e.options.classes.gutterID).removeChild(e.gutterSVG), ue(e);
1588
+ function nt(e) {
1589
+ document.getElementById(e.options.classes.gutterID).removeChild(e.gutterSVG), me(e);
1556
1590
  }
1557
- function et(e) {
1591
+ function it(e) {
1558
1592
  e.copyLeftContainer.innerHTML = "", e.copyRightContainer.innerHTML = "";
1559
1593
  }
1560
- function tt(e, t) {
1594
+ function ot(e, t) {
1561
1595
  const n = [];
1562
1596
  function o(i) {
1563
- return e.options.diffGranularity === T.DIFF_GRANULARITY_SPECIFIC ? i < 1 : i <= 1;
1597
+ return e.options.diffGranularity === D.DIFF_GRANULARITY_SPECIFIC ? i < 1 : i <= 1;
1564
1598
  }
1565
- t.forEach((i, l) => {
1566
- if (l === 0) {
1599
+ t.forEach((i, s) => {
1600
+ if (s === 0) {
1567
1601
  n.push(i);
1568
1602
  return;
1569
1603
  }
@@ -1574,17 +1608,17 @@ function tt(e, t) {
1574
1608
  }
1575
1609
  r || n.push(i);
1576
1610
  });
1577
- const s = [];
1611
+ const l = [];
1578
1612
  return n.forEach((i) => {
1579
- i.leftStartLine === i.leftEndLine && i.rightStartLine === i.rightEndLine || s.push(i);
1580
- }), s;
1613
+ i.leftStartLine === i.leftEndLine && i.rightStartLine === i.rightEndLine || l.push(i);
1614
+ }), l;
1581
1615
  }
1582
- function ge(e) {
1583
- Ze(e), et(e), e.diffs.forEach((t, n) => {
1584
- e.options.showDiffs && (oe(e, T.EDITOR_LEFT, t.leftStartLine, t.leftEndLine, e.options.classes.diff), oe(e, T.EDITOR_RIGHT, t.rightStartLine, t.rightEndLine, e.options.classes.diff), e.options.showConnectors && Je(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), Ke(e, t, n));
1616
+ function _e(e) {
1617
+ nt(e), it(e), e.diffs.forEach((t, n) => {
1618
+ 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 && Qe(e, t.leftStartLine, t.leftEndLine, t.rightStartLine, t.rightEndLine), Ze(e, t, n));
1585
1619
  }, e);
1586
1620
  }
1587
- const nt = {
1621
+ const lt = {
1588
1622
  props: {
1589
1623
  pluginName: {
1590
1624
  type: String,
@@ -1612,12 +1646,15 @@ const nt = {
1612
1646
  localPluginTxt: "",
1613
1647
  localExistingPluginTxt: null,
1614
1648
  editor: null,
1615
- differ: null
1649
+ differ: null,
1650
+ contextMenu: !1,
1651
+ menuX: 0,
1652
+ menuY: 0
1616
1653
  };
1617
1654
  },
1618
1655
  mounted() {
1619
1656
  const e = this.buildPluginMode();
1620
- this.existingPluginTxt === null ? (this.editor = R.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(), this.editor.focus()) : (this.tab = 1, this.differ = new z({
1657
+ 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({
1621
1658
  element: this.$refs.editor,
1622
1659
  mode: new e(),
1623
1660
  theme: "ace/theme/twilight",
@@ -1629,7 +1666,7 @@ const nt = {
1629
1666
  content: this.localPluginTxt,
1630
1667
  editable: !1
1631
1668
  }
1632
- }), this.differ.getEditors().left.setFontSize(16), this.differ.getEditors().right.setFontSize(16), this.curDiff = -1);
1669
+ }), 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);
1633
1670
  },
1634
1671
  beforeUnmount() {
1635
1672
  this.editor && this.editor.destroy(), this.differ && this.differ.destroy();
@@ -1665,24 +1702,24 @@ const nt = {
1665
1702
  e > 5 && (e -= 5), t > 5 && (t -= 5), this.differ.getEditors().left.scrollToLine(e), this.differ.getEditors().right.scrollToLine(t);
1666
1703
  },
1667
1704
  buildPluginMode() {
1668
- let e = R.require("ace/lib/oop"), t = R.require(
1705
+ let e = I.require("ace/lib/oop"), t = I.require(
1669
1706
  "ace/mode/ruby_highlight_rules"
1670
- ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), s = function() {
1707
+ ).RubyHighlightRules, n = ["VARIABLE"], o = new RegExp(`(\\b${n.join("\\b|\\b")}\\b)`), l = function() {
1671
1708
  t.call(this);
1672
- for (let c in this.$rules)
1673
- this.$rules[c].unshift({
1709
+ for (let u in this.$rules)
1710
+ this.$rules[u].unshift({
1674
1711
  regex: o,
1675
1712
  token: "support.function"
1676
1713
  });
1677
1714
  };
1678
- e.inherits(s, t);
1679
- let i = R.require(
1715
+ e.inherits(l, t);
1716
+ let i = I.require(
1680
1717
  "ace/mode/matching_brace_outdent"
1681
- ).MatchingBraceOutdent, l = R.require(
1718
+ ).MatchingBraceOutdent, s = I.require(
1682
1719
  "ace/mode/behaviour/cstyle"
1683
- ).CstyleBehaviour, r = R.require("ace/mode/folding/ruby").FoldMode, a = function() {
1684
- this.HighlightRules = s, this.$outdent = new i(), this.$behaviour = new l(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1685
- }, f = R.require("ace/mode/ruby").Mode;
1720
+ ).CstyleBehaviour, r = I.require("ace/mode/folding/ruby").FoldMode, a = function() {
1721
+ this.HighlightRules = l, this.$outdent = new i(), this.$behaviour = new s(), this.foldingRules = new r(), this.indentKeywords = this.foldingRules.indentKeywords;
1722
+ }, f = I.require("ace/mode/ruby").Mode;
1686
1723
  return e.inherits(a, f), (function() {
1687
1724
  this.$id = "ace/mode/openc3";
1688
1725
  }).call(a.prototype), a;
@@ -1707,77 +1744,85 @@ const nt = {
1707
1744
  emitSubmit(e) {
1708
1745
  let t = {
1709
1746
  name: this.pluginName,
1710
- variables: ve(this.localVariables),
1747
+ variables: Le(this.localVariables),
1711
1748
  plugin_txt_lines: e
1712
1749
  };
1713
1750
  this.$emit("callback", t);
1714
1751
  },
1715
1752
  close: function() {
1716
1753
  this.show = !this.show;
1754
+ },
1755
+ showContextMenu: function(e) {
1756
+ this.menuX = e.pageX, this.menuY = e.pageY;
1757
+ let t = this.editor.getCursorPosition(), n = this.editor.session.getTokenAt(t.row, t.column);
1758
+ if (n) {
1759
+ let o = n.value.trim();
1760
+ o.includes(" ") ? this.docsKeyword = o.split(" ")[0] : this.docsKeyword = o, this.contextMenu = !0;
1761
+ }
1762
+ },
1763
+ toggleVimMode: function() {
1764
+ this.editor && U.toggleVimMode(this.editor);
1717
1765
  }
1718
1766
  }
1719
- }, it = { style: { flex: "1" } }, ot = { class: "pa-3" }, st = {
1720
- ref: "editor",
1721
- class: "editor"
1722
- }, lt = {
1767
+ }, st = { style: { flex: "1" } }, rt = { class: "pa-3" }, at = {
1723
1768
  ref: "editor",
1724
1769
  class: "editor"
1725
- }, rt = { key: 0 };
1726
- function at(e, t, n, o, s, i) {
1727
- const l = _("v-card-title"), r = _("v-icon"), a = _("v-row"), f = _("v-tab"), c = _("v-tabs"), h = _("v-text-field"), p = _("v-col"), m = _("v-window-item"), w = _("v-window"), v = _("v-btn"), y = _("v-spacer"), b = _("v-card-actions"), L = _("v-card-text"), x = _("v-card"), C = _("v-dialog");
1728
- return S(), M(C, {
1770
+ }, ft = { key: 0 };
1771
+ function dt(e, t, n, o, l, i) {
1772
+ const s = m("v-card-title"), r = m("v-icon"), a = m("v-row"), f = m("v-tab"), u = m("v-tabs"), d = 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"), E = m("v-menu"), x = m("v-window"), v = m("v-btn"), T = m("v-spacer"), V = m("v-card-actions"), P = m("v-card-text"), O = m("v-card"), F = m("v-dialog");
1773
+ return L(), k(F, {
1729
1774
  persistent: "",
1730
1775
  modelValue: i.show,
1731
- "onUpdate:modelValue": t[3] || (t[3] = (D) => i.show = D),
1776
+ "onUpdate:modelValue": t[5] || (t[5] = (A) => i.show = A),
1732
1777
  width: "80vw"
1733
1778
  }, {
1734
- default: u(() => [
1735
- g(x, null, {
1736
- default: u(() => [
1737
- g(L, null, {
1738
- default: u(() => [
1739
- g(l, null, {
1740
- default: u(() => [
1741
- E(A(n.pluginName), 1)
1779
+ default: g(() => [
1780
+ c(O, null, {
1781
+ default: g(() => [
1782
+ c(P, null, {
1783
+ default: g(() => [
1784
+ c(s, null, {
1785
+ default: g(() => [
1786
+ S(N(n.pluginName), 1)
1742
1787
  ]),
1743
1788
  _: 1
1744
1789
  }),
1745
- n.existingPluginTxt !== null ? (S(), M(a, {
1790
+ n.existingPluginTxt !== null ? (L(), k(a, {
1746
1791
  key: 0,
1747
1792
  class: "notice d-flex flex-row"
1748
1793
  }, {
1749
- default: u(() => [
1750
- g(r, {
1794
+ default: g(() => [
1795
+ c(r, {
1751
1796
  size: "x-large",
1752
1797
  start: "",
1753
1798
  color: "yellow"
1754
1799
  }, {
1755
- default: u(() => t[4] || (t[4] = [
1756
- E(" mdi-alert-box ")
1800
+ default: g(() => t[6] || (t[6] = [
1801
+ S(" mdi-alert-box ")
1757
1802
  ])),
1758
1803
  _: 1
1759
1804
  }),
1760
- k("div", it, " 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)
1805
+ M("div", st, " The existing plugin.txt is different from the " + N(n.pluginName) + "'s plugin.txt. Navigate the diffs making whatever edits you want before installing. You may want to update " + N(n.pluginName) + "'s plugin.txt going forward. ", 1)
1761
1806
  ]),
1762
1807
  _: 1
1763
- })) : H("", !0),
1764
- g(a, { class: "pb-3 pr-3" }, {
1765
- default: u(() => [
1766
- g(c, {
1767
- modelValue: s.tab,
1768
- "onUpdate:modelValue": t[0] || (t[0] = (D) => s.tab = D),
1808
+ })) : j("", !0),
1809
+ c(a, { class: "pb-3 pr-3" }, {
1810
+ default: g(() => [
1811
+ c(u, {
1812
+ modelValue: l.tab,
1813
+ "onUpdate:modelValue": t[0] || (t[0] = (A) => l.tab = A),
1769
1814
  class: "ml-3"
1770
1815
  }, {
1771
- default: u(() => [
1772
- (S(), M(f, { key: 0 }, {
1773
- default: u(() => t[5] || (t[5] = [
1774
- E(" Variables ")
1816
+ default: g(() => [
1817
+ (L(), k(f, { key: 0 }, {
1818
+ default: g(() => t[7] || (t[7] = [
1819
+ S(" Variables ")
1775
1820
  ])),
1776
1821
  _: 1
1777
1822
  })),
1778
- (S(), M(f, { key: 1 }, {
1779
- default: u(() => t[6] || (t[6] = [
1780
- E(" plugin.txt ")
1823
+ (L(), k(f, { key: 1 }, {
1824
+ default: g(() => t[8] || (t[8] = [
1825
+ S(" plugin.txt ")
1781
1826
  ])),
1782
1827
  _: 1
1783
1828
  }))
@@ -1787,32 +1832,32 @@ function at(e, t, n, o, s, i) {
1787
1832
  ]),
1788
1833
  _: 1
1789
1834
  }),
1790
- k("form", {
1791
- onSubmit: t[2] || (t[2] = j((...D) => e.onSubmit && e.onSubmit(...D), ["prevent"]))
1835
+ M("form", {
1836
+ onSubmit: t[4] || (t[4] = H((...A) => e.onSubmit && e.onSubmit(...A), ["prevent"]))
1792
1837
  }, [
1793
- g(w, {
1794
- modelValue: s.tab,
1795
- "onUpdate:modelValue": t[1] || (t[1] = (D) => s.tab = D)
1838
+ c(x, {
1839
+ modelValue: l.tab,
1840
+ "onUpdate:modelValue": t[3] || (t[3] = (A) => l.tab = A)
1796
1841
  }, {
1797
- default: u(() => [
1798
- (S(), M(m, {
1842
+ default: g(() => [
1843
+ (L(), k(_, {
1799
1844
  key: 0,
1800
1845
  eager: "true",
1801
1846
  class: "tab"
1802
1847
  }, {
1803
- default: u(() => [
1804
- k("div", ot, [
1805
- g(a, { class: "mt-3" }, {
1806
- default: u(() => [
1807
- (S(!0), V(P, null, F(s.localVariables, (D, I) => (S(), V("div", { key: I }, [
1808
- g(p, { style: { width: "220px" } }, {
1809
- default: u(() => [
1810
- g(h, {
1848
+ default: g(() => [
1849
+ M("div", rt, [
1850
+ c(a, { class: "mt-3" }, {
1851
+ default: g(() => [
1852
+ (L(!0), R(G, null, $(l.localVariables, (A, Y) => (L(), R("div", { key: Y }, [
1853
+ c(p, { style: { width: "220px" } }, {
1854
+ default: g(() => [
1855
+ c(d, {
1811
1856
  clearable: "",
1812
1857
  type: "text",
1813
- label: I,
1814
- modelValue: s.localVariables[I],
1815
- "onUpdate:modelValue": (N) => s.localVariables[I] = N
1858
+ label: Y,
1859
+ modelValue: l.localVariables[Y],
1860
+ "onUpdate:modelValue": (be) => l.localVariables[Y] = be
1816
1861
  }, null, 8, ["label", "modelValue", "onUpdate:modelValue"])
1817
1862
  ]),
1818
1863
  _: 2
@@ -1825,96 +1870,131 @@ function at(e, t, n, o, s, i) {
1825
1870
  ]),
1826
1871
  _: 1
1827
1872
  })),
1828
- n.existingPluginTxt === null ? (S(), M(m, {
1873
+ n.existingPluginTxt === null ? (L(), k(_, {
1829
1874
  key: "1-new",
1830
1875
  eager: "true",
1831
1876
  class: "tab"
1832
1877
  }, {
1833
- default: u(() => [
1834
- g(a, { class: "pa-3" }, {
1835
- default: u(() => [
1836
- g(p, null, {
1837
- default: u(() => t[7] || (t[7] = [
1838
- E(" This can be edited before installation. ")
1878
+ default: g(() => [
1879
+ c(a, { class: "pa-3" }, {
1880
+ default: g(() => [
1881
+ c(p, null, {
1882
+ default: g(() => t[9] || (t[9] = [
1883
+ S(" This can be edited before installation. ")
1839
1884
  ])),
1840
1885
  _: 1
1841
1886
  })
1842
1887
  ]),
1843
1888
  _: 1
1844
1889
  }),
1845
- k("pre", st, null, 512)
1890
+ M("pre", {
1891
+ ref: "editor",
1892
+ class: "editor",
1893
+ onContextmenu: t[1] || (t[1] = H((...A) => i.showContextMenu && i.showContextMenu(...A), ["prevent"]))
1894
+ }, null, 544),
1895
+ c(E, {
1896
+ modelValue: l.contextMenu,
1897
+ "onUpdate:modelValue": t[2] || (t[2] = (A) => l.contextMenu = A),
1898
+ target: [l.menuX, l.menuY]
1899
+ }, {
1900
+ default: g(() => [
1901
+ c(b, null, {
1902
+ default: g(() => [
1903
+ c(C, { link: "" }, {
1904
+ default: g(() => [
1905
+ c(w, { onClick: e.openDocumentation }, {
1906
+ default: g(() => [
1907
+ S(N(e.docsKeyword) + " documentation ", 1)
1908
+ ]),
1909
+ _: 1
1910
+ }, 8, ["onClick"])
1911
+ ]),
1912
+ _: 1
1913
+ }),
1914
+ c(y),
1915
+ c(C, {
1916
+ title: "Toggle Vim mode",
1917
+ "prepend-icon": "extras:vim",
1918
+ onClick: i.toggleVimMode
1919
+ }, null, 8, ["onClick"])
1920
+ ]),
1921
+ _: 1
1922
+ })
1923
+ ]),
1924
+ _: 1
1925
+ }, 8, ["modelValue", "target"])
1846
1926
  ]),
1847
1927
  _: 1
1848
- })) : (S(), M(m, {
1928
+ })) : (L(), k(_, {
1849
1929
  key: "1-existing",
1850
1930
  eager: "true",
1851
1931
  class: "tab"
1852
1932
  }, {
1853
- default: u(() => [
1854
- g(a, { class: "pa-3" }, {
1855
- default: u(() => [
1856
- g(p, null, {
1857
- default: u(() => t[8] || (t[8] = [
1858
- E(" Existing plugin.txt. This can be edited before installation. ")
1933
+ default: g(() => [
1934
+ c(a, { class: "pa-3" }, {
1935
+ default: g(() => [
1936
+ c(p, null, {
1937
+ default: g(() => t[10] || (t[10] = [
1938
+ S(" Existing plugin.txt. This can be edited before installation. ")
1859
1939
  ])),
1860
1940
  _: 1
1861
1941
  }),
1862
- g(p, { class: "ml-6" }, {
1863
- default: u(() => t[9] || (t[9] = [
1864
- E(" Uneditable plugin.txt from the new plugin. ")
1942
+ c(p, { class: "ml-6" }, {
1943
+ default: g(() => t[11] || (t[11] = [
1944
+ S(" Uneditable plugin.txt from the new plugin. ")
1865
1945
  ])),
1866
1946
  _: 1
1867
1947
  })
1868
1948
  ]),
1869
1949
  _: 1
1870
1950
  }),
1871
- k("pre", lt, null, 512)
1951
+ M("pre", at, null, 512)
1872
1952
  ]),
1873
1953
  _: 1
1874
1954
  }))
1875
1955
  ]),
1876
1956
  _: 1
1877
1957
  }, 8, ["modelValue"]),
1878
- g(b, { class: "px-2 mt-2" }, {
1879
- default: u(() => [
1880
- n.existingPluginTxt !== null ? (S(), V("div", rt, [
1881
- g(v, {
1958
+ c(V, { class: "px-2 mt-2" }, {
1959
+ default: g(() => [
1960
+ n.existingPluginTxt !== null ? (L(), R("div", ft, [
1961
+ c(v, {
1882
1962
  variant: "text",
1883
1963
  onClick: i.nextDiff
1884
1964
  }, {
1885
- default: u(() => t[10] || (t[10] = [
1886
- E(" Next Diff ")
1965
+ default: g(() => t[12] || (t[12] = [
1966
+ S(" Next Diff ")
1887
1967
  ])),
1888
1968
  _: 1
1889
1969
  }, 8, ["onClick"]),
1890
- g(v, {
1970
+ c(v, {
1891
1971
  variant: "text",
1892
1972
  onClick: i.previousDiff
1893
1973
  }, {
1894
- default: u(() => t[11] || (t[11] = [
1895
- E(" Previous Diff ")
1974
+ default: g(() => t[13] || (t[13] = [
1975
+ S(" Previous Diff ")
1896
1976
  ])),
1897
1977
  _: 1
1898
1978
  }, 8, ["onClick"])
1899
- ])) : H("", !0),
1900
- g(y),
1901
- g(v, {
1979
+ ])) : j("", !0),
1980
+ c(T),
1981
+ c(v, {
1902
1982
  variant: "outlined",
1903
- onClick: j(i.close, ["prevent"]),
1983
+ onClick: H(i.close, ["prevent"]),
1904
1984
  "data-test": "edit-cancel"
1905
1985
  }, {
1906
- default: u(() => t[12] || (t[12] = [
1907
- E(" Cancel ")
1986
+ default: g(() => t[14] || (t[14] = [
1987
+ S(" Cancel ")
1908
1988
  ])),
1909
1989
  _: 1
1910
1990
  }, 8, ["onClick"]),
1911
- g(v, {
1991
+ c(v, {
1912
1992
  variant: "flat",
1913
1993
  onClick: i.submit,
1914
1994
  "data-test": "edit-submit"
1915
1995
  }, {
1916
- default: u(() => t[13] || (t[13] = [
1917
- E(" Install ")
1996
+ default: g(() => t[15] || (t[15] = [
1997
+ S(" Install ")
1918
1998
  ])),
1919
1999
  _: 1
1920
2000
  }, 8, ["onClick"])
@@ -1932,13 +2012,13 @@ function at(e, t, n, o, s, i) {
1932
2012
  _: 1
1933
2013
  }, 8, ["modelValue"]);
1934
2014
  }
1935
- const wt = /* @__PURE__ */ U(nt, [["render", at], ["__scopeId", "data-v-4a504453"]]);
2015
+ const vt = /* @__PURE__ */ q(lt, [["render", dt], ["__scopeId", "data-v-0c2b3caa"]]);
1936
2016
  export {
1937
- pt as DownloadDialog,
1938
- mt as EditDialog,
1939
- _t as ModifiedPluginDialog,
1940
- bt as OpenC3Admin,
1941
- wt as PluginDialog,
1942
- Be as TabsList
2017
+ _t as DownloadDialog,
2018
+ bt as EditDialog,
2019
+ wt as ModifiedPluginDialog,
2020
+ yt as OpenC3Admin,
2021
+ vt as PluginDialog,
2022
+ qe as TabsList
1943
2023
  };
1944
2024
  //# sourceMappingURL=admin.js.map