@anoki/fse-ui 1.0.588 → 1.0.589

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 (444) hide show
  1. package/dist/components/navigations/HeaderDesktop/HeaderDesktop.css +1 -1
  2. package/dist/components/ui/AuthorWithImage/AuthorWithImage.css +1 -1
  3. package/dist/images/placeholder.png +0 -0
  4. package/dist/index.cjs10.js +1 -1
  5. package/dist/index.cjs122.js +1 -1
  6. package/dist/index.cjs123.js +1 -1
  7. package/dist/index.cjs124.js +1 -1
  8. package/dist/index.cjs125.js +1 -1
  9. package/dist/index.cjs126.js +1 -1
  10. package/dist/index.cjs127.js +1 -1
  11. package/dist/index.cjs128.js +1 -1
  12. package/dist/index.cjs129.js +1 -1
  13. package/dist/index.cjs130.js +1 -1
  14. package/dist/index.cjs131.js +1 -1
  15. package/dist/index.cjs132.js +1 -1
  16. package/dist/index.cjs133.js +1 -1
  17. package/dist/index.cjs134.js +1 -1
  18. package/dist/index.cjs135.js +1 -1
  19. package/dist/index.cjs136.js +1 -1
  20. package/dist/index.cjs137.js +1 -1
  21. package/dist/index.cjs138.js +1 -1
  22. package/dist/index.cjs139.js +1 -1
  23. package/dist/index.cjs140.js +1 -1
  24. package/dist/index.cjs141.js +1 -1
  25. package/dist/index.cjs142.js +1 -1
  26. package/dist/index.cjs143.js +1 -1
  27. package/dist/index.cjs147.js +1 -1
  28. package/dist/index.cjs148.js +1 -1
  29. package/dist/index.cjs149.js +1 -1
  30. package/dist/index.cjs151.js +1 -1
  31. package/dist/index.cjs152.js +1 -1
  32. package/dist/index.cjs153.js +1 -1
  33. package/dist/index.cjs154.js +1 -1
  34. package/dist/index.cjs155.js +1 -1
  35. package/dist/index.cjs156.js +1 -1
  36. package/dist/index.cjs157.js +1 -1
  37. package/dist/index.cjs158.js +1 -1
  38. package/dist/index.cjs159.js +1 -1
  39. package/dist/index.cjs161.js +1 -1
  40. package/dist/index.cjs162.js +1 -1
  41. package/dist/index.cjs163.js +1 -1
  42. package/dist/index.cjs164.js +1 -1
  43. package/dist/index.cjs165.js +1 -1
  44. package/dist/index.cjs166.js +1 -1
  45. package/dist/index.cjs167.js +1 -1
  46. package/dist/index.cjs169.js +1 -1
  47. package/dist/index.cjs170.js +1 -1
  48. package/dist/index.cjs171.js +1 -1
  49. package/dist/index.cjs172.js +1 -1
  50. package/dist/index.cjs173.js +1 -1
  51. package/dist/index.cjs174.js +1 -1
  52. package/dist/index.cjs175.js +1 -1
  53. package/dist/index.cjs209.js +1 -1
  54. package/dist/index.cjs209.js.map +1 -1
  55. package/dist/index.cjs210.js +2 -0
  56. package/dist/index.cjs210.js.map +1 -0
  57. package/dist/index.cjs219.js +1 -1
  58. package/dist/index.cjs22.js +1 -1
  59. package/dist/index.cjs225.js +1 -1
  60. package/dist/index.cjs228.js +1 -1
  61. package/dist/index.cjs229.js +1 -1
  62. package/dist/index.cjs230.js +1 -1
  63. package/dist/index.cjs230.js.map +1 -1
  64. package/dist/index.cjs236.js +1 -1
  65. package/dist/index.cjs246.js +1 -1
  66. package/dist/index.cjs25.js +1 -1
  67. package/dist/index.cjs251.js +1 -1
  68. package/dist/index.cjs253.js +1 -1
  69. package/dist/index.cjs260.js +1 -1
  70. package/dist/index.cjs261.js +1 -1
  71. package/dist/index.cjs265.js +1 -1
  72. package/dist/index.cjs270.js +1 -1
  73. package/dist/index.cjs272.js +1 -1
  74. package/dist/index.cjs278.js +1 -1
  75. package/dist/index.cjs279.js +1 -1
  76. package/dist/index.cjs280.js +1 -1
  77. package/dist/index.cjs318.js +1 -1
  78. package/dist/index.cjs34.js +1 -1
  79. package/dist/index.cjs34.js.map +1 -1
  80. package/dist/index.cjs355.js +1 -1
  81. package/dist/index.cjs356.js +1 -1
  82. package/dist/index.cjs362.js +2 -0
  83. package/dist/index.cjs362.js.map +1 -0
  84. package/dist/index.cjs363.js +1 -1
  85. package/dist/index.cjs363.js.map +1 -1
  86. package/dist/index.cjs365.js +1 -1
  87. package/dist/index.cjs365.js.map +1 -1
  88. package/dist/index.cjs366.js +1 -1
  89. package/dist/index.cjs366.js.map +1 -1
  90. package/dist/index.cjs367.js +1 -1
  91. package/dist/index.cjs367.js.map +1 -1
  92. package/dist/index.cjs368.js +1 -1
  93. package/dist/index.cjs368.js.map +1 -1
  94. package/dist/index.cjs369.js +1 -1
  95. package/dist/index.cjs369.js.map +1 -1
  96. package/dist/index.cjs370.js +1 -1
  97. package/dist/index.cjs370.js.map +1 -1
  98. package/dist/index.cjs371.js +2 -0
  99. package/dist/index.cjs371.js.map +1 -0
  100. package/dist/index.cjs372.js +2 -0
  101. package/dist/index.cjs372.js.map +1 -0
  102. package/dist/index.cjs375.js +1 -1
  103. package/dist/index.cjs375.js.map +1 -1
  104. package/dist/index.cjs376.js +2 -0
  105. package/dist/index.cjs376.js.map +1 -0
  106. package/dist/{index.cjs402.js → index.cjs377.js} +2 -2
  107. package/dist/{index.cjs402.js.map → index.cjs377.js.map} +1 -1
  108. package/dist/index.cjs378.js +2 -0
  109. package/dist/index.cjs378.js.map +1 -0
  110. package/dist/index.cjs379.js +1 -1
  111. package/dist/index.cjs379.js.map +1 -1
  112. package/dist/index.cjs380.js +1 -1
  113. package/dist/index.cjs380.js.map +1 -1
  114. package/dist/index.cjs381.js +1 -1
  115. package/dist/index.cjs381.js.map +1 -1
  116. package/dist/{index.cjs404.js → index.cjs382.js} +2 -2
  117. package/dist/{index.cjs404.js.map → index.cjs382.js.map} +1 -1
  118. package/dist/index.cjs383.js +2 -0
  119. package/dist/index.cjs383.js.map +1 -0
  120. package/dist/index.cjs384.js +1 -1
  121. package/dist/index.cjs384.js.map +1 -1
  122. package/dist/index.cjs385.js +1 -1
  123. package/dist/index.cjs385.js.map +1 -1
  124. package/dist/index.cjs386.js +1 -1
  125. package/dist/index.cjs386.js.map +1 -1
  126. package/dist/index.cjs387.js +1 -1
  127. package/dist/index.cjs387.js.map +1 -1
  128. package/dist/index.cjs388.js +1 -1
  129. package/dist/index.cjs388.js.map +1 -1
  130. package/dist/index.cjs389.js +1 -1
  131. package/dist/index.cjs389.js.map +1 -1
  132. package/dist/index.cjs390.js +1 -1
  133. package/dist/index.cjs390.js.map +1 -1
  134. package/dist/index.cjs391.js +2 -0
  135. package/dist/index.cjs391.js.map +1 -0
  136. package/dist/{index.cjs374.js → index.cjs392.js} +2 -2
  137. package/dist/{index.cjs374.js.map → index.cjs392.js.map} +1 -1
  138. package/dist/index.cjs393.js +2 -0
  139. package/dist/index.cjs393.js.map +1 -0
  140. package/dist/{index.cjs373.js → index.cjs396.js} +1 -1
  141. package/dist/{index.cjs373.js.map → index.cjs396.js.map} +1 -1
  142. package/dist/index.cjs397.js +2 -0
  143. package/dist/index.cjs397.js.map +1 -0
  144. package/dist/index.cjs398.js +2 -0
  145. package/dist/index.cjs398.js.map +1 -0
  146. package/dist/index.cjs399.js +2 -0
  147. package/dist/index.cjs399.js.map +1 -0
  148. package/dist/index.cjs403.js +1 -1
  149. package/dist/index.cjs403.js.map +1 -1
  150. package/dist/index.cjs407.js +1 -1
  151. package/dist/index.cjs407.js.map +1 -1
  152. package/dist/index.cjs408.js +1 -1
  153. package/dist/index.cjs408.js.map +1 -1
  154. package/dist/index.cjs409.js +1 -1
  155. package/dist/index.cjs409.js.map +1 -1
  156. package/dist/index.cjs410.js +4 -1
  157. package/dist/index.cjs410.js.map +1 -1
  158. package/dist/index.cjs411.js +1 -1
  159. package/dist/index.cjs411.js.map +1 -1
  160. package/dist/index.cjs412.js +1 -1
  161. package/dist/index.cjs412.js.map +1 -1
  162. package/dist/index.cjs413.js +1 -1
  163. package/dist/index.cjs413.js.map +1 -1
  164. package/dist/index.cjs414.js +1 -1
  165. package/dist/index.cjs414.js.map +1 -1
  166. package/dist/index.cjs422.js +1 -1
  167. package/dist/index.cjs423.js +1 -1
  168. package/dist/index.cjs424.js +1 -1
  169. package/dist/index.cjs429.js +1 -1
  170. package/dist/index.cjs429.js.map +1 -1
  171. package/dist/index.cjs430.js +1 -1
  172. package/dist/index.cjs430.js.map +1 -1
  173. package/dist/index.cjs431.js +1 -1
  174. package/dist/index.cjs431.js.map +1 -1
  175. package/dist/index.cjs432.js +1 -1
  176. package/dist/index.cjs432.js.map +1 -1
  177. package/dist/index.cjs439.js +1 -1
  178. package/dist/index.cjs442.js +1 -1
  179. package/dist/index.cjs445.js +1 -1
  180. package/dist/index.cjs453.js +1 -1
  181. package/dist/index.cjs453.js.map +1 -1
  182. package/dist/index.cjs454.js +1 -1
  183. package/dist/index.cjs454.js.map +1 -1
  184. package/dist/index.cjs455.js +1 -1
  185. package/dist/index.cjs455.js.map +1 -1
  186. package/dist/index.cjs456.js +1 -1
  187. package/dist/index.cjs456.js.map +1 -1
  188. package/dist/index.cjs457.js +1 -1
  189. package/dist/index.cjs457.js.map +1 -1
  190. package/dist/index.cjs458.js +1 -1
  191. package/dist/index.cjs458.js.map +1 -1
  192. package/dist/index.cjs459.js +1 -1
  193. package/dist/index.cjs459.js.map +1 -1
  194. package/dist/index.cjs57.js +1 -1
  195. package/dist/index.cjs6.js +1 -1
  196. package/dist/index.cjs7.js +1 -1
  197. package/dist/index.cjs8.js +1 -1
  198. package/dist/index.cjs9.js +1 -1
  199. package/dist/index.es10.js +2 -2
  200. package/dist/index.es122.js +1 -1
  201. package/dist/index.es123.js +1 -1
  202. package/dist/index.es124.js +1 -1
  203. package/dist/index.es125.js +1 -1
  204. package/dist/index.es126.js +1 -1
  205. package/dist/index.es127.js +1 -1
  206. package/dist/index.es128.js +1 -1
  207. package/dist/index.es129.js +1 -1
  208. package/dist/index.es130.js +1 -1
  209. package/dist/index.es131.js +1 -1
  210. package/dist/index.es132.js +1 -1
  211. package/dist/index.es133.js +1 -1
  212. package/dist/index.es134.js +1 -1
  213. package/dist/index.es135.js +1 -1
  214. package/dist/index.es136.js +1 -1
  215. package/dist/index.es137.js +1 -1
  216. package/dist/index.es138.js +1 -1
  217. package/dist/index.es139.js +1 -1
  218. package/dist/index.es140.js +1 -1
  219. package/dist/index.es141.js +1 -1
  220. package/dist/index.es142.js +1 -1
  221. package/dist/index.es143.js +1 -1
  222. package/dist/index.es147.js +1 -1
  223. package/dist/index.es148.js +1 -1
  224. package/dist/index.es149.js +1 -1
  225. package/dist/index.es151.js +1 -1
  226. package/dist/index.es152.js +1 -1
  227. package/dist/index.es153.js +1 -1
  228. package/dist/index.es154.js +1 -1
  229. package/dist/index.es155.js +1 -1
  230. package/dist/index.es156.js +1 -1
  231. package/dist/index.es157.js +1 -1
  232. package/dist/index.es158.js +1 -1
  233. package/dist/index.es159.js +1 -1
  234. package/dist/index.es161.js +1 -1
  235. package/dist/index.es162.js +1 -1
  236. package/dist/index.es163.js +1 -1
  237. package/dist/index.es164.js +1 -1
  238. package/dist/index.es165.js +1 -1
  239. package/dist/index.es166.js +1 -1
  240. package/dist/index.es167.js +1 -1
  241. package/dist/index.es169.js +1 -1
  242. package/dist/index.es170.js +1 -1
  243. package/dist/index.es171.js +1 -1
  244. package/dist/index.es172.js +1 -1
  245. package/dist/index.es173.js +1 -1
  246. package/dist/index.es174.js +1 -1
  247. package/dist/index.es175.js +1 -1
  248. package/dist/index.es209.js +2 -27
  249. package/dist/index.es209.js.map +1 -1
  250. package/dist/index.es210.js +30 -0
  251. package/dist/index.es210.js.map +1 -0
  252. package/dist/index.es219.js +1 -1
  253. package/dist/index.es22.js +1 -1
  254. package/dist/index.es225.js +7 -7
  255. package/dist/index.es228.js +1 -1
  256. package/dist/index.es229.js +1 -1
  257. package/dist/index.es230.js +6 -6
  258. package/dist/index.es230.js.map +1 -1
  259. package/dist/index.es236.js +8 -8
  260. package/dist/index.es246.js +1 -1
  261. package/dist/index.es25.js +1 -1
  262. package/dist/index.es251.js +1 -1
  263. package/dist/index.es253.js +14 -14
  264. package/dist/index.es260.js +1 -1
  265. package/dist/index.es261.js +1 -1
  266. package/dist/index.es265.js +1 -1
  267. package/dist/index.es270.js +1 -1
  268. package/dist/index.es272.js +1 -1
  269. package/dist/index.es278.js +1 -1
  270. package/dist/index.es279.js +1 -1
  271. package/dist/index.es280.js +7 -7
  272. package/dist/index.es318.js +4 -4
  273. package/dist/index.es34.js +101 -58
  274. package/dist/index.es34.js.map +1 -1
  275. package/dist/index.es355.js +1 -1
  276. package/dist/index.es356.js +1 -1
  277. package/dist/index.es362.js +5 -0
  278. package/dist/index.es362.js.map +1 -0
  279. package/dist/index.es363.js +2 -7
  280. package/dist/index.es363.js.map +1 -1
  281. package/dist/index.es365.js +5 -66
  282. package/dist/index.es365.js.map +1 -1
  283. package/dist/index.es366.js +25 -28
  284. package/dist/index.es366.js.map +1 -1
  285. package/dist/index.es367.js +67 -32
  286. package/dist/index.es367.js.map +1 -1
  287. package/dist/index.es368.js +27 -619
  288. package/dist/index.es368.js.map +1 -1
  289. package/dist/index.es369.js +32 -10
  290. package/dist/index.es369.js.map +1 -1
  291. package/dist/index.es370.js +620 -13
  292. package/dist/index.es370.js.map +1 -1
  293. package/dist/index.es371.js +14 -0
  294. package/dist/index.es371.js.map +1 -0
  295. package/dist/index.es372.js +18 -0
  296. package/dist/index.es372.js.map +1 -0
  297. package/dist/index.es375.js +10 -68
  298. package/dist/index.es375.js.map +1 -1
  299. package/dist/index.es376.js +56 -0
  300. package/dist/index.es376.js.map +1 -0
  301. package/dist/{index.es402.js → index.es377.js} +4 -4
  302. package/dist/{index.es402.js.map → index.es377.js.map} +1 -1
  303. package/dist/index.es378.js +11 -0
  304. package/dist/index.es378.js.map +1 -0
  305. package/dist/index.es379.js +125 -2
  306. package/dist/index.es379.js.map +1 -1
  307. package/dist/index.es380.js +15 -2
  308. package/dist/index.es380.js.map +1 -1
  309. package/dist/index.es381.js +133 -13
  310. package/dist/index.es381.js.map +1 -1
  311. package/dist/{index.es404.js → index.es382.js} +10 -10
  312. package/dist/{index.es404.js.map → index.es382.js.map} +1 -1
  313. package/dist/index.es383.js +17 -0
  314. package/dist/index.es383.js.map +1 -0
  315. package/dist/index.es384.js +64 -120
  316. package/dist/index.es384.js.map +1 -1
  317. package/dist/index.es385.js +170 -127
  318. package/dist/index.es385.js.map +1 -1
  319. package/dist/index.es386.js +50 -14
  320. package/dist/index.es386.js.map +1 -1
  321. package/dist/index.es387.js +8 -14
  322. package/dist/index.es387.js.map +1 -1
  323. package/dist/index.es388.js +4 -9
  324. package/dist/index.es388.js.map +1 -1
  325. package/dist/index.es389.js +12 -50
  326. package/dist/index.es389.js.map +1 -1
  327. package/dist/index.es390.js +198 -46
  328. package/dist/index.es390.js.map +1 -1
  329. package/dist/index.es391.js +25 -0
  330. package/dist/index.es391.js.map +1 -0
  331. package/dist/{index.es374.js → index.es392.js} +2 -2
  332. package/dist/{index.es374.js.map → index.es392.js.map} +1 -1
  333. package/dist/index.es393.js +396 -0
  334. package/dist/index.es393.js.map +1 -0
  335. package/dist/{index.es373.js → index.es396.js} +1 -1
  336. package/dist/{index.es373.js.map → index.es396.js.map} +1 -1
  337. package/dist/index.es397.js +28 -0
  338. package/dist/index.es397.js.map +1 -0
  339. package/dist/index.es398.js +32 -0
  340. package/dist/index.es398.js.map +1 -0
  341. package/dist/index.es399.js +8 -0
  342. package/dist/index.es399.js.map +1 -0
  343. package/dist/index.es403.js +14 -7
  344. package/dist/index.es403.js.map +1 -1
  345. package/dist/index.es407.js +5 -12
  346. package/dist/index.es407.js.map +1 -1
  347. package/dist/index.es408.js +3 -205
  348. package/dist/index.es408.js.map +1 -1
  349. package/dist/index.es409.js +23 -21
  350. package/dist/index.es409.js.map +1 -1
  351. package/dist/index.es410.js +105 -388
  352. package/dist/index.es410.js.map +1 -1
  353. package/dist/index.es411.js +14 -23
  354. package/dist/index.es411.js.map +1 -1
  355. package/dist/index.es412.js +521 -27
  356. package/dist/index.es412.js.map +1 -1
  357. package/dist/index.es413.js +127 -5
  358. package/dist/index.es413.js.map +1 -1
  359. package/dist/index.es414.js +129 -5
  360. package/dist/index.es414.js.map +1 -1
  361. package/dist/index.es422.js +1 -1
  362. package/dist/index.es423.js +2 -2
  363. package/dist/index.es424.js +1 -1
  364. package/dist/index.es429.js +11 -21
  365. package/dist/index.es429.js.map +1 -1
  366. package/dist/index.es430.js +26 -11
  367. package/dist/index.es430.js.map +1 -1
  368. package/dist/index.es431.js +4 -27
  369. package/dist/index.es431.js.map +1 -1
  370. package/dist/index.es432.js +22 -4
  371. package/dist/index.es432.js.map +1 -1
  372. package/dist/index.es439.js +2 -2
  373. package/dist/index.es442.js +3 -3
  374. package/dist/index.es445.js +9 -9
  375. package/dist/index.es453.js +2 -4
  376. package/dist/index.es453.js.map +1 -1
  377. package/dist/index.es454.js +2 -3
  378. package/dist/index.es454.js.map +1 -1
  379. package/dist/index.es455.js +3 -2
  380. package/dist/index.es455.js.map +1 -1
  381. package/dist/index.es456.js +2 -4
  382. package/dist/index.es456.js.map +1 -1
  383. package/dist/index.es457.js +3 -4
  384. package/dist/index.es457.js.map +1 -1
  385. package/dist/index.es458.js +4 -3
  386. package/dist/index.es458.js.map +1 -1
  387. package/dist/index.es459.js +6 -2
  388. package/dist/index.es459.js.map +1 -1
  389. package/dist/index.es57.js +1 -1
  390. package/dist/index.es6.js +1 -1
  391. package/dist/index.es7.js +1 -1
  392. package/dist/index.es8.js +1 -1
  393. package/dist/index.es9.js +2 -2
  394. package/package.json +1 -1
  395. package/dist/index.cjs211.js +0 -2
  396. package/dist/index.cjs211.js.map +0 -1
  397. package/dist/index.cjs364.js +0 -2
  398. package/dist/index.cjs364.js.map +0 -1
  399. package/dist/index.cjs401.js +0 -2
  400. package/dist/index.cjs401.js.map +0 -1
  401. package/dist/index.cjs405.js +0 -2
  402. package/dist/index.cjs405.js.map +0 -1
  403. package/dist/index.cjs406.js +0 -2
  404. package/dist/index.cjs406.js.map +0 -1
  405. package/dist/index.cjs415.js +0 -2
  406. package/dist/index.cjs415.js.map +0 -1
  407. package/dist/index.cjs416.js +0 -2
  408. package/dist/index.cjs416.js.map +0 -1
  409. package/dist/index.cjs417.js +0 -5
  410. package/dist/index.cjs417.js.map +0 -1
  411. package/dist/index.cjs418.js +0 -2
  412. package/dist/index.cjs418.js.map +0 -1
  413. package/dist/index.cjs419.js +0 -2
  414. package/dist/index.cjs419.js.map +0 -1
  415. package/dist/index.cjs420.js +0 -2
  416. package/dist/index.cjs420.js.map +0 -1
  417. package/dist/index.cjs421.js +0 -2
  418. package/dist/index.cjs421.js.map +0 -1
  419. package/dist/index.es211.js +0 -5
  420. package/dist/index.es211.js.map +0 -1
  421. package/dist/index.es364.js +0 -30
  422. package/dist/index.es364.js.map +0 -1
  423. package/dist/index.es401.js +0 -14
  424. package/dist/index.es401.js.map +0 -1
  425. package/dist/index.es405.js +0 -181
  426. package/dist/index.es405.js.map +0 -1
  427. package/dist/index.es406.js +0 -7
  428. package/dist/index.es406.js.map +0 -1
  429. package/dist/index.es415.js +0 -6
  430. package/dist/index.es415.js.map +0 -1
  431. package/dist/index.es416.js +0 -27
  432. package/dist/index.es416.js.map +0 -1
  433. package/dist/index.es417.js +0 -113
  434. package/dist/index.es417.js.map +0 -1
  435. package/dist/index.es418.js +0 -19
  436. package/dist/index.es418.js.map +0 -1
  437. package/dist/index.es419.js +0 -526
  438. package/dist/index.es419.js.map +0 -1
  439. package/dist/index.es420.js +0 -130
  440. package/dist/index.es420.js.map +0 -1
  441. package/dist/index.es421.js +0 -132
  442. package/dist/index.es421.js.map +0 -1
  443. /package/dist/components/ui/{ConsentModal/ConsentModalContent/ConsentModalContent.css → DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css} +0 -0
  444. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1,31 +1,8 @@
1
- import { getNonce as o } from "./index.es432.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
26
- };
1
+ var e = function() {
2
+ if (typeof __webpack_nonce__ < "u")
3
+ return __webpack_nonce__;
27
4
  };
28
5
  export {
29
- c as stylesheetSingleton
6
+ e as getNonce
30
7
  };
31
8
  //# sourceMappingURL=index.es431.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es431.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es431.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
@@ -1,8 +1,26 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
1
+ var a = {
2
+ left: 0,
3
+ top: 0,
4
+ right: 0,
5
+ gap: 0
6
+ }, e = function(t) {
7
+ return parseInt(t || "", 10) || 0;
8
+ }, o = function(t) {
9
+ var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
+ return [e(i), e(r), e(d)];
11
+ }, f = function(t) {
12
+ if (t === void 0 && (t = "margin"), typeof window > "u")
13
+ return a;
14
+ var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
+ return {
16
+ left: n[0],
17
+ top: n[1],
18
+ right: n[2],
19
+ gap: Math.max(0, r - i + n[2] - n[0])
20
+ };
4
21
  };
5
22
  export {
6
- e as getNonce
23
+ f as getGapWidth,
24
+ a as zeroGap
7
25
  };
8
26
  //# sourceMappingURL=index.es432.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es432.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es432.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
- import { asChildPropDef as r } from "./index.es453.js";
2
- import { radiusPropDef as o } from "./index.es454.js";
1
+ import { asChildPropDef as r } from "./index.es454.js";
2
+ import { radiusPropDef as o } from "./index.es455.js";
3
3
  const s = ["1", "2", "3"], l = { ...r, size: { values: s, default: "1" }, ...o, scrollbars: { default: "both" } };
4
4
  export {
5
5
  l as scrollAreaPropDefs
@@ -1,6 +1,6 @@
1
- import { breakpoints as l } from "./index.es455.js";
2
- import { hasOwnProperty as p } from "./index.es456.js";
3
- import { isResponsiveObject as m } from "./index.es457.js";
1
+ import { breakpoints as l } from "./index.es456.js";
2
+ import { hasOwnProperty as p } from "./index.es457.js";
3
+ import { isResponsiveObject as m } from "./index.es458.js";
4
4
  function V({ className: n, customProperties: i, ...t }) {
5
5
  const u = v({ allowArbitraryValues: !0, className: n, ...t }), s = d({ customProperties: i, ...t });
6
6
  return [u, s];
@@ -1,13 +1,13 @@
1
1
  import * as c from "react";
2
- import { Primitive as L } from "./index.es367.js";
3
- import { Presence as O } from "./index.es375.js";
4
- import { createContextScope as le } from "./index.es365.js";
5
- import { useComposedRefs as T } from "./index.es364.js";
6
- import { useCallbackRef as x } from "./index.es401.js";
7
- import { useDirection as ce } from "./index.es403.js";
8
- import { useLayoutEffect as se } from "./index.es406.js";
9
- import { clamp as ie } from "./index.es458.js";
10
- import { composeEventHandlers as C } from "./index.es363.js";
2
+ import { Primitive as L } from "./index.es369.js";
3
+ import { Presence as O } from "./index.es384.js";
4
+ import { createContextScope as le } from "./index.es367.js";
5
+ import { useComposedRefs as T } from "./index.es366.js";
6
+ import { useCallbackRef as x } from "./index.es375.js";
7
+ import { useDirection as ce } from "./index.es378.js";
8
+ import { useLayoutEffect as se } from "./index.es388.js";
9
+ import { clamp as ie } from "./index.es459.js";
10
+ import { composeEventHandlers as C } from "./index.es365.js";
11
11
  import { j as b } from "./index.es196.js";
12
12
  function ae(e, t) {
13
13
  return c.useReducer((r, l) => t[r][l] ?? r, e);
@@ -1,5 +1,3 @@
1
- const o = { asChild: { type: "boolean" } };
2
- export {
3
- o as asChildPropDef
4
- };
1
+ import { __require as e } from "./index.es460.js";
2
+ e();
5
3
  //# sourceMappingURL=index.es453.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es453.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js"],"sourcesContent":["const o={asChild:{type:\"boolean\"}};export{o as asChildPropDef};\n//# sourceMappingURL=as-child.prop.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,EAAC,SAAQ,EAAC,MAAK,UAAS,EAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es453.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,6 +1,5 @@
1
- const e = ["none", "small", "medium", "large", "full"], a = { radius: { type: "enum", values: e, default: void 0 } };
1
+ const o = { asChild: { type: "boolean" } };
2
2
  export {
3
- e as radii,
4
- a as radiusPropDef
3
+ o as asChildPropDef
5
4
  };
6
5
  //# sourceMappingURL=index.es454.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es454.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js"],"sourcesContent":["const e=[\"none\",\"small\",\"medium\",\"large\",\"full\"],r={radius:{type:\"enum\",values:e,default:void 0}};export{e as radii,r as radiusPropDef};\n//# sourceMappingURL=radius.prop.js.map\n"],"names":["r"],"mappings":"AAAK,MAAC,IAAE,CAAC,QAAO,SAAQ,UAAS,SAAQ,MAAM,GAAEA,IAAE,EAAC,QAAO,EAAC,MAAK,QAAO,QAAO,GAAE,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es454.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/as-child.prop.js"],"sourcesContent":["const o={asChild:{type:\"boolean\"}};export{o as asChildPropDef};\n//# sourceMappingURL=as-child.prop.js.map\n"],"names":[],"mappings":"AAAK,MAAC,IAAE,EAAC,SAAQ,EAAC,MAAK,UAAS,EAAC;","x_google_ignoreList":[0]}
@@ -1,5 +1,6 @@
1
- const s = ["initial", "xs", "sm", "md", "lg", "xl"];
1
+ const e = ["none", "small", "medium", "large", "full"], a = { radius: { type: "enum", values: e, default: void 0 } };
2
2
  export {
3
- s as breakpoints
3
+ e as radii,
4
+ a as radiusPropDef
4
5
  };
5
6
  //# sourceMappingURL=index.es455.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es455.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/prop-def.js"],"sourcesContent":["const e=[\"initial\",\"xs\",\"sm\",\"md\",\"lg\",\"xl\"];export{e as breakpoints};\n//# sourceMappingURL=prop-def.js.map\n"],"names":["e"],"mappings":"AAAK,MAACA,IAAE,CAAC,WAAU,MAAK,MAAK,MAAK,MAAK,IAAI;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es455.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/radius.prop.js"],"sourcesContent":["const e=[\"none\",\"small\",\"medium\",\"large\",\"full\"],r={radius:{type:\"enum\",values:e,default:void 0}};export{e as radii,r as radiusPropDef};\n//# sourceMappingURL=radius.prop.js.map\n"],"names":["r"],"mappings":"AAAK,MAAC,IAAE,CAAC,QAAO,SAAQ,UAAS,SAAQ,MAAM,GAAEA,IAAE,EAAC,QAAO,EAAC,MAAK,QAAO,QAAO,GAAE,SAAQ,OAAM,EAAC;","x_google_ignoreList":[0]}
@@ -1,7 +1,5 @@
1
- function e(r, t) {
2
- return Object.prototype.hasOwnProperty.call(r, t);
3
- }
1
+ const s = ["initial", "xs", "sm", "md", "lg", "xl"];
4
2
  export {
5
- e as hasOwnProperty
3
+ s as breakpoints
6
4
  };
7
5
  //# sourceMappingURL=index.es456.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es456.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js"],"sourcesContent":["function e(n,r){return Object.prototype.hasOwnProperty.call(n,r)}export{e as hasOwnProperty};\n//# sourceMappingURL=has-own-property.js.map\n"],"names":["n","r"],"mappings":"AAAA,SAAS,EAAEA,GAAEC,GAAE;AAAC,SAAO,OAAO,UAAU,eAAe,KAAKD,GAAEC,CAAC;AAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es456.js","sources":["../node_modules/@radix-ui/themes/dist/esm/props/prop-def.js"],"sourcesContent":["const e=[\"initial\",\"xs\",\"sm\",\"md\",\"lg\",\"xl\"];export{e as breakpoints};\n//# sourceMappingURL=prop-def.js.map\n"],"names":["e"],"mappings":"AAAK,MAACA,IAAE,CAAC,WAAU,MAAK,MAAK,MAAK,MAAK,IAAI;","x_google_ignoreList":[0]}
@@ -1,8 +1,7 @@
1
- import { breakpoints as s } from "./index.es455.js";
2
- function i(e) {
3
- return typeof e == "object" && Object.keys(e).some((o) => s.includes(o));
1
+ function e(r, t) {
2
+ return Object.prototype.hasOwnProperty.call(r, t);
4
3
  }
5
4
  export {
6
- i as isResponsiveObject
5
+ e as hasOwnProperty
7
6
  };
8
7
  //# sourceMappingURL=index.es457.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es457.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js"],"sourcesContent":["import{breakpoints as o}from\"../props/prop-def.js\";function i(e){return typeof e==\"object\"&&Object.keys(e).some(s=>o.includes(s))}export{i as isResponsiveObject};\n//# sourceMappingURL=is-responsive-object.js.map\n"],"names":["e","s","o"],"mappings":";AAAmD,SAAS,EAAEA,GAAE;AAAC,SAAO,OAAOA,KAAG,YAAU,OAAO,KAAKA,CAAC,EAAE,KAAK,CAAAC,MAAGC,EAAE,SAASD,CAAC,CAAC;AAAC;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es457.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/has-own-property.js"],"sourcesContent":["function e(n,r){return Object.prototype.hasOwnProperty.call(n,r)}export{e as hasOwnProperty};\n//# sourceMappingURL=has-own-property.js.map\n"],"names":["n","r"],"mappings":"AAAA,SAAS,EAAEA,GAAEC,GAAE;AAAC,SAAO,OAAO,UAAU,eAAe,KAAKD,GAAEC,CAAC;AAAC;","x_google_ignoreList":[0]}
@@ -1,7 +1,8 @@
1
- function m(t, [a, n]) {
2
- return Math.min(n, Math.max(a, t));
1
+ import { breakpoints as s } from "./index.es456.js";
2
+ function i(e) {
3
+ return typeof e == "object" && Object.keys(e).some((o) => s.includes(o));
3
4
  }
4
5
  export {
5
- m as clamp
6
+ i as isResponsiveObject
6
7
  };
7
8
  //# sourceMappingURL=index.es458.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es458.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es458.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/is-responsive-object.js"],"sourcesContent":["import{breakpoints as o}from\"../props/prop-def.js\";function i(e){return typeof e==\"object\"&&Object.keys(e).some(s=>o.includes(s))}export{i as isResponsiveObject};\n//# sourceMappingURL=is-responsive-object.js.map\n"],"names":["e","s","o"],"mappings":";AAAmD,SAAS,EAAEA,GAAE;AAAC,SAAO,OAAOA,KAAG,YAAU,OAAO,KAAKA,CAAC,EAAE,KAAK,CAAAC,MAAGC,EAAE,SAASD,CAAC,CAAC;AAAC;","x_google_ignoreList":[0]}
@@ -1,3 +1,7 @@
1
- import { __require as e } from "./index.es460.js";
2
- e();
1
+ function m(t, [a, n]) {
2
+ return Math.min(n, Math.max(a, t));
3
+ }
4
+ export {
5
+ m as clamp
6
+ };
3
7
  //# sourceMappingURL=index.es459.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es459.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index.es459.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"AACA,SAASA,EAAMC,GAAO,CAACC,GAAKC,CAAG,GAAG;AAChC,SAAO,KAAK,IAAIA,GAAK,KAAK,IAAID,GAAKD,CAAK,CAAC;AAC3C;","x_google_ignoreList":[0]}
@@ -1,5 +1,5 @@
1
1
  import { j as s } from "./index.es196.js";
2
- import { createColorClasses as l } from "./index.es211.js";
2
+ import { createColorClasses as l } from "./index.es209.js";
3
3
  import { clsx as x } from "./index.es198.js";
4
4
  const p = ({
5
5
  initials: e,
package/dist/index.es6.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as p } from "./index.es196.js";
2
2
  import { clsx as l } from "./index.es198.js";
3
3
  import { useMemo as u } from "react";
4
- import { createSpacingClasses as x } from "./index.es209.js";
4
+ import { createSpacingClasses as x } from "./index.es210.js";
5
5
  import './components/ui/Container/Container.css';/* empty css */
6
6
  const v = ({
7
7
  as: o,
package/dist/index.es7.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as a } from "./index.es196.js";
2
2
  import { useMemo as i } from "react";
3
3
  import { clsx as m } from "./index.es198.js";
4
- import { createSpacingClasses as c } from "./index.es209.js";
4
+ import { createSpacingClasses as c } from "./index.es210.js";
5
5
  const g = ({
6
6
  as: o,
7
7
  className: r,
package/dist/index.es8.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { j as g } from "./index.es196.js";
2
2
  import { useMemo as s } from "react";
3
3
  import { clsx as x } from "./index.es198.js";
4
- import { createSpacingClasses as f } from "./index.es209.js";
4
+ import { createSpacingClasses as f } from "./index.es210.js";
5
5
  const v = ({
6
6
  as: e,
7
7
  className: i,
package/dist/index.es9.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { j as x } from "./index.es196.js";
2
2
  import { useMemo as y } from "react";
3
3
  import { clsx as g } from "./index.es198.js";
4
- import { createSpacingClasses as j } from "./index.es209.js";
5
- import { createColorClasses as u } from "./index.es211.js";
4
+ import { createSpacingClasses as j } from "./index.es210.js";
5
+ import { createColorClasses as u } from "./index.es209.js";
6
6
  import { createTypographyClasses as h } from "./index.es212.js";
7
7
  const E = ({
8
8
  as: o,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anoki/fse-ui",
3
- "version": "1.0.588",
3
+ "version": "1.0.589",
4
4
  "description": "FSE UI components library",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=["bg","text","color","border"],o=e=>t.map(r=>e[r]?r==="color"?`text-${e[r]}`:`${r}-${e[r]}`:"").filter(Boolean);exports.createColorClasses=o;
2
- //# sourceMappingURL=index.cjs211.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs211.js","sources":["../src/theme/colors.ts"],"sourcesContent":["export type ColorKeys =\n | \"primary\"\n | \"white\"\n | \"status-success\"\n | \"warning\"\n | \"error\"\n | \"muted\"\n | \"emphasis\"\n | \"slate-20\"\n | \"slate-14\"\n | \"slate-28\"\n | \"border-divider\"\n | \"transparent\"\n | \"blue-30\"\n | \"disabled\"\n | \"lightblue-a01\"\n | \"lightblue-a02\"\n | \"lightblue-a03\"\n | \"secondary\"\n | \"blue-48\";\n\nexport type ColorProps = {\n bg?: ColorKeys;\n text?: ColorKeys;\n color?: ColorKeys;\n border?: ColorKeys;\n};\n\nexport type ColorPropsKeys = keyof ColorProps;\nconst colorPropsKeys: ColorPropsKeys[] = [\"bg\", \"text\", \"color\", \"border\"];\n\nexport const createColorClasses = <TProps extends ColorProps>(\n props: TProps,\n) => {\n return colorPropsKeys\n .map((key) => {\n if (!props[key]) return \"\";\n\n if (key === \"color\") return `text-${props[key]}`;\n return `${key}-${props[key]}`;\n })\n .filter(Boolean);\n};\n"],"names":["colorPropsKeys","createColorClasses","props","key"],"mappings":"gFA6BA,MAAMA,EAAmC,CAAC,KAAM,OAAQ,QAAS,QAAQ,EAE5DC,EACXC,GAEOF,EACJ,IAAKG,GACCD,EAAMC,CAAG,EAEVA,IAAQ,QAAgB,QAAQD,EAAMC,CAAG,CAAC,GACvC,GAAGA,CAAG,IAAID,EAAMC,CAAG,CAAC,GAHH,EAIzB,EACA,OAAO,OAAO"}
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const u=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,u.get?u:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=f(l);function r(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function s(...e){return t=>{let n=!1;const u=e.map(o=>{const c=r(o,t);return!n&&typeof c=="function"&&(n=!0),c});if(n)return()=>{for(let o=0;o<u.length;o++){const c=u[o];typeof c=="function"?c():r(e[o],null)}}}}function a(...e){return i.useCallback(s(...e),e)}exports.composeRefs=s;exports.useComposedRefs=a;
2
- //# sourceMappingURL=index.cjs364.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs364.js","sources":["../node_modules/@radix-ui/react-compose-refs/dist/index.mjs"],"sourcesContent":["// packages/react/compose-refs/src/compose-refs.tsx\nimport * as React from \"react\";\nfunction setRef(ref, value) {\n if (typeof ref === \"function\") {\n return ref(value);\n } else if (ref !== null && ref !== void 0) {\n ref.current = value;\n }\n}\nfunction composeRefs(...refs) {\n return (node) => {\n let hasCleanup = false;\n const cleanups = refs.map((ref) => {\n const cleanup = setRef(ref, node);\n if (!hasCleanup && typeof cleanup == \"function\") {\n hasCleanup = true;\n }\n return cleanup;\n });\n if (hasCleanup) {\n return () => {\n for (let i = 0; i < cleanups.length; i++) {\n const cleanup = cleanups[i];\n if (typeof cleanup == \"function\") {\n cleanup();\n } else {\n setRef(refs[i], null);\n }\n }\n };\n }\n };\n}\nfunction useComposedRefs(...refs) {\n return React.useCallback(composeRefs(...refs), refs);\n}\nexport {\n composeRefs,\n useComposedRefs\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["setRef","ref","value","composeRefs","refs","node","hasCleanup","cleanups","cleanup","i","useComposedRefs","React"],"mappings":"mYAEA,SAASA,EAAOC,EAAKC,EAAO,CAC1B,GAAI,OAAOD,GAAQ,WACjB,OAAOA,EAAIC,CAAK,EACPD,GAAQ,OACjBA,EAAI,QAAUC,EAElB,CACA,SAASC,KAAeC,EAAM,CAC5B,OAAQC,GAAS,CACf,IAAIC,EAAa,GACjB,MAAMC,EAAWH,EAAK,IAAKH,GAAQ,CACjC,MAAMO,EAAUR,EAAOC,EAAKI,CAAI,EAChC,MAAI,CAACC,GAAc,OAAOE,GAAW,aACnCF,EAAa,IAERE,CACb,CAAK,EACD,GAAIF,EACF,MAAO,IAAM,CACX,QAASG,EAAI,EAAGA,EAAIF,EAAS,OAAQE,IAAK,CACxC,MAAMD,EAAUD,EAASE,CAAC,EACtB,OAAOD,GAAW,WACpBA,EAAS,EAETR,EAAOI,EAAKK,CAAC,EAAG,IAAI,CAEhC,CACO,CAEJ,CACH,CACA,SAASC,KAAmBN,EAAM,CAChC,OAAOO,EAAM,YAAYR,EAAY,GAAGC,CAAI,EAAGA,CAAI,CACrD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
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.cjs401.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs401.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,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs363.js"),B=require("./index.cjs402.js"),Y=require("./index.cjs364.js"),z=require("./index.cjs365.js"),V=require("./index.cjs369.js"),D=require("./index.cjs367.js"),J=require("./index.cjs401.js"),Q=require("./index.cjs366.js"),W=require("./index.cjs403.js"),f=require("./index.cjs196.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
- //# sourceMappingURL=index.cjs405.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs405.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,E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,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 +0,0 @@
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
- //# sourceMappingURL=index.cjs406.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs406.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 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs422.js");var r=e.createSidecarMedium();exports.effectCar=r;
2
- //# sourceMappingURL=index.cjs415.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs415.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,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs427.js"),g=require("./index.cjs428.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;
2
- //# sourceMappingURL=index.cjs416.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs416.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,5 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs411.js"),q=require("react"),j=require("./index.cjs423.js"),_=require("./index.cjs424.js"),d=require("./index.cjs425.js"),E=require("./index.cjs426.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;
5
- //# sourceMappingURL=index.cjs417.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs417.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":"8hBAMU,IAACA,EAAa,SAAUC,EAAO,CACrC,MAAO,mBAAoBA,EAAQ,CAACA,EAAM,eAAe,CAAC,EAAE,QAASA,EAAM,eAAe,CAAC,EAAE,OAAO,EAAI,CAAC,EAAG,CAAC,CACjH,EACWC,EAAa,SAAUD,EAAO,CAAE,MAAO,CAACA,EAAM,OAAQA,EAAM,MAAM,CAAE,EAC3EE,EAAa,SAAUC,EAAK,CAC5B,OAAOA,GAAO,YAAaA,EAAMA,EAAI,QAAUA,CACnD,EACIC,EAAe,SAAUC,EAAGC,EAAG,CAAE,OAAOD,EAAE,CAAC,IAAMC,EAAE,CAAC,GAAKD,EAAE,CAAC,IAAMC,EAAE,CAAC,CAAI,EACzEC,EAAgB,SAAUC,EAAI,CAAE,MAAO;AAAA,yBAA4B,OAAOA,EAAI;AAAA,wBAAmD,EAAE,OAAOA,EAAI;AAAA,CAA2B,CAAI,EAC7KC,EAAY,EACZC,EAAY,CAAE,EACX,SAASC,EAAoBC,EAAO,CACvC,IAAIC,EAAqBC,EAAM,OAAO,EAAE,EACpCC,EAAgBD,EAAM,OAAO,CAAC,EAAG,CAAC,CAAC,EACnCE,EAAaF,EAAM,OAAQ,EAC3BN,EAAKM,EAAM,SAASL,GAAW,EAAE,CAAC,EAClCQ,EAAQH,EAAM,SAASI,EAAc,cAAA,EAAE,CAAC,EACxCC,EAAYL,EAAM,OAAOF,CAAK,EAClCE,EAAM,UAA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A,UAAU,EAC/D,SAAS,oBAAoB,YAAaf,EAAee,EAAAA,UAAU,EACnE,SAAS,oBAAoB,aAAcH,EAAkBG,EAAAA,UAAU,CAC1E,CACJ,EAAE,EAAE,EACL,IAAIE,EAAkBzC,EAAM,gBAAiB0C,EAAQ1C,EAAM,MAC3D,OAAQE,EAAM,cAAcA,EAAM,SAAU,KACxCwC,EAAQxC,EAAM,cAAcG,EAAO,CAAE,OAAQV,EAAcC,CAAE,CAAG,CAAA,EAAI,KACpE6C,EAAkBvC,EAAM,cAAcyC,kBAAiB,CAAE,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,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs411.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;
2
- //# sourceMappingURL=index.cjs418.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs418.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,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs420.js");function B(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const $=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=B(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=B(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function V(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const _=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],O=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let P=O?O[A]:0;(!P||!await(a.isElement==null?void 0:a.isElement(O)))&&(P=d.floating[A]||i.floating[r]);const T=b/2-p/2,R=P/2-u[r]/2-1,C=e.min(o[v],R),E=e.min(o[y],R),k=C,L=P-u[r]-E,S=P/2-u[r]/2+T,F=e.clamp(k,S,L),M=!h.arrow&&e.getAlignment(f)!=null&&S!==F&&i.reference[r]/2-(S<k?C:E)-u[r]/2<0,D=M?S<k?S-k:S-L:0;return{[s]:m[s]+D,data:{[s]:F,centerOffset:S-F-D,...M&&{alignmentOffset:D}},reset:M}}}),X=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),O=r!=="none";!m&&O&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const P=[d,...p],T=await V(t,x),R=[];let C=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&R.push(T[v]),o){const S=e.getAlignmentSides(f,a,b);R.push(T[S[0]],T[S[1]])}if(C=[...C,{placement:f,overflows:R}],!R.every(S=>S<=0)){var E,k;const S=(((E=i.flip)==null?void 0:E.index)||0)+1,F=P[S];if(F)return{data:{index:S,overflows:C},reset:{placement:F}};let M=(k=C.filter(D=>D.overflows[0]<=0).sort((D,H)=>D.overflows[1]-H.overflows[1])[0])==null?void 0:k.placement;if(!M)switch(s){case"bestFit":{var L;const D=(L=C.filter(H=>{if(O){const j=e.getSideAxis(H.placement);return j===y||j==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(j=>j>0).reduce((j,Y)=>j+Y,0)]).sort((H,j)=>H[1]-j[1])[0])==null?void 0:L[0];D&&(M=D);break}case"initialPlacement":M=d;break}if(f!==M)return{reset:{placement:M}}}return{}}}};function z(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function W(n){return e.sides.some(t=>n[t]>=0)}const q=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await V(t,{...f,elementContext:"reference"}),a=z(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:W(a)}}}case"escaped":{const i=await V(t,{...f,altBoundary:!0}),a=z(i,g.floating);return{data:{escapedOffsets:a,escaped:W(a)}}}default:return{}}}}};async function I(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=["left","top"].includes(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const U=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await I(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},G=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await V(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},J=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=["top","left"].includes(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),O=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>O&&(r=O)}return{[m]:s,[o]:r}}}},K=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await V(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),O=!t.middlewareData.shift;let P=b,T=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(T=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(P=y),O&&!m){const C=e.max(c.left,0),E=e.max(c.right,0),k=e.max(c.top,0),L=e.max(c.bottom,0);s?T=r-2*(C!==0||E!==0?C+E:e.max(c.left,c.right)):P=u-2*(k!==0||L!==0?k+L:e.max(c.top,c.bottom))}await h({...t,availableWidth:T,availableHeight:P});const R=await a.getDimensions(d.floating);return r!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=_;exports.computePosition=$;exports.detectOverflow=V;exports.flip=X;exports.hide=q;exports.limitShift=J;exports.offset=U;exports.shift=G;exports.size=K;
2
- //# sourceMappingURL=index.cjs419.js.map