@anoki/fse-ui 1.0.492 → 1.0.493

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 (439) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs110.js +1 -1
  3. package/dist/index.cjs111.js +1 -1
  4. package/dist/index.cjs112.js +1 -1
  5. package/dist/index.cjs113.js +1 -1
  6. package/dist/index.cjs114.js +1 -1
  7. package/dist/index.cjs115.js +1 -1
  8. package/dist/index.cjs116.js +1 -1
  9. package/dist/index.cjs117.js +1 -1
  10. package/dist/index.cjs118.js +1 -1
  11. package/dist/index.cjs119.js +1 -1
  12. package/dist/index.cjs120.js +1 -1
  13. package/dist/index.cjs121.js +1 -1
  14. package/dist/index.cjs122.js +1 -1
  15. package/dist/index.cjs123.js +1 -1
  16. package/dist/index.cjs124.js +1 -1
  17. package/dist/index.cjs125.js +1 -1
  18. package/dist/index.cjs126.js +1 -1
  19. package/dist/index.cjs127.js +1 -1
  20. package/dist/index.cjs128.js +1 -1
  21. package/dist/index.cjs129.js +1 -1
  22. package/dist/index.cjs130.js +1 -1
  23. package/dist/index.cjs131.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.cjs138.js +1 -1
  28. package/dist/index.cjs139.js +1 -1
  29. package/dist/index.cjs140.js +1 -1
  30. package/dist/index.cjs141.js +1 -1
  31. package/dist/index.cjs142.js +1 -1
  32. package/dist/index.cjs143.js +1 -1
  33. package/dist/index.cjs144.js +1 -1
  34. package/dist/index.cjs145.js +1 -1
  35. package/dist/index.cjs146.js +1 -1
  36. package/dist/index.cjs148.js +1 -1
  37. package/dist/index.cjs149.js +1 -1
  38. package/dist/index.cjs150.js +1 -1
  39. package/dist/index.cjs151.js +1 -1
  40. package/dist/index.cjs152.js +1 -1
  41. package/dist/index.cjs153.js +1 -1
  42. package/dist/index.cjs154.js +1 -1
  43. package/dist/index.cjs156.js +1 -1
  44. package/dist/index.cjs157.js +1 -1
  45. package/dist/index.cjs158.js +1 -1
  46. package/dist/index.cjs189.js +1 -1
  47. package/dist/index.cjs189.js.map +1 -1
  48. package/dist/index.cjs191.js +2 -0
  49. package/dist/index.cjs191.js.map +1 -0
  50. package/dist/index.cjs200.js +1 -1
  51. package/dist/index.cjs206.js +1 -1
  52. package/dist/index.cjs209.js +1 -1
  53. package/dist/index.cjs210.js +1 -1
  54. package/dist/index.cjs217.js +1 -1
  55. package/dist/index.cjs22.js +1 -1
  56. package/dist/index.cjs226.js +1 -1
  57. package/dist/index.cjs228.js +1 -1
  58. package/dist/index.cjs235.js +1 -1
  59. package/dist/index.cjs239.js +1 -1
  60. package/dist/index.cjs240.js +1 -1
  61. package/dist/index.cjs247.js +1 -1
  62. package/dist/index.cjs25.js +1 -1
  63. package/dist/index.cjs253.js +1 -1
  64. package/dist/index.cjs254.js +1 -1
  65. package/dist/index.cjs255.js +1 -1
  66. package/dist/index.cjs294.js +1 -1
  67. package/dist/index.cjs302.js +1 -1
  68. package/dist/index.cjs307.js +1 -1
  69. package/dist/index.cjs312.js +1 -1
  70. package/dist/index.cjs313.js +1 -1
  71. package/dist/index.cjs318.js +1 -1
  72. package/dist/index.cjs318.js.map +1 -1
  73. package/dist/index.cjs321.js +1 -1
  74. package/dist/index.cjs321.js.map +1 -1
  75. package/dist/index.cjs322.js +1 -1
  76. package/dist/index.cjs322.js.map +1 -1
  77. package/dist/index.cjs323.js +1 -1
  78. package/dist/index.cjs323.js.map +1 -1
  79. package/dist/index.cjs324.js +1 -1
  80. package/dist/index.cjs325.js +1 -1
  81. package/dist/index.cjs325.js.map +1 -1
  82. package/dist/index.cjs326.js +1 -1
  83. package/dist/index.cjs326.js.map +1 -1
  84. package/dist/index.cjs327.js +1 -1
  85. package/dist/index.cjs327.js.map +1 -1
  86. package/dist/index.cjs328.js +1 -1
  87. package/dist/index.cjs328.js.map +1 -1
  88. package/dist/index.cjs329.js +1 -1
  89. package/dist/index.cjs329.js.map +1 -1
  90. package/dist/index.cjs330.js +1 -1
  91. package/dist/index.cjs330.js.map +1 -1
  92. package/dist/index.cjs331.js +1 -1
  93. package/dist/index.cjs331.js.map +1 -1
  94. package/dist/index.cjs332.js +1 -1
  95. package/dist/index.cjs332.js.map +1 -1
  96. package/dist/index.cjs333.js +1 -1
  97. package/dist/index.cjs333.js.map +1 -1
  98. package/dist/index.cjs334.js +1 -1
  99. package/dist/index.cjs334.js.map +1 -1
  100. package/dist/index.cjs335.js +1 -1
  101. package/dist/index.cjs335.js.map +1 -1
  102. package/dist/index.cjs336.js +1 -1
  103. package/dist/index.cjs336.js.map +1 -1
  104. package/dist/index.cjs337.js +1 -1
  105. package/dist/index.cjs337.js.map +1 -1
  106. package/dist/index.cjs338.js +1 -1
  107. package/dist/index.cjs338.js.map +1 -1
  108. package/dist/index.cjs339.js +1 -1
  109. package/dist/index.cjs339.js.map +1 -1
  110. package/dist/index.cjs352.js +1 -1
  111. package/dist/index.cjs352.js.map +1 -1
  112. package/dist/index.cjs353.js +1 -1
  113. package/dist/index.cjs353.js.map +1 -1
  114. package/dist/index.cjs354.js +2 -0
  115. package/dist/index.cjs354.js.map +1 -0
  116. package/dist/index.cjs355.js +2 -0
  117. package/dist/index.cjs355.js.map +1 -0
  118. package/dist/index.cjs356.js +2 -0
  119. package/dist/index.cjs356.js.map +1 -0
  120. package/dist/index.cjs357.js +2 -0
  121. package/dist/index.cjs357.js.map +1 -0
  122. package/dist/index.cjs361.js +1 -1
  123. package/dist/index.cjs361.js.map +1 -1
  124. package/dist/index.cjs362.js +1 -1
  125. package/dist/index.cjs362.js.map +1 -1
  126. package/dist/index.cjs363.js +1 -1
  127. package/dist/index.cjs363.js.map +1 -1
  128. package/dist/index.cjs364.js +2 -0
  129. package/dist/index.cjs364.js.map +1 -0
  130. package/dist/index.cjs365.js +2 -0
  131. package/dist/index.cjs365.js.map +1 -0
  132. package/dist/{index.cjs340.js → index.cjs366.js} +2 -2
  133. package/dist/{index.cjs340.js.map → index.cjs366.js.map} +1 -1
  134. package/dist/index.cjs367.js +1 -1
  135. package/dist/index.cjs367.js.map +1 -1
  136. package/dist/index.cjs368.js +1 -1
  137. package/dist/index.cjs368.js.map +1 -1
  138. package/dist/index.cjs369.js +1 -1
  139. package/dist/index.cjs369.js.map +1 -1
  140. package/dist/index.cjs370.js +1 -1
  141. package/dist/index.cjs370.js.map +1 -1
  142. package/dist/{index.cjs345.js → index.cjs371.js} +2 -2
  143. package/dist/{index.cjs345.js.map → index.cjs371.js.map} +1 -1
  144. package/dist/index.cjs372.js +1 -1
  145. package/dist/index.cjs372.js.map +1 -1
  146. package/dist/index.cjs373.js +1 -1
  147. package/dist/index.cjs373.js.map +1 -1
  148. package/dist/index.cjs374.js +1 -1
  149. package/dist/index.cjs374.js.map +1 -1
  150. package/dist/{index.cjs387.js → index.cjs375.js} +1 -1
  151. package/dist/{index.cjs387.js.map → index.cjs375.js.map} +1 -1
  152. package/dist/{index.cjs347.js → index.cjs376.js} +2 -2
  153. package/dist/{index.cjs347.js.map → index.cjs376.js.map} +1 -1
  154. package/dist/{index.cjs348.js → index.cjs377.js} +2 -2
  155. package/dist/{index.cjs348.js.map → index.cjs377.js.map} +1 -1
  156. package/dist/index.cjs378.js +1 -1
  157. package/dist/index.cjs378.js.map +1 -1
  158. package/dist/{index.cjs350.js → index.cjs379.js} +1 -1
  159. package/dist/{index.cjs350.js.map → index.cjs379.js.map} +1 -1
  160. package/dist/{index.cjs351.js → index.cjs380.js} +2 -2
  161. package/dist/{index.cjs351.js.map → index.cjs380.js.map} +1 -1
  162. package/dist/index.cjs381.js +2 -0
  163. package/dist/index.cjs381.js.map +1 -0
  164. package/dist/index.cjs382.js +2 -0
  165. package/dist/index.cjs382.js.map +1 -0
  166. package/dist/{index.cjs360.js → index.cjs383.js} +1 -1
  167. package/dist/{index.cjs360.js.map → index.cjs383.js.map} +1 -1
  168. package/dist/index.cjs384.js +2 -0
  169. package/dist/index.cjs384.js.map +1 -0
  170. package/dist/index.cjs385.js +1 -1
  171. package/dist/index.cjs385.js.map +1 -1
  172. package/dist/index.cjs386.js +1 -1
  173. package/dist/index.cjs386.js.map +1 -1
  174. package/dist/index.cjs389.js +1 -1
  175. package/dist/index.cjs389.js.map +1 -1
  176. package/dist/index.cjs390.js +1 -1
  177. package/dist/index.cjs390.js.map +1 -1
  178. package/dist/index.cjs391.js +1 -1
  179. package/dist/index.cjs391.js.map +1 -1
  180. package/dist/index.cjs392.js +1 -1
  181. package/dist/index.cjs392.js.map +1 -1
  182. package/dist/index.cjs393.js +1 -1
  183. package/dist/index.cjs393.js.map +1 -1
  184. package/dist/index.cjs394.js +1 -1
  185. package/dist/index.cjs394.js.map +1 -1
  186. package/dist/index.cjs395.js +1 -1
  187. package/dist/index.cjs395.js.map +1 -1
  188. package/dist/index.cjs396.js +2 -0
  189. package/dist/index.cjs396.js.map +1 -0
  190. package/dist/index.cjs56.js +1 -1
  191. package/dist/index.cjs6.js +1 -1
  192. package/dist/index.cjs7.js +1 -1
  193. package/dist/index.cjs8.js +1 -1
  194. package/dist/index.cjs9.js +1 -1
  195. package/dist/index.cjs98.js +1 -1
  196. package/dist/index.cjs98.js.map +1 -1
  197. package/dist/index.es10.js +2 -2
  198. package/dist/index.es110.js +1 -1
  199. package/dist/index.es111.js +1 -1
  200. package/dist/index.es112.js +1 -1
  201. package/dist/index.es113.js +1 -1
  202. package/dist/index.es114.js +1 -1
  203. package/dist/index.es115.js +1 -1
  204. package/dist/index.es116.js +1 -1
  205. package/dist/index.es117.js +1 -1
  206. package/dist/index.es118.js +1 -1
  207. package/dist/index.es119.js +1 -1
  208. package/dist/index.es120.js +1 -1
  209. package/dist/index.es121.js +1 -1
  210. package/dist/index.es122.js +1 -1
  211. package/dist/index.es123.js +1 -1
  212. package/dist/index.es124.js +1 -1
  213. package/dist/index.es125.js +1 -1
  214. package/dist/index.es126.js +1 -1
  215. package/dist/index.es127.js +1 -1
  216. package/dist/index.es128.js +1 -1
  217. package/dist/index.es129.js +1 -1
  218. package/dist/index.es130.js +1 -1
  219. package/dist/index.es131.js +1 -1
  220. package/dist/index.es134.js +1 -1
  221. package/dist/index.es135.js +1 -1
  222. package/dist/index.es136.js +1 -1
  223. package/dist/index.es138.js +1 -1
  224. package/dist/index.es139.js +1 -1
  225. package/dist/index.es140.js +1 -1
  226. package/dist/index.es141.js +1 -1
  227. package/dist/index.es142.js +1 -1
  228. package/dist/index.es143.js +1 -1
  229. package/dist/index.es144.js +1 -1
  230. package/dist/index.es145.js +1 -1
  231. package/dist/index.es146.js +1 -1
  232. package/dist/index.es148.js +1 -1
  233. package/dist/index.es149.js +1 -1
  234. package/dist/index.es150.js +1 -1
  235. package/dist/index.es151.js +1 -1
  236. package/dist/index.es152.js +1 -1
  237. package/dist/index.es153.js +1 -1
  238. package/dist/index.es154.js +1 -1
  239. package/dist/index.es156.js +1 -1
  240. package/dist/index.es157.js +1 -1
  241. package/dist/index.es158.js +1 -1
  242. package/dist/index.es189.js +27 -2
  243. package/dist/index.es189.js.map +1 -1
  244. package/dist/index.es191.js +5 -0
  245. package/dist/index.es191.js.map +1 -0
  246. package/dist/index.es200.js +1 -1
  247. package/dist/index.es206.js +6 -6
  248. package/dist/index.es209.js +1 -1
  249. package/dist/index.es210.js +1 -1
  250. package/dist/index.es217.js +7 -7
  251. package/dist/index.es22.js +1 -1
  252. package/dist/index.es226.js +1 -1
  253. package/dist/index.es228.js +13 -13
  254. package/dist/index.es235.js +1 -1
  255. package/dist/index.es239.js +1 -1
  256. package/dist/index.es240.js +1 -1
  257. package/dist/index.es247.js +1 -1
  258. package/dist/index.es25.js +1 -1
  259. package/dist/index.es253.js +1 -1
  260. package/dist/index.es254.js +1 -1
  261. package/dist/index.es255.js +6 -6
  262. package/dist/index.es294.js +4 -4
  263. package/dist/index.es302.js +1 -1
  264. package/dist/index.es307.js +8 -8
  265. package/dist/index.es312.js +1 -1
  266. package/dist/index.es313.js +1 -1
  267. package/dist/index.es318.js +15 -2
  268. package/dist/index.es318.js.map +1 -1
  269. package/dist/index.es321.js +5 -25
  270. package/dist/index.es321.js.map +1 -1
  271. package/dist/index.es322.js +23 -64
  272. package/dist/index.es322.js.map +1 -1
  273. package/dist/index.es323.js +67 -10
  274. package/dist/index.es323.js.map +1 -1
  275. package/dist/index.es324.js +1 -1
  276. package/dist/index.es325.js +31 -123
  277. package/dist/index.es325.js.map +1 -1
  278. package/dist/index.es326.js +605 -118
  279. package/dist/index.es326.js.map +1 -1
  280. package/dist/index.es327.js +11 -14
  281. package/dist/index.es327.js.map +1 -1
  282. package/dist/index.es328.js +5 -68
  283. package/dist/index.es328.js.map +1 -1
  284. package/dist/index.es329.js +24 -32
  285. package/dist/index.es329.js.map +1 -1
  286. package/dist/index.es330.js +67 -13
  287. package/dist/index.es330.js.map +1 -1
  288. package/dist/index.es331.js +2 -9
  289. package/dist/index.es331.js.map +1 -1
  290. package/dist/index.es332.js +2 -50
  291. package/dist/index.es332.js.map +1 -1
  292. package/dist/index.es333.js +120 -48
  293. package/dist/index.es333.js.map +1 -1
  294. package/dist/index.es334.js +134 -5
  295. package/dist/index.es334.js.map +1 -1
  296. package/dist/index.es335.js +14 -25
  297. package/dist/index.es335.js.map +1 -1
  298. package/dist/index.es336.js +15 -4
  299. package/dist/index.es336.js.map +1 -1
  300. package/dist/index.es337.js +8 -10
  301. package/dist/index.es337.js.map +1 -1
  302. package/dist/index.es338.js +50 -12
  303. package/dist/index.es338.js.map +1 -1
  304. package/dist/index.es339.js +50 -22
  305. package/dist/index.es339.js.map +1 -1
  306. package/dist/index.es352.js +10 -3
  307. package/dist/index.es352.js.map +1 -1
  308. package/dist/index.es353.js +45 -22
  309. package/dist/index.es353.js.map +1 -1
  310. package/dist/index.es354.js +11 -0
  311. package/dist/index.es354.js.map +1 -0
  312. package/dist/index.es355.js +221 -0
  313. package/dist/index.es355.js.map +1 -0
  314. package/dist/index.es356.js +181 -0
  315. package/dist/index.es356.js.map +1 -0
  316. package/dist/index.es357.js +7 -0
  317. package/dist/index.es357.js.map +1 -0
  318. package/dist/index.es361.js +12 -13
  319. package/dist/index.es361.js.map +1 -1
  320. package/dist/index.es362.js +199 -22
  321. package/dist/index.es362.js.map +1 -1
  322. package/dist/index.es363.js +22 -5
  323. package/dist/index.es363.js.map +1 -1
  324. package/dist/index.es364.js +396 -0
  325. package/dist/index.es364.js.map +1 -0
  326. package/dist/index.es365.js +28 -0
  327. package/dist/index.es365.js.map +1 -0
  328. package/dist/{index.es340.js → index.es366.js} +5 -5
  329. package/dist/{index.es340.js.map → index.es366.js.map} +1 -1
  330. package/dist/index.es367.js +5 -46
  331. package/dist/index.es367.js.map +1 -1
  332. package/dist/index.es368.js +5 -8
  333. package/dist/index.es368.js.map +1 -1
  334. package/dist/index.es369.js +3 -218
  335. package/dist/index.es369.js.map +1 -1
  336. package/dist/index.es370.js +22 -176
  337. package/dist/index.es370.js.map +1 -1
  338. package/dist/{index.es345.js → index.es371.js} +6 -6
  339. package/dist/{index.es345.js.map → index.es371.js.map} +1 -1
  340. package/dist/index.es372.js +15 -204
  341. package/dist/index.es372.js.map +1 -1
  342. package/dist/index.es373.js +522 -21
  343. package/dist/index.es373.js.map +1 -1
  344. package/dist/index.es374.js +113 -379
  345. package/dist/index.es374.js.map +1 -1
  346. package/dist/{index.es387.js → index.es375.js} +1 -1
  347. package/dist/{index.es387.js.map → index.es375.js.map} +1 -1
  348. package/dist/{index.es347.js → index.es376.js} +4 -4
  349. package/dist/{index.es347.js.map → index.es376.js.map} +1 -1
  350. package/dist/{index.es348.js → index.es377.js} +2 -2
  351. package/dist/{index.es348.js.map → index.es377.js.map} +1 -1
  352. package/dist/index.es378.js +14 -15
  353. package/dist/index.es378.js.map +1 -1
  354. package/dist/{index.es350.js → index.es379.js} +1 -1
  355. package/dist/{index.es350.js.map → index.es379.js.map} +1 -1
  356. package/dist/{index.es351.js → index.es380.js} +2 -2
  357. package/dist/{index.es351.js.map → index.es380.js.map} +1 -1
  358. package/dist/index.es381.js +7 -0
  359. package/dist/index.es381.js.map +1 -0
  360. package/dist/index.es382.js +26 -0
  361. package/dist/index.es382.js.map +1 -0
  362. package/dist/{index.es360.js → index.es383.js} +1 -1
  363. package/dist/{index.es360.js.map → index.es383.js.map} +1 -1
  364. package/dist/index.es384.js +16 -0
  365. package/dist/index.es384.js.map +1 -0
  366. package/dist/index.es385.js +22 -517
  367. package/dist/index.es385.js.map +1 -1
  368. package/dist/index.es386.js +4 -126
  369. package/dist/index.es386.js.map +1 -1
  370. package/dist/index.es389.js +5 -4
  371. package/dist/index.es389.js.map +1 -1
  372. package/dist/index.es390.js +4 -5
  373. package/dist/index.es390.js.map +1 -1
  374. package/dist/index.es391.js +4 -9
  375. package/dist/index.es391.js.map +1 -1
  376. package/dist/index.es392.js +9 -55
  377. package/dist/index.es392.js.map +1 -1
  378. package/dist/index.es393.js +55 -7
  379. package/dist/index.es393.js.map +1 -1
  380. package/dist/index.es394.js +7 -5
  381. package/dist/index.es394.js.map +1 -1
  382. package/dist/index.es395.js +5 -532
  383. package/dist/index.es395.js.map +1 -1
  384. package/dist/index.es396.js +536 -0
  385. package/dist/index.es396.js.map +1 -0
  386. package/dist/index.es56.js +1 -1
  387. package/dist/index.es6.js +1 -1
  388. package/dist/index.es7.js +1 -1
  389. package/dist/index.es8.js +1 -1
  390. package/dist/index.es9.js +2 -2
  391. package/dist/index.es98.js +1 -1
  392. package/dist/index.es98.js.map +1 -1
  393. package/package.json +1 -1
  394. package/dist/index.cjs190.js +0 -2
  395. package/dist/index.cjs190.js.map +0 -1
  396. package/dist/index.cjs317.js +0 -2
  397. package/dist/index.cjs317.js.map +0 -1
  398. package/dist/index.cjs320.js +0 -2
  399. package/dist/index.cjs320.js.map +0 -1
  400. package/dist/index.cjs341.js +0 -2
  401. package/dist/index.cjs341.js.map +0 -1
  402. package/dist/index.cjs342.js +0 -2
  403. package/dist/index.cjs342.js.map +0 -1
  404. package/dist/index.cjs343.js +0 -2
  405. package/dist/index.cjs343.js.map +0 -1
  406. package/dist/index.cjs344.js +0 -2
  407. package/dist/index.cjs344.js.map +0 -1
  408. package/dist/index.cjs346.js +0 -2
  409. package/dist/index.cjs346.js.map +0 -1
  410. package/dist/index.cjs349.js +0 -2
  411. package/dist/index.cjs349.js.map +0 -1
  412. package/dist/index.cjs359.js +0 -2
  413. package/dist/index.cjs359.js.map +0 -1
  414. package/dist/index.cjs388.js +0 -2
  415. package/dist/index.cjs388.js.map +0 -1
  416. package/dist/index.es190.js +0 -30
  417. package/dist/index.es190.js.map +0 -1
  418. package/dist/index.es317.js +0 -5
  419. package/dist/index.es317.js.map +0 -1
  420. package/dist/index.es320.js +0 -10
  421. package/dist/index.es320.js.map +0 -1
  422. package/dist/index.es341.js +0 -8
  423. package/dist/index.es341.js.map +0 -1
  424. package/dist/index.es342.js +0 -8
  425. package/dist/index.es342.js.map +0 -1
  426. package/dist/index.es343.js +0 -6
  427. package/dist/index.es343.js.map +0 -1
  428. package/dist/index.es344.js +0 -27
  429. package/dist/index.es344.js.map +0 -1
  430. package/dist/index.es346.js +0 -19
  431. package/dist/index.es346.js.map +0 -1
  432. package/dist/index.es349.js +0 -17
  433. package/dist/index.es349.js.map +0 -1
  434. package/dist/index.es359.js +0 -625
  435. package/dist/index.es359.js.map +0 -1
  436. package/dist/index.es388.js +0 -8
  437. package/dist/index.es388.js.map +0 -1
  438. /package/dist/components/ui/{DoctorModal/DoctorModalContent/DoctorModalContent.css → ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css} +0 -0
  439. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es337.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":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es337.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":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,CAAE,GAAEH,GAAO,EAAE,KAAKC,GAAK,SAASG,GAAS,CAAC;AAAK,CAAA;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
@@ -1,15 +1,53 @@
1
- import * as r from "react";
2
- import { useCallbackRef as s } from "./index.es337.js";
3
- function p(n, e = globalThis == null ? void 0 : globalThis.document) {
4
- const t = s(n);
5
- r.useEffect(() => {
6
- const o = (a) => {
7
- a.key === "Escape" && t(a);
8
- };
9
- return e.addEventListener("keydown", o, { capture: !0 }), () => e.removeEventListener("keydown", o, { capture: !0 });
10
- }, [t, e]);
11
- }
1
+ var S = function(r) {
2
+ if (typeof document > "u")
3
+ return null;
4
+ var u = Array.isArray(r) ? r[0] : r;
5
+ return u.ownerDocument.body;
6
+ }, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
7
+ return r && (r.host || W(r.parentNode));
8
+ }, D = function(r, u) {
9
+ return u.map(function(e) {
10
+ if (r.contains(e))
11
+ return e;
12
+ var n = W(e);
13
+ return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
14
+ }).filter(function(e) {
15
+ return !!e;
16
+ });
17
+ }, E = function(r, u, e, n) {
18
+ var i = D(u, Array.isArray(r) ? r : [r]);
19
+ p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
20
+ var o = p[e], l = [], s = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
21
+ !t || s.has(t) || (s.add(t), y(t.parentNode));
22
+ };
23
+ i.forEach(y);
24
+ var A = function(t) {
25
+ !t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
26
+ if (s.has(a))
27
+ A(a);
28
+ else
29
+ try {
30
+ var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (o.get(a) || 0) + 1;
31
+ f.set(a, d), o.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
32
+ } catch (k) {
33
+ console.error("aria-hidden: cannot operate on ", a, k);
34
+ }
35
+ });
36
+ };
37
+ return A(u), s.clear(), h++, function() {
38
+ l.forEach(function(t) {
39
+ var a = f.get(t) - 1, c = o.get(t) - 1;
40
+ f.set(t, a), o.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
41
+ }), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
42
+ };
43
+ }, C = function(r, u, e) {
44
+ e === void 0 && (e = "data-aria-hidden");
45
+ var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
46
+ return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
47
+ return null;
48
+ };
49
+ };
12
50
  export {
13
- p as useEscapeKeydown
51
+ C as hideOthers
14
52
  };
15
53
  //# sourceMappingURL=index.es338.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es338.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":";;AAGA,SAASA,EAAiBC,GAAqBC,IAAgB,yCAAY,UAAU;AACnF,QAAMC,IAAkBC,EAAeH,CAAmB;AAC1D,EAAAI,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAgB,CAACC,MAAU;AAC/B,MAAIA,EAAM,QAAQ,YAChBJ,EAAgBI,CAAK;AAAA,IAExB;AACD,WAAAL,EAAc,iBAAiB,WAAWI,GAAe,EAAE,SAAS,IAAM,GACnE,MAAMJ,EAAc,oBAAoB,WAAWI,GAAe,EAAE,SAAS,IAAM;AAAA,EAC9F,GAAK,CAACH,GAAiBD,CAAa,CAAC;AACrC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es338.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"AAAA,IAAIA,IAAmB,SAAUC,GAAgB;AAC7C,MAAI,OAAO,WAAa;AACpB,WAAO;AAEX,MAAIC,IAAe,MAAM,QAAQD,CAAc,IAAIA,EAAe,CAAC,IAAIA;AACvE,SAAOC,EAAa,cAAc;AACtC,GACIC,IAAa,oBAAI,QAAS,GAC1BC,IAAoB,oBAAI,QAAS,GACjCC,IAAY,CAAE,GACdC,IAAY,GACZC,IAAa,SAAUC,GAAM;AAC7B,SAA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B,aAAa,CAAC,CAAC,GACjFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KAJvE,WAAY;AAAE,WAAO;AAAA,EAAO;AAK3C;","x_google_ignoreList":[0]}
@@ -1,28 +1,56 @@
1
- var p = function() {
2
- return p = Object.assign || function(e) {
3
- for (var n, r = 1, o = arguments.length; r < o; r++) {
4
- n = arguments[r];
5
- for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
1
+ import * as l from "react";
2
+ import { composeRefs as y } from "./index.es322.js";
3
+ import { j as f } from "./index.es178.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function b(e) {
6
+ const t = /* @__PURE__ */ S(e), o = l.forwardRef((n, r) => {
7
+ const { children: i, ...a } = n, s = l.Children.toArray(i), p = s.find(g);
8
+ if (p) {
9
+ const c = p.props.children, m = s.map((u) => u === p ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
10
+ return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: l.isValidElement(c) ? l.cloneElement(c, void 0, m) : null });
6
11
  }
7
- return e;
8
- }, p.apply(this, arguments);
9
- };
10
- function c(t, e) {
11
- var n = {};
12
- for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
- if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
- for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
- e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
- return n;
12
+ return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: i });
13
+ });
14
+ return o.displayName = `${e}.Slot`, o;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function S(e) {
18
+ const t = l.forwardRef((o, n) => {
19
+ const { children: r, ...i } = o;
20
+ if (l.isValidElement(r)) {
21
+ const a = x(r), s = E(i, r.props);
22
+ return r.type !== l.Fragment && (s.ref = n ? y(n, a) : a), l.cloneElement(r, s);
23
+ }
24
+ return l.Children.count(r) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return t.displayName = `${e}.SlotClone`, t;
27
+ }
28
+ var d = Symbol("radix.slottable");
29
+ // @__NO_SIDE_EFFECTS__
30
+ function h(e) {
31
+ const t = ({ children: o }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: o });
32
+ return t.displayName = `${e}.Slottable`, t.__radixId = d, t;
33
+ }
34
+ function g(e) {
35
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
36
+ }
37
+ function E(e, t) {
38
+ const o = { ...t };
39
+ for (const n in t) {
40
+ const r = e[n], i = t[n];
41
+ /^on[A-Z]/.test(n) ? r && i ? o[n] = (...s) => {
42
+ i(...s), r(...s);
43
+ } : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...i } : n === "className" && (o[n] = [r, i].filter(Boolean).join(" "));
44
+ }
45
+ return { ...e, ...o };
17
46
  }
18
- function l(t, e, n) {
19
- if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
- (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
- return t.concat(a || Array.prototype.slice.call(e));
47
+ function x(e) {
48
+ var n, r;
49
+ let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
50
+ return o ? e.ref : (t = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
22
51
  }
23
52
  export {
24
- p as __assign,
25
- c as __rest,
26
- l as __spreadArray
53
+ b as createSlot,
54
+ h as createSlottable
27
55
  };
28
56
  //# sourceMappingURL=index.es339.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es339.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,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ist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } 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 if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\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 childPropValue(...args);\n slotPropValue(...args);\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","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,Q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,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -1,7 +1,14 @@
1
- function i(n, t) {
2
- return typeof n == "function" ? n(t) : n && (n.current = t), n;
1
+ import * as r from "react";
2
+ function o(t) {
3
+ const e = r.useRef(t);
4
+ return r.useEffect(() => {
5
+ e.current = t;
6
+ }), r.useMemo(() => (...n) => {
7
+ var u;
8
+ return (u = e.current) == null ? void 0 : u.call(e, ...n);
9
+ }, []);
3
10
  }
4
11
  export {
5
- i as assignRef
12
+ o as useCallbackRef
6
13
  };
7
14
  //# sourceMappingURL=index.es352.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es352.js","sources":["../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es352.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":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
@@ -1,26 +1,49 @@
1
- import { useState as u } from "react";
2
- function n(c, r) {
3
- var e = u(function() {
4
- return {
5
- // value
6
- value: c,
7
- // last callback
8
- callback: r,
9
- // "memoized" public interface
10
- facade: {
11
- get current() {
12
- return e.value;
13
- },
14
- set current(a) {
15
- var t = e.value;
16
- t !== a && (e.value = a, e.callback(a, t));
17
- }
18
- }
19
- };
20
- })[0];
21
- return e.callback = r, e.facade;
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index.es323.js";
3
+ import { useComposedRefs as S } from "./index.es322.js";
4
+ import { createSlot as M } from "./index.es339.js";
5
+ import { j as d } from "./index.es178.js";
6
+ function D(s) {
7
+ const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
+ m,
9
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
+ ), p = (c) => {
11
+ const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
+ return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
+ };
14
+ p.displayName = m;
15
+ const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
+ (c, e) => {
17
+ const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
+ return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
+ }
20
+ );
21
+ C.displayName = a;
22
+ const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
+ (c, e) => {
24
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
26
+ }
27
+ );
28
+ x.displayName = u;
29
+ function O(c) {
30
+ const e = f(s + "CollectionConsumer", c);
31
+ return r.useCallback(() => {
32
+ const o = e.collectionRef.current;
33
+ if (!o) return [];
34
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
35
+ return Array.from(e.itemMap.values()).sort(
36
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
+ );
38
+ }, [e.collectionRef, e.itemMap]);
39
+ }
40
+ return [
41
+ { Provider: p, Slot: C, ItemSlot: x },
42
+ O,
43
+ E
44
+ ];
22
45
  }
23
46
  export {
24
- n as useCallbackRef
47
+ D as createCollection
25
48
  };
26
49
  //# sourceMappingURL=index.es353.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es353.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACd;AAAA,QACD,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAE/B;AAAA,MACJ;AAAA,IACT;AAAA,EAAO,CAAE,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es353.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,EAAQ,IAAKF,GACtBY,IAAUd,EAAqBS,GAAsBN,CAAK,GAC1DY,IAAeC,EAAgBH,GAAcC,EAAQ,aAAa;AACxE,aAAuBN,gBAAAA,EAAAA,IAAIE,GAAoB,EAAE,KAAKK,GAAc,UAAAX,EAAQ,CAAE;AAAA,IACpF;AAAA,EACG;AACD,EAAA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_ignoreList":[0]}
@@ -0,0 +1,11 @@
1
+ import * as t from "react";
2
+ import "./index.es178.js";
3
+ var r = t.createContext(void 0);
4
+ function n(o) {
5
+ const e = t.useContext(r);
6
+ return o || e || "ltr";
7
+ }
8
+ export {
9
+ n as useDirection
10
+ };
11
+ //# sourceMappingURL=index.es354.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es354.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","x_google_ignoreList":[0]}
@@ -0,0 +1,221 @@
1
+ import * as s from "react";
2
+ import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es362.js";
3
+ import { Root as Oe } from "./index.es363.js";
4
+ import { useComposedRefs as T } from "./index.es322.js";
5
+ import { createContextScope as Re } from "./index.es323.js";
6
+ import { Primitive as z } from "./index.es325.js";
7
+ import { useCallbackRef as Ee } from "./index.es352.js";
8
+ import { useLayoutEffect as B } from "./index.es357.js";
9
+ import { useSize as Ne } from "./index.es329.js";
10
+ import { j as f } from "./index.es178.js";
11
+ import { autoUpdate as _e } from "./index.es364.js";
12
+ var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
+ const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
+ return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
15
+ };
16
+ U.displayName = N;
17
+ var q = "PopperAnchor", G = s.forwardRef(
18
+ (e, i) => {
19
+ const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
20
+ return s.useEffect(() => {
21
+ r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
22
+ }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
23
+ }
24
+ );
25
+ G.displayName = q;
26
+ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
27
+ (e, i) => {
28
+ var I, Y, M, X, D, F;
29
+ const {
30
+ __scopePopper: n,
31
+ side: t = "bottom",
32
+ sideOffset: a = 0,
33
+ align: r = "center",
34
+ alignOffset: o = 0,
35
+ arrowPadding: w = 0,
36
+ avoidCollisions: p = !0,
37
+ collisionBoundary: c = [],
38
+ collisionPadding: x = 0,
39
+ sticky: m = "partial",
40
+ hideWhenDetached: y = !1,
41
+ updatePositionStrategy: A = "optimized",
42
+ onPlaced: l,
43
+ ...d
44
+ } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
45
+ padding: ne,
46
+ boundary: j.filter(Ie),
47
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
+ altBoundary: ae
49
+ }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
50
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
+ strategy: "fixed",
52
+ placement: oe,
53
+ whileElementsMounted: (...P) => _e(...P, {
54
+ animationFrame: A === "always"
55
+ }),
56
+ elements: {
57
+ reference: v.anchor
58
+ },
59
+ middleware: [
60
+ Pe({ mainAxis: a + $, alignmentAxis: o }),
61
+ p && ye({
62
+ mainAxis: !0,
63
+ crossAxis: !1,
64
+ limiter: m === "partial" ? Se() : void 0,
65
+ ...b
66
+ }),
67
+ p && Ae({ ...b }),
68
+ ve({
69
+ ...b,
70
+ apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
71
+ const { width: ue, height: we } = k.reference, R = P.floating.style;
72
+ R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
73
+ }
74
+ }),
75
+ E && Ce({ element: E, padding: w }),
76
+ Ye({ arrowWidth: re, arrowHeight: $ }),
77
+ y && be({ strategy: "referenceHidden", ...b })
78
+ ]
79
+ }), [W, pe] = V(se), O = Ee(l);
80
+ B(() => {
81
+ S && (O == null || O());
82
+ }, [S, O]);
83
+ const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
84
+ return B(() => {
85
+ h && me(window.getComputedStyle(h).zIndex);
86
+ }, [h]), /* @__PURE__ */ f.jsx(
87
+ "div",
88
+ {
89
+ ref: ie.setFloating,
90
+ "data-radix-popper-content-wrapper": "",
91
+ style: {
92
+ ...H,
93
+ transform: S ? H.transform : "translate(0, -200%)",
94
+ // keep off the page when measuring
95
+ minWidth: "max-content",
96
+ zIndex: fe,
97
+ "--radix-popper-transform-origin": [
98
+ (X = u.transformOrigin) == null ? void 0 : X.x,
99
+ (D = u.transformOrigin) == null ? void 0 : D.y
100
+ ].join(" "),
101
+ // hide the content if using the hide middleware and should be hidden
102
+ // set visibility to hidden and disable pointer events so the UI behaves
103
+ // as if the PopperContent isn't there at all
104
+ ...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
105
+ visibility: "hidden",
106
+ pointerEvents: "none"
107
+ }
108
+ },
109
+ dir: e.dir,
110
+ children: /* @__PURE__ */ f.jsx(
111
+ je,
112
+ {
113
+ scope: n,
114
+ placedSide: W,
115
+ onArrowChange: te,
116
+ arrowX: ce,
117
+ arrowY: de,
118
+ shouldHideArrow: le,
119
+ children: /* @__PURE__ */ f.jsx(
120
+ z.div,
121
+ {
122
+ "data-side": W,
123
+ "data-align": pe,
124
+ ...d,
125
+ ref: ee,
126
+ style: {
127
+ ...d.style,
128
+ // if the PopperContent hasn't been placed yet (not all measurements done)
129
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
130
+ animation: S ? void 0 : "none"
131
+ }
132
+ }
133
+ )
134
+ }
135
+ )
136
+ }
137
+ );
138
+ }
139
+ );
140
+ J.displayName = _;
141
+ var K = "PopperArrow", We = {
142
+ top: "bottom",
143
+ right: "left",
144
+ bottom: "top",
145
+ left: "right"
146
+ }, Q = s.forwardRef(function(i, n) {
147
+ const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
148
+ return (
149
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
150
+ // doesn't report size as we'd expect on SVG elements.
151
+ // it reports their bounding box which is effectively the largest path inside the SVG.
152
+ /* @__PURE__ */ f.jsx(
153
+ "span",
154
+ {
155
+ ref: r.onArrowChange,
156
+ style: {
157
+ position: "absolute",
158
+ left: r.arrowX,
159
+ top: r.arrowY,
160
+ [o]: 0,
161
+ transformOrigin: {
162
+ top: "",
163
+ right: "0 0",
164
+ bottom: "center 0",
165
+ left: "100% 0"
166
+ }[r.placedSide],
167
+ transform: {
168
+ top: "translateY(100%)",
169
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
170
+ bottom: "rotate(180deg)",
171
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
172
+ }[r.placedSide],
173
+ visibility: r.shouldHideArrow ? "hidden" : void 0
174
+ },
175
+ children: /* @__PURE__ */ f.jsx(
176
+ Oe,
177
+ {
178
+ ...a,
179
+ ref: n,
180
+ style: {
181
+ ...a.style,
182
+ // ensures the element can be measured correctly (mostly for if SVG)
183
+ display: "block"
184
+ }
185
+ }
186
+ )
187
+ }
188
+ )
189
+ );
190
+ });
191
+ Q.displayName = K;
192
+ function Ie(e) {
193
+ return e !== null;
194
+ }
195
+ var Ye = (e) => ({
196
+ name: "transformOrigin",
197
+ options: e,
198
+ fn(i) {
199
+ var v, h, C;
200
+ const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
201
+ let l = "", d = "";
202
+ return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
203
+ }
204
+ });
205
+ function V(e) {
206
+ const [i, n = "center"] = e.split("-");
207
+ return [i, n];
208
+ }
209
+ var qe = U, Ge = G, Je = J, Ke = Q;
210
+ export {
211
+ Ge as Anchor,
212
+ Ke as Arrow,
213
+ Je as Content,
214
+ U as Popper,
215
+ G as PopperAnchor,
216
+ Q as PopperArrow,
217
+ J as PopperContent,
218
+ qe as Root,
219
+ Ue as createPopperScope
220
+ };
221
+ //# sourceMappingURL=index.es355.js.map