@anoki/fse-ui 1.0.627 → 1.0.628

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 (783) hide show
  1. package/dist/components/ui/AuthorBlock/AuthorBlock.css +1 -1
  2. package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
  3. package/dist/index.cjs10.js +1 -1
  4. package/dist/index.cjs100.js +1 -1
  5. package/dist/index.cjs101.js +1 -1
  6. package/dist/index.cjs102.js +1 -1
  7. package/dist/index.cjs103.js +1 -1
  8. package/dist/index.cjs104.js +1 -1
  9. package/dist/index.cjs105.js +1 -1
  10. package/dist/index.cjs107.js +1 -1
  11. package/dist/index.cjs108.js +1 -1
  12. package/dist/index.cjs11.js +1 -1
  13. package/dist/index.cjs110.js +1 -1
  14. package/dist/index.cjs112.js +1 -1
  15. package/dist/index.cjs114.js +1 -1
  16. package/dist/index.cjs116.js +1 -1
  17. package/dist/index.cjs117.js +1 -1
  18. package/dist/index.cjs118.js +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs121.js +1 -1
  21. package/dist/index.cjs122.js +1 -1
  22. package/dist/index.cjs123.js +1 -1
  23. package/dist/index.cjs124.js +1 -1
  24. package/dist/index.cjs125.js +1 -1
  25. package/dist/index.cjs126.js +1 -1
  26. package/dist/index.cjs127.js +1 -1
  27. package/dist/index.cjs128.js +1 -1
  28. package/dist/index.cjs129.js +1 -1
  29. package/dist/index.cjs13.js +1 -1
  30. package/dist/index.cjs130.js +1 -1
  31. package/dist/index.cjs131.js +1 -1
  32. package/dist/index.cjs132.js +1 -1
  33. package/dist/index.cjs133.js +1 -1
  34. package/dist/index.cjs134.js +1 -1
  35. package/dist/index.cjs135.js +1 -1
  36. package/dist/index.cjs136.js +1 -1
  37. package/dist/index.cjs137.js +1 -1
  38. package/dist/index.cjs138.js +1 -1
  39. package/dist/index.cjs139.js +1 -1
  40. package/dist/index.cjs14.js +1 -1
  41. package/dist/index.cjs140.js +1 -1
  42. package/dist/index.cjs141.js +1 -1
  43. package/dist/index.cjs142.js +1 -1
  44. package/dist/index.cjs143.js +1 -1
  45. package/dist/index.cjs144.js +1 -1
  46. package/dist/index.cjs145.js +1 -1
  47. package/dist/index.cjs146.js +1 -1
  48. package/dist/index.cjs147.js +1 -1
  49. package/dist/index.cjs148.js +1 -1
  50. package/dist/index.cjs149.js +1 -1
  51. package/dist/index.cjs15.js +1 -1
  52. package/dist/index.cjs151.js +1 -1
  53. package/dist/index.cjs152.js +1 -1
  54. package/dist/index.cjs153.js +1 -1
  55. package/dist/index.cjs154.js +1 -1
  56. package/dist/index.cjs155.js +1 -1
  57. package/dist/index.cjs156.js +1 -1
  58. package/dist/index.cjs157.js +1 -1
  59. package/dist/index.cjs158.js +1 -1
  60. package/dist/index.cjs159.js +1 -1
  61. package/dist/index.cjs16.js +1 -1
  62. package/dist/index.cjs161.js +1 -1
  63. package/dist/index.cjs162.js +1 -1
  64. package/dist/index.cjs163.js +1 -1
  65. package/dist/index.cjs164.js +1 -1
  66. package/dist/index.cjs165.js +1 -1
  67. package/dist/index.cjs166.js +1 -1
  68. package/dist/index.cjs167.js +1 -1
  69. package/dist/index.cjs169.js +1 -1
  70. package/dist/index.cjs17.js +1 -1
  71. package/dist/index.cjs170.js +1 -1
  72. package/dist/index.cjs171.js +1 -1
  73. package/dist/index.cjs172.js +1 -1
  74. package/dist/index.cjs173.js +1 -1
  75. package/dist/index.cjs174.js +1 -1
  76. package/dist/index.cjs175.js +1 -1
  77. package/dist/index.cjs18.js +1 -1
  78. package/dist/index.cjs19.js +1 -1
  79. package/dist/index.cjs197.js +2 -0
  80. package/dist/index.cjs197.js.map +1 -0
  81. package/dist/index.cjs198.js +1 -1
  82. package/dist/index.cjs198.js.map +1 -1
  83. package/dist/index.cjs20.js +1 -1
  84. package/dist/index.cjs200.js +1 -1
  85. package/dist/index.cjs200.js.map +1 -1
  86. package/dist/{index.cjs212.js → index.cjs201.js} +1 -1
  87. package/dist/{index.cjs212.js.map → index.cjs201.js.map} +1 -1
  88. package/dist/{index.cjs215.js → index.cjs204.js} +1 -1
  89. package/dist/{index.cjs215.js.map → index.cjs204.js.map} +1 -1
  90. package/dist/index.cjs208.js +1 -6
  91. package/dist/index.cjs208.js.map +1 -1
  92. package/dist/index.cjs21.js +1 -1
  93. package/dist/{index.cjs222.js → index.cjs211.js} +2 -2
  94. package/dist/{index.cjs222.js.map → index.cjs211.js.map} +1 -1
  95. package/dist/index.cjs214.js +2 -0
  96. package/dist/index.cjs214.js.map +1 -0
  97. package/dist/{index.cjs228.js → index.cjs217.js} +2 -2
  98. package/dist/{index.cjs228.js.map → index.cjs217.js.map} +1 -1
  99. package/dist/index.cjs218.js +2 -0
  100. package/dist/index.cjs218.js.map +1 -0
  101. package/dist/index.cjs219.js +1 -1
  102. package/dist/index.cjs219.js.map +1 -1
  103. package/dist/index.cjs22.js +1 -1
  104. package/dist/index.cjs225.js +1 -1
  105. package/dist/index.cjs225.js.map +1 -1
  106. package/dist/index.cjs226.js +2 -0
  107. package/dist/index.cjs226.js.map +1 -0
  108. package/dist/index.cjs229.js +1 -1
  109. package/dist/index.cjs229.js.map +1 -1
  110. package/dist/index.cjs23.js +1 -1
  111. package/dist/index.cjs234.js +2 -0
  112. package/dist/index.cjs234.js.map +1 -0
  113. package/dist/index.cjs235.js +2 -0
  114. package/dist/index.cjs235.js.map +1 -0
  115. package/dist/index.cjs236.js +1 -1
  116. package/dist/index.cjs236.js.map +1 -1
  117. package/dist/index.cjs237.js +1 -1
  118. package/dist/index.cjs237.js.map +1 -1
  119. package/dist/index.cjs238.js +2 -0
  120. package/dist/index.cjs238.js.map +1 -0
  121. package/dist/index.cjs24.js +1 -1
  122. package/dist/index.cjs240.js +1 -1
  123. package/dist/index.cjs240.js.map +1 -1
  124. package/dist/index.cjs242.js +6 -0
  125. package/dist/index.cjs242.js.map +1 -0
  126. package/dist/index.cjs243.js +2 -0
  127. package/dist/index.cjs243.js.map +1 -0
  128. package/dist/{index.cjs255.js → index.cjs244.js} +1 -1
  129. package/dist/{index.cjs255.js.map → index.cjs244.js.map} +1 -1
  130. package/dist/index.cjs245.js +1 -1
  131. package/dist/index.cjs245.js.map +1 -1
  132. package/dist/index.cjs246.js +1 -1
  133. package/dist/index.cjs246.js.map +1 -1
  134. package/dist/index.cjs248.js +1 -1
  135. package/dist/index.cjs248.js.map +1 -1
  136. package/dist/index.cjs249.js +1 -1
  137. package/dist/index.cjs249.js.map +1 -1
  138. package/dist/index.cjs25.js +1 -1
  139. package/dist/index.cjs250.js +2 -0
  140. package/dist/index.cjs250.js.map +1 -0
  141. package/dist/index.cjs253.js +1 -5
  142. package/dist/index.cjs253.js.map +1 -1
  143. package/dist/index.cjs254.js +1 -1
  144. package/dist/index.cjs254.js.map +1 -1
  145. package/dist/index.cjs259.js +1 -1
  146. package/dist/index.cjs259.js.map +1 -1
  147. package/dist/index.cjs26.js +1 -1
  148. package/dist/index.cjs260.js +1 -1
  149. package/dist/index.cjs260.js.map +1 -1
  150. package/dist/index.cjs261.js +1 -1
  151. package/dist/index.cjs261.js.map +1 -1
  152. package/dist/{index.cjs274.js → index.cjs263.js} +2 -2
  153. package/dist/{index.cjs274.js.map → index.cjs263.js.map} +1 -1
  154. package/dist/index.cjs264.js +1 -1
  155. package/dist/index.cjs264.js.map +1 -1
  156. package/dist/index.cjs265.js +1 -1
  157. package/dist/index.cjs265.js.map +1 -1
  158. package/dist/{index.cjs278.js → index.cjs267.js} +2 -2
  159. package/dist/{index.cjs278.js.map → index.cjs267.js.map} +1 -1
  160. package/dist/{index.cjs279.js → index.cjs268.js} +2 -2
  161. package/dist/{index.cjs279.js.map → index.cjs268.js.map} +1 -1
  162. package/dist/index.cjs269.js +2 -0
  163. package/dist/index.cjs269.js.map +1 -0
  164. package/dist/index.cjs271.js +6 -1
  165. package/dist/index.cjs271.js.map +1 -1
  166. package/dist/index.cjs28.js +1 -1
  167. package/dist/index.cjs280.js +1 -1
  168. package/dist/index.cjs280.js.map +1 -1
  169. package/dist/index.cjs29.js +1 -1
  170. package/dist/index.cjs30.js +1 -1
  171. package/dist/{index.cjs318.js → index.cjs308.js} +2 -2
  172. package/dist/{index.cjs318.js.map → index.cjs308.js.map} +1 -1
  173. package/dist/index.cjs31.js +1 -1
  174. package/dist/{index.cjs326.js → index.cjs316.js} +2 -2
  175. package/dist/{index.cjs326.js.map → index.cjs316.js.map} +1 -1
  176. package/dist/index.cjs32.js +1 -1
  177. package/dist/{index.cjs331.js → index.cjs321.js} +1 -1
  178. package/dist/{index.cjs331.js.map → index.cjs321.js.map} +1 -1
  179. package/dist/index.cjs327.js +2 -0
  180. package/dist/index.cjs327.js.map +1 -0
  181. package/dist/{index.cjs339.js → index.cjs329.js} +2 -2
  182. package/dist/{index.cjs339.js.map → index.cjs329.js.map} +1 -1
  183. package/dist/index.cjs33.js +1 -1
  184. package/dist/{index.cjs343.js → index.cjs333.js} +1 -1
  185. package/dist/{index.cjs343.js.map → index.cjs333.js.map} +1 -1
  186. package/dist/{index.cjs345.js → index.cjs335.js} +2 -2
  187. package/dist/{index.cjs345.js.map → index.cjs335.js.map} +1 -1
  188. package/dist/{index.cjs346.js → index.cjs336.js} +1 -1
  189. package/dist/{index.cjs346.js.map → index.cjs336.js.map} +1 -1
  190. package/dist/index.cjs337.js +1 -1
  191. package/dist/index.cjs337.js.map +1 -1
  192. package/dist/index.cjs34.js +1 -1
  193. package/dist/index.cjs34.js.map +1 -1
  194. package/dist/index.cjs344.js +2 -0
  195. package/dist/index.cjs344.js.map +1 -0
  196. package/dist/index.cjs35.js +1 -1
  197. package/dist/index.cjs351.js +2 -0
  198. package/dist/index.cjs351.js.map +1 -0
  199. package/dist/index.cjs355.js +1 -1
  200. package/dist/index.cjs356.js +1 -1
  201. package/dist/index.cjs357.js +1 -27
  202. package/dist/index.cjs357.js.map +1 -1
  203. package/dist/index.cjs358.js +1 -1
  204. package/dist/index.cjs358.js.map +1 -1
  205. package/dist/index.cjs359.js +1 -1
  206. package/dist/index.cjs359.js.map +1 -1
  207. package/dist/index.cjs360.js +1 -1
  208. package/dist/index.cjs360.js.map +1 -1
  209. package/dist/index.cjs361.js +1 -2
  210. package/dist/index.cjs361.js.map +1 -1
  211. package/dist/index.cjs362.js +1 -1
  212. package/dist/index.cjs362.js.map +1 -1
  213. package/dist/index.cjs363.js +1 -1
  214. package/dist/index.cjs363.js.map +1 -1
  215. package/dist/index.cjs365.js +1 -1
  216. package/dist/index.cjs365.js.map +1 -1
  217. package/dist/index.cjs368.js +1 -1
  218. package/dist/index.cjs368.js.map +1 -1
  219. package/dist/{index.cjs374.js → index.cjs369.js} +1 -1
  220. package/dist/{index.cjs374.js.map → index.cjs369.js.map} +1 -1
  221. package/dist/index.cjs37.js +1 -1
  222. package/dist/index.cjs370.js +1 -1
  223. package/dist/index.cjs370.js.map +1 -1
  224. package/dist/index.cjs371.js +2 -0
  225. package/dist/index.cjs371.js.map +1 -0
  226. package/dist/index.cjs379.js +2 -0
  227. package/dist/index.cjs379.js.map +1 -0
  228. package/dist/index.cjs38.js +1 -1
  229. package/dist/{index.cjs386.js → index.cjs380.js} +2 -2
  230. package/dist/{index.cjs386.js.map → index.cjs380.js.map} +1 -1
  231. package/dist/{index.cjs387.js → index.cjs381.js} +2 -2
  232. package/dist/{index.cjs387.js.map → index.cjs381.js.map} +1 -1
  233. package/dist/{index.cjs388.js → index.cjs382.js} +1 -1
  234. package/dist/{index.cjs388.js.map → index.cjs382.js.map} +1 -1
  235. package/dist/{index.cjs389.js → index.cjs383.js} +2 -2
  236. package/dist/{index.cjs389.js.map → index.cjs383.js.map} +1 -1
  237. package/dist/{index.cjs390.js → index.cjs384.js} +1 -1
  238. package/dist/{index.cjs390.js.map → index.cjs384.js.map} +1 -1
  239. package/dist/index.cjs385.js +1 -1
  240. package/dist/index.cjs385.js.map +1 -1
  241. package/dist/index.cjs39.js +1 -1
  242. package/dist/index.cjs396.js +27 -1
  243. package/dist/index.cjs396.js.map +1 -1
  244. package/dist/index.cjs397.js +2 -0
  245. package/dist/index.cjs397.js.map +1 -0
  246. package/dist/index.cjs398.js +2 -0
  247. package/dist/index.cjs398.js.map +1 -0
  248. package/dist/index.cjs399.js +1 -1
  249. package/dist/index.cjs399.js.map +1 -1
  250. package/dist/index.cjs40.js +1 -1
  251. package/dist/index.cjs400.js +1 -1
  252. package/dist/index.cjs400.js.map +1 -1
  253. package/dist/index.cjs401.js +2 -0
  254. package/dist/index.cjs401.js.map +1 -0
  255. package/dist/index.cjs402.js +2 -0
  256. package/dist/index.cjs402.js.map +1 -0
  257. package/dist/index.cjs403.js +2 -1
  258. package/dist/index.cjs403.js.map +1 -1
  259. package/dist/index.cjs404.js +1 -1
  260. package/dist/index.cjs404.js.map +1 -1
  261. package/dist/index.cjs405.js +1 -1
  262. package/dist/index.cjs405.js.map +1 -1
  263. package/dist/index.cjs407.js +1 -1
  264. package/dist/index.cjs409.js +1 -1
  265. package/dist/index.cjs41.js +1 -1
  266. package/dist/index.cjs410.js +1 -1
  267. package/dist/index.cjs412.js +1 -1
  268. package/dist/index.cjs412.js.map +1 -1
  269. package/dist/index.cjs413.js +1 -1
  270. package/dist/index.cjs413.js.map +1 -1
  271. package/dist/index.cjs419.js +1 -1
  272. package/dist/index.cjs42.js +1 -1
  273. package/dist/index.cjs420.js +1 -1
  274. package/dist/index.cjs421.js +1 -1
  275. package/dist/index.cjs421.js.map +1 -1
  276. package/dist/index.cjs422.js +1 -1
  277. package/dist/index.cjs422.js.map +1 -1
  278. package/dist/index.cjs423.js +1 -1
  279. package/dist/index.cjs423.js.map +1 -1
  280. package/dist/index.cjs424.js +1 -1
  281. package/dist/index.cjs424.js.map +1 -1
  282. package/dist/index.cjs425.js +1 -1
  283. package/dist/index.cjs43.js +1 -1
  284. package/dist/index.cjs432.js +1 -1
  285. package/dist/index.cjs434.js +1 -1
  286. package/dist/index.cjs436.js +1 -1
  287. package/dist/index.cjs437.js +1 -1
  288. package/dist/index.cjs44.js +1 -1
  289. package/dist/index.cjs446.js +1 -38
  290. package/dist/index.cjs446.js.map +1 -1
  291. package/dist/index.cjs447.js +1 -1
  292. package/dist/index.cjs447.js.map +1 -1
  293. package/dist/index.cjs448.js +1 -1
  294. package/dist/index.cjs448.js.map +1 -1
  295. package/dist/index.cjs449.js +38 -1
  296. package/dist/index.cjs449.js.map +1 -1
  297. package/dist/index.cjs45.js +1 -1
  298. package/dist/index.cjs450.js +1 -1
  299. package/dist/index.cjs450.js.map +1 -1
  300. package/dist/index.cjs451.js +1 -1
  301. package/dist/index.cjs451.js.map +1 -1
  302. package/dist/index.cjs452.js +1 -1
  303. package/dist/index.cjs452.js.map +1 -1
  304. package/dist/index.cjs453.js +1 -1
  305. package/dist/index.cjs453.js.map +1 -1
  306. package/dist/index.cjs454.js +1 -1
  307. package/dist/index.cjs454.js.map +1 -1
  308. package/dist/index.cjs457.js +1 -1
  309. package/dist/index.cjs457.js.map +1 -1
  310. package/dist/index.cjs458.js +1 -1
  311. package/dist/index.cjs458.js.map +1 -1
  312. package/dist/index.cjs459.js +1 -1
  313. package/dist/index.cjs459.js.map +1 -1
  314. package/dist/index.cjs46.js +1 -1
  315. package/dist/index.cjs460.js +1 -1
  316. package/dist/index.cjs460.js.map +1 -1
  317. package/dist/index.cjs47.js +1 -1
  318. package/dist/index.cjs48.js +1 -1
  319. package/dist/index.cjs49.js +1 -1
  320. package/dist/index.cjs50.js +1 -1
  321. package/dist/index.cjs51.js +1 -1
  322. package/dist/index.cjs52.js +1 -1
  323. package/dist/index.cjs53.js +1 -1
  324. package/dist/index.cjs54.js +1 -1
  325. package/dist/index.cjs55.js +1 -1
  326. package/dist/index.cjs56.js +1 -1
  327. package/dist/index.cjs57.js +1 -1
  328. package/dist/index.cjs59.js +1 -1
  329. package/dist/index.cjs6.js +1 -1
  330. package/dist/index.cjs60.js +1 -1
  331. package/dist/index.cjs61.js +1 -1
  332. package/dist/index.cjs62.js +1 -1
  333. package/dist/index.cjs64.js +1 -1
  334. package/dist/index.cjs66.js +1 -1
  335. package/dist/index.cjs67.js +1 -1
  336. package/dist/index.cjs69.js +1 -1
  337. package/dist/index.cjs7.js +1 -1
  338. package/dist/index.cjs70.js +1 -1
  339. package/dist/index.cjs71.js +1 -1
  340. package/dist/index.cjs72.js +1 -1
  341. package/dist/index.cjs8.js +1 -1
  342. package/dist/index.cjs89.js +1 -1
  343. package/dist/index.cjs9.js +1 -1
  344. package/dist/index.cjs90.js +1 -1
  345. package/dist/index.cjs91.js +1 -1
  346. package/dist/index.cjs93.js +1 -1
  347. package/dist/index.cjs94.js +1 -1
  348. package/dist/index.cjs94.js.map +1 -1
  349. package/dist/index.cjs95.js +1 -1
  350. package/dist/index.cjs96.js +1 -1
  351. package/dist/index.cjs99.js +1 -1
  352. package/dist/index.d.ts +17 -17
  353. package/dist/index.es10.js +4 -4
  354. package/dist/index.es100.js +1 -1
  355. package/dist/index.es101.js +3 -3
  356. package/dist/index.es102.js +1 -1
  357. package/dist/index.es103.js +1 -1
  358. package/dist/index.es104.js +1 -1
  359. package/dist/index.es105.js +1 -1
  360. package/dist/index.es107.js +2 -2
  361. package/dist/index.es108.js +1 -1
  362. package/dist/index.es11.js +1 -1
  363. package/dist/index.es110.js +1 -1
  364. package/dist/index.es112.js +3 -3
  365. package/dist/index.es114.js +2 -2
  366. package/dist/index.es116.js +1 -1
  367. package/dist/index.es117.js +2 -2
  368. package/dist/index.es118.js +1 -1
  369. package/dist/index.es12.js +2 -2
  370. package/dist/index.es121.js +2 -2
  371. package/dist/index.es122.js +2 -2
  372. package/dist/index.es123.js +2 -2
  373. package/dist/index.es124.js +2 -2
  374. package/dist/index.es125.js +2 -2
  375. package/dist/index.es126.js +2 -2
  376. package/dist/index.es127.js +2 -2
  377. package/dist/index.es128.js +2 -2
  378. package/dist/index.es129.js +2 -2
  379. package/dist/index.es13.js +1 -1
  380. package/dist/index.es130.js +2 -2
  381. package/dist/index.es131.js +2 -2
  382. package/dist/index.es132.js +2 -2
  383. package/dist/index.es133.js +2 -2
  384. package/dist/index.es134.js +2 -2
  385. package/dist/index.es135.js +2 -2
  386. package/dist/index.es136.js +2 -2
  387. package/dist/index.es137.js +2 -2
  388. package/dist/index.es138.js +2 -2
  389. package/dist/index.es139.js +2 -2
  390. package/dist/index.es14.js +1 -1
  391. package/dist/index.es140.js +2 -2
  392. package/dist/index.es141.js +2 -2
  393. package/dist/index.es142.js +2 -2
  394. package/dist/index.es143.js +2 -2
  395. package/dist/index.es144.js +1 -1
  396. package/dist/index.es145.js +1 -1
  397. package/dist/index.es146.js +1 -1
  398. package/dist/index.es147.js +2 -2
  399. package/dist/index.es148.js +2 -2
  400. package/dist/index.es149.js +2 -2
  401. package/dist/index.es15.js +2 -2
  402. package/dist/index.es151.js +2 -2
  403. package/dist/index.es152.js +2 -2
  404. package/dist/index.es153.js +2 -2
  405. package/dist/index.es154.js +2 -2
  406. package/dist/index.es155.js +2 -2
  407. package/dist/index.es156.js +2 -2
  408. package/dist/index.es157.js +2 -2
  409. package/dist/index.es158.js +2 -2
  410. package/dist/index.es159.js +2 -2
  411. package/dist/index.es16.js +2 -2
  412. package/dist/index.es161.js +2 -2
  413. package/dist/index.es162.js +2 -2
  414. package/dist/index.es163.js +2 -2
  415. package/dist/index.es164.js +2 -2
  416. package/dist/index.es165.js +2 -2
  417. package/dist/index.es166.js +2 -2
  418. package/dist/index.es167.js +2 -2
  419. package/dist/index.es169.js +2 -2
  420. package/dist/index.es17.js +1 -1
  421. package/dist/index.es170.js +2 -2
  422. package/dist/index.es171.js +2 -2
  423. package/dist/index.es172.js +2 -2
  424. package/dist/index.es173.js +2 -2
  425. package/dist/index.es174.js +2 -2
  426. package/dist/index.es175.js +2 -2
  427. package/dist/index.es18.js +2 -2
  428. package/dist/index.es19.js +2 -2
  429. package/dist/index.es197.js +18 -0
  430. package/dist/index.es197.js.map +1 -0
  431. package/dist/index.es198.js +27 -15
  432. package/dist/index.es198.js.map +1 -1
  433. package/dist/index.es20.js +1 -1
  434. package/dist/index.es200.js +2 -3
  435. package/dist/index.es200.js.map +1 -1
  436. package/dist/{index.es212.js → index.es201.js} +1 -1
  437. package/dist/{index.es212.js.map → index.es201.js.map} +1 -1
  438. package/dist/{index.es215.js → index.es204.js} +1 -1
  439. package/dist/{index.es215.js.map → index.es204.js.map} +1 -1
  440. package/dist/index.es208.js +22 -59
  441. package/dist/index.es208.js.map +1 -1
  442. package/dist/index.es21.js +2 -2
  443. package/dist/{index.es222.js → index.es211.js} +2 -2
  444. package/dist/{index.es222.js.map → index.es211.js.map} +1 -1
  445. package/dist/index.es214.js +210 -0
  446. package/dist/index.es214.js.map +1 -0
  447. package/dist/{index.es228.js → index.es217.js} +3 -3
  448. package/dist/{index.es228.js.map → index.es217.js.map} +1 -1
  449. package/dist/index.es218.js +146 -0
  450. package/dist/index.es218.js.map +1 -0
  451. package/dist/index.es219.js +145 -20
  452. package/dist/index.es219.js.map +1 -1
  453. package/dist/index.es22.js +3 -3
  454. package/dist/index.es225.js +121 -195
  455. package/dist/index.es225.js.map +1 -1
  456. package/dist/index.es226.js +23 -0
  457. package/dist/index.es226.js.map +1 -0
  458. package/dist/index.es229.js +3 -143
  459. package/dist/index.es229.js.map +1 -1
  460. package/dist/index.es23.js +2 -2
  461. package/dist/index.es234.js +7 -0
  462. package/dist/index.es234.js.map +1 -0
  463. package/dist/index.es235.js +23 -0
  464. package/dist/index.es235.js.map +1 -0
  465. package/dist/index.es236.js +11 -132
  466. package/dist/index.es236.js.map +1 -1
  467. package/dist/index.es237.js +6 -20
  468. package/dist/index.es237.js.map +1 -1
  469. package/dist/index.es238.js +8 -0
  470. package/dist/index.es238.js.map +1 -0
  471. package/dist/index.es24.js +2 -2
  472. package/dist/index.es240.js +51 -3
  473. package/dist/index.es240.js.map +1 -1
  474. package/dist/index.es242.js +262 -0
  475. package/dist/index.es242.js.map +1 -0
  476. package/dist/index.es243.js +52 -0
  477. package/dist/index.es243.js.map +1 -0
  478. package/dist/{index.es255.js → index.es244.js} +1 -1
  479. package/dist/{index.es255.js.map → index.es244.js.map} +1 -1
  480. package/dist/index.es245.js +7 -4
  481. package/dist/index.es245.js.map +1 -1
  482. package/dist/index.es246.js +27 -19
  483. package/dist/index.es246.js.map +1 -1
  484. package/dist/index.es248.js +27 -6
  485. package/dist/index.es248.js.map +1 -1
  486. package/dist/index.es249.js +4 -5
  487. package/dist/index.es249.js.map +1 -1
  488. package/dist/index.es25.js +2 -2
  489. package/dist/index.es250.js +11 -0
  490. package/dist/index.es250.js.map +1 -0
  491. package/dist/index.es253.js +8 -259
  492. package/dist/index.es253.js.map +1 -1
  493. package/dist/index.es254.js +4 -49
  494. package/dist/index.es254.js.map +1 -1
  495. package/dist/index.es259.js +8 -27
  496. package/dist/index.es259.js.map +1 -1
  497. package/dist/index.es26.js +1 -1
  498. package/dist/index.es260.js +27 -4
  499. package/dist/index.es260.js.map +1 -1
  500. package/dist/index.es261.js +6 -8
  501. package/dist/index.es261.js.map +1 -1
  502. package/dist/{index.es274.js → index.es263.js} +2 -2
  503. package/dist/{index.es274.js.map → index.es263.js.map} +1 -1
  504. package/dist/index.es264.js +6 -6
  505. package/dist/index.es264.js.map +1 -1
  506. package/dist/index.es265.js +5 -3
  507. package/dist/index.es265.js.map +1 -1
  508. package/dist/{index.es278.js → index.es267.js} +3 -3
  509. package/dist/{index.es278.js.map → index.es267.js.map} +1 -1
  510. package/dist/{index.es279.js → index.es268.js} +3 -3
  511. package/dist/{index.es279.js.map → index.es268.js.map} +1 -1
  512. package/dist/index.es269.js +119 -0
  513. package/dist/index.es269.js.map +1 -0
  514. package/dist/index.es271.js +59 -27
  515. package/dist/index.es271.js.map +1 -1
  516. package/dist/index.es28.js +2 -2
  517. package/dist/index.es280.js +1 -118
  518. package/dist/index.es280.js.map +1 -1
  519. package/dist/index.es29.js +1 -1
  520. package/dist/index.es30.js +3 -3
  521. package/dist/{index.es318.js → index.es308.js} +6 -6
  522. package/dist/{index.es318.js.map → index.es308.js.map} +1 -1
  523. package/dist/index.es31.js +1 -1
  524. package/dist/{index.es326.js → index.es316.js} +2 -2
  525. package/dist/{index.es326.js.map → index.es316.js.map} +1 -1
  526. package/dist/index.es32.js +1 -1
  527. package/dist/{index.es331.js → index.es321.js} +1 -1
  528. package/dist/{index.es331.js.map → index.es321.js.map} +1 -1
  529. package/dist/index.es327.js +38 -0
  530. package/dist/index.es327.js.map +1 -0
  531. package/dist/{index.es339.js → index.es329.js} +2 -2
  532. package/dist/{index.es339.js.map → index.es329.js.map} +1 -1
  533. package/dist/index.es33.js +1 -1
  534. package/dist/{index.es343.js → index.es333.js} +1 -1
  535. package/dist/{index.es343.js.map → index.es333.js.map} +1 -1
  536. package/dist/{index.es345.js → index.es335.js} +4 -4
  537. package/dist/{index.es345.js.map → index.es335.js.map} +1 -1
  538. package/dist/{index.es346.js → index.es336.js} +1 -1
  539. package/dist/{index.es346.js.map → index.es336.js.map} +1 -1
  540. package/dist/index.es337.js +224 -34
  541. package/dist/index.es337.js.map +1 -1
  542. package/dist/index.es34.js +9 -9
  543. package/dist/index.es34.js.map +1 -1
  544. package/dist/index.es344.js +6 -0
  545. package/dist/index.es344.js.map +1 -0
  546. package/dist/index.es35.js +1 -1
  547. package/dist/index.es351.js +8 -0
  548. package/dist/index.es351.js.map +1 -0
  549. package/dist/index.es355.js +1 -1
  550. package/dist/index.es356.js +1 -1
  551. package/dist/index.es357.js +6 -3674
  552. package/dist/index.es357.js.map +1 -1
  553. package/dist/index.es358.js +26 -5
  554. package/dist/index.es358.js.map +1 -1
  555. package/dist/index.es359.js +68 -2
  556. package/dist/index.es359.js.map +1 -1
  557. package/dist/index.es360.js +29 -5
  558. package/dist/index.es360.js.map +1 -1
  559. package/dist/index.es361.js +31 -519
  560. package/dist/index.es361.js.map +1 -1
  561. package/dist/index.es362.js +621 -6
  562. package/dist/index.es362.js.map +1 -1
  563. package/dist/index.es363.js +10 -26
  564. package/dist/index.es363.js.map +1 -1
  565. package/dist/index.es365.js +15 -30
  566. package/dist/index.es365.js.map +1 -1
  567. package/dist/index.es368.js +5 -10
  568. package/dist/index.es368.js.map +1 -1
  569. package/dist/{index.es374.js → index.es369.js} +1 -1
  570. package/dist/{index.es374.js.map → index.es369.js.map} +1 -1
  571. package/dist/index.es37.js +1 -1
  572. package/dist/index.es370.js +68 -14
  573. package/dist/index.es370.js.map +1 -1
  574. package/dist/index.es371.js +18 -0
  575. package/dist/index.es371.js.map +1 -0
  576. package/dist/index.es379.js +128 -0
  577. package/dist/index.es379.js.map +1 -0
  578. package/dist/index.es38.js +5 -5
  579. package/dist/{index.es386.js → index.es380.js} +3 -3
  580. package/dist/{index.es386.js.map → index.es380.js.map} +1 -1
  581. package/dist/{index.es387.js → index.es381.js} +2 -2
  582. package/dist/{index.es387.js.map → index.es381.js.map} +1 -1
  583. package/dist/{index.es388.js → index.es382.js} +1 -1
  584. package/dist/{index.es388.js.map → index.es382.js.map} +1 -1
  585. package/dist/{index.es389.js → index.es383.js} +4 -4
  586. package/dist/{index.es389.js.map → index.es383.js.map} +1 -1
  587. package/dist/{index.es390.js → index.es384.js} +1 -1
  588. package/dist/{index.es390.js.map → index.es384.js.map} +1 -1
  589. package/dist/index.es385.js +48 -120
  590. package/dist/index.es385.js.map +1 -1
  591. package/dist/index.es39.js +4 -4
  592. package/dist/index.es396.js +3674 -14
  593. package/dist/index.es396.js.map +1 -1
  594. package/dist/index.es397.js +9 -0
  595. package/dist/index.es397.js.map +1 -0
  596. package/dist/index.es398.js +5 -0
  597. package/dist/index.es398.js.map +1 -0
  598. package/dist/index.es399.js +2032 -2
  599. package/dist/index.es399.js.map +1 -1
  600. package/dist/index.es40.js +3 -3
  601. package/dist/index.es400.js +60 -2
  602. package/dist/index.es400.js.map +1 -1
  603. package/dist/index.es401.js +192 -0
  604. package/dist/index.es401.js.map +1 -0
  605. package/dist/index.es402.js +9 -0
  606. package/dist/index.es402.js.map +1 -0
  607. package/dist/index.es403.js +494 -2005
  608. package/dist/index.es403.js.map +1 -1
  609. package/dist/index.es404.js +2 -60
  610. package/dist/index.es404.js.map +1 -1
  611. package/dist/index.es405.js +2 -189
  612. package/dist/index.es405.js.map +1 -1
  613. package/dist/index.es407.js +3 -3
  614. package/dist/index.es409.js +4 -4
  615. package/dist/index.es41.js +2 -2
  616. package/dist/index.es410.js +6 -6
  617. package/dist/index.es412.js +2 -14
  618. package/dist/index.es412.js.map +1 -1
  619. package/dist/index.es413.js +14 -2
  620. package/dist/index.es413.js.map +1 -1
  621. package/dist/index.es419.js +1 -1
  622. package/dist/index.es42.js +2 -2
  623. package/dist/index.es420.js +3 -3
  624. package/dist/index.es421.js +82 -24
  625. package/dist/index.es421.js.map +1 -1
  626. package/dist/index.es422.js +24 -28
  627. package/dist/index.es422.js.map +1 -1
  628. package/dist/index.es423.js +29 -5
  629. package/dist/index.es423.js.map +1 -1
  630. package/dist/index.es424.js +5 -83
  631. package/dist/index.es424.js.map +1 -1
  632. package/dist/index.es425.js +1 -1
  633. package/dist/index.es43.js +2 -2
  634. package/dist/index.es432.js +6 -6
  635. package/dist/index.es434.js +1 -1
  636. package/dist/index.es436.js +5 -5
  637. package/dist/index.es437.js +1 -1
  638. package/dist/index.es44.js +4 -4
  639. package/dist/index.es446.js +518 -64
  640. package/dist/index.es446.js.map +1 -1
  641. package/dist/index.es447.js +126 -8
  642. package/dist/index.es447.js.map +1 -1
  643. package/dist/index.es448.js +128 -13
  644. package/dist/index.es448.js.map +1 -1
  645. package/dist/index.es449.js +68 -61
  646. package/dist/index.es449.js.map +1 -1
  647. package/dist/index.es45.js +4 -4
  648. package/dist/index.es450.js +8 -64
  649. package/dist/index.es450.js.map +1 -1
  650. package/dist/index.es451.js +14 -4
  651. package/dist/index.es451.js.map +1 -1
  652. package/dist/index.es452.js +60 -521
  653. package/dist/index.es452.js.map +1 -1
  654. package/dist/index.es453.js +62 -124
  655. package/dist/index.es453.js.map +1 -1
  656. package/dist/index.es454.js +3 -128
  657. package/dist/index.es454.js.map +1 -1
  658. package/dist/index.es457.js +21 -11
  659. package/dist/index.es457.js.map +1 -1
  660. package/dist/index.es458.js +11 -26
  661. package/dist/index.es458.js.map +1 -1
  662. package/dist/index.es459.js +27 -4
  663. package/dist/index.es459.js.map +1 -1
  664. package/dist/index.es46.js +1 -1
  665. package/dist/index.es460.js +4 -22
  666. package/dist/index.es460.js.map +1 -1
  667. package/dist/index.es47.js +2 -2
  668. package/dist/index.es48.js +1 -1
  669. package/dist/index.es49.js +3 -3
  670. package/dist/index.es50.js +1 -1
  671. package/dist/index.es51.js +1 -1
  672. package/dist/index.es52.js +1 -1
  673. package/dist/index.es53.js +2 -2
  674. package/dist/index.es54.js +1 -1
  675. package/dist/index.es55.js +1 -1
  676. package/dist/index.es56.js +1 -1
  677. package/dist/index.es57.js +2 -2
  678. package/dist/index.es59.js +1 -1
  679. package/dist/index.es6.js +2 -2
  680. package/dist/index.es60.js +2 -2
  681. package/dist/index.es61.js +1 -1
  682. package/dist/index.es62.js +3 -3
  683. package/dist/index.es64.js +1 -1
  684. package/dist/index.es66.js +1 -1
  685. package/dist/index.es67.js +1 -1
  686. package/dist/index.es69.js +1 -1
  687. package/dist/index.es7.js +2 -2
  688. package/dist/index.es70.js +1 -1
  689. package/dist/index.es71.js +1 -1
  690. package/dist/index.es72.js +1 -1
  691. package/dist/index.es8.js +2 -2
  692. package/dist/index.es89.js +1 -1
  693. package/dist/index.es9.js +4 -4
  694. package/dist/index.es90.js +1 -1
  695. package/dist/index.es91.js +1 -1
  696. package/dist/index.es93.js +1 -1
  697. package/dist/index.es94.js +7 -7
  698. package/dist/index.es94.js.map +1 -1
  699. package/dist/index.es95.js +2 -2
  700. package/dist/index.es96.js +1 -1
  701. package/dist/index.es99.js +1 -1
  702. package/package.json +1 -1
  703. package/dist/index.cjs207.js +0 -2
  704. package/dist/index.cjs207.js.map +0 -1
  705. package/dist/index.cjs209.js +0 -2
  706. package/dist/index.cjs209.js.map +0 -1
  707. package/dist/index.cjs210.js +0 -2
  708. package/dist/index.cjs210.js.map +0 -1
  709. package/dist/index.cjs230.js +0 -2
  710. package/dist/index.cjs230.js.map +0 -1
  711. package/dist/index.cjs247.js +0 -2
  712. package/dist/index.cjs247.js.map +0 -1
  713. package/dist/index.cjs251.js +0 -2
  714. package/dist/index.cjs251.js.map +0 -1
  715. package/dist/index.cjs256.js +0 -2
  716. package/dist/index.cjs256.js.map +0 -1
  717. package/dist/index.cjs257.js +0 -2
  718. package/dist/index.cjs257.js.map +0 -1
  719. package/dist/index.cjs270.js +0 -2
  720. package/dist/index.cjs270.js.map +0 -1
  721. package/dist/index.cjs272.js +0 -2
  722. package/dist/index.cjs272.js.map +0 -1
  723. package/dist/index.cjs275.js +0 -2
  724. package/dist/index.cjs275.js.map +0 -1
  725. package/dist/index.cjs276.js +0 -2
  726. package/dist/index.cjs276.js.map +0 -1
  727. package/dist/index.cjs290.js +0 -2
  728. package/dist/index.cjs290.js.map +0 -1
  729. package/dist/index.cjs347.js +0 -2
  730. package/dist/index.cjs347.js.map +0 -1
  731. package/dist/index.cjs364.js +0 -2
  732. package/dist/index.cjs364.js.map +0 -1
  733. package/dist/index.cjs366.js +0 -2
  734. package/dist/index.cjs366.js.map +0 -1
  735. package/dist/index.cjs367.js +0 -2
  736. package/dist/index.cjs367.js.map +0 -1
  737. package/dist/index.cjs373.js +0 -2
  738. package/dist/index.cjs373.js.map +0 -1
  739. package/dist/index.cjs375.js +0 -2
  740. package/dist/index.cjs375.js.map +0 -1
  741. package/dist/index.cjs391.js +0 -2
  742. package/dist/index.cjs391.js.map +0 -1
  743. package/dist/index.es207.js +0 -8
  744. package/dist/index.es207.js.map +0 -1
  745. package/dist/index.es209.js +0 -5
  746. package/dist/index.es209.js.map +0 -1
  747. package/dist/index.es210.js +0 -30
  748. package/dist/index.es210.js.map +0 -1
  749. package/dist/index.es230.js +0 -150
  750. package/dist/index.es230.js.map +0 -1
  751. package/dist/index.es247.js +0 -15
  752. package/dist/index.es247.js.map +0 -1
  753. package/dist/index.es251.js +0 -54
  754. package/dist/index.es251.js.map +0 -1
  755. package/dist/index.es256.js +0 -10
  756. package/dist/index.es256.js.map +0 -1
  757. package/dist/index.es257.js +0 -31
  758. package/dist/index.es257.js.map +0 -1
  759. package/dist/index.es270.js +0 -11
  760. package/dist/index.es270.js.map +0 -1
  761. package/dist/index.es272.js +0 -9
  762. package/dist/index.es272.js.map +0 -1
  763. package/dist/index.es275.js +0 -11
  764. package/dist/index.es275.js.map +0 -1
  765. package/dist/index.es276.js +0 -9
  766. package/dist/index.es276.js.map +0 -1
  767. package/dist/index.es290.js +0 -2
  768. package/dist/index.es290.js.map +0 -1
  769. package/dist/index.es347.js +0 -228
  770. package/dist/index.es347.js.map +0 -1
  771. package/dist/index.es364.js +0 -71
  772. package/dist/index.es364.js.map +0 -1
  773. package/dist/index.es366.js +0 -36
  774. package/dist/index.es366.js.map +0 -1
  775. package/dist/index.es367.js +0 -625
  776. package/dist/index.es367.js.map +0 -1
  777. package/dist/index.es373.js +0 -9
  778. package/dist/index.es373.js.map +0 -1
  779. package/dist/index.es375.js +0 -72
  780. package/dist/index.es375.js.map +0 -1
  781. package/dist/index.es391.js +0 -56
  782. package/dist/index.es391.js.map +0 -1
  783. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorConfirmModal/DoctorConfirmModalFooter/DoctorConfirmModalFooter.css} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/navigations/HeaderDesktop/HeaderDesktop.css');const e=require("./index.cjs196.js"),g=require("./index.cjs219.js"),c=require("./index.cjs24.js"),v=require("./index.cjs17.js"),i=require("./index.cjs198.js"),f=require("./index.cjs208.js"),y=require("./index.cjs25.js"),N=require("./index.cjs6.js");;/* empty css */const a=require("./index.cjs9.js"),w=({title:r,region:x,asLink:d="a",labels:m,navigatonItems:u,supportLink:t,loginLink:j="/",shortTitle:l,headerTitleClassname:h,children:p,headerLogoUrl2:o})=>{const n=d,R=c.LOGOS.nazionale,b=c.LOGOS[x];return e.jsxRuntimeExports.jsxs("div",{className:"sticky-header bg-white",children:[e.jsxRuntimeExports.jsxs(v.HeaderSlim,{pt:"x16",pb:"x16",display:"flex",justifyContent:"space-between",alignItems:"center",children:[e.jsxRuntimeExports.jsxs(n,{href:"/",className:"text-white fw-semibold text-decoration-none fs-7 hover-underline base-row align-items-center justify-content-center gap-x8",children:[o&&e.jsxRuntimeExports.jsx("div",{style:{backgroundImage:`url(${o})`},className:"ui-header-item-image"}),l||r,e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Vai alla homepage"})]}),p]}),e.jsxRuntimeExports.jsxs("header",{className:"bg-white",children:[e.jsxRuntimeExports.jsxs(a.Row,{py:"x20",gap:"x16",alignItems:"center",justifyContent:"space-between",className:"max-h-x116 ui-container",children:[e.jsxRuntimeExports.jsxs(a.Row,{gap:"x16",alignItems:"center",children:[e.jsxRuntimeExports.jsxs(a.Row,{gap:"x16",alignItems:"center",justifyContent:"center",children:[e.jsxRuntimeExports.jsx(R,{height:53}),x!=="nazionale"&&e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx(g.Divider,{bg:"border-divider",direction:"vertical"}),e.jsxRuntimeExports.jsx(b,{width:53,height:53})]})]}),e.jsxRuntimeExports.jsx("h1",{className:i.clsx(h),children:e.jsxRuntimeExports.jsx(f.Balancer,{children:e.jsxRuntimeExports.jsxs(n,{href:"/",className:" text-decoration-none hover-underline_dark",children:[e.jsxRuntimeExports.jsx("span",{className:"ui-title-line-height",children:r}),e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Vai alla homepage"})]})})})]}),e.jsxRuntimeExports.jsxs(y.Button,{size:"2",href:j,asLink:"a",children:[e.jsxRuntimeExports.jsxs("span",{style:{fontSize:14},children:[" ",m.login," "]}),e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:" Accedi con Cohesion"})]})]}),e.jsxRuntimeExports.jsx("nav",{"aria-label":"Menu di navigazione",className:"shadow-bottom",children:e.jsxRuntimeExports.jsxs(N.Container,{className:"base-row align-items-center justify-content-between max-h-x52",children:[e.jsxRuntimeExports.jsx(a.Row,{as:"ul",className:"list-style-none",role:"list",children:u.map((s,E)=>e.jsxRuntimeExports.jsx("li",{className:i.clsx("py-x12 px-x16 ui-header-desktop-nav-item max-h-x52",s.active&&"active"),children:e.jsxRuntimeExports.jsxs(n,{href:s.href,"aria-label":`Vai alla pagina ${s.label}`,className:i.clsx("text-decoration-none fs-custom",s.active?"fw-bold text-blue-30":"fw-semibold text-primary"),target:s.isNewTab?"_blank":void 0,rel:s.isNewTab?"noopener noreferrer":void 0,children:[s.label,s.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})},E))}),t&&e.jsxRuntimeExports.jsxs(n,{href:t.href,"aria-label":`Vai alla pagina ${t.label}`,className:i.clsx("text-decoration-none fs-custom py-x12 px-x24",t.active?"fw-bold text-blue-30":"fw-semibold text-primary","ui-header-desktop-support-link",t.active&&"active"),children:[t.label,t.active&&e.jsxRuntimeExports.jsx("span",{className:"visually-hidden",children:"Attivo"})]})]})})]})]})};exports.HeaderDesktop=w;
2
- //# sourceMappingURL=index.cjs230.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs230.js","sources":["../src/components/navigations/HeaderDesktop/index.tsx"],"sourcesContent":["import { Divider } from \"@/components/ui/Divider\";\r\nimport { LOGOS, Region } from \"../Header\";\r\nimport { HeaderSlim } from \"../HeaderSlim\";\r\nimport clsx from \"clsx\";\r\nimport { Balancer } from \"react-wrap-balancer\";\r\nimport { Button } from \"@/components/ui/Button\";\r\nimport { Container } from \"@/components/ui/Container\";\r\nimport \"./HeaderDesktop.scss\";\r\nimport { Row } from \"@/components\";\r\n\r\ntype NavigationItem = {\r\n label: string;\r\n href: string;\r\n active?: boolean;\r\n isNewTab?: boolean;\r\n};\r\n\r\ntype NavigationLabels = {\r\n closeMenu: string;\r\n login: string;\r\n};\r\n\r\nexport type HeaderDesktopProps = {\r\n title: React.ReactNode | string;\r\n region: Region;\r\n asLink?: \"a\" | React.ComponentType<any>;\r\n children?: React.ReactNode;\r\n labels: NavigationLabels;\r\n navigatonItems: NavigationItem[];\r\n supportLink?: NavigationItem;\r\n loginLink?: string;\r\n shortTitle?: React.ReactNode;\r\n headerTitleClassname?: string;\r\n headerLogoUrl2?: string;\r\n};\r\n\r\nexport const HeaderDesktop = ({\r\n title,\r\n region,\r\n asLink = \"a\",\r\n labels,\r\n navigatonItems,\r\n supportLink,\r\n loginLink = \"/\",\r\n shortTitle,\r\n headerTitleClassname,\r\n children,\r\n headerLogoUrl2,\r\n}: HeaderDesktopProps) => {\r\n const LinkComponent = asLink;\r\n const NationalIcon = LOGOS[\"nazionale\"];\r\n const RegionIcon = LOGOS[region];\r\n\r\n return (\r\n <div className=\"sticky-header bg-white\">\r\n <HeaderSlim\r\n pt=\"x16\"\r\n pb=\"x16\"\r\n display=\"flex\"\r\n justifyContent=\"space-between\"\r\n alignItems=\"center\"\r\n >\r\n <LinkComponent\r\n href=\"/\"\r\n className=\"text-white fw-semibold text-decoration-none fs-7 hover-underline base-row align-items-center justify-content-center gap-x8\"\r\n >\r\n {headerLogoUrl2 && (\r\n <div\r\n style={{ backgroundImage: `url(${headerLogoUrl2})` }}\r\n className={\"ui-header-item-image\"}\r\n ></div>\r\n )}\r\n\r\n {shortTitle ? shortTitle : title}\r\n <span className=\"visually-hidden\">Vai alla homepage</span>\r\n </LinkComponent>\r\n\r\n {children}\r\n </HeaderSlim>\r\n <header className=\"bg-white\">\r\n <Row\r\n py={\"x20\"}\r\n gap={\"x16\"}\r\n alignItems=\"center\"\r\n justifyContent={\"space-between\"}\r\n className=\"max-h-x116 ui-container\"\r\n >\r\n <Row gap={\"x16\"} alignItems=\"center\">\r\n <Row gap={\"x16\"} alignItems=\"center\" justifyContent={\"center\"}>\r\n <NationalIcon height={53} />\r\n\r\n {region !== \"nazionale\" && (\r\n <>\r\n <Divider bg=\"border-divider\" direction=\"vertical\" />\r\n\r\n <RegionIcon width={53} height={53} />\r\n </>\r\n )}\r\n </Row>\r\n <h1 className={clsx(headerTitleClassname)}>\r\n <Balancer>\r\n <LinkComponent\r\n href=\"/\"\r\n className={\" text-decoration-none hover-underline_dark\"}\r\n >\r\n <span className={\"ui-title-line-height\"}>{title}</span>\r\n <span className=\"visually-hidden\">Vai alla homepage</span>\r\n </LinkComponent>\r\n </Balancer>\r\n </h1>\r\n </Row>\r\n <Button size=\"2\" href={loginLink} asLink=\"a\">\r\n <span style={{ fontSize: 14 }}> {labels.login} </span>\r\n <span className=\"visually-hidden\"> Accedi con Cohesion</span>\r\n </Button>\r\n </Row>\r\n <nav aria-label=\"Menu di navigazione\" className=\"shadow-bottom\">\r\n <Container className=\"base-row align-items-center justify-content-between max-h-x52\">\r\n <Row as={\"ul\"} className=\"list-style-none\" role=\"list\">\r\n {navigatonItems.map((item, index) => {\r\n return (\r\n <li\r\n key={index}\r\n className={clsx(\r\n \"py-x12 px-x16 ui-header-desktop-nav-item max-h-x52\",\r\n item.active && \"active\",\r\n )}\r\n >\r\n <LinkComponent\r\n href={item.href}\r\n aria-label={`Vai alla pagina ${item.label}`}\r\n className={clsx(\r\n \"text-decoration-none fs-custom\",\r\n item.active\r\n ? \"fw-bold text-blue-30\"\r\n : \"fw-semibold text-primary\",\r\n )}\r\n target={item.isNewTab ? \"_blank\" : undefined}\r\n rel={item.isNewTab ? \"noopener noreferrer\" : undefined}\r\n >\r\n {item.label}\r\n {item.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </LinkComponent>\r\n </li>\r\n );\r\n })}\r\n </Row>\r\n {supportLink && (\r\n <LinkComponent\r\n href={supportLink.href}\r\n aria-label={`Vai alla pagina ${supportLink.label}`}\r\n className={clsx(\r\n \"text-decoration-none fs-custom py-x12 px-x24\",\r\n supportLink.active\r\n ? \"fw-bold text-blue-30\"\r\n : \"fw-semibold text-primary\",\r\n \"ui-header-desktop-support-link\",\r\n supportLink.active && \"active\",\r\n )}\r\n >\r\n {supportLink.label}\r\n {supportLink.active && (\r\n <span className=\"visually-hidden\">Attivo</span>\r\n )}\r\n </LinkComponent>\r\n )}\r\n </Container>\r\n </nav>\r\n </header>\r\n </div>\r\n );\r\n};\r\n"],"names":["HeaderDesktop","title","region","asLink","labels","navigatonItems","supportLink","loginLink","shortTitle","headerTitleClassname","children","headerLogoUrl2","LinkComponent","NationalIcon","LOGOS","RegionIcon","jsxs","HeaderSlim","jsx","Row","Fragment","Divider","clsx","Balancer","Button","Container","item","index"],"mappings":"yYAoCaA,EAAgB,CAAC,CAC5B,MAAAC,EACA,OAAAC,EACA,OAAAC,EAAS,IACT,OAAAC,EACA,eAAAC,EACA,YAAAC,EACA,UAAAC,EAAY,IACZ,WAAAC,EACA,qBAAAC,EACA,SAAAC,EACA,eAAAC,CACF,IAA0B,CACxB,MAAMC,EAAgBT,EAChBU,EAAeC,QAAM,UACrBC,EAAaD,QAAMZ,CAAM,EAG7B,OAAAc,EAAA,kBAAA,KAAC,MAAI,CAAA,UAAU,yBACb,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,WAAA,CACC,GAAG,MACH,GAAG,MACH,QAAQ,OACR,eAAe,gBACf,WAAW,SAEX,SAAA,CAAAD,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAK,IACL,UAAU,6HAET,SAAA,CACCD,GAAAO,EAAA,kBAAA,IAAC,MAAA,CACC,MAAO,CAAE,gBAAiB,OAAOP,CAAc,GAAI,EACnD,UAAW,sBAAA,CACZ,EAGFH,GAA0BP,EAC1BiB,EAAA,kBAAA,IAAA,OAAA,CAAK,UAAU,kBAAkB,SAAiB,mBAAA,CAAA,CAAA,CAAA,CACrD,EAECR,CAAA,CAAA,CACH,EACAM,EAAAA,kBAAAA,KAAC,SAAO,CAAA,UAAU,WAChB,SAAA,CAAAA,EAAA,kBAAA,KAACG,EAAA,IAAA,CACC,GAAI,MACJ,IAAK,MACL,WAAW,SACX,eAAgB,gBAChB,UAAU,0BAEV,SAAA,CAAAH,EAAA,kBAAA,K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UAAU,kBAAkB,KAAK,OAC7C,SAAed,EAAA,IAAI,CAACqB,EAAMC,IAEvBT,EAAA,kBAAA,IAAC,KAAA,CAEC,UAAWI,EAAA,KACT,qDACAI,EAAK,QAAU,QACjB,EAEA,SAAAV,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMc,EAAK,KACX,aAAY,mBAAmBA,EAAK,KAAK,GACzC,UAAWJ,EAAA,KACT,iCACAI,EAAK,OACD,uBACA,0BACN,EACA,OAAQA,EAAK,SAAW,SAAW,OACnC,IAAKA,EAAK,SAAW,sBAAwB,OAE5C,SAAA,CAAKA,EAAA,MACLA,EAAK,QACJR,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAE5C,EAtBKS,CAuBP,CAEH,EACH,EACCrB,GACCU,EAAA,kBAAA,KAACJ,EAAA,CACC,KAAMN,EAAY,KAClB,aAAY,mBAAmBA,EAAY,KAAK,GAChD,UAAWgB,EAAA,KACT,+CACAhB,EAAY,OACR,uBACA,2BACJ,iCACAA,EAAY,QAAU,QACxB,EAEC,SAAA,CAAYA,EAAA,MACZA,EAAY,QACXY,EAAAA,kBAAAA,IAAC,OAAK,CAAA,UAAU,kBAAkB,SAAM,QAAA,CAAA,CAAA,CAAA,CAAA,CAE5C,CAAA,CAEJ,CACF,CAAA,CAAA,CACF,CAAA,CAAA,EACF,CAEJ"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs196.js"),t=require("react"),u=require("./index.cjs90.js"),a=()=>{const[s,e]=t.useState(!1),[o,n]=t.useState({}),r=(i={})=>{n(i),e(!0)},l=()=>{e(!1)};return{openAlert:r,AlertDialog:()=>c.jsxRuntimeExports.jsx(u.AlertDialogUI,{isOpen:s,onClose:l,...o})}};exports.useAlertDialog=a;
2
- //# sourceMappingURL=index.cjs247.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs247.js","sources":["../src/hooks/useAlert.tsx"],"sourcesContent":["import { AlertDialogUI } from \"@/components\";\nimport { useState } from \"react\";\n\nexport const useAlertDialog = () => {\n const [isOpen, setIsOpen] = useState(false);\n const [config, setConfig] = useState({});\n\n const openAlert = (options = {}) => {\n setConfig(options);\n setIsOpen(true);\n };\n\n const closeAlert = () => {\n setIsOpen(false);\n };\n\n const AlertDialog = () => (\n <AlertDialogUI isOpen={isOpen} onClose={closeAlert} {...config} />\n );\n\n return { openAlert, AlertDialog };\n};\n"],"names":["useAlertDialog","isOpen","setIsOpen","useState","config","setConfig","openAlert","options","closeAlert","jsx","AlertDialogUI"],"mappings":"sKAGaA,EAAiB,IAAM,CAClC,KAAM,CAACC,EAAQC,CAAS,EAAIC,EAAAA,SAAS,EAAK,EACpC,CAACC,EAAQC,CAAS,EAAIF,EAAAA,SAAS,CAAA,CAAE,EAEjCG,EAAY,CAACC,EAAU,KAAO,CAClCF,EAAUE,CAAO,EACjBL,EAAU,EAAI,CAChB,EAEMM,EAAa,IAAM,CACvBN,EAAU,EAAK,CACjB,EAMO,MAAA,CAAE,UAAAI,EAAW,YAJA,IACjBG,EAAA,kBAAA,IAAAC,gBAAA,CAAc,OAAAT,EAAgB,QAASO,EAAa,GAAGJ,EAAQ,CAGlC,CAClC"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs196.js"),i=require("./index.cjs198.js"),l=require("./index.cjs209.js"),n=({width:t=24,height:e=24,className:r,color:C})=>{const o=l.createColorClasses({color:C});return s.jsxRuntimeExports.jsxs("svg",{width:t,height:e,viewBox:"0 0 24 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",className:i.clsx(r,o),children:[s.jsxRuntimeExports.jsx("path",{d:"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z",fill:"white"}),s.jsxRuntimeExports.jsx("path",{d:"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z",fill:"#0066CC",stroke:"#0066CC",strokeWidth:"0.3"}),s.jsxRuntimeExports.jsx("path",{d:"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z",fill:"#0066CC",stroke:"#0066CC",strokeWidth:"0.3"})]})};exports.Spid=n;
2
- //# sourceMappingURL=index.cjs251.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs251.js","sources":["../src/icons/Spid/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport { IconProps } from \"../../types/icons\";\r\nimport { createColorClasses } from \"@/theme/colors\";\r\n\r\nexport const Spid = ({\r\n width = 24,\r\n height = 24,\r\n className,\r\n color,\r\n}: IconProps) => {\r\n const classes = createColorClasses({ color });\r\n\r\n return (\r\n <svg\r\n width={width}\r\n height={height}\r\n viewBox=\"0 0 24 24\"\r\n fill=\"currentColor\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-hidden=\"true\"\r\n className={clsx(className, classes)}\r\n >\r\n <path\r\n d=\"M11.9996 0C5.38314 0 0 5.38343 0 11.9998C0 18.6166 5.38314 24 11.9996 24C18.6165 24 24 18.6166 24 11.9998C24 5.38343 18.6165 0 11.9996 0Z\"\r\n fill=\"white\"\r\n />\r\n <path\r\n d=\"M9.13824 11.8425C8.37925 11.0725 8 10.1162 8 8.97684C8 7.83516 8.37925 6.88577 9.13349 6.13004C9.88724 5.37661 10.8482 4.99805 12.0283 4.99805C13.2036 4.99805 14.1603 5.38168 14.895 6.15908C15.6312 6.93603 16 7.88727 16 9.02663C16 10.1628 15.6312 11.1066 14.895 11.8642C14.1603 12.619 13.2093 12.998 12.0378 12.998C10.8663 12.998 9.90008 12.6135 9.13824 11.8425Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n <path\r\n d=\"M8 18.998C8 17.8501 8.37553 16.8963 9.11906 16.1395C9.86871 15.379 10.8207 14.998 11.9929 14.998C13.1553 14.998 14.1045 15.3836 14.8273 16.1641C15.5562 16.9459 16 17.8538 16 18.998H8Z\"\r\n fill=\"#0066CC\"\r\n stroke=\"#0066CC\"\r\n strokeWidth=\"0.3\"\r\n />\r\n </svg>\r\n );\r\n};\r\n"],"names":["Spid","width","height","className","color","classes","createColorClasses","jsxs","clsx","jsx"],"mappings":"mLAIaA,EAAO,CAAC,CACnB,MAAAC,EAAQ,GACR,OAAAC,EAAS,GACT,UAAAC,EACA,MAAAC,CACF,IAAiB,CACf,MAAMC,EAAUC,EAAAA,mBAAmB,CAAE,MAAAF,EAAO,EAG1C,OAAAG,EAAA,kBAAA,KAAC,MAAA,CACC,MAAAN,EACA,OAAAC,EACA,QAAQ,YACR,KAAK,eACL,MAAM,6BACN,cAAY,OACZ,UAAWM,EAAAA,KAAKL,EAAWE,CAAO,EAElC,SAAA,CAAAI,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,4IACF,KAAK,OAAA,CACP,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,6WACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CACd,EACAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,0LACF,KAAK,UACL,OAAO,UACP,YAAY,KAAA,CAAA,CACd,CAAA,CACF,CAEJ"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModalContent/BaseModalContent.css');const n=require("./index.cjs196.js");;/* empty css */const o=({className:e,children:t})=>n.jsxRuntimeExports.jsx("div",{className:`ui-base-modal-content ${e||""}`,children:t});exports.BaseModalContent=o;
2
- //# sourceMappingURL=index.cjs256.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs256.js","sources":["../src/components/ui/BaseModal/BaseModalContent/index.tsx"],"sourcesContent":["import \"./BaseModalContent.scss\";\r\n\r\ntype BaseModalContentProps = {\r\n className?: string;\r\n children: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalContent = ({\r\n className,\r\n children,\r\n}: BaseModalContentProps) => {\r\n return (\r\n <div className={`ui-base-modal-content ${className ? className : \"\"}`}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["BaseModalContent","className","children","jsx"],"mappings":"kJAOO,MAAMA,EAAmB,CAAC,CAC/B,UAAAC,EACA,SAAAC,CACF,IAEIC,wBAAC,OAAI,UAAW,yBAAyBF,GAAwB,EAAE,GAChE,SAAAC,CACH,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/BaseModal/BaseModalBackHeader/BaseModalBackHeader.css');const e=require("./index.cjs196.js"),t=require("./index.cjs253.js"),i=require("./index.cjs25.js");;/* empty css */const o=require("./index.cjs137.js"),n=({onBackClick:s,backButton:a,children:r})=>e.jsxRuntimeExports.jsxs("header",{className:"ui-base-modal-back-header",children:[e.jsxRuntimeExports.jsxs(i.Button,{size:"4",textColor:"primary",bg:"transparent","aria-label":"Torna indietro",onClick:s,className:"ui-base-modal-back-button",children:[e.jsxRuntimeExports.jsx(o.ArrowLeft,{className:"mr-x8"}),a]}),e.jsxRuntimeExports.jsx(t.Title,{className:"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold",children:r})]});exports.BaseModalBackHeader=n;
2
- //# sourceMappingURL=index.cjs257.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs257.js","sources":["../src/components/ui/BaseModal/BaseModalBackHeader/index.tsx"],"sourcesContent":["import * as Dialog from \"@radix-ui/react-dialog\";\r\nimport { Button } from \"../../Button\";\r\nimport { ArrowLeft } from \"@/icons\";\r\nimport \"./BaseModalBackHeader.scss\";\r\n\r\ntype BaseModalBackProps = {\r\n onBackClick: () => void;\r\n backButton: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const BaseModalBackHeader = ({\r\n onBackClick,\r\n backButton,\r\n children,\r\n}: BaseModalBackProps) => {\r\n return (\r\n <header className=\"ui-base-modal-back-header\">\r\n <Button\r\n size=\"4\"\r\n textColor=\"primary\"\r\n bg=\"transparent\"\r\n aria-label=\"Torna indietro\"\r\n onClick={onBackClick}\r\n className=\"ui-base-modal-back-button\"\r\n >\r\n <ArrowLeft className=\"mr-x8\" />\r\n {backButton}\r\n </Button>\r\n <Dialog.Title className=\"ui-base-modal-back-header-title fs-3 text-slate-20 fw-bold\">\r\n {children}\r\n </Dialog.Title>\r\n </header>\r\n );\r\n};\r\n"],"names":["BaseModalBackHeader","onBackClick","backButton","children","jsxs","Button","jsx","ArrowLeft","Dialog.Title"],"mappings":"oPAWaA,EAAsB,CAAC,CAClC,YAAAC,EACA,WAAAC,EACA,SAAAC,CACF,IAEIC,EAAA,kBAAA,KAAC,SAAO,CAAA,UAAU,4BAChB,SAAA,CAAAA,EAAA,kBAAA,KAACC,EAAA,OAAA,CACC,KAAK,IACL,UAAU,UACV,GAAG,cACH,aAAW,iBACX,QAASJ,EACT,UAAU,4BAEV,SAAA,CAACK,EAAAA,kBAAAA,IAAAC,EAAA,UAAA,CAAU,UAAU,OAAQ,CAAA,EAC5BL,CAAA,CAAA,CACH,0BACCM,EAAAA,MAAA,CAAa,UAAU,6DACrB,SAAAL,CACH,CAAA,CAAA,EACF"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css');const t=require("./index.cjs196.js"),r=require("./index.cjs198.js");;/* empty css */const n=({overrideClassNames:o,children:e})=>t.jsxRuntimeExports.jsx("div",{className:r.clsx("ui-consent-modal-body",o),children:e});exports.DoctorConfirmModalContent=n;
2
- //# sourceMappingURL=index.cjs270.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs270.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DoctorConfirmModalContent.scss\";\r\n\r\ntype DoctorConfirmModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DoctorConfirmModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-consent-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA4B,CAAC,CACxC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,wBAAyBF,CAAkB,EAC7D,SAAAC,EACH"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/ConsentModal/ConsentModalFooter/ConsentModalFooter.css');const e=require("./index.cjs196.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-consent-modal-footer bg-white shadow",children:o});exports.DoctorConfirmModalFooter=t;
2
- //# sourceMappingURL=index.cjs272.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs272.js","sources":["../src/components/ui/DoctorConfirmModal/DoctorConfirmModalFooter/index.tsx"],"sourcesContent":["import \"./DoctorConfirmModalFooter.scss\";\r\n\r\ntype DoctorConfirmModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DoctorConfirmModalFooter = ({\r\n children,\r\n}: DoctorConfirmModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-consent-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DoctorConfirmModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA2B,CAAC,CACvC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,0CACf,SAAAD,CACH,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DocumentUploadModal/DocumentUploadModalContent/DocumentUploadModalContent.css');const t=require("./index.cjs196.js"),n=require("./index.cjs198.js");;/* empty css */const r=({overrideClassNames:e,children:o})=>t.jsxRuntimeExports.jsx("div",{className:n.clsx("ui-upload-modal-body",e),children:o});exports.DocumentUploadModalContent=r;
2
- //# sourceMappingURL=index.cjs275.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs275.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalContent/index.tsx"],"sourcesContent":["import clsx from \"clsx\";\r\nimport \"./DocumentUploadModalContent.scss\";\r\n\r\ntype DocumentUploadModalContentProps = {\r\n overrideClassNames?: string;\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalContent = ({\r\n overrideClassNames,\r\n children,\r\n}: DocumentUploadModalContentProps) => {\r\n return (\r\n <div className={clsx(\"ui-upload-modal-body\", overrideClassNames)}>\r\n {children}\r\n </div>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalContent","overrideClassNames","children","clsx"],"mappings":"iLAQO,MAAMA,EAA6B,CAAC,CACzC,mBAAAC,EACA,SAAAC,CACF,4BAEK,MAAI,CAAA,UAAWC,OAAK,uBAAwBF,CAAkB,EAC5D,SAAAC,EACH"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('./components/ui/DocumentUploadModal/DocumentUploadModalFooter/DocumentUploadModalFooter.css');const e=require("./index.cjs196.js");;/* empty css */const t=({children:o})=>e.jsxRuntimeExports.jsx("footer",{className:"ui-upload-modal-footer bg-white shadow",children:o});exports.DocumentUploadModalFooter=t;
2
- //# sourceMappingURL=index.cjs276.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs276.js","sources":["../src/components/ui/DocumentUploadModal/DocumentUploadModalFooter/index.tsx"],"sourcesContent":["import \"./DocumentUploadModalFooter.scss\";\r\n\r\ntype DocumentUploadModalFooterProps = {\r\n children?: React.ReactNode;\r\n};\r\n\r\nexport const DocumentUploadModalFooter = ({\r\n children,\r\n}: DocumentUploadModalFooterProps) => {\r\n return (\r\n <footer className=\"ui-upload-modal-footer bg-white shadow\">\r\n {children}\r\n </footer>\r\n );\r\n};\r\n"],"names":["DocumentUploadModalFooter","children","jsx"],"mappings":"kJAMO,MAAMA,EAA4B,CAAC,CACxC,SAAAC,CACF,IAEKC,EAAAA,kBAAAA,IAAA,SAAA,CAAO,UAAU,yCACf,SAAAD,CACH,CAAA"}
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=index.cjs290.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs290.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- "use strict";const $=require("./index.cjs416.js"),q=require("./index.cjs414.js"),f=require("./index.cjs415.js");function w(S){let{swiper:e,extendParams:H,on:u,emit:v}=S;const d="swiper-pagination";H({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:a=>a,formatFractionTotal:a=>a,bulletClass:`${d}-bullet`,bulletActiveClass:`${d}-bullet-active`,modifierClass:`${d}-`,currentClass:`${d}-current`,totalClass:`${d}-total`,hiddenClass:`${d}-hidden`,progressbarFillClass:`${d}-progressbar-fill`,progressbarOppositeClass:`${d}-progressbar-opposite`,clickableClass:`${d}-clickable`,lockClass:`${d}-lock`,horizontalClass:`${d}-horizontal`,verticalClass:`${d}-vertical`,paginationDisabledClass:`${d}-disabled`}}),e.pagination={el:null,bullets:[]};let b,m=0;function k(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function x(a,s){const{bulletActiveClass:i}=e.params.pagination;a&&(a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&(a.classList.add(`${i}-${s}`),a=a[`${s==="prev"?"previous":"next"}ElementSibling`],a&&a.classList.add(`${i}-${s}-${s}`)))}function I(a,s,i){if(a=a%i,s=s%i,s===a+1)return"next";if(s===a-1)return"previous"}function D(a){const s=a.target.closest($.c(e.params.pagination.bulletClass));if(!s)return;a.preventDefault();const i=f.h(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=I(e.realIndex,i,e.slides.length);t==="next"?e.slideNext():t==="previous"?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i)}function h(){const a=e.rtl,s=e.params.pagination;if(k())return;let i=e.pagination.el;i=f.m(i);let t,c;const C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,z=e.params.loop?Math.ceil(C/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,t=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(t=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,t=e.activeIndex||0),s.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const l=e.pagination.bullets;let g,p,L;if(s.dynamicBullets&&(b=f.f(l[0],e.isHorizontal()?"width":"height"),i.forEach(n=>{n.style[e.isHorizontal()?"width":"height"]=`${b*(s.dynamicMainBullets+4)}px`}),s.dynamicMainBullets>1&&c!==void 0&&(m+=t-(c||0),m>s.dynamicMainBullets-1?m=s.dynamicMainBullets-1:m<0&&(m=0)),g=Math.max(t-m,0),p=g+(Math.min(l.length,s.dynamicMainBullets)-1),L=(p+g)/2),l.forEach(n=>{const r=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(o=>`${s.bulletActiveClass}${o}`)].map(o=>typeof o=="string"&&o.includes(" ")?o.split(" "):o).flat();n.classList.remove(...r)}),i.length>1)l.forEach(n=>{const r=f.h(n);r===t?n.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&n.setAttribute("part","bullet"),s.dynamicBullets&&(r>=g&&r<=p&&n.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),r===g&&x(n,"prev"),r===p&&x(n,"next"))});else{const n=l[t];if(n&&n.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&l.forEach((r,o)=>{r.setAttribute("part",o===t?"bullet-active":"bullet")}),s.dynamicBullets){const r=l[g],o=l[p];for(let y=g;y<=p;y+=1)l[y]&&l[y].classList.add(...`${s.bulletActiveClass}-main`.split(" "));x(r,"prev"),x(o,"next")}}if(s.dynamicBullets){const n=Math.min(l.length,s.dynamicMainBullets+4),r=(b*n-b)/2-L*b,o=a?"right":"left";l.forEach(y=>{y.style[e.isHorizontal()?o:"top"]=`${r}px`})}}i.forEach((l,g)=>{if(s.type==="fraction"&&(l.querySelectorAll($.c(s.currentClass)).forEach(p=>{p.textContent=s.formatFractionCurrent(t+1)}),l.querySelectorAll($.c(s.totalClass)).forEach(p=>{p.textContent=s.formatFractionTotal(z)})),s.type==="progressbar"){let p;s.progressbarOpposite?p=e.isHorizontal()?"vertical":"horizontal":p=e.isHorizontal()?"horizontal":"vertical";const L=(t+1)/z;let n=1,r=1;p==="horizontal"?n=L:r=L,l.querySelectorAll($.c(s.progressbarFillClass)).forEach(o=>{o.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${r})`,o.style.transitionDuration=`${e.params.speed}ms`})}s.type==="custom"&&s.renderCustom?(l.innerHTML=s.renderCustom(e,t+1,z),g===0&&v("paginationRender",l)):(g===0&&v("paginationRender",l),v("paginationUpdate",l)),e.params.watchOverflow&&e.enabled&&l.classList[e.isLocked?"add":"remove"](s.lockClass)})}function B(){const a=e.params.pagination;if(k())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=f.m(i);let t="";if(a.type==="bullets"){let c=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&c>s&&(c=s);for(let C=0;C<c;C+=1)a.renderBullet?t+=a.renderBullet.call(e,C,a.bulletClass):t+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}a.type==="fraction"&&(a.renderFraction?t=a.renderFraction.call(e,a.currentClass,a.totalClass):t=`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),a.type==="progressbar"&&(a.renderProgressbar?t=a.renderProgressbar.call(e,a.progressbarFillClass):t=`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(c=>{a.type!=="custom"&&(c.innerHTML=t||""),a.type==="bullets"&&e.pagination.bullets.push(...c.querySelectorAll($.c(a.bulletClass)))}),a.type!=="custom"&&v("paginationRender",i[0])}function A(){e.params.pagination=q.c(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const a=e.params.pagination;if(!a.el)return;let s;typeof a.el=="string"&&e.isElement&&(s=e.el.querySelector(a.el)),!s&&typeof a.el=="string"&&(s=[...document.querySelectorAll(a.el)]),s||(s=a.el),!(!s||s.length===0)&&(e.params.uniqueNavElements&&typeof a.el=="string"&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(a.el)],s.length>1&&(s=s.find(i=>f.a(i,".swiper")[0]===e.el))),Array.isArray(s)&&s.length===1&&(s=s[0]),Object.assign(e.pagination,{el:s}),s=f.m(s),s.forEach(i=>{a.type==="bullets"&&a.clickable&&i.classList.add(...(a.clickableClass||"").split(" ")),i.classList.add(a.modifierClass+a.type),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.type==="bullets"&&a.dynamicBullets&&(i.classList.add(`${a.modifierClass}${a.type}-dynamic`),m=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),a.type==="progressbar"&&a.progressbarOpposite&&i.classList.add(a.progressbarOppositeClass),a.clickable&&i.addEventListener("click",D),e.enabled||i.classList.add(a.lockClass)}))}function M(){const a=e.params.pagination;if(k())return;let s=e.pagination.el;s&&(s=f.m(s),s.forEach(i=>{i.classList.remove(a.hiddenClass),i.classList.remove(a.modifierClass+a.type),i.classList.remove(e.isHorizontal()?a.horizontalClass:a.verticalClass),a.clickable&&(i.classList.remove(...(a.clickableClass||"").split(" ")),i.removeEventListener("click",D))})),e.pagination.bullets&&e.pagination.bullets.forEach(i=>i.classList.remove(...a.bulletActiveClass.split(" ")))}u("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const a=e.params.pagination;let{el:s}=e.pagination;s=f.m(s),s.forEach(i=>{i.classList.remove(a.horizontalClass,a.verticalClass),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass)})}),u("init",()=>{e.params.pagination.enabled===!1?P():(A(),B(),h())}),u("activeIndexChange",()=>{typeof e.snapIndex>"u"&&h()}),u("snapIndexChange",()=>{h()}),u("snapGridLengthChange",()=>{B(),h()}),u("destroy",()=>{M()}),u("enable disable",()=>{let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),u("lock unlock",()=>{h()}),u("click",(a,s)=>{const i=s.target,t=f.m(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&t&&t.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const c=t[0].classList.contains(e.params.pagination.hiddenClass);v(c===!0?"paginationShow":"paginationHide"),t.forEach(C=>C.classList.toggle(e.params.pagination.hiddenClass))}});const O=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.remove(e.params.pagination.paginationDisabledClass))),A(),B(),h()},P=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:a}=e.pagination;a&&(a=f.m(a),a.forEach(s=>s.classList.add(e.params.pagination.paginationDisabledClass))),M()};Object.assign(e.pagination,{enable:O,disable:P,render:B,update:h,init:A,destroy:M})}module.exports=w;
2
- //# sourceMappingURL=index.cjs347.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs347.js","sources":["../node_modules/swiper/modules/pagination.mjs"],"sourcesContent":["import { c as classesToSelector } from '../shared/classes-to-selector.mjs';\nimport { c as createElementIfNotDefined } from '../shared/create-element-if-not-defined.mjs';\nimport { m as makeElementsArray, f as elementOuterSize, h as elementIndex, a as elementParents } from '../shared/utils.mjs';\n\nfunction Pagination(_ref) {\n let {\n swiper,\n extendParams,\n on,\n emit\n } = _ref;\n const pfx = 'swiper-pagination';\n extendParams({\n pagination: {\n el: null,\n bulletElement: 'span',\n clickable: false,\n hideOnClick: false,\n renderBullet: null,\n renderProgressbar: null,\n renderFraction: null,\n renderCustom: null,\n progressbarOpposite: false,\n type: 'bullets',\n // 'bullets' or 'progressbar' or 'fraction' or 'custom'\n dynamicBullets: false,\n dynamicMainBullets: 1,\n formatFractionCurrent: number => number,\n formatFractionTotal: number => number,\n bulletClass: `${pfx}-bullet`,\n bulletActiveClass: `${pfx}-bullet-active`,\n modifierClass: `${pfx}-`,\n currentClass: `${pfx}-current`,\n totalClass: `${pfx}-total`,\n hiddenClass: `${pfx}-hidden`,\n progressbarFillClass: `${pfx}-progressbar-fill`,\n progressbarOppositeClass: `${pfx}-progressbar-opposite`,\n clickableClass: `${pfx}-clickable`,\n lockClass: `${pfx}-lock`,\n horizontalClass: `${pfx}-horizontal`,\n verticalClass: `${pfx}-vertical`,\n paginationDisabledClass: `${pfx}-disabled`\n }\n });\n swiper.pagination = {\n el: null,\n bullets: []\n };\n let bulletSize;\n let dynamicBulletIndex = 0;\n function isPaginationDisabled() {\n return !swiper.params.pagination.el || !swiper.pagination.el || Array.isArray(swiper.pagination.el) && swiper.pagination.el.length === 0;\n }\n function setSideBullets(bulletEl, position) {\n const {\n bulletActiveClass\n } = swiper.params.pagination;\n if (!bulletEl) return;\n bulletEl = bulletEl[`${position === 'prev' ? 'previous' : 'next'}ElementSibling`];\n if (bulletEl) {\n bulletEl.classList.add(`${bulletActiveClass}-${position}`);\n bulletEl = bulletEl[`${position === 'prev' ? 'previous' : 'next'}ElementSibling`];\n if (bulletEl) {\n bulletEl.classList.add(`${bulletActiveClass}-${position}-${position}`);\n }\n }\n }\n function getMoveDirection(prevIndex, nextIndex, length) {\n prevIndex = prevIndex % length;\n nextIndex = nextIndex % length;\n if (nextIndex === prevIndex + 1) {\n return 'next';\n } else if (nextIndex === prevIndex - 1) {\n return 'previous';\n }\n return;\n }\n function onBulletClick(e) {\n const bulletEl = e.target.closest(classesToSelector(swiper.params.pagination.bulletClass));\n if (!bulletEl) {\n return;\n }\n e.preventDefault();\n const index = elementIndex(bulletEl) * swiper.params.slidesPerGroup;\n if (swiper.params.loop) {\n if (swiper.realIndex === index) return;\n const moveDirection = getMoveDirection(swiper.realIndex, index, swiper.slides.length);\n if (moveDirection === 'next') {\n swiper.slideNext();\n } else if (moveDirection === 'previous') {\n swiper.slidePrev();\n } else {\n swiper.slideToLoop(index);\n }\n } else {\n swiper.slideTo(index);\n }\n }\n function update() {\n // Render || Update Pagination bullets/items\n const rtl = swiper.rtl;\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n let el = swiper.pagination.el;\n el = makeElementsArray(el);\n // Current/Total\n let current;\n let previousIndex;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.slides.length;\n const total = swiper.params.loop ? Math.ceil(slidesLength / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n if (swiper.params.loop) {\n previousIndex = swiper.previousRealIndex || 0;\n current = swiper.params.slidesPerGroup > 1 ? Math.floor(swiper.realIndex / swiper.params.slidesPerGroup) : swiper.realIndex;\n } else if (typeof swiper.snapIndex !== 'undefined') {\n current = swiper.snapIndex;\n previousIndex = swiper.previousSnapIndex;\n } else {\n previousIndex = swiper.previousIndex || 0;\n current = swiper.activeIndex || 0;\n }\n // Types\n if (params.type === 'bullets' && swiper.pagination.bullets && swiper.pagination.bullets.length > 0) {\n const bullets = swiper.pagination.bullets;\n let firstIndex;\n let lastIndex;\n let midIndex;\n if (params.dynamicBullets) {\n bulletSize = elementOuterSize(bullets[0], swiper.isHorizontal() ? 'width' : 'height', true);\n el.forEach(subEl => {\n subEl.style[swiper.isHorizontal() ? 'width' : 'height'] = `${bulletSize * (params.dynamicMainBullets + 4)}px`;\n });\n if (params.dynamicMainBullets > 1 && previousIndex !== undefined) {\n dynamicBulletIndex += current - (previousIndex || 0);\n if (dynamicBulletIndex > params.dynamicMainBullets - 1) {\n dynamicBulletIndex = params.dynamicMainBullets - 1;\n } else if (dynamicBulletIndex < 0) {\n dynamicBulletIndex = 0;\n }\n }\n firstIndex = Math.max(current - dynamicBulletIndex, 0);\n lastIndex = firstIndex + (Math.min(bullets.length, params.dynamicMainBullets) - 1);\n midIndex = (lastIndex + firstIndex) / 2;\n }\n bullets.forEach(bulletEl => {\n const classesToRemove = [...['', '-next', '-next-next', '-prev', '-prev-prev', '-main'].map(suffix => `${params.bulletActiveClass}${suffix}`)].map(s => typeof s === 'string' && s.includes(' ') ? s.split(' ') : s).flat();\n bulletEl.classList.remove(...classesToRemove);\n });\n if (el.length > 1) {\n bullets.forEach(bullet => {\n const bulletIndex = elementIndex(bullet);\n if (bulletIndex === current) {\n bullet.classList.add(...params.bulletActiveClass.split(' '));\n } else if (swiper.isElement) {\n bullet.setAttribute('part', 'bullet');\n }\n if (params.dynamicBullets) {\n if (bulletIndex >= firstIndex && bulletIndex <= lastIndex) {\n bullet.classList.add(...`${params.bulletActiveClass}-main`.split(' '));\n }\n if (bulletIndex === firstIndex) {\n setSideBullets(bullet, 'prev');\n }\n if (bulletIndex === lastIndex) {\n setSideBullets(bullet, 'next');\n }\n }\n });\n } else {\n const bullet = bullets[current];\n if (bullet) {\n bullet.classList.add(...params.bulletActiveClass.split(' '));\n }\n if (swiper.isElement) {\n bullets.forEach((bulletEl, bulletIndex) => {\n bulletEl.setAttribute('part', bulletIndex === current ? 'bullet-active' : 'bullet');\n });\n }\n if (params.dynamicBullets) {\n const firstDisplayedBullet = bullets[firstIndex];\n const lastDisplayedBullet = bullets[lastIndex];\n for (let i = firstIndex; i <= lastIndex; i += 1) {\n if (bullets[i]) {\n bullets[i].classList.add(...`${params.bulletActiveClass}-main`.split(' '));\n }\n }\n setSideBullets(firstDisplayedBullet, 'prev');\n setSideBullets(lastDisplayedBullet, 'next');\n }\n }\n if (params.dynamicBullets) {\n const dynamicBulletsLength = Math.min(bullets.length, params.dynamicMainBullets + 4);\n const bulletsOffset = (bulletSize * dynamicBulletsLength - bulletSize) / 2 - midIndex * bulletSize;\n const offsetProp = rtl ? 'right' : 'left';\n bullets.forEach(bullet => {\n bullet.style[swiper.isHorizontal() ? offsetProp : 'top'] = `${bulletsOffset}px`;\n });\n }\n }\n el.forEach((subEl, subElIndex) => {\n if (params.type === 'fraction') {\n subEl.querySelectorAll(classesToSelector(params.currentClass)).forEach(fractionEl => {\n fractionEl.textContent = params.formatFractionCurrent(current + 1);\n });\n subEl.querySelectorAll(classesToSelector(params.totalClass)).forEach(totalEl => {\n totalEl.textContent = params.formatFractionTotal(total);\n });\n }\n if (params.type === 'progressbar') {\n let progressbarDirection;\n if (params.progressbarOpposite) {\n progressbarDirection = swiper.isHorizontal() ? 'vertical' : 'horizontal';\n } else {\n progressbarDirection = swiper.isHorizontal() ? 'horizontal' : 'vertical';\n }\n const scale = (current + 1) / total;\n let scaleX = 1;\n let scaleY = 1;\n if (progressbarDirection === 'horizontal') {\n scaleX = scale;\n } else {\n scaleY = scale;\n }\n subEl.querySelectorAll(classesToSelector(params.progressbarFillClass)).forEach(progressEl => {\n progressEl.style.transform = `translate3d(0,0,0) scaleX(${scaleX}) scaleY(${scaleY})`;\n progressEl.style.transitionDuration = `${swiper.params.speed}ms`;\n });\n }\n if (params.type === 'custom' && params.renderCustom) {\n subEl.innerHTML = params.renderCustom(swiper, current + 1, total);\n if (subElIndex === 0) emit('paginationRender', subEl);\n } else {\n if (subElIndex === 0) emit('paginationRender', subEl);\n emit('paginationUpdate', subEl);\n }\n if (swiper.params.watchOverflow && swiper.enabled) {\n subEl.classList[swiper.isLocked ? 'add' : 'remove'](params.lockClass);\n }\n });\n }\n function render() {\n // Render Container\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n const slidesLength = swiper.virtual && swiper.params.virtual.enabled ? swiper.virtual.slides.length : swiper.grid && swiper.params.grid.rows > 1 ? swiper.slides.length / Math.ceil(swiper.params.grid.rows) : swiper.slides.length;\n let el = swiper.pagination.el;\n el = makeElementsArray(el);\n let paginationHTML = '';\n if (params.type === 'bullets') {\n let numberOfBullets = swiper.params.loop ? Math.ceil(slidesLength / swiper.params.slidesPerGroup) : swiper.snapGrid.length;\n if (swiper.params.freeMode && swiper.params.freeMode.enabled && numberOfBullets > slidesLength) {\n numberOfBullets = slidesLength;\n }\n for (let i = 0; i < numberOfBullets; i += 1) {\n if (params.renderBullet) {\n paginationHTML += params.renderBullet.call(swiper, i, params.bulletClass);\n } else {\n // prettier-ignore\n paginationHTML += `<${params.bulletElement} ${swiper.isElement ? 'part=\"bullet\"' : ''} class=\"${params.bulletClass}\"></${params.bulletElement}>`;\n }\n }\n }\n if (params.type === 'fraction') {\n if (params.renderFraction) {\n paginationHTML = params.renderFraction.call(swiper, params.currentClass, params.totalClass);\n } else {\n paginationHTML = `<span class=\"${params.currentClass}\"></span>` + ' / ' + `<span class=\"${params.totalClass}\"></span>`;\n }\n }\n if (params.type === 'progressbar') {\n if (params.renderProgressbar) {\n paginationHTML = params.renderProgressbar.call(swiper, params.progressbarFillClass);\n } else {\n paginationHTML = `<span class=\"${params.progressbarFillClass}\"></span>`;\n }\n }\n swiper.pagination.bullets = [];\n el.forEach(subEl => {\n if (params.type !== 'custom') {\n subEl.innerHTML = paginationHTML || '';\n }\n if (params.type === 'bullets') {\n swiper.pagination.bullets.push(...subEl.querySelectorAll(classesToSelector(params.bulletClass)));\n }\n });\n if (params.type !== 'custom') {\n emit('paginationRender', el[0]);\n }\n }\n function init() {\n swiper.params.pagination = createElementIfNotDefined(swiper, swiper.originalParams.pagination, swiper.params.pagination, {\n el: 'swiper-pagination'\n });\n const params = swiper.params.pagination;\n if (!params.el) return;\n let el;\n if (typeof params.el === 'string' && swiper.isElement) {\n el = swiper.el.querySelector(params.el);\n }\n if (!el && typeof params.el === 'string') {\n el = [...document.querySelectorAll(params.el)];\n }\n if (!el) {\n el = params.el;\n }\n if (!el || el.length === 0) return;\n if (swiper.params.uniqueNavElements && typeof params.el === 'string' && Array.isArray(el) && el.length > 1) {\n el = [...swiper.el.querySelectorAll(params.el)];\n // check if it belongs to another nested Swiper\n if (el.length > 1) {\n el = el.find(subEl => {\n if (elementParents(subEl, '.swiper')[0] !== swiper.el) return false;\n return true;\n });\n }\n }\n if (Array.isArray(el) && el.length === 1) el = el[0];\n Object.assign(swiper.pagination, {\n el\n });\n el = makeElementsArray(el);\n el.forEach(subEl => {\n if (params.type === 'bullets' && params.clickable) {\n subEl.classList.add(...(params.clickableClass || '').split(' '));\n }\n subEl.classList.add(params.modifierClass + params.type);\n subEl.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n if (params.type === 'bullets' && params.dynamicBullets) {\n subEl.classList.add(`${params.modifierClass}${params.type}-dynamic`);\n dynamicBulletIndex = 0;\n if (params.dynamicMainBullets < 1) {\n params.dynamicMainBullets = 1;\n }\n }\n if (params.type === 'progressbar' && params.progressbarOpposite) {\n subEl.classList.add(params.progressbarOppositeClass);\n }\n if (params.clickable) {\n subEl.addEventListener('click', onBulletClick);\n }\n if (!swiper.enabled) {\n subEl.classList.add(params.lockClass);\n }\n });\n }\n function destroy() {\n const params = swiper.params.pagination;\n if (isPaginationDisabled()) return;\n let el = swiper.pagination.el;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.classList.remove(params.hiddenClass);\n subEl.classList.remove(params.modifierClass + params.type);\n subEl.classList.remove(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n if (params.clickable) {\n subEl.classList.remove(...(params.clickableClass || '').split(' '));\n subEl.removeEventListener('click', onBulletClick);\n }\n });\n }\n if (swiper.pagination.bullets) swiper.pagination.bullets.forEach(subEl => subEl.classList.remove(...params.bulletActiveClass.split(' ')));\n }\n on('changeDirection', () => {\n if (!swiper.pagination || !swiper.pagination.el) return;\n const params = swiper.params.pagination;\n let {\n el\n } = swiper.pagination;\n el = makeElementsArray(el);\n el.forEach(subEl => {\n subEl.classList.remove(params.horizontalClass, params.verticalClass);\n subEl.classList.add(swiper.isHorizontal() ? params.horizontalClass : params.verticalClass);\n });\n });\n on('init', () => {\n if (swiper.params.pagination.enabled === false) {\n // eslint-disable-next-line\n disable();\n } else {\n init();\n render();\n update();\n }\n });\n on('activeIndexChange', () => {\n if (typeof swiper.snapIndex === 'undefined') {\n update();\n }\n });\n on('snapIndexChange', () => {\n update();\n });\n on('snapGridLengthChange', () => {\n render();\n update();\n });\n on('destroy', () => {\n destroy();\n });\n on('enable disable', () => {\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList[swiper.enabled ? 'remove' : 'add'](swiper.params.pagination.lockClass));\n }\n });\n on('lock unlock', () => {\n update();\n });\n on('click', (_s, e) => {\n const targetEl = e.target;\n const el = makeElementsArray(swiper.pagination.el);\n if (swiper.params.pagination.el && swiper.params.pagination.hideOnClick && el && el.length > 0 && !targetEl.classList.contains(swiper.params.pagination.bulletClass)) {\n if (swiper.navigation && (swiper.navigation.nextEl && targetEl === swiper.navigation.nextEl || swiper.navigation.prevEl && targetEl === swiper.navigation.prevEl)) return;\n const isHidden = el[0].classList.contains(swiper.params.pagination.hiddenClass);\n if (isHidden === true) {\n emit('paginationShow');\n } else {\n emit('paginationHide');\n }\n el.forEach(subEl => subEl.classList.toggle(swiper.params.pagination.hiddenClass));\n }\n });\n const enable = () => {\n swiper.el.classList.remove(swiper.params.pagination.paginationDisabledClass);\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList.remove(swiper.params.pagination.paginationDisabledClass));\n }\n init();\n render();\n update();\n };\n const disable = () => {\n swiper.el.classList.add(swiper.params.pagination.paginationDisabledClass);\n let {\n el\n } = swiper.pagination;\n if (el) {\n el = makeElementsArray(el);\n el.forEach(subEl => subEl.classList.add(swiper.params.pagination.paginationDisabledClass));\n }\n destroy();\n };\n Object.assign(swiper.pagination, {\n enable,\n disable,\n render,\n update,\n init,\n destroy\n });\n}\n\nexport { Pagination as default };\n"],"names":["Pagination","_ref","swiper","extendParams","on","emit","pfx","number","bulletSize","dynamicBulletIndex","isPaginationDisabled","setSideBullets","bulletEl","position","bulletActiveClass","getMoveDirection","prevIndex","nextIndex","length","onBulletClick","e","classesToSelector","index","elementIndex","moveDirection","update","rtl","params","el","makeElementsArray","current","previousIndex","slidesLength","total","bullets","firstIndex","lastIndex","midIndex","elementOuterSize","subEl","classesToRemove","suffix","s","bullet","bulletIndex","firstDisplayedBullet","lastDisplayedBullet","i","dynamicBulletsLength","bulletsOffset","offsetProp","subElIndex","fractionEl","totalEl","progressbarDirection","scale","scaleX","scaleY","progressEl","render","paginationHTML","numberOfBullets","init","createElementIfNotDefined","elementParents","destroy","disable","_s","targetEl","isHidden","enable"],"mappings":"gHAIA,SAASA,EAAWC,EAAM,C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AAW,QAAS,OACnK,MAAMmE,EAAWzC,EAAG,CAAC,EAAE,UAAU,SAAS1B,EAAO,OAAO,WAAW,WAAW,EAE5EG,EADEgE,IAAa,GACV,iBAEA,gBAFgB,EAIvBzC,EAAG,QAAQW,GAASA,EAAM,UAAU,OAAOrC,EAAO,OAAO,WAAW,WAAW,CAAC,CACtF,CACA,CAAG,EACD,MAAMoE,EAAS,IAAM,CACnBpE,EAAO,GAAG,UAAU,OAAOA,EAAO,OAAO,WAAW,uBAAuB,EAC3E,GAAI,CACF,GAAA0B,CACD,EAAG1B,EAAO,WACP0B,IACFA,EAAKC,EAAiB,EAACD,CAAE,EACzBA,EAAG,QAAQW,GAASA,EAAM,UAAU,OAAOrC,EAAO,OAAO,WAAW,uBAAuB,CAAC,GAE9F4D,EAAM,EACNH,EAAQ,EACRlC,EAAQ,CACT,EACKyC,EAAU,IAAM,CACpBhE,EAAO,GAAG,UAAU,IAAIA,EAAO,OAAO,WAAW,uBAAuB,EACxE,GAAI,CACF,GAAA0B,CACD,EAAG1B,EAAO,WACP0B,IACFA,EAAKC,EAAiB,EAACD,CAAE,EACzBA,EAAG,QAAQW,GAASA,EAAM,UAAU,IAAIrC,EAAO,OAAO,WAAW,uBAAuB,CAAC,GAE3F+D,EAAS,CACV,EACD,OAAO,OAAO/D,EAAO,WAAY,CAC/B,OAAAoE,EACA,QAAAJ,EACA,OAAAP,EACA,OAAAlC,EACA,KAAAqC,EACA,QAAAG,CACJ,CAAG,CACH","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const j=require("react"),b=require("./index.cjs196.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const s=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,s.get?s:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const i=P(j);function g(e,r){const t=i.createContext(r),s=c=>{const{children:n,...o}=c,u=i.useMemo(()=>o,Object.values(o));return b.jsxRuntimeExports.jsx(t.Provider,{value:u,children:n})};s.displayName=e+"Provider";function a(c){const n=i.useContext(t);if(n)return n;if(r!==void 0)return r;throw new Error(`\`${c}\` must be used within \`${e}\``)}return[s,a]}function _(e,r=[]){let t=[];function s(c,n){const o=i.createContext(n),u=t.length;t=[...t,n];const f=d=>{var S;const{scope:x,children:m,...p}=d,l=((S=x==null?void 0:x[e])==null?void 0:S[u])||o,C=i.useMemo(()=>p,Object.values(p));return b.jsxRuntimeExports.jsx(l.Provider,{value:C,children:m})};f.displayName=c+"Provider";function v(d,x){var l;const m=((l=x==null?void 0:x[e])==null?void 0:l[u])||o,p=i.useContext(m);if(p)return p;if(n!==void 0)return n;throw new Error(`\`${d}\` must be used within \`${c}\``)}return[f,v]}const a=()=>{const c=t.map(n=>i.createContext(n));return function(o){const u=(o==null?void 0:o[e])||c;return i.useMemo(()=>({[`__scope${e}`]:{...o,[e]:u}}),[o,u])}};return a.scopeName=e,[s,h(a,...r)]}function h(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const s=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(c){const n=s.reduce((o,{useScope:u,scopeName:f})=>{const d=u(c)[`__scope${f}`];return{...o,...d}},{});return i.useMemo(()=>({[`__scope${r.scopeName}`]:n}),[n])}};return t.scopeName=r.scopeName,t}exports.createContext=g;exports.createContextScope=_;
2
- //# sourceMappingURL=index.cjs364.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs364.js","sources":["../node_modules/@radix-ui/react-context/dist/index.mjs"],"sourcesContent":["// packages/react/context/src/create-context.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createContext2(rootComponentName, defaultContext) {\n const Context = React.createContext(defaultContext);\n const Provider = (props) => {\n const { children, ...context } = props;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName) {\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n}\nfunction createContextScope(scopeName, createContextScopeDeps = []) {\n let defaultContexts = [];\n function createContext3(rootComponentName, defaultContext) {\n const BaseContext = React.createContext(defaultContext);\n const index = defaultContexts.length;\n defaultContexts = [...defaultContexts, defaultContext];\n const Provider = (props) => {\n const { scope, children, ...context } = props;\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const value = React.useMemo(() => context, Object.values(context));\n return /* @__PURE__ */ jsx(Context.Provider, { value, children });\n };\n Provider.displayName = rootComponentName + \"Provider\";\n function useContext2(consumerName, scope) {\n const Context = scope?.[scopeName]?.[index] || BaseContext;\n const context = React.useContext(Context);\n if (context) return context;\n if (defaultContext !== void 0) return defaultContext;\n throw new Error(`\\`${consumerName}\\` must be used within \\`${rootComponentName}\\``);\n }\n return [Provider, useContext2];\n }\n const createScope = () => {\n const scopeContexts = defaultContexts.map((defaultContext) => {\n return React.createContext(defaultContext);\n });\n return function useScope(scope) {\n const contexts = scope?.[scopeName] || scopeContexts;\n return React.useMemo(\n () => ({ [`__scope${scopeName}`]: { ...scope, [scopeName]: contexts } }),\n [scope, contexts]\n );\n };\n };\n createScope.scopeName = scopeName;\n return [createContext3, composeContextScopes(createScope, ...createContextScopeDeps)];\n}\nfunction composeContextScopes(...scopes) {\n const baseScope = scopes[0];\n if (scopes.length === 1) return baseScope;\n const createScope = () => {\n const scopeHooks = scopes.map((createScope2) => ({\n useScope: createScope2(),\n scopeName: createScope2.scopeName\n }));\n return function useComposedScopes(overrideScopes) {\n const nextScopes = scopeHooks.reduce((nextScopes2, { useScope, scopeName }) => {\n const scopeProps = useScope(overrideScopes);\n const currentScope = scopeProps[`__scope${scopeName}`];\n return { ...nextScopes2, ...currentScope };\n }, {});\n return React.useMemo(() => ({ [`__scope${baseScope.scopeName}`]: nextScopes }), [nextScopes]);\n };\n };\n createScope.scopeName = baseScope.scopeName;\n return createScope;\n}\nexport {\n createContext2 as createContext,\n createContextScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createContext2","rootComponentName","defaultContext","Context","React","Provider","props","children","context","value","jsx","useContext2","consumerName","createContextScope","scopeName","createContextScopeDeps","defaultContexts","createContext3","BaseContext","index","scope","_a","createScope","scopeContexts","contexts","composeContextScopes","scopes","baseScope","scopeHooks","createScope2","overrideScopes","nextScopes","nextScopes2","useScope","currentScope"],"mappings":"kaAGA,SAASA,EAAeC,EAAmBC,EAAgB,CACzD,MAAMC,EAAUC,EAAM,cAAcF,CAAc,EAC5CG,EAAYC,GAAU,CAC1B,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAO,EAAKF,EAC3BG,EAAQL,EAAM,QAAQ,IAAMI,EAAS,OAAO,OAAOA,CAAO,CAAC,EACjE,OAAuBE,EAAAA,kBAAAA,IAAIP,EAAQ,SAAU,CAAE,MAAAM,EAAO,SAAAF,CAAQ,CAAE,CACjE,EACDF,EAAS,YAAcJ,EAAoB,WAC3C,SAASU,EAAYC,EAAc,CACjC,MAAMJ,EAAUJ,EAAM,WAAWD,CAAO,EACxC,GAAIK,EAAS,OAAOA,EACpB,GAAIN,IAAmB,OAAQ,OAAOA,EACtC,MAAM,IAAI,MAAM,KAAKU,CAAY,4BAA4BX,CAAiB,IAAI,CACtF,CACE,MAAO,CAACI,EAAUM,CAAW,CAC/B,CACA,SAASE,EAAmBC,EAAWC,EAAyB,GAAI,CAClE,IAAIC,EAAkB,CAAE,EACxB,SAASC,EAAehB,EAAmBC,EAAgB,CACzD,MAAMgB,EAAcd,EAAM,cAAcF,CAAc,EAChDiB,EAAQH,EAAgB,OAC9BA,EAAkB,CAAC,GAAGA,EAAiBd,CAAc,EACrD,MAAMG,EAAYC,GAAU,OAC1B,KAAM,CAAE,MAAAc,EAAO,SAAAb,EAAU,GAAGC,CAAS,EAAGF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gB,CAChD,MAAMC,EAAaH,EAAW,OAAO,CAACI,EAAa,CAAE,SAAAC,EAAU,UAAAnB,KAAgB,CAE7E,MAAMoB,EADaD,EAASH,CAAc,EACV,UAAUhB,CAAS,EAAE,EACrD,MAAO,CAAE,GAAGkB,EAAa,GAAGE,CAAc,CAC3C,EAAE,EAAE,EACL,OAAO9B,EAAM,QAAQ,KAAO,CAAE,CAAC,UAAUuB,EAAU,SAAS,EAAE,EAAGI,CAAU,GAAK,CAACA,CAAU,CAAC,CAC7F,CACF,EACD,OAAAT,EAAY,UAAYK,EAAU,UAC3BL,CACT","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),f=require("react-dom"),m=require("./index.cjs391.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
- //# sourceMappingURL=index.cjs366.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs366.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Slot = createSlot(`Primitive.${node}`);\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Slot","createSlot","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"+dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAU,WAAC,aAAaF,CAAI,EAAE,EACrCG,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUN,EAAOD,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZU,EAAAA,kBAAAA,IAAID,EAAM,CAAE,GAAGD,EAAgB,IAAKF,EAAc,CAC7E,CAAG,EACD,OAAAH,EAAK,YAAc,aAAaH,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGG,CAAM,CACvC,EAAG,CAAE,CAAA,EACL,SAASQ,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Be=require("react"),v=require("./index.cjs362.js"),Ve=require("./index.cjs407.js"),y=require("./index.cjs363.js"),Ye=require("./index.cjs364.js"),Xe=require("./index.cjs408.js"),We=require("./index.cjs385.js"),ze=require("./index.cjs388.js"),Ze=require("./index.cjs386.js"),T=require("./index.cjs409.js"),Je=require("./index.cjs387.js"),X=require("./index.cjs375.js"),A=require("./index.cjs366.js"),W=require("./index.cjs410.js"),Qe=require("./index.cjs391.js"),be=require("./index.cjs406.js"),et=require("./index.cjs390.js"),tt=require("./index.cjs389.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
- //# sourceMappingURL=index.cjs367.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs367.js","sources":["../node_modules/@radix-ui/react-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/menu/src/menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs, composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive, dispatchDiscreteCustomEvent } from \"@radix-ui/react-primitive\";\nimport * as RovingFocusGroup from \"@radix-ui/react-roving-focus\";\nimport { createRovingFocusGroupScope } from \"@radix-ui/react-roving-focus\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { hideOthers } from \"aria-hidden\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SELECTION_KEYS = [\"Enter\", \" \"];\nvar FIRST_KEYS = [\"ArrowDown\", \"PageUp\", \"Home\"];\nvar LAST_KEYS = [\"ArrowUp\", \"PageDown\", \"End\"];\nvar FIRST_LAST_KEYS = [...FIRST_KEYS, ...LAST_KEYS];\nvar SUB_OPEN_KEYS = {\n ltr: [...SELECTION_KEYS, \"ArrowRight\"],\n rtl: [...SELECTION_KEYS, \"ArrowLeft\"]\n};\nvar SUB_CLOSE_KEYS = {\n ltr: [\"ArrowLeft\"],\n rtl: [\"ArrowRight\"]\n};\nvar MENU_NAME = \"Menu\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(MENU_NAME);\nvar [createMenuContext, createMenuScope] = createContextScope(MENU_NAME, [\n createCollectionScope,\n createPopperScope,\n createRovingFocusGroupScope\n]);\nvar usePopperScope = createPopperScope();\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar [MenuProvider, useMenuContext] = createMenuContext(MENU_NAME);\nvar [MenuRootProvider, useMenuRootContext] = createMenuContext(MENU_NAME);\nvar Menu = (props) => {\n const { __scopeMenu, open = false, children, dir, onOpenChange, modal = true } = props;\n const popperScope = usePopperScope(__scopeMenu);\n const [content, setContent] = React.useState(null);\n const isUsingKeyboardRef = React.useRef(false);\n const handleOpenChange = useCallbackRef(onOpenChange);\n const direction = useDirection(dir);\n React.useEffect(() => {\n const handleKeyDown = () => {\n isUsingKeyboardRef.current = true;\n document.addEventListener(\"pointerdown\", handlePointer, { capture: true, once: true });\n document.addEventListener(\"pointermove\", handlePointer, { capture: true, once: true });\n };\n const handlePointer = () => isUsingKeyboardRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n document.removeEventListener(\"pointerdown\", handlePointer, { capture: true });\n document.removeEventListener(\"pointermove\", handlePointer, { capture: true });\n };\n }, []);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuRootProvider,\n {\n scope: __scopeMenu,\n onClose: React.useCallback(() => handleOpenChange(false), [handleOpenChange]),\n isUsingKeyboardRef,\n dir: direction,\n modal,\n children\n }\n )\n }\n ) });\n};\nMenu.displayName = MENU_NAME;\nvar ANCHOR_NAME = \"MenuAnchor\";\nvar MenuAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...anchorProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nMenuAnchor.displayName = ANCHOR_NAME;\nvar PORTAL_NAME = \"MenuPortal\";\nvar [PortalProvider, usePortalContext] = createMenuContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar MenuPortal = (props) => {\n const { __scopeMenu, forceMount, children, container } = props;\n const context = useMenuContext(PORTAL_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopeMenu, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"MenuContent\";\nvar [MenuContentProvider, useMenuContentContext] = createMenuContext(CONTENT_NAME);\nvar MenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: rootContext.modal ? /* @__PURE__ */ jsx(MenuRootContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(MenuRootContentNonModal, { ...contentProps, ref: forwardedRef }) }) }) });\n }\n);\nvar MenuRootContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n const content = ref.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: context.open,\n disableOutsideScroll: true,\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n ),\n onDismiss: () => context.onOpenChange(false)\n }\n );\n }\n);\nvar MenuRootContentNonModal = React.forwardRef((props, forwardedRef) => {\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n return /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n onDismiss: () => context.onOpenChange(false)\n }\n );\n});\nvar Slot = createSlot(\"MenuContent.ScrollLock\");\nvar MenuContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeMenu,\n loop = false,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEntryFocus,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n disableOutsideScroll,\n ...contentProps\n } = props;\n const context = useMenuContext(CONTENT_NAME, __scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const getItems = useCollection(__scopeMenu);\n const [currentItemId, setCurrentItemId] = React.useState(null);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef, context.onContentChange);\n const timerRef = React.useRef(0);\n const searchRef = React.useRef(\"\");\n const pointerGraceTimerRef = React.useRef(0);\n const pointerGraceIntentRef = React.useRef(null);\n const pointerDirRef = React.useRef(\"right\");\n const lastPointerXRef = React.useRef(0);\n const ScrollLockWrapper = disableOutsideScroll ? RemoveScroll : React.Fragment;\n const scrollLockWrapperProps = disableOutsideScroll ? { as: Slot, allowPinchZoom: true } : void 0;\n const handleTypeaheadSearch = (key) => {\n const search = searchRef.current + key;\n const items = getItems().filter((item) => !item.disabled);\n const currentItem = document.activeElement;\n const currentMatch = items.find((item) => item.ref.current === currentItem)?.textValue;\n const values = items.map((item) => item.textValue);\n const nextMatch = getNextMatch(values, search, currentMatch);\n const newItem = items.find((item) => item.textValue === nextMatch)?.ref.current;\n (function updateSearch(value) {\n searchRef.current = value;\n window.clearTimeout(timerRef.current);\n if (value !== \"\") timerRef.current = window.setTimeout(() => updateSearch(\"\"), 1e3);\n })(search);\n if (newItem) {\n setTimeout(() => newItem.focus());\n }\n };\n React.useEffect(() => {\n return () => window.clearTimeout(timerRef.current);\n }, []);\n useFocusGuards();\n const isPointerMovingToSubmenu = React.useCallback((event) => {\n const isMovingTowards = pointerDirRef.current === pointerGraceIntentRef.current?.side;\n return isMovingTowards && isPointerInGraceArea(event, pointerGraceIntentRef.current?.area);\n }, []);\n return /* @__PURE__ */ jsx(\n MenuContentProvider,\n {\n scope: __scopeMenu,\n searchRef,\n onItemEnter: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n onItemLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) return;\n contentRef.current?.focus();\n setCurrentItemId(null);\n },\n [isPointerMovingToSubmenu]\n ),\n onTriggerLeave: React.useCallback(\n (event) => {\n if (isPointerMovingToSubmenu(event)) event.preventDefault();\n },\n [isPointerMovingToSubmenu]\n ),\n pointerGraceTimerRef,\n onPointerGraceIntentChange: React.useCallback((intent) => {\n pointerGraceIntentRef.current = intent;\n }, []),\n children: /* @__PURE__ */ jsx(ScrollLockWrapper, { ...scrollLockWrapperProps, children: /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n trapped: trapFocus,\n onMountAutoFocus: composeEventHandlers(onOpenAutoFocus, (event) => {\n event.preventDefault();\n contentRef.current?.focus({ preventScroll: true });\n }),\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n onDismiss,\n children: /* @__PURE__ */ jsx(\n RovingFocusGroup.Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n dir: rootContext.dir,\n orientation: \"vertical\",\n loop,\n currentTabStopId: currentItemId,\n onCurrentTabStopIdChange: setCurrentItemId,\n onEntryFocus: composeEventHandlers(onEntryFocus, (event) => {\n if (!rootContext.isUsingKeyboardRef.current) event.preventDefault();\n }),\n preventScrollOnEntryFocus: true,\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n role: \"menu\",\n \"aria-orientation\": \"vertical\",\n \"data-state\": getOpenState(context.open),\n \"data-radix-menu-content\": \"\",\n dir: rootContext.dir,\n ...popperScope,\n ...contentProps,\n ref: composedRefs,\n style: { outline: \"none\", ...contentProps.style },\n onKeyDown: composeEventHandlers(contentProps.onKeyDown, (event) => {\n const target = event.target;\n const isKeyDownInside = target.closest(\"[data-radix-menu-content]\") === event.currentTarget;\n const isModifierKey = event.ctrlKey || event.altKey || event.metaKey;\n const isCharacterKey = event.key.length === 1;\n if (isKeyDownInside) {\n if (event.key === \"Tab\") event.preventDefault();\n if (!isModifierKey && isCharacterKey) handleTypeaheadSearch(event.key);\n }\n const content = contentRef.current;\n if (event.target !== content) return;\n if (!FIRST_LAST_KEYS.includes(event.key)) return;\n event.preventDefault();\n const items = getItems().filter((item) => !item.disabled);\n const candidateNodes = items.map((item) => item.ref.current);\n if (LAST_KEYS.includes(event.key)) candidateNodes.reverse();\n focusFirst(candidateNodes);\n }),\n onBlur: composeEventHandlers(props.onBlur, (event) => {\n if (!event.currentTarget.contains(event.target)) {\n window.clearTimeout(timerRef.current);\n searchRef.current = \"\";\n }\n }),\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n const target = event.target;\n const pointerXHasChanged = lastPointerXRef.current !== event.clientX;\n if (event.currentTarget.contains(target) && pointerXHasChanged) {\n const newDir = event.clientX > lastPointerXRef.current ? \"right\" : \"left\";\n pointerDirRef.current = newDir;\n lastPointerXRef.current = event.clientX;\n }\n })\n )\n }\n )\n }\n )\n }\n )\n }\n ) })\n }\n );\n }\n);\nMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"MenuGroup\";\nvar MenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...groupProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { role: \"group\", ...groupProps, ref: forwardedRef });\n }\n);\nMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"MenuLabel\";\nvar MenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...labelProps } = props;\n return /* @__PURE__ */ jsx(Primitive.div, { ...labelProps, ref: forwardedRef });\n }\n);\nMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"MenuItem\";\nvar ITEM_SELECT = \"menu.itemSelect\";\nvar MenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { disabled = false, onSelect, ...itemProps } = props;\n const ref = React.useRef(null);\n const rootContext = useMenuRootContext(ITEM_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(ITEM_NAME, props.__scopeMenu);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const isPointerDownRef = React.useRef(false);\n const handleSelect = () => {\n const menuItem = ref.current;\n if (!disabled && menuItem) {\n const itemSelectEvent = new CustomEvent(ITEM_SELECT, { bubbles: true, cancelable: true });\n menuItem.addEventListener(ITEM_SELECT, (event) => onSelect?.(event), { once: true });\n dispatchDiscreteCustomEvent(menuItem, itemSelectEvent);\n if (itemSelectEvent.defaultPrevented) {\n isPointerDownRef.current = false;\n } else {\n rootContext.onClose();\n }\n }\n };\n return /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n ...itemProps,\n ref: composedRefs,\n disabled,\n onClick: composeEventHandlers(props.onClick, handleSelect),\n onPointerDown: (event) => {\n props.onPointerDown?.(event);\n isPointerDownRef.current = true;\n },\n onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {\n if (!isPointerDownRef.current) event.currentTarget?.click();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (disabled || isTypingAhead && event.key === \" \") return;\n if (SELECTION_KEYS.includes(event.key)) {\n event.currentTarget.click();\n event.preventDefault();\n }\n })\n }\n );\n }\n);\nMenuItem.displayName = ITEM_NAME;\nvar MenuItemImpl = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, disabled = false, textValue, ...itemProps } = props;\n const contentContext = useMenuContentContext(ITEM_NAME, __scopeMenu);\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const [isFocused, setIsFocused] = React.useState(false);\n const [textContent, setTextContent] = React.useState(\"\");\n React.useEffect(() => {\n const menuItem = ref.current;\n if (menuItem) {\n setTextContent((menuItem.textContent ?? \"\").trim());\n }\n }, [itemProps.children]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeMenu,\n disabled,\n textValue: textValue ?? textContent,\n children: /* @__PURE__ */ jsx(RovingFocusGroup.Item, { asChild: true, ...rovingFocusGroupScope, focusable: !disabled, children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"menuitem\",\n \"data-highlighted\": isFocused ? \"\" : void 0,\n \"aria-disabled\": disabled || void 0,\n \"data-disabled\": disabled ? \"\" : void 0,\n ...itemProps,\n ref: composedRefs,\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n if (disabled) {\n contentContext.onItemLeave(event);\n } else {\n contentContext.onItemEnter(event);\n if (!event.defaultPrevented) {\n const item = event.currentTarget;\n item.focus({ preventScroll: true });\n }\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => contentContext.onItemLeave(event))\n ),\n onFocus: composeEventHandlers(props.onFocus, () => setIsFocused(true)),\n onBlur: composeEventHandlers(props.onBlur, () => setIsFocused(false))\n }\n ) })\n }\n );\n }\n);\nvar CHECKBOX_ITEM_NAME = \"MenuCheckboxItem\";\nvar MenuCheckboxItem = React.forwardRef(\n (props, forwardedRef) => {\n const { checked = false, onCheckedChange, ...checkboxItemProps } = props;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemcheckbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n ...checkboxItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n checkboxItemProps.onSelect,\n () => onCheckedChange?.(isIndeterminate(checked) ? true : !checked),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"MenuRadioGroup\";\nvar [RadioGroupProvider, useRadioGroupContext] = createMenuContext(\n RADIO_GROUP_NAME,\n { value: void 0, onValueChange: () => {\n } }\n);\nvar MenuRadioGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { value, onValueChange, ...groupProps } = props;\n const handleValueChange = useCallbackRef(onValueChange);\n return /* @__PURE__ */ jsx(RadioGroupProvider, { scope: props.__scopeMenu, value, onValueChange: handleValueChange, children: /* @__PURE__ */ jsx(MenuGroup, { ...groupProps, ref: forwardedRef }) });\n }\n);\nMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"MenuRadioItem\";\nvar MenuRadioItem = React.forwardRef(\n (props, forwardedRef) => {\n const { value, ...radioItemProps } = props;\n const context = useRadioGroupContext(RADIO_ITEM_NAME, props.__scopeMenu);\n const checked = value === context.value;\n return /* @__PURE__ */ jsx(ItemIndicatorProvider, { scope: props.__scopeMenu, checked, children: /* @__PURE__ */ jsx(\n MenuItem,\n {\n role: \"menuitemradio\",\n \"aria-checked\": checked,\n ...radioItemProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(checked),\n onSelect: composeEventHandlers(\n radioItemProps.onSelect,\n () => context.onValueChange?.(value),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar ITEM_INDICATOR_NAME = \"MenuItemIndicator\";\nvar [ItemIndicatorProvider, useItemIndicatorContext] = createMenuContext(\n ITEM_INDICATOR_NAME,\n { checked: false }\n);\nvar MenuItemIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, forceMount, ...itemIndicatorProps } = props;\n const indicatorContext = useItemIndicatorContext(ITEM_INDICATOR_NAME, __scopeMenu);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(indicatorContext.checked) || indicatorContext.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n ...itemIndicatorProps,\n ref: forwardedRef,\n \"data-state\": getCheckedState(indicatorContext.checked)\n }\n )\n }\n );\n }\n);\nMenuItemIndicator.displayName = ITEM_INDICATOR_NAME;\nvar SEPARATOR_NAME = \"MenuSeparator\";\nvar MenuSeparator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...separatorProps } = props;\n return /* @__PURE__ */ jsx(\n Primitive.div,\n {\n role: \"separator\",\n \"aria-orientation\": \"horizontal\",\n ...separatorProps,\n ref: forwardedRef\n }\n );\n }\n);\nMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"MenuArrow\";\nvar MenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeMenu, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopeMenu);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nMenuArrow.displayName = ARROW_NAME;\nvar SUB_NAME = \"MenuSub\";\nvar [MenuSubProvider, useMenuSubContext] = createMenuContext(SUB_NAME);\nvar MenuSub = (props) => {\n const { __scopeMenu, children, open = false, onOpenChange } = props;\n const parentMenuContext = useMenuContext(SUB_NAME, __scopeMenu);\n const popperScope = usePopperScope(__scopeMenu);\n const [trigger, setTrigger] = React.useState(null);\n const [content, setContent] = React.useState(null);\n const handleOpenChange = useCallbackRef(onOpenChange);\n React.useEffect(() => {\n if (parentMenuContext.open === false) handleOpenChange(false);\n return () => handleOpenChange(false);\n }, [parentMenuContext.open, handleOpenChange]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n MenuProvider,\n {\n scope: __scopeMenu,\n open,\n onOpenChange: handleOpenChange,\n content,\n onContentChange: setContent,\n children: /* @__PURE__ */ jsx(\n MenuSubProvider,\n {\n scope: __scopeMenu,\n contentId: useId(),\n triggerId: useId(),\n trigger,\n onTriggerChange: setTrigger,\n children\n }\n )\n }\n ) });\n};\nMenuSub.displayName = SUB_NAME;\nvar SUB_TRIGGER_NAME = \"MenuSubTrigger\";\nvar MenuSubTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const context = useMenuContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const contentContext = useMenuContentContext(SUB_TRIGGER_NAME, props.__scopeMenu);\n const openTimerRef = React.useRef(null);\n const { pointerGraceTimerRef, onPointerGraceIntentChange } = contentContext;\n const scope = { __scopeMenu: props.__scopeMenu };\n const clearOpenTimer = React.useCallback(() => {\n if (openTimerRef.current) window.clearTimeout(openTimerRef.current);\n openTimerRef.current = null;\n }, []);\n React.useEffect(() => clearOpenTimer, [clearOpenTimer]);\n React.useEffect(() => {\n const pointerGraceTimer = pointerGraceTimerRef.current;\n return () => {\n window.clearTimeout(pointerGraceTimer);\n onPointerGraceIntentChange(null);\n };\n }, [pointerGraceTimerRef, onPointerGraceIntentChange]);\n return /* @__PURE__ */ jsx(MenuAnchor, { asChild: true, ...scope, children: /* @__PURE__ */ jsx(\n MenuItemImpl,\n {\n id: subContext.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": subContext.contentId,\n \"data-state\": getOpenState(context.open),\n ...props,\n ref: composeRefs(forwardedRef, subContext.onTriggerChange),\n onClick: (event) => {\n props.onClick?.(event);\n if (props.disabled || event.defaultPrevented) return;\n event.currentTarget.focus();\n if (!context.open) context.onOpenChange(true);\n },\n onPointerMove: composeEventHandlers(\n props.onPointerMove,\n whenMouse((event) => {\n contentContext.onItemEnter(event);\n if (event.defaultPrevented) return;\n if (!props.disabled && !context.open && !openTimerRef.current) {\n contentContext.onPointerGraceIntentChange(null);\n openTimerRef.current = window.setTimeout(() => {\n context.onOpenChange(true);\n clearOpenTimer();\n }, 100);\n }\n })\n ),\n onPointerLeave: composeEventHandlers(\n props.onPointerLeave,\n whenMouse((event) => {\n clearOpenTimer();\n const contentRect = context.content?.getBoundingClientRect();\n if (contentRect) {\n const side = context.content?.dataset.side;\n const rightSide = side === \"right\";\n const bleed = rightSide ? -5 : 5;\n const contentNearEdge = contentRect[rightSide ? \"left\" : \"right\"];\n const contentFarEdge = contentRect[rightSide ? \"right\" : \"left\"];\n contentContext.onPointerGraceIntentChange({\n area: [\n // Apply a bleed on clientX to ensure that our exit point is\n // consistently within polygon bounds\n { x: event.clientX + bleed, y: event.clientY },\n { x: contentNearEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.top },\n { x: contentFarEdge, y: contentRect.bottom },\n { x: contentNearEdge, y: contentRect.bottom }\n ],\n side\n });\n window.clearTimeout(pointerGraceTimerRef.current);\n pointerGraceTimerRef.current = window.setTimeout(\n () => contentContext.onPointerGraceIntentChange(null),\n 300\n );\n } else {\n contentContext.onTriggerLeave(event);\n if (event.defaultPrevented) return;\n contentContext.onPointerGraceIntentChange(null);\n }\n })\n ),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isTypingAhead = contentContext.searchRef.current !== \"\";\n if (props.disabled || isTypingAhead && event.key === \" \") return;\n if (SUB_OPEN_KEYS[rootContext.dir].includes(event.key)) {\n context.onOpenChange(true);\n context.content?.focus();\n event.preventDefault();\n }\n })\n }\n ) });\n }\n);\nMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"MenuSubContent\";\nvar MenuSubContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopeMenu);\n const { forceMount = portalContext.forceMount, ...subContentProps } = props;\n const context = useMenuContext(CONTENT_NAME, props.__scopeMenu);\n const rootContext = useMenuRootContext(CONTENT_NAME, props.__scopeMenu);\n const subContext = useMenuSubContext(SUB_CONTENT_NAME, props.__scopeMenu);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeMenu, children: /* @__PURE__ */ jsx(\n MenuContentImpl,\n {\n id: subContext.contentId,\n \"aria-labelledby\": subContext.triggerId,\n ...subContentProps,\n ref: composedRefs,\n align: \"start\",\n side: rootContext.dir === \"rtl\" ? \"left\" : \"right\",\n disableOutsidePointerEvents: false,\n disableOutsideScroll: false,\n trapFocus: false,\n onOpenAutoFocus: (event) => {\n if (rootContext.isUsingKeyboardRef.current) ref.current?.focus();\n event.preventDefault();\n },\n onCloseAutoFocus: (event) => event.preventDefault(),\n onFocusOutside: composeEventHandlers(props.onFocusOutside, (event) => {\n if (event.target !== subContext.trigger) context.onOpenChange(false);\n }),\n onEscapeKeyDown: composeEventHandlers(props.onEscapeKeyDown, (event) => {\n rootContext.onClose();\n event.preventDefault();\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n const isKeyDownInside = event.currentTarget.contains(event.target);\n const isCloseKey = SUB_CLOSE_KEYS[rootContext.dir].includes(event.key);\n if (isKeyDownInside && isCloseKey) {\n context.onOpenChange(false);\n subContext.trigger?.focus();\n event.preventDefault();\n }\n })\n }\n ) }) }) });\n }\n);\nMenuSubContent.displayName = SUB_CONTENT_NAME;\nfunction getOpenState(open) {\n return open ? \"open\" : \"closed\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getCheckedState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nfunction focusFirst(candidates) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus();\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nfunction getNextMatch(values, search, currentMatch) {\n const isRepeated = search.length > 1 && Array.from(search).every((char) => char === search[0]);\n const normalizedSearch = isRepeated ? search[0] : search;\n const currentMatchIndex = currentMatch ? values.indexOf(currentMatch) : -1;\n let wrappedValues = wrapArray(values, Math.max(currentMatchIndex, 0));\n const excludeCurrentMatch = normalizedSearch.length === 1;\n if (excludeCurrentMatch) wrappedValues = wrappedValues.filter((v) => v !== currentMatch);\n const nextMatch = wrappedValues.find(\n (value) => value.toLowerCase().startsWith(normalizedSearch.toLowerCase())\n );\n return nextMatch !== currentMatch ? nextMatch : void 0;\n}\nfunction isPointInPolygon(point, polygon) {\n const { x, y } = point;\n let inside = false;\n for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {\n const xi = polygon[i].x;\n const yi = polygon[i].y;\n const xj = polygon[j].x;\n const yj = polygon[j].y;\n const intersect = yi > y !== yj > y && x < (xj - xi) * (y - yi) / (yj - yi) + xi;\n if (intersect) inside = !inside;\n }\n return inside;\n}\nfunction isPointerInGraceArea(event, area) {\n if (!area) return false;\n const cursorPos = { x: event.clientX, y: event.clientY };\n return isPointInPolygon(cursorPos, area);\n}\nfunction whenMouse(handler) {\n return (event) => event.pointerType === \"mouse\" ? handler(event) : void 0;\n}\nvar Root3 = Menu;\nvar Anchor2 = MenuAnchor;\nvar Portal = MenuPortal;\nvar Content2 = MenuContent;\nvar Group = MenuGroup;\nvar Label = MenuLabel;\nvar Item2 = MenuItem;\nvar CheckboxItem = MenuCheckboxItem;\nvar RadioGroup = MenuRadioGroup;\nvar RadioItem = MenuRadioItem;\nvar ItemIndicator = MenuItemIndicator;\nvar Separator = MenuSeparator;\nvar Arrow2 = MenuArrow;\nvar Sub = MenuSub;\nvar SubTrigger = MenuSubTrigger;\nvar SubContent = MenuSubContent;\nexport {\n Anchor2 as Anchor,\n Arrow2 as Arrow,\n CheckboxItem,\n Content2 as Content,\n Group,\n Item2 as Item,\n ItemIndicator,\n Label,\n Menu,\n MenuAnchor,\n MenuArrow,\n MenuCheckboxItem,\n MenuContent,\n MenuGroup,\n MenuItem,\n MenuItemIndicator,\n MenuLabel,\n MenuPortal,\n MenuRadioGroup,\n MenuRadioItem,\n MenuSeparator,\n MenuSub,\n MenuSubContent,\n MenuSubTrigger,\n Portal,\n RadioGroup,\n RadioItem,\n Root3 as Root,\n Separator,\n Sub,\n SubContent,\n SubTrigger,\n createMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["SELECTION_KEYS","FIRST_KEYS","LAST_KEYS","FIRST_LAST_KEYS","SUB_OPEN_KEYS","SUB_CLOSE_KEYS","MENU_NAME","Collection","useCollection","createCollectionScope","createCollection","createMenuContext","createMenuScope","createContextScope","createPopperScope","createRovingFocusGroupScope","usePopperScope","useRovingFocusGroupScope","MenuProvider","useMenuContext","MenuRootProvider","useMenuRootContext","Menu","props","__scopeMenu","open","children","dir","onOpenChange","modal","popperScope","content","setContent","React","isUsingKeyboardRef","handleOpenChange","useCallbackRef","direction","useDirection","handleKeyDown","handlePointer","jsx","PopperPrimitive.Root","ANCHOR_NAME","MenuAnchor","forwardedRef","anchorProps","PopperPrimitive.Anchor","PORTAL_NAME","PortalProvider","usePortalContext","MenuPortal","forceMount","container","context","Presence","PortalPrimitive","CONTENT_NAME","MenuContentProvider","useMenuContentContext","MenuContent","portalContext","contentProps","rootContext","MenuRootContentModal","MenuRootContentNonModal","ref","composedRefs","useComposedRefs","hideOthers","MenuContentImpl","composeEventHandlers","event","Slot","createSlot","loop","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEntryFocus","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","onDismiss","disableOutsideScroll","rovingFocusGroupScope","getItems","currentItemId","setCurrentItemId","contentRef","timerRef","searchRef","pointerGraceTimerRef","pointerGraceIntentRef","pointerDirRef","lastPointerXRef","ScrollLockWrapper","RemoveScroll","scrollLockWrapperProps","handleTypeaheadSearch","key","search","items","item","currentItem","currentMatch","_a","values","nextMatch","getNextMatch","newItem","_b","updateSearch","value","useFocusGuards","isPointerMovingToSubmenu","isPointerInGraceArea","intent","FocusScope","DismissableLayer","RovingFocusGroup.Root","PopperPrimitive.Content","getOpenState","isKeyDownInside","isModifierKey","isCharacterKey","candidateNodes","focusFirst","whenMouse","target","pointerXHasChanged","newDir","GROUP_NAME","MenuGroup","groupProps","Primitive","LABEL_NAME","MenuLabel","labelProps","ITEM_NAME","ITEM_SELECT","MenuItem","disabled","onSelect","itemProps","contentContext","isPointerDownRef","handleSelect","menuItem","itemSelectEvent","dispatchDiscreteCustomEvent","MenuItemImpl","isTypingAhead","textValue","isFocused","setIsFocused","textContent","setTextContent","RovingFocusGroup.Item","CHECKBOX_ITEM_NAME","MenuCheckboxItem","checked","onCheckedChange","checkboxItemProps","ItemIndicatorProvider","isIndeterminate","getCheckedState","RADIO_GROUP_NAME","RadioGroupProvider","useRadioGroupContext","MenuRadioGroup","onValueChange","handleValueChange","RADIO_ITEM_NAME","MenuRadioItem","radioItemProps","ITEM_INDICATOR_NAME","useItemIndicatorContext","MenuItemIndicator","itemIndicatorProps","indicatorContext","SEPARATOR_NAME","MenuSeparator","separatorProps","ARROW_NAME","MenuArrow","arrowProps","PopperPrimitive.Arrow","SUB_NAME","MenuSubProvider","useMenuSubContext","SUB_TRIGGER_NAME","MenuSubTrigger","subContext","openTimerRef","onPointerGraceIntentChange","scope","clearOpenTimer","pointerGraceTimer","composeRefs","contentRect","side","rightSide","bleed","contentNearEdge","contentFarEdge","SUB_CONTENT_NAME","MenuSubContent","subContentProps","isCloseKey","candidates","PREVIOUSLY_FOCUSED_ELEMENT","candidate","wrapArray","array","startIndex","_","index","normalizedSearch","char","currentMatchIndex","wrappedValues","v","isPointInPolygon","point","polygon","x","y","inside","i","j","xi","yi","xj","yj","area","cursorPos","handler","Root3","Anchor2","Portal","Content2","Group","Label","Item2","CheckboxItem","RadioGroup","RadioItem","ItemIndicator","Separator","Arrow2","SubTrigger","SubContent"],"mappings":"g8BAyBA,IAAIA,GAAiB,CAAC,QAAS,GAAG,EAC9BC,GAAa,CAAC,YAAa,SAAU,MAAM,EAC3CC,GAAY,CAAC,UAAW,WAAY,KAAK,EACzCC,GAAkB,CAAC,GAAGF,GAAY,GAAGC,EAAS,EAC9CE,GAAgB,CAClB,IAAK,CAAC,GAAGJ,GAAgB,YAAY,EACrC,IAAK,CAAC,GAAGA,GAAgB,WAAW,CACtC,EACIK,GAAiB,CACnB,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YAAa,EAAC,WAAWyG,EAAiB,YAAa,CAAA,CACzE,EACD,OAAO9G,IAAcH,EAAeG,EAAY,MAClD,CACA,SAASmH,GAAiBC,EAAOC,EAAS,CACxC,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAC,EAAKH,EACjB,IAAII,EAAS,GACb,QAASC,EAAI,EAAGC,EAAIL,EAAQ,OAAS,EAAGI,EAAIJ,EAAQ,OAAQK,EAAID,IAAK,CACnE,MAAME,EAAKN,EAAQI,CAAC,EAAE,EAChBG,EAAKP,EAAQI,CAAC,EAAE,EAChBI,EAAKR,EAAQK,CAAC,EAAE,EAChBI,EAAKT,EAAQK,CAAC,EAAE,EACJE,EAAKL,GAAMO,EAAKP,GAAKD,GAAKO,EAAKF,IAAOJ,EAAIK,IAAOE,EAAKF,GAAMD,IAC/DH,EAAS,CAACA,EAC7B,CACE,OAAOA,CACT,CACA,SAAShH,GAAqB9C,EAAOqK,EAAM,CACzC,GAAI,CAACA,EAAM,MAAO,GAClB,MAAMC,EAAY,CAAE,EAAGtK,EAAM,QAAS,EAAGA,EAAM,OAAS,EACxD,OAAOyJ,GAAiBa,EAAWD,CAAI,CACzC,CACA,SAAS3G,EAAU6G,EAAS,CAC1B,OAAQvK,GAAUA,EAAM,cAAgB,QAAUuK,EAAQvK,CAAK,EAAI,MACrE,CACG,IAACwK,GAAQ1N,GACR2N,GAAUrM,EACVsM,GAAS/L,GACTgM,GAAWvL,GACXwL,GAAQ7G,EACR8G,GAAQ1G,GACR2G,GAAQvG,EACRwG,GAAerF,GACfsF,GAAa5E,GACb6E,GAAYzE,GACZ0E,GAAgBtE,GAChBuE,GAAYnE,GACZoE,GAASjE,GAETkE,GAAa3D,GACb4D,GAAa7C","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react");function c(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const u=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,u.get?u:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=c(o);function s(e){const t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}exports.usePrevious=s;
2
- //# sourceMappingURL=index.cjs373.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs373.js","sources":["../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["// packages/react/use-previous/src/use-previous.tsx\nimport * as React from \"react\";\nfunction usePrevious(value) {\n const ref = React.useRef({ value, previous: value });\n return React.useMemo(() => {\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [value]);\n}\nexport {\n usePrevious\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["usePrevious","value","ref","React"],"mappings":"mYAEA,SAASA,EAAYC,EAAO,CAC1B,MAAMC,EAAMC,EAAM,OAAO,CAAE,MAAAF,EAAO,SAAUA,EAAO,EACnD,OAAOE,EAAM,QAAQ,KACfD,EAAI,QAAQ,QAAUD,IACxBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEfC,EAAI,QAAQ,UAClB,CAACD,CAAK,CAAC,CACZ","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),P=require("./index.cjs363.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
- //# sourceMappingURL=index.cjs375.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs375.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/presence.tsx\nimport * as React2 from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/use-state-machine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n let timeoutId;\n const ownerWindow = node.ownerDocument.defaultView ?? window;\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n send(\"ANIMATION_END\");\n if (!prevPresentRef.current) {\n const currentFillMode = node.style.animationFillMode;\n node.style.animationFillMode = \"forwards\";\n timeoutId = ownerWindow.setTimeout(() => {\n if (node.style.animationFillMode === \"forwards\") {\n node.style.animationFillMode = currentFillMode;\n }\n });\n }\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n ownerWindow.clearTimeout(timeoutId);\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Presence;\nexport {\n Presence,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","timeoutId","ownerWindow","handleAnimationEnd","isCurrentAnimation","currentFillMode","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"icASA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAQ,EAAKF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAW,CAAA,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,EAClHK,EAAMC,EAAAA,gBAAgBL,EAAS,IAAKM,EAAcJ,CAAK,CAAC,EAE9D,OADmB,OAAOH,GAAa,YAClBC,EAAS,UAAYG,EAAO,aAAaD,EAAO,CAAE,IAAAE,CAAK,CAAA,EAAI,IAClF,EACAR,EAAS,YAAc,WACvB,SAASK,EAAYH,EAAS,CAC5B,KAAM,CAACS,EAAMC,CAAO,EAAIL,EAAO,SAAU,EACnCM,EAAYN,EAAO,OAAO,EAAE,EAC5BO,EAAiBP,EAAO,OAAOL,CAAO,EACtCa,EAAuBR,EAAO,OAAO,MAAM,EAC3CZ,EAAeO,EAAU,UAAY,YACrC,C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AF,EAAK,iBAAiB,iBAAkBiB,CAAoB,EAC5DjB,EAAK,iBAAiB,kBAAmBc,CAAkB,EAC3Dd,EAAK,iBAAiB,eAAgBc,CAAkB,EACjD,IAAM,CACXD,EAAY,aAAaD,CAAS,EAClCZ,EAAK,oBAAoB,iBAAkBiB,CAAoB,EAC/DjB,EAAK,oBAAoB,kBAAmBc,CAAkB,EAC9Dd,EAAK,oBAAoB,eAAgBc,CAAkB,CAC5D,CACP,MACMT,EAAK,eAAe,CAE1B,EAAK,CAACL,EAAMK,CAAI,CAAC,EACR,CACL,UAAW,CAAC,UAAW,kBAAkB,EAAE,SAASlB,CAAK,EACzD,IAAKS,EAAO,YAAasB,GAAU,CAC7BA,IAAOhB,EAAU,QAAU,iBAAiBgB,CAAK,GACrDjB,EAAQiB,CAAK,CACnB,EAAO,CAAE,CAAA,CACN,CACH,CACA,SAASX,EAAiBE,EAAQ,CAChC,OAAOA,GAAA,YAAAA,EAAQ,gBAAiB,MAClC,CACA,SAASV,EAAcoB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs363.js"),u=require("./index.cjs196.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
2
- //# sourceMappingURL=index.cjs391.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs391.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"icAKA,SAASA,EAAWC,EAAW,CAC7B,MAAMC,E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,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- import { getDefaultExportFromCjs as r } from "./index.es358.js";
2
- import { __require as o } from "./index.es360.js";
3
- var e = o();
4
- const a = /* @__PURE__ */ r(e);
5
- export {
6
- a as default
7
- };
8
- //# sourceMappingURL=index.es207.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es207.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,5 +0,0 @@
1
- const t = ["bg", "text", "color", "border"], e = (o) => t.map((r) => o[r] ? r === "color" ? `text-${o[r]}` : `${r}-${o[r]}` : "").filter(Boolean);
2
- export {
3
- e as createColorClasses
4
- };
5
- //# sourceMappingURL=index.es209.js.map