@anoki/fse-ui 1.0.713 → 1.0.715

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 (915) hide show
  1. package/dist/index.cjs10.js +1 -1
  2. package/dist/index.cjs100.js +1 -1
  3. package/dist/index.cjs101.js +1 -1
  4. package/dist/index.cjs102.js +1 -1
  5. package/dist/index.cjs103.js +1 -1
  6. package/dist/index.cjs104.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs106.js +1 -1
  9. package/dist/index.cjs108.js +1 -1
  10. package/dist/index.cjs109.js +1 -1
  11. package/dist/index.cjs11.js +1 -1
  12. package/dist/index.cjs111.js +1 -1
  13. package/dist/index.cjs113.js +1 -1
  14. package/dist/index.cjs114.js +1 -1
  15. package/dist/index.cjs116.js +1 -1
  16. package/dist/index.cjs117.js +1 -1
  17. package/dist/index.cjs119.js +1 -1
  18. package/dist/index.cjs119.js.map +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs121.js +1 -1
  21. package/dist/index.cjs122.js +1 -1
  22. package/dist/index.cjs123.js +1 -1
  23. package/dist/index.cjs126.js +1 -1
  24. package/dist/index.cjs128.js +1 -1
  25. package/dist/index.cjs13.js +1 -1
  26. package/dist/index.cjs130.js +1 -1
  27. package/dist/index.cjs131.js +1 -1
  28. package/dist/index.cjs132.js +1 -1
  29. package/dist/index.cjs133.js +1 -1
  30. package/dist/index.cjs134.js +1 -1
  31. package/dist/index.cjs135.js +1 -1
  32. package/dist/index.cjs136.js +1 -1
  33. package/dist/index.cjs137.js +1 -1
  34. package/dist/index.cjs138.js +1 -1
  35. package/dist/index.cjs139.js +1 -1
  36. package/dist/index.cjs14.js +1 -1
  37. package/dist/index.cjs140.js +1 -1
  38. package/dist/index.cjs141.js +1 -1
  39. package/dist/index.cjs142.js +1 -1
  40. package/dist/index.cjs143.js +1 -1
  41. package/dist/index.cjs144.js +1 -1
  42. package/dist/index.cjs145.js +1 -1
  43. package/dist/index.cjs146.js +1 -1
  44. package/dist/index.cjs147.js +1 -1
  45. package/dist/index.cjs148.js +1 -1
  46. package/dist/index.cjs149.js +1 -1
  47. package/dist/index.cjs15.js +1 -1
  48. package/dist/index.cjs150.js +1 -1
  49. package/dist/index.cjs151.js +1 -1
  50. package/dist/index.cjs152.js +1 -1
  51. package/dist/index.cjs153.js +1 -1
  52. package/dist/index.cjs154.js +1 -1
  53. package/dist/index.cjs155.js +1 -1
  54. package/dist/index.cjs156.js +1 -1
  55. package/dist/index.cjs157.js +1 -1
  56. package/dist/index.cjs158.js +1 -1
  57. package/dist/index.cjs16.js +1 -1
  58. package/dist/index.cjs160.js +1 -1
  59. package/dist/index.cjs161.js +1 -1
  60. package/dist/index.cjs162.js +1 -1
  61. package/dist/index.cjs163.js +1 -1
  62. package/dist/index.cjs164.js +1 -1
  63. package/dist/index.cjs165.js +1 -1
  64. package/dist/index.cjs166.js +1 -1
  65. package/dist/index.cjs167.js +1 -1
  66. package/dist/index.cjs168.js +1 -1
  67. package/dist/index.cjs17.js +1 -1
  68. package/dist/index.cjs170.js +1 -1
  69. package/dist/index.cjs171.js +1 -1
  70. package/dist/index.cjs172.js +1 -1
  71. package/dist/index.cjs173.js +1 -1
  72. package/dist/index.cjs174.js +1 -1
  73. package/dist/index.cjs175.js +1 -1
  74. package/dist/index.cjs176.js +1 -1
  75. package/dist/index.cjs178.js +1 -1
  76. package/dist/index.cjs179.js +1 -1
  77. package/dist/index.cjs18.js +1 -1
  78. package/dist/index.cjs180.js +1 -1
  79. package/dist/index.cjs181.js +1 -1
  80. package/dist/index.cjs182.js +1 -1
  81. package/dist/index.cjs183.js +1 -1
  82. package/dist/index.cjs184.js +1 -1
  83. package/dist/index.cjs19.js +1 -1
  84. package/dist/index.cjs191.js +1 -1
  85. package/dist/index.cjs20.js +1 -1
  86. package/dist/index.cjs21.js +1 -1
  87. package/dist/index.cjs213.js +2 -0
  88. package/dist/index.cjs213.js.map +1 -0
  89. package/dist/index.cjs214.js +1 -1
  90. package/dist/index.cjs214.js.map +1 -1
  91. package/dist/index.cjs216.js +1 -1
  92. package/dist/index.cjs216.js.map +1 -1
  93. package/dist/{index.cjs230.js → index.cjs217.js} +1 -1
  94. package/dist/{index.cjs230.js.map → index.cjs217.js.map} +1 -1
  95. package/dist/index.cjs22.js +1 -1
  96. package/dist/{index.cjs233.js → index.cjs220.js} +1 -1
  97. package/dist/{index.cjs233.js.map → index.cjs220.js.map} +1 -1
  98. package/dist/index.cjs224.js +1 -6
  99. package/dist/index.cjs224.js.map +1 -1
  100. package/dist/{index.cjs241.js → index.cjs228.js} +2 -2
  101. package/dist/{index.cjs241.js.map → index.cjs228.js.map} +1 -1
  102. package/dist/index.cjs23.js +1 -1
  103. package/dist/{index.cjs244.js → index.cjs231.js} +2 -2
  104. package/dist/{index.cjs244.js.map → index.cjs231.js.map} +1 -1
  105. package/dist/{index.cjs247.js → index.cjs234.js} +2 -2
  106. package/dist/{index.cjs247.js.map → index.cjs234.js.map} +1 -1
  107. package/dist/{index.cjs248.js → index.cjs235.js} +2 -2
  108. package/dist/{index.cjs248.js.map → index.cjs235.js.map} +1 -1
  109. package/dist/{index.cjs249.js → index.cjs236.js} +2 -2
  110. package/dist/{index.cjs249.js.map → index.cjs236.js.map} +1 -1
  111. package/dist/index.cjs24.js +1 -1
  112. package/dist/{index.cjs255.js → index.cjs242.js} +2 -2
  113. package/dist/{index.cjs255.js.map → index.cjs242.js.map} +1 -1
  114. package/dist/index.cjs243.js +2 -0
  115. package/dist/index.cjs243.js.map +1 -0
  116. package/dist/index.cjs246.js +2 -0
  117. package/dist/index.cjs246.js.map +1 -0
  118. package/dist/index.cjs25.js +1 -1
  119. package/dist/index.cjs251.js +2 -0
  120. package/dist/index.cjs251.js.map +1 -0
  121. package/dist/index.cjs252.js +2 -0
  122. package/dist/index.cjs252.js.map +1 -0
  123. package/dist/index.cjs253.js +2 -0
  124. package/dist/index.cjs253.js.map +1 -0
  125. package/dist/{index.cjs267.js → index.cjs254.js} +1 -1
  126. package/dist/{index.cjs267.js.map → index.cjs254.js.map} +1 -1
  127. package/dist/index.cjs256.js +1 -1
  128. package/dist/index.cjs256.js.map +1 -1
  129. package/dist/{index.cjs271.js → index.cjs258.js} +2 -2
  130. package/dist/{index.cjs271.js.map → index.cjs258.js.map} +1 -1
  131. package/dist/index.cjs259.js +1 -1
  132. package/dist/index.cjs259.js.map +1 -1
  133. package/dist/index.cjs26.js +1 -1
  134. package/dist/{index.cjs273.js → index.cjs260.js} +1 -1
  135. package/dist/{index.cjs273.js.map → index.cjs260.js.map} +1 -1
  136. package/dist/{index.cjs274.js → index.cjs261.js} +1 -1
  137. package/dist/{index.cjs274.js.map → index.cjs261.js.map} +1 -1
  138. package/dist/index.cjs262.js +2 -0
  139. package/dist/index.cjs262.js.map +1 -0
  140. package/dist/index.cjs264.js +1 -1
  141. package/dist/index.cjs264.js.map +1 -1
  142. package/dist/index.cjs265.js +1 -1
  143. package/dist/index.cjs265.js.map +1 -1
  144. package/dist/index.cjs266.js +1 -1
  145. package/dist/index.cjs266.js.map +1 -1
  146. package/dist/index.cjs269.js +1 -1
  147. package/dist/index.cjs269.js.map +1 -1
  148. package/dist/{index.cjs290.js → index.cjs270.js} +2 -2
  149. package/dist/index.cjs270.js.map +1 -0
  150. package/dist/index.cjs275.js +1 -1
  151. package/dist/index.cjs275.js.map +1 -1
  152. package/dist/{index.cjs289.js → index.cjs276.js} +2 -2
  153. package/dist/{index.cjs289.js.map → index.cjs276.js.map} +1 -1
  154. package/dist/index.cjs277.js +1 -1
  155. package/dist/index.cjs277.js.map +1 -1
  156. package/dist/index.cjs279.js +1 -1
  157. package/dist/index.cjs279.js.map +1 -1
  158. package/dist/index.cjs28.js +1 -1
  159. package/dist/{index.cjs293.js → index.cjs280.js} +2 -2
  160. package/dist/{index.cjs293.js.map → index.cjs280.js.map} +1 -1
  161. package/dist/{index.cjs294.js → index.cjs281.js} +1 -1
  162. package/dist/{index.cjs294.js.map → index.cjs281.js.map} +1 -1
  163. package/dist/index.cjs283.js +1 -1
  164. package/dist/index.cjs283.js.map +1 -1
  165. package/dist/{index.cjs297.js → index.cjs284.js} +2 -2
  166. package/dist/{index.cjs297.js.map → index.cjs284.js.map} +1 -1
  167. package/dist/{index.cjs298.js → index.cjs285.js} +2 -2
  168. package/dist/{index.cjs298.js.map → index.cjs285.js.map} +1 -1
  169. package/dist/index.cjs287.js +7 -0
  170. package/dist/index.cjs287.js.map +1 -0
  171. package/dist/index.cjs29.js +1 -1
  172. package/dist/index.cjs296.js +1 -1
  173. package/dist/index.cjs296.js.map +1 -1
  174. package/dist/index.cjs30.js +1 -1
  175. package/dist/index.cjs31.js +1 -1
  176. package/dist/index.cjs32.js +1 -1
  177. package/dist/{index.cjs337.js → index.cjs325.js} +2 -2
  178. package/dist/{index.cjs337.js.map → index.cjs325.js.map} +1 -1
  179. package/dist/index.cjs33.js +1 -1
  180. package/dist/{index.cjs345.js → index.cjs333.js} +2 -2
  181. package/dist/{index.cjs345.js.map → index.cjs333.js.map} +1 -1
  182. package/dist/index.cjs338.js +2 -0
  183. package/dist/index.cjs338.js.map +1 -0
  184. package/dist/index.cjs34.js +1 -1
  185. package/dist/{index.cjs356.js → index.cjs344.js} +2 -2
  186. package/dist/{index.cjs356.js.map → index.cjs344.js.map} +1 -1
  187. package/dist/{index.cjs358.js → index.cjs346.js} +2 -2
  188. package/dist/{index.cjs358.js.map → index.cjs346.js.map} +1 -1
  189. package/dist/index.cjs35.js +1 -1
  190. package/dist/index.cjs350.js +1 -1
  191. package/dist/index.cjs350.js.map +1 -1
  192. package/dist/{index.cjs364.js → index.cjs352.js} +2 -2
  193. package/dist/{index.cjs364.js.map → index.cjs352.js.map} +1 -1
  194. package/dist/index.cjs353.js +2 -0
  195. package/dist/index.cjs353.js.map +1 -0
  196. package/dist/{index.cjs366.js → index.cjs354.js} +2 -2
  197. package/dist/{index.cjs366.js.map → index.cjs354.js.map} +1 -1
  198. package/dist/index.cjs365.js +1 -1
  199. package/dist/index.cjs365.js.map +1 -1
  200. package/dist/index.cjs37.js +1 -1
  201. package/dist/index.cjs372.js +2 -0
  202. package/dist/index.cjs372.js.map +1 -0
  203. package/dist/index.cjs378.js +1 -1
  204. package/dist/index.cjs379.js +1 -1
  205. package/dist/index.cjs38.js +1 -1
  206. package/dist/index.cjs380.js +1 -27
  207. package/dist/index.cjs380.js.map +1 -1
  208. package/dist/index.cjs381.js +1 -1
  209. package/dist/index.cjs381.js.map +1 -1
  210. package/dist/index.cjs382.js +1 -1
  211. package/dist/index.cjs382.js.map +1 -1
  212. package/dist/index.cjs383.js +1 -1
  213. package/dist/index.cjs383.js.map +1 -1
  214. package/dist/index.cjs384.js +1 -2
  215. package/dist/index.cjs384.js.map +1 -1
  216. package/dist/index.cjs385.js +1 -1
  217. package/dist/index.cjs385.js.map +1 -1
  218. package/dist/index.cjs386.js +1 -1
  219. package/dist/index.cjs386.js.map +1 -1
  220. package/dist/index.cjs388.js +1 -1
  221. package/dist/index.cjs388.js.map +1 -1
  222. package/dist/index.cjs39.js +1 -1
  223. package/dist/index.cjs391.js +1 -1
  224. package/dist/index.cjs391.js.map +1 -1
  225. package/dist/{index.cjs397.js → index.cjs392.js} +2 -2
  226. package/dist/{index.cjs397.js.map → index.cjs392.js.map} +1 -1
  227. package/dist/index.cjs393.js +1 -1
  228. package/dist/index.cjs393.js.map +1 -1
  229. package/dist/index.cjs394.js +2 -0
  230. package/dist/index.cjs394.js.map +1 -0
  231. package/dist/index.cjs398.js +1 -1
  232. package/dist/index.cjs398.js.map +1 -1
  233. package/dist/index.cjs399.js +1 -1
  234. package/dist/index.cjs399.js.map +1 -1
  235. package/dist/index.cjs40.js +1 -1
  236. package/dist/index.cjs400.js +1 -1
  237. package/dist/index.cjs400.js.map +1 -1
  238. package/dist/index.cjs401.js +1 -1
  239. package/dist/index.cjs401.js.map +1 -1
  240. package/dist/index.cjs402.js +2 -0
  241. package/dist/index.cjs402.js.map +1 -0
  242. package/dist/{index.cjs410.js → index.cjs403.js} +1 -1
  243. package/dist/{index.cjs410.js.map → index.cjs403.js.map} +1 -1
  244. package/dist/{index.cjs411.js → index.cjs404.js} +2 -2
  245. package/dist/{index.cjs411.js.map → index.cjs404.js.map} +1 -1
  246. package/dist/index.cjs408.js +1 -1
  247. package/dist/index.cjs408.js.map +1 -1
  248. package/dist/index.cjs409.js +1 -1
  249. package/dist/index.cjs409.js.map +1 -1
  250. package/dist/index.cjs41.js +1 -1
  251. package/dist/index.cjs419.js +1 -1
  252. package/dist/index.cjs419.js.map +1 -1
  253. package/dist/index.cjs42.js +1 -1
  254. package/dist/index.cjs420.js +1 -1
  255. package/dist/index.cjs420.js.map +1 -1
  256. package/dist/{index.cjs417.js → index.cjs421.js} +1 -1
  257. package/dist/{index.cjs417.js.map → index.cjs421.js.map} +1 -1
  258. package/dist/{index.cjs418.js → index.cjs422.js} +2 -2
  259. package/dist/{index.cjs418.js.map → index.cjs422.js.map} +1 -1
  260. package/dist/index.cjs423.js +2 -0
  261. package/dist/index.cjs423.js.map +1 -0
  262. package/dist/index.cjs424.js +2 -0
  263. package/dist/index.cjs424.js.map +1 -0
  264. package/dist/index.cjs425.js +2 -0
  265. package/dist/index.cjs425.js.map +1 -0
  266. package/dist/index.cjs426.js +2 -0
  267. package/dist/index.cjs426.js.map +1 -0
  268. package/dist/index.cjs427.js +2 -0
  269. package/dist/index.cjs427.js.map +1 -0
  270. package/dist/index.cjs428.js +2 -0
  271. package/dist/index.cjs428.js.map +1 -0
  272. package/dist/index.cjs429.js +2 -0
  273. package/dist/index.cjs429.js.map +1 -0
  274. package/dist/index.cjs43.js +1 -1
  275. package/dist/index.cjs430.js +1 -1
  276. package/dist/index.cjs430.js.map +1 -1
  277. package/dist/index.cjs431.js +1 -1
  278. package/dist/index.cjs431.js.map +1 -1
  279. package/dist/index.cjs432.js +1 -1
  280. package/dist/index.cjs432.js.map +1 -1
  281. package/dist/index.cjs433.js +1 -1
  282. package/dist/index.cjs433.js.map +1 -1
  283. package/dist/index.cjs434.js +1 -1
  284. package/dist/index.cjs434.js.map +1 -1
  285. package/dist/index.cjs435.js +1 -1
  286. package/dist/index.cjs435.js.map +1 -1
  287. package/dist/index.cjs436.js +4 -1
  288. package/dist/index.cjs436.js.map +1 -1
  289. package/dist/index.cjs437.js +1 -1
  290. package/dist/index.cjs437.js.map +1 -1
  291. package/dist/index.cjs438.js +1 -1
  292. package/dist/index.cjs438.js.map +1 -1
  293. package/dist/index.cjs439.js +1 -1
  294. package/dist/index.cjs439.js.map +1 -1
  295. package/dist/index.cjs44.js +1 -1
  296. package/dist/index.cjs440.js +1 -4
  297. package/dist/index.cjs440.js.map +1 -1
  298. package/dist/index.cjs441.js +38 -1
  299. package/dist/index.cjs441.js.map +1 -1
  300. package/dist/index.cjs442.js +1 -38
  301. package/dist/index.cjs442.js.map +1 -1
  302. package/dist/index.cjs443.js +1 -1
  303. package/dist/index.cjs443.js.map +1 -1
  304. package/dist/index.cjs444.js +1 -1
  305. package/dist/index.cjs444.js.map +1 -1
  306. package/dist/index.cjs445.js +1 -1
  307. package/dist/index.cjs445.js.map +1 -1
  308. package/dist/index.cjs446.js +1 -1
  309. package/dist/index.cjs446.js.map +1 -1
  310. package/dist/index.cjs447.js +1 -1
  311. package/dist/index.cjs447.js.map +1 -1
  312. package/dist/index.cjs448.js +1 -1
  313. package/dist/index.cjs448.js.map +1 -1
  314. package/dist/index.cjs449.js +1 -1
  315. package/dist/index.cjs449.js.map +1 -1
  316. package/dist/index.cjs45.js +1 -1
  317. package/dist/index.cjs450.js +1 -1
  318. package/dist/index.cjs450.js.map +1 -1
  319. package/dist/index.cjs451.js +1 -1
  320. package/dist/index.cjs451.js.map +1 -1
  321. package/dist/index.cjs454.js +1 -1
  322. package/dist/index.cjs454.js.map +1 -1
  323. package/dist/index.cjs455.js +1 -1
  324. package/dist/index.cjs455.js.map +1 -1
  325. package/dist/index.cjs456.js +2 -0
  326. package/dist/index.cjs456.js.map +1 -0
  327. package/dist/index.cjs457.js +2 -0
  328. package/dist/index.cjs457.js.map +1 -0
  329. package/dist/index.cjs458.js +1 -1
  330. package/dist/index.cjs458.js.map +1 -1
  331. package/dist/index.cjs459.js +1 -1
  332. package/dist/index.cjs459.js.map +1 -1
  333. package/dist/index.cjs46.js +1 -1
  334. package/dist/index.cjs460.js +1 -1
  335. package/dist/index.cjs460.js.map +1 -1
  336. package/dist/index.cjs461.js +1 -1
  337. package/dist/index.cjs461.js.map +1 -1
  338. package/dist/index.cjs462.js +1 -1
  339. package/dist/index.cjs462.js.map +1 -1
  340. package/dist/index.cjs463.js +1 -1
  341. package/dist/index.cjs463.js.map +1 -1
  342. package/dist/index.cjs464.js +1 -1
  343. package/dist/index.cjs464.js.map +1 -1
  344. package/dist/index.cjs465.js +1 -1
  345. package/dist/index.cjs465.js.map +1 -1
  346. package/dist/index.cjs466.js +1 -1
  347. package/dist/index.cjs466.js.map +1 -1
  348. package/dist/index.cjs467.js +1 -1
  349. package/dist/index.cjs467.js.map +1 -1
  350. package/dist/index.cjs468.js +1 -1
  351. package/dist/index.cjs468.js.map +1 -1
  352. package/dist/index.cjs469.js +5 -1
  353. package/dist/index.cjs469.js.map +1 -1
  354. package/dist/index.cjs47.js +1 -1
  355. package/dist/index.cjs470.js +1 -1
  356. package/dist/index.cjs470.js.map +1 -1
  357. package/dist/index.cjs471.js +1 -1
  358. package/dist/index.cjs471.js.map +1 -1
  359. package/dist/index.cjs472.js +1 -1
  360. package/dist/index.cjs472.js.map +1 -1
  361. package/dist/index.cjs473.js +1 -5
  362. package/dist/index.cjs473.js.map +1 -1
  363. package/dist/index.cjs474.js +1 -1
  364. package/dist/index.cjs474.js.map +1 -1
  365. package/dist/index.cjs475.js +1 -1
  366. package/dist/index.cjs475.js.map +1 -1
  367. package/dist/index.cjs476.js +1 -1
  368. package/dist/index.cjs476.js.map +1 -1
  369. package/dist/index.cjs477.js +1 -1
  370. package/dist/index.cjs477.js.map +1 -1
  371. package/dist/index.cjs478.js +27 -1
  372. package/dist/index.cjs478.js.map +1 -1
  373. package/dist/index.cjs479.js +1 -1
  374. package/dist/index.cjs479.js.map +1 -1
  375. package/dist/index.cjs48.js +1 -1
  376. package/dist/index.cjs480.js +1 -1
  377. package/dist/index.cjs480.js.map +1 -1
  378. package/dist/index.cjs481.js +2 -1
  379. package/dist/index.cjs481.js.map +1 -1
  380. package/dist/index.cjs483.js +1 -1
  381. package/dist/index.cjs49.js +1 -1
  382. package/dist/index.cjs50.js +1 -1
  383. package/dist/index.cjs51.js +1 -1
  384. package/dist/index.cjs52.js +1 -1
  385. package/dist/index.cjs53.js +1 -1
  386. package/dist/index.cjs54.js +1 -1
  387. package/dist/index.cjs55.js +1 -1
  388. package/dist/index.cjs56.js +1 -1
  389. package/dist/index.cjs57.js +1 -1
  390. package/dist/index.cjs59.js +1 -1
  391. package/dist/index.cjs6.js +1 -1
  392. package/dist/index.cjs60.js +1 -1
  393. package/dist/index.cjs61.js +1 -1
  394. package/dist/index.cjs62.js +1 -1
  395. package/dist/index.cjs64.js +1 -1
  396. package/dist/index.cjs66.js +1 -1
  397. package/dist/index.cjs67.js +1 -1
  398. package/dist/index.cjs68.js +1 -1
  399. package/dist/index.cjs7.js +1 -1
  400. package/dist/index.cjs70.js +1 -1
  401. package/dist/index.cjs71.js +1 -1
  402. package/dist/index.cjs72.js +1 -1
  403. package/dist/index.cjs73.js +1 -1
  404. package/dist/index.cjs8.js +1 -1
  405. package/dist/index.cjs9.js +1 -1
  406. package/dist/index.cjs90.js +1 -1
  407. package/dist/index.cjs91.js +1 -1
  408. package/dist/index.cjs92.js +1 -1
  409. package/dist/index.cjs94.js +1 -1
  410. package/dist/index.cjs96.js +1 -1
  411. package/dist/index.cjs97.js +1 -1
  412. package/dist/index.d.ts +2 -1
  413. package/dist/index.es10.js +4 -4
  414. package/dist/index.es100.js +1 -1
  415. package/dist/index.es101.js +1 -1
  416. package/dist/index.es102.js +3 -3
  417. package/dist/index.es103.js +1 -1
  418. package/dist/index.es104.js +1 -1
  419. package/dist/index.es105.js +1 -1
  420. package/dist/index.es106.js +1 -1
  421. package/dist/index.es108.js +2 -2
  422. package/dist/index.es109.js +1 -1
  423. package/dist/index.es11.js +1 -1
  424. package/dist/index.es111.js +1 -1
  425. package/dist/index.es113.js +3 -3
  426. package/dist/index.es114.js +1 -1
  427. package/dist/index.es116.js +3 -3
  428. package/dist/index.es117.js +1 -1
  429. package/dist/index.es119.js +14 -13
  430. package/dist/index.es119.js.map +1 -1
  431. package/dist/index.es12.js +2 -2
  432. package/dist/index.es121.js +1 -1
  433. package/dist/index.es122.js +2 -2
  434. package/dist/index.es123.js +1 -1
  435. package/dist/index.es126.js +2 -2
  436. package/dist/index.es128.js +1 -1
  437. package/dist/index.es13.js +1 -1
  438. package/dist/index.es130.js +2 -2
  439. package/dist/index.es131.js +2 -2
  440. package/dist/index.es132.js +2 -2
  441. package/dist/index.es133.js +2 -2
  442. package/dist/index.es134.js +2 -2
  443. package/dist/index.es135.js +2 -2
  444. package/dist/index.es136.js +2 -2
  445. package/dist/index.es137.js +2 -2
  446. package/dist/index.es138.js +2 -2
  447. package/dist/index.es139.js +2 -2
  448. package/dist/index.es14.js +1 -1
  449. package/dist/index.es140.js +2 -2
  450. package/dist/index.es141.js +2 -2
  451. package/dist/index.es142.js +2 -2
  452. package/dist/index.es143.js +2 -2
  453. package/dist/index.es144.js +2 -2
  454. package/dist/index.es145.js +2 -2
  455. package/dist/index.es146.js +2 -2
  456. package/dist/index.es147.js +2 -2
  457. package/dist/index.es148.js +2 -2
  458. package/dist/index.es149.js +2 -2
  459. package/dist/index.es15.js +2 -2
  460. package/dist/index.es150.js +2 -2
  461. package/dist/index.es151.js +2 -2
  462. package/dist/index.es152.js +2 -2
  463. package/dist/index.es153.js +1 -1
  464. package/dist/index.es154.js +1 -1
  465. package/dist/index.es155.js +1 -1
  466. package/dist/index.es156.js +2 -2
  467. package/dist/index.es157.js +2 -2
  468. package/dist/index.es158.js +2 -2
  469. package/dist/index.es16.js +2 -2
  470. package/dist/index.es160.js +2 -2
  471. package/dist/index.es161.js +2 -2
  472. package/dist/index.es162.js +2 -2
  473. package/dist/index.es163.js +2 -2
  474. package/dist/index.es164.js +2 -2
  475. package/dist/index.es165.js +2 -2
  476. package/dist/index.es166.js +2 -2
  477. package/dist/index.es167.js +2 -2
  478. package/dist/index.es168.js +2 -2
  479. package/dist/index.es17.js +1 -1
  480. package/dist/index.es170.js +2 -2
  481. package/dist/index.es171.js +2 -2
  482. package/dist/index.es172.js +2 -2
  483. package/dist/index.es173.js +2 -2
  484. package/dist/index.es174.js +2 -2
  485. package/dist/index.es175.js +2 -2
  486. package/dist/index.es176.js +2 -2
  487. package/dist/index.es178.js +2 -2
  488. package/dist/index.es179.js +2 -2
  489. package/dist/index.es18.js +2 -2
  490. package/dist/index.es180.js +2 -2
  491. package/dist/index.es181.js +2 -2
  492. package/dist/index.es182.js +2 -2
  493. package/dist/index.es183.js +2 -2
  494. package/dist/index.es184.js +2 -2
  495. package/dist/index.es19.js +2 -2
  496. package/dist/index.es191.js +2 -2
  497. package/dist/index.es20.js +1 -1
  498. package/dist/index.es21.js +2 -2
  499. package/dist/index.es213.js +18 -0
  500. package/dist/index.es213.js.map +1 -0
  501. package/dist/index.es214.js +27 -15
  502. package/dist/index.es214.js.map +1 -1
  503. package/dist/index.es216.js +2 -3
  504. package/dist/index.es216.js.map +1 -1
  505. package/dist/{index.es230.js → index.es217.js} +1 -1
  506. package/dist/{index.es230.js.map → index.es217.js.map} +1 -1
  507. package/dist/index.es22.js +3 -3
  508. package/dist/{index.es233.js → index.es220.js} +1 -1
  509. package/dist/{index.es233.js.map → index.es220.js.map} +1 -1
  510. package/dist/index.es224.js +22 -59
  511. package/dist/index.es224.js.map +1 -1
  512. package/dist/{index.es241.js → index.es228.js} +2 -2
  513. package/dist/{index.es241.js.map → index.es228.js.map} +1 -1
  514. package/dist/index.es23.js +2 -2
  515. package/dist/{index.es244.js → index.es231.js} +8 -8
  516. package/dist/{index.es244.js.map → index.es231.js.map} +1 -1
  517. package/dist/{index.es247.js → index.es234.js} +3 -3
  518. package/dist/{index.es247.js.map → index.es234.js.map} +1 -1
  519. package/dist/{index.es248.js → index.es235.js} +3 -3
  520. package/dist/{index.es248.js.map → index.es235.js.map} +1 -1
  521. package/dist/{index.es249.js → index.es236.js} +4 -4
  522. package/dist/{index.es249.js.map → index.es236.js.map} +1 -1
  523. package/dist/index.es24.js +2 -2
  524. package/dist/{index.es255.js → index.es242.js} +9 -9
  525. package/dist/{index.es255.js.map → index.es242.js.map} +1 -1
  526. package/dist/index.es243.js +23 -0
  527. package/dist/index.es243.js.map +1 -0
  528. package/dist/index.es246.js +6 -0
  529. package/dist/index.es246.js.map +1 -0
  530. package/dist/index.es25.js +2 -2
  531. package/dist/index.es251.js +7 -0
  532. package/dist/index.es251.js.map +1 -0
  533. package/dist/index.es252.js +23 -0
  534. package/dist/index.es252.js.map +1 -0
  535. package/dist/index.es253.js +9 -0
  536. package/dist/index.es253.js.map +1 -0
  537. package/dist/{index.es267.js → index.es254.js} +1 -1
  538. package/dist/{index.es267.js.map → index.es254.js.map} +1 -1
  539. package/dist/index.es256.js +51 -20
  540. package/dist/index.es256.js.map +1 -1
  541. package/dist/{index.es271.js → index.es258.js} +15 -15
  542. package/dist/{index.es271.js.map → index.es258.js.map} +1 -1
  543. package/dist/index.es259.js +49 -3
  544. package/dist/index.es259.js.map +1 -1
  545. package/dist/index.es26.js +1 -1
  546. package/dist/{index.es273.js → index.es260.js} +1 -1
  547. package/dist/{index.es273.js.map → index.es260.js.map} +1 -1
  548. package/dist/{index.es274.js → index.es261.js} +1 -1
  549. package/dist/{index.es274.js.map → index.es261.js.map} +1 -1
  550. package/dist/index.es262.js +31 -0
  551. package/dist/index.es262.js.map +1 -0
  552. package/dist/index.es264.js +27 -4
  553. package/dist/index.es264.js.map +1 -1
  554. package/dist/index.es265.js +4 -20
  555. package/dist/index.es265.js.map +1 -1
  556. package/dist/index.es266.js +8 -6
  557. package/dist/index.es266.js.map +1 -1
  558. package/dist/index.es269.js +8 -51
  559. package/dist/index.es269.js.map +1 -1
  560. package/dist/{index.es278.js → index.es270.js} +2 -2
  561. package/dist/index.es270.js.map +1 -0
  562. package/dist/index.es275.js +8 -28
  563. package/dist/index.es275.js.map +1 -1
  564. package/dist/{index.es289.js → index.es276.js} +2 -2
  565. package/dist/{index.es289.js.map → index.es276.js.map} +1 -1
  566. package/dist/index.es277.js +6 -27
  567. package/dist/index.es277.js.map +1 -1
  568. package/dist/index.es279.js +27 -8
  569. package/dist/index.es279.js.map +1 -1
  570. package/dist/index.es28.js +2 -2
  571. package/dist/{index.es293.js → index.es280.js} +2 -2
  572. package/dist/{index.es293.js.map → index.es280.js.map} +1 -1
  573. package/dist/{index.es294.js → index.es281.js} +1 -1
  574. package/dist/{index.es294.js.map → index.es281.js.map} +1 -1
  575. package/dist/index.es283.js +27 -4
  576. package/dist/index.es283.js.map +1 -1
  577. package/dist/{index.es297.js → index.es284.js} +3 -3
  578. package/dist/{index.es297.js.map → index.es284.js.map} +1 -1
  579. package/dist/{index.es298.js → index.es285.js} +8 -8
  580. package/dist/{index.es298.js.map → index.es285.js.map} +1 -1
  581. package/dist/index.es287.js +62 -0
  582. package/dist/index.es287.js.map +1 -0
  583. package/dist/index.es29.js +1 -1
  584. package/dist/index.es296.js +1 -29
  585. package/dist/index.es296.js.map +1 -1
  586. package/dist/index.es30.js +3 -3
  587. package/dist/index.es31.js +1 -1
  588. package/dist/index.es32.js +1 -1
  589. package/dist/{index.es337.js → index.es325.js} +6 -6
  590. package/dist/{index.es337.js.map → index.es325.js.map} +1 -1
  591. package/dist/index.es33.js +1 -1
  592. package/dist/{index.es345.js → index.es333.js} +2 -2
  593. package/dist/{index.es345.js.map → index.es333.js.map} +1 -1
  594. package/dist/index.es338.js +18 -0
  595. package/dist/index.es338.js.map +1 -0
  596. package/dist/index.es34.js +5 -5
  597. package/dist/{index.es356.js → index.es344.js} +3 -3
  598. package/dist/{index.es356.js.map → index.es344.js.map} +1 -1
  599. package/dist/{index.es358.js → index.es346.js} +2 -2
  600. package/dist/{index.es358.js.map → index.es346.js.map} +1 -1
  601. package/dist/index.es35.js +1 -1
  602. package/dist/index.es350.js +50 -15
  603. package/dist/index.es350.js.map +1 -1
  604. package/dist/{index.es364.js → index.es352.js} +4 -4
  605. package/dist/{index.es364.js.map → index.es352.js.map} +1 -1
  606. package/dist/index.es353.js +128 -0
  607. package/dist/index.es353.js.map +1 -0
  608. package/dist/{index.es366.js → index.es354.js} +4 -4
  609. package/dist/{index.es366.js.map → index.es354.js.map} +1 -1
  610. package/dist/index.es365.js +3 -125
  611. package/dist/index.es365.js.map +1 -1
  612. package/dist/index.es37.js +1 -1
  613. package/dist/index.es372.js +8 -0
  614. package/dist/index.es372.js.map +1 -0
  615. package/dist/index.es378.js +1 -1
  616. package/dist/index.es379.js +1 -1
  617. package/dist/index.es38.js +5 -5
  618. package/dist/index.es380.js +6 -3674
  619. package/dist/index.es380.js.map +1 -1
  620. package/dist/index.es381.js +26 -5
  621. package/dist/index.es381.js.map +1 -1
  622. package/dist/index.es382.js +68 -2
  623. package/dist/index.es382.js.map +1 -1
  624. package/dist/index.es383.js +51 -5
  625. package/dist/index.es383.js.map +1 -1
  626. package/dist/index.es384.js +32 -519
  627. package/dist/index.es384.js.map +1 -1
  628. package/dist/index.es385.js +621 -6
  629. package/dist/index.es385.js.map +1 -1
  630. package/dist/index.es386.js +10 -26
  631. package/dist/index.es386.js.map +1 -1
  632. package/dist/index.es388.js +15 -52
  633. package/dist/index.es388.js.map +1 -1
  634. package/dist/index.es39.js +4 -4
  635. package/dist/index.es391.js +5 -10
  636. package/dist/index.es391.js.map +1 -1
  637. package/dist/{index.es397.js → index.es392.js} +2 -2
  638. package/dist/{index.es397.js.map → index.es392.js.map} +1 -1
  639. package/dist/index.es393.js +68 -14
  640. package/dist/index.es393.js.map +1 -1
  641. package/dist/index.es394.js +18 -0
  642. package/dist/index.es394.js.map +1 -0
  643. package/dist/index.es398.js +120 -64
  644. package/dist/index.es398.js.map +1 -1
  645. package/dist/index.es399.js +135 -2
  646. package/dist/index.es399.js.map +1 -1
  647. package/dist/index.es40.js +3 -3
  648. package/dist/index.es400.js +14 -2
  649. package/dist/index.es400.js.map +1 -1
  650. package/dist/index.es401.js +13 -13
  651. package/dist/index.es401.js.map +1 -1
  652. package/dist/index.es402.js +12 -0
  653. package/dist/index.es402.js.map +1 -0
  654. package/dist/{index.es410.js → index.es403.js} +1 -1
  655. package/dist/{index.es410.js.map → index.es403.js.map} +1 -1
  656. package/dist/{index.es411.js → index.es404.js} +2 -2
  657. package/dist/{index.es411.js.map → index.es404.js.map} +1 -1
  658. package/dist/index.es408.js +2 -15
  659. package/dist/index.es408.js.map +1 -1
  660. package/dist/index.es409.js +2 -9
  661. package/dist/index.es409.js.map +1 -1
  662. package/dist/index.es41.js +2 -2
  663. package/dist/index.es419.js +3 -180
  664. package/dist/index.es419.js.map +1 -1
  665. package/dist/index.es42.js +2 -2
  666. package/dist/index.es420.js +45 -10
  667. package/dist/index.es420.js.map +1 -1
  668. package/dist/{index.es417.js → index.es421.js} +1 -1
  669. package/dist/{index.es417.js.map → index.es421.js.map} +1 -1
  670. package/dist/{index.es418.js → index.es422.js} +10 -10
  671. package/dist/{index.es418.js.map → index.es422.js.map} +1 -1
  672. package/dist/index.es423.js +184 -0
  673. package/dist/index.es423.js.map +1 -0
  674. package/dist/index.es424.js +14 -0
  675. package/dist/index.es424.js.map +1 -0
  676. package/dist/index.es425.js +15 -0
  677. package/dist/index.es425.js.map +1 -0
  678. package/dist/index.es426.js +9 -0
  679. package/dist/index.es426.js.map +1 -0
  680. package/dist/index.es427.js +208 -0
  681. package/dist/index.es427.js.map +1 -0
  682. package/dist/index.es428.js +25 -0
  683. package/dist/index.es428.js.map +1 -0
  684. package/dist/index.es429.js +400 -0
  685. package/dist/index.es429.js.map +1 -0
  686. package/dist/index.es43.js +2 -2
  687. package/dist/index.es430.js +24 -11
  688. package/dist/index.es430.js.map +1 -1
  689. package/dist/index.es431.js +28 -204
  690. package/dist/index.es431.js.map +1 -1
  691. package/dist/index.es432.js +5 -22
  692. package/dist/index.es432.js.map +1 -1
  693. package/dist/index.es433.js +5 -397
  694. package/dist/index.es433.js.map +1 -1
  695. package/dist/index.es434.js +3 -25
  696. package/dist/index.es434.js.map +1 -1
  697. package/dist/index.es435.js +24 -29
  698. package/dist/index.es435.js.map +1 -1
  699. package/dist/index.es436.js +110 -5
  700. package/dist/index.es436.js.map +1 -1
  701. package/dist/index.es437.js +16 -5
  702. package/dist/index.es437.js.map +1 -1
  703. package/dist/index.es438.js +527 -3
  704. package/dist/index.es438.js.map +1 -1
  705. package/dist/index.es439.js +126 -23
  706. package/dist/index.es439.js.map +1 -1
  707. package/dist/index.es44.js +4 -4
  708. package/dist/index.es440.js +124 -105
  709. package/dist/index.es440.js.map +1 -1
  710. package/dist/index.es441.js +68 -15
  711. package/dist/index.es441.js.map +1 -1
  712. package/dist/index.es442.js +8 -68
  713. package/dist/index.es442.js.map +1 -1
  714. package/dist/index.es443.js +14 -9
  715. package/dist/index.es443.js.map +1 -1
  716. package/dist/index.es444.js +62 -14
  717. package/dist/index.es444.js.map +1 -1
  718. package/dist/index.es445.js +64 -61
  719. package/dist/index.es445.js.map +1 -1
  720. package/dist/index.es446.js +3 -64
  721. package/dist/index.es446.js.map +1 -1
  722. package/dist/index.es447.js +19 -523
  723. package/dist/index.es447.js.map +1 -1
  724. package/dist/index.es448.js +21 -125
  725. package/dist/index.es448.js.map +1 -1
  726. package/dist/index.es449.js +12 -128
  727. package/dist/index.es449.js.map +1 -1
  728. package/dist/index.es45.js +4 -4
  729. package/dist/index.es450.js +27 -3
  730. package/dist/index.es450.js.map +1 -1
  731. package/dist/index.es451.js +5 -23
  732. package/dist/index.es451.js.map +1 -1
  733. package/dist/index.es454.js +2028 -24
  734. package/dist/index.es454.js.map +1 -1
  735. package/dist/index.es455.js +59 -4
  736. package/dist/index.es455.js.map +1 -1
  737. package/dist/index.es456.js +192 -0
  738. package/dist/index.es456.js.map +1 -0
  739. package/dist/index.es457.js +8 -0
  740. package/dist/index.es457.js.map +1 -0
  741. package/dist/index.es458.js +4 -2032
  742. package/dist/index.es458.js.map +1 -1
  743. package/dist/index.es459.js +4 -59
  744. package/dist/index.es459.js.map +1 -1
  745. package/dist/index.es46.js +1 -1
  746. package/dist/index.es460.js +9 -188
  747. package/dist/index.es460.js.map +1 -1
  748. package/dist/index.es461.js +56 -5
  749. package/dist/index.es461.js.map +1 -1
  750. package/dist/index.es462.js +8 -4
  751. package/dist/index.es462.js.map +1 -1
  752. package/dist/index.es463.js +5 -4
  753. package/dist/index.es463.js.map +1 -1
  754. package/dist/index.es464.js +532 -9
  755. package/dist/index.es464.js.map +1 -1
  756. package/dist/index.es465.js +8 -54
  757. package/dist/index.es465.js.map +1 -1
  758. package/dist/index.es466.js +177 -7
  759. package/dist/index.es466.js.map +1 -1
  760. package/dist/index.es467.js +3 -5
  761. package/dist/index.es467.js.map +1 -1
  762. package/dist/index.es468.js +122 -522
  763. package/dist/index.es468.js.map +1 -1
  764. package/dist/index.es469.js +39 -9
  765. package/dist/index.es469.js.map +1 -1
  766. package/dist/index.es47.js +2 -2
  767. package/dist/index.es470.js +2 -178
  768. package/dist/index.es470.js.map +1 -1
  769. package/dist/index.es471.js +2 -4
  770. package/dist/index.es471.js.map +1 -1
  771. package/dist/index.es472.js +2 -133
  772. package/dist/index.es472.js.map +1 -1
  773. package/dist/index.es473.js +3 -40
  774. package/dist/index.es473.js.map +1 -1
  775. package/dist/index.es474.js +2 -2
  776. package/dist/index.es474.js.map +1 -1
  777. package/dist/index.es475.js +4 -2
  778. package/dist/index.es475.js.map +1 -1
  779. package/dist/index.es476.js +5 -2
  780. package/dist/index.es476.js.map +1 -1
  781. package/dist/index.es477.js +4 -3
  782. package/dist/index.es477.js.map +1 -1
  783. package/dist/index.es478.js +3675 -2
  784. package/dist/index.es478.js.map +1 -1
  785. package/dist/index.es479.js +2 -4
  786. package/dist/index.es479.js.map +1 -1
  787. package/dist/index.es48.js +1 -1
  788. package/dist/index.es480.js +5 -4
  789. package/dist/index.es480.js.map +1 -1
  790. package/dist/index.es481.js +520 -3
  791. package/dist/index.es481.js.map +1 -1
  792. package/dist/index.es483.js +1 -1
  793. package/dist/index.es49.js +3 -3
  794. package/dist/index.es50.js +1 -1
  795. package/dist/index.es51.js +1 -1
  796. package/dist/index.es52.js +1 -1
  797. package/dist/index.es53.js +2 -2
  798. package/dist/index.es54.js +1 -1
  799. package/dist/index.es55.js +1 -1
  800. package/dist/index.es56.js +1 -1
  801. package/dist/index.es57.js +2 -2
  802. package/dist/index.es59.js +1 -1
  803. package/dist/index.es6.js +2 -2
  804. package/dist/index.es60.js +2 -2
  805. package/dist/index.es61.js +1 -1
  806. package/dist/index.es62.js +3 -3
  807. package/dist/index.es64.js +1 -1
  808. package/dist/index.es66.js +1 -1
  809. package/dist/index.es67.js +1 -1
  810. package/dist/index.es68.js +1 -1
  811. package/dist/index.es7.js +2 -2
  812. package/dist/index.es70.js +1 -1
  813. package/dist/index.es71.js +1 -1
  814. package/dist/index.es72.js +1 -1
  815. package/dist/index.es73.js +1 -1
  816. package/dist/index.es8.js +2 -2
  817. package/dist/index.es9.js +4 -4
  818. package/dist/index.es90.js +1 -1
  819. package/dist/index.es91.js +1 -1
  820. package/dist/index.es92.js +1 -1
  821. package/dist/index.es94.js +1 -1
  822. package/dist/index.es96.js +2 -2
  823. package/dist/index.es97.js +1 -1
  824. package/dist/sections/HomeServices/HomeServices.css +1 -1
  825. package/package.json +1 -1
  826. package/dist/index.cjs223.js +0 -2
  827. package/dist/index.cjs223.js.map +0 -1
  828. package/dist/index.cjs227.js +0 -2
  829. package/dist/index.cjs227.js.map +0 -1
  830. package/dist/index.cjs229.js +0 -2
  831. package/dist/index.cjs229.js.map +0 -1
  832. package/dist/index.cjs237.js +0 -2
  833. package/dist/index.cjs237.js.map +0 -1
  834. package/dist/index.cjs272.js +0 -2
  835. package/dist/index.cjs272.js.map +0 -1
  836. package/dist/index.cjs278.js +0 -2
  837. package/dist/index.cjs278.js.map +0 -1
  838. package/dist/index.cjs282.js +0 -2
  839. package/dist/index.cjs282.js.map +0 -1
  840. package/dist/index.cjs288.js +0 -2
  841. package/dist/index.cjs288.js.map +0 -1
  842. package/dist/index.cjs290.js.map +0 -1
  843. package/dist/index.cjs292.js +0 -2
  844. package/dist/index.cjs292.js.map +0 -1
  845. package/dist/index.cjs308.js +0 -2
  846. package/dist/index.cjs308.js.map +0 -1
  847. package/dist/index.cjs362.js +0 -2
  848. package/dist/index.cjs362.js.map +0 -1
  849. package/dist/index.cjs387.js +0 -2
  850. package/dist/index.cjs387.js.map +0 -1
  851. package/dist/index.cjs389.js +0 -2
  852. package/dist/index.cjs389.js.map +0 -1
  853. package/dist/index.cjs390.js +0 -2
  854. package/dist/index.cjs390.js.map +0 -1
  855. package/dist/index.cjs396.js +0 -2
  856. package/dist/index.cjs396.js.map +0 -1
  857. package/dist/index.cjs405.js +0 -2
  858. package/dist/index.cjs405.js.map +0 -1
  859. package/dist/index.cjs406.js +0 -2
  860. package/dist/index.cjs406.js.map +0 -1
  861. package/dist/index.cjs407.js +0 -2
  862. package/dist/index.cjs407.js.map +0 -1
  863. package/dist/index.cjs415.js +0 -2
  864. package/dist/index.cjs415.js.map +0 -1
  865. package/dist/index.cjs416.js +0 -2
  866. package/dist/index.cjs416.js.map +0 -1
  867. package/dist/index.cjs452.js +0 -2
  868. package/dist/index.cjs452.js.map +0 -1
  869. package/dist/index.cjs453.js +0 -2
  870. package/dist/index.cjs453.js.map +0 -1
  871. package/dist/index.es223.js +0 -8
  872. package/dist/index.es223.js.map +0 -1
  873. package/dist/index.es227.js +0 -30
  874. package/dist/index.es227.js.map +0 -1
  875. package/dist/index.es229.js +0 -5
  876. package/dist/index.es229.js.map +0 -1
  877. package/dist/index.es237.js +0 -25
  878. package/dist/index.es237.js.map +0 -1
  879. package/dist/index.es272.js +0 -52
  880. package/dist/index.es272.js.map +0 -1
  881. package/dist/index.es278.js.map +0 -1
  882. package/dist/index.es282.js +0 -11
  883. package/dist/index.es282.js.map +0 -1
  884. package/dist/index.es288.js +0 -11
  885. package/dist/index.es288.js.map +0 -1
  886. package/dist/index.es290.js +0 -9
  887. package/dist/index.es290.js.map +0 -1
  888. package/dist/index.es292.js +0 -30
  889. package/dist/index.es292.js.map +0 -1
  890. package/dist/index.es308.js +0 -2
  891. package/dist/index.es308.js.map +0 -1
  892. package/dist/index.es362.js +0 -53
  893. package/dist/index.es362.js.map +0 -1
  894. package/dist/index.es387.js +0 -71
  895. package/dist/index.es387.js.map +0 -1
  896. package/dist/index.es389.js +0 -37
  897. package/dist/index.es389.js.map +0 -1
  898. package/dist/index.es390.js +0 -625
  899. package/dist/index.es390.js.map +0 -1
  900. package/dist/index.es396.js +0 -9
  901. package/dist/index.es396.js.map +0 -1
  902. package/dist/index.es405.js +0 -128
  903. package/dist/index.es405.js.map +0 -1
  904. package/dist/index.es406.js +0 -138
  905. package/dist/index.es406.js.map +0 -1
  906. package/dist/index.es407.js +0 -17
  907. package/dist/index.es407.js.map +0 -1
  908. package/dist/index.es415.js +0 -7
  909. package/dist/index.es415.js.map +0 -1
  910. package/dist/index.es416.js +0 -49
  911. package/dist/index.es416.js.map +0 -1
  912. package/dist/index.es452.js +0 -26
  913. package/dist/index.es452.js.map +0 -1
  914. package/dist/index.es453.js +0 -16
  915. package/dist/index.es453.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.es401.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACR,SAAQC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACb;AAAA,EACG,GAAE,EAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es401.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.es430.js";
2
+ import * as r from "react";
3
+ import { RemoveScroll as e } from "./index.es431.js";
4
+ import t from "./index.es432.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.es402.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es402.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]}
@@ -50,4 +50,4 @@ var S = function(r) {
50
50
  export {
51
51
  C as hideOthers
52
52
  };
53
- //# sourceMappingURL=index.es410.js.map
53
+ //# sourceMappingURL=index.es403.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es410.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,I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ILrB,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]}
1
+ {"version":3,"file":"index.es403.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,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+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]}
@@ -1,5 +1,5 @@
1
1
  import * as l from "react";
2
- import { useComposedRefs as y } from "./index.es386.js";
2
+ import { useComposedRefs as y } from "./index.es381.js";
3
3
  import { j as p } from "./index.es212.js";
4
4
  // @__NO_SIDE_EFFECTS__
5
5
  function b(e) {
@@ -54,4 +54,4 @@ export {
54
54
  b as createSlot,
55
55
  h as createSlottable
56
56
  };
57
- //# sourceMappingURL=index.es411.js.map
57
+ //# sourceMappingURL=index.es404.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es411.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } 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 const childrenRef = React.isValidElement(children) ? getElementRef(children) : void 0;\n const ref = useComposedRefs(childrenRef, forwardedRef);\n if (React.isValidElement(children)) {\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = ref;\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 const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","ref","useComposedRefs","props2","mergeProps","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAOA,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;AAA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IAAgBrB,EAAUoB,CAAQ,GAClCE,IAAiBJ,EAAWE,CAAQ;AAE1C,IADkB,WAAW,KAAKA,CAAQ,IAEpCC,KAAiBC,IACnBH,EAAcC,CAAQ,IAAI,IAAIG,MAAS;AACrC,YAAMC,IAASF,EAAe,GAAGC,CAAI;AACrC,aAAAF,EAAc,GAAGE,CAAI,GACdC;AAAA,IACR,IACQH,MACTF,EAAcC,CAAQ,IAAIC,KAEnBD,MAAa,UACtBD,EAAcC,CAAQ,IAAI,EAAE,GAAGC,GAAe,GAAGC,EAAgB,IACxDF,MAAa,gBACtBD,EAAcC,CAAQ,IAAI,CAACC,GAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG;AAAA,EAExF;AACE,SAAO,EAAE,GAAGtB,GAAW,GAAGmB,EAAe;AAC3C;AACA,SAASV,EAAcgB,GAAS;;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.es404.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/slot.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } 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 const childrenRef = React.isValidElement(children) ? getElementRef(children) : void 0;\n const ref = useComposedRefs(childrenRef, forwardedRef);\n if (React.isValidElement(children)) {\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = ref;\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 const result = childPropValue(...args);\n slotPropValue(...args);\n return result;\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","ref","useComposedRefs","props2","mergeProps","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","result","element","getter","_a","mayWarn","_b"],"mappings":";;;;AAOA,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,IAAa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C;","x_google_ignoreList":[0]}
@@ -1,18 +1,5 @@
1
- import * as r from "react";
2
- var t = 0;
3
- function a() {
4
- r.useEffect(() => {
5
- const e = document.querySelectorAll("[data-radix-focus-guard]");
6
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? n()), document.body.insertAdjacentElement("beforeend", e[1] ?? n()), t++, () => {
7
- t === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((o) => o.remove()), t--;
8
- };
9
- }, []);
10
- }
11
- function n() {
12
- const e = document.createElement("span");
13
- return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
14
- }
1
+ var r = {};
15
2
  export {
16
- a as useFocusGuards
3
+ r as __exports
17
4
  };
18
5
  //# sourceMappingURL=index.es408.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es408.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.es408.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,12 +1,5 @@
1
- import { __assign as m } from "./index.es434.js";
2
- import * as r from "react";
3
- import { RemoveScroll as e } from "./index.es435.js";
4
- import t from "./index.es436.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;
1
+ var e = {};
9
2
  export {
10
- s as default
3
+ e as __exports
11
4
  };
12
5
  //# sourceMappingURL=index.es409.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es409.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]}
1
+ {"version":3,"file":"index.es409.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
1
  import { j as s } from "./index.es212.js";
2
- import { Title as c, Close as d } from "./index.es271.js";
2
+ import { Title as c, Close as d } from "./index.es258.js";
3
3
  import './components/ui/ProgressBar/ProgressBar.css';/* empty css */
4
- import { clsx as t } from "./index.es214.js";
4
+ import { clsx as t } from "./index.es213.js";
5
5
  import { Button as n } from "./index.es25.js";
6
6
  import { Close as x } from "./index.es134.js";
7
7
  const g = ({
@@ -1,184 +1,7 @@
1
- import * as s from "react";
2
- import { composeEventHandlers as p } from "./index.es385.js";
3
- import { createCollection as H } from "./index.es416.js";
4
- import { useComposedRefs as V } from "./index.es386.js";
5
- import { createContextScope as z } from "./index.es387.js";
6
- import { useId as q } from "./index.es391.js";
7
- import { Primitive as G } from "./index.es389.js";
8
- import { useCallbackRef as J } from "./index.es420.js";
9
- import { useControllableState as Q } from "./index.es388.js";
10
- import { useDirection as W } from "./index.es417.js";
11
- import { j as d } from "./index.es212.js";
12
- var _ = "rovingFocusGroup.onEntryFocus", X = { bubbles: !1, cancelable: !0 }, I = "RovingFocusGroup", [y, N, Z] = H(I), [$, Fe] = z(
13
- I,
14
- [Z]
15
- ), [ee, oe] = $(I), O = s.forwardRef(
16
- (e, r) => /* @__PURE__ */ d.jsx(y.Provider, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(y.Slot, { scope: e.__scopeRovingFocusGroup, children: /* @__PURE__ */ d.jsx(te, { ...e, ref: r }) }) })
17
- );
18
- O.displayName = I;
19
- var te = s.forwardRef((e, r) => {
20
- const {
21
- __scopeRovingFocusGroup: c,
22
- orientation: o,
23
- loop: T = !1,
24
- dir: w,
25
- currentTabStopId: v,
26
- defaultCurrentTabStopId: C,
27
- onCurrentTabStopIdChange: S,
28
- onEntryFocus: m,
29
- preventScrollOnEntryFocus: u = !1,
30
- ...b
31
- } = e, F = s.useRef(null), g = V(r, F), R = W(w), [E, t] = Q({
32
- prop: v,
33
- defaultProp: C ?? null,
34
- onChange: S,
35
- caller: I
36
- }), [i, h] = s.useState(!1), a = J(m), l = N(c), x = s.useRef(!1), [k, D] = s.useState(0);
37
- return s.useEffect(() => {
38
- const n = F.current;
39
- if (n)
40
- return n.addEventListener(_, a), () => n.removeEventListener(_, a);
41
- }, [a]), /* @__PURE__ */ d.jsx(
42
- ee,
43
- {
44
- scope: c,
45
- orientation: o,
46
- dir: R,
47
- loop: T,
48
- currentTabStopId: E,
49
- onItemFocus: s.useCallback(
50
- (n) => t(n),
51
- [t]
52
- ),
53
- onItemShiftTab: s.useCallback(() => h(!0), []),
54
- onFocusableItemAdd: s.useCallback(
55
- () => D((n) => n + 1),
56
- []
57
- ),
58
- onFocusableItemRemove: s.useCallback(
59
- () => D((n) => n - 1),
60
- []
61
- ),
62
- children: /* @__PURE__ */ d.jsx(
63
- G.div,
64
- {
65
- tabIndex: i || k === 0 ? -1 : 0,
66
- "data-orientation": o,
67
- ...b,
68
- ref: g,
69
- style: { outline: "none", ...e.style },
70
- onMouseDown: p(e.onMouseDown, () => {
71
- x.current = !0;
72
- }),
73
- onFocus: p(e.onFocus, (n) => {
74
- const L = !x.current;
75
- if (n.target === n.currentTarget && L && !i) {
76
- const P = new CustomEvent(_, X);
77
- if (n.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
78
- const A = l().filter((f) => f.focusable), U = A.find((f) => f.active), B = A.find((f) => f.id === E), Y = [U, B, ...A].filter(
79
- Boolean
80
- ).map((f) => f.ref.current);
81
- M(Y, u);
82
- }
83
- }
84
- x.current = !1;
85
- }),
86
- onBlur: p(e.onBlur, () => h(!1))
87
- }
88
- )
89
- }
90
- );
91
- }), K = "RovingFocusGroupItem", j = s.forwardRef(
92
- (e, r) => {
93
- const {
94
- __scopeRovingFocusGroup: c,
95
- focusable: o = !0,
96
- active: T = !1,
97
- tabStopId: w,
98
- children: v,
99
- ...C
100
- } = e, S = q(), m = w || S, u = oe(K, c), b = u.currentTabStopId === m, F = N(c), { onFocusableItemAdd: g, onFocusableItemRemove: R, currentTabStopId: E } = u;
101
- return s.useEffect(() => {
102
- if (o)
103
- return g(), () => R();
104
- }, [o, g, R]), /* @__PURE__ */ d.jsx(
105
- y.ItemSlot,
106
- {
107
- scope: c,
108
- id: m,
109
- focusable: o,
110
- active: T,
111
- children: /* @__PURE__ */ d.jsx(
112
- G.span,
113
- {
114
- tabIndex: b ? 0 : -1,
115
- "data-orientation": u.orientation,
116
- ...C,
117
- ref: r,
118
- onMouseDown: p(e.onMouseDown, (t) => {
119
- o ? u.onItemFocus(m) : t.preventDefault();
120
- }),
121
- onFocus: p(e.onFocus, () => u.onItemFocus(m)),
122
- onKeyDown: p(e.onKeyDown, (t) => {
123
- if (t.key === "Tab" && t.shiftKey) {
124
- u.onItemShiftTab();
125
- return;
126
- }
127
- if (t.target !== t.currentTarget) return;
128
- const i = se(t, u.orientation, u.dir);
129
- if (i !== void 0) {
130
- if (t.metaKey || t.ctrlKey || t.altKey || t.shiftKey) return;
131
- t.preventDefault();
132
- let a = F().filter((l) => l.focusable).map((l) => l.ref.current);
133
- if (i === "last") a.reverse();
134
- else if (i === "prev" || i === "next") {
135
- i === "prev" && a.reverse();
136
- const l = a.indexOf(t.currentTarget);
137
- a = u.loop ? ce(a, l + 1) : a.slice(l + 1);
138
- }
139
- setTimeout(() => M(a));
140
- }
141
- }),
142
- children: typeof v == "function" ? v({ isCurrentTabStop: b, hasTabStop: E != null }) : v
143
- }
144
- )
145
- }
146
- );
147
- }
148
- );
149
- j.displayName = K;
150
- var re = {
151
- ArrowLeft: "prev",
152
- ArrowUp: "prev",
153
- ArrowRight: "next",
154
- ArrowDown: "next",
155
- PageUp: "first",
156
- Home: "first",
157
- PageDown: "last",
158
- End: "last"
1
+ import * as t from "react";
2
+ var e = globalThis != null && globalThis.document ? t.useLayoutEffect : () => {
159
3
  };
160
- function ne(e, r) {
161
- return r !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e;
162
- }
163
- function se(e, r, c) {
164
- const o = ne(e.key, c);
165
- if (!(r === "vertical" && ["ArrowLeft", "ArrowRight"].includes(o)) && !(r === "horizontal" && ["ArrowUp", "ArrowDown"].includes(o)))
166
- return re[o];
167
- }
168
- function M(e, r = !1) {
169
- const c = document.activeElement;
170
- for (const o of e)
171
- if (o === c || (o.focus({ preventScroll: r }), document.activeElement !== c)) return;
172
- }
173
- function ce(e, r) {
174
- return e.map((c, o) => e[(r + o) % e.length]);
175
- }
176
- var ge = O, Re = j;
177
4
  export {
178
- Re as Item,
179
- ge as Root,
180
- O as RovingFocusGroup,
181
- j as RovingFocusGroupItem,
182
- Fe as createRovingFocusGroupScope
5
+ e as useLayoutEffect
183
6
  };
184
7
  //# sourceMappingURL=index.es419.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es419.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// 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, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId ?? null,\n onChange: onCurrentTabStopIdChange,\n caller: GROUP_NAME\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 children,\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, currentTabStopId } = 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 children: typeof children === \"function\" ? children({ isCurrentTabStop, hasTabStop: currentTabStopId != null }) : children\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","children","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":";;;;;;;;;;;AAcA,IAAIA,IAAc,iCACdC,IAAgB,EAAE,SAAS,IAAO,YAAY,GAAM,GACpDC,IAAa,oBACb,CAACC,GAAYC,GAAeC,CAAqB,IAAIC,EAAiBJ,CAAU,GAChF,CAACK,GAA+BC,EAA2B,IAAIC;AAAA,EACjEP;AAAA,EACA,CAACG,CAAqB;AACxB,GACI,CAACK,IAAqBC,EAAqB,IAAIJ,EAA8BL,CAAU,GACvFU,IAAmBC,EAAM;AAAA,EAC3B,CAACC,GAAOC,MACiBC,gBAAAA,MAAIb,EAAW,UAAU,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,MAAIb,EAAW,MAAM,EAAE,OAAOW,EAAM,yBAAyB,UAA0BE,gBAAAA,EAAAA,IAAIC,IAAsB,EAAE,GAAGH,GAAO,KAAKC,GAAc,EAAC,CAAE,EAAC,CAAE;AAE5Q;AACAH,EAAiB,cAAcV;AAC/B,IAAIe,KAAuBJ,EAAM,WAAW,CAACC,GAAOC,MAAiB;AACnE,QAAM;AAAA,IACJ,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ASL,GAAevB,GAAO9B,GAAaE,GAAK;AAC/C,QAAMwD,IAAMD,GAAqB3B,EAAM,KAAK5B,CAAG;AAC/C,MAAI,EAAAF,MAAgB,cAAc,CAAC,aAAa,YAAY,EAAE,SAAS0D,CAAG,MACtE,EAAA1D,MAAgB,gBAAgB,CAAC,WAAW,WAAW,EAAE,SAAS0D,CAAG;AACzE,WAAOF,GAAwBE,CAAG;AACpC;AACA,SAASpB,EAAWqB,GAAYC,IAAgB,IAAO;AACrD,QAAMC,IAA6B,SAAS;AAC5C,aAAWC,KAAaH;AAGtB,QAFIG,MAAcD,MAClBC,EAAU,MAAM,EAAE,eAAAF,GAAe,GAC7B,SAAS,kBAAkBC,GAA4B;AAE/D;AACA,SAASN,GAAUQ,GAAOC,GAAY;AACpC,SAAOD,EAAM,IAAI,CAACE,GAAGC,MAAUH,GAAOC,IAAaE,KAASH,EAAM,MAAM,CAAC;AAC3E;AACG,IAACI,KAAO1E,GACP2E,KAAO5B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es419.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":";AAEG,IAACA,IAAmB,iCAAY,WAAWC,EAAM,kBAAkB,MAAM;AAC5E;","x_google_ignoreList":[0]}
@@ -1,8 +1,8 @@
1
1
  import { j as s } from "./index.es212.js";
2
2
  import './components/ui/CardSelectDoctor/CardSelectDoctor.css';/* empty css */
3
3
  import { useState as p, useRef as w } from "react";
4
- import { Checkbox as j, CheckboxIndicator as k } from "./index.es255.js";
5
- import { useClickOutside as g } from "./index.es256.js";
4
+ import { Checkbox as j, CheckboxIndicator as k } from "./index.es242.js";
5
+ import { useClickOutside as g } from "./index.es243.js";
6
6
  import { Col as C } from "./index.es10.js";
7
7
  const $ = ({
8
8
  id: r,
@@ -1,14 +1,49 @@
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 r from "react";
2
+ import { createContextScope as y } from "./index.es382.js";
3
+ import { useComposedRefs as S } from "./index.es381.js";
4
+ import { createSlot as M } from "./index.es404.js";
5
+ import { j as d } from "./index.es212.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 });
26
+ }
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]);
39
+ }
40
+ return [
41
+ { Provider: p, Slot: C, ItemSlot: x },
42
+ O,
43
+ E
44
+ ];
10
45
  }
11
46
  export {
12
- o as useCallbackRef
47
+ D as createCollection
13
48
  };
14
49
  //# sourceMappingURL=index.es420.js.map