@anoki/fse-ui 1.0.772 → 1.0.773

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 (615) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs103.js +1 -1
  3. package/dist/index.cjs104.js +1 -1
  4. package/dist/index.cjs105.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs107.js +1 -1
  7. package/dist/index.cjs11.js +1 -1
  8. package/dist/index.cjs110.js +1 -1
  9. package/dist/index.cjs115.js +1 -1
  10. package/dist/index.cjs117.js +1 -1
  11. package/dist/index.cjs118.js +1 -1
  12. package/dist/index.cjs119.js +1 -1
  13. package/dist/index.cjs12.js +1 -1
  14. package/dist/index.cjs120.js +1 -1
  15. package/dist/index.cjs121.js +1 -1
  16. package/dist/index.cjs123.js +1 -1
  17. package/dist/index.cjs124.js +1 -1
  18. package/dist/index.cjs125.js +1 -1
  19. package/dist/index.cjs126.js +1 -1
  20. package/dist/index.cjs127.js +1 -1
  21. package/dist/index.cjs13.js +1 -1
  22. package/dist/index.cjs130.js +1 -1
  23. package/dist/index.cjs132.js +1 -1
  24. package/dist/index.cjs134.js +1 -1
  25. package/dist/index.cjs135.js +1 -1
  26. package/dist/index.cjs136.js +1 -1
  27. package/dist/index.cjs137.js +1 -1
  28. package/dist/index.cjs138.js +1 -1
  29. package/dist/index.cjs139.js +1 -1
  30. package/dist/index.cjs14.js +1 -1
  31. package/dist/index.cjs140.js +1 -1
  32. package/dist/index.cjs141.js +1 -1
  33. package/dist/index.cjs142.js +1 -1
  34. package/dist/index.cjs143.js +1 -1
  35. package/dist/index.cjs144.js +1 -1
  36. package/dist/index.cjs145.js +1 -1
  37. package/dist/index.cjs146.js +1 -1
  38. package/dist/index.cjs147.js +1 -1
  39. package/dist/index.cjs148.js +1 -1
  40. package/dist/index.cjs149.js +1 -1
  41. package/dist/index.cjs15.js +1 -1
  42. package/dist/index.cjs150.js +1 -1
  43. package/dist/index.cjs151.js +1 -1
  44. package/dist/index.cjs152.js +1 -1
  45. package/dist/index.cjs153.js +1 -1
  46. package/dist/index.cjs154.js +1 -1
  47. package/dist/index.cjs155.js +1 -1
  48. package/dist/index.cjs156.js +1 -1
  49. package/dist/index.cjs157.js +1 -1
  50. package/dist/index.cjs158.js +1 -1
  51. package/dist/index.cjs159.js +1 -1
  52. package/dist/index.cjs16.js +1 -1
  53. package/dist/index.cjs160.js +1 -1
  54. package/dist/index.cjs161.js +1 -1
  55. package/dist/index.cjs162.js +1 -1
  56. package/dist/index.cjs164.js +1 -1
  57. package/dist/index.cjs165.js +1 -1
  58. package/dist/index.cjs166.js +1 -1
  59. package/dist/index.cjs167.js +1 -1
  60. package/dist/index.cjs168.js +1 -1
  61. package/dist/index.cjs169.js +1 -1
  62. package/dist/index.cjs17.js +1 -1
  63. package/dist/index.cjs170.js +1 -1
  64. package/dist/index.cjs171.js +1 -1
  65. package/dist/index.cjs172.js +1 -1
  66. package/dist/index.cjs174.js +1 -1
  67. package/dist/index.cjs175.js +1 -1
  68. package/dist/index.cjs176.js +1 -1
  69. package/dist/index.cjs177.js +1 -1
  70. package/dist/index.cjs178.js +1 -1
  71. package/dist/index.cjs179.js +1 -1
  72. package/dist/index.cjs18.js +1 -1
  73. package/dist/index.cjs180.js +1 -1
  74. package/dist/index.cjs182.js +1 -1
  75. package/dist/index.cjs183.js +1 -1
  76. package/dist/index.cjs184.js +1 -1
  77. package/dist/index.cjs185.js +1 -1
  78. package/dist/index.cjs186.js +1 -1
  79. package/dist/index.cjs187.js +1 -1
  80. package/dist/index.cjs188.js +1 -1
  81. package/dist/index.cjs189.js +1 -1
  82. package/dist/index.cjs19.js +1 -1
  83. package/dist/index.cjs195.js +1 -1
  84. package/dist/index.cjs20.js +1 -1
  85. package/dist/index.cjs21.js +1 -1
  86. package/dist/index.cjs217.js +2 -0
  87. package/dist/index.cjs217.js.map +1 -0
  88. package/dist/index.cjs218.js +1 -1
  89. package/dist/index.cjs218.js.map +1 -1
  90. package/dist/index.cjs221.js +2 -0
  91. package/dist/index.cjs221.js.map +1 -0
  92. package/dist/index.cjs228.js +1 -6
  93. package/dist/index.cjs228.js.map +1 -1
  94. package/dist/index.cjs229.js +7 -0
  95. package/dist/index.cjs229.js.map +1 -0
  96. package/dist/index.cjs23.js +1 -1
  97. package/dist/{index.cjs231.js → index.cjs232.js} +1 -1
  98. package/dist/{index.cjs231.js.map → index.cjs232.js.map} +1 -1
  99. package/dist/index.cjs24.js +1 -1
  100. package/dist/index.cjs241.js +1 -1
  101. package/dist/index.cjs245.js +1 -1
  102. package/dist/index.cjs249.js +1 -1
  103. package/dist/index.cjs252.js +1 -1
  104. package/dist/index.cjs253.js +1 -1
  105. package/dist/index.cjs254.js +1 -1
  106. package/dist/index.cjs26.js +1 -1
  107. package/dist/index.cjs260.js +1 -1
  108. package/dist/index.cjs27.js +1 -1
  109. package/dist/index.cjs270.js +1 -1
  110. package/dist/index.cjs274.js +1 -1
  111. package/dist/index.cjs276.js +1 -1
  112. package/dist/index.cjs283.js +1 -1
  113. package/dist/index.cjs284.js +1 -1
  114. package/dist/index.cjs287.js +1 -1
  115. package/dist/index.cjs288.js +1 -1
  116. package/dist/index.cjs293.js +1 -1
  117. package/dist/index.cjs295.js +1 -1
  118. package/dist/index.cjs298.js +1 -1
  119. package/dist/index.cjs30.js +1 -1
  120. package/dist/index.cjs301.js +1 -1
  121. package/dist/index.cjs302.js +1 -1
  122. package/dist/index.cjs303.js +1 -1
  123. package/dist/index.cjs31.js +1 -1
  124. package/dist/index.cjs32.js +1 -1
  125. package/dist/index.cjs33.js +1 -1
  126. package/dist/index.cjs34.js +1 -1
  127. package/dist/index.cjs342.js +1 -1
  128. package/dist/index.cjs35.js +1 -1
  129. package/dist/index.cjs350.js +1 -1
  130. package/dist/index.cjs36.js +1 -1
  131. package/dist/index.cjs361.js +1 -1
  132. package/dist/index.cjs363.js +1 -1
  133. package/dist/index.cjs381.js +1 -1
  134. package/dist/index.cjs382.js +1 -1
  135. package/dist/index.cjs385.js +1 -1
  136. package/dist/index.cjs389.js +1 -1
  137. package/dist/index.cjs390.js +1 -1
  138. package/dist/index.cjs391.js +1 -1
  139. package/dist/index.cjs391.js.map +1 -1
  140. package/dist/index.cjs392.js +1 -2
  141. package/dist/index.cjs392.js.map +1 -1
  142. package/dist/index.cjs393.js +1 -27
  143. package/dist/index.cjs393.js.map +1 -1
  144. package/dist/index.cjs394.js +27 -1
  145. package/dist/index.cjs394.js.map +1 -1
  146. package/dist/index.cjs396.js +1 -1
  147. package/dist/index.cjs396.js.map +1 -1
  148. package/dist/index.cjs397.js +2 -1
  149. package/dist/index.cjs397.js.map +1 -1
  150. package/dist/index.cjs399.js +1 -1
  151. package/dist/index.cjs399.js.map +1 -1
  152. package/dist/index.cjs40.js +1 -1
  153. package/dist/index.cjs400.js +1 -1
  154. package/dist/index.cjs400.js.map +1 -1
  155. package/dist/index.cjs401.js +1 -1
  156. package/dist/index.cjs401.js.map +1 -1
  157. package/dist/index.cjs402.js +1 -1
  158. package/dist/index.cjs402.js.map +1 -1
  159. package/dist/index.cjs403.js +2 -0
  160. package/dist/index.cjs403.js.map +1 -0
  161. package/dist/index.cjs404.js +1 -1
  162. package/dist/index.cjs404.js.map +1 -1
  163. package/dist/index.cjs405.js +2 -0
  164. package/dist/index.cjs405.js.map +1 -0
  165. package/dist/index.cjs406.js +2 -0
  166. package/dist/index.cjs406.js.map +1 -0
  167. package/dist/index.cjs409.js +1 -1
  168. package/dist/index.cjs409.js.map +1 -1
  169. package/dist/index.cjs41.js +1 -1
  170. package/dist/index.cjs410.js +1 -1
  171. package/dist/index.cjs410.js.map +1 -1
  172. package/dist/index.cjs411.js +1 -1
  173. package/dist/index.cjs411.js.map +1 -1
  174. package/dist/index.cjs412.js +1 -1
  175. package/dist/index.cjs412.js.map +1 -1
  176. package/dist/index.cjs413.js +2 -0
  177. package/dist/index.cjs413.js.map +1 -0
  178. package/dist/index.cjs414.js +2 -0
  179. package/dist/index.cjs414.js.map +1 -0
  180. package/dist/index.cjs415.js +2 -0
  181. package/dist/index.cjs415.js.map +1 -0
  182. package/dist/index.cjs416.js +1 -1
  183. package/dist/index.cjs416.js.map +1 -1
  184. package/dist/index.cjs417.js +1 -1
  185. package/dist/index.cjs417.js.map +1 -1
  186. package/dist/index.cjs418.js +1 -1
  187. package/dist/index.cjs418.js.map +1 -1
  188. package/dist/index.cjs419.js +1 -1
  189. package/dist/index.cjs419.js.map +1 -1
  190. package/dist/index.cjs42.js +1 -1
  191. package/dist/index.cjs420.js +1 -1
  192. package/dist/index.cjs420.js.map +1 -1
  193. package/dist/index.cjs422.js +1 -1
  194. package/dist/index.cjs422.js.map +1 -1
  195. package/dist/{index.cjs407.js → index.cjs423.js} +1 -1
  196. package/dist/{index.cjs407.js.map → index.cjs423.js.map} +1 -1
  197. package/dist/{index.cjs408.js → index.cjs424.js} +2 -2
  198. package/dist/{index.cjs408.js.map → index.cjs424.js.map} +1 -1
  199. package/dist/{index.cjs441.js → index.cjs425.js} +2 -2
  200. package/dist/{index.cjs441.js.map → index.cjs425.js.map} +1 -1
  201. package/dist/{index.cjs442.js → index.cjs426.js} +2 -2
  202. package/dist/{index.cjs442.js.map → index.cjs426.js.map} +1 -1
  203. package/dist/{index.cjs443.js → index.cjs427.js} +2 -2
  204. package/dist/{index.cjs443.js.map → index.cjs427.js.map} +1 -1
  205. package/dist/index.cjs428.js +2 -0
  206. package/dist/index.cjs428.js.map +1 -0
  207. package/dist/index.cjs429.js +2 -0
  208. package/dist/index.cjs429.js.map +1 -0
  209. package/dist/index.cjs430.js +2 -0
  210. package/dist/index.cjs430.js.map +1 -0
  211. package/dist/index.cjs431.js +2 -0
  212. package/dist/index.cjs431.js.map +1 -0
  213. package/dist/index.cjs432.js +2 -0
  214. package/dist/index.cjs432.js.map +1 -0
  215. package/dist/index.cjs44.js +1 -1
  216. package/dist/index.cjs444.js +1 -1
  217. package/dist/index.cjs444.js.map +1 -1
  218. package/dist/index.cjs445.js +1 -1
  219. package/dist/index.cjs445.js.map +1 -1
  220. package/dist/index.cjs446.js +1 -1
  221. package/dist/index.cjs446.js.map +1 -1
  222. package/dist/index.cjs447.js +4 -1
  223. package/dist/index.cjs447.js.map +1 -1
  224. package/dist/index.cjs448.js +1 -1
  225. package/dist/index.cjs448.js.map +1 -1
  226. package/dist/index.cjs449.js +1 -1
  227. package/dist/index.cjs449.js.map +1 -1
  228. package/dist/index.cjs45.js +1 -1
  229. package/dist/index.cjs450.js +1 -1
  230. package/dist/index.cjs450.js.map +1 -1
  231. package/dist/index.cjs451.js +1 -4
  232. package/dist/index.cjs451.js.map +1 -1
  233. package/dist/index.cjs456.js +1 -1
  234. package/dist/index.cjs457.js +1 -1
  235. package/dist/index.cjs458.js +1 -1
  236. package/dist/index.cjs46.js +1 -1
  237. package/dist/index.cjs463.js +1 -1
  238. package/dist/index.cjs463.js.map +1 -1
  239. package/dist/index.cjs464.js +1 -1
  240. package/dist/index.cjs464.js.map +1 -1
  241. package/dist/index.cjs465.js +1 -1
  242. package/dist/index.cjs465.js.map +1 -1
  243. package/dist/index.cjs466.js +1 -1
  244. package/dist/index.cjs466.js.map +1 -1
  245. package/dist/index.cjs47.js +1 -1
  246. package/dist/index.cjs472.js +1 -1
  247. package/dist/index.cjs479.js +1 -1
  248. package/dist/index.cjs494.js +1 -1
  249. package/dist/index.cjs494.js.map +1 -1
  250. package/dist/index.cjs495.js +1 -1
  251. package/dist/index.cjs495.js.map +1 -1
  252. package/dist/index.cjs496.js +1 -1
  253. package/dist/index.cjs50.js +1 -1
  254. package/dist/index.cjs51.js +1 -1
  255. package/dist/index.cjs52.js +1 -1
  256. package/dist/index.cjs53.js +1 -1
  257. package/dist/index.cjs54.js +1 -1
  258. package/dist/index.cjs55.js +1 -1
  259. package/dist/index.cjs56.js +1 -1
  260. package/dist/index.cjs58.js +1 -1
  261. package/dist/index.cjs6.js +1 -1
  262. package/dist/index.cjs60.js +1 -1
  263. package/dist/index.cjs61.js +1 -1
  264. package/dist/index.cjs62.js +1 -1
  265. package/dist/index.cjs63.js +1 -1
  266. package/dist/index.cjs65.js +1 -1
  267. package/dist/index.cjs67.js +1 -1
  268. package/dist/index.cjs68.js +1 -1
  269. package/dist/index.cjs69.js +1 -1
  270. package/dist/index.cjs7.js +1 -1
  271. package/dist/index.cjs71.js +1 -1
  272. package/dist/index.cjs72.js +1 -1
  273. package/dist/index.cjs73.js +1 -1
  274. package/dist/index.cjs8.js +1 -1
  275. package/dist/index.cjs9.js +1 -1
  276. package/dist/index.cjs93.js +1 -1
  277. package/dist/index.cjs95.js +1 -1
  278. package/dist/index.cjs97.js +1 -1
  279. package/dist/index.es10.js +3 -3
  280. package/dist/index.es103.js +1 -1
  281. package/dist/index.es104.js +1 -1
  282. package/dist/index.es105.js +1 -1
  283. package/dist/index.es106.js +1 -1
  284. package/dist/index.es107.js +1 -1
  285. package/dist/index.es11.js +1 -1
  286. package/dist/index.es110.js +1 -1
  287. package/dist/index.es115.js +1 -1
  288. package/dist/index.es117.js +1 -1
  289. package/dist/index.es118.js +1 -1
  290. package/dist/index.es119.js +1 -1
  291. package/dist/index.es12.js +1 -1
  292. package/dist/index.es120.js +1 -1
  293. package/dist/index.es121.js +1 -1
  294. package/dist/index.es123.js +2 -2
  295. package/dist/index.es124.js +1 -1
  296. package/dist/index.es125.js +1 -1
  297. package/dist/index.es126.js +2 -2
  298. package/dist/index.es127.js +1 -1
  299. package/dist/index.es13.js +1 -1
  300. package/dist/index.es130.js +2 -2
  301. package/dist/index.es132.js +1 -1
  302. package/dist/index.es134.js +2 -2
  303. package/dist/index.es135.js +2 -2
  304. package/dist/index.es136.js +2 -2
  305. package/dist/index.es137.js +2 -2
  306. package/dist/index.es138.js +2 -2
  307. package/dist/index.es139.js +2 -2
  308. package/dist/index.es14.js +1 -1
  309. package/dist/index.es140.js +2 -2
  310. package/dist/index.es141.js +2 -2
  311. package/dist/index.es142.js +2 -2
  312. package/dist/index.es143.js +2 -2
  313. package/dist/index.es144.js +2 -2
  314. package/dist/index.es145.js +2 -2
  315. package/dist/index.es146.js +2 -2
  316. package/dist/index.es147.js +2 -2
  317. package/dist/index.es148.js +2 -2
  318. package/dist/index.es149.js +2 -2
  319. package/dist/index.es15.js +1 -1
  320. package/dist/index.es150.js +2 -2
  321. package/dist/index.es151.js +2 -2
  322. package/dist/index.es152.js +2 -2
  323. package/dist/index.es153.js +2 -2
  324. package/dist/index.es154.js +2 -2
  325. package/dist/index.es155.js +2 -2
  326. package/dist/index.es156.js +2 -2
  327. package/dist/index.es157.js +1 -1
  328. package/dist/index.es158.js +1 -1
  329. package/dist/index.es159.js +1 -1
  330. package/dist/index.es16.js +1 -1
  331. package/dist/index.es160.js +2 -2
  332. package/dist/index.es161.js +2 -2
  333. package/dist/index.es162.js +2 -2
  334. package/dist/index.es164.js +2 -2
  335. package/dist/index.es165.js +2 -2
  336. package/dist/index.es166.js +2 -2
  337. package/dist/index.es167.js +2 -2
  338. package/dist/index.es168.js +2 -2
  339. package/dist/index.es169.js +2 -2
  340. package/dist/index.es17.js +1 -1
  341. package/dist/index.es170.js +2 -2
  342. package/dist/index.es171.js +2 -2
  343. package/dist/index.es172.js +2 -2
  344. package/dist/index.es174.js +2 -2
  345. package/dist/index.es175.js +2 -2
  346. package/dist/index.es176.js +2 -2
  347. package/dist/index.es177.js +2 -2
  348. package/dist/index.es178.js +2 -2
  349. package/dist/index.es179.js +2 -2
  350. package/dist/index.es18.js +1 -1
  351. package/dist/index.es180.js +2 -2
  352. package/dist/index.es182.js +2 -2
  353. package/dist/index.es183.js +2 -2
  354. package/dist/index.es184.js +2 -2
  355. package/dist/index.es185.js +2 -2
  356. package/dist/index.es186.js +2 -2
  357. package/dist/index.es187.js +2 -2
  358. package/dist/index.es188.js +2 -2
  359. package/dist/index.es189.js +2 -2
  360. package/dist/index.es19.js +1 -1
  361. package/dist/index.es195.js +2 -2
  362. package/dist/index.es20.js +1 -1
  363. package/dist/index.es21.js +1 -1
  364. package/dist/index.es217.js +18 -0
  365. package/dist/index.es217.js.map +1 -0
  366. package/dist/index.es218.js +2 -15
  367. package/dist/index.es218.js.map +1 -1
  368. package/dist/index.es221.js +6 -0
  369. package/dist/index.es221.js.map +1 -0
  370. package/dist/index.es228.js +5 -59
  371. package/dist/index.es228.js.map +1 -1
  372. package/dist/index.es229.js +62 -0
  373. package/dist/index.es229.js.map +1 -0
  374. package/dist/index.es23.js +2 -2
  375. package/dist/{index.es231.js → index.es232.js} +1 -1
  376. package/dist/{index.es231.js.map → index.es232.js.map} +1 -1
  377. package/dist/index.es24.js +1 -1
  378. package/dist/index.es241.js +2 -2
  379. package/dist/index.es245.js +1 -1
  380. package/dist/index.es249.js +7 -7
  381. package/dist/index.es252.js +2 -2
  382. package/dist/index.es253.js +2 -2
  383. package/dist/index.es254.js +2 -2
  384. package/dist/index.es26.js +2 -2
  385. package/dist/index.es260.js +8 -8
  386. package/dist/index.es27.js +1 -1
  387. package/dist/index.es270.js +1 -1
  388. package/dist/index.es274.js +2 -2
  389. package/dist/index.es276.js +13 -13
  390. package/dist/index.es283.js +1 -1
  391. package/dist/index.es284.js +2 -2
  392. package/dist/index.es287.js +1 -1
  393. package/dist/index.es288.js +1 -1
  394. package/dist/index.es293.js +2 -2
  395. package/dist/index.es295.js +1 -1
  396. package/dist/index.es298.js +1 -1
  397. package/dist/index.es30.js +1 -1
  398. package/dist/index.es301.js +2 -2
  399. package/dist/index.es302.js +2 -2
  400. package/dist/index.es303.js +7 -7
  401. package/dist/index.es31.js +1 -1
  402. package/dist/index.es32.js +1 -1
  403. package/dist/index.es33.js +1 -1
  404. package/dist/index.es34.js +1 -1
  405. package/dist/index.es342.js +4 -4
  406. package/dist/index.es35.js +1 -1
  407. package/dist/index.es350.js +1 -1
  408. package/dist/index.es36.js +1 -1
  409. package/dist/index.es361.js +1 -1
  410. package/dist/index.es363.js +1 -1
  411. package/dist/index.es381.js +1 -1
  412. package/dist/index.es382.js +1 -1
  413. package/dist/index.es385.js +2 -2
  414. package/dist/index.es389.js +1 -1
  415. package/dist/index.es390.js +1 -1
  416. package/dist/index.es391.js +2 -6
  417. package/dist/index.es391.js.map +1 -1
  418. package/dist/index.es392.js +2 -521
  419. package/dist/index.es392.js.map +1 -1
  420. package/dist/index.es393.js +5 -3674
  421. package/dist/index.es393.js.map +1 -1
  422. package/dist/index.es394.js +3674 -5
  423. package/dist/index.es394.js.map +1 -1
  424. package/dist/index.es396.js +5 -6
  425. package/dist/index.es396.js.map +1 -1
  426. package/dist/index.es397.js +518 -24
  427. package/dist/index.es397.js.map +1 -1
  428. package/dist/index.es399.js +6 -51
  429. package/dist/index.es399.js.map +1 -1
  430. package/dist/index.es40.js +1 -1
  431. package/dist/index.es400.js +26 -33
  432. package/dist/index.es400.js.map +1 -1
  433. package/dist/index.es401.js +63 -617
  434. package/dist/index.es401.js.map +1 -1
  435. package/dist/index.es402.js +51 -10
  436. package/dist/index.es402.js.map +1 -1
  437. package/dist/index.es403.js +37 -0
  438. package/dist/index.es403.js.map +1 -0
  439. package/dist/index.es404.js +620 -13
  440. package/dist/index.es404.js.map +1 -1
  441. package/dist/index.es405.js +14 -0
  442. package/dist/index.es405.js.map +1 -0
  443. package/dist/index.es406.js +18 -0
  444. package/dist/index.es406.js.map +1 -0
  445. package/dist/index.es409.js +3 -68
  446. package/dist/index.es409.js.map +1 -1
  447. package/dist/index.es41.js +1 -1
  448. package/dist/index.es410.js +52 -13
  449. package/dist/index.es410.js.map +1 -1
  450. package/dist/index.es411.js +46 -2
  451. package/dist/index.es411.js.map +1 -1
  452. package/dist/index.es412.js +8 -2
  453. package/dist/index.es412.js.map +1 -1
  454. package/dist/index.es413.js +128 -0
  455. package/dist/index.es413.js.map +1 -0
  456. package/dist/index.es414.js +18 -0
  457. package/dist/index.es414.js.map +1 -0
  458. package/dist/index.es415.js +138 -0
  459. package/dist/index.es415.js.map +1 -0
  460. package/dist/index.es416.js +206 -113
  461. package/dist/index.es416.js.map +1 -1
  462. package/dist/index.es417.js +13 -134
  463. package/dist/index.es417.js.map +1 -1
  464. package/dist/index.es418.js +69 -14
  465. package/dist/index.es418.js.map +1 -1
  466. package/dist/index.es419.js +179 -13
  467. package/dist/index.es419.js.map +1 -1
  468. package/dist/index.es42.js +1 -1
  469. package/dist/index.es420.js +10 -8
  470. package/dist/index.es420.js.map +1 -1
  471. package/dist/index.es422.js +9 -54
  472. package/dist/index.es422.js.map +1 -1
  473. package/dist/{index.es407.js → index.es423.js} +1 -1
  474. package/dist/{index.es407.js.map → index.es423.js.map} +1 -1
  475. package/dist/{index.es408.js → index.es424.js} +2 -2
  476. package/dist/{index.es408.js.map → index.es424.js.map} +1 -1
  477. package/dist/{index.es441.js → index.es425.js} +2 -2
  478. package/dist/{index.es441.js.map → index.es425.js.map} +1 -1
  479. package/dist/{index.es442.js → index.es426.js} +3 -3
  480. package/dist/{index.es442.js.map → index.es426.js.map} +1 -1
  481. package/dist/{index.es443.js → index.es427.js} +2 -2
  482. package/dist/{index.es443.js.map → index.es427.js.map} +1 -1
  483. package/dist/index.es428.js +400 -0
  484. package/dist/index.es428.js.map +1 -0
  485. package/dist/index.es429.js +18 -0
  486. package/dist/index.es429.js.map +1 -0
  487. package/dist/index.es430.js +28 -0
  488. package/dist/index.es430.js.map +1 -0
  489. package/dist/index.es431.js +32 -0
  490. package/dist/index.es431.js.map +1 -0
  491. package/dist/index.es432.js +8 -0
  492. package/dist/index.es432.js.map +1 -0
  493. package/dist/index.es44.js +1 -1
  494. package/dist/index.es444.js +5 -397
  495. package/dist/index.es444.js.map +1 -1
  496. package/dist/index.es445.js +3 -25
  497. package/dist/index.es445.js.map +1 -1
  498. package/dist/index.es446.js +24 -29
  499. package/dist/index.es446.js.map +1 -1
  500. package/dist/index.es447.js +110 -5
  501. package/dist/index.es447.js.map +1 -1
  502. package/dist/index.es448.js +16 -5
  503. package/dist/index.es448.js.map +1 -1
  504. package/dist/index.es449.js +527 -3
  505. package/dist/index.es449.js.map +1 -1
  506. package/dist/index.es45.js +1 -1
  507. package/dist/index.es450.js +126 -23
  508. package/dist/index.es450.js.map +1 -1
  509. package/dist/index.es451.js +124 -105
  510. package/dist/index.es451.js.map +1 -1
  511. package/dist/index.es456.js +1 -1
  512. package/dist/index.es457.js +2 -2
  513. package/dist/index.es458.js +1 -1
  514. package/dist/index.es46.js +1 -1
  515. package/dist/index.es463.js +21 -11
  516. package/dist/index.es463.js.map +1 -1
  517. package/dist/index.es464.js +11 -26
  518. package/dist/index.es464.js.map +1 -1
  519. package/dist/index.es465.js +27 -4
  520. package/dist/index.es465.js.map +1 -1
  521. package/dist/index.es466.js +4 -22
  522. package/dist/index.es466.js.map +1 -1
  523. package/dist/index.es47.js +1 -1
  524. package/dist/index.es472.js +1 -1
  525. package/dist/index.es479.js +9 -9
  526. package/dist/index.es494.js +2 -6
  527. package/dist/index.es494.js.map +1 -1
  528. package/dist/index.es495.js +6 -2
  529. package/dist/index.es495.js.map +1 -1
  530. package/dist/index.es496.js +1 -1
  531. package/dist/index.es50.js +2 -2
  532. package/dist/index.es51.js +1 -1
  533. package/dist/index.es52.js +1 -1
  534. package/dist/index.es53.js +1 -1
  535. package/dist/index.es54.js +1 -1
  536. package/dist/index.es55.js +1 -1
  537. package/dist/index.es56.js +1 -1
  538. package/dist/index.es58.js +2 -2
  539. package/dist/index.es6.js +2 -2
  540. package/dist/index.es60.js +1 -1
  541. package/dist/index.es61.js +1 -1
  542. package/dist/index.es62.js +1 -1
  543. package/dist/index.es63.js +2 -2
  544. package/dist/index.es65.js +1 -1
  545. package/dist/index.es67.js +1 -1
  546. package/dist/index.es68.js +1 -1
  547. package/dist/index.es69.js +1 -1
  548. package/dist/index.es7.js +2 -2
  549. package/dist/index.es71.js +1 -1
  550. package/dist/index.es72.js +1 -1
  551. package/dist/index.es73.js +1 -1
  552. package/dist/index.es8.js +2 -2
  553. package/dist/index.es9.js +3 -3
  554. package/dist/index.es93.js +1 -1
  555. package/dist/index.es95.js +1 -1
  556. package/dist/index.es97.js +1 -1
  557. package/package.json +2 -2
  558. package/dist/index.cjs220.js +0 -2
  559. package/dist/index.cjs220.js.map +0 -1
  560. package/dist/index.cjs227.js +0 -2
  561. package/dist/index.cjs227.js.map +0 -1
  562. package/dist/index.cjs233.js +0 -2
  563. package/dist/index.cjs233.js.map +0 -1
  564. package/dist/index.cjs398.js +0 -2
  565. package/dist/index.cjs398.js.map +0 -1
  566. package/dist/index.cjs435.js +0 -2
  567. package/dist/index.cjs435.js.map +0 -1
  568. package/dist/index.cjs436.js +0 -2
  569. package/dist/index.cjs436.js.map +0 -1
  570. package/dist/index.cjs437.js +0 -2
  571. package/dist/index.cjs437.js.map +0 -1
  572. package/dist/index.cjs438.js +0 -2
  573. package/dist/index.cjs438.js.map +0 -1
  574. package/dist/index.cjs439.js +0 -2
  575. package/dist/index.cjs439.js.map +0 -1
  576. package/dist/index.cjs440.js +0 -2
  577. package/dist/index.cjs440.js.map +0 -1
  578. package/dist/index.cjs452.js +0 -2
  579. package/dist/index.cjs452.js.map +0 -1
  580. package/dist/index.cjs453.js +0 -2
  581. package/dist/index.cjs453.js.map +0 -1
  582. package/dist/index.cjs454.js +0 -2
  583. package/dist/index.cjs454.js.map +0 -1
  584. package/dist/index.cjs455.js +0 -2
  585. package/dist/index.cjs455.js.map +0 -1
  586. package/dist/index.es220.js +0 -6
  587. package/dist/index.es220.js.map +0 -1
  588. package/dist/index.es227.js +0 -8
  589. package/dist/index.es227.js.map +0 -1
  590. package/dist/index.es233.js +0 -5
  591. package/dist/index.es233.js.map +0 -1
  592. package/dist/index.es398.js +0 -71
  593. package/dist/index.es398.js.map +0 -1
  594. package/dist/index.es435.js +0 -7
  595. package/dist/index.es435.js.map +0 -1
  596. package/dist/index.es436.js +0 -49
  597. package/dist/index.es436.js.map +0 -1
  598. package/dist/index.es437.js +0 -11
  599. package/dist/index.es437.js.map +0 -1
  600. package/dist/index.es438.js +0 -221
  601. package/dist/index.es438.js.map +0 -1
  602. package/dist/index.es439.js +0 -184
  603. package/dist/index.es439.js.map +0 -1
  604. package/dist/index.es440.js +0 -14
  605. package/dist/index.es440.js.map +0 -1
  606. package/dist/index.es452.js +0 -19
  607. package/dist/index.es452.js.map +0 -1
  608. package/dist/index.es453.js +0 -530
  609. package/dist/index.es453.js.map +0 -1
  610. package/dist/index.es454.js +0 -130
  611. package/dist/index.es454.js.map +0 -1
  612. package/dist/index.es455.js +0 -132
  613. package/dist/index.es455.js.map +0 -1
  614. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
  615. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs419.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":"mYAIA,IAAIA,EAAQ,EAKZ,SAASC,GAAiB,CACxBC,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAa,SAAS,iBAAiB,0BAA0B,EACvE,gBAAS,KAAK,sBAAsB,aAAcA,EAAW,CAAC,GAAKC,GAAkB,EACrF,SAAS,KAAK,sBAAsB,YAAaD,EAAW,CAAC,GAAKC,GAAkB,EACpFJ,IACO,IAAM,CACPA,IAAU,GACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAASK,GAASA,EAAK,QAAQ,EAEvFL,GACD,CACF,EAAE,EAAE,CACP,CACA,SAASI,GAAmB,CAC1B,MAAME,EAAU,SAAS,cAAc,MAAM,EAC7C,OAAAA,EAAQ,aAAa,yBAA0B,EAAE,EACjDA,EAAQ,SAAW,EACnBA,EAAQ,MAAM,QAAU,OACxBA,EAAQ,MAAM,QAAU,IACxBA,EAAQ,MAAM,SAAW,QACzBA,EAAQ,MAAM,cAAgB,OACvBA,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","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAkB,mBACnFP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,GAAGC,CACP,EAAMb,EACEc,EAAMf,EAAM,OAAO,IAAI,EACvBgB,EAAeC,EAAAA,gBAAgBf,EAAca,CAAG,EAChDG,EAAYC,EAAY,aAACX,CAAG,EAC5B,CAACY,EAAkBC,CAAmB,EAAIC,uBAAqB,CACnE,KAAMb,EACN,YAAaC,GAA2B,K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AC5B,UAAW,OACX,QAAS,OACT,WAAY,OACZ,UAAW,OACX,OAAQ,QACR,KAAM,QACN,SAAU,OACV,IAAK,MACP,EACA,SAASC,GAAqBC,EAAKxD,EAAK,CACtC,OAAIA,IAAQ,MAAcwD,EACnBA,IAAQ,YAAc,aAAeA,IAAQ,aAAe,YAAcA,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"});require('./components/ui/ProgressBar/ProgressBar.css');const s=require("./index.cjs216.js"),x=require("./index.cjs276.js");;/* empty css */const m=require("./index.cjs218.js"),c=require("./index.cjs26.js"),d=require("./index.cjs138.js"),u=({closeButton:l="Chiudi",onlyTitle:r=!1,onCloseClick:n,title:i,stepLabel:o="di",currentStep:t=1,totalSteps:e=3})=>s.jsxRuntimeExports.jsxs("div",{className:"text-slate-28",children:[s.jsxRuntimeExports.jsxs("header",{className:"ui-modal-header ",children:[s.jsxRuntimeExports.jsxs(x.Title,{className:"base-col justify-content-center align-items-center mb-5 pb-x8",children:[i&&s.jsxRuntimeExports.jsx("div",{className:"fw-bold fs-7 md-fs-custom",children:i}),!r&&s.jsxRuntimeExports.jsxs("p",{className:"fs-7",children:["Step ",s.jsxRuntimeExports.jsx("span",{className:"text-primary fw-bold",children:t})," ",o," ",e]})]}),s.jsxRuntimeExports.jsx(x.Close,{asChild:!0,className:"ui-modal-header-close",children:s.jsxRuntimeExports.jsxs(c.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:n,children:[l,s.jsxRuntimeExports.jsx(d.Close,{className:"ml-x8"})]})})]}),!r&&s.jsxRuntimeExports.jsx("div",{className:"ui-progress-bar mx-x4",children:Array.from({length:e},(j,a)=>s.jsxRuntimeExports.jsx("div",{className:m.clsx("ui-bar",a+1<=t?"bg-primary":"bg-lightblue-a02"),style:{width:`${100/e}%`}},a+1))})]});exports.ProgressBar=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ProgressBar/ProgressBar.css');const s=require("./index.cjs216.js"),x=require("./index.cjs276.js");;/* empty css */const m=require("./index.cjs217.js"),c=require("./index.cjs26.js"),d=require("./index.cjs138.js"),u=({closeButton:l="Chiudi",onlyTitle:r=!1,onCloseClick:n,title:i,stepLabel:o="di",currentStep:t=1,totalSteps:e=3})=>s.jsxRuntimeExports.jsxs("div",{className:"text-slate-28",children:[s.jsxRuntimeExports.jsxs("header",{className:"ui-modal-header ",children:[s.jsxRuntimeExports.jsxs(x.Title,{className:"base-col justify-content-center align-items-center mb-5 pb-x8",children:[i&&s.jsxRuntimeExports.jsx("div",{className:"fw-bold fs-7 md-fs-custom",children:i}),!r&&s.jsxRuntimeExports.jsxs("p",{className:"fs-7",children:["Step ",s.jsxRuntimeExports.jsx("span",{className:"text-primary fw-bold",children:t})," ",o," ",e]})]}),s.jsxRuntimeExports.jsx(x.Close,{asChild:!0,className:"ui-modal-header-close",children:s.jsxRuntimeExports.jsxs(c.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Chiudi modale",onClick:n,children:[l,s.jsxRuntimeExports.jsx(d.Close,{className:"ml-x8"})]})})]}),!r&&s.jsxRuntimeExports.jsx("div",{className:"ui-progress-bar mx-x4",children:Array.from({length:e},(j,a)=>s.jsxRuntimeExports.jsx("div",{className:m.clsx("ui-bar",a+1<=t?"bg-primary":"bg-lightblue-a02"),style:{width:`${100/e}%`}},a+1))})]});exports.ProgressBar=u;
2
2
  //# sourceMappingURL=index.cjs42.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const a=require("./index.cjs445.js"),l=require("react"),s=require("./index.cjs446.js"),i=require("./index.cjs447.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
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/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","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 y=require("react"),g=require("./index.cjs397.js"),f=require("./index.cjs216.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),r=l.forwardRef((o,n)=>{const{children:i,...a}=o,c=l.Children.toArray(i),s=c.find(E);if(s){const u=s.props.children,m=c.map(p=>p===s?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:p);return f.jsxRuntimeExports.jsx(t,{...a,ref:n,children:l.isValidElement(u)?l.cloneElement(u,void 0,m):null})}return f.jsxRuntimeExports.jsx(t,{...a,ref:n,children:i})});return r.displayName=`${e}.Slot`,r}function x(e){const t=l.forwardRef((r,o)=>{const{children:n,...i}=r,a=l.isValidElement(n)?C(n):void 0,c=g.useComposedRefs(a,o);if(l.isValidElement(n)){const s=R(i,n.props);return n.type!==l.Fragment&&(s.ref=c),l.cloneElement(n,s)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:r})=>f.jsxRuntimeExports.jsx(f.jsxRuntimeExports.Fragment,{children:r});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const r={...t};for(const o in t){const n=e[o],i=t[o];/^on[A-Z]/.test(o)?n&&i?r[o]=(...c)=>{const s=i(...c);return n(...c),s}:n&&(r[o]=n):o==="style"?r[o]={...n,...i}:o==="className"&&(r[o]=[n,i].filter(Boolean).join(" "))}return{...e,...r}}function C(e){var o,n;let t=(o=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:o.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(n=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
1
+ "use strict";const a=require("./index.cjs430.js"),l=require("react"),s=require("./index.cjs431.js"),i=require("./index.cjs432.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;module.exports=n;
2
2
  //# sourceMappingURL=index.cjs422.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs422.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenRef = React.isValidElement(children) ? getElementRef(children) : void 0;\n const ref = useComposedRefs(childrenRef, forwardedRef);\n if (React.isValidElement(children)) {\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = ref;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","ref","useComposedRefs","props2","mergeProps","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b"],"mappings":"icAOA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,EAA4BC,EAAgBF,CAAS,EACrDG,EAAQC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACtD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,KAAM,CACxL,CACI,OAAuBE,EAAAA,kBAAAA,IAAId,EAAW,CAAE,GAAGO,EAAW,IAAKF,EAAc,SAAAC,EAAU,CACvF,CAAG,EACD,OAAAJ,EAAM,YAAc,GAAGH,CAAS,QACzBG,CACT,CAG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rC,OAAAF,EAAc,GAAGE,CAAI,EACdC,CACR,EACQH,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAgB,EACxDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAExF,CACE,MAAO,CAAE,GAAGtB,EAAW,GAAGmB,CAAe,CAC3C,CACA,SAASV,EAAcgB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs422.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIG,IAACA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAAA,aAAcC,EAAAA,SAAS,CAAE,EAAEH,EAAO,CAAE,IAAKC,EAAK,QAASG,EAAS,CAAC,CAAK,CAAA,EACnKN,EAAkB,WAAaI,EAAAA,aAAa","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
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;
2
- //# sourceMappingURL=index.cjs407.js.map
2
+ //# sourceMappingURL=index.cjs423.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs407.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.cjs423.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs435.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;
2
- //# sourceMappingURL=index.cjs408.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs409.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;
2
+ //# sourceMappingURL=index.cjs424.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs408.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.cjs424.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs440.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
- //# sourceMappingURL=index.cjs441.js.map
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
+ //# sourceMappingURL=index.cjs425.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs441.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
+ {"version":3,"file":"index.cjs425.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 i=require("./index.cjs444.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
- //# sourceMappingURL=index.cjs442.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs428.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
+ //# sourceMappingURL=index.cjs426.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs442.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,gBA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AC/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
+ {"version":3,"file":"index.cjs426.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,SAASK,EAAOC,EAAS,CACvB,OAAI,OAAO,OAAW,IACb,GAEGA,E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,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"),u=require("./index.cjs400.js"),i=require("./index.cjs216.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
- //# sourceMappingURL=index.cjs443.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react"),u=require("./index.cjs403.js"),i=require("./index.cjs216.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
+ //# sourceMappingURL=index.cjs427.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs443.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
+ {"version":3,"file":"index.cjs427.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]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs449.js"),d=require("./index.cjs450.js"),i=require("./index.cjs451.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
+ //# sourceMappingURL=index.cjs428.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs428.js","sources":["../node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs"],"sourcesContent":["import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n const css = getComputedStyle(element);\n // In testing environments, the `width` and `height` properties are empty\n // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n let width = parseFloat(css.width) || 0;\n let height = parseFloat(css.height) || 0;\n const hasOffset = isHTMLElement(element);\n const offsetWidth = hasOffset ? element.offsetWidth : width;\n const offsetHeight = hasOffset ? element.offsetHeight : height;\n const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n if (shouldFallback) {\n width = offsetWidth;\n height = offsetHeight;\n }\n return {\n width,\n height,\n $: shouldFallback\n };\n}\n\nfunction unwrapElement(element) {\n return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n const domElement = unwrapElement(element);\n if (!isHTMLElement(domElement)) {\n return createCoords(1);\n }\n const rect = domElement.getBoundingClientRect();\n const {\n width,\n height,\n $\n } = getCssDimensions(domElement);\n let x = ($ ? round(rect.width) : rect.width) / width;\n let y = ($ ? round(rect.height) : rect.height) / height;\n\n // 0, NaN, or Infinity should always fallback to 1.\n\n if (!x || !Number.isFinite(x)) {\n x = 1;\n }\n if (!y || !Number.isFinite(y)) {\n y = 1;\n }\n return {\n x,\n y\n };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n const win = getWindow(element);\n if (!isWebKit() || !win.visualViewport) {\n return noOffsets;\n }\n return {\n x: win.visualViewport.offsetLeft,\n y: win.visualViewport.offsetTop\n };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n if (isFixed === void 0) {\n isFixed = false;\n }\n if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n return false;\n }\n return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n if (includeScale === void 0) {\n includeScale = false;\n }\n if (isFixedStrategy === void 0) {\n isFixedStrategy = false;\n }\n const clientRect = element.getBoundingClientRect();\n const domElement = unwrapElement(element);\n let scale = createCoords(1);\n if (includeScale) {\n if (offsetParent) {\n if (isElement(offsetParent)) {\n scale = getScale(offsetParent);\n }\n } else {\n scale = getScale(element);\n }\n }\n const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n let x = (clientRect.left + visualOffsets.x) / scale.x;\n let y = (clientRect.top + visualOffsets.y) / scale.y;\n let width = clientRect.width / scale.x;\n let height = clientRect.height / scale.y;\n if (domElement) {\n const win = getWindow(domElement);\n const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n let currentWin = win;\n let currentIFrame = getFrameElement(currentWin);\n while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n const iframeScale = getScale(currentIFrame);\n const iframeRect = currentIFrame.getBoundingClientRect();\n const css = getComputedStyle(currentIFrame);\n const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n x *= iframeScale.x;\n y *= iframeScale.y;\n width *= iframeScale.x;\n height *= iframeScale.y;\n x += left;\n y += top;\n currentWin = getWindow(currentIFrame);\n currentIFrame = getFrameElement(currentWin);\n }\n }\n return rectToClientRect({\n width,\n height,\n x,\n y\n });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n const leftScroll = getNodeScroll(element).scrollLeft;\n if (!rect) {\n return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n }\n return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n if (ignoreScrollbarX === void 0) {\n ignoreScrollbarX = false;\n }\n const htmlRect = documentElement.getBoundingClientRect();\n const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n // RTL <body> scrollbar.\n getWindowScrollBarX(documentElement, htmlRect));\n const y = htmlRect.top + scroll.scrollTop;\n return {\n x,\n y\n };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n let {\n elements,\n rect,\n offsetParent,\n strategy\n } = _ref;\n const isFixed = strategy === 'fixed';\n const documentElement = getDocumentElement(offsetParent);\n const topLayer = elements ? isTopLayer(elements.floating) : false;\n if (offsetParent === documentElement || topLayer && isFixed) {\n return rect;\n }\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n let scale = createCoords(1);\n const offsets = createCoords(0);\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isHTMLElement(offsetParent)) {\n const offsetRect = getBoundingClientRect(offsetParent);\n scale = getScale(offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n }\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n return {\n width: rect.width * scale.x,\n height: rect.height * scale.y,\n x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n };\n}\n\nfunction getClientRects(element) {\n return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n const html = getDocumentElement(element);\n const scroll = getNodeScroll(element);\n const body = element.ownerDocument.body;\n const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n const y = -scroll.scrollTop;\n if (getComputedStyle(body).direction === 'rtl') {\n x += max(html.clientWidth, body.clientWidth) - width;\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\nfunction getViewportRect(element, strategy) {\n const win = getWindow(element);\n const html = getDocumentElement(element);\n const visualViewport = win.visualViewport;\n let width = html.clientWidth;\n let height = html.clientHeight;\n let x = 0;\n let y = 0;\n if (visualViewport) {\n width = visualViewport.width;\n height = visualViewport.height;\n const visualViewportBased = isWebKit();\n if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n x = visualViewport.offsetLeft;\n y = visualViewport.offsetTop;\n }\n }\n return {\n width,\n height,\n x,\n y\n };\n}\n\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n const top = clientRect.top + element.clientTop;\n const left = clientRect.left + element.clientLeft;\n const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n const width = element.clientWidth * scale.x;\n const height = element.clientHeight * scale.y;\n const x = left * scale.x;\n const y = top * scale.y;\n return {\n width,\n height,\n x,\n y\n };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n let rect;\n if (clippingAncestor === 'viewport') {\n rect = getViewportRect(element, strategy);\n } else if (clippingAncestor === 'document') {\n rect = getDocumentRect(getDocumentElement(element));\n } else if (isElement(clippingAncestor)) {\n rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n } else {\n const visualOffsets = getVisualOffsets(element);\n rect = {\n x: clippingAncestor.x - visualOffsets.x,\n y: clippingAncestor.y - visualOffsets.y,\n width: clippingAncestor.width,\n height: clippingAncestor.height\n };\n }\n return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n const parentNode = getParentNode(element);\n if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n return false;\n }\n return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n const cachedResult = cache.get(element);\n if (cachedResult) {\n return cachedResult;\n }\n let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n let currentContainingBlockComputedStyle = null;\n const elementIsFixed = getComputedStyle(element).position === 'fixed';\n let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n const computedStyle = getComputedStyle(currentNode);\n const currentNodeIsContaining = isContainingBlock(currentNode);\n if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n currentContainingBlockComputedStyle = null;\n }\n const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n if (shouldDropCurrentNode) {\n // Drop non-containing blocks.\n result = result.filter(ancestor => ancestor !== currentNode);\n } else {\n // Record last containing block for next iteration.\n currentContainingBlockComputedStyle = computedStyle;\n }\n currentNode = getParentNode(currentNode);\n }\n cache.set(element, result);\n return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n let {\n element,\n boundary,\n rootBoundary,\n strategy\n } = _ref;\n const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n const firstClippingAncestor = clippingAncestors[0];\n const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n accRect.top = max(rect.top, accRect.top);\n accRect.right = min(rect.right, accRect.right);\n accRect.bottom = min(rect.bottom, accRect.bottom);\n accRect.left = max(rect.left, accRect.left);\n return accRect;\n }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n return {\n width: clippingRect.right - clippingRect.left,\n height: clippingRect.bottom - clippingRect.top,\n x: clippingRect.left,\n y: clippingRect.top\n };\n}\n\nfunction getDimensions(element) {\n const {\n width,\n height\n } = getCssDimensions(element);\n return {\n width,\n height\n };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n const isOffsetParentAnElement = isHTMLElement(offsetParent);\n const documentElement = getDocumentElement(offsetParent);\n const isFixed = strategy === 'fixed';\n const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n let scroll = {\n scrollLeft: 0,\n scrollTop: 0\n };\n const offsets = createCoords(0);\n\n // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n function setLeftRTLScrollbarOffset() {\n offsets.x = getWindowScrollBarX(documentElement);\n }\n if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n scroll = getNodeScroll(offsetParent);\n }\n if (isOffsetParentAnElement) {\n const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n offsets.x = offsetRect.x + offsetParent.clientLeft;\n offsets.y = offsetRect.y + offsetParent.clientTop;\n } else if (documentElement) {\n setLeftRTLScrollbarOffset();\n }\n }\n if (isFixed && !isOffsetParentAnElement && documentElement) {\n setLeftRTLScrollbarOffset();\n }\n const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n return {\n x,\n y,\n width: rect.width,\n height: rect.height\n };\n}\n\nfunction isStaticPositioned(element) {\n return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n return null;\n }\n if (polyfill) {\n return polyfill(element);\n }\n let rawOffsetParent = element.offsetParent;\n\n // Firefox returns the <html> element as the offsetParent if it's non-static,\n // while Chrome and Safari return the <body> element. The <body> element must\n // be used to perform the correct calculations even if the <html> element is\n // non-static.\n if (getDocumentElement(element) === rawOffsetParent) {\n rawOffsetParent = rawOffsetParent.ownerDocument.body;\n }\n return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n const win = getWindow(element);\n if (isTopLayer(element)) {\n return win;\n }\n if (!isHTMLElement(element)) {\n let svgOffsetParent = getParentNode(element);\n while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n return svgOffsetParent;\n }\n svgOffsetParent = getParentNode(svgOffsetParent);\n }\n return win;\n }\n let offsetParent = getTrueOffsetParent(element, polyfill);\n while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n }\n if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n return win;\n }\n return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n const getDimensionsFn = this.getDimensions;\n const floatingDimensions = await getDimensionsFn(data.floating);\n return {\n reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n floating: {\n x: 0,\n y: 0,\n width: floatingDimensions.width,\n height: floatingDimensions.height\n }\n };\n};\n\nfunction isRTL(element) {\n return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n convertOffsetParentRelativeRectToViewportRelativeRect,\n getDocumentElement,\n getClippingRect,\n getOffsetParent,\n getElementRects,\n getClientRects,\n getDimensions,\n getScale,\n isElement,\n isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n let io = null;\n let timeoutId;\n const root = getDocumentElement(element);\n function cleanup() {\n var _io;\n clearTimeout(timeoutId);\n (_io = io) == null || _io.disconnect();\n io = null;\n }\n function refresh(skip, threshold) {\n if (skip === void 0) {\n skip = false;\n }\n if (threshold === void 0) {\n threshold = 1;\n }\n cleanup();\n const elementRectForRootMargin = element.getBoundingClientRect();\n const {\n left,\n top,\n width,\n height\n } = elementRectForRootMargin;\n if (!skip) {\n onMove();\n }\n if (!width || !height) {\n return;\n }\n const insetTop = floor(top);\n const insetRight = floor(root.clientWidth - (left + width));\n const insetBottom = floor(root.clientHeight - (top + height));\n const insetLeft = floor(left);\n const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n const options = {\n rootMargin,\n threshold: max(0, min(1, threshold)) || 1\n };\n let isFirstUpdate = true;\n function handleObserve(entries) {\n const ratio = entries[0].intersectionRatio;\n if (ratio !== threshold) {\n if (!isFirstUpdate) {\n return refresh();\n }\n if (!ratio) {\n // If the reference is clipped, the ratio is 0. Throttle the refresh\n // to prevent an infinite loop of updates.\n timeoutId = setTimeout(() => {\n refresh(false, 1e-7);\n }, 1000);\n } else {\n refresh(false, ratio);\n }\n }\n if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n // It's possible that even though the ratio is reported as 1, the\n // element is not actually fully within the IntersectionObserver's root\n // area anymore. This can happen under performance constraints. This may\n // be a bug in the browser's IntersectionObserver implementation. To\n // work around this, we compare the element's bounding rect now with\n // what it was at the time we created the IntersectionObserver. If they\n // are not equal then the element moved, so we refresh.\n refresh();\n }\n isFirstUpdate = false;\n }\n\n // Older browsers don't support a `document` as the root and will throw an\n // error.\n try {\n io = new IntersectionObserver(handleObserve, {\n ...options,\n // Handle <iframe>s\n root: root.ownerDocument\n });\n } catch (_e) {\n io = new IntersectionObserver(handleObserve, options);\n }\n io.observe(element);\n }\n refresh(true);\n return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n if (options === void 0) {\n options = {};\n }\n const {\n ancestorScroll = true,\n ancestorResize = true,\n elementResize = typeof ResizeObserver === 'function',\n layoutShift = typeof IntersectionObserver === 'function',\n animationFrame = false\n } = options;\n const referenceEl = unwrapElement(reference);\n const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.addEventListener('scroll', update, {\n passive: true\n });\n ancestorResize && ancestor.addEventListener('resize', update);\n });\n const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n let reobserveFrame = -1;\n let resizeObserver = null;\n if (elementResize) {\n resizeObserver = new ResizeObserver(_ref => {\n let [firstEntry] = _ref;\n if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n // Prevent update loops when using the `size` middleware.\n // https://github.com/floating-ui/floating-ui/issues/1740\n resizeObserver.unobserve(floating);\n cancelAnimationFrame(reobserveFrame);\n reobserveFrame = requestAnimationFrame(() => {\n var _resizeObserver;\n (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n });\n }\n update();\n });\n if (referenceEl && !animationFrame) {\n resizeObserver.observe(referenceEl);\n }\n resizeObserver.observe(floating);\n }\n let frameId;\n let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n if (animationFrame) {\n frameLoop();\n }\n function frameLoop() {\n const nextRefRect = getBoundingClientRect(reference);\n if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n update();\n }\n prevRefRect = nextRefRect;\n frameId = requestAnimationFrame(frameLoop);\n }\n update();\n return () => {\n var _resizeObserver2;\n ancestors.forEach(ancestor => {\n ancestorScroll && ancestor.removeEventListener('scroll', update);\n ancestorResize && ancestor.removeEventListener('resize', update);\n });\n cleanupIo == null || cleanupIo();\n (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n resizeObserver = null;\n if (animationFrame) {\n cancelAnimationFrame(frameId);\n }\n };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\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 = offset$1;\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 = autoPlacement$1;\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 = shift$1;\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 = flip$1;\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 = size$1;\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 = hide$1;\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 * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\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 = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n // This caches the expensive `getClippingElementAncestors` function so that\n // multiple lifecycle resets re-use the same result. It only lives for a\n // single call. If other functions become expensive, we can add them as well.\n const cache = new Map();\n const mergedOptions = {\n platform,\n ...options\n };\n const platformWithCache = {\n ...mergedOptions.platform,\n _c: cache\n };\n return computePosition$1(reference, floating, {\n ...mergedOptions,\n platform: platformWithCache\n });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n"],"names":["getCssDimensions","element","css","getComputedStyle","width","height","hasOffset","isHTMLElement","offsetWidth","offsetHeight","shouldFallback","round","unwrapElement","isElement","getScale","domElement","createCoords","rect","$","x","y","noOffsets","getVisualOffsets","win","getWindow","isWebKit","shouldAddVisualOffsets","isFixed","floatingOffsetParent","getBoundingClientRect","includeScale","isFixedStrategy","offsetParent","clientRect","scale","visualOffsets","offsetWin","currentWin","currentIFrame","getFrameElement","iframeScale","iframeRect","left","top","rectToClientRect","getWindowScrollBarX","leftScroll","getNodeScroll","getDocumentElement","getHTMLOffset","documentElement","scroll","ignoreScrollbarX","htmlRect","convertOffsetParentRelativeRectToViewportRelativeRect","_ref","elements","strategy","topLayer","isTopLayer","offsets","isOffsetParentAnElement","getNodeName","isOverflowElement","offsetRect","htmlOffset","getClientRects","getDocumentRect","html","body","max","getViewportRect","visualViewport","visualViewportBased","getInnerBoundingClientRect","getClientRectFromClippingAncestor","clippingAncestor","hasFixedPositionAncestor","stopNode","parentNode","getParentNode","isLastTraversableNode","getClippingElementAncestors","cache","cachedResult","result","getOverflowAncestors","el","currentContainingBlockComputedStyle","elementIsFixed","currentNode","computedStyle","currentNodeIsContaining","isContainingBlock","ancestor","getClippingRect","boundary","rootBoundary","clippingAncestors","firstClippingAncestor","clippingRect","accRect","min","getDimensions","getRectRelativeToOffsetParent","setLeftRTLScrollbarOffset","isStaticPositioned","getTrueOffsetParent","polyfill","rawOffsetParent","getOffsetParent","svgOffsetParent","isTableElement","getContainingBlock","getElementRects","data","getOffsetParentFn","getDimensionsFn","floatingDimensions","isRTL","platform","rectsAreEqual","a","b","observeMove","onMove","io","timeoutId","root","cleanup","_io","refresh","skip","threshold","elementRectForRootMargin","insetTop","floor","insetRight","insetBottom","insetLeft","options","isFirstUpdate","handleObserve","entries","ratio","autoUpdate","reference","floating","update","ancestorScroll","ancestorResize","elementResize","layoutShift","animationFrame","referenceEl","ancestors","cleanupIo","reobserveFrame","resizeObserver","firstEntry","_resizeObserver","frameId","prevRefRect","frameLoop","nextRefRect","_resizeObserver2","offset","offset$1","shift","shift$1","flip","flip$1","size","size$1","hide","hide$1","arrow","arrow$1","limitShift","limitShift$1","computePosition","mergedOptions","platformWithCache","computePosition$1"],"mappings":"mLAKA,SAASA,EAAiBC,EAAS,CACjC,MAAMC,EAAMC,EAAgB,iBAACF,CAAO,EAGpC,IAAIG,EAAQ,WAAWF,EAAI,KAAK,GAAK,EACjCG,EAAS,WAAWH,EAAI,MAAM,GAAK,EACvC,MAAMI,EAAYC,EAAa,cAACN,CAAO,EACjCO,EAAcF,EAAYL,EAAQ,YAAcG,EAChDK,EAAeH,EAAYL,EAAQ,aAAeI,EAClDK,EAAiBC,EAAAA,MAAMP,CAAK,IAAMI,GAAeG,EAAK,MAACN,CAAM,IAAMI,EACzE,OAAIC,IACFN,EAAQI,EACRH,EAASI,GAEJ,CACL,MAAAL,EACA,OAAAC,EACA,EAAGK,CACJ,CACH,CAEA,SAASE,EAAcX,EAAS,CAC9B,OAAQY,EAAAA,UAAUZ,CAAO,EAA6BA,EAAzBA,EAAQ,cACvC,CAEA,SAASa,EAASb,EAAS,CACzB,MAAMc,EAAaH,EAAcX,CAAO,EACxC,GAAI,CAACM,EAAAA,cAAcQ,CAAU,EAC3B,OAAOC,EAAAA,aAAa,CAAC,EAEvB,MAAMC,EAAOF,EAAW,sBAAuB,EACzC,CACJ,MAAAX,EACA,OAAAC,EACA,EAAAa,CACJ,EAAMlB,EAA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Q,EACD,IAAM,CACX,IAAIiB,EACJV,EAAU,QAAQ7D,GAAY,CAC5BuD,GAAkBvD,EAAS,oBAAoB,SAAUsD,CAAM,EAC/DE,GAAkBxD,EAAS,oBAAoB,SAAUsD,CAAM,CACrE,CAAK,EACDQ,GAAa,MAAQA,EAAW,GAC/BS,EAAmBP,IAAmB,MAAQO,EAAiB,WAAY,EAC5EP,EAAiB,KACbL,GACF,qBAAqBQ,CAAO,CAE/B,CACH,CAmBK,MAACK,GAASC,EAAAA,OAeTC,GAAQC,EAAAA,MAQRC,GAAOC,EAAAA,KAQPC,GAAOC,EAAAA,KAOPC,GAAOC,EAAAA,KAOPC,GAAQC,EAAAA,MAYRC,GAAaC,EAAAA,WAMbC,GAAkB,CAAClC,EAAWC,EAAUP,IAAY,CAIxD,MAAMzD,EAAQ,IAAI,IACZkG,EAAgB,CACpB,SAAA7D,EACA,GAAGoB,CACJ,EACK0C,EAAoB,CACxB,GAAGD,EAAc,SACjB,GAAIlG,CACL,EACD,OAAOoG,EAAiB,gBAACrC,EAAWC,EAAU,CAC5C,GAAGkC,EACH,SAAUC,CACd,CAAG,CACH","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs494.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
2
+ //# sourceMappingURL=index.cjs429.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs429.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":"sIAgDA,SAASA,GAAqB,CAC5B,KAAM,CAACC,EAAYC,CAAa,EAAIC,EAAAA,SAAS,IAAI,EAC3CC,EAAOC,cAAY,MAAOC,GAAS,CACvC,GAAI,EAAE,WAAa,MAAgB,UAAU,WAC3C,eAAQ,KAAK,yBAAyB,EAC/B,GAET,GAAI,CACF,aAAM,UAAU,UAAU,UAAUA,CAAI,EACxCJ,EAAcI,CAAI,EACX,EACR,OAAQC,EAAO,CACd,eAAQ,KAAK,cAAeA,CAAK,EACjCL,EAAc,IAAI,EACX,EACb,CACG,EAAE,EAAE,EACL,MAAO,CAACD,EAAYG,CAAI,CAC1B","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.__assign=function(){return exports.__assign=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},exports.__assign.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function p(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}exports.__rest=s;exports.__spreadArray=p;
2
+ //# sourceMappingURL=index.cjs430.js.map