@anoki/fse-ui 1.0.725 → 1.0.727

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 (913) hide show
  1. package/dist/components/ui/CardFile/CardFile.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs104.js +1 -1
  8. package/dist/index.cjs105.js +1 -1
  9. package/dist/index.cjs106.js +1 -1
  10. package/dist/index.cjs108.js +1 -1
  11. package/dist/index.cjs109.js +1 -1
  12. package/dist/index.cjs11.js +1 -1
  13. package/dist/index.cjs111.js +1 -1
  14. package/dist/index.cjs113.js +1 -1
  15. package/dist/index.cjs114.js +1 -1
  16. package/dist/index.cjs116.js +1 -1
  17. package/dist/index.cjs117.js +1 -1
  18. package/dist/index.cjs119.js +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs120.js +1 -1
  21. package/dist/index.cjs121.js +1 -1
  22. package/dist/index.cjs122.js +1 -1
  23. package/dist/index.cjs123.js +1 -1
  24. package/dist/index.cjs126.js +1 -1
  25. package/dist/index.cjs128.js +1 -1
  26. package/dist/index.cjs13.js +1 -1
  27. package/dist/index.cjs130.js +1 -1
  28. package/dist/index.cjs131.js +1 -1
  29. package/dist/index.cjs132.js +1 -1
  30. package/dist/index.cjs133.js +1 -1
  31. package/dist/index.cjs134.js +1 -1
  32. package/dist/index.cjs135.js +1 -1
  33. package/dist/index.cjs136.js +1 -1
  34. package/dist/index.cjs137.js +1 -1
  35. package/dist/index.cjs138.js +1 -1
  36. package/dist/index.cjs139.js +1 -1
  37. package/dist/index.cjs14.js +1 -1
  38. package/dist/index.cjs140.js +1 -1
  39. package/dist/index.cjs141.js +1 -1
  40. package/dist/index.cjs142.js +1 -1
  41. package/dist/index.cjs143.js +1 -1
  42. package/dist/index.cjs144.js +1 -1
  43. package/dist/index.cjs145.js +1 -1
  44. package/dist/index.cjs146.js +1 -1
  45. package/dist/index.cjs147.js +1 -1
  46. package/dist/index.cjs148.js +1 -1
  47. package/dist/index.cjs149.js +1 -1
  48. package/dist/index.cjs15.js +1 -1
  49. package/dist/index.cjs150.js +1 -1
  50. package/dist/index.cjs151.js +1 -1
  51. package/dist/index.cjs152.js +1 -1
  52. package/dist/index.cjs153.js +1 -1
  53. package/dist/index.cjs154.js +1 -1
  54. package/dist/index.cjs155.js +1 -1
  55. package/dist/index.cjs156.js +1 -1
  56. package/dist/index.cjs157.js +1 -1
  57. package/dist/index.cjs158.js +1 -1
  58. package/dist/index.cjs16.js +1 -1
  59. package/dist/index.cjs160.js +1 -1
  60. package/dist/index.cjs161.js +1 -1
  61. package/dist/index.cjs162.js +1 -1
  62. package/dist/index.cjs163.js +1 -1
  63. package/dist/index.cjs164.js +1 -1
  64. package/dist/index.cjs165.js +1 -1
  65. package/dist/index.cjs166.js +1 -1
  66. package/dist/index.cjs167.js +1 -1
  67. package/dist/index.cjs168.js +1 -1
  68. package/dist/index.cjs17.js +1 -1
  69. package/dist/index.cjs170.js +1 -1
  70. package/dist/index.cjs171.js +1 -1
  71. package/dist/index.cjs172.js +1 -1
  72. package/dist/index.cjs173.js +1 -1
  73. package/dist/index.cjs174.js +1 -1
  74. package/dist/index.cjs175.js +1 -1
  75. package/dist/index.cjs176.js +1 -1
  76. package/dist/index.cjs178.js +1 -1
  77. package/dist/index.cjs179.js +1 -1
  78. package/dist/index.cjs18.js +1 -1
  79. package/dist/index.cjs180.js +1 -1
  80. package/dist/index.cjs181.js +1 -1
  81. package/dist/index.cjs182.js +1 -1
  82. package/dist/index.cjs183.js +1 -1
  83. package/dist/index.cjs184.js +1 -1
  84. package/dist/index.cjs19.js +1 -1
  85. package/dist/index.cjs191.js +1 -1
  86. package/dist/index.cjs20.js +1 -1
  87. package/dist/index.cjs21.js +1 -1
  88. package/dist/index.cjs214.js +1 -1
  89. package/dist/index.cjs214.js.map +1 -1
  90. package/dist/index.cjs216.js +1 -1
  91. package/dist/index.cjs216.js.map +1 -1
  92. package/dist/index.cjs22.js +1 -1
  93. package/dist/index.cjs223.js +2 -0
  94. package/dist/index.cjs223.js.map +1 -0
  95. package/dist/index.cjs224.js +6 -1
  96. package/dist/index.cjs224.js.map +1 -1
  97. package/dist/index.cjs227.js +2 -0
  98. package/dist/index.cjs227.js.map +1 -0
  99. package/dist/index.cjs229.js +2 -0
  100. package/dist/index.cjs229.js.map +1 -0
  101. package/dist/index.cjs23.js +1 -1
  102. package/dist/{index.cjs217.js → index.cjs230.js} +1 -1
  103. package/dist/{index.cjs217.js.map → index.cjs230.js.map} +1 -1
  104. package/dist/{index.cjs220.js → index.cjs233.js} +1 -1
  105. package/dist/{index.cjs220.js.map → index.cjs233.js.map} +1 -1
  106. package/dist/index.cjs237.js +2 -0
  107. package/dist/index.cjs237.js.map +1 -0
  108. package/dist/index.cjs24.js +1 -1
  109. package/dist/{index.cjs228.js → index.cjs241.js} +2 -2
  110. package/dist/{index.cjs228.js.map → index.cjs241.js.map} +1 -1
  111. package/dist/{index.cjs231.js → index.cjs244.js} +2 -2
  112. package/dist/{index.cjs231.js.map → index.cjs244.js.map} +1 -1
  113. package/dist/{index.cjs234.js → index.cjs247.js} +2 -2
  114. package/dist/{index.cjs234.js.map → index.cjs247.js.map} +1 -1
  115. package/dist/{index.cjs235.js → index.cjs248.js} +2 -2
  116. package/dist/{index.cjs235.js.map → index.cjs248.js.map} +1 -1
  117. package/dist/{index.cjs236.js → index.cjs249.js} +2 -2
  118. package/dist/{index.cjs236.js.map → index.cjs249.js.map} +1 -1
  119. package/dist/index.cjs25.js +1 -1
  120. package/dist/{index.cjs242.js → index.cjs255.js} +2 -2
  121. package/dist/{index.cjs242.js.map → index.cjs255.js.map} +1 -1
  122. package/dist/index.cjs256.js +1 -1
  123. package/dist/index.cjs256.js.map +1 -1
  124. package/dist/index.cjs259.js +1 -1
  125. package/dist/index.cjs259.js.map +1 -1
  126. package/dist/index.cjs26.js +1 -1
  127. package/dist/index.cjs264.js +1 -1
  128. package/dist/index.cjs264.js.map +1 -1
  129. package/dist/index.cjs265.js +1 -1
  130. package/dist/index.cjs265.js.map +1 -1
  131. package/dist/index.cjs266.js +1 -1
  132. package/dist/index.cjs266.js.map +1 -1
  133. package/dist/{index.cjs254.js → index.cjs267.js} +1 -1
  134. package/dist/{index.cjs254.js.map → index.cjs267.js.map} +1 -1
  135. package/dist/index.cjs269.js +1 -1
  136. package/dist/index.cjs269.js.map +1 -1
  137. package/dist/{index.cjs258.js → index.cjs271.js} +2 -2
  138. package/dist/{index.cjs258.js.map → index.cjs271.js.map} +1 -1
  139. package/dist/index.cjs272.js +2 -0
  140. package/dist/index.cjs272.js.map +1 -0
  141. package/dist/{index.cjs260.js → index.cjs273.js} +1 -1
  142. package/dist/{index.cjs260.js.map → index.cjs273.js.map} +1 -1
  143. package/dist/{index.cjs261.js → index.cjs274.js} +1 -1
  144. package/dist/{index.cjs261.js.map → index.cjs274.js.map} +1 -1
  145. package/dist/index.cjs275.js +1 -1
  146. package/dist/index.cjs275.js.map +1 -1
  147. package/dist/index.cjs277.js +1 -1
  148. package/dist/index.cjs277.js.map +1 -1
  149. package/dist/index.cjs278.js +2 -0
  150. package/dist/index.cjs278.js.map +1 -0
  151. package/dist/index.cjs279.js +1 -1
  152. package/dist/index.cjs279.js.map +1 -1
  153. package/dist/index.cjs28.js +1 -1
  154. package/dist/index.cjs282.js +2 -0
  155. package/dist/index.cjs282.js.map +1 -0
  156. package/dist/index.cjs283.js +1 -1
  157. package/dist/index.cjs283.js.map +1 -1
  158. package/dist/index.cjs288.js +2 -0
  159. package/dist/index.cjs288.js.map +1 -0
  160. package/dist/{index.cjs276.js → index.cjs289.js} +2 -2
  161. package/dist/{index.cjs276.js.map → index.cjs289.js.map} +1 -1
  162. package/dist/index.cjs29.js +1 -1
  163. package/dist/index.cjs290.js +2 -0
  164. package/dist/index.cjs290.js.map +1 -0
  165. package/dist/index.cjs292.js +2 -0
  166. package/dist/index.cjs292.js.map +1 -0
  167. package/dist/{index.cjs280.js → index.cjs293.js} +2 -2
  168. package/dist/{index.cjs280.js.map → index.cjs293.js.map} +1 -1
  169. package/dist/{index.cjs281.js → index.cjs294.js} +1 -1
  170. package/dist/{index.cjs281.js.map → index.cjs294.js.map} +1 -1
  171. package/dist/index.cjs296.js +1 -1
  172. package/dist/index.cjs296.js.map +1 -1
  173. package/dist/{index.cjs284.js → index.cjs297.js} +2 -2
  174. package/dist/{index.cjs284.js.map → index.cjs297.js.map} +1 -1
  175. package/dist/{index.cjs285.js → index.cjs298.js} +2 -2
  176. package/dist/{index.cjs285.js.map → index.cjs298.js.map} +1 -1
  177. package/dist/index.cjs30.js +1 -1
  178. package/dist/index.cjs308.js +2 -0
  179. package/dist/index.cjs308.js.map +1 -0
  180. package/dist/index.cjs31.js +1 -1
  181. package/dist/index.cjs32.js +1 -1
  182. package/dist/index.cjs33.js +1 -1
  183. package/dist/{index.cjs325.js → index.cjs337.js} +2 -2
  184. package/dist/{index.cjs325.js.map → index.cjs337.js.map} +1 -1
  185. package/dist/index.cjs34.js +1 -1
  186. package/dist/{index.cjs333.js → index.cjs345.js} +2 -2
  187. package/dist/{index.cjs333.js.map → index.cjs345.js.map} +1 -1
  188. package/dist/index.cjs35.js +1 -1
  189. package/dist/index.cjs350.js +1 -1
  190. package/dist/index.cjs350.js.map +1 -1
  191. package/dist/{index.cjs344.js → index.cjs356.js} +2 -2
  192. package/dist/{index.cjs344.js.map → index.cjs356.js.map} +1 -1
  193. package/dist/{index.cjs346.js → index.cjs358.js} +2 -2
  194. package/dist/{index.cjs346.js.map → index.cjs358.js.map} +1 -1
  195. package/dist/index.cjs362.js +2 -0
  196. package/dist/index.cjs362.js.map +1 -0
  197. package/dist/{index.cjs352.js → index.cjs364.js} +2 -2
  198. package/dist/{index.cjs352.js.map → index.cjs364.js.map} +1 -1
  199. package/dist/index.cjs365.js +1 -1
  200. package/dist/index.cjs365.js.map +1 -1
  201. package/dist/{index.cjs354.js → index.cjs366.js} +2 -2
  202. package/dist/{index.cjs354.js.map → index.cjs366.js.map} +1 -1
  203. package/dist/index.cjs37.js +1 -1
  204. package/dist/index.cjs378.js +1 -1
  205. package/dist/index.cjs379.js +1 -1
  206. package/dist/index.cjs38.js +1 -1
  207. package/dist/index.cjs380.js +27 -1
  208. package/dist/index.cjs380.js.map +1 -1
  209. package/dist/index.cjs381.js +1 -1
  210. package/dist/index.cjs381.js.map +1 -1
  211. package/dist/index.cjs382.js +1 -1
  212. package/dist/index.cjs382.js.map +1 -1
  213. package/dist/index.cjs383.js +1 -1
  214. package/dist/index.cjs383.js.map +1 -1
  215. package/dist/index.cjs384.js +2 -1
  216. package/dist/index.cjs384.js.map +1 -1
  217. package/dist/index.cjs385.js +1 -1
  218. package/dist/index.cjs385.js.map +1 -1
  219. package/dist/index.cjs386.js +1 -1
  220. package/dist/index.cjs386.js.map +1 -1
  221. package/dist/index.cjs387.js +2 -0
  222. package/dist/index.cjs387.js.map +1 -0
  223. package/dist/index.cjs388.js +1 -1
  224. package/dist/index.cjs388.js.map +1 -1
  225. package/dist/index.cjs389.js +2 -0
  226. package/dist/index.cjs389.js.map +1 -0
  227. package/dist/index.cjs39.js +1 -1
  228. package/dist/index.cjs390.js +2 -0
  229. package/dist/index.cjs390.js.map +1 -0
  230. package/dist/index.cjs391.js +1 -1
  231. package/dist/index.cjs391.js.map +1 -1
  232. package/dist/index.cjs393.js +1 -1
  233. package/dist/index.cjs393.js.map +1 -1
  234. package/dist/index.cjs396.js +1 -1
  235. package/dist/index.cjs396.js.map +1 -1
  236. package/dist/index.cjs397.js +1 -1
  237. package/dist/index.cjs397.js.map +1 -1
  238. package/dist/index.cjs398.js +1 -1
  239. package/dist/index.cjs398.js.map +1 -1
  240. package/dist/index.cjs399.js +1 -1
  241. package/dist/index.cjs399.js.map +1 -1
  242. package/dist/index.cjs40.js +1 -1
  243. package/dist/index.cjs400.js +1 -1
  244. package/dist/index.cjs400.js.map +1 -1
  245. package/dist/index.cjs401.js +2 -0
  246. package/dist/index.cjs401.js.map +1 -0
  247. package/dist/{index.cjs394.js → index.cjs407.js} +2 -2
  248. package/dist/{index.cjs394.js.map → index.cjs407.js.map} +1 -1
  249. package/dist/{index.cjs395.js → index.cjs408.js} +2 -2
  250. package/dist/{index.cjs395.js.map → index.cjs408.js.map} +1 -1
  251. package/dist/index.cjs409.js +1 -1
  252. package/dist/index.cjs409.js.map +1 -1
  253. package/dist/index.cjs41.js +1 -1
  254. package/dist/index.cjs410.js +1 -1
  255. package/dist/index.cjs410.js.map +1 -1
  256. package/dist/index.cjs411.js +1 -1
  257. package/dist/index.cjs411.js.map +1 -1
  258. package/dist/index.cjs412.js +2 -0
  259. package/dist/index.cjs412.js.map +1 -0
  260. package/dist/index.cjs413.js +2 -0
  261. package/dist/index.cjs413.js.map +1 -0
  262. package/dist/index.cjs417.js +2 -0
  263. package/dist/index.cjs417.js.map +1 -0
  264. package/dist/index.cjs418.js +1 -1
  265. package/dist/index.cjs418.js.map +1 -1
  266. package/dist/index.cjs419.js +1 -1
  267. package/dist/index.cjs419.js.map +1 -1
  268. package/dist/index.cjs42.js +1 -1
  269. package/dist/index.cjs420.js +1 -1
  270. package/dist/index.cjs420.js.map +1 -1
  271. package/dist/index.cjs421.js +1 -1
  272. package/dist/index.cjs421.js.map +1 -1
  273. package/dist/index.cjs422.js +1 -1
  274. package/dist/index.cjs422.js.map +1 -1
  275. package/dist/index.cjs43.js +1 -1
  276. package/dist/index.cjs430.js +1 -1
  277. package/dist/index.cjs430.js.map +1 -1
  278. package/dist/index.cjs431.js +1 -1
  279. package/dist/index.cjs431.js.map +1 -1
  280. package/dist/index.cjs432.js +1 -1
  281. package/dist/index.cjs432.js.map +1 -1
  282. package/dist/index.cjs433.js +1 -1
  283. package/dist/index.cjs433.js.map +1 -1
  284. package/dist/index.cjs434.js +1 -1
  285. package/dist/index.cjs434.js.map +1 -1
  286. package/dist/index.cjs435.js +1 -1
  287. package/dist/index.cjs435.js.map +1 -1
  288. package/dist/index.cjs436.js +1 -4
  289. package/dist/index.cjs436.js.map +1 -1
  290. package/dist/index.cjs437.js +1 -1
  291. package/dist/index.cjs437.js.map +1 -1
  292. package/dist/index.cjs438.js +1 -1
  293. package/dist/index.cjs438.js.map +1 -1
  294. package/dist/index.cjs439.js +1 -1
  295. package/dist/index.cjs439.js.map +1 -1
  296. package/dist/index.cjs44.js +1 -1
  297. package/dist/index.cjs440.js +4 -1
  298. package/dist/index.cjs440.js.map +1 -1
  299. package/dist/index.cjs441.js +1 -1
  300. package/dist/index.cjs441.js.map +1 -1
  301. package/dist/index.cjs442.js +1 -38
  302. package/dist/index.cjs442.js.map +1 -1
  303. package/dist/index.cjs443.js +1 -1
  304. package/dist/index.cjs443.js.map +1 -1
  305. package/dist/index.cjs444.js +1 -1
  306. package/dist/index.cjs444.js.map +1 -1
  307. package/dist/index.cjs445.js +1 -1
  308. package/dist/index.cjs445.js.map +1 -1
  309. package/dist/index.cjs446.js +38 -1
  310. package/dist/index.cjs446.js.map +1 -1
  311. package/dist/index.cjs447.js +1 -1
  312. package/dist/index.cjs447.js.map +1 -1
  313. package/dist/index.cjs448.js +1 -1
  314. package/dist/index.cjs448.js.map +1 -1
  315. package/dist/index.cjs449.js +1 -1
  316. package/dist/index.cjs449.js.map +1 -1
  317. package/dist/index.cjs45.js +1 -1
  318. package/dist/index.cjs450.js +1 -1
  319. package/dist/index.cjs450.js.map +1 -1
  320. package/dist/index.cjs451.js +1 -1
  321. package/dist/index.cjs451.js.map +1 -1
  322. package/dist/index.cjs452.js +2 -0
  323. package/dist/index.cjs452.js.map +1 -0
  324. package/dist/index.cjs453.js +2 -0
  325. package/dist/index.cjs453.js.map +1 -0
  326. package/dist/index.cjs454.js +1 -1
  327. package/dist/index.cjs454.js.map +1 -1
  328. package/dist/index.cjs455.js +1 -1
  329. package/dist/index.cjs455.js.map +1 -1
  330. package/dist/index.cjs458.js +1 -1
  331. package/dist/index.cjs458.js.map +1 -1
  332. package/dist/index.cjs459.js +1 -1
  333. package/dist/index.cjs459.js.map +1 -1
  334. package/dist/index.cjs46.js +1 -1
  335. package/dist/index.cjs460.js +1 -1
  336. package/dist/index.cjs460.js.map +1 -1
  337. package/dist/index.cjs461.js +1 -1
  338. package/dist/index.cjs461.js.map +1 -1
  339. package/dist/index.cjs462.js +1 -1
  340. package/dist/index.cjs462.js.map +1 -1
  341. package/dist/index.cjs463.js +1 -1
  342. package/dist/index.cjs463.js.map +1 -1
  343. package/dist/index.cjs464.js +1 -1
  344. package/dist/index.cjs464.js.map +1 -1
  345. package/dist/index.cjs465.js +1 -1
  346. package/dist/index.cjs465.js.map +1 -1
  347. package/dist/index.cjs466.js +1 -1
  348. package/dist/index.cjs466.js.map +1 -1
  349. package/dist/index.cjs467.js +1 -1
  350. package/dist/index.cjs467.js.map +1 -1
  351. package/dist/index.cjs468.js +1 -1
  352. package/dist/index.cjs468.js.map +1 -1
  353. package/dist/index.cjs469.js +1 -5
  354. package/dist/index.cjs469.js.map +1 -1
  355. package/dist/index.cjs47.js +1 -1
  356. package/dist/index.cjs470.js +1 -1
  357. package/dist/index.cjs470.js.map +1 -1
  358. package/dist/index.cjs471.js +1 -1
  359. package/dist/index.cjs471.js.map +1 -1
  360. package/dist/index.cjs472.js +1 -1
  361. package/dist/index.cjs472.js.map +1 -1
  362. package/dist/index.cjs473.js +5 -1
  363. package/dist/index.cjs473.js.map +1 -1
  364. package/dist/index.cjs474.js +1 -1
  365. package/dist/index.cjs474.js.map +1 -1
  366. package/dist/index.cjs475.js +1 -1
  367. package/dist/index.cjs475.js.map +1 -1
  368. package/dist/index.cjs476.js +1 -1
  369. package/dist/index.cjs476.js.map +1 -1
  370. package/dist/index.cjs477.js +1 -1
  371. package/dist/index.cjs477.js.map +1 -1
  372. package/dist/index.cjs478.js +1 -27
  373. package/dist/index.cjs478.js.map +1 -1
  374. package/dist/index.cjs479.js +1 -1
  375. package/dist/index.cjs479.js.map +1 -1
  376. package/dist/index.cjs48.js +1 -1
  377. package/dist/index.cjs480.js +1 -1
  378. package/dist/index.cjs480.js.map +1 -1
  379. package/dist/index.cjs481.js +1 -2
  380. package/dist/index.cjs481.js.map +1 -1
  381. package/dist/index.cjs483.js +1 -1
  382. package/dist/index.cjs49.js +1 -1
  383. package/dist/index.cjs50.js +1 -1
  384. package/dist/index.cjs51.js +1 -1
  385. package/dist/index.cjs52.js +1 -1
  386. package/dist/index.cjs53.js +1 -1
  387. package/dist/index.cjs54.js +1 -1
  388. package/dist/index.cjs55.js +1 -1
  389. package/dist/index.cjs56.js +1 -1
  390. package/dist/index.cjs57.js +1 -1
  391. package/dist/index.cjs59.js +1 -1
  392. package/dist/index.cjs6.js +1 -1
  393. package/dist/index.cjs60.js +1 -1
  394. package/dist/index.cjs61.js +1 -1
  395. package/dist/index.cjs62.js +1 -1
  396. package/dist/index.cjs64.js +1 -1
  397. package/dist/index.cjs66.js +1 -1
  398. package/dist/index.cjs67.js +1 -1
  399. package/dist/index.cjs68.js +1 -1
  400. package/dist/index.cjs69.js +1 -1
  401. package/dist/index.cjs69.js.map +1 -1
  402. package/dist/index.cjs7.js +1 -1
  403. package/dist/index.cjs70.js +1 -1
  404. package/dist/index.cjs71.js +1 -1
  405. package/dist/index.cjs72.js +1 -1
  406. package/dist/index.cjs73.js +1 -1
  407. package/dist/index.cjs8.js +1 -1
  408. package/dist/index.cjs9.js +1 -1
  409. package/dist/index.cjs90.js +1 -1
  410. package/dist/index.cjs91.js +1 -1
  411. package/dist/index.cjs92.js +1 -1
  412. package/dist/index.cjs94.js +1 -1
  413. package/dist/index.cjs96.js +1 -1
  414. package/dist/index.cjs97.js +1 -1
  415. package/dist/index.d.ts +3 -1
  416. package/dist/index.es10.js +4 -4
  417. package/dist/index.es100.js +1 -1
  418. package/dist/index.es101.js +1 -1
  419. package/dist/index.es102.js +3 -3
  420. package/dist/index.es103.js +1 -1
  421. package/dist/index.es104.js +1 -1
  422. package/dist/index.es105.js +1 -1
  423. package/dist/index.es106.js +1 -1
  424. package/dist/index.es108.js +2 -2
  425. package/dist/index.es109.js +1 -1
  426. package/dist/index.es11.js +1 -1
  427. package/dist/index.es111.js +1 -1
  428. package/dist/index.es113.js +3 -3
  429. package/dist/index.es114.js +1 -1
  430. package/dist/index.es116.js +3 -3
  431. package/dist/index.es117.js +1 -1
  432. package/dist/index.es119.js +2 -2
  433. package/dist/index.es12.js +2 -2
  434. package/dist/index.es120.js +1 -1
  435. package/dist/index.es121.js +1 -1
  436. package/dist/index.es122.js +2 -2
  437. package/dist/index.es123.js +1 -1
  438. package/dist/index.es126.js +2 -2
  439. package/dist/index.es128.js +1 -1
  440. package/dist/index.es13.js +1 -1
  441. package/dist/index.es130.js +2 -2
  442. package/dist/index.es131.js +2 -2
  443. package/dist/index.es132.js +2 -2
  444. package/dist/index.es133.js +2 -2
  445. package/dist/index.es134.js +2 -2
  446. package/dist/index.es135.js +2 -2
  447. package/dist/index.es136.js +2 -2
  448. package/dist/index.es137.js +2 -2
  449. package/dist/index.es138.js +2 -2
  450. package/dist/index.es139.js +2 -2
  451. package/dist/index.es14.js +1 -1
  452. package/dist/index.es140.js +2 -2
  453. package/dist/index.es141.js +2 -2
  454. package/dist/index.es142.js +2 -2
  455. package/dist/index.es143.js +2 -2
  456. package/dist/index.es144.js +2 -2
  457. package/dist/index.es145.js +2 -2
  458. package/dist/index.es146.js +2 -2
  459. package/dist/index.es147.js +2 -2
  460. package/dist/index.es148.js +2 -2
  461. package/dist/index.es149.js +2 -2
  462. package/dist/index.es15.js +2 -2
  463. package/dist/index.es150.js +2 -2
  464. package/dist/index.es151.js +2 -2
  465. package/dist/index.es152.js +2 -2
  466. package/dist/index.es153.js +1 -1
  467. package/dist/index.es154.js +1 -1
  468. package/dist/index.es155.js +1 -1
  469. package/dist/index.es156.js +2 -2
  470. package/dist/index.es157.js +2 -2
  471. package/dist/index.es158.js +2 -2
  472. package/dist/index.es16.js +2 -2
  473. package/dist/index.es160.js +2 -2
  474. package/dist/index.es161.js +2 -2
  475. package/dist/index.es162.js +2 -2
  476. package/dist/index.es163.js +2 -2
  477. package/dist/index.es164.js +2 -2
  478. package/dist/index.es165.js +2 -2
  479. package/dist/index.es166.js +2 -2
  480. package/dist/index.es167.js +2 -2
  481. package/dist/index.es168.js +2 -2
  482. package/dist/index.es17.js +1 -1
  483. package/dist/index.es170.js +2 -2
  484. package/dist/index.es171.js +2 -2
  485. package/dist/index.es172.js +2 -2
  486. package/dist/index.es173.js +2 -2
  487. package/dist/index.es174.js +2 -2
  488. package/dist/index.es175.js +2 -2
  489. package/dist/index.es176.js +2 -2
  490. package/dist/index.es178.js +2 -2
  491. package/dist/index.es179.js +2 -2
  492. package/dist/index.es18.js +2 -2
  493. package/dist/index.es180.js +2 -2
  494. package/dist/index.es181.js +2 -2
  495. package/dist/index.es182.js +2 -2
  496. package/dist/index.es183.js +2 -2
  497. package/dist/index.es184.js +2 -2
  498. package/dist/index.es19.js +2 -2
  499. package/dist/index.es191.js +2 -2
  500. package/dist/index.es20.js +1 -1
  501. package/dist/index.es21.js +2 -2
  502. package/dist/index.es214.js +15 -27
  503. package/dist/index.es214.js.map +1 -1
  504. package/dist/index.es216.js +3 -2
  505. package/dist/index.es216.js.map +1 -1
  506. package/dist/index.es22.js +3 -3
  507. package/dist/index.es223.js +8 -0
  508. package/dist/index.es223.js.map +1 -0
  509. package/dist/index.es224.js +59 -22
  510. package/dist/index.es224.js.map +1 -1
  511. package/dist/index.es227.js +30 -0
  512. package/dist/index.es227.js.map +1 -0
  513. package/dist/index.es229.js +5 -0
  514. package/dist/index.es229.js.map +1 -0
  515. package/dist/index.es23.js +2 -2
  516. package/dist/{index.es217.js → index.es230.js} +1 -1
  517. package/dist/{index.es217.js.map → index.es230.js.map} +1 -1
  518. package/dist/{index.es220.js → index.es233.js} +1 -1
  519. package/dist/{index.es220.js.map → index.es233.js.map} +1 -1
  520. package/dist/index.es237.js +25 -0
  521. package/dist/index.es237.js.map +1 -0
  522. package/dist/index.es24.js +2 -2
  523. package/dist/{index.es228.js → index.es241.js} +2 -2
  524. package/dist/{index.es228.js.map → index.es241.js.map} +1 -1
  525. package/dist/{index.es231.js → index.es244.js} +8 -8
  526. package/dist/{index.es231.js.map → index.es244.js.map} +1 -1
  527. package/dist/{index.es234.js → index.es247.js} +3 -3
  528. package/dist/{index.es234.js.map → index.es247.js.map} +1 -1
  529. package/dist/{index.es235.js → index.es248.js} +3 -3
  530. package/dist/{index.es235.js.map → index.es248.js.map} +1 -1
  531. package/dist/{index.es236.js → index.es249.js} +4 -4
  532. package/dist/{index.es236.js.map → index.es249.js.map} +1 -1
  533. package/dist/index.es25.js +2 -2
  534. package/dist/{index.es242.js → index.es255.js} +9 -9
  535. package/dist/{index.es242.js.map → index.es255.js.map} +1 -1
  536. package/dist/index.es256.js +20 -51
  537. package/dist/index.es256.js.map +1 -1
  538. package/dist/index.es259.js +3 -49
  539. package/dist/index.es259.js.map +1 -1
  540. package/dist/index.es26.js +1 -1
  541. package/dist/index.es264.js +4 -27
  542. package/dist/index.es264.js.map +1 -1
  543. package/dist/index.es265.js +20 -4
  544. package/dist/index.es265.js.map +1 -1
  545. package/dist/index.es266.js +6 -8
  546. package/dist/index.es266.js.map +1 -1
  547. package/dist/{index.es254.js → index.es267.js} +1 -1
  548. package/dist/{index.es254.js.map → index.es267.js.map} +1 -1
  549. package/dist/index.es269.js +51 -8
  550. package/dist/index.es269.js.map +1 -1
  551. package/dist/{index.es258.js → index.es271.js} +15 -15
  552. package/dist/{index.es258.js.map → index.es271.js.map} +1 -1
  553. package/dist/index.es272.js +52 -0
  554. package/dist/index.es272.js.map +1 -0
  555. package/dist/{index.es260.js → index.es273.js} +1 -1
  556. package/dist/{index.es260.js.map → index.es273.js.map} +1 -1
  557. package/dist/{index.es261.js → index.es274.js} +1 -1
  558. package/dist/{index.es261.js.map → index.es274.js.map} +1 -1
  559. package/dist/index.es275.js +28 -8
  560. package/dist/index.es275.js.map +1 -1
  561. package/dist/index.es277.js +27 -6
  562. package/dist/index.es277.js.map +1 -1
  563. package/dist/{index.es270.js → index.es278.js} +3 -3
  564. package/dist/index.es278.js.map +1 -0
  565. package/dist/index.es279.js +8 -27
  566. package/dist/index.es279.js.map +1 -1
  567. package/dist/index.es28.js +2 -2
  568. package/dist/index.es282.js +11 -0
  569. package/dist/index.es282.js.map +1 -0
  570. package/dist/index.es283.js +4 -27
  571. package/dist/index.es283.js.map +1 -1
  572. package/dist/index.es288.js +11 -0
  573. package/dist/index.es288.js.map +1 -0
  574. package/dist/{index.es276.js → index.es289.js} +2 -2
  575. package/dist/{index.es276.js.map → index.es289.js.map} +1 -1
  576. package/dist/index.es29.js +1 -1
  577. package/dist/index.es290.js +9 -0
  578. package/dist/index.es290.js.map +1 -0
  579. package/dist/index.es292.js +30 -0
  580. package/dist/index.es292.js.map +1 -0
  581. package/dist/{index.es280.js → index.es293.js} +2 -2
  582. package/dist/{index.es280.js.map → index.es293.js.map} +1 -1
  583. package/dist/{index.es281.js → index.es294.js} +1 -1
  584. package/dist/{index.es281.js.map → index.es294.js.map} +1 -1
  585. package/dist/index.es296.js +29 -1
  586. package/dist/index.es296.js.map +1 -1
  587. package/dist/{index.es284.js → index.es297.js} +3 -3
  588. package/dist/{index.es284.js.map → index.es297.js.map} +1 -1
  589. package/dist/{index.es285.js → index.es298.js} +8 -8
  590. package/dist/{index.es285.js.map → index.es298.js.map} +1 -1
  591. package/dist/index.es30.js +3 -3
  592. package/dist/index.es308.js +2 -0
  593. package/dist/index.es308.js.map +1 -0
  594. package/dist/index.es31.js +1 -1
  595. package/dist/index.es32.js +1 -1
  596. package/dist/index.es33.js +1 -1
  597. package/dist/{index.es325.js → index.es337.js} +6 -6
  598. package/dist/{index.es325.js.map → index.es337.js.map} +1 -1
  599. package/dist/index.es34.js +5 -5
  600. package/dist/{index.es333.js → index.es345.js} +2 -2
  601. package/dist/{index.es333.js.map → index.es345.js.map} +1 -1
  602. package/dist/index.es35.js +1 -1
  603. package/dist/index.es350.js +15 -50
  604. package/dist/index.es350.js.map +1 -1
  605. package/dist/{index.es344.js → index.es356.js} +3 -3
  606. package/dist/{index.es344.js.map → index.es356.js.map} +1 -1
  607. package/dist/{index.es346.js → index.es358.js} +2 -2
  608. package/dist/{index.es346.js.map → index.es358.js.map} +1 -1
  609. package/dist/index.es362.js +53 -0
  610. package/dist/index.es362.js.map +1 -0
  611. package/dist/{index.es352.js → index.es364.js} +4 -4
  612. package/dist/{index.es352.js.map → index.es364.js.map} +1 -1
  613. package/dist/index.es365.js +125 -3
  614. package/dist/index.es365.js.map +1 -1
  615. package/dist/{index.es354.js → index.es366.js} +4 -4
  616. package/dist/{index.es354.js.map → index.es366.js.map} +1 -1
  617. package/dist/index.es37.js +1 -1
  618. package/dist/index.es378.js +1 -1
  619. package/dist/index.es379.js +1 -1
  620. package/dist/index.es38.js +5 -5
  621. package/dist/index.es380.js +3674 -6
  622. package/dist/index.es380.js.map +1 -1
  623. package/dist/index.es381.js +5 -26
  624. package/dist/index.es381.js.map +1 -1
  625. package/dist/index.es382.js +2 -68
  626. package/dist/index.es382.js.map +1 -1
  627. package/dist/index.es383.js +5 -51
  628. package/dist/index.es383.js.map +1 -1
  629. package/dist/index.es384.js +519 -32
  630. package/dist/index.es384.js.map +1 -1
  631. package/dist/index.es385.js +6 -621
  632. package/dist/index.es385.js.map +1 -1
  633. package/dist/index.es386.js +26 -10
  634. package/dist/index.es386.js.map +1 -1
  635. package/dist/index.es387.js +71 -0
  636. package/dist/index.es387.js.map +1 -0
  637. package/dist/index.es388.js +52 -15
  638. package/dist/index.es388.js.map +1 -1
  639. package/dist/index.es389.js +37 -0
  640. package/dist/index.es389.js.map +1 -0
  641. package/dist/index.es39.js +4 -4
  642. package/dist/index.es390.js +625 -0
  643. package/dist/index.es390.js.map +1 -0
  644. package/dist/index.es391.js +10 -5
  645. package/dist/index.es391.js.map +1 -1
  646. package/dist/index.es393.js +14 -68
  647. package/dist/index.es393.js.map +1 -1
  648. package/dist/index.es396.js +6 -14
  649. package/dist/index.es396.js.map +1 -1
  650. package/dist/index.es397.js +24 -14
  651. package/dist/index.es397.js.map +1 -1
  652. package/dist/index.es398.js +69 -9
  653. package/dist/index.es398.js.map +1 -1
  654. package/dist/index.es399.js +2 -50
  655. package/dist/index.es399.js.map +1 -1
  656. package/dist/index.es40.js +3 -3
  657. package/dist/index.es400.js +2 -54
  658. package/dist/index.es400.js.map +1 -1
  659. package/dist/index.es401.js +18 -0
  660. package/dist/index.es401.js.map +1 -0
  661. package/dist/{index.es394.js → index.es407.js} +6 -6
  662. package/dist/{index.es394.js.map → index.es407.js.map} +1 -1
  663. package/dist/{index.es395.js → index.es408.js} +4 -4
  664. package/dist/{index.es395.js.map → index.es408.js.map} +1 -1
  665. package/dist/index.es409.js +14 -15
  666. package/dist/index.es409.js.map +1 -1
  667. package/dist/index.es41.js +2 -2
  668. package/dist/index.es410.js +15 -2
  669. package/dist/index.es410.js.map +1 -1
  670. package/dist/index.es411.js +9 -2
  671. package/dist/index.es411.js.map +1 -1
  672. package/dist/index.es412.js +53 -0
  673. package/dist/index.es412.js.map +1 -0
  674. package/dist/index.es413.js +57 -0
  675. package/dist/index.es413.js.map +1 -0
  676. package/dist/index.es417.js +7 -0
  677. package/dist/index.es417.js.map +1 -0
  678. package/dist/index.es418.js +46 -4
  679. package/dist/index.es418.js.map +1 -1
  680. package/dist/index.es419.js +7 -45
  681. package/dist/index.es419.js.map +1 -1
  682. package/dist/index.es42.js +2 -2
  683. package/dist/index.es420.js +217 -7
  684. package/dist/index.es420.js.map +1 -1
  685. package/dist/index.es421.js +166 -203
  686. package/dist/index.es421.js.map +1 -1
  687. package/dist/index.es422.js +10 -180
  688. package/dist/index.es422.js.map +1 -1
  689. package/dist/index.es43.js +2 -2
  690. package/dist/index.es430.js +11 -24
  691. package/dist/index.es430.js.map +1 -1
  692. package/dist/index.es431.js +204 -28
  693. package/dist/index.es431.js.map +1 -1
  694. package/dist/index.es432.js +22 -5
  695. package/dist/index.es432.js.map +1 -1
  696. package/dist/index.es433.js +397 -5
  697. package/dist/index.es433.js.map +1 -1
  698. package/dist/index.es434.js +25 -3
  699. package/dist/index.es434.js.map +1 -1
  700. package/dist/index.es435.js +29 -24
  701. package/dist/index.es435.js.map +1 -1
  702. package/dist/index.es436.js +5 -110
  703. package/dist/index.es436.js.map +1 -1
  704. package/dist/index.es437.js +5 -16
  705. package/dist/index.es437.js.map +1 -1
  706. package/dist/index.es438.js +3 -527
  707. package/dist/index.es438.js.map +1 -1
  708. package/dist/index.es439.js +23 -126
  709. package/dist/index.es439.js.map +1 -1
  710. package/dist/index.es44.js +4 -4
  711. package/dist/index.es440.js +105 -124
  712. package/dist/index.es440.js.map +1 -1
  713. package/dist/index.es441.js +15 -64
  714. package/dist/index.es441.js.map +1 -1
  715. package/dist/index.es442.js +522 -64
  716. package/dist/index.es442.js.map +1 -1
  717. package/dist/index.es443.js +126 -8
  718. package/dist/index.es443.js.map +1 -1
  719. package/dist/index.es444.js +128 -13
  720. package/dist/index.es444.js.map +1 -1
  721. package/dist/index.es445.js +64 -61
  722. package/dist/index.es445.js.map +1 -1
  723. package/dist/index.es446.js +69 -4
  724. package/dist/index.es446.js.map +1 -1
  725. package/dist/index.es447.js +9 -23
  726. package/dist/index.es447.js.map +1 -1
  727. package/dist/index.es448.js +14 -23
  728. package/dist/index.es448.js.map +1 -1
  729. package/dist/index.es449.js +61 -12
  730. package/dist/index.es449.js.map +1 -1
  731. package/dist/index.es45.js +4 -4
  732. package/dist/index.es450.js +3 -27
  733. package/dist/index.es450.js.map +1 -1
  734. package/dist/index.es451.js +23 -5
  735. package/dist/index.es451.js.map +1 -1
  736. package/dist/index.es452.js +26 -0
  737. package/dist/index.es452.js.map +1 -0
  738. package/dist/index.es453.js +16 -0
  739. package/dist/index.es453.js.map +1 -0
  740. package/dist/index.es454.js +24 -2028
  741. package/dist/index.es454.js.map +1 -1
  742. package/dist/index.es455.js +4 -59
  743. package/dist/index.es455.js.map +1 -1
  744. package/dist/index.es458.js +2032 -4
  745. package/dist/index.es458.js.map +1 -1
  746. package/dist/index.es459.js +59 -4
  747. package/dist/index.es459.js.map +1 -1
  748. package/dist/index.es46.js +1 -1
  749. package/dist/index.es460.js +188 -9
  750. package/dist/index.es460.js.map +1 -1
  751. package/dist/index.es461.js +5 -56
  752. package/dist/index.es461.js.map +1 -1
  753. package/dist/index.es462.js +4 -8
  754. package/dist/index.es462.js.map +1 -1
  755. package/dist/index.es463.js +4 -5
  756. package/dist/index.es463.js.map +1 -1
  757. package/dist/index.es464.js +9 -532
  758. package/dist/index.es464.js.map +1 -1
  759. package/dist/index.es465.js +54 -8
  760. package/dist/index.es465.js.map +1 -1
  761. package/dist/index.es466.js +7 -177
  762. package/dist/index.es466.js.map +1 -1
  763. package/dist/index.es467.js +5 -3
  764. package/dist/index.es467.js.map +1 -1
  765. package/dist/index.es468.js +522 -122
  766. package/dist/index.es468.js.map +1 -1
  767. package/dist/index.es469.js +129 -36
  768. package/dist/index.es469.js.map +1 -1
  769. package/dist/index.es47.js +2 -2
  770. package/dist/index.es470.js +178 -2
  771. package/dist/index.es470.js.map +1 -1
  772. package/dist/index.es471.js +10 -2
  773. package/dist/index.es471.js.map +1 -1
  774. package/dist/index.es472.js +4 -2
  775. package/dist/index.es472.js.map +1 -1
  776. package/dist/index.es473.js +40 -3
  777. package/dist/index.es473.js.map +1 -1
  778. package/dist/index.es474.js +2 -2
  779. package/dist/index.es474.js.map +1 -1
  780. package/dist/index.es475.js +2 -4
  781. package/dist/index.es475.js.map +1 -1
  782. package/dist/index.es476.js +2 -5
  783. package/dist/index.es476.js.map +1 -1
  784. package/dist/index.es477.js +3 -4
  785. package/dist/index.es477.js.map +1 -1
  786. package/dist/index.es478.js +2 -3675
  787. package/dist/index.es478.js.map +1 -1
  788. package/dist/index.es479.js +4 -2
  789. package/dist/index.es479.js.map +1 -1
  790. package/dist/index.es48.js +1 -1
  791. package/dist/index.es480.js +4 -5
  792. package/dist/index.es480.js.map +1 -1
  793. package/dist/index.es481.js +3 -520
  794. package/dist/index.es481.js.map +1 -1
  795. package/dist/index.es483.js +1 -1
  796. package/dist/index.es49.js +3 -3
  797. package/dist/index.es50.js +1 -1
  798. package/dist/index.es51.js +1 -1
  799. package/dist/index.es52.js +1 -1
  800. package/dist/index.es53.js +2 -2
  801. package/dist/index.es54.js +1 -1
  802. package/dist/index.es55.js +1 -1
  803. package/dist/index.es56.js +1 -1
  804. package/dist/index.es57.js +2 -2
  805. package/dist/index.es59.js +1 -1
  806. package/dist/index.es6.js +2 -2
  807. package/dist/index.es60.js +2 -2
  808. package/dist/index.es61.js +1 -1
  809. package/dist/index.es62.js +3 -3
  810. package/dist/index.es64.js +1 -1
  811. package/dist/index.es66.js +1 -1
  812. package/dist/index.es67.js +1 -1
  813. package/dist/index.es68.js +1 -1
  814. package/dist/index.es69.js +30 -28
  815. package/dist/index.es69.js.map +1 -1
  816. package/dist/index.es7.js +2 -2
  817. package/dist/index.es70.js +1 -1
  818. package/dist/index.es71.js +1 -1
  819. package/dist/index.es72.js +1 -1
  820. package/dist/index.es73.js +1 -1
  821. package/dist/index.es8.js +2 -2
  822. package/dist/index.es9.js +4 -4
  823. package/dist/index.es90.js +1 -1
  824. package/dist/index.es91.js +1 -1
  825. package/dist/index.es92.js +1 -1
  826. package/dist/index.es94.js +1 -1
  827. package/dist/index.es96.js +2 -2
  828. package/dist/index.es97.js +1 -1
  829. package/package.json +1 -1
  830. package/dist/index.cjs213.js +0 -2
  831. package/dist/index.cjs213.js.map +0 -1
  832. package/dist/index.cjs243.js +0 -2
  833. package/dist/index.cjs243.js.map +0 -1
  834. package/dist/index.cjs246.js +0 -2
  835. package/dist/index.cjs246.js.map +0 -1
  836. package/dist/index.cjs251.js +0 -2
  837. package/dist/index.cjs251.js.map +0 -1
  838. package/dist/index.cjs252.js +0 -2
  839. package/dist/index.cjs252.js.map +0 -1
  840. package/dist/index.cjs253.js +0 -2
  841. package/dist/index.cjs253.js.map +0 -1
  842. package/dist/index.cjs262.js +0 -2
  843. package/dist/index.cjs262.js.map +0 -1
  844. package/dist/index.cjs270.js +0 -2
  845. package/dist/index.cjs270.js.map +0 -1
  846. package/dist/index.cjs287.js +0 -7
  847. package/dist/index.cjs287.js.map +0 -1
  848. package/dist/index.cjs338.js +0 -2
  849. package/dist/index.cjs338.js.map +0 -1
  850. package/dist/index.cjs353.js +0 -2
  851. package/dist/index.cjs353.js.map +0 -1
  852. package/dist/index.cjs372.js +0 -2
  853. package/dist/index.cjs372.js.map +0 -1
  854. package/dist/index.cjs392.js +0 -2
  855. package/dist/index.cjs392.js.map +0 -1
  856. package/dist/index.cjs423.js +0 -2
  857. package/dist/index.cjs423.js.map +0 -1
  858. package/dist/index.cjs425.js +0 -2
  859. package/dist/index.cjs425.js.map +0 -1
  860. package/dist/index.cjs426.js +0 -2
  861. package/dist/index.cjs426.js.map +0 -1
  862. package/dist/index.cjs427.js +0 -2
  863. package/dist/index.cjs427.js.map +0 -1
  864. package/dist/index.cjs428.js +0 -2
  865. package/dist/index.cjs428.js.map +0 -1
  866. package/dist/index.cjs429.js +0 -2
  867. package/dist/index.cjs429.js.map +0 -1
  868. package/dist/index.cjs456.js +0 -2
  869. package/dist/index.cjs456.js.map +0 -1
  870. package/dist/index.cjs457.js +0 -2
  871. package/dist/index.cjs457.js.map +0 -1
  872. package/dist/index.es213.js +0 -18
  873. package/dist/index.es213.js.map +0 -1
  874. package/dist/index.es243.js +0 -23
  875. package/dist/index.es243.js.map +0 -1
  876. package/dist/index.es246.js +0 -6
  877. package/dist/index.es246.js.map +0 -1
  878. package/dist/index.es251.js +0 -7
  879. package/dist/index.es251.js.map +0 -1
  880. package/dist/index.es252.js +0 -23
  881. package/dist/index.es252.js.map +0 -1
  882. package/dist/index.es253.js +0 -9
  883. package/dist/index.es253.js.map +0 -1
  884. package/dist/index.es262.js +0 -31
  885. package/dist/index.es262.js.map +0 -1
  886. package/dist/index.es270.js.map +0 -1
  887. package/dist/index.es287.js +0 -62
  888. package/dist/index.es287.js.map +0 -1
  889. package/dist/index.es338.js +0 -18
  890. package/dist/index.es338.js.map +0 -1
  891. package/dist/index.es353.js +0 -128
  892. package/dist/index.es353.js.map +0 -1
  893. package/dist/index.es372.js +0 -8
  894. package/dist/index.es372.js.map +0 -1
  895. package/dist/index.es392.js +0 -28
  896. package/dist/index.es392.js.map +0 -1
  897. package/dist/index.es423.js +0 -14
  898. package/dist/index.es423.js.map +0 -1
  899. package/dist/index.es425.js +0 -15
  900. package/dist/index.es425.js.map +0 -1
  901. package/dist/index.es426.js +0 -208
  902. package/dist/index.es426.js.map +0 -1
  903. package/dist/index.es427.js +0 -25
  904. package/dist/index.es427.js.map +0 -1
  905. package/dist/index.es428.js +0 -400
  906. package/dist/index.es428.js.map +0 -1
  907. package/dist/index.es429.js +0 -9
  908. package/dist/index.es429.js.map +0 -1
  909. package/dist/index.es456.js +0 -192
  910. package/dist/index.es456.js.map +0 -1
  911. package/dist/index.es457.js +0 -8
  912. package/dist/index.es457.js.map +0 -1
  913. /package/dist/components/ui/{ConsentModal/ConsentModalFooter/ConsentModalFooter.css → DoctorModal/DoctorModalFooter/DoctorModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.es411.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.es411.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":";;;;AAIG,IAACA,IAAoBC,EAAM,WAAW,SAAUC,GAAOC,GAAK;AAAE,SAAQF,EAAM,cAAcG,GAAcC,EAAS,CAAE,GAAEH,GAAO,EAAE,KAAKC,GAAK,SAASG,GAAS,CAAC;AAAK,CAAA;AACnKN,EAAkB,aAAaI,EAAa;","x_google_ignoreList":[0]}
@@ -0,0 +1,53 @@
1
+ var S = function(r) {
2
+ if (typeof document > "u")
3
+ return null;
4
+ var u = Array.isArray(r) ? r[0] : r;
5
+ return u.ownerDocument.body;
6
+ }, f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {}, h = 0, W = function(r) {
7
+ return r && (r.host || W(r.parentNode));
8
+ }, D = function(r, u) {
9
+ return u.map(function(e) {
10
+ if (r.contains(e))
11
+ return e;
12
+ var n = W(e);
13
+ return n && r.contains(n) ? n : (console.error("aria-hidden", e, "in not contained inside", r, ". Doing nothing"), null);
14
+ }).filter(function(e) {
15
+ return !!e;
16
+ });
17
+ }, E = function(r, u, e, n) {
18
+ var i = D(u, Array.isArray(r) ? r : [r]);
19
+ p[e] || (p[e] = /* @__PURE__ */ new WeakMap());
20
+ var o = p[e], l = [], s = /* @__PURE__ */ new Set(), b = new Set(i), y = function(t) {
21
+ !t || s.has(t) || (s.add(t), y(t.parentNode));
22
+ };
23
+ i.forEach(y);
24
+ var A = function(t) {
25
+ !t || b.has(t) || Array.prototype.forEach.call(t.children, function(a) {
26
+ if (s.has(a))
27
+ A(a);
28
+ else
29
+ try {
30
+ var c = a.getAttribute(n), w = c !== null && c !== "false", d = (f.get(a) || 0) + 1, M = (o.get(a) || 0) + 1;
31
+ f.set(a, d), o.set(a, M), l.push(a), d === 1 && w && v.set(a, !0), M === 1 && a.setAttribute(e, "true"), w || a.setAttribute(n, "true");
32
+ } catch (k) {
33
+ console.error("aria-hidden: cannot operate on ", a, k);
34
+ }
35
+ });
36
+ };
37
+ return A(u), s.clear(), h++, function() {
38
+ l.forEach(function(t) {
39
+ var a = f.get(t) - 1, c = o.get(t) - 1;
40
+ f.set(t, a), o.set(t, c), a || (v.has(t) || t.removeAttribute(n), v.delete(t)), c || t.removeAttribute(e);
41
+ }), h--, h || (f = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new WeakMap(), v = /* @__PURE__ */ new WeakMap(), p = {});
42
+ };
43
+ }, C = function(r, u, e) {
44
+ e === void 0 && (e = "data-aria-hidden");
45
+ var n = Array.from(Array.isArray(r) ? r : [r]), i = S(r);
46
+ return i ? (n.push.apply(n, Array.from(i.querySelectorAll("[aria-live]"))), E(n, i, e, "aria-hidden")) : function() {
47
+ return null;
48
+ };
49
+ };
50
+ export {
51
+ C as hideOthers
52
+ };
53
+ //# sourceMappingURL=index.es412.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es412.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"],"m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AY,CAAE;AAAA,EAErB;AACL,GAQW0B,IAAa,SAAU9B,GAAgBe,GAAYC,GAAY;AACtE,EAAIA,MAAe,WAAUA,IAAa;AAC1C,MAAIN,IAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,IAAIA,IAAiB,CAACA,CAAc,CAAC,GACtF+B,IAAiChC,EAAiBC,CAAc;AACpE,SAAK+B,KAILrB,EAAQ,KAAK,MAAMA,GAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,GACjFjB,EAAuBJ,GAASqB,GAAkBf,GAAY,aAAa,KAJvE,WAAY;AAAE,WAAO;AAAA,EAAO;AAK3C;","x_google_ignoreList":[0]}
@@ -0,0 +1,57 @@
1
+ import * as l from "react";
2
+ import { useComposedRefs as y } from "./index.es386.js";
3
+ import { j as p } from "./index.es212.js";
4
+ // @__NO_SIDE_EFFECTS__
5
+ function b(e) {
6
+ const r = /* @__PURE__ */ E(e), n = l.forwardRef((o, t) => {
7
+ const { children: i, ...c } = o, a = l.Children.toArray(i), s = a.find(S);
8
+ if (s) {
9
+ const f = s.props.children, m = a.map((u) => u === s ? l.Children.count(f) > 1 ? l.Children.only(null) : l.isValidElement(f) ? f.props.children : null : u);
10
+ return /* @__PURE__ */ p.jsx(r, { ...c, ref: t, children: l.isValidElement(f) ? l.cloneElement(f, void 0, m) : null });
11
+ }
12
+ return /* @__PURE__ */ p.jsx(r, { ...c, ref: t, children: i });
13
+ });
14
+ return n.displayName = `${e}.Slot`, n;
15
+ }
16
+ // @__NO_SIDE_EFFECTS__
17
+ function E(e) {
18
+ const r = l.forwardRef((n, o) => {
19
+ const { children: t, ...i } = n, c = l.isValidElement(t) ? C(t) : void 0, a = y(c, o);
20
+ if (l.isValidElement(t)) {
21
+ const s = g(i, t.props);
22
+ return t.type !== l.Fragment && (s.ref = a), l.cloneElement(t, s);
23
+ }
24
+ return l.Children.count(t) > 1 ? l.Children.only(null) : null;
25
+ });
26
+ return r.displayName = `${e}.SlotClone`, r;
27
+ }
28
+ var d = Symbol("radix.slottable");
29
+ // @__NO_SIDE_EFFECTS__
30
+ function h(e) {
31
+ const r = ({ children: n }) => /* @__PURE__ */ p.jsx(p.Fragment, { children: n });
32
+ return r.displayName = `${e}.Slottable`, r.__radixId = d, r;
33
+ }
34
+ function S(e) {
35
+ return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
36
+ }
37
+ function g(e, r) {
38
+ const n = { ...r };
39
+ for (const o in r) {
40
+ const t = e[o], i = r[o];
41
+ /^on[A-Z]/.test(o) ? t && i ? n[o] = (...a) => {
42
+ const s = i(...a);
43
+ return t(...a), s;
44
+ } : t && (n[o] = t) : o === "style" ? n[o] = { ...t, ...i } : o === "className" && (n[o] = [t, i].filter(Boolean).join(" "));
45
+ }
46
+ return { ...e, ...n };
47
+ }
48
+ function C(e) {
49
+ var o, t;
50
+ let r = (o = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : o.get, n = r && "isReactWarning" in r && r.isReactWarning;
51
+ return n ? e.ref : (r = (t = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : t.get, n = r && "isReactWarning" in r && r.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
52
+ }
53
+ export {
54
+ b as createSlot,
55
+ h as createSlottable
56
+ };
57
+ //# sourceMappingURL=index.es413.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es413.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,I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@
1
+ import * as t from "react";
2
+ var e = globalThis != null && globalThis.document ? t.useLayoutEffect : () => {
3
+ };
4
+ export {
5
+ e as useLayoutEffect
6
+ };
7
+ //# sourceMappingURL=index.es417.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es417.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,7 +1,49 @@
1
- import * as t from "react";
2
- var e = globalThis != null && globalThis.document ? t.useLayoutEffect : () => {
3
- };
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index.es387.js";
3
+ import { useComposedRefs as S } from "./index.es386.js";
4
+ import { createSlot as M } from "./index.es413.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
+ ];
45
+ }
4
46
  export {
5
- e as useLayoutEffect
47
+ D as createCollection
6
48
  };
7
49
  //# sourceMappingURL=index.es418.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es418.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
+ {"version":3,"file":"index.es418.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAAOW,MAAiB;AACvB,YAAM,EAAE,OAAAV,GAAO,UAAAC,EAAQ,IAAKF,GACtBY,IAAUd,EAAqBS,GAAsBN,CAAK,GAC1DY,IAAeC,EAAgBH,GAAcC,EAAQ,aAAa;AACxE,aAAuBN,gBAAAA,EAAAA,IAAIE,GAAoB,EAAE,KAAKK,GAAc,UAAAX,EAAQ,CAAE;AAAA,IACpF;AAAA,EACG;AACD,EA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_google_ignoreList":[0]}
@@ -1,49 +1,11 @@
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.es400.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
- ];
1
+ import * as t from "react";
2
+ import "./index.es212.js";
3
+ var r = t.createContext(void 0);
4
+ function n(o) {
5
+ const e = t.useContext(r);
6
+ return o || e || "ltr";
45
7
  }
46
8
  export {
47
- D as createCollection
9
+ n as useDirection
48
10
  };
49
11
  //# sourceMappingURL=index.es419.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es419.js","sources":["../node_modules/@radix-ui/react-collection/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/collection-legacy.tsx\nimport React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction createCollection(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope(PROVIDER_NAME);\n const [CollectionProviderImpl, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }\n );\n const CollectionProvider = (props) => {\n const { scope, children } = props;\n const ref = React.useRef(null);\n const itemMap = React.useRef(/* @__PURE__ */ new Map()).current;\n return /* @__PURE__ */ jsx(CollectionProviderImpl, { scope, itemMap, collectionRef: ref, children });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot(COLLECTION_SLOT_NAME);\n const CollectionSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot(ITEM_SLOT_NAME);\n const CollectionItemSlot = React.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n React.useEffect(() => {\n context.itemMap.set(ref, { ref, ...itemData });\n return () => void context.itemMap.delete(ref);\n });\n return /* @__PURE__ */ jsx(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useCollection(scope) {\n const context = useCollectionContext(name + \"CollectionConsumer\", scope);\n const getItems = React.useCallback(() => {\n const collectionNode = context.collectionRef.current;\n if (!collectionNode) return [];\n const orderedNodes = Array.from(collectionNode.querySelectorAll(`[${ITEM_DATA_ATTR}]`));\n const items = Array.from(context.itemMap.values());\n const orderedItems = items.sort(\n (a, b) => orderedNodes.indexOf(a.ref.current) - orderedNodes.indexOf(b.ref.current)\n );\n return orderedItems;\n }, [context.collectionRef, context.itemMap]);\n return getItems;\n }\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n useCollection,\n createCollectionScope\n ];\n}\n\n// src/collection.tsx\nimport React2 from \"react\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createSlot as createSlot2 } from \"@radix-ui/react-slot\";\n\n// src/ordered-dictionary.ts\nvar __instanciated = /* @__PURE__ */ new WeakMap();\nvar OrderedDict = class _OrderedDict extends Map {\n #keys;\n constructor(entries) {\n super(entries);\n this.#keys = [...super.keys()];\n __instanciated.set(this, true);\n }\n set(key, value) {\n if (__instanciated.get(this)) {\n if (this.has(key)) {\n this.#keys[this.#keys.indexOf(key)] = key;\n } else {\n this.#keys.push(key);\n }\n }\n super.set(key, value);\n return this;\n }\n insert(index, key, value) {\n const has = this.has(key);\n const length = this.#keys.length;\n const relativeIndex = toSafeInteger(index);\n let actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n const safeIndex = actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n if (safeIndex === this.size || has && safeIndex === this.size - 1 || safeIndex === -1) {\n this.set(key, value);\n return this;\n }\n const size = this.size + (has ? 0 : 1);\n if (relativeIndex < 0) {\n actualIndex++;\n }\n const keys = [...this.#keys];\n let nextValue;\n let shouldSkip = false;\n for (let i = actualIndex; i < size; i++) {\n if (actualIndex === i) {\n let nextKey = keys[i];\n if (keys[i] === key) {\n nextKey = keys[i + 1];\n }\n if (has) {\n this.delete(key);\n }\n nextValue = this.get(nextKey);\n this.set(key, value);\n } else {\n if (!shouldSkip && keys[i - 1] === key) {\n shouldSkip = true;\n }\n const currentKey = keys[shouldSkip ? i : i - 1];\n const currentValue = nextValue;\n nextValue = this.get(currentKey);\n this.delete(currentKey);\n this.set(currentKey, currentValue);\n }\n }\n return this;\n }\n with(index, key, value) {\n const copy = new _OrderedDict(this);\n copy.insert(index, key, value);\n return copy;\n }\n before(key) {\n const index = this.#keys.indexOf(key) - 1;\n if (index < 0) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position before the given key.\n */\n setBefore(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index, newKey, value);\n }\n after(key) {\n let index = this.#keys.indexOf(key);\n index = index === -1 || index === this.size - 1 ? -1 : index + 1;\n if (index === -1) {\n return void 0;\n }\n return this.entryAt(index);\n }\n /**\n * Sets a new key-value pair at the position after the given key.\n */\n setAfter(key, newKey, value) {\n const index = this.#keys.indexOf(key);\n if (index === -1) {\n return this;\n }\n return this.insert(index + 1, newKey, value);\n }\n first() {\n return this.entryAt(0);\n }\n last() {\n return this.entryAt(-1);\n }\n clear() {\n this.#keys = [];\n return super.clear();\n }\n delete(key) {\n const deleted = super.delete(key);\n if (deleted) {\n this.#keys.splice(this.#keys.indexOf(key), 1);\n }\n return deleted;\n }\n deleteAt(index) {\n const key = this.keyAt(index);\n if (key !== void 0) {\n return this.delete(key);\n }\n return false;\n }\n at(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return this.get(key);\n }\n }\n entryAt(index) {\n const key = at(this.#keys, index);\n if (key !== void 0) {\n return [key, this.get(key)];\n }\n }\n indexOf(key) {\n return this.#keys.indexOf(key);\n }\n keyAt(index) {\n return at(this.#keys, index);\n }\n from(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.at(dest);\n }\n keyFrom(key, offset) {\n const index = this.indexOf(key);\n if (index === -1) {\n return void 0;\n }\n let dest = index + offset;\n if (dest < 0) dest = 0;\n if (dest >= this.size) dest = this.size - 1;\n return this.keyAt(dest);\n }\n find(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return entry;\n }\n index++;\n }\n return void 0;\n }\n findIndex(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return index;\n }\n index++;\n }\n return -1;\n }\n filter(predicate, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n entries.push(entry);\n }\n index++;\n }\n return new _OrderedDict(entries);\n }\n map(callbackfn, thisArg) {\n const entries = [];\n let index = 0;\n for (const entry of this) {\n entries.push([entry[0], Reflect.apply(callbackfn, thisArg, [entry, index, this])]);\n index++;\n }\n return new _OrderedDict(entries);\n }\n reduce(...args) {\n const [callbackfn, initialValue] = args;\n let index = 0;\n let accumulator = initialValue ?? this.at(0);\n for (const entry of this) {\n if (index === 0 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n index++;\n }\n return accumulator;\n }\n reduceRight(...args) {\n const [callbackfn, initialValue] = args;\n let accumulator = initialValue ?? this.at(-1);\n for (let index = this.size - 1; index >= 0; index--) {\n const entry = this.at(index);\n if (index === this.size - 1 && args.length === 1) {\n accumulator = entry;\n } else {\n accumulator = Reflect.apply(callbackfn, this, [accumulator, entry, index, this]);\n }\n }\n return accumulator;\n }\n toSorted(compareFn) {\n const entries = [...this.entries()].sort(compareFn);\n return new _OrderedDict(entries);\n }\n toReversed() {\n const reversed = new _OrderedDict();\n for (let index = this.size - 1; index >= 0; index--) {\n const key = this.keyAt(index);\n const element = this.get(key);\n reversed.set(key, element);\n }\n return reversed;\n }\n toSpliced(...args) {\n const entries = [...this.entries()];\n entries.splice(...args);\n return new _OrderedDict(entries);\n }\n slice(start, end) {\n const result = new _OrderedDict();\n let stop = this.size - 1;\n if (start === void 0) {\n return result;\n }\n if (start < 0) {\n start = start + this.size;\n }\n if (end !== void 0 && end > 0) {\n stop = end - 1;\n }\n for (let index = start; index <= stop; index++) {\n const key = this.keyAt(index);\n const element = this.get(key);\n result.set(key, element);\n }\n return result;\n }\n every(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (!Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return false;\n }\n index++;\n }\n return true;\n }\n some(predicate, thisArg) {\n let index = 0;\n for (const entry of this) {\n if (Reflect.apply(predicate, thisArg, [entry, index, this])) {\n return true;\n }\n index++;\n }\n return false;\n }\n};\nfunction at(array, index) {\n if (\"at\" in Array.prototype) {\n return Array.prototype.at.call(array, index);\n }\n const actualIndex = toSafeIndex(array, index);\n return actualIndex === -1 ? void 0 : array[actualIndex];\n}\nfunction toSafeIndex(array, index) {\n const length = array.length;\n const relativeIndex = toSafeInteger(index);\n const actualIndex = relativeIndex >= 0 ? relativeIndex : length + relativeIndex;\n return actualIndex < 0 || actualIndex >= length ? -1 : actualIndex;\n}\nfunction toSafeInteger(number) {\n return number !== number || number === 0 ? 0 : Math.trunc(number);\n}\n\n// src/collection.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nfunction createCollection2(name) {\n const PROVIDER_NAME = name + \"CollectionProvider\";\n const [createCollectionContext, createCollectionScope] = createContextScope2(PROVIDER_NAME);\n const [CollectionContextProvider, useCollectionContext] = createCollectionContext(\n PROVIDER_NAME,\n {\n collectionElement: null,\n collectionRef: { current: null },\n collectionRefObject: { current: null },\n itemMap: new OrderedDict(),\n setItemMap: () => void 0\n }\n );\n const CollectionProvider = ({ state, ...props }) => {\n return state ? /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state }) : /* @__PURE__ */ jsx2(CollectionInit, { ...props });\n };\n CollectionProvider.displayName = PROVIDER_NAME;\n const CollectionInit = (props) => {\n const state = useInitCollection();\n return /* @__PURE__ */ jsx2(CollectionProviderImpl, { ...props, state });\n };\n CollectionInit.displayName = PROVIDER_NAME + \"Init\";\n const CollectionProviderImpl = (props) => {\n const { scope, children, state } = props;\n const ref = React2.useRef(null);\n const [collectionElement, setCollectionElement] = React2.useState(\n null\n );\n const composeRefs = useComposedRefs2(ref, setCollectionElement);\n const [itemMap, setItemMap] = state;\n React2.useEffect(() => {\n if (!collectionElement) return;\n const observer = getChildListObserver(() => {\n });\n observer.observe(collectionElement, {\n childList: true,\n subtree: true\n });\n return () => {\n observer.disconnect();\n };\n }, [collectionElement]);\n return /* @__PURE__ */ jsx2(\n CollectionContextProvider,\n {\n scope,\n itemMap,\n setItemMap,\n collectionRef: composeRefs,\n collectionRefObject: ref,\n collectionElement,\n children\n }\n );\n };\n CollectionProviderImpl.displayName = PROVIDER_NAME + \"Impl\";\n const COLLECTION_SLOT_NAME = name + \"CollectionSlot\";\n const CollectionSlotImpl = createSlot2(COLLECTION_SLOT_NAME);\n const CollectionSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children } = props;\n const context = useCollectionContext(COLLECTION_SLOT_NAME, scope);\n const composedRefs = useComposedRefs2(forwardedRef, context.collectionRef);\n return /* @__PURE__ */ jsx2(CollectionSlotImpl, { ref: composedRefs, children });\n }\n );\n CollectionSlot.displayName = COLLECTION_SLOT_NAME;\n const ITEM_SLOT_NAME = name + \"CollectionItemSlot\";\n const ITEM_DATA_ATTR = \"data-radix-collection-item\";\n const CollectionItemSlotImpl = createSlot2(ITEM_SLOT_NAME);\n const CollectionItemSlot = React2.forwardRef(\n (props, forwardedRef) => {\n const { scope, children, ...itemData } = props;\n const ref = React2.useRef(null);\n const [element, setElement] = React2.useState(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref, setElement);\n const context = useCollectionContext(ITEM_SLOT_NAME, scope);\n const { setItemMap } = context;\n const itemDataRef = React2.useRef(itemData);\n if (!shallowEqual(itemDataRef.current, itemData)) {\n itemDataRef.current = itemData;\n }\n const memoizedItemData = itemDataRef.current;\n React2.useEffect(() => {\n const itemData2 = memoizedItemData;\n setItemMap((map) => {\n if (!element) {\n return map;\n }\n if (!map.has(element)) {\n map.set(element, { ...itemData2, element });\n return map.toSorted(sortByDocumentPosition);\n }\n return map.set(element, { ...itemData2, element }).toSorted(sortByDocumentPosition);\n });\n return () => {\n setItemMap((map) => {\n if (!element || !map.has(element)) {\n return map;\n }\n map.delete(element);\n return new OrderedDict(map);\n });\n };\n }, [element, memoizedItemData, setItemMap]);\n return /* @__PURE__ */ jsx2(CollectionItemSlotImpl, { ...{ [ITEM_DATA_ATTR]: \"\" }, ref: composedRefs, children });\n }\n );\n CollectionItemSlot.displayName = ITEM_SLOT_NAME;\n function useInitCollection() {\n return React2.useState(new OrderedDict());\n }\n function useCollection(scope) {\n const { itemMap } = useCollectionContext(name + \"CollectionConsumer\", scope);\n return itemMap;\n }\n const functions = {\n createCollectionScope,\n useCollection,\n useInitCollection\n };\n return [\n { Provider: CollectionProvider, Slot: CollectionSlot, ItemSlot: CollectionItemSlot },\n functions\n ];\n}\nfunction shallowEqual(a, b) {\n if (a === b) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\") return false;\n if (a == null || b == null) return false;\n const keysA = Object.keys(a);\n const keysB = Object.keys(b);\n if (keysA.length !== keysB.length) return false;\n for (const key of keysA) {\n if (!Object.prototype.hasOwnProperty.call(b, key)) return false;\n if (a[key] !== b[key]) return false;\n }\n return true;\n}\nfunction isElementPreceding(a, b) {\n return !!(b.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_PRECEDING);\n}\nfunction sortByDocumentPosition(a, b) {\n return !a[1].element || !b[1].element ? 0 : isElementPreceding(a[1].element, b[1].element) ? -1 : 1;\n}\nfunction getChildListObserver(callback) {\n const observer = new MutationObserver((mutationsList) => {\n for (const mutation of mutationsList) {\n if (mutation.type === \"childList\") {\n callback();\n return;\n }\n }\n });\n return observer;\n}\nexport {\n createCollection,\n createCollection2 as unstable_createCollection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createCollection","name","PROVIDER_NAME","createCollectionContext","createCollectionScope","createContextScope","CollectionProviderImpl","useCollectionContext","CollectionProvider","props","scope","children","ref","React","itemMap","jsx","COLLECTION_SLOT_NAME","CollectionSlotImpl","createSlot","CollectionSlot","forwardedRef","context","composedRefs","useComposedRefs","ITEM_SLOT_NAME","ITEM_DATA_ATTR","CollectionItemSlotImpl","CollectionItemSlot","itemData","useCollection","collectionNode","orderedNodes","a","b"],"mappings":";;;;;AAQA,SAASA,EAAiBC,GAAM;AAC9B,QAAMC,IAAgBD,IAAO,sBACvB,CAACE,GAAyBC,CAAqB,IAAIC,EAAmBH,CAAa,GACnF,CAACI,GAAwBC,CAAoB,IAAIJ;AAAA,IACrDD;AAAA,IACA,EAAE,eAAe,EAAE,SAAS,KAAI,GAAI,SAAyB,oBAAI,IAAK,EAAA;AAAA,EACvE,GACKM,IAAqB,CAACC,MAAU;AACpC,UAAM,EAAE,OAAAC,GAAO,UAAAC,EAAQ,IAAKF,GACtBG,IAAMC,EAAM,OAAO,IAAI,GACvBC,IAAUD,EAAM,OAAuB,oBAAI,IAAG,CAAE,EAAE;AACxD,WAAuBE,gBAAAA,EAAG,IAACT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACpG;AACD,EAA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B,IAAIL,CAAc,GAAG,CAAC;AAKtF,aAJc,MAAM,KAAKJ,EAAQ,QAAQ,QAAQ,EACtB;AAAA,QACzB,CAACW,GAAGC,MAAMF,EAAa,QAAQC,EAAE,IAAI,OAAO,IAAID,EAAa,QAAQE,EAAE,IAAI,OAAO;AAAA,MACnF;AAAA,IAEF,GAAE,CAACZ,EAAQ,eAAeA,EAAQ,OAAO,CAAC;AAAA,EAE/C;AACE,SAAO;AAAA,IACL,EAAE,UAAUb,GAAoB,MAAMW,GAAgB,UAAUQ,EAAoB;AAAA,IACpFE;AAAA,IACAzB;AAAA,EACD;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es419.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","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.es242.js";
5
- import { useClickOutside as g } from "./index.es243.js";
4
+ import { Checkbox as j, CheckboxIndicator as k } from "./index.es255.js";
5
+ import { useClickOutside as g } from "./index.es256.js";
6
6
  import { Col as C } from "./index.es10.js";
7
7
  const $ = ({
8
8
  id: r,
@@ -1,11 +1,221 @@
1
- import * as t from "react";
2
- import "./index.es212.js";
3
- var r = t.createContext(void 0);
4
- function n(o) {
5
- const e = t.useContext(r);
6
- return o || e || "ltr";
1
+ import * as s from "react";
2
+ import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es431.js";
3
+ import { Root as Oe } from "./index.es432.js";
4
+ import { useComposedRefs as T } from "./index.es386.js";
5
+ import { createContextScope as Re } from "./index.es387.js";
6
+ import { Primitive as z } from "./index.es389.js";
7
+ import { useCallbackRef as Ee } from "./index.es422.js";
8
+ import { useLayoutEffect as B } from "./index.es417.js";
9
+ import { useSize as Ne } from "./index.es397.js";
10
+ import { j as f } from "./index.es212.js";
11
+ import { autoUpdate as _e } from "./index.es433.js";
12
+ var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
+ const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
+ return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
15
+ };
16
+ U.displayName = N;
17
+ var q = "PopperAnchor", G = s.forwardRef(
18
+ (e, i) => {
19
+ const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
20
+ return s.useEffect(() => {
21
+ r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
22
+ }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
23
+ }
24
+ );
25
+ G.displayName = q;
26
+ var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
27
+ (e, i) => {
28
+ var I, Y, M, X, D, F;
29
+ const {
30
+ __scopePopper: n,
31
+ side: t = "bottom",
32
+ sideOffset: a = 0,
33
+ align: r = "center",
34
+ alignOffset: o = 0,
35
+ arrowPadding: w = 0,
36
+ avoidCollisions: p = !0,
37
+ collisionBoundary: c = [],
38
+ collisionPadding: x = 0,
39
+ sticky: m = "partial",
40
+ hideWhenDetached: y = !1,
41
+ updatePositionStrategy: A = "optimized",
42
+ onPlaced: l,
43
+ ...d
44
+ } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
45
+ padding: ne,
46
+ boundary: j.filter(Ie),
47
+ // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
+ altBoundary: ae
49
+ }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
50
+ // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
+ strategy: "fixed",
52
+ placement: oe,
53
+ whileElementsMounted: (...P) => _e(...P, {
54
+ animationFrame: A === "always"
55
+ }),
56
+ elements: {
57
+ reference: v.anchor
58
+ },
59
+ middleware: [
60
+ Pe({ mainAxis: a + $, alignmentAxis: o }),
61
+ p && ye({
62
+ mainAxis: !0,
63
+ crossAxis: !1,
64
+ limiter: m === "partial" ? Se() : void 0,
65
+ ...b
66
+ }),
67
+ p && Ae({ ...b }),
68
+ ve({
69
+ ...b,
70
+ apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
71
+ const { width: ue, height: we } = k.reference, R = P.floating.style;
72
+ R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
73
+ }
74
+ }),
75
+ E && Ce({ element: E, padding: w }),
76
+ Ye({ arrowWidth: re, arrowHeight: $ }),
77
+ y && be({ strategy: "referenceHidden", ...b })
78
+ ]
79
+ }), [W, pe] = V(se), O = Ee(l);
80
+ B(() => {
81
+ S && (O == null || O());
82
+ }, [S, O]);
83
+ const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
84
+ return B(() => {
85
+ h && me(window.getComputedStyle(h).zIndex);
86
+ }, [h]), /* @__PURE__ */ f.jsx(
87
+ "div",
88
+ {
89
+ ref: ie.setFloating,
90
+ "data-radix-popper-content-wrapper": "",
91
+ style: {
92
+ ...H,
93
+ transform: S ? H.transform : "translate(0, -200%)",
94
+ // keep off the page when measuring
95
+ minWidth: "max-content",
96
+ zIndex: fe,
97
+ "--radix-popper-transform-origin": [
98
+ (X = u.transformOrigin) == null ? void 0 : X.x,
99
+ (D = u.transformOrigin) == null ? void 0 : D.y
100
+ ].join(" "),
101
+ // hide the content if using the hide middleware and should be hidden
102
+ // set visibility to hidden and disable pointer events so the UI behaves
103
+ // as if the PopperContent isn't there at all
104
+ ...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
105
+ visibility: "hidden",
106
+ pointerEvents: "none"
107
+ }
108
+ },
109
+ dir: e.dir,
110
+ children: /* @__PURE__ */ f.jsx(
111
+ je,
112
+ {
113
+ scope: n,
114
+ placedSide: W,
115
+ onArrowChange: te,
116
+ arrowX: ce,
117
+ arrowY: de,
118
+ shouldHideArrow: le,
119
+ children: /* @__PURE__ */ f.jsx(
120
+ z.div,
121
+ {
122
+ "data-side": W,
123
+ "data-align": pe,
124
+ ...d,
125
+ ref: ee,
126
+ style: {
127
+ ...d.style,
128
+ // if the PopperContent hasn't been placed yet (not all measurements done)
129
+ // we prevent animations so that users's animation don't kick in too early referring wrong sides
130
+ animation: S ? void 0 : "none"
131
+ }
132
+ }
133
+ )
134
+ }
135
+ )
136
+ }
137
+ );
138
+ }
139
+ );
140
+ J.displayName = _;
141
+ var K = "PopperArrow", We = {
142
+ top: "bottom",
143
+ right: "left",
144
+ bottom: "top",
145
+ left: "right"
146
+ }, Q = s.forwardRef(function(i, n) {
147
+ const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
148
+ return (
149
+ // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
150
+ // doesn't report size as we'd expect on SVG elements.
151
+ // it reports their bounding box which is effectively the largest path inside the SVG.
152
+ /* @__PURE__ */ f.jsx(
153
+ "span",
154
+ {
155
+ ref: r.onArrowChange,
156
+ style: {
157
+ position: "absolute",
158
+ left: r.arrowX,
159
+ top: r.arrowY,
160
+ [o]: 0,
161
+ transformOrigin: {
162
+ top: "",
163
+ right: "0 0",
164
+ bottom: "center 0",
165
+ left: "100% 0"
166
+ }[r.placedSide],
167
+ transform: {
168
+ top: "translateY(100%)",
169
+ right: "translateY(50%) rotate(90deg) translateX(-50%)",
170
+ bottom: "rotate(180deg)",
171
+ left: "translateY(50%) rotate(-90deg) translateX(50%)"
172
+ }[r.placedSide],
173
+ visibility: r.shouldHideArrow ? "hidden" : void 0
174
+ },
175
+ children: /* @__PURE__ */ f.jsx(
176
+ Oe,
177
+ {
178
+ ...a,
179
+ ref: n,
180
+ style: {
181
+ ...a.style,
182
+ // ensures the element can be measured correctly (mostly for if SVG)
183
+ display: "block"
184
+ }
185
+ }
186
+ )
187
+ }
188
+ )
189
+ );
190
+ });
191
+ Q.displayName = K;
192
+ function Ie(e) {
193
+ return e !== null;
194
+ }
195
+ var Ye = (e) => ({
196
+ name: "transformOrigin",
197
+ options: e,
198
+ fn(i) {
199
+ var v, h, C;
200
+ const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
201
+ let l = "", d = "";
202
+ return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
203
+ }
204
+ });
205
+ function V(e) {
206
+ const [i, n = "center"] = e.split("-");
207
+ return [i, n];
7
208
  }
209
+ var qe = U, Ge = G, Je = J, Ke = Q;
8
210
  export {
9
- n as useDirection
211
+ Ge as Anchor,
212
+ Ke as Arrow,
213
+ Je as Content,
214
+ U as Popper,
215
+ G as PopperAnchor,
216
+ Q as PopperArrow,
217
+ J as PopperContent,
218
+ qe as Root,
219
+ Ue as createPopperScope
10
220
  };
11
221
  //# sourceMappingURL=index.es420.js.map