@anoki/fse-ui 1.0.0-beta1.40 → 1.0.0-beta1.41

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 (422) hide show
  1. package/dist/components/ui/Tags/Tags.css +1 -1
  2. package/dist/index.cjs150.js +1 -1
  3. package/dist/index.cjs150.js.map +1 -1
  4. package/dist/index.cjs241.js +1 -1
  5. package/dist/index.cjs248.js +1 -1
  6. package/dist/index.cjs255.js +1 -1
  7. package/dist/index.cjs256.js +1 -1
  8. package/dist/index.cjs257.js +1 -1
  9. package/dist/index.cjs315.js +1 -1
  10. package/dist/index.cjs32.js +1 -1
  11. package/dist/index.cjs33.js +1 -1
  12. package/dist/index.cjs364.js +1 -1
  13. package/dist/index.cjs365.js +1 -1
  14. package/dist/index.cjs387.js +1 -1
  15. package/dist/index.cjs405.js +1 -1
  16. package/dist/index.cjs436.js +1 -1
  17. package/dist/index.cjs441.js +1 -1
  18. package/dist/index.cjs448.js +1 -27
  19. package/dist/index.cjs448.js.map +1 -1
  20. package/dist/index.cjs449.js +2 -1
  21. package/dist/index.cjs449.js.map +1 -1
  22. package/dist/index.cjs450.js +27 -1
  23. package/dist/index.cjs450.js.map +1 -1
  24. package/dist/index.cjs451.js +1 -1
  25. package/dist/index.cjs451.js.map +1 -1
  26. package/dist/index.cjs452.js +1 -2
  27. package/dist/index.cjs452.js.map +1 -1
  28. package/dist/index.cjs453.js +1 -1
  29. package/dist/index.cjs455.js +1 -1
  30. package/dist/index.cjs460.js +1 -1
  31. package/dist/index.cjs461.js +1 -1
  32. package/dist/index.cjs462.js +1 -1
  33. package/dist/index.cjs463.js +1 -1
  34. package/dist/index.cjs468.js +1 -1
  35. package/dist/index.cjs469.js +1 -1
  36. package/dist/index.cjs472.js +2 -0
  37. package/dist/index.cjs472.js.map +1 -0
  38. package/dist/{index.cjs488.js → index.cjs473.js} +2 -2
  39. package/dist/{index.cjs488.js.map → index.cjs473.js.map} +1 -1
  40. package/dist/{index.cjs487.js → index.cjs474.js} +2 -2
  41. package/dist/{index.cjs487.js.map → index.cjs474.js.map} +1 -1
  42. package/dist/index.cjs475.js +1 -1
  43. package/dist/index.cjs475.js.map +1 -1
  44. package/dist/index.cjs479.js +1 -1
  45. package/dist/index.cjs479.js.map +1 -1
  46. package/dist/index.cjs480.js +1 -1
  47. package/dist/index.cjs480.js.map +1 -1
  48. package/dist/index.cjs481.js +1 -1
  49. package/dist/index.cjs481.js.map +1 -1
  50. package/dist/{index.cjs478.js → index.cjs482.js} +1 -1
  51. package/dist/{index.cjs478.js.map → index.cjs482.js.map} +1 -1
  52. package/dist/index.cjs483.js +2 -0
  53. package/dist/index.cjs483.js.map +1 -0
  54. package/dist/index.cjs484.js +2 -0
  55. package/dist/index.cjs484.js.map +1 -0
  56. package/dist/index.cjs485.js +2 -0
  57. package/dist/index.cjs485.js.map +1 -0
  58. package/dist/index.cjs489.js +1 -1
  59. package/dist/index.cjs489.js.map +1 -1
  60. package/dist/index.cjs490.js +1 -1
  61. package/dist/index.cjs490.js.map +1 -1
  62. package/dist/index.cjs491.js +1 -1
  63. package/dist/index.cjs491.js.map +1 -1
  64. package/dist/index.cjs492.js +1 -1
  65. package/dist/index.cjs492.js.map +1 -1
  66. package/dist/index.cjs493.js +1 -1
  67. package/dist/index.cjs493.js.map +1 -1
  68. package/dist/index.cjs494.js +1 -1
  69. package/dist/index.cjs494.js.map +1 -1
  70. package/dist/index.cjs507.js +1 -1
  71. package/dist/index.cjs510.js +1 -1
  72. package/dist/index.cjs515.js +1 -1
  73. package/dist/index.cjs516.js +1 -1
  74. package/dist/index.cjs517.js +1 -1
  75. package/dist/index.cjs519.js +1 -1
  76. package/dist/index.cjs519.js.map +1 -1
  77. package/dist/index.cjs520.js +1 -1
  78. package/dist/index.cjs520.js.map +1 -1
  79. package/dist/index.cjs521.js +1 -1
  80. package/dist/index.cjs521.js.map +1 -1
  81. package/dist/index.cjs522.js +1 -1
  82. package/dist/index.cjs522.js.map +1 -1
  83. package/dist/index.cjs523.js +38 -1
  84. package/dist/index.cjs523.js.map +1 -1
  85. package/dist/index.cjs524.js +1 -1
  86. package/dist/index.cjs524.js.map +1 -1
  87. package/dist/index.cjs525.js +1 -1
  88. package/dist/index.cjs525.js.map +1 -1
  89. package/dist/index.cjs526.js +1 -1
  90. package/dist/index.cjs526.js.map +1 -1
  91. package/dist/index.cjs527.js +1 -1
  92. package/dist/index.cjs527.js.map +1 -1
  93. package/dist/index.cjs528.js +1 -1
  94. package/dist/index.cjs528.js.map +1 -1
  95. package/dist/index.cjs529.js +1 -1
  96. package/dist/index.cjs529.js.map +1 -1
  97. package/dist/index.cjs530.js +1 -1
  98. package/dist/index.cjs530.js.map +1 -1
  99. package/dist/index.cjs531.js +1 -1
  100. package/dist/index.cjs531.js.map +1 -1
  101. package/dist/index.cjs532.js +1 -1
  102. package/dist/index.cjs532.js.map +1 -1
  103. package/dist/index.cjs533.js +1 -1
  104. package/dist/index.cjs533.js.map +1 -1
  105. package/dist/index.cjs534.js +1 -1
  106. package/dist/index.cjs534.js.map +1 -1
  107. package/dist/index.cjs535.js +1 -1
  108. package/dist/index.cjs535.js.map +1 -1
  109. package/dist/index.cjs536.js +1 -1
  110. package/dist/index.cjs536.js.map +1 -1
  111. package/dist/index.cjs537.js +1 -1
  112. package/dist/index.cjs537.js.map +1 -1
  113. package/dist/index.cjs538.js +1 -1
  114. package/dist/index.cjs538.js.map +1 -1
  115. package/dist/index.cjs539.js +1 -1
  116. package/dist/index.cjs539.js.map +1 -1
  117. package/dist/index.cjs540.js +1 -1
  118. package/dist/index.cjs540.js.map +1 -1
  119. package/dist/index.cjs541.js +1 -1
  120. package/dist/index.cjs541.js.map +1 -1
  121. package/dist/index.cjs542.js +1 -1
  122. package/dist/index.cjs542.js.map +1 -1
  123. package/dist/index.cjs543.js +1 -1
  124. package/dist/index.cjs543.js.map +1 -1
  125. package/dist/index.cjs544.js +1 -1
  126. package/dist/index.cjs544.js.map +1 -1
  127. package/dist/index.cjs545.js +1 -1
  128. package/dist/index.cjs545.js.map +1 -1
  129. package/dist/index.cjs546.js +1 -1
  130. package/dist/index.cjs546.js.map +1 -1
  131. package/dist/index.cjs547.js +1 -1
  132. package/dist/index.cjs547.js.map +1 -1
  133. package/dist/index.cjs548.js +1 -1
  134. package/dist/index.cjs548.js.map +1 -1
  135. package/dist/index.cjs549.js +1 -38
  136. package/dist/index.cjs549.js.map +1 -1
  137. package/dist/index.cjs550.js +1 -1
  138. package/dist/index.cjs550.js.map +1 -1
  139. package/dist/index.cjs551.js +1 -1
  140. package/dist/index.cjs551.js.map +1 -1
  141. package/dist/index.cjs552.js +1 -1
  142. package/dist/index.cjs552.js.map +1 -1
  143. package/dist/index.cjs553.js +1 -5
  144. package/dist/index.cjs553.js.map +1 -1
  145. package/dist/index.cjs554.js +1 -1
  146. package/dist/index.cjs554.js.map +1 -1
  147. package/dist/index.cjs555.js +5 -1
  148. package/dist/index.cjs555.js.map +1 -1
  149. package/dist/index.cjs556.js +1 -1
  150. package/dist/index.cjs556.js.map +1 -1
  151. package/dist/index.cjs557.js +1 -1
  152. package/dist/index.cjs557.js.map +1 -1
  153. package/dist/index.cjs558.js +1 -1
  154. package/dist/index.cjs558.js.map +1 -1
  155. package/dist/index.cjs559.js +1 -1
  156. package/dist/index.cjs559.js.map +1 -1
  157. package/dist/index.cjs560.js +1 -1
  158. package/dist/index.cjs560.js.map +1 -1
  159. package/dist/index.cjs561.js +1 -1
  160. package/dist/index.cjs561.js.map +1 -1
  161. package/dist/index.cjs562.js +1 -1
  162. package/dist/index.cjs562.js.map +1 -1
  163. package/dist/index.cjs563.js +2 -0
  164. package/dist/index.cjs563.js.map +1 -0
  165. package/dist/index.cjs564.js +2 -0
  166. package/dist/index.cjs564.js.map +1 -0
  167. package/dist/{index.cjs570.js → index.cjs565.js} +1 -1
  168. package/dist/{index.cjs570.js.map → index.cjs565.js.map} +1 -1
  169. package/dist/{index.cjs571.js → index.cjs566.js} +1 -1
  170. package/dist/{index.cjs571.js.map → index.cjs566.js.map} +1 -1
  171. package/dist/{index.cjs572.js → index.cjs567.js} +1 -1
  172. package/dist/{index.cjs572.js.map → index.cjs567.js.map} +1 -1
  173. package/dist/index.cjs568.js +1 -1
  174. package/dist/index.cjs576.js +1 -1
  175. package/dist/index.cjs576.js.map +1 -1
  176. package/dist/index.cjs577.js +1 -1
  177. package/dist/index.cjs577.js.map +1 -1
  178. package/dist/index.cjs578.js +2 -0
  179. package/dist/index.cjs578.js.map +1 -0
  180. package/dist/index.cjs579.js +2 -0
  181. package/dist/index.cjs579.js.map +1 -0
  182. package/dist/index.cjs580.js +2 -0
  183. package/dist/index.cjs580.js.map +1 -0
  184. package/dist/index.cjs581.js +2 -0
  185. package/dist/index.cjs581.js.map +1 -0
  186. package/dist/index.cjs586.js +1 -1
  187. package/dist/index.cjs586.js.map +1 -1
  188. package/dist/index.cjs587.js +1 -1
  189. package/dist/index.cjs587.js.map +1 -1
  190. package/dist/index.cjs588.js +1 -1
  191. package/dist/index.d.ts +2 -1
  192. package/dist/index.es150.js +27 -26
  193. package/dist/index.es150.js.map +1 -1
  194. package/dist/index.es241.js +1 -1
  195. package/dist/index.es248.js +2 -2
  196. package/dist/index.es255.js +2 -2
  197. package/dist/index.es256.js +3 -3
  198. package/dist/index.es257.js +3 -3
  199. package/dist/index.es315.js +7 -7
  200. package/dist/index.es32.js +1 -1
  201. package/dist/index.es33.js +1 -1
  202. package/dist/index.es364.js +6 -6
  203. package/dist/index.es365.js +2 -2
  204. package/dist/index.es387.js +1 -1
  205. package/dist/index.es405.js +8 -8
  206. package/dist/index.es436.js +1 -1
  207. package/dist/index.es441.js +1 -1
  208. package/dist/index.es448.js +5 -3674
  209. package/dist/index.es448.js.map +1 -1
  210. package/dist/index.es449.js +520 -5
  211. package/dist/index.es449.js.map +1 -1
  212. package/dist/index.es450.js +3675 -2
  213. package/dist/index.es450.js.map +1 -1
  214. package/dist/index.es451.js +5 -5
  215. package/dist/index.es451.js.map +1 -1
  216. package/dist/index.es452.js +2 -521
  217. package/dist/index.es452.js.map +1 -1
  218. package/dist/index.es453.js +2 -2
  219. package/dist/index.es455.js +1 -1
  220. package/dist/index.es460.js +1 -1
  221. package/dist/index.es461.js +1 -1
  222. package/dist/index.es462.js +12 -12
  223. package/dist/index.es463.js +1 -1
  224. package/dist/index.es468.js +1 -1
  225. package/dist/index.es469.js +1 -1
  226. package/dist/index.es472.js +136 -0
  227. package/dist/index.es472.js.map +1 -0
  228. package/dist/{index.es488.js → index.es473.js} +2 -2
  229. package/dist/{index.es488.js.map → index.es473.js.map} +1 -1
  230. package/dist/{index.es487.js → index.es474.js} +2 -2
  231. package/dist/{index.es487.js.map → index.es474.js.map} +1 -1
  232. package/dist/index.es475.js +3 -124
  233. package/dist/index.es475.js.map +1 -1
  234. package/dist/index.es479.js +124 -8
  235. package/dist/index.es479.js.map +1 -1
  236. package/dist/index.es480.js +133 -48
  237. package/dist/index.es480.js.map +1 -1
  238. package/dist/index.es481.js +14 -56
  239. package/dist/index.es481.js.map +1 -1
  240. package/dist/{index.es478.js → index.es482.js} +1 -1
  241. package/dist/{index.es478.js.map → index.es482.js.map} +1 -1
  242. package/dist/index.es483.js +12 -0
  243. package/dist/index.es483.js.map +1 -0
  244. package/dist/index.es484.js +53 -0
  245. package/dist/index.es484.js.map +1 -0
  246. package/dist/index.es485.js +59 -0
  247. package/dist/index.es485.js.map +1 -0
  248. package/dist/index.es489.js +10 -3
  249. package/dist/index.es489.js.map +1 -1
  250. package/dist/index.es490.js +43 -130
  251. package/dist/index.es490.js.map +1 -1
  252. package/dist/index.es491.js +13 -10
  253. package/dist/index.es491.js.map +1 -1
  254. package/dist/index.es492.js +215 -43
  255. package/dist/index.es492.js.map +1 -1
  256. package/dist/index.es493.js +176 -12
  257. package/dist/index.es493.js.map +1 -1
  258. package/dist/index.es494.js +3 -217
  259. package/dist/index.es494.js.map +1 -1
  260. package/dist/index.es507.js +1 -1
  261. package/dist/index.es510.js +3 -3
  262. package/dist/index.es515.js +1 -1
  263. package/dist/index.es516.js +2 -2
  264. package/dist/index.es517.js +4 -4
  265. package/dist/index.es519.js +523 -5
  266. package/dist/index.es519.js.map +1 -1
  267. package/dist/index.es520.js +127 -16
  268. package/dist/index.es520.js.map +1 -1
  269. package/dist/index.es521.js +129 -13
  270. package/dist/index.es521.js.map +1 -1
  271. package/dist/index.es522.js +60 -31
  272. package/dist/index.es522.js.map +1 -1
  273. package/dist/index.es523.js +69 -5
  274. package/dist/index.es523.js.map +1 -1
  275. package/dist/index.es524.js +9 -2
  276. package/dist/index.es524.js.map +1 -1
  277. package/dist/index.es525.js +14 -3
  278. package/dist/index.es525.js.map +1 -1
  279. package/dist/index.es526.js +62 -7
  280. package/dist/index.es526.js.map +1 -1
  281. package/dist/index.es527.js +5 -6
  282. package/dist/index.es527.js.map +1 -1
  283. package/dist/index.es528.js +16 -5
  284. package/dist/index.es528.js.map +1 -1
  285. package/dist/index.es529.js +12 -31
  286. package/dist/index.es529.js.map +1 -1
  287. package/dist/index.es530.js +31 -237
  288. package/dist/index.es530.js.map +1 -1
  289. package/dist/index.es531.js +5 -4
  290. package/dist/index.es531.js.map +1 -1
  291. package/dist/index.es532.js +2 -5
  292. package/dist/index.es532.js.map +1 -1
  293. package/dist/index.es533.js +3 -10
  294. package/dist/index.es533.js.map +1 -1
  295. package/dist/index.es534.js +6 -55
  296. package/dist/index.es534.js.map +1 -1
  297. package/dist/index.es535.js +6 -8
  298. package/dist/index.es535.js.map +1 -1
  299. package/dist/index.es536.js +5 -6
  300. package/dist/index.es536.js.map +1 -1
  301. package/dist/index.es537.js +31 -532
  302. package/dist/index.es537.js.map +1 -1
  303. package/dist/index.es538.js +242 -14
  304. package/dist/index.es538.js.map +1 -1
  305. package/dist/index.es539.js +4 -2
  306. package/dist/index.es539.js.map +1 -1
  307. package/dist/index.es540.js +4 -36
  308. package/dist/index.es540.js.map +1 -1
  309. package/dist/index.es541.js +10 -2
  310. package/dist/index.es541.js.map +1 -1
  311. package/dist/index.es542.js +47 -264
  312. package/dist/index.es542.js.map +1 -1
  313. package/dist/index.es543.js +8 -3
  314. package/dist/index.es543.js.map +1 -1
  315. package/dist/index.es544.js +6 -30
  316. package/dist/index.es544.js.map +1 -1
  317. package/dist/index.es545.js +522 -54
  318. package/dist/index.es545.js.map +1 -1
  319. package/dist/index.es546.js +14 -523
  320. package/dist/index.es546.js.map +1 -1
  321. package/dist/index.es547.js +2 -127
  322. package/dist/index.es547.js.map +1 -1
  323. package/dist/index.es548.js +35 -127
  324. package/dist/index.es548.js.map +1 -1
  325. package/dist/index.es549.js +2 -69
  326. package/dist/index.es549.js.map +1 -1
  327. package/dist/index.es550.js +272 -8
  328. package/dist/index.es550.js.map +1 -1
  329. package/dist/index.es551.js +3 -14
  330. package/dist/index.es551.js.map +1 -1
  331. package/dist/index.es552.js +29 -61
  332. package/dist/index.es552.js.map +1 -1
  333. package/dist/index.es553.js +3 -39
  334. package/dist/index.es553.js.map +1 -1
  335. package/dist/index.es554.js +23 -2
  336. package/dist/index.es554.js.map +1 -1
  337. package/dist/index.es555.js +39 -4
  338. package/dist/index.es555.js.map +1 -1
  339. package/dist/index.es556.js +2 -2
  340. package/dist/index.es556.js.map +1 -1
  341. package/dist/index.es557.js +5 -2
  342. package/dist/index.es557.js.map +1 -1
  343. package/dist/index.es558.js +16 -2
  344. package/dist/index.es558.js.map +1 -1
  345. package/dist/index.es559.js +2 -6
  346. package/dist/index.es559.js.map +1 -1
  347. package/dist/index.es560.js +2 -16
  348. package/dist/index.es560.js.map +1 -1
  349. package/dist/index.es561.js +2 -2
  350. package/dist/index.es561.js.map +1 -1
  351. package/dist/index.es562.js +6 -2
  352. package/dist/index.es562.js.map +1 -1
  353. package/dist/index.es563.js +5 -0
  354. package/dist/index.es563.js.map +1 -0
  355. package/dist/index.es564.js +5 -0
  356. package/dist/index.es564.js.map +1 -0
  357. package/dist/{index.es570.js → index.es565.js} +1 -1
  358. package/dist/{index.es570.js.map → index.es565.js.map} +1 -1
  359. package/dist/{index.es571.js → index.es566.js} +1 -1
  360. package/dist/{index.es571.js.map → index.es566.js.map} +1 -1
  361. package/dist/{index.es572.js → index.es567.js} +1 -1
  362. package/dist/{index.es572.js.map → index.es567.js.map} +1 -1
  363. package/dist/index.es568.js +1 -1
  364. package/dist/index.es576.js +13 -3
  365. package/dist/index.es576.js.map +1 -1
  366. package/dist/index.es577.js +28 -2
  367. package/dist/index.es577.js.map +1 -1
  368. package/dist/index.es578.js +8 -0
  369. package/dist/index.es578.js.map +1 -0
  370. package/dist/index.es579.js +26 -0
  371. package/dist/index.es579.js.map +1 -0
  372. package/dist/index.es580.js +6 -0
  373. package/dist/index.es580.js.map +1 -0
  374. package/dist/index.es581.js +5 -0
  375. package/dist/index.es581.js.map +1 -0
  376. package/dist/index.es586.js +5 -5
  377. package/dist/index.es586.js.map +1 -1
  378. package/dist/index.es587.js +2 -25
  379. package/dist/index.es587.js.map +1 -1
  380. package/dist/index.es588.js +1 -1
  381. package/package.json +1 -1
  382. package/dist/index.cjs476.js +0 -2
  383. package/dist/index.cjs476.js.map +0 -1
  384. package/dist/index.cjs477.js +0 -2
  385. package/dist/index.cjs477.js.map +0 -1
  386. package/dist/index.cjs495.js +0 -2
  387. package/dist/index.cjs495.js.map +0 -1
  388. package/dist/index.cjs496.js +0 -2
  389. package/dist/index.cjs496.js.map +0 -1
  390. package/dist/index.cjs573.js +0 -2
  391. package/dist/index.cjs573.js.map +0 -1
  392. package/dist/index.cjs574.js +0 -2
  393. package/dist/index.cjs574.js.map +0 -1
  394. package/dist/index.cjs582.js +0 -2
  395. package/dist/index.cjs582.js.map +0 -1
  396. package/dist/index.cjs583.js +0 -2
  397. package/dist/index.cjs583.js.map +0 -1
  398. package/dist/index.cjs584.js +0 -2
  399. package/dist/index.cjs584.js.map +0 -1
  400. package/dist/index.cjs585.js +0 -2
  401. package/dist/index.cjs585.js.map +0 -1
  402. package/dist/index.es476.js +0 -138
  403. package/dist/index.es476.js.map +0 -1
  404. package/dist/index.es477.js +0 -17
  405. package/dist/index.es477.js.map +0 -1
  406. package/dist/index.es495.js +0 -181
  407. package/dist/index.es495.js.map +0 -1
  408. package/dist/index.es496.js +0 -7
  409. package/dist/index.es496.js.map +0 -1
  410. package/dist/index.es573.js +0 -7
  411. package/dist/index.es573.js.map +0 -1
  412. package/dist/index.es574.js +0 -26
  413. package/dist/index.es574.js.map +0 -1
  414. package/dist/index.es582.js +0 -8
  415. package/dist/index.es582.js.map +0 -1
  416. package/dist/index.es583.js +0 -3
  417. package/dist/index.es583.js.map +0 -1
  418. package/dist/index.es584.js +0 -16
  419. package/dist/index.es584.js.map +0 -1
  420. package/dist/index.es585.js +0 -31
  421. package/dist/index.es585.js.map +0 -1
  422. /package/dist/components/ui/{CardMapDoctorV2/CardMapDoctorV2.css → CardMapDoctor/CardMapDoctor.css} +0 -0
@@ -1,59 +1,17 @@
1
- import * as l from "react";
2
- import { composeRefs as y } from "./index.es458.js";
3
- import { j as f } from "./index.es237.js";
4
- // @__NO_SIDE_EFFECTS__
5
- function S(e) {
6
- const t = /* @__PURE__ */ g(e), o = l.forwardRef((n, r) => {
7
- const { children: i, ...a } = n, s = l.Children.toArray(i), p = s.find(E);
8
- if (p) {
9
- const c = p.props.children, m = s.map((u) => u === p ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
10
- return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: l.isValidElement(c) ? l.cloneElement(c, void 0, m) : null });
11
- }
12
- return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: i });
13
- });
14
- return o.displayName = `${e}.Slot`, o;
15
- }
16
- var h = /* @__PURE__ */ S("Slot");
17
- // @__NO_SIDE_EFFECTS__
18
- function g(e) {
19
- const t = l.forwardRef((o, n) => {
20
- const { children: r, ...i } = o;
21
- if (l.isValidElement(r)) {
22
- const a = x(r), s = R(i, r.props);
23
- return r.type !== l.Fragment && (s.ref = n ? y(n, a) : a), l.cloneElement(r, s);
24
- }
25
- return l.Children.count(r) > 1 ? l.Children.only(null) : null;
26
- });
27
- return t.displayName = `${e}.SlotClone`, t;
28
- }
29
- var d = Symbol("radix.slottable");
30
- // @__NO_SIDE_EFFECTS__
31
- function j(e) {
32
- const t = ({ children: o }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: o });
33
- return t.displayName = `${e}.Slottable`, t.__radixId = d, t;
34
- }
35
- function E(e) {
36
- return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
37
- }
38
- function R(e, t) {
39
- const o = { ...t };
40
- for (const n in t) {
41
- const r = e[n], i = t[n];
42
- /^on[A-Z]/.test(n) ? r && i ? o[n] = (...s) => {
43
- i(...s), r(...s);
44
- } : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...i } : n === "className" && (o[n] = [r, i].filter(Boolean).join(" "));
45
- }
46
- return { ...e, ...o };
47
- }
48
- function x(e) {
49
- var n, r;
50
- let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
51
- return o ? e.ref : (t = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
52
- }
1
+ import * as r from "react";
2
+ import f from "react-dom";
3
+ import { Primitive as u } from "./index.es461.js";
4
+ import { useLayoutEffect as c } from "./index.es494.js";
5
+ import { j as l } from "./index.es237.js";
6
+ var p = "Portal", d = r.forwardRef((e, a) => {
7
+ var o;
8
+ const { container: s, ...i } = e, [m, n] = r.useState(!1);
9
+ c(() => n(!0), []);
10
+ const t = s || m && ((o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body);
11
+ return t ? f.createPortal(/* @__PURE__ */ l.jsx(u.div, { ...i, ref: a }), t) : null;
12
+ });
13
+ d.displayName = p;
53
14
  export {
54
- h as Root,
55
- h as Slot,
56
- S as createSlot,
57
- j as createSlottable
15
+ d as Portal
58
16
  };
59
17
  //# sourceMappingURL=index.es481.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es481.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","Slot","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA4B,gBAAAC,EAAgBF,CAAS,GACrDG,IAAQC,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACtD,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH,GAC7BI,IAAgBL,EAAM,SAAS,QAAQG,CAAQ,GAC/CG,IAAYD,EAAc,KAAKE,CAAW;AAChD,QAAID,GAAW;AACb,YAAME,IAAaF,EAAU,MAAM,UAC7BG,IAAcJ,EAAc,IAAI,CAACK,MACjCA,MAAUJ,IACRN,EAAM,SAAS,MAAMQ,CAAU,IAAI,IAAUR,EAAM,SAAS,KAAK,IAAI,IAClEA,EAAM,eAAeQ,CAAU,IAAIA,EAAW,MAAM,WAAW,OAE/DE,CAEV;AACD,aAAuBC,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAUF,EAAM,eAAeQ,CAAU,IAAIR,EAAM,aAAaQ,GAAY,QAAQC,CAAW,IAAI,MAAM;AAAA,IACxL;AACI,WAAuBE,gBAAAA,EAAAA,IAAId,GAAW,EAAE,GAAGO,GAAW,KAAKF,GAAc,UAAAC,GAAU;AAAA,EACvF,CAAG;AACD,SAAAJ,EAAM,cAAc,GAAGH,CAAS,SACzBG;AACT;AACG,IAACa,IAAuB,gBAAAjB,EAAW,MAAM;AAAA;AAE5C,SAASG,EAAgBF,GAAW;AAClC,QAAMC,IAAYG,EAAM,WAAW,CAACC,GAAOC,MAAiB;AAC1D,UAAM,EAAE,UAAAC,GAAU,GAAGC,EAAS,IAAKH;AACnC,QAAID,EAAM,eAAeG,CAAQ,GAAG;AAClC,YAAMU,IAAcC,EAAcX,CAAQ,GACpCY,IAASC,EAAWZ,GAAWD,EAAS,KAAK;AACnD,aAAIA,EAAS,SAASH,EAAM,aAC1Be,EAAO,MAAMb,IAAee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AS;;AAC9B,MAAIC,KAASC,IAAA,OAAO,yBAAyBF,EAAQ,OAAO,KAAK,MAApD,gBAAAE,EAAuD,KAChEC,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es481.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":";;;;;AAQA,IAAIA,IAAc,UACdC,IAASC,EAAM,WAAW,CAACC,GAAOC,MAAiB;;AACrD,QAAM,EAAE,WAAWC,GAAe,GAAGC,EAAa,IAAGH,GAC/C,CAACI,GAASC,CAAU,IAAIN,EAAM,SAAS,EAAK;AAClDO,EAAAA,EAAgB,MAAMD,EAAW,EAAI,GAAG,CAAA,CAAE;AAC1C,QAAME,IAAYL,KAAiBE,OAAWI,IAAA,yCAAY,aAAZ,gBAAAA,EAAsB;AACpE,SAAOD,IAAYE,EAAS,aAA6BC,gBAAAA,EAAG,IAACC,EAAU,KAAK,EAAE,GAAGR,GAAa,KAAKF,EAAc,CAAA,GAAGM,CAAS,IAAI;AACnI,CAAC;AACDT,EAAO,cAAcD;","x_google_ignoreList":[0]}
@@ -15,4 +15,4 @@ function n() {
15
15
  export {
16
16
  a as useFocusGuards
17
17
  };
18
- //# sourceMappingURL=index.es478.js.map
18
+ //# sourceMappingURL=index.es482.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es478.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":";AAIA,IAAIA,IAAQ;AAKZ,SAASC,IAAiB;AACxB,EAAAC,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAa,SAAS,iBAAiB,0BAA0B;AACvE,oBAAS,KAAK,sBAAsB,cAAcA,EAAW,CAAC,KAAKC,GAAkB,GACrF,SAAS,KAAK,sBAAsB,aAAaD,EAAW,CAAC,KAAKC,GAAkB,GACpFJ,KACO,MAAM;AACX,MAAIA,MAAU,KACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAAQ,CAACK,MAASA,EAAK,QAAQ,GAEvFL;AAAA,IACD;AAAA,EACF,GAAE,EAAE;AACP;AACA,SAASI,IAAmB;AAC1B,QAAME,IAAU,SAAS,cAAc,MAAM;AAC7C,SAAAA,EAAQ,aAAa,0BAA0B,EAAE,GACjDA,EAAQ,WAAW,GACnBA,EAAQ,MAAM,UAAU,QACxBA,EAAQ,MAAM,UAAU,KACxBA,EAAQ,MAAM,WAAW,SACzBA,EAAQ,MAAM,gBAAgB,QACvBA;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es482.js","sources":["../node_modules/@radix-ui/react-focus-guards/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/focus-guards/src/focus-guards.tsx\nimport * as React from \"react\";\nvar count = 0;\nfunction FocusGuards(props) {\n useFocusGuards();\n return props.children;\n}\nfunction useFocusGuards() {\n React.useEffect(() => {\n const edgeGuards = document.querySelectorAll(\"[data-radix-focus-guard]\");\n document.body.insertAdjacentElement(\"afterbegin\", edgeGuards[0] ?? createFocusGuard());\n document.body.insertAdjacentElement(\"beforeend\", edgeGuards[1] ?? createFocusGuard());\n count++;\n return () => {\n if (count === 1) {\n document.querySelectorAll(\"[data-radix-focus-guard]\").forEach((node) => node.remove());\n }\n count--;\n };\n }, []);\n}\nfunction createFocusGuard() {\n const element = document.createElement(\"span\");\n element.setAttribute(\"data-radix-focus-guard\", \"\");\n element.tabIndex = 0;\n element.style.outline = \"none\";\n element.style.opacity = \"0\";\n element.style.position = \"fixed\";\n element.style.pointerEvents = \"none\";\n return element;\n}\nvar Root = FocusGuards;\nexport {\n FocusGuards,\n Root,\n useFocusGuards\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["count","useFocusGuards","React","edgeGuards","createFocusGuard","node","element"],"mappings":";AAIA,IAAIA,IAAQ;AAKZ,SAASC,IAAiB;AACxB,EAAAC,EAAM,UAAU,MAAM;AACpB,UAAMC,IAAa,SAAS,iBAAiB,0BAA0B;AACvE,oBAAS,KAAK,sBAAsB,cAAcA,EAAW,CAAC,KAAKC,GAAkB,GACrF,SAAS,KAAK,sBAAsB,aAAaD,EAAW,CAAC,KAAKC,GAAkB,GACpFJ,KACO,MAAM;AACX,MAAIA,MAAU,KACZ,SAAS,iBAAiB,0BAA0B,EAAE,QAAQ,CAACK,MAASA,EAAK,QAAQ,GAEvFL;AAAA,IACD;AAAA,EACF,GAAE,EAAE;AACP;AACA,SAASI,IAAmB;AAC1B,QAAME,IAAU,SAAS,cAAc,MAAM;AAC7C,SAAAA,EAAQ,aAAa,0BAA0B,EAAE,GACjDA,EAAQ,WAAW,GACnBA,EAAQ,MAAM,UAAU,QACxBA,EAAQ,MAAM,UAAU,KACxBA,EAAQ,MAAM,WAAW,SACzBA,EAAQ,MAAM,gBAAgB,QACvBA;AACT;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ import { __assign as m } from "./index.es511.js";
2
+ import * as r from "react";
3
+ import { RemoveScroll as e } from "./index.es512.js";
4
+ import t from "./index.es513.js";
5
+ var s = r.forwardRef(function(a, o) {
6
+ return r.createElement(e, m({}, a, { ref: o, sideCar: t }));
7
+ });
8
+ s.classNames = e.classNames;
9
+ export {
10
+ s as default
11
+ };
12
+ //# sourceMappingURL=index.es483.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es483.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,CAAE,GAAEH,GAAO,EAAE,KAAKC,GAAK,SAASG,GAAS,CAAC;AAAK,CAAA;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
@@ -0,0 +1,53 @@
1
+ var S = function(r) {
2
+ if (typeof document > "u")
3
+ return null;
4
+ var u = Array.isArray(r) ? r[0] : r;
5
+ return u.ownerDocument.body;
6
+ }, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
7
+ return r && (r.host || W(r.parentNode));
8
+ }, D = function(r, u) {
9
+ return u.map(function(e) {
10
+ if (r.contains(e))
11
+ return e;
12
+ var n = W(e);
13
+ return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
14
+ }).filter(function(e) {
15
+ return !!e;
16
+ });
17
+ }, E = function(r, u, e, n) {
18
+ var i = D(u, Array.isArray(r) ? r : [r]);
19
+ p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
20
+ var o = p[e], l = [], s = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
21
+ !t || s.has(t) || (s.add(t), y(t.parentNode));
22
+ };
23
+ i.forEach(y);
24
+ var A = function(t) {
25
+ !t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
26
+ if (s.has(a))
27
+ A(a);
28
+ else
29
+ try {
30
+ var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (o.get(a) || 0) + 1;
31
+ f.set(a, d), o.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
32
+ } catch (k) {
33
+ console.error("aria-hidden: cannot operate on ", a, k);
34
+ }
35
+ });
36
+ };
37
+ return A(u), s.clear(), h++, function() {
38
+ l.forEach(function(t) {
39
+ var a = f.get(t) - 1, c = o.get(t) - 1;
40
+ f.set(t, a), o.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
41
+ }), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
42
+ };
43
+ }, C = function(r, u, e) {
44
+ e === void 0 && (e = "data-aria-hidden");
45
+ var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
46
+ return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
47
+ return null;
48
+ };
49
+ };
50
+ export {
51
+ C as hideOthers
52
+ };
53
+ //# sourceMappingURL=index.es484.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es484.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"AAAA,IAAIA,IAAmB,SAAUC,GAAgB;AAC7C,MAAI,OAAO,WAAa;AACpB,WAAO;AAEX,MAAIC,IAAe,MAAM,QAAQD,CAAc,IAAIA,EAAe,CAAC,IAAIA;AACvE,SAAOC,EAAa,cAAc;AACtC,GACIC,IAAa,oBAAI,QAAS,GAC1BC,IAAoB,oBAAI,QAAS,GACjCC,IAAY,CAAE,GACdC,IAAY,GACZC,IAAa,SAAUC,GAAM;AAC7B,SAAOA,MAASA,EAAK,QAAQD,EAAWC,EAAK,UAAU;AAC3D,GACIC,IAAiB,SAAUC,GAAQC,GAAS;AAC5C,SAAOA,EACF,IAAI,SAAUC,GAAQ;AACvB,QAAIF,EAAO,SAASE,CAAM;AACtB,aAAOA;AAEX,QAAIC,IAAkBN,EAAWK,CAAM;AACvC,WAAIC,KAAmBH,EAAO,SAASG,CAAe,IAC3CA,KAEX,QAAQ,MAAM,eAAeD,GAAQ,2BAA2BF,GAAQ,iBAAiB,GAClF;AAAA,EACV,CAAA,EACI,OAAO,SAAUI,GAAG;AAAE,WAAO,EAAQA;AAAA,GAAK;AACnD,GASIC,IAAyB,SAAUd,GAAgBe,GAAYC,GAAYC,GAAkB;AAC7F,MAAIP,IAAUF,EAAeO,GAAY,MAAM,QAAQf,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC;AAC1G,EAAKI,EAAUY,CAAU,MACrBZ,EAAUY,CAAU,IAAI,oBAAI,QAAS;AAEzC,MAAIE,IAAgBd,EAAUY,CAAU,GACpCG,IAAc,C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T,EAAc,IAAIX,GAAMqB,CAAW,GAC9BD,MACIxB,EAAkB,IAAII,CAAI,KAC3BA,EAAK,gBAAgBU,CAAgB,GAEzCd,EAAkB,OAAOI,CAAI,IAE5BqB,KACDrB,EAAK,gBAAgBS,CAAU;AAAA,IAE/C,CAAS,GACDX,KACKA,MAEDH,IAAa,oBAAI,QAAS,GAC1BA,IAAa,oBAAI,QAAS,GAC1BC,IAAoB,oBAAI,QAAS,GACjCC,IAAY,CAAE;AAAA,EAErB;AACL,GAQW0B,IAAa,SAAU9B,GAAgBe,GAAYC,GAAY;AACtE,EAAIA,MAAe,WAAUA,IAAa;AAC1C,MAAIN,IAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC,GACtF+B,IAAiChC,EAAiBC,CAAc;AACpE,SAAK+B,KAILrB,EAAQ,KAAK,MAAMA,GAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,GACjFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KAJvE,WAAY;AAAE,WAAO;AAAA,EAAO;AAK3C;","x_google_ignoreList":[0]}
@@ -0,0 +1,59 @@
1
+ import * as l from "react";
2
+ import { composeRefs as y } from "./index.es458.js";
3
+ import { j as f } from "./index.es237.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function S(e) {
6
+ const t = /* @__PURE__ */ g(e), o = l.forwardRef((n, r) => {
7
+ const { children: i, ...a } = n, s = l.Children.toArray(i), p = s.find(E);
8
+ if (p) {
9
+ const c = p.props.children, m = s.map((u) => u === p ? l.Children.count(c) > 1 ? l.Children.only(null) : l.isValidElement(c) ? c.props.children : null : u);
10
+ return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: l.isValidElement(c) ? l.cloneElement(c, void 0, m) : null });
11
+ }
12
+ return /* @__PURE__ */ f.jsx(t, { ...a, ref: r, children: i });
13
+ });
14
+ return o.displayName = `${e}.Slot`, o;
15
+ }
16
+ var h = /* @__PURE__ */ S("Slot");
17
+ // @__NO_SIDE_EFFECTS__
18
+ function g(e) {
19
+ const t = l.forwardRef((o, n) => {
20
+ const { children: r, ...i } = o;
21
+ if (l.isValidElement(r)) {
22
+ const a = x(r), s = R(i, r.props);
23
+ return r.type !== l.Fragment && (s.ref = n ? y(n, a) : a), l.cloneElement(r, s);
24
+ }
25
+ return l.Children.count(r) > 1 ? l.Children.only(null) : null;
26
+ });
27
+ return t.displayName = `${e}.SlotClone`, t;
28
+ }
29
+ var d = Symbol("radix.slottable");
30
+ // @__NO_SIDE_EFFECTS__
31
+ function j(e) {
32
+ const t = ({ children: o }) => /* @__PURE__ */ f.jsx(f.Fragment, { children: o });
33
+ return t.displayName = `${e}.Slottable`, t.__radixId = d, t;
34
+ }
35
+ function E(e) {
36
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
37
+ }
38
+ function R(e, t) {
39
+ const o = { ...t };
40
+ for (const n in t) {
41
+ const r = e[n], i = t[n];
42
+ /^on[A-Z]/.test(n) ? r && i ? o[n] = (...s) => {
43
+ i(...s), r(...s);
44
+ } : r && (o[n] = r) : n === "style" ? o[n] = { ...r, ...i } : n === "className" && (o[n] = [r, i].filter(Boolean).join(" "));
45
+ }
46
+ return { ...e, ...o };
47
+ }
48
+ function x(e) {
49
+ var n, r;
50
+ let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning;
51
+ return o ? e.ref : (t = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
52
+ }
53
+ export {
54
+ h as Root,
55
+ h as Slot,
56
+ S as createSlot,
57
+ j as createSlottable
58
+ };
59
+ //# sourceMappingURL=index.es485.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es485.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","Slot","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAKA,SAASA,EAAWC,GAAW;AAC7B,QAAMC,IAA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AUA,EAAO;AAC7D,SAAIE,IACKH,EAAQ,OAEjBC,KAASG,IAAA,OAAO,yBAAyBJ,GAAS,KAAK,MAA9C,gBAAAI,EAAiD,KAC1DD,IAAUF,KAAU,oBAAoBA,KAAUA,EAAO,gBACrDE,IACKH,EAAQ,MAAM,MAEhBA,EAAQ,MAAM,OAAOA,EAAQ;AACtC;","x_google_ignoreList":[0]}
@@ -1,7 +1,14 @@
1
- function r(e) {
2
- return e === void 0 && (e = ""), `.${e.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
1
+ import * as r from "react";
2
+ function o(t) {
3
+ const e = r.useRef(t);
4
+ return r.useEffect(() => {
5
+ e.current = t;
6
+ }), r.useMemo(() => (...n) => {
7
+ var u;
8
+ return (u = e.current) == null ? void 0 : u.call(e, ...n);
9
+ }, []);
3
10
  }
4
11
  export {
5
- r as c
12
+ o as useCallbackRef
6
13
  };
7
14
  //# sourceMappingURL=index.es489.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es489.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es489.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
@@ -1,136 +1,49 @@
1
- function r(e) {
2
- return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
3
- }
4
- function o(e, n) {
5
- e === void 0 && (e = {}), n === void 0 && (n = {});
6
- const u = ["__proto__", "constructor", "prototype"];
7
- Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
8
- 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]);
9
- });
10
- }
11
- const i = {
12
- body: {},
13
- addEventListener() {
14
- },
15
- removeEventListener() {
16
- },
17
- activeElement: {
18
- blur() {
19
- },
20
- nodeName: ""
21
- },
22
- querySelector() {
23
- return null;
24
- },
25
- querySelectorAll() {
26
- return [];
27
- },
28
- getElementById() {
29
- return null;
30
- },
31
- createEvent() {
32
- return {
33
- initEvent() {
34
- }
35
- };
36
- },
37
- createElement() {
38
- return {
39
- children: [],
40
- childNodes: [],
41
- style: {},
42
- setAttribute() {
43
- },
44
- getElementsByTagName() {
45
- return [];
46
- }
47
- };
48
- },
49
- createElementNS() {
50
- return {};
51
- },
52
- importNode() {
53
- return null;
54
- },
55
- location: {
56
- hash: "",
57
- host: "",
58
- hostname: "",
59
- href: "",
60
- origin: "",
61
- pathname: "",
62
- protocol: "",
63
- search: ""
64
- }
65
- };
66
- function s() {
67
- const e = typeof document < "u" ? document : {};
68
- return o(e, i), e;
69
- }
70
- const c = {
71
- document: i,
72
- navigator: {
73
- userAgent: ""
74
- },
75
- location: {
76
- hash: "",
77
- host: "",
78
- hostname: "",
79
- href: "",
80
- origin: "",
81
- pathname: "",
82
- protocol: "",
83
- search: ""
84
- },
85
- history: {
86
- replaceState() {
87
- },
88
- pushState() {
89
- },
90
- go() {
91
- },
92
- back() {
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index.es459.js";
3
+ import { useComposedRefs as S } from "./index.es458.js";
4
+ import { createSlot as M } from "./index.es485.js";
5
+ import { j as d } from "./index.es237.js";
6
+ function D(s) {
7
+ const m = s + "CollectionProvider", [A, E] = y(m), [N, f] = A(
8
+ m,
9
+ { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
10
+ ), p = (c) => {
11
+ const { scope: e, children: l } = c, o = r.useRef(null), t = r.useRef(/* @__PURE__ */ new Map()).current;
12
+ return /* @__PURE__ */ d.jsx(N, { scope: e, itemMap: t, collectionRef: o, children: l });
13
+ };
14
+ p.displayName = m;
15
+ const a = s + "CollectionSlot", _ = M(a), C = r.forwardRef(
16
+ (c, e) => {
17
+ const { scope: l, children: o } = c, t = f(a, l), n = S(e, t.collectionRef);
18
+ return /* @__PURE__ */ d.jsx(_, { ref: n, children: o });
19
+ }
20
+ );
21
+ C.displayName = a;
22
+ const u = s + "CollectionItemSlot", R = "data-radix-collection-item", T = M(u), x = r.forwardRef(
23
+ (c, e) => {
24
+ const { scope: l, children: o, ...t } = c, n = r.useRef(null), I = S(e, n), i = f(u, l);
25
+ return r.useEffect(() => (i.itemMap.set(n, { ref: n, ...t }), () => void i.itemMap.delete(n))), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
93
26
  }
94
- },
95
- CustomEvent: function() {
96
- return this;
97
- },
98
- addEventListener() {
99
- },
100
- removeEventListener() {
101
- },
102
- getComputedStyle() {
103
- return {
104
- getPropertyValue() {
105
- return "";
106
- }
107
- };
108
- },
109
- Image() {
110
- },
111
- Date() {
112
- },
113
- screen: {},
114
- setTimeout() {
115
- },
116
- clearTimeout() {
117
- },
118
- matchMedia() {
119
- return {};
120
- },
121
- requestAnimationFrame(e) {
122
- return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
123
- },
124
- cancelAnimationFrame(e) {
125
- typeof setTimeout > "u" || clearTimeout(e);
27
+ );
28
+ x.displayName = u;
29
+ function O(c) {
30
+ const e = f(s + "CollectionConsumer", c);
31
+ return r.useCallback(() => {
32
+ const o = e.collectionRef.current;
33
+ if (!o) return [];
34
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
35
+ return Array.from(e.itemMap.values()).sort(
36
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
37
+ );
38
+ }, [e.collectionRef, e.itemMap]);
126
39
  }
127
- };
128
- function a() {
129
- const e = typeof window < "u" ? window : {};
130
- return o(e, c), e;
40
+ return [
41
+ { Provider: p, Slot: C, ItemSlot: x },
42
+ O,
43
+ E
44
+ ];
131
45
  }
132
46
  export {
133
- a,
134
- s as g
47
+ D as createCollection
135
48
  };
136
49
  //# sourceMappingURL=index.es490.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es490.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":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAO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D,qBAAqBC,GAAI;AACvB,IAAI,OAAO,aAAe,OAG1B,aAAaA,CAAE;AAAA,EACnB;AACA;AACA,SAASC,IAAY;AACnB,QAAMC,IAAM,OAAO,SAAW,MAAc,SAAS,CAAE;AACvD,SAAAZ,EAAOY,GAAKJ,CAAS,GACdI;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es490.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/collection/src/collection.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\nexport {\n createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,G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KP,EAAQ,QAAQ,OAAOT,CAAG,EAC7C,GACsBG,gBAAAA,MAAIW,GAAwB,EAAO,CAACD,CAAc,GAAG,IAAM,KAAKH,GAAc,UAAAX,GAAU;AAAA,IACrH;AAAA,EACG;AACD,EAAAgB,EAAmB,cAAcH;AACjC,WAASK,EAAcnB,GAAO;AAC5B,UAAMW,IAAUd,EAAqBN,IAAO,sBAAsBS,CAAK;AAWvE,WAViBG,EAAM,YAAY,MAAM;AACvC,YAAMiB,IAAiBT,EAAQ,cAAc;AAC7C,UAAI,CAACS,EAAgB,QAAO,CAAE;AAC9B,YAAMC,IAAe,MAAM,KAAKD,EAAe,iBAAiB,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
@@ -1,14 +1,17 @@
1
- import * as r from "react";
2
- function o(t) {
3
- const e = r.useRef(t);
4
- return r.useEffect(() => {
5
- e.current = t;
6
- }), r.useMemo(() => (...n) => {
7
- var u;
8
- return (u = e.current) == null ? void 0 : u.call(e, ...n);
9
- }, []);
1
+ import * as e from "react";
2
+ import { j as n } from "./index.es237.js";
3
+ var o = e.createContext(void 0), a = (r) => {
4
+ const { dir: t, children: i } = r;
5
+ return /* @__PURE__ */ n.jsx(o.Provider, { value: t, children: i });
6
+ };
7
+ function s(r) {
8
+ const t = e.useContext(o);
9
+ return r || t || "ltr";
10
10
  }
11
+ var v = a;
11
12
  export {
12
- o as useCallbackRef
13
+ a as DirectionProvider,
14
+ v as Provider,
15
+ s as useDirection
13
16
  };
14
17
  //# sourceMappingURL=index.es491.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es491.js","sources":["../node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/use-callback-ref.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":";AAEA,SAASA,EAAeC,GAAU;AAChC,QAAMC,IAAcC,EAAM,OAAOF,CAAQ;AACzC,SAAAE,EAAM,UAAU,MAAM;AACpB,IAAAD,EAAY,UAAUD;AAAA,EAC1B,CAAG,GACME,EAAM,QAAQ,MAAM,IAAIC;;AAAS,YAAAC,IAAAH,EAAY,YAAZ,gBAAAG,EAAA,KAAAH,GAAsB,GAAGE;AAAA,KAAO,EAAE;AAC5E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es491.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","DirectionProvider","props","dir","children","jsx","useDirection","localDir","globalDir","Provider"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM,GAC7CC,IAAoB,CAACC,MAAU;AACjC,QAAM,EAAE,KAAAC,GAAK,UAAAC,EAAQ,IAAKF;AAC1B,SAAuBG,gBAAAA,EAAAA,IAAIN,EAAiB,UAAU,EAAE,OAAOI,GAAK,UAAAC,GAAU;AAChF;AACA,SAASE,EAAaC,GAAU;AAC9B,QAAMC,IAAYR,EAAM,WAAWD,CAAgB;AACnD,SAAOQ,KAAYC,KAAa;AAClC;AACG,IAACC,IAAWR;","x_google_ignoreList":[0]}