@kdcloudjs/shoelace 1.0.3 → 1.0.4

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 (1226) hide show
  1. package/cdn/chunks/chunk.27QFON2M.js +21 -0
  2. package/cdn/chunks/chunk.2FS7YXYL.js +266 -0
  3. package/cdn/chunks/chunk.2GDE4WQE.js +11 -0
  4. package/cdn/chunks/chunk.2JNMKFWM.js +118 -0
  5. package/cdn/chunks/chunk.2KD7RHGV.js +27 -0
  6. package/cdn/chunks/chunk.2RZAZTJC.js +26 -0
  7. package/cdn/chunks/chunk.3AB44WGF.js +28 -0
  8. package/cdn/chunks/chunk.3D3QH63C.js +95 -0
  9. package/cdn/chunks/chunk.3FTYT6PZ.js +123 -0
  10. package/cdn/chunks/chunk.3IIMAJUM.js +11 -0
  11. package/cdn/chunks/chunk.3M5OOLLI.js +77 -0
  12. package/cdn/chunks/chunk.3OFUBOO2.js +28 -0
  13. package/cdn/chunks/chunk.3T34H47U.js +11 -0
  14. package/cdn/chunks/chunk.3TET7XQT.js +166 -0
  15. package/cdn/chunks/chunk.3XCK6SR5.js +24 -0
  16. package/cdn/chunks/chunk.3XXLDXPE.js +25 -0
  17. package/cdn/chunks/chunk.465FUQCZ.js +11 -0
  18. package/cdn/chunks/chunk.4L6POCBG.js +817 -0
  19. package/cdn/chunks/chunk.4RX7LNWR.js +109 -0
  20. package/cdn/chunks/chunk.4WA4NEEK.js +11 -0
  21. package/cdn/chunks/chunk.4WHYRHUK.js +24 -0
  22. package/cdn/chunks/chunk.4YK5BEQS.js +1990 -0
  23. package/cdn/chunks/chunk.553HB2GN.js +29 -0
  24. package/cdn/chunks/chunk.55FXRPAL.js +11 -0
  25. package/cdn/chunks/chunk.5QXLD2NY.js +24 -0
  26. package/cdn/chunks/chunk.5ZXKZ3PN.js +21 -0
  27. package/cdn/chunks/chunk.64YUD5IN.js +29 -0
  28. package/cdn/chunks/chunk.6F5NFZCX.js +11 -0
  29. package/cdn/chunks/chunk.6J7CD7L5.js +21 -0
  30. package/cdn/chunks/chunk.6PWN5KKL.js +11 -0
  31. package/cdn/chunks/chunk.6RRQUJZL.js +11 -0
  32. package/cdn/chunks/chunk.6SFU6PI5.js +11 -0
  33. package/cdn/chunks/chunk.73KOPCMI.js +11 -0
  34. package/cdn/chunks/chunk.77FYH24J.js +208 -0
  35. package/cdn/chunks/chunk.7BFOUTZ5.js +25 -0
  36. package/cdn/chunks/chunk.7JHDQVMZ.js +11 -0
  37. package/cdn/chunks/chunk.7LVOXGKJ.js +42 -0
  38. package/cdn/chunks/chunk.7POF2YIB.js +73 -0
  39. package/cdn/chunks/chunk.7QLFOGNI.js +24 -0
  40. package/cdn/chunks/chunk.7SFWYN5A.js +21 -0
  41. package/cdn/chunks/chunk.7VML3YQ2.js +11 -0
  42. package/cdn/chunks/chunk.A7N3TA2A.js +21 -0
  43. package/cdn/chunks/chunk.AA6E6U6Y.js +11 -0
  44. package/cdn/chunks/chunk.AGEJTTAO.js +25 -0
  45. package/cdn/chunks/chunk.AHFMBJNM.js +11 -0
  46. package/cdn/chunks/chunk.AIF36K26.js +21 -0
  47. package/cdn/chunks/chunk.AL7WXZXU.js +682 -0
  48. package/cdn/chunks/chunk.APM22A32.js +314 -0
  49. package/cdn/chunks/chunk.B5OVB7XQ.js +11 -0
  50. package/cdn/chunks/chunk.B6HVU3XC.js +27 -0
  51. package/cdn/chunks/chunk.BK765FEK.js +27 -0
  52. package/cdn/chunks/chunk.BKIQCYMR.js +28 -0
  53. package/cdn/chunks/chunk.BQWWFXQW.js +11 -0
  54. package/cdn/chunks/chunk.BTL2I3IA.js +21 -0
  55. package/cdn/chunks/chunk.BTRHUFCR.js +120 -0
  56. package/cdn/chunks/chunk.BZZC3IXA.js +11 -0
  57. package/cdn/chunks/chunk.CBUTJ4XC.js +292 -0
  58. package/cdn/chunks/chunk.CLPLZWKD.js +25 -0
  59. package/cdn/chunks/chunk.CLZP3JTB.js +11 -0
  60. package/cdn/chunks/chunk.CPSHITCG.js +21 -0
  61. package/cdn/chunks/chunk.CTPQFYW7.js +142 -0
  62. package/cdn/chunks/chunk.CU3RTBTI.js +11 -0
  63. package/cdn/chunks/chunk.CU7VTRWN.js +27 -0
  64. package/cdn/chunks/chunk.CWYUZFWC.js +67 -0
  65. package/cdn/chunks/chunk.DDG5Z5Y4.js +11 -0
  66. package/cdn/chunks/chunk.DEEUTGAH.js +298 -0
  67. package/cdn/chunks/chunk.DKGS53HW.js +11 -0
  68. package/cdn/chunks/chunk.DTYUPV6V.js +11 -0
  69. package/cdn/chunks/chunk.E4UCB5VH.js +26 -0
  70. package/cdn/chunks/chunk.EQUTNNTA.js +216 -0
  71. package/cdn/chunks/chunk.ETQHTIO6.js +11 -0
  72. package/cdn/chunks/chunk.EUWNUU3Y.js +21 -0
  73. package/cdn/chunks/chunk.FJPSYXPZ.js +24 -0
  74. package/cdn/chunks/chunk.FPBCUZP2.js +180 -0
  75. package/cdn/chunks/chunk.FS2ZSF7D.js +11 -0
  76. package/cdn/chunks/chunk.FSFY5PAK.js +79 -0
  77. package/cdn/chunks/chunk.FTAD7KSP.js +201 -0
  78. package/cdn/chunks/chunk.FTAFZBPR.js +11 -0
  79. package/cdn/chunks/chunk.G7C4AK6E.js +11 -0
  80. package/cdn/chunks/chunk.GGLO7FV3.js +24 -0
  81. package/cdn/chunks/chunk.GGSAZPMX.js +120 -0
  82. package/cdn/chunks/chunk.GS235V77.js +25 -0
  83. package/cdn/chunks/chunk.GTXRBF2N.js +63 -0
  84. package/cdn/chunks/chunk.GYHD4D2C.js +21 -0
  85. package/cdn/chunks/chunk.HBBGKNNO.js +87 -0
  86. package/cdn/chunks/chunk.HEMEMKVQ.js +135 -0
  87. package/cdn/chunks/chunk.HHGECAXJ.js +11 -0
  88. package/cdn/chunks/chunk.HJOFYQ2Q.js +11 -0
  89. package/cdn/chunks/chunk.HLMRFJMA.js +103 -0
  90. package/cdn/chunks/chunk.HR45FF5W.js +49 -0
  91. package/cdn/chunks/chunk.ILFYY7E7.js +75 -0
  92. package/cdn/chunks/chunk.IP2G3HHE.js +11 -0
  93. package/cdn/chunks/chunk.IQM3KFPD.js +24 -0
  94. package/cdn/chunks/chunk.ITDOZG3Q.js +361 -0
  95. package/cdn/chunks/chunk.IVC6KWV7.js +24 -0
  96. package/cdn/chunks/chunk.IZGKHWYJ.js +82 -0
  97. package/cdn/chunks/chunk.J5DUE2BY.js +127 -0
  98. package/cdn/chunks/chunk.J7DXQCRA.js +29 -0
  99. package/cdn/chunks/chunk.J7VKVWZA.js +24 -0
  100. package/cdn/chunks/chunk.JGAPQGRJ.js +21 -0
  101. package/cdn/chunks/chunk.JGDLMNDO.js +724 -0
  102. package/cdn/chunks/chunk.JGLKPOL4.js +114 -0
  103. package/cdn/chunks/chunk.JJZJBIGO.js +233 -0
  104. package/cdn/chunks/chunk.JV4JUKDD.js +11 -0
  105. package/cdn/chunks/chunk.KDAPZDKF.js +11 -0
  106. package/cdn/chunks/chunk.KDNDVHCL.js +21 -0
  107. package/cdn/chunks/chunk.KLZ65MVV.js +24 -0
  108. package/cdn/chunks/chunk.KWXT4KLF.js +21 -0
  109. package/cdn/chunks/chunk.KXALPLTJ.js +219 -0
  110. package/cdn/chunks/chunk.L2X4LHL7.js +29 -0
  111. package/cdn/chunks/chunk.L3DTMMJS.js +93 -0
  112. package/cdn/chunks/chunk.LFLZXWLY.js +28 -0
  113. package/cdn/chunks/chunk.MAXEUF7J.js +279 -0
  114. package/cdn/chunks/chunk.MEK2JIHV.js +236 -0
  115. package/cdn/chunks/chunk.MESBRA6O.js +25 -0
  116. package/cdn/chunks/chunk.MKI2ERLX.js +28 -0
  117. package/cdn/chunks/chunk.MXM5XKHU.js +21 -0
  118. package/cdn/chunks/chunk.N2RTCTQE.js +122 -0
  119. package/cdn/chunks/chunk.NJQDTWNZ.js +11 -0
  120. package/cdn/chunks/chunk.NN5OZNQ6.js +11 -0
  121. package/cdn/chunks/chunk.NXY2UROX.js +186 -0
  122. package/cdn/chunks/chunk.NYYGXCYF.js +5845 -0
  123. package/cdn/chunks/chunk.NZ42ZADN.js +113 -0
  124. package/cdn/chunks/chunk.O33LJU47.js +177 -0
  125. package/cdn/chunks/chunk.ORZETCX5.js +11 -0
  126. package/cdn/chunks/chunk.OW6O6CKR.js +11 -0
  127. package/cdn/chunks/chunk.OW6QC3JC.js +153 -0
  128. package/cdn/chunks/chunk.OXEH2PB3.js +11 -0
  129. package/cdn/chunks/chunk.P3TU6VPK.js +586 -0
  130. package/cdn/chunks/chunk.PIK6Q6XZ.js +11 -0
  131. package/cdn/chunks/chunk.PKA5F2LG.js +11 -0
  132. package/cdn/chunks/chunk.PNNPHOD6.js +27 -0
  133. package/cdn/chunks/chunk.POAI47XX.js +158 -0
  134. package/cdn/chunks/chunk.PQYRO2OW.js +97 -0
  135. package/cdn/chunks/chunk.Q3HDH45W.js +455 -0
  136. package/cdn/chunks/chunk.QMHYQ4GM.js +36 -0
  137. package/cdn/chunks/chunk.QODJ44ZK.js +24 -0
  138. package/cdn/chunks/chunk.QQIZSMLA.js +11 -0
  139. package/cdn/chunks/chunk.QQXDHLU4.js +11 -0
  140. package/cdn/chunks/chunk.RHBCOXOO.js +11 -0
  141. package/cdn/chunks/chunk.ROOTJVKA.js +11 -0
  142. package/cdn/chunks/chunk.RTDWRCA5.js +11 -0
  143. package/cdn/chunks/chunk.RTRV65QN.js +26 -0
  144. package/cdn/chunks/chunk.SDWIDNMB.js +114 -0
  145. package/cdn/chunks/chunk.SWAWGM7T.js +25 -0
  146. package/cdn/chunks/chunk.SZ5RXNWG.js +11 -0
  147. package/cdn/chunks/chunk.T2DMBZRF.js +50 -0
  148. package/cdn/chunks/chunk.T7K56D5X.js +28 -0
  149. package/cdn/chunks/chunk.TAVHRKSI.js +402 -0
  150. package/cdn/chunks/chunk.TCEDQCEE.js +54 -0
  151. package/cdn/chunks/chunk.TO4QYEYF.js +21 -0
  152. package/cdn/chunks/chunk.TSK7IU5C.js +11 -0
  153. package/cdn/chunks/chunk.TVP4JGIN.js +25 -0
  154. package/cdn/chunks/chunk.U5HHUAAP.js +11 -0
  155. package/cdn/chunks/chunk.UALGZNLK.js +11 -0
  156. package/cdn/chunks/chunk.UEEEF4B5.js +21 -0
  157. package/cdn/chunks/chunk.UJPIRVMQ.js +21 -0
  158. package/cdn/chunks/chunk.V3V5RT6E.js +336 -0
  159. package/cdn/chunks/chunk.VCF3KHDO.js +367 -0
  160. package/cdn/chunks/chunk.VCGSYC5B.js +11 -0
  161. package/cdn/chunks/chunk.VJBLNTBW.js +11 -0
  162. package/cdn/chunks/chunk.VK7KEYIH.js +2982 -0
  163. package/cdn/chunks/chunk.VLREOMST.js +291 -0
  164. package/cdn/chunks/chunk.VMZXRMXG.js +11 -0
  165. package/cdn/chunks/chunk.VMZYOA7J.js +267 -0
  166. package/cdn/chunks/chunk.VN57AEND.js +255 -0
  167. package/cdn/chunks/chunk.VNBSIS4E.js +11 -0
  168. package/cdn/chunks/chunk.VQUZ7NE4.js +197 -0
  169. package/cdn/chunks/chunk.VRQMVONC.js +502 -0
  170. package/cdn/chunks/chunk.VVK4DRFB.js +21 -0
  171. package/cdn/chunks/chunk.VVOAKFKP.js +33 -0
  172. package/cdn/chunks/chunk.VVV55RYZ.js +11 -0
  173. package/cdn/chunks/chunk.VXG3RJUH.js +11 -0
  174. package/cdn/chunks/chunk.VY6M5ICJ.js +21 -0
  175. package/cdn/chunks/chunk.W4HWDVV6.js +11 -0
  176. package/cdn/chunks/chunk.WCJCZTR7.js +391 -0
  177. package/cdn/chunks/chunk.WG3UATOU.js +24 -0
  178. package/cdn/chunks/chunk.WG7RVA35.js +24 -0
  179. package/cdn/chunks/chunk.WKCZKVVB.js +21 -0
  180. package/cdn/chunks/chunk.WMOGC3D5.js +21 -0
  181. package/cdn/chunks/chunk.WOTGUCYW.js +21 -0
  182. package/cdn/chunks/chunk.WP33JOMR.js +1879 -0
  183. package/cdn/chunks/chunk.WQLJ7RBI.js +6027 -0
  184. package/cdn/chunks/chunk.WRRTQDOR.js +137 -0
  185. package/cdn/chunks/chunk.WSFYHNDS.js +24 -0
  186. package/cdn/chunks/chunk.WYOBTCCU.js +11 -0
  187. package/cdn/chunks/chunk.X27WU2QT.js +302 -0
  188. package/cdn/chunks/chunk.X7Y5CKO5.js +11 -0
  189. package/cdn/chunks/chunk.XADGWHIQ.js +21 -0
  190. package/cdn/chunks/chunk.XHRHLUCB.js +398 -0
  191. package/cdn/chunks/chunk.XNQFQ6CS.js +11 -0
  192. package/cdn/chunks/chunk.XNSQ2ACO.js +29 -0
  193. package/cdn/chunks/chunk.XSXB4NJ3.js +49 -0
  194. package/cdn/chunks/chunk.Y6X5XUSX.js +25 -0
  195. package/cdn/chunks/chunk.YM2YAAJE.js +822 -0
  196. package/cdn/chunks/chunk.YTMT4E27.js +346 -0
  197. package/cdn/chunks/chunk.YVFUZKV2.js +379 -0
  198. package/cdn/chunks/chunk.YWDTLM6Y.js +11 -0
  199. package/cdn/chunks/chunk.YYFSTDEU.js +21 -0
  200. package/cdn/chunks/chunk.Z6XWTYMO.js +11 -0
  201. package/cdn/chunks/chunk.ZG55RPFU.js +299 -0
  202. package/cdn/chunks/chunk.ZMQGSQS6.js +25 -0
  203. package/cdn/components/alert/alert.component.js +9 -10
  204. package/cdn/components/alert/alert.js +10 -11
  205. package/cdn/components/animated-image/animated-image.component.js +5 -6
  206. package/cdn/components/animated-image/animated-image.js +6 -7
  207. package/cdn/components/animation/animation.component.js +2 -3
  208. package/cdn/components/animation/animation.js +3 -4
  209. package/cdn/components/avatar/avatar.component.js +4 -5
  210. package/cdn/components/avatar/avatar.js +5 -6
  211. package/cdn/components/badge/badge.component.js +2 -3
  212. package/cdn/components/badge/badge.js +3 -4
  213. package/cdn/components/breadcrumb/breadcrumb.component.js +4 -5
  214. package/cdn/components/breadcrumb/breadcrumb.js +5 -6
  215. package/cdn/components/breadcrumb-item/breadcrumb-item.component.js +2 -3
  216. package/cdn/components/breadcrumb-item/breadcrumb-item.js +3 -4
  217. package/cdn/components/button/button.component.js +8 -9
  218. package/cdn/components/button/button.js +9 -10
  219. package/cdn/components/button-group/button-group.component.js +2 -3
  220. package/cdn/components/button-group/button-group.js +3 -4
  221. package/cdn/components/calendar/calendar.component.js +11 -12
  222. package/cdn/components/calendar/calendar.js +11 -12
  223. package/cdn/components/card/card.component.js +2 -3
  224. package/cdn/components/card/card.js +3 -4
  225. package/cdn/components/carousel/carousel.component.js +6 -7
  226. package/cdn/components/carousel/carousel.js +7 -8
  227. package/cdn/components/carousel-item/carousel-item.component.js +2 -3
  228. package/cdn/components/carousel-item/carousel-item.js +3 -4
  229. package/cdn/components/checkbox/checkbox.component.js +5 -6
  230. package/cdn/components/checkbox/checkbox.js +6 -7
  231. package/cdn/components/color-picker/color-picker.component.js +16 -17
  232. package/cdn/components/color-picker/color-picker.js +17 -18
  233. package/cdn/components/copy-button/copy-button.component.js +8 -9
  234. package/cdn/components/copy-button/copy-button.js +9 -10
  235. package/cdn/components/datepicker/datepicker.component.js +26 -15
  236. package/cdn/components/datepicker/datepicker.js +26 -15
  237. package/cdn/components/details/details.component.js +6 -7
  238. package/cdn/components/details/details.js +7 -8
  239. package/cdn/components/dialog/dialog.component.js +8 -9
  240. package/cdn/components/dialog/dialog.js +9 -10
  241. package/cdn/components/divider/divider.component.js +2 -3
  242. package/cdn/components/divider/divider.js +3 -4
  243. package/cdn/components/drawer/drawer.component.js +8 -9
  244. package/cdn/components/drawer/drawer.js +9 -10
  245. package/cdn/components/dropdown/dropdown.component.js +6 -7
  246. package/cdn/components/dropdown/dropdown.js +7 -8
  247. package/cdn/components/format-bytes/format-bytes.component.js +2 -3
  248. package/cdn/components/format-bytes/format-bytes.js +3 -4
  249. package/cdn/components/format-date/format-date.component.js +2 -3
  250. package/cdn/components/format-date/format-date.js +3 -4
  251. package/cdn/components/format-number/format-number.component.js +2 -3
  252. package/cdn/components/format-number/format-number.js +3 -4
  253. package/cdn/components/icon/icon.component.js +3 -4
  254. package/cdn/components/icon/icon.js +4 -5
  255. package/cdn/components/icon-button/icon-button.component.js +4 -5
  256. package/cdn/components/icon-button/icon-button.js +5 -6
  257. package/cdn/components/image-comparer/image-comparer.component.js +6 -7
  258. package/cdn/components/image-comparer/image-comparer.js +7 -8
  259. package/cdn/components/include/include.component.js +3 -4
  260. package/cdn/components/include/include.js +4 -5
  261. package/cdn/components/input/input.component.js +7 -8
  262. package/cdn/components/input/input.js +8 -9
  263. package/cdn/components/menu/menu.component.js +3 -4
  264. package/cdn/components/menu/menu.js +4 -5
  265. package/cdn/components/menu/menu.styles.js +1 -1
  266. package/cdn/components/menu-item/menu-item.component.js +10 -11
  267. package/cdn/components/menu-item/menu-item.js +11 -12
  268. package/cdn/components/menu-item/menu-item.styles.js +1 -1
  269. package/cdn/components/menu-label/menu-label.component.js +2 -3
  270. package/cdn/components/menu-label/menu-label.js +3 -4
  271. package/cdn/components/mutation-observer/mutation-observer.component.js +2 -3
  272. package/cdn/components/mutation-observer/mutation-observer.js +3 -4
  273. package/cdn/components/option/option.component.js +7 -8
  274. package/cdn/components/option/option.js +8 -9
  275. package/cdn/components/option/option.styles.js +1 -1
  276. package/cdn/components/pagination/custom-select.js +18 -2
  277. package/cdn/components/pagination/pagination.component.js +19 -6
  278. package/cdn/components/pagination/pagination.js +19 -6
  279. package/cdn/components/popup/popup.component.js +4 -5
  280. package/cdn/components/popup/popup.js +5 -6
  281. package/cdn/components/progress-bar/progress-bar.component.js +5 -6
  282. package/cdn/components/progress-bar/progress-bar.js +6 -7
  283. package/cdn/components/progress-ring/progress-ring.component.js +2 -3
  284. package/cdn/components/progress-ring/progress-ring.js +3 -4
  285. package/cdn/components/qr-code/qr-code.component.js +2 -3
  286. package/cdn/components/qr-code/qr-code.js +3 -4
  287. package/cdn/components/radio/radio.component.js +4 -5
  288. package/cdn/components/radio/radio.js +5 -6
  289. package/cdn/components/radio-button/radio-button.component.js +2 -3
  290. package/cdn/components/radio-button/radio-button.js +3 -4
  291. package/cdn/components/radio-group/radio-group.component.js +3 -4
  292. package/cdn/components/radio-group/radio-group.js +4 -5
  293. package/cdn/components/range/range.component.js +5 -6
  294. package/cdn/components/range/range.js +6 -7
  295. package/cdn/components/rating/rating.component.js +6 -7
  296. package/cdn/components/rating/rating.js +7 -8
  297. package/cdn/components/relative-time/relative-time.component.js +2 -3
  298. package/cdn/components/relative-time/relative-time.js +3 -4
  299. package/cdn/components/resize-observer/resize-observer.component.js +2 -3
  300. package/cdn/components/resize-observer/resize-observer.js +3 -4
  301. package/cdn/components/screen/screen.component.js +2 -3
  302. package/cdn/components/screen/screen.js +3 -4
  303. package/cdn/components/select/select.component.js +11 -12
  304. package/cdn/components/select/select.js +12 -13
  305. package/cdn/components/select/select.styles.js +1 -1
  306. package/cdn/components/skeleton/skeleton.component.js +2 -3
  307. package/cdn/components/skeleton/skeleton.js +3 -4
  308. package/cdn/components/spinner/spinner.component.js +2 -3
  309. package/cdn/components/spinner/spinner.js +3 -4
  310. package/cdn/components/split-panel/split-panel.component.js +3 -4
  311. package/cdn/components/split-panel/split-panel.js +4 -5
  312. package/cdn/components/switch/switch.component.js +2 -3
  313. package/cdn/components/switch/switch.js +3 -4
  314. package/cdn/components/tab/tab.component.js +8 -9
  315. package/cdn/components/tab/tab.js +9 -10
  316. package/cdn/components/tab-group/tab-group.component.js +9 -10
  317. package/cdn/components/tab-group/tab-group.js +10 -11
  318. package/cdn/components/tab-panel/tab-panel.component.js +2 -3
  319. package/cdn/components/tab-panel/tab-panel.js +3 -4
  320. package/cdn/components/table/body-table.js +3 -4
  321. package/cdn/components/table/features/index.js +2 -2
  322. package/cdn/components/table/features/row-expend.js +9 -0
  323. package/cdn/components/table/features/row-selection.js +2 -2
  324. package/cdn/components/table/head-table.js +24 -25
  325. package/cdn/components/table/spinner-container.js +2 -3
  326. package/cdn/components/table/table.component.js +31 -31
  327. package/cdn/components/table/table.js +32 -32
  328. package/cdn/components/tag/tag.component.js +8 -9
  329. package/cdn/components/tag/tag.js +9 -10
  330. package/cdn/components/textarea/textarea.component.js +2 -3
  331. package/cdn/components/textarea/textarea.js +3 -4
  332. package/cdn/components/time-panel/time-panel.component.js +10 -11
  333. package/cdn/components/time-panel/time-panel.js +10 -11
  334. package/cdn/components/time-panel/time-panel.styles.js +1 -1
  335. package/cdn/components/timepicker/timepicker.component.js +14 -14
  336. package/cdn/components/timepicker/timepicker.js +14 -14
  337. package/cdn/components/tooltip/tooltip.component.js +5 -6
  338. package/cdn/components/tooltip/tooltip.js +6 -7
  339. package/cdn/components/tree/tree.component.js +11 -12
  340. package/cdn/components/tree/tree.js +12 -13
  341. package/cdn/components/tree-item/tree-item.component.js +10 -11
  342. package/cdn/components/tree-item/tree-item.js +11 -12
  343. package/cdn/components/visually-hidden/visually-hidden.component.js +2 -3
  344. package/cdn/components/visually-hidden/visually-hidden.js +3 -4
  345. package/cdn/custom-elements.json +1011 -1659
  346. package/cdn/react/alert/index.js +10 -11
  347. package/cdn/react/animated-image/index.js +6 -7
  348. package/cdn/react/animation/index.js +3 -4
  349. package/cdn/react/avatar/index.js +5 -6
  350. package/cdn/react/badge/index.js +3 -4
  351. package/cdn/react/breadcrumb/index.js +5 -6
  352. package/cdn/react/breadcrumb-item/index.js +3 -4
  353. package/cdn/react/button/index.js +9 -10
  354. package/cdn/react/button-group/index.js +3 -4
  355. package/cdn/react/card/index.js +3 -4
  356. package/cdn/react/carousel/index.js +7 -8
  357. package/cdn/react/carousel-item/index.js +3 -4
  358. package/cdn/react/checkbox/index.js +6 -7
  359. package/cdn/react/color-picker/index.js +17 -18
  360. package/cdn/react/copy-button/index.js +9 -10
  361. package/cdn/react/datepicker/index.js +27 -16
  362. package/cdn/react/details/index.js +7 -8
  363. package/cdn/react/dialog/index.js +9 -10
  364. package/cdn/react/divider/index.js +3 -4
  365. package/cdn/react/drawer/index.js +9 -10
  366. package/cdn/react/dropdown/index.js +7 -8
  367. package/cdn/react/format-bytes/index.js +3 -4
  368. package/cdn/react/format-date/index.js +3 -4
  369. package/cdn/react/format-number/index.js +3 -4
  370. package/cdn/react/icon/index.js +4 -5
  371. package/cdn/react/icon-button/index.js +5 -6
  372. package/cdn/react/image-comparer/index.js +7 -8
  373. package/cdn/react/include/index.js +4 -5
  374. package/cdn/react/index.js +180 -179
  375. package/cdn/react/input/index.js +8 -9
  376. package/cdn/react/menu/index.js +4 -5
  377. package/cdn/react/menu-item/index.js +11 -12
  378. package/cdn/react/menu-label/index.js +3 -4
  379. package/cdn/react/mutation-observer/index.js +3 -4
  380. package/cdn/react/option/index.js +8 -9
  381. package/cdn/react/pagination/index.js +20 -7
  382. package/cdn/react/popup/index.js +5 -6
  383. package/cdn/react/progress-bar/index.js +6 -7
  384. package/cdn/react/progress-ring/index.js +3 -4
  385. package/cdn/react/qr-code/index.js +3 -4
  386. package/cdn/react/radio/index.js +5 -6
  387. package/cdn/react/radio-button/index.js +3 -4
  388. package/cdn/react/radio-group/index.js +4 -5
  389. package/cdn/react/range/index.js +6 -7
  390. package/cdn/react/rating/index.js +7 -8
  391. package/cdn/react/relative-time/index.js +3 -4
  392. package/cdn/react/resize-observer/index.js +3 -4
  393. package/cdn/react/screen/index.js +3 -4
  394. package/cdn/react/select/index.js +12 -13
  395. package/cdn/react/skeleton/index.js +3 -4
  396. package/cdn/react/spinner/index.js +3 -4
  397. package/cdn/react/split-panel/index.js +4 -5
  398. package/cdn/react/switch/index.js +3 -4
  399. package/cdn/react/tab/index.js +9 -10
  400. package/cdn/react/tab-group/index.js +10 -11
  401. package/cdn/react/tab-panel/index.js +3 -4
  402. package/cdn/react/table/index.js +32 -32
  403. package/cdn/react/tag/index.js +9 -10
  404. package/cdn/react/textarea/index.js +3 -4
  405. package/cdn/react/timepicker/index.js +15 -15
  406. package/cdn/react/tooltip/index.js +6 -7
  407. package/cdn/react/tree/index.js +12 -13
  408. package/cdn/react/tree-item/index.js +11 -12
  409. package/cdn/react/visually-hidden/index.js +3 -4
  410. package/cdn/shoelace.js +178 -178
  411. package/cdn/types/vue/index.d.ts +297 -374
  412. package/cdn/vscode.html-custom-data.json +111 -189
  413. package/cdn/web-types.json +278 -460
  414. package/dist/chunks/chunk.23QTCXNR.js +294 -0
  415. package/dist/chunks/chunk.2DQ7YQID.js +21 -0
  416. package/dist/chunks/chunk.2GR5RYY4.js +45 -0
  417. package/dist/chunks/chunk.2JAC3E36.js +29 -0
  418. package/dist/chunks/chunk.2KWHNALE.js +813 -0
  419. package/dist/chunks/chunk.2P7ZU66U.js +75 -0
  420. package/dist/chunks/chunk.2QRAV5FA.js +25 -0
  421. package/dist/chunks/chunk.2RB3B3UL.js +814 -0
  422. package/dist/chunks/chunk.34M4NQTX.js +337 -0
  423. package/dist/chunks/chunk.3CEOFWZN.js +25 -0
  424. package/dist/chunks/chunk.3CMCXDAM.js +24 -0
  425. package/dist/chunks/chunk.3FLAXIL6.js +203 -0
  426. package/dist/chunks/chunk.3FQAOA6Q.js +21 -0
  427. package/dist/chunks/chunk.3OYFQ2GE.js +11 -0
  428. package/dist/chunks/chunk.3T5GL6TK.js +11 -0
  429. package/dist/chunks/chunk.3UP36FKR.js +11 -0
  430. package/dist/chunks/chunk.3ZLQY7CM.js +21 -0
  431. package/dist/chunks/chunk.42QS6XMD.js +11 -0
  432. package/dist/chunks/chunk.4KMA73W2.js +11 -0
  433. package/dist/chunks/chunk.4M5JW5ZQ.js +291 -0
  434. package/dist/chunks/chunk.4QORYWC7.js +52 -0
  435. package/dist/chunks/chunk.54VIHBDR.js +384 -0
  436. package/dist/chunks/chunk.55TATXST.js +311 -0
  437. package/dist/chunks/chunk.5DR65PO4.js +274 -0
  438. package/dist/chunks/chunk.5NLYBKUE.js +91 -0
  439. package/dist/chunks/chunk.5PZ2HOP6.js +448 -0
  440. package/dist/chunks/chunk.5Q5U5NI3.js +21 -0
  441. package/dist/chunks/chunk.5SZZZQEY.js +100 -0
  442. package/dist/chunks/chunk.6N23A6X7.js +11 -0
  443. package/dist/chunks/chunk.6UYZKYOJ.js +11 -0
  444. package/dist/chunks/chunk.6VG3V43U.js +25 -0
  445. package/dist/chunks/chunk.6XXM4QYP.js +286 -0
  446. package/dist/chunks/chunk.75OMDLY6.js +11 -0
  447. package/dist/chunks/chunk.7ACBAU52.js +135 -0
  448. package/dist/chunks/chunk.7BKT2FPA.js +21 -0
  449. package/dist/chunks/chunk.7CLUZVZ5.js +22 -0
  450. package/dist/chunks/chunk.7CZMYSRM.js +11 -0
  451. package/dist/chunks/chunk.7GKEYXYF.js +25 -0
  452. package/dist/chunks/chunk.7HVRGFRV.js +26 -0
  453. package/dist/chunks/chunk.7KJW6T7V.js +27 -0
  454. package/dist/chunks/chunk.7PFU7PNG.js +315 -0
  455. package/dist/chunks/chunk.7PW2YQMR.js +11 -0
  456. package/dist/chunks/chunk.7WYUNPLL.js +134 -0
  457. package/dist/chunks/chunk.A2WB7P4R.js +293 -0
  458. package/dist/chunks/chunk.A6VUIAK5.js +113 -0
  459. package/dist/chunks/chunk.ADFE32ZE.js +397 -0
  460. package/dist/chunks/chunk.AFVKCXVD.js +11 -0
  461. package/dist/chunks/chunk.AUDNO7AX.js +21 -0
  462. package/dist/chunks/chunk.B4FKYIJV.js +11 -0
  463. package/dist/chunks/chunk.B4H75FLB.js +21 -0
  464. package/dist/chunks/chunk.B4HO2SQD.js +174 -0
  465. package/dist/chunks/chunk.BBX6LSYR.js +11 -0
  466. package/dist/chunks/chunk.BN7I7IZK.js +11 -0
  467. package/dist/chunks/chunk.BNQY5HIO.js +106 -0
  468. package/dist/chunks/chunk.BPCGZGRG.js +24 -0
  469. package/dist/chunks/chunk.BRQD35W5.js +28 -0
  470. package/dist/chunks/chunk.BVXAI6ST.js +358 -0
  471. package/dist/chunks/chunk.BYP2W3VJ.js +21 -0
  472. package/dist/chunks/chunk.C2S6DUQY.js +11 -0
  473. package/dist/chunks/chunk.C3NG3M7R.js +25 -0
  474. package/dist/chunks/chunk.C422XENI.js +11 -0
  475. package/dist/chunks/chunk.C5G25IYF.js +11 -0
  476. package/dist/chunks/chunk.CGMEM3DT.js +24 -0
  477. package/dist/chunks/chunk.CKI5JNFU.js +11 -0
  478. package/dist/chunks/chunk.CLRGVPKR.js +11 -0
  479. package/dist/chunks/chunk.CSAG57R3.js +11 -0
  480. package/dist/chunks/chunk.CUBXO33B.js +11 -0
  481. package/dist/chunks/chunk.CUYLGFVM.js +11 -0
  482. package/dist/chunks/chunk.D3KZIOYI.js +11 -0
  483. package/dist/chunks/chunk.D5PBIXNV.js +26 -0
  484. package/dist/chunks/chunk.DK37NZTT.js +111 -0
  485. package/dist/chunks/chunk.DKDNW7ND.js +24 -0
  486. package/dist/chunks/chunk.DO6G64SD.js +67 -0
  487. package/dist/chunks/chunk.DOJVTX23.js +21 -0
  488. package/dist/chunks/chunk.DT5UBEUD.js +25 -0
  489. package/dist/chunks/chunk.DY66DLXX.js +25 -0
  490. package/dist/chunks/chunk.EGUAJZ2Q.js +50 -0
  491. package/dist/chunks/chunk.ELQ6ZAHU.js +24 -0
  492. package/dist/chunks/chunk.EMBJJDRQ.js +11 -0
  493. package/dist/chunks/chunk.ERVVHGW6.js +21 -0
  494. package/dist/chunks/chunk.EUHRXKY7.js +21 -0
  495. package/dist/chunks/chunk.EUKB2CXW.js +28 -0
  496. package/dist/chunks/chunk.FFKD6W4N.js +389 -0
  497. package/dist/chunks/chunk.FIQZJA2D.js +93 -0
  498. package/dist/chunks/chunk.FLMQYK76.js +27 -0
  499. package/dist/chunks/chunk.FM2W4WWN.js +259 -0
  500. package/dist/chunks/chunk.FOXUKKKX.js +11 -0
  501. package/dist/chunks/chunk.FTGEPMGW.js +247 -0
  502. package/dist/chunks/chunk.FTIAG6S3.js +24 -0
  503. package/dist/chunks/chunk.FY37V2E7.js +21 -0
  504. package/dist/chunks/chunk.FYRZ4LVX.js +151 -0
  505. package/dist/chunks/chunk.G4EYRYPW.js +90 -0
  506. package/dist/chunks/chunk.GJ6DYB5N.js +28 -0
  507. package/dist/chunks/chunk.GZLJHFNN.js +11 -0
  508. package/dist/chunks/chunk.HHX64HLF.js +147 -0
  509. package/dist/chunks/chunk.HLNO73WW.js +25 -0
  510. package/dist/chunks/chunk.HOXEJNUB.js +21 -0
  511. package/dist/chunks/chunk.HPIBDR24.js +29 -0
  512. package/dist/chunks/chunk.I5MXJCXA.js +550 -0
  513. package/dist/chunks/chunk.I7NX25KZ.js +11 -0
  514. package/dist/chunks/chunk.IB5CAIOM.js +11 -0
  515. package/dist/chunks/chunk.IGHVYPQC.js +11 -0
  516. package/dist/chunks/chunk.IH36OBWS.js +85 -0
  517. package/dist/chunks/chunk.IKTX3OF2.js +11 -0
  518. package/dist/chunks/chunk.IMQAXOY4.js +11 -0
  519. package/dist/chunks/chunk.IVLRZTWU.js +100 -0
  520. package/dist/chunks/chunk.JOKODXHH.js +119 -0
  521. package/dist/chunks/chunk.JWQMGR3J.js +21 -0
  522. package/dist/chunks/chunk.JXVBETU2.js +11 -0
  523. package/dist/chunks/chunk.JYRVBVEP.js +214 -0
  524. package/dist/chunks/chunk.KDOF4QYG.js +674 -0
  525. package/dist/chunks/chunk.KKF7ZZ3I.js +21 -0
  526. package/dist/chunks/chunk.KRMK4QEF.js +213 -0
  527. package/dist/chunks/chunk.KXK5Z4DL.js +11 -0
  528. package/dist/chunks/chunk.L2ZJEQ5W.js +45 -0
  529. package/dist/chunks/chunk.L4XB5RQ7.js +227 -0
  530. package/dist/chunks/chunk.LJIWSB5O.js +11 -0
  531. package/dist/chunks/chunk.LVAFQGBI.js +63 -0
  532. package/dist/chunks/chunk.LXNDNLGT.js +181 -0
  533. package/dist/chunks/chunk.LZ5HHTHZ.js +27 -0
  534. package/dist/chunks/chunk.M74UPSVH.js +26 -0
  535. package/dist/chunks/chunk.MB7KNGYL.js +73 -0
  536. package/dist/chunks/chunk.MNJ2FRMM.js +59 -0
  537. package/dist/chunks/chunk.MQ2MMGIS.js +21 -0
  538. package/dist/chunks/chunk.MS55NK3J.js +33 -0
  539. package/dist/chunks/chunk.MXT3TWSF.js +11 -0
  540. package/dist/chunks/chunk.N3QVR4J3.js +11 -0
  541. package/dist/chunks/chunk.NINB2GCZ.js +192 -0
  542. package/dist/chunks/chunk.NMLH7AMX.js +28 -0
  543. package/dist/chunks/chunk.NMQIEQ5W.js +24 -0
  544. package/dist/chunks/chunk.NOHZYTD2.js +29 -0
  545. package/dist/chunks/chunk.O7ETF5M7.js +231 -0
  546. package/dist/chunks/chunk.OEQBOGLX.js +11 -0
  547. package/dist/chunks/chunk.OH57EZ77.js +22 -0
  548. package/dist/chunks/chunk.ORHNYZYZ.js +199 -0
  549. package/dist/chunks/chunk.OYOAAJZ3.js +25 -0
  550. package/dist/chunks/chunk.PG5RJ6TV.js +11 -0
  551. package/dist/chunks/chunk.PLFY7L2F.js +28 -0
  552. package/dist/chunks/chunk.PTYURPYL.js +27 -0
  553. package/dist/chunks/chunk.PVCCOPM6.js +22 -0
  554. package/dist/chunks/chunk.PVQ25BF2.js +11 -0
  555. package/dist/chunks/chunk.PYVMYAKR.js +371 -0
  556. package/dist/chunks/chunk.Q7SUWESY.js +11 -0
  557. package/dist/chunks/chunk.QDMP5PYP.js +11 -0
  558. package/dist/chunks/chunk.QEY2WSNV.js +21 -0
  559. package/dist/chunks/chunk.QH353KMG.js +11 -0
  560. package/dist/chunks/chunk.QIEMAGNI.js +21 -0
  561. package/dist/chunks/chunk.QKJEDAAH.js +417 -0
  562. package/dist/chunks/chunk.QL3EHOLM.js +28 -0
  563. package/dist/chunks/chunk.QOS2AJDC.js +11 -0
  564. package/dist/chunks/chunk.QZJWCFAA.js +24 -0
  565. package/dist/chunks/chunk.R5ULTKDV.js +11 -0
  566. package/dist/chunks/chunk.RE456CM4.js +75 -0
  567. package/dist/chunks/chunk.RG5YP4E7.js +34 -0
  568. package/dist/chunks/chunk.RHYFL7XY.js +21 -0
  569. package/dist/chunks/chunk.RPMKRJLV.js +21 -0
  570. package/dist/chunks/chunk.RQP7TRVQ.js +21 -0
  571. package/dist/chunks/chunk.RWS55LOH.js +109 -0
  572. package/dist/chunks/chunk.S7M7UIY5.js +112 -0
  573. package/dist/chunks/chunk.SAHEF66Y.js +126 -0
  574. package/dist/chunks/chunk.SCTVHKIK.js +11 -0
  575. package/dist/chunks/chunk.SQIDSWT5.js +42 -0
  576. package/dist/chunks/chunk.SXKYIUGU.js +11 -0
  577. package/dist/chunks/chunk.T3Q62XTY.js +11 -0
  578. package/dist/chunks/chunk.TC6CNTQM.js +506 -0
  579. package/dist/chunks/chunk.TEPNXV2U.js +11 -0
  580. package/dist/chunks/chunk.TJ7FQ5JT.js +11 -0
  581. package/dist/chunks/chunk.TLZDSPEP.js +280 -0
  582. package/dist/chunks/chunk.TSMWOE6E.js +121 -0
  583. package/dist/chunks/chunk.UAQFNS66.js +25 -0
  584. package/dist/chunks/chunk.UKEOH6GM.js +167 -0
  585. package/dist/chunks/chunk.URSTP76V.js +27 -0
  586. package/dist/chunks/chunk.UWC6CFRF.js +11 -0
  587. package/dist/chunks/chunk.VAOOYX3C.js +96 -0
  588. package/dist/chunks/chunk.VD4T4CEQ.js +24 -0
  589. package/dist/chunks/chunk.VF47UCR6.js +11 -0
  590. package/dist/chunks/chunk.VIX2GDLR.js +11 -0
  591. package/dist/chunks/chunk.VML2NRCR.js +21 -0
  592. package/dist/chunks/chunk.VSTB7XHK.js +24 -0
  593. package/dist/chunks/chunk.W7S6DL6O.js +116 -0
  594. package/dist/chunks/chunk.WIKIRG5N.js +11 -0
  595. package/dist/chunks/chunk.WNMDANJ2.js +21 -0
  596. package/dist/chunks/chunk.WSD42N5A.js +11 -0
  597. package/dist/chunks/chunk.XC4MRFYW.js +11 -0
  598. package/dist/chunks/chunk.XE3OHVIQ.js +29 -0
  599. package/dist/chunks/chunk.XGW737ZL.js +494 -0
  600. package/dist/chunks/chunk.XKERVFKJ.js +21 -0
  601. package/dist/chunks/chunk.XUO6GY5S.js +11 -0
  602. package/dist/chunks/chunk.XZPRR64T.js +11 -0
  603. package/dist/chunks/chunk.YCC476ZW.js +24 -0
  604. package/dist/chunks/chunk.YFFB2NHT.js +24 -0
  605. package/dist/chunks/chunk.YLDJOKCS.js +80 -0
  606. package/dist/chunks/chunk.YLKHYMMJ.js +11 -0
  607. package/dist/chunks/chunk.YOLD52DY.js +172 -0
  608. package/dist/chunks/chunk.YSTDXP43.js +111 -0
  609. package/dist/chunks/chunk.YTQQLXWH.js +11 -0
  610. package/dist/chunks/chunk.YWOLKWDI.js +361 -0
  611. package/dist/chunks/chunk.YXP7YSTN.js +117 -0
  612. package/dist/chunks/chunk.ZHYQKB74.js +949 -0
  613. package/dist/chunks/chunk.ZIXYBTFK.js +163 -0
  614. package/dist/chunks/chunk.ZREUJQFI.js +11 -0
  615. package/dist/components/alert/alert.component.js +7 -7
  616. package/dist/components/alert/alert.js +8 -8
  617. package/dist/components/animated-image/animated-image.component.js +5 -5
  618. package/dist/components/animated-image/animated-image.js +6 -6
  619. package/dist/components/animation/animation.component.js +2 -2
  620. package/dist/components/animation/animation.js +3 -3
  621. package/dist/components/avatar/avatar.component.js +4 -4
  622. package/dist/components/avatar/avatar.js +5 -5
  623. package/dist/components/badge/badge.component.js +2 -2
  624. package/dist/components/badge/badge.js +3 -3
  625. package/dist/components/breadcrumb/breadcrumb.component.js +4 -4
  626. package/dist/components/breadcrumb/breadcrumb.js +5 -5
  627. package/dist/components/breadcrumb-item/breadcrumb-item.component.js +2 -2
  628. package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
  629. package/dist/components/button/button.component.js +6 -6
  630. package/dist/components/button/button.js +7 -7
  631. package/dist/components/button-group/button-group.component.js +2 -2
  632. package/dist/components/button-group/button-group.js +3 -3
  633. package/dist/components/calendar/calendar.component.js +9 -9
  634. package/dist/components/calendar/calendar.js +9 -9
  635. package/dist/components/card/card.component.js +2 -2
  636. package/dist/components/card/card.js +3 -3
  637. package/dist/components/carousel/carousel.component.js +4 -4
  638. package/dist/components/carousel/carousel.js +5 -5
  639. package/dist/components/carousel-item/carousel-item.component.js +2 -2
  640. package/dist/components/carousel-item/carousel-item.js +3 -3
  641. package/dist/components/checkbox/checkbox.component.js +5 -5
  642. package/dist/components/checkbox/checkbox.js +6 -6
  643. package/dist/components/color-picker/color-picker.component.js +14 -14
  644. package/dist/components/color-picker/color-picker.js +15 -15
  645. package/dist/components/copy-button/copy-button.component.js +6 -6
  646. package/dist/components/copy-button/copy-button.js +7 -7
  647. package/dist/components/datepicker/datepicker.component.js +24 -12
  648. package/dist/components/datepicker/datepicker.js +24 -12
  649. package/dist/components/details/details.component.js +4 -4
  650. package/dist/components/details/details.js +5 -5
  651. package/dist/components/dialog/dialog.component.js +6 -6
  652. package/dist/components/dialog/dialog.js +7 -7
  653. package/dist/components/divider/divider.component.js +2 -2
  654. package/dist/components/divider/divider.js +3 -3
  655. package/dist/components/drawer/drawer.component.js +6 -6
  656. package/dist/components/drawer/drawer.js +7 -7
  657. package/dist/components/dropdown/dropdown.component.js +3 -3
  658. package/dist/components/dropdown/dropdown.js +4 -4
  659. package/dist/components/format-bytes/format-bytes.component.js +2 -2
  660. package/dist/components/format-bytes/format-bytes.js +3 -3
  661. package/dist/components/format-date/format-date.component.js +2 -2
  662. package/dist/components/format-date/format-date.js +3 -3
  663. package/dist/components/format-number/format-number.component.js +2 -2
  664. package/dist/components/format-number/format-number.js +3 -3
  665. package/dist/components/icon/icon.component.js +3 -3
  666. package/dist/components/icon/icon.js +4 -4
  667. package/dist/components/icon-button/icon-button.component.js +4 -4
  668. package/dist/components/icon-button/icon-button.js +5 -5
  669. package/dist/components/image-comparer/image-comparer.component.js +4 -4
  670. package/dist/components/image-comparer/image-comparer.js +5 -5
  671. package/dist/components/include/include.component.js +3 -3
  672. package/dist/components/include/include.js +4 -4
  673. package/dist/components/input/input.component.js +5 -5
  674. package/dist/components/input/input.js +6 -6
  675. package/dist/components/menu/menu.component.js +3 -3
  676. package/dist/components/menu/menu.js +4 -4
  677. package/dist/components/menu/menu.styles.js +1 -1
  678. package/dist/components/menu-item/menu-item.component.js +8 -8
  679. package/dist/components/menu-item/menu-item.js +9 -9
  680. package/dist/components/menu-item/menu-item.styles.js +1 -1
  681. package/dist/components/menu-label/menu-label.component.js +2 -2
  682. package/dist/components/menu-label/menu-label.js +3 -3
  683. package/dist/components/mutation-observer/mutation-observer.component.js +2 -2
  684. package/dist/components/mutation-observer/mutation-observer.js +3 -3
  685. package/dist/components/option/option.component.js +5 -5
  686. package/dist/components/option/option.js +6 -6
  687. package/dist/components/option/option.styles.js +1 -1
  688. package/dist/components/pagination/custom-select.js +14 -1
  689. package/dist/components/pagination/pagination.component.js +15 -5
  690. package/dist/components/pagination/pagination.js +15 -5
  691. package/dist/components/popup/popup.component.js +2 -2
  692. package/dist/components/popup/popup.js +3 -3
  693. package/dist/components/progress-bar/progress-bar.component.js +2 -2
  694. package/dist/components/progress-bar/progress-bar.js +3 -3
  695. package/dist/components/progress-ring/progress-ring.component.js +2 -2
  696. package/dist/components/progress-ring/progress-ring.js +3 -3
  697. package/dist/components/qr-code/qr-code.component.js +2 -2
  698. package/dist/components/qr-code/qr-code.js +3 -3
  699. package/dist/components/radio/radio.component.js +4 -4
  700. package/dist/components/radio/radio.js +5 -5
  701. package/dist/components/radio-button/radio-button.component.js +2 -2
  702. package/dist/components/radio-button/radio-button.js +3 -3
  703. package/dist/components/radio-group/radio-group.component.js +3 -3
  704. package/dist/components/radio-group/radio-group.js +4 -4
  705. package/dist/components/range/range.component.js +3 -3
  706. package/dist/components/range/range.js +4 -4
  707. package/dist/components/rating/rating.component.js +4 -4
  708. package/dist/components/rating/rating.js +5 -5
  709. package/dist/components/relative-time/relative-time.component.js +2 -2
  710. package/dist/components/relative-time/relative-time.js +3 -3
  711. package/dist/components/resize-observer/resize-observer.component.js +2 -2
  712. package/dist/components/resize-observer/resize-observer.js +3 -3
  713. package/dist/components/screen/screen.component.js +2 -2
  714. package/dist/components/screen/screen.js +3 -3
  715. package/dist/components/select/select.component.js +9 -9
  716. package/dist/components/select/select.js +10 -10
  717. package/dist/components/select/select.styles.js +1 -1
  718. package/dist/components/skeleton/skeleton.component.js +2 -2
  719. package/dist/components/skeleton/skeleton.js +3 -3
  720. package/dist/components/spinner/spinner.component.js +2 -2
  721. package/dist/components/spinner/spinner.js +3 -3
  722. package/dist/components/split-panel/split-panel.component.js +2 -2
  723. package/dist/components/split-panel/split-panel.js +3 -3
  724. package/dist/components/switch/switch.component.js +2 -2
  725. package/dist/components/switch/switch.js +3 -3
  726. package/dist/components/tab/tab.component.js +5 -5
  727. package/dist/components/tab/tab.js +6 -6
  728. package/dist/components/tab-group/tab-group.component.js +6 -6
  729. package/dist/components/tab-group/tab-group.js +7 -7
  730. package/dist/components/tab-panel/tab-panel.component.js +2 -2
  731. package/dist/components/tab-panel/tab-panel.js +3 -3
  732. package/dist/components/table/body-table.js +2 -2
  733. package/dist/components/table/features/index.js +1 -1
  734. package/dist/components/table/features/row-expend.js +7 -0
  735. package/dist/components/table/features/row-selection.js +1 -1
  736. package/dist/components/table/head-table.js +21 -21
  737. package/dist/components/table/spinner-container.js +2 -2
  738. package/dist/components/table/table.component.js +28 -27
  739. package/dist/components/table/table.js +29 -28
  740. package/dist/components/tag/tag.component.js +5 -5
  741. package/dist/components/tag/tag.js +6 -6
  742. package/dist/components/textarea/textarea.component.js +2 -2
  743. package/dist/components/textarea/textarea.js +3 -3
  744. package/dist/components/time-panel/time-panel.component.js +8 -8
  745. package/dist/components/time-panel/time-panel.js +8 -8
  746. package/dist/components/time-panel/time-panel.styles.js +1 -1
  747. package/dist/components/timepicker/timepicker.component.js +12 -11
  748. package/dist/components/timepicker/timepicker.js +12 -11
  749. package/dist/components/tooltip/tooltip.component.js +3 -3
  750. package/dist/components/tooltip/tooltip.js +4 -4
  751. package/dist/components/tree/tree.component.js +9 -9
  752. package/dist/components/tree/tree.js +10 -10
  753. package/dist/components/tree-item/tree-item.component.js +8 -8
  754. package/dist/components/tree-item/tree-item.js +9 -9
  755. package/dist/components/visually-hidden/visually-hidden.component.js +2 -2
  756. package/dist/components/visually-hidden/visually-hidden.js +3 -3
  757. package/dist/custom-elements.json +1011 -1659
  758. package/dist/react/alert/index.js +8 -8
  759. package/dist/react/animated-image/index.js +6 -6
  760. package/dist/react/animation/index.js +3 -3
  761. package/dist/react/avatar/index.js +5 -5
  762. package/dist/react/badge/index.js +3 -3
  763. package/dist/react/breadcrumb/index.js +5 -5
  764. package/dist/react/breadcrumb-item/index.js +3 -3
  765. package/dist/react/button/index.js +7 -7
  766. package/dist/react/button-group/index.js +3 -3
  767. package/dist/react/card/index.js +3 -3
  768. package/dist/react/carousel/index.js +5 -5
  769. package/dist/react/carousel-item/index.js +3 -3
  770. package/dist/react/checkbox/index.js +6 -6
  771. package/dist/react/color-picker/index.js +15 -15
  772. package/dist/react/copy-button/index.js +7 -7
  773. package/dist/react/datepicker/index.js +25 -13
  774. package/dist/react/details/index.js +5 -5
  775. package/dist/react/dialog/index.js +7 -7
  776. package/dist/react/divider/index.js +3 -3
  777. package/dist/react/drawer/index.js +7 -7
  778. package/dist/react/dropdown/index.js +4 -4
  779. package/dist/react/format-bytes/index.js +3 -3
  780. package/dist/react/format-date/index.js +3 -3
  781. package/dist/react/format-number/index.js +3 -3
  782. package/dist/react/icon/index.js +4 -4
  783. package/dist/react/icon-button/index.js +5 -5
  784. package/dist/react/image-comparer/index.js +5 -5
  785. package/dist/react/include/index.js +4 -4
  786. package/dist/react/index.js +177 -175
  787. package/dist/react/input/index.js +6 -6
  788. package/dist/react/menu/index.js +4 -4
  789. package/dist/react/menu-item/index.js +9 -9
  790. package/dist/react/menu-label/index.js +3 -3
  791. package/dist/react/mutation-observer/index.js +3 -3
  792. package/dist/react/option/index.js +6 -6
  793. package/dist/react/pagination/index.js +16 -6
  794. package/dist/react/popup/index.js +3 -3
  795. package/dist/react/progress-bar/index.js +3 -3
  796. package/dist/react/progress-ring/index.js +3 -3
  797. package/dist/react/qr-code/index.js +3 -3
  798. package/dist/react/radio/index.js +5 -5
  799. package/dist/react/radio-button/index.js +3 -3
  800. package/dist/react/radio-group/index.js +4 -4
  801. package/dist/react/range/index.js +4 -4
  802. package/dist/react/rating/index.js +5 -5
  803. package/dist/react/relative-time/index.js +3 -3
  804. package/dist/react/resize-observer/index.js +3 -3
  805. package/dist/react/screen/index.js +3 -3
  806. package/dist/react/select/index.js +10 -10
  807. package/dist/react/skeleton/index.js +3 -3
  808. package/dist/react/spinner/index.js +3 -3
  809. package/dist/react/split-panel/index.js +3 -3
  810. package/dist/react/switch/index.js +3 -3
  811. package/dist/react/tab/index.js +6 -6
  812. package/dist/react/tab-group/index.js +7 -7
  813. package/dist/react/tab-panel/index.js +3 -3
  814. package/dist/react/table/index.js +29 -28
  815. package/dist/react/tag/index.js +6 -6
  816. package/dist/react/textarea/index.js +3 -3
  817. package/dist/react/timepicker/index.js +13 -12
  818. package/dist/react/tooltip/index.js +4 -4
  819. package/dist/react/tree/index.js +10 -10
  820. package/dist/react/tree-item/index.js +9 -9
  821. package/dist/react/visually-hidden/index.js +3 -3
  822. package/dist/shoelace.js +175 -174
  823. package/dist/types/vue/index.d.ts +297 -374
  824. package/dist/vscode.html-custom-data.json +111 -189
  825. package/dist/web-types.json +278 -460
  826. package/package.json +2 -2
  827. package/cdn/chunks/chunk.274OIEVI.js +0 -97
  828. package/cdn/chunks/chunk.2HGYNT3V.js +0 -294
  829. package/cdn/chunks/chunk.2HHYJS5E.js +0 -129
  830. package/cdn/chunks/chunk.2IY2QWZ7.js +0 -348
  831. package/cdn/chunks/chunk.2KCNZ3X3.js +0 -84
  832. package/cdn/chunks/chunk.2PWHGNKZ.js +0 -160
  833. package/cdn/chunks/chunk.2XKGBNLX.js +0 -21
  834. package/cdn/chunks/chunk.3H3GOTJ2.js +0 -11
  835. package/cdn/chunks/chunk.3NNGBS52.js +0 -316
  836. package/cdn/chunks/chunk.3WU6LNUA.js +0 -11
  837. package/cdn/chunks/chunk.47FPHGDJ.js +0 -33
  838. package/cdn/chunks/chunk.4FFIKHQ6.js +0 -11
  839. package/cdn/chunks/chunk.4YC3GCZV.js +0 -21
  840. package/cdn/chunks/chunk.4ZQJPI5L.js +0 -21
  841. package/cdn/chunks/chunk.56WLJRAD.js +0 -11
  842. package/cdn/chunks/chunk.5B2RHXB2.js +0 -188
  843. package/cdn/chunks/chunk.5D7K2Y2M.js +0 -588
  844. package/cdn/chunks/chunk.5GLETPQ3.js +0 -26
  845. package/cdn/chunks/chunk.5SZ3VVWH.js +0 -11
  846. package/cdn/chunks/chunk.5ZJCSNBL.js +0 -21
  847. package/cdn/chunks/chunk.5ZJNL7P2.js +0 -11
  848. package/cdn/chunks/chunk.5ZPRCFKW.js +0 -21
  849. package/cdn/chunks/chunk.67I2W5ED.js +0 -11
  850. package/cdn/chunks/chunk.67L6J4PF.js +0 -11
  851. package/cdn/chunks/chunk.6BKANMUH.js +0 -11
  852. package/cdn/chunks/chunk.6MHUCJTT.js +0 -21
  853. package/cdn/chunks/chunk.6TXJOCC6.js +0 -21
  854. package/cdn/chunks/chunk.6USRM27Q.js +0 -75
  855. package/cdn/chunks/chunk.6UZWSOMS.js +0 -25
  856. package/cdn/chunks/chunk.7DG4KOED.js +0 -25
  857. package/cdn/chunks/chunk.7KAXSS4O.js +0 -235
  858. package/cdn/chunks/chunk.7MHPPVAH.js +0 -27
  859. package/cdn/chunks/chunk.7NPWMO7X.js +0 -36
  860. package/cdn/chunks/chunk.7NZA66XH.js +0 -21
  861. package/cdn/chunks/chunk.7RAEXH4E.js +0 -803
  862. package/cdn/chunks/chunk.7WBZZP5I.js +0 -24
  863. package/cdn/chunks/chunk.A4LJNNKF.js +0 -11
  864. package/cdn/chunks/chunk.AB7334PR.js +0 -24
  865. package/cdn/chunks/chunk.ACZIB4GP.js +0 -11
  866. package/cdn/chunks/chunk.AD227U3E.js +0 -281
  867. package/cdn/chunks/chunk.AJ63BSZZ.js +0 -457
  868. package/cdn/chunks/chunk.AWSXB3E6.js +0 -11
  869. package/cdn/chunks/chunk.B3SMJ4ZH.js +0 -77
  870. package/cdn/chunks/chunk.BH2A6WPY.js +0 -338
  871. package/cdn/chunks/chunk.BIRYNFUT.js +0 -361
  872. package/cdn/chunks/chunk.BIWCIJTI.js +0 -21
  873. package/cdn/chunks/chunk.BM7OO3LN.js +0 -144
  874. package/cdn/chunks/chunk.BMI2DCT6.js +0 -11
  875. package/cdn/chunks/chunk.BSXU73W7.js +0 -26
  876. package/cdn/chunks/chunk.BTAUZ2GK.js +0 -381
  877. package/cdn/chunks/chunk.BU65MDM4.js +0 -52
  878. package/cdn/chunks/chunk.BWJKC7HR.js +0 -369
  879. package/cdn/chunks/chunk.C5MBP4NZ.js +0 -100
  880. package/cdn/chunks/chunk.C77LBFQ2.js +0 -11
  881. package/cdn/chunks/chunk.CD7ANDDQ.js +0 -199
  882. package/cdn/chunks/chunk.CY47GRGG.js +0 -217
  883. package/cdn/chunks/chunk.D7YZUGAV.js +0 -11
  884. package/cdn/chunks/chunk.DEUJNG4D.js +0 -24
  885. package/cdn/chunks/chunk.DK7OY5PV.js +0 -25
  886. package/cdn/chunks/chunk.DMPBM3WB.js +0 -24
  887. package/cdn/chunks/chunk.DTK4XUYI.js +0 -24
  888. package/cdn/chunks/chunk.E3LJCZQT.js +0 -218
  889. package/cdn/chunks/chunk.E5SJBZWN.js +0 -21
  890. package/cdn/chunks/chunk.E6DXGKDY.js +0 -11
  891. package/cdn/chunks/chunk.EEXRATVK.js +0 -115
  892. package/cdn/chunks/chunk.EGWMFBMJ.js +0 -27
  893. package/cdn/chunks/chunk.EHK4FN4I.js +0 -11
  894. package/cdn/chunks/chunk.EPKMAGLQ.js +0 -11
  895. package/cdn/chunks/chunk.ETBW3UWE.js +0 -105
  896. package/cdn/chunks/chunk.F6EXYTIQ.js +0 -11
  897. package/cdn/chunks/chunk.F6LAMHEB.js +0 -25
  898. package/cdn/chunks/chunk.FPSEIB6K.js +0 -26
  899. package/cdn/chunks/chunk.FUJQ6WAL.js +0 -116
  900. package/cdn/chunks/chunk.FVNSUFSE.js +0 -11
  901. package/cdn/chunks/chunk.G4S3RY3U.js +0 -25
  902. package/cdn/chunks/chunk.GEVG2WIH.js +0 -122
  903. package/cdn/chunks/chunk.GFBIRQG3.js +0 -11
  904. package/cdn/chunks/chunk.GH4Z7QBU.js +0 -11
  905. package/cdn/chunks/chunk.GK63N5AE.js +0 -11
  906. package/cdn/chunks/chunk.GM3ZSZIB.js +0 -11
  907. package/cdn/chunks/chunk.H7KGGSN7.js +0 -25
  908. package/cdn/chunks/chunk.HAN47AQU.js +0 -11
  909. package/cdn/chunks/chunk.HJW6J5WI.js +0 -21
  910. package/cdn/chunks/chunk.I57WXLMR.js +0 -21
  911. package/cdn/chunks/chunk.I6347S77.js +0 -5977
  912. package/cdn/chunks/chunk.I7XDYHF7.js +0 -11
  913. package/cdn/chunks/chunk.ICNDZ37C.js +0 -11
  914. package/cdn/chunks/chunk.IJCGOLLB.js +0 -269
  915. package/cdn/chunks/chunk.IL7UIP2H.js +0 -11
  916. package/cdn/chunks/chunk.ILWAKT36.js +0 -116
  917. package/cdn/chunks/chunk.IQGWTOFC.js +0 -29
  918. package/cdn/chunks/chunk.IRYP33LO.js +0 -104
  919. package/cdn/chunks/chunk.IUQQ6GMY.js +0 -99
  920. package/cdn/chunks/chunk.IY4XR4U3.js +0 -21
  921. package/cdn/chunks/chunk.JABFV2DF.js +0 -11
  922. package/cdn/chunks/chunk.JDPUQZOS.js +0 -2970
  923. package/cdn/chunks/chunk.JEIGSLSZ.js +0 -24
  924. package/cdn/chunks/chunk.JJBJXO7I.js +0 -21
  925. package/cdn/chunks/chunk.JKOLXWTK.js +0 -139
  926. package/cdn/chunks/chunk.JMEI2INX.js +0 -25
  927. package/cdn/chunks/chunk.JRHBBVWD.js +0 -28
  928. package/cdn/chunks/chunk.JTM2RMRQ.js +0 -24
  929. package/cdn/chunks/chunk.K2CNA4AH.js +0 -1881
  930. package/cdn/chunks/chunk.K7P4ZNIR.js +0 -28
  931. package/cdn/chunks/chunk.KAKFYT62.js +0 -382
  932. package/cdn/chunks/chunk.KEN5NERU.js +0 -11
  933. package/cdn/chunks/chunk.KJA2CCWT.js +0 -171
  934. package/cdn/chunks/chunk.KKJPBFOS.js +0 -21
  935. package/cdn/chunks/chunk.KMJ37RZ3.js +0 -177
  936. package/cdn/chunks/chunk.KNUAFTBD.js +0 -11
  937. package/cdn/chunks/chunk.KPGKBJGQ.js +0 -11
  938. package/cdn/chunks/chunk.KSUQROY6.js +0 -79
  939. package/cdn/chunks/chunk.LTUI3QNR.js +0 -25
  940. package/cdn/chunks/chunk.LY5O4QV2.js +0 -301
  941. package/cdn/chunks/chunk.LZIP6CLF.js +0 -504
  942. package/cdn/chunks/chunk.MAI7WJX5.js +0 -1992
  943. package/cdn/chunks/chunk.MFQNZKSL.js +0 -25
  944. package/cdn/chunks/chunk.MIJZQQGC.js +0 -382
  945. package/cdn/chunks/chunk.MPB2O6EL.js +0 -21
  946. package/cdn/chunks/chunk.MXTFQSH4.js +0 -11
  947. package/cdn/chunks/chunk.N3COEU4Q.js +0 -11
  948. package/cdn/chunks/chunk.N4FP5YJM.js +0 -11
  949. package/cdn/chunks/chunk.NEOOCCRX.js +0 -11
  950. package/cdn/chunks/chunk.NHKI5IOQ.js +0 -11
  951. package/cdn/chunks/chunk.NJFOOAX6.js +0 -95
  952. package/cdn/chunks/chunk.NMC4U2UZ.js +0 -257
  953. package/cdn/chunks/chunk.NWC5QC3A.js +0 -21
  954. package/cdn/chunks/chunk.NZYXMJ6J.js +0 -11
  955. package/cdn/chunks/chunk.O2EW6OJX.js +0 -21
  956. package/cdn/chunks/chunk.OMX2TEPL.js +0 -11
  957. package/cdn/chunks/chunk.OSD74RPD.js +0 -89
  958. package/cdn/chunks/chunk.OVMIORYD.js +0 -11
  959. package/cdn/chunks/chunk.OVN3X2JB.js +0 -24
  960. package/cdn/chunks/chunk.P5W76TTI.js +0 -11
  961. package/cdn/chunks/chunk.PDE7AU7F.js +0 -21
  962. package/cdn/chunks/chunk.PH23XDAE.js +0 -24
  963. package/cdn/chunks/chunk.PJYHQXK5.js +0 -11
  964. package/cdn/chunks/chunk.POFCZUEH.js +0 -11
  965. package/cdn/chunks/chunk.QE3Y4CZQ.js +0 -21
  966. package/cdn/chunks/chunk.QN7TUUQV.js +0 -11
  967. package/cdn/chunks/chunk.QQQCDFVB.js +0 -11
  968. package/cdn/chunks/chunk.QS25M6RH.js +0 -21
  969. package/cdn/chunks/chunk.QUMPPHSZ.js +0 -24
  970. package/cdn/chunks/chunk.R2I6XQFG.js +0 -163
  971. package/cdn/chunks/chunk.R4APGLP7.js +0 -28
  972. package/cdn/chunks/chunk.RG4EOM5J.js +0 -44
  973. package/cdn/chunks/chunk.RIHDSMVI.js +0 -124
  974. package/cdn/chunks/chunk.RIPHFJLF.js +0 -11
  975. package/cdn/chunks/chunk.RY46DAZK.js +0 -404
  976. package/cdn/chunks/chunk.SCGBKOMH.js +0 -24
  977. package/cdn/chunks/chunk.SOH5F2QY.js +0 -21
  978. package/cdn/chunks/chunk.SXQYL2XZ.js +0 -25
  979. package/cdn/chunks/chunk.T4AVTU5A.js +0 -99
  980. package/cdn/chunks/chunk.T5IZ272E.js +0 -11
  981. package/cdn/chunks/chunk.T5NYV44S.js +0 -24
  982. package/cdn/chunks/chunk.TCOAYLJB.js +0 -11
  983. package/cdn/chunks/chunk.TIWL7N5C.js +0 -393
  984. package/cdn/chunks/chunk.TU2DOTXL.js +0 -11
  985. package/cdn/chunks/chunk.TWQ3EL2D.js +0 -21
  986. package/cdn/chunks/chunk.UF3SAHJQ.js +0 -823
  987. package/cdn/chunks/chunk.UWMG47MH.js +0 -11
  988. package/cdn/chunks/chunk.VA2VYQUE.js +0 -28
  989. package/cdn/chunks/chunk.VB63IAEY.js +0 -28
  990. package/cdn/chunks/chunk.VJ7FOYMM.js +0 -438
  991. package/cdn/chunks/chunk.VWCYZTAK.js +0 -69
  992. package/cdn/chunks/chunk.W6BVVB2O.js +0 -167
  993. package/cdn/chunks/chunk.W6RKWVXP.js +0 -11
  994. package/cdn/chunks/chunk.W7KX2J3B.js +0 -28
  995. package/cdn/chunks/chunk.WA5BGK7G.js +0 -11
  996. package/cdn/chunks/chunk.WBIKWNRR.js +0 -120
  997. package/cdn/chunks/chunk.WDLCSDGJ.js +0 -11
  998. package/cdn/chunks/chunk.WE2HKJTL.js +0 -11
  999. package/cdn/chunks/chunk.WE335CM2.js +0 -11
  1000. package/cdn/chunks/chunk.WENKIBPX.js +0 -300
  1001. package/cdn/chunks/chunk.WKUBBRDO.js +0 -49
  1002. package/cdn/chunks/chunk.WOQC6KFO.js +0 -123
  1003. package/cdn/chunks/chunk.WUPHFRA5.js +0 -155
  1004. package/cdn/chunks/chunk.WY6I3BUX.js +0 -238
  1005. package/cdn/chunks/chunk.XAUO4ASA.js +0 -137
  1006. package/cdn/chunks/chunk.XDJMRXHF.js +0 -11
  1007. package/cdn/chunks/chunk.XDTCQJW6.js +0 -65
  1008. package/cdn/chunks/chunk.XHEXLCHU.js +0 -11
  1009. package/cdn/chunks/chunk.XLVBHHX7.js +0 -51
  1010. package/cdn/chunks/chunk.XSV5DOEQ.js +0 -11
  1011. package/cdn/chunks/chunk.XVF5P3O6.js +0 -726
  1012. package/cdn/chunks/chunk.XWBB3YZF.js +0 -21
  1013. package/cdn/chunks/chunk.XWSZ3UD2.js +0 -304
  1014. package/cdn/chunks/chunk.Y22JTKGA.js +0 -5847
  1015. package/cdn/chunks/chunk.Y3QDCWGF.js +0 -29
  1016. package/cdn/chunks/chunk.YLHUKNQ6.js +0 -27
  1017. package/cdn/chunks/chunk.YPN7YBLI.js +0 -293
  1018. package/cdn/chunks/chunk.YQA6W6HV.js +0 -29
  1019. package/cdn/chunks/chunk.YTPZBLRE.js +0 -27
  1020. package/cdn/chunks/chunk.YYVJVTG2.js +0 -11
  1021. package/cdn/chunks/chunk.Z3SBCMXQ.js +0 -24
  1022. package/cdn/chunks/chunk.ZDMBCAJB.js +0 -29
  1023. package/cdn/chunks/chunk.ZNGDLIME.js +0 -27
  1024. package/cdn/chunks/chunk.ZP353MK4.js +0 -24
  1025. package/cdn/chunks/chunk.ZPV5ODF4.js +0 -81
  1026. package/cdn/chunks/chunk.ZQDMOZML.js +0 -56
  1027. package/cdn/chunks/chunk.ZTUDZLV5.js +0 -11
  1028. package/dist/chunks/chunk.27FESLTN.js +0 -11
  1029. package/dist/chunks/chunk.2FX6DNML.js +0 -96
  1030. package/dist/chunks/chunk.2KJUI5IO.js +0 -213
  1031. package/dist/chunks/chunk.36BA2HHO.js +0 -286
  1032. package/dist/chunks/chunk.3G2QMJ5P.js +0 -11
  1033. package/dist/chunks/chunk.3IQLPJXJ.js +0 -21
  1034. package/dist/chunks/chunk.3LZW4S27.js +0 -25
  1035. package/dist/chunks/chunk.3NDTANKD.js +0 -24
  1036. package/dist/chunks/chunk.3UXRRTUZ.js +0 -28
  1037. package/dist/chunks/chunk.3Y3F3SN3.js +0 -42
  1038. package/dist/chunks/chunk.3Y5PA7P2.js +0 -11
  1039. package/dist/chunks/chunk.3ZQBXUFQ.js +0 -135
  1040. package/dist/chunks/chunk.4BD7U3TX.js +0 -26
  1041. package/dist/chunks/chunk.4EH6CRRL.js +0 -11
  1042. package/dist/chunks/chunk.4MIF3MOR.js +0 -11
  1043. package/dist/chunks/chunk.4Q3NU54T.js +0 -34
  1044. package/dist/chunks/chunk.4Q4Z7VHZ.js +0 -80
  1045. package/dist/chunks/chunk.4UV3URTK.js +0 -371
  1046. package/dist/chunks/chunk.4UVFSJNN.js +0 -45
  1047. package/dist/chunks/chunk.54TUSYKV.js +0 -11
  1048. package/dist/chunks/chunk.5BLLS676.js +0 -25
  1049. package/dist/chunks/chunk.5QEFBJ6M.js +0 -100
  1050. package/dist/chunks/chunk.5T2AHSSJ.js +0 -21
  1051. package/dist/chunks/chunk.5Z7YPAZI.js +0 -21
  1052. package/dist/chunks/chunk.64PJLQBK.js +0 -11
  1053. package/dist/chunks/chunk.6AD6KEUJ.js +0 -116
  1054. package/dist/chunks/chunk.6LORUQTF.js +0 -11
  1055. package/dist/chunks/chunk.6OHPTVAU.js +0 -111
  1056. package/dist/chunks/chunk.6R4DNMNE.js +0 -311
  1057. package/dist/chunks/chunk.6U7GE4EG.js +0 -21
  1058. package/dist/chunks/chunk.6W5F5MYH.js +0 -11
  1059. package/dist/chunks/chunk.7BU4A5YG.js +0 -11
  1060. package/dist/chunks/chunk.7DGD2XVK.js +0 -11
  1061. package/dist/chunks/chunk.7DVI5SGZ.js +0 -293
  1062. package/dist/chunks/chunk.7FWXG35V.js +0 -119
  1063. package/dist/chunks/chunk.7GSWZF3R.js +0 -494
  1064. package/dist/chunks/chunk.7OE5OXEX.js +0 -52
  1065. package/dist/chunks/chunk.7QAAX3EZ.js +0 -11
  1066. package/dist/chunks/chunk.7RY6QRNG.js +0 -59
  1067. package/dist/chunks/chunk.7SU4UORK.js +0 -371
  1068. package/dist/chunks/chunk.7XYN5E46.js +0 -11
  1069. package/dist/chunks/chunk.7YK2NKMD.js +0 -162
  1070. package/dist/chunks/chunk.A53FXZSD.js +0 -167
  1071. package/dist/chunks/chunk.AEFD6GGW.js +0 -797
  1072. package/dist/chunks/chunk.ARQGNI2B.js +0 -11
  1073. package/dist/chunks/chunk.AWXCV27K.js +0 -93
  1074. package/dist/chunks/chunk.AX5VGNBE.js +0 -75
  1075. package/dist/chunks/chunk.BKXHV6VB.js +0 -21
  1076. package/dist/chunks/chunk.BNNPCWW4.js +0 -11
  1077. package/dist/chunks/chunk.BOSE4AJ7.js +0 -11
  1078. package/dist/chunks/chunk.BPQOHH5O.js +0 -21
  1079. package/dist/chunks/chunk.BZELNFKK.js +0 -291
  1080. package/dist/chunks/chunk.C222ASFU.js +0 -21
  1081. package/dist/chunks/chunk.CBSVUDRQ.js +0 -27
  1082. package/dist/chunks/chunk.CETG4ZAE.js +0 -337
  1083. package/dist/chunks/chunk.CFACVCDT.js +0 -25
  1084. package/dist/chunks/chunk.CK3RH23S.js +0 -274
  1085. package/dist/chunks/chunk.CVYA7T6M.js +0 -384
  1086. package/dist/chunks/chunk.DPFZEOGL.js +0 -101
  1087. package/dist/chunks/chunk.EBWLLNIL.js +0 -11
  1088. package/dist/chunks/chunk.EH5YF74Z.js +0 -21
  1089. package/dist/chunks/chunk.EKYXWEBE.js +0 -11
  1090. package/dist/chunks/chunk.EMQO27IG.js +0 -11
  1091. package/dist/chunks/chunk.ENGFIA3R.js +0 -21
  1092. package/dist/chunks/chunk.EP6NJN7S.js +0 -417
  1093. package/dist/chunks/chunk.EZVZXBXQ.js +0 -24
  1094. package/dist/chunks/chunk.F5ZSRYUV.js +0 -550
  1095. package/dist/chunks/chunk.F7FNQ5YN.js +0 -11
  1096. package/dist/chunks/chunk.FFW55VXP.js +0 -11
  1097. package/dist/chunks/chunk.FKB5UJ3U.js +0 -27
  1098. package/dist/chunks/chunk.FLP4DZLX.js +0 -21
  1099. package/dist/chunks/chunk.FTZVBSPQ.js +0 -949
  1100. package/dist/chunks/chunk.FWMIQBLS.js +0 -11
  1101. package/dist/chunks/chunk.G7IAEPI7.js +0 -361
  1102. package/dist/chunks/chunk.G7RPBUJC.js +0 -11
  1103. package/dist/chunks/chunk.GCZYBCE6.js +0 -21
  1104. package/dist/chunks/chunk.GF2G7J3U.js +0 -11
  1105. package/dist/chunks/chunk.GFFJXLSF.js +0 -11
  1106. package/dist/chunks/chunk.GFUXU5KJ.js +0 -11
  1107. package/dist/chunks/chunk.GLHCLWHC.js +0 -24
  1108. package/dist/chunks/chunk.GP2XRWYU.js +0 -11
  1109. package/dist/chunks/chunk.GRY6X3GS.js +0 -11
  1110. package/dist/chunks/chunk.GTIRGE4I.js +0 -11
  1111. package/dist/chunks/chunk.H4X7SBFY.js +0 -25
  1112. package/dist/chunks/chunk.HCVVX3UT.js +0 -21
  1113. package/dist/chunks/chunk.HJLPMBSG.js +0 -21
  1114. package/dist/chunks/chunk.HJYLGWT5.js +0 -210
  1115. package/dist/chunks/chunk.HNESWAQM.js +0 -11
  1116. package/dist/chunks/chunk.HP6BDTJU.js +0 -21
  1117. package/dist/chunks/chunk.HUDXX3XK.js +0 -28
  1118. package/dist/chunks/chunk.I23WDD5U.js +0 -50
  1119. package/dist/chunks/chunk.I34FGIXH.js +0 -45
  1120. package/dist/chunks/chunk.I37AVZUF.js +0 -24
  1121. package/dist/chunks/chunk.I3FHHOIF.js +0 -11
  1122. package/dist/chunks/chunk.I4F6APXV.js +0 -11
  1123. package/dist/chunks/chunk.I4PBQHL3.js +0 -147
  1124. package/dist/chunks/chunk.IJGD3Z6V.js +0 -25
  1125. package/dist/chunks/chunk.IOGIHEAF.js +0 -21
  1126. package/dist/chunks/chunk.IRV34E3C.js +0 -259
  1127. package/dist/chunks/chunk.J7RT2L5U.js +0 -28
  1128. package/dist/chunks/chunk.JJ2ZHCK7.js +0 -24
  1129. package/dist/chunks/chunk.JJSDBCDL.js +0 -24
  1130. package/dist/chunks/chunk.JM3NMOQV.js +0 -11
  1131. package/dist/chunks/chunk.JSJNUSHO.js +0 -11
  1132. package/dist/chunks/chunk.JW5T4OYH.js +0 -109
  1133. package/dist/chunks/chunk.JZTEQUPS.js +0 -100
  1134. package/dist/chunks/chunk.KHZJNTNP.js +0 -11
  1135. package/dist/chunks/chunk.KMGPXVAU.js +0 -168
  1136. package/dist/chunks/chunk.KUCVIE3T.js +0 -90
  1137. package/dist/chunks/chunk.KZJTBZUK.js +0 -67
  1138. package/dist/chunks/chunk.L3G777K5.js +0 -21
  1139. package/dist/chunks/chunk.L5KTFP54.js +0 -11
  1140. package/dist/chunks/chunk.LEC34CJJ.js +0 -153
  1141. package/dist/chunks/chunk.LJQ6PZAG.js +0 -231
  1142. package/dist/chunks/chunk.LPM3FEEY.js +0 -91
  1143. package/dist/chunks/chunk.LSFMYJRW.js +0 -21
  1144. package/dist/chunks/chunk.LUDOHTAK.js +0 -11
  1145. package/dist/chunks/chunk.LUDTW2OZ.js +0 -11
  1146. package/dist/chunks/chunk.LZSWXXBT.js +0 -28
  1147. package/dist/chunks/chunk.M7WDYKMS.js +0 -21
  1148. package/dist/chunks/chunk.MCBNRYPV.js +0 -73
  1149. package/dist/chunks/chunk.MF6MS3TQ.js +0 -11
  1150. package/dist/chunks/chunk.MHMANAVS.js +0 -108
  1151. package/dist/chunks/chunk.MI3M7R5Q.js +0 -11
  1152. package/dist/chunks/chunk.MYIGOB6X.js +0 -24
  1153. package/dist/chunks/chunk.N3SJ75IN.js +0 -181
  1154. package/dist/chunks/chunk.N74ZZFAH.js +0 -26
  1155. package/dist/chunks/chunk.NGNGYKBL.js +0 -117
  1156. package/dist/chunks/chunk.NLLZANVJ.js +0 -11
  1157. package/dist/chunks/chunk.NTAMDSTW.js +0 -121
  1158. package/dist/chunks/chunk.NUE4Z3BK.js +0 -29
  1159. package/dist/chunks/chunk.OCX4RLQ3.js +0 -11
  1160. package/dist/chunks/chunk.OOQDFVOF.js +0 -25
  1161. package/dist/chunks/chunk.OV4VB5DD.js +0 -294
  1162. package/dist/chunks/chunk.OYHPCF5A.js +0 -11
  1163. package/dist/chunks/chunk.P4OMHOT5.js +0 -376
  1164. package/dist/chunks/chunk.PASTNL6A.js +0 -11
  1165. package/dist/chunks/chunk.PB6TL5B2.js +0 -25
  1166. package/dist/chunks/chunk.PDAF4KUD.js +0 -134
  1167. package/dist/chunks/chunk.PKQO5Q7X.js +0 -315
  1168. package/dist/chunks/chunk.PMFWCHES.js +0 -28
  1169. package/dist/chunks/chunk.POJDEU4P.js +0 -11
  1170. package/dist/chunks/chunk.Q3NHZCR6.js +0 -11
  1171. package/dist/chunks/chunk.QJFL2QKK.js +0 -11
  1172. package/dist/chunks/chunk.QPUQ6QKT.js +0 -21
  1173. package/dist/chunks/chunk.QPYSNJMK.js +0 -11
  1174. package/dist/chunks/chunk.QRDAH72O.js +0 -25
  1175. package/dist/chunks/chunk.QZ5SCWD4.js +0 -11
  1176. package/dist/chunks/chunk.R5N74XD4.js +0 -75
  1177. package/dist/chunks/chunk.RKE45MKZ.js +0 -358
  1178. package/dist/chunks/chunk.RP4DZ3VC.js +0 -397
  1179. package/dist/chunks/chunk.RVSUQ7V2.js +0 -22
  1180. package/dist/chunks/chunk.SAC257ZY.js +0 -151
  1181. package/dist/chunks/chunk.SFV64E5X.js +0 -192
  1182. package/dist/chunks/chunk.SJKKTKCA.js +0 -85
  1183. package/dist/chunks/chunk.SMDY62OK.js +0 -25
  1184. package/dist/chunks/chunk.SNX253NU.js +0 -21
  1185. package/dist/chunks/chunk.SQ7LGXI6.js +0 -25
  1186. package/dist/chunks/chunk.SX5HRLZ6.js +0 -21
  1187. package/dist/chunks/chunk.SZSOBJR7.js +0 -11
  1188. package/dist/chunks/chunk.TENOPCST.js +0 -126
  1189. package/dist/chunks/chunk.TMDUU76J.js +0 -227
  1190. package/dist/chunks/chunk.U6WDY5S4.js +0 -24
  1191. package/dist/chunks/chunk.UK2FXRFD.js +0 -29
  1192. package/dist/chunks/chunk.UQOROFX2.js +0 -24
  1193. package/dist/chunks/chunk.UVL7C5UN.js +0 -96
  1194. package/dist/chunks/chunk.UXGZKKIO.js +0 -448
  1195. package/dist/chunks/chunk.UY6FDD5W.js +0 -11
  1196. package/dist/chunks/chunk.UZFQHOYJ.js +0 -24
  1197. package/dist/chunks/chunk.V2BCTWCT.js +0 -11
  1198. package/dist/chunks/chunk.V5O7FRKE.js +0 -24
  1199. package/dist/chunks/chunk.V6DW7BPE.js +0 -63
  1200. package/dist/chunks/chunk.VFXMYHYZ.js +0 -21
  1201. package/dist/chunks/chunk.VFYUZDBZ.js +0 -11
  1202. package/dist/chunks/chunk.VQ5G4BHO.js +0 -11
  1203. package/dist/chunks/chunk.VVA35HTY.js +0 -22
  1204. package/dist/chunks/chunk.W7HVG27A.js +0 -11
  1205. package/dist/chunks/chunk.WK4NXGFN.js +0 -813
  1206. package/dist/chunks/chunk.WM52THS3.js +0 -22
  1207. package/dist/chunks/chunk.WRCWOPKG.js +0 -33
  1208. package/dist/chunks/chunk.WTKH74WS.js +0 -280
  1209. package/dist/chunks/chunk.WWWFM4HA.js +0 -21
  1210. package/dist/chunks/chunk.WZCBQNPZ.js +0 -113
  1211. package/dist/chunks/chunk.XCWRG3GG.js +0 -21
  1212. package/dist/chunks/chunk.XFGX2LE5.js +0 -27
  1213. package/dist/chunks/chunk.XGWFYJNE.js +0 -434
  1214. package/dist/chunks/chunk.XLFD452Y.js +0 -11
  1215. package/dist/chunks/chunk.XMQ2LSZT.js +0 -247
  1216. package/dist/chunks/chunk.XO2EH4DG.js +0 -454
  1217. package/dist/chunks/chunk.XTX7HR6N.js +0 -29
  1218. package/dist/chunks/chunk.YI676TAC.js +0 -28
  1219. package/dist/chunks/chunk.YN53X4O7.js +0 -11
  1220. package/dist/chunks/chunk.YOEKHXTG.js +0 -26
  1221. package/dist/chunks/chunk.YUMX55DW.js +0 -11
  1222. package/dist/chunks/chunk.Z5GW4PSK.js +0 -11
  1223. package/dist/chunks/chunk.ZHKFTU4X.js +0 -11
  1224. package/dist/chunks/chunk.ZNVGWYMG.js +0 -29
  1225. package/dist/chunks/chunk.ZUZCNKCX.js +0 -27
  1226. package/dist/chunks/chunk.ZV7NCPCJ.js +0 -24
@@ -0,0 +1,1879 @@
1
+ import {
2
+ popup_styles_default
3
+ } from "./chunk.NCELV3A3.js";
4
+ import {
5
+ e
6
+ } from "./chunk.ZLZKOPYV.js";
7
+ import {
8
+ LocalizeController
9
+ } from "./chunk.2SU6QBUU.js";
10
+ import {
11
+ component_styles_default
12
+ } from "./chunk.EFE6XYM5.js";
13
+ import {
14
+ ShoelaceElement,
15
+ e as e2,
16
+ n
17
+ } from "./chunk.2FS7YXYL.js";
18
+ import {
19
+ x
20
+ } from "./chunk.ZKRJ3RUK.js";
21
+ import {
22
+ __decorateClass,
23
+ __objRest,
24
+ __spreadProps,
25
+ __spreadValues
26
+ } from "./chunk.CZCSAYQZ.js";
27
+
28
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
29
+ var min = Math.min;
30
+ var max = Math.max;
31
+ var round = Math.round;
32
+ var floor = Math.floor;
33
+ var createCoords = (v) => ({
34
+ x: v,
35
+ y: v
36
+ });
37
+ var oppositeSideMap = {
38
+ left: "right",
39
+ right: "left",
40
+ bottom: "top",
41
+ top: "bottom"
42
+ };
43
+ var oppositeAlignmentMap = {
44
+ start: "end",
45
+ end: "start"
46
+ };
47
+ function clamp(start, value, end) {
48
+ return max(start, min(value, end));
49
+ }
50
+ function evaluate(value, param) {
51
+ return typeof value === "function" ? value(param) : value;
52
+ }
53
+ function getSide(placement) {
54
+ return placement.split("-")[0];
55
+ }
56
+ function getAlignment(placement) {
57
+ return placement.split("-")[1];
58
+ }
59
+ function getOppositeAxis(axis) {
60
+ return axis === "x" ? "y" : "x";
61
+ }
62
+ function getAxisLength(axis) {
63
+ return axis === "y" ? "height" : "width";
64
+ }
65
+ function getSideAxis(placement) {
66
+ return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
67
+ }
68
+ function getAlignmentAxis(placement) {
69
+ return getOppositeAxis(getSideAxis(placement));
70
+ }
71
+ function getAlignmentSides(placement, rects, rtl) {
72
+ if (rtl === void 0) {
73
+ rtl = false;
74
+ }
75
+ const alignment = getAlignment(placement);
76
+ const alignmentAxis = getAlignmentAxis(placement);
77
+ const length = getAxisLength(alignmentAxis);
78
+ let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
79
+ if (rects.reference[length] > rects.floating[length]) {
80
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
81
+ }
82
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
83
+ }
84
+ function getExpandedPlacements(placement) {
85
+ const oppositePlacement = getOppositePlacement(placement);
86
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
87
+ }
88
+ function getOppositeAlignmentPlacement(placement) {
89
+ return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
90
+ }
91
+ function getSideList(side, isStart, rtl) {
92
+ const lr = ["left", "right"];
93
+ const rl = ["right", "left"];
94
+ const tb = ["top", "bottom"];
95
+ const bt = ["bottom", "top"];
96
+ switch (side) {
97
+ case "top":
98
+ case "bottom":
99
+ if (rtl) return isStart ? rl : lr;
100
+ return isStart ? lr : rl;
101
+ case "left":
102
+ case "right":
103
+ return isStart ? tb : bt;
104
+ default:
105
+ return [];
106
+ }
107
+ }
108
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
109
+ const alignment = getAlignment(placement);
110
+ let list = getSideList(getSide(placement), direction === "start", rtl);
111
+ if (alignment) {
112
+ list = list.map((side) => side + "-" + alignment);
113
+ if (flipAlignment) {
114
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
115
+ }
116
+ }
117
+ return list;
118
+ }
119
+ function getOppositePlacement(placement) {
120
+ return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
121
+ }
122
+ function expandPaddingObject(padding) {
123
+ return __spreadValues({
124
+ top: 0,
125
+ right: 0,
126
+ bottom: 0,
127
+ left: 0
128
+ }, padding);
129
+ }
130
+ function getPaddingObject(padding) {
131
+ return typeof padding !== "number" ? expandPaddingObject(padding) : {
132
+ top: padding,
133
+ right: padding,
134
+ bottom: padding,
135
+ left: padding
136
+ };
137
+ }
138
+ function rectToClientRect(rect) {
139
+ const {
140
+ x: x2,
141
+ y,
142
+ width,
143
+ height
144
+ } = rect;
145
+ return {
146
+ width,
147
+ height,
148
+ top: y,
149
+ left: x2,
150
+ right: x2 + width,
151
+ bottom: y + height,
152
+ x: x2,
153
+ y
154
+ };
155
+ }
156
+
157
+ // node_modules/@floating-ui/core/dist/floating-ui.core.mjs
158
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
159
+ let {
160
+ reference,
161
+ floating
162
+ } = _ref;
163
+ const sideAxis = getSideAxis(placement);
164
+ const alignmentAxis = getAlignmentAxis(placement);
165
+ const alignLength = getAxisLength(alignmentAxis);
166
+ const side = getSide(placement);
167
+ const isVertical = sideAxis === "y";
168
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
169
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
170
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
171
+ let coords;
172
+ switch (side) {
173
+ case "top":
174
+ coords = {
175
+ x: commonX,
176
+ y: reference.y - floating.height
177
+ };
178
+ break;
179
+ case "bottom":
180
+ coords = {
181
+ x: commonX,
182
+ y: reference.y + reference.height
183
+ };
184
+ break;
185
+ case "right":
186
+ coords = {
187
+ x: reference.x + reference.width,
188
+ y: commonY
189
+ };
190
+ break;
191
+ case "left":
192
+ coords = {
193
+ x: reference.x - floating.width,
194
+ y: commonY
195
+ };
196
+ break;
197
+ default:
198
+ coords = {
199
+ x: reference.x,
200
+ y: reference.y
201
+ };
202
+ }
203
+ switch (getAlignment(placement)) {
204
+ case "start":
205
+ coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);
206
+ break;
207
+ case "end":
208
+ coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);
209
+ break;
210
+ }
211
+ return coords;
212
+ }
213
+ var computePosition = async (reference, floating, config) => {
214
+ const {
215
+ placement = "bottom",
216
+ strategy = "absolute",
217
+ middleware = [],
218
+ platform: platform2
219
+ } = config;
220
+ const validMiddleware = middleware.filter(Boolean);
221
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(floating));
222
+ let rects = await platform2.getElementRects({
223
+ reference,
224
+ floating,
225
+ strategy
226
+ });
227
+ let {
228
+ x: x2,
229
+ y
230
+ } = computeCoordsFromPlacement(rects, placement, rtl);
231
+ let statefulPlacement = placement;
232
+ let middlewareData = {};
233
+ let resetCount = 0;
234
+ for (let i2 = 0; i2 < validMiddleware.length; i2++) {
235
+ const {
236
+ name,
237
+ fn
238
+ } = validMiddleware[i2];
239
+ const {
240
+ x: nextX,
241
+ y: nextY,
242
+ data,
243
+ reset
244
+ } = await fn({
245
+ x: x2,
246
+ y,
247
+ initialPlacement: placement,
248
+ placement: statefulPlacement,
249
+ strategy,
250
+ middlewareData,
251
+ rects,
252
+ platform: platform2,
253
+ elements: {
254
+ reference,
255
+ floating
256
+ }
257
+ });
258
+ x2 = nextX != null ? nextX : x2;
259
+ y = nextY != null ? nextY : y;
260
+ middlewareData = __spreadProps(__spreadValues({}, middlewareData), {
261
+ [name]: __spreadValues(__spreadValues({}, middlewareData[name]), data)
262
+ });
263
+ if (reset && resetCount <= 50) {
264
+ resetCount++;
265
+ if (typeof reset === "object") {
266
+ if (reset.placement) {
267
+ statefulPlacement = reset.placement;
268
+ }
269
+ if (reset.rects) {
270
+ rects = reset.rects === true ? await platform2.getElementRects({
271
+ reference,
272
+ floating,
273
+ strategy
274
+ }) : reset.rects;
275
+ }
276
+ ({
277
+ x: x2,
278
+ y
279
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
280
+ }
281
+ i2 = -1;
282
+ }
283
+ }
284
+ return {
285
+ x: x2,
286
+ y,
287
+ placement: statefulPlacement,
288
+ strategy,
289
+ middlewareData
290
+ };
291
+ };
292
+ async function detectOverflow(state, options) {
293
+ var _await$platform$isEle;
294
+ if (options === void 0) {
295
+ options = {};
296
+ }
297
+ const {
298
+ x: x2,
299
+ y,
300
+ platform: platform2,
301
+ rects,
302
+ elements,
303
+ strategy
304
+ } = state;
305
+ const {
306
+ boundary = "clippingAncestors",
307
+ rootBoundary = "viewport",
308
+ elementContext = "floating",
309
+ altBoundary = false,
310
+ padding = 0
311
+ } = evaluate(options, state);
312
+ const paddingObject = getPaddingObject(padding);
313
+ const altContext = elementContext === "floating" ? "reference" : "floating";
314
+ const element = elements[altBoundary ? altContext : elementContext];
315
+ const clippingClientRect = rectToClientRect(await platform2.getClippingRect({
316
+ element: ((_await$platform$isEle = await (platform2.isElement == null ? void 0 : platform2.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform2.getDocumentElement == null ? void 0 : platform2.getDocumentElement(elements.floating)),
317
+ boundary,
318
+ rootBoundary,
319
+ strategy
320
+ }));
321
+ const rect = elementContext === "floating" ? {
322
+ x: x2,
323
+ y,
324
+ width: rects.floating.width,
325
+ height: rects.floating.height
326
+ } : rects.reference;
327
+ const offsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(elements.floating));
328
+ const offsetScale = await (platform2.isElement == null ? void 0 : platform2.isElement(offsetParent)) ? await (platform2.getScale == null ? void 0 : platform2.getScale(offsetParent)) || {
329
+ x: 1,
330
+ y: 1
331
+ } : {
332
+ x: 1,
333
+ y: 1
334
+ };
335
+ const elementClientRect = rectToClientRect(platform2.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform2.convertOffsetParentRelativeRectToViewportRelativeRect({
336
+ elements,
337
+ rect,
338
+ offsetParent,
339
+ strategy
340
+ }) : rect);
341
+ return {
342
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
343
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
344
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
345
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
346
+ };
347
+ }
348
+ var arrow = (options) => ({
349
+ name: "arrow",
350
+ options,
351
+ async fn(state) {
352
+ const {
353
+ x: x2,
354
+ y,
355
+ placement,
356
+ rects,
357
+ platform: platform2,
358
+ elements,
359
+ middlewareData
360
+ } = state;
361
+ const {
362
+ element,
363
+ padding = 0
364
+ } = evaluate(options, state) || {};
365
+ if (element == null) {
366
+ return {};
367
+ }
368
+ const paddingObject = getPaddingObject(padding);
369
+ const coords = {
370
+ x: x2,
371
+ y
372
+ };
373
+ const axis = getAlignmentAxis(placement);
374
+ const length = getAxisLength(axis);
375
+ const arrowDimensions = await platform2.getDimensions(element);
376
+ const isYAxis = axis === "y";
377
+ const minProp = isYAxis ? "top" : "left";
378
+ const maxProp = isYAxis ? "bottom" : "right";
379
+ const clientProp = isYAxis ? "clientHeight" : "clientWidth";
380
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
381
+ const startDiff = coords[axis] - rects.reference[axis];
382
+ const arrowOffsetParent = await (platform2.getOffsetParent == null ? void 0 : platform2.getOffsetParent(element));
383
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
384
+ if (!clientSize || !await (platform2.isElement == null ? void 0 : platform2.isElement(arrowOffsetParent))) {
385
+ clientSize = elements.floating[clientProp] || rects.floating[length];
386
+ }
387
+ const centerToReference = endDiff / 2 - startDiff / 2;
388
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
389
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
390
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
391
+ const min$1 = minPadding;
392
+ const max2 = clientSize - arrowDimensions[length] - maxPadding;
393
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
394
+ const offset3 = clamp(min$1, center, max2);
395
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset3 && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
396
+ const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max2 : 0;
397
+ return {
398
+ [axis]: coords[axis] + alignmentOffset,
399
+ data: __spreadValues({
400
+ [axis]: offset3,
401
+ centerOffset: center - offset3 - alignmentOffset
402
+ }, shouldAddOffset && {
403
+ alignmentOffset
404
+ }),
405
+ reset: shouldAddOffset
406
+ };
407
+ }
408
+ });
409
+ var flip = function(options) {
410
+ if (options === void 0) {
411
+ options = {};
412
+ }
413
+ return {
414
+ name: "flip",
415
+ options,
416
+ async fn(state) {
417
+ var _middlewareData$arrow, _middlewareData$flip;
418
+ const {
419
+ placement,
420
+ middlewareData,
421
+ rects,
422
+ initialPlacement,
423
+ platform: platform2,
424
+ elements
425
+ } = state;
426
+ const _a = evaluate(options, state), {
427
+ mainAxis: checkMainAxis = true,
428
+ crossAxis: checkCrossAxis = true,
429
+ fallbackPlacements: specifiedFallbackPlacements,
430
+ fallbackStrategy = "bestFit",
431
+ fallbackAxisSideDirection = "none",
432
+ flipAlignment = true
433
+ } = _a, detectOverflowOptions = __objRest(_a, [
434
+ "mainAxis",
435
+ "crossAxis",
436
+ "fallbackPlacements",
437
+ "fallbackStrategy",
438
+ "fallbackAxisSideDirection",
439
+ "flipAlignment"
440
+ ]);
441
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
442
+ return {};
443
+ }
444
+ const side = getSide(placement);
445
+ const initialSideAxis = getSideAxis(initialPlacement);
446
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
447
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
448
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
449
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
450
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
451
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
452
+ }
453
+ const placements2 = [initialPlacement, ...fallbackPlacements];
454
+ const overflow = await detectOverflow(state, detectOverflowOptions);
455
+ const overflows = [];
456
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
457
+ if (checkMainAxis) {
458
+ overflows.push(overflow[side]);
459
+ }
460
+ if (checkCrossAxis) {
461
+ const sides2 = getAlignmentSides(placement, rects, rtl);
462
+ overflows.push(overflow[sides2[0]], overflow[sides2[1]]);
463
+ }
464
+ overflowsData = [...overflowsData, {
465
+ placement,
466
+ overflows
467
+ }];
468
+ if (!overflows.every((side2) => side2 <= 0)) {
469
+ var _middlewareData$flip2, _overflowsData$filter;
470
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
471
+ const nextPlacement = placements2[nextIndex];
472
+ if (nextPlacement) {
473
+ return {
474
+ data: {
475
+ index: nextIndex,
476
+ overflows: overflowsData
477
+ },
478
+ reset: {
479
+ placement: nextPlacement
480
+ }
481
+ };
482
+ }
483
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
484
+ if (!resetPlacement) {
485
+ switch (fallbackStrategy) {
486
+ case "bestFit": {
487
+ var _overflowsData$filter2;
488
+ const placement2 = (_overflowsData$filter2 = overflowsData.filter((d) => {
489
+ if (hasFallbackAxisSideDirection) {
490
+ const currentSideAxis = getSideAxis(d.placement);
491
+ return currentSideAxis === initialSideAxis || // Create a bias to the `y` side axis due to horizontal
492
+ // reading directions favoring greater width.
493
+ currentSideAxis === "y";
494
+ }
495
+ return true;
496
+ }).map((d) => [d.placement, d.overflows.filter((overflow2) => overflow2 > 0).reduce((acc, overflow2) => acc + overflow2, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
497
+ if (placement2) {
498
+ resetPlacement = placement2;
499
+ }
500
+ break;
501
+ }
502
+ case "initialPlacement":
503
+ resetPlacement = initialPlacement;
504
+ break;
505
+ }
506
+ }
507
+ if (placement !== resetPlacement) {
508
+ return {
509
+ reset: {
510
+ placement: resetPlacement
511
+ }
512
+ };
513
+ }
514
+ }
515
+ return {};
516
+ }
517
+ };
518
+ };
519
+ async function convertValueToCoords(state, options) {
520
+ const {
521
+ placement,
522
+ platform: platform2,
523
+ elements
524
+ } = state;
525
+ const rtl = await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating));
526
+ const side = getSide(placement);
527
+ const alignment = getAlignment(placement);
528
+ const isVertical = getSideAxis(placement) === "y";
529
+ const mainAxisMulti = ["left", "top"].includes(side) ? -1 : 1;
530
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
531
+ const rawValue = evaluate(options, state);
532
+ let {
533
+ mainAxis,
534
+ crossAxis,
535
+ alignmentAxis
536
+ } = typeof rawValue === "number" ? {
537
+ mainAxis: rawValue,
538
+ crossAxis: 0,
539
+ alignmentAxis: null
540
+ } : {
541
+ mainAxis: rawValue.mainAxis || 0,
542
+ crossAxis: rawValue.crossAxis || 0,
543
+ alignmentAxis: rawValue.alignmentAxis
544
+ };
545
+ if (alignment && typeof alignmentAxis === "number") {
546
+ crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
547
+ }
548
+ return isVertical ? {
549
+ x: crossAxis * crossAxisMulti,
550
+ y: mainAxis * mainAxisMulti
551
+ } : {
552
+ x: mainAxis * mainAxisMulti,
553
+ y: crossAxis * crossAxisMulti
554
+ };
555
+ }
556
+ var offset = function(options) {
557
+ if (options === void 0) {
558
+ options = 0;
559
+ }
560
+ return {
561
+ name: "offset",
562
+ options,
563
+ async fn(state) {
564
+ var _middlewareData$offse, _middlewareData$arrow;
565
+ const {
566
+ x: x2,
567
+ y,
568
+ placement,
569
+ middlewareData
570
+ } = state;
571
+ const diffCoords = await convertValueToCoords(state, options);
572
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
573
+ return {};
574
+ }
575
+ return {
576
+ x: x2 + diffCoords.x,
577
+ y: y + diffCoords.y,
578
+ data: __spreadProps(__spreadValues({}, diffCoords), {
579
+ placement
580
+ })
581
+ };
582
+ }
583
+ };
584
+ };
585
+ var shift = function(options) {
586
+ if (options === void 0) {
587
+ options = {};
588
+ }
589
+ return {
590
+ name: "shift",
591
+ options,
592
+ async fn(state) {
593
+ const {
594
+ x: x2,
595
+ y,
596
+ placement
597
+ } = state;
598
+ const _a = evaluate(options, state), {
599
+ mainAxis: checkMainAxis = true,
600
+ crossAxis: checkCrossAxis = false,
601
+ limiter = {
602
+ fn: (_ref) => {
603
+ let {
604
+ x: x3,
605
+ y: y2
606
+ } = _ref;
607
+ return {
608
+ x: x3,
609
+ y: y2
610
+ };
611
+ }
612
+ }
613
+ } = _a, detectOverflowOptions = __objRest(_a, [
614
+ "mainAxis",
615
+ "crossAxis",
616
+ "limiter"
617
+ ]);
618
+ const coords = {
619
+ x: x2,
620
+ y
621
+ };
622
+ const overflow = await detectOverflow(state, detectOverflowOptions);
623
+ const crossAxis = getSideAxis(getSide(placement));
624
+ const mainAxis = getOppositeAxis(crossAxis);
625
+ let mainAxisCoord = coords[mainAxis];
626
+ let crossAxisCoord = coords[crossAxis];
627
+ if (checkMainAxis) {
628
+ const minSide = mainAxis === "y" ? "top" : "left";
629
+ const maxSide = mainAxis === "y" ? "bottom" : "right";
630
+ const min2 = mainAxisCoord + overflow[minSide];
631
+ const max2 = mainAxisCoord - overflow[maxSide];
632
+ mainAxisCoord = clamp(min2, mainAxisCoord, max2);
633
+ }
634
+ if (checkCrossAxis) {
635
+ const minSide = crossAxis === "y" ? "top" : "left";
636
+ const maxSide = crossAxis === "y" ? "bottom" : "right";
637
+ const min2 = crossAxisCoord + overflow[minSide];
638
+ const max2 = crossAxisCoord - overflow[maxSide];
639
+ crossAxisCoord = clamp(min2, crossAxisCoord, max2);
640
+ }
641
+ const limitedCoords = limiter.fn(__spreadProps(__spreadValues({}, state), {
642
+ [mainAxis]: mainAxisCoord,
643
+ [crossAxis]: crossAxisCoord
644
+ }));
645
+ return __spreadProps(__spreadValues({}, limitedCoords), {
646
+ data: {
647
+ x: limitedCoords.x - x2,
648
+ y: limitedCoords.y - y,
649
+ enabled: {
650
+ [mainAxis]: checkMainAxis,
651
+ [crossAxis]: checkCrossAxis
652
+ }
653
+ }
654
+ });
655
+ }
656
+ };
657
+ };
658
+ var size = function(options) {
659
+ if (options === void 0) {
660
+ options = {};
661
+ }
662
+ return {
663
+ name: "size",
664
+ options,
665
+ async fn(state) {
666
+ var _state$middlewareData, _state$middlewareData2;
667
+ const {
668
+ placement,
669
+ rects,
670
+ platform: platform2,
671
+ elements
672
+ } = state;
673
+ const _a = evaluate(options, state), {
674
+ apply = () => {
675
+ }
676
+ } = _a, detectOverflowOptions = __objRest(_a, [
677
+ "apply"
678
+ ]);
679
+ const overflow = await detectOverflow(state, detectOverflowOptions);
680
+ const side = getSide(placement);
681
+ const alignment = getAlignment(placement);
682
+ const isYAxis = getSideAxis(placement) === "y";
683
+ const {
684
+ width,
685
+ height
686
+ } = rects.floating;
687
+ let heightSide;
688
+ let widthSide;
689
+ if (side === "top" || side === "bottom") {
690
+ heightSide = side;
691
+ widthSide = alignment === (await (platform2.isRTL == null ? void 0 : platform2.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
692
+ } else {
693
+ widthSide = side;
694
+ heightSide = alignment === "end" ? "top" : "bottom";
695
+ }
696
+ const maximumClippingHeight = height - overflow.top - overflow.bottom;
697
+ const maximumClippingWidth = width - overflow.left - overflow.right;
698
+ const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
699
+ const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
700
+ const noShift = !state.middlewareData.shift;
701
+ let availableHeight = overflowAvailableHeight;
702
+ let availableWidth = overflowAvailableWidth;
703
+ if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {
704
+ availableWidth = maximumClippingWidth;
705
+ }
706
+ if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {
707
+ availableHeight = maximumClippingHeight;
708
+ }
709
+ if (noShift && !alignment) {
710
+ const xMin = max(overflow.left, 0);
711
+ const xMax = max(overflow.right, 0);
712
+ const yMin = max(overflow.top, 0);
713
+ const yMax = max(overflow.bottom, 0);
714
+ if (isYAxis) {
715
+ availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));
716
+ } else {
717
+ availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));
718
+ }
719
+ }
720
+ await apply(__spreadProps(__spreadValues({}, state), {
721
+ availableWidth,
722
+ availableHeight
723
+ }));
724
+ const nextDimensions = await platform2.getDimensions(elements.floating);
725
+ if (width !== nextDimensions.width || height !== nextDimensions.height) {
726
+ return {
727
+ reset: {
728
+ rects: true
729
+ }
730
+ };
731
+ }
732
+ return {};
733
+ }
734
+ };
735
+ };
736
+
737
+ // node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs
738
+ function hasWindow() {
739
+ return typeof window !== "undefined";
740
+ }
741
+ function getNodeName(node) {
742
+ if (isNode(node)) {
743
+ return (node.nodeName || "").toLowerCase();
744
+ }
745
+ return "#document";
746
+ }
747
+ function getWindow(node) {
748
+ var _node$ownerDocument;
749
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
750
+ }
751
+ function getDocumentElement(node) {
752
+ var _ref;
753
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
754
+ }
755
+ function isNode(value) {
756
+ if (!hasWindow()) {
757
+ return false;
758
+ }
759
+ return value instanceof Node || value instanceof getWindow(value).Node;
760
+ }
761
+ function isElement(value) {
762
+ if (!hasWindow()) {
763
+ return false;
764
+ }
765
+ return value instanceof Element || value instanceof getWindow(value).Element;
766
+ }
767
+ function isHTMLElement(value) {
768
+ if (!hasWindow()) {
769
+ return false;
770
+ }
771
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
772
+ }
773
+ function isShadowRoot(value) {
774
+ if (!hasWindow() || typeof ShadowRoot === "undefined") {
775
+ return false;
776
+ }
777
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
778
+ }
779
+ function isOverflowElement(element) {
780
+ const {
781
+ overflow,
782
+ overflowX,
783
+ overflowY,
784
+ display
785
+ } = getComputedStyle2(element);
786
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
787
+ }
788
+ function isTableElement(element) {
789
+ return ["table", "td", "th"].includes(getNodeName(element));
790
+ }
791
+ function isTopLayer(element) {
792
+ return [":popover-open", ":modal"].some((selector) => {
793
+ try {
794
+ return element.matches(selector);
795
+ } catch (e4) {
796
+ return false;
797
+ }
798
+ });
799
+ }
800
+ function isContainingBlock(elementOrCss) {
801
+ const webkit = isWebKit();
802
+ const css = isElement(elementOrCss) ? getComputedStyle2(elementOrCss) : elementOrCss;
803
+ return css.transform !== "none" || css.perspective !== "none" || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
804
+ }
805
+ function getContainingBlock(element) {
806
+ let currentNode = getParentNode(element);
807
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
808
+ if (isContainingBlock(currentNode)) {
809
+ return currentNode;
810
+ } else if (isTopLayer(currentNode)) {
811
+ return null;
812
+ }
813
+ currentNode = getParentNode(currentNode);
814
+ }
815
+ return null;
816
+ }
817
+ function isWebKit() {
818
+ if (typeof CSS === "undefined" || !CSS.supports) return false;
819
+ return CSS.supports("-webkit-backdrop-filter", "none");
820
+ }
821
+ function isLastTraversableNode(node) {
822
+ return ["html", "body", "#document"].includes(getNodeName(node));
823
+ }
824
+ function getComputedStyle2(element) {
825
+ return getWindow(element).getComputedStyle(element);
826
+ }
827
+ function getNodeScroll(element) {
828
+ if (isElement(element)) {
829
+ return {
830
+ scrollLeft: element.scrollLeft,
831
+ scrollTop: element.scrollTop
832
+ };
833
+ }
834
+ return {
835
+ scrollLeft: element.scrollX,
836
+ scrollTop: element.scrollY
837
+ };
838
+ }
839
+ function getParentNode(node) {
840
+ if (getNodeName(node) === "html") {
841
+ return node;
842
+ }
843
+ const result = (
844
+ // Step into the shadow DOM of the parent of a slotted node.
845
+ node.assignedSlot || // DOM Element detected.
846
+ node.parentNode || // ShadowRoot detected.
847
+ isShadowRoot(node) && node.host || // Fallback.
848
+ getDocumentElement(node)
849
+ );
850
+ return isShadowRoot(result) ? result.host : result;
851
+ }
852
+ function getNearestOverflowAncestor(node) {
853
+ const parentNode = getParentNode(node);
854
+ if (isLastTraversableNode(parentNode)) {
855
+ return node.ownerDocument ? node.ownerDocument.body : node.body;
856
+ }
857
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
858
+ return parentNode;
859
+ }
860
+ return getNearestOverflowAncestor(parentNode);
861
+ }
862
+ function getOverflowAncestors(node, list, traverseIframes) {
863
+ var _node$ownerDocument2;
864
+ if (list === void 0) {
865
+ list = [];
866
+ }
867
+ if (traverseIframes === void 0) {
868
+ traverseIframes = true;
869
+ }
870
+ const scrollableAncestor = getNearestOverflowAncestor(node);
871
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
872
+ const win = getWindow(scrollableAncestor);
873
+ if (isBody) {
874
+ const frameElement = getFrameElement(win);
875
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
876
+ }
877
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
878
+ }
879
+ function getFrameElement(win) {
880
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
881
+ }
882
+
883
+ // node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
884
+ function getCssDimensions(element) {
885
+ const css = getComputedStyle2(element);
886
+ let width = parseFloat(css.width) || 0;
887
+ let height = parseFloat(css.height) || 0;
888
+ const hasOffset = isHTMLElement(element);
889
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
890
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
891
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
892
+ if (shouldFallback) {
893
+ width = offsetWidth;
894
+ height = offsetHeight;
895
+ }
896
+ return {
897
+ width,
898
+ height,
899
+ $: shouldFallback
900
+ };
901
+ }
902
+ function unwrapElement(element) {
903
+ return !isElement(element) ? element.contextElement : element;
904
+ }
905
+ function getScale(element) {
906
+ const domElement = unwrapElement(element);
907
+ if (!isHTMLElement(domElement)) {
908
+ return createCoords(1);
909
+ }
910
+ const rect = domElement.getBoundingClientRect();
911
+ const {
912
+ width,
913
+ height,
914
+ $
915
+ } = getCssDimensions(domElement);
916
+ let x2 = ($ ? round(rect.width) : rect.width) / width;
917
+ let y = ($ ? round(rect.height) : rect.height) / height;
918
+ if (!x2 || !Number.isFinite(x2)) {
919
+ x2 = 1;
920
+ }
921
+ if (!y || !Number.isFinite(y)) {
922
+ y = 1;
923
+ }
924
+ return {
925
+ x: x2,
926
+ y
927
+ };
928
+ }
929
+ var noOffsets = /* @__PURE__ */ createCoords(0);
930
+ function getVisualOffsets(element) {
931
+ const win = getWindow(element);
932
+ if (!isWebKit() || !win.visualViewport) {
933
+ return noOffsets;
934
+ }
935
+ return {
936
+ x: win.visualViewport.offsetLeft,
937
+ y: win.visualViewport.offsetTop
938
+ };
939
+ }
940
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
941
+ if (isFixed === void 0) {
942
+ isFixed = false;
943
+ }
944
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
945
+ return false;
946
+ }
947
+ return isFixed;
948
+ }
949
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
950
+ if (includeScale === void 0) {
951
+ includeScale = false;
952
+ }
953
+ if (isFixedStrategy === void 0) {
954
+ isFixedStrategy = false;
955
+ }
956
+ const clientRect = element.getBoundingClientRect();
957
+ const domElement = unwrapElement(element);
958
+ let scale = createCoords(1);
959
+ if (includeScale) {
960
+ if (offsetParent) {
961
+ if (isElement(offsetParent)) {
962
+ scale = getScale(offsetParent);
963
+ }
964
+ } else {
965
+ scale = getScale(element);
966
+ }
967
+ }
968
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
969
+ let x2 = (clientRect.left + visualOffsets.x) / scale.x;
970
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
971
+ let width = clientRect.width / scale.x;
972
+ let height = clientRect.height / scale.y;
973
+ if (domElement) {
974
+ const win = getWindow(domElement);
975
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
976
+ let currentWin = win;
977
+ let currentIFrame = getFrameElement(currentWin);
978
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
979
+ const iframeScale = getScale(currentIFrame);
980
+ const iframeRect = currentIFrame.getBoundingClientRect();
981
+ const css = getComputedStyle2(currentIFrame);
982
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
983
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
984
+ x2 *= iframeScale.x;
985
+ y *= iframeScale.y;
986
+ width *= iframeScale.x;
987
+ height *= iframeScale.y;
988
+ x2 += left;
989
+ y += top;
990
+ currentWin = getWindow(currentIFrame);
991
+ currentIFrame = getFrameElement(currentWin);
992
+ }
993
+ }
994
+ return rectToClientRect({
995
+ width,
996
+ height,
997
+ x: x2,
998
+ y
999
+ });
1000
+ }
1001
+ function getWindowScrollBarX(element, rect) {
1002
+ const leftScroll = getNodeScroll(element).scrollLeft;
1003
+ if (!rect) {
1004
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1005
+ }
1006
+ return rect.left + leftScroll;
1007
+ }
1008
+ function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
1009
+ if (ignoreScrollbarX === void 0) {
1010
+ ignoreScrollbarX = false;
1011
+ }
1012
+ const htmlRect = documentElement.getBoundingClientRect();
1013
+ const x2 = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
1014
+ // RTL <body> scrollbar.
1015
+ getWindowScrollBarX(documentElement, htmlRect)
1016
+ ));
1017
+ const y = htmlRect.top + scroll.scrollTop;
1018
+ return {
1019
+ x: x2,
1020
+ y
1021
+ };
1022
+ }
1023
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1024
+ let {
1025
+ elements,
1026
+ rect,
1027
+ offsetParent,
1028
+ strategy
1029
+ } = _ref;
1030
+ const isFixed = strategy === "fixed";
1031
+ const documentElement = getDocumentElement(offsetParent);
1032
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1033
+ if (offsetParent === documentElement || topLayer && isFixed) {
1034
+ return rect;
1035
+ }
1036
+ let scroll = {
1037
+ scrollLeft: 0,
1038
+ scrollTop: 0
1039
+ };
1040
+ let scale = createCoords(1);
1041
+ const offsets = createCoords(0);
1042
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1043
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1044
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1045
+ scroll = getNodeScroll(offsetParent);
1046
+ }
1047
+ if (isHTMLElement(offsetParent)) {
1048
+ const offsetRect = getBoundingClientRect(offsetParent);
1049
+ scale = getScale(offsetParent);
1050
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1051
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1052
+ }
1053
+ }
1054
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
1055
+ return {
1056
+ width: rect.width * scale.x,
1057
+ height: rect.height * scale.y,
1058
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1059
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1060
+ };
1061
+ }
1062
+ function getClientRects(element) {
1063
+ return Array.from(element.getClientRects());
1064
+ }
1065
+ function getDocumentRect(element) {
1066
+ const html = getDocumentElement(element);
1067
+ const scroll = getNodeScroll(element);
1068
+ const body = element.ownerDocument.body;
1069
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1070
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1071
+ let x2 = -scroll.scrollLeft + getWindowScrollBarX(element);
1072
+ const y = -scroll.scrollTop;
1073
+ if (getComputedStyle2(body).direction === "rtl") {
1074
+ x2 += max(html.clientWidth, body.clientWidth) - width;
1075
+ }
1076
+ return {
1077
+ width,
1078
+ height,
1079
+ x: x2,
1080
+ y
1081
+ };
1082
+ }
1083
+ function getViewportRect(element, strategy) {
1084
+ const win = getWindow(element);
1085
+ const html = getDocumentElement(element);
1086
+ const visualViewport = win.visualViewport;
1087
+ let width = html.clientWidth;
1088
+ let height = html.clientHeight;
1089
+ let x2 = 0;
1090
+ let y = 0;
1091
+ if (visualViewport) {
1092
+ width = visualViewport.width;
1093
+ height = visualViewport.height;
1094
+ const visualViewportBased = isWebKit();
1095
+ if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
1096
+ x2 = visualViewport.offsetLeft;
1097
+ y = visualViewport.offsetTop;
1098
+ }
1099
+ }
1100
+ return {
1101
+ width,
1102
+ height,
1103
+ x: x2,
1104
+ y
1105
+ };
1106
+ }
1107
+ function getInnerBoundingClientRect(element, strategy) {
1108
+ const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
1109
+ const top = clientRect.top + element.clientTop;
1110
+ const left = clientRect.left + element.clientLeft;
1111
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1112
+ const width = element.clientWidth * scale.x;
1113
+ const height = element.clientHeight * scale.y;
1114
+ const x2 = left * scale.x;
1115
+ const y = top * scale.y;
1116
+ return {
1117
+ width,
1118
+ height,
1119
+ x: x2,
1120
+ y
1121
+ };
1122
+ }
1123
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1124
+ let rect;
1125
+ if (clippingAncestor === "viewport") {
1126
+ rect = getViewportRect(element, strategy);
1127
+ } else if (clippingAncestor === "document") {
1128
+ rect = getDocumentRect(getDocumentElement(element));
1129
+ } else if (isElement(clippingAncestor)) {
1130
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1131
+ } else {
1132
+ const visualOffsets = getVisualOffsets(element);
1133
+ rect = {
1134
+ x: clippingAncestor.x - visualOffsets.x,
1135
+ y: clippingAncestor.y - visualOffsets.y,
1136
+ width: clippingAncestor.width,
1137
+ height: clippingAncestor.height
1138
+ };
1139
+ }
1140
+ return rectToClientRect(rect);
1141
+ }
1142
+ function hasFixedPositionAncestor(element, stopNode) {
1143
+ const parentNode = getParentNode(element);
1144
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1145
+ return false;
1146
+ }
1147
+ return getComputedStyle2(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
1148
+ }
1149
+ function getClippingElementAncestors(element, cache) {
1150
+ const cachedResult = cache.get(element);
1151
+ if (cachedResult) {
1152
+ return cachedResult;
1153
+ }
1154
+ let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
1155
+ let currentContainingBlockComputedStyle = null;
1156
+ const elementIsFixed = getComputedStyle2(element).position === "fixed";
1157
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1158
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1159
+ const computedStyle = getComputedStyle2(currentNode);
1160
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1161
+ if (!currentNodeIsContaining && computedStyle.position === "fixed") {
1162
+ currentContainingBlockComputedStyle = null;
1163
+ }
1164
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1165
+ if (shouldDropCurrentNode) {
1166
+ result = result.filter((ancestor) => ancestor !== currentNode);
1167
+ } else {
1168
+ currentContainingBlockComputedStyle = computedStyle;
1169
+ }
1170
+ currentNode = getParentNode(currentNode);
1171
+ }
1172
+ cache.set(element, result);
1173
+ return result;
1174
+ }
1175
+ function getClippingRect(_ref) {
1176
+ let {
1177
+ element,
1178
+ boundary,
1179
+ rootBoundary,
1180
+ strategy
1181
+ } = _ref;
1182
+ const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1183
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1184
+ const firstClippingAncestor = clippingAncestors[0];
1185
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1186
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1187
+ accRect.top = max(rect.top, accRect.top);
1188
+ accRect.right = min(rect.right, accRect.right);
1189
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1190
+ accRect.left = max(rect.left, accRect.left);
1191
+ return accRect;
1192
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1193
+ return {
1194
+ width: clippingRect.right - clippingRect.left,
1195
+ height: clippingRect.bottom - clippingRect.top,
1196
+ x: clippingRect.left,
1197
+ y: clippingRect.top
1198
+ };
1199
+ }
1200
+ function getDimensions(element) {
1201
+ const {
1202
+ width,
1203
+ height
1204
+ } = getCssDimensions(element);
1205
+ return {
1206
+ width,
1207
+ height
1208
+ };
1209
+ }
1210
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1211
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1212
+ const documentElement = getDocumentElement(offsetParent);
1213
+ const isFixed = strategy === "fixed";
1214
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1215
+ let scroll = {
1216
+ scrollLeft: 0,
1217
+ scrollTop: 0
1218
+ };
1219
+ const offsets = createCoords(0);
1220
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1221
+ if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
1222
+ scroll = getNodeScroll(offsetParent);
1223
+ }
1224
+ if (isOffsetParentAnElement) {
1225
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1226
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1227
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1228
+ } else if (documentElement) {
1229
+ offsets.x = getWindowScrollBarX(documentElement);
1230
+ }
1231
+ }
1232
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1233
+ const x2 = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1234
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1235
+ return {
1236
+ x: x2,
1237
+ y,
1238
+ width: rect.width,
1239
+ height: rect.height
1240
+ };
1241
+ }
1242
+ function isStaticPositioned(element) {
1243
+ return getComputedStyle2(element).position === "static";
1244
+ }
1245
+ function getTrueOffsetParent(element, polyfill) {
1246
+ if (!isHTMLElement(element) || getComputedStyle2(element).position === "fixed") {
1247
+ return null;
1248
+ }
1249
+ if (polyfill) {
1250
+ return polyfill(element);
1251
+ }
1252
+ let rawOffsetParent = element.offsetParent;
1253
+ if (getDocumentElement(element) === rawOffsetParent) {
1254
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
1255
+ }
1256
+ return rawOffsetParent;
1257
+ }
1258
+ function getOffsetParent(element, polyfill) {
1259
+ const win = getWindow(element);
1260
+ if (isTopLayer(element)) {
1261
+ return win;
1262
+ }
1263
+ if (!isHTMLElement(element)) {
1264
+ let svgOffsetParent = getParentNode(element);
1265
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1266
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1267
+ return svgOffsetParent;
1268
+ }
1269
+ svgOffsetParent = getParentNode(svgOffsetParent);
1270
+ }
1271
+ return win;
1272
+ }
1273
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1274
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1275
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1276
+ }
1277
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1278
+ return win;
1279
+ }
1280
+ return offsetParent || getContainingBlock(element) || win;
1281
+ }
1282
+ var getElementRects = async function(data) {
1283
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1284
+ const getDimensionsFn = this.getDimensions;
1285
+ const floatingDimensions = await getDimensionsFn(data.floating);
1286
+ return {
1287
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1288
+ floating: {
1289
+ x: 0,
1290
+ y: 0,
1291
+ width: floatingDimensions.width,
1292
+ height: floatingDimensions.height
1293
+ }
1294
+ };
1295
+ };
1296
+ function isRTL(element) {
1297
+ return getComputedStyle2(element).direction === "rtl";
1298
+ }
1299
+ var platform = {
1300
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1301
+ getDocumentElement,
1302
+ getClippingRect,
1303
+ getOffsetParent,
1304
+ getElementRects,
1305
+ getClientRects,
1306
+ getDimensions,
1307
+ getScale,
1308
+ isElement,
1309
+ isRTL
1310
+ };
1311
+ function observeMove(element, onMove) {
1312
+ let io = null;
1313
+ let timeoutId;
1314
+ const root = getDocumentElement(element);
1315
+ function cleanup() {
1316
+ var _io;
1317
+ clearTimeout(timeoutId);
1318
+ (_io = io) == null || _io.disconnect();
1319
+ io = null;
1320
+ }
1321
+ function refresh(skip, threshold) {
1322
+ if (skip === void 0) {
1323
+ skip = false;
1324
+ }
1325
+ if (threshold === void 0) {
1326
+ threshold = 1;
1327
+ }
1328
+ cleanup();
1329
+ const {
1330
+ left,
1331
+ top,
1332
+ width,
1333
+ height
1334
+ } = element.getBoundingClientRect();
1335
+ if (!skip) {
1336
+ onMove();
1337
+ }
1338
+ if (!width || !height) {
1339
+ return;
1340
+ }
1341
+ const insetTop = floor(top);
1342
+ const insetRight = floor(root.clientWidth - (left + width));
1343
+ const insetBottom = floor(root.clientHeight - (top + height));
1344
+ const insetLeft = floor(left);
1345
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1346
+ const options = {
1347
+ rootMargin,
1348
+ threshold: max(0, min(1, threshold)) || 1
1349
+ };
1350
+ let isFirstUpdate = true;
1351
+ function handleObserve(entries) {
1352
+ const ratio = entries[0].intersectionRatio;
1353
+ if (ratio !== threshold) {
1354
+ if (!isFirstUpdate) {
1355
+ return refresh();
1356
+ }
1357
+ if (!ratio) {
1358
+ timeoutId = setTimeout(() => {
1359
+ refresh(false, 1e-7);
1360
+ }, 1e3);
1361
+ } else {
1362
+ refresh(false, ratio);
1363
+ }
1364
+ }
1365
+ isFirstUpdate = false;
1366
+ }
1367
+ try {
1368
+ io = new IntersectionObserver(handleObserve, __spreadProps(__spreadValues({}, options), {
1369
+ // Handle <iframe>s
1370
+ root: root.ownerDocument
1371
+ }));
1372
+ } catch (e4) {
1373
+ io = new IntersectionObserver(handleObserve, options);
1374
+ }
1375
+ io.observe(element);
1376
+ }
1377
+ refresh(true);
1378
+ return cleanup;
1379
+ }
1380
+ function autoUpdate(reference, floating, update, options) {
1381
+ if (options === void 0) {
1382
+ options = {};
1383
+ }
1384
+ const {
1385
+ ancestorScroll = true,
1386
+ ancestorResize = true,
1387
+ elementResize = typeof ResizeObserver === "function",
1388
+ layoutShift = typeof IntersectionObserver === "function",
1389
+ animationFrame = false
1390
+ } = options;
1391
+ const referenceEl = unwrapElement(reference);
1392
+ const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
1393
+ ancestors.forEach((ancestor) => {
1394
+ ancestorScroll && ancestor.addEventListener("scroll", update, {
1395
+ passive: true
1396
+ });
1397
+ ancestorResize && ancestor.addEventListener("resize", update);
1398
+ });
1399
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1400
+ let reobserveFrame = -1;
1401
+ let resizeObserver = null;
1402
+ if (elementResize) {
1403
+ resizeObserver = new ResizeObserver((_ref) => {
1404
+ let [firstEntry] = _ref;
1405
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1406
+ resizeObserver.unobserve(floating);
1407
+ cancelAnimationFrame(reobserveFrame);
1408
+ reobserveFrame = requestAnimationFrame(() => {
1409
+ var _resizeObserver;
1410
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1411
+ });
1412
+ }
1413
+ update();
1414
+ });
1415
+ if (referenceEl && !animationFrame) {
1416
+ resizeObserver.observe(referenceEl);
1417
+ }
1418
+ resizeObserver.observe(floating);
1419
+ }
1420
+ let frameId;
1421
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1422
+ if (animationFrame) {
1423
+ frameLoop();
1424
+ }
1425
+ function frameLoop() {
1426
+ const nextRefRect = getBoundingClientRect(reference);
1427
+ if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
1428
+ update();
1429
+ }
1430
+ prevRefRect = nextRefRect;
1431
+ frameId = requestAnimationFrame(frameLoop);
1432
+ }
1433
+ update();
1434
+ return () => {
1435
+ var _resizeObserver2;
1436
+ ancestors.forEach((ancestor) => {
1437
+ ancestorScroll && ancestor.removeEventListener("scroll", update);
1438
+ ancestorResize && ancestor.removeEventListener("resize", update);
1439
+ });
1440
+ cleanupIo == null || cleanupIo();
1441
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1442
+ resizeObserver = null;
1443
+ if (animationFrame) {
1444
+ cancelAnimationFrame(frameId);
1445
+ }
1446
+ };
1447
+ }
1448
+ var offset2 = offset;
1449
+ var shift2 = shift;
1450
+ var flip2 = flip;
1451
+ var size2 = size;
1452
+ var arrow2 = arrow;
1453
+ var computePosition2 = (reference, floating, options) => {
1454
+ const cache = /* @__PURE__ */ new Map();
1455
+ const mergedOptions = __spreadValues({
1456
+ platform
1457
+ }, options);
1458
+ const platformWithCache = __spreadProps(__spreadValues({}, mergedOptions.platform), {
1459
+ _c: cache
1460
+ });
1461
+ return computePosition(reference, floating, __spreadProps(__spreadValues({}, mergedOptions), {
1462
+ platform: platformWithCache
1463
+ }));
1464
+ };
1465
+
1466
+ // node_modules/composed-offset-position/dist/composed-offset-position.browser.min.mjs
1467
+ function e3(t) {
1468
+ return i(t);
1469
+ }
1470
+ function r(t) {
1471
+ return t.assignedSlot ? t.assignedSlot : t.parentNode instanceof ShadowRoot ? t.parentNode.host : t.parentNode;
1472
+ }
1473
+ function i(e4) {
1474
+ for (let t = e4; t; t = r(t)) if (t instanceof Element && "none" === getComputedStyle(t).display) return null;
1475
+ for (let n2 = r(e4); n2; n2 = r(n2)) {
1476
+ if (!(n2 instanceof Element)) continue;
1477
+ const e5 = getComputedStyle(n2);
1478
+ if ("contents" !== e5.display) {
1479
+ if ("static" !== e5.position || isContainingBlock(e5)) return n2;
1480
+ if ("BODY" === n2.tagName) return n2;
1481
+ }
1482
+ }
1483
+ return null;
1484
+ }
1485
+
1486
+ // src/components/popup/popup.component.ts
1487
+ function isVirtualElement(e4) {
1488
+ return e4 !== null && typeof e4 === "object" && "getBoundingClientRect" in e4 && ("contextElement" in e4 ? e4.contextElement instanceof Element : true);
1489
+ }
1490
+ var SlPopup = class extends ShoelaceElement {
1491
+ constructor() {
1492
+ super(...arguments);
1493
+ this.localize = new LocalizeController(this);
1494
+ this.active = false;
1495
+ this.placement = "top";
1496
+ this.strategy = "absolute";
1497
+ this.distance = 0;
1498
+ this.skidding = 0;
1499
+ this.arrow = false;
1500
+ this.arrowPlacement = "anchor";
1501
+ this.arrowPadding = 10;
1502
+ this.flip = false;
1503
+ this.flipFallbackPlacements = "";
1504
+ this.flipFallbackStrategy = "best-fit";
1505
+ this.flipPadding = 0;
1506
+ this.shift = false;
1507
+ this.shiftPadding = 0;
1508
+ this.autoSizePadding = 0;
1509
+ this.hoverBridge = false;
1510
+ this.updateHoverBridge = () => {
1511
+ if (this.hoverBridge && this.anchorEl) {
1512
+ const anchorRect = this.anchorEl.getBoundingClientRect();
1513
+ const popupRect = this.popup.getBoundingClientRect();
1514
+ const isVertical = this.placement.includes("top") || this.placement.includes("bottom");
1515
+ let topLeftX = 0;
1516
+ let topLeftY = 0;
1517
+ let topRightX = 0;
1518
+ let topRightY = 0;
1519
+ let bottomLeftX = 0;
1520
+ let bottomLeftY = 0;
1521
+ let bottomRightX = 0;
1522
+ let bottomRightY = 0;
1523
+ if (isVertical) {
1524
+ if (anchorRect.top < popupRect.top) {
1525
+ topLeftX = anchorRect.left;
1526
+ topLeftY = anchorRect.bottom;
1527
+ topRightX = anchorRect.right;
1528
+ topRightY = anchorRect.bottom;
1529
+ bottomLeftX = popupRect.left;
1530
+ bottomLeftY = popupRect.top;
1531
+ bottomRightX = popupRect.right;
1532
+ bottomRightY = popupRect.top;
1533
+ } else {
1534
+ topLeftX = popupRect.left;
1535
+ topLeftY = popupRect.bottom;
1536
+ topRightX = popupRect.right;
1537
+ topRightY = popupRect.bottom;
1538
+ bottomLeftX = anchorRect.left;
1539
+ bottomLeftY = anchorRect.top;
1540
+ bottomRightX = anchorRect.right;
1541
+ bottomRightY = anchorRect.top;
1542
+ }
1543
+ } else {
1544
+ if (anchorRect.left < popupRect.left) {
1545
+ topLeftX = anchorRect.right;
1546
+ topLeftY = anchorRect.top;
1547
+ topRightX = popupRect.left;
1548
+ topRightY = popupRect.top;
1549
+ bottomLeftX = anchorRect.right;
1550
+ bottomLeftY = anchorRect.bottom;
1551
+ bottomRightX = popupRect.left;
1552
+ bottomRightY = popupRect.bottom;
1553
+ } else {
1554
+ topLeftX = popupRect.right;
1555
+ topLeftY = popupRect.top;
1556
+ topRightX = anchorRect.left;
1557
+ topRightY = anchorRect.top;
1558
+ bottomLeftX = popupRect.right;
1559
+ bottomLeftY = popupRect.bottom;
1560
+ bottomRightX = anchorRect.left;
1561
+ bottomRightY = anchorRect.bottom;
1562
+ }
1563
+ }
1564
+ this.style.setProperty("--hover-bridge-top-left-x", `${topLeftX}px`);
1565
+ this.style.setProperty("--hover-bridge-top-left-y", `${topLeftY}px`);
1566
+ this.style.setProperty("--hover-bridge-top-right-x", `${topRightX}px`);
1567
+ this.style.setProperty("--hover-bridge-top-right-y", `${topRightY}px`);
1568
+ this.style.setProperty("--hover-bridge-bottom-left-x", `${bottomLeftX}px`);
1569
+ this.style.setProperty("--hover-bridge-bottom-left-y", `${bottomLeftY}px`);
1570
+ this.style.setProperty("--hover-bridge-bottom-right-x", `${bottomRightX}px`);
1571
+ this.style.setProperty("--hover-bridge-bottom-right-y", `${bottomRightY}px`);
1572
+ }
1573
+ };
1574
+ }
1575
+ async connectedCallback() {
1576
+ super.connectedCallback();
1577
+ await this.updateComplete;
1578
+ this.start();
1579
+ }
1580
+ disconnectedCallback() {
1581
+ super.disconnectedCallback();
1582
+ this.stop();
1583
+ }
1584
+ async updated(changedProps) {
1585
+ super.updated(changedProps);
1586
+ if (changedProps.has("active")) {
1587
+ if (this.active) {
1588
+ this.start();
1589
+ } else {
1590
+ this.stop();
1591
+ }
1592
+ }
1593
+ if (changedProps.has("anchor")) {
1594
+ this.handleAnchorChange();
1595
+ }
1596
+ if (this.active) {
1597
+ await this.updateComplete;
1598
+ this.reposition();
1599
+ }
1600
+ }
1601
+ async handleAnchorChange() {
1602
+ await this.stop();
1603
+ if (this.anchor && typeof this.anchor === "string") {
1604
+ const root = this.getRootNode();
1605
+ this.anchorEl = root.getElementById(this.anchor);
1606
+ } else if (this.anchor instanceof Element || isVirtualElement(this.anchor)) {
1607
+ this.anchorEl = this.anchor;
1608
+ } else {
1609
+ this.anchorEl = this.querySelector('[slot="anchor"]');
1610
+ }
1611
+ if (this.anchorEl instanceof HTMLSlotElement) {
1612
+ this.anchorEl = this.anchorEl.assignedElements({ flatten: true })[0];
1613
+ }
1614
+ if (this.anchorEl && this.active) {
1615
+ this.start();
1616
+ }
1617
+ }
1618
+ start() {
1619
+ if (!this.anchorEl || !this.active) {
1620
+ return;
1621
+ }
1622
+ this.cleanup = autoUpdate(this.anchorEl, this.popup, () => {
1623
+ this.reposition();
1624
+ });
1625
+ }
1626
+ async stop() {
1627
+ return new Promise((resolve) => {
1628
+ if (this.cleanup) {
1629
+ this.cleanup();
1630
+ this.cleanup = void 0;
1631
+ this.removeAttribute("data-current-placement");
1632
+ this.style.removeProperty("--auto-size-available-width");
1633
+ this.style.removeProperty("--auto-size-available-height");
1634
+ requestAnimationFrame(() => resolve());
1635
+ } else {
1636
+ resolve();
1637
+ }
1638
+ });
1639
+ }
1640
+ /** Forces the popup to recalculate and reposition itself. */
1641
+ reposition() {
1642
+ if (!this.active || !this.anchorEl) {
1643
+ return;
1644
+ }
1645
+ const middleware = [
1646
+ // The offset middleware goes first
1647
+ offset2({ mainAxis: this.distance, crossAxis: this.skidding })
1648
+ ];
1649
+ if (this.sync) {
1650
+ middleware.push(
1651
+ size2({
1652
+ apply: ({ rects }) => {
1653
+ const syncWidth = this.sync === "width" || this.sync === "both";
1654
+ const syncHeight = this.sync === "height" || this.sync === "both";
1655
+ this.popup.style.width = syncWidth ? `${rects.reference.width}px` : "";
1656
+ this.popup.style.height = syncHeight ? `${rects.reference.height}px` : "";
1657
+ }
1658
+ })
1659
+ );
1660
+ } else {
1661
+ this.popup.style.width = "";
1662
+ this.popup.style.height = "";
1663
+ }
1664
+ if (this.flip) {
1665
+ middleware.push(
1666
+ flip2({
1667
+ boundary: this.flipBoundary,
1668
+ // @ts-expect-error - We're converting a string attribute to an array here
1669
+ fallbackPlacements: this.flipFallbackPlacements,
1670
+ fallbackStrategy: this.flipFallbackStrategy === "best-fit" ? "bestFit" : "initialPlacement",
1671
+ padding: this.flipPadding
1672
+ })
1673
+ );
1674
+ }
1675
+ if (this.shift) {
1676
+ middleware.push(
1677
+ shift2({
1678
+ boundary: this.shiftBoundary,
1679
+ padding: this.shiftPadding
1680
+ })
1681
+ );
1682
+ }
1683
+ if (this.autoSize) {
1684
+ middleware.push(
1685
+ size2({
1686
+ boundary: this.autoSizeBoundary,
1687
+ padding: this.autoSizePadding,
1688
+ apply: ({ availableWidth, availableHeight }) => {
1689
+ if (this.autoSize === "vertical" || this.autoSize === "both") {
1690
+ this.style.setProperty("--auto-size-available-height", `${availableHeight}px`);
1691
+ } else {
1692
+ this.style.removeProperty("--auto-size-available-height");
1693
+ }
1694
+ if (this.autoSize === "horizontal" || this.autoSize === "both") {
1695
+ this.style.setProperty("--auto-size-available-width", `${availableWidth}px`);
1696
+ } else {
1697
+ this.style.removeProperty("--auto-size-available-width");
1698
+ }
1699
+ }
1700
+ })
1701
+ );
1702
+ } else {
1703
+ this.style.removeProperty("--auto-size-available-width");
1704
+ this.style.removeProperty("--auto-size-available-height");
1705
+ }
1706
+ if (this.arrow) {
1707
+ middleware.push(
1708
+ arrow2({
1709
+ element: this.arrowEl,
1710
+ padding: this.arrowPadding
1711
+ })
1712
+ );
1713
+ }
1714
+ const getOffsetParent2 = this.strategy === "absolute" ? (element) => platform.getOffsetParent(element, e3) : platform.getOffsetParent;
1715
+ computePosition2(this.anchorEl, this.popup, {
1716
+ placement: this.placement,
1717
+ middleware,
1718
+ strategy: this.strategy,
1719
+ platform: __spreadProps(__spreadValues({}, platform), {
1720
+ getOffsetParent: getOffsetParent2
1721
+ })
1722
+ }).then(({ x: x2, y, middlewareData, placement }) => {
1723
+ const isRtl = this.localize.dir() === "rtl";
1724
+ const staticSide = { top: "bottom", right: "left", bottom: "top", left: "right" }[placement.split("-")[0]];
1725
+ this.setAttribute("data-current-placement", placement);
1726
+ Object.assign(this.popup.style, {
1727
+ left: `${x2}px`,
1728
+ top: `${y}px`
1729
+ });
1730
+ if (this.arrow) {
1731
+ const arrowX = middlewareData.arrow.x;
1732
+ const arrowY = middlewareData.arrow.y;
1733
+ let top = "";
1734
+ let right = "";
1735
+ let bottom = "";
1736
+ let left = "";
1737
+ if (this.arrowPlacement === "start") {
1738
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1739
+ top = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1740
+ right = isRtl ? value : "";
1741
+ left = isRtl ? "" : value;
1742
+ } else if (this.arrowPlacement === "end") {
1743
+ const value = typeof arrowX === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1744
+ right = isRtl ? "" : value;
1745
+ left = isRtl ? value : "";
1746
+ bottom = typeof arrowY === "number" ? `calc(${this.arrowPadding}px - var(--arrow-padding-offset))` : "";
1747
+ } else if (this.arrowPlacement === "center") {
1748
+ left = typeof arrowX === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1749
+ top = typeof arrowY === "number" ? `calc(50% - var(--arrow-size-diagonal))` : "";
1750
+ } else {
1751
+ left = typeof arrowX === "number" ? `${arrowX}px` : "";
1752
+ top = typeof arrowY === "number" ? `${arrowY}px` : "";
1753
+ }
1754
+ Object.assign(this.arrowEl.style, {
1755
+ top,
1756
+ right,
1757
+ bottom,
1758
+ left,
1759
+ [staticSide]: "calc(var(--arrow-size-diagonal) * -1)"
1760
+ });
1761
+ }
1762
+ });
1763
+ requestAnimationFrame(() => this.updateHoverBridge());
1764
+ this.emit("sl-reposition");
1765
+ }
1766
+ render() {
1767
+ return x`
1768
+ <slot name="anchor" @slotchange=${this.handleAnchorChange}></slot>
1769
+
1770
+ <span
1771
+ part="hover-bridge"
1772
+ class=${e({
1773
+ "popup-hover-bridge": true,
1774
+ "popup-hover-bridge--visible": this.hoverBridge && this.active
1775
+ })}
1776
+ ></span>
1777
+
1778
+ <div
1779
+ part="popup"
1780
+ class=${e({
1781
+ popup: true,
1782
+ "popup--active": this.active,
1783
+ "popup--fixed": this.strategy === "fixed",
1784
+ "popup--has-arrow": this.arrow
1785
+ })}
1786
+ >
1787
+ <slot></slot>
1788
+ ${this.arrow ? x`<div part="arrow" class="popup__arrow" role="presentation"></div>` : ""}
1789
+ </div>
1790
+ `;
1791
+ }
1792
+ };
1793
+ SlPopup.styles = [component_styles_default, popup_styles_default];
1794
+ __decorateClass([
1795
+ e2(".popup")
1796
+ ], SlPopup.prototype, "popup", 2);
1797
+ __decorateClass([
1798
+ e2(".popup__arrow")
1799
+ ], SlPopup.prototype, "arrowEl", 2);
1800
+ __decorateClass([
1801
+ n()
1802
+ ], SlPopup.prototype, "anchor", 2);
1803
+ __decorateClass([
1804
+ n({ type: Boolean, reflect: true })
1805
+ ], SlPopup.prototype, "active", 2);
1806
+ __decorateClass([
1807
+ n({ reflect: true })
1808
+ ], SlPopup.prototype, "placement", 2);
1809
+ __decorateClass([
1810
+ n({ reflect: true })
1811
+ ], SlPopup.prototype, "strategy", 2);
1812
+ __decorateClass([
1813
+ n({ type: Number })
1814
+ ], SlPopup.prototype, "distance", 2);
1815
+ __decorateClass([
1816
+ n({ type: Number })
1817
+ ], SlPopup.prototype, "skidding", 2);
1818
+ __decorateClass([
1819
+ n({ type: Boolean })
1820
+ ], SlPopup.prototype, "arrow", 2);
1821
+ __decorateClass([
1822
+ n({ attribute: "arrow-placement" })
1823
+ ], SlPopup.prototype, "arrowPlacement", 2);
1824
+ __decorateClass([
1825
+ n({ attribute: "arrow-padding", type: Number })
1826
+ ], SlPopup.prototype, "arrowPadding", 2);
1827
+ __decorateClass([
1828
+ n({ type: Boolean })
1829
+ ], SlPopup.prototype, "flip", 2);
1830
+ __decorateClass([
1831
+ n({
1832
+ attribute: "flip-fallback-placements",
1833
+ converter: {
1834
+ fromAttribute: (value) => {
1835
+ return value.split(" ").map((p) => p.trim()).filter((p) => p !== "");
1836
+ },
1837
+ toAttribute: (value) => {
1838
+ return value.join(" ");
1839
+ }
1840
+ }
1841
+ })
1842
+ ], SlPopup.prototype, "flipFallbackPlacements", 2);
1843
+ __decorateClass([
1844
+ n({ attribute: "flip-fallback-strategy" })
1845
+ ], SlPopup.prototype, "flipFallbackStrategy", 2);
1846
+ __decorateClass([
1847
+ n({ type: Object })
1848
+ ], SlPopup.prototype, "flipBoundary", 2);
1849
+ __decorateClass([
1850
+ n({ attribute: "flip-padding", type: Number })
1851
+ ], SlPopup.prototype, "flipPadding", 2);
1852
+ __decorateClass([
1853
+ n({ type: Boolean })
1854
+ ], SlPopup.prototype, "shift", 2);
1855
+ __decorateClass([
1856
+ n({ type: Object })
1857
+ ], SlPopup.prototype, "shiftBoundary", 2);
1858
+ __decorateClass([
1859
+ n({ attribute: "shift-padding", type: Number })
1860
+ ], SlPopup.prototype, "shiftPadding", 2);
1861
+ __decorateClass([
1862
+ n({ attribute: "auto-size" })
1863
+ ], SlPopup.prototype, "autoSize", 2);
1864
+ __decorateClass([
1865
+ n()
1866
+ ], SlPopup.prototype, "sync", 2);
1867
+ __decorateClass([
1868
+ n({ type: Object })
1869
+ ], SlPopup.prototype, "autoSizeBoundary", 2);
1870
+ __decorateClass([
1871
+ n({ attribute: "auto-size-padding", type: Number })
1872
+ ], SlPopup.prototype, "autoSizePadding", 2);
1873
+ __decorateClass([
1874
+ n({ attribute: "hover-bridge", type: Boolean })
1875
+ ], SlPopup.prototype, "hoverBridge", 2);
1876
+
1877
+ export {
1878
+ SlPopup
1879
+ };