@anoki/fse-ui 1.0.712 → 1.0.713

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 (491) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs130.js +1 -1
  3. package/dist/index.cjs131.js +1 -1
  4. package/dist/index.cjs132.js +1 -1
  5. package/dist/index.cjs133.js +1 -1
  6. package/dist/index.cjs134.js +1 -1
  7. package/dist/index.cjs135.js +1 -1
  8. package/dist/index.cjs136.js +1 -1
  9. package/dist/index.cjs137.js +1 -1
  10. package/dist/index.cjs138.js +1 -1
  11. package/dist/index.cjs139.js +1 -1
  12. package/dist/index.cjs140.js +1 -1
  13. package/dist/index.cjs141.js +1 -1
  14. package/dist/index.cjs142.js +1 -1
  15. package/dist/index.cjs143.js +1 -1
  16. package/dist/index.cjs144.js +1 -1
  17. package/dist/index.cjs145.js +1 -1
  18. package/dist/index.cjs146.js +1 -1
  19. package/dist/index.cjs147.js +1 -1
  20. package/dist/index.cjs148.js +1 -1
  21. package/dist/index.cjs149.js +1 -1
  22. package/dist/index.cjs150.js +1 -1
  23. package/dist/index.cjs151.js +1 -1
  24. package/dist/index.cjs152.js +1 -1
  25. package/dist/index.cjs156.js +1 -1
  26. package/dist/index.cjs157.js +1 -1
  27. package/dist/index.cjs158.js +1 -1
  28. package/dist/index.cjs160.js +1 -1
  29. package/dist/index.cjs161.js +1 -1
  30. package/dist/index.cjs162.js +1 -1
  31. package/dist/index.cjs163.js +1 -1
  32. package/dist/index.cjs164.js +1 -1
  33. package/dist/index.cjs165.js +1 -1
  34. package/dist/index.cjs166.js +1 -1
  35. package/dist/index.cjs167.js +1 -1
  36. package/dist/index.cjs168.js +1 -1
  37. package/dist/index.cjs170.js +1 -1
  38. package/dist/index.cjs171.js +1 -1
  39. package/dist/index.cjs172.js +1 -1
  40. package/dist/index.cjs173.js +1 -1
  41. package/dist/index.cjs174.js +1 -1
  42. package/dist/index.cjs175.js +1 -1
  43. package/dist/index.cjs176.js +1 -1
  44. package/dist/index.cjs178.js +1 -1
  45. package/dist/index.cjs179.js +1 -1
  46. package/dist/index.cjs180.js +1 -1
  47. package/dist/index.cjs181.js +1 -1
  48. package/dist/index.cjs182.js +1 -1
  49. package/dist/index.cjs183.js +1 -1
  50. package/dist/index.cjs184.js +1 -1
  51. package/dist/index.cjs191.js +1 -1
  52. package/dist/index.cjs216.js +1 -1
  53. package/dist/index.cjs22.js +1 -1
  54. package/dist/index.cjs223.js +1 -1
  55. package/dist/index.cjs227.js +1 -1
  56. package/dist/index.cjs227.js.map +1 -1
  57. package/dist/index.cjs229.js +2 -0
  58. package/dist/index.cjs229.js.map +1 -0
  59. package/dist/index.cjs237.js +1 -1
  60. package/dist/index.cjs244.js +1 -1
  61. package/dist/index.cjs247.js +1 -1
  62. package/dist/index.cjs248.js +1 -1
  63. package/dist/index.cjs25.js +1 -1
  64. package/dist/index.cjs255.js +1 -1
  65. package/dist/index.cjs265.js +1 -1
  66. package/dist/index.cjs269.js +1 -1
  67. package/dist/index.cjs271.js +1 -1
  68. package/dist/index.cjs278.js +1 -1
  69. package/dist/index.cjs279.js +1 -1
  70. package/dist/index.cjs283.js +1 -1
  71. package/dist/index.cjs288.js +1 -1
  72. package/dist/index.cjs290.js +1 -1
  73. package/dist/index.cjs296.js +1 -1
  74. package/dist/index.cjs297.js +1 -1
  75. package/dist/index.cjs298.js +1 -1
  76. package/dist/index.cjs337.js +1 -1
  77. package/dist/index.cjs378.js +1 -1
  78. package/dist/index.cjs379.js +1 -1
  79. package/dist/index.cjs380.js +27 -1
  80. package/dist/index.cjs380.js.map +1 -1
  81. package/dist/index.cjs381.js +1 -2
  82. package/dist/index.cjs381.js.map +1 -1
  83. package/dist/index.cjs382.js +1 -27
  84. package/dist/index.cjs382.js.map +1 -1
  85. package/dist/index.cjs383.js +1 -1
  86. package/dist/index.cjs383.js.map +1 -1
  87. package/dist/index.cjs384.js +2 -1
  88. package/dist/index.cjs384.js.map +1 -1
  89. package/dist/index.cjs385.js +1 -1
  90. package/dist/index.cjs385.js.map +1 -1
  91. package/dist/index.cjs386.js +1 -1
  92. package/dist/index.cjs386.js.map +1 -1
  93. package/dist/{index.cjs394.js → index.cjs387.js} +1 -1
  94. package/dist/{index.cjs394.js.map → index.cjs387.js.map} +1 -1
  95. package/dist/index.cjs388.js +2 -0
  96. package/dist/index.cjs388.js.map +1 -0
  97. package/dist/index.cjs389.js +2 -0
  98. package/dist/index.cjs389.js.map +1 -0
  99. package/dist/{index.cjs425.js → index.cjs390.js} +2 -2
  100. package/dist/{index.cjs425.js.map → index.cjs390.js.map} +1 -1
  101. package/dist/{index.cjs395.js → index.cjs391.js} +2 -2
  102. package/dist/{index.cjs395.js.map → index.cjs391.js.map} +1 -1
  103. package/dist/index.cjs393.js +1 -1
  104. package/dist/index.cjs393.js.map +1 -1
  105. package/dist/index.cjs396.js +1 -1
  106. package/dist/index.cjs396.js.map +1 -1
  107. package/dist/index.cjs397.js +1 -1
  108. package/dist/index.cjs397.js.map +1 -1
  109. package/dist/index.cjs398.js +1 -1
  110. package/dist/index.cjs398.js.map +1 -1
  111. package/dist/index.cjs399.js +1 -1
  112. package/dist/index.cjs399.js.map +1 -1
  113. package/dist/index.cjs400.js +1 -1
  114. package/dist/index.cjs400.js.map +1 -1
  115. package/dist/index.cjs401.js +1 -1
  116. package/dist/index.cjs401.js.map +1 -1
  117. package/dist/index.cjs405.js +1 -1
  118. package/dist/index.cjs405.js.map +1 -1
  119. package/dist/index.cjs406.js +2 -0
  120. package/dist/index.cjs406.js.map +1 -0
  121. package/dist/index.cjs407.js +2 -0
  122. package/dist/index.cjs407.js.map +1 -0
  123. package/dist/{index.cjs402.js → index.cjs408.js} +1 -1
  124. package/dist/{index.cjs402.js.map → index.cjs408.js.map} +1 -1
  125. package/dist/index.cjs409.js +1 -1
  126. package/dist/index.cjs409.js.map +1 -1
  127. package/dist/{index.cjs404.js → index.cjs410.js} +1 -1
  128. package/dist/{index.cjs404.js.map → index.cjs410.js.map} +1 -1
  129. package/dist/index.cjs411.js +1 -1
  130. package/dist/index.cjs411.js.map +1 -1
  131. package/dist/index.cjs415.js +1 -1
  132. package/dist/index.cjs415.js.map +1 -1
  133. package/dist/index.cjs416.js +1 -1
  134. package/dist/index.cjs416.js.map +1 -1
  135. package/dist/index.cjs417.js +1 -1
  136. package/dist/index.cjs417.js.map +1 -1
  137. package/dist/index.cjs418.js +1 -1
  138. package/dist/index.cjs418.js.map +1 -1
  139. package/dist/index.cjs419.js +1 -1
  140. package/dist/index.cjs419.js.map +1 -1
  141. package/dist/index.cjs420.js +1 -1
  142. package/dist/index.cjs420.js.map +1 -1
  143. package/dist/index.cjs430.js +1 -1
  144. package/dist/index.cjs430.js.map +1 -1
  145. package/dist/index.cjs431.js +1 -1
  146. package/dist/index.cjs431.js.map +1 -1
  147. package/dist/index.cjs432.js +1 -1
  148. package/dist/index.cjs432.js.map +1 -1
  149. package/dist/index.cjs433.js +1 -1
  150. package/dist/index.cjs433.js.map +1 -1
  151. package/dist/index.cjs434.js +1 -1
  152. package/dist/index.cjs434.js.map +1 -1
  153. package/dist/index.cjs435.js +1 -1
  154. package/dist/index.cjs435.js.map +1 -1
  155. package/dist/index.cjs436.js +1 -1
  156. package/dist/index.cjs436.js.map +1 -1
  157. package/dist/index.cjs437.js +1 -1
  158. package/dist/index.cjs437.js.map +1 -1
  159. package/dist/index.cjs438.js +1 -1
  160. package/dist/index.cjs438.js.map +1 -1
  161. package/dist/index.cjs439.js +1 -1
  162. package/dist/index.cjs439.js.map +1 -1
  163. package/dist/index.cjs440.js +4 -1
  164. package/dist/index.cjs440.js.map +1 -1
  165. package/dist/index.cjs441.js +1 -1
  166. package/dist/index.cjs441.js.map +1 -1
  167. package/dist/index.cjs442.js +38 -1
  168. package/dist/index.cjs442.js.map +1 -1
  169. package/dist/index.cjs443.js +1 -1
  170. package/dist/index.cjs443.js.map +1 -1
  171. package/dist/index.cjs444.js +1 -1
  172. package/dist/index.cjs444.js.map +1 -1
  173. package/dist/index.cjs445.js +1 -1
  174. package/dist/index.cjs445.js.map +1 -1
  175. package/dist/index.cjs446.js +1 -1
  176. package/dist/index.cjs446.js.map +1 -1
  177. package/dist/index.cjs447.js +1 -1
  178. package/dist/index.cjs447.js.map +1 -1
  179. package/dist/index.cjs448.js +2 -0
  180. package/dist/index.cjs448.js.map +1 -0
  181. package/dist/index.cjs449.js +2 -0
  182. package/dist/index.cjs449.js.map +1 -0
  183. package/dist/index.cjs450.js +2 -0
  184. package/dist/index.cjs450.js.map +1 -0
  185. package/dist/index.cjs451.js +2 -0
  186. package/dist/index.cjs451.js.map +1 -0
  187. package/dist/index.cjs452.js +2 -0
  188. package/dist/index.cjs452.js.map +1 -0
  189. package/dist/index.cjs453.js +2 -0
  190. package/dist/index.cjs453.js.map +1 -0
  191. package/dist/index.cjs454.js +2 -0
  192. package/dist/index.cjs454.js.map +1 -0
  193. package/dist/index.cjs455.js +2 -0
  194. package/dist/index.cjs455.js.map +1 -0
  195. package/dist/index.cjs461.js +1 -1
  196. package/dist/index.cjs462.js +1 -1
  197. package/dist/index.cjs465.js +1 -1
  198. package/dist/index.cjs468.js +1 -1
  199. package/dist/index.cjs476.js +1 -1
  200. package/dist/index.cjs476.js.map +1 -1
  201. package/dist/index.cjs477.js +1 -1
  202. package/dist/index.cjs477.js.map +1 -1
  203. package/dist/index.cjs478.js +1 -1
  204. package/dist/index.cjs478.js.map +1 -1
  205. package/dist/index.cjs479.js +1 -1
  206. package/dist/index.cjs479.js.map +1 -1
  207. package/dist/index.cjs480.js +1 -1
  208. package/dist/index.cjs480.js.map +1 -1
  209. package/dist/index.cjs481.js +1 -1
  210. package/dist/index.cjs481.js.map +1 -1
  211. package/dist/index.cjs482.js +1 -1
  212. package/dist/index.cjs482.js.map +1 -1
  213. package/dist/index.cjs483.js +1 -1
  214. package/dist/index.cjs57.js +1 -1
  215. package/dist/index.cjs6.js +1 -1
  216. package/dist/index.cjs7.js +1 -1
  217. package/dist/index.cjs8.js +1 -1
  218. package/dist/index.cjs9.js +1 -1
  219. package/dist/index.es10.js +2 -2
  220. package/dist/index.es130.js +1 -1
  221. package/dist/index.es131.js +1 -1
  222. package/dist/index.es132.js +1 -1
  223. package/dist/index.es133.js +1 -1
  224. package/dist/index.es134.js +1 -1
  225. package/dist/index.es135.js +1 -1
  226. package/dist/index.es136.js +1 -1
  227. package/dist/index.es137.js +1 -1
  228. package/dist/index.es138.js +1 -1
  229. package/dist/index.es139.js +1 -1
  230. package/dist/index.es140.js +1 -1
  231. package/dist/index.es141.js +1 -1
  232. package/dist/index.es142.js +1 -1
  233. package/dist/index.es143.js +1 -1
  234. package/dist/index.es144.js +1 -1
  235. package/dist/index.es145.js +1 -1
  236. package/dist/index.es146.js +1 -1
  237. package/dist/index.es147.js +1 -1
  238. package/dist/index.es148.js +1 -1
  239. package/dist/index.es149.js +1 -1
  240. package/dist/index.es150.js +1 -1
  241. package/dist/index.es151.js +1 -1
  242. package/dist/index.es152.js +1 -1
  243. package/dist/index.es156.js +1 -1
  244. package/dist/index.es157.js +1 -1
  245. package/dist/index.es158.js +1 -1
  246. package/dist/index.es160.js +1 -1
  247. package/dist/index.es161.js +1 -1
  248. package/dist/index.es162.js +1 -1
  249. package/dist/index.es163.js +1 -1
  250. package/dist/index.es164.js +1 -1
  251. package/dist/index.es165.js +1 -1
  252. package/dist/index.es166.js +1 -1
  253. package/dist/index.es167.js +1 -1
  254. package/dist/index.es168.js +1 -1
  255. package/dist/index.es170.js +1 -1
  256. package/dist/index.es171.js +1 -1
  257. package/dist/index.es172.js +1 -1
  258. package/dist/index.es173.js +1 -1
  259. package/dist/index.es174.js +1 -1
  260. package/dist/index.es175.js +1 -1
  261. package/dist/index.es176.js +1 -1
  262. package/dist/index.es178.js +1 -1
  263. package/dist/index.es179.js +1 -1
  264. package/dist/index.es180.js +1 -1
  265. package/dist/index.es181.js +1 -1
  266. package/dist/index.es182.js +1 -1
  267. package/dist/index.es183.js +1 -1
  268. package/dist/index.es184.js +1 -1
  269. package/dist/index.es191.js +1 -1
  270. package/dist/index.es216.js +1 -1
  271. package/dist/index.es22.js +1 -1
  272. package/dist/index.es223.js +2 -2
  273. package/dist/index.es227.js +27 -2
  274. package/dist/index.es227.js.map +1 -1
  275. package/dist/index.es229.js +5 -0
  276. package/dist/index.es229.js.map +1 -0
  277. package/dist/index.es237.js +1 -1
  278. package/dist/index.es244.js +7 -7
  279. package/dist/index.es247.js +1 -1
  280. package/dist/index.es248.js +1 -1
  281. package/dist/index.es25.js +1 -1
  282. package/dist/index.es255.js +8 -8
  283. package/dist/index.es265.js +1 -1
  284. package/dist/index.es269.js +1 -1
  285. package/dist/index.es271.js +14 -14
  286. package/dist/index.es278.js +1 -1
  287. package/dist/index.es279.js +1 -1
  288. package/dist/index.es283.js +1 -1
  289. package/dist/index.es288.js +1 -1
  290. package/dist/index.es290.js +1 -1
  291. package/dist/index.es296.js +1 -1
  292. package/dist/index.es297.js +1 -1
  293. package/dist/index.es298.js +7 -7
  294. package/dist/index.es337.js +4 -4
  295. package/dist/index.es378.js +1 -1
  296. package/dist/index.es379.js +1 -1
  297. package/dist/index.es380.js +3674 -5
  298. package/dist/index.es380.js.map +1 -1
  299. package/dist/index.es381.js +5 -520
  300. package/dist/index.es381.js.map +1 -1
  301. package/dist/index.es382.js +2 -3675
  302. package/dist/index.es382.js.map +1 -1
  303. package/dist/index.es383.js +5 -5
  304. package/dist/index.es383.js.map +1 -1
  305. package/dist/index.es384.js +521 -2
  306. package/dist/index.es384.js.map +1 -1
  307. package/dist/index.es385.js +7 -2
  308. package/dist/index.es385.js.map +1 -1
  309. package/dist/index.es386.js +27 -2
  310. package/dist/index.es386.js.map +1 -1
  311. package/dist/{index.es394.js → index.es387.js} +1 -1
  312. package/dist/{index.es394.js.map → index.es387.js.map} +1 -1
  313. package/dist/index.es388.js +55 -0
  314. package/dist/index.es388.js.map +1 -0
  315. package/dist/index.es389.js +37 -0
  316. package/dist/index.es389.js.map +1 -0
  317. package/dist/{index.es425.js → index.es390.js} +18 -18
  318. package/dist/{index.es425.js.map → index.es390.js.map} +1 -1
  319. package/dist/{index.es395.js → index.es391.js} +2 -2
  320. package/dist/{index.es395.js.map → index.es391.js.map} +1 -1
  321. package/dist/index.es393.js +15 -27
  322. package/dist/index.es393.js.map +1 -1
  323. package/dist/index.es396.js +5 -51
  324. package/dist/index.es396.js.map +1 -1
  325. package/dist/index.es397.js +23 -123
  326. package/dist/index.es397.js.map +1 -1
  327. package/dist/index.es398.js +60 -126
  328. package/dist/index.es398.js.map +1 -1
  329. package/dist/index.es399.js +2 -14
  330. package/dist/index.es399.js.map +1 -1
  331. package/dist/index.es400.js +2 -69
  332. package/dist/index.es400.js.map +1 -1
  333. package/dist/index.es401.js +14 -33
  334. package/dist/index.es401.js.map +1 -1
  335. package/dist/index.es405.js +120 -49
  336. package/dist/index.es405.js.map +1 -1
  337. package/dist/index.es406.js +138 -0
  338. package/dist/index.es406.js.map +1 -0
  339. package/dist/index.es407.js +17 -0
  340. package/dist/index.es407.js.map +1 -0
  341. package/dist/{index.es402.js → index.es408.js} +1 -1
  342. package/dist/{index.es402.js.map → index.es408.js.map} +1 -1
  343. package/dist/index.es409.js +9 -15
  344. package/dist/index.es409.js.map +1 -1
  345. package/dist/{index.es404.js → index.es410.js} +1 -1
  346. package/dist/{index.es404.js.map → index.es410.js.map} +1 -1
  347. package/dist/index.es411.js +54 -4
  348. package/dist/index.es411.js.map +1 -1
  349. package/dist/index.es415.js +3 -24
  350. package/dist/index.es415.js.map +1 -1
  351. package/dist/index.es416.js +45 -28
  352. package/dist/index.es416.js.map +1 -1
  353. package/dist/index.es417.js +8 -5
  354. package/dist/index.es417.js.map +1 -1
  355. package/dist/index.es418.js +217 -5
  356. package/dist/index.es418.js.map +1 -1
  357. package/dist/index.es419.js +180 -24
  358. package/dist/index.es419.js.map +1 -1
  359. package/dist/index.es420.js +11 -5
  360. package/dist/index.es420.js.map +1 -1
  361. package/dist/index.es430.js +11 -64
  362. package/dist/index.es430.js.map +1 -1
  363. package/dist/index.es431.js +201 -42
  364. package/dist/index.es431.js.map +1 -1
  365. package/dist/index.es432.js +22 -8
  366. package/dist/index.es432.js.map +1 -1
  367. package/dist/index.es433.js +391 -212
  368. package/dist/index.es433.js.map +1 -1
  369. package/dist/index.es434.js +21 -177
  370. package/dist/index.es434.js.map +1 -1
  371. package/dist/index.es435.js +29 -4
  372. package/dist/index.es435.js.map +1 -1
  373. package/dist/index.es436.js +5 -23
  374. package/dist/index.es436.js.map +1 -1
  375. package/dist/index.es437.js +5 -205
  376. package/dist/index.es437.js.map +1 -1
  377. package/dist/index.es438.js +3 -22
  378. package/dist/index.es438.js.map +1 -1
  379. package/dist/index.es439.js +20 -393
  380. package/dist/index.es439.js.map +1 -1
  381. package/dist/index.es440.js +110 -23
  382. package/dist/index.es440.js.map +1 -1
  383. package/dist/index.es441.js +15 -12
  384. package/dist/index.es441.js.map +1 -1
  385. package/dist/index.es442.js +68 -27
  386. package/dist/index.es442.js.map +1 -1
  387. package/dist/index.es443.js +8 -4
  388. package/dist/index.es443.js.map +1 -1
  389. package/dist/index.es444.js +11 -524
  390. package/dist/index.es444.js.map +1 -1
  391. package/dist/index.es445.js +61 -126
  392. package/dist/index.es445.js.map +1 -1
  393. package/dist/index.es446.js +61 -125
  394. package/dist/index.es446.js.map +1 -1
  395. package/dist/index.es447.js +525 -13
  396. package/dist/index.es447.js.map +1 -1
  397. package/dist/index.es448.js +130 -0
  398. package/dist/index.es448.js.map +1 -0
  399. package/dist/index.es449.js +132 -0
  400. package/dist/index.es449.js.map +1 -0
  401. package/dist/index.es450.js +7 -0
  402. package/dist/index.es450.js.map +1 -0
  403. package/dist/index.es451.js +26 -0
  404. package/dist/index.es451.js.map +1 -0
  405. package/dist/index.es452.js +26 -0
  406. package/dist/index.es452.js.map +1 -0
  407. package/dist/index.es453.js +16 -0
  408. package/dist/index.es453.js.map +1 -0
  409. package/dist/index.es454.js +31 -0
  410. package/dist/index.es454.js.map +1 -0
  411. package/dist/index.es455.js +8 -0
  412. package/dist/index.es455.js.map +1 -0
  413. package/dist/index.es461.js +1 -1
  414. package/dist/index.es462.js +2 -2
  415. package/dist/index.es465.js +3 -3
  416. package/dist/index.es468.js +9 -9
  417. package/dist/index.es476.js +4 -2
  418. package/dist/index.es476.js.map +1 -1
  419. package/dist/index.es477.js +3 -2
  420. package/dist/index.es477.js.map +1 -1
  421. package/dist/index.es478.js +2 -3
  422. package/dist/index.es478.js.map +1 -1
  423. package/dist/index.es479.js +4 -2
  424. package/dist/index.es479.js.map +1 -1
  425. package/dist/index.es480.js +4 -3
  426. package/dist/index.es480.js.map +1 -1
  427. package/dist/index.es481.js +3 -4
  428. package/dist/index.es481.js.map +1 -1
  429. package/dist/index.es482.js +2 -6
  430. package/dist/index.es482.js.map +1 -1
  431. package/dist/index.es483.js +1 -1
  432. package/dist/index.es57.js +1 -1
  433. package/dist/index.es6.js +1 -1
  434. package/dist/index.es7.js +1 -1
  435. package/dist/index.es8.js +1 -1
  436. package/dist/index.es9.js +2 -2
  437. package/package.json +1 -1
  438. package/dist/index.cjs228.js +0 -2
  439. package/dist/index.cjs228.js.map +0 -1
  440. package/dist/index.cjs392.js +0 -2
  441. package/dist/index.cjs392.js.map +0 -1
  442. package/dist/index.cjs403.js +0 -2
  443. package/dist/index.cjs403.js.map +0 -1
  444. package/dist/index.cjs412.js +0 -2
  445. package/dist/index.cjs412.js.map +0 -1
  446. package/dist/index.cjs413.js +0 -2
  447. package/dist/index.cjs413.js.map +0 -1
  448. package/dist/index.cjs421.js +0 -2
  449. package/dist/index.cjs421.js.map +0 -1
  450. package/dist/index.cjs422.js +0 -2
  451. package/dist/index.cjs422.js.map +0 -1
  452. package/dist/index.cjs423.js +0 -5
  453. package/dist/index.cjs423.js.map +0 -1
  454. package/dist/index.cjs424.js +0 -2
  455. package/dist/index.cjs424.js.map +0 -1
  456. package/dist/index.cjs426.js +0 -39
  457. package/dist/index.cjs426.js.map +0 -1
  458. package/dist/index.cjs427.js +0 -2
  459. package/dist/index.cjs427.js.map +0 -1
  460. package/dist/index.cjs428.js +0 -2
  461. package/dist/index.cjs428.js.map +0 -1
  462. package/dist/index.cjs429.js +0 -2
  463. package/dist/index.cjs429.js.map +0 -1
  464. package/dist/index.es228.js +0 -30
  465. package/dist/index.es228.js.map +0 -1
  466. package/dist/index.es392.js +0 -10
  467. package/dist/index.es392.js.map +0 -1
  468. package/dist/index.es403.js +0 -12
  469. package/dist/index.es403.js.map +0 -1
  470. package/dist/index.es412.js +0 -14
  471. package/dist/index.es412.js.map +0 -1
  472. package/dist/index.es413.js +0 -15
  473. package/dist/index.es413.js.map +0 -1
  474. package/dist/index.es421.js +0 -6
  475. package/dist/index.es421.js.map +0 -1
  476. package/dist/index.es422.js +0 -27
  477. package/dist/index.es422.js.map +0 -1
  478. package/dist/index.es423.js +0 -113
  479. package/dist/index.es423.js.map +0 -1
  480. package/dist/index.es424.js +0 -19
  481. package/dist/index.es424.js.map +0 -1
  482. package/dist/index.es426.js +0 -72
  483. package/dist/index.es426.js.map +0 -1
  484. package/dist/index.es427.js +0 -12
  485. package/dist/index.es427.js.map +0 -1
  486. package/dist/index.es428.js +0 -17
  487. package/dist/index.es428.js.map +0 -1
  488. package/dist/index.es429.js +0 -65
  489. package/dist/index.es429.js.map +0 -1
  490. /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
  491. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs416.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IA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AED,EAAgB,CAAE,UAAWhB,EAAW,IAAKc,CAAc,CAAA,EAAGf,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW6B,EAAkB,mBAC7B,UAAWC,EAAkB,kBACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs416.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CACvE,EACKM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuBE,EAAG,kBAAA,IAACT,EAAwB,CAAE,MAAA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AM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs423.js"),r=require("./index.cjs421.js"),t=require("./index.cjs424.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs212.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
2
2
  //# sourceMappingURL=index.cjs417.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs417.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs417.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs431.js"),ye=require("./index.cjs432.js"),Z=require("./index.cjs386.js"),Ae=require("./index.cjs387.js"),G=require("./index.cjs389.js"),ve=require("./index.cjs420.js"),L=require("./index.cjs415.js"),Ce=require("./index.cjs397.js"),u=require("./index.cjs212.js"),be=require("./index.cjs433.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
2
  //# sourceMappingURL=index.cjs418.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs418.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs418.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAI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_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs411.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs385.js"),B=require("./index.cjs416.js"),Y=require("./index.cjs386.js"),z=require("./index.cjs387.js"),V=require("./index.cjs391.js"),G=require("./index.cjs389.js"),J=require("./index.cjs420.js"),Q=require("./index.cjs388.js"),W=require("./index.cjs417.js"),f=require("./index.cjs212.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var h="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},b="RovingFocusGroup",[j,N,ee]=B.createCollection(b),[te,oe]=z.createContextScope(b,[ee]),[re,ne]=te(b),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=b;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:E=!1,dir:S,currentTabStopId:v,defaultCurrentTabStopId:T,onCurrentTabStopIdChange:w,onEntryFocus:p,preventScrollOnEntryFocus:u=!1,...g}=e,R=c.useRef(null),I=Y.useComposedRefs(o,R),x=W.useDirection(S),[F,n]=Q.useControllableState({prop:v,defaultProp:T??null,onChange:w,caller:b}),[a,C]=c.useState(!1),i=J.useCallbackRef(p),l=N(r),y=c.useRef(!1),[K,P]=c.useState(0);return c.useEffect(()=>{const s=R.current;if(s)return s.addEventListener(h,i),()=>s.removeEventListener(h,i)},[i]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:x,loop:E,currentTabStopId:F,onItemFocus:c.useCallback(s=>n(s),[n]),onItemShiftTab:c.useCallback(()=>C(!0),[]),onFocusableItemAdd:c.useCallback(()=>P(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>P(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(G.Primitive.div,{tabIndex:a||K===0?-1:0,"data-orientation":t,...g,ref:I,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{y.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!y.current;if(s.target===s.currentTarget&&k&&!a){const D=new CustomEvent(h,Z);if(s.currentTarget.dispatchEvent(D),!D.defaultPrevented){const _=l().filter(d=>d.focusable),L=_.find(d=>d.active),U=_.find(d=>d.id===F),$=[L,U,..._].filter(Boolean).map(d=>d.ref.current);M($,u)}}y.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>C(!1))})})}),q="RovingFocusGroupItem",O=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:E=!1,tabStopId:S,children:v,...T}=e,w=V.useId(),p=S||w,u=ne(q,r),g=u.currentTabStopId===p,R=N(r),{onFocusableItemAdd:I,onFocusableItemRemove:x,currentTabStopId:F}=u;return c.useEffect(()=>{if(t)return I(),()=>x()},[t,I,x]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:E,children:f.jsxRuntimeExports.jsx(G.Primitive.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...T,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const a=ie(n,u.orientation,u.dir);if(a!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=R().filter(l=>l.focusable).map(l=>l.ref.current);if(a==="last")i.reverse();else if(a==="prev"||a==="next"){a==="prev"&&i.reverse();const l=i.indexOf(n.currentTarget);i=u.loop?ae(i,l+1):i.slice(l+1)}setTimeout(()=>M(i))}}),children:typeof v=="function"?v({isCurrentTabStop:g,hasTabStop:F!=null}):v})})});O.displayName=q;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function M(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=O;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=O;exports.createRovingFocusGroupScope=oe;
2
2
  //# sourceMappingURL=index.cjs419.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs419.js","sources":["../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["// packages/react/use-size/src/use-size.tsx\nimport * as React from \"react\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nfunction useSize(element) {\n const [size, setSize] = React.useState(void 0);\n useLayoutEffect(() => {\n if (element) {\n setSize({ width: element.offsetWidth, height: element.offsetHeight });\n const resizeObserver = new ResizeObserver((entries) => {\n if (!Array.isArray(entries)) {\n return;\n }\n if (!entries.length) {\n return;\n }\n const entry = entries[0];\n let width;\n let height;\n if (\"borderBoxSize\" in entry) {\n const borderSizeEntry = entry[\"borderBoxSize\"];\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize[\"inlineSize\"];\n height = borderSize[\"blockSize\"];\n } else {\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({ width, height });\n });\n resizeObserver.observe(element, { box: \"border-box\" });\n return () => resizeObserver.unobserve(element);\n } else {\n setSize(void 0);\n }\n }, [element]);\n return size;\n}\nexport {\n useSize\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useSize","element","size","setSize","React","useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"kaAGA,SAASA,EAAQC,EAAS,CACxB,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAM,SAAS,MAAM,EAC7CC,OAAAA,EAAAA,gBAAgB,IAAM,CACpB,GAAIJ,EAAS,CACXE,EAAQ,CAAE,MAAOF,EAAQ,YAAa,OAAQA,EAAQ,aAAc,EACpE,MAAMK,EAAiB,IAAI,eAAgBC,GAAY,CAIrD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OACX,OAEF,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC5B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SAC9B,MACUH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAEnBE,EAAQ,CAAE,MAAAM,EAAO,OAAAC,EAAQ,CACjC,CAAO,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAAE,IAAK,YAAY,CAAE,EAC9C,IAAMK,EAAe,UAAUL,CAAO,CACnD,MACME,EAAQ,MAAM,CAEpB,EAAK,CAACF,CAAO,CAAC,EACLC,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs419.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n children,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove, currentTabStopId } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n }),\n children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","children","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","pre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,CACnF,CACA,SAASL,GAAevB,EAAO9B,EAAaE,EAAK,CAC/C,MAAMwD,EAAMD,GAAqB3B,EAAM,IAAK5B,CAAG,EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAAS0D,CAAG,IACtE,EAAA1D,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAAS0D,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASpB,EAAWqB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAO1E,EACP2E,GAAO5B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
2
2
  //# sourceMappingURL=index.cjs420.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs420.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs420.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs415.js");function l(n){return n}function h(n,t){t===void 0&&(t=l);var e=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:n},useMedium:function(u){var r=t(u,o);return e.push(r),function(){e=e.filter(function(i){return i!==r})}},assignSyncMedium:function(u){for(o=!0;e.length;){var r=e;e=[],r.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){o=!0;var r=[];if(e.length){var i=e;e=[],i.forEach(u),r=e}var s=function(){var f=r;r=[],f.forEach(u)},a=function(){return Promise.resolve().then(s)};a(),e={push:function(f){r.push(f),a()},filter:function(f){return r=r.filter(f),e}}}};return c}function m(n){n===void 0&&(n={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},n),t}exports.createSidecarMedium=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs420.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
2
  //# sourceMappingURL=index.cjs430.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs430.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACb,OAAOA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAUA,EAAaJ,GAC1C,IAAIK,EAAS,CAAE,EACXC,EAAW,GACXC,EAAS,CACT,KAAM,UAAY,CACd,GAAID,EACA,MAAM,IAAI,MAAM,kGAAkG,EAEtH,OAAID,EAAO,OACAA,EAAOA,EAAO,OAAS,CAAC,EAE5BF,CACV,EACD,UAAW,SAAUK,EAAM,CACvB,IAAIC,EAAOL,EAAWI,EAAMF,CAAQ,EACpC,OAAAD,EAAO,KAAKI,CAAI,EACT,UAAY,CACfJ,EAASA,EAAO,OAAO,SAAUK,EAAG,CAAE,OAAOA,IAAMD,EAAO,CAC7D,CACJ,EACD,iBAAkB,SAAUE,EAAI,CAE5B,IADAL,EAAW,GACJD,EAAO,QAAQ,CAClB,IAAIO,EAAMP,EACVA,EAAS,CAAE,EACXO,EAAI,QAAQD,CAAE,CAC9B,CACYN,EAAS,CACL,KAAM,SAAUK,EAAG,CAAE,OAAOC,EAAGD,CAAC,CAAI,EACpC,OAAQ,UAAY,CAAE,OAAOL,CAAS,CACzC,CACJ,EACD,aAAc,SAAUM,EAAI,CACxBL,EAAW,GACX,IAAIO,EAAe,CAAE,EACrB,GAAIR,EAAO,OAAQ,CACf,IAAIO,EAAMP,EACVA,EAAS,CAAE,EACXO,EAAI,QAAQD,CAAE,EACdE,EAAeR,CAC/B,CACY,IAAIS,EAAe,UAAY,CAC3B,IAAIF,EAAMC,EACVA,EAAe,CAAE,EACjBD,EAAI,QAAQD,CAAE,CACjB,EACGI,EAAQ,UAAY,CAAE,OAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY,CAAI,EACxEC,EAAO,EACPV,EAAS,CACL,KAAM,SAAUK,EAAG,CACfG,EAAa,KAAKH,CAAC,EACnBK,EAAO,CACV,EACD,OAAQ,SAAUC,EAAQ,CACtB,OAAAH,EAAeA,EAAa,OAAOG,CAAM,EAClCX,CACV,CACJ,CACJ,CACJ,EACD,OAAOE,CACX,CAMO,SAASU,EAAoBC,EAAS,CACrCA,IAAY,SAAUA,EAAU,CAAA,GACpC,IAAIX,EAASL,EAAkB,IAAI,EACnC,OAAAK,EAAO,QAAUY,EAAAA,SAAS,CAAE,MAAO,GAAM,IAAK,EAAO,EAAED,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs430.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,EAAc,eAACH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAExB,EACD,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,GAAM,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,GAAM,CAC9F,EAAK,CAACH,EAAiBD,CAAa,CAAC,CACrC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs394.js"),I=require("./index.cjs393.js"),M=require("./index.cjs405.js"),f=require("./index.cjs212.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs433.js"),j=require("react"),H=require("react-dom");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(j),I=U(H);var R=typeof document<"u"?j.useLayoutEffect:j.useEffect;function P(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!P(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const g=s[r];if(!(g==="_owner"&&e.$$typeof)&&!P(e[g],t[g]))return!1}return!0}return e!==e&&t!==t}function $(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function L(e,t){const n=$(e);return Math.round(t*n)/n}function D(e){const t=o.useRef(e);return R(()=>{t.current=e}),t}function J(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:g,floating:A}={},transform:k=!0,whileElementsMounted:E,open:S}=e,[u,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[M,T]=o.useState(r);P(M,r)||T(r);const[B,N]=o.useState(null),[V,W]=o.useState(null),F=o.useCallback(f=>{f!==d.current&&(d.current=f,N(f))},[]),q=o.useCallback(f=>{f!==m.current&&(m.current=f,W(f))},[]),c=g||B,l=A||V,d=o.useRef(null),m=o.useRef(null),w=o.useRef(u),G=E!=null,O=D(E),_=D(s),v=D(S),y=o.useCallback(()=>{if(!d.current||!m.current)return;const f={placement:t,strategy:n,middleware:M};_.current&&(f.platform=_.current),i.computePosition(d.current,m.current,f).then(h=>{const p={...h,isPositioned:v.current!==!1};x.current&&!P(w.current,p)&&(w.current=p,I.flushSync(()=>{b(p)}))})},[M,t,n,_,v]);R(()=>{S===!1&&w.current.isPositioned&&(w.current.isPositioned=!1,b(f=>({...f,isPositioned:!1})))},[S]);const x=o.useRef(!1);R(()=>(x.current=!0,()=>{x.current=!1}),[]),R(()=>{if(c&&(d.current=c),l&&(m.current=l),c&&l){if(O.current)return O.current(c,l,y);y()}},[c,l,y,O,G]);const z=o.useMemo(()=>({reference:d,floating:m,setReference:F,setFloating:q}),[F,q]),a=o.useMemo(()=>({reference:c,floating:l}),[c,l]),C=o.useMemo(()=>{const f={position:n,left:0,top:0};if(!a.floating)return f;const h=L(a.floating,u.x),p=L(a.floating,u.y);return k?{...f,transform:"translate("+h+"px, "+p+"px)",...$(a.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:h,top:p}},[n,k,a.floating,u.x,u.y]);return o.useMemo(()=>({...u,update:y,refs:z,elements:a,floatingStyles:C}),[u,y,z,a,C])}const K=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?i.arrow({element:r.current,padding:s}).fn(n):{}:r?i.arrow({element:r,padding:s}).fn(n):{}}}},Q=(e,t)=>({...i.offset(e),options:[e,t]}),X=(e,t)=>({...i.shift(e),options:[e,t]}),Y=(e,t)=>({...i.limitShift(e),options:[e,t]}),Z=(e,t)=>({...i.flip(e),options:[e,t]}),ee=(e,t)=>({...i.size(e),options:[e,t]}),te=(e,t)=>({...i.hide(e),options:[e,t]}),ne=(e,t)=>({...K(e),options:[e,t]});exports.autoUpdate=i.autoUpdate;exports.computePosition=i.computePosition;exports.platform=i.platform;exports.arrow=ne;exports.flip=Z;exports.hide=te;exports.limitShift=Y;exports.offset=Q;exports.shift=X;exports.size=ee;exports.useFloating=J;
2
2
  //# sourceMappingURL=index.cjs431.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs431.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOA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Q,IAAIT,EAAK,CAAE,IAAAA,EAAK,GAAGgB,EAAU,EACtC,IAAM,KAAKP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,EACsBG,wBAAIW,EAAwB,CAAO,CAACD,CAAc,EAAG,GAAM,IAAKH,EAAc,SAAAX,EAAU,CACrH,CACG,EACDgB,EAAmB,YAAcH,EACjC,SAASK,EAAcnB,EAAO,CAC5B,MAAMW,EAAUd,EAAqBN,EAAO,qBAAsBS,CAAK,EAWvE,OAViBG,EAAM,YAAY,IAAM,CACvC,MAAMiB,EAAiBT,EAAQ,cAAc,QAC7C,GAAI,CAACS,EAAgB,MAAO,CAAE,EAC9B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs431.js","sources":["../node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs"],"sourcesContent":["import { computePosition, arrow as arrow$2, offset as offset$1, shift as shift$1, limitShift as limitShift$1, flip as flip$1, size as size$1, autoPlacement as autoPlacement$1, hide as hide$1, inline as inline$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect, useEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar index = typeof document !== 'undefined' ? useLayoutEffect : useEffect;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n if (a === b) {\n return true;\n }\n if (typeof a !== typeof b) {\n return false;\n }\n if (typeof a === 'function' && a.toString() === b.toString()) {\n return true;\n }\n let length;\n let i;\n let keys;\n if (a && b && typeof a === 'object') {\n if (Array.isArray(a)) {\n length = a.length;\n if (length !== b.length) return false;\n for (i = length; i-- !== 0;) {\n if (!deepEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n }\n keys = Object.keys(a);\n length = keys.length;\n if (length !== Object.keys(b).length) {\n return false;\n }\n for (i = length; i-- !== 0;) {\n if (!{}.hasOwnProperty.call(b, keys[i])) {\n return false;\n }\n }\n for (i = length; i-- !== 0;) {\n const key = keys[i];\n if (key === '_owner' && a.$$typeof) {\n continue;\n }\n if (!deepEqual(a[key], b[key])) {\n return false;\n }\n }\n return true;\n }\n return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n if (typeof window === 'undefined') {\n return 1;\n }\n const win = element.ownerDocument.defaultView || window;\n return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n const dpr = getDPR(element);\n return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n const ref = React.useRef(value);\n index(() => {\n ref.current = value;\n });\n return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n if (options === void 0) {\n options = {};\n }\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform,\n elements: {\n reference: externalReference,\n floating: externalFloating\n } = {},\n transform = true,\n whileElementsMounted,\n open\n } = options;\n const [data, setData] = React.useState({\n x: 0,\n y: 0,\n strategy,\n placement,\n middlewareData: {},\n isPositioned: false\n });\n const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n if (!deepEqual(latestMiddleware, middleware)) {\n setLatestMiddleware(middleware);\n }\n const [_reference, _setReference] = React.useState(null);\n const [_floating, _setFloating] = React.useState(null);\n const setReference = React.useCallback(node => {\n if (node !== referenceRef.current) {\n referenceRef.current = node;\n _setReference(node);\n }\n }, []);\n const setFloating = React.useCallback(node => {\n if (node !== floatingRef.current) {\n floatingRef.current = node;\n _setFloating(node);\n }\n }, []);\n const referenceEl = externalReference || _reference;\n const floatingEl = externalFloating || _floating;\n const referenceRef = React.useRef(null);\n const floatingRef = React.useRef(null);\n const dataRef = React.useRef(data);\n const hasWhileElementsMounted = whileElementsMounted != null;\n const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n const platformRef = useLatestRef(platform);\n const openRef = useLatestRef(open);\n const update = React.useCallback(() => {\n if (!referenceRef.current || !floatingRef.current) {\n return;\n }\n const config = {\n placement,\n strategy,\n middleware: latestMiddleware\n };\n if (platformRef.current) {\n config.platform = platformRef.current;\n }\n computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n const fullData = {\n ...data,\n // The floating element's position may be recomputed while it's closed\n // but still mounted (such as when transitioning out). To ensure\n // `isPositioned` will be `false` initially on the next open, avoid\n // setting it to `true` when `open === false` (must be specified).\n isPositioned: openRef.current !== false\n };\n if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n dataRef.current = fullData;\n ReactDOM.flushSync(() => {\n setData(fullData);\n });\n }\n });\n }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n index(() => {\n if (open === false && dataRef.current.isPositioned) {\n dataRef.current.isPositioned = false;\n setData(data => ({\n ...data,\n isPositioned: false\n }));\n }\n }, [open]);\n const isMountedRef = React.useRef(false);\n index(() => {\n isMountedRef.current = true;\n return () => {\n isMountedRef.current = false;\n };\n }, []);\n index(() => {\n if (referenceEl) referenceRef.current = referenceEl;\n if (floatingEl) floatingRef.current = floatingEl;\n if (referenceEl && floatingEl) {\n if (whileElementsMountedRef.current) {\n return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n }\n update();\n }\n }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n const refs = React.useMemo(() => ({\n reference: referenceRef,\n floating: floatingRef,\n setReference,\n setFloating\n }), [setReference, setFloating]);\n const elements = React.useMemo(() => ({\n reference: referenceEl,\n floating: floatingEl\n }), [referenceEl, floatingEl]);\n const floatingStyles = React.useMemo(() => {\n const initialStyles = {\n position: strategy,\n left: 0,\n top: 0\n };\n if (!elements.floating) {\n return initialStyles;\n }\n const x = roundByDPR(elements.floating, data.x);\n const y = roundByDPR(elements.floating, data.y);\n if (transform) {\n return {\n ...initialStyles,\n transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n ...(getDPR(elements.floating) >= 1.5 && {\n willChange: 'transform'\n })\n };\n }\n return {\n position: strategy,\n left: x,\n top: y\n };\n }, [strategy, transform, elements.floating, data.x, data.y]);\n return React.useMemo(() => ({\n ...data,\n update,\n refs,\n elements,\n floatingStyles\n }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n function isRef(value) {\n return {}.hasOwnProperty.call(value, 'current');\n }\n return {\n name: 'arrow',\n options,\n fn(state) {\n const {\n element,\n padding\n } = typeof options === 'function' ? options(state) : options;\n if (element && isRef(element)) {\n if (element.current != null) {\n return arrow$2({\n element: element.current,\n padding\n }).fn(state);\n }\n return {};\n }\n if (element) {\n return arrow$2({\n element,\n padding\n }).fn(state);\n }\n return {};\n }\n };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n ...offset$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n ...shift$1(options),\n options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n ...limitShift$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n ...flip$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n ...size$1(options),\n options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n ...autoPlacement$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n ...hide$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n ...inline$1(options),\n options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n ...arrow$1(options),\n options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n"],"names":["index","useLayoutEffect","useEffect","deepEqual","a","b","length","i","keys","key","getDPR","element","roundByDPR","value","dpr","useLatestRef","ref","React","useFloating","options","placement","strategy","middleware","platform","externalReference","externalFloating","transform","whileElementsMounted","open","data","setData","latestMiddleware","setLatestMiddleware","_reference","_setReference","_floating","_setFloating","setReference","node","referenceRef","setFloating","floatingRef","referenceEl","floatingEl","dataRef","hasWhileElementsMounted","whileElementsMountedRef","platformRef","openRef","update","config","computePosition","fullData","isMountedRef","ReactDOM","refs","elements","floatingStyles","initialStyles","x","y","arrow$1","isRef","state","padding","arrow$2","offset","deps","offset$1","shift","shift$1","limitShift","limitShift$1","flip","flip$1","size","size$1","hide","hide$1","arrow"],"mappings":"gcAMA,IAAIA,EAAQ,OAAO,SAAa,IAAcC,EAAe,gBAAGC,EAAS,UAIzE,SAASC,EAAUC,EAAGC,EAAG,CACvB,GAAID,IAAMC,EACR,MAAO,GAET,GAAI,OAAOD,GAAM,OAAOC,EACtB,MAAO,GAET,GAAI,OAAOD,GAAM,YAAcA,EAAE,aAAeC,EAAE,WAChD,MAAO,GAET,IAAIC,EACAC,EACAC,EACJ,GAAIJ,GAAKC,GAAK,OAAOD,GAAM,SAAU,CACnC,GAAI,MAAM,QAAQA,CAAC,EAAG,CAEpB,GADAE,EAASF,EAAE,OACPE,IAAWD,EAAE,OAAQ,MAAO,GAChC,IAAKE,EAAID,EAAQC,MAAQ,GACvB,GAAI,CAACJ,EAAUC,EAAEG,CAAC,EAAGF,EAAEE,CAAC,CAAC,EACvB,MAAO,GAGX,MAAO,EACb,CAGI,GAFAC,EAAO,OAAO,KAAKJ,CAAC,EACpBE,EAASE,EAAK,OACVF,IAAW,OAAO,KAAKD,CAAC,EAAE,OAC5B,MAAO,GAET,IAAKE,EAAID,EAAQC,MAAQ,GACvB,GAAI,CAAC,CAAE,EAAC,eAAe,KAAKF,EAAGG,EAAKD,CAAC,CAAC,EACpC,MAAO,GAGX,IAAKA,EAAID,EAAQC,MAAQ,GAAI,CAC3B,MAAME,EAAMD,EAAKD,CAAC,EAClB,GAAI,EAAAE,IAAQ,UAAYL,EAAE,WAGtB,CAACD,EAAUC,EAAEK,CAAG,EAAGJ,EAAEI,CAAG,CAAC,EAC3B,MAAO,EAEf,CACI,MAAO,EACX,CACE,OAAOL,IAAMA,GAAKC,IAAMA,CAC1B,CAEA,SAAS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I5C,EACrD,OAAIR,GAAWmD,EAAMnD,CAAO,EACtBA,EAAQ,SAAW,KACdsD,QAAQ,CACb,QAAStD,EAAQ,QACjB,QAAAqD,CACZ,CAAW,EAAE,GAAGD,CAAK,EAEN,CAAE,EAEPpD,EACKsD,QAAQ,CACb,QAAAtD,EACA,QAAAqD,CACV,CAAS,EAAE,GAAGD,CAAK,EAEN,CAAE,CACf,CACG,CACH,EASMG,EAAS,CAAC/C,EAASgD,KAAU,CACjC,GAAGC,EAAAA,OAASjD,CAAO,EACnB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAOME,EAAQ,CAAClD,EAASgD,KAAU,CAChC,GAAGG,EAAAA,MAAQnD,CAAO,EAClB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAKMI,EAAa,CAACpD,EAASgD,KAAU,CACrC,GAAGK,EAAAA,WAAarD,CAAO,EACvB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAQMM,EAAO,CAACtD,EAASgD,KAAU,CAC/B,GAAGO,EAAAA,KAAOvD,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAQMQ,GAAO,CAACxD,EAASgD,KAAU,CAC/B,GAAGS,EAAAA,KAAOzD,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAkBMU,GAAO,CAAC1D,EAASgD,KAAU,CAC/B,GAAGW,EAAAA,KAAO3D,CAAO,EACjB,QAAS,CAACA,EAASgD,CAAI,CACzB,GAkBMY,GAAQ,CAAC5D,EAASgD,KAAU,CAChC,GAAGN,EAAQ1C,CAAO,EAClB,QAAS,CAACA,EAASgD,CAAI,CACzB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs212.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("./index.cjs389.js"),i=require("./index.cjs212.js");function l(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const d=l(c);var f="Arrow",n=d.forwardRef((e,r)=>{const{children:t,width:o=10,height:s=5,...a}=e;return i.jsxRuntimeExports.jsx(u.Primitive.svg,{...a,ref:r,width:o,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?t:i.jsxRuntimeExports.jsx("polygon",{points:"0,0 30,0 15,10"})})});n.displayName=f;var p=n;exports.Arrow=n;exports.Root=p;
2
2
  //# sourceMappingURL=index.cjs432.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs432.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs432.js","sources":["../node_modules/@radix-ui/react-arrow/dist/index.mjs"],"sourcesContent":["// src/arrow.tsx\nimport * as React from \"react\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NAME = \"Arrow\";\nvar Arrow = React.forwardRef((props, forwardedRef) => {\n const { children, width = 10, height = 5, ...arrowProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.svg,\n {\n ...arrowProps,\n ref: forwardedRef,\n width,\n height,\n viewBox: \"0 0 30 10\",\n preserveAspectRatio: \"none\",\n children: props.asChild ? children : /* @__PURE__ */ jsx(\"polygon\", { points: \"0,0 30,0 15,10\" })\n }\n );\n});\nArrow.displayName = NAME;\nvar Root = Arrow;\nexport {\n Arrow,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NAME","Arrow","React","props","forwardedRef","children","width","height","arrowProps","jsx","Primitive","Root"],"mappings":"icAIA,IAAIA,EAAO,QACPC,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACpD,KAAM,CAAE,SAAAC,EAAU,MAAAC,EAAQ,GAAI,OAAAC,EAAS,EAAG,GAAGC,CAAU,EAAKL,EAC5D,OAAuBM,EAAG,kBAAA,IACxBC,EAAAA,UAAU,IACV,CACE,GAAGF,EACH,IAAKJ,EACL,MAAAE,EACA,OAAAC,EACA,QAAS,YACT,oBAAqB,OACrB,SAAUJ,EAAM,QAAUE,EAA2BI,EAAG,kBAAA,IAAC,UAAW,CAAE,OAAQ,gBAAkB,CAAA,CACtG,CACG,CACH,CAAC,EACDR,EAAM,YAAcD,EACjB,IAACW,EAAOV","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs437.js"),ye=require("./index.cjs438.js"),Z=require("./index.cjs393.js"),Ae=require("./index.cjs394.js"),G=require("./index.cjs401.js"),ve=require("./index.cjs412.js"),L=require("./index.cjs411.js"),Ce=require("./index.cjs419.js"),u=require("./index.cjs212.js"),be=require("./index.cjs439.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs447.js"),d=require("./index.cjs448.js"),i=require("./index.cjs449.js");function B(t){const e=i.getComputedStyle(t);let o=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const s=i.isHTMLElement(t),l=s?t.offsetWidth:o,r=s?t.offsetHeight:n,c=d.round(o)!==l||d.round(n)!==r;return c&&(o=l,n=r),{width:o,height:n,$:c}}function N(t){return i.isElement(t)?t:t.contextElement}function L(t){const e=N(t);if(!i.isHTMLElement(e))return d.createCoords(1);const o=e.getBoundingClientRect(),{width:n,height:s,$:l}=B(e);let r=(l?d.round(o.width):o.width)/n,c=(l?d.round(o.height):o.height)/s;return(!r||!Number.isFinite(r))&&(r=1),(!c||!Number.isFinite(c))&&(c=1),{x:r,y:c}}const P=d.createCoords(0);function A(t){const e=i.getWindow(t);return!i.isWebKit()||!e.visualViewport?P:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function q(t,e,o){return e===void 0&&(e=!1),!o||e&&o!==i.getWindow(t)?!1:e}function T(t,e,o,n){e===void 0&&(e=!1),o===void 0&&(o=!1);const s=t.getBoundingClientRect(),l=N(t);let r=d.createCoords(1);e&&(n?i.isElement(n)&&(r=L(n)):r=L(t));const c=q(l,o,n)?A(l):d.createCoords(0);let f=(s.left+c.x)/r.x,u=(s.top+c.y)/r.y,a=s.width/r.x,g=s.height/r.y;if(l){const w=i.getWindow(l),h=n&&i.isElement(n)?i.getWindow(n):n;let v=w,p=i.getFrameElement(v);for(;p&&n&&h!==v;){const y=L(p),m=p.getBoundingClientRect(),x=i.getComputedStyle(p),C=m.left+(p.clientLeft+parseFloat(x.paddingLeft))*y.x,O=m.top+(p.clientTop+parseFloat(x.paddingTop))*y.y;f*=y.x,u*=y.y,a*=y.x,g*=y.y,f+=C,u+=O,v=i.getWindow(p),p=i.getFrameElement(v)}}return d.rectToClientRect({width:a,height:g,x:f,y:u})}function W(t,e){const o=i.getNodeScroll(t).scrollLeft;return e?e.left+o:T(i.getDocumentElement(t)).left+o}function M(t,e,o){o===void 0&&(o=!1);const n=t.getBoundingClientRect(),s=n.left+e.scrollLeft-(o?0:W(t,n)),l=n.top+e.scrollTop;return{x:s,y:l}}function U(t){let{elements:e,rect:o,offsetParent:n,strategy:s}=t;const l=s==="fixed",r=i.getDocumentElement(n),c=e?i.isTopLayer(e.floating):!1;if(n===r||c&&l)return o;let f={scrollLeft:0,scrollTop:0},u=d.createCoords(1);const a=d.createCoords(0),g=i.isHTMLElement(n);if((g||!g&&!l)&&((i.getNodeName(n)!=="body"||i.isOverflowElement(r))&&(f=i.getNodeScroll(n)),i.isHTMLElement(n))){const h=T(n);u=L(n),a.x=h.x+n.clientLeft,a.y=h.y+n.clientTop}const w=r&&!g&&!l?M(r,f,!0):d.createCoords(0);return{width:o.width*u.x,height:o.height*u.y,x:o.x*u.x-f.scrollLeft*u.x+a.x+w.x,y:o.y*u.y-f.scrollTop*u.y+a.y+w.y}}function k(t){return Array.from(t.getClientRects())}function K(t){const e=i.getDocumentElement(t),o=i.getNodeScroll(t),n=t.ownerDocument.body,s=d.max(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),l=d.max(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let r=-o.scrollLeft+W(t);const c=-o.scrollTop;return i.getComputedStyle(n).direction==="rtl"&&(r+=d.max(e.clientWidth,n.clientWidth)-s),{width:s,height:l,x:r,y:c}}function $(t,e){const o=i.getWindow(t),n=i.getDocumentElement(t),s=o.visualViewport;let l=n.clientWidth,r=n.clientHeight,c=0,f=0;if(s){l=s.width,r=s.height;const u=i.isWebKit();(!u||u&&e==="fixed")&&(c=s.offsetLeft,f=s.offsetTop)}return{width:l,height:r,x:c,y:f}}function j(t,e){const o=T(t,!0,e==="fixed"),n=o.top+t.clientTop,s=o.left+t.clientLeft,l=i.isHTMLElement(t)?L(t):d.createCoords(1),r=t.clientWidth*l.x,c=t.clientHeight*l.y,f=s*l.x,u=n*l.y;return{width:r,height:c,x:f,y:u}}function F(t,e,o){let n;if(e==="viewport")n=$(t,o);else if(e==="document")n=K(i.getDocumentElement(t));else if(i.isElement(e))n=j(e,o);else{const s=A(t);n={x:e.x-s.x,y:e.y-s.y,width:e.width,height:e.height}}return d.rectToClientRect(n)}function z(t,e){const o=i.getParentNode(t);return o===e||!i.isElement(o)||i.isLastTraversableNode(o)?!1:i.getComputedStyle(o).position==="fixed"||z(o,e)}function G(t,e){const o=e.get(t);if(o)return o;let n=i.getOverflowAncestors(t,[],!1).filter(c=>i.isElement(c)&&i.getNodeName(c)!=="body"),s=null;const l=i.getComputedStyle(t).position==="fixed";let r=l?i.getParentNode(t):t;for(;i.isElement(r)&&!i.isLastTraversableNode(r);){const c=i.getComputedStyle(r),f=i.isContainingBlock(r);!f&&c.position==="fixed"&&(s=null),(l?!f&&!s:!f&&c.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||i.isOverflowElement(r)&&!f&&z(t,r))?n=n.filter(a=>a!==r):s=c,r=i.getParentNode(r)}return e.set(t,n),n}function J(t){let{element:e,boundary:o,rootBoundary:n,strategy:s}=t;const r=[...o==="clippingAncestors"?i.isTopLayer(e)?[]:G(e,this._c):[].concat(o),n],c=r[0],f=r.reduce((u,a)=>{const g=F(e,a,s);return u.top=d.max(g.top,u.top),u.right=d.min(g.right,u.right),u.bottom=d.min(g.bottom,u.bottom),u.left=d.max(g.left,u.left),u},F(e,c,s));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function Q(t){const{width:e,height:o}=B(t);return{width:e,height:o}}function Y(t,e,o){const n=i.isHTMLElement(e),s=i.getDocumentElement(e),l=o==="fixed",r=T(t,!0,l,e);let c={scrollLeft:0,scrollTop:0};const f=d.createCoords(0);function u(){f.x=W(s)}if(n||!n&&!l)if((i.getNodeName(e)!=="body"||i.isOverflowElement(s))&&(c=i.getNodeScroll(e)),n){const h=T(e,!0,l,e);f.x=h.x+e.clientLeft,f.y=h.y+e.clientTop}else s&&u();l&&!n&&s&&u();const a=s&&!n&&!l?M(s,c):d.createCoords(0),g=r.left+c.scrollLeft-f.x-a.x,w=r.top+c.scrollTop-f.y-a.y;return{x:g,y:w,width:r.width,height:r.height}}function b(t){return i.getComputedStyle(t).position==="static"}function H(t,e){if(!i.isHTMLElement(t)||i.getComputedStyle(t).position==="fixed")return null;if(e)return e(t);let o=t.offsetParent;return i.getDocumentElement(t)===o&&(o=o.ownerDocument.body),o}function I(t,e){const o=i.getWindow(t);if(i.isTopLayer(t))return o;if(!i.isHTMLElement(t)){let s=i.getParentNode(t);for(;s&&!i.isLastTraversableNode(s);){if(i.isElement(s)&&!b(s))return s;s=i.getParentNode(s)}return o}let n=H(t,e);for(;n&&i.isTableElement(n)&&b(n);)n=H(n,e);return n&&i.isLastTraversableNode(n)&&b(n)&&!i.isContainingBlock(n)?o:n||i.getContainingBlock(t)||o}const Z=async function(t){const e=this.getOffsetParent||I,o=this.getDimensions,n=await o(t.floating);return{reference:Y(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function X(t){return i.getComputedStyle(t).direction==="rtl"}const V={convertOffsetParentRelativeRectToViewportRelativeRect:U,getDocumentElement:i.getDocumentElement,getClippingRect:J,getOffsetParent:I,getElementRects:Z,getClientRects:k,getDimensions:Q,getScale:L,isElement:i.isElement,isRTL:X};function _(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function tt(t,e){let o=null,n;const s=i.getDocumentElement(t);function l(){var c;clearTimeout(n),(c=o)==null||c.disconnect(),o=null}function r(c,f){c===void 0&&(c=!1),f===void 0&&(f=1),l();const u=t.getBoundingClientRect(),{left:a,top:g,width:w,height:h}=u;if(c||e(),!w||!h)return;const v=d.floor(g),p=d.floor(s.clientWidth-(a+w)),y=d.floor(s.clientHeight-(g+h)),m=d.floor(a),C={rootMargin:-v+"px "+-p+"px "+-y+"px "+-m+"px",threshold:d.max(0,d.min(1,f))||1};let O=!0;function S(D){const R=D[0].intersectionRatio;if(R!==f){if(!O)return r();R?r(!1,R):n=setTimeout(()=>{r(!1,1e-7)},1e3)}R===1&&!_(u,t.getBoundingClientRect())&&r(),O=!1}try{o=new IntersectionObserver(S,{...C,root:s.ownerDocument})}catch{o=new IntersectionObserver(S,C)}o.observe(t)}return r(!0),l}function et(t,e,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:l=!0,elementResize:r=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:f=!1}=n,u=N(t),a=s||l?[...u?i.getOverflowAncestors(u):[],...i.getOverflowAncestors(e)]:[];a.forEach(m=>{s&&m.addEventListener("scroll",o,{passive:!0}),l&&m.addEventListener("resize",o)});const g=u&&c?tt(u,o):null;let w=-1,h=null;r&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===u&&h&&(h.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(e)})),o()}),u&&!f&&h.observe(u),h.observe(e));let v,p=f?T(t):null;f&&y();function y(){const m=T(t);p&&!_(p,m)&&o(),p=m,v=requestAnimationFrame(y)}return o(),()=>{var m;a.forEach(x=>{s&&x.removeEventListener("scroll",o),l&&x.removeEventListener("resize",o)}),g==null||g(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(v)}}const ot=E.offset,nt=E.shift,it=E.flip,st=E.size,rt=E.hide,lt=E.arrow,ct=E.limitShift,ft=(t,e,o)=>{const n=new Map,s={platform:V,...o},l={...s.platform,_c:n};return E.computePosition(t,e,{...s,platform:l})};exports.getOverflowAncestors=i.getOverflowAncestors;exports.arrow=lt;exports.autoUpdate=et;exports.computePosition=ft;exports.flip=it;exports.hide=rt;exports.limitShift=ct;exports.offset=ot;exports.platform=V;exports.shift=nt;exports.size=st;
2
2
  //# sourceMappingURL=index.cjs433.js.map