@kong/kongponents 9.48.10-pr.3042.f75d935.0 → 9.49.1-pr.3042.f75d935.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 (822) hide show
  1. package/dist/kongponents.css +1 -1
  2. package/dist/kongponents.es105.js +5 -5
  3. package/dist/kongponents.es107.js +3 -3
  4. package/dist/kongponents.es109.js +4 -4
  5. package/dist/kongponents.es113.js +2 -2
  6. package/dist/kongponents.es115.js +5 -5
  7. package/dist/kongponents.es117.js +2 -2
  8. package/dist/kongponents.es119.js +11 -11
  9. package/dist/kongponents.es122.js +6 -6
  10. package/dist/kongponents.es124.js +7 -7
  11. package/dist/kongponents.es128.js +2 -2
  12. package/dist/kongponents.es130.js +1 -1
  13. package/dist/kongponents.es132.js +9 -9
  14. package/dist/kongponents.es139.js +4 -4
  15. package/dist/kongponents.es141.js +1 -1
  16. package/dist/kongponents.es143.js +7 -7
  17. package/dist/kongponents.es147.js +2 -2
  18. package/dist/kongponents.es149.js +7 -7
  19. package/dist/kongponents.es151.js +1 -1
  20. package/dist/kongponents.es154.js +4 -4
  21. package/dist/kongponents.es156.js +5 -5
  22. package/dist/kongponents.es158.js +3 -3
  23. package/dist/kongponents.es160.js +13 -13
  24. package/dist/kongponents.es163.js +57 -53
  25. package/dist/kongponents.es165.js +18 -117
  26. package/dist/kongponents.es166.js +9 -119
  27. package/dist/kongponents.es167.js +7 -118
  28. package/dist/kongponents.es168.js +4 -119
  29. package/dist/kongponents.es169.js +3 -119
  30. package/dist/kongponents.es170.js +9 -119
  31. package/dist/kongponents.es171.js +108 -18
  32. package/dist/kongponents.es172.js +119 -5
  33. package/dist/kongponents.es173.js +16 -16
  34. package/dist/kongponents.es174.js +34 -34
  35. package/dist/kongponents.es175.js +19 -19
  36. package/dist/kongponents.es176.js +118 -23
  37. package/dist/kongponents.es177.js +119 -3
  38. package/dist/kongponents.es178.js +18 -20
  39. package/dist/kongponents.es179.js +5 -9
  40. package/dist/kongponents.es180.js +118 -7
  41. package/dist/kongponents.es181.js +119 -4
  42. package/dist/kongponents.es182.js +316 -8
  43. package/dist/kongponents.es183.js +38 -107
  44. package/dist/kongponents.es184.js +97 -118
  45. package/dist/kongponents.es185.js +30 -30
  46. package/dist/kongponents.es186.js +30 -30
  47. package/dist/kongponents.es187.js +23 -23
  48. package/dist/kongponents.es188.js +13 -13
  49. package/dist/kongponents.es189.js +18 -18
  50. package/dist/kongponents.es19.js +1 -1
  51. package/dist/kongponents.es190.js +120 -5
  52. package/dist/kongponents.es191.js +119 -5
  53. package/dist/kongponents.es192.js +18 -7
  54. package/dist/kongponents.es193.js +51 -4
  55. package/dist/kongponents.es194.js +115 -185
  56. package/dist/kongponents.es195.js +119 -5
  57. package/dist/kongponents.es196.js +119 -5
  58. package/dist/kongponents.es197.js +21 -22
  59. package/dist/kongponents.es198.js +115 -162
  60. package/dist/kongponents.es200.js +115 -13
  61. package/dist/kongponents.es201.js +5 -396
  62. package/dist/kongponents.es202.js +7 -17
  63. package/dist/kongponents.es203.js +59 -118
  64. package/dist/kongponents.es204.js +162 -115
  65. package/dist/kongponents.es205.js +20 -20
  66. package/dist/kongponents.es206.js +28 -28
  67. package/dist/kongponents.es207.js +4 -4
  68. package/dist/kongponents.es208.js +4 -4
  69. package/dist/kongponents.es209.js +119 -5
  70. package/dist/kongponents.es21.js +8 -8
  71. package/dist/kongponents.es210.js +24 -5
  72. package/dist/kongponents.es211.js +114 -5
  73. package/dist/kongponents.es212.js +17 -5
  74. package/dist/kongponents.es213.js +396 -5
  75. package/dist/kongponents.es214.js +1 -1
  76. package/dist/kongponents.es215.js +1 -1
  77. package/dist/kongponents.es216.js +5 -119
  78. package/dist/kongponents.es217.js +7 -0
  79. package/dist/kongponents.es218.js +5 -119
  80. package/dist/kongponents.es219.js +3 -3
  81. package/dist/kongponents.es220.js +5 -8
  82. package/dist/kongponents.es221.js +5 -60
  83. package/dist/kongponents.es222.js +22 -22
  84. package/dist/kongponents.es223.js +5 -119
  85. package/dist/kongponents.es224.js +20 -20
  86. package/dist/kongponents.es225.js +4 -4
  87. package/dist/kongponents.es226.js +7 -102
  88. package/dist/kongponents.es227.js +186 -314
  89. package/dist/kongponents.es228.js +118 -38
  90. package/dist/kongponents.es229.js +101 -97
  91. package/dist/kongponents.es230.js +5 -119
  92. package/dist/kongponents.es231.js +16 -16
  93. package/dist/kongponents.es232.js +16 -16
  94. package/dist/kongponents.es233.js +5 -52
  95. package/dist/kongponents.es234.js +5 -119
  96. package/dist/kongponents.es235.js +10 -119
  97. package/dist/kongponents.es236.js +5 -119
  98. package/dist/kongponents.es237.js +119 -5
  99. package/dist/kongponents.es238.js +119 -10
  100. package/dist/kongponents.es239.js +2 -24
  101. package/dist/kongponents.es24.js +1 -1
  102. package/dist/{kongponents.es251.js → kongponents.es240.js} +1 -1
  103. package/dist/kongponents.es241.js +318 -46
  104. package/dist/kongponents.es242.js +25 -0
  105. package/dist/kongponents.es243.js +46 -28
  106. package/dist/kongponents.es245.js +6 -23
  107. package/dist/kongponents.es246.js +26 -0
  108. package/dist/kongponents.es248.js +50 -0
  109. package/dist/kongponents.es250.js +36 -0
  110. package/dist/kongponents.es252.js +22 -319
  111. package/dist/kongponents.es254.js +45 -23
  112. package/dist/kongponents.es258.js +186 -0
  113. package/dist/kongponents.es26.js +4 -4
  114. package/dist/kongponents.es261.js +587 -90
  115. package/dist/kongponents.es263.js +2 -45
  116. package/dist/kongponents.es264.js +4 -0
  117. package/dist/kongponents.es265.js +110 -583
  118. package/dist/kongponents.es266.js +119 -2
  119. package/dist/kongponents.es267.js +12 -12
  120. package/dist/kongponents.es268.js +86 -114
  121. package/dist/kongponents.es270.js +37 -52
  122. package/dist/kongponents.es272.js +95 -6
  123. package/dist/kongponents.es274.js +45 -2
  124. package/dist/kongponents.es276.js +7 -0
  125. package/dist/kongponents.es277.js +5 -184
  126. package/dist/kongponents.es278.js +22 -0
  127. package/dist/kongponents.es279.js +4 -217
  128. package/dist/kongponents.es28.js +2 -2
  129. package/dist/kongponents.es280.js +5 -64
  130. package/dist/kongponents.es281.js +8 -0
  131. package/dist/kongponents.es282.js +9 -2
  132. package/dist/kongponents.es283.js +5 -1556
  133. package/dist/kongponents.es284.js +4 -5
  134. package/dist/kongponents.es285.js +17 -2
  135. package/dist/kongponents.es286.js +4 -6
  136. package/dist/kongponents.es287.js +8 -5
  137. package/dist/kongponents.es288.js +7 -5
  138. package/dist/kongponents.es289.js +3 -19
  139. package/dist/kongponents.es290.js +2 -4
  140. package/dist/kongponents.es291.js +5 -4
  141. package/dist/kongponents.es292.js +9 -5
  142. package/dist/kongponents.es293.js +4 -8
  143. package/dist/kongponents.es294.js +3 -5
  144. package/dist/kongponents.es295.js +3 -4
  145. package/dist/kongponents.es296.js +3 -16
  146. package/dist/kongponents.es297.js +7 -3
  147. package/dist/kongponents.es298.js +7 -8
  148. package/dist/kongponents.es299.js +4 -6
  149. package/dist/kongponents.es300.js +9 -3
  150. package/dist/kongponents.es301.js +6 -2
  151. package/dist/kongponents.es302.js +9 -6
  152. package/dist/kongponents.es303.js +6 -9
  153. package/dist/kongponents.es304.js +17 -4
  154. package/dist/kongponents.es305.js +12 -4
  155. package/dist/kongponents.es306.js +7 -3
  156. package/dist/kongponents.es307.js +12 -3
  157. package/dist/kongponents.es308.js +9 -7
  158. package/dist/kongponents.es309.js +5 -6
  159. package/dist/kongponents.es310.js +9 -5
  160. package/dist/kongponents.es311.js +15 -9
  161. package/dist/kongponents.es312.js +17 -5
  162. package/dist/kongponents.es313.js +6 -9
  163. package/dist/kongponents.es314.js +10 -6
  164. package/dist/kongponents.es315.js +6 -17
  165. package/dist/kongponents.es316.js +7 -11
  166. package/dist/kongponents.es317.js +5 -6
  167. package/dist/kongponents.es318.js +6 -12
  168. package/dist/kongponents.es319.js +9 -9
  169. package/dist/kongponents.es320.js +7 -5
  170. package/dist/kongponents.es321.js +3 -8
  171. package/dist/kongponents.es322.js +5 -15
  172. package/dist/kongponents.es323.js +15 -17
  173. package/dist/kongponents.es324.js +56 -6
  174. package/dist/kongponents.es326.js +8 -6
  175. package/dist/kongponents.es327.js +6 -7
  176. package/dist/kongponents.es328.js +7 -5
  177. package/dist/kongponents.es329.js +4 -6
  178. package/dist/kongponents.es330.js +8 -8
  179. package/dist/kongponents.es331.js +8 -7
  180. package/dist/kongponents.es332.js +636 -3
  181. package/dist/kongponents.es333.js +74 -6
  182. package/dist/kongponents.es334.js +4 -15
  183. package/dist/kongponents.es335.js +17 -367
  184. package/dist/kongponents.es336.js +4 -129
  185. package/dist/kongponents.es337.js +17 -94
  186. package/dist/kongponents.es338.js +10 -0
  187. package/dist/kongponents.es339.js +5 -8
  188. package/dist/kongponents.es340.js +8 -6
  189. package/dist/kongponents.es341.js +7 -7
  190. package/dist/kongponents.es342.js +4 -4
  191. package/dist/kongponents.es343.js +20 -9
  192. package/dist/kongponents.es344.js +5 -9
  193. package/dist/kongponents.es345.js +57 -583
  194. package/dist/kongponents.es346.js +169 -71
  195. package/dist/kongponents.es347.js +5 -5
  196. package/dist/kongponents.es348.js +6 -19
  197. package/dist/kongponents.es349.js +5 -5
  198. package/dist/kongponents.es350.js +5 -18
  199. package/dist/kongponents.es351.js +69 -7
  200. package/dist/kongponents.es352.js +2 -6
  201. package/dist/kongponents.es353.js +176 -9
  202. package/dist/kongponents.es355.js +64 -5
  203. package/dist/kongponents.es357.js +217 -5
  204. package/dist/kongponents.es358.js +365 -106
  205. package/dist/kongponents.es359.js +122 -164
  206. package/dist/kongponents.es360.js +2 -5
  207. package/dist/kongponents.es361.js +5773 -6
  208. package/dist/kongponents.es362.js +1557 -5
  209. package/dist/kongponents.es363.js +5 -5
  210. package/dist/kongponents.es364.js +6 -70
  211. package/dist/kongponents.es365.js +8 -2
  212. package/dist/kongponents.es366.js +5 -5773
  213. package/dist/kongponents.es367.js +9 -25
  214. package/dist/kongponents.es368.js +5 -10
  215. package/dist/kongponents.es369.js +9 -16
  216. package/dist/kongponents.es370.js +14 -7
  217. package/dist/kongponents.es371.js +3 -6
  218. package/dist/kongponents.es372.js +7 -8
  219. package/dist/kongponents.es373.js +3 -6
  220. package/dist/kongponents.es374.js +8 -7
  221. package/dist/kongponents.es375.js +7 -14
  222. package/dist/kongponents.es376.js +6 -3
  223. package/dist/kongponents.es377.js +2 -8
  224. package/dist/kongponents.es378.js +13 -3
  225. package/dist/kongponents.es379.js +4 -10
  226. package/dist/kongponents.es380.js +3 -8
  227. package/dist/kongponents.es381.js +26 -6
  228. package/dist/kongponents.es382.js +4 -2
  229. package/dist/kongponents.es383.js +3 -12
  230. package/dist/kongponents.es384.js +4 -5
  231. package/dist/kongponents.es385.js +4 -3
  232. package/dist/kongponents.es386.js +4 -26
  233. package/dist/kongponents.es387.js +14 -3
  234. package/dist/kongponents.es388.js +6 -4
  235. package/dist/kongponents.es389.js +30 -4
  236. package/dist/kongponents.es390.js +27 -4
  237. package/dist/kongponents.es391.js +16 -4
  238. package/dist/kongponents.es392.js +8 -13
  239. package/dist/kongponents.es393.js +4 -5
  240. package/dist/kongponents.es394.js +13 -29
  241. package/dist/kongponents.es395.js +8 -26
  242. package/dist/kongponents.es396.js +3 -16
  243. package/dist/kongponents.es397.js +5 -9
  244. package/dist/kongponents.es398.js +5 -4
  245. package/dist/kongponents.es399.js +7 -13
  246. package/dist/kongponents.es400.js +5 -8
  247. package/dist/kongponents.es401.js +10 -2
  248. package/dist/kongponents.es402.js +5 -5
  249. package/dist/kongponents.es403.js +4 -5
  250. package/dist/kongponents.es404.js +4 -7
  251. package/dist/kongponents.es405.js +5 -5
  252. package/dist/kongponents.es406.js +8 -11
  253. package/dist/kongponents.es407.js +6 -5
  254. package/dist/kongponents.es408.js +10 -5
  255. package/dist/kongponents.es409.js +6 -4
  256. package/dist/kongponents.es410.js +21 -5
  257. package/dist/kongponents.es411.js +7 -8
  258. package/dist/kongponents.es412.js +6 -6
  259. package/dist/kongponents.es413.js +7 -10
  260. package/dist/kongponents.es414.js +8 -6
  261. package/dist/kongponents.es415.js +25 -22
  262. package/dist/kongponents.es416.js +95 -7
  263. package/dist/kongponents.es418.js +10 -6
  264. package/dist/kongponents.es419.js +10 -8
  265. package/dist/kongponents.es420.js +12 -10
  266. package/dist/kongponents.es421.js +10 -10
  267. package/dist/kongponents.es422.js +18 -12
  268. package/dist/kongponents.es423.js +5 -10
  269. package/dist/kongponents.es424.js +55 -19
  270. package/dist/kongponents.es425.js +2 -6
  271. package/dist/kongponents.es426.js +17 -54
  272. package/dist/kongponents.es427.js +2 -2
  273. package/dist/kongponents.es428.js +11 -16
  274. package/dist/kongponents.es429.js +18 -2
  275. package/dist/kongponents.es430.js +63 -11
  276. package/dist/kongponents.es431.js +4 -17
  277. package/dist/kongponents.es432.js +1 -1
  278. package/dist/kongponents.es434.js +1 -1
  279. package/dist/kongponents.es435.js +1 -1
  280. package/dist/kongponents.es436.js +1 -1
  281. package/dist/kongponents.es437.js +1 -1
  282. package/dist/kongponents.es439.js +1 -1
  283. package/dist/kongponents.es441.js +1 -1
  284. package/dist/kongponents.es444.js +1 -1
  285. package/dist/kongponents.es446.js +2 -65
  286. package/dist/kongponents.es447.js +2 -5
  287. package/dist/kongponents.es448.js +11 -2
  288. package/dist/kongponents.es449.js +17 -2
  289. package/dist/kongponents.es450.js +2 -2
  290. package/dist/kongponents.es451.js +5 -5
  291. package/dist/kongponents.es456.js +2 -2
  292. package/dist/kongponents.es457.js +2 -2
  293. package/dist/kongponents.es458.js +2 -2
  294. package/dist/kongponents.es459.js +1 -1
  295. package/dist/kongponents.es463.js +1 -1
  296. package/dist/kongponents.es464.js +5 -5
  297. package/dist/kongponents.es466.js +1 -1
  298. package/dist/kongponents.es467.js +5 -5
  299. package/dist/kongponents.es468.js +1 -1
  300. package/dist/kongponents.es469.js +2 -2
  301. package/dist/kongponents.es470.js +2 -2
  302. package/dist/kongponents.es471.js +4 -4
  303. package/dist/kongponents.es472.js +4 -4
  304. package/dist/kongponents.es481.js +1 -1
  305. package/dist/kongponents.es483.js +1 -1
  306. package/dist/kongponents.es487.js +1 -1
  307. package/dist/kongponents.es488.js +1 -1
  308. package/dist/kongponents.es489.js +1 -1
  309. package/dist/kongponents.es490.js +1 -1
  310. package/dist/kongponents.es491.js +1 -1
  311. package/dist/kongponents.es493.js +1 -1
  312. package/dist/kongponents.es499.js +1 -1
  313. package/dist/kongponents.es501.js +4 -29
  314. package/dist/kongponents.es502.js +3 -119
  315. package/dist/kongponents.es503.js +9 -29
  316. package/dist/kongponents.es504.js +5 -10
  317. package/dist/kongponents.es505.js +4 -13
  318. package/dist/kongponents.es506.js +5 -32
  319. package/dist/kongponents.es507.js +3 -29
  320. package/dist/kongponents.es508.js +4 -10
  321. package/dist/kongponents.es509.js +4 -12
  322. package/dist/kongponents.es510.js +4 -17
  323. package/dist/kongponents.es511.js +10 -23
  324. package/dist/kongponents.es512.js +6 -16
  325. package/dist/kongponents.es513.js +6 -96
  326. package/dist/kongponents.es514.js +29 -45
  327. package/dist/kongponents.es515.js +118 -27
  328. package/dist/kongponents.es516.js +28 -70
  329. package/dist/kongponents.es517.js +9 -50
  330. package/dist/kongponents.es518.js +13 -34
  331. package/dist/kongponents.es519.js +29 -38
  332. package/dist/kongponents.es520.js +28 -3
  333. package/dist/kongponents.es521.js +10 -3
  334. package/dist/kongponents.es522.js +12 -9
  335. package/dist/kongponents.es523.js +17 -5
  336. package/dist/kongponents.es524.js +23 -4
  337. package/dist/kongponents.es525.js +16 -5
  338. package/dist/kongponents.es526.js +97 -3
  339. package/dist/kongponents.es527.js +44 -4
  340. package/dist/kongponents.es528.js +28 -4
  341. package/dist/kongponents.es529.js +70 -9
  342. package/dist/kongponents.es530.js +51 -6
  343. package/dist/kongponents.es531.js +34 -6
  344. package/dist/kongponents.es532.js +41 -4
  345. package/dist/kongponents.es542.js +1 -1
  346. package/dist/kongponents.es543.js +2 -2
  347. package/dist/kongponents.es546.js +2 -2
  348. package/dist/kongponents.es547.js +2 -2
  349. package/dist/kongponents.es553.js +1 -1
  350. package/dist/kongponents.es555.js +1 -1
  351. package/dist/kongponents.es556.js +1 -1
  352. package/dist/kongponents.es557.js +7 -20
  353. package/dist/kongponents.es558.js +3 -8
  354. package/dist/kongponents.es560.js +3 -6
  355. package/dist/kongponents.es561.js +15 -7
  356. package/dist/kongponents.es562.js +3 -5
  357. package/dist/kongponents.es563.js +10 -4
  358. package/dist/kongponents.es564.js +3 -6
  359. package/dist/kongponents.es565.js +4 -14
  360. package/dist/kongponents.es567.js +7 -4
  361. package/dist/kongponents.es568.js +4 -4
  362. package/dist/kongponents.es569.js +3 -6
  363. package/dist/kongponents.es570.js +4 -31
  364. package/dist/kongponents.es571.js +11 -34
  365. package/dist/kongponents.es572.js +9 -51
  366. package/dist/kongponents.es573.js +30 -8
  367. package/dist/kongponents.es574.js +24 -4
  368. package/dist/kongponents.es575.js +51 -5
  369. package/dist/kongponents.es576.js +3 -3
  370. package/dist/kongponents.es577.js +8 -15
  371. package/dist/kongponents.es578.js +20 -3
  372. package/dist/kongponents.es579.js +7 -9
  373. package/dist/kongponents.es580.js +6 -3
  374. package/dist/kongponents.es581.js +5 -11
  375. package/dist/kongponents.es582.js +7 -9
  376. package/dist/kongponents.es583.js +15 -24
  377. package/dist/kongponents.es584.js +4 -3
  378. package/dist/kongponents.es585.js +6 -8
  379. package/dist/kongponents.es586.js +34 -7
  380. package/dist/kongponents.es587.js +9 -3
  381. package/dist/kongponents.es597.js +1 -1
  382. package/dist/kongponents.es599.js +1 -1
  383. package/dist/kongponents.es600.js +1 -1
  384. package/dist/kongponents.es601.js +1 -1
  385. package/dist/kongponents.es604.js +2 -2
  386. package/dist/kongponents.es605.js +4 -4
  387. package/dist/kongponents.es607.js +2 -2
  388. package/dist/kongponents.es608.js +2 -2
  389. package/dist/kongponents.es609.js +2 -2
  390. package/dist/kongponents.es69.js +2 -2
  391. package/dist/kongponents.es72.js +7 -7
  392. package/dist/kongponents.es75.js +1 -1
  393. package/dist/kongponents.es77.js +1 -1
  394. package/dist/kongponents.es83.js +1 -1
  395. package/dist/kongponents.es87.js +3 -3
  396. package/dist/kongponents.es89.js +16 -16
  397. package/dist/kongponents.es94.js +2 -2
  398. package/dist/kongponents.es96.js +6 -6
  399. package/dist/kongponents.es99.js +2 -2
  400. package/dist/kongponents.umd.js +10 -10
  401. package/dist/kongponents105.cjs +1 -1
  402. package/dist/kongponents107.cjs +1 -1
  403. package/dist/kongponents109.cjs +1 -1
  404. package/dist/kongponents113.cjs +1 -1
  405. package/dist/kongponents115.cjs +1 -1
  406. package/dist/kongponents117.cjs +1 -1
  407. package/dist/kongponents119.cjs +1 -1
  408. package/dist/kongponents122.cjs +1 -1
  409. package/dist/kongponents124.cjs +1 -1
  410. package/dist/kongponents128.cjs +1 -1
  411. package/dist/kongponents130.cjs +1 -1
  412. package/dist/kongponents132.cjs +1 -1
  413. package/dist/kongponents139.cjs +1 -1
  414. package/dist/kongponents141.cjs +1 -1
  415. package/dist/kongponents143.cjs +1 -1
  416. package/dist/kongponents147.cjs +1 -1
  417. package/dist/kongponents149.cjs +1 -1
  418. package/dist/kongponents151.cjs +1 -1
  419. package/dist/kongponents154.cjs +1 -1
  420. package/dist/kongponents156.cjs +1 -1
  421. package/dist/kongponents158.cjs +1 -1
  422. package/dist/kongponents160.cjs +1 -1
  423. package/dist/kongponents163.cjs +1 -1
  424. package/dist/kongponents165.cjs +1 -1
  425. package/dist/kongponents166.cjs +1 -1
  426. package/dist/kongponents167.cjs +1 -1
  427. package/dist/kongponents168.cjs +1 -1
  428. package/dist/kongponents169.cjs +1 -1
  429. package/dist/kongponents170.cjs +1 -1
  430. package/dist/kongponents171.cjs +1 -1
  431. package/dist/kongponents172.cjs +1 -1
  432. package/dist/kongponents173.cjs +1 -1
  433. package/dist/kongponents174.cjs +1 -1
  434. package/dist/kongponents175.cjs +1 -1
  435. package/dist/kongponents176.cjs +1 -1
  436. package/dist/kongponents177.cjs +1 -1
  437. package/dist/kongponents178.cjs +1 -1
  438. package/dist/kongponents179.cjs +1 -1
  439. package/dist/kongponents180.cjs +1 -1
  440. package/dist/kongponents181.cjs +1 -1
  441. package/dist/kongponents182.cjs +1 -1
  442. package/dist/kongponents183.cjs +1 -1
  443. package/dist/kongponents184.cjs +2 -1
  444. package/dist/kongponents185.cjs +1 -1
  445. package/dist/kongponents186.cjs +1 -1
  446. package/dist/kongponents187.cjs +1 -1
  447. package/dist/kongponents188.cjs +1 -1
  448. package/dist/kongponents189.cjs +1 -1
  449. package/dist/kongponents19.cjs +1 -1
  450. package/dist/kongponents190.cjs +2 -1
  451. package/dist/kongponents191.cjs +1 -1
  452. package/dist/kongponents192.cjs +1 -1
  453. package/dist/kongponents193.cjs +1 -1
  454. package/dist/kongponents194.cjs +1 -1
  455. package/dist/kongponents195.cjs +1 -1
  456. package/dist/kongponents196.cjs +1 -1
  457. package/dist/kongponents197.cjs +1 -2
  458. package/dist/kongponents198.cjs +1 -1
  459. package/dist/kongponents200.cjs +1 -1
  460. package/dist/kongponents201.cjs +1 -1
  461. package/dist/kongponents202.cjs +1 -1
  462. package/dist/kongponents203.cjs +1 -1
  463. package/dist/kongponents204.cjs +1 -1
  464. package/dist/kongponents205.cjs +1 -1
  465. package/dist/kongponents206.cjs +1 -1
  466. package/dist/kongponents207.cjs +1 -1
  467. package/dist/kongponents208.cjs +1 -1
  468. package/dist/kongponents209.cjs +1 -1
  469. package/dist/kongponents21.cjs +1 -1
  470. package/dist/kongponents210.cjs +1 -1
  471. package/dist/kongponents211.cjs +1 -1
  472. package/dist/kongponents212.cjs +1 -1
  473. package/dist/kongponents213.cjs +1 -1
  474. package/dist/kongponents214.cjs +1 -1
  475. package/dist/kongponents215.cjs +1 -1
  476. package/dist/kongponents216.cjs +1 -1
  477. package/dist/kongponents217.cjs +1 -0
  478. package/dist/kongponents218.cjs +1 -1
  479. package/dist/kongponents219.cjs +1 -1
  480. package/dist/kongponents220.cjs +1 -1
  481. package/dist/kongponents221.cjs +1 -1
  482. package/dist/kongponents222.cjs +1 -1
  483. package/dist/kongponents223.cjs +1 -1
  484. package/dist/kongponents224.cjs +1 -1
  485. package/dist/kongponents225.cjs +1 -1
  486. package/dist/kongponents226.cjs +1 -5
  487. package/dist/kongponents227.cjs +1 -1
  488. package/dist/kongponents228.cjs +1 -1
  489. package/dist/kongponents229.cjs +5 -2
  490. package/dist/kongponents230.cjs +1 -1
  491. package/dist/kongponents231.cjs +1 -1
  492. package/dist/kongponents232.cjs +1 -1
  493. package/dist/kongponents233.cjs +1 -1
  494. package/dist/kongponents234.cjs +1 -1
  495. package/dist/kongponents235.cjs +1 -1
  496. package/dist/kongponents236.cjs +1 -1
  497. package/dist/kongponents237.cjs +1 -1
  498. package/dist/kongponents238.cjs +1 -1
  499. package/dist/kongponents239.cjs +1 -1
  500. package/dist/kongponents24.cjs +1 -1
  501. package/dist/{kongponents251.cjs → kongponents240.cjs} +1 -1
  502. package/dist/kongponents241.cjs +1 -1
  503. package/dist/kongponents242.cjs +1 -0
  504. package/dist/kongponents243.cjs +1 -1
  505. package/dist/kongponents245.cjs +1 -1
  506. package/dist/kongponents246.cjs +1 -0
  507. package/dist/kongponents248.cjs +1 -0
  508. package/dist/kongponents250.cjs +1 -0
  509. package/dist/kongponents252.cjs +1 -1
  510. package/dist/kongponents254.cjs +1 -1
  511. package/dist/kongponents258.cjs +1 -0
  512. package/dist/kongponents26.cjs +1 -1
  513. package/dist/kongponents261.cjs +6 -1
  514. package/dist/kongponents263.cjs +1 -1
  515. package/dist/kongponents264.cjs +1 -0
  516. package/dist/kongponents265.cjs +1 -6
  517. package/dist/kongponents266.cjs +1 -1
  518. package/dist/kongponents267.cjs +1 -1
  519. package/dist/kongponents268.cjs +1 -1
  520. package/dist/kongponents270.cjs +1 -1
  521. package/dist/kongponents272.cjs +1 -1
  522. package/dist/kongponents274.cjs +1 -1
  523. package/dist/kongponents276.cjs +1 -0
  524. package/dist/kongponents277.cjs +1 -1
  525. package/dist/kongponents278.cjs +1 -0
  526. package/dist/kongponents279.cjs +1 -4
  527. package/dist/kongponents28.cjs +1 -1
  528. package/dist/kongponents280.cjs +1 -1
  529. package/dist/kongponents281.cjs +1 -0
  530. package/dist/kongponents282.cjs +1 -1
  531. package/dist/kongponents283.cjs +1 -10
  532. package/dist/kongponents284.cjs +1 -1
  533. package/dist/kongponents285.cjs +1 -1
  534. package/dist/kongponents286.cjs +1 -1
  535. package/dist/kongponents287.cjs +1 -1
  536. package/dist/kongponents288.cjs +1 -1
  537. package/dist/kongponents289.cjs +1 -1
  538. package/dist/kongponents290.cjs +1 -1
  539. package/dist/kongponents291.cjs +1 -1
  540. package/dist/kongponents292.cjs +1 -1
  541. package/dist/kongponents293.cjs +1 -1
  542. package/dist/kongponents294.cjs +1 -1
  543. package/dist/kongponents295.cjs +1 -1
  544. package/dist/kongponents296.cjs +1 -1
  545. package/dist/kongponents297.cjs +1 -1
  546. package/dist/kongponents298.cjs +1 -1
  547. package/dist/kongponents299.cjs +1 -1
  548. package/dist/kongponents300.cjs +1 -1
  549. package/dist/kongponents301.cjs +1 -1
  550. package/dist/kongponents302.cjs +1 -1
  551. package/dist/kongponents303.cjs +1 -1
  552. package/dist/kongponents304.cjs +1 -1
  553. package/dist/kongponents305.cjs +1 -1
  554. package/dist/kongponents306.cjs +1 -1
  555. package/dist/kongponents307.cjs +1 -1
  556. package/dist/kongponents308.cjs +1 -1
  557. package/dist/kongponents309.cjs +1 -1
  558. package/dist/kongponents310.cjs +1 -1
  559. package/dist/kongponents311.cjs +1 -1
  560. package/dist/kongponents312.cjs +1 -1
  561. package/dist/kongponents313.cjs +1 -1
  562. package/dist/kongponents314.cjs +1 -1
  563. package/dist/kongponents315.cjs +1 -1
  564. package/dist/kongponents316.cjs +1 -1
  565. package/dist/kongponents317.cjs +1 -1
  566. package/dist/kongponents318.cjs +1 -1
  567. package/dist/kongponents319.cjs +1 -1
  568. package/dist/kongponents320.cjs +1 -1
  569. package/dist/kongponents321.cjs +1 -1
  570. package/dist/kongponents322.cjs +1 -1
  571. package/dist/kongponents323.cjs +1 -1
  572. package/dist/kongponents324.cjs +1 -1
  573. package/dist/kongponents326.cjs +1 -1
  574. package/dist/kongponents327.cjs +1 -1
  575. package/dist/kongponents328.cjs +1 -1
  576. package/dist/kongponents329.cjs +1 -1
  577. package/dist/kongponents330.cjs +1 -1
  578. package/dist/kongponents331.cjs +1 -1
  579. package/dist/kongponents332.cjs +1 -1
  580. package/dist/kongponents333.cjs +1 -1
  581. package/dist/kongponents334.cjs +1 -1
  582. package/dist/kongponents335.cjs +1 -1
  583. package/dist/kongponents336.cjs +1 -1
  584. package/dist/kongponents337.cjs +1 -1
  585. package/dist/kongponents338.cjs +1 -0
  586. package/dist/kongponents339.cjs +1 -1
  587. package/dist/kongponents340.cjs +1 -1
  588. package/dist/kongponents341.cjs +1 -1
  589. package/dist/kongponents342.cjs +1 -1
  590. package/dist/kongponents343.cjs +1 -1
  591. package/dist/kongponents344.cjs +1 -1
  592. package/dist/kongponents345.cjs +1 -1
  593. package/dist/kongponents346.cjs +1 -1
  594. package/dist/kongponents347.cjs +1 -1
  595. package/dist/kongponents348.cjs +1 -1
  596. package/dist/kongponents349.cjs +1 -1
  597. package/dist/kongponents350.cjs +1 -1
  598. package/dist/kongponents351.cjs +1 -1
  599. package/dist/kongponents352.cjs +1 -1
  600. package/dist/kongponents353.cjs +1 -1
  601. package/dist/kongponents355.cjs +1 -1
  602. package/dist/kongponents357.cjs +4 -1
  603. package/dist/kongponents358.cjs +1 -1
  604. package/dist/kongponents359.cjs +1 -1
  605. package/dist/kongponents360.cjs +1 -1
  606. package/dist/kongponents361.cjs +1 -1
  607. package/dist/kongponents362.cjs +10 -1
  608. package/dist/kongponents363.cjs +1 -1
  609. package/dist/kongponents364.cjs +1 -1
  610. package/dist/kongponents365.cjs +1 -1
  611. package/dist/kongponents366.cjs +1 -1
  612. package/dist/kongponents367.cjs +1 -1
  613. package/dist/kongponents368.cjs +1 -1
  614. package/dist/kongponents369.cjs +1 -1
  615. package/dist/kongponents370.cjs +1 -1
  616. package/dist/kongponents371.cjs +1 -1
  617. package/dist/kongponents372.cjs +1 -1
  618. package/dist/kongponents373.cjs +1 -1
  619. package/dist/kongponents374.cjs +1 -1
  620. package/dist/kongponents375.cjs +1 -1
  621. package/dist/kongponents376.cjs +1 -1
  622. package/dist/kongponents377.cjs +1 -1
  623. package/dist/kongponents378.cjs +1 -1
  624. package/dist/kongponents379.cjs +1 -1
  625. package/dist/kongponents380.cjs +1 -1
  626. package/dist/kongponents381.cjs +1 -1
  627. package/dist/kongponents382.cjs +1 -1
  628. package/dist/kongponents383.cjs +1 -1
  629. package/dist/kongponents384.cjs +1 -1
  630. package/dist/kongponents385.cjs +1 -1
  631. package/dist/kongponents386.cjs +1 -1
  632. package/dist/kongponents387.cjs +1 -1
  633. package/dist/kongponents388.cjs +1 -1
  634. package/dist/kongponents389.cjs +1 -1
  635. package/dist/kongponents390.cjs +1 -1
  636. package/dist/kongponents391.cjs +1 -1
  637. package/dist/kongponents392.cjs +1 -1
  638. package/dist/kongponents393.cjs +1 -1
  639. package/dist/kongponents394.cjs +1 -1
  640. package/dist/kongponents395.cjs +1 -1
  641. package/dist/kongponents396.cjs +1 -1
  642. package/dist/kongponents397.cjs +1 -1
  643. package/dist/kongponents398.cjs +1 -1
  644. package/dist/kongponents399.cjs +1 -1
  645. package/dist/kongponents400.cjs +1 -1
  646. package/dist/kongponents401.cjs +1 -1
  647. package/dist/kongponents402.cjs +1 -1
  648. package/dist/kongponents403.cjs +1 -1
  649. package/dist/kongponents404.cjs +1 -1
  650. package/dist/kongponents405.cjs +1 -1
  651. package/dist/kongponents406.cjs +1 -1
  652. package/dist/kongponents407.cjs +1 -1
  653. package/dist/kongponents408.cjs +1 -1
  654. package/dist/kongponents409.cjs +1 -1
  655. package/dist/kongponents410.cjs +1 -1
  656. package/dist/kongponents411.cjs +1 -1
  657. package/dist/kongponents412.cjs +1 -1
  658. package/dist/kongponents413.cjs +1 -1
  659. package/dist/kongponents414.cjs +1 -1
  660. package/dist/kongponents415.cjs +1 -1
  661. package/dist/kongponents416.cjs +1 -1
  662. package/dist/kongponents418.cjs +1 -1
  663. package/dist/kongponents419.cjs +1 -1
  664. package/dist/kongponents420.cjs +1 -1
  665. package/dist/kongponents421.cjs +1 -1
  666. package/dist/kongponents422.cjs +1 -1
  667. package/dist/kongponents423.cjs +1 -1
  668. package/dist/kongponents424.cjs +1 -1
  669. package/dist/kongponents425.cjs +1 -1
  670. package/dist/kongponents426.cjs +1 -1
  671. package/dist/kongponents427.cjs +1 -1
  672. package/dist/kongponents428.cjs +1 -1
  673. package/dist/kongponents429.cjs +1 -1
  674. package/dist/kongponents430.cjs +1 -1
  675. package/dist/kongponents431.cjs +1 -1
  676. package/dist/kongponents432.cjs +1 -1
  677. package/dist/kongponents434.cjs +1 -1
  678. package/dist/kongponents435.cjs +1 -1
  679. package/dist/kongponents436.cjs +1 -1
  680. package/dist/kongponents437.cjs +1 -1
  681. package/dist/kongponents439.cjs +1 -1
  682. package/dist/kongponents441.cjs +1 -1
  683. package/dist/kongponents444.cjs +1 -1
  684. package/dist/kongponents446.cjs +1 -1
  685. package/dist/kongponents447.cjs +1 -1
  686. package/dist/kongponents448.cjs +1 -1
  687. package/dist/kongponents449.cjs +1 -1
  688. package/dist/kongponents450.cjs +1 -1
  689. package/dist/kongponents451.cjs +1 -1
  690. package/dist/kongponents456.cjs +1 -1
  691. package/dist/kongponents457.cjs +1 -1
  692. package/dist/kongponents458.cjs +1 -1
  693. package/dist/kongponents459.cjs +1 -1
  694. package/dist/kongponents463.cjs +1 -1
  695. package/dist/kongponents464.cjs +1 -1
  696. package/dist/kongponents466.cjs +1 -1
  697. package/dist/kongponents467.cjs +1 -1
  698. package/dist/kongponents468.cjs +1 -1
  699. package/dist/kongponents469.cjs +1 -1
  700. package/dist/kongponents470.cjs +1 -1
  701. package/dist/kongponents471.cjs +1 -1
  702. package/dist/kongponents472.cjs +1 -1
  703. package/dist/kongponents481.cjs +1 -1
  704. package/dist/kongponents483.cjs +1 -1
  705. package/dist/kongponents487.cjs +1 -1
  706. package/dist/kongponents488.cjs +1 -1
  707. package/dist/kongponents489.cjs +1 -1
  708. package/dist/kongponents490.cjs +1 -1
  709. package/dist/kongponents491.cjs +1 -1
  710. package/dist/kongponents493.cjs +1 -1
  711. package/dist/kongponents499.cjs +1 -1
  712. package/dist/kongponents501.cjs +1 -1
  713. package/dist/kongponents502.cjs +1 -1
  714. package/dist/kongponents503.cjs +1 -1
  715. package/dist/kongponents504.cjs +1 -1
  716. package/dist/kongponents505.cjs +1 -1
  717. package/dist/kongponents506.cjs +1 -1
  718. package/dist/kongponents507.cjs +1 -1
  719. package/dist/kongponents508.cjs +1 -1
  720. package/dist/kongponents509.cjs +1 -1
  721. package/dist/kongponents510.cjs +1 -1
  722. package/dist/kongponents511.cjs +1 -1
  723. package/dist/kongponents512.cjs +1 -1
  724. package/dist/kongponents513.cjs +1 -1
  725. package/dist/kongponents514.cjs +1 -1
  726. package/dist/kongponents515.cjs +1 -1
  727. package/dist/kongponents516.cjs +1 -1
  728. package/dist/kongponents517.cjs +1 -1
  729. package/dist/kongponents518.cjs +1 -1
  730. package/dist/kongponents519.cjs +1 -1
  731. package/dist/kongponents520.cjs +1 -1
  732. package/dist/kongponents521.cjs +1 -1
  733. package/dist/kongponents522.cjs +1 -1
  734. package/dist/kongponents523.cjs +1 -1
  735. package/dist/kongponents524.cjs +1 -1
  736. package/dist/kongponents525.cjs +1 -1
  737. package/dist/kongponents526.cjs +1 -1
  738. package/dist/kongponents527.cjs +1 -1
  739. package/dist/kongponents528.cjs +1 -1
  740. package/dist/kongponents529.cjs +1 -1
  741. package/dist/kongponents530.cjs +1 -1
  742. package/dist/kongponents531.cjs +1 -1
  743. package/dist/kongponents532.cjs +1 -1
  744. package/dist/kongponents542.cjs +1 -1
  745. package/dist/kongponents543.cjs +1 -1
  746. package/dist/kongponents546.cjs +1 -1
  747. package/dist/kongponents547.cjs +1 -1
  748. package/dist/kongponents553.cjs +1 -1
  749. package/dist/kongponents555.cjs +1 -1
  750. package/dist/kongponents556.cjs +1 -1
  751. package/dist/kongponents557.cjs +1 -1
  752. package/dist/kongponents558.cjs +1 -1
  753. package/dist/kongponents560.cjs +1 -1
  754. package/dist/kongponents561.cjs +1 -1
  755. package/dist/kongponents562.cjs +1 -1
  756. package/dist/kongponents563.cjs +1 -1
  757. package/dist/kongponents564.cjs +1 -1
  758. package/dist/kongponents565.cjs +1 -1
  759. package/dist/kongponents567.cjs +1 -1
  760. package/dist/kongponents568.cjs +1 -1
  761. package/dist/kongponents569.cjs +1 -1
  762. package/dist/kongponents570.cjs +1 -1
  763. package/dist/kongponents571.cjs +1 -1
  764. package/dist/kongponents572.cjs +1 -1
  765. package/dist/kongponents573.cjs +1 -1
  766. package/dist/kongponents574.cjs +1 -1
  767. package/dist/kongponents575.cjs +1 -1
  768. package/dist/kongponents576.cjs +1 -1
  769. package/dist/kongponents577.cjs +1 -1
  770. package/dist/kongponents578.cjs +1 -1
  771. package/dist/kongponents579.cjs +1 -1
  772. package/dist/kongponents580.cjs +1 -1
  773. package/dist/kongponents581.cjs +1 -1
  774. package/dist/kongponents582.cjs +1 -1
  775. package/dist/kongponents583.cjs +1 -1
  776. package/dist/kongponents584.cjs +1 -1
  777. package/dist/kongponents585.cjs +1 -1
  778. package/dist/kongponents586.cjs +1 -1
  779. package/dist/kongponents587.cjs +1 -1
  780. package/dist/kongponents597.cjs +1 -1
  781. package/dist/kongponents599.cjs +1 -1
  782. package/dist/kongponents600.cjs +1 -1
  783. package/dist/kongponents601.cjs +1 -1
  784. package/dist/kongponents604.cjs +1 -1
  785. package/dist/kongponents605.cjs +1 -1
  786. package/dist/kongponents69.cjs +1 -1
  787. package/dist/kongponents72.cjs +1 -1
  788. package/dist/kongponents75.cjs +1 -1
  789. package/dist/kongponents77.cjs +1 -1
  790. package/dist/kongponents83.cjs +1 -1
  791. package/dist/kongponents87.cjs +1 -1
  792. package/dist/kongponents89.cjs +1 -1
  793. package/dist/kongponents94.cjs +1 -1
  794. package/dist/kongponents96.cjs +1 -1
  795. package/dist/kongponents99.cjs +1 -1
  796. package/package.json +1 -1
  797. package/dist/kongponents.es199.js +0 -116
  798. package/dist/kongponents.es247.js +0 -47
  799. package/dist/kongponents.es255.js +0 -93
  800. package/dist/kongponents.es257.js +0 -43
  801. package/dist/kongponents.es259.js +0 -54
  802. package/dist/kongponents.es269.js +0 -121
  803. package/dist/kongponents.es275.js +0 -178
  804. package/dist/kongponents.es325.js +0 -13
  805. package/dist/kongponents.es354.js +0 -10
  806. package/dist/kongponents.es356.js +0 -23
  807. package/dist/kongponents.es417.js +0 -9
  808. package/dist/kongponents199.cjs +0 -1
  809. package/dist/kongponents247.cjs +0 -1
  810. package/dist/kongponents255.cjs +0 -1
  811. package/dist/kongponents257.cjs +0 -1
  812. package/dist/kongponents259.cjs +0 -1
  813. package/dist/kongponents269.cjs +0 -1
  814. package/dist/kongponents275.cjs +0 -1
  815. package/dist/kongponents325.cjs +0 -1
  816. package/dist/kongponents354.cjs +0 -1
  817. package/dist/kongponents356.cjs +0 -1
  818. package/dist/kongponents417.cjs +0 -1
  819. /package/dist/{kongponents.es249.js → kongponents.es256.js} +0 -0
  820. /package/dist/{kongponents.es273.js → kongponents.es262.js} +0 -0
  821. /package/dist/{kongponents249.cjs → kongponents256.cjs} +0 -0
  822. /package/dist/{kongponents273.cjs → kongponents262.cjs} +0 -0
@@ -1,1559 +1,8 @@
1
- import { defineComponent as qt, h as ot, ref as ve, computed as Kt, getCurrentInstance as Zt, onMounted as Qt, nextTick as it, resolveComponent as Jt } from "vue";
2
- /*!
3
- * vue-draggable-next v2.3.0
4
- * (c) 2025 Anish George
5
- * @license MIT
6
- */
7
- function en() {
8
- return typeof window < "u" ? window.console : global.console;
1
+ import n from "./kongponents.es284.js";
2
+ import t from "./kongponents.es285.js";
3
+ function f(a, r) {
4
+ return a != null && t(a, r, n);
9
5
  }
10
- const tn = en();
11
- function nn(t) {
12
- const e = /* @__PURE__ */ Object.create(null);
13
- return function(o) {
14
- return e[o] || (e[o] = t(o));
15
- };
16
- }
17
- const on = /-(\w)/g, Tt = nn((t) => t.replace(on, (e, n) => n ? n.toUpperCase() : ""));
18
- function rt(t) {
19
- t.parentElement !== null && t.parentElement.removeChild(t);
20
- }
21
- function Ct(t, e, n) {
22
- const o = n === 0 ? t.children[0] : t.children[n - 1].nextSibling;
23
- t.insertBefore(e, o);
24
- }
25
- /**!
26
- * Sortable 1.14.0
27
- * @author RubaXa <trash@rubaxa.org>
28
- * @author owenm <owen23355@gmail.com>
29
- * @license MIT
30
- */
31
- function Ot(t, e) {
32
- var n = Object.keys(t);
33
- if (Object.getOwnPropertySymbols) {
34
- var o = Object.getOwnPropertySymbols(t);
35
- e && (o = o.filter(function(i) {
36
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
37
- })), n.push.apply(n, o);
38
- }
39
- return n;
40
- }
41
- function oe(t) {
42
- for (var e = 1; e < arguments.length; e++) {
43
- var n = arguments[e] != null ? arguments[e] : {};
44
- e % 2 ? Ot(Object(n), !0).forEach(function(o) {
45
- rn(t, o, n[o]);
46
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : Ot(Object(n)).forEach(function(o) {
47
- Object.defineProperty(t, o, Object.getOwnPropertyDescriptor(n, o));
48
- });
49
- }
50
- return t;
51
- }
52
- function We(t) {
53
- "@babel/helpers - typeof";
54
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? We = function(e) {
55
- return typeof e;
56
- } : We = function(e) {
57
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
58
- }, We(t);
59
- }
60
- function rn(t, e, n) {
61
- return e in t ? Object.defineProperty(t, e, {
62
- value: n,
63
- enumerable: !0,
64
- configurable: !0,
65
- writable: !0
66
- }) : t[e] = n, t;
67
- }
68
- function re() {
69
- return re = Object.assign || function(t) {
70
- for (var e = 1; e < arguments.length; e++) {
71
- var n = arguments[e];
72
- for (var o in n)
73
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
74
- }
75
- return t;
76
- }, re.apply(this, arguments);
77
- }
78
- function an(t, e) {
79
- if (t == null) return {};
80
- var n = {}, o = Object.keys(t), i, r;
81
- for (r = 0; r < o.length; r++)
82
- i = o[r], !(e.indexOf(i) >= 0) && (n[i] = t[i]);
83
- return n;
84
- }
85
- function ln(t, e) {
86
- if (t == null) return {};
87
- var n = an(t, e), o, i;
88
- if (Object.getOwnPropertySymbols) {
89
- var r = Object.getOwnPropertySymbols(t);
90
- for (i = 0; i < r.length; i++)
91
- o = r[i], !(e.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(t, o) && (n[o] = t[o]);
92
- }
93
- return n;
94
- }
95
- var sn = "1.14.0";
96
- function ie(t) {
97
- if (typeof window < "u" && window.navigator)
98
- return !!/* @__PURE__ */ navigator.userAgent.match(t);
99
- }
100
- var ae = ie(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Le = ie(/Edge/i), It = ie(/firefox/i), Pe = ie(/safari/i) && !ie(/chrome/i) && !ie(/android/i), Rt = ie(/iP(ad|od|hone)/i), un = ie(/chrome/i) && ie(/android/i), Yt = {
101
- capture: !1,
102
- passive: !1
103
- };
104
- function D(t, e, n) {
105
- t.addEventListener(e, n, !ae && Yt);
106
- }
107
- function _(t, e, n) {
108
- t.removeEventListener(e, n, !ae && Yt);
109
- }
110
- function qe(t, e) {
111
- if (e) {
112
- if (e[0] === ">" && (e = e.substring(1)), t)
113
- try {
114
- if (t.matches)
115
- return t.matches(e);
116
- if (t.msMatchesSelector)
117
- return t.msMatchesSelector(e);
118
- if (t.webkitMatchesSelector)
119
- return t.webkitMatchesSelector(e);
120
- } catch {
121
- return !1;
122
- }
123
- return !1;
124
- }
125
- }
126
- function cn(t) {
127
- return t.host && t !== document && t.host.nodeType ? t.host : t.parentNode;
128
- }
129
- function te(t, e, n, o) {
130
- if (t) {
131
- n = n || document;
132
- do {
133
- if (e != null && (e[0] === ">" ? t.parentNode === n && qe(t, e) : qe(t, e)) || o && t === n)
134
- return t;
135
- if (t === n) break;
136
- } while (t = cn(t));
137
- }
138
- return null;
139
- }
140
- var xt = /\s+/g;
141
- function G(t, e, n) {
142
- if (t && e)
143
- if (t.classList)
144
- t.classList[n ? "add" : "remove"](e);
145
- else {
146
- var o = (" " + t.className + " ").replace(xt, " ").replace(" " + e + " ", " ");
147
- t.className = (o + (n ? " " + e : "")).replace(xt, " ");
148
- }
149
- }
150
- function m(t, e, n) {
151
- var o = t && t.style;
152
- if (o) {
153
- if (n === void 0)
154
- return document.defaultView && document.defaultView.getComputedStyle ? n = document.defaultView.getComputedStyle(t, "") : t.currentStyle && (n = t.currentStyle), e === void 0 ? n : n[e];
155
- !(e in o) && e.indexOf("webkit") === -1 && (e = "-webkit-" + e), o[e] = n + (typeof n == "string" ? "" : "px");
156
- }
157
- }
158
- function Te(t, e) {
159
- var n = "";
160
- if (typeof t == "string")
161
- n = t;
162
- else
163
- do {
164
- var o = m(t, "transform");
165
- o && o !== "none" && (n = o + " " + n);
166
- } while (!e && (t = t.parentNode));
167
- var i = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
168
- return i && new i(n);
169
- }
170
- function kt(t, e, n) {
171
- if (t) {
172
- var o = t.getElementsByTagName(e), i = 0, r = o.length;
173
- if (n)
174
- for (; i < r; i++)
175
- n(o[i], i);
176
- return o;
177
- }
178
- return [];
179
- }
180
- function ne() {
181
- var t = document.scrollingElement;
182
- return t || document.documentElement;
183
- }
184
- function P(t, e, n, o, i) {
185
- if (!(!t.getBoundingClientRect && t !== window)) {
186
- var r, a, l, s, u, h, d;
187
- if (t !== window && t.parentNode && t !== ne() ? (r = t.getBoundingClientRect(), a = r.top, l = r.left, s = r.bottom, u = r.right, h = r.height, d = r.width) : (a = 0, l = 0, s = window.innerHeight, u = window.innerWidth, h = window.innerHeight, d = window.innerWidth), (e || n) && t !== window && (i = i || t.parentNode, !ae))
188
- do
189
- if (i && i.getBoundingClientRect && (m(i, "transform") !== "none" || n && m(i, "position") !== "static")) {
190
- var p = i.getBoundingClientRect();
191
- a -= p.top + parseInt(m(i, "border-top-width")), l -= p.left + parseInt(m(i, "border-left-width")), s = a + r.height, u = l + r.width;
192
- break;
193
- }
194
- while (i = i.parentNode);
195
- if (o && t !== window) {
196
- var S = Te(i || t), w = S && S.a, E = S && S.d;
197
- S && (a /= E, l /= w, d /= w, h /= E, s = a + h, u = l + d);
198
- }
199
- return {
200
- top: a,
201
- left: l,
202
- bottom: s,
203
- right: u,
204
- width: d,
205
- height: h
206
- };
207
- }
208
- }
209
- function At(t, e, n) {
210
- for (var o = ge(t, !0), i = P(t)[e]; o; ) {
211
- var r = P(o)[n], a = void 0;
212
- if (a = i >= r, !a) return o;
213
- if (o === ne()) break;
214
- o = ge(o, !1);
215
- }
216
- return !1;
217
- }
218
- function Ce(t, e, n, o) {
219
- for (var i = 0, r = 0, a = t.children; r < a.length; ) {
220
- if (a[r].style.display !== "none" && a[r] !== v.ghost && (o || a[r] !== v.dragged) && te(a[r], n.draggable, t, !1)) {
221
- if (i === e)
222
- return a[r];
223
- i++;
224
- }
225
- r++;
226
- }
227
- return null;
228
- }
229
- function _t(t, e) {
230
- for (var n = t.lastElementChild; n && (n === v.ghost || m(n, "display") === "none" || e && !qe(n, e)); )
231
- n = n.previousElementSibling;
232
- return n || null;
233
- }
234
- function V(t, e) {
235
- var n = 0;
236
- if (!t || !t.parentNode)
237
- return -1;
238
- for (; t = t.previousElementSibling; )
239
- t.nodeName.toUpperCase() !== "TEMPLATE" && t !== v.clone && (!e || qe(t, e)) && n++;
240
- return n;
241
- }
242
- function Pt(t) {
243
- var e = 0, n = 0, o = ne();
244
- if (t)
245
- do {
246
- var i = Te(t), r = i.a, a = i.d;
247
- e += t.scrollLeft * r, n += t.scrollTop * a;
248
- } while (t !== o && (t = t.parentNode));
249
- return [e, n];
250
- }
251
- function dn(t, e) {
252
- for (var n in t)
253
- if (t.hasOwnProperty(n)) {
254
- for (var o in e)
255
- if (e.hasOwnProperty(o) && e[o] === t[n][o]) return Number(n);
256
- }
257
- return -1;
258
- }
259
- function ge(t, e) {
260
- if (!t || !t.getBoundingClientRect) return ne();
261
- var n = t, o = !1;
262
- do
263
- if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
264
- var i = m(n);
265
- if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
266
- if (!n.getBoundingClientRect || n === document.body) return ne();
267
- if (o || e) return n;
268
- o = !0;
269
- }
270
- }
271
- while (n = n.parentNode);
272
- return ne();
273
- }
274
- function fn(t, e) {
275
- if (t && e)
276
- for (var n in e)
277
- e.hasOwnProperty(n) && (t[n] = e[n]);
278
- return t;
279
- }
280
- function at(t, e) {
281
- return Math.round(t.top) === Math.round(e.top) && Math.round(t.left) === Math.round(e.left) && Math.round(t.height) === Math.round(e.height) && Math.round(t.width) === Math.round(e.width);
282
- }
283
- var Ne;
284
- function Bt(t, e) {
285
- return function() {
286
- if (!Ne) {
287
- var n = arguments, o = this;
288
- n.length === 1 ? t.call(o, n[0]) : t.apply(o, n), Ne = setTimeout(function() {
289
- Ne = void 0;
290
- }, e);
291
- }
292
- };
293
- }
294
- function hn() {
295
- clearTimeout(Ne), Ne = void 0;
296
- }
297
- function jt(t, e, n) {
298
- t.scrollLeft += e, t.scrollTop += n;
299
- }
300
- function Ht(t) {
301
- var e = window.Polymer, n = window.jQuery || window.Zepto;
302
- return e && e.dom ? e.dom(t).cloneNode(!0) : n ? n(t).clone(!0)[0] : t.cloneNode(!0);
303
- }
304
- var $ = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
305
- function pn() {
306
- var t = [], e;
307
- return {
308
- captureAnimationState: function() {
309
- if (t = [], !!this.options.animation) {
310
- var o = [].slice.call(this.el.children);
311
- o.forEach(function(i) {
312
- if (!(m(i, "display") === "none" || i === v.ghost)) {
313
- t.push({
314
- target: i,
315
- rect: P(i)
316
- });
317
- var r = oe({}, t[t.length - 1].rect);
318
- if (i.thisAnimationDuration) {
319
- var a = Te(i, !0);
320
- a && (r.top -= a.f, r.left -= a.e);
321
- }
322
- i.fromRect = r;
323
- }
324
- });
325
- }
326
- },
327
- addAnimationState: function(o) {
328
- t.push(o);
329
- },
330
- removeAnimationState: function(o) {
331
- t.splice(dn(t, {
332
- target: o
333
- }), 1);
334
- },
335
- animateAll: function(o) {
336
- var i = this;
337
- if (!this.options.animation) {
338
- clearTimeout(e), typeof o == "function" && o();
339
- return;
340
- }
341
- var r = !1, a = 0;
342
- t.forEach(function(l) {
343
- var s = 0, u = l.target, h = u.fromRect, d = P(u), p = u.prevFromRect, S = u.prevToRect, w = l.rect, E = Te(u, !0);
344
- E && (d.top -= E.f, d.left -= E.e), u.toRect = d, u.thisAnimationDuration && at(p, d) && !at(h, d) && // Make sure animatingRect is on line between toRect & fromRect
345
- (w.top - d.top) / (w.left - d.left) === (h.top - d.top) / (h.left - d.left) && (s = mn(w, p, S, i.options)), at(d, h) || (u.prevFromRect = h, u.prevToRect = d, s || (s = i.options.animation), i.animate(u, w, d, s)), s && (r = !0, a = Math.max(a, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
346
- u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
347
- }, s), u.thisAnimationDuration = s);
348
- }), clearTimeout(e), r ? e = setTimeout(function() {
349
- typeof o == "function" && o();
350
- }, a) : typeof o == "function" && o(), t = [];
351
- },
352
- animate: function(o, i, r, a) {
353
- if (a) {
354
- m(o, "transition", ""), m(o, "transform", "");
355
- var l = Te(this.el), s = l && l.a, u = l && l.d, h = (i.left - r.left) / (s || 1), d = (i.top - r.top) / (u || 1);
356
- o.animatingX = !!h, o.animatingY = !!d, m(o, "transform", "translate3d(" + h + "px," + d + "px,0)"), this.forRepaintDummy = gn(o), m(o, "transition", "transform " + a + "ms" + (this.options.easing ? " " + this.options.easing : "")), m(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
357
- m(o, "transition", ""), m(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
358
- }, a);
359
- }
360
- }
361
- };
362
- }
363
- function gn(t) {
364
- return t.offsetWidth;
365
- }
366
- function mn(t, e, n, o) {
367
- return Math.sqrt(Math.pow(e.top - t.top, 2) + Math.pow(e.left - t.left, 2)) / Math.sqrt(Math.pow(e.top - n.top, 2) + Math.pow(e.left - n.left, 2)) * o.animation;
368
- }
369
- var Ee = [], lt = {
370
- initializeByDefault: !0
371
- }, Re = {
372
- mount: function(e) {
373
- for (var n in lt)
374
- lt.hasOwnProperty(n) && !(n in e) && (e[n] = lt[n]);
375
- Ee.forEach(function(o) {
376
- if (o.pluginName === e.pluginName)
377
- throw "Sortable: Cannot mount plugin ".concat(e.pluginName, " more than once");
378
- }), Ee.push(e);
379
- },
380
- pluginEvent: function(e, n, o) {
381
- var i = this;
382
- this.eventCanceled = !1, o.cancel = function() {
383
- i.eventCanceled = !0;
384
- };
385
- var r = e + "Global";
386
- Ee.forEach(function(a) {
387
- n[a.pluginName] && (n[a.pluginName][r] && n[a.pluginName][r](oe({
388
- sortable: n
389
- }, o)), n.options[a.pluginName] && n[a.pluginName][e] && n[a.pluginName][e](oe({
390
- sortable: n
391
- }, o)));
392
- });
393
- },
394
- initializePlugins: function(e, n, o, i) {
395
- Ee.forEach(function(l) {
396
- var s = l.pluginName;
397
- if (!(!e.options[s] && !l.initializeByDefault)) {
398
- var u = new l(e, n, e.options);
399
- u.sortable = e, u.options = e.options, e[s] = u, re(o, u.defaults);
400
- }
401
- });
402
- for (var r in e.options)
403
- if (e.options.hasOwnProperty(r)) {
404
- var a = this.modifyOption(e, r, e.options[r]);
405
- typeof a < "u" && (e.options[r] = a);
406
- }
407
- },
408
- getEventProperties: function(e, n) {
409
- var o = {};
410
- return Ee.forEach(function(i) {
411
- typeof i.eventProperties == "function" && re(o, i.eventProperties.call(n[i.pluginName], e));
412
- }), o;
413
- },
414
- modifyOption: function(e, n, o) {
415
- var i;
416
- return Ee.forEach(function(r) {
417
- e[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (i = r.optionListeners[n].call(e[r.pluginName], o));
418
- }), i;
419
- }
420
- };
421
- function vn(t) {
422
- var e = t.sortable, n = t.rootEl, o = t.name, i = t.targetEl, r = t.cloneEl, a = t.toEl, l = t.fromEl, s = t.oldIndex, u = t.newIndex, h = t.oldDraggableIndex, d = t.newDraggableIndex, p = t.originalEvent, S = t.putSortable, w = t.extraEventProperties;
423
- if (e = e || n && n[$], !!e) {
424
- var E, N = e.options, z = "on" + o.charAt(0).toUpperCase() + o.substr(1);
425
- window.CustomEvent && !ae && !Le ? E = new CustomEvent(o, {
426
- bubbles: !0,
427
- cancelable: !0
428
- }) : (E = document.createEvent("Event"), E.initEvent(o, !0, !0)), E.to = a || n, E.from = l || n, E.item = i || n, E.clone = r, E.oldIndex = s, E.newIndex = u, E.oldDraggableIndex = h, E.newDraggableIndex = d, E.originalEvent = p, E.pullMode = S ? S.lastPutMode : void 0;
429
- var I = oe(oe({}, w), Re.getEventProperties(o, e));
430
- for (var L in I)
431
- E[L] = I[L];
432
- n && n.dispatchEvent(E), N[z] && N[z].call(e, E);
433
- }
434
- }
435
- var bn = ["evt"], H = function(e, n) {
436
- var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, r = ln(o, bn);
437
- Re.pluginEvent.bind(v)(e, n, oe({
438
- dragEl: c,
439
- parentEl: C,
440
- ghostEl: y,
441
- rootEl: T,
442
- nextEl: we,
443
- lastDownEl: $e,
444
- cloneEl: O,
445
- cloneHidden: pe,
446
- dragStarted: Ie,
447
- putSortable: M,
448
- activeSortable: v.active,
449
- originalEvent: i,
450
- oldIndex: Se,
451
- oldDraggableIndex: Me,
452
- newIndex: W,
453
- newDraggableIndex: he,
454
- hideGhostForTarget: zt,
455
- unhideGhostForTarget: Vt,
456
- cloneNowHidden: function() {
457
- pe = !0;
458
- },
459
- cloneNowShown: function() {
460
- pe = !1;
461
- },
462
- dispatchSortableEvent: function(l) {
463
- Y({
464
- sortable: n,
465
- name: l,
466
- originalEvent: i
467
- });
468
- }
469
- }, r));
470
- };
471
- function Y(t) {
472
- vn(oe({
473
- putSortable: M,
474
- cloneEl: O,
475
- targetEl: c,
476
- rootEl: T,
477
- oldIndex: Se,
478
- oldDraggableIndex: Me,
479
- newIndex: W,
480
- newDraggableIndex: he
481
- }, t));
482
- }
483
- var c, C, y, T, we, $e, O, pe, Se, W, Me, he, Be, M, De = !1, Ke = !1, Ze = [], be, Z, st, ut, Nt, Mt, Ie, _e, Fe, Xe = !1, je = !1, ze, X, ct = [], mt = !1, Qe = [], et = typeof document < "u", He = Rt, Ft = Le || ae ? "cssFloat" : "float", yn = et && !un && !Rt && "draggable" in document.createElement("div"), Gt = (function() {
484
- if (et) {
485
- if (ae)
486
- return !1;
487
- var t = document.createElement("x");
488
- return t.style.cssText = "pointer-events:auto", t.style.pointerEvents === "auto";
489
- }
490
- })(), Wt = function(e, n) {
491
- var o = m(e), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), r = Ce(e, 0, n), a = Ce(e, 1, n), l = r && m(r), s = a && m(a), u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + P(r).width, h = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + P(a).width;
492
- if (o.display === "flex")
493
- return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
494
- if (o.display === "grid")
495
- return o.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
496
- if (r && l.float && l.float !== "none") {
497
- var d = l.float === "left" ? "left" : "right";
498
- return a && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
499
- }
500
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || u >= i && o[Ft] === "none" || a && o[Ft] === "none" && u + h > i) ? "vertical" : "horizontal";
501
- }, wn = function(e, n, o) {
502
- var i = o ? e.left : e.top, r = o ? e.right : e.bottom, a = o ? e.width : e.height, l = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
503
- return i === l || r === s || i + a / 2 === l + u / 2;
504
- }, En = function(e, n) {
505
- var o;
506
- return Ze.some(function(i) {
507
- var r = i[$].options.emptyInsertThreshold;
508
- if (!(!r || _t(i))) {
509
- var a = P(i), l = e >= a.left - r && e <= a.right + r, s = n >= a.top - r && n <= a.bottom + r;
510
- if (l && s)
511
- return o = i;
512
- }
513
- }), o;
514
- }, $t = function(e) {
515
- function n(r, a) {
516
- return function(l, s, u, h) {
517
- var d = l.options.group.name && s.options.group.name && l.options.group.name === s.options.group.name;
518
- if (r == null && (a || d))
519
- return !0;
520
- if (r == null || r === !1)
521
- return !1;
522
- if (a && r === "clone")
523
- return r;
524
- if (typeof r == "function")
525
- return n(r(l, s, u, h), a)(l, s, u, h);
526
- var p = (a ? l : s).options.group.name;
527
- return r === !0 || typeof r == "string" && r === p || r.join && r.indexOf(p) > -1;
528
- };
529
- }
530
- var o = {}, i = e.group;
531
- (!i || We(i) != "object") && (i = {
532
- name: i
533
- }), o.name = i.name, o.checkPull = n(i.pull, !0), o.checkPut = n(i.put), o.revertClone = i.revertClone, e.group = o;
534
- }, zt = function() {
535
- !Gt && y && m(y, "display", "none");
536
- }, Vt = function() {
537
- !Gt && y && m(y, "display", "");
538
- };
539
- et && document.addEventListener("click", function(t) {
540
- if (Ke)
541
- return t.preventDefault(), t.stopPropagation && t.stopPropagation(), t.stopImmediatePropagation && t.stopImmediatePropagation(), Ke = !1, !1;
542
- }, !0);
543
- var ye = function(e) {
544
- if (c) {
545
- e = e.touches ? e.touches[0] : e;
546
- var n = En(e.clientX, e.clientY);
547
- if (n) {
548
- var o = {};
549
- for (var i in e)
550
- e.hasOwnProperty(i) && (o[i] = e[i]);
551
- o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[$]._onDragOver(o);
552
- }
553
- }
554
- }, _n = function(e) {
555
- c && c.parentNode[$]._isOutsideThisEl(e.target);
556
- };
557
- function v(t, e) {
558
- if (!(t && t.nodeType && t.nodeType === 1))
559
- throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(t));
560
- this.el = t, this.options = e = re({}, e), t[$] = this;
561
- var n = {
562
- group: null,
563
- sort: !0,
564
- disabled: !1,
565
- store: null,
566
- handle: null,
567
- draggable: /^[uo]l$/i.test(t.nodeName) ? ">li" : ">*",
568
- swapThreshold: 1,
569
- // percentage; 0 <= x <= 1
570
- invertSwap: !1,
571
- // invert always
572
- invertedSwapThreshold: null,
573
- // will be set to same as swapThreshold if default
574
- removeCloneOnHide: !0,
575
- direction: function() {
576
- return Wt(t, this.options);
577
- },
578
- ghostClass: "sortable-ghost",
579
- chosenClass: "sortable-chosen",
580
- dragClass: "sortable-drag",
581
- ignore: "a, img",
582
- filter: null,
583
- preventOnFilter: !0,
584
- animation: 0,
585
- easing: null,
586
- setData: function(a, l) {
587
- a.setData("Text", l.textContent);
588
- },
589
- dropBubble: !1,
590
- dragoverBubble: !1,
591
- dataIdAttr: "data-id",
592
- delay: 0,
593
- delayOnTouchOnly: !1,
594
- touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
595
- forceFallback: !1,
596
- fallbackClass: "sortable-fallback",
597
- fallbackOnBody: !1,
598
- fallbackTolerance: 0,
599
- fallbackOffset: {
600
- x: 0,
601
- y: 0
602
- },
603
- supportPointer: v.supportPointer !== !1 && "PointerEvent" in window && !Pe,
604
- emptyInsertThreshold: 5
605
- };
606
- Re.initializePlugins(this, t, n);
607
- for (var o in n)
608
- !(o in e) && (e[o] = n[o]);
609
- $t(e);
610
- for (var i in this)
611
- i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
612
- this.nativeDraggable = e.forceFallback ? !1 : yn, this.nativeDraggable && (this.options.touchStartThreshold = 1), e.supportPointer ? D(t, "pointerdown", this._onTapStart) : (D(t, "mousedown", this._onTapStart), D(t, "touchstart", this._onTapStart)), this.nativeDraggable && (D(t, "dragover", this), D(t, "dragenter", this)), Ze.push(this.el), e.store && e.store.get && this.sort(e.store.get(this) || []), re(this, pn());
613
- }
614
- v.prototype = /** @lends Sortable.prototype */
615
- {
616
- constructor: v,
617
- _isOutsideThisEl: function(e) {
618
- !this.el.contains(e) && e !== this.el && (_e = null);
619
- },
620
- _getDirection: function(e, n) {
621
- return typeof this.options.direction == "function" ? this.options.direction.call(this, e, n, c) : this.options.direction;
622
- },
623
- _onTapStart: function(e) {
624
- if (e.cancelable) {
625
- var n = this, o = this.el, i = this.options, r = i.preventOnFilter, a = e.type, l = e.touches && e.touches[0] || e.pointerType && e.pointerType === "touch" && e, s = (l || e).target, u = e.target.shadowRoot && (e.path && e.path[0] || e.composedPath && e.composedPath()[0]) || s, h = i.filter;
626
- if (An(o), !c && !(/mousedown|pointerdown/.test(a) && e.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Pe && s && s.tagName.toUpperCase() === "SELECT") && (s = te(s, i.draggable, o, !1), !(s && s.animated) && $e !== s)) {
627
- if (Se = V(s), Me = V(s, i.draggable), typeof h == "function") {
628
- if (h.call(this, e, s, this)) {
629
- Y({
630
- sortable: n,
631
- rootEl: u,
632
- name: "filter",
633
- targetEl: s,
634
- toEl: o,
635
- fromEl: o
636
- }), H("filter", n, {
637
- evt: e
638
- }), r && e.cancelable && e.preventDefault();
639
- return;
640
- }
641
- } else if (h && (h = h.split(",").some(function(d) {
642
- if (d = te(u, d.trim(), o, !1), d)
643
- return Y({
644
- sortable: n,
645
- rootEl: d,
646
- name: "filter",
647
- targetEl: s,
648
- fromEl: o,
649
- toEl: o
650
- }), H("filter", n, {
651
- evt: e
652
- }), !0;
653
- }), h)) {
654
- r && e.cancelable && e.preventDefault();
655
- return;
656
- }
657
- i.handle && !te(u, i.handle, o, !1) || this._prepareDragStart(e, l, s);
658
- }
659
- }
660
- },
661
- _prepareDragStart: function(e, n, o) {
662
- var i = this, r = i.el, a = i.options, l = r.ownerDocument, s;
663
- if (o && !c && o.parentNode === r) {
664
- var u = P(o);
665
- if (T = r, c = o, C = c.parentNode, we = c.nextSibling, $e = o, Be = a.group, v.dragged = c, be = {
666
- target: c,
667
- clientX: (n || e).clientX,
668
- clientY: (n || e).clientY
669
- }, Nt = be.clientX - u.left, Mt = be.clientY - u.top, this._lastX = (n || e).clientX, this._lastY = (n || e).clientY, c.style["will-change"] = "all", s = function() {
670
- if (H("delayEnded", i, {
671
- evt: e
672
- }), v.eventCanceled) {
673
- i._onDrop();
674
- return;
675
- }
676
- i._disableDelayedDragEvents(), !It && i.nativeDraggable && (c.draggable = !0), i._triggerDragStart(e, n), Y({
677
- sortable: i,
678
- name: "choose",
679
- originalEvent: e
680
- }), G(c, a.chosenClass, !0);
681
- }, a.ignore.split(",").forEach(function(h) {
682
- kt(c, h.trim(), dt);
683
- }), D(l, "dragover", ye), D(l, "mousemove", ye), D(l, "touchmove", ye), D(l, "mouseup", i._onDrop), D(l, "touchend", i._onDrop), D(l, "touchcancel", i._onDrop), It && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), H("delayStart", this, {
684
- evt: e
685
- }), a.delay && (!a.delayOnTouchOnly || n) && (!this.nativeDraggable || !(Le || ae))) {
686
- if (v.eventCanceled) {
687
- this._onDrop();
688
- return;
689
- }
690
- D(l, "mouseup", i._disableDelayedDrag), D(l, "touchend", i._disableDelayedDrag), D(l, "touchcancel", i._disableDelayedDrag), D(l, "mousemove", i._delayedDragTouchMoveHandler), D(l, "touchmove", i._delayedDragTouchMoveHandler), a.supportPointer && D(l, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, a.delay);
691
- } else
692
- s();
693
- }
694
- },
695
- _delayedDragTouchMoveHandler: function(e) {
696
- var n = e.touches ? e.touches[0] : e;
697
- 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();
698
- },
699
- _disableDelayedDrag: function() {
700
- c && dt(c), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
701
- },
702
- _disableDelayedDragEvents: function() {
703
- var e = this.el.ownerDocument;
704
- _(e, "mouseup", this._disableDelayedDrag), _(e, "touchend", this._disableDelayedDrag), _(e, "touchcancel", this._disableDelayedDrag), _(e, "mousemove", this._delayedDragTouchMoveHandler), _(e, "touchmove", this._delayedDragTouchMoveHandler), _(e, "pointermove", this._delayedDragTouchMoveHandler);
705
- },
706
- _triggerDragStart: function(e, n) {
707
- n = n || e.pointerType == "touch" && e, !this.nativeDraggable || n ? this.options.supportPointer ? D(document, "pointermove", this._onTouchMove) : n ? D(document, "touchmove", this._onTouchMove) : D(document, "mousemove", this._onTouchMove) : (D(c, "dragend", this), D(T, "dragstart", this._onDragStart));
708
- try {
709
- document.selection ? Ve(function() {
710
- document.selection.empty();
711
- }) : window.getSelection().removeAllRanges();
712
- } catch {
713
- }
714
- },
715
- _dragStarted: function(e, n) {
716
- if (De = !1, T && c) {
717
- H("dragStarted", this, {
718
- evt: n
719
- }), this.nativeDraggable && D(document, "dragover", _n);
720
- var o = this.options;
721
- !e && G(c, o.dragClass, !1), G(c, o.ghostClass, !0), v.active = this, e && this._appendGhost(), Y({
722
- sortable: this,
723
- name: "start",
724
- originalEvent: n
725
- });
726
- } else
727
- this._nulling();
728
- },
729
- _emulateDragOver: function() {
730
- if (Z) {
731
- this._lastX = Z.clientX, this._lastY = Z.clientY, zt();
732
- for (var e = document.elementFromPoint(Z.clientX, Z.clientY), n = e; e && e.shadowRoot && (e = e.shadowRoot.elementFromPoint(Z.clientX, Z.clientY), e !== n); )
733
- n = e;
734
- if (c.parentNode[$]._isOutsideThisEl(e), n)
735
- do {
736
- if (n[$]) {
737
- var o = void 0;
738
- if (o = n[$]._onDragOver({
739
- clientX: Z.clientX,
740
- clientY: Z.clientY,
741
- target: e,
742
- rootEl: n
743
- }), o && !this.options.dragoverBubble)
744
- break;
745
- }
746
- e = n;
747
- } while (n = n.parentNode);
748
- Vt();
749
- }
750
- },
751
- _onTouchMove: function(e) {
752
- if (be) {
753
- var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, r = e.touches ? e.touches[0] : e, a = y && Te(y, !0), l = y && a && a.a, s = y && a && a.d, u = He && X && Pt(X), h = (r.clientX - be.clientX + i.x) / (l || 1) + (u ? u[0] - ct[0] : 0) / (l || 1), d = (r.clientY - be.clientY + i.y) / (s || 1) + (u ? u[1] - ct[1] : 0) / (s || 1);
754
- if (!v.active && !De) {
755
- if (o && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < o)
756
- return;
757
- this._onDragStart(e, !0);
758
- }
759
- if (y) {
760
- a ? (a.e += h - (st || 0), a.f += d - (ut || 0)) : a = {
761
- a: 1,
762
- b: 0,
763
- c: 0,
764
- d: 1,
765
- e: h,
766
- f: d
767
- };
768
- var p = "matrix(".concat(a.a, ",").concat(a.b, ",").concat(a.c, ",").concat(a.d, ",").concat(a.e, ",").concat(a.f, ")");
769
- m(y, "webkitTransform", p), m(y, "mozTransform", p), m(y, "msTransform", p), m(y, "transform", p), st = h, ut = d, Z = r;
770
- }
771
- e.cancelable && e.preventDefault();
772
- }
773
- },
774
- _appendGhost: function() {
775
- if (!y) {
776
- var e = this.options.fallbackOnBody ? document.body : T, n = P(c, !0, He, !0, e), o = this.options;
777
- if (He) {
778
- for (X = e; m(X, "position") === "static" && m(X, "transform") === "none" && X !== document; )
779
- X = X.parentNode;
780
- X !== document.body && X !== document.documentElement ? (X === document && (X = ne()), n.top += X.scrollTop, n.left += X.scrollLeft) : X = ne(), ct = Pt(X);
781
- }
782
- y = c.cloneNode(!0), G(y, o.ghostClass, !1), G(y, o.fallbackClass, !0), G(y, o.dragClass, !0), m(y, "transition", ""), m(y, "transform", ""), m(y, "box-sizing", "border-box"), m(y, "margin", 0), m(y, "top", n.top), m(y, "left", n.left), m(y, "width", n.width), m(y, "height", n.height), m(y, "opacity", "0.8"), m(y, "position", He ? "absolute" : "fixed"), m(y, "zIndex", "100000"), m(y, "pointerEvents", "none"), v.ghost = y, e.appendChild(y), m(y, "transform-origin", Nt / parseInt(y.style.width) * 100 + "% " + Mt / parseInt(y.style.height) * 100 + "%");
783
- }
784
- },
785
- _onDragStart: function(e, n) {
786
- var o = this, i = e.dataTransfer, r = o.options;
787
- if (H("dragStart", this, {
788
- evt: e
789
- }), v.eventCanceled) {
790
- this._onDrop();
791
- return;
792
- }
793
- H("setupClone", this), v.eventCanceled || (O = Ht(c), O.draggable = !1, O.style["will-change"] = "", this._hideClone(), G(O, this.options.chosenClass, !1), v.clone = O), o.cloneId = Ve(function() {
794
- H("clone", o), !v.eventCanceled && (o.options.removeCloneOnHide || T.insertBefore(O, c), o._hideClone(), Y({
795
- sortable: o,
796
- name: "clone"
797
- }));
798
- }), !n && G(c, r.dragClass, !0), n ? (Ke = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (_(document, "mouseup", o._onDrop), _(document, "touchend", o._onDrop), _(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", r.setData && r.setData.call(o, i, c)), D(document, "drop", o), m(c, "transform", "translateZ(0)")), De = !0, o._dragStartId = Ve(o._dragStarted.bind(o, n, e)), D(document, "selectstart", o), Ie = !0, Pe && m(document.body, "user-select", "none");
799
- },
800
- // Returns true - if no further action is needed (either inserted or another condition)
801
- _onDragOver: function(e) {
802
- var n = this.el, o = e.target, i, r, a, l = this.options, s = l.group, u = v.active, h = Be === s, d = l.sort, p = M || u, S, w = this, E = !1;
803
- if (mt) return;
804
- function N(de, tt) {
805
- H(de, w, oe({
806
- evt: e,
807
- isOwner: h,
808
- axis: S ? "vertical" : "horizontal",
809
- revert: a,
810
- dragRect: i,
811
- targetRect: r,
812
- canSort: d,
813
- fromSortable: p,
814
- target: o,
815
- completed: I,
816
- onMove: function(Oe, nt) {
817
- return Ge(T, n, c, i, Oe, P(Oe), e, nt);
818
- },
819
- changed: L
820
- }, tt));
821
- }
822
- function z() {
823
- N("dragOverAnimationCapture"), w.captureAnimationState(), w !== p && p.captureAnimationState();
824
- }
825
- function I(de) {
826
- return N("dragOverCompleted", {
827
- insertion: de
828
- }), de && (h ? u._hideClone() : u._showClone(w), w !== p && (G(c, M ? M.options.ghostClass : u.options.ghostClass, !1), G(c, l.ghostClass, !0)), M !== w && w !== v.active ? M = w : w === v.active && M && (M = null), p === w && (w._ignoreWhileAnimating = o), w.animateAll(function() {
829
- N("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
830
- }), w !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (o === c && !c.animated || o === n && !o.animated) && (_e = null), !l.dragoverBubble && !e.rootEl && o !== document && (c.parentNode[$]._isOutsideThisEl(e.target), !de && ye(e)), !l.dragoverBubble && e.stopPropagation && e.stopPropagation(), E = !0;
831
- }
832
- function L() {
833
- W = V(c), he = V(c, l.draggable), Y({
834
- sortable: w,
835
- name: "change",
836
- toEl: n,
837
- newIndex: W,
838
- newDraggableIndex: he,
839
- originalEvent: e
840
- });
841
- }
842
- if (e.preventDefault !== void 0 && e.cancelable && e.preventDefault(), o = te(o, l.draggable, n, !0), N("dragOver"), v.eventCanceled) return E;
843
- if (c.contains(e.target) || o.animated && o.animatingX && o.animatingY || w._ignoreWhileAnimating === o)
844
- return I(!1);
845
- if (Ke = !1, u && !l.disabled && (h ? d || (a = C !== T) : M === this || (this.lastPutMode = Be.checkPull(this, u, c, e)) && s.checkPut(this, u, c, e))) {
846
- if (S = this._getDirection(e, o) === "vertical", i = P(c), N("dragOverValid"), v.eventCanceled) return E;
847
- if (a)
848
- return C = T, z(), this._hideClone(), N("revert"), v.eventCanceled || (we ? T.insertBefore(c, we) : T.appendChild(c)), I(!0);
849
- var k = _t(n, l.draggable);
850
- if (!k || Cn(e, S, this) && !k.animated) {
851
- if (k === c)
852
- return I(!1);
853
- if (k && n === e.target && (o = k), o && (r = P(o)), Ge(T, n, c, i, o, r, e, !!o) !== !1)
854
- return z(), n.appendChild(c), C = n, L(), I(!0);
855
- } else if (k && Tn(e, S, this)) {
856
- var Q = Ce(n, 0, l, !0);
857
- if (Q === c)
858
- return I(!1);
859
- if (o = Q, r = P(o), Ge(T, n, c, i, o, r, e, !1) !== !1)
860
- return z(), n.insertBefore(c, Q), C = n, L(), I(!0);
861
- } else if (o.parentNode === n) {
862
- r = P(o);
863
- var B = 0, J, le = c.parentNode !== n, F = !wn(c.animated && c.toRect || i, o.animated && o.toRect || r, S), se = S ? "top" : "left", U = At(o, "top", "top") || At(c, "top", "top"), ue = U ? U.scrollTop : void 0;
864
- _e !== o && (J = r[se], Xe = !1, je = !F && l.invertSwap || le), B = On(e, o, r, S, F ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, je, _e === o);
865
- var q;
866
- if (B !== 0) {
867
- var ee = V(c);
868
- do
869
- ee -= B, q = C.children[ee];
870
- while (q && (m(q, "display") === "none" || q === y));
871
- }
872
- if (B === 0 || q === o)
873
- return I(!1);
874
- _e = o, Fe = B;
875
- var ce = o.nextElementSibling, K = !1;
876
- K = B === 1;
877
- var me = Ge(T, n, c, i, o, r, e, K);
878
- if (me !== !1)
879
- return (me === 1 || me === -1) && (K = me === 1), mt = !0, setTimeout(Sn, 30), z(), K && !ce ? n.appendChild(c) : o.parentNode.insertBefore(c, K ? ce : o), U && jt(U, 0, ue - U.scrollTop), C = c.parentNode, J !== void 0 && !je && (ze = Math.abs(J - P(o)[se])), L(), I(!0);
880
- }
881
- if (n.contains(c))
882
- return I(!1);
883
- }
884
- return !1;
885
- },
886
- _ignoreWhileAnimating: null,
887
- _offMoveEvents: function() {
888
- _(document, "mousemove", this._onTouchMove), _(document, "touchmove", this._onTouchMove), _(document, "pointermove", this._onTouchMove), _(document, "dragover", ye), _(document, "mousemove", ye), _(document, "touchmove", ye);
889
- },
890
- _offUpEvents: function() {
891
- var e = this.el.ownerDocument;
892
- _(e, "mouseup", this._onDrop), _(e, "touchend", this._onDrop), _(e, "pointerup", this._onDrop), _(e, "touchcancel", this._onDrop), _(document, "selectstart", this);
893
- },
894
- _onDrop: function(e) {
895
- var n = this.el, o = this.options;
896
- if (W = V(c), he = V(c, o.draggable), H("drop", this, {
897
- evt: e
898
- }), C = c && c.parentNode, W = V(c), he = V(c, o.draggable), v.eventCanceled) {
899
- this._nulling();
900
- return;
901
- }
902
- De = !1, je = !1, Xe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), vt(this.cloneId), vt(this._dragStartId), this.nativeDraggable && (_(document, "drop", this), _(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Pe && m(document.body, "user-select", ""), m(c, "transform", ""), e && (Ie && (e.cancelable && e.preventDefault(), !o.dropBubble && e.stopPropagation()), y && y.parentNode && y.parentNode.removeChild(y), (T === C || M && M.lastPutMode !== "clone") && O && O.parentNode && O.parentNode.removeChild(O), c && (this.nativeDraggable && _(c, "dragend", this), dt(c), c.style["will-change"] = "", Ie && !De && G(c, M ? M.options.ghostClass : this.options.ghostClass, !1), G(c, this.options.chosenClass, !1), Y({
903
- sortable: this,
904
- name: "unchoose",
905
- toEl: C,
906
- newIndex: null,
907
- newDraggableIndex: null,
908
- originalEvent: e
909
- }), T !== C ? (W >= 0 && (Y({
910
- rootEl: C,
911
- name: "add",
912
- toEl: C,
913
- fromEl: T,
914
- originalEvent: e
915
- }), Y({
916
- sortable: this,
917
- name: "remove",
918
- toEl: C,
919
- originalEvent: e
920
- }), Y({
921
- rootEl: C,
922
- name: "sort",
923
- toEl: C,
924
- fromEl: T,
925
- originalEvent: e
926
- }), Y({
927
- sortable: this,
928
- name: "sort",
929
- toEl: C,
930
- originalEvent: e
931
- })), M && M.save()) : W !== Se && W >= 0 && (Y({
932
- sortable: this,
933
- name: "update",
934
- toEl: C,
935
- originalEvent: e
936
- }), Y({
937
- sortable: this,
938
- name: "sort",
939
- toEl: C,
940
- originalEvent: e
941
- })), v.active && ((W == null || W === -1) && (W = Se, he = Me), Y({
942
- sortable: this,
943
- name: "end",
944
- toEl: C,
945
- originalEvent: e
946
- }), this.save()))), this._nulling();
947
- },
948
- _nulling: function() {
949
- H("nulling", this), T = c = C = y = we = O = $e = pe = be = Z = Ie = W = he = Se = Me = _e = Fe = M = Be = v.dragged = v.ghost = v.clone = v.active = null, Qe.forEach(function(e) {
950
- e.checked = !0;
951
- }), Qe.length = st = ut = 0;
952
- },
953
- handleEvent: function(e) {
954
- switch (e.type) {
955
- case "drop":
956
- case "dragend":
957
- this._onDrop(e);
958
- break;
959
- case "dragenter":
960
- case "dragover":
961
- c && (this._onDragOver(e), Dn(e));
962
- break;
963
- case "selectstart":
964
- e.preventDefault();
965
- break;
966
- }
967
- },
968
- /**
969
- * Serializes the item into an array of string.
970
- * @returns {String[]}
971
- */
972
- toArray: function() {
973
- for (var e = [], n, o = this.el.children, i = 0, r = o.length, a = this.options; i < r; i++)
974
- n = o[i], te(n, a.draggable, this.el, !1) && e.push(n.getAttribute(a.dataIdAttr) || xn(n));
975
- return e;
976
- },
977
- /**
978
- * Sorts the elements according to the array.
979
- * @param {String[]} order order of the items
980
- */
981
- sort: function(e, n) {
982
- var o = {}, i = this.el;
983
- this.toArray().forEach(function(r, a) {
984
- var l = i.children[a];
985
- te(l, this.options.draggable, i, !1) && (o[r] = l);
986
- }, this), n && this.captureAnimationState(), e.forEach(function(r) {
987
- o[r] && (i.removeChild(o[r]), i.appendChild(o[r]));
988
- }), n && this.animateAll();
989
- },
990
- /**
991
- * Save the current sorting
992
- */
993
- save: function() {
994
- var e = this.options.store;
995
- e && e.set && e.set(this);
996
- },
997
- /**
998
- * 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.
999
- * @param {HTMLElement} el
1000
- * @param {String} [selector] default: `options.draggable`
1001
- * @returns {HTMLElement|null}
1002
- */
1003
- closest: function(e, n) {
1004
- return te(e, n || this.options.draggable, this.el, !1);
1005
- },
1006
- /**
1007
- * Set/get option
1008
- * @param {string} name
1009
- * @param {*} [value]
1010
- * @returns {*}
1011
- */
1012
- option: function(e, n) {
1013
- var o = this.options;
1014
- if (n === void 0)
1015
- return o[e];
1016
- var i = Re.modifyOption(this, e, n);
1017
- typeof i < "u" ? o[e] = i : o[e] = n, e === "group" && $t(o);
1018
- },
1019
- /**
1020
- * Destroy
1021
- */
1022
- destroy: function() {
1023
- H("destroy", this);
1024
- var e = this.el;
1025
- e[$] = null, _(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart), _(e, "pointerdown", this._onTapStart), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), Array.prototype.forEach.call(e.querySelectorAll("[draggable]"), function(n) {
1026
- n.removeAttribute("draggable");
1027
- }), this._onDrop(), this._disableDelayedDragEvents(), Ze.splice(Ze.indexOf(this.el), 1), this.el = e = null;
1028
- },
1029
- _hideClone: function() {
1030
- if (!pe) {
1031
- if (H("hideClone", this), v.eventCanceled) return;
1032
- m(O, "display", "none"), this.options.removeCloneOnHide && O.parentNode && O.parentNode.removeChild(O), pe = !0;
1033
- }
1034
- },
1035
- _showClone: function(e) {
1036
- if (e.lastPutMode !== "clone") {
1037
- this._hideClone();
1038
- return;
1039
- }
1040
- if (pe) {
1041
- if (H("showClone", this), v.eventCanceled) return;
1042
- c.parentNode == T && !this.options.group.revertClone ? T.insertBefore(O, c) : we ? T.insertBefore(O, we) : T.appendChild(O), this.options.group.revertClone && this.animate(c, O), m(O, "display", ""), pe = !1;
1043
- }
1044
- }
1045
- };
1046
- function Dn(t) {
1047
- t.dataTransfer && (t.dataTransfer.dropEffect = "move"), t.cancelable && t.preventDefault();
1048
- }
1049
- function Ge(t, e, n, o, i, r, a, l) {
1050
- var s, u = t[$], h = u.options.onMove, d;
1051
- return window.CustomEvent && !ae && !Le ? s = new CustomEvent("move", {
1052
- bubbles: !0,
1053
- cancelable: !0
1054
- }) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = e, s.from = t, s.dragged = n, s.draggedRect = o, s.related = i || e, s.relatedRect = r || P(e), s.willInsertAfter = l, s.originalEvent = a, t.dispatchEvent(s), h && (d = h.call(u, s, a)), d;
1055
- }
1056
- function dt(t) {
1057
- t.draggable = !1;
1058
- }
1059
- function Sn() {
1060
- mt = !1;
1061
- }
1062
- function Tn(t, e, n) {
1063
- var o = P(Ce(n.el, 0, n.options, !0)), i = 10;
1064
- return e ? t.clientX < o.left - i || t.clientY < o.top && t.clientX < o.right : t.clientY < o.top - i || t.clientY < o.bottom && t.clientX < o.left;
1065
- }
1066
- function Cn(t, e, n) {
1067
- var o = P(_t(n.el, n.options.draggable)), i = 10;
1068
- return e ? t.clientX > o.right + i || t.clientX <= o.right && t.clientY > o.bottom && t.clientX >= o.left : t.clientX > o.right && t.clientY > o.top || t.clientX <= o.right && t.clientY > o.bottom + i;
1069
- }
1070
- function On(t, e, n, o, i, r, a, l) {
1071
- var s = o ? t.clientY : t.clientX, u = o ? n.height : n.width, h = o ? n.top : n.left, d = o ? n.bottom : n.right, p = !1;
1072
- if (!a) {
1073
- if (l && ze < u * i) {
1074
- if (!Xe && (Fe === 1 ? s > h + u * r / 2 : s < d - u * r / 2) && (Xe = !0), Xe)
1075
- p = !0;
1076
- else if (Fe === 1 ? s < h + ze : s > d - ze)
1077
- return -Fe;
1078
- } else if (s > h + u * (1 - i) / 2 && s < d - u * (1 - i) / 2)
1079
- return In(e);
1080
- }
1081
- return p = p || a, p && (s < h + u * r / 2 || s > d - u * r / 2) ? s > h + u / 2 ? 1 : -1 : 0;
1082
- }
1083
- function In(t) {
1084
- return V(c) < V(t) ? 1 : -1;
1085
- }
1086
- function xn(t) {
1087
- for (var e = t.tagName + t.className + t.src + t.href + t.textContent, n = e.length, o = 0; n--; )
1088
- o += e.charCodeAt(n);
1089
- return o.toString(36);
1090
- }
1091
- function An(t) {
1092
- Qe.length = 0;
1093
- for (var e = t.getElementsByTagName("input"), n = e.length; n--; ) {
1094
- var o = e[n];
1095
- o.checked && Qe.push(o);
1096
- }
1097
- }
1098
- function Ve(t) {
1099
- return setTimeout(t, 0);
1100
- }
1101
- function vt(t) {
1102
- return clearTimeout(t);
1103
- }
1104
- et && D(document, "touchmove", function(t) {
1105
- (v.active || De) && t.cancelable && t.preventDefault();
1106
- });
1107
- v.utils = {
1108
- on: D,
1109
- off: _,
1110
- css: m,
1111
- find: kt,
1112
- is: function(e, n) {
1113
- return !!te(e, n, e, !1);
1114
- },
1115
- extend: fn,
1116
- throttle: Bt,
1117
- closest: te,
1118
- toggleClass: G,
1119
- clone: Ht,
1120
- index: V,
1121
- nextTick: Ve,
1122
- cancelNextTick: vt,
1123
- detectDirection: Wt,
1124
- getChild: Ce
1125
- };
1126
- v.get = function(t) {
1127
- return t[$];
1128
- };
1129
- v.mount = function() {
1130
- for (var t = arguments.length, e = new Array(t), n = 0; n < t; n++)
1131
- e[n] = arguments[n];
1132
- e[0].constructor === Array && (e = e[0]), e.forEach(function(o) {
1133
- if (!o.prototype || !o.prototype.constructor)
1134
- throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
1135
- o.utils && (v.utils = oe(oe({}, v.utils), o.utils)), Re.mount(o);
1136
- });
1137
- };
1138
- v.create = function(t, e) {
1139
- return new v(t, e);
1140
- };
1141
- v.version = sn;
1142
- var A = [], xe, bt, yt = !1, ft, ht, Je, Ae;
1143
- function Pn() {
1144
- function t() {
1145
- this.defaults = {
1146
- scroll: !0,
1147
- forceAutoScrollFallback: !1,
1148
- scrollSensitivity: 30,
1149
- scrollSpeed: 10,
1150
- bubbleScroll: !0
1151
- };
1152
- for (var e in this)
1153
- e.charAt(0) === "_" && typeof this[e] == "function" && (this[e] = this[e].bind(this));
1154
- }
1155
- return t.prototype = {
1156
- dragStarted: function(n) {
1157
- var o = n.originalEvent;
1158
- this.sortable.nativeDraggable ? D(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? D(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? D(document, "touchmove", this._handleFallbackAutoScroll) : D(document, "mousemove", this._handleFallbackAutoScroll);
1159
- },
1160
- dragOverCompleted: function(n) {
1161
- var o = n.originalEvent;
1162
- !this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
1163
- },
1164
- drop: function() {
1165
- this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : (_(document, "pointermove", this._handleFallbackAutoScroll), _(document, "touchmove", this._handleFallbackAutoScroll), _(document, "mousemove", this._handleFallbackAutoScroll)), Xt(), Ue(), hn();
1166
- },
1167
- nulling: function() {
1168
- Je = bt = xe = yt = Ae = ft = ht = null, A.length = 0;
1169
- },
1170
- _handleFallbackAutoScroll: function(n) {
1171
- this._handleAutoScroll(n, !0);
1172
- },
1173
- _handleAutoScroll: function(n, o) {
1174
- var i = this, r = (n.touches ? n.touches[0] : n).clientX, a = (n.touches ? n.touches[0] : n).clientY, l = document.elementFromPoint(r, a);
1175
- if (Je = n, o || this.options.forceAutoScrollFallback || Le || ae || Pe) {
1176
- pt(n, this.options, l, o);
1177
- var s = ge(l, !0);
1178
- yt && (!Ae || r !== ft || a !== ht) && (Ae && Xt(), Ae = setInterval(function() {
1179
- var u = ge(document.elementFromPoint(r, a), !0);
1180
- u !== s && (s = u, Ue()), pt(n, i.options, u, o);
1181
- }, 10), ft = r, ht = a);
1182
- } else {
1183
- if (!this.options.bubbleScroll || ge(l, !0) === ne()) {
1184
- Ue();
1185
- return;
1186
- }
1187
- pt(n, this.options, ge(l, !1), !1);
1188
- }
1189
- }
1190
- }, re(t, {
1191
- pluginName: "scroll",
1192
- initializeByDefault: !0
1193
- });
1194
- }
1195
- function Ue() {
1196
- A.forEach(function(t) {
1197
- clearInterval(t.pid);
1198
- }), A = [];
1199
- }
1200
- function Xt() {
1201
- clearInterval(Ae);
1202
- }
1203
- var pt = Bt(function(t, e, n, o) {
1204
- if (e.scroll) {
1205
- var i = (t.touches ? t.touches[0] : t).clientX, r = (t.touches ? t.touches[0] : t).clientY, a = e.scrollSensitivity, l = e.scrollSpeed, s = ne(), u = !1, h;
1206
- bt !== n && (bt = n, Ue(), xe = e.scroll, h = e.scrollFn, xe === !0 && (xe = ge(n, !0)));
1207
- var d = 0, p = xe;
1208
- do {
1209
- var S = p, w = P(S), E = w.top, N = w.bottom, z = w.left, I = w.right, L = w.width, k = w.height, Q = void 0, B = void 0, J = S.scrollWidth, le = S.scrollHeight, F = m(S), se = S.scrollLeft, U = S.scrollTop;
1210
- S === s ? (Q = L < J && (F.overflowX === "auto" || F.overflowX === "scroll" || F.overflowX === "visible"), B = k < le && (F.overflowY === "auto" || F.overflowY === "scroll" || F.overflowY === "visible")) : (Q = L < J && (F.overflowX === "auto" || F.overflowX === "scroll"), B = k < le && (F.overflowY === "auto" || F.overflowY === "scroll"));
1211
- var ue = Q && (Math.abs(I - i) <= a && se + L < J) - (Math.abs(z - i) <= a && !!se), q = B && (Math.abs(N - r) <= a && U + k < le) - (Math.abs(E - r) <= a && !!U);
1212
- if (!A[d])
1213
- for (var ee = 0; ee <= d; ee++)
1214
- A[ee] || (A[ee] = {});
1215
- (A[d].vx != ue || A[d].vy != q || A[d].el !== S) && (A[d].el = S, A[d].vx = ue, A[d].vy = q, clearInterval(A[d].pid), (ue != 0 || q != 0) && (u = !0, A[d].pid = setInterval((function() {
1216
- o && this.layer === 0 && v.active._onTouchMove(Je);
1217
- var ce = A[this.layer].vy ? A[this.layer].vy * l : 0, K = A[this.layer].vx ? A[this.layer].vx * l : 0;
1218
- typeof h == "function" && h.call(v.dragged.parentNode[$], K, ce, t, Je, A[this.layer].el) !== "continue" || jt(A[this.layer].el, K, ce);
1219
- }).bind({
1220
- layer: d
1221
- }), 24))), d++;
1222
- } while (e.bubbleScroll && p !== s && (p = ge(p, !1)));
1223
- yt = u;
1224
- }
1225
- }, 30), Ut = function(e) {
1226
- var n = e.originalEvent, o = e.putSortable, i = e.dragEl, r = e.activeSortable, a = e.dispatchSortableEvent, l = e.hideGhostForTarget, s = e.unhideGhostForTarget;
1227
- if (n) {
1228
- var u = o || r;
1229
- l();
1230
- var h = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, d = document.elementFromPoint(h.clientX, h.clientY);
1231
- s(), u && !u.el.contains(d) && (a("spill"), this.onSpill({
1232
- dragEl: i,
1233
- putSortable: o
1234
- }));
1235
- }
1236
- };
1237
- function Dt() {
1238
- }
1239
- Dt.prototype = {
1240
- startIndex: null,
1241
- dragStart: function(e) {
1242
- var n = e.oldDraggableIndex;
1243
- this.startIndex = n;
1244
- },
1245
- onSpill: function(e) {
1246
- var n = e.dragEl, o = e.putSortable;
1247
- this.sortable.captureAnimationState(), o && o.captureAnimationState();
1248
- var i = Ce(this.sortable.el, this.startIndex, this.options);
1249
- i ? this.sortable.el.insertBefore(n, i) : this.sortable.el.appendChild(n), this.sortable.animateAll(), o && o.animateAll();
1250
- },
1251
- drop: Ut
1252
- };
1253
- re(Dt, {
1254
- pluginName: "revertOnSpill"
1255
- });
1256
- function St() {
1257
- }
1258
- St.prototype = {
1259
- onSpill: function(e) {
1260
- var n = e.dragEl, o = e.putSortable, i = o || this.sortable;
1261
- i.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), i.animateAll();
1262
- },
1263
- drop: Ut
1264
- };
1265
- re(St, {
1266
- pluginName: "removeOnSpill"
1267
- });
1268
- v.mount(new Pn());
1269
- v.mount(St, Dt);
1270
- function Nn(t, e) {
1271
- return Object.values(t).indexOf(e);
1272
- }
1273
- function Mn(t, e, n, o) {
1274
- if (!t)
1275
- return [];
1276
- const i = Object.values(t), r = e.length - o;
1277
- return [...e].map((l, s) => s >= r ? i.length : i.indexOf(l));
1278
- }
1279
- function Fn(t) {
1280
- return ["transition-group", "TransitionGroup"].includes(t);
1281
- }
1282
- function Lt(t) {
1283
- if (!t || t.length !== 1)
1284
- return !1;
1285
- const [{ type: e }] = t;
1286
- return e ? Fn(e.name) : !1;
1287
- }
1288
- function Xn(t, e) {
1289
- return e ? { ...e.props, ...e.attrs } : t;
1290
- }
1291
- const wt = ["Start", "Add", "Remove", "Update", "End"], Et = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], Ln = ["Move", ...wt, ...Et].map((t) => "on" + t);
1292
- let gt = null;
1293
- const Yn = qt({
1294
- name: "VueDraggableNext",
1295
- inheritAttrs: !1,
1296
- props: {
1297
- options: Object,
1298
- list: {
1299
- type: Array,
1300
- required: !1,
1301
- default: null
1302
- },
1303
- noTransitionOnDrag: {
1304
- type: Boolean,
1305
- default: !1
1306
- },
1307
- clone: {
1308
- type: Function,
1309
- default: (t) => t
1310
- },
1311
- tag: {
1312
- type: String,
1313
- default: "div"
1314
- },
1315
- move: {
1316
- type: Function,
1317
- default: null
1318
- },
1319
- componentData: {
1320
- type: Object,
1321
- required: !1,
1322
- default: null
1323
- },
1324
- component: {
1325
- type: String,
1326
- default: null
1327
- },
1328
- modelValue: {
1329
- type: Array,
1330
- required: !1,
1331
- default: null
1332
- }
1333
- },
1334
- emits: [
1335
- "update:modelValue",
1336
- "move",
1337
- "change",
1338
- ...wt.map((t) => t.toLowerCase()),
1339
- ...Et.map((t) => t.toLowerCase())
1340
- ],
1341
- setup(t, { emit: e, slots: n, attrs: o }) {
1342
- const i = ve(!1), r = ve(!1), a = ve(0), l = ve(0), s = ve([]), u = ve(null), h = ve(null), d = Kt(() => t.list ? t.list : t.modelValue), p = Zt();
1343
- function S() {
1344
- return t.component ? Jt(t.component) : t.tag;
1345
- }
1346
- function w(f) {
1347
- if (h.value)
1348
- for (const g in f) {
1349
- const b = Tt(g);
1350
- Ln.indexOf(b) === -1 && h.value.option(b, f[g]);
1351
- }
1352
- }
1353
- function E() {
1354
- var f;
1355
- return ((f = p == null ? void 0 : p.proxy) == null ? void 0 : f.$el.children) || [];
1356
- }
1357
- async function N() {
1358
- var f;
1359
- await it(), s.value = Mn(E(), ((f = p == null ? void 0 : p.proxy) == null ? void 0 : f.$el.children) || [], i.value, l.value);
1360
- }
1361
- function z(f) {
1362
- const g = Nn(E() || [], f);
1363
- if (g === -1)
1364
- return null;
1365
- const b = d.value ? d.value[g] : null;
1366
- return { index: g, element: b };
1367
- }
1368
- function I(f) {
1369
- it(() => e("change", f));
1370
- }
1371
- function L(f) {
1372
- if (t.list) {
1373
- f(t.list);
1374
- return;
1375
- }
1376
- const g = [...t.modelValue || []];
1377
- f(g), e("update:modelValue", g);
1378
- }
1379
- function k(...f) {
1380
- L((b) => b.splice(...f));
1381
- }
1382
- function Q(f, g) {
1383
- L((x) => x.splice(g, 0, x.splice(f, 1)[0]));
1384
- }
1385
- function B(f) {
1386
- const g = s.value, b = g.length;
1387
- return f > b - 1 ? b : g[f];
1388
- }
1389
- function J() {
1390
- var g, b;
1391
- return n.default && ((b = (g = n.default()[0]) == null ? void 0 : g.component) == null ? void 0 : b.proxy) || null;
1392
- }
1393
- function le(f) {
1394
- if (!t.noTransitionOnDrag || !i.value)
1395
- return;
1396
- const g = E();
1397
- g[f] && (g[f].data = null);
1398
- const b = J();
1399
- b && (b.children = [], b.kept = void 0);
1400
- }
1401
- function F(f) {
1402
- N(), u.value = z(f.item), u.value && (f.item._underlying_vm_ = t.clone(u.value.element), gt = f.item);
1403
- }
1404
- function se(f) {
1405
- const g = f.item._underlying_vm_;
1406
- if (g === void 0)
1407
- return;
1408
- rt(f.item);
1409
- const b = B(f.newIndex);
1410
- k(b, 0, g), N(), I({ added: { element: g, newIndex: b } });
1411
- }
1412
- function U(f) {
1413
- var b;
1414
- if (Ct((b = p == null ? void 0 : p.proxy) == null ? void 0 : b.$el, f.item, f.oldIndex), f.pullMode === "clone") {
1415
- rt(f.clone);
1416
- return;
1417
- }
1418
- if (!u.value)
1419
- return;
1420
- const g = u.value.index;
1421
- k(g, 1), le(g), I({ removed: { element: u.value.element, oldIndex: g } });
1422
- }
1423
- function ue(f) {
1424
- var x, R;
1425
- rt(f.item), Ct(f.from, f.item, f.oldIndex);
1426
- const g = (x = u.value) == null ? void 0 : x.index, b = B(f.newIndex);
1427
- Q(g, b), I({
1428
- moved: { element: (R = u.value) == null ? void 0 : R.element, oldIndex: g, newIndex: b }
1429
- });
1430
- }
1431
- function q(f, g) {
1432
- Object.prototype.hasOwnProperty.call(f, g) && (f[g] += a.value);
1433
- }
1434
- function ee(f) {
1435
- return f.__draggable_component__;
1436
- }
1437
- function ce({ to: f, related: g }) {
1438
- const b = ee(f);
1439
- if (!b)
1440
- return { component: b };
1441
- const x = b.realList, R = { list: x, component: b };
1442
- if (f !== g && x && b.getUnderlyingVm) {
1443
- const fe = b.getUnderlyingVm(g);
1444
- if (fe)
1445
- return Object.assign(fe, R);
1446
- }
1447
- return R;
1448
- }
1449
- function K(f, g) {
1450
- const b = [...g.to.children].filter((j) => j.style.display !== "none");
1451
- if (b.length === 0)
1452
- return 0;
1453
- const x = b.indexOf(g.related), R = f.component.getVmIndex(x);
1454
- return b.indexOf(gt) !== -1 || !g.willInsertAfter ? R : R + 1;
1455
- }
1456
- const me = () => {
1457
- var R, fe;
1458
- const f = {};
1459
- wt.forEach((j) => {
1460
- f["on" + j] = tt(j);
1461
- }), Et.forEach((j) => {
1462
- f["on" + j] = de.bind(null, j);
1463
- });
1464
- const g = Object.keys(o).reduce((j, ke) => (j[Tt(ke)] = o[ke], j), {}), b = Object.assign({}, g, f, {
1465
- onMove: (j, ke) => Ye(j, ke)
1466
- });
1467
- "draggable" in b || (b.draggable = ">*");
1468
- const x = ((R = p == null ? void 0 : p.proxy) == null ? void 0 : R.$el.nodeType) === 1 ? p.proxy.$el : ((fe = p == null ? void 0 : p.proxy) == null ? void 0 : fe.$el.parentElement) || null;
1469
- x && (h.value = new v(x, b), x.__draggable_component__ = p == null ? void 0 : p.proxy, N());
1470
- };
1471
- function de(f, g) {
1472
- it(() => e(f.toLowerCase(), g));
1473
- }
1474
- function tt(f) {
1475
- return (g) => {
1476
- if (d.value !== null) {
1477
- const b = "onDrag" + f, x = nt[b];
1478
- x && x(g);
1479
- }
1480
- de(f, g);
1481
- };
1482
- }
1483
- function Ye(f, g) {
1484
- const b = t.move;
1485
- if (!b || !d.value)
1486
- return !0;
1487
- const x = ce(f), R = u.value, fe = K(x, f);
1488
- R && Object.assign(R, { futureIndex: fe });
1489
- const j = Object.assign({}, f, {
1490
- relatedContext: x,
1491
- draggedContext: R
1492
- });
1493
- return b(j, g);
1494
- }
1495
- function Oe() {
1496
- N(), gt = null;
1497
- }
1498
- const nt = {
1499
- onDragStart: F,
1500
- onDragAdd: se,
1501
- onDragRemove: U,
1502
- onDragUpdate: ue,
1503
- onDragMove: Ye,
1504
- onDragEnd: Oe
1505
- };
1506
- return Qt(() => {
1507
- me();
1508
- }), t.list !== null && t.modelValue !== null && tn.error("list props are mutually exclusive! Please set one."), {
1509
- getTag: S,
1510
- realList: d,
1511
- visibleIndexes: s,
1512
- noneFunctionalComponentMode: r,
1513
- headerOffset: a,
1514
- footerOffset: l,
1515
- transitionMode: i,
1516
- computeIndexes: N,
1517
- updateOptions: w,
1518
- getChildrenNodes: E,
1519
- getUnderlyingVm: z,
1520
- emitChanges: I,
1521
- alterList: L,
1522
- spliceList: k,
1523
- updatePosition: Q,
1524
- getVmIndex: B,
1525
- getComponent: J,
1526
- resetTransitionData: le,
1527
- onDragStart: F,
1528
- onDragAdd: se,
1529
- onDragRemove: U,
1530
- onDragUpdate: ue,
1531
- updateProperty: q,
1532
- onDragMove: Ye,
1533
- onDragEnd: Oe,
1534
- mounted: me,
1535
- context: u,
1536
- sortableInstance: h,
1537
- getRelatedContextFromMoveEvent: ce,
1538
- getTargetedComponent: ee,
1539
- computeFutureIndex: K
1540
- // ... other exposed functions as needed
1541
- };
1542
- },
1543
- render() {
1544
- const t = this.getTag(), e = Xn(this.$attrs, this.componentData);
1545
- if (typeof t == "string") {
1546
- const o = this.$slots.default && typeof this.$slots.default == "function" ? this.$slots.default() : null;
1547
- return o ? (this.transitionMode = Lt(o), ot(t, e, o)) : ot(t, e, []);
1548
- }
1549
- const n = this.$slots.default ? { default: this.$slots.default } : {};
1550
- if (this.$slots.default) {
1551
- const o = typeof this.$slots.default == "function" ? this.$slots.default() : null;
1552
- this.transitionMode = Lt(o || []);
1553
- }
1554
- return ot(t, e, n);
1555
- }
1556
- });
1557
6
  export {
1558
- Yn as VueDraggableNext
7
+ f as default
1559
8
  };