@anoki/fse-ui 1.0.594 → 1.0.596

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 (753) hide show
  1. package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.cjs10.js.map +1 -1
  4. package/dist/index.cjs100.js.map +1 -1
  5. package/dist/index.cjs102.js.map +1 -1
  6. package/dist/index.cjs104.js.map +1 -1
  7. package/dist/index.cjs105.js.map +1 -1
  8. package/dist/index.cjs106.js.map +1 -1
  9. package/dist/index.cjs107.js.map +1 -1
  10. package/dist/index.cjs108.js.map +1 -1
  11. package/dist/index.cjs109.js.map +1 -1
  12. package/dist/index.cjs11.js.map +1 -1
  13. package/dist/index.cjs110.js.map +1 -1
  14. package/dist/index.cjs111.js.map +1 -1
  15. package/dist/index.cjs112.js.map +1 -1
  16. package/dist/index.cjs113.js.map +1 -1
  17. package/dist/index.cjs115.js.map +1 -1
  18. package/dist/index.cjs116.js.map +1 -1
  19. package/dist/index.cjs118.js.map +1 -1
  20. package/dist/index.cjs12.js.map +1 -1
  21. package/dist/index.cjs120.js.map +1 -1
  22. package/dist/index.cjs121.js.map +1 -1
  23. package/dist/index.cjs122.js.map +1 -1
  24. package/dist/index.cjs123.js.map +1 -1
  25. package/dist/index.cjs124.js.map +1 -1
  26. package/dist/index.cjs125.js.map +1 -1
  27. package/dist/index.cjs126.js.map +1 -1
  28. package/dist/index.cjs127.js.map +1 -1
  29. package/dist/index.cjs128.js.map +1 -1
  30. package/dist/index.cjs129.js.map +1 -1
  31. package/dist/index.cjs13.js.map +1 -1
  32. package/dist/index.cjs130.js.map +1 -1
  33. package/dist/index.cjs131.js.map +1 -1
  34. package/dist/index.cjs132.js.map +1 -1
  35. package/dist/index.cjs133.js.map +1 -1
  36. package/dist/index.cjs134.js.map +1 -1
  37. package/dist/index.cjs135.js.map +1 -1
  38. package/dist/index.cjs136.js.map +1 -1
  39. package/dist/index.cjs137.js.map +1 -1
  40. package/dist/index.cjs138.js.map +1 -1
  41. package/dist/index.cjs139.js.map +1 -1
  42. package/dist/index.cjs14.js.map +1 -1
  43. package/dist/index.cjs140.js.map +1 -1
  44. package/dist/index.cjs141.js.map +1 -1
  45. package/dist/index.cjs142.js.map +1 -1
  46. package/dist/index.cjs143.js.map +1 -1
  47. package/dist/index.cjs144.js.map +1 -1
  48. package/dist/index.cjs145.js.map +1 -1
  49. package/dist/index.cjs146.js.map +1 -1
  50. package/dist/index.cjs147.js.map +1 -1
  51. package/dist/index.cjs148.js.map +1 -1
  52. package/dist/index.cjs149.js.map +1 -1
  53. package/dist/index.cjs15.js.map +1 -1
  54. package/dist/index.cjs150.js.map +1 -1
  55. package/dist/index.cjs151.js.map +1 -1
  56. package/dist/index.cjs152.js.map +1 -1
  57. package/dist/index.cjs153.js.map +1 -1
  58. package/dist/index.cjs154.js.map +1 -1
  59. package/dist/index.cjs155.js.map +1 -1
  60. package/dist/index.cjs156.js.map +1 -1
  61. package/dist/index.cjs157.js.map +1 -1
  62. package/dist/index.cjs158.js.map +1 -1
  63. package/dist/index.cjs159.js.map +1 -1
  64. package/dist/index.cjs16.js.map +1 -1
  65. package/dist/index.cjs160.js.map +1 -1
  66. package/dist/index.cjs161.js.map +1 -1
  67. package/dist/index.cjs162.js.map +1 -1
  68. package/dist/index.cjs163.js.map +1 -1
  69. package/dist/index.cjs164.js.map +1 -1
  70. package/dist/index.cjs165.js.map +1 -1
  71. package/dist/index.cjs166.js.map +1 -1
  72. package/dist/index.cjs167.js.map +1 -1
  73. package/dist/index.cjs168.js.map +1 -1
  74. package/dist/index.cjs17.js.map +1 -1
  75. package/dist/index.cjs174.js.map +1 -1
  76. package/dist/index.cjs175.js.map +1 -1
  77. package/dist/index.cjs176.js.map +1 -1
  78. package/dist/index.cjs177.js +1 -1
  79. package/dist/index.cjs177.js.map +1 -1
  80. package/dist/index.cjs178.js +1 -1
  81. package/dist/index.cjs178.js.map +1 -1
  82. package/dist/index.cjs18.js.map +1 -1
  83. package/dist/index.cjs182.js +1 -1
  84. package/dist/index.cjs182.js.map +1 -1
  85. package/dist/index.cjs19.js.map +1 -1
  86. package/dist/index.cjs191.js +1 -1
  87. package/dist/index.cjs191.js.map +1 -1
  88. package/dist/index.cjs195.js +1 -1
  89. package/dist/index.cjs195.js.map +1 -1
  90. package/dist/index.cjs198.js.map +1 -1
  91. package/dist/index.cjs20.js.map +1 -1
  92. package/dist/index.cjs201.js.map +1 -1
  93. package/dist/index.cjs204.js.map +1 -1
  94. package/dist/index.cjs208.js.map +1 -1
  95. package/dist/index.cjs21.js.map +1 -1
  96. package/dist/index.cjs211.js.map +1 -1
  97. package/dist/index.cjs217.js.map +1 -1
  98. package/dist/index.cjs218.js.map +1 -1
  99. package/dist/index.cjs219.js +1 -1
  100. package/dist/index.cjs219.js.map +1 -1
  101. package/dist/index.cjs22.js.map +1 -1
  102. package/dist/index.cjs226.js.map +1 -1
  103. package/dist/index.cjs229.js.map +1 -1
  104. package/dist/index.cjs23.js.map +1 -1
  105. package/dist/index.cjs234.js.map +1 -1
  106. package/dist/index.cjs235.js +1 -1
  107. package/dist/index.cjs240.js.map +1 -1
  108. package/dist/index.cjs242.js +1 -1
  109. package/dist/index.cjs243.js.map +1 -1
  110. package/dist/index.cjs244.js.map +1 -1
  111. package/dist/index.cjs245.js.map +1 -1
  112. package/dist/index.cjs246.js.map +1 -1
  113. package/dist/index.cjs248.js.map +1 -1
  114. package/dist/index.cjs249.js +1 -1
  115. package/dist/index.cjs249.js.map +1 -1
  116. package/dist/index.cjs25.js.map +1 -1
  117. package/dist/index.cjs250.js.map +1 -1
  118. package/dist/index.cjs253.js.map +1 -1
  119. package/dist/index.cjs254.js +1 -1
  120. package/dist/index.cjs254.js.map +1 -1
  121. package/dist/index.cjs259.js.map +1 -1
  122. package/dist/index.cjs260.js.map +1 -1
  123. package/dist/index.cjs261.js +1 -1
  124. package/dist/index.cjs261.js.map +1 -1
  125. package/dist/index.cjs263.js.map +1 -1
  126. package/dist/index.cjs264.js.map +1 -1
  127. package/dist/index.cjs265.js.map +1 -1
  128. package/dist/index.cjs268.js.map +1 -1
  129. package/dist/index.cjs27.js.map +1 -1
  130. package/dist/index.cjs28.js.map +1 -1
  131. package/dist/index.cjs30.js.map +1 -1
  132. package/dist/index.cjs308.js +1 -1
  133. package/dist/index.cjs31.js.map +1 -1
  134. package/dist/index.cjs316.js.map +1 -1
  135. package/dist/index.cjs32.js.map +1 -1
  136. package/dist/index.cjs321.js +1 -1
  137. package/dist/index.cjs327.js.map +1 -1
  138. package/dist/index.cjs329.js.map +1 -1
  139. package/dist/index.cjs33.js.map +1 -1
  140. package/dist/index.cjs333.js.map +1 -1
  141. package/dist/index.cjs335.js +1 -1
  142. package/dist/index.cjs336.js +1 -1
  143. package/dist/index.cjs337.js +1 -1
  144. package/dist/index.cjs34.js +1 -1
  145. package/dist/index.cjs34.js.map +1 -1
  146. package/dist/index.cjs344.js +1 -1
  147. package/dist/index.cjs35.js.map +1 -1
  148. package/dist/index.cjs351.js +1 -1
  149. package/dist/index.cjs355.js +1 -1
  150. package/dist/index.cjs356.js +3 -12
  151. package/dist/index.cjs356.js.map +1 -1
  152. package/dist/index.cjs36.js.map +1 -1
  153. package/dist/index.cjs360.js +1 -1
  154. package/dist/index.cjs361.js +1 -1
  155. package/dist/index.cjs362.js +1 -1
  156. package/dist/index.cjs363.js +1 -1
  157. package/dist/index.cjs365.js.map +1 -1
  158. package/dist/index.cjs369.js +1 -1
  159. package/dist/index.cjs37.js.map +1 -1
  160. package/dist/index.cjs370.js +1 -1
  161. package/dist/index.cjs373.js +1 -1
  162. package/dist/index.cjs373.js.map +1 -1
  163. package/dist/index.cjs375.js +1 -1
  164. package/dist/index.cjs375.js.map +1 -1
  165. package/dist/index.cjs376.js +1 -1
  166. package/dist/index.cjs376.js.map +1 -1
  167. package/dist/index.cjs377.js +1 -1
  168. package/dist/index.cjs377.js.map +1 -1
  169. package/dist/index.cjs378.js +1 -1
  170. package/dist/index.cjs378.js.map +1 -1
  171. package/dist/index.cjs379.js +2 -0
  172. package/dist/index.cjs379.js.map +1 -0
  173. package/dist/index.cjs38.js.map +1 -1
  174. package/dist/index.cjs380.js +2 -0
  175. package/dist/index.cjs380.js.map +1 -0
  176. package/dist/index.cjs381.js +2 -0
  177. package/dist/index.cjs381.js.map +1 -0
  178. package/dist/index.cjs39.js.map +1 -1
  179. package/dist/index.cjs396.js +1 -1
  180. package/dist/index.cjs396.js.map +1 -1
  181. package/dist/index.cjs397.js +1 -1
  182. package/dist/index.cjs397.js.map +1 -1
  183. package/dist/index.cjs398.js +1 -1
  184. package/dist/index.cjs398.js.map +1 -1
  185. package/dist/index.cjs399.js +27 -1
  186. package/dist/index.cjs399.js.map +1 -1
  187. package/dist/index.cjs40.js.map +1 -1
  188. package/dist/index.cjs400.js +1 -1
  189. package/dist/index.cjs400.js.map +1 -1
  190. package/dist/index.cjs401.js +1 -1
  191. package/dist/index.cjs401.js.map +1 -1
  192. package/dist/index.cjs402.js +1 -1
  193. package/dist/index.cjs402.js.map +1 -1
  194. package/dist/index.cjs403.js +2 -1
  195. package/dist/index.cjs403.js.map +1 -1
  196. package/dist/index.cjs404.js +1 -1
  197. package/dist/index.cjs404.js.map +1 -1
  198. package/dist/index.cjs405.js +1 -1
  199. package/dist/index.cjs405.js.map +1 -1
  200. package/dist/index.cjs406.js +1 -1
  201. package/dist/index.cjs406.js.map +1 -1
  202. package/dist/index.cjs407.js +1 -1
  203. package/dist/index.cjs407.js.map +1 -1
  204. package/dist/index.cjs408.js +1 -1
  205. package/dist/index.cjs408.js.map +1 -1
  206. package/dist/index.cjs409.js +1 -1
  207. package/dist/index.cjs409.js.map +1 -1
  208. package/dist/index.cjs41.js.map +1 -1
  209. package/dist/index.cjs410.js +1 -1
  210. package/dist/index.cjs410.js.map +1 -1
  211. package/dist/index.cjs411.js +1 -1
  212. package/dist/index.cjs411.js.map +1 -1
  213. package/dist/index.cjs412.js +1 -1
  214. package/dist/index.cjs412.js.map +1 -1
  215. package/dist/index.cjs413.js +1 -4
  216. package/dist/index.cjs413.js.map +1 -1
  217. package/dist/index.cjs414.js +1 -1
  218. package/dist/index.cjs414.js.map +1 -1
  219. package/dist/index.cjs415.js +1 -1
  220. package/dist/index.cjs415.js.map +1 -1
  221. package/dist/index.cjs416.js +1 -1
  222. package/dist/index.cjs416.js.map +1 -1
  223. package/dist/index.cjs417.js +1 -1
  224. package/dist/index.cjs417.js.map +1 -1
  225. package/dist/index.cjs418.js +1 -1
  226. package/dist/index.cjs418.js.map +1 -1
  227. package/dist/index.cjs419.js +1 -38
  228. package/dist/index.cjs419.js.map +1 -1
  229. package/dist/index.cjs42.js.map +1 -1
  230. package/dist/index.cjs420.js +1 -1
  231. package/dist/index.cjs420.js.map +1 -1
  232. package/dist/index.cjs421.js +1 -1
  233. package/dist/index.cjs421.js.map +1 -1
  234. package/dist/index.cjs422.js +1 -1
  235. package/dist/index.cjs422.js.map +1 -1
  236. package/dist/index.cjs423.js +1 -1
  237. package/dist/index.cjs423.js.map +1 -1
  238. package/dist/index.cjs424.js +1 -1
  239. package/dist/index.cjs424.js.map +1 -1
  240. package/dist/index.cjs425.js +1 -1
  241. package/dist/index.cjs425.js.map +1 -1
  242. package/dist/index.cjs426.js +1 -1
  243. package/dist/index.cjs426.js.map +1 -1
  244. package/dist/index.cjs427.js +1 -1
  245. package/dist/index.cjs427.js.map +1 -1
  246. package/dist/index.cjs428.js +1 -1
  247. package/dist/index.cjs428.js.map +1 -1
  248. package/dist/index.cjs429.js +2 -0
  249. package/dist/index.cjs429.js.map +1 -0
  250. package/dist/index.cjs43.js.map +1 -1
  251. package/dist/index.cjs430.js +2 -0
  252. package/dist/index.cjs430.js.map +1 -0
  253. package/dist/index.cjs431.js +1 -1
  254. package/dist/index.cjs431.js.map +1 -1
  255. package/dist/index.cjs432.js +1 -1
  256. package/dist/index.cjs432.js.map +1 -1
  257. package/dist/index.cjs433.js +1 -1
  258. package/dist/index.cjs433.js.map +1 -1
  259. package/dist/index.cjs434.js +1 -1
  260. package/dist/index.cjs434.js.map +1 -1
  261. package/dist/index.cjs435.js +1 -1
  262. package/dist/index.cjs435.js.map +1 -1
  263. package/dist/index.cjs436.js +4 -1
  264. package/dist/index.cjs436.js.map +1 -1
  265. package/dist/index.cjs437.js +1 -1
  266. package/dist/index.cjs437.js.map +1 -1
  267. package/dist/index.cjs438.js +5 -1
  268. package/dist/index.cjs438.js.map +1 -1
  269. package/dist/index.cjs439.js +1 -1
  270. package/dist/index.cjs439.js.map +1 -1
  271. package/dist/index.cjs44.js.map +1 -1
  272. package/dist/index.cjs440.js +1 -1
  273. package/dist/index.cjs440.js.map +1 -1
  274. package/dist/index.cjs441.js +1 -1
  275. package/dist/index.cjs441.js.map +1 -1
  276. package/dist/index.cjs442.js +1 -27
  277. package/dist/index.cjs442.js.map +1 -1
  278. package/dist/index.cjs443.js +1 -1
  279. package/dist/index.cjs443.js.map +1 -1
  280. package/dist/index.cjs444.js +1 -1
  281. package/dist/index.cjs444.js.map +1 -1
  282. package/dist/index.cjs445.js +1 -1
  283. package/dist/index.cjs445.js.map +1 -1
  284. package/dist/index.cjs446.js +1 -1
  285. package/dist/index.cjs446.js.map +1 -1
  286. package/dist/index.cjs447.js +1 -1
  287. package/dist/index.cjs447.js.map +1 -1
  288. package/dist/index.cjs448.js +1 -1
  289. package/dist/index.cjs448.js.map +1 -1
  290. package/dist/index.cjs449.js +38 -2
  291. package/dist/index.cjs449.js.map +1 -1
  292. package/dist/index.cjs45.js.map +1 -1
  293. package/dist/index.cjs450.js +1 -5
  294. package/dist/index.cjs450.js.map +1 -1
  295. package/dist/index.cjs451.js +1 -1
  296. package/dist/index.cjs451.js.map +1 -1
  297. package/dist/index.cjs452.js +1 -1
  298. package/dist/index.cjs452.js.map +1 -1
  299. package/dist/index.cjs453.js +1 -1
  300. package/dist/index.cjs453.js.map +1 -1
  301. package/dist/index.cjs454.js +1 -1
  302. package/dist/index.cjs454.js.map +1 -1
  303. package/dist/index.cjs455.js +1 -1
  304. package/dist/index.cjs455.js.map +1 -1
  305. package/dist/index.cjs456.js +1 -1
  306. package/dist/index.cjs456.js.map +1 -1
  307. package/dist/index.cjs457.js +1 -1
  308. package/dist/index.cjs457.js.map +1 -1
  309. package/dist/index.cjs458.js +1 -1
  310. package/dist/index.cjs458.js.map +1 -1
  311. package/dist/index.cjs459.js +1 -1
  312. package/dist/index.cjs459.js.map +1 -1
  313. package/dist/index.cjs46.js.map +1 -1
  314. package/dist/index.cjs460.js +1 -1
  315. package/dist/index.cjs460.js.map +1 -1
  316. package/dist/index.cjs47.js.map +1 -1
  317. package/dist/index.cjs48.js.map +1 -1
  318. package/dist/index.cjs49.js.map +1 -1
  319. package/dist/index.cjs50.js.map +1 -1
  320. package/dist/index.cjs51.js.map +1 -1
  321. package/dist/index.cjs52.js.map +1 -1
  322. package/dist/index.cjs53.js.map +1 -1
  323. package/dist/index.cjs54.js.map +1 -1
  324. package/dist/index.cjs55.js.map +1 -1
  325. package/dist/index.cjs57.js.map +1 -1
  326. package/dist/index.cjs58.js.map +1 -1
  327. package/dist/index.cjs59.js.map +1 -1
  328. package/dist/index.cjs6.js.map +1 -1
  329. package/dist/index.cjs61.js.map +1 -1
  330. package/dist/index.cjs62.js.map +1 -1
  331. package/dist/index.cjs63.js.map +1 -1
  332. package/dist/index.cjs64.js.map +1 -1
  333. package/dist/index.cjs65.js.map +1 -1
  334. package/dist/index.cjs66.js.map +1 -1
  335. package/dist/index.cjs68.js.map +1 -1
  336. package/dist/index.cjs69.js.map +1 -1
  337. package/dist/index.cjs7.js.map +1 -1
  338. package/dist/index.cjs70.js.map +1 -1
  339. package/dist/index.cjs72.js.map +1 -1
  340. package/dist/index.cjs73.js.map +1 -1
  341. package/dist/index.cjs74.js.map +1 -1
  342. package/dist/index.cjs75.js.map +1 -1
  343. package/dist/index.cjs76.js.map +1 -1
  344. package/dist/index.cjs77.js.map +1 -1
  345. package/dist/index.cjs78.js.map +1 -1
  346. package/dist/index.cjs79.js.map +1 -1
  347. package/dist/index.cjs8.js.map +1 -1
  348. package/dist/index.cjs80.js.map +1 -1
  349. package/dist/index.cjs81.js.map +1 -1
  350. package/dist/index.cjs82.js.map +1 -1
  351. package/dist/index.cjs83.js.map +1 -1
  352. package/dist/index.cjs84.js.map +1 -1
  353. package/dist/index.cjs85.js.map +1 -1
  354. package/dist/index.cjs86.js.map +1 -1
  355. package/dist/index.cjs87.js.map +1 -1
  356. package/dist/index.cjs88.js.map +1 -1
  357. package/dist/index.cjs89.js.map +1 -1
  358. package/dist/index.cjs91.js.map +1 -1
  359. package/dist/index.cjs92.js.map +1 -1
  360. package/dist/index.cjs93.js.map +1 -1
  361. package/dist/index.cjs95.js.map +1 -1
  362. package/dist/index.cjs96.js.map +1 -1
  363. package/dist/index.cjs97.js.map +1 -1
  364. package/dist/index.cjs98.js.map +1 -1
  365. package/dist/index.cjs99.js.map +1 -1
  366. package/dist/index.d.ts +2 -1
  367. package/dist/index.es.js.map +1 -1
  368. package/dist/index.es10.js.map +1 -1
  369. package/dist/index.es100.js.map +1 -1
  370. package/dist/index.es102.js.map +1 -1
  371. package/dist/index.es104.js.map +1 -1
  372. package/dist/index.es105.js.map +1 -1
  373. package/dist/index.es106.js.map +1 -1
  374. package/dist/index.es107.js.map +1 -1
  375. package/dist/index.es108.js.map +1 -1
  376. package/dist/index.es109.js.map +1 -1
  377. package/dist/index.es11.js.map +1 -1
  378. package/dist/index.es110.js.map +1 -1
  379. package/dist/index.es111.js.map +1 -1
  380. package/dist/index.es112.js.map +1 -1
  381. package/dist/index.es113.js.map +1 -1
  382. package/dist/index.es115.js.map +1 -1
  383. package/dist/index.es116.js.map +1 -1
  384. package/dist/index.es118.js.map +1 -1
  385. package/dist/index.es12.js.map +1 -1
  386. package/dist/index.es120.js.map +1 -1
  387. package/dist/index.es121.js.map +1 -1
  388. package/dist/index.es122.js.map +1 -1
  389. package/dist/index.es123.js.map +1 -1
  390. package/dist/index.es124.js.map +1 -1
  391. package/dist/index.es125.js.map +1 -1
  392. package/dist/index.es126.js.map +1 -1
  393. package/dist/index.es127.js.map +1 -1
  394. package/dist/index.es128.js.map +1 -1
  395. package/dist/index.es129.js.map +1 -1
  396. package/dist/index.es13.js.map +1 -1
  397. package/dist/index.es130.js.map +1 -1
  398. package/dist/index.es131.js.map +1 -1
  399. package/dist/index.es132.js.map +1 -1
  400. package/dist/index.es133.js.map +1 -1
  401. package/dist/index.es134.js.map +1 -1
  402. package/dist/index.es135.js.map +1 -1
  403. package/dist/index.es136.js.map +1 -1
  404. package/dist/index.es137.js.map +1 -1
  405. package/dist/index.es138.js.map +1 -1
  406. package/dist/index.es139.js.map +1 -1
  407. package/dist/index.es14.js.map +1 -1
  408. package/dist/index.es140.js.map +1 -1
  409. package/dist/index.es141.js.map +1 -1
  410. package/dist/index.es142.js.map +1 -1
  411. package/dist/index.es143.js.map +1 -1
  412. package/dist/index.es144.js.map +1 -1
  413. package/dist/index.es145.js.map +1 -1
  414. package/dist/index.es146.js.map +1 -1
  415. package/dist/index.es147.js.map +1 -1
  416. package/dist/index.es148.js.map +1 -1
  417. package/dist/index.es149.js.map +1 -1
  418. package/dist/index.es15.js.map +1 -1
  419. package/dist/index.es150.js.map +1 -1
  420. package/dist/index.es151.js.map +1 -1
  421. package/dist/index.es152.js.map +1 -1
  422. package/dist/index.es153.js.map +1 -1
  423. package/dist/index.es154.js.map +1 -1
  424. package/dist/index.es155.js.map +1 -1
  425. package/dist/index.es156.js.map +1 -1
  426. package/dist/index.es157.js.map +1 -1
  427. package/dist/index.es158.js.map +1 -1
  428. package/dist/index.es159.js.map +1 -1
  429. package/dist/index.es16.js.map +1 -1
  430. package/dist/index.es160.js.map +1 -1
  431. package/dist/index.es161.js.map +1 -1
  432. package/dist/index.es162.js.map +1 -1
  433. package/dist/index.es163.js.map +1 -1
  434. package/dist/index.es164.js.map +1 -1
  435. package/dist/index.es165.js.map +1 -1
  436. package/dist/index.es166.js.map +1 -1
  437. package/dist/index.es167.js.map +1 -1
  438. package/dist/index.es168.js.map +1 -1
  439. package/dist/index.es17.js.map +1 -1
  440. package/dist/index.es174.js.map +1 -1
  441. package/dist/index.es175.js.map +1 -1
  442. package/dist/index.es176.js.map +1 -1
  443. package/dist/index.es177.js +76 -71
  444. package/dist/index.es177.js.map +1 -1
  445. package/dist/index.es178.js +11 -1
  446. package/dist/index.es178.js.map +1 -1
  447. package/dist/index.es18.js.map +1 -1
  448. package/dist/index.es182.js +63 -58
  449. package/dist/index.es182.js.map +1 -1
  450. package/dist/index.es19.js.map +1 -1
  451. package/dist/index.es191.js +29 -26
  452. package/dist/index.es191.js.map +1 -1
  453. package/dist/index.es195.js +18 -15
  454. package/dist/index.es195.js.map +1 -1
  455. package/dist/index.es198.js.map +1 -1
  456. package/dist/index.es20.js.map +1 -1
  457. package/dist/index.es201.js.map +1 -1
  458. package/dist/index.es204.js.map +1 -1
  459. package/dist/index.es208.js.map +1 -1
  460. package/dist/index.es21.js.map +1 -1
  461. package/dist/index.es211.js.map +1 -1
  462. package/dist/index.es217.js.map +1 -1
  463. package/dist/index.es218.js.map +1 -1
  464. package/dist/index.es219.js +1 -4
  465. package/dist/index.es219.js.map +1 -1
  466. package/dist/index.es22.js.map +1 -1
  467. package/dist/index.es226.js.map +1 -1
  468. package/dist/index.es229.js.map +1 -1
  469. package/dist/index.es23.js.map +1 -1
  470. package/dist/index.es234.js.map +1 -1
  471. package/dist/index.es235.js +1 -1
  472. package/dist/index.es240.js.map +1 -1
  473. package/dist/index.es242.js +7 -7
  474. package/dist/index.es243.js.map +1 -1
  475. package/dist/index.es244.js.map +1 -1
  476. package/dist/index.es245.js.map +1 -1
  477. package/dist/index.es246.js.map +1 -1
  478. package/dist/index.es248.js.map +1 -1
  479. package/dist/index.es249.js +1 -1
  480. package/dist/index.es249.js.map +1 -1
  481. package/dist/index.es25.js.map +1 -1
  482. package/dist/index.es250.js.map +1 -1
  483. package/dist/index.es253.js.map +1 -1
  484. package/dist/index.es254.js +1 -1
  485. package/dist/index.es254.js.map +1 -1
  486. package/dist/index.es259.js.map +1 -1
  487. package/dist/index.es260.js.map +1 -1
  488. package/dist/index.es261.js +1 -1
  489. package/dist/index.es261.js.map +1 -1
  490. package/dist/index.es263.js.map +1 -1
  491. package/dist/index.es264.js.map +1 -1
  492. package/dist/index.es265.js.map +1 -1
  493. package/dist/index.es268.js.map +1 -1
  494. package/dist/index.es27.js.map +1 -1
  495. package/dist/index.es28.js.map +1 -1
  496. package/dist/index.es30.js.map +1 -1
  497. package/dist/index.es308.js +1 -1
  498. package/dist/index.es31.js.map +1 -1
  499. package/dist/index.es316.js.map +1 -1
  500. package/dist/index.es32.js.map +1 -1
  501. package/dist/index.es321.js +8 -8
  502. package/dist/index.es327.js.map +1 -1
  503. package/dist/index.es329.js.map +1 -1
  504. package/dist/index.es33.js.map +1 -1
  505. package/dist/index.es333.js.map +1 -1
  506. package/dist/index.es335.js +3 -3
  507. package/dist/index.es336.js +2 -2
  508. package/dist/index.es337.js +3 -3
  509. package/dist/index.es34.js +55 -48
  510. package/dist/index.es34.js.map +1 -1
  511. package/dist/index.es344.js +1 -1
  512. package/dist/index.es35.js.map +1 -1
  513. package/dist/index.es351.js +2 -2
  514. package/dist/index.es355.js +1 -1
  515. package/dist/index.es356.js +146 -307
  516. package/dist/index.es356.js.map +1 -1
  517. package/dist/index.es36.js.map +1 -1
  518. package/dist/index.es360.js +1 -1
  519. package/dist/index.es361.js +1 -1
  520. package/dist/index.es362.js +12 -12
  521. package/dist/index.es363.js +1 -1
  522. package/dist/index.es365.js.map +1 -1
  523. package/dist/index.es369.js +1 -1
  524. package/dist/index.es37.js.map +1 -1
  525. package/dist/index.es370.js +1 -1
  526. package/dist/index.es373.js +13 -133
  527. package/dist/index.es373.js.map +1 -1
  528. package/dist/index.es375.js +122 -12
  529. package/dist/index.es375.js.map +1 -1
  530. package/dist/index.es376.js +134 -8
  531. package/dist/index.es376.js.map +1 -1
  532. package/dist/index.es377.js +14 -50
  533. package/dist/index.es377.js.map +1 -1
  534. package/dist/index.es378.js +13 -51
  535. package/dist/index.es378.js.map +1 -1
  536. package/dist/index.es379.js +12 -0
  537. package/dist/index.es379.js.map +1 -0
  538. package/dist/index.es38.js.map +1 -1
  539. package/dist/index.es380.js +53 -0
  540. package/dist/index.es380.js.map +1 -0
  541. package/dist/index.es381.js +56 -0
  542. package/dist/index.es381.js.map +1 -0
  543. package/dist/index.es39.js.map +1 -1
  544. package/dist/index.es396.js +2031 -10
  545. package/dist/index.es396.js.map +1 -1
  546. package/dist/index.es397.js +57 -43
  547. package/dist/index.es397.js.map +1 -1
  548. package/dist/index.es398.js +188 -7
  549. package/dist/index.es398.js.map +1 -1
  550. package/dist/index.es399.js +3671 -214
  551. package/dist/index.es399.js.map +1 -1
  552. package/dist/index.es40.js.map +1 -1
  553. package/dist/index.es400.js +5 -177
  554. package/dist/index.es400.js.map +1 -1
  555. package/dist/index.es401.js +2 -4
  556. package/dist/index.es401.js.map +1 -1
  557. package/dist/index.es402.js +5 -11
  558. package/dist/index.es402.js.map +1 -1
  559. package/dist/index.es403.js +512 -196
  560. package/dist/index.es403.js.map +1 -1
  561. package/dist/index.es404.js +2 -22
  562. package/dist/index.es404.js.map +1 -1
  563. package/dist/index.es405.js +2 -393
  564. package/dist/index.es405.js.map +1 -1
  565. package/dist/index.es406.js +10 -5
  566. package/dist/index.es406.js.map +1 -1
  567. package/dist/index.es407.js +44 -23
  568. package/dist/index.es407.js.map +1 -1
  569. package/dist/index.es408.js +8 -29
  570. package/dist/index.es408.js.map +1 -1
  571. package/dist/index.es409.js +218 -5
  572. package/dist/index.es409.js.map +1 -1
  573. package/dist/index.es41.js.map +1 -1
  574. package/dist/index.es410.js +178 -5
  575. package/dist/index.es410.js.map +1 -1
  576. package/dist/index.es411.js +4 -3
  577. package/dist/index.es411.js.map +1 -1
  578. package/dist/index.es412.js +2 -26
  579. package/dist/index.es412.js.map +1 -1
  580. package/dist/index.es413.js +10 -108
  581. package/dist/index.es413.js.map +1 -1
  582. package/dist/index.es414.js +131 -14
  583. package/dist/index.es414.js.map +1 -1
  584. package/dist/index.es415.js +168 -513
  585. package/dist/index.es415.js.map +1 -1
  586. package/dist/index.es416.js +9 -126
  587. package/dist/index.es416.js.map +1 -1
  588. package/dist/index.es417.js +3 -128
  589. package/dist/index.es417.js.map +1 -1
  590. package/dist/index.es418.js +200 -60
  591. package/dist/index.es418.js.map +1 -1
  592. package/dist/index.es419.js +22 -69
  593. package/dist/index.es419.js.map +1 -1
  594. package/dist/index.es42.js.map +1 -1
  595. package/dist/index.es420.js +391 -7
  596. package/dist/index.es420.js.map +1 -1
  597. package/dist/index.es421.js +25 -14
  598. package/dist/index.es421.js.map +1 -1
  599. package/dist/index.es422.js +27 -60
  600. package/dist/index.es422.js.map +1 -1
  601. package/dist/index.es423.js +5 -4
  602. package/dist/index.es423.js.map +1 -1
  603. package/dist/index.es424.js +81 -21
  604. package/dist/index.es424.js.map +1 -1
  605. package/dist/index.es425.js +5 -13
  606. package/dist/index.es425.js.map +1 -1
  607. package/dist/index.es426.js +4 -28
  608. package/dist/index.es426.js.map +1 -1
  609. package/dist/index.es427.js +5 -5
  610. package/dist/index.es427.js.map +1 -1
  611. package/dist/index.es428.js +10 -23
  612. package/dist/index.es428.js.map +1 -1
  613. package/dist/index.es429.js +59 -0
  614. package/dist/index.es429.js.map +1 -0
  615. package/dist/index.es43.js.map +1 -1
  616. package/dist/index.es430.js +11 -0
  617. package/dist/index.es430.js.map +1 -0
  618. package/dist/index.es431.js +5 -2031
  619. package/dist/index.es431.js.map +1 -1
  620. package/dist/index.es432.js +529 -56
  621. package/dist/index.es432.js.map +1 -1
  622. package/dist/index.es433.js +5 -189
  623. package/dist/index.es433.js.map +1 -1
  624. package/dist/index.es434.js +3 -5
  625. package/dist/index.es434.js.map +1 -1
  626. package/dist/index.es435.js +24 -4
  627. package/dist/index.es435.js.map +1 -1
  628. package/dist/index.es436.js +109 -4
  629. package/dist/index.es436.js.map +1 -1
  630. package/dist/index.es437.js +15 -9
  631. package/dist/index.es437.js.map +1 -1
  632. package/dist/index.es438.js +36 -52
  633. package/dist/index.es438.js.map +1 -1
  634. package/dist/index.es439.js +2 -8
  635. package/dist/index.es439.js.map +1 -1
  636. package/dist/index.es44.js.map +1 -1
  637. package/dist/index.es440.js +2 -6
  638. package/dist/index.es440.js.map +1 -1
  639. package/dist/index.es441.js +2 -533
  640. package/dist/index.es441.js.map +1 -1
  641. package/dist/index.es442.js +3 -3675
  642. package/dist/index.es442.js.map +1 -1
  643. package/dist/index.es443.js +2 -2
  644. package/dist/index.es443.js.map +1 -1
  645. package/dist/index.es444.js +3 -9
  646. package/dist/index.es444.js.map +1 -1
  647. package/dist/index.es445.js +4 -177
  648. package/dist/index.es445.js.map +1 -1
  649. package/dist/index.es446.js +522 -3
  650. package/dist/index.es446.js.map +1 -1
  651. package/dist/index.es447.js +124 -130
  652. package/dist/index.es447.js.map +1 -1
  653. package/dist/index.es448.js +128 -5
  654. package/dist/index.es448.js.map +1 -1
  655. package/dist/index.es449.js +62 -514
  656. package/dist/index.es449.js.map +1 -1
  657. package/dist/index.es45.js.map +1 -1
  658. package/dist/index.es450.js +9 -40
  659. package/dist/index.es450.js.map +1 -1
  660. package/dist/index.es451.js +14 -2
  661. package/dist/index.es451.js.map +1 -1
  662. package/dist/index.es452.js +62 -2
  663. package/dist/index.es452.js.map +1 -1
  664. package/dist/index.es453.js +65 -2
  665. package/dist/index.es453.js.map +1 -1
  666. package/dist/index.es454.js +4 -3
  667. package/dist/index.es454.js.map +1 -1
  668. package/dist/index.es455.js +4 -2
  669. package/dist/index.es455.js.map +1 -1
  670. package/dist/index.es456.js +22 -3
  671. package/dist/index.es456.js.map +1 -1
  672. package/dist/index.es457.js +23 -5
  673. package/dist/index.es457.js.map +1 -1
  674. package/dist/index.es458.js +13 -4
  675. package/dist/index.es458.js.map +1 -1
  676. package/dist/index.es459.js +30 -2
  677. package/dist/index.es459.js.map +1 -1
  678. package/dist/index.es46.js.map +1 -1
  679. package/dist/index.es460.js +5 -83
  680. package/dist/index.es460.js.map +1 -1
  681. package/dist/index.es47.js.map +1 -1
  682. package/dist/index.es48.js.map +1 -1
  683. package/dist/index.es49.js.map +1 -1
  684. package/dist/index.es50.js.map +1 -1
  685. package/dist/index.es51.js.map +1 -1
  686. package/dist/index.es52.js.map +1 -1
  687. package/dist/index.es53.js.map +1 -1
  688. package/dist/index.es54.js.map +1 -1
  689. package/dist/index.es55.js.map +1 -1
  690. package/dist/index.es57.js.map +1 -1
  691. package/dist/index.es58.js.map +1 -1
  692. package/dist/index.es59.js.map +1 -1
  693. package/dist/index.es6.js.map +1 -1
  694. package/dist/index.es61.js.map +1 -1
  695. package/dist/index.es62.js.map +1 -1
  696. package/dist/index.es63.js.map +1 -1
  697. package/dist/index.es64.js.map +1 -1
  698. package/dist/index.es65.js.map +1 -1
  699. package/dist/index.es66.js.map +1 -1
  700. package/dist/index.es68.js.map +1 -1
  701. package/dist/index.es69.js.map +1 -1
  702. package/dist/index.es7.js.map +1 -1
  703. package/dist/index.es70.js.map +1 -1
  704. package/dist/index.es72.js.map +1 -1
  705. package/dist/index.es73.js.map +1 -1
  706. package/dist/index.es74.js.map +1 -1
  707. package/dist/index.es75.js.map +1 -1
  708. package/dist/index.es76.js.map +1 -1
  709. package/dist/index.es77.js.map +1 -1
  710. package/dist/index.es78.js.map +1 -1
  711. package/dist/index.es79.js.map +1 -1
  712. package/dist/index.es8.js.map +1 -1
  713. package/dist/index.es80.js.map +1 -1
  714. package/dist/index.es81.js.map +1 -1
  715. package/dist/index.es82.js.map +1 -1
  716. package/dist/index.es83.js.map +1 -1
  717. package/dist/index.es84.js.map +1 -1
  718. package/dist/index.es85.js.map +1 -1
  719. package/dist/index.es86.js.map +1 -1
  720. package/dist/index.es87.js.map +1 -1
  721. package/dist/index.es88.js.map +1 -1
  722. package/dist/index.es89.js.map +1 -1
  723. package/dist/index.es91.js.map +1 -1
  724. package/dist/index.es92.js.map +1 -1
  725. package/dist/index.es93.js.map +1 -1
  726. package/dist/index.es95.js.map +1 -1
  727. package/dist/index.es96.js.map +1 -1
  728. package/dist/index.es97.js.map +1 -1
  729. package/dist/index.es98.js.map +1 -1
  730. package/dist/index.es99.js.map +1 -1
  731. package/package.json +112 -112
  732. package/readme.md +42 -42
  733. package/dist/index.cjs371.js +0 -2
  734. package/dist/index.cjs371.js.map +0 -1
  735. package/dist/index.cjs372.js +0 -2
  736. package/dist/index.cjs372.js.map +0 -1
  737. package/dist/index.cjs374.js +0 -2
  738. package/dist/index.cjs374.js.map +0 -1
  739. package/dist/index.cjs385.js +0 -2
  740. package/dist/index.cjs385.js.map +0 -1
  741. package/dist/index.cjs386.js +0 -2
  742. package/dist/index.cjs386.js.map +0 -1
  743. package/dist/index.es371.js +0 -18
  744. package/dist/index.es371.js.map +0 -1
  745. package/dist/index.es372.js +0 -128
  746. package/dist/index.es372.js.map +0 -1
  747. package/dist/index.es374.js +0 -17
  748. package/dist/index.es374.js.map +0 -1
  749. package/dist/index.es385.js +0 -5
  750. package/dist/index.es385.js.map +0 -1
  751. package/dist/index.es386.js +0 -5
  752. package/dist/index.es386.js.map +0 -1
  753. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs34.js","sources":["../src/components/ui/AuthorWithImage/index.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { AuthorBlock } from \"../AuthorBlock\";\nimport \"./AuthorWithImage.scss\";\nimport { fromISODateToDateFormatted } from \"@/utils/dates\";\nimport { useCopyToClipboardCurrentPage } from \"@/hooks/useCopyToClipboardCurrentPage\";\nimport { useAlertDialog } from \"@/hooks/useAlert\";\nimport { getFullNameInitials } from \"@/utils/getFullNameInitials\";\nimport { Row } from \"../Row\";\nimport { CopyLink, ShareLink } from \"@/icons\";\nimport { splitInTwo } from \"@/utils/splitInTwo\";\nimport { ActionIconText } from \"../ActionIconText\";\nimport { CardCategory, Col } from \"@/components\";\nimport { Tags } from \"@/sections\";\n\nexport type VariantType = \"Servizio\" | \"Evento\" | \"Approfondimento\";\n\ninterface AuthorWithImageProps {\n service: {\n name: string;\n previewImageUrl?: string;\n previewImageTitle?: string;\n updatedBy?: {\n name?: string;\n surname?: string;\n };\n updatedAt?: string;\n readingTime?: string;\n };\n publishedLabel?: string;\n readingTimeLabel?: string;\n readingMinuteLabel?: string;\n shareLabel?: string;\n copyLinkLabel?: string;\n copiedTextLabel?: string;\n ImageComponent?: \"img\" | React.ComponentType<any>;\n imageProps?: Record<string, any>;\n variant?: VariantType;\n}\n\nexport const AuthorWithImage = ({\n service,\n ImageComponent = \"img\",\n imageProps = {},\n variant = \"Servizio\",\n publishedLabel = \"Pubblicato\",\n readingTimeLabel = \"Tempo di lettura\",\n readingMinuteLabel = \"min\",\n shareLabel = \"Condividi\",\n copyLinkLabel = \"Copia link\",\n copiedTextLabel = \"Link copiato\",\n}: AuthorWithImageProps) => {\n const { copyToClipboard, isCopied } = useCopyToClipboardCurrentPage();\n const { openAlert } = useAlertDialog();\n const avatarInitials = useMemo(() => {\n if (!service?.updatedBy) return \"-\";\n return getFullNameInitials(\n service.updatedBy.name ?? \"\",\n service.updatedBy.surname ?? \"\",\n );\n }, [service.updatedBy]);\n console.log(variant);\n\n const [firstTitleLine, secondTitleLine] = useMemo(() => {\n if (service.previewImageTitle) {\n return splitInTwo(service.previewImageTitle?.toUpperCase());\n }\n return [\"\", \"\"];\n }, [service]);\n\n const readingTimeInMinutes = useMemo(() => {\n const readingTime = service.readingTime ?? \"0\";\n return Math.ceil(Number(readingTime) / 60)?.toString() || \"0\";\n }, [service]);\n\n const renderImage = () => {\n if (!service.previewImageUrl) return null;\n\n if (variant === \"Evento\") {\n return (\n <div className=\"event-image-container\">\n <img\n alt={`Evento ${service.name} background`}\n src={service.previewImageUrl}\n className=\"event-image\"\n />\n <div className={\"event-content-overlay w-full\"}>\n <Row gap={\"x24\"} alignItems={\"end\"}>\n <img\n src={service.previewImageUrl}\n alt={`Evento ${service.name}`}\n />\n <div style={{ width: \"437px\" }}>\n <Col gap={\"x32\"}>\n <CardCategory\n title={\"Milano, 13 - 14 ottobre 2022\"}\n className={\"w-full\"}\n description={\"Sede dell'evento\"}\n description2={\n \"Istituto Superiore di Sanità - Viale Regina Elena, 299 - Roma\"\n }\n />\n <Tags\n title={\"Argomenti trattati\"}\n items={[\n \"Organizzazione mondiale della sanità\",\n \"GMHS\",\n \"Salute mentale\",\n ]}\n />\n </Col>\n </div>\n </Row>\n </div>\n </div>\n );\n }\n\n return (\n <div className=\"fullscreen-image-container\">\n <ImageComponent\n alt={`Service ${service.name} image`}\n src={service.previewImageUrl}\n style={{ aspectRatio: 21 / 9 }}\n {...imageProps}\n />\n <p className={\"short-title\"}>\n <span>{firstTitleLine}</span>\n <span>{secondTitleLine}</span>\n </p>\n </div>\n );\n };\n\n return (\n <>\n <div className={\"action-author\"}>\n <AuthorBlock\n authorName={\n service?.updatedBy?.name\n ? `${service?.updatedBy?.name} ${service?.updatedBy?.surname}`\n : \"-\"\n }\n avatar={{ initials: avatarInitials }}\n publishedLabel={publishedLabel}\n publishedDate={\n fromISODateToDateFormatted(service.updatedAt ?? \"\", \"it\") ?? \"-\"\n }\n readingTimeLabel={readingTimeLabel}\n readingTimeValue={readingTimeInMinutes}\n readingMinuteLabel={readingMinuteLabel}\n />\n <Row gap={\"x8\"} className={\"action-link\"}>\n <ActionIconText\n textLabel={shareLabel}\n icon={<ShareLink />}\n handleAction={openAlert}\n classNameText={\"fw-bold\"}\n />\n <div className={\"share-divider\"}>\n <ActionIconText\n textLabel={isCopied ? copiedTextLabel : copyLinkLabel}\n icon={<CopyLink />}\n handleAction={copyToClipboard}\n classNameText={\"fw-bold\"}\n />\n </div>\n </Row>\n </div>\n\n {renderImage()}\n {/*{service.previewImageUrl && (*/}\n {/* <div className=\"fullscreen-image-container\">*/}\n {/* <ImageComponent*/}\n {/* alt={`Service ${service.name} image`}*/}\n {/* src={service.previewImageUrl}*/}\n {/* style={{ aspectRatio: 21 / 9 }}*/}\n {/* {...imageProps}*/}\n {/* />*/}\n {/* <p className={\"short-title\"}>*/}\n {/* <span>{firstTitleLine}</span>*/}\n {/* <span>{secondTitleLine}</span>*/}\n {/* </p>*/}\n {/* </div>*/}\n {/*)}*/}\n </>\n );\n};\n"],"names":["AuthorWithImage","service","ImageComponent","imageProps","variant","publishedLabel","readingTimeLabel","readingMinuteLabel","shareLabel","copyLinkLabel","copiedTextLabel","copyToClipboard","isCopied","useCopyToClipboardCurrentPage","openAlert","useAlertDialog","avatarInitials","useMemo","getFullNameInitials","firstTitleLine","secondTitleLine","splitInTwo","_a","readingTimeInMinutes","readingTime","renderImage","jsxs","jsx","Row","Col","CardCategory","Tags","Fragment","AuthorBlock","_b","_c","fromISODateToDateFormatted","ActionIconText","ShareLink","CopyLink"],"mappings":"wjBAuCaA,EAAkB,CAAC,CAC9B,QAAAC,EACA,eAAAC,EAAiB,MACjB,WAAAC,EAAa,CAAC,EACd,QAAAC,EAAU,WACV,eAAAC,EAAiB,aACjB,iBAAAC,EAAmB,mBACnB,mBAAAC,EAAqB,MACrB,WAAAC,EAAa,YACb,cAAAC,EAAgB,aAChB,gBAAAC,EAAkB,cACpB,IAA4B,WAC1B,KAAM,CAAE,gBAAAC,EAAiB,SAAAC,CAAS,EAAIC,gCAA8B,EAC9D,CAAE,UAAAC,CAAU,EAAIC,iBAAe,EAC/BC,EAAiBC,EAAAA,QAAQ,IACxBhB,GAAA,MAAAA,EAAS,UACPiB,EAAA,oBACLjB,EAAQ,UAAU,MAAQ,GAC1BA,EAAQ,UAAU,SAAW,EAC/B,EAJgC,IAK/B,CAACA,EAAQ,SAAS,CAAC,EACtB,QAAQ,IAAIG,CAAO,EAEnB,KAAM,CAACe,EAAgBC,CAAe,EAAIH,UAAQ,IAAM,OACtD,OAAIhB,EAAQ,kBACHoB,cAAWC,EAAArB,EAAQ,oBAAR,YAAAqB,EA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["../src/components/ui/AuthorWithImage/index.tsx"],"sourcesContent":["import { useMemo } from \"react\";\nimport { AuthorBlock } from \"../AuthorBlock\";\nimport \"./AuthorWithImage.scss\";\nimport { fromISODateToDateFormatted } from \"@/utils/dates\";\nimport { useCopyToClipboardCurrentPage } from \"@/hooks/useCopyToClipboardCurrentPage\";\nimport { useAlertDialog } from \"@/hooks/useAlert\";\nimport { getFullNameInitials } from \"@/utils/getFullNameInitials\";\nimport { Row } from \"../Row\";\nimport { CopyLink, ShareLink } from \"@/icons\";\nimport { splitInTwo } from \"@/utils/splitInTwo\";\nimport { ActionIconText } from \"../ActionIconText\";\nimport { CardCategory, Col } from \"@/components\";\nimport { Tags } from \"@/sections\";\n\nexport type VariantType = \"Servizio\" | \"Evento\" | \"Approfondimento\";\n\ninterface AuthorWithImageProps {\n service: {\n name: string;\n previewImageUrl?: string;\n previewImageTitle?: string;\n updatedBy?: {\n name?: string;\n surname?: string;\n };\n updatedAt?: string;\n readingTime?: string;\n };\n publishedLabel?: string;\n readingTimeLabel?: string;\n readingMinuteLabel?: string;\n shareLabel?: string;\n copyLinkLabel?: string;\n copiedTextLabel?: string;\n ImageComponent?: \"img\" | React.ComponentType<any>;\n imageProps?: Record<string, any>;\n variant?: VariantType;\n isPreview?: boolean;\n}\n\nexport const AuthorWithImage = ({\n service,\n ImageComponent = \"img\",\n imageProps = {},\n variant = \"Servizio\",\n publishedLabel = \"Pubblicato\",\n readingTimeLabel = \"Tempo di lettura\",\n readingMinuteLabel = \"min\",\n shareLabel = \"Condividi\",\n copyLinkLabel = \"Copia link\",\n copiedTextLabel = \"Link copiato\",\n isPreview = false,\n}: AuthorWithImageProps) => {\n const { copyToClipboard, isCopied } = useCopyToClipboardCurrentPage();\n const { openAlert } = useAlertDialog();\n const avatarInitials = useMemo(() => {\n if (!service?.updatedBy) return \"-\";\n return getFullNameInitials(\n service.updatedBy.name ?? \"\",\n service.updatedBy.surname ?? \"\",\n );\n }, [service.updatedBy]);\n console.log(variant);\n\n const [firstTitleLine, secondTitleLine] = useMemo(() => {\n if (service.previewImageTitle) {\n return splitInTwo(service.previewImageTitle?.toUpperCase());\n }\n return [\"\", \"\"];\n }, [service]);\n\n const readingTimeInMinutes = useMemo(() => {\n const readingTime = service.readingTime ?? \"0\";\n return Math.ceil(Number(readingTime) / 60)?.toString() || \"0\";\n }, [service]);\n\n const renderImage = () => {\n if (!service.previewImageUrl) return null;\n\n if (variant === \"Evento\") {\n return (\n <div className=\"event-image-container\">\n <img\n alt={`Evento ${service.name} background`}\n src={service.previewImageUrl}\n className=\"event-image\"\n />\n <div className={\"event-content-overlay w-full\"}>\n <Row gap={\"x24\"} alignItems={\"end\"}>\n <img\n src={service.previewImageUrl}\n alt={`Evento ${service.name}`}\n />\n <div style={{ width: \"437px\" }}>\n <Col gap={\"x32\"}>\n <CardCategory\n title={\"Milano, 13 - 14 ottobre 2022\"}\n className={\"w-full\"}\n description={\"Sede dell'evento\"}\n description2={\n \"Istituto Superiore di Sanità - Viale Regina Elena, 299 - Roma\"\n }\n />\n <Tags\n title={\"Argomenti trattati\"}\n items={[\n \"Organizzazione mondiale della sanità\",\n \"GMHS\",\n \"Salute mentale\",\n ]}\n />\n </Col>\n </div>\n </Row>\n </div>\n </div>\n );\n }\n\n return (\n <div\n className={\n isPreview ? \"service-detail-image\" : \"fullscreen-image-container\"\n }\n >\n <ImageComponent\n alt={`Service ${service.name} image`}\n src={service.previewImageUrl}\n style={{ aspectRatio: 21 / 9 }}\n {...imageProps}\n />\n <p className={\"short-title\"}>\n <span>{firstTitleLine}</span>\n <span>{secondTitleLine}</span>\n </p>\n </div>\n );\n };\n\n return (\n <>\n <div className={\"action-author\"}>\n <AuthorBlock\n authorName={\n service?.updatedBy?.name\n ? `${service?.updatedBy?.name} ${service?.updatedBy?.surname}`\n : \"-\"\n }\n avatar={{ initials: avatarInitials }}\n publishedLabel={publishedLabel}\n publishedDate={\n fromISODateToDateFormatted(service.updatedAt ?? \"\", \"it\") ?? \"-\"\n }\n readingTimeLabel={readingTimeLabel}\n readingTimeValue={readingTimeInMinutes}\n readingMinuteLabel={readingMinuteLabel}\n />\n <Row gap={\"x8\"} className={\"action-link\"}>\n <ActionIconText\n textLabel={shareLabel}\n icon={<ShareLink />}\n handleAction={openAlert}\n classNameText={\"fw-bold\"}\n />\n <div className={\"share-divider\"}>\n <ActionIconText\n textLabel={isCopied ? copiedTextLabel : copyLinkLabel}\n icon={<CopyLink />}\n handleAction={copyToClipboard}\n classNameText={\"fw-bold\"}\n />\n </div>\n </Row>\n </div>\n\n {renderImage()}\n {/*{service.previewImageUrl && (*/}\n {/* <div className=\"fullscreen-image-container\">*/}\n {/* <ImageComponent*/}\n {/* alt={`Service ${service.name} image`}*/}\n {/* src={service.previewImageUrl}*/}\n {/* style={{ aspectRatio: 21 / 9 }}*/}\n {/* {...imageProps}*/}\n {/* />*/}\n {/* <p className={\"short-title\"}>*/}\n {/* <span>{firstTitleLine}</span>*/}\n {/* <span>{secondTitleLine}</span>*/}\n {/* </p>*/}\n {/* </div>*/}\n {/*)}*/}\n </>\n );\n};\n"],"names":["AuthorWithImage","service","ImageComponent","imageProps","variant","publishedLabel","readingTimeLabel","readingMinuteLabel","shareLabel","copyLinkLabel","copiedTextLabel","isPreview","copyToClipboard","isCopied","useCopyToClipboardCurrentPage","openAlert","useAlertDialog","avatarInitials","useMemo","getFullNameInitials","firstTitleLine","secondTitleLine","splitInTwo","_a","readingTimeInMinutes","readingTime","renderImage","jsxs","jsx","Row","Col","CardCategory","Tags","Fragment","AuthorBlock","_b","_c","fromISODateToDateFormatted","ActionIconText","ShareLink","CopyLink"],"mappings":"wjBAwCaA,EAAkB,CAAC,CAC9B,QAAAC,EACA,eAAAC,EAAiB,MACjB,WAAAC,EAAa,CAAC,EACd,QAAAC,EAAU,WACV,eAAAC,EAAiB,aACjB,iBAAAC,EAAmB,mBACnB,mBAAAC,EAAqB,MACrB,WAAAC,EAAa,YACb,cAAAC,EAAgB,aAChB,gBAAAC,EAAkB,eA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oB,EAAA,kBAAA,KAAAE,EAAA,IAAA,CAAI,IAAK,KAAM,UAAW,cACzB,SAAA,CAAAD,EAAA,kBAAA,IAACU,EAAA,eAAA,CACC,UAAW9B,EACX,6BAAO+B,EAAU,UAAA,EAAA,EACjB,aAAcxB,EACd,cAAe,SAAA,CACjB,EACAa,EAAAA,kBAAAA,IAAC,MAAI,CAAA,UAAW,gBACd,SAAAA,EAAA,kBAAA,IAACU,EAAA,eAAA,CACC,UAAWzB,EAAWH,EAAkBD,EACxC,6BAAO+B,EAAS,SAAA,EAAA,EAChB,aAAc5B,EACd,cAAe,SAAA,CAAA,CAEnB,CAAA,CAAA,CACF,CAAA,CAAA,EACF,EAECc,EAAY,CAAA,EAef,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs442.js");var r=e.__require();exports.lodashExports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs399.js");var r=e.__require();exports.lodashExports=r;
2
2
  //# sourceMappingURL=index.cjs344.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs35.js","sources":["../src/components/ui/VideoPlayer/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\nimport \"./VideoPlayer.scss\";\nimport { ArrowDown } from \"@/icons/ArrowDown\";\nimport { useState } from \"react\";\nimport { Col } from \"@/components\";\n\ntype Image = {\n alt: string;\n src: string;\n title: string;\n};\n\nconst sizeStyles = {\n small: {\n width: \"311px\",\n },\n medium: {\n width: \"388px\",\n },\n large: {\n width: \"666px\",\n },\n};\n\nconst imgSize = {\n small: {\n heightImg: \"170px\",\n },\n medium: {\n heightImg: \"183px\",\n },\n large: {\n heightImg: \"371px\",\n },\n};\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype VideoPlayerProps = {\n btnText: string;\n sizeComp?: \"small\" | \"medium\" | \"large\";\n titleTag: HeadingLevel;\n image?: Image;\n asImage?: \"img\";\n};\n\nexport const VideoPlayer = ({\n btnText = \"Trascrizione\",\n sizeComp = \"large\",\n titleTag: TitleTag = \"h3\",\n image,\n asImage = \"img\",\n}: VideoPlayerProps) => {\n const ImageComponent = asImage;\n const { width } = sizeStyles[sizeComp];\n const { heightImg } = imgSize[sizeComp];\n const [isExpanded, setExpanded] = useState(false);\n return (\n <Col\n br={\"x4\"}\n style={{ width: width }}\n className={clsx(\"shadow\", isExpanded && \"ui-expanded\")}\n >\n {/*to be replaced with video player*/}\n <div\n style={{ height: heightImg }}\n className={clsx(\"cardImgWrapper\", \"w-full\")}\n >\n <ImageComponent\n src={image?.src}\n className={clsx(\"cardImg\", \"br-x4 h-full w-full\")}\n alt=\"...\"\n />\n <div className={clsx(\"cardImgMask\")}></div>\n </div>\n <div\n className={clsx(\n \"accordion\",\n \"base-row justify-content-between align-items-center px-x24 w-full flex-1\",\n )}\n >\n <button\n className={clsx(\n \"ui-btn-accordion\",\n \"base-row justify-content-between align-items-center\",\n )}\n type=\"button\"\n onClick={() => setExpanded(!isExpanded)}\n >\n <TitleTag\n className={clsx(\n \"fw-semibold text-primary base-col justify-content-center\",\n )}\n >\n {btnText}\n </TitleTag>\n <ArrowDown\n color={\"primary\"}\n className={clsx(\"ui-arrow\", { [\"expanded\"]: isExpanded })}\n />\n </button>\n </div>\n {isExpanded && (\n <div\n className={clsx(\n \"pt-x8 px-x24 pb-x40 fs-6 fw-regular text-grey-black\",\n )}\n >\n <p>\n Placeholder content for this accordion, which is intended to\n demonstrate the <code>.accordion-flush</code> class. This is the\n first item's accordion body.\n </p>\n </div>\n )}\n </Col>\n );\n};\n"],"names":["sizeStyles","imgSize","VideoPlayer","btnText","sizeComp","TitleTag","image","asImage","ImageComponent","width","heightImg","isExpanded","setExpanded","useState","jsxs","Col","clsx","jsx","ArrowDown"],"mappings":"uQAYMA,EAAa,CACjB,MAAO,CACL,MAAO,OACT,EACA,OAAQ,CACN,MAAO,OACT,EACA,MAAO,CACL,MA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,UAAWF,EAAAA,KAAK,WAAY,CAAG,SAAaL,CAAY,CAAA,CAAA,CAAA,CAC1D,CAAA,CAAA,CACF,CACF,EACCA,GACCM,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWD,EAAA,KACT,qDACF,EAEA,kCAAC,IAAE,CAAA,SAAA,CAAA,gFAEeC,EAAAA,kBAAAA,IAAC,QAAK,SAAgB,kBAAA,CAAA,EAAO,kDAAA,CAE/C,CAAA,CAAA,CAAA,CACF,CAAA,CAEJ,CAEJ"}
1
+ {"version":3,"file":"index.cjs35.js","sources":["../src/components/ui/VideoPlayer/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./VideoPlayer.scss\";\r\nimport { ArrowDown } from \"@/icons/ArrowDown\";\r\nimport { useState } from \"react\";\r\nimport { Col } from \"@/components\";\r\n\r\ntype Image = {\r\n alt: string;\r\n src: string;\r\n title: string;\r\n};\r\n\r\nconst sizeStyles = {\r\n small: {\r\n width: \"311px\",\r\n },\r\n medium: {\r\n width: \"388px\",\r\n },\r\n large: {\r\n width: \"666px\",\r\n },\r\n};\r\n\r\nconst imgSize = {\r\n small: {\r\n heightImg: \"170px\",\r\n },\r\n medium: {\r\n heightImg: \"183px\",\r\n },\r\n large: {\r\n heightImg: \"371px\",\r\n },\r\n};\r\n\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\n\r\ntype VideoPlayerProps = {\r\n btnText: string;\r\n sizeComp?: \"small\" | \"medium\" | \"large\";\r\n titleTag: HeadingLevel;\r\n image?: Image;\r\n asImage?: \"img\";\r\n};\r\n\r\nexport const VideoPlayer = ({\r\n btnText = \"Trascrizione\",\r\n sizeComp = \"large\",\r\n titleTag: TitleTag = \"h3\",\r\n image,\r\n asImage = \"img\",\r\n}: VideoPlayerProps) => {\r\n const ImageComponent = asImage;\r\n const { width } = sizeStyles[sizeComp];\r\n const { heightImg } = imgSize[sizeComp];\r\n const [isExpanded, setExpanded] = useState(false);\r\n return (\r\n <Col\r\n br={\"x4\"}\r\n style={{ width: width }}\r\n className={clsx(\"shadow\", isExpanded && \"ui-expanded\")}\r\n >\r\n {/*to be replaced with video player*/}\r\n <div\r\n style={{ height: heightImg }}\r\n className={clsx(\"cardImgWrapper\", \"w-full\")}\r\n >\r\n <ImageComponent\r\n src={image?.src}\r\n className={clsx(\"cardImg\", \"br-x4 h-full w-full\")}\r\n alt=\"...\"\r\n />\r\n <div className={clsx(\"cardImgMask\")}></div>\r\n </div>\r\n <div\r\n className={clsx(\r\n \"accordion\",\r\n \"base-row justify-content-between align-items-center px-x24 w-full flex-1\",\r\n )}\r\n >\r\n <button\r\n className={clsx(\r\n \"ui-btn-accordion\",\r\n \"base-row justify-content-between align-items-center\",\r\n )}\r\n type=\"button\"\r\n onClick={() => setExpanded(!isExpanded)}\r\n >\r\n <TitleTag\r\n className={clsx(\r\n \"fw-semibold text-primary base-col justify-content-center\",\r\n )}\r\n >\r\n {btnText}\r\n </TitleTag>\r\n <ArrowDown\r\n color={\"primary\"}\r\n className={clsx(\"ui-arrow\", { [\"expanded\"]: isExpanded })}\r\n />\r\n </button>\r\n </div>\r\n {isExpanded && (\r\n <div\r\n className={clsx(\r\n \"pt-x8 px-x24 pb-x40 fs-6 fw-regular text-grey-black\",\r\n )}\r\n >\r\n <p>\r\n Placeholder content for this accordion, which is intended to\r\n demonstrate the <code>.accordion-flush</code> class. This is the\r\n first item's accordion body.\r\n </p>\r\n </div>\r\n )}\r\n </Col>\r\n );\r\n};\r\n"],"names":["sizeStyles","imgSize","VideoPlayer","btnText","sizeComp","TitleTag","image","asImage","ImageComponent","width","heightImg","isExpanded","setExpanded","useState","jsxs","Col","clsx","jsx","ArrowDown"],"mappings":"uQAYMA,EAAa,CACjB,MAAO,CACL,MAAO,OACT,EACA,OAAQ,CACN,MAAO,OACT,EACA,MAAO,CACL,MAAO,OAAA,CAEX,EAEMC,EAAU,CACd,MAAO,CACL,UAAW,OACb,EACA,OAAQ,CACN,UAAW,OACb,EACA,MAAO,CACL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A,GACCM,EAAA,kBAAA,IAAC,MAAA,CACC,UAAWD,EAAA,KACT,qDACF,EAEA,kCAAC,IAAE,CAAA,SAAA,CAAA,gFAEeC,EAAAA,kBAAAA,IAAC,QAAK,SAAgB,kBAAA,CAAA,EAAO,kDAAA,CAE/C,CAAA,CAAA,CAAA,CACF,CAAA,CAEJ,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs406.js"),e=require("./index.cjs448.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
1
+ "use strict";const r=require("./index.cjs400.js"),e=require("./index.cjs402.js");var s=e.__require();const o=r.getDefaultExportFromCjs(s);module.exports=o;
2
2
  //# sourceMappingURL=index.cjs351.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs385.js");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs404.js");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.cjs386.js"),Te=require("react");/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs405.js"),B=require("react");/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -6,19 +6,10 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var ue;function we(){return ue||(ue=1,process.env.NODE_ENV!=="production"&&function(){function s(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===me?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case h:return"Fragment";case de:return"Portal";case H:return"Profiler";case G:return"StrictMode";case p:return"Suspense";case x:return"SuspenseList"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case X:return(e.displayName||"Context")+".Provider";case K:return(e._context.displayName||"Context")+".Consumer";case j:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case A:return r=e.displayName||null,r!==null?r:s(e.type)||"Memo";case R:r=e._payload,e=e._init;try{return s(e(r))}catch{}}return null}function M(e){return""+e}function W(e){try{M(e);var r=!1}catch{r=!0}if(r){r=console;var o=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),M(e)}}function $(){}function le(){if(g===0){Z=console.log,F=console.info,I=console.warn,L=console.error,Q=console.group,D=console.groupCollapsed,ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}g++}function fe(){if(g--,g===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:v({},e,{value:Z}),info:v({},e,{value:F}),warn:v({},e,{value:I}),error:v({},e,{value:L}),group:v({},e,{value:Q}),groupCollapsed:v({},e,{value:D}),groupEnd:v({},e,{value:ee})})}0>g&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}function y(e){if(N===void 0)try{throw Error()}catch(o){var r=o.stack.trim().match(/\n( *(at )?)/);N=r&&r[1]||"",re=-1<o.stack.indexOf(`
10
- at`)?" (<anonymous>)":-1<o.stack.indexOf("@")?"@unknown:0:0":""}return`
11
- `+N+e+re}function U(e,r){if(!e||P)return"";var o=Y.get(e);if(o!==void 0)return o;P=!0,o=Error.prepareStackTrace,Error.prepareStackTrace=void 0;var n=null;n=E.H,E.H=null,le();try{var u={DetermineComponentFrameRoot:function(){try{if(r){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(i,[])}catch(c){var T=c}Reflect.construct(e,[],i)}else{try{i.call()}catch(c){T=c}e.call(i.prototype)}}else{try{throw Error()}catch(c){T=c}(i=e())&&typeof i.catch=="function"&&i.catch(function(){})}}catch(c){if(c&&T&&typeof c.stack=="string")return[c.stack,T.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var t=u.DetermineComponentFrameRoot(),f=t[0],d=t[1];if(f&&d){var l=f.split(`
12
- `),b=d.split(`
13
- `);for(t=a=0;a<l.length&&!l[a].includes("DetermineComponentFrameRoot");)a++;for(;t<b.length&&!b[t].includes("DetermineComponentFrameRoot");)t++;if(a===l.length||t===b.length)for(a=l.length-1,t=b.length-1;1<=a&&0<=t&&l[a]!==b[t];)t--;for(;1<=a&&0<=t;a--,t--)if(l[a]!==b[t]){if(a!==1||t!==1)do if(a--,t--,0>t||l[a]!==b[t]){var m=`
14
- `+l[a].replace(" at new "," at ");return e.displayName&&m.includes("<anonymous>")&&(m=m.replace("<anonymous>",e.displayName)),typeof e=="function"&&Y.set(e,m),m}while(1<=a&&0<=t);break}}}finally{P=!1,E.H=n,fe(),Error.prepareStackTrace=o}return l=(l=e?e.displayName||e.name:"")?y(l):"",typeof e=="function"&&Y.set(e,l),l}function w(e){if(e==null)return"";if(typeof e=="function"){var r=e.prototype;return U(e,!(!r||!r.isReactComponent))}if(typeof e=="string")return y(e);switch(e){case p:return y("Suspense");case x:return y("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case j:return e=U(e.render,!1),e;case A:return w(e.type);case R:r=e._payload,e=e._init;try{return w(e(r))}catch{}}return""}function C(){var e=E.A;return e===null?null:e.getOwner()}function ce(e){if(J.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function se(e,r){function o(){oe||(oe=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}o.isReactWarning=!0,Object.defineProperty(e,"key",{get:o,configurable:!0})}function ie(){var e=s(this.type);return te[e]||(te[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function Ee(e,r,o,n,u,a){return o=a.ref,e={$$typeof:S,type:e,key:r,props:a,_owner:u},(o!==void 0?o:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:ie}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function z(e,r,o,n,u,a){if(typeof e=="string"||typeof e=="function"||e===h||e===H||e===G||e===p||e===x||e===ge||typeof e=="object"&&e!==null&&(e.$$typeof===R||e.$$typeof===A||e.$$typeof===X||e.$$typeof===K||e.$$typeof===j||e.$$typeof===_e||e.getModuleId!==void 0)){var t=r.children;if(t!==void 0)if(n)if(k(t)){for(n=0;n<t.length;n++)q(t[n],e);Object.freeze&&Object.freeze(t)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else q(t,e)}else t="",(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(t+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),e===null?n="null":k(e)?n="array":e!==void 0&&e.$$typeof===S?(n="<"+(s(e.type)||"Unknown")+" />",t=" Did you accidentally export a JSX literal instead of a component?"):n=typeof e,console.error("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",n,t);if(J.call(r,"key")){t=s(e);var f=Object.keys(r).filter(function(l){return l!=="key"});n=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",ne[t+n]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
9
+ */var N;function H(){return N||(N=1,process.env.NODE_ENV!=="production"&&function(){function l(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===X?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case m:return"Fragment";case W:return"Profiler";case $:return"StrictMode";case z:return"Suspense";case q:return"SuspenseList";case G:return"Activity"}if(typeof e=="object")switch(typeof e.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case F:return"Portal";case M:return(e.displayName||"Context")+".Provider";case L:return(e._context.displayName||"Context")+".Consumer";case U:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case V:return r=e.displayName||null,r!==null?r:l(e.type)||"Memo";case S:r=e._payload,e=e._init;try{return l(e(r))}catch{}}return null}function T(e){return""+e}function v(e){try{T(e);var r=!1}catch{r=!0}if(r){r=console;var t=r.error,n=typeof Symbol=="function"&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),T(e)}}function f(e){if(e===m)return"<>";if(typeof e=="object"&&e!==null&&e.$$typeof===S)return"<...>";try{var r=l(e);return r?"<"+r+">":"<...>"}catch{return"<...>"}}function x(){var e=b.A;return e===null?null:e.getOwner()}function p(){return Error("react-stack-top-frame")}function C(e){if(A.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function Y(e,r){function t(){w||(w=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}function I(){var e=l(this.type);return P[e]||(P[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),e=this.props.ref,e!==void 0?e:null}function D(e,r,t,n,c,a,_,E){return t=a.ref,e={$$typeof:k,type:e,key:r,props:a,_owner:c},(t!==void 0?t:null)!==null?Object.defineProperty(e,"ref",{enumerable:!1,get:I}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:_}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:E}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function O(e,r,t,n,c,a,_,E){var o=r.children;if(o!==void 0)if(n)if(K(o)){for(n=0;n<o.length;n++)g(o[n]);Object.freeze&&Object.freeze(o)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(o);if(A.call(r,"key")){o=l(e);var s=Object.keys(r).filter(function(J){return J!=="key"});n=0<s.length?"{key: someKey, "+s.join(": ..., ")+": ...}":"{key: someKey}",h[o+n]||(s=0<s.length?"{"+s.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
15
10
  let props = %s;
16
11
  <%s {...props} />
17
12
  React keys must be passed directly to JSX without using spread:
18
13
  let props = %s;
19
- <%s key={someKey} {...props} />`,n,t,f,t),ne[t+n]=!0)}if(t=null,o!==void 0&&(W(o),t=""+o),ce(r)&&(W(r.key),t=""+r.key),"key"in r){o={};for(var d in r)d!=="key"&&(o[d]=r[d])}else o=r;return t&&se(o,typeof e=="function"?e.displayName||e.name||"Unknown":e),Ee(e,t,a,u,C(),o)}function q(e,r){if(typeof e=="object"&&e&&e.$$typeof!==ye){if(k(e))for(var o=0;o<e.length;o++){var n=e[o];O(n)&&V(n,r)}else if(O(e))e._store&&(e._store.validated=1);else if(e===null||typeof e!="object"?o=null:(o=B&&e[B]||e["@@iterator"],o=typeof o=="function"?o:null),typeof o=="function"&&o!==e.entries&&(o=o.call(e),o!==e))for(;!(e=o.next()).done;)O(e.value)&&V(e.value,r)}}function O(e){return typeof e=="object"&&e!==null&&e.$$typeof===S}function V(e,r){if(e._store&&!e._store.validated&&e.key==null&&(e._store.validated=1,r=ve(r),!ae[r])){ae[r]=!0;var o="";e&&e._owner!=null&&e._owner!==C()&&(o=null,typeof e._owner.tag=="number"?o=s(e._owner.type):typeof e._owner.name=="string"&&(o=e._owner.name),o=" It was passed a child from "+o+".");var n=E.getCurrentStack;E.getCurrentStack=function(){var u=w(e.type);return n&&(u+=n()||""),u},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',r,o),E.getCurrentStack=n}}function ve(e){var r="",o=C();return o&&(o=s(o.type))&&(r=`
20
-
21
- Check the render method of \``+o+"`."),r||(e=s(e))&&(r=`
22
-
23
- Check the top-level render call using <`+e+">."),r}var be=Te,S=Symbol.for("react.transitional.element"),de=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),G=Symbol.for("react.strict_mode"),H=Symbol.for("react.profiler"),K=Symbol.for("react.consumer"),X=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),A=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),ge=Symbol.for("react.offscreen"),B=Symbol.iterator,me=Symbol.for("react.client.reference"),E=be.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,J=Object.prototype.hasOwnProperty,v=Object.assign,_e=Symbol.for("react.client.reference"),k=Array.isArray,g=0,Z,F,I,L,Q,D,ee;$.__reactDisabledLog=!0;var N,re,P=!1,Y=new(typeof WeakMap=="function"?WeakMap:Map),ye=Symbol.for("react.client.reference"),oe,te={},ne={},ae={};_.__exports.Fragment=h,_.__exports.jsx=function(e,r,o,n,u){return z(e,r,o,!1,n,u)},_.__exports.jsxs=function(e,r,o,n,u){return z(e,r,o,!0,n,u)}}()),_.__exports}exports.__require=we;
14
+ <%s key={someKey} {...props} />`,n,o,s,o),h[o+n]=!0)}if(o=null,t!==void 0&&(v(t),o=""+t),C(r)&&(v(r.key),o=""+r.key),"key"in r){t={};for(var R in r)R!=="key"&&(t[R]=r[R])}else t=r;return o&&Y(t,typeof e=="function"?e.displayName||e.name||"Unknown":e),D(e,o,a,c,x(),t,_,E)}function g(e){typeof e=="object"&&e!==null&&e.$$typeof===k&&e._store&&(e._store.validated=1)}var i=B,k=Symbol.for("react.transitional.element"),F=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),$=Symbol.for("react.strict_mode"),W=Symbol.for("react.profiler"),L=Symbol.for("react.consumer"),M=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),q=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),G=Symbol.for("react.activity"),X=Symbol.for("react.client.reference"),b=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,K=Array.isArray,d=console.createTask?console.createTask:function(){return null};i={"react-stack-bottom-frame":function(e){return e()}};var w,P={},y=i["react-stack-bottom-frame"].bind(i,p)(),j=d(f(p)),h={};u.__exports.Fragment=m,u.__exports.jsx=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!1,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)},u.__exports.jsxs=function(e,r,t,n,c){var a=1e4>b.recentlyCreatedOwnerStacks++;return O(e,r,t,!0,n,c,a?Error("react-stack-top-frame"):y,a?d(f(e)):j)}}()),u.__exports}exports.__require=H;
24
15
  //# sourceMappingURL=index.cjs356.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs356.js","sources":["../node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE$2\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function disabledLog() {}\n function disableLogs() {\n if (0 === disabledDepth) {\n prevLog = console.log;\n prevInfo = console.info;\n prevWarn = console.warn;\n prevError = console.error;\n prevGroup = console.group;\n prevGroupCollapsed = console.groupCollapsed;\n prevGroupEnd = console.groupEnd;\n var props = {\n configurable: !0,\n enumerable: !0,\n value: disabledLog,\n writable: !0\n };\n Object.defineProperties(console, {\n info: props,\n log: props,\n warn: props,\n error: props,\n group: props,\n groupCollapsed: props,\n groupEnd: props\n });\n }\n disabledDepth++;\n }\n function reenableLogs() {\n disabledDepth--;\n if (0 === disabledDepth) {\n var props = { configurable: !0, enumerable: !0, writable: !0 };\n Object.defineProperties(console, {\n log: assign({}, props, { value: prevLog }),\n info: assign({}, props, { value: prevInfo }),\n warn: assign({}, props, { value: prevWarn }),\n error: assign({}, props, { value: prevError }),\n group: assign({}, props, { value: prevGroup }),\n groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),\n groupEnd: assign({}, props, { value: prevGroupEnd })\n });\n }\n 0 > disabledDepth &&\n console.error(\n \"disabledDepth fell below zero. This is a bug in React. Please file an issue.\"\n );\n }\n function describeBuiltInComponentFrame(name) {\n if (void 0 === prefix)\n try {\n throw Error();\n } catch (x) {\n var match = x.stack.trim().match(/\\n( *(at )?)/);\n prefix = (match && match[1]) || \"\";\n suffix =\n -1 < x.stack.indexOf(\"\\n at\")\n ? \" (<anonymous>)\"\n : -1 < x.stack.indexOf(\"@\")\n ? \"@unknown:0:0\"\n : \"\";\n }\n return \"\\n\" + prefix + name + suffix;\n }\n function describeNativeComponentFrame(fn, construct) {\n if (!fn || reentry) return \"\";\n var frame = componentFrameCache.get(fn);\n if (void 0 !== frame) return frame;\n reentry = !0;\n frame = Error.prepareStackTrace;\n Error.prepareStackTrace = void 0;\n var previousDispatcher = null;\n previousDispatcher = ReactSharedInternals.H;\n ReactSharedInternals.H = null;\n disableLogs();\n try {\n var RunInRootFrame = {\n DetermineComponentFrameRoot: function () {\n try {\n if (construct) {\n var Fake = function () {\n throw Error();\n };\n Object.defineProperty(Fake.prototype, \"props\", {\n set: function () {\n throw Error();\n }\n });\n if (\"object\" === typeof Reflect && Reflect.construct) {\n try {\n Reflect.construct(Fake, []);\n } catch (x) {\n var control = x;\n }\n Reflect.construct(fn, [], Fake);\n } else {\n try {\n Fake.call();\n } catch (x$0) {\n control = x$0;\n }\n fn.call(Fake.prototype);\n }\n } else {\n try {\n throw Error();\n } catch (x$1) {\n control = x$1;\n }\n (Fake = fn()) &&\n \"function\" === typeof Fake.catch &&\n Fake.catch(function () {});\n }\n } catch (sample) {\n if (sample && control && \"string\" === typeof sample.stack)\n return [sample.stack, control.stack];\n }\n return [null, null];\n }\n };\n RunInRootFrame.DetermineComponentFrameRoot.displayName =\n \"DetermineComponentFrameRoot\";\n var namePropDescriptor = Object.getOwnPropertyDescriptor(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\"\n );\n namePropDescriptor &&\n namePropDescriptor.configurable &&\n Object.defineProperty(\n RunInRootFrame.DetermineComponentFrameRoot,\n \"name\",\n { value: \"DetermineComponentFrameRoot\" }\n );\n var _RunInRootFrame$Deter =\n RunInRootFrame.DetermineComponentFrameRoot(),\n sampleStack = _RunInRootFrame$Deter[0],\n controlStack = _RunInRootFrame$Deter[1];\n if (sampleStack && controlStack) {\n var sampleLines = sampleStack.split(\"\\n\"),\n controlLines = controlStack.split(\"\\n\");\n for (\n _RunInRootFrame$Deter = namePropDescriptor = 0;\n namePropDescriptor < sampleLines.length &&\n !sampleLines[namePropDescriptor].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n namePropDescriptor++;\n for (\n ;\n _RunInRootFrame$Deter < controlLines.length &&\n !controlLines[_RunInRootFrame$Deter].includes(\n \"DetermineComponentFrameRoot\"\n );\n\n )\n _RunInRootFrame$Deter++;\n if (\n namePropDescriptor === sampleLines.length ||\n _RunInRootFrame$Deter === controlLines.length\n )\n for (\n namePropDescriptor = sampleLines.length - 1,\n _RunInRootFrame$Deter = controlLines.length - 1;\n 1 <= namePropDescriptor &&\n 0 <= _RunInRootFrame$Deter &&\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter];\n\n )\n _RunInRootFrame$Deter--;\n for (\n ;\n 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;\n namePropDescriptor--, _RunInRootFrame$Deter--\n )\n if (\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter]\n ) {\n if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {\n do\n if (\n (namePropDescriptor--,\n _RunInRootFrame$Deter--,\n 0 > _RunInRootFrame$Deter ||\n sampleLines[namePropDescriptor] !==\n controlLines[_RunInRootFrame$Deter])\n ) {\n var _frame =\n \"\\n\" +\n sampleLines[namePropDescriptor].replace(\n \" at new \",\n \" at \"\n );\n fn.displayName &&\n _frame.includes(\"<anonymous>\") &&\n (_frame = _frame.replace(\"<anonymous>\", fn.displayName));\n \"function\" === typeof fn &&\n componentFrameCache.set(fn, _frame);\n return _frame;\n }\n while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);\n }\n break;\n }\n }\n } finally {\n (reentry = !1),\n (ReactSharedInternals.H = previousDispatcher),\n reenableLogs(),\n (Error.prepareStackTrace = frame);\n }\n sampleLines = (sampleLines = fn ? fn.displayName || fn.name : \"\")\n ? describeBuiltInComponentFrame(sampleLines)\n : \"\";\n \"function\" === typeof fn && componentFrameCache.set(fn, sampleLines);\n return sampleLines;\n }\n function describeUnknownElementTypeFrameInDEV(type) {\n if (null == type) return \"\";\n if (\"function\" === typeof type) {\n var prototype = type.prototype;\n return describeNativeComponentFrame(\n type,\n !(!prototype || !prototype.isReactComponent)\n );\n }\n if (\"string\" === typeof type) return describeBuiltInComponentFrame(type);\n switch (type) {\n case REACT_SUSPENSE_TYPE:\n return describeBuiltInComponentFrame(\"Suspense\");\n case REACT_SUSPENSE_LIST_TYPE:\n return describeBuiltInComponentFrame(\"SuspenseList\");\n }\n if (\"object\" === typeof type)\n switch (type.$$typeof) {\n case REACT_FORWARD_REF_TYPE:\n return (type = describeNativeComponentFrame(type.render, !1)), type;\n case REACT_MEMO_TYPE:\n return describeUnknownElementTypeFrameInDEV(type.type);\n case REACT_LAZY_TYPE:\n prototype = type._payload;\n type = type._init;\n try {\n return describeUnknownElementTypeFrameInDEV(type(prototype));\n } catch (x) {}\n }\n return \"\";\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, self, source, owner, props) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self\n ) {\n if (\n \"string\" === typeof type ||\n \"function\" === typeof type ||\n type === REACT_FRAGMENT_TYPE ||\n type === REACT_PROFILER_TYPE ||\n type === REACT_STRICT_MODE_TYPE ||\n type === REACT_SUSPENSE_TYPE ||\n type === REACT_SUSPENSE_LIST_TYPE ||\n type === REACT_OFFSCREEN_TYPE ||\n (\"object\" === typeof type &&\n null !== type &&\n (type.$$typeof === REACT_LAZY_TYPE ||\n type.$$typeof === REACT_MEMO_TYPE ||\n type.$$typeof === REACT_CONTEXT_TYPE ||\n type.$$typeof === REACT_CONSUMER_TYPE ||\n type.$$typeof === REACT_FORWARD_REF_TYPE ||\n type.$$typeof === REACT_CLIENT_REFERENCE$1 ||\n void 0 !== type.getModuleId))\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren], type);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children, type);\n } else {\n children = \"\";\n if (\n void 0 === type ||\n (\"object\" === typeof type &&\n null !== type &&\n 0 === Object.keys(type).length)\n )\n children +=\n \" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.\";\n null === type\n ? (isStaticChildren = \"null\")\n : isArrayImpl(type)\n ? (isStaticChildren = \"array\")\n : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE\n ? ((isStaticChildren =\n \"<\" +\n (getComponentNameFromType(type.type) || \"Unknown\") +\n \" />\"),\n (children =\n \" Did you accidentally export a JSX literal instead of a component?\"))\n : (isStaticChildren = typeof type);\n console.error(\n \"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\",\n isStaticChildren,\n children\n );\n }\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(type, children, self, source, getOwner(), maybeKey);\n }\n function validateChildKeys(node, parentType) {\n if (\n \"object\" === typeof node &&\n node &&\n node.$$typeof !== REACT_CLIENT_REFERENCE\n )\n if (isArrayImpl(node))\n for (var i = 0; i < node.length; i++) {\n var child = node[i];\n isValidElement(child) && validateExplicitKey(child, parentType);\n }\n else if (isValidElement(node))\n node._store && (node._store.validated = 1);\n else if (\n (null === node || \"object\" !== typeof node\n ? (i = null)\n : ((i =\n (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||\n node[\"@@iterator\"]),\n (i = \"function\" === typeof i ? i : null)),\n \"function\" === typeof i &&\n i !== node.entries &&\n ((i = i.call(node)), i !== node))\n )\n for (; !(node = i.next()).done; )\n isValidElement(node.value) &&\n validateExplicitKey(node.value, parentType);\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n function validateExplicitKey(element, parentType) {\n if (\n element._store &&\n !element._store.validated &&\n null == element.key &&\n ((element._store.validated = 1),\n (parentType = getCurrentComponentErrorInfo(parentType)),\n !ownerHasKeyUseWarning[parentType])\n ) {\n ownerHasKeyUseWarning[parentType] = !0;\n var childOwner = \"\";\n element &&\n null != element._owner &&\n element._owner !== getOwner() &&\n ((childOwner = null),\n \"number\" === typeof element._owner.tag\n ? (childOwner = getComponentNameFromType(element._owner.type))\n : \"string\" === typeof element._owner.name &&\n (childOwner = element._owner.name),\n (childOwner = \" It was passed a child from \" + childOwner + \".\"));\n var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;\n ReactSharedInternals.getCurrentStack = function () {\n var stack = describeUnknownElementTypeFrameInDEV(element.type);\n prevGetCurrentStack && (stack += prevGetCurrentStack() || \"\");\n return stack;\n };\n console.error(\n 'Each child in a list should have a unique \"key\" prop.%s%s See https://react.dev/link/warning-keys for more information.',\n parentType,\n childOwner\n );\n ReactSharedInternals.getCurrentStack = prevGetCurrentStack;\n }\n }\n function getCurrentComponentErrorInfo(parentType) {\n var info = \"\",\n owner = getOwner();\n owner &&\n (owner = getComponentNameFromType(owner.type)) &&\n (info = \"\\n\\nCheck the render method of `\" + owner + \"`.\");\n info ||\n ((parentType = getComponentNameFromType(parentType)) &&\n (info =\n \"\\n\\nCheck the top-level render call using <\" + parentType + \">.\"));\n return info;\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_OFFSCREEN_TYPE = Symbol.for(\"react.offscreen\"),\n MAYBE_ITERATOR_SYMBOL = Symbol.iterator,\n REACT_CLIENT_REFERENCE$2 = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n assign = Object.assign,\n REACT_CLIENT_REFERENCE$1 = Symbol.for(\"react.client.reference\"),\n isArrayImpl = Array.isArray,\n disabledDepth = 0,\n prevLog,\n prevInfo,\n prevWarn,\n prevError,\n prevGroup,\n prevGroupCollapsed,\n prevGroupEnd;\n disabledLog.__reactDisabledLog = !0;\n var prefix,\n suffix,\n reentry = !1;\n var componentFrameCache = new (\n \"function\" === typeof WeakMap ? WeakMap : Map\n )();\n var REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var didWarnAboutKeySpread = {},\n ownerHasKeyUseWarning = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !1, source, self);\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n return jsxDEVImpl(type, config, maybeKey, !0, source, self);\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE$2","REACT_FRAGMENT_TYPE","REACT_PORTAL_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","disabledLog","disableLogs","disabledDepth","prevLog","prevInfo","prevWarn","prevError","prevGroup","prevGroupCollapsed","prevGroupEnd","props","reenableLogs","assign","describeBuiltInComponentFrame","name","prefix","x","match","suffix","describeNativeComponentFrame","fn","construct","reentry","frame","componentFrameCache","previousDispatcher","ReactSharedInternals","RunInRootFrame","Fake","control","x$0","x$1","sample","namePropDescriptor","_RunInRootFrame$Deter","sampleStack","controlStack","sampleLines","controlLines","_frame","describeUnknownElementTypeFrameInDEV","prototype","getOwner","dispatcher","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","self","source","owner","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","REACT_OFFSCREEN_TYPE","REACT_CLIENT_REFERENCE$1","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","parentType","REACT_CLIENT_REFERENCE","i","child","isValidElement","validateExplicitKey","MAYBE_ITERATOR_SYMBOL","object","element","getCurrentComponentErrorInfo","ownerHasKeyUseWarning","childOwner","prevGetCurrentStack","stack","info","React","require$$0","reactJsxRuntime_development"],"mappings":";;;;;;;;yCAWiB,QAAQ,IAAI,WAA7B,cACG,UAAY,CACX,SAASA,EAAyBC,EAAM,CACtC,GAAYA,GAAR,KAAc,OAAO,KACzB,GAAmB,OAAOA,GAAtB,WACF,OAAOA,EAAK,WAAaC,GACrB,KACAD,EAAK,aAAeA,EAAK,MAAQ,KACvC,GAAiB,OAAOA,GAApB,SAA0B,OAAOA,EACrC,OAAQA,EAAI,CACV,KAAKE,EACH,MAAO,WACT,KAAKC,GACH,MAAO,SACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,aACT,KAAKC,EACH,MAAO,WACT,KAAKC,EACH,MAAO,cACjB,CACM,GAAiB,OAAOP,GAApB,SACF,OACgB,OAAOA,EAAK,KAAzB,UACC,QAAQ,MACN,mHACD,EACHA,EAAK,SACf,CACU,KAAKQ,EACH,OAAQR,EAAK,aAAe,WAAa,YAC3C,KAAKS,EACH,OAAQT,EAAK,SAAS,aAAe,WAAa,YACpD,KAAKU,EACH,IAAIC,EAAYX,EAAK,OACrB,OAAAA,EAAOA,EAAK,YACZA,IACIA,EAAOW,EAAU,aAAeA,EAAU,MAAQ,GACnDX,EAAcA,IAAP,GAAc,cAAgBA,EAAO,IAAM,cAC9CA,EACT,KAAKY,EACH,OACGD,EAAYX,EAAK,aAAe,KACxBW,IAAT,KACIA,EACAZ,EAAyBC,EAAK,IAAI,GAAK,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AC5BO,EAAA,UAAA,SAAmB7G,EACnB6G,EAAW,UAAA,IAAG,SAAU/G,EAAMiE,EAAQiB,EAAUJ,EAAQD,EAAM,CAC5D,OAAOI,EAAWjF,EAAMiE,EAAQiB,EAAU,GAAIJ,EAAQD,CAAI,CAC3D,EACDkC,EAAY,UAAA,KAAG,SAAU/G,EAAMiE,EAAQiB,EAAUJ,EAAQD,EAAM,CAC7D,OAAOI,EAAWjF,EAAMiE,EAAQiB,EAAU,GAAIJ,EAAQD,CAAI,CAC3D,CACL,EAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs356.js","sources":["../node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return (type.displayName || \"Context\") + \".Provider\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(\n type,\n key,\n self,\n source,\n owner,\n props,\n debugStack,\n debugTask\n ) {\n self = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== self ? self : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n source,\n self,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n self,\n source,\n getOwner(),\n maybeKey,\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_ELEMENT_TYPE &&\n node._store &&\n (node._store.validated = 1);\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\");\n Symbol.for(\"react.provider\");\n var REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n \"react-stack-bottom-frame\": function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React[\"react-stack-bottom-frame\"].bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey, source, self) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n source,\n self,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","self","source","owner","debugStack","debugTask","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner"],"mappings":";;;;;;;;qCAWiB,QAAQ,IAAI,WAA7B,cACG,UAAY,CACX,SAASA,EAAyBC,EAAM,CACtC,GAAYA,GAAR,KAAc,OAAO,KACzB,GAAmB,OAAOA,GAAtB,WACF,OAAOA,EAAK,WAAaC,EACrB,KACAD,EAAK,aAAeA,EAAK,MAAQ,KACvC,GAAiB,OAAOA,GA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O,UAAU,eAClCsB,EAAc,MAAM,QACpBS,EAAa,QAAQ,WACjB,QAAQ,WACR,UAAY,CACV,OAAO,IACR,EACPF,EAAQ,CACN,2BAA4B,SAAUG,EAAmB,CACvD,OAAOA,EAAmB,CAClC,CACK,EACD,IAAI1B,EACAG,EAAyB,CAAE,EAC3BwB,EAAyBJ,EAAM,0BAA0B,EAAE,KAC7DA,EACAhC,CACN,EAAO,EACCqC,EAAwBH,EAAWvC,EAAYK,CAAY,CAAC,EAC5D6B,EAAwB,CAAE,EAC9BS,EAAA,UAAA,SAAmB9D,EACnB8D,EAAW,UAAA,IAAG,SAAUhE,EAAM4B,EAAQoB,EAAUN,EAAQD,EAAM,CAC5D,IAAIwB,EACF,IAAMxC,EAAqB,6BAC7B,OAAOsB,EACL/C,EACA4B,EACAoB,EACA,GACAN,EACAD,EACAwB,EACI,MAAM,uBAAuB,EAC7BH,EACJG,EAAmBL,EAAWvC,EAAYrB,CAAI,CAAC,EAAI+D,CACpD,CACF,EACDC,EAAY,UAAA,KAAG,SAAUhE,EAAM4B,EAAQoB,EAAUN,EAAQD,EAAM,CAC7D,IAAIwB,EACF,IAAMxC,EAAqB,6BAC7B,OAAOsB,EACL/C,EACA4B,EACAoB,EACA,GACAN,EACAD,EACAwB,EACI,MAAM,uBAAuB,EAC7BH,EACJG,EAAmBL,EAAWvC,EAAYrB,CAAI,CAAC,EAAI+D,CACpD,CACF,CACL,EAAM","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs36.js","sources":["../src/components/ui/ArrowLink/index.tsx"],"sourcesContent":["import { ArrowRight } from \"@/icons/ArrowRight\";\nimport { TypographyKeys } from \"@/theme/typography\";\nimport React from \"react\";\n\ntype BaseArrowLinkProps = {\n isExternal?: boolean;\n fs?: TypographyKeys;\n children: React.ReactNode;\n className?: string;\n};\n\ntype ArrowLinkAsLinkProps = BaseArrowLinkProps & {\n href: string;\n asLink?: \"a\" | React.ComponentType<any>;\n onClick?: never;\n type?: never;\n asButton?: never;\n};\n\ntype ArrowLinkAsButtonProps = BaseArrowLinkProps & {\n onClick?: () => void;\n type?: \"button\";\n asButton?: true;\n asLink?: never;\n href?: never;\n};\n\ntype ArrowLinkProps = ArrowLinkAsLinkProps | ArrowLinkAsButtonProps;\n\nexport const ArrowLink = ({\n href,\n asLink = \"a\",\n isExternal = false,\n fs = \"6\",\n children,\n className = \"\",\n onClick,\n type = \"button\",\n asButton,\n ...props\n}: ArrowLinkProps) => {\n const createFontSizeClass = (size: TypographyKeys) => {\n return `fs-${size}`;\n };\n\n const fontSizeClass = createFontSizeClass(fs);\n const baseClasses = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${fontSizeClass} ${className}`;\n\n if (asButton) {\n return (\n <button\n className={`bg-transparent border-none ${baseClasses}`}\n onClick={onClick}\n type={type}\n {...props}\n >\n {children}\n <ArrowRight color={\"primary\"} width={24} height={24} />\n </button>\n );\n }\n\n const LinkComponent = asLink;\n\n return (\n <LinkComponent\n className={baseClasses}\n href={href}\n target={isExternal ? \"_blank\" : undefined}\n rel={isExternal ? \"noreferrer noopener\" : undefined}\n {...props}\n >\n {children}\n {isExternal && (\n <span className=\"visually-hidden\">\n {\" \"}\n (si apre in una nuova finestra)\n </span>\n )}\n <ArrowRight color={\"primary\"} width={24} height={24} />\n </LinkComponent>\n );\n};\n"],"names":["ArrowLink","href","asLink","isExternal","fs","children","className","onClick","type","asButton","props","baseClasses","size","jsxs","ArrowRight","LinkComponent"],"mappings":"oJA6BaA,EAAY,CAAC,CACxB,KAAAC,EACA,OAAAC,EAAS,IACT,WAAAC,EAAa,GACb,GAAAC,EAAK,IACL,SAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EACA,KAAAC,EAAO,SACP,SAAAC,EACA,GAAGC,CACL,IAAsB,CAMpB,MAAMC,EAAc,2GALSC,GACpB,MAAMA,CAAI,IAGuBR,CAAE,CAC+F,IAAIE,CAAS,GAExJ,GAAIG,EAEA,OAAAI,EAAA,kBAAA,KAAC,SAAA,CACC,UAAW,8BAA8BF,CAAW,GACpD,QAAAJ,EACA,KAAAC,EACC,GAAGE,EAEH,SAAA,CAAAL,0BACAS,EAAAA,WAAW,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACvD,EAIJ,MAAMC,EAAgBb,EAGpB,OAAAW,EAAA,kBAAA,KAACE,EAAA,CACC,UAAWJ,EACX,KAAAV,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OACzC,GAAGO,EAEH,SAAA,CAAAL,EACAF,GACCU,EAAA,kBAAA,KAAC,OAAK,CAAA,UAAU,kBACb,SAAA,CAAA,IAAI,iCAAA,EAEP,0BAEDC,EAAAA,WAAW,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACvD,CAEJ"}
1
+ {"version":3,"file":"index.cjs36.js","sources":["../src/components/ui/ArrowLink/index.tsx"],"sourcesContent":["import { ArrowRight } from \"@/icons/ArrowRight\";\r\nimport { TypographyKeys } from \"@/theme/typography\";\r\nimport React from \"react\";\r\n\r\ntype BaseArrowLinkProps = {\r\n isExternal?: boolean;\r\n fs?: TypographyKeys;\r\n children: React.ReactNode;\r\n className?: string;\r\n};\r\n\r\ntype ArrowLinkAsLinkProps = BaseArrowLinkProps & {\r\n href: string;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n onClick?: never;\r\n type?: never;\r\n asButton?: never;\r\n};\r\n\r\ntype ArrowLinkAsButtonProps = BaseArrowLinkProps & {\r\n onClick?: () => void;\r\n type?: \"button\";\r\n asButton?: true;\r\n asLink?: never;\r\n href?: never;\r\n};\r\n\r\ntype ArrowLinkProps = ArrowLinkAsLinkProps | ArrowLinkAsButtonProps;\r\n\r\nexport const ArrowLink = ({\r\n href,\r\n asLink = \"a\",\r\n isExternal = false,\r\n fs = \"6\",\r\n children,\r\n className = \"\",\r\n onClick,\r\n type = \"button\",\r\n asButton,\r\n ...props\r\n}: ArrowLinkProps) => {\r\n const createFontSizeClass = (size: TypographyKeys) => {\r\n return `fs-${size}`;\r\n };\r\n\r\n const fontSizeClass = createFontSizeClass(fs);\r\n const baseClasses = `max-w-fit text-decoration-none text-primary base-row align-items-center fw-bold gap-x8 hover-underline ${fontSizeClass} ${className}`;\r\n\r\n if (asButton) {\r\n return (\r\n <button\r\n className={`bg-transparent border-none ${baseClasses}`}\r\n onClick={onClick}\r\n type={type}\r\n {...props}\r\n >\r\n {children}\r\n <ArrowRight color={\"primary\"} width={24} height={24} />\r\n </button>\r\n );\r\n }\r\n\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <LinkComponent\r\n className={baseClasses}\r\n href={href}\r\n target={isExternal ? \"_blank\" : undefined}\r\n rel={isExternal ? \"noreferrer noopener\" : undefined}\r\n {...props}\r\n >\r\n {children}\r\n {isExternal && (\r\n <span className=\"visually-hidden\">\r\n {\" \"}\r\n (si apre in una nuova finestra)\r\n </span>\r\n )}\r\n <ArrowRight color={\"primary\"} width={24} height={24} />\r\n </LinkComponent>\r\n );\r\n};\r\n"],"names":["ArrowLink","href","asLink","isExternal","fs","children","className","onClick","type","asButton","props","baseClasses","size","jsxs","ArrowRight","LinkComponent"],"mappings":"oJA6BaA,EAAY,CAAC,CACxB,KAAAC,EACA,OAAAC,EAAS,IACT,WAAAC,EAAa,GACb,GAAAC,EAAK,IACL,SAAAC,EACA,UAAAC,EAAY,GACZ,QAAAC,EACA,KAAAC,EAAO,SACP,SAAAC,EACA,GAAGC,CACL,IAAsB,CAMpB,MAAMC,EAAc,2GALSC,GACpB,MAAMA,CAAI,IAGuBR,CAAE,CAC+F,IAAIE,CAAS,GAExJ,GAAIG,EAEA,OAAAI,EAAA,kBAAA,KAAC,SAAA,CACC,UAAW,8BAA8BF,CAAW,GACpD,QAAAJ,EACA,KAAAC,EACC,GAAGE,EAEH,SAAA,CAAAL,0BACAS,EAAAA,WAAW,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACvD,EAIJ,MAAMC,EAAgBb,EAGpB,OAAAW,EAAA,kBAAA,KAACE,EAAA,CACC,UAAWJ,EACX,KAAAV,EACA,OAAQE,EAAa,SAAW,OAChC,IAAKA,EAAa,sBAAwB,OACzC,GAAGO,EAEH,SAAA,CAAAL,EACAF,GACCU,EAAA,kBAAA,KAAC,OAAK,CAAA,UAAU,kBACb,SAAA,CAAA,IAAI,iCAAA,EAEP,0BAEDC,EAAAA,WAAW,CAAA,MAAO,UAAW,MAAO,GAAI,OAAQ,EAAI,CAAA,CAAA,CAAA,CACvD,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs396.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs406.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
2
2
  //# sourceMappingURL=index.cjs360.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs378.js"),p=require("./index.cjs196.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs381.js"),p=require("./index.cjs196.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const d=n(l),v=n(f);var b=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],y=b.reduce((e,t)=>{const i=m.createSlot(`Primitive.${t}`),r=d.forwardRef((o,c)=>{const{asChild:s,...a}=o,u=s?i:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsxRuntimeExports.jsx(u,{...a,ref:c})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function O(e,t){e&&v.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=y;exports.dispatchDiscreteCustomEvent=O;
2
2
  //# sourceMappingURL=index.cjs361.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs357.js"),Ve=require("./index.cjs397.js"),y=require("./index.cjs358.js"),Ye=require("./index.cjs359.js"),Xe=require("./index.cjs398.js"),We=require("./index.cjs372.js"),ze=require("./index.cjs375.js"),Ze=require("./index.cjs373.js"),T=require("./index.cjs399.js"),Je=require("./index.cjs374.js"),X=require("./index.cjs370.js"),A=require("./index.cjs361.js"),W=require("./index.cjs400.js"),Qe=require("./index.cjs378.js"),be=require("./index.cjs396.js"),et=require("./index.cjs377.js"),tt=require("./index.cjs376.js"),a=require("./index.cjs196.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:l=!0}=e,m=z(n),[p,x]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),d=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...m,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:p,onContentChange:x,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:d,modal:l,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:l.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:v.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:m,onEntryFocus:p,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:v.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:v.composeEventHandlers(p,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:v.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:v.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:v.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),l=G(V,e.__scopeMenu),m=ue(V,e.__scopeMenu),p=y.useComposedRefs(n,s),x=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const d=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,d),d.defaultPrevented?x.current=!1:l.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:p,disabled:t,onClick:v.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var d;(d=e.onPointerDown)==null||d.call(e,c),x.current=!0},onPointerUp:v.composeEventHandlers(e.onPointerUp,c=>{var d;x.current||(d=c.currentTarget)==null||d.click()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{const d=m.searchRef.current!=="";t||d&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,l=ue(V,t),m=ye(t),p=r.useRef(null),x=y.useComposedRefs(n,p),[f,c]=r.useState(!1),[d,R]=r.useState("");return r.useEffect(()=>{const M=p.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??d,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...m,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:x,onPointerMove:v.composeEventHandlers(e.onPointerMove,L(M=>{o?l.onItemLeave(M):(l.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(M=>l.onItemLeave(M))),onFocus:v.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:v.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:v.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:v.composeEventHandlers(o.onSelect,()=>{var l;return(l=u.onValueChange)==null?void 0:l.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),l=r.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:p}=s,x={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=m.current;return()=>{window.clearTimeout(c),p(null)}},[m,p]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...x,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var d;(d=e.onClick)==null||d.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:v.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const d=(R=t.content)==null?void 0:R.getBoundingClientRect();if(d){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=d[I?"left":"right"],q=d[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:d.top},{x:q,y:d.top},{x:q,y:d.bottom},{x:H,y:d.bottom}],side:P}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{var R;const d=s.searchRef.current!=="";e.disabled||d&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu),m=Ne(Le,e.__scopeMenu),p=r.useRef(null),x=y.useComposedRefs(n,p);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:m.contentId,"aria-labelledby":m.triggerId,...u,ref:x,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;l.isUsingKeyboardRef.current&&((c=p.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:v.composeEventHandlers(e.onFocusOutside,f=>{f.target!==m.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:v.composeEventHandlers(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),d=ct[l.dir].includes(f.key);c&&d&&(s.onOpenChange(!1),(R=m.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(x=>x===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let l=bt(e,Math.max(s,0));u.length===1&&(l=l.filter(x=>x!==t));const p=l.find(x=>x.toLowerCase().startsWith(u.toLowerCase()));return p!==t?p:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,l=n.length-1;s<n.length;l=s++){const m=n[s].x,p=n[s].y,x=n[l].x,f=n[l].y;p>o!=f>o&&t<(x-m)*(o-p)/(f-p)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs357.js"),Ve=require("./index.cjs407.js"),y=require("./index.cjs358.js"),Ye=require("./index.cjs359.js"),Xe=require("./index.cjs408.js"),We=require("./index.cjs375.js"),ze=require("./index.cjs378.js"),Ze=require("./index.cjs376.js"),T=require("./index.cjs409.js"),Je=require("./index.cjs377.js"),X=require("./index.cjs370.js"),A=require("./index.cjs361.js"),W=require("./index.cjs410.js"),Qe=require("./index.cjs381.js"),be=require("./index.cjs406.js"),et=require("./index.cjs380.js"),tt=require("./index.cjs379.js"),a=require("./index.cjs196.js");function nt(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const r=nt(Be);var oe=["Enter"," "],ot=["ArrowDown","PageUp","Home"],we=["ArrowUp","PageDown","End"],rt=[...ot,...we],st={ltr:[...oe,"ArrowRight"],rtl:[...oe,"ArrowLeft"]},ct={ltr:["ArrowLeft"],rtl:["ArrowRight"]},F="Menu",[N,ut,at]=Ve.createCollection(F),[j,it]=Ye.createContextScope(F,[at,T.createPopperScope,W.createRovingFocusGroupScope]),z=T.createPopperScope(),ye=W.createRovingFocusGroupScope(),[lt,S]=j(F),[dt,G]=j(F),re=e=>{const{__scopeMenu:n,open:t=!1,children:o,dir:u,onOpenChange:s,modal:l=!0}=e,m=z(n),[p,x]=r.useState(null),f=r.useRef(!1),c=be.useCallbackRef(s),d=Xe.useDirection(u);return r.useEffect(()=>{const R=()=>{f.current=!0,document.addEventListener("pointerdown",M,{capture:!0,once:!0}),document.addEventListener("pointermove",M,{capture:!0,once:!0})},M=()=>f.current=!1;return document.addEventListener("keydown",R,{capture:!0}),()=>{document.removeEventListener("keydown",R,{capture:!0}),document.removeEventListener("pointerdown",M,{capture:!0}),document.removeEventListener("pointermove",M,{capture:!0})}},[]),a.jsxRuntimeExports.jsx(T.Root,{...m,children:a.jsxRuntimeExports.jsx(lt,{scope:n,open:t,onOpenChange:c,content:p,onContentChange:x,children:a.jsxRuntimeExports.jsx(dt,{scope:n,onClose:r.useCallback(()=>c(!1),[c]),isUsingKeyboardRef:f,dir:d,modal:l,children:o})})})};re.displayName=F;var ft="MenuAnchor",Z=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Anchor,{...u,...o,ref:n})});Z.displayName=ft;var se="MenuPortal",[mt,Te]=j(se,{forceMount:void 0}),ce=e=>{const{__scopeMenu:n,forceMount:t,children:o,container:u}=e,s=S(se,n);return a.jsxRuntimeExports.jsx(mt,{scope:n,forceMount:t,children:a.jsxRuntimeExports.jsx(X.Presence,{present:t||s.open,children:a.jsxRuntimeExports.jsx(Je.Portal,{asChild:!0,container:u,children:o})})})};ce.displayName=se;var C="MenuContent",[pt,ue]=j(C),ae=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:l.modal?a.jsxRuntimeExports.jsx(xt,{...u,ref:n}):a.jsxRuntimeExports.jsx(vt,{...u,ref:n})})})})}),xt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu),o=r.useRef(null),u=y.useComposedRefs(n,o);return r.useEffect(()=>{const s=o.current;if(s)return et.hideOthers(s)},[]),a.jsxRuntimeExports.jsx(ie,{...e,ref:u,trapFocus:t.open,disableOutsidePointerEvents:t.open,disableOutsideScroll:!0,onFocusOutside:v.composeEventHandlers(e.onFocusOutside,s=>s.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>t.onOpenChange(!1)})}),vt=r.forwardRef((e,n)=>{const t=S(C,e.__scopeMenu);return a.jsxRuntimeExports.jsx(ie,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>t.onOpenChange(!1)})}),Mt=Qe.createSlot("MenuContent.ScrollLock"),ie=r.forwardRef((e,n)=>{const{__scopeMenu:t,loop:o=!1,trapFocus:u,onOpenAutoFocus:s,onCloseAutoFocus:l,disableOutsidePointerEvents:m,onEntryFocus:p,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,disableOutsideScroll:M,...P}=e,I=S(C,t),O=G(C,t),H=z(t),q=ye(t),he=ut(t),[Ge,ge]=r.useState(null),U=r.useRef(null),Ke=y.useComposedRefs(n,U,I.onContentChange),$=r.useRef(0),B=r.useRef(""),He=r.useRef(0),Q=r.useRef(null),_e=r.useRef("right"),ee=r.useRef(0),qe=M?tt:r.Fragment,Ue=M?{as:Mt,allowPinchZoom:!0}:void 0,$e=i=>{var w,je;const E=B.current+i,h=he().filter(g=>!g.disabled),_=document.activeElement,te=(w=h.find(g=>g.ref.current===_))==null?void 0:w.textValue,ne=h.map(g=>g.textValue),Pe=wt(ne,E,te),k=(je=h.find(g=>g.textValue===Pe))==null?void 0:je.ref.current;(function g(Se){B.current=Se,window.clearTimeout($.current),Se!==""&&($.current=window.setTimeout(()=>g(""),1e3))})(E),k&&setTimeout(()=>k.focus())};r.useEffect(()=>()=>window.clearTimeout($.current),[]),ze.useFocusGuards();const b=r.useCallback(i=>{var h,_;return _e.current===((h=Q.current)==null?void 0:h.side)&&Tt(i,(_=Q.current)==null?void 0:_.area)},[]);return a.jsxRuntimeExports.jsx(pt,{scope:t,searchRef:B,onItemEnter:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),onItemLeave:r.useCallback(i=>{var E;b(i)||((E=U.current)==null||E.focus(),ge(null))},[b]),onTriggerLeave:r.useCallback(i=>{b(i)&&i.preventDefault()},[b]),pointerGraceTimerRef:He,onPointerGraceIntentChange:r.useCallback(i=>{Q.current=i},[]),children:a.jsxRuntimeExports.jsx(qe,{...Ue,children:a.jsxRuntimeExports.jsx(Ze.FocusScope,{asChild:!0,trapped:u,onMountAutoFocus:v.composeEventHandlers(s,i=>{var E;i.preventDefault(),(E=U.current)==null||E.focus({preventScroll:!0})}),onUnmountAutoFocus:l,children:a.jsxRuntimeExports.jsx(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:m,onEscapeKeyDown:x,onPointerDownOutside:f,onFocusOutside:c,onInteractOutside:d,onDismiss:R,children:a.jsxRuntimeExports.jsx(W.Root,{asChild:!0,...q,dir:O.dir,orientation:"vertical",loop:o,currentTabStopId:Ge,onCurrentTabStopIdChange:ge,onEntryFocus:v.composeEventHandlers(p,i=>{O.isUsingKeyboardRef.current||i.preventDefault()}),preventScrollOnEntryFocus:!0,children:a.jsxRuntimeExports.jsx(T.Content,{role:"menu","aria-orientation":"vertical","data-state":Fe(I.open),"data-radix-menu-content":"",dir:O.dir,...H,...P,ref:Ke,style:{outline:"none",...P.style},onKeyDown:v.composeEventHandlers(P.onKeyDown,i=>{const h=i.target.closest("[data-radix-menu-content]")===i.currentTarget,_=i.ctrlKey||i.altKey||i.metaKey,te=i.key.length===1;h&&(i.key==="Tab"&&i.preventDefault(),!_&&te&&$e(i.key));const ne=U.current;if(i.target!==ne||!rt.includes(i.key))return;i.preventDefault();const k=he().filter(w=>!w.disabled).map(w=>w.ref.current);we.includes(i.key)&&k.reverse(),It(k)}),onBlur:v.composeEventHandlers(e.onBlur,i=>{i.currentTarget.contains(i.target)||(window.clearTimeout($.current),B.current="")}),onPointerMove:v.composeEventHandlers(e.onPointerMove,L(i=>{const E=i.target,h=ee.current!==i.clientX;if(i.currentTarget.contains(E)&&h){const _=i.clientX>ee.current?"right":"left";_e.current=_,ee.current=i.clientX}}))})})})})})})});ae.displayName=C;var Rt="MenuGroup",J=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"group",...o,ref:n})});J.displayName=Rt;var Et="MenuLabel",le=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{...o,ref:n})});le.displayName=Et;var V="MenuItem",Ie="menu.itemSelect",K=r.forwardRef((e,n)=>{const{disabled:t=!1,onSelect:o,...u}=e,s=r.useRef(null),l=G(V,e.__scopeMenu),m=ue(V,e.__scopeMenu),p=y.useComposedRefs(n,s),x=r.useRef(!1),f=()=>{const c=s.current;if(!t&&c){const d=new CustomEvent(Ie,{bubbles:!0,cancelable:!0});c.addEventListener(Ie,R=>o==null?void 0:o(R),{once:!0}),A.dispatchDiscreteCustomEvent(c,d),d.defaultPrevented?x.current=!1:l.onClose()}};return a.jsxRuntimeExports.jsx(Ae,{...u,ref:p,disabled:t,onClick:v.composeEventHandlers(e.onClick,f),onPointerDown:c=>{var d;(d=e.onPointerDown)==null||d.call(e,c),x.current=!0},onPointerUp:v.composeEventHandlers(e.onPointerUp,c=>{var d;x.current||(d=c.currentTarget)==null||d.click()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{const d=m.searchRef.current!=="";t||d&&c.key===" "||oe.includes(c.key)&&(c.currentTarget.click(),c.preventDefault())})})});K.displayName=V;var Ae=r.forwardRef((e,n)=>{const{__scopeMenu:t,disabled:o=!1,textValue:u,...s}=e,l=ue(V,t),m=ye(t),p=r.useRef(null),x=y.useComposedRefs(n,p),[f,c]=r.useState(!1),[d,R]=r.useState("");return r.useEffect(()=>{const M=p.current;M&&R((M.textContent??"").trim())},[s.children]),a.jsxRuntimeExports.jsx(N.ItemSlot,{scope:t,disabled:o,textValue:u??d,children:a.jsxRuntimeExports.jsx(W.Item,{asChild:!0,...m,focusable:!o,children:a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...s,ref:x,onPointerMove:v.composeEventHandlers(e.onPointerMove,L(M=>{o?l.onItemLeave(M):(l.onItemEnter(M),M.defaultPrevented||M.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(M=>l.onItemLeave(M))),onFocus:v.composeEventHandlers(e.onFocus,()=>c(!0)),onBlur:v.composeEventHandlers(e.onBlur,()=>c(!1))})})})}),Ct="MenuCheckboxItem",de=r.forwardRef((e,n)=>{const{checked:t=!1,onCheckedChange:o,...u}=e;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:t,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemcheckbox","aria-checked":Y(t)?"mixed":t,...u,ref:n,"data-state":Ce(t),onSelect:v.composeEventHandlers(u.onSelect,()=>o==null?void 0:o(Y(t)?!0:!t),{checkForDefaultPrevented:!1})})})});de.displayName=Ct;var Oe="MenuRadioGroup",[ht,gt]=j(Oe,{value:void 0,onValueChange:()=>{}}),fe=r.forwardRef((e,n)=>{const{value:t,onValueChange:o,...u}=e,s=be.useCallbackRef(o);return a.jsxRuntimeExports.jsx(ht,{scope:e.__scopeMenu,value:t,onValueChange:s,children:a.jsxRuntimeExports.jsx(J,{...u,ref:n})})});fe.displayName=Oe;var ke="MenuRadioItem",me=r.forwardRef((e,n)=>{const{value:t,...o}=e,u=gt(ke,e.__scopeMenu),s=t===u.value;return a.jsxRuntimeExports.jsx(De,{scope:e.__scopeMenu,checked:s,children:a.jsxRuntimeExports.jsx(K,{role:"menuitemradio","aria-checked":s,...o,ref:n,"data-state":Ce(s),onSelect:v.composeEventHandlers(o.onSelect,()=>{var l;return(l=u.onValueChange)==null?void 0:l.call(u,t)},{checkForDefaultPrevented:!1})})})});me.displayName=ke;var pe="MenuItemIndicator",[De,_t]=j(pe,{checked:!1}),xe=r.forwardRef((e,n)=>{const{__scopeMenu:t,forceMount:o,...u}=e,s=_t(pe,t);return a.jsxRuntimeExports.jsx(X.Presence,{present:o||Y(s.checked)||s.checked===!0,children:a.jsxRuntimeExports.jsx(A.Primitive.span,{...u,ref:n,"data-state":Ce(s.checked)})})});xe.displayName=pe;var Pt="MenuSeparator",ve=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e;return a.jsxRuntimeExports.jsx(A.Primitive.div,{role:"separator","aria-orientation":"horizontal",...o,ref:n})});ve.displayName=Pt;var jt="MenuArrow",Me=r.forwardRef((e,n)=>{const{__scopeMenu:t,...o}=e,u=z(t);return a.jsxRuntimeExports.jsx(T.Arrow,{...u,...o,ref:n})});Me.displayName=jt;var St="MenuSub",[Yt,Ne]=j(St),D="MenuSubTrigger",Re=r.forwardRef((e,n)=>{const t=S(D,e.__scopeMenu),o=G(D,e.__scopeMenu),u=Ne(D,e.__scopeMenu),s=ue(D,e.__scopeMenu),l=r.useRef(null),{pointerGraceTimerRef:m,onPointerGraceIntentChange:p}=s,x={__scopeMenu:e.__scopeMenu},f=r.useCallback(()=>{l.current&&window.clearTimeout(l.current),l.current=null},[]);return r.useEffect(()=>f,[f]),r.useEffect(()=>{const c=m.current;return()=>{window.clearTimeout(c),p(null)}},[m,p]),a.jsxRuntimeExports.jsx(Z,{asChild:!0,...x,children:a.jsxRuntimeExports.jsx(Ae,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":t.open,"aria-controls":u.contentId,"data-state":Fe(t.open),...e,ref:y.composeRefs(n,u.onTriggerChange),onClick:c=>{var d;(d=e.onClick)==null||d.call(e,c),!(e.disabled||c.defaultPrevented)&&(c.currentTarget.focus(),t.open||t.onOpenChange(!0))},onPointerMove:v.composeEventHandlers(e.onPointerMove,L(c=>{s.onItemEnter(c),!c.defaultPrevented&&!e.disabled&&!t.open&&!l.current&&(s.onPointerGraceIntentChange(null),l.current=window.setTimeout(()=>{t.onOpenChange(!0),f()},100))})),onPointerLeave:v.composeEventHandlers(e.onPointerLeave,L(c=>{var R,M;f();const d=(R=t.content)==null?void 0:R.getBoundingClientRect();if(d){const P=(M=t.content)==null?void 0:M.dataset.side,I=P==="right",O=I?-5:5,H=d[I?"left":"right"],q=d[I?"right":"left"];s.onPointerGraceIntentChange({area:[{x:c.clientX+O,y:c.clientY},{x:H,y:d.top},{x:q,y:d.top},{x:q,y:d.bottom},{x:H,y:d.bottom}],side:P}),window.clearTimeout(m.current),m.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(c),c.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:v.composeEventHandlers(e.onKeyDown,c=>{var R;const d=s.searchRef.current!=="";e.disabled||d&&c.key===" "||st[o.dir].includes(c.key)&&(t.onOpenChange(!0),(R=t.content)==null||R.focus(),c.preventDefault())})})})});Re.displayName=D;var Le="MenuSubContent",Ee=r.forwardRef((e,n)=>{const t=Te(C,e.__scopeMenu),{forceMount:o=t.forceMount,...u}=e,s=S(C,e.__scopeMenu),l=G(C,e.__scopeMenu),m=Ne(Le,e.__scopeMenu),p=r.useRef(null),x=y.useComposedRefs(n,p);return a.jsxRuntimeExports.jsx(N.Provider,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(X.Presence,{present:o||s.open,children:a.jsxRuntimeExports.jsx(N.Slot,{scope:e.__scopeMenu,children:a.jsxRuntimeExports.jsx(ie,{id:m.contentId,"aria-labelledby":m.triggerId,...u,ref:x,align:"start",side:l.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:f=>{var c;l.isUsingKeyboardRef.current&&((c=p.current)==null||c.focus()),f.preventDefault()},onCloseAutoFocus:f=>f.preventDefault(),onFocusOutside:v.composeEventHandlers(e.onFocusOutside,f=>{f.target!==m.trigger&&s.onOpenChange(!1)}),onEscapeKeyDown:v.composeEventHandlers(e.onEscapeKeyDown,f=>{l.onClose(),f.preventDefault()}),onKeyDown:v.composeEventHandlers(e.onKeyDown,f=>{var R;const c=f.currentTarget.contains(f.target),d=ct[l.dir].includes(f.key);c&&d&&(s.onOpenChange(!1),(R=m.trigger)==null||R.focus(),f.preventDefault())})})})})})});Ee.displayName=Le;function Fe(e){return e?"open":"closed"}function Y(e){return e==="indeterminate"}function Ce(e){return Y(e)?"indeterminate":e?"checked":"unchecked"}function It(e){const n=document.activeElement;for(const t of e)if(t===n||(t.focus(),document.activeElement!==n))return}function bt(e,n){return e.map((t,o)=>e[(n+o)%e.length])}function wt(e,n,t){const u=n.length>1&&Array.from(n).every(x=>x===n[0])?n[0]:n,s=t?e.indexOf(t):-1;let l=bt(e,Math.max(s,0));u.length===1&&(l=l.filter(x=>x!==t));const p=l.find(x=>x.toLowerCase().startsWith(u.toLowerCase()));return p!==t?p:void 0}function yt(e,n){const{x:t,y:o}=e;let u=!1;for(let s=0,l=n.length-1;s<n.length;l=s++){const m=n[s].x,p=n[s].y,x=n[l].x,f=n[l].y;p>o!=f>o&&t<(x-m)*(o-p)/(f-p)+m&&(u=!u)}return u}function Tt(e,n){if(!n)return!1;const t={x:e.clientX,y:e.clientY};return yt(t,n)}function L(e){return n=>n.pointerType==="mouse"?e(n):void 0}var At=re,Ot=Z,kt=ce,Dt=ae,Nt=J,Lt=le,Ft=K,Gt=de,Kt=fe,Ht=me,qt=xe,Ut=ve,$t=Me,Bt=Re,Vt=Ee;exports.Anchor=Ot;exports.Arrow=$t;exports.CheckboxItem=Gt;exports.Content=Dt;exports.Group=Nt;exports.Item=Ft;exports.ItemIndicator=qt;exports.Label=Lt;exports.Menu=re;exports.MenuAnchor=Z;exports.MenuArrow=Me;exports.MenuCheckboxItem=de;exports.MenuContent=ae;exports.MenuGroup=J;exports.MenuItem=K;exports.MenuItemIndicator=xe;exports.MenuLabel=le;exports.MenuPortal=ce;exports.MenuRadioGroup=fe;exports.MenuRadioItem=me;exports.MenuSeparator=ve;exports.MenuSubContent=Ee;exports.MenuSubTrigger=Re;exports.Portal=kt;exports.RadioGroup=Kt;exports.RadioItem=Ht;exports.Root=At;exports.Separator=Ut;exports.SubContent=Vt;exports.SubTrigger=Bt;exports.createMenuScope=it;
2
2
  //# sourceMappingURL=index.cjs362.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs401.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs411.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var i=o[" useId ".trim().toString()]||(()=>{}),s=0;function d(e){const[t,r]=o.useState(i());return c.useLayoutEffect(()=>{r(n=>n??String(s++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=d;
2
2
  //# sourceMappingURL=index.cjs363.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs365.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\n\nexport const useFocusTrap = (\n ref: React.RefObject<HTMLElement | null>,\n isActive: boolean,\n) => {\n useEffect(() => {\n if (!isActive || !ref.current) return;\n\n const focusableElements = ref.current.querySelectorAll(\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\n );\n const firstFocusableElement = focusableElements[0] as HTMLElement;\n const lastFocusableElement = focusableElements[\n focusableElements.length - 1\n ] as HTMLElement;\n\n const handleKeyDown = (e: KeyboardEvent) => {\n if (e.key !== \"Tab\") return;\n\n if (e.shiftKey) {\n if (document.activeElement === firstFocusableElement) {\n lastFocusableElement.focus();\n e.preventDefault();\n }\n } else {\n if (document.activeElement === lastFocusableElement) {\n firstFocusableElement.focus();\n e.preventDefault();\n }\n }\n };\n\n const previousActiveElement = document.activeElement as HTMLElement;\n\n firstFocusableElement.focus();\n\n document.addEventListener(\"keydown\", handleKeyDown);\n\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n\n if (isActive) {\n previousActiveElement?.focus();\n }\n };\n }, [isActive, ref]);\n};\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAEzB,MAAAG,EAAoBH,EAAI,QAAQ,iBACpC,0EACF,EACMI,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAM,EAC3B,EAAE,eAAe,GAGf,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAM,EAC5B,EAAE,eAAe,GAGvB,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAM,EAEnB,SAAA,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACF,SAAA,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CAAA,EACC,CAACN,EAAUD,CAAG,CAAC,CACpB"}
1
+ {"version":3,"file":"index.cjs365.js","sources":["../src/hooks/useFocusTrap.ts"],"sourcesContent":["import { useEffect } from \"react\";\r\n\r\nexport const useFocusTrap = (\r\n ref: React.RefObject<HTMLElement | null>,\r\n isActive: boolean,\r\n) => {\r\n useEffect(() => {\r\n if (!isActive || !ref.current) return;\r\n\r\n const focusableElements = ref.current.querySelectorAll(\r\n 'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])',\r\n );\r\n const firstFocusableElement = focusableElements[0] as HTMLElement;\r\n const lastFocusableElement = focusableElements[\r\n focusableElements.length - 1\r\n ] as HTMLElement;\r\n\r\n const handleKeyDown = (e: KeyboardEvent) => {\r\n if (e.key !== \"Tab\") return;\r\n\r\n if (e.shiftKey) {\r\n if (document.activeElement === firstFocusableElement) {\r\n lastFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n } else {\r\n if (document.activeElement === lastFocusableElement) {\r\n firstFocusableElement.focus();\r\n e.preventDefault();\r\n }\r\n }\r\n };\r\n\r\n const previousActiveElement = document.activeElement as HTMLElement;\r\n\r\n firstFocusableElement.focus();\r\n\r\n document.addEventListener(\"keydown\", handleKeyDown);\r\n\r\n return () => {\r\n document.removeEventListener(\"keydown\", handleKeyDown);\r\n\r\n if (isActive) {\r\n previousActiveElement?.focus();\r\n }\r\n };\r\n }, [isActive, ref]);\r\n};\r\n"],"names":["useFocusTrap","ref","isActive","useEffect","focusableElements","firstFocusableElement","lastFocusableElement","handleKeyDown","previousActiveElement"],"mappings":"yGAEaA,EAAe,CAC1BC,EACAC,IACG,CACHC,EAAAA,UAAU,IAAM,CACd,GAAI,CAACD,GAAY,CAACD,EAAI,QAAS,OAEzB,MAAAG,EAAoBH,EAAI,QAAQ,iBACpC,0EACF,EACMI,EAAwBD,EAAkB,CAAC,EAC3CE,EAAuBF,EAC3BA,EAAkB,OAAS,CAC7B,EAEMG,EAAiB,GAAqB,CACtC,EAAE,MAAQ,QAEV,EAAE,SACA,SAAS,gBAAkBF,IAC7BC,EAAqB,MAAM,EAC3B,EAAE,eAAe,GAGf,SAAS,gBAAkBA,IAC7BD,EAAsB,MAAM,EAC5B,EAAE,eAAe,GAGvB,EAEMG,EAAwB,SAAS,cAEvC,OAAAH,EAAsB,MAAM,EAEnB,SAAA,iBAAiB,UAAWE,CAAa,EAE3C,IAAM,CACF,SAAA,oBAAoB,UAAWA,CAAa,EAEjDL,IACFM,GAAA,MAAAA,EAAuB,QAE3B,CAAA,EACC,CAACN,EAAUD,CAAG,CAAC,CACpB"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs401.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs411.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
2
  //# sourceMappingURL=index.cjs369.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs37.js","sources":["../src/components/ui/EntryButton/index.tsx"],"sourcesContent":["import { Spid } from \"@/icons/Spid\";\nimport \"./EntryButton.scss\";\nimport { Row } from \"@/components\";\n\ntype EntryButtonProps = {\n href: string;\n asLink?: \"a\" | React.ComponentType<any>;\n showIcon?: boolean;\n ariaLabel: string;\n children: React.ReactNode;\n};\n\nexport const EntryButton = ({\n href,\n asLink = \"a\",\n showIcon = false,\n ariaLabel = \"Accedi con SPID\",\n children,\n}: EntryButtonProps) => {\n const LinkComponent = asLink;\n\n return (\n <LinkComponent\n className=\"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn\"\n href={href}\n rel={\"noreferrer noopener\"}\n >\n <Row py={\"x8\"} px={\"x12\"} className=\"items-center ui-entry-btn-spid\">\n {showIcon ? (\n <Spid color=\"white\" />\n ) : (\n <div style={{ width: 24, height: 24 }} aria-hidden=\"true\" />\n )}\n </Row>\n <span\n className=\"p-x8 fw-bold text-white text-decoration-none fs-6\"\n rel={\"noreferrer noopener\"}\n >\n {children}\n {ariaLabel && <span className=\"visually-hidden\">{ariaLabel}</span>}\n </span>\n </LinkComponent>\n );\n};\n"],"names":["EntryButton","href","asLink","showIcon","ariaLabel","children","LinkComponent","jsxs","jsx","Row","Spid"],"mappings":"oNAYaA,EAAc,CAAC,CAC1B,KAAAC,EACA,OAAAC,EAAS,IACT,SAAAC,EAAW,GACX,UAAAC,EAAY,kBACZ,SAAAC,CACF,IAAwB,CACtB,MAAMC,EAAgBJ,EAGpB,OAAAK,EAAA,kBAAA,KAACD,EAAA,CACC,UAAU,6GACV,KAAAL,EACA,IAAK,sBAEL,SAAA,CAACO,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,GAAI,KAAM,GAAI,MAAO,UAAU,iCACjC,SAAAN,EACEK,EAAA,kBAAA,IAAAE,EAAA,KAAA,CAAK,MAAM,OAAA,CAAQ,EAEnBF,EAAA,kBAAA,IAAA,MAAA,CAAI,MAAO,CAAE,MAAO,GAAI,OAAQ,EAAG,EAAG,cAAY,MAAA,CAAO,CAE9D,CAAA,EACAD,EAAA,kBAAA,KAAC,OAAA,CACC,UAAU,oDACV,IAAK,sBAEJ,SAAA,CAAAF,EACAD,GAAaI,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAmB,SAAUJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAC7D,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs37.js","sources":["../src/components/ui/EntryButton/index.tsx"],"sourcesContent":["import { Spid } from \"@/icons/Spid\";\r\nimport \"./EntryButton.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype EntryButtonProps = {\r\n href: string;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n showIcon?: boolean;\r\n ariaLabel: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const EntryButton = ({\r\n href,\r\n asLink = \"a\",\r\n showIcon = false,\r\n ariaLabel = \"Accedi con SPID\",\r\n children,\r\n}: EntryButtonProps) => {\r\n const LinkComponent = asLink;\r\n\r\n return (\r\n <LinkComponent\r\n className=\"bg-primary min-h-x40 h-full base-row align-items-center br-x4 min-w-x252 text-decoration-none ui-entry-btn\"\r\n href={href}\r\n rel={\"noreferrer noopener\"}\r\n >\r\n <Row py={\"x8\"} px={\"x12\"} className=\"items-center ui-entry-btn-spid\">\r\n {showIcon ? (\r\n <Spid color=\"white\" />\r\n ) : (\r\n <div style={{ width: 24, height: 24 }} aria-hidden=\"true\" />\r\n )}\r\n </Row>\r\n <span\r\n className=\"p-x8 fw-bold text-white text-decoration-none fs-6\"\r\n rel={\"noreferrer noopener\"}\r\n >\r\n {children}\r\n {ariaLabel && <span className=\"visually-hidden\">{ariaLabel}</span>}\r\n </span>\r\n </LinkComponent>\r\n );\r\n};\r\n"],"names":["EntryButton","href","asLink","showIcon","ariaLabel","children","LinkComponent","jsxs","jsx","Row","Spid"],"mappings":"oNAYaA,EAAc,CAAC,CAC1B,KAAAC,EACA,OAAAC,EAAS,IACT,SAAAC,EAAW,GACX,UAAAC,EAAY,kBACZ,SAAAC,CACF,IAAwB,CACtB,MAAMC,EAAgBJ,EAGpB,OAAAK,EAAA,kBAAA,KAACD,EAAA,CACC,UAAU,6GACV,KAAAL,EACA,IAAK,sBAEL,SAAA,CAACO,EAAAA,kBAAAA,IAAAC,EAAAA,IAAA,CAAI,GAAI,KAAM,GAAI,MAAO,UAAU,iCACjC,SAAAN,EACEK,EAAA,kBAAA,IAAAE,EAAA,KAAA,CAAK,MAAM,OAAA,CAAQ,EAEnBF,EAAA,kBAAA,IAAA,MAAA,CAAI,MAAO,CAAE,MAAO,GAAI,OAAQ,EAAG,EAAG,cAAY,MAAA,CAAO,CAE9D,CAAA,EACAD,EAAA,kBAAA,KAAC,OAAA,CACC,UAAU,oDACV,IAAK,sBAEJ,SAAA,CAAAF,EACAD,GAAaI,EAAA,kBAAA,IAAC,OAAK,CAAA,UAAU,kBAAmB,SAAUJ,CAAA,CAAA,CAAA,CAAA,CAAA,CAC7D,CAAA,CACF,CAEJ"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs358.js"),g=require("./index.cjs401.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs358.js"),g=require("./index.cjs411.js");function E(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const t in n)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(n,t);Object.defineProperty(e,t,r.get?r:{enumerable:!0,get:()=>n[t]})}}return e.default=n,Object.freeze(e)}const a=E(y);function R(n,e){return a.useReducer((t,r)=>e[t][r]??t,n)}var O=n=>{const{present:e,children:t}=n,r=v(e),i=typeof t=="function"?t({present:r.isPresent}):a.Children.only(t),u=P.useComposedRefs(r.ref,S(i));return typeof t=="function"||r.isPresent?a.cloneElement(i,{ref:u}):null};O.displayName="Presence";function v(n){const[e,t]=a.useState(),r=a.useRef({}),i=a.useRef(n),u=a.useRef("none"),p=n?"mounted":"unmounted",[N,c]=R(p,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{const o=l(r.current);u.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,d=i.current;if(d!==n){const f=u.current,s=l(o);n?c("MOUNT"):s==="none"||(o==null?void 0:o.display)==="none"?c("UNMOUNT"):c(d&&f!==s?"ANIMATION_OUT":"UNMOUNT"),i.current=n}},[n,c]),g.useLayoutEffect(()=>{if(e){let o;const d=e.ownerDocument.defaultView??window,m=s=>{const M=l(r.current).includes(s.animationName);if(s.target===e&&M&&(c("ANIMATION_END"),!i.current)){const T=e.style.animationFillMode;e.style.animationFillMode="forwards",o=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=T)})}},f=s=>{s.target===e&&(u.current=l(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",m),e.addEventListener("animationend",m),()=>{d.clearTimeout(o),e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",m),e.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[e,c]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:a.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function l(n){return(n==null?void 0:n.animationName)||"none"}function S(n){var r,i;let e=(r=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:r.get,t=e&&"isReactWarning"in e&&e.isReactWarning;return t?n.ref:(e=(i=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:i.get,t=e&&"isReactWarning"in e&&e.isReactWarning,t?n.props.ref:n.props.ref||n.ref)}exports.Presence=O;
2
2
  //# sourceMappingURL=index.cjs370.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("react"),x=require("./index.cjs358.js"),A=require("./index.cjs361.js"),O=require("./index.cjs396.js"),k=require("./index.cjs196.js");function w(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const f=w(U);var F="focusScope.autoFocusOnMount",y="focusScope.autoFocusOnUnmount",S={bubbles:!1,cancelable:!0},K="FocusScope",C=f.forwardRef((e,n)=>{const{loop:t=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:I,...L}=e,[s,P]=f.useState(null),E=O.useCallbackRef(p),v=O.useCallbackRef(I),b=f.useRef(null),_=x.useComposedRefs(n,u=>P(u)),a=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(o){let u=function(i){if(a.paused||!s)return;const c=i.target;s.contains(c)?b.current=c:d(b.current,{select:!0})},l=function(i){if(a.paused||!s)return;const c=i.relatedTarget;c!==null&&(s.contains(c)||d(b.current,{select:!0}))},r=function(i){if(document.activeElement===document.body)for(const T of i)T.removedNodes.length>0&&d(s)};document.addEventListener("focusin",u),document.addEventListener("focusout",l);const m=new MutationObserver(r);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",u),document.removeEventListener("focusout",l),m.disconnect()}}},[o,s,a.paused]),f.useEffect(()=>{if(s){N.add(a);const u=document.activeElement;if(!s.contains(u)){const r=new CustomEvent(F,S);s.addEventListener(F,E),s.dispatchEvent(r),r.defaultPrevented||(j(W(R(s)),{select:!0}),document.activeElement===u&&d(s))}return()=>{s.removeEventListener(F,E),setTimeout(()=>{const r=new CustomEvent(y,S);s.addEventListener(y,v),s.dispatchEvent(r),r.defaultPrevented||d(u??document.body,{select:!0}),s.removeEventListener(y,v),N.remove(a)},0)}}},[s,E,v,a]);const M=f.useCallback(u=>{if(!t&&!o||a.paused)return;const l=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,r=document.activeElement;if(l&&r){const m=u.currentTarget,[i,c]=D(m);i&&c?!u.shiftKey&&r===c?(u.preventDefault(),t&&d(i,{select:!0})):u.shiftKey&&r===i&&(u.preventDefault(),t&&d(c,{select:!0})):r===m&&u.preventDefault()}},[t,o,a.paused]);return k.jsxRuntimeExports.jsx(A.Primitive.div,{tabIndex:-1,...L,ref:_,onKeyDown:M})});C.displayName=K;function j(e,{select:n=!1}={}){const t=document.activeElement;for(const o of e)if(d(o,{select:n}),document.activeElement!==t)return}function D(e){const n=R(e),t=h(n,e),o=h(n.reverse(),e);return[t,o]}function R(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const p=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||p?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function h(e,n){for(const t of e)if(!q(t,{upTo:n}))return t}function q(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function H(e){return e instanceof HTMLInputElement&&"select"in e}function d(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&H(e)&&n&&e.select()}}var N=V();function V(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=g(e,n),e.unshift(n)},remove(n){var t;e=g(e,n),(t=e[0])==null||t.resume()}}}function g(e,n){const t=[...e],o=t.indexOf(n);return o!==-1&&t.splice(o,1),t}function W(e){return e.filter(n=>n.tagName!=="A")}exports.FocusScope=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");require("./index.cjs412.js");function i(){const[t,e]=o.useState(null),a=o.useCallback(async r=>{if(!(navigator!=null&&navigator.clipboard))return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(r),e(r),!0}catch(n){return console.warn("Copy failed",n),e(null),!1}},[]);return[t,a]}exports.useCopyToClipboard=i;
2
2
  //# sourceMappingURL=index.cjs373.js.map