@openc3/vue-common 6.2.0 → 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 (417) hide show
  1. package/dist/ArrayWidget-BbsN1dzF.js +106 -0
  2. package/dist/ArrayWidget-BbsN1dzF.js.map +1 -0
  3. package/dist/ArrayWidget-DkjHrXsu.cjs +3 -0
  4. package/dist/ArrayWidget-DkjHrXsu.cjs.map +1 -0
  5. package/dist/ArrayplotWidget-CCKEyYIx.js +199 -0
  6. package/dist/ArrayplotWidget-CCKEyYIx.js.map +1 -0
  7. package/dist/ArrayplotWidget-COeaK_Lz.cjs +2 -0
  8. package/dist/ArrayplotWidget-COeaK_Lz.cjs.map +1 -0
  9. package/dist/AstroStatus-CILMWL6F.cjs +2 -0
  10. package/dist/AstroStatus-CILMWL6F.cjs.map +1 -0
  11. package/dist/AstroStatus-CY9VkeTN.js +40 -0
  12. package/dist/AstroStatus-CY9VkeTN.js.map +1 -0
  13. package/dist/BarColumn-C6p07yWK.js +108 -0
  14. package/dist/BarColumn-C6p07yWK.js.map +1 -0
  15. package/dist/BarColumn-CJLW1nXy.cjs +2 -0
  16. package/dist/BarColumn-CJLW1nXy.cjs.map +1 -0
  17. package/dist/BlockWidget-BFVYgbd_.cjs +3 -0
  18. package/dist/BlockWidget-BFVYgbd_.cjs.map +1 -0
  19. package/dist/BlockWidget-DlCHbqZX.js +112 -0
  20. package/dist/BlockWidget-DlCHbqZX.js.map +1 -0
  21. package/dist/ButtonWidget-CtfJzCBR.js +166 -0
  22. package/dist/ButtonWidget-CtfJzCBR.js.map +1 -0
  23. package/dist/ButtonWidget-HN8UHsme.cjs +3 -0
  24. package/dist/ButtonWidget-HN8UHsme.cjs.map +1 -0
  25. package/dist/CanvasWidget-CHmkxxMO.cjs +2 -0
  26. package/dist/CanvasWidget-CHmkxxMO.cjs.map +1 -0
  27. package/dist/CanvasWidget-CqRlXc4r.js +39 -0
  28. package/dist/CanvasWidget-CqRlXc4r.js.map +1 -0
  29. package/dist/CanvasdotWidget--Xr_KsZs.js +19 -0
  30. package/dist/CanvasdotWidget--Xr_KsZs.js.map +1 -0
  31. package/dist/CanvasdotWidget-B4bUcKRc.cjs +2 -0
  32. package/dist/CanvasdotWidget-B4bUcKRc.cjs.map +1 -0
  33. package/dist/CanvasimageWidget-B5YozXoI.cjs +2 -0
  34. package/dist/CanvasimageWidget-B5YozXoI.cjs.map +1 -0
  35. package/dist/CanvasimageWidget-BPlj5QYK.js +58 -0
  36. package/dist/CanvasimageWidget-BPlj5QYK.js.map +1 -0
  37. package/dist/CanvasimagevalueWidget-DVFGLt8f.js +107 -0
  38. package/dist/CanvasimagevalueWidget-DVFGLt8f.js.map +1 -0
  39. package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs +2 -0
  40. package/dist/CanvasimagevalueWidget-Dx1HnbEw.cjs.map +1 -0
  41. package/dist/CanvaslabelWidget-CYNqmyP0.js +23 -0
  42. package/dist/CanvaslabelWidget-CYNqmyP0.js.map +1 -0
  43. package/dist/CanvaslabelWidget-DgadQD-D.cjs +2 -0
  44. package/dist/CanvaslabelWidget-DgadQD-D.cjs.map +1 -0
  45. package/dist/CanvaslabelvalueWidget-B7yIDmsn.js +42 -0
  46. package/dist/CanvaslabelvalueWidget-B7yIDmsn.js.map +1 -0
  47. package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs +2 -0
  48. package/dist/CanvaslabelvalueWidget-C3k5gx5c.cjs.map +1 -0
  49. package/dist/CanvaslineWidget-BICdxX0Q.js +28 -0
  50. package/dist/CanvaslineWidget-BICdxX0Q.js.map +1 -0
  51. package/dist/CanvaslineWidget-CYHkes0a.cjs +2 -0
  52. package/dist/CanvaslineWidget-CYHkes0a.cjs.map +1 -0
  53. package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs +2 -0
  54. package/dist/CanvaslinevalueWidget-5DzhZ22p.cjs.map +1 -0
  55. package/dist/CanvaslinevalueWidget-Cq-Ddh0P.js +44 -0
  56. package/dist/CanvaslinevalueWidget-Cq-Ddh0P.js.map +1 -0
  57. package/dist/CheckbuttonWidget-B74AWeaW.js +37 -0
  58. package/dist/CheckbuttonWidget-B74AWeaW.js.map +1 -0
  59. package/dist/CheckbuttonWidget-BCzsXnIF.cjs +2 -0
  60. package/dist/CheckbuttonWidget-BCzsXnIF.cjs.map +1 -0
  61. package/dist/ComboboxWidget-CtyKbEWb.js +37 -0
  62. package/dist/ComboboxWidget-CtyKbEWb.js.map +1 -0
  63. package/dist/ComboboxWidget-DQgDyDAC.cjs +2 -0
  64. package/dist/ComboboxWidget-DQgDyDAC.cjs.map +1 -0
  65. package/dist/CriticalCmdDialog-BnxZlt7W.cjs +2 -0
  66. package/dist/CriticalCmdDialog-BnxZlt7W.cjs.map +1 -0
  67. package/dist/CriticalCmdDialog-DPIZOBeP.js +270 -0
  68. package/dist/CriticalCmdDialog-DPIZOBeP.js.map +1 -0
  69. package/dist/CustomIcon-Bop2mEnu.cjs +2 -0
  70. package/dist/CustomIcon-Bop2mEnu.cjs.map +1 -0
  71. package/dist/CustomIcon-h5X7369N.js +50 -0
  72. package/dist/CustomIcon-h5X7369N.js.map +1 -0
  73. package/dist/DateWidget-BB4cIuUS.cjs +2 -0
  74. package/dist/DateWidget-BB4cIuUS.cjs.map +1 -0
  75. package/dist/DateWidget-BEVSczU8.js +40 -0
  76. package/dist/DateWidget-BEVSczU8.js.map +1 -0
  77. package/dist/DetailsDialog-DmEC5BTs.js +767 -0
  78. package/dist/DetailsDialog-DmEC5BTs.js.map +1 -0
  79. package/dist/DetailsDialog-mvxMFmgV.cjs +2 -0
  80. package/dist/DetailsDialog-mvxMFmgV.cjs.map +1 -0
  81. package/dist/DynamicWidget-BWEVCUfd.cjs +2 -0
  82. package/dist/DynamicWidget-BWEVCUfd.cjs.map +1 -0
  83. package/dist/DynamicWidget-CfMtj7H8.js +35 -0
  84. package/dist/DynamicWidget-CfMtj7H8.js.map +1 -0
  85. package/dist/EventListDialog-BHZLl28V.cjs +2 -0
  86. package/dist/EventListDialog-BHZLl28V.cjs.map +1 -0
  87. package/dist/EventListDialog-CSMSmCIT.js +1586 -0
  88. package/dist/EventListDialog-CSMSmCIT.js.map +1 -0
  89. package/dist/FormatvalueWidget-CdjCEAI7.cjs +2 -0
  90. package/dist/FormatvalueWidget-CdjCEAI7.cjs.map +1 -0
  91. package/dist/FormatvalueWidget-DN12xymS.js +44 -0
  92. package/dist/FormatvalueWidget-DN12xymS.js.map +1 -0
  93. package/dist/Graph-Bgo0cjl3.js +1988 -0
  94. package/dist/Graph-Bgo0cjl3.js.map +1 -0
  95. package/dist/Graph-Ujd2yaeI.cjs +2 -0
  96. package/dist/Graph-Ujd2yaeI.cjs.map +1 -0
  97. package/dist/GraphWidget-DurWDmpg.js +130 -0
  98. package/dist/GraphWidget-DurWDmpg.js.map +1 -0
  99. package/dist/GraphWidget-sid4Ws9H.cjs +2 -0
  100. package/dist/GraphWidget-sid4Ws9H.cjs.map +1 -0
  101. package/dist/HorizontalWidget-Cd_wl1b3.js +41 -0
  102. package/dist/HorizontalWidget-Cd_wl1b3.js.map +1 -0
  103. package/dist/HorizontalWidget-_6IR0cR8.cjs +2 -0
  104. package/dist/HorizontalWidget-_6IR0cR8.cjs.map +1 -0
  105. package/dist/HorizontalboxWidget-BcMTFBU-.js +47 -0
  106. package/dist/HorizontalboxWidget-BcMTFBU-.js.map +1 -0
  107. package/dist/HorizontalboxWidget-zmnurtv1.cjs +2 -0
  108. package/dist/HorizontalboxWidget-zmnurtv1.cjs.map +1 -0
  109. package/dist/HorizontallineWidget-CM-6WqCj.cjs +2 -0
  110. package/dist/HorizontallineWidget-CM-6WqCj.cjs.map +1 -0
  111. package/dist/HorizontallineWidget-CXFqHclf.js +16 -0
  112. package/dist/HorizontallineWidget-CXFqHclf.js.map +1 -0
  113. package/dist/IframeWidget-BPerHCCa.js +90 -0
  114. package/dist/IframeWidget-BPerHCCa.js.map +1 -0
  115. package/dist/IframeWidget-EhncMob0.cjs +2 -0
  116. package/dist/IframeWidget-EhncMob0.cjs.map +1 -0
  117. package/dist/ImageLoader-4N-7Gj61.js +36 -0
  118. package/dist/ImageLoader-4N-7Gj61.js.map +1 -0
  119. package/dist/ImageLoader-cRmBcpU9.cjs +2 -0
  120. package/dist/ImageLoader-cRmBcpU9.cjs.map +1 -0
  121. package/dist/ImageviewerWidget-Bv3CreXd.cjs +2 -0
  122. package/dist/ImageviewerWidget-Bv3CreXd.cjs.map +1 -0
  123. package/dist/ImageviewerWidget-Cw_H_HmZ.js +37 -0
  124. package/dist/ImageviewerWidget-Cw_H_HmZ.js.map +1 -0
  125. package/dist/InterfacesTab-B4glsR9Z.js +93 -0
  126. package/dist/InterfacesTab-B4glsR9Z.js.map +1 -0
  127. package/dist/InterfacesTab-Co1Kd6Fa.cjs +2 -0
  128. package/dist/InterfacesTab-Co1Kd6Fa.cjs.map +1 -0
  129. package/dist/LabelWidget-mMcf5S8K.cjs +2 -0
  130. package/dist/LabelWidget-mMcf5S8K.cjs.map +1 -0
  131. package/dist/LabelWidget-xrmcVeq8.js +48 -0
  132. package/dist/LabelWidget-xrmcVeq8.js.map +1 -0
  133. package/dist/LabelledWidget-BoYCuDaH.cjs +2 -0
  134. package/dist/LabelledWidget-BoYCuDaH.cjs.map +1 -0
  135. package/dist/LabelledWidget-D48QoyMk.js +42 -0
  136. package/dist/LabelledWidget-D48QoyMk.js.map +1 -0
  137. package/dist/LabelprogressbarWidget-C_950t6g.js +43 -0
  138. package/dist/LabelprogressbarWidget-C_950t6g.js.map +1 -0
  139. package/dist/LabelprogressbarWidget-DiucKsT2.cjs +2 -0
  140. package/dist/LabelprogressbarWidget-DiucKsT2.cjs.map +1 -0
  141. package/dist/LabelsparklineWidget-0KXQyPoU.js +44 -0
  142. package/dist/LabelsparklineWidget-0KXQyPoU.js.map +1 -0
  143. package/dist/LabelsparklineWidget-A3MTEhQc.cjs +2 -0
  144. package/dist/LabelsparklineWidget-A3MTEhQc.cjs.map +1 -0
  145. package/dist/LabelvalueWidget-CQ06wWDK.js +58 -0
  146. package/dist/LabelvalueWidget-CQ06wWDK.js.map +1 -0
  147. package/dist/LabelvalueWidget-DnKoz0-N.cjs +2 -0
  148. package/dist/LabelvalueWidget-DnKoz0-N.cjs.map +1 -0
  149. package/dist/LabelvaluedescWidget-Bo8zT01X.js +59 -0
  150. package/dist/LabelvaluedescWidget-Bo8zT01X.js.map +1 -0
  151. package/dist/LabelvaluedescWidget-I6ljK--Y.cjs +2 -0
  152. package/dist/LabelvaluedescWidget-I6ljK--Y.cjs.map +1 -0
  153. package/dist/LabelvaluelimitsbarWidget-BucTw8Yk.js +57 -0
  154. package/dist/LabelvaluelimitsbarWidget-BucTw8Yk.js.map +1 -0
  155. package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs +2 -0
  156. package/dist/LabelvaluelimitsbarWidget-Cb6i_Ixc.cjs.map +1 -0
  157. package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs +2 -0
  158. package/dist/LabelvaluelimitscolumnWidget-ClY5OxUC.cjs.map +1 -0
  159. package/dist/LabelvaluelimitscolumnWidget-Dflb1hNd.js +47 -0
  160. package/dist/LabelvaluelimitscolumnWidget-Dflb1hNd.js.map +1 -0
  161. package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs +2 -0
  162. package/dist/LabelvaluerangebarWidget-9S5rVZaS.cjs.map +1 -0
  163. package/dist/LabelvaluerangebarWidget-D8cbfXFM.js +79 -0
  164. package/dist/LabelvaluerangebarWidget-D8cbfXFM.js.map +1 -0
  165. package/dist/Layout-DuCYyOw4.cjs +2 -0
  166. package/dist/Layout-DuCYyOw4.cjs.map +1 -0
  167. package/dist/Layout-Tf--nruw.js +14 -0
  168. package/dist/Layout-Tf--nruw.js.map +1 -0
  169. package/dist/LedWidget-B2BcwiYF.cjs +2 -0
  170. package/dist/LedWidget-B2BcwiYF.cjs.map +1 -0
  171. package/dist/LedWidget-qH_FthkK.js +145 -0
  172. package/dist/LedWidget-qH_FthkK.js.map +1 -0
  173. package/dist/LimitsbarWidget-B9lAB2RD.js +69 -0
  174. package/dist/LimitsbarWidget-B9lAB2RD.js.map +1 -0
  175. package/dist/LimitsbarWidget-CVCLFIhG.cjs +2 -0
  176. package/dist/LimitsbarWidget-CVCLFIhG.cjs.map +1 -0
  177. package/dist/LimitscolorWidget-DORhDxRo.cjs +2 -0
  178. package/dist/LimitscolorWidget-DORhDxRo.cjs.map +1 -0
  179. package/dist/LimitscolorWidget-c6Qa6su7.js +63 -0
  180. package/dist/LimitscolorWidget-c6Qa6su7.js.map +1 -0
  181. package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs +2 -0
  182. package/dist/LimitscolumnWidget-C9Uyg7Fh.cjs.map +1 -0
  183. package/dist/LimitscolumnWidget-CcLs_443.js +66 -0
  184. package/dist/LimitscolumnWidget-CcLs_443.js.map +1 -0
  185. package/dist/LinegraphWidget-BSVYLFo1.js +39 -0
  186. package/dist/LinegraphWidget-BSVYLFo1.js.map +1 -0
  187. package/dist/LinegraphWidget-Bf8DIwEn.cjs +2 -0
  188. package/dist/LinegraphWidget-Bf8DIwEn.cjs.map +1 -0
  189. package/dist/MatrixbycolumnsWidget-DXFpZTre.js +56 -0
  190. package/dist/MatrixbycolumnsWidget-DXFpZTre.js.map +1 -0
  191. package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs +2 -0
  192. package/dist/MatrixbycolumnsWidget-DpdFzNeP.cjs.map +1 -0
  193. package/dist/MicroservicesTab-B5n-mN8G.cjs +2 -0
  194. package/dist/MicroservicesTab-B5n-mN8G.cjs.map +1 -0
  195. package/dist/MicroservicesTab-mCdS0v39.js +264 -0
  196. package/dist/MicroservicesTab-mCdS0v39.js.map +1 -0
  197. package/dist/Openc3Screen-BYhHaH_I.cjs +5 -0
  198. package/dist/Openc3Screen-BYhHaH_I.cjs.map +1 -0
  199. package/dist/Openc3Screen-Cud0OCFu.js +1789 -0
  200. package/dist/Openc3Screen-Cud0OCFu.js.map +1 -0
  201. package/dist/OutputDialog-DXoL9VPw.cjs +2 -0
  202. package/dist/OutputDialog-DXoL9VPw.cjs.map +1 -0
  203. package/dist/OutputDialog-zVPZiZay.js +242 -0
  204. package/dist/OutputDialog-zVPZiZay.js.map +1 -0
  205. package/dist/PackagesTab-CvT2JyMA.cjs +2 -0
  206. package/dist/PackagesTab-CvT2JyMA.cjs.map +1 -0
  207. package/dist/PackagesTab-SWcXumpK.js +332 -0
  208. package/dist/PackagesTab-SWcXumpK.js.map +1 -0
  209. package/dist/PluginsTab-B64OvayB.js +599 -0
  210. package/dist/PluginsTab-B64OvayB.js.map +1 -0
  211. package/dist/PluginsTab-CfpwWsqv.cjs +6 -0
  212. package/dist/PluginsTab-CfpwWsqv.cjs.map +1 -0
  213. package/dist/ProgressbarWidget-fGWa6ipm.cjs +2 -0
  214. package/dist/ProgressbarWidget-fGWa6ipm.cjs.map +1 -0
  215. package/dist/ProgressbarWidget-iYGw8-Dc.js +46 -0
  216. package/dist/ProgressbarWidget-iYGw8-Dc.js.map +1 -0
  217. package/dist/RadiobuttonWidget-ZEPJbOp_.cjs +2 -0
  218. package/dist/RadiobuttonWidget-ZEPJbOp_.cjs.map +1 -0
  219. package/dist/RadiobuttonWidget-ytmoVZ3u.js +34 -0
  220. package/dist/RadiobuttonWidget-ytmoVZ3u.js.map +1 -0
  221. package/dist/RadiogroupWidget-CusMBhKH.js +48 -0
  222. package/dist/RadiogroupWidget-CusMBhKH.js.map +1 -0
  223. package/dist/RadiogroupWidget-EK4rEGUC.cjs +2 -0
  224. package/dist/RadiogroupWidget-EK4rEGUC.cjs.map +1 -0
  225. package/dist/RangebarWidget-D_zGTtCa.js +67 -0
  226. package/dist/RangebarWidget-D_zGTtCa.js.map +1 -0
  227. package/dist/RangebarWidget-DwIs-L5k.cjs +2 -0
  228. package/dist/RangebarWidget-DwIs-L5k.cjs.map +1 -0
  229. package/dist/RedisTab-67UcKoPf.cjs +2 -0
  230. package/dist/RedisTab-67UcKoPf.cjs.map +1 -0
  231. package/dist/RedisTab-CyPo6ADN.js +135 -0
  232. package/dist/RedisTab-CyPo6ADN.js.map +1 -0
  233. package/dist/RollupWidget-DC3OIP6G.cjs +2 -0
  234. package/dist/RollupWidget-DC3OIP6G.cjs.map +1 -0
  235. package/dist/RollupWidget-Dolsixyt.js +83 -0
  236. package/dist/RollupWidget-Dolsixyt.js.map +1 -0
  237. package/dist/RoutersTab-BBPlFi_z.cjs +2 -0
  238. package/dist/RoutersTab-BBPlFi_z.cjs.map +1 -0
  239. package/dist/RoutersTab-Cs2dFVNA.js +95 -0
  240. package/dist/RoutersTab-Cs2dFVNA.js.map +1 -0
  241. package/dist/ScriptChooser-EV65rbWx.js +199 -0
  242. package/dist/ScriptChooser-EV65rbWx.js.map +1 -0
  243. package/dist/ScriptChooser-vyZwngrz.cjs +2 -0
  244. package/dist/ScriptChooser-vyZwngrz.cjs.map +1 -0
  245. package/dist/ScrollwindowWidget-BWeqSUPc.cjs +2 -0
  246. package/dist/ScrollwindowWidget-BWeqSUPc.cjs.map +1 -0
  247. package/dist/ScrollwindowWidget-DV2nZuNi.js +45 -0
  248. package/dist/ScrollwindowWidget-DV2nZuNi.js.map +1 -0
  249. package/dist/SecretsTab-0IFqUxNJ.cjs +2 -0
  250. package/dist/SecretsTab-0IFqUxNJ.cjs.map +1 -0
  251. package/dist/SecretsTab-DVyyyGlG.js +202 -0
  252. package/dist/SecretsTab-DVyyyGlG.js.map +1 -0
  253. package/dist/SettingsTab-B1LvOLG2.cjs +3 -0
  254. package/dist/SettingsTab-B1LvOLG2.cjs.map +1 -0
  255. package/dist/SettingsTab-g29K6FyC.js +1445 -0
  256. package/dist/SettingsTab-g29K6FyC.js.map +1 -0
  257. package/dist/SignalWidget-RvRwpE8T.cjs +2 -0
  258. package/dist/SignalWidget-RvRwpE8T.cjs.map +1 -0
  259. package/dist/SignalWidget-d9-6h85k.js +66 -0
  260. package/dist/SignalWidget-d9-6h85k.js.map +1 -0
  261. package/dist/SimpleTextDialog-Cpbt7Q-8.cjs +2 -0
  262. package/dist/SimpleTextDialog-Cpbt7Q-8.cjs.map +1 -0
  263. package/dist/SimpleTextDialog-pwN8oRy1.js +107 -0
  264. package/dist/SimpleTextDialog-pwN8oRy1.js.map +1 -0
  265. package/dist/SpacerWidget-7_8bpLCb.cjs +2 -0
  266. package/dist/SpacerWidget-7_8bpLCb.cjs.map +1 -0
  267. package/dist/SpacerWidget-BH0p2OLi.js +19 -0
  268. package/dist/SpacerWidget-BH0p2OLi.js.map +1 -0
  269. package/dist/SparklineWidget-60jVlbHA.cjs +2 -0
  270. package/dist/SparklineWidget-60jVlbHA.cjs.map +1 -0
  271. package/dist/SparklineWidget-coxi9r2g.js +48 -0
  272. package/dist/SparklineWidget-coxi9r2g.js.map +1 -0
  273. package/dist/TabbookWidget-B1XKplGH.js +66 -0
  274. package/dist/TabbookWidget-B1XKplGH.js.map +1 -0
  275. package/dist/TabbookWidget-D1CVT9IK.cjs +2 -0
  276. package/dist/TabbookWidget-D1CVT9IK.cjs.map +1 -0
  277. package/dist/TargetsTab-BkBkXn9A.js +129 -0
  278. package/dist/TargetsTab-BkBkXn9A.js.map +1 -0
  279. package/dist/TargetsTab-C-m26Eqq.cjs +2 -0
  280. package/dist/TargetsTab-C-m26Eqq.cjs.map +1 -0
  281. package/dist/TextBoxDialog-DOJ5d2RM.js +110 -0
  282. package/dist/TextBoxDialog-DOJ5d2RM.js.map +1 -0
  283. package/dist/TextBoxDialog-DfMXg_5C.cjs +2 -0
  284. package/dist/TextBoxDialog-DfMXg_5C.cjs.map +1 -0
  285. package/dist/TextboxWidget-BDG4NxRw.cjs +2 -0
  286. package/dist/TextboxWidget-BDG4NxRw.cjs.map +1 -0
  287. package/dist/TextboxWidget-C-_M2M4l.js +93 -0
  288. package/dist/TextboxWidget-C-_M2M4l.js.map +1 -0
  289. package/dist/TextfieldWidget-BGJv9Lox.cjs +2 -0
  290. package/dist/TextfieldWidget-BGJv9Lox.cjs.map +1 -0
  291. package/dist/TextfieldWidget-C08N4JE8.js +37 -0
  292. package/dist/TextfieldWidget-C08N4JE8.js.map +1 -0
  293. package/dist/TimeWidget-CGCOIouj.cjs +2 -0
  294. package/dist/TimeWidget-CGCOIouj.cjs.map +1 -0
  295. package/dist/TimeWidget-DtwdEcFg.js +40 -0
  296. package/dist/TimeWidget-DtwdEcFg.js.map +1 -0
  297. package/dist/TitleWidget-BljFH9RB.cjs +2 -0
  298. package/dist/TitleWidget-BljFH9RB.cjs.map +1 -0
  299. package/dist/TitleWidget-CT-aLcNb.js +26 -0
  300. package/dist/TitleWidget-CT-aLcNb.js.map +1 -0
  301. package/dist/ToolsTab-NveeVXz2.js +1521 -0
  302. package/dist/ToolsTab-NveeVXz2.js.map +1 -0
  303. package/dist/ToolsTab-RMTst_Sy.cjs +7 -0
  304. package/dist/ToolsTab-RMTst_Sy.cjs.map +1 -0
  305. package/dist/TopBar-CnJNNJlV.js +278 -0
  306. package/dist/TopBar-CnJNNJlV.js.map +1 -0
  307. package/dist/TopBar-Cnmb6DyC.cjs +2 -0
  308. package/dist/TopBar-Cnmb6DyC.cjs.map +1 -0
  309. package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js +94 -0
  310. package/dist/UpgradeToEnterpriseDialog-BvfgoNB1.js.map +1 -0
  311. package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs +2 -0
  312. package/dist/UpgradeToEnterpriseDialog-sUipOVpB.cjs.map +1 -0
  313. package/dist/VWidget-2N2cOosI.cjs +2 -0
  314. package/dist/VWidget-2N2cOosI.cjs.map +1 -0
  315. package/dist/VWidget-DQqb7NVW.js +323 -0
  316. package/dist/VWidget-DQqb7NVW.js.map +1 -0
  317. package/dist/ValueWidget-C6RanBj3.js +116 -0
  318. package/dist/ValueWidget-C6RanBj3.js.map +1 -0
  319. package/dist/ValueWidget-Cu7hgKja.cjs +2 -0
  320. package/dist/ValueWidget-Cu7hgKja.cjs.map +1 -0
  321. package/dist/ValuelimitsbarWidget-B3bvjfxc.js +41 -0
  322. package/dist/ValuelimitsbarWidget-B3bvjfxc.js.map +1 -0
  323. package/dist/ValuelimitsbarWidget-C0HROxrb.cjs +2 -0
  324. package/dist/ValuelimitsbarWidget-C0HROxrb.cjs.map +1 -0
  325. package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs +2 -0
  326. package/dist/ValuelimitscolumnWidget-CWvLfg8u.cjs.map +1 -0
  327. package/dist/ValuelimitscolumnWidget-QvhI6EcE.js +40 -0
  328. package/dist/ValuelimitscolumnWidget-QvhI6EcE.js.map +1 -0
  329. package/dist/ValuerangebarWidget-Dt3K9BnC.js +65 -0
  330. package/dist/ValuerangebarWidget-Dt3K9BnC.js.map +1 -0
  331. package/dist/ValuerangebarWidget-DyN78cQl.cjs +2 -0
  332. package/dist/ValuerangebarWidget-DyN78cQl.cjs.map +1 -0
  333. package/dist/VerticalWidget-BIIViZgI.js +40 -0
  334. package/dist/VerticalWidget-BIIViZgI.js.map +1 -0
  335. package/dist/VerticalWidget-CFTOu4H8.cjs +2 -0
  336. package/dist/VerticalWidget-CFTOu4H8.cjs.map +1 -0
  337. package/dist/VerticalboxWidget-DY72fLHW.js +46 -0
  338. package/dist/VerticalboxWidget-DY72fLHW.js.map +1 -0
  339. package/dist/VerticalboxWidget-Z8-DWI8t.cjs +2 -0
  340. package/dist/VerticalboxWidget-Z8-DWI8t.cjs.map +1 -0
  341. package/dist/Widget-ChoIB2dd.cjs +2 -0
  342. package/dist/Widget-ChoIB2dd.cjs.map +1 -0
  343. package/dist/Widget-oyqWpFXJ.js +197 -0
  344. package/dist/Widget-oyqWpFXJ.js.map +1 -0
  345. package/dist/WidgetComponents-C1lSLZ0I.js +30205 -0
  346. package/dist/WidgetComponents-C1lSLZ0I.js.map +1 -0
  347. package/dist/WidgetComponents-utpQ592X.cjs +1493 -0
  348. package/dist/WidgetComponents-utpQ592X.cjs.map +1 -0
  349. package/dist/addMonths-BtG7uZLJ.js +19 -0
  350. package/dist/addMonths-BtG7uZLJ.js.map +1 -0
  351. package/dist/addMonths-n1tnl3ab.cjs +2 -0
  352. package/dist/addMonths-n1tnl3ab.cjs.map +1 -0
  353. package/dist/components.cjs +4 -0
  354. package/dist/components.cjs.map +1 -0
  355. package/dist/components.js +1379 -0
  356. package/dist/components.js.map +1 -0
  357. package/dist/fileIcon-BduOQcTc.cjs +2 -0
  358. package/dist/fileIcon-BduOQcTc.cjs.map +1 -0
  359. package/dist/fileIcon-DqRHb1_Z.js +22 -0
  360. package/dist/fileIcon-DqRHb1_Z.js.map +1 -0
  361. package/dist/format-B22VpiOS.cjs +2 -0
  362. package/dist/format-B22VpiOS.cjs.map +1 -0
  363. package/dist/format-CVeawcIv.js +1295 -0
  364. package/dist/format-CVeawcIv.js.map +1 -0
  365. package/dist/getDefaultOptions-Batab9o8.cjs +2 -0
  366. package/dist/getDefaultOptions-Batab9o8.cjs.map +1 -0
  367. package/dist/getDefaultOptions-BhSDk-Jo.js +8 -0
  368. package/dist/getDefaultOptions-BhSDk-Jo.js.map +1 -0
  369. package/dist/icons/status-dark.png +0 -0
  370. package/dist/icons/status-dark.xcf +0 -0
  371. package/dist/icons/status-light.png +0 -0
  372. package/dist/icons.cjs +2 -0
  373. package/dist/icons.cjs.map +1 -0
  374. package/dist/icons.js +164 -0
  375. package/dist/icons.js.map +1 -0
  376. package/dist/index-BX05anye.cjs +7 -0
  377. package/dist/index-BX05anye.cjs.map +1 -0
  378. package/dist/index-DwP8ryNM.js +1694 -0
  379. package/dist/index-DwP8ryNM.js.map +1 -0
  380. package/dist/parse-DnkEsW-3.js +1603 -0
  381. package/dist/parse-DnkEsW-3.js.map +1 -0
  382. package/dist/parse-DwfgQboe.cjs +2 -0
  383. package/dist/parse-DwfgQboe.cjs.map +1 -0
  384. package/dist/plugins.cjs +9 -0
  385. package/dist/plugins.cjs.map +1 -0
  386. package/dist/plugins.js +776 -0
  387. package/dist/plugins.js.map +1 -0
  388. package/dist/timeFilters-8SaYvcH0.cjs +2 -0
  389. package/dist/timeFilters-8SaYvcH0.cjs.map +1 -0
  390. package/dist/timeFilters-CRYpYDdf.js +622 -0
  391. package/dist/timeFilters-CRYpYDdf.js.map +1 -0
  392. package/dist/tools/admin.cjs +13 -0
  393. package/dist/tools/admin.cjs.map +1 -0
  394. package/dist/tools/admin.js +2024 -0
  395. package/dist/tools/admin.js.map +1 -0
  396. package/dist/tools/base.cjs +2 -0
  397. package/dist/tools/base.cjs.map +1 -0
  398. package/dist/tools/base.js +1677 -0
  399. package/dist/tools/base.js.map +1 -0
  400. package/dist/tools/calendar.cjs +2 -0
  401. package/dist/tools/calendar.cjs.map +1 -0
  402. package/dist/tools/calendar.js +12 -0
  403. package/dist/tools/calendar.js.map +1 -0
  404. package/dist/tools/scriptrunner.cjs +86 -0
  405. package/dist/tools/scriptrunner.cjs.map +1 -0
  406. package/dist/tools/scriptrunner.js +4564 -0
  407. package/dist/tools/scriptrunner.js.map +1 -0
  408. package/dist/util.cjs +2 -0
  409. package/dist/util.cjs.map +1 -0
  410. package/dist/util.js +9 -0
  411. package/dist/util.js.map +1 -0
  412. package/dist/vue-common.css +1 -0
  413. package/dist/widgets.cjs +2 -0
  414. package/dist/widgets.cjs.map +1 -0
  415. package/dist/widgets.js +132 -0
  416. package/dist/widgets.js.map +1 -0
  417. package/package.json +20 -15
@@ -0,0 +1,1521 @@
1
+ import { o as dt } from "./WidgetComponents-C1lSLZ0I.js";
2
+ import { resolveComponent as j, createElementBlock as Jt, openBlock as Et, createVNode as A, createElementVNode as Kt, createBlock as me, createCommentVNode as ve, withCtx as x, createTextVNode as Dt, toDisplayString as be, Fragment as Ve, renderList as ze, normalizeClass as Ue, mergeProps as _e } from "vue";
3
+ import { _ as $e } from "./CustomIcon-h5X7369N.js";
4
+ import "single-spa";
5
+ import { O as qe } from "./OutputDialog-zVPZiZay.js";
6
+ /**!
7
+ * Sortable 1.15.6
8
+ * @author RubaXa <trash@rubaxa.org>
9
+ * @author owenm <owen23355@gmail.com>
10
+ * @license MIT
11
+ */
12
+ function ye(e, t) {
13
+ var n = Object.keys(e);
14
+ if (Object.getOwnPropertySymbols) {
15
+ var o = Object.getOwnPropertySymbols(e);
16
+ t && (o = o.filter(function(i) {
17
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
18
+ })), n.push.apply(n, o);
19
+ }
20
+ return n;
21
+ }
22
+ function $(e) {
23
+ for (var t = 1; t < arguments.length; t++) {
24
+ var n = arguments[t] != null ? arguments[t] : {};
25
+ t % 2 ? ye(Object(n), !0).forEach(function(o) {
26
+ Je(e, o, n[o]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ye(Object(n)).forEach(function(o) {
28
+ Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
29
+ });
30
+ }
31
+ return e;
32
+ }
33
+ function Yt(e) {
34
+ "@babel/helpers - typeof";
35
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Yt = function(t) {
36
+ return typeof t;
37
+ } : Yt = function(t) {
38
+ return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
39
+ }, Yt(e);
40
+ }
41
+ function Je(e, t, n) {
42
+ return t in e ? Object.defineProperty(e, t, {
43
+ value: n,
44
+ enumerable: !0,
45
+ configurable: !0,
46
+ writable: !0
47
+ }) : e[t] = n, e;
48
+ }
49
+ function K() {
50
+ return K = Object.assign || function(e) {
51
+ for (var t = 1; t < arguments.length; t++) {
52
+ var n = arguments[t];
53
+ for (var o in n)
54
+ Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
55
+ }
56
+ return e;
57
+ }, K.apply(this, arguments);
58
+ }
59
+ function Ke(e, t) {
60
+ if (e == null) return {};
61
+ var n = {}, o = Object.keys(e), i, r;
62
+ for (r = 0; r < o.length; r++)
63
+ i = o[r], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
64
+ return n;
65
+ }
66
+ function Ze(e, t) {
67
+ if (e == null) return {};
68
+ var n = Ke(e, t), o, i;
69
+ if (Object.getOwnPropertySymbols) {
70
+ var r = Object.getOwnPropertySymbols(e);
71
+ for (i = 0; i < r.length; i++)
72
+ o = r[i], !(t.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(e, o) && (n[o] = e[o]);
73
+ }
74
+ return n;
75
+ }
76
+ var Qe = "1.15.6";
77
+ function J(e) {
78
+ if (typeof window < "u" && window.navigator)
79
+ return !!/* @__PURE__ */ navigator.userAgent.match(e);
80
+ }
81
+ var Z = J(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Pt = J(/Edge/i), we = J(/firefox/i), Ot = J(/safari/i) && !J(/chrome/i) && !J(/android/i), fe = J(/iP(ad|od|hone)/i), Ae = J(/chrome/i) && J(/android/i), xe = {
82
+ capture: !1,
83
+ passive: !1
84
+ };
85
+ function _(e, t, n) {
86
+ e.addEventListener(t, n, !Z && xe);
87
+ }
88
+ function v(e, t, n) {
89
+ e.removeEventListener(t, n, !Z && xe);
90
+ }
91
+ function Gt(e, t) {
92
+ if (t) {
93
+ if (t[0] === ">" && (t = t.substring(1)), e)
94
+ try {
95
+ if (e.matches)
96
+ return e.matches(t);
97
+ if (e.msMatchesSelector)
98
+ return e.msMatchesSelector(t);
99
+ if (e.webkitMatchesSelector)
100
+ return e.webkitMatchesSelector(t);
101
+ } catch {
102
+ return !1;
103
+ }
104
+ return !1;
105
+ }
106
+ }
107
+ function Ne(e) {
108
+ return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
109
+ }
110
+ function V(e, t, n, o) {
111
+ if (e) {
112
+ n = n || document;
113
+ do {
114
+ if (t != null && (t[0] === ">" ? e.parentNode === n && Gt(e, t) : Gt(e, t)) || o && e === n)
115
+ return e;
116
+ if (e === n) break;
117
+ } while (e = Ne(e));
118
+ }
119
+ return null;
120
+ }
121
+ var Ee = /\s+/g;
122
+ function L(e, t, n) {
123
+ if (e && t)
124
+ if (e.classList)
125
+ e.classList[n ? "add" : "remove"](t);
126
+ else {
127
+ var o = (" " + e.className + " ").replace(Ee, " ").replace(" " + t + " ", " ");
128
+ e.className = (o + (n ? " " + t : "")).replace(Ee, " ");
129
+ }
130
+ }
131
+ function h(e, t, n) {
132
+ var o = e && e.style;
133
+ if (o) {
134
+ if (n === void 0)
135
+ return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(e, "") : e.currentStyle && (n = e.currentStyle), t === void 0 ? n : n[t];
136
+ !(t in o) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), o[t] = n + (typeof n == "string" ? "" : "px");
137
+ }
138
+ }
139
+ function gt(e, t) {
140
+ var n = "";
141
+ if (typeof e == "string")
142
+ n = e;
143
+ else
144
+ do {
145
+ var o = h(e, "transform");
146
+ o && o !== "none" && (n = o + " " + n);
147
+ } while (!t && (e = e.parentNode));
148
+ var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
149
+ return i && new i(n);
150
+ }
151
+ function Pe(e, t, n) {
152
+ if (e) {
153
+ var o = e.getElementsByTagName(t), i = 0, r = o.length;
154
+ if (n)
155
+ for (; i < r; i++)
156
+ n(o[i], i);
157
+ return o;
158
+ }
159
+ return [];
160
+ }
161
+ function U() {
162
+ var e = document.scrollingElement;
163
+ return e || document.documentElement;
164
+ }
165
+ function O(e, t, n, o, i) {
166
+ if (!(!e.getBoundingClientRect && e !== window)) {
167
+ var r, a, l, s, u, c, f;
168
+ if (e !== window && e.parentNode && e !== U() ? (r = e.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, c = r.height, f = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, c = window.innerHeight, f = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !Z))
169
+ do
170
+ if (i && i.getBoundingClientRect && (h(i, "transform") !== "none" || n && h(i, "position") !== "static")) {
171
+ var m = i.getBoundingClientRect();
172
+ a -= m.top + parseInt(h(i, "border-top-width")), l -= m.left + parseInt(h(i, "border-left-width")), s = a + r.height, u = l + r.width;
173
+ break;
174
+ }
175
+ while (i = i.parentNode);
176
+ if (o && e !== window) {
177
+ var w = gt(i || e), b = w && w.a, y = w && w.d;
178
+ w && (a /= y, l /= b, f /= b, c /= y, s = a + c, u = l + f);
179
+ }
180
+ return {
181
+ top: a,
182
+ left: l,
183
+ bottom: s,
184
+ right: u,
185
+ width: f,
186
+ height: c
187
+ };
188
+ }
189
+ }
190
+ function De(e, t, n) {
191
+ for (var o = ot(e, !0), i = O(e)[t]; o; ) {
192
+ var r = O(o)[n], a = void 0;
193
+ if (a = i >= r, !a) return o;
194
+ if (o === U()) break;
195
+ o = ot(o, !1);
196
+ }
197
+ return !1;
198
+ }
199
+ function mt(e, t, n, o) {
200
+ for (var i = 0, r = 0, a = e.children; r < a.length; ) {
201
+ if (a[r].style.display !== "none" && a[r] !== p.ghost && (o || a[r] !== p.dragged) && V(a[r], n.draggable, e, !1)) {
202
+ if (i === t)
203
+ return a[r];
204
+ i++;
205
+ }
206
+ r++;
207
+ }
208
+ return null;
209
+ }
210
+ function ce(e, t) {
211
+ for (var n = e.lastElementChild; n && (n === p.ghost || h(n, "display") === "none" || t && !Gt(n, t)); )
212
+ n = n.previousElementSibling;
213
+ return n || null;
214
+ }
215
+ function W(e, t) {
216
+ var n = 0;
217
+ if (!e || !e.parentNode)
218
+ return -1;
219
+ for (; e = e.previousElementSibling; )
220
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== p.clone && (!t || Gt(e, t)) && n++;
221
+ return n;
222
+ }
223
+ function Se(e) {
224
+ var t = 0, n = 0, o = U();
225
+ if (e)
226
+ do {
227
+ var i = gt(e), r = i.a, a = i.d;
228
+ t += e.scrollLeft * r, n += e.scrollTop * a;
229
+ } while (e !== o && (e = e.parentNode));
230
+ return [t, n];
231
+ }
232
+ function tn(e, t) {
233
+ for (var n in e)
234
+ if (e.hasOwnProperty(n)) {
235
+ for (var o in t)
236
+ if (t.hasOwnProperty(o) && t[o] === e[n][o]) return Number(n);
237
+ }
238
+ return -1;
239
+ }
240
+ function ot(e, t) {
241
+ if (!e || !e.getBoundingClientRect) return U();
242
+ var n = e, o = !1;
243
+ do
244
+ if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
245
+ var i = h(n);
246
+ if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
247
+ if (!n.getBoundingClientRect || n === document.body) return U();
248
+ if (o || t) return n;
249
+ o = !0;
250
+ }
251
+ }
252
+ while (n = n.parentNode);
253
+ return U();
254
+ }
255
+ function en(e, t) {
256
+ if (e && t)
257
+ for (var n in t)
258
+ t.hasOwnProperty(n) && (e[n] = t[n]);
259
+ return e;
260
+ }
261
+ function Zt(e, t) {
262
+ return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
263
+ }
264
+ var It;
265
+ function Fe(e, t) {
266
+ return function() {
267
+ if (!It) {
268
+ var n = arguments, o = this;
269
+ n.length === 1 ? e.call(o, n[0]) : e.apply(o, n), It = setTimeout(function() {
270
+ It = void 0;
271
+ }, t);
272
+ }
273
+ };
274
+ }
275
+ function nn() {
276
+ clearTimeout(It), It = void 0;
277
+ }
278
+ function Me(e, t, n) {
279
+ e.scrollLeft += t, e.scrollTop += n;
280
+ }
281
+ function ke(e) {
282
+ var t = window.Polymer, n = window.jQuery || window.Zepto;
283
+ return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
284
+ }
285
+ function Re(e, t, n) {
286
+ var o = {};
287
+ return Array.from(e.children).forEach(function(i) {
288
+ var r, a, l, s;
289
+ if (!(!V(i, t.draggable, e, !1) || i.animated || i === n)) {
290
+ var u = O(i);
291
+ o.left = Math.min((r = o.left) !== null && r !== void 0 ? r : 1 / 0, u.left), o.top = Math.min((a = o.top) !== null && a !== void 0 ? a : 1 / 0, u.top), o.right = Math.max((l = o.right) !== null && l !== void 0 ? l : -1 / 0, u.right), o.bottom = Math.max((s = o.bottom) !== null && s !== void 0 ? s : -1 / 0, u.bottom);
292
+ }
293
+ }), o.width = o.right - o.left, o.height = o.bottom - o.top, o.x = o.left, o.y = o.top, o;
294
+ }
295
+ var B = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
296
+ function on() {
297
+ var e = [], t;
298
+ return {
299
+ captureAnimationState: function() {
300
+ if (e = [], !!this.options.animation) {
301
+ var o = [].slice.call(this.el.children);
302
+ o.forEach(function(i) {
303
+ if (!(h(i, "display") === "none" || i === p.ghost)) {
304
+ e.push({
305
+ target: i,
306
+ rect: O(i)
307
+ });
308
+ var r = $({}, e[e.length - 1].rect);
309
+ if (i.thisAnimationDuration) {
310
+ var a = gt(i, !0);
311
+ a && (r.top -= a.f, r.left -= a.e);
312
+ }
313
+ i.fromRect = r;
314
+ }
315
+ });
316
+ }
317
+ },
318
+ addAnimationState: function(o) {
319
+ e.push(o);
320
+ },
321
+ removeAnimationState: function(o) {
322
+ e.splice(tn(e, {
323
+ target: o
324
+ }), 1);
325
+ },
326
+ animateAll: function(o) {
327
+ var i = this;
328
+ if (!this.options.animation) {
329
+ clearTimeout(t), typeof o == "function" && o();
330
+ return;
331
+ }
332
+ var r = !1, a = 0;
333
+ e.forEach(function(l) {
334
+ var s = 0, u = l.target, c = u.fromRect, f = O(u), m = u.prevFromRect, w = u.prevToRect, b = l.rect, y = gt(u, !0);
335
+ y && (f.top -= y.f, f.left -= y.e), u.toRect = f, u.thisAnimationDuration && Zt(m, f) && !Zt(c, f) && // Make sure animatingRect is on line between toRect & fromRect
336
+ (b.top - f.top) / (b.left - f.left) === (c.top - f.top) / (c.left - f.left) && (s = an(b, m, w, i.options)), Zt(f, c) || (u.prevFromRect = c, u.prevToRect = f, s || (s = i.options.animation), i.animate(u, b, f, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
337
+ u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
338
+ }, s), u.thisAnimationDuration = s);
339
+ }), clearTimeout(t), r ? t = setTimeout(function() {
340
+ typeof o == "function" && o();
341
+ }, a) : typeof o == "function" && o(), e = [];
342
+ },
343
+ animate: function(o, i, r, a) {
344
+ if (a) {
345
+ h(o, "transition", ""), h(o, "transform", "");
346
+ var l = gt(this.el), s = l && l.a, u = l && l.d, c = (i.left - r.left) / (s || 1), f = (i.top - r.top) / (u || 1);
347
+ o.animatingX = !!c, o.animatingY = !!f, h(o, "transform", "translate3d(" + c + "px," + f + "px,0)"), this.forRepaintDummy = rn(o), h(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), h(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
348
+ h(o, "transition", ""), h(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
349
+ }, a);
350
+ }
351
+ }
352
+ };
353
+ }
354
+ function rn(e) {
355
+ return e.offsetWidth;
356
+ }
357
+ function an(e, t, n, o) {
358
+ return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * o.animation;
359
+ }
360
+ var ft = [], Qt = {
361
+ initializeByDefault: !0
362
+ }, Ft = {
363
+ mount: function(t) {
364
+ for (var n in Qt)
365
+ Qt.hasOwnProperty(n) && !(n in t) && (t[n] = Qt[n]);
366
+ ft.forEach(function(o) {
367
+ if (o.pluginName === t.pluginName)
368
+ throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
369
+ }), ft.push(t);
370
+ },
371
+ pluginEvent: function(t, n, o) {
372
+ var i = this;
373
+ this.eventCanceled = !1, o.cancel = function() {
374
+ i.eventCanceled = !0;
375
+ };
376
+ var r = t + "Global";
377
+ ft.forEach(function(a) {
378
+ n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r]($({
379
+ sortable: n
380
+ }, o)), n.options[a.pluginName] && n[a.pluginName][t] && n[a.pluginName][t]($({
381
+ sortable: n
382
+ }, o)));
383
+ });
384
+ },
385
+ initializePlugins: function(t, n, o, i) {
386
+ ft.forEach(function(l) {
387
+ var s = l.pluginName;
388
+ if (!(!t.options[s] && !l.initializeByDefault)) {
389
+ var u = new l(t, n, t.options);
390
+ u.sortable = t, u.options = t.options, t[s] = u, K(o, u.defaults);
391
+ }
392
+ });
393
+ for (var r in t.options)
394
+ if (t.options.hasOwnProperty(r)) {
395
+ var a = this.modifyOption(t, r, t.options[r]);
396
+ typeof a < "u" && (t.options[r] = a);
397
+ }
398
+ },
399
+ getEventProperties: function(t, n) {
400
+ var o = {};
401
+ return ft.forEach(function(i) {
402
+ typeof i.eventProperties == "function" && K(o, i.eventProperties.call(n[i.pluginName], t));
403
+ }), o;
404
+ },
405
+ modifyOption: function(t, n, o) {
406
+ var i;
407
+ return ft.forEach(function(r) {
408
+ t[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(t[r.pluginName], o));
409
+ }), i;
410
+ }
411
+ };
412
+ function ln(e) {
413
+ var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, r = e.cloneEl, a = e.toEl, l = e.fromEl, s = e.oldIndex, u = e.newIndex, c = e.oldDraggableIndex, f = e.newDraggableIndex, m = e.originalEvent, w = e.putSortable, b = e.extraEventProperties;
414
+ if (t = t || n && n[B], !!t) {
415
+ var y, X = t.options, E = "on" + o.charAt(0).toUpperCase() + o.substr(1);
416
+ window.CustomEvent && !Z && !Pt ? y = new CustomEvent(o, {
417
+ bubbles: !0,
418
+ cancelable: !0
419
+ }) : (y = document.createEvent("Event"), y.initEvent(o, !0, !0)), y.to = a || n, y.from = l || n, y.item = i || n, y.clone = r, y.oldIndex = s, y.newIndex = u, y.oldDraggableIndex = c, y.newDraggableIndex = f, y.originalEvent = m, y.pullMode = w ? w.lastPutMode : void 0;
420
+ var I = $($({}, b), Ft.getEventProperties(o, t));
421
+ for (var F in I)
422
+ y[F] = I[F];
423
+ n && n.dispatchEvent(y), X[E] && X[E].call(t, y);
424
+ }
425
+ }
426
+ var sn = ["evt"], R = function(t, n) {
427
+ var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = Ze(o, sn);
428
+ Ft.pluginEvent.bind(p)(t, n, $({
429
+ dragEl: d,
430
+ parentEl: T,
431
+ ghostEl: g,
432
+ rootEl: D,
433
+ nextEl: ut,
434
+ lastDownEl: Lt,
435
+ cloneEl: S,
436
+ cloneHidden: nt,
437
+ dragStarted: St,
438
+ putSortable: N,
439
+ activeSortable: p.active,
440
+ originalEvent: i,
441
+ oldIndex: pt,
442
+ oldDraggableIndex: At,
443
+ newIndex: H,
444
+ newDraggableIndex: et,
445
+ hideGhostForTarget: Le,
446
+ unhideGhostForTarget: He,
447
+ cloneNowHidden: function() {
448
+ nt = !0;
449
+ },
450
+ cloneNowShown: function() {
451
+ nt = !1;
452
+ },
453
+ dispatchSortableEvent: function(l) {
454
+ k({
455
+ sortable: n,
456
+ name: l,
457
+ originalEvent: i
458
+ });
459
+ }
460
+ }, r));
461
+ };
462
+ function k(e) {
463
+ ln($({
464
+ putSortable: N,
465
+ cloneEl: S,
466
+ targetEl: d,
467
+ rootEl: D,
468
+ oldIndex: pt,
469
+ oldDraggableIndex: At,
470
+ newIndex: H,
471
+ newDraggableIndex: et
472
+ }, e));
473
+ }
474
+ var d, T, g, D, ut, Lt, S, nt, pt, H, At, et, kt, N, ht = !1, Vt = !1, zt = [], lt, G, te, ee, Te, Ce, St, ct, xt, Nt = !1, Rt = !1, Ht, P, ne = [], le = !1, Ut = [], qt = typeof document < "u", Bt = fe, Oe = Pt || Z ? "cssFloat" : "float", un = qt && !Ae && !fe && "draggable" in document.createElement("div"), Be = function() {
475
+ if (qt) {
476
+ if (Z)
477
+ return !1;
478
+ var e = document.createElement("x");
479
+ return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
480
+ }
481
+ }(), Xe = function(t, n) {
482
+ var o = h(t), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = mt(t, 0, n), a = mt(t, 1, n), l = r && h(r), s = a && h(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + O(r).width, c = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + O(a).width;
483
+ if (o.display === "flex")
484
+ return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
485
+ if (o.display === "grid")
486
+ return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
487
+ if (r && l.float && l.float !== "none") {
488
+ var f = l.float === "left" ? "left" : "right";
489
+ return a && (s.clear === "both" || s.clear === f) ? "vertical" : "horizontal";
490
+ }
491
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Oe] === "none" || a && o[Oe] === "none" && u + c > i) ? "vertical" : "horizontal";
492
+ }, dn = function(t, n, o) {
493
+ var i = o ? t.left : t.top, r = o ? t.right : t.bottom, a = o ? t.width : t.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
494
+ return i === l || r === s || i + a / 2 === l + u / 2;
495
+ }, fn = function(t, n) {
496
+ var o;
497
+ return zt.some(function(i) {
498
+ var r = i[B].options.emptyInsertThreshold;
499
+ if (!(!r || ce(i))) {
500
+ var a = O(i), l = t >= a.left - r && t <= a.right + r, s = n >= a.top - r && n <= a.bottom + r;
501
+ if (l && s)
502
+ return o = i;
503
+ }
504
+ }), o;
505
+ }, Ye = function(t) {
506
+ function n(r, a) {
507
+ return function(l, s, u, c) {
508
+ var f = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
509
+ if (r == null && (a || f))
510
+ return !0;
511
+ if (r == null || r === !1)
512
+ return !1;
513
+ if (a && r === "clone")
514
+ return r;
515
+ if (typeof r == "function")
516
+ return n(r(l, s, u, c), a)(l, s, u, c);
517
+ var m = (a ? l : s).options.group.name;
518
+ return r === !0 || typeof r == "string" && r === m || r.join && r.indexOf(m) > -1;
519
+ };
520
+ }
521
+ var o = {}, i = t.group;
522
+ (!i || Yt(i) != "object") && (i = {
523
+ name: i
524
+ }), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, t.group = o;
525
+ }, Le = function() {
526
+ !Be && g && h(g, "display", "none");
527
+ }, He = function() {
528
+ !Be && g && h(g, "display", "");
529
+ };
530
+ qt && !Ae && document.addEventListener("click", function(e) {
531
+ if (Vt)
532
+ return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Vt = !1, !1;
533
+ }, !0);
534
+ var st = function(t) {
535
+ if (d) {
536
+ t = t.touches ? t.touches[0] : t;
537
+ var n = fn(t.clientX, t.clientY);
538
+ if (n) {
539
+ var o = {};
540
+ for (var i in t)
541
+ t.hasOwnProperty(i) && (o[i] = t[i]);
542
+ o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[B]._onDragOver(o);
543
+ }
544
+ }
545
+ }, cn = function(t) {
546
+ d && d.parentNode[B]._isOutsideThisEl(t.target);
547
+ };
548
+ function p(e, t) {
549
+ if (!(e && e.nodeType && e.nodeType === 1))
550
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
551
+ this.el = e, this.options = t = K({}, t), e[B] = this;
552
+ var n = {
553
+ group: null,
554
+ sort: !0,
555
+ disabled: !1,
556
+ store: null,
557
+ handle: null,
558
+ draggable: /^[uo]l$/i.test(e.nodeName) ? ">li" : ">*",
559
+ swapThreshold: 1,
560
+ // percentage; 0 <= x <= 1
561
+ invertSwap: !1,
562
+ // invert always
563
+ invertedSwapThreshold: null,
564
+ // will be set to same as swapThreshold if default
565
+ removeCloneOnHide: !0,
566
+ direction: function() {
567
+ return Xe(e, this.options);
568
+ },
569
+ ghostClass: "sortable-ghost",
570
+ chosenClass: "sortable-chosen",
571
+ dragClass: "sortable-drag",
572
+ ignore: "a, img",
573
+ filter: null,
574
+ preventOnFilter: !0,
575
+ animation: 0,
576
+ easing: null,
577
+ setData: function(a, l) {
578
+ a.setData("Text", l.textContent);
579
+ },
580
+ dropBubble: !1,
581
+ dragoverBubble: !1,
582
+ dataIdAttr: "data-id",
583
+ delay: 0,
584
+ delayOnTouchOnly: !1,
585
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
586
+ forceFallback: !1,
587
+ fallbackClass: "sortable-fallback",
588
+ fallbackOnBody: !1,
589
+ fallbackTolerance: 0,
590
+ fallbackOffset: {
591
+ x: 0,
592
+ y: 0
593
+ },
594
+ // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
595
+ supportPointer: p.supportPointer !== !1 && "PointerEvent" in window && (!Ot || fe),
596
+ emptyInsertThreshold: 5
597
+ };
598
+ Ft.initializePlugins(this, e, n);
599
+ for (var o in n)
600
+ !(o in t) && (t[o] = n[o]);
601
+ Ye(t);
602
+ for (var i in this)
603
+ i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
604
+ this.nativeDraggable = t.forceFallback ? !1 : un, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? _(e, "pointerdown", this._onTapStart) : (_(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart)), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), zt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), K(this, on());
605
+ }
606
+ p.prototype = /** @lends Sortable.prototype */
607
+ {
608
+ constructor: p,
609
+ _isOutsideThisEl: function(t) {
610
+ !this.el.contains(t) && t !== this.el && (ct = null);
611
+ },
612
+ _getDirection: function(t, n) {
613
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, d) : this.options.direction;
614
+ },
615
+ _onTapStart: function(t) {
616
+ if (t.cancelable) {
617
+ var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (l || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, c = i.filter;
618
+ if (yn(o), !d && !(/mousedown|pointerdown/.test(a) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ot && s && s.tagName.toUpperCase() === "SELECT") && (s = V(s, i.draggable, o, !1), !(s && s.animated) && Lt !== s)) {
619
+ if (pt = W(s), At = W(s, i.draggable), typeof c == "function") {
620
+ if (c.call(this, t, s, this)) {
621
+ k({
622
+ sortable: n,
623
+ rootEl: u,
624
+ name: "filter",
625
+ targetEl: s,
626
+ toEl: o,
627
+ fromEl: o
628
+ }), R("filter", n, {
629
+ evt: t
630
+ }), r && t.preventDefault();
631
+ return;
632
+ }
633
+ } else if (c && (c = c.split(",").some(function(f) {
634
+ if (f = V(u, f.trim(), o, !1), f)
635
+ return k({
636
+ sortable: n,
637
+ rootEl: f,
638
+ name: "filter",
639
+ targetEl: s,
640
+ fromEl: o,
641
+ toEl: o
642
+ }), R("filter", n, {
643
+ evt: t
644
+ }), !0;
645
+ }), c)) {
646
+ r && t.preventDefault();
647
+ return;
648
+ }
649
+ i.handle && !V(u, i.handle, o, !1) || this._prepareDragStart(t, l, s);
650
+ }
651
+ }
652
+ },
653
+ _prepareDragStart: function(t, n, o) {
654
+ var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
655
+ if (o && !d && o.parentNode === r) {
656
+ var u = O(o);
657
+ if (D = r, d = o, T = d.parentNode, ut = d.nextSibling, Lt = o, kt = a.group, p.dragged = d, lt = {
658
+ target: d,
659
+ clientX: (n || t).clientX,
660
+ clientY: (n || t).clientY
661
+ }, Te = lt.clientX - u.left, Ce = lt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, d.style["will-change"] = "all", s = function() {
662
+ if (R("delayEnded", i, {
663
+ evt: t
664
+ }), p.eventCanceled) {
665
+ i._onDrop();
666
+ return;
667
+ }
668
+ i._disableDelayedDragEvents(), !we && i.nativeDraggable && (d.draggable = !0), i._triggerDragStart(t, n), k({
669
+ sortable: i,
670
+ name: "choose",
671
+ originalEvent: t
672
+ }), L(d, a.chosenClass, !0);
673
+ }, a.ignore.split(",").forEach(function(c) {
674
+ Pe(d, c.trim(), oe);
675
+ }), _(l, "dragover", st), _(l, "mousemove", st), _(l, "touchmove", st), a.supportPointer ? (_(l, "pointerup", i._onDrop), !this.nativeDraggable && _(l, "pointercancel", i._onDrop)) : (_(l, "mouseup", i._onDrop), _(l, "touchend", i._onDrop), _(l, "touchcancel", i._onDrop)), we && this.nativeDraggable && (this.options.touchStartThreshold = 4, d.draggable = !0), R("delayStart", this, {
676
+ evt: t
677
+ }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Pt || Z))) {
678
+ if (p.eventCanceled) {
679
+ this._onDrop();
680
+ return;
681
+ }
682
+ a.supportPointer ? (_(l, "pointerup", i._disableDelayedDrag), _(l, "pointercancel", i._disableDelayedDrag)) : (_(l, "mouseup", i._disableDelayedDrag), _(l, "touchend", i._disableDelayedDrag), _(l, "touchcancel", i._disableDelayedDrag)), _(l, "mousemove", i._delayedDragTouchMoveHandler), _(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && _(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
683
+ } else
684
+ s();
685
+ }
686
+ },
687
+ _delayedDragTouchMoveHandler: function(t) {
688
+ var n = t.touches ? t.touches[0] : t;
689
+ Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
690
+ },
691
+ _disableDelayedDrag: function() {
692
+ d && oe(d), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
693
+ },
694
+ _disableDelayedDragEvents: function() {
695
+ var t = this.el.ownerDocument;
696
+ v(t, "mouseup", this._disableDelayedDrag), v(t, "touchend", this._disableDelayedDrag), v(t, "touchcancel", this._disableDelayedDrag), v(t, "pointerup", this._disableDelayedDrag), v(t, "pointercancel", this._disableDelayedDrag), v(t, "mousemove", this._delayedDragTouchMoveHandler), v(t, "touchmove", this._delayedDragTouchMoveHandler), v(t, "pointermove", this._delayedDragTouchMoveHandler);
697
+ },
698
+ _triggerDragStart: function(t, n) {
699
+ n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(d, "dragend", this), _(D, "dragstart", this._onDragStart));
700
+ try {
701
+ document.selection ? Wt(function() {
702
+ document.selection.empty();
703
+ }) : window.getSelection().removeAllRanges();
704
+ } catch {
705
+ }
706
+ },
707
+ _dragStarted: function(t, n) {
708
+ if (ht = !1, D && d) {
709
+ R("dragStarted", this, {
710
+ evt: n
711
+ }), this.nativeDraggable && _(document, "dragover", cn);
712
+ var o = this.options;
713
+ !t && L(d, o.dragClass, !1), L(d, o.ghostClass, !0), p.active = this, t && this._appendGhost(), k({
714
+ sortable: this,
715
+ name: "start",
716
+ originalEvent: n
717
+ });
718
+ } else
719
+ this._nulling();
720
+ },
721
+ _emulateDragOver: function() {
722
+ if (G) {
723
+ this._lastX = G.clientX, this._lastY = G.clientY, Le();
724
+ for (var t = document.elementFromPoint(G.clientX, G.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(G.clientX, G.clientY), t !== n); )
725
+ n = t;
726
+ if (d.parentNode[B]._isOutsideThisEl(t), n)
727
+ do {
728
+ if (n[B]) {
729
+ var o = void 0;
730
+ if (o = n[B]._onDragOver({
731
+ clientX: G.clientX,
732
+ clientY: G.clientY,
733
+ target: t,
734
+ rootEl: n
735
+ }), o && !this.options.dragoverBubble)
736
+ break;
737
+ }
738
+ t = n;
739
+ } while (n = Ne(n));
740
+ He();
741
+ }
742
+ },
743
+ _onTouchMove: function(t) {
744
+ if (lt) {
745
+ var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = t.touches ? t.touches[0] : t, a = g && gt(g, !0), l = g && a && a.a, s = g && a && a.d, u = Bt && P && Se(P), c = (r.clientX - lt.clientX + i.x) / (l || 1) + (u ? u[0] - ne[0] : 0) / (l || 1), f = (r.clientY - lt.clientY + i.y) / (s || 1) + (u ? u[1] - ne[1] : 0) / (s || 1);
746
+ if (!p.active && !ht) {
747
+ if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
748
+ return;
749
+ this._onDragStart(t, !0);
750
+ }
751
+ if (g) {
752
+ a ? (a.e += c - (te || 0), a.f += f - (ee || 0)) : a = {
753
+ a: 1,
754
+ b: 0,
755
+ c: 0,
756
+ d: 1,
757
+ e: c,
758
+ f
759
+ };
760
+ var m = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
761
+ h(g, "webkitTransform", m), h(g, "mozTransform", m), h(g, "msTransform", m), h(g, "transform", m), te = c, ee = f, G = r;
762
+ }
763
+ t.cancelable && t.preventDefault();
764
+ }
765
+ },
766
+ _appendGhost: function() {
767
+ if (!g) {
768
+ var t = this.options.fallbackOnBody ? document.body : D, n = O(d, !0, Bt, !0, t), o = this.options;
769
+ if (Bt) {
770
+ for (P = t; h(P, "position") === "static" && h(P, "transform") === "none" && P !== document; )
771
+ P = P.parentNode;
772
+ P !== document.body && P !== document.documentElement ? (P === document && (P = U()), n.top += P.scrollTop, n.left += P.scrollLeft) : P = U(), ne = Se(P);
773
+ }
774
+ g = d.cloneNode(!0), L(g, o.ghostClass, !1), L(g, o.fallbackClass, !0), L(g, o.dragClass, !0), h(g, "transition", ""), h(g, "transform", ""), h(g, "box-sizing", "border-box"), h(g, "margin", 0), h(g, "top", n.top), h(g, "left", n.left), h(g, "width", n.width), h(g, "height", n.height), h(g, "opacity", "0.8"), h(g, "position", Bt ? "absolute" : "fixed"), h(g, "zIndex", "100000"), h(g, "pointerEvents", "none"), p.ghost = g, t.appendChild(g), h(g, "transform-origin", Te / parseInt(g.style.width) * 100 + "% " + Ce / parseInt(g.style.height) * 100 + "%");
775
+ }
776
+ },
777
+ _onDragStart: function(t, n) {
778
+ var o = this, i = t.dataTransfer, r = o.options;
779
+ if (R("dragStart", this, {
780
+ evt: t
781
+ }), p.eventCanceled) {
782
+ this._onDrop();
783
+ return;
784
+ }
785
+ R("setupClone", this), p.eventCanceled || (S = ke(d), S.removeAttribute("id"), S.draggable = !1, S.style["will-change"] = "", this._hideClone(), L(S, this.options.chosenClass, !1), p.clone = S), o.cloneId = Wt(function() {
786
+ R("clone", o), !p.eventCanceled && (o.options.removeCloneOnHide || D.insertBefore(S, d), o._hideClone(), k({
787
+ sortable: o,
788
+ name: "clone"
789
+ }));
790
+ }), !n && L(d, r.dragClass, !0), n ? (Vt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (v(document, "mouseup", o._onDrop), v(document, "touchend", o._onDrop), v(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, d)), _(document, "drop", o), h(d, "transform", "translateZ(0)")), ht = !0, o._dragStartId = Wt(o._dragStarted.bind(o, n, t)), _(document, "selectstart", o), St = !0, window.getSelection().removeAllRanges(), Ot && h(document.body, "user-select", "none");
791
+ },
792
+ // Returns true - if no further action is needed (either inserted or another condition)
793
+ _onDragOver: function(t) {
794
+ var n = this.el, o = t.target, i, r, a, l = this.options, s = l.group, u = p.active, c = kt === s, f = l.sort, m = N || u, w, b = this, y = !1;
795
+ if (le) return;
796
+ function X(wt, je) {
797
+ R(wt, b, $({
798
+ evt: t,
799
+ isOwner: c,
800
+ axis: w ? "vertical" : "horizontal",
801
+ revert: a,
802
+ dragRect: i,
803
+ targetRect: r,
804
+ canSort: f,
805
+ fromSortable: m,
806
+ target: o,
807
+ completed: I,
808
+ onMove: function(ge, Ge) {
809
+ return Xt(D, n, d, i, ge, O(ge), t, Ge);
810
+ },
811
+ changed: F
812
+ }, je));
813
+ }
814
+ function E() {
815
+ X("dragOverAnimationCapture"), b.captureAnimationState(), b !== m && m.captureAnimationState();
816
+ }
817
+ function I(wt) {
818
+ return X("dragOverCompleted", {
819
+ insertion: wt
820
+ }), wt && (c ? u._hideClone() : u._showClone(b), b !== m && (L(d, N ? N.options.ghostClass : u.options.ghostClass, !1), L(d, l.ghostClass, !0)), N !== b && b !== p.active ? N = b : b === p.active && N && (N = null), m === b && (b._ignoreWhileAnimating = o), b.animateAll(function() {
821
+ X("dragOverAnimationComplete"), b._ignoreWhileAnimating = null;
822
+ }), b !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (o === d && !d.animated || o === n && !o.animated) && (ct = null), !l.dragoverBubble && !t.rootEl && o !== document && (d.parentNode[B]._isOutsideThisEl(t.target), !wt && st(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
823
+ }
824
+ function F() {
825
+ H = W(d), et = W(d, l.draggable), k({
826
+ sortable: b,
827
+ name: "change",
828
+ toEl: n,
829
+ newIndex: H,
830
+ newDraggableIndex: et,
831
+ originalEvent: t
832
+ });
833
+ }
834
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = V(o, l.draggable, n, !0), X("dragOver"), p.eventCanceled) return y;
835
+ if (d.contains(t.target) || o.animated && o.animatingX && o.animatingY || b._ignoreWhileAnimating === o)
836
+ return I(!1);
837
+ if (Vt = !1, u && !l.disabled && (c ? f || (a = T !== D) : N === this || (this.lastPutMode = kt.checkPull(this, u, d, t)) && s.checkPut(this, u, d, t))) {
838
+ if (w = this._getDirection(t, o) === "vertical", i = O(d), X("dragOverValid"), p.eventCanceled) return y;
839
+ if (a)
840
+ return T = D, E(), this._hideClone(), X("revert"), p.eventCanceled || (ut ? D.insertBefore(d, ut) : D.appendChild(d)), I(!0);
841
+ var M = ce(n, l.draggable);
842
+ if (!M || mn(t, w, this) && !M.animated) {
843
+ if (M === d)
844
+ return I(!1);
845
+ if (M && n === t.target && (o = M), o && (r = O(o)), Xt(D, n, d, i, o, r, t, !!o) !== !1)
846
+ return E(), M && M.nextSibling ? n.insertBefore(d, M.nextSibling) : n.appendChild(d), T = n, F(), I(!0);
847
+ } else if (M && gn(t, w, this)) {
848
+ var it = mt(n, 0, l, !0);
849
+ if (it === d)
850
+ return I(!1);
851
+ if (o = it, r = O(o), Xt(D, n, d, i, o, r, t, !1) !== !1)
852
+ return E(), n.insertBefore(d, it), T = n, F(), I(!0);
853
+ } else if (o.parentNode === n) {
854
+ r = O(o);
855
+ var z = 0, rt, vt = d.parentNode !== n, Y = !dn(d.animated && d.toRect || i, o.animated && o.toRect || r, w), bt = w ? "top" : "left", Q = De(o, "top", "top") || De(d, "top", "top"), _t = Q ? Q.scrollTop : void 0;
856
+ ct !== o && (rt = r[bt], Nt = !1, Rt = !Y && l.invertSwap || vt), z = vn(t, o, r, w, Y ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Rt, ct === o);
857
+ var q;
858
+ if (z !== 0) {
859
+ var at = W(d);
860
+ do
861
+ at -= z, q = T.children[at];
862
+ while (q && (h(q, "display") === "none" || q === g));
863
+ }
864
+ if (z === 0 || q === o)
865
+ return I(!1);
866
+ ct = o, xt = z;
867
+ var yt = o.nextElementSibling, tt = !1;
868
+ tt = z === 1;
869
+ var Mt = Xt(D, n, d, i, o, r, t, tt);
870
+ if (Mt !== !1)
871
+ return (Mt === 1 || Mt === -1) && (tt = Mt === 1), le = !0, setTimeout(pn, 30), E(), tt && !yt ? n.appendChild(d) : o.parentNode.insertBefore(d, tt ? yt : o), Q && Me(Q, 0, _t - Q.scrollTop), T = d.parentNode, rt !== void 0 && !Rt && (Ht = Math.abs(rt - O(o)[bt])), F(), I(!0);
872
+ }
873
+ if (n.contains(d))
874
+ return I(!1);
875
+ }
876
+ return !1;
877
+ },
878
+ _ignoreWhileAnimating: null,
879
+ _offMoveEvents: function() {
880
+ v(document, "mousemove", this._onTouchMove), v(document, "touchmove", this._onTouchMove), v(document, "pointermove", this._onTouchMove), v(document, "dragover", st), v(document, "mousemove", st), v(document, "touchmove", st);
881
+ },
882
+ _offUpEvents: function() {
883
+ var t = this.el.ownerDocument;
884
+ v(t, "mouseup", this._onDrop), v(t, "touchend", this._onDrop), v(t, "pointerup", this._onDrop), v(t, "pointercancel", this._onDrop), v(t, "touchcancel", this._onDrop), v(document, "selectstart", this);
885
+ },
886
+ _onDrop: function(t) {
887
+ var n = this.el, o = this.options;
888
+ if (H = W(d), et = W(d, o.draggable), R("drop", this, {
889
+ evt: t
890
+ }), T = d && d.parentNode, H = W(d), et = W(d, o.draggable), p.eventCanceled) {
891
+ this._nulling();
892
+ return;
893
+ }
894
+ ht = !1, Rt = !1, Nt = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), se(this.cloneId), se(this._dragStartId), this.nativeDraggable && (v(document, "drop", this), v(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ot && h(document.body, "user-select", ""), h(d, "transform", ""), t && (St && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), g && g.parentNode && g.parentNode.removeChild(g), (D === T || N && N.lastPutMode !== "clone") && S && S.parentNode && S.parentNode.removeChild(S), d && (this.nativeDraggable && v(d, "dragend", this), oe(d), d.style["will-change"] = "", St && !ht && L(d, N ? N.options.ghostClass : this.options.ghostClass, !1), L(d, this.options.chosenClass, !1), k({
895
+ sortable: this,
896
+ name: "unchoose",
897
+ toEl: T,
898
+ newIndex: null,
899
+ newDraggableIndex: null,
900
+ originalEvent: t
901
+ }), D !== T ? (H >= 0 && (k({
902
+ rootEl: T,
903
+ name: "add",
904
+ toEl: T,
905
+ fromEl: D,
906
+ originalEvent: t
907
+ }), k({
908
+ sortable: this,
909
+ name: "remove",
910
+ toEl: T,
911
+ originalEvent: t
912
+ }), k({
913
+ rootEl: T,
914
+ name: "sort",
915
+ toEl: T,
916
+ fromEl: D,
917
+ originalEvent: t
918
+ }), k({
919
+ sortable: this,
920
+ name: "sort",
921
+ toEl: T,
922
+ originalEvent: t
923
+ })), N && N.save()) : H !== pt && H >= 0 && (k({
924
+ sortable: this,
925
+ name: "update",
926
+ toEl: T,
927
+ originalEvent: t
928
+ }), k({
929
+ sortable: this,
930
+ name: "sort",
931
+ toEl: T,
932
+ originalEvent: t
933
+ })), p.active && ((H == null || H === -1) && (H = pt, et = At), k({
934
+ sortable: this,
935
+ name: "end",
936
+ toEl: T,
937
+ originalEvent: t
938
+ }), this.save()))), this._nulling();
939
+ },
940
+ _nulling: function() {
941
+ R("nulling", this), D = d = T = g = ut = S = Lt = nt = lt = G = St = H = et = pt = At = ct = xt = N = kt = p.dragged = p.ghost = p.clone = p.active = null, Ut.forEach(function(t) {
942
+ t.checked = !0;
943
+ }), Ut.length = te = ee = 0;
944
+ },
945
+ handleEvent: function(t) {
946
+ switch (t.type) {
947
+ case "drop":
948
+ case "dragend":
949
+ this._onDrop(t);
950
+ break;
951
+ case "dragenter":
952
+ case "dragover":
953
+ d && (this._onDragOver(t), hn(t));
954
+ break;
955
+ case "selectstart":
956
+ t.preventDefault();
957
+ break;
958
+ }
959
+ },
960
+ /**
961
+ * Serializes the item into an array of string.
962
+ * @returns {String[]}
963
+ */
964
+ toArray: function() {
965
+ for (var t = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
966
+ n = o[i], V(n, a.draggable, this.el, !1) && t.push(n.getAttribute(a.dataIdAttr) || _n(n));
967
+ return t;
968
+ },
969
+ /**
970
+ * Sorts the elements according to the array.
971
+ * @param {String[]} order order of the items
972
+ */
973
+ sort: function(t, n) {
974
+ var o = {}, i = this.el;
975
+ this.toArray().forEach(function(r, a) {
976
+ var l = i.children[a];
977
+ V(l, this.options.draggable, i, !1) && (o[r] = l);
978
+ }, this), n && this.captureAnimationState(), t.forEach(function(r) {
979
+ o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
980
+ }), n && this.animateAll();
981
+ },
982
+ /**
983
+ * Save the current sorting
984
+ */
985
+ save: function() {
986
+ var t = this.options.store;
987
+ t && t.set && t.set(this);
988
+ },
989
+ /**
990
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
991
+ * @param {HTMLElement} el
992
+ * @param {String} [selector] default: `options.draggable`
993
+ * @returns {HTMLElement|null}
994
+ */
995
+ closest: function(t, n) {
996
+ return V(t, n || this.options.draggable, this.el, !1);
997
+ },
998
+ /**
999
+ * Set/get option
1000
+ * @param {string} name
1001
+ * @param {*} [value]
1002
+ * @returns {*}
1003
+ */
1004
+ option: function(t, n) {
1005
+ var o = this.options;
1006
+ if (n === void 0)
1007
+ return o[t];
1008
+ var i = Ft.modifyOption(this, t, n);
1009
+ typeof i < "u" ? o[t] = i : o[t] = n, t === "group" && Ye(o);
1010
+ },
1011
+ /**
1012
+ * Destroy
1013
+ */
1014
+ destroy: function() {
1015
+ R("destroy", this);
1016
+ var t = this.el;
1017
+ t[B] = null, v(t, "mousedown", this._onTapStart), v(t, "touchstart", this._onTapStart), v(t, "pointerdown", this._onTapStart), this.nativeDraggable && (v(t, "dragover", this), v(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
1018
+ n.removeAttribute("draggable");
1019
+ }), this._onDrop(), this._disableDelayedDragEvents(), zt.splice(zt.indexOf(this.el), 1), this.el = t = null;
1020
+ },
1021
+ _hideClone: function() {
1022
+ if (!nt) {
1023
+ if (R("hideClone", this), p.eventCanceled) return;
1024
+ h(S, "display", "none"), this.options.removeCloneOnHide && S.parentNode && S.parentNode.removeChild(S), nt = !0;
1025
+ }
1026
+ },
1027
+ _showClone: function(t) {
1028
+ if (t.lastPutMode !== "clone") {
1029
+ this._hideClone();
1030
+ return;
1031
+ }
1032
+ if (nt) {
1033
+ if (R("showClone", this), p.eventCanceled) return;
1034
+ d.parentNode == D && !this.options.group.revertClone ? D.insertBefore(S, d) : ut ? D.insertBefore(S, ut) : D.appendChild(S), this.options.group.revertClone && this.animate(d, S), h(S, "display", ""), nt = !1;
1035
+ }
1036
+ }
1037
+ };
1038
+ function hn(e) {
1039
+ e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
1040
+ }
1041
+ function Xt(e, t, n, o, i, r, a, l) {
1042
+ var s, u = e[B], c = u.options.onMove, f;
1043
+ return window.CustomEvent && !Z && !Pt ? s = new CustomEvent("move", {
1044
+ bubbles: !0,
1045
+ cancelable: !0
1046
+ }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = i || t, s.relatedRect = r || O(t), s.willInsertAfter = l, s.originalEvent = a, e.dispatchEvent(s), c && (f = c.call(u, s, a)), f;
1047
+ }
1048
+ function oe(e) {
1049
+ e.draggable = !1;
1050
+ }
1051
+ function pn() {
1052
+ le = !1;
1053
+ }
1054
+ function gn(e, t, n) {
1055
+ var o = O(mt(n.el, 0, n.options, !0)), i = Re(n.el, n.options, g), r = 10;
1056
+ return t ? e.clientX < i.left - r || e.clientY < o.top && e.clientX < o.right : e.clientY < i.top - r || e.clientY < o.bottom && e.clientX < o.left;
1057
+ }
1058
+ function mn(e, t, n) {
1059
+ var o = O(ce(n.el, n.options.draggable)), i = Re(n.el, n.options, g), r = 10;
1060
+ return t ? e.clientX > i.right + r || e.clientY > o.bottom && e.clientX > o.left : e.clientY > i.bottom + r || e.clientX > o.right && e.clientY > o.top;
1061
+ }
1062
+ function vn(e, t, n, o, i, r, a, l) {
1063
+ var s = o ? e.clientY : e.clientX, u = o ? n.height : n.width, c = o ? n.top : n.left, f = o ? n.bottom : n.right, m = !1;
1064
+ if (!a) {
1065
+ if (l && Ht < u * i) {
1066
+ if (!Nt && (xt === 1 ? s > c + u * r / 2 : s < f - u * r / 2) && (Nt = !0), Nt)
1067
+ m = !0;
1068
+ else if (xt === 1 ? s < c + Ht : s > f - Ht)
1069
+ return -xt;
1070
+ } else if (s > c + u * (1 - i) / 2 && s < f - u * (1 - i) / 2)
1071
+ return bn(t);
1072
+ }
1073
+ return m = m || a, m && (s < c + u * r / 2 || s > f - u * r / 2) ? s > c + u / 2 ? 1 : -1 : 0;
1074
+ }
1075
+ function bn(e) {
1076
+ return W(d) < W(e) ? 1 : -1;
1077
+ }
1078
+ function _n(e) {
1079
+ for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
1080
+ o += t.charCodeAt(n);
1081
+ return o.toString(36);
1082
+ }
1083
+ function yn(e) {
1084
+ Ut.length = 0;
1085
+ for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
1086
+ var o = t[n];
1087
+ o.checked && Ut.push(o);
1088
+ }
1089
+ }
1090
+ function Wt(e) {
1091
+ return setTimeout(e, 0);
1092
+ }
1093
+ function se(e) {
1094
+ return clearTimeout(e);
1095
+ }
1096
+ qt && _(document, "touchmove", function(e) {
1097
+ (p.active || ht) && e.cancelable && e.preventDefault();
1098
+ });
1099
+ p.utils = {
1100
+ on: _,
1101
+ off: v,
1102
+ css: h,
1103
+ find: Pe,
1104
+ is: function(t, n) {
1105
+ return !!V(t, n, t, !1);
1106
+ },
1107
+ extend: en,
1108
+ throttle: Fe,
1109
+ closest: V,
1110
+ toggleClass: L,
1111
+ clone: ke,
1112
+ index: W,
1113
+ nextTick: Wt,
1114
+ cancelNextTick: se,
1115
+ detectDirection: Xe,
1116
+ getChild: mt,
1117
+ expando: B
1118
+ };
1119
+ p.get = function(e) {
1120
+ return e[B];
1121
+ };
1122
+ p.mount = function() {
1123
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
1124
+ t[n] = arguments[n];
1125
+ t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
1126
+ if (!o.prototype || !o.prototype.constructor)
1127
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
1128
+ o.utils && (p.utils = $($({}, p.utils), o.utils)), Ft.mount(o);
1129
+ });
1130
+ };
1131
+ p.create = function(e, t) {
1132
+ return new p(e, t);
1133
+ };
1134
+ p.version = Qe;
1135
+ var C = [], Tt, ue, de = !1, ie, re, $t, Ct;
1136
+ function wn() {
1137
+ function e() {
1138
+ this.defaults = {
1139
+ scroll: !0,
1140
+ forceAutoScrollFallback: !1,
1141
+ scrollSensitivity: 30,
1142
+ scrollSpeed: 10,
1143
+ bubbleScroll: !0
1144
+ };
1145
+ for (var t in this)
1146
+ t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
1147
+ }
1148
+ return e.prototype = {
1149
+ dragStarted: function(n) {
1150
+ var o = n.originalEvent;
1151
+ this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? _(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? _(document, "touchmove", this._handleFallbackAutoScroll) : _(document, "mousemove", this._handleFallbackAutoScroll);
1152
+ },
1153
+ dragOverCompleted: function(n) {
1154
+ var o = n.originalEvent;
1155
+ !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1156
+ },
1157
+ drop: function() {
1158
+ this.sortable.nativeDraggable ? v(document, "dragover", this._handleAutoScroll) : (v(document, "pointermove", this._handleFallbackAutoScroll), v(document, "touchmove", this._handleFallbackAutoScroll), v(document, "mousemove", this._handleFallbackAutoScroll)), Ie(), jt(), nn();
1159
+ },
1160
+ nulling: function() {
1161
+ $t = ue = Tt = de = Ct = ie = re = null, C.length = 0;
1162
+ },
1163
+ _handleFallbackAutoScroll: function(n) {
1164
+ this._handleAutoScroll(n, !0);
1165
+ },
1166
+ _handleAutoScroll: function(n, o) {
1167
+ var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
1168
+ if ($t = n, o || this.options.forceAutoScrollFallback || Pt || Z || Ot) {
1169
+ ae(n, this.options, l, o);
1170
+ var s = ot(l, !0);
1171
+ de && (!Ct || r !== ie || a !== re) && (Ct && Ie(), Ct = setInterval(function() {
1172
+ var u = ot(document.elementFromPoint(r, a), !0);
1173
+ u !== s && (s = u, jt()), ae(n, i.options, u, o);
1174
+ }, 10), ie = r, re = a);
1175
+ } else {
1176
+ if (!this.options.bubbleScroll || ot(l, !0) === U()) {
1177
+ jt();
1178
+ return;
1179
+ }
1180
+ ae(n, this.options, ot(l, !1), !1);
1181
+ }
1182
+ }
1183
+ }, K(e, {
1184
+ pluginName: "scroll",
1185
+ initializeByDefault: !0
1186
+ });
1187
+ }
1188
+ function jt() {
1189
+ C.forEach(function(e) {
1190
+ clearInterval(e.pid);
1191
+ }), C = [];
1192
+ }
1193
+ function Ie() {
1194
+ clearInterval(Ct);
1195
+ }
1196
+ var ae = Fe(function(e, t, n, o) {
1197
+ if (t.scroll) {
1198
+ var i = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, a = t.scrollSensitivity, l = t.scrollSpeed, s = U(), u = !1, c;
1199
+ ue !== n && (ue = n, jt(), Tt = t.scroll, c = t.scrollFn, Tt === !0 && (Tt = ot(n, !0)));
1200
+ var f = 0, m = Tt;
1201
+ do {
1202
+ var w = m, b = O(w), y = b.top, X = b.bottom, E = b.left, I = b.right, F = b.width, M = b.height, it = void 0, z = void 0, rt = w.scrollWidth, vt = w.scrollHeight, Y = h(w), bt = w.scrollLeft, Q = w.scrollTop;
1203
+ w === s ? (it = F < rt && (Y.overflowX === "auto" || Y.overflowX === "scroll" || Y.overflowX === "visible"), z = M < vt && (Y.overflowY === "auto" || Y.overflowY === "scroll" || Y.overflowY === "visible")) : (it = F < rt && (Y.overflowX === "auto" || Y.overflowX === "scroll"), z = M < vt && (Y.overflowY === "auto" || Y.overflowY === "scroll"));
1204
+ var _t = it && (Math.abs(I - i) <= a && bt + F < rt) - (Math.abs(E - i) <= a && !!bt), q = z && (Math.abs(X - r) <= a && Q + M < vt) - (Math.abs(y - r) <= a && !!Q);
1205
+ if (!C[f])
1206
+ for (var at = 0; at <= f; at++)
1207
+ C[at] || (C[at] = {});
1208
+ (C[f].vx != _t || C[f].vy != q || C[f].el !== w) && (C[f].el = w, C[f].vx = _t, C[f].vy = q, clearInterval(C[f].pid), (_t != 0 || q != 0) && (u = !0, C[f].pid = setInterval((function() {
1209
+ o && this.layer === 0 && p.active._onTouchMove($t);
1210
+ var yt = C[this.layer].vy ? C[this.layer].vy * l : 0, tt = C[this.layer].vx ? C[this.layer].vx * l : 0;
1211
+ typeof c == "function" && c.call(p.dragged.parentNode[B], tt, yt, e, $t, C[this.layer].el) !== "continue" || Me(C[this.layer].el, tt, yt);
1212
+ }).bind({
1213
+ layer: f
1214
+ }), 24))), f++;
1215
+ } while (t.bubbleScroll && m !== s && (m = ot(m, !1)));
1216
+ de = u;
1217
+ }
1218
+ }, 30), We = function(t) {
1219
+ var n = t.originalEvent, o = t.putSortable, i = t.dragEl, r = t.activeSortable, a = t.dispatchSortableEvent, l = t.hideGhostForTarget, s = t.unhideGhostForTarget;
1220
+ if (n) {
1221
+ var u = o || r;
1222
+ l();
1223
+ var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, f = document.elementFromPoint(c.clientX, c.clientY);
1224
+ s(), u && !u.el.contains(f) && (a("spill"), this.onSpill({
1225
+ dragEl: i,
1226
+ putSortable: o
1227
+ }));
1228
+ }
1229
+ };
1230
+ function he() {
1231
+ }
1232
+ he.prototype = {
1233
+ startIndex: null,
1234
+ dragStart: function(t) {
1235
+ var n = t.oldDraggableIndex;
1236
+ this.startIndex = n;
1237
+ },
1238
+ onSpill: function(t) {
1239
+ var n = t.dragEl, o = t.putSortable;
1240
+ this.sortable.captureAnimationState(), o && o.captureAnimationState();
1241
+ var i = mt(this.sortable.el, this.startIndex, this.options);
1242
+ i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
1243
+ },
1244
+ drop: We
1245
+ };
1246
+ K(he, {
1247
+ pluginName: "revertOnSpill"
1248
+ });
1249
+ function pe() {
1250
+ }
1251
+ pe.prototype = {
1252
+ onSpill: function(t) {
1253
+ var n = t.dragEl, o = t.putSortable, i = o || this.sortable;
1254
+ i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
1255
+ },
1256
+ drop: We
1257
+ };
1258
+ K(pe, {
1259
+ pluginName: "removeOnSpill"
1260
+ });
1261
+ p.mount(new wn());
1262
+ p.mount(pe, he);
1263
+ const En = {
1264
+ components: { OutputDialog: qe },
1265
+ data() {
1266
+ return {
1267
+ name: null,
1268
+ icon: "astro:add-small",
1269
+ url: null,
1270
+ tools: [],
1271
+ jsonContent: "",
1272
+ dialogTitle: "",
1273
+ showDialog: !1,
1274
+ tool_id: null
1275
+ };
1276
+ },
1277
+ mounted() {
1278
+ this.update();
1279
+ let e = document.getElementById("toollist");
1280
+ p.create(e, {
1281
+ filter: ".filter",
1282
+ // 'filter' class is not draggable
1283
+ onUpdate: this.sortChanged
1284
+ });
1285
+ },
1286
+ methods: {
1287
+ sortChanged(e) {
1288
+ dt.post(`/openc3-api/tools/position/${this.tools[e.oldIndex]}`, {
1289
+ data: {
1290
+ position: e.newIndex
1291
+ },
1292
+ // Tools are global and are always installed into the DEFAULT scope
1293
+ params: { scope: "DEFAULT" }
1294
+ }).then((t) => {
1295
+ this.$notify.normal({
1296
+ title: `Reordered tool ${this.tools[e.oldIndex]}`
1297
+ }), this.update();
1298
+ });
1299
+ },
1300
+ update() {
1301
+ dt.get("/openc3-api/tools", { params: { scope: "DEFAULT" } }).then(
1302
+ (e) => {
1303
+ this.tools = e.data, this.name = "", this.url = "";
1304
+ }
1305
+ );
1306
+ },
1307
+ add() {
1308
+ dt.post("/openc3-api/tools", {
1309
+ data: {
1310
+ id: this.name,
1311
+ json: JSON.stringify({
1312
+ name: this.name,
1313
+ icon: this.icon,
1314
+ url: this.url,
1315
+ window: "NEW"
1316
+ })
1317
+ },
1318
+ // Tools are global and are always installed into the DEFAULT scope
1319
+ params: { scope: "DEFAULT" }
1320
+ }).then((e) => {
1321
+ this.$notify.normal({
1322
+ title: `Added tool ${this.name}`
1323
+ }), this.update();
1324
+ }).catch((e) => {
1325
+ window.$cosmosNotify.serious({
1326
+ title: `Failed to add tool ${this.name}`,
1327
+ message: e.response.data
1328
+ });
1329
+ });
1330
+ },
1331
+ showTool(e) {
1332
+ dt.get(`/openc3-api/tools/${e}`, {
1333
+ // Tools are global and are always installed into the DEFAULT scope
1334
+ params: { scope: "DEFAULT" }
1335
+ }).then((t) => {
1336
+ this.tool_id = e, this.jsonContent = JSON.stringify(t.data, null, " "), this.dialogTitle = e, this.showDialog = !0;
1337
+ });
1338
+ },
1339
+ dialogCallback(e) {
1340
+ if (this.showDialog = !1, e !== null) {
1341
+ let t = JSON.parse(e), n = "put", o = `/openc3-api/tools/${this.tool_id}`;
1342
+ t.name !== this.tool_id && (n = "post", o = "/openc3-api/tools"), dt[n](o, {
1343
+ data: {
1344
+ json: e
1345
+ },
1346
+ // Tools are global and are always installed into the DEFAULT scope
1347
+ params: { scope: "DEFAULT" }
1348
+ }).then((i) => {
1349
+ this.$notify.normal({
1350
+ title: `Modified tool ${t.name}`
1351
+ }), this.update();
1352
+ });
1353
+ }
1354
+ },
1355
+ deleteTool(e) {
1356
+ this.$dialog.confirm(`Are you sure you want to remove: ${e}`, {
1357
+ okText: "Delete",
1358
+ cancelText: "Cancel"
1359
+ }).then(function(t) {
1360
+ return dt.delete(`/openc3-api/tools/${e}`, {
1361
+ // Tools are global and are always installed into the DEFAULT scope
1362
+ params: { scope: "DEFAULT" }
1363
+ });
1364
+ }).then((t) => {
1365
+ this.$notify.normal({
1366
+ title: `Removed tool ${e}`
1367
+ }), this.update();
1368
+ });
1369
+ }
1370
+ }
1371
+ };
1372
+ function Dn(e, t, n, o, i, r) {
1373
+ const a = j("v-icon"), l = j("v-btn"), s = j("v-col"), u = j("v-text-field"), c = j("v-row"), f = j("v-list-item-title"), m = j("v-tooltip"), w = j("v-list-item"), b = j("v-divider"), y = j("v-list"), X = j("output-dialog");
1374
+ return Et(), Jt("div", null, [
1375
+ A(c, {
1376
+ "no-gutters": "",
1377
+ align: "center",
1378
+ style: { "padding-left": "10px" }
1379
+ }, {
1380
+ default: x(() => [
1381
+ A(s, { cols: "3" }, {
1382
+ default: x(() => [
1383
+ A(l, {
1384
+ block: "",
1385
+ color: "primary",
1386
+ "data-test": "toolAdd",
1387
+ onClick: t[0] || (t[0] = (E) => r.add()),
1388
+ disabled: !i.name || !i.url || !i.icon
1389
+ }, {
1390
+ default: x(() => [
1391
+ t[5] || (t[5] = Dt(" Add ")),
1392
+ A(a, {
1393
+ end: "",
1394
+ theme: "dark"
1395
+ }, {
1396
+ default: x(() => [
1397
+ Dt(be(i.icon), 1)
1398
+ ]),
1399
+ _: 1
1400
+ })
1401
+ ]),
1402
+ _: 1
1403
+ }, 8, ["disabled"])
1404
+ ]),
1405
+ _: 1
1406
+ }),
1407
+ A(s, { cols: "3" }, {
1408
+ default: x(() => [
1409
+ A(u, {
1410
+ modelValue: i.icon,
1411
+ "onUpdate:modelValue": t[1] || (t[1] = (E) => i.icon = E),
1412
+ label: "Tool Icon",
1413
+ class: "px-2"
1414
+ }, null, 8, ["modelValue"])
1415
+ ]),
1416
+ _: 1
1417
+ }),
1418
+ A(s, { cols: "3" }, {
1419
+ default: x(() => [
1420
+ A(u, {
1421
+ modelValue: i.name,
1422
+ "onUpdate:modelValue": t[2] || (t[2] = (E) => i.name = E),
1423
+ label: "Tool Name",
1424
+ class: "px-2"
1425
+ }, null, 8, ["modelValue"])
1426
+ ]),
1427
+ _: 1
1428
+ }),
1429
+ A(s, {
1430
+ cols: "3",
1431
+ class: "px-2"
1432
+ }, {
1433
+ default: x(() => [
1434
+ A(u, {
1435
+ modelValue: i.url,
1436
+ "onUpdate:modelValue": t[3] || (t[3] = (E) => i.url = E),
1437
+ label: "Tool Url"
1438
+ }, null, 8, ["modelValue"])
1439
+ ]),
1440
+ _: 1
1441
+ })
1442
+ ]),
1443
+ _: 1
1444
+ }),
1445
+ t[10] || (t[10] = Kt("span", { class: "text-body1 pa-3" }, "Drag and drop to reorder tools in the NavBar. Note: 'Base' and 'Admin' can't be reordered. A browser refresh is required to see the new tool order.", -1)),
1446
+ A(y, {
1447
+ class: "list",
1448
+ "data-test": "toolList",
1449
+ id: "toollist"
1450
+ }, {
1451
+ default: x(() => [
1452
+ (Et(!0), Jt(Ve, null, ze(i.tools, (E, I) => (Et(), Jt("div", { key: E }, [
1453
+ A(w, {
1454
+ class: Ue({ filter: E === "Base" || E === "Admin" }),
1455
+ "prepend-icon": "mdi-drag-horizontal"
1456
+ }, {
1457
+ append: x(() => [
1458
+ A(m, { location: "top" }, {
1459
+ activator: x(({ props: F }) => [
1460
+ A(a, _e({ ref_for: !0 }, F, {
1461
+ onClick: (M) => r.showTool(E)
1462
+ }), {
1463
+ default: x(() => t[6] || (t[6] = [
1464
+ Dt(" mdi-eye ")
1465
+ ])),
1466
+ _: 2
1467
+ }, 1040, ["onClick"])
1468
+ ]),
1469
+ default: x(() => [
1470
+ t[7] || (t[7] = Kt("span", null, "Edit Tool", -1))
1471
+ ]),
1472
+ _: 2
1473
+ }, 1024),
1474
+ A(m, { location: "top" }, {
1475
+ activator: x(({ props: F }) => [
1476
+ A(a, _e({ ref_for: !0 }, F, {
1477
+ onClick: (M) => r.deleteTool(E)
1478
+ }), {
1479
+ default: x(() => t[8] || (t[8] = [
1480
+ Dt(" mdi-delete ")
1481
+ ])),
1482
+ _: 2
1483
+ }, 1040, ["onClick"])
1484
+ ]),
1485
+ default: x(() => [
1486
+ t[9] || (t[9] = Kt("span", null, "Delete Tool", -1))
1487
+ ]),
1488
+ _: 2
1489
+ }, 1024)
1490
+ ]),
1491
+ default: x(() => [
1492
+ A(f, null, {
1493
+ default: x(() => [
1494
+ Dt(be(E), 1)
1495
+ ]),
1496
+ _: 2
1497
+ }, 1024)
1498
+ ]),
1499
+ _: 2
1500
+ }, 1032, ["class"]),
1501
+ I < i.tools.length - 1 ? (Et(), me(b, { key: I })) : ve("", !0)
1502
+ ]))), 128))
1503
+ ]),
1504
+ _: 1
1505
+ }),
1506
+ i.showDialog ? (Et(), me(X, {
1507
+ key: 0,
1508
+ modelValue: i.showDialog,
1509
+ "onUpdate:modelValue": t[4] || (t[4] = (E) => i.showDialog = E),
1510
+ content: i.jsonContent,
1511
+ type: "Tool",
1512
+ name: i.dialogTitle,
1513
+ onSubmit: r.dialogCallback
1514
+ }, null, 8, ["modelValue", "content", "name", "onSubmit"])) : ve("", !0)
1515
+ ]);
1516
+ }
1517
+ const xn = /* @__PURE__ */ $e(En, [["render", Dn], ["__scopeId", "data-v-7473eb15"]]);
1518
+ export {
1519
+ xn as default
1520
+ };
1521
+ //# sourceMappingURL=ToolsTab-NveeVXz2.js.map