@anoki/fse-ui 1.0.679 → 1.0.680

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 (800) hide show
  1. package/dist/index.cjs.js.map +1 -1
  2. package/dist/index.cjs10.js.map +1 -1
  3. package/dist/index.cjs100.js.map +1 -1
  4. package/dist/index.cjs101.js.map +1 -1
  5. package/dist/index.cjs103.js.map +1 -1
  6. package/dist/index.cjs105.js.map +1 -1
  7. package/dist/index.cjs106.js.map +1 -1
  8. package/dist/index.cjs107.js.map +1 -1
  9. package/dist/index.cjs108.js.map +1 -1
  10. package/dist/index.cjs109.js.map +1 -1
  11. package/dist/index.cjs11.js.map +1 -1
  12. package/dist/index.cjs110.js.map +1 -1
  13. package/dist/index.cjs111.js.map +1 -1
  14. package/dist/index.cjs112.js.map +1 -1
  15. package/dist/index.cjs113.js.map +1 -1
  16. package/dist/index.cjs114.js.map +1 -1
  17. package/dist/index.cjs115.js.map +1 -1
  18. package/dist/index.cjs116.js.map +1 -1
  19. package/dist/index.cjs118.js.map +1 -1
  20. package/dist/index.cjs119.js.map +1 -1
  21. package/dist/index.cjs12.js.map +1 -1
  22. package/dist/index.cjs121.js.map +1 -1
  23. package/dist/index.cjs123.js.map +1 -1
  24. package/dist/index.cjs124.js.map +1 -1
  25. package/dist/index.cjs125.js.map +1 -1
  26. package/dist/index.cjs126.js.map +1 -1
  27. package/dist/index.cjs127.js.map +1 -1
  28. package/dist/index.cjs128.js.map +1 -1
  29. package/dist/index.cjs129.js.map +1 -1
  30. package/dist/index.cjs13.js.map +1 -1
  31. package/dist/index.cjs130.js.map +1 -1
  32. package/dist/index.cjs131.js.map +1 -1
  33. package/dist/index.cjs132.js.map +1 -1
  34. package/dist/index.cjs133.js.map +1 -1
  35. package/dist/index.cjs134.js.map +1 -1
  36. package/dist/index.cjs135.js.map +1 -1
  37. package/dist/index.cjs136.js.map +1 -1
  38. package/dist/index.cjs137.js.map +1 -1
  39. package/dist/index.cjs138.js.map +1 -1
  40. package/dist/index.cjs139.js.map +1 -1
  41. package/dist/index.cjs14.js.map +1 -1
  42. package/dist/index.cjs140.js.map +1 -1
  43. package/dist/index.cjs141.js.map +1 -1
  44. package/dist/index.cjs142.js.map +1 -1
  45. package/dist/index.cjs143.js.map +1 -1
  46. package/dist/index.cjs144.js.map +1 -1
  47. package/dist/index.cjs145.js.map +1 -1
  48. package/dist/index.cjs146.js.map +1 -1
  49. package/dist/index.cjs147.js.map +1 -1
  50. package/dist/index.cjs148.js.map +1 -1
  51. package/dist/index.cjs149.js.map +1 -1
  52. package/dist/index.cjs15.js.map +1 -1
  53. package/dist/index.cjs150.js.map +1 -1
  54. package/dist/index.cjs151.js.map +1 -1
  55. package/dist/index.cjs152.js.map +1 -1
  56. package/dist/index.cjs153.js.map +1 -1
  57. package/dist/index.cjs154.js.map +1 -1
  58. package/dist/index.cjs155.js.map +1 -1
  59. package/dist/index.cjs156.js.map +1 -1
  60. package/dist/index.cjs157.js.map +1 -1
  61. package/dist/index.cjs158.js.map +1 -1
  62. package/dist/index.cjs159.js.map +1 -1
  63. package/dist/index.cjs16.js.map +1 -1
  64. package/dist/index.cjs160.js.map +1 -1
  65. package/dist/index.cjs161.js.map +1 -1
  66. package/dist/index.cjs162.js.map +1 -1
  67. package/dist/index.cjs163.js.map +1 -1
  68. package/dist/index.cjs164.js.map +1 -1
  69. package/dist/index.cjs165.js.map +1 -1
  70. package/dist/index.cjs166.js.map +1 -1
  71. package/dist/index.cjs167.js.map +1 -1
  72. package/dist/index.cjs168.js.map +1 -1
  73. package/dist/index.cjs169.js.map +1 -1
  74. package/dist/index.cjs17.js.map +1 -1
  75. package/dist/index.cjs170.js.map +1 -1
  76. package/dist/index.cjs171.js.map +1 -1
  77. package/dist/index.cjs172.js.map +1 -1
  78. package/dist/index.cjs173.js.map +1 -1
  79. package/dist/index.cjs174.js.map +1 -1
  80. package/dist/index.cjs18.js.map +1 -1
  81. package/dist/index.cjs180.js.map +1 -1
  82. package/dist/index.cjs181.js.map +1 -1
  83. package/dist/index.cjs182.js.map +1 -1
  84. package/dist/index.cjs183.js.map +1 -1
  85. package/dist/index.cjs184.js.map +1 -1
  86. package/dist/index.cjs185.js.map +1 -1
  87. package/dist/index.cjs186.js.map +1 -1
  88. package/dist/index.cjs187.js.map +1 -1
  89. package/dist/index.cjs19.js.map +1 -1
  90. package/dist/index.cjs20.js.map +1 -1
  91. package/dist/index.cjs21.js.map +1 -1
  92. package/dist/index.cjs211.js +1 -1
  93. package/dist/index.cjs218.js +1 -1
  94. package/dist/index.cjs22.js.map +1 -1
  95. package/dist/index.cjs223.js.map +1 -1
  96. package/dist/index.cjs225.js.map +1 -1
  97. package/dist/index.cjs228.js.map +1 -1
  98. package/dist/index.cjs23.js.map +1 -1
  99. package/dist/index.cjs232.js.map +1 -1
  100. package/dist/index.cjs235.js.map +1 -1
  101. package/dist/index.cjs238.js +1 -1
  102. package/dist/index.cjs241.js.map +1 -1
  103. package/dist/index.cjs242.js +1 -1
  104. package/dist/index.cjs242.js.map +1 -1
  105. package/dist/index.cjs243.js.map +1 -1
  106. package/dist/index.cjs249.js +1 -1
  107. package/dist/index.cjs25.js.map +1 -1
  108. package/dist/index.cjs250.js.map +1 -1
  109. package/dist/index.cjs253.js.map +1 -1
  110. package/dist/index.cjs258.js.map +1 -1
  111. package/dist/index.cjs259.js +1 -1
  112. package/dist/index.cjs26.js.map +1 -1
  113. package/dist/index.cjs263.js.map +1 -1
  114. package/dist/index.cjs265.js +1 -1
  115. package/dist/index.cjs266.js.map +1 -1
  116. package/dist/index.cjs267.js.map +1 -1
  117. package/dist/index.cjs268.js.map +1 -1
  118. package/dist/index.cjs269.js.map +1 -1
  119. package/dist/index.cjs27.js.map +1 -1
  120. package/dist/index.cjs271.js.map +1 -1
  121. package/dist/index.cjs272.js.map +1 -1
  122. package/dist/index.cjs273.js.map +1 -1
  123. package/dist/index.cjs276.js.map +1 -1
  124. package/dist/index.cjs277.js.map +1 -1
  125. package/dist/index.cjs28.js +1 -1
  126. package/dist/index.cjs28.js.map +1 -1
  127. package/dist/index.cjs282.js.map +1 -1
  128. package/dist/index.cjs283.js.map +1 -1
  129. package/dist/index.cjs284.js.map +1 -1
  130. package/dist/index.cjs286.js.map +1 -1
  131. package/dist/index.cjs287.js.map +1 -1
  132. package/dist/index.cjs288.js.map +1 -1
  133. package/dist/index.cjs291.js.map +1 -1
  134. package/dist/index.cjs292.js +1 -1
  135. package/dist/index.cjs30.js.map +1 -1
  136. package/dist/index.cjs31.js.map +1 -1
  137. package/dist/index.cjs32.js.map +1 -1
  138. package/dist/index.cjs33.js.map +1 -1
  139. package/dist/index.cjs331.js +1 -1
  140. package/dist/index.cjs339.js.map +1 -1
  141. package/dist/index.cjs34.js.map +1 -1
  142. package/dist/index.cjs344.js +1 -1
  143. package/dist/index.cjs35.js.map +1 -1
  144. package/dist/index.cjs350.js.map +1 -1
  145. package/dist/index.cjs352.js.map +1 -1
  146. package/dist/index.cjs356.js.map +1 -1
  147. package/dist/index.cjs358.js +1 -1
  148. package/dist/index.cjs359.js +1 -1
  149. package/dist/index.cjs36.js.map +1 -1
  150. package/dist/index.cjs360.js +1 -1
  151. package/dist/index.cjs37.js.map +1 -1
  152. package/dist/index.cjs370.js +1 -1
  153. package/dist/index.cjs371.js +1 -1
  154. package/dist/index.cjs372.js +1 -27
  155. package/dist/index.cjs372.js.map +1 -1
  156. package/dist/index.cjs373.js +2 -1
  157. package/dist/index.cjs373.js.map +1 -1
  158. package/dist/index.cjs374.js +27 -1
  159. package/dist/index.cjs374.js.map +1 -1
  160. package/dist/index.cjs375.js +1 -1
  161. package/dist/index.cjs375.js.map +1 -1
  162. package/dist/index.cjs376.js +1 -2
  163. package/dist/index.cjs376.js.map +1 -1
  164. package/dist/index.cjs377.js +1 -1
  165. package/dist/index.cjs377.js.map +1 -1
  166. package/dist/index.cjs378.js +1 -1
  167. package/dist/index.cjs378.js.map +1 -1
  168. package/dist/index.cjs379.js +1 -1
  169. package/dist/index.cjs379.js.map +1 -1
  170. package/dist/index.cjs38.js.map +1 -1
  171. package/dist/index.cjs380.js +1 -1
  172. package/dist/index.cjs380.js.map +1 -1
  173. package/dist/index.cjs381.js +1 -1
  174. package/dist/index.cjs381.js.map +1 -1
  175. package/dist/index.cjs382.js +1 -1
  176. package/dist/index.cjs382.js.map +1 -1
  177. package/dist/index.cjs383.js +1 -1
  178. package/dist/index.cjs383.js.map +1 -1
  179. package/dist/index.cjs385.js +1 -1
  180. package/dist/index.cjs385.js.map +1 -1
  181. package/dist/index.cjs388.js +1 -1
  182. package/dist/index.cjs388.js.map +1 -1
  183. package/dist/index.cjs389.js +1 -1
  184. package/dist/index.cjs389.js.map +1 -1
  185. package/dist/index.cjs39.js.map +1 -1
  186. package/dist/index.cjs390.js +1 -1
  187. package/dist/index.cjs390.js.map +1 -1
  188. package/dist/index.cjs391.js +1 -1
  189. package/dist/index.cjs391.js.map +1 -1
  190. package/dist/index.cjs395.js +1 -1
  191. package/dist/index.cjs395.js.map +1 -1
  192. package/dist/index.cjs396.js +1 -1
  193. package/dist/index.cjs396.js.map +1 -1
  194. package/dist/index.cjs397.js +1 -1
  195. package/dist/index.cjs397.js.map +1 -1
  196. package/dist/index.cjs398.js +1 -1
  197. package/dist/index.cjs398.js.map +1 -1
  198. package/dist/index.cjs399.js +1 -1
  199. package/dist/index.cjs399.js.map +1 -1
  200. package/dist/index.cjs40.js.map +1 -1
  201. package/dist/index.cjs400.js +2 -0
  202. package/dist/index.cjs400.js.map +1 -0
  203. package/dist/index.cjs401.js +1 -1
  204. package/dist/index.cjs401.js.map +1 -1
  205. package/dist/index.cjs41.js.map +1 -1
  206. package/dist/index.cjs416.js +2 -0
  207. package/dist/index.cjs416.js.map +1 -0
  208. package/dist/index.cjs417.js +2 -0
  209. package/dist/index.cjs417.js.map +1 -0
  210. package/dist/index.cjs418.js +2 -0
  211. package/dist/index.cjs418.js.map +1 -0
  212. package/dist/index.cjs419.js +2 -0
  213. package/dist/index.cjs419.js.map +1 -0
  214. package/dist/index.cjs42.js.map +1 -1
  215. package/dist/index.cjs420.js +2 -0
  216. package/dist/index.cjs420.js.map +1 -0
  217. package/dist/{index.cjs386.js → index.cjs421.js} +1 -1
  218. package/dist/{index.cjs386.js.map → index.cjs421.js.map} +1 -1
  219. package/dist/index.cjs422.js +2 -0
  220. package/dist/index.cjs422.js.map +1 -0
  221. package/dist/index.cjs423.js +2 -0
  222. package/dist/index.cjs423.js.map +1 -0
  223. package/dist/{index.cjs393.js → index.cjs424.js} +2 -2
  224. package/dist/{index.cjs393.js.map → index.cjs424.js.map} +1 -1
  225. package/dist/index.cjs425.js +1 -1
  226. package/dist/index.cjs425.js.map +1 -1
  227. package/dist/index.cjs426.js +1 -1
  228. package/dist/index.cjs426.js.map +1 -1
  229. package/dist/index.cjs427.js +1 -1
  230. package/dist/index.cjs427.js.map +1 -1
  231. package/dist/index.cjs428.js +1 -4
  232. package/dist/index.cjs428.js.map +1 -1
  233. package/dist/index.cjs429.js +1 -1
  234. package/dist/index.cjs429.js.map +1 -1
  235. package/dist/index.cjs43.js.map +1 -1
  236. package/dist/index.cjs430.js +1 -1
  237. package/dist/index.cjs430.js.map +1 -1
  238. package/dist/index.cjs431.js +1 -1
  239. package/dist/index.cjs431.js.map +1 -1
  240. package/dist/index.cjs432.js +1 -1
  241. package/dist/index.cjs432.js.map +1 -1
  242. package/dist/{index.cjs405.js → index.cjs433.js} +2 -2
  243. package/dist/{index.cjs405.js.map → index.cjs433.js.map} +1 -1
  244. package/dist/{index.cjs406.js → index.cjs434.js} +2 -2
  245. package/dist/{index.cjs406.js.map → index.cjs434.js.map} +1 -1
  246. package/dist/{index.cjs408.js → index.cjs435.js} +2 -2
  247. package/dist/{index.cjs408.js.map → index.cjs435.js.map} +1 -1
  248. package/dist/index.cjs436.js +1 -1
  249. package/dist/index.cjs436.js.map +1 -1
  250. package/dist/index.cjs437.js +1 -38
  251. package/dist/index.cjs437.js.map +1 -1
  252. package/dist/index.cjs438.js +1 -1
  253. package/dist/index.cjs438.js.map +1 -1
  254. package/dist/index.cjs439.js +1 -1
  255. package/dist/index.cjs439.js.map +1 -1
  256. package/dist/index.cjs44.js.map +1 -1
  257. package/dist/index.cjs440.js +1 -1
  258. package/dist/index.cjs440.js.map +1 -1
  259. package/dist/index.cjs441.js +1 -1
  260. package/dist/index.cjs441.js.map +1 -1
  261. package/dist/index.cjs442.js +1 -1
  262. package/dist/index.cjs442.js.map +1 -1
  263. package/dist/index.cjs443.js +1 -1
  264. package/dist/index.cjs443.js.map +1 -1
  265. package/dist/index.cjs444.js +1 -1
  266. package/dist/index.cjs444.js.map +1 -1
  267. package/dist/index.cjs445.js +1 -1
  268. package/dist/index.cjs445.js.map +1 -1
  269. package/dist/index.cjs446.js +1 -1
  270. package/dist/index.cjs446.js.map +1 -1
  271. package/dist/index.cjs447.js +1 -1
  272. package/dist/index.cjs447.js.map +1 -1
  273. package/dist/index.cjs448.js +2 -0
  274. package/dist/index.cjs448.js.map +1 -0
  275. package/dist/index.cjs449.js +2 -0
  276. package/dist/index.cjs449.js.map +1 -0
  277. package/dist/index.cjs45.js.map +1 -1
  278. package/dist/index.cjs450.js +1 -1
  279. package/dist/index.cjs450.js.map +1 -1
  280. package/dist/index.cjs451.js +4 -1
  281. package/dist/index.cjs451.js.map +1 -1
  282. package/dist/index.cjs452.js +1 -1
  283. package/dist/index.cjs452.js.map +1 -1
  284. package/dist/index.cjs453.js +5 -1
  285. package/dist/index.cjs453.js.map +1 -1
  286. package/dist/index.cjs454.js +1 -1
  287. package/dist/index.cjs454.js.map +1 -1
  288. package/dist/index.cjs455.js +1 -1
  289. package/dist/index.cjs455.js.map +1 -1
  290. package/dist/index.cjs456.js +1 -1
  291. package/dist/index.cjs456.js.map +1 -1
  292. package/dist/index.cjs457.js +1 -1
  293. package/dist/index.cjs457.js.map +1 -1
  294. package/dist/index.cjs458.js +1 -1
  295. package/dist/index.cjs458.js.map +1 -1
  296. package/dist/index.cjs459.js +1 -1
  297. package/dist/index.cjs459.js.map +1 -1
  298. package/dist/index.cjs46.js.map +1 -1
  299. package/dist/index.cjs460.js +1 -1
  300. package/dist/index.cjs460.js.map +1 -1
  301. package/dist/index.cjs461.js +1 -1
  302. package/dist/index.cjs461.js.map +1 -1
  303. package/dist/index.cjs462.js +1 -1
  304. package/dist/index.cjs462.js.map +1 -1
  305. package/dist/index.cjs463.js +1 -1
  306. package/dist/index.cjs463.js.map +1 -1
  307. package/dist/index.cjs464.js +38 -1
  308. package/dist/index.cjs464.js.map +1 -1
  309. package/dist/index.cjs465.js +1 -1
  310. package/dist/index.cjs465.js.map +1 -1
  311. package/dist/index.cjs466.js +1 -5
  312. package/dist/index.cjs466.js.map +1 -1
  313. package/dist/index.cjs467.js +1 -1
  314. package/dist/index.cjs467.js.map +1 -1
  315. package/dist/index.cjs468.js +1 -1
  316. package/dist/index.cjs468.js.map +1 -1
  317. package/dist/index.cjs469.js +1 -1
  318. package/dist/index.cjs469.js.map +1 -1
  319. package/dist/index.cjs47.js.map +1 -1
  320. package/dist/index.cjs470.js +1 -1
  321. package/dist/index.cjs470.js.map +1 -1
  322. package/dist/index.cjs471.js +1 -1
  323. package/dist/index.cjs471.js.map +1 -1
  324. package/dist/index.cjs472.js +1 -1
  325. package/dist/index.cjs472.js.map +1 -1
  326. package/dist/index.cjs473.js +1 -1
  327. package/dist/index.cjs473.js.map +1 -1
  328. package/dist/index.cjs474.js +1 -1
  329. package/dist/index.cjs474.js.map +1 -1
  330. package/dist/index.cjs475.js +1 -1
  331. package/dist/index.cjs475.js.map +1 -1
  332. package/dist/index.cjs48.js.map +1 -1
  333. package/dist/index.cjs49.js.map +1 -1
  334. package/dist/index.cjs50.js.map +1 -1
  335. package/dist/index.cjs51.js.map +1 -1
  336. package/dist/index.cjs52.js.map +1 -1
  337. package/dist/index.cjs53.js.map +1 -1
  338. package/dist/index.cjs54.js.map +1 -1
  339. package/dist/index.cjs55.js.map +1 -1
  340. package/dist/index.cjs57.js.map +1 -1
  341. package/dist/index.cjs58.js.map +1 -1
  342. package/dist/index.cjs59.js.map +1 -1
  343. package/dist/index.cjs6.js.map +1 -1
  344. package/dist/index.cjs61.js.map +1 -1
  345. package/dist/index.cjs62.js.map +1 -1
  346. package/dist/index.cjs63.js.map +1 -1
  347. package/dist/index.cjs64.js.map +1 -1
  348. package/dist/index.cjs65.js.map +1 -1
  349. package/dist/index.cjs67.js.map +1 -1
  350. package/dist/index.cjs69.js.map +1 -1
  351. package/dist/index.cjs7.js.map +1 -1
  352. package/dist/index.cjs70.js.map +1 -1
  353. package/dist/index.cjs71.js.map +1 -1
  354. package/dist/index.cjs73.js.map +1 -1
  355. package/dist/index.cjs74.js.map +1 -1
  356. package/dist/index.cjs75.js.map +1 -1
  357. package/dist/index.cjs76.js.map +1 -1
  358. package/dist/index.cjs77.js.map +1 -1
  359. package/dist/index.cjs78.js.map +1 -1
  360. package/dist/index.cjs79.js.map +1 -1
  361. package/dist/index.cjs8.js.map +1 -1
  362. package/dist/index.cjs80.js.map +1 -1
  363. package/dist/index.cjs81.js.map +1 -1
  364. package/dist/index.cjs82.js.map +1 -1
  365. package/dist/index.cjs83.js.map +1 -1
  366. package/dist/index.cjs84.js.map +1 -1
  367. package/dist/index.cjs85.js.map +1 -1
  368. package/dist/index.cjs86.js.map +1 -1
  369. package/dist/index.cjs87.js.map +1 -1
  370. package/dist/index.cjs88.js.map +1 -1
  371. package/dist/index.cjs89.js.map +1 -1
  372. package/dist/index.cjs90.js.map +1 -1
  373. package/dist/index.cjs92.js.map +1 -1
  374. package/dist/index.cjs93.js.map +1 -1
  375. package/dist/index.cjs94.js.map +1 -1
  376. package/dist/index.cjs96.js.map +1 -1
  377. package/dist/index.cjs97.js.map +1 -1
  378. package/dist/index.cjs98.js.map +1 -1
  379. package/dist/index.cjs99.js.map +1 -1
  380. package/dist/index.es.js.map +1 -1
  381. package/dist/index.es10.js.map +1 -1
  382. package/dist/index.es100.js.map +1 -1
  383. package/dist/index.es101.js.map +1 -1
  384. package/dist/index.es103.js.map +1 -1
  385. package/dist/index.es105.js.map +1 -1
  386. package/dist/index.es106.js.map +1 -1
  387. package/dist/index.es107.js.map +1 -1
  388. package/dist/index.es108.js.map +1 -1
  389. package/dist/index.es109.js.map +1 -1
  390. package/dist/index.es11.js.map +1 -1
  391. package/dist/index.es110.js.map +1 -1
  392. package/dist/index.es111.js.map +1 -1
  393. package/dist/index.es112.js.map +1 -1
  394. package/dist/index.es113.js.map +1 -1
  395. package/dist/index.es114.js.map +1 -1
  396. package/dist/index.es115.js.map +1 -1
  397. package/dist/index.es116.js.map +1 -1
  398. package/dist/index.es118.js.map +1 -1
  399. package/dist/index.es119.js.map +1 -1
  400. package/dist/index.es12.js.map +1 -1
  401. package/dist/index.es121.js.map +1 -1
  402. package/dist/index.es123.js.map +1 -1
  403. package/dist/index.es124.js.map +1 -1
  404. package/dist/index.es125.js.map +1 -1
  405. package/dist/index.es126.js.map +1 -1
  406. package/dist/index.es127.js.map +1 -1
  407. package/dist/index.es128.js.map +1 -1
  408. package/dist/index.es129.js.map +1 -1
  409. package/dist/index.es13.js.map +1 -1
  410. package/dist/index.es130.js.map +1 -1
  411. package/dist/index.es131.js.map +1 -1
  412. package/dist/index.es132.js.map +1 -1
  413. package/dist/index.es133.js.map +1 -1
  414. package/dist/index.es134.js.map +1 -1
  415. package/dist/index.es135.js.map +1 -1
  416. package/dist/index.es136.js.map +1 -1
  417. package/dist/index.es137.js.map +1 -1
  418. package/dist/index.es138.js.map +1 -1
  419. package/dist/index.es139.js.map +1 -1
  420. package/dist/index.es14.js.map +1 -1
  421. package/dist/index.es140.js.map +1 -1
  422. package/dist/index.es141.js.map +1 -1
  423. package/dist/index.es142.js.map +1 -1
  424. package/dist/index.es143.js.map +1 -1
  425. package/dist/index.es144.js.map +1 -1
  426. package/dist/index.es145.js.map +1 -1
  427. package/dist/index.es146.js.map +1 -1
  428. package/dist/index.es147.js.map +1 -1
  429. package/dist/index.es148.js.map +1 -1
  430. package/dist/index.es149.js.map +1 -1
  431. package/dist/index.es15.js.map +1 -1
  432. package/dist/index.es150.js.map +1 -1
  433. package/dist/index.es151.js.map +1 -1
  434. package/dist/index.es152.js.map +1 -1
  435. package/dist/index.es153.js.map +1 -1
  436. package/dist/index.es154.js.map +1 -1
  437. package/dist/index.es155.js.map +1 -1
  438. package/dist/index.es156.js.map +1 -1
  439. package/dist/index.es157.js.map +1 -1
  440. package/dist/index.es158.js.map +1 -1
  441. package/dist/index.es159.js.map +1 -1
  442. package/dist/index.es16.js.map +1 -1
  443. package/dist/index.es160.js.map +1 -1
  444. package/dist/index.es161.js.map +1 -1
  445. package/dist/index.es162.js.map +1 -1
  446. package/dist/index.es163.js.map +1 -1
  447. package/dist/index.es164.js.map +1 -1
  448. package/dist/index.es165.js.map +1 -1
  449. package/dist/index.es166.js.map +1 -1
  450. package/dist/index.es167.js.map +1 -1
  451. package/dist/index.es168.js.map +1 -1
  452. package/dist/index.es169.js.map +1 -1
  453. package/dist/index.es17.js.map +1 -1
  454. package/dist/index.es170.js.map +1 -1
  455. package/dist/index.es171.js.map +1 -1
  456. package/dist/index.es172.js.map +1 -1
  457. package/dist/index.es173.js.map +1 -1
  458. package/dist/index.es174.js.map +1 -1
  459. package/dist/index.es18.js.map +1 -1
  460. package/dist/index.es180.js.map +1 -1
  461. package/dist/index.es181.js.map +1 -1
  462. package/dist/index.es182.js.map +1 -1
  463. package/dist/index.es183.js.map +1 -1
  464. package/dist/index.es184.js.map +1 -1
  465. package/dist/index.es185.js.map +1 -1
  466. package/dist/index.es186.js.map +1 -1
  467. package/dist/index.es187.js.map +1 -1
  468. package/dist/index.es19.js.map +1 -1
  469. package/dist/index.es20.js.map +1 -1
  470. package/dist/index.es21.js.map +1 -1
  471. package/dist/index.es211.js +1 -1
  472. package/dist/index.es218.js +2 -2
  473. package/dist/index.es22.js.map +1 -1
  474. package/dist/index.es223.js.map +1 -1
  475. package/dist/index.es225.js.map +1 -1
  476. package/dist/index.es228.js.map +1 -1
  477. package/dist/index.es23.js.map +1 -1
  478. package/dist/index.es232.js.map +1 -1
  479. package/dist/index.es235.js.map +1 -1
  480. package/dist/index.es238.js +7 -7
  481. package/dist/index.es241.js.map +1 -1
  482. package/dist/index.es242.js +1 -1
  483. package/dist/index.es242.js.map +1 -1
  484. package/dist/index.es243.js.map +1 -1
  485. package/dist/index.es249.js +8 -8
  486. package/dist/index.es25.js.map +1 -1
  487. package/dist/index.es250.js.map +1 -1
  488. package/dist/index.es253.js.map +1 -1
  489. package/dist/index.es258.js.map +1 -1
  490. package/dist/index.es259.js +1 -1
  491. package/dist/index.es26.js.map +1 -1
  492. package/dist/index.es263.js.map +1 -1
  493. package/dist/index.es265.js +14 -14
  494. package/dist/index.es266.js.map +1 -1
  495. package/dist/index.es267.js.map +1 -1
  496. package/dist/index.es268.js.map +1 -1
  497. package/dist/index.es269.js.map +1 -1
  498. package/dist/index.es27.js.map +1 -1
  499. package/dist/index.es271.js.map +1 -1
  500. package/dist/index.es272.js.map +1 -1
  501. package/dist/index.es273.js.map +1 -1
  502. package/dist/index.es276.js.map +1 -1
  503. package/dist/index.es277.js.map +1 -1
  504. package/dist/index.es28.js +6 -6
  505. package/dist/index.es28.js.map +1 -1
  506. package/dist/index.es282.js.map +1 -1
  507. package/dist/index.es283.js.map +1 -1
  508. package/dist/index.es284.js.map +1 -1
  509. package/dist/index.es286.js.map +1 -1
  510. package/dist/index.es287.js.map +1 -1
  511. package/dist/index.es288.js.map +1 -1
  512. package/dist/index.es291.js.map +1 -1
  513. package/dist/index.es292.js +7 -7
  514. package/dist/index.es30.js.map +1 -1
  515. package/dist/index.es31.js.map +1 -1
  516. package/dist/index.es32.js.map +1 -1
  517. package/dist/index.es33.js.map +1 -1
  518. package/dist/index.es331.js +4 -4
  519. package/dist/index.es339.js.map +1 -1
  520. package/dist/index.es34.js.map +1 -1
  521. package/dist/index.es344.js +8 -8
  522. package/dist/index.es35.js.map +1 -1
  523. package/dist/index.es350.js.map +1 -1
  524. package/dist/index.es352.js.map +1 -1
  525. package/dist/index.es356.js.map +1 -1
  526. package/dist/index.es358.js +3 -3
  527. package/dist/index.es359.js +2 -2
  528. package/dist/index.es36.js.map +1 -1
  529. package/dist/index.es360.js +3 -3
  530. package/dist/index.es37.js.map +1 -1
  531. package/dist/index.es370.js +1 -1
  532. package/dist/index.es371.js +1 -1
  533. package/dist/index.es372.js +5 -3674
  534. package/dist/index.es372.js.map +1 -1
  535. package/dist/index.es373.js +520 -5
  536. package/dist/index.es373.js.map +1 -1
  537. package/dist/index.es374.js +3675 -2
  538. package/dist/index.es374.js.map +1 -1
  539. package/dist/index.es375.js +5 -5
  540. package/dist/index.es375.js.map +1 -1
  541. package/dist/index.es376.js +2 -521
  542. package/dist/index.es376.js.map +1 -1
  543. package/dist/index.es377.js +7 -2
  544. package/dist/index.es377.js.map +1 -1
  545. package/dist/index.es378.js +27 -2
  546. package/dist/index.es378.js.map +1 -1
  547. package/dist/index.es379.js +66 -5
  548. package/dist/index.es379.js.map +1 -1
  549. package/dist/index.es38.js.map +1 -1
  550. package/dist/index.es380.js +28 -25
  551. package/dist/index.es380.js.map +1 -1
  552. package/dist/index.es381.js +32 -67
  553. package/dist/index.es381.js.map +1 -1
  554. package/dist/index.es382.js +619 -27
  555. package/dist/index.es382.js.map +1 -1
  556. package/dist/index.es383.js +10 -32
  557. package/dist/index.es383.js.map +1 -1
  558. package/dist/index.es385.js +15 -11
  559. package/dist/index.es385.js.map +1 -1
  560. package/dist/index.es388.js +5 -45
  561. package/dist/index.es388.js.map +1 -1
  562. package/dist/index.es389.js +24 -7
  563. package/dist/index.es389.js.map +1 -1
  564. package/dist/index.es39.js.map +1 -1
  565. package/dist/index.es390.js +64 -120
  566. package/dist/index.es390.js.map +1 -1
  567. package/dist/index.es391.js +13 -13
  568. package/dist/index.es391.js.map +1 -1
  569. package/dist/index.es395.js +120 -64
  570. package/dist/index.es395.js.map +1 -1
  571. package/dist/index.es396.js +127 -170
  572. package/dist/index.es396.js.map +1 -1
  573. package/dist/index.es397.js +14 -50
  574. package/dist/index.es397.js.map +1 -1
  575. package/dist/index.es398.js +14 -8
  576. package/dist/index.es398.js.map +1 -1
  577. package/dist/index.es399.js +9 -4
  578. package/dist/index.es399.js.map +1 -1
  579. package/dist/index.es40.js.map +1 -1
  580. package/dist/index.es400.js +53 -0
  581. package/dist/index.es400.js.map +1 -0
  582. package/dist/index.es401.js +53 -15
  583. package/dist/index.es401.js.map +1 -1
  584. package/dist/index.es41.js.map +1 -1
  585. package/dist/index.es416.js +5 -0
  586. package/dist/index.es416.js.map +1 -0
  587. package/dist/index.es417.js +5 -0
  588. package/dist/index.es417.js.map +1 -0
  589. package/dist/index.es418.js +2035 -0
  590. package/dist/index.es418.js.map +1 -0
  591. package/dist/index.es419.js +63 -0
  592. package/dist/index.es419.js.map +1 -0
  593. package/dist/index.es42.js.map +1 -1
  594. package/dist/index.es420.js +192 -0
  595. package/dist/index.es420.js.map +1 -0
  596. package/dist/{index.es386.js → index.es421.js} +1 -1
  597. package/dist/{index.es386.js.map → index.es421.js.map} +1 -1
  598. package/dist/index.es422.js +49 -0
  599. package/dist/index.es422.js.map +1 -0
  600. package/dist/index.es423.js +11 -0
  601. package/dist/index.es423.js.map +1 -0
  602. package/dist/{index.es393.js → index.es424.js} +10 -10
  603. package/dist/{index.es393.js.map → index.es424.js.map} +1 -1
  604. package/dist/index.es425.js +178 -5
  605. package/dist/index.es425.js.map +1 -1
  606. package/dist/index.es426.js +4 -3
  607. package/dist/index.es426.js.map +1 -1
  608. package/dist/index.es427.js +11 -23
  609. package/dist/index.es427.js.map +1 -1
  610. package/dist/index.es428.js +2 -112
  611. package/dist/index.es428.js.map +1 -1
  612. package/dist/index.es429.js +131 -14
  613. package/dist/index.es429.js.map +1 -1
  614. package/dist/index.es43.js.map +1 -1
  615. package/dist/index.es430.js +168 -513
  616. package/dist/index.es430.js.map +1 -1
  617. package/dist/index.es431.js +9 -126
  618. package/dist/index.es431.js.map +1 -1
  619. package/dist/index.es432.js +3 -128
  620. package/dist/index.es432.js.map +1 -1
  621. package/dist/{index.es405.js → index.es433.js} +3 -3
  622. package/dist/{index.es405.js.map → index.es433.js.map} +1 -1
  623. package/dist/{index.es406.js → index.es434.js} +2 -2
  624. package/dist/{index.es406.js.map → index.es434.js.map} +1 -1
  625. package/dist/{index.es408.js → index.es435.js} +4 -4
  626. package/dist/{index.es408.js.map → index.es435.js.map} +1 -1
  627. package/dist/index.es436.js +22 -62
  628. package/dist/index.es436.js.map +1 -1
  629. package/dist/index.es437.js +28 -68
  630. package/dist/index.es437.js.map +1 -1
  631. package/dist/index.es438.js +5 -9
  632. package/dist/index.es438.js.map +1 -1
  633. package/dist/index.es439.js +81 -12
  634. package/dist/index.es439.js.map +1 -1
  635. package/dist/index.es44.js.map +1 -1
  636. package/dist/index.es440.js +5 -62
  637. package/dist/index.es440.js.map +1 -1
  638. package/dist/index.es441.js +4 -4
  639. package/dist/index.es441.js.map +1 -1
  640. package/dist/index.es442.js +4 -22
  641. package/dist/index.es442.js.map +1 -1
  642. package/dist/index.es443.js +9 -14
  643. package/dist/index.es443.js.map +1 -1
  644. package/dist/index.es444.js +56 -23
  645. package/dist/index.es444.js.map +1 -1
  646. package/dist/index.es445.js +7 -12
  647. package/dist/index.es445.js.map +1 -1
  648. package/dist/index.es446.js +5 -27
  649. package/dist/index.es446.js.map +1 -1
  650. package/dist/index.es447.js +532 -4
  651. package/dist/index.es447.js.map +1 -1
  652. package/dist/index.es448.js +8 -0
  653. package/dist/index.es448.js.map +1 -0
  654. package/dist/index.es449.js +6 -0
  655. package/dist/index.es449.js.map +1 -0
  656. package/dist/index.es45.js.map +1 -1
  657. package/dist/index.es450.js +19 -2027
  658. package/dist/index.es450.js.map +1 -1
  659. package/dist/index.es451.js +108 -58
  660. package/dist/index.es451.js.map +1 -1
  661. package/dist/index.es452.js +15 -188
  662. package/dist/index.es452.js.map +1 -1
  663. package/dist/index.es453.js +39 -9
  664. package/dist/index.es453.js.map +1 -1
  665. package/dist/index.es454.js +2 -178
  666. package/dist/index.es454.js.map +1 -1
  667. package/dist/index.es455.js +2 -4
  668. package/dist/index.es455.js.map +1 -1
  669. package/dist/index.es456.js +2 -133
  670. package/dist/index.es456.js.map +1 -1
  671. package/dist/index.es457.js +3 -5
  672. package/dist/index.es457.js.map +1 -1
  673. package/dist/index.es458.js +2 -4
  674. package/dist/index.es458.js.map +1 -1
  675. package/dist/index.es459.js +3 -4
  676. package/dist/index.es459.js.map +1 -1
  677. package/dist/index.es46.js.map +1 -1
  678. package/dist/index.es460.js +4 -9
  679. package/dist/index.es460.js.map +1 -1
  680. package/dist/index.es461.js +514 -47
  681. package/dist/index.es461.js.map +1 -1
  682. package/dist/index.es462.js +126 -7
  683. package/dist/index.es462.js.map +1 -1
  684. package/dist/index.es463.js +128 -5
  685. package/dist/index.es463.js.map +1 -1
  686. package/dist/index.es464.js +61 -525
  687. package/dist/index.es464.js.map +1 -1
  688. package/dist/index.es465.js +11 -2
  689. package/dist/index.es465.js.map +1 -1
  690. package/dist/index.es466.js +13 -39
  691. package/dist/index.es466.js.map +1 -1
  692. package/dist/index.es467.js +62 -2
  693. package/dist/index.es467.js.map +1 -1
  694. package/dist/index.es468.js +65 -2
  695. package/dist/index.es468.js.map +1 -1
  696. package/dist/index.es469.js +4 -2
  697. package/dist/index.es469.js.map +1 -1
  698. package/dist/index.es47.js.map +1 -1
  699. package/dist/index.es470.js +4 -3
  700. package/dist/index.es470.js.map +1 -1
  701. package/dist/index.es471.js +23 -2
  702. package/dist/index.es471.js.map +1 -1
  703. package/dist/index.es472.js +23 -4
  704. package/dist/index.es472.js.map +1 -1
  705. package/dist/index.es473.js +13 -5
  706. package/dist/index.es473.js.map +1 -1
  707. package/dist/index.es474.js +27 -82
  708. package/dist/index.es474.js.map +1 -1
  709. package/dist/index.es475.js +5 -4
  710. package/dist/index.es475.js.map +1 -1
  711. package/dist/index.es48.js.map +1 -1
  712. package/dist/index.es49.js.map +1 -1
  713. package/dist/index.es50.js.map +1 -1
  714. package/dist/index.es51.js.map +1 -1
  715. package/dist/index.es52.js.map +1 -1
  716. package/dist/index.es53.js.map +1 -1
  717. package/dist/index.es54.js.map +1 -1
  718. package/dist/index.es55.js.map +1 -1
  719. package/dist/index.es57.js.map +1 -1
  720. package/dist/index.es58.js.map +1 -1
  721. package/dist/index.es59.js.map +1 -1
  722. package/dist/index.es6.js.map +1 -1
  723. package/dist/index.es61.js.map +1 -1
  724. package/dist/index.es62.js.map +1 -1
  725. package/dist/index.es63.js.map +1 -1
  726. package/dist/index.es64.js.map +1 -1
  727. package/dist/index.es65.js.map +1 -1
  728. package/dist/index.es67.js.map +1 -1
  729. package/dist/index.es69.js.map +1 -1
  730. package/dist/index.es7.js.map +1 -1
  731. package/dist/index.es70.js.map +1 -1
  732. package/dist/index.es71.js.map +1 -1
  733. package/dist/index.es73.js.map +1 -1
  734. package/dist/index.es74.js.map +1 -1
  735. package/dist/index.es75.js.map +1 -1
  736. package/dist/index.es76.js.map +1 -1
  737. package/dist/index.es77.js.map +1 -1
  738. package/dist/index.es78.js.map +1 -1
  739. package/dist/index.es79.js.map +1 -1
  740. package/dist/index.es8.js.map +1 -1
  741. package/dist/index.es80.js.map +1 -1
  742. package/dist/index.es81.js.map +1 -1
  743. package/dist/index.es82.js.map +1 -1
  744. package/dist/index.es83.js.map +1 -1
  745. package/dist/index.es84.js.map +1 -1
  746. package/dist/index.es85.js.map +1 -1
  747. package/dist/index.es86.js.map +1 -1
  748. package/dist/index.es87.js.map +1 -1
  749. package/dist/index.es88.js.map +1 -1
  750. package/dist/index.es89.js.map +1 -1
  751. package/dist/index.es90.js.map +1 -1
  752. package/dist/index.es92.js.map +1 -1
  753. package/dist/index.es93.js.map +1 -1
  754. package/dist/index.es94.js.map +1 -1
  755. package/dist/index.es96.js.map +1 -1
  756. package/dist/index.es97.js.map +1 -1
  757. package/dist/index.es98.js.map +1 -1
  758. package/dist/index.es99.js.map +1 -1
  759. package/package.json +112 -112
  760. package/readme.md +42 -42
  761. package/dist/index.cjs384.js +0 -2
  762. package/dist/index.cjs384.js.map +0 -1
  763. package/dist/index.cjs387.js +0 -2
  764. package/dist/index.cjs387.js.map +0 -1
  765. package/dist/index.cjs392.js +0 -2
  766. package/dist/index.cjs392.js.map +0 -1
  767. package/dist/index.cjs394.js +0 -2
  768. package/dist/index.cjs394.js.map +0 -1
  769. package/dist/index.cjs404.js +0 -2
  770. package/dist/index.cjs404.js.map +0 -1
  771. package/dist/index.cjs407.js +0 -2
  772. package/dist/index.cjs407.js.map +0 -1
  773. package/dist/index.cjs409.js +0 -2
  774. package/dist/index.cjs409.js.map +0 -1
  775. package/dist/index.cjs410.js +0 -2
  776. package/dist/index.cjs410.js.map +0 -1
  777. package/dist/index.cjs411.js +0 -2
  778. package/dist/index.cjs411.js.map +0 -1
  779. package/dist/index.cjs412.js +0 -2
  780. package/dist/index.cjs412.js.map +0 -1
  781. package/dist/index.es384.js +0 -625
  782. package/dist/index.es384.js.map +0 -1
  783. package/dist/index.es387.js +0 -56
  784. package/dist/index.es387.js.map +0 -1
  785. package/dist/index.es392.js +0 -138
  786. package/dist/index.es392.js.map +0 -1
  787. package/dist/index.es394.js +0 -17
  788. package/dist/index.es394.js.map +0 -1
  789. package/dist/index.es404.js +0 -15
  790. package/dist/index.es404.js.map +0 -1
  791. package/dist/index.es407.js +0 -28
  792. package/dist/index.es407.js.map +0 -1
  793. package/dist/index.es409.js +0 -9
  794. package/dist/index.es409.js.map +0 -1
  795. package/dist/index.es410.js +0 -28
  796. package/dist/index.es410.js.map +0 -1
  797. package/dist/index.es411.js +0 -32
  798. package/dist/index.es411.js.map +0 -1
  799. package/dist/index.es412.js +0 -8
  800. package/dist/index.es412.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\nimport { useRef, useState } from \"react\";\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\nimport { Col } from \"../Col\";\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\n\ntype CardSelectDoctorProps = {\n id: string;\n title: string;\n titleTag?: HeadingLevel;\n href?: string;\n description?: string;\n isExternal?: boolean;\n showIcon?: boolean;\n asLink?: \"a\";\n className?: string;\n setSelectedCard?: (id: string) => void;\n description2?: string;\n keepSelectionOnNavigation?: boolean;\n disabled?: boolean;\n};\n\nexport const CardSelectDoctor = ({\n id,\n title,\n titleTag: TitleTag = \"h3\",\n description,\n className,\n setSelectedCard = () => {},\n description2,\n keepSelectionOnNavigation = false,\n disabled = false,\n}: CardSelectDoctorProps) => {\n const [isActive, setIsActive] = useState(false);\n const dropdownRef = useRef<HTMLDivElement>(null);\n useClickOutside(\n dropdownRef,\n isActive,\n () => setIsActive(false),\n () => setSelectedCard(\"\"),\n keepSelectionOnNavigation,\n );\n\n const CheckIcon = () => (\n <svg\n width=\"14\"\n height=\"14\"\n viewBox=\"0 0 12 12\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n aria-hidden=\"true\"\n >\n <path\n d=\"M10 3L4.5 8.5L2 6\"\n stroke=\"white\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n );\n\n // Generate class names based on active and disabled states\n const cardClasses = `${className} ${\n isActive ? \"ui-is-active\" : \"ui-card-search\"\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\n }`;\n\n // Handle click only if not disabled\n const handleClick = () => {\n if (!disabled) {\n setIsActive(true);\n setSelectedCard(id);\n }\n };\n\n return (\n <div\n ref={dropdownRef}\n className={cardClasses}\n onClick={handleClick}\n aria-disabled={disabled}\n >\n <CheckboxRadix.Root\n id={id}\n checked={isActive}\n disabled={disabled}\n // onCheckedChange={onChange}\n className={\"ui-checkbox-filter\"}\n // aria-label={labelText}\n >\n <CheckboxRadix.Indicator>\n <CheckIcon />\n </CheckboxRadix.Indicator>\n </CheckboxRadix.Root>\n <Col>\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\n {title}\n </TitleTag>\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\n {description}\n </p>\n {description2 && (\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\n {description2}\n </p>\n )}\n </Col>\n </div>\n );\n};\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","setIsActive","useState","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAuBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,EACb,IAA6B,CAC3B,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAH,EACA,IAAMC,EAAY,EAAK,EACvB,IAAML,EAAgB,EAAE,EACxBE,CACF,EAEA,MAAMQ,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGb,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMU,EAAc,IAAM,CACnBV,IACHE,EAAY,EAAI,EAChBL,EAAgBL,CAAE,EAEtB,EAGE,OAAAmB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeV,EAEf,SAAA,CAAAQ,EAAA,kBAAA,IAACI,EAAc,KAAd,CACC,GAAApB,EACA,QAASS,EACT,SAAAD,EAEA,UAAW,qBAGX,iCAACa,YAAA,CACC,SAAAL,wBAACD,IAAU,CACb,CAAA,CAAA,CACF,2BACCO,EAAAA,IACC,CAAA,SAAA,CAACN,EAAA,kBAAA,IAAAd,EAAA,CAAS,UAAU,sDACjB,SACHD,EAAA,EACCe,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHb,EAAA,EACCG,GACCU,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,oDACV,SACHV,CAAA,CAAA,CAAA,CAEJ,CAAA,CAAA,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs42.js","sources":["../src/components/ui/CardSelectDoctor/index.tsx"],"sourcesContent":["import \"./CardSelectDoctor.scss\";\r\nimport { useRef, useState } from \"react\";\r\nimport * as CheckboxRadix from \"@radix-ui/react-checkbox\";\r\nimport { useClickOutside } from \"@/hooks/useClickOutside.ts\";\r\nimport { Col } from \"../Col\";\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\n\r\ntype CardSelectDoctorProps = {\r\n id: string;\r\n title: string;\r\n titleTag?: HeadingLevel;\r\n href?: string;\r\n description?: string;\r\n isExternal?: boolean;\r\n showIcon?: boolean;\r\n asLink?: \"a\";\r\n className?: string;\r\n setSelectedCard?: (id: string) => void;\r\n description2?: string;\r\n keepSelectionOnNavigation?: boolean;\r\n disabled?: boolean;\r\n};\r\n\r\nexport const CardSelectDoctor = ({\r\n id,\r\n title,\r\n titleTag: TitleTag = \"h3\",\r\n description,\r\n className,\r\n setSelectedCard = () => {},\r\n description2,\r\n keepSelectionOnNavigation = false,\r\n disabled = false,\r\n}: CardSelectDoctorProps) => {\r\n const [isActive, setIsActive] = useState(false);\r\n const dropdownRef = useRef<HTMLDivElement>(null);\r\n useClickOutside(\r\n dropdownRef,\r\n isActive,\r\n () => setIsActive(false),\r\n () => setSelectedCard(\"\"),\r\n keepSelectionOnNavigation,\r\n );\r\n\r\n const CheckIcon = () => (\r\n <svg\r\n width=\"14\"\r\n height=\"14\"\r\n viewBox=\"0 0 12 12\"\r\n fill=\"none\"\r\n xmlns=\"http://www.w3.org/2000/svg\"\r\n aria-hidden=\"true\"\r\n >\r\n <path\r\n d=\"M10 3L4.5 8.5L2 6\"\r\n stroke=\"white\"\r\n strokeWidth=\"2\"\r\n strokeLinecap=\"round\"\r\n strokeLinejoin=\"round\"\r\n />\r\n </svg>\r\n );\r\n\r\n // Generate class names based on active and disabled states\r\n const cardClasses = `${className} ${\r\n isActive ? \"ui-is-active\" : \"ui-card-search\"\r\n } shadow br-x4 px-x24 py-x16 base-row bg-white gap-x16 ${\r\n disabled ? \"ui-card-disabled\" : \"cursor-pointer\"\r\n }`;\r\n\r\n // Handle click only if not disabled\r\n const handleClick = () => {\r\n if (!disabled) {\r\n setIsActive(true);\r\n setSelectedCard(id);\r\n }\r\n };\r\n\r\n return (\r\n <div\r\n ref={dropdownRef}\r\n className={cardClasses}\r\n onClick={handleClick}\r\n aria-disabled={disabled}\r\n >\r\n <CheckboxRadix.Root\r\n id={id}\r\n checked={isActive}\r\n disabled={disabled}\r\n // onCheckedChange={onChange}\r\n className={\"ui-checkbox-filter\"}\r\n // aria-label={labelText}\r\n >\r\n <CheckboxRadix.Indicator>\r\n <CheckIcon />\r\n </CheckboxRadix.Indicator>\r\n </CheckboxRadix.Root>\r\n <Col>\r\n <TitleTag className=\"flex-1 pb-x8 fs-5 md-fs-4 text-slate-20 fw-semibold\">\r\n {title}\r\n </TitleTag>\r\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28\">\r\n {description}\r\n </p>\r\n {description2 && (\r\n <p className=\"fs-7 md-fs-custom fw-regular text-slate-28 pt-x16\">\r\n {description2}\r\n </p>\r\n )}\r\n </Col>\r\n </div>\r\n );\r\n};\r\n"],"names":["CardSelectDoctor","id","title","TitleTag","description","className","setSelectedCard","description2","keepSelectionOnNavigation","disabled","isActive","setIsActive","useState","dropdownRef","useRef","useClickOutside","CheckIcon","jsx","cardClasses","handleClick","jsxs","CheckboxRadix.Root","CheckboxRadix.Indicator","Col"],"mappings":"uQAuBaA,EAAmB,CAAC,CAC/B,GAAAC,EACA,MAAAC,EACA,SAAUC,EAAW,KACrB,YAAAC,EACA,UAAAC,EACA,gBAAAC,EAAkB,IAAM,CAAC,EACzB,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,SAAAC,EAAW,EACb,IAA6B,CAC3B,KAAM,CAACC,EAAUC,CAAW,EAAIC,EAAAA,SAAS,EAAK,EACxCC,EAAcC,SAAuB,IAAI,EAC/CC,EAAA,gBACEF,EACAH,EACA,IAAMC,EAAY,EAAK,EACvB,IAAML,EAAgB,EAAE,EACxBE,CACF,EAEA,MAAMQ,EAAY,IAChBC,EAAA,kBAAA,IAAC,MAAA,CACC,MAAM,KACN,OAAO,KACP,QAAQ,YACR,KAAK,OACL,MAAM,6BACN,cAAY,OAEZ,SAAAA,EAAA,kBAAA,IAAC,OAAA,CACC,EAAE,oBACF,OAAO,QACP,YAAY,IACZ,cAAc,QACd,eAAe,OAAA,CAAA,CACjB,CACF,EAIIC,EAAc,GAAGb,CAAS,IAC9BK,EAAW,eAAiB,gBAC9B,yDACED,EAAW,mBAAqB,gBAClC,GAGMU,EAAc,IAAM,CACnBV,IACHE,EAAY,EAAI,EAChBL,EAAgBL,CAAE,EAEtB,EAGE,OAAAmB,EAAA,kBAAA,KAAC,MAAA,CACC,IAAKP,EACL,UAAWK,EACX,QAASC,EACT,gBAAeV,EAEf,SAAA,CAAAQ,EAAA,kBAAA,IAACI,EAAc,KAAd,CACC,GAAApB,EACA,QAASS,EACT,SAAAD,EAEA,UAAW,qBAGX,iCAACa,YAAA,CACC,SAAAL,wBAACD,IAAU,CACb,CAAA,CAAA,CACF,2BACCO,EAAAA,IACC,CAAA,SAAA,CAACN,EAAA,kBAAA,IAAAd,EAAA,CAAS,UAAU,sDACjB,SACHD,EAAA,EACCe,EAAA,kBAAA,IAAA,IAAA,CAAE,UAAU,6CACV,SACHb,EAAA,EACCG,GACCU,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,oDACV,SACHV,CAAA,CAAA,CAAA,CAEJ,CAAA,CAAA,CAAA,CACF,CAEJ"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function g(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function j(t,i){const r=["__proto__","constructor","prototype"];Object.keys(i).filter(e=>r.indexOf(e)<0).forEach(e=>{typeof t[e]>"u"?t[e]=i[e]:g(i[e])&&g(t[e])&&Object.keys(i[e]).length>0?i[e].__swiper__?t[e]=i[e]:j(t[e],i[e]):t[e]=i[e]})}function z(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function B(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function I(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function L(t){t===void 0&&(t="");const i=t.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];return i.forEach(e=>{r.indexOf(e)<0&&r.push(e)}),r.join(" ")}function N(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function A(t){let{swiper:i,slides:r,passedParams:e,changedParams:o,nextEl:s,prevEl:a,scrollbarEl:d,paginationEl:c}=t;const h=o.filter(n=>n!=="children"&&n!=="direction"&&n!=="wrapperClass"),{params:l,pagination:p,navigation:f,scrollbar:v,virtual:u,thumbs:E}=i;let S,_,P,C,x,m,O,b;o.includes("thumbs")&&e.thumbs&&e.thumbs.swiper&&!e.thumbs.swiper.destroyed&&l.thumbs&&(!l.thumbs.swiper||l.thumbs.swiper.destroyed)&&(S=!0),o.includes("controller")&&e.controller&&e.controller.control&&l.controller&&!l.controller.control&&(_=!0),o.includes("pagination")&&e.pagination&&(e.pagination.el||c)&&(l.pagination||l.pagination===!1)&&p&&!p.el&&(P=!0),o.includes("scrollbar")&&e.scrollbar&&(e.scrollbar.el||d)&&(l.scrollbar||l.scrollbar===!1)&&v&&!v.el&&(C=!0),o.includes("navigation")&&e.navigation&&(e.navigation.prevEl||a)&&(e.navigation.nextEl||s)&&(l.navigation||l.navigation===!1)&&f&&!f.prevEl&&!f.nextEl&&(x=!0);const T=n=>{i[n]&&(i[n].destroy(),n==="navigation"?(i.isElement&&(i[n].prevEl.remove(),i[n].nextEl.remove()),l[n].prevEl=void 0,l[n].nextEl=void 0,i[n].prevEl=void 0,i[n].nextEl=void 0):(i.isElement&&i[n].el.remove(),l[n].el=void 0,i[n].el=void 0))};o.includes("loop")&&i.isElement&&(l.loop&&!e.loop?m=!0:!l.loop&&e.loop?O=!0:b=!0),h.forEach(n=>{if(g(l[n])&&g(e[n]))Object.assign(l[n],e[n]),(n==="navigation"||n==="pagination"||n==="scrollbar")&&"enabled"in e[n]&&!e[n].enabled&&T(n);else{const w=e[n];(w===!0||w===!1)&&(n==="navigation"||n==="pagination"||n==="scrollbar")?w===!1&&T(n):l[n]=e[n]}}),h.includes("controller")&&!_&&i.controller&&i.controller.control&&l.controller&&l.controller.control&&(i.controller.control=l.controller.control),o.includes("children")&&r&&u&&l.virtual.enabled?(u.slides=r,u.update(!0)):o.includes("virtual")&&u&&l.virtual.enabled&&(r&&(u.slides=r),u.update(!0)),o.includes("children")&&r&&l.loop&&(b=!0),S&&E.init()&&E.update(!0),_&&(i.controller.control=l.controller.control),P&&(i.isElement&&(!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-pagination"),c.part.add("pagination"),i.el.appendChild(c)),c&&(l.pagination.el=c),p.init(),p.render(),p.update()),C&&(i.isElement&&(!d||typeof d=="string")&&(d=document.createElement("div"),d.classList.add("swiper-scrollbar"),d.part.add("scrollbar"),i.el.appendChild(d)),d&&(l.scrollbar.el=d),v.init(),v.updateSize(),v.setTranslate()),x&&(i.isElement&&((!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=i.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),i.el.appendChild(s)),(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=i.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),i.el.appendChild(a))),s&&(l.navigation.nextEl=s),a&&(l.navigation.prevEl=a),f.init(),f.update()),o.includes("allowSlideNext")&&(i.allowSlideNext=e.allowSlideNext),o.includes("allowSlidePrev")&&(i.allowSlidePrev=e.allowSlidePrev),o.includes("direction")&&i.changeDirection(e.direction,!1),(m||b)&&i.loopDestroy(),(O||b)&&i.loopCreate(),i.update()}exports.a=B;exports.b=I;exports.d=L;exports.e=j;exports.i=g;exports.n=z;exports.p=M;exports.u=A;exports.w=N;
2
+ //# sourceMappingURL=index.cjs420.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs420.js","sources":["../node_modules/swiper/shared/update-swiper.mjs"],"sourcesContent":["/* underscore in name -> watch for changes */\nconst paramsList = ['eventsPrefix', 'injectStyles', 'injectStylesUrls', 'modules', 'init', '_direction', 'oneWayMovement', 'swiperElementNodeName', 'touchEventsTarget', 'initialSlide', '_speed', 'cssMode', 'updateOnWindowResize', 'resizeObserver', 'nested', 'focusableElements', '_enabled', '_width', '_height', 'preventInteractionOnTransition', 'userAgent', 'url', '_edgeSwipeDetection', '_edgeSwipeThreshold', '_freeMode', '_autoHeight', 'setWrapperSize', 'virtualTranslate', '_effect', 'breakpoints', 'breakpointsBase', '_spaceBetween', '_slidesPerView', 'maxBackfaceHiddenSlides', '_grid', '_slidesPerGroup', '_slidesPerGroupSkip', '_slidesPerGroupAuto', '_centeredSlides', '_centeredSlidesBounds', '_slidesOffsetBefore', '_slidesOffsetAfter', 'normalizeSlideIndex', '_centerInsufficientSlides', '_watchOverflow', 'roundLengths', 'touchRatio', 'touchAngle', 'simulateTouch', '_shortSwipes', '_longSwipes', 'longSwipesRatio', 'longSwipesMs', '_followFinger', 'allowTouchMove', '_threshold', 'touchMoveStopPropagation', 'touchStartPreventDefault', 'touchStartForcePreventDefault', 'touchReleaseOnEdges', 'uniqueNavElements', '_resistance', '_resistanceRatio', '_watchSlidesProgress', '_grabCursor', 'preventClicks', 'preventClicksPropagation', '_slideToClickedSlide', '_loop', 'loopAdditionalSlides', 'loopAddBlankSlides', 'loopPreventsSliding', '_rewind', '_allowSlidePrev', '_allowSlideNext', '_swipeHandler', '_noSwiping', 'noSwipingClass', 'noSwipingSelector', 'passiveListeners', 'containerModifierClass', 'slideClass', 'slideActiveClass', 'slideVisibleClass', 'slideFullyVisibleClass', 'slideNextClass', 'slidePrevClass', 'slideBlankClass', 'wrapperClass', 'lazyPreloaderClass', 'lazyPreloadPrevNext', 'runCallbacksOnInit', 'observer', 'observeParents', 'observeSlideChildren',\n// modules\n'a11y', '_autoplay', '_controller', 'coverflowEffect', 'cubeEffect', 'fadeEffect', 'flipEffect', 'creativeEffect', 'cardsEffect', 'hashNavigation', 'history', 'keyboard', 'mousewheel', '_navigation', '_pagination', 'parallax', '_scrollbar', '_thumbs', 'virtual', 'zoom', 'control'];\n\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object' && !o.__swiper__;\n}\nfunction extend(target, src) {\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n if (src[key].__swiper__) target[key] = src[key];else extend(target[key], src[key]);\n } else {\n target[key] = src[key];\n }\n });\n}\nfunction needsNavigation(params) {\n if (params === void 0) {\n params = {};\n }\n return params.navigation && typeof params.navigation.nextEl === 'undefined' && typeof params.navigation.prevEl === 'undefined';\n}\nfunction needsPagination(params) {\n if (params === void 0) {\n params = {};\n }\n return params.pagination && typeof params.pagination.el === 'undefined';\n}\nfunction needsScrollbar(params) {\n if (params === void 0) {\n params = {};\n }\n return params.scrollbar && typeof params.scrollbar.el === 'undefined';\n}\nfunction uniqueClasses(classNames) {\n if (classNames === void 0) {\n classNames = '';\n }\n const classes = classNames.split(' ').map(c => c.trim()).filter(c => !!c);\n const unique = [];\n classes.forEach(c => {\n if (unique.indexOf(c) < 0) unique.push(c);\n });\n return unique.join(' ');\n}\nfunction attrToProp(attrName) {\n if (attrName === void 0) {\n attrName = '';\n }\n return attrName.replace(/-[a-z]/g, l => l.toUpperCase().replace('-', ''));\n}\nfunction wrapperClass(className) {\n if (className === void 0) {\n className = '';\n }\n if (!className) return 'swiper-wrapper';\n if (!className.includes('swiper-wrapper')) return `swiper-wrapper ${className}`;\n return className;\n}\n\nfunction updateSwiper(_ref) {\n let {\n swiper,\n slides,\n passedParams,\n changedParams,\n nextEl,\n prevEl,\n scrollbarEl,\n paginationEl\n } = _ref;\n const updateParams = changedParams.filter(key => key !== 'children' && key !== 'direction' && key !== 'wrapperClass');\n const {\n params: currentParams,\n pagination,\n navigation,\n scrollbar,\n virtual,\n thumbs\n } = swiper;\n let needThumbsInit;\n let needControllerInit;\n let needPaginationInit;\n let needScrollbarInit;\n let needNavigationInit;\n let loopNeedDestroy;\n let loopNeedEnable;\n let loopNeedReloop;\n if (changedParams.includes('thumbs') && passedParams.thumbs && passedParams.thumbs.swiper && !passedParams.thumbs.swiper.destroyed && currentParams.thumbs && (!currentParams.thumbs.swiper || currentParams.thumbs.swiper.destroyed)) {\n needThumbsInit = true;\n }\n if (changedParams.includes('controller') && passedParams.controller && passedParams.controller.control && currentParams.controller && !currentParams.controller.control) {\n needControllerInit = true;\n }\n if (changedParams.includes('pagination') && passedParams.pagination && (passedParams.pagination.el || paginationEl) && (currentParams.pagination || currentParams.pagination === false) && pagination && !pagination.el) {\n needPaginationInit = true;\n }\n if (changedParams.includes('scrollbar') && passedParams.scrollbar && (passedParams.scrollbar.el || scrollbarEl) && (currentParams.scrollbar || currentParams.scrollbar === false) && scrollbar && !scrollbar.el) {\n needScrollbarInit = true;\n }\n if (changedParams.includes('navigation') && passedParams.navigation && (passedParams.navigation.prevEl || prevEl) && (passedParams.navigation.nextEl || nextEl) && (currentParams.navigation || currentParams.navigation === false) && navigation && !navigation.prevEl && !navigation.nextEl) {\n needNavigationInit = true;\n }\n const destroyModule = mod => {\n if (!swiper[mod]) return;\n swiper[mod].destroy();\n if (mod === 'navigation') {\n if (swiper.isElement) {\n swiper[mod].prevEl.remove();\n swiper[mod].nextEl.remove();\n }\n currentParams[mod].prevEl = undefined;\n currentParams[mod].nextEl = undefined;\n swiper[mod].prevEl = undefined;\n swiper[mod].nextEl = undefined;\n } else {\n if (swiper.isElement) {\n swiper[mod].el.remove();\n }\n currentParams[mod].el = undefined;\n swiper[mod].el = undefined;\n }\n };\n if (changedParams.includes('loop') && swiper.isElement) {\n if (currentParams.loop && !passedParams.loop) {\n loopNeedDestroy = true;\n } else if (!currentParams.loop && passedParams.loop) {\n loopNeedEnable = true;\n } else {\n loopNeedReloop = true;\n }\n }\n updateParams.forEach(key => {\n if (isObject(currentParams[key]) && isObject(passedParams[key])) {\n Object.assign(currentParams[key], passedParams[key]);\n if ((key === 'navigation' || key === 'pagination' || key === 'scrollbar') && 'enabled' in passedParams[key] && !passedParams[key].enabled) {\n destroyModule(key);\n }\n } else {\n const newValue = passedParams[key];\n if ((newValue === true || newValue === false) && (key === 'navigation' || key === 'pagination' || key === 'scrollbar')) {\n if (newValue === false) {\n destroyModule(key);\n }\n } else {\n currentParams[key] = passedParams[key];\n }\n }\n });\n if (updateParams.includes('controller') && !needControllerInit && swiper.controller && swiper.controller.control && currentParams.controller && currentParams.controller.control) {\n swiper.controller.control = currentParams.controller.control;\n }\n if (changedParams.includes('children') && slides && virtual && currentParams.virtual.enabled) {\n virtual.slides = slides;\n virtual.update(true);\n } else if (changedParams.includes('virtual') && virtual && currentParams.virtual.enabled) {\n if (slides) virtual.slides = slides;\n virtual.update(true);\n }\n if (changedParams.includes('children') && slides && currentParams.loop) {\n loopNeedReloop = true;\n }\n if (needThumbsInit) {\n const initialized = thumbs.init();\n if (initialized) thumbs.update(true);\n }\n if (needControllerInit) {\n swiper.controller.control = currentParams.controller.control;\n }\n if (needPaginationInit) {\n if (swiper.isElement && (!paginationEl || typeof paginationEl === 'string')) {\n paginationEl = document.createElement('div');\n paginationEl.classList.add('swiper-pagination');\n paginationEl.part.add('pagination');\n swiper.el.appendChild(paginationEl);\n }\n if (paginationEl) currentParams.pagination.el = paginationEl;\n pagination.init();\n pagination.render();\n pagination.update();\n }\n if (needScrollbarInit) {\n if (swiper.isElement && (!scrollbarEl || typeof scrollbarEl === 'string')) {\n scrollbarEl = document.createElement('div');\n scrollbarEl.classList.add('swiper-scrollbar');\n scrollbarEl.part.add('scrollbar');\n swiper.el.appendChild(scrollbarEl);\n }\n if (scrollbarEl) currentParams.scrollbar.el = scrollbarEl;\n scrollbar.init();\n scrollbar.updateSize();\n scrollbar.setTranslate();\n }\n if (needNavigationInit) {\n if (swiper.isElement) {\n if (!nextEl || typeof nextEl === 'string') {\n nextEl = document.createElement('div');\n nextEl.classList.add('swiper-button-next');\n nextEl.innerHTML = swiper.hostEl.constructor.nextButtonSvg;\n nextEl.part.add('button-next');\n swiper.el.appendChild(nextEl);\n }\n if (!prevEl || typeof prevEl === 'string') {\n prevEl = document.createElement('div');\n prevEl.classList.add('swiper-button-prev');\n prevEl.innerHTML = swiper.hostEl.constructor.prevButtonSvg;\n prevEl.part.add('button-prev');\n swiper.el.appendChild(prevEl);\n }\n }\n if (nextEl) currentParams.navigation.nextEl = nextEl;\n if (prevEl) currentParams.navigation.prevEl = prevEl;\n navigation.init();\n navigation.update();\n }\n if (changedParams.includes('allowSlideNext')) {\n swiper.allowSlideNext = passedParams.allowSlideNext;\n }\n if (changedParams.includes('allowSlidePrev')) {\n swiper.allowSlidePrev = passedParams.allowSlidePrev;\n }\n if (changedParams.includes('direction')) {\n swiper.changeDirection(passedParams.direction, false);\n }\n if (loopNeedDestroy || loopNeedReloop) {\n swiper.loopDestroy();\n }\n if (loopNeedEnable || loopNeedReloop) {\n swiper.loopCreate();\n }\n swiper.update();\n}\n\nexport { needsPagination as a, needsScrollbar as b, attrToProp as c, uniqueClasses as d, extend as e, isObject as i, needsNavigation as n, paramsList as p, updateSwiper as u, wrapperClass as w };\n"],"names":["paramsList","isObject","o","extend","target","src","noExtend","key","needsNavigation","params","needsPagination","needsScrollbar","uniqueClasses","classNames","classes","c","unique","wrapperClass","className","updateSwiper","_ref","swiper","slides","passedParams","changedParams","nextEl","prevEl","scrollbarEl","paginationEl","updateParams","currentParams","pagination","navigation","scrollbar","virtual","thumbs","needThumbsInit","needControllerInit","needPaginationInit","needScrollbarInit","needNavigationInit","loopNeedDestroy","loopNeedEnable","loopNeedReloop","destroyModule","mod","newValue"],"mappings":"gFACK,MAACA,EAAa,CAAC,eAAgB,eAAgB,mBAAoB,UAAW,OAAQ,aAAc,iBAAkB,wBAAyB,oBAAqB,eAAgB,SAAU,UAAW,uBAAwB,iBAAkB,SAAU,oBAAqB,WAAY,SAAU,UAAW,iCAAkC,YAAa,MAAO,sBAAuB,sBAAuB,YAAa,cAAe,iBAAkB,mBAAoB,UAAW,cAAe,kBAAmB,gBAAiB,iBAAkB,0BAA2B,QAAS,kBAAmB,sBAAuB,sBAAuB,kBAAmB,wBAAyB,sBAAuB,qBAAsB,sBAAuB,4BAA6B,iBAAkB,eAAgB,aAAc,aAAc,gBAAiB,eAAgB,cAAe,kBAAmB,eAAgB,gBAAiB,iBAAkB,aAAc,2BAA4B,2BAA4B,gCAAiC,sBAAuB,oBAAqB,cAAe,mBAAoB,uBAAwB,cAAe,gBAAiB,2BAA4B,uBAAwB,QAAS,uBAAwB,qBAAsB,sBAAuB,UAAW,kBAAmB,kBAAmB,gBAAiB,aAAc,iBAAkB,oBAAqB,mBAAoB,yBAA0B,aAAc,mBAAoB,oBAAqB,yBAA0B,iBAAkB,iBAAkB,kBAAmB,eAAgB,qBAAsB,sBAAuB,qBAAsB,WA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GAAG,YAAYM,CAAW,GAE/BA,IAAaG,EAAc,UAAU,GAAKH,GAC9CM,EAAU,KAAM,EAChBA,EAAU,WAAY,EACtBA,EAAU,aAAc,GAEtBO,IACEnB,EAAO,aACL,CAACI,GAAU,OAAOA,GAAW,YAC/BA,EAAS,SAAS,cAAc,KAAK,EACrCA,EAAO,UAAU,IAAI,oBAAoB,EACzCA,EAAO,UAAYJ,EAAO,OAAO,YAAY,cAC7CI,EAAO,KAAK,IAAI,aAAa,EAC7BJ,EAAO,GAAG,YAAYI,CAAM,IAE1B,CAACC,GAAU,OAAOA,GAAW,YAC/BA,EAAS,SAAS,cAAc,KAAK,EACrCA,EAAO,UAAU,IAAI,oBAAoB,EACzCA,EAAO,UAAYL,EAAO,OAAO,YAAY,cAC7CK,EAAO,KAAK,IAAI,aAAa,EAC7BL,EAAO,GAAG,YAAYK,CAAM,IAG5BD,IAAQK,EAAc,WAAW,OAASL,GAC1CC,IAAQI,EAAc,WAAW,OAASJ,GAC9CM,EAAW,KAAM,EACjBA,EAAW,OAAQ,GAEjBR,EAAc,SAAS,gBAAgB,IACzCH,EAAO,eAAiBE,EAAa,gBAEnCC,EAAc,SAAS,gBAAgB,IACzCH,EAAO,eAAiBE,EAAa,gBAEnCC,EAAc,SAAS,WAAW,GACpCH,EAAO,gBAAgBE,EAAa,UAAW,EAAK,GAElDkB,GAAmBE,IACrBtB,EAAO,YAAa,GAElBqB,GAAkBC,IACpBtB,EAAO,WAAY,EAErBA,EAAO,OAAQ,CACjB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
1
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
2
- //# sourceMappingURL=index.cjs386.js.map
2
+ //# sourceMappingURL=index.cjs421.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs386.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs421.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,WAAS,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,EAAE,CAC5E","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),v=require("./index.cjs379.js"),I=require("./index.cjs378.js"),M=require("./index.cjs401.js"),f=require("./index.cjs207.js");function _(s){const u=s+"CollectionProvider",[E,A]=v.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:e,children:l}=c,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:l})};p.displayName=u;const a=s+"CollectionSlot",T=M.createSlot(a),C=r.forwardRef((c,e)=>{const{scope:l,children:t}=c,o=d(a,l),n=I.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(T,{ref:n,children:t})});C.displayName=a;const m=s+"CollectionItemSlot",x="data-radix-collection-item",j=M.createSlot(m),R=r.forwardRef((c,e)=>{const{scope:l,children:t,...o}=c,n=r.useRef(null),S=I.useComposedRefs(e,n),i=d(m,l);return r.useEffect(()=>(i.itemMap.set(n,{ref:n,...o}),()=>void i.itemMap.delete(n))),f.jsxRuntimeExports.jsx(j,{[x]:"",ref:S,children:t})});R.displayName=m;function y(c){const e=d(s+"CollectionConsumer",c);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,O)=>o.indexOf(i.ref.current)-o.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:p,Slot:C,ItemSlot:R},y,A]}exports.createCollection=_;
2
+ //# sourceMappingURL=index.cjs422.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs422.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":"qOAQA,SAASA,EAAiBC,EAAM,CAC9B,MAAMC,EAAgBD,EAAO,qBACvB,CAACE,EAAyBC,CAAqB,EAAIC,EAAAA,mBAAmBH,CAAa,EACnF,CAACI,EAAwBC,CAAoB,EAAIJ,EACrDD,EACA,CAAE,cAAe,CAAE,QAAS,IAAI,EAAI,QAAyB,IAAI,GAAK,CACvE,EACKM,EAAsBC,GAAU,CACpC,KAAM,CAAE,MAAAC,EAAO,SAAAC,CAAQ,EAAKF,EACtBG,EAAMC,EAAM,OAAO,IAAI,EACvBC,EAAUD,EAAM,OAAuB,IAAI,GAAK,EAAE,QACxD,OAAuB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AgB,MAAO,CAAE,EAC9B,MAAMC,EAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC,EAKtF,OAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB,KACzB,CAACW,EAAGC,IAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,EAAID,EAAa,QAAQE,EAAE,IAAI,OAAO,CACnF,CAEF,EAAE,CAACZ,EAAQ,cAAeA,EAAQ,OAAO,CAAC,CAE/C,CACE,MAAO,CACL,CAAE,SAAUb,EAAoB,KAAMW,EAAgB,SAAUQ,CAAoB,EACpFE,EACAzB,CACD,CACH","x_google_ignoreList":[0]}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("./index.cjs207.js");function i(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=i(c);var u=o.createContext(void 0);function a(e){const t=o.useContext(u);return e||t||"ltr"}exports.useDirection=a;
2
+ //# sourceMappingURL=index.cjs423.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs423.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":"gaAGA,IAAIA,EAAmBC,EAAM,cAAc,MAAM,EAKjD,SAASC,EAAaC,EAAU,CAC9B,MAAMC,EAAYH,EAAM,WAAWD,CAAgB,EACnD,OAAOG,GAAYC,GAAa,KAClC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs405.js"),ye=require("./index.cjs406.js"),Z=require("./index.cjs380.js"),Ae=require("./index.cjs381.js"),G=require("./index.cjs383.js"),ve=require("./index.cjs386.js"),L=require("./index.cjs399.js"),Ce=require("./index.cjs407.js"),u=require("./index.cjs207.js"),be=require("./index.cjs408.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
- //# sourceMappingURL=index.cjs393.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe=require("react"),l=require("./index.cjs433.js"),ye=require("./index.cjs434.js"),Z=require("./index.cjs378.js"),Ae=require("./index.cjs379.js"),G=require("./index.cjs381.js"),ve=require("./index.cjs421.js"),L=require("./index.cjs426.js"),Ce=require("./index.cjs389.js"),u=require("./index.cjs207.js"),be=require("./index.cjs435.js");function Re(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Re(Pe);var _="Popper",[J,Oe]=Ae.createContextScope(_),[Se,K]=J(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return u.jsxRuntimeExports.jsx(Se,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var Q="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=K(Q,t),i=s.useRef(null),w=Z.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:u.jsxRuntimeExports.jsx(G.Primitive.div,{...a,ref:w})});N.displayName=Q;var q="PopperContent",[je,Ee]=J(q),H=s.forwardRef((e,o)=>{var T,X,k,F,z,B;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:x="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:f,...d}=e,C=K(q,t),[m,b]=s.useState(null),te=Z.useComposedRefs(o,y=>b(y)),[E,re]=s.useState(null),h=Ce.useSize(E),oe=(h==null?void 0:h.width)??0,M=(h==null?void 0:h.height)??0,ne=r+(n!=="center"?"-"+n:""),ie=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],ae=W.length>0,R={padding:ie,boundary:W.filter($e),altBoundary:ae},{refs:se,floatingStyles:I,placement:ce,isPositioned:O,middlewareData:g}=l.useFloating({strategy:"fixed",placement:ne,whileElementsMounted:(...y)=>be.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[l.offset({mainAxis:a+M,alignmentAxis:i}),c&&l.shift({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?l.limitShift():void 0,...R}),c&&l.flip({...R}),l.size({...R,apply:({elements:y,rects:U,availableWidth:me,availableHeight:he})=>{const{width:ge,height:we}=U.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${me}px`),j.setProperty("--radix-popper-available-height",`${he}px`),j.setProperty("--radix-popper-anchor-width",`${ge}px`),j.setProperty("--radix-popper-anchor-height",`${we}px`)}}),E&&l.arrow({element:E,padding:w}),Ne({arrowWidth:oe,arrowHeight:M}),A&&l.hide({strategy:"referenceHidden",...R})]}),[Y,pe]=ee(ce),S=ve.useCallbackRef(f);L.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const de=(T=g.arrow)==null?void 0:T.x,le=(X=g.arrow)==null?void 0:X.y,fe=((k=g.arrow)==null?void 0:k.centerOffset)!==0,[ue,xe]=s.useState();return L.useLayoutEffect(()=>{m&&xe(window.getComputedStyle(m).zIndex)},[m]),u.jsxRuntimeExports.jsx("div",{ref:se.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(F=g.transformOrigin)==null?void 0:F.x,(z=g.transformOrigin)==null?void 0:z.y].join(" "),...((B=g.hide)==null?void 0:B.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:u.jsxRuntimeExports.jsx(je,{scope:t,placedSide:Y,onArrowChange:re,arrowX:de,arrowY:le,shouldHideArrow:fe,children:u.jsxRuntimeExports.jsx(G.Primitive.div,{"data-side":Y,"data-align":pe,...d,ref:te,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var V="PopperArrow",_e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=Ee(V,r),i=_e[n.placedSide];return u.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:u.jsxRuntimeExports.jsx(ye.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=V;function $e(e){return e!==null}var Ne=e=>({name:"transformOrigin",options:e,fn(o){var C,m,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=ee(t),x={start:"0%",center:"50%",end:"100%"}[P],A=(((m=a.arrow)==null?void 0:m.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let f="",d="";return p==="bottom"?(f=i?x:`${A}px`,d=`${-c}px`):p==="top"?(f=i?x:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(f=`${-c}px`,d=i?x:`${v}px`):p==="left"&&(f=`${r.floating.width+c}px`,d=i?x:`${v}px`),{data:{x:f,y:d}}}});function ee(e){const[o,t="center"]=e.split("-");return[o,t]}var qe=$,He=N,De=H,Me=D;exports.Anchor=He;exports.Arrow=Me;exports.Content=De;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=qe;exports.createPopperScope=Oe;
2
+ //# sourceMappingURL=index.cjs424.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs393.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,OAAuBC,EAAG,kBAAA,IAACT,GAAgB,CAAE,MAAOI,EAAe,OAAAE,EAAQ,eAAgBC,EAAW,SAAAF,EAAU,CAClH,EACAH,EAA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,QAAf,YAAA0B,EAAsB,gBAAiB,EAE3DtC,EAAa0D,EAAgB,EAAIF,EAAQ,WACzCvD,EAAcyD,EAAgB,EAAIF,EAAQ,YAC1C,CAACzB,EAAYC,CAAW,EAAIC,GAA6BvB,CAAS,EAClEiD,EAAe,CAAE,MAAO,KAAM,OAAQ,MAAO,IAAK,MAAQ,EAAC3B,CAAW,EACtE4B,KAAgBpB,EAAA5B,EAAe,QAAf,YAAA4B,EAAsB,IAAK,GAAKxC,EAAa,EAC7D6D,KAAgBnB,EAAA9B,EAAe,QAAf,YAAA8B,EAAsB,IAAK,GAAKzC,EAAc,EACpE,IAAI6D,EAAI,GACJC,EAAI,GACR,OAAIhC,IAAe,UACjB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAG,CAAC9D,CAAW,MACV8B,IAAe,OACxB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAGzC,EAAM,SAAS,OAASrB,CAAW,MACjC8B,IAAe,SACxB+B,EAAI,GAAG,CAAC7D,CAAW,KACnB8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MACzC9B,IAAe,SACxB+B,EAAI,GAAGxC,EAAM,SAAS,MAAQrB,CAAW,KACzC8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MAE7C,CAAE,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAC,CAAI,CAC7B,CACA,GACA,SAAS9B,GAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ1G,EACR2G,GAASlG,EACTmG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs424.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"ksBAyBA,IAAIA,EAAc,SACd,CAACC,EAAqBC,EAAiB,EAAIC,GAAAA,mBAAmBH,CAAW,EACzE,CAACI,GAAgBC,CAAgB,EAAIJ,EAAoBD,CAAW,EACpEM,EAAUC,GAAU,CACtB,KAAM,CAAE,cAAAC,EAAe,SAAAC,CAAQ,EAAKF,EAC9B,CAACG,EAAQC,CAAS,EAAIC,EAAM,SAAS,IAAI,EAC/C,OAAuBC,EAAG,kBAAA,IAACT,GAAgB,CAAE,MAAOI,EAAe,OAAAE,EAAQ,eAAgBC,EAAW,SAAAF,EAAU,CAClH,EACAH,EAAO,YAAcN,EACrB,IAAIc,EAAc,eACdC,EAAeH,EAAM,WACvB,CAACL,EAAOS,IAAiB,CACvB,KAAM,CAAE,cAAAR,EAAe,WAAAS,EAAY,GAAGC,CAAa,EAAGX,EAChDY,EAAUd,EAAiBS,EAAaN,CAAa,EACrDY,EAAMR,EAAM,OAAO,IAAI,EACvBS,EAAeC,EAA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,CAAW,EACtE4B,KAAgBpB,EAAA5B,EAAe,QAAf,YAAA4B,EAAsB,IAAK,GAAKxC,EAAa,EAC7D6D,KAAgBnB,EAAA9B,EAAe,QAAf,YAAA8B,EAAsB,IAAK,GAAKzC,EAAc,EACpE,IAAI6D,EAAI,GACJC,EAAI,GACR,OAAIhC,IAAe,UACjB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAG,CAAC9D,CAAW,MACV8B,IAAe,OACxB+B,EAAIJ,EAAgBC,EAAe,GAAGC,CAAY,KAClDG,EAAI,GAAGzC,EAAM,SAAS,OAASrB,CAAW,MACjC8B,IAAe,SACxB+B,EAAI,GAAG,CAAC7D,CAAW,KACnB8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MACzC9B,IAAe,SACxB+B,EAAI,GAAGxC,EAAM,SAAS,MAAQrB,CAAW,KACzC8D,EAAIL,EAAgBC,EAAe,GAAGE,CAAY,MAE7C,CAAE,KAAM,CAAE,EAAAC,EAAG,EAAAC,CAAC,CAAI,CAC7B,CACA,GACA,SAAS9B,GAA6BvB,EAAW,CAC/C,KAAM,CAAC9B,EAAME,EAAQ,QAAQ,EAAI4B,EAAU,MAAM,GAAG,EACpD,MAAO,CAAC9B,EAAME,CAAK,CACrB,CACG,IAACkF,GAAQ1G,EACR2G,GAASlG,EACTmG,GAAUvF,EACVwF,GAAQjB","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs377.js"),B=require("./index.cjs422.js"),Y=require("./index.cjs378.js"),z=require("./index.cjs379.js"),V=require("./index.cjs383.js"),D=require("./index.cjs381.js"),J=require("./index.cjs421.js"),Q=require("./index.cjs380.js"),W=require("./index.cjs423.js"),f=require("./index.cjs207.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var _="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[j,G,ee]=B.createCollection(g),[te,oe]=z.createContextScope(g,[ee]),[re,ne]=te(g),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=g;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:R=!1,dir:I,currentTabStopId:x,defaultCurrentTabStopId:F,onCurrentTabStopIdChange:p,onEntryFocus:u,preventScrollOnEntryFocus:E=!1,...S}=e,v=c.useRef(null),b=Y.useComposedRefs(o,v),n=W.useDirection(I),[l=null,w]=Q.useControllableState({prop:x,defaultProp:F,onChange:p}),[i,a]=c.useState(!1),T=J.useCallbackRef(u),M=G(r),C=c.useRef(!1),[K,O]=c.useState(0);return c.useEffect(()=>{const s=v.current;if(s)return s.addEventListener(_,T),()=>s.removeEventListener(_,T)},[T]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:n,loop:R,currentTabStopId:l,onItemFocus:c.useCallback(s=>w(s),[w]),onItemShiftTab:c.useCallback(()=>a(!0),[]),onFocusableItemAdd:c.useCallback(()=>O(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>O(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(D.Primitive.div,{tabIndex:i||K===0?-1:0,"data-orientation":t,...S,ref:b,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!C.current;if(s.target===s.currentTarget&&k&&!i){const P=new CustomEvent(_,Z);if(s.currentTarget.dispatchEvent(P),!P.defaultPrevented){const y=M().filter(d=>d.focusable),L=y.find(d=>d.active),U=y.find(d=>d.id===l),$=[L,U,...y].filter(Boolean).map(d=>d.ref.current);q($,E)}}C.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>a(!1))})})}),N="RovingFocusGroupItem",h=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:R=!1,tabStopId:I,...x}=e,F=V.useId(),p=I||F,u=ne(N,r),E=u.currentTabStopId===p,S=G(r),{onFocusableItemAdd:v,onFocusableItemRemove:b}=u;return c.useEffect(()=>{if(t)return v(),()=>b()},[t,v,b]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:R,children:f.jsxRuntimeExports.jsx(D.Primitive.span,{tabIndex:E?0:-1,"data-orientation":u.orientation,...x,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const l=ie(n,u.orientation,u.dir);if(l!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=S().filter(a=>a.focusable).map(a=>a.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const a=i.indexOf(n.currentTarget);i=u.loop?ae(i,a+1):i.slice(a+1)}setTimeout(()=>q(i))}})})})});h.displayName=N;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function q(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=h;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=h;exports.createRovingFocusGroupScope=oe;
2
2
  //# sourceMappingURL=index.cjs425.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs425.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs425.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAAE,QAAS,GAAO,WAAY,EAAM,EACpDC,EAAa,mBACb,CAACC,EAAYC,EAAeC,EAAqB,EAAIC,EAAAA,iBAAiBJ,CAAU,EAChF,CAACK,GAA+BC,EAA2B,EAAIC,EAAkB,mBACnFP,EACA,CAACG,EAAqB,CACxB,EACI,CAACK,GAAqBC,EAAqB,EAAIJ,GAA8BL,CAAU,EACvFU,EAAmBC,EAAM,WAC3B,CAACC,EAAOC,IACiBC,wBAAIb,EAAW,SAAU,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,wBAAIb,EAAW,KAAM,CAAE,MAAOW,EAAM,wBAAyB,SAA0BE,EAAAA,kBAAAA,IAAIC,GAAsB,CAAE,GAAGH,EAAO,IAAKC,EAAc,CAAC,CAAE,CAAC,CAAE,CAE5Q,EACAH,EAAiB,YAAcV,EAC/B,IAAIe,GAAuBJ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnE,KAAM,CACJ,wBAAAG,EACA,YAAAC,EACA,KAAAC,EAAO,GACP,IAAAC,EACA,iBAAkBC,EAClB,wBAAAC,EACA,yBAAAC,EACA,aAAAC,EACA,0BAAAC,EAA4B,GAC5B,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CACb,CACA,CACA,CACK,CACL,CACA,EACAG,EAAqB,YAAcD,EACnC,IAAIgB,GAA0B,CAC5B,UAAW,OACX,QAAS,OACT,WAAY,OACZ,UAAW,OACX,OAAQ,QACR,KAAM,QACN,SAAU,OACV,IAAK,MACP,EACA,SAASC,GAAqBC,EAAKvD,EAAK,CACtC,OAAIA,IAAQ,MAAcuD,EACnBA,IAAQ,YAAc,aAAeA,IAAQ,aAAe,YAAcA,CACnF,CACA,SAASL,GAAetB,EAAO9B,EAAaE,EAAK,CAC/C,MAAMuD,EAAMD,GAAqB1B,EAAM,IAAK5B,CAAG,EAC/C,GAAI,EAAAF,IAAgB,YAAc,CAAC,YAAa,YAAY,EAAE,SAASyD,CAAG,IACtE,EAAAzD,IAAgB,cAAgB,CAAC,UAAW,WAAW,EAAE,SAASyD,CAAG,GACzE,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASnB,EAAWoB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAOzE,EACP0E,GAAO3B","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs436.js");var r=e.createSidecarMedium();exports.effectCar=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function u(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const a=u(r);var n=globalThis!=null&&globalThis.document?a.useLayoutEffect:()=>{};exports.useLayoutEffect=n;
2
2
  //# sourceMappingURL=index.cjs426.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs426.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs426.js","sources":["../node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/use-layout-effect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = globalThis?.document ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAAmB,6BAAY,SAAWC,EAAM,gBAAkB,IAAM,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs441.js"),g=require("./index.cjs442.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs421.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
2
  //# sourceMappingURL=index.cjs427.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs427.js","sources":["../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":"icAGA,IAAIA,EAA4B,OAAO,OAAW,IAAcC,EAAM,gBAAkBA,EAAM,UAC1FC,EAAgB,IAAI,QAejB,SAASC,EAAaC,EAAMC,EAAc,CAC7C,IAAIC,EAAcC,EAAAA,eAA+B,KAAM,SAAUC,EAAU,CACvE,OAAOJ,EAAK,QAAQ,SAAUK,EAAK,CAAE,OAAOC,EAAAA,UAAUD,EAAKD,CAAQ,EAAI,CAC/E,CAAK,EAED,OAAAR,EAA0B,UAAY,CAClC,IAAIW,EAAWT,EAAc,IAAII,CAAW,EAC5C,GAAIK,EAAU,CACV,IAAIC,EAAa,IAAI,IAAID,CAAQ,EAC7BE,EAAa,IAAI,IAAIT,CAAI,EACzBU,EAAYR,EAAY,QAC5BM,EAAW,QAAQ,SAAUH,EAAK,CACzBI,EAAW,IAAIJ,CAAG,GACnBC,EAAS,UAACD,EAAK,IAAI,CAEvC,CAAa,EACDI,EAAW,QAAQ,SAAUJ,EAAK,CACzBG,EAAW,IAAIH,CAAG,GACnBC,EAAS,UAACD,EAAKK,CAAS,CAE5C,CAAa,CACb,CACQZ,EAAc,IAAII,EAAaF,CAAI,CAC3C,EAAO,CAACA,CAAI,CAAC,EACFE,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs427.js","sources":["../node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/use-escape-keydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,EAAc,eAACH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAExB,EACD,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,GAAM,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,GAAM,CAC9F,EAAK,CAACH,EAAiBD,CAAa,CAAC,CACrC","x_google_ignoreList":[0]}
@@ -1,5 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs410.js"),q=require("react"),j=require("./index.cjs437.js"),_=require("./index.cjs438.js"),d=require("./index.cjs439.js"),E=require("./index.cjs440.js");function p(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=p(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},A=function(e,a){return e[0]===a[0]&&e[1]===a[1]},x=function(e){return`
2
- .block-interactivity-`.concat(e,` {pointer-events: none;}
3
- .allow-interactivity-`).concat(e,` {pointer-events: all;}
4
- `)},I=0,v=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var k=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,P=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&P.type==="range")return!1;var C=E.locationCouldBeScrolled(m,P);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=E.locationCouldBeScrolled(m,P)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return E.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!v.length||v[v.length-1]!==S)){var s="deltaY"in r?R(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&A(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?k(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,R(t),t.target,k(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,k(t,e.lockRef.current))},[]);n.useEffect(function(){return v.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,d.nonPassive),document.addEventListener("touchmove",y,d.nonPassive),document.addEventListener("touchstart",T,d.nonPassive),function(){v=v.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,d.nonPassive),document.removeEventListener("touchmove",y,d.nonPassive),document.removeEventListener("touchstart",T,d.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:x(h)}):null,B?n.createElement(j.RemoveScrollBar,{gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=R;exports.getTouchXY=g;
1
+ "use strict";const e=require("./index.cjs439.js");e.__require();
5
2
  //# sourceMappingURL=index.cjs428.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs428.js","sources":["../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":"8h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QAAS3C,EAAM,QAAS,EAAI,IAAI,CACjG,CACA,SAASmC,EAAyBL,EAAM,CAEpC,QADIc,EAAe,KACZd,IAAS,MACRA,aAAgB,aAChBc,EAAed,EAAK,KACpBA,EAAOA,EAAK,MAEhBA,EAAOA,EAAK,WAEhB,OAAOc,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs428.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs410.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function o(e,n){e===void 0&&(e={}),n===void 0&&(n={});const u=["__proto__","constructor","prototype"];Object.keys(n).filter(t=>u.indexOf(t)<0).forEach(t=>{typeof e[t]>"u"?e[t]=n[t]:r(n[t])&&r(e[t])&&Object.keys(n[t]).length>0&&o(e[t],n[t])})}const i={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function c(){const e=typeof document<"u"?document:{};return o(e,i),e}const s={document:i,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function d(){const e=typeof window<"u"?window:{};return o(e,s),e}exports.a=d;exports.g=c;
2
2
  //# sourceMappingURL=index.cjs429.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs429.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":"kaAEA,IAAIA,EAAU,SAAUC,EAAI,CACxB,IAAIC,EAAUD,EAAG,QAASE,EAAOC,EAAAA,OAAOH,EAAI,CAAC,SAAS,CAAC,EACvD,GAAI,CAACC,EACD,MAAM,IAAI,MAAM,oEAAoE,EAExF,IAAIG,EAASH,EAAQ,KAAM,EAC3B,GAAI,CAACG,EACD,MAAM,IAAI,MAAM,0BAA0B,EAE9C,OAAOC,EAAM,cAAcD,EAAQE,EAAAA,SAAS,CAAA,EAAIJ,CAAI,CAAC,CACzD,EACAH,EAAQ,gBAAkB,GACnB,SAASQ,EAAcC,EAAQC,EAAU,CAC5C,OAAAD,EAAO,UAAUC,CAAQ,EAClBV,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs429.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"gFAYA,SAASA,EAASC,EAAK,CACrB,OAAOA,IAAQ,MAAQ,OAAOA,GAAQ,UAAY,gBAAiBA,GAAOA,EAAI,cAAgB,MAChG,CACA,SAASC,EAAOC,EAAQC,EAAK,CACvBD,IAAW,SACbA,EAAS,CAAE,GAETC,IAAQ,SACVA,EAAM,CAAE,GAEV,MAAMC,EAAW,CAAC,YAAa,cAAe,WAAW,EACzD,OAAO,KAAKD,CAAG,EAAE,OAAOE,GAAOD,EAAS,QAAQC,CAAG,EAAI,CAAC,EAAE,QAAQA,GAAO,CACnE,OAAOH,EAAOG,CAAG,EAAM,IAAaH,EAAOG,CAAG,EAAIF,EAAIE,CAAG,EAAWN,EAASI,EAAIE,CAAG,CAAC,GAAKN,EAASG,EAAOG,CAAG,CAAC,GAAK,OAAO,KAAKF,EAAIE,CAAG,CAAC,EAAE,OAAS,GACpJJ,EAAOC,EAAOG,CAAG,EAAGF,EAAIE,CAAG,CAAC,CAElC,CAAG,CACH,CACA,MAAMC,EAAc,CAClB,KAAM,CAAE,EACR,kBAAmB,CAAE,EACrB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,EACD,qBAAqBC,EAAI,CACnB,OAAO,WAAe,KAG1B,aAAaA,CAAE,CACnB,CACA,EACA,SAASC,GAAY,CACnB,MAAMC,EAAM,OAAO,OAAW,IAAc,OAAS,CAAE,EACvD,OAAAZ,EAAOY,EAAKJ,CAAS,EACdI,CACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs43.js","sources":["../src/components/ui/CardDoctorInfo/index.tsx"],"sourcesContent":["import { Avatar } from \"../Avatar\";\nimport { ColorKeys } from \"@/theme/colors\";\nimport \"./CardDoctorInfo.scss\";\nimport clsx from \"clsx\";\nimport { Divider } from \"@/components/ui/Divider\";\nimport { CategoryHeader, Col, Row } from \"@/components\";\nimport { useState } from \"react\";\n// import { OfficeResponse } from \"@/types/general-practitioner-service\";\nimport React from \"react\";\n\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\ntype Info = {\n label: string;\n value: string;\n};\n\ntype CardDoctorInfoProps = {\n titleTag?: HeadingLevel;\n doctorName: string;\n specialties?: string[];\n contactInfo?: Info[];\n avatar?: {\n initials: string;\n bg?: ColorKeys;\n textColor?: ColorKeys;\n };\n className?: string;\n // offices?: OfficeResponse[];\n officesInfo?: Info[][];\n officeLabel?: string;\n};\n\n// TODO: da finire\nexport const CardDoctorInfo = ({\n titleTag: TitleTag = \"h3\",\n doctorName,\n specialties,\n contactInfo,\n avatar,\n className,\n officesInfo = [],\n officeLabel = \"Ambulatorio\",\n}: CardDoctorInfoProps) => {\n const [openOffices, setOpenOffices] = useState<number[]>([]);\n\n const showContactInfo = () => {\n return contactInfo && contactInfo?.length > 0;\n };\n\n const toggleOffice = (index: number) => {\n if (openOffices.includes(index)) {\n setOpenOffices(openOffices.filter((i) => i !== index));\n } else {\n setOpenOffices([...openOffices, index]);\n }\n };\n\n return (\n <article\n className={clsx(\"bg-white shadow br-x4 ui-card-doctor-info\", className)}\n >\n <Row as={\"header\"} gap={\"x16\"}>\n {avatar && (\n <Avatar\n textColor={avatar?.textColor ?? \"slate-20\"}\n bg={avatar?.bg ?? \"lightblue-a01\"}\n initials={avatar?.initials ?? \"\"}\n className=\"ui-card-doctor-avatar\"\n size=\"3\"\n />\n )}\n\n <div>\n <TitleTag className=\"fs-5 fw-semibold text-slate-20\">\n {doctorName}\n </TitleTag>\n {specialties && specialties?.length > 0 && (\n <p className=\"fs-6 text-slate-20 fw-regular\">\n {specialties?.join(\" | \")}\n </p>\n )}\n </div>\n </Row>\n <div className=\"ui-card-doctor-content-info\">\n {showContactInfo() && (\n <dl className=\"ui-card-doctor-contact-info\">\n {contactInfo?.map((info) => (\n <div\n key={info.label}\n role=\"group\"\n className=\"ui-card-doctor-contact-detail-info\"\n >\n <dt className=\"fs-6 fw-bold text-slate-28\">{info.label}</dt>\n <dd className=\"fs-6 fw-regular text-slate-28\">{info.value}</dd>\n </div>\n ))}\n </dl>\n )}\n {officesInfo?.length > 0 && (\n <Divider\n bg=\"border-divider\"\n className=\"ui-card-doctor-divider-info mt-x24\"\n />\n )}\n\n <Col>\n {officesInfo?.length > 0 &&\n officesInfo?.map((office, index) => (\n <React.Fragment key={index}>\n <CategoryHeader\n title={`${officeLabel} ${index + 1}`}\n isOpen={openOffices.includes(index)}\n onToggle={() => toggleOffice(index)}\n hasBorder={!openOffices.includes(index)}\n className={\"pt-x24\"}\n />\n {openOffices.includes(index) && (\n <div className={clsx(\"ui-has-border-bottom\", \"pb-x24\")}>\n {office.length > 0 && (\n <dl className=\"ui-card-doctor-contact-info\">\n {office?.map((info) => (\n <div\n key={info.label}\n role=\"group\"\n className=\"ui-card-doctor-contact-detail-info\"\n >\n <dt className=\"fs-6 fw-bold text-slate-28\">\n {info.label}\n </dt>\n <dd className=\"fs-6 fw-regular text-slate-28\">\n {info.value}\n </dd>\n </div>\n ))}\n </dl>\n )}\n </div>\n )}\n </React.Fragment>\n ))}\n </Col>\n </div>\n </article>\n );\n};\n"],"names":["CardDoctorInfo","TitleTag","doctorName","specialties","contactInfo","avatar","className","officesInfo","officeLabel","openOffices","setOpenOffices","useState","showContactInfo","toggleOffice","index","i","jsxs","clsx","Row","jsx","Avatar","info","Divider","Col","office","React","CategoryHeader"],"mappings":"gWAiCaA,EAAiB,CAAC,CAC7B,SAAUC,EAAW,KACrB,WAAAC,EACA,YAAAC,EACA,YAAAC,EACA,OAAAC,EACA,UAAAC,EACA,YAAAC,EAAc,CAAC,EACf,YAAAC,EAAc,aAChB,IAA2B,CACzB,KAAM,CAACC,EAAaC,CAAc,EAAIC,EAAAA,SAAmB,CAAA,CAAE,EAErDC,EAAkB,IACfR,IAAeA,GAAA,YAAAA,EAAa,QAAS,EAGxCS,EAAgBC,GAAkB,CAClCL,EAAY,SAASK,CAAK,EAC5BJ,EAAeD,EAAY,OAAQM,GAAMA,IAAMD,CAAK,CAAC,EAErDJ,EAAe,CAAC,GAAGD,EAAaK,CAAK,CAAC,CAE1C,EAGE,OAAAE,EAAA,kBAAA,KAAC,UAAA,CACC,UAAWC,EAAAA,KAAK,4CAA6CX,CAAS,EAEtE,SAAA,CAAAU,EAAA,kBAAA,KAACE,EAAI,IAAA,CAAA,GAAI,SAAU,IAAK,MACrB,SAAA,CACCb,GAAAc,EAAA,kBAAA,IAACC,EAAA,OAAA,CACC,WAAWf,GAAA,YAAAA,EAAQ,YAAa,WAChC,IAAIA,GAAA,YAAAA,EAAQ,KAAM,gBAClB,UAAUA,GAAA,YAAAA,EAAQ,WAAY,GAC9B,UAAU,wBACV,KAAK,GAAA,CACP,2BAGD,MACC,CAAA,SAAA,CAACc,EAAA,kBAAA,IAAAlB,EAAA,CAAS,UAAU,iCACjB,SACHC,EAAA,EACCC,IAAeA,GAAA,YAAAA,EAAa,QAAS,GACpCgB,EAAA,kBAAA,IAAC,IAAE,CAAA,UAAU,gCACV,SAAAhB,GAAA,YAAAA,EAAa,KAAK,MACrB,CAAA,CAAA,CAEJ,CAAA,CAAA,EACF,EACAa,EAAAA,kBAAAA,KAAC,MAAI,CAAA,UAAU,8BACZ,SAAA,CAAg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A,CAAA,CA5BiB,EAAAP,CA8BrB,GAEN,CAAA,CAAA,CACF,CAAA,CAAA,CAAA,CACF,CAEJ"}
1
+ {"version":3,"file":"index.cjs43.js","sources":["../src/components/ui/CardDoctorInfo/index.tsx"],"sourcesContent":["import { Avatar } from \"../Avatar\";\r\nimport { ColorKeys } from \"@/theme/colors\";\r\nimport \"./CardDoctorInfo.scss\";\r\nimport clsx from \"clsx\";\r\nimport { Divider } from \"@/components/ui/Divider\";\r\nimport { CategoryHeader, Col, Row } from \"@/components\";\r\nimport { useState } from \"react\";\r\n// import { OfficeResponse } from \"@/types/general-practitioner-service\";\r\nimport React from \"react\";\r\n\r\ntype HeadingLevel = \"h2\" | \"h3\" | \"h4\";\r\ntype Info = {\r\n label: string;\r\n value: string;\r\n};\r\n\r\ntype CardDoctorInfoProps = {\r\n titleTag?: HeadingLevel;\r\n doctorName: string;\r\n specialties?: string[];\r\n contactInfo?: Info[];\r\n avatar?: {\r\n initials: string;\r\n bg?: ColorKeys;\r\n textColor?: ColorKeys;\r\n };\r\n className?: string;\r\n // offices?: OfficeResponse[];\r\n officesInfo?: Info[][];\r\n officeLabel?: string;\r\n};\r\n\r\n// TODO: da finire\r\nexport const CardDoctorInfo = ({\r\n titleTag: TitleTag = \"h3\",\r\n doctorName,\r\n specialties,\r\n contactInfo,\r\n avatar,\r\n className,\r\n officesInfo = [],\r\n officeLabel = \"Ambulatorio\",\r\n}: CardDoctorInfoProps) => {\r\n const [openOffices, setOpenOffices] = useState<number[]>([]);\r\n\r\n const showContactInfo = () => {\r\n return contactInfo && contactInfo?.length > 0;\r\n };\r\n\r\n const toggleOffice = (index: number) => {\r\n if (openOffices.includes(index)) {\r\n setOpenOffices(openOffices.filter((i) => i !== index));\r\n } else {\r\n setOpenOffices([...openOffices, index]);\r\n }\r\n };\r\n\r\n return (\r\n <article\r\n className={clsx(\"bg-white shadow br-x4 ui-card-doctor-info\", className)}\r\n >\r\n <Row as={\"header\"} gap={\"x16\"}>\r\n {avatar && (\r\n <Avatar\r\n textColor={avatar?.textColor ?? \"slate-20\"}\r\n bg={avatar?.bg ?? \"lightblue-a01\"}\r\n initials={avatar?.initials ?? \"\"}\r\n className=\"ui-card-doctor-avatar\"\r\n size=\"3\"\r\n />\r\n )}\r\n\r\n <div>\r\n <TitleTag className=\"fs-5 fw-semibold text-slate-20\">\r\n {doctorName}\r\n </TitleTag>\r\n {specialties && specialties?.length > 0 && (\r\n <p className=\"fs-6 text-slate-20 fw-regular\">\r\n {specialties?.join(\" | \")}\r\n </p>\r\n )}\r\n </div>\r\n </Row>\r\n <div className=\"ui-card-doctor-content-info\">\r\n {showContactInfo() && (\r\n <dl className=\"ui-card-doctor-contact-info\">\r\n {contactInfo?.map((info) => (\r\n <div\r\n key={info.label}\r\n role=\"group\"\r\n className=\"ui-card-doctor-contact-detail-info\"\r\n >\r\n <dt className=\"fs-6 fw-bold text-slate-28\">{info.label}</dt>\r\n <dd className=\"fs-6 fw-regular text-slate-28\">{info.value}</dd>\r\n </div>\r\n ))}\r\n </dl>\r\n )}\r\n {officesInfo?.length > 0 && (\r\n <Divider\r\n bg=\"border-divider\"\r\n className=\"ui-card-doctor-divider-info mt-x24\"\r\n />\r\n )}\r\n\r\n <Col>\r\n {officesInfo?.length > 0 &&\r\n officesInfo?.map((office, index) => (\r\n <React.Fragment key={index}>\r\n <CategoryHeader\r\n title={`${officeLabel} ${index + 1}`}\r\n isOpen={openOffices.includes(index)}\r\n onToggle={() => toggleOffice(index)}\r\n hasBorder={!openOffices.includes(index)}\r\n className={\"pt-x24\"}\r\n />\r\n {openOffices.includes(index) && (\r\n <div className={clsx(\"ui-has-border-bottom\", \"pb-x24\")}>\r\n {office.length > 0 && (\r\n <dl className=\"ui-card-doctor-contact-info\">\r\n {office?.map((info) => (\r\n <div\r\n key={info.label}\r\n role=\"group\"\r\n className=\"ui-card-doctor-contact-detail-info\"\r\n >\r\n <dt className=\"fs-6 fw-bold text-slate-28\">\r\n {info.label}\r\n </dt>\r\n <dd className=\"fs-6 fw-regular text-slate-28\">\r\n {info.value}\r\n </dd>\r\n </div>\r\n ))}\r\n </dl>\r\n )}\r\n </div>\r\n )}\r\n </React.Fragment>\r\n ))}\r\n </Col>\r\n </div>\r\n </article>\r\n );\r\n};\r\n"],"names":["CardDoctorInfo","TitleTag","doctorName","specialties","contactInfo","avatar","className","officesInfo","officeLabel","openOffices","setOpenOffices","useState","showContactInfo","toggleOffice","index","i","jsxs","clsx","Row","jsx","Avatar","info","Divider","Col","office","React","CategoryHeader"],"mappings":"gWAiCaA,EAAiB,CAAC,CAC7B,SAAUC,EAAW,KACrB,WAAAC,EACA,YAAAC,EACA,YAAAC,EACA,OAAAC,EACA,UAAAC,EACA,YAAAC,EAAc,CAAC,EACf,YAAAC,EAAc,aAChB,IAA2B,CACzB,KAAM,CAACC,EAAaC,CAAc,EAAIC,EAAAA,SAAmB,CAAA,CAAE,EAErDC,EAAkB,IACfR,IAAeA,GAAA,YAAAA,EAAa,QAAS,EAGxCS,EAAgBC,GAAkB,CAClCL,EAAY,SAASK,CAAK,EAC5BJ,EAAeD,EAAY,OAAQM,GAAMA,IAAMD,CAAK,CAAC,EAErDJ,EAAe,CAAC,GAAGD,EAAaK,CAAK,CAAC,CAE1C,EAGE,OAAAE,EAAA,kBAAA,KAAC,UAAA,CACC,UAAWC,EAAAA,KAAK,4CAA6CX,CAAS,EAEtE,SAAA,CAAAU,EAAA,kBAAA,KAACE,EAAI,IAAA,CAAA,GAAI,SAAU,IAAK,MACrB,SAAA,CACCb,GAAAc,EAAA,kBAAA,IAACC,EAAA,OAAA,CACC,WAAWf,GAAA,YAAAA,EAAQ,YAAa,WAChC,IAAIA,GAAA,YAAAA,EAAQ,KAAM,gBAClB,UAAUA,GAAA,YAAAA,EAAQ,WAAY,GAC9B,UAAU,wBACV,KAAK,GAAA,CACP,2BAGD,MACC,CAAA,SAAA,CAACc,EAAA,kBAAA,IAAAlB,EAAA,CAAS,UAAU,iCACjB,SACHC,EAAA,EACCC,IA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