@anoki/fse-ui 1.0.528 → 1.0.530

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 (588) hide show
  1. package/dist/components/ui/EditorialWidget/EditorialWidget.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs102.js.map +1 -1
  7. package/dist/index.cjs103.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs107.js +1 -1
  10. package/dist/index.cjs109.js +1 -1
  11. package/dist/index.cjs11.js +1 -1
  12. package/dist/index.cjs110.js +1 -1
  13. package/dist/index.cjs113.js +1 -1
  14. package/dist/index.cjs114.js +1 -1
  15. package/dist/index.cjs115.js +1 -1
  16. package/dist/index.cjs116.js +1 -1
  17. package/dist/index.cjs117.js +1 -1
  18. package/dist/index.cjs118.js +1 -1
  19. package/dist/index.cjs119.js +1 -1
  20. package/dist/index.cjs12.js +1 -1
  21. package/dist/index.cjs120.js +1 -1
  22. package/dist/index.cjs121.js +1 -1
  23. package/dist/index.cjs122.js +1 -1
  24. package/dist/index.cjs123.js +1 -1
  25. package/dist/index.cjs124.js +1 -1
  26. package/dist/index.cjs125.js +1 -1
  27. package/dist/index.cjs126.js +1 -1
  28. package/dist/index.cjs127.js +1 -1
  29. package/dist/index.cjs128.js +1 -1
  30. package/dist/index.cjs129.js +1 -1
  31. package/dist/index.cjs13.js +1 -1
  32. package/dist/index.cjs130.js +1 -1
  33. package/dist/index.cjs131.js +1 -1
  34. package/dist/index.cjs132.js +1 -1
  35. package/dist/index.cjs133.js +1 -1
  36. package/dist/index.cjs134.js +1 -1
  37. package/dist/index.cjs135.js +1 -1
  38. package/dist/index.cjs136.js +1 -1
  39. package/dist/index.cjs137.js +1 -1
  40. package/dist/index.cjs138.js +1 -1
  41. package/dist/index.cjs139.js +1 -1
  42. package/dist/index.cjs14.js +1 -1
  43. package/dist/index.cjs141.js +1 -1
  44. package/dist/index.cjs142.js +1 -1
  45. package/dist/index.cjs143.js +1 -1
  46. package/dist/index.cjs144.js +1 -1
  47. package/dist/index.cjs145.js +1 -1
  48. package/dist/index.cjs146.js +1 -1
  49. package/dist/index.cjs147.js +1 -1
  50. package/dist/index.cjs148.js +1 -1
  51. package/dist/index.cjs149.js +1 -1
  52. package/dist/index.cjs15.js +1 -1
  53. package/dist/index.cjs151.js +1 -1
  54. package/dist/index.cjs152.js +1 -1
  55. package/dist/index.cjs153.js +1 -1
  56. package/dist/index.cjs154.js +1 -1
  57. package/dist/index.cjs155.js +1 -1
  58. package/dist/index.cjs156.js +1 -1
  59. package/dist/index.cjs157.js +1 -1
  60. package/dist/index.cjs159.js +1 -1
  61. package/dist/index.cjs16.js +1 -1
  62. package/dist/index.cjs160.js +1 -1
  63. package/dist/index.cjs161.js +1 -1
  64. package/dist/index.cjs17.js +1 -1
  65. package/dist/index.cjs18.js +1 -1
  66. package/dist/index.cjs183.js +1 -1
  67. package/dist/index.cjs183.js.map +1 -1
  68. package/dist/index.cjs185.js +2 -0
  69. package/dist/index.cjs185.js.map +1 -0
  70. package/dist/index.cjs19.js +1 -1
  71. package/dist/{index.cjs193.js → index.cjs192.js} +1 -1
  72. package/dist/{index.cjs193.js.map → index.cjs192.js.map} +1 -1
  73. package/dist/index.cjs194.js +2 -0
  74. package/dist/index.cjs194.js.map +1 -0
  75. package/dist/index.cjs20.js +1 -1
  76. package/dist/index.cjs203.js +1 -1
  77. package/dist/index.cjs206.js +1 -1
  78. package/dist/index.cjs209.js +1 -1
  79. package/dist/index.cjs21.js +1 -1
  80. package/dist/index.cjs212.js +1 -1
  81. package/dist/index.cjs213.js +1 -1
  82. package/dist/index.cjs214.js +1 -1
  83. package/dist/index.cjs22.js +1 -1
  84. package/dist/index.cjs220.js +1 -1
  85. package/dist/index.cjs229.js +1 -1
  86. package/dist/index.cjs23.js +1 -1
  87. package/dist/index.cjs231.js +1 -1
  88. package/dist/index.cjs239.js +1 -1
  89. package/dist/index.cjs24.js +1 -1
  90. package/dist/index.cjs242.js +1 -1
  91. package/dist/index.cjs248.js +1 -1
  92. package/dist/index.cjs25.js +1 -1
  93. package/dist/index.cjs253.js +1 -1
  94. package/dist/index.cjs256.js +1 -1
  95. package/dist/index.cjs257.js +1 -1
  96. package/dist/index.cjs258.js +1 -1
  97. package/dist/index.cjs26.js +1 -1
  98. package/dist/index.cjs260.js +2 -2
  99. package/dist/index.cjs260.js.map +1 -1
  100. package/dist/index.cjs27.js +1 -1
  101. package/dist/index.cjs28.js +1 -1
  102. package/dist/index.cjs28.js.map +1 -1
  103. package/dist/index.cjs29.js +1 -1
  104. package/dist/index.cjs297.js +1 -1
  105. package/dist/index.cjs30.js +1 -1
  106. package/dist/index.cjs305.js +1 -1
  107. package/dist/index.cjs31.js +1 -1
  108. package/dist/index.cjs310.js +1 -1
  109. package/dist/index.cjs318.js +2 -2
  110. package/dist/index.cjs319.js +10 -10
  111. package/dist/index.cjs32.js +1 -1
  112. package/dist/index.cjs320.js +27 -1
  113. package/dist/index.cjs320.js.map +1 -1
  114. package/dist/index.cjs321.js +1 -1
  115. package/dist/index.cjs322.js +1 -1
  116. package/dist/index.cjs324.js +1 -1
  117. package/dist/index.cjs324.js.map +1 -1
  118. package/dist/index.cjs325.js +2 -0
  119. package/dist/index.cjs325.js.map +1 -0
  120. package/dist/index.cjs326.js +1 -1
  121. package/dist/index.cjs326.js.map +1 -1
  122. package/dist/index.cjs327.js +1 -1
  123. package/dist/index.cjs327.js.map +1 -1
  124. package/dist/index.cjs328.js +1 -1
  125. package/dist/index.cjs328.js.map +1 -1
  126. package/dist/index.cjs329.js +1 -1
  127. package/dist/index.cjs329.js.map +1 -1
  128. package/dist/index.cjs33.js +1 -1
  129. package/dist/index.cjs330.js +1 -1
  130. package/dist/index.cjs330.js.map +1 -1
  131. package/dist/index.cjs331.js +1 -1
  132. package/dist/index.cjs331.js.map +1 -1
  133. package/dist/index.cjs334.js +2 -0
  134. package/dist/index.cjs334.js.map +1 -0
  135. package/dist/index.cjs335.js +2 -0
  136. package/dist/index.cjs335.js.map +1 -0
  137. package/dist/index.cjs336.js +2 -0
  138. package/dist/index.cjs336.js.map +1 -0
  139. package/dist/index.cjs337.js +1 -1
  140. package/dist/index.cjs337.js.map +1 -1
  141. package/dist/index.cjs338.js +1 -1
  142. package/dist/index.cjs338.js.map +1 -1
  143. package/dist/index.cjs339.js +1 -1
  144. package/dist/index.cjs339.js.map +1 -1
  145. package/dist/index.cjs34.js +1 -1
  146. package/dist/index.cjs340.js +1 -1
  147. package/dist/index.cjs340.js.map +1 -1
  148. package/dist/index.cjs341.js +1 -1
  149. package/dist/index.cjs341.js.map +1 -1
  150. package/dist/index.cjs345.js +2 -0
  151. package/dist/index.cjs345.js.map +1 -0
  152. package/dist/index.cjs346.js +2 -0
  153. package/dist/index.cjs346.js.map +1 -0
  154. package/dist/index.cjs347.js +2 -0
  155. package/dist/index.cjs347.js.map +1 -0
  156. package/dist/index.cjs348.js +1 -1
  157. package/dist/index.cjs348.js.map +1 -1
  158. package/dist/index.cjs35.js +1 -1
  159. package/dist/index.cjs357.js +2 -0
  160. package/dist/index.cjs357.js.map +1 -0
  161. package/dist/{index.cjs352.js → index.cjs358.js} +2 -2
  162. package/dist/{index.cjs352.js.map → index.cjs358.js.map} +1 -1
  163. package/dist/{index.cjs353.js → index.cjs359.js} +1 -1
  164. package/dist/{index.cjs353.js.map → index.cjs359.js.map} +1 -1
  165. package/dist/{index.cjs354.js → index.cjs360.js} +2 -2
  166. package/dist/{index.cjs354.js.map → index.cjs360.js.map} +1 -1
  167. package/dist/index.cjs361.js +1 -1
  168. package/dist/index.cjs361.js.map +1 -1
  169. package/dist/index.cjs362.js +1 -1
  170. package/dist/index.cjs362.js.map +1 -1
  171. package/dist/index.cjs367.js +1 -1
  172. package/dist/index.cjs367.js.map +1 -1
  173. package/dist/index.cjs368.js +1 -1
  174. package/dist/index.cjs368.js.map +1 -1
  175. package/dist/index.cjs369.js +1 -1
  176. package/dist/index.cjs369.js.map +1 -1
  177. package/dist/index.cjs37.js +1 -1
  178. package/dist/index.cjs370.js +1 -1
  179. package/dist/index.cjs370.js.map +1 -1
  180. package/dist/index.cjs371.js +1 -1
  181. package/dist/index.cjs371.js.map +1 -1
  182. package/dist/index.cjs372.js +1 -1
  183. package/dist/index.cjs372.js.map +1 -1
  184. package/dist/index.cjs373.js +1 -4
  185. package/dist/index.cjs373.js.map +1 -1
  186. package/dist/index.cjs374.js +1 -1
  187. package/dist/index.cjs374.js.map +1 -1
  188. package/dist/index.cjs375.js +2 -0
  189. package/dist/index.cjs375.js.map +1 -0
  190. package/dist/index.cjs376.js +2 -0
  191. package/dist/index.cjs376.js.map +1 -0
  192. package/dist/index.cjs377.js +5 -0
  193. package/dist/index.cjs377.js.map +1 -0
  194. package/dist/index.cjs378.js +2 -0
  195. package/dist/index.cjs378.js.map +1 -0
  196. package/dist/index.cjs379.js +1 -1
  197. package/dist/index.cjs379.js.map +1 -1
  198. package/dist/index.cjs38.js +1 -1
  199. package/dist/index.cjs380.js +1 -38
  200. package/dist/index.cjs380.js.map +1 -1
  201. package/dist/index.cjs381.js +1 -1
  202. package/dist/index.cjs381.js.map +1 -1
  203. package/dist/index.cjs382.js +1 -1
  204. package/dist/index.cjs382.js.map +1 -1
  205. package/dist/index.cjs383.js +38 -1
  206. package/dist/index.cjs383.js.map +1 -1
  207. package/dist/index.cjs384.js +1 -1
  208. package/dist/index.cjs384.js.map +1 -1
  209. package/dist/index.cjs385.js +1 -1
  210. package/dist/index.cjs385.js.map +1 -1
  211. package/dist/index.cjs386.js +1 -1
  212. package/dist/index.cjs386.js.map +1 -1
  213. package/dist/index.cjs389.js +1 -1
  214. package/dist/index.cjs389.js.map +1 -1
  215. package/dist/index.cjs39.js +1 -1
  216. package/dist/index.cjs390.js +1 -1
  217. package/dist/index.cjs390.js.map +1 -1
  218. package/dist/index.cjs391.js +1 -1
  219. package/dist/index.cjs391.js.map +1 -1
  220. package/dist/index.cjs392.js +1 -1
  221. package/dist/index.cjs392.js.map +1 -1
  222. package/dist/index.cjs395.js +1 -1
  223. package/dist/index.cjs396.js +1 -1
  224. package/dist/index.cjs396.js.map +1 -1
  225. package/dist/index.cjs399.js +1 -1
  226. package/dist/index.cjs399.js.map +1 -1
  227. package/dist/index.cjs40.js +1 -1
  228. package/dist/index.cjs401.js +1 -1
  229. package/dist/index.cjs402.js +1 -1
  230. package/dist/index.cjs405.js +1 -1
  231. package/dist/index.cjs405.js.map +1 -1
  232. package/dist/index.cjs407.js +1 -1
  233. package/dist/index.cjs42.js +1 -1
  234. package/dist/index.cjs43.js +1 -1
  235. package/dist/index.cjs44.js +1 -1
  236. package/dist/index.cjs45.js +1 -1
  237. package/dist/index.cjs47.js +1 -1
  238. package/dist/index.cjs48.js +1 -1
  239. package/dist/index.cjs49.js +1 -1
  240. package/dist/index.cjs50.js +1 -1
  241. package/dist/index.cjs51.js +1 -1
  242. package/dist/index.cjs52.js +1 -1
  243. package/dist/index.cjs53.js +1 -1
  244. package/dist/index.cjs56.js +1 -1
  245. package/dist/index.cjs58.js +1 -1
  246. package/dist/index.cjs59.js +1 -1
  247. package/dist/index.cjs6.js +1 -1
  248. package/dist/index.cjs60.js +1 -1
  249. package/dist/index.cjs61.js +1 -1
  250. package/dist/index.cjs63.js +1 -1
  251. package/dist/index.cjs65.js +1 -1
  252. package/dist/index.cjs66.js +1 -1
  253. package/dist/index.cjs68.js +1 -1
  254. package/dist/index.cjs69.js +1 -1
  255. package/dist/index.cjs7.js +1 -1
  256. package/dist/index.cjs70.js +1 -1
  257. package/dist/index.cjs8.js +1 -1
  258. package/dist/index.cjs9.js +1 -1
  259. package/dist/index.cjs90.js +1 -1
  260. package/dist/index.cjs92.js +1 -1
  261. package/dist/index.cjs94.js +1 -1
  262. package/dist/index.d.ts +1 -1
  263. package/dist/index.es10.js +3 -3
  264. package/dist/index.es100.js +1 -1
  265. package/dist/index.es101.js +1 -1
  266. package/dist/index.es102.js +2 -2
  267. package/dist/index.es102.js.map +1 -1
  268. package/dist/index.es103.js +1 -1
  269. package/dist/index.es106.js +2 -2
  270. package/dist/index.es107.js +17 -17
  271. package/dist/index.es109.js +2 -2
  272. package/dist/index.es11.js +1 -1
  273. package/dist/index.es110.js +1 -1
  274. package/dist/index.es113.js +2 -2
  275. package/dist/index.es114.js +2 -2
  276. package/dist/index.es115.js +2 -2
  277. package/dist/index.es116.js +2 -2
  278. package/dist/index.es117.js +2 -2
  279. package/dist/index.es118.js +2 -2
  280. package/dist/index.es119.js +2 -2
  281. package/dist/index.es12.js +1 -1
  282. package/dist/index.es120.js +2 -2
  283. package/dist/index.es121.js +2 -2
  284. package/dist/index.es122.js +2 -2
  285. package/dist/index.es123.js +2 -2
  286. package/dist/index.es124.js +2 -2
  287. package/dist/index.es125.js +2 -2
  288. package/dist/index.es126.js +2 -2
  289. package/dist/index.es127.js +2 -2
  290. package/dist/index.es128.js +2 -2
  291. package/dist/index.es129.js +2 -2
  292. package/dist/index.es13.js +1 -1
  293. package/dist/index.es130.js +2 -2
  294. package/dist/index.es131.js +2 -2
  295. package/dist/index.es132.js +2 -2
  296. package/dist/index.es133.js +2 -2
  297. package/dist/index.es134.js +2 -2
  298. package/dist/index.es135.js +1 -1
  299. package/dist/index.es136.js +1 -1
  300. package/dist/index.es137.js +2 -2
  301. package/dist/index.es138.js +2 -2
  302. package/dist/index.es139.js +2 -2
  303. package/dist/index.es14.js +1 -1
  304. package/dist/index.es141.js +2 -2
  305. package/dist/index.es142.js +2 -2
  306. package/dist/index.es143.js +2 -2
  307. package/dist/index.es144.js +2 -2
  308. package/dist/index.es145.js +2 -2
  309. package/dist/index.es146.js +2 -2
  310. package/dist/index.es147.js +2 -2
  311. package/dist/index.es148.js +2 -2
  312. package/dist/index.es149.js +2 -2
  313. package/dist/index.es15.js +1 -1
  314. package/dist/index.es151.js +2 -2
  315. package/dist/index.es152.js +2 -2
  316. package/dist/index.es153.js +2 -2
  317. package/dist/index.es154.js +2 -2
  318. package/dist/index.es155.js +2 -2
  319. package/dist/index.es156.js +2 -2
  320. package/dist/index.es157.js +2 -2
  321. package/dist/index.es159.js +2 -2
  322. package/dist/index.es16.js +19 -19
  323. package/dist/index.es160.js +2 -2
  324. package/dist/index.es161.js +2 -2
  325. package/dist/index.es162.js +1 -1
  326. package/dist/index.es164.js +2 -2
  327. package/dist/index.es165.js +24 -24
  328. package/dist/index.es17.js +1 -1
  329. package/dist/index.es172.js +1 -1
  330. package/dist/index.es18.js +22 -22
  331. package/dist/index.es183.js +15 -2
  332. package/dist/index.es183.js.map +1 -1
  333. package/dist/index.es185.js +6 -0
  334. package/dist/index.es185.js.map +1 -0
  335. package/dist/index.es19.js +1 -1
  336. package/dist/{index.es193.js → index.es192.js} +1 -1
  337. package/dist/{index.es193.js.map → index.es192.js.map} +1 -1
  338. package/dist/index.es194.js +5 -0
  339. package/dist/index.es194.js.map +1 -0
  340. package/dist/index.es20.js +1 -1
  341. package/dist/index.es203.js +2 -2
  342. package/dist/index.es206.js +1 -1
  343. package/dist/index.es209.js +22 -22
  344. package/dist/index.es21.js +1 -1
  345. package/dist/index.es212.js +2 -2
  346. package/dist/index.es213.js +26 -26
  347. package/dist/index.es214.js +11 -11
  348. package/dist/index.es22.js +2 -2
  349. package/dist/index.es220.js +8 -8
  350. package/dist/index.es229.js +2 -2
  351. package/dist/index.es23.js +1 -1
  352. package/dist/index.es231.js +14 -14
  353. package/dist/index.es239.js +1 -1
  354. package/dist/index.es24.js +4 -4
  355. package/dist/index.es242.js +1 -1
  356. package/dist/index.es248.js +1 -1
  357. package/dist/index.es25.js +39 -39
  358. package/dist/index.es253.js +1 -1
  359. package/dist/index.es256.js +2 -2
  360. package/dist/index.es257.js +2 -2
  361. package/dist/index.es258.js +32 -32
  362. package/dist/index.es26.js +21 -21
  363. package/dist/index.es260.js +22 -22
  364. package/dist/index.es260.js.map +1 -1
  365. package/dist/index.es27.js +2 -2
  366. package/dist/index.es28.js +18 -18
  367. package/dist/index.es28.js.map +1 -1
  368. package/dist/index.es29.js +1 -1
  369. package/dist/index.es297.js +13 -13
  370. package/dist/index.es30.js +6 -6
  371. package/dist/index.es305.js +1 -1
  372. package/dist/index.es31.js +1 -1
  373. package/dist/index.es310.js +3 -3
  374. package/dist/index.es318.js +20 -20
  375. package/dist/index.es319.js +92 -92
  376. package/dist/index.es32.js +5 -5
  377. package/dist/index.es320.js +3675 -2
  378. package/dist/index.es320.js.map +1 -1
  379. package/dist/index.es321.js +6 -2
  380. package/dist/index.es321.js.map +1 -1
  381. package/dist/index.es322.js +2 -6
  382. package/dist/index.es322.js.map +1 -1
  383. package/dist/index.es324.js +7 -2
  384. package/dist/index.es324.js.map +1 -1
  385. package/dist/index.es325.js +30 -0
  386. package/dist/index.es325.js.map +1 -0
  387. package/dist/index.es326.js +64 -23
  388. package/dist/index.es326.js.map +1 -1
  389. package/dist/index.es327.js +27 -65
  390. package/dist/index.es327.js.map +1 -1
  391. package/dist/index.es328.js +32 -6
  392. package/dist/index.es328.js.map +1 -1
  393. package/dist/index.es329.js +619 -27
  394. package/dist/index.es329.js.map +1 -1
  395. package/dist/index.es33.js +1 -1
  396. package/dist/index.es330.js +10 -5
  397. package/dist/index.es330.js.map +1 -1
  398. package/dist/index.es331.js +15 -25
  399. package/dist/index.es331.js.map +1 -1
  400. package/dist/index.es334.js +128 -0
  401. package/dist/index.es334.js.map +1 -0
  402. package/dist/index.es335.js +138 -0
  403. package/dist/index.es335.js.map +1 -0
  404. package/dist/index.es336.js +17 -0
  405. package/dist/index.es336.js.map +1 -0
  406. package/dist/index.es337.js +68 -10
  407. package/dist/index.es337.js.map +1 -1
  408. package/dist/index.es338.js +12 -122
  409. package/dist/index.es338.js.map +1 -1
  410. package/dist/index.es339.js +8 -134
  411. package/dist/index.es339.js.map +1 -1
  412. package/dist/index.es34.js +1 -1
  413. package/dist/index.es340.js +50 -14
  414. package/dist/index.es340.js.map +1 -1
  415. package/dist/index.es341.js +51 -13
  416. package/dist/index.es341.js.map +1 -1
  417. package/dist/index.es345.js +5 -0
  418. package/dist/index.es345.js.map +1 -0
  419. package/dist/index.es346.js +5 -0
  420. package/dist/index.es346.js.map +1 -0
  421. package/dist/index.es347.js +9 -0
  422. package/dist/index.es347.js.map +1 -0
  423. package/dist/index.es348.js +24 -10
  424. package/dist/index.es348.js.map +1 -1
  425. package/dist/index.es35.js +14 -14
  426. package/dist/index.es357.js +14 -0
  427. package/dist/index.es357.js.map +1 -0
  428. package/dist/{index.es352.js → index.es358.js} +4 -4
  429. package/dist/{index.es352.js.map → index.es358.js.map} +1 -1
  430. package/dist/index.es359.js +11 -0
  431. package/dist/{index.es353.js.map → index.es359.js.map} +1 -1
  432. package/dist/{index.es354.js → index.es360.js} +19 -19
  433. package/dist/{index.es354.js.map → index.es360.js.map} +1 -1
  434. package/dist/index.es361.js +174 -21
  435. package/dist/index.es361.js.map +1 -1
  436. package/dist/index.es362.js +3 -28
  437. package/dist/index.es362.js.map +1 -1
  438. package/dist/index.es367.js +10 -203
  439. package/dist/index.es367.js.map +1 -1
  440. package/dist/index.es368.js +203 -20
  441. package/dist/index.es368.js.map +1 -1
  442. package/dist/index.es369.js +21 -392
  443. package/dist/index.es369.js.map +1 -1
  444. package/dist/index.es37.js +6 -6
  445. package/dist/index.es370.js +393 -5
  446. package/dist/index.es370.js.map +1 -1
  447. package/dist/index.es371.js +25 -3
  448. package/dist/index.es371.js.map +1 -1
  449. package/dist/index.es372.js +29 -24
  450. package/dist/index.es372.js.map +1 -1
  451. package/dist/index.es373.js +5 -110
  452. package/dist/index.es373.js.map +1 -1
  453. package/dist/index.es374.js +5 -16
  454. package/dist/index.es374.js.map +1 -1
  455. package/dist/index.es375.js +6 -0
  456. package/dist/index.es375.js.map +1 -0
  457. package/dist/index.es376.js +27 -0
  458. package/dist/index.es376.js.map +1 -0
  459. package/dist/index.es377.js +113 -0
  460. package/dist/index.es377.js.map +1 -0
  461. package/dist/index.es378.js +19 -0
  462. package/dist/index.es378.js.map +1 -0
  463. package/dist/index.es379.js +512 -54
  464. package/dist/index.es379.js.map +1 -1
  465. package/dist/index.es38.js +1 -1
  466. package/dist/index.es380.js +126 -68
  467. package/dist/index.es380.js.map +1 -1
  468. package/dist/index.es381.js +128 -8
  469. package/dist/index.es381.js.map +1 -1
  470. package/dist/index.es382.js +64 -13
  471. package/dist/index.es382.js.map +1 -1
  472. package/dist/index.es383.js +68 -61
  473. package/dist/index.es383.js.map +1 -1
  474. package/dist/index.es384.js +7 -521
  475. package/dist/index.es384.js.map +1 -1
  476. package/dist/index.es385.js +13 -126
  477. package/dist/index.es385.js.map +1 -1
  478. package/dist/index.es386.js +60 -127
  479. package/dist/index.es386.js.map +1 -1
  480. package/dist/index.es389.js +21 -11
  481. package/dist/index.es389.js.map +1 -1
  482. package/dist/index.es39.js +1 -1
  483. package/dist/index.es390.js +11 -26
  484. package/dist/index.es390.js.map +1 -1
  485. package/dist/index.es391.js +27 -4
  486. package/dist/index.es391.js.map +1 -1
  487. package/dist/index.es392.js +4 -22
  488. package/dist/index.es392.js.map +1 -1
  489. package/dist/index.es395.js +1 -1
  490. package/dist/index.es396.js +2 -2
  491. package/dist/index.es396.js.map +1 -1
  492. package/dist/index.es399.js +34 -34
  493. package/dist/index.es399.js.map +1 -1
  494. package/dist/index.es40.js +1 -1
  495. package/dist/index.es401.js +2 -2
  496. package/dist/index.es401.js.map +1 -1
  497. package/dist/index.es402.js +8 -8
  498. package/dist/index.es405.js +2 -2
  499. package/dist/index.es405.js.map +1 -1
  500. package/dist/index.es42.js +1 -1
  501. package/dist/index.es43.js +1 -1
  502. package/dist/index.es44.js +1 -1
  503. package/dist/index.es45.js +1 -1
  504. package/dist/index.es47.js +2 -2
  505. package/dist/index.es48.js +1 -1
  506. package/dist/index.es49.js +1 -1
  507. package/dist/index.es5.js +4 -4
  508. package/dist/index.es50.js +1 -1
  509. package/dist/index.es51.js +1 -1
  510. package/dist/index.es52.js +1 -1
  511. package/dist/index.es53.js +1 -1
  512. package/dist/index.es56.js +2 -2
  513. package/dist/index.es58.js +1 -1
  514. package/dist/index.es59.js +1 -1
  515. package/dist/index.es6.js +2 -2
  516. package/dist/index.es60.js +1 -1
  517. package/dist/index.es61.js +1 -1
  518. package/dist/index.es63.js +1 -1
  519. package/dist/index.es65.js +45 -45
  520. package/dist/index.es66.js +1 -1
  521. package/dist/index.es68.js +25 -25
  522. package/dist/index.es69.js +23 -23
  523. package/dist/index.es7.js +2 -2
  524. package/dist/index.es70.js +1 -1
  525. package/dist/index.es8.js +2 -2
  526. package/dist/index.es9.js +3 -3
  527. package/dist/index.es90.js +1 -1
  528. package/dist/index.es92.js +1 -1
  529. package/dist/index.es94.js +1 -1
  530. package/dist/index.es98.js +12 -12
  531. package/package.json +1 -1
  532. package/dist/index.cjs182.js +0 -2
  533. package/dist/index.cjs182.js.map +0 -1
  534. package/dist/index.cjs186.js +0 -2
  535. package/dist/index.cjs186.js.map +0 -1
  536. package/dist/index.cjs323.js +0 -28
  537. package/dist/index.cjs323.js.map +0 -1
  538. package/dist/index.cjs332.js +0 -2
  539. package/dist/index.cjs332.js.map +0 -1
  540. package/dist/index.cjs333.js +0 -2
  541. package/dist/index.cjs333.js.map +0 -1
  542. package/dist/index.cjs342.js +0 -2
  543. package/dist/index.cjs342.js.map +0 -1
  544. package/dist/index.cjs343.js +0 -2
  545. package/dist/index.cjs343.js.map +0 -1
  546. package/dist/index.cjs344.js +0 -2
  547. package/dist/index.cjs344.js.map +0 -1
  548. package/dist/index.cjs349.js +0 -2
  549. package/dist/index.cjs349.js.map +0 -1
  550. package/dist/index.cjs350.js +0 -2
  551. package/dist/index.cjs350.js.map +0 -1
  552. package/dist/index.cjs351.js +0 -2
  553. package/dist/index.cjs351.js.map +0 -1
  554. package/dist/index.cjs355.js +0 -2
  555. package/dist/index.cjs355.js.map +0 -1
  556. package/dist/index.cjs363.js +0 -2
  557. package/dist/index.cjs363.js.map +0 -1
  558. package/dist/index.cjs364.js +0 -2
  559. package/dist/index.cjs364.js.map +0 -1
  560. package/dist/index.es182.js +0 -18
  561. package/dist/index.es182.js.map +0 -1
  562. package/dist/index.es186.js +0 -6
  563. package/dist/index.es186.js.map +0 -1
  564. package/dist/index.es323.js +0 -3678
  565. package/dist/index.es323.js.map +0 -1
  566. package/dist/index.es332.js +0 -72
  567. package/dist/index.es332.js.map +0 -1
  568. package/dist/index.es333.js +0 -36
  569. package/dist/index.es333.js.map +0 -1
  570. package/dist/index.es342.js +0 -12
  571. package/dist/index.es342.js.map +0 -1
  572. package/dist/index.es343.js +0 -53
  573. package/dist/index.es343.js.map +0 -1
  574. package/dist/index.es344.js +0 -56
  575. package/dist/index.es344.js.map +0 -1
  576. package/dist/index.es349.js +0 -7
  577. package/dist/index.es349.js.map +0 -1
  578. package/dist/index.es350.js +0 -625
  579. package/dist/index.es350.js.map +0 -1
  580. package/dist/index.es351.js +0 -15
  581. package/dist/index.es351.js.map +0 -1
  582. package/dist/index.es353.js +0 -11
  583. package/dist/index.es355.js +0 -181
  584. package/dist/index.es355.js.map +0 -1
  585. package/dist/index.es363.js +0 -8
  586. package/dist/index.es363.js.map +0 -1
  587. package/dist/index.es364.js +0 -18
  588. package/dist/index.es364.js.map +0 -1
@@ -1,18 +1,56 @@
1
- import * as r from "react";
2
- var t = 0;
3
- function a() {
4
- r.useEffect(() => {
5
- const e = document.querySelectorAll("[data-radix-focus-guard]");
6
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? n()), document.body.insertAdjacentElement("beforeend", e[1] ?? n()), t++, () => {
7
- t === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((o) => o.remove()), t--;
8
- };
9
- }, []);
1
+ import * as l from "react";
2
+ import { composeRefs as y } from "./index.es325.js";
3
+ import { j as f } from "./index.es181.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 });
11
+ }
12
+ return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: i });
13
+ });
14
+ return o.displayName = `${e}.Slot`, o;
10
15
  }
11
- function n() {
12
- const e = document.createElement("span");
13
- return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
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 };
46
+ }
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);
14
51
  }
15
52
  export {
16
- a as useFocusGuards
53
+ b as createSlot,
54
+ h as createSlottable
17
55
  };
18
56
  //# sourceMappingURL=index.es341.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es341.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":";AAIA,IAAIA,IAAQ;AAKZ,SAASC,IAAiB;AACxB,EAAAC,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAa,SAAS,iBAAiB,0BAA0B;AACvE,oBAAS,KAAK,sBAAsB,cAAcA,EAAW,CAAC,KAAKC,GAAkB,GACrF,SAAS,KAAK,sBAAsB,aAAaD,EAAW,CAAC,KAAKC,GAAkB,GACpFJ,KACO,MAAM;AACX,MAAIA,MAAU,KACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAAQ,CAACK,MAASA,EAAK,QAAQ,GAEvFL;AAAA,IACD;AAAA,EACF,GAAE,EAAE;AACP;AACA,SAASI,IAAmB;AAC1B,QAAME,IAAU,SAAS,cAAc,MAAM;AAC7C,SAAAA,EAAQ,aAAa,0BAA0B,EAAE,GACjDA,EAAQ,WAAW,GACnBA,EAAQ,MAAM,UAAU,QACxBA,EAAQ,MAAM,UAAU,KACxBA,EAAQ,MAAM,WAAW,SACzBA,EAAQ,MAAM,gBAAgB,QACvBA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es341.js","sources":["../node_modules/@radix-ui/react-slot/dist/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,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACxL;AACI,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO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,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,MAAAD,EAAe,GAAGC,CAAI,GACtBF,EAAc,GAAGE,CAAI;AAAA,IACtB,IACQF,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAgB,IACxDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAExF;AACE,SAAO,EAAE,GAAGrB,GAAW,GAAGkB,EAAe;AAC3C;AACA,SAAST,EAAcc,GAAS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,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]}
@@ -0,0 +1,5 @@
1
+ var r = {};
2
+ export {
3
+ r as __exports
4
+ };
5
+ //# sourceMappingURL=index.es345.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es345.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,5 @@
1
+ var e = {};
2
+ export {
3
+ e as __exports
4
+ };
5
+ //# sourceMappingURL=index.es346.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es346.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -0,0 +1,9 @@
1
+ import * as u from "react";
2
+ function t(r) {
3
+ const e = u.useRef({ value: r, previous: r });
4
+ return u.useMemo(() => (e.current.value !== r && (e.current.previous = e.current.value, e.current.value = r), e.current.previous), [r]);
5
+ }
6
+ export {
7
+ t as usePrevious
8
+ };
9
+ //# sourceMappingURL=index.es347.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es347.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":";AAEA,SAASA,EAAYC,GAAO;AAC1B,QAAMC,IAAMC,EAAM,OAAO,EAAE,OAAAF,GAAO,UAAUA,GAAO;AACnD,SAAOE,EAAM,QAAQ,OACfD,EAAI,QAAQ,UAAUD,MACxBC,EAAI,QAAQ,WAAWA,EAAI,QAAQ,OACnCA,EAAI,QAAQ,QAAQD,IAEfC,EAAI,QAAQ,WAClB,CAACD,CAAK,CAAC;AACZ;","x_google_ignoreList":[0]}
@@ -1,14 +1,28 @@
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
- }, []);
1
+ import * as h from "react";
2
+ import { useLayoutEffect as z } from "./index.es362.js";
3
+ function c(r) {
4
+ const [d, e] = h.useState(void 0);
5
+ return z(() => {
6
+ if (r) {
7
+ e({ width: r.offsetWidth, height: r.offsetHeight });
8
+ const f = new ResizeObserver((i) => {
9
+ if (!Array.isArray(i) || !i.length)
10
+ return;
11
+ const b = i[0];
12
+ let o, t;
13
+ if ("borderBoxSize" in b) {
14
+ const s = b.borderBoxSize, u = Array.isArray(s) ? s[0] : s;
15
+ o = u.inlineSize, t = u.blockSize;
16
+ } else
17
+ o = r.offsetWidth, t = r.offsetHeight;
18
+ e({ width: o, height: t });
19
+ });
20
+ return f.observe(r, { box: "border-box" }), () => f.unobserve(r);
21
+ } else
22
+ e(void 0);
23
+ }, [r]), d;
10
24
  }
11
25
  export {
12
- o as useCallbackRef
26
+ c as useSize
13
27
  };
14
28
  //# sourceMappingURL=index.es348.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es348.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.es348.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":";;AAGA,SAASA,EAAQC,GAAS;AACxB,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAM,SAAS,MAAM;AAC7CC,SAAAA,EAAgB,MAAM;AACpB,QAAIJ,GAAS;AACX,MAAAE,EAAQ,EAAE,OAAOF,EAAQ,aAAa,QAAQA,EAAQ,cAAc;AACpE,YAAMK,IAAiB,IAAI,eAAe,CAACC,MAAY;AAIrD,YAHI,CAAC,MAAM,QAAQA,CAAO,KAGtB,CAACA,EAAQ;AACX;AAEF,cAAMC,IAAQD,EAAQ,CAAC;AACvB,YAAIE,GACAC;AACJ,YAAI,mBAAmBF,GAAO;AAC5B,gBAAMG,IAAkBH,EAAM,eACxBI,IAAa,MAAM,QAAQD,CAAe,IAAIA,EAAgB,CAAC,IAAIA;AACzE,UAAAF,IAAQG,EAAW,YACnBF,IAASE,EAAW;AAAA,QAC9B;AACU,UAAAH,IAAQR,EAAQ,aAChBS,IAAST,EAAQ;AAEnB,QAAAE,EAAQ,EAAE,OAAAM,GAAO,QAAAC,GAAQ;AAAA,MACjC,CAAO;AACD,aAAAJ,EAAe,QAAQL,GAAS,EAAE,KAAK,aAAY,CAAE,GAC9C,MAAMK,EAAe,UAAUL,CAAO;AAAA,IACnD;AACM,MAAAE,EAAQ,MAAM;AAAA,EAEpB,GAAK,CAACF,CAAO,CAAC,GACLC;AACT;","x_google_ignoreList":[0]}
@@ -3,42 +3,42 @@ import { ArrowRight as o } from "./index.es129.js";
3
3
  const j = ({
4
4
  href: a,
5
5
  asLink: i = "a",
6
- isExternal: n = !1,
6
+ isExternal: r = !1,
7
7
  fs: l = "6",
8
- children: r,
8
+ children: n,
9
9
  className: c = "",
10
- onClick: d,
11
- type: m = "button",
10
+ onClick: m,
11
+ type: d = "button",
12
12
  asButton: f,
13
13
  ...s
14
14
  }) => {
15
- const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((h) => `fs-${h}`)(l)} ${c}`;
15
+ const t = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${((p) => `fs-${p}`)(l)} ${c}`;
16
16
  if (f)
17
17
  return /* @__PURE__ */ e.jsxs(
18
18
  "button",
19
19
  {
20
20
  className: `bg-transparent border-none ${t}`,
21
- onClick: d,
22
- type: m,
21
+ onClick: m,
22
+ type: d,
23
23
  ...s,
24
24
  children: [
25
- r,
25
+ n,
26
26
  /* @__PURE__ */ e.jsx(o, { color: "primary", width: 24, height: 24 })
27
27
  ]
28
28
  }
29
29
  );
30
- const u = i;
30
+ const h = i;
31
31
  return /* @__PURE__ */ e.jsxs(
32
- u,
32
+ h,
33
33
  {
34
34
  className: t,
35
35
  href: a,
36
- target: n ? "_blank" : void 0,
37
- rel: n ? "noreferrer noopener" : void 0,
36
+ target: r ? "_blank" : void 0,
37
+ rel: r ? "noreferrer noopener" : void 0,
38
38
  ...s,
39
39
  children: [
40
- r,
41
- n && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
40
+ n,
41
+ r && /* @__PURE__ */ e.jsxs("span", { className: "visually-hidden", children: [
42
42
  " ",
43
43
  "(si apre in una nuova finestra)"
44
44
  ] }),
@@ -0,0 +1,14 @@
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
+ }, []);
10
+ }
11
+ export {
12
+ o as useCallbackRef
13
+ };
14
+ //# sourceMappingURL=index.es357.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es357.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,7 +1,7 @@
1
1
  import r from "react";
2
- import { createContextScope as y } from "./index.es327.js";
3
- import { useComposedRefs as S } from "./index.es326.js";
4
- import { createSlot as M } from "./index.es344.js";
2
+ import { createContextScope as y } from "./index.es326.js";
3
+ import { useComposedRefs as S } from "./index.es325.js";
4
+ import { createSlot as M } from "./index.es341.js";
5
5
  import { j as d } from "./index.es181.js";
6
6
  function D(s) {
7
7
  const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
@@ -46,4 +46,4 @@ function D(s) {
46
46
  export {
47
47
  D as createCollection
48
48
  };
49
- //# sourceMappingURL=index.es352.js.map
49
+ //# sourceMappingURL=index.es358.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es352.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,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B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es358.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,EAAAQ,EAAe,cAAcH;AAC7B,QAAMQ,IAAiBvB,IAAO,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
2
+ import "./index.es181.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.es359.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es353.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]}
1
+ {"version":3,"file":"index.es359.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]}
@@ -1,14 +1,14 @@
1
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.es367.js";
3
- import { Root as Oe } from "./index.es368.js";
4
- import { useComposedRefs as T } from "./index.es326.js";
5
- import { createContextScope as Re } from "./index.es327.js";
6
- import { Primitive as z } from "./index.es333.js";
7
- import { useCallbackRef as Ee } from "./index.es348.js";
8
- import { useLayoutEffect as B } from "./index.es349.js";
9
- import { useSize as Ne } from "./index.es331.js";
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.es368.js";
3
+ import { Root as Oe } from "./index.es369.js";
4
+ import { useComposedRefs as T } from "./index.es325.js";
5
+ import { createContextScope as Re } from "./index.es326.js";
6
+ import { Primitive as z } from "./index.es328.js";
7
+ import { useCallbackRef as Ee } from "./index.es357.js";
8
+ import { useLayoutEffect as B } from "./index.es362.js";
9
+ import { useSize as Ne } from "./index.es348.js";
10
10
  import { j as f } from "./index.es181.js";
11
- import { autoUpdate as _e } from "./index.es369.js";
11
+ import { autoUpdate as _e } from "./index.es370.js";
12
12
  var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
13
  const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
14
  return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
@@ -41,12 +41,12 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
41
41
  updatePositionStrategy: A = "optimized",
42
42
  onPlaced: l,
43
43
  ...d
44
- } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), u = Ne(E), re = (u == null ? void 0 : u.width) ?? 0, $ = (u == null ? void 0 : u.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 = {
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
45
  padding: ne,
46
46
  boundary: j.filter(Ie),
47
47
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
48
  altBoundary: ae
49
- }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: g } = xe({
49
+ }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
50
50
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
51
  strategy: "fixed",
52
52
  placement: oe,
@@ -67,9 +67,9 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
67
67
  p && Ae({ ...b }),
68
68
  ve({
69
69
  ...b,
70
- apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ue }) => {
71
- const { width: ge, height: we } = k.reference, R = P.floating.style;
72
- R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ue}px`), R.setProperty("--radix-popper-anchor-width", `${ge}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
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
73
  }
74
74
  }),
75
75
  E && Ce({ element: E, padding: w }),
@@ -80,7 +80,7 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
80
80
  B(() => {
81
81
  S && (O == null || O());
82
82
  }, [S, O]);
83
- const ce = (I = g.arrow) == null ? void 0 : I.x, de = (Y = g.arrow) == null ? void 0 : Y.y, le = ((M = g.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
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
84
  return B(() => {
85
85
  h && me(window.getComputedStyle(h).zIndex);
86
86
  }, [h]), /* @__PURE__ */ f.jsx(
@@ -95,13 +95,13 @@ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
95
95
  minWidth: "max-content",
96
96
  zIndex: fe,
97
97
  "--radix-popper-transform-origin": [
98
- (X = g.transformOrigin) == null ? void 0 : X.x,
99
- (D = g.transformOrigin) == null ? void 0 : D.y
98
+ (X = u.transformOrigin) == null ? void 0 : X.x,
99
+ (D = u.transformOrigin) == null ? void 0 : D.y
100
100
  ].join(" "),
101
101
  // hide the content if using the hide middleware and should be hidden
102
102
  // set visibility to hidden and disable pointer events so the UI behaves
103
103
  // as if the PopperContent isn't there at all
104
- ...((F = g.hide) == null ? void 0 : F.referenceHidden) && {
104
+ ...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
105
105
  visibility: "hidden",
106
106
  pointerEvents: "none"
107
107
  }
@@ -218,4 +218,4 @@ export {
218
218
  qe as Root,
219
219
  Ue as createPopperScope
220
220
  };
221
- //# sourceMappingURL=index.es354.js.map
221
+ //# sourceMappingURL=index.es360.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es354.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":";;;;;;;;;;;AAyBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,GAAmBH,CAAW,GACzE,CAACI,IAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM,EAAE,eAAAC,GAAe,UAAAC,EAAQ,IAAKF,GAC9B,CAACG,GAAQC,CAAS,IAAIC,EAAM,SAAS,IAAI;AAC/C,SAAuBC,gBAAAA,EAAG,IAACT,IAAgB,EAAE,OAAOI,GAAe,QAAAE,GAAQ,gBAAgBC,GAAW,UAAAF,GAAU;AAClH;AACAH,EAAO,cAAcN;AACrB,IAAIc,IAAc,gBACdC,IAAeH,EAAM;AAAA,EACvB,CAACL,GAAOS,MAAiB;AACvB,UAAM,EAAE,eAAAR,GAAe,YAAAS,GAAY,GAAGC,EAAa,IAAGX,GAChDY,IAAUd,EAAiBS,GAAaN,CAAa,GACrDY,IAAMR,EAA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IAAIJ,IAAgBC,IAAe,GAAGC,CAAY,MAClDG,IAAI,GAAGzC,EAAM,SAAS,SAASrB,CAAW,QACjC8B,MAAe,WACxB+B,IAAI,GAAG,CAAC7D,CAAW,MACnB8D,IAAIL,IAAgBC,IAAe,GAAGE,CAAY,QACzC9B,MAAe,WACxB+B,IAAI,GAAGxC,EAAM,SAAS,QAAQrB,CAAW,MACzC8D,IAAIL,IAAgBC,IAAe,GAAGE,CAAY,OAE7C,EAAE,MAAM,EAAE,GAAAC,GAAG,GAAAC,EAAC,EAAI;AAAA,EAC7B;AACA;AACA,SAAS9B,EAA6BvB,GAAW;AAC/C,QAAM,CAAC9B,GAAME,IAAQ,QAAQ,IAAI4B,EAAU,MAAM,GAAG;AACpD,SAAO,CAAC9B,GAAME,CAAK;AACrB;AACG,IAACkF,KAAQ1G,GACR2G,KAASlG,GACTmG,KAAUvF,GACVwF,KAAQjB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es360.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":";;;;;;;;;;;AAyBA,IAAIA,IAAc,UACd,CAACC,GAAqBC,EAAiB,IAAIC,GAAmBH,CAAW,GACzE,CAACI,IAAgBC,CAAgB,IAAIJ,EAAoBD,CAAW,GACpEM,IAAS,CAACC,MAAU;AACtB,QAAM,EAAE,eAAAC,GAAe,UAAAC,EAAQ,IAAKF,GAC9B,CAACG,GAAQC,CAAS,IAAIC,EAAM,SAAS,IAAI;AAC/C,SAAuBC,gBAAAA,EAAG,IAACT,IAAgB,EAAE,OAAOI,GAAe,QAAAE,GAAQ,gBAAgBC,GAAW,UAAAF,GAAU;AAClH;AACAH,EAAO,cAAcN;AACrB,IAAIc,IAAc,gBACdC,IAAeH,EAAM;AAAA,EACvB,CAACL,GAAOS,MAAiB;AACvB,UAAM,EAAE,eAAAR,GAAe,YAAAS,GAAY,GAAGC,EAAa,IAAGX,GAChDY,IAAUd,EAAiBS,GAAaN,CAAa,GACrDY,IAAMR,EAAM,OAAO,IAAI,GACvBS,IAAeC,EAAgBN,GAAcI,CAAG;AACtD,WAAAR,EAAM,UAAU,MAAM;AACpB,MAAAO,EAAQ,gBAAeF,KAAA,gBAAAA,EAAY,YAAWG,EAAI,OAAO;AAAA,IAC/D,CAAK,GACMH,IAAa,OAAuBJ,gBAAAA,EAAAA,IAAIU,EAAU,KAAK,EAAE,GAAGL,GAAa,KAAKG,GAAc;AAAA,EACvG;AACA;AACAN,EAAa,cAAcD;AAC3B,IAAIU,IAAe,iBACf,CAACC,IAAuBC,EAAiB,IAAIzB,EAAoBuB,CAAY,GAC7EG,IAAgBf,EAAM;AAAA,EACxB,CAACL,GAAOS,MAAiB;;AACvB,UAAM;AAAA,MACJ,eAAAR;AAAA,MACA,MAAAoB,IAAO;AAAA,MACP,YAAAC,IAAa;AAAA,MACb,OAAAC,IAAQ;AAAA,MACR,aAAAC,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