@rpcbase/ui 0.189.0 → 0.190.0

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 (583) hide show
  1. package/dist/index100.js +5 -185
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +3 -106
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +8 -262
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +5 -9
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +4 -42
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +4 -4
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +6 -46
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +143 -203
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +39 -21
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +4 -24
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +5 -397
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +13 -46
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +14 -52
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +7 -4
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +31 -4
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +10 -15
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +10 -5
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +8 -7
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +13 -16
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +101 -4
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +20 -5
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +53 -5
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +72 -5
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +9 -4
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +20 -4
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +16 -6
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +23 -24
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +6 -6
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +5 -4
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +23 -6
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +35 -6
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +16 -5
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +6 -5
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +4 -8
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +4 -5
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +4 -4
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +3 -4
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +6 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +24 -146
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +7 -39
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +6 -4
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +5 -7
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +3 -13
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +3 -13
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +4 -7
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -31
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +4 -10
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +3 -10
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +3 -8
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index15.js +4 -4
  102. package/dist/index150.js +3 -13
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +45 -100
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +47 -20
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +203 -51
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +21 -72
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +24 -9
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +397 -18
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +604 -15
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +5 -23
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +68 -6
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +2 -6
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +358 -18
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +261 -34
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +61 -16
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +46 -6
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +169 -4
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +109 -4
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +24 -4
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +8 -5
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +4 -3
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +5 -6
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +5 -24
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +466 -7
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +185 -6
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +107 -5
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +262 -3
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +9 -3
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +42 -4
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +4 -3
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +16 -4
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +5 -3
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +5 -3
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +58 -3
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +63 -64
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +6 -180
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +4 -46
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +7 -13
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +17 -154
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +5 -30
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +5 -9
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index190.js +13 -47
  183. package/dist/index190.js.map +1 -1
  184. package/dist/index191.js +10 -11
  185. package/dist/index191.js.map +1 -1
  186. package/dist/index192.js +14 -44
  187. package/dist/index192.js.map +1 -1
  188. package/dist/index193.js +14 -95
  189. package/dist/index193.js.map +1 -1
  190. package/dist/index194.js +5 -86
  191. package/dist/index194.js.map +1 -1
  192. package/dist/index195.js +6 -105
  193. package/dist/index195.js.map +1 -1
  194. package/dist/index196.js +7 -52
  195. package/dist/index196.js.map +1 -1
  196. package/dist/index197.js +6 -11
  197. package/dist/index197.js.map +1 -1
  198. package/dist/index198.js +9 -37
  199. package/dist/index198.js.map +1 -1
  200. package/dist/index199.js +5 -8
  201. package/dist/index199.js.map +1 -1
  202. package/dist/index20.js +6 -6
  203. package/dist/index200.js +5 -116
  204. package/dist/index200.js.map +1 -1
  205. package/dist/index201.js +9 -17
  206. package/dist/index201.js.map +1 -1
  207. package/dist/index202.js +5 -15
  208. package/dist/index202.js.map +1 -1
  209. package/dist/index203.js +5 -3
  210. package/dist/index203.js.map +1 -1
  211. package/dist/index204.js +4 -36
  212. package/dist/index204.js.map +1 -1
  213. package/dist/index205.js +11 -20
  214. package/dist/index205.js.map +1 -1
  215. package/dist/index206.js +10 -9
  216. package/dist/index206.js.map +1 -1
  217. package/dist/index207.js +10 -8
  218. package/dist/index207.js.map +1 -1
  219. package/dist/index208.js +11 -19
  220. package/dist/index208.js.map +1 -1
  221. package/dist/index209.js +11 -28
  222. package/dist/index209.js.map +1 -1
  223. package/dist/index21.js +1 -1
  224. package/dist/index210.js +10 -16
  225. package/dist/index210.js.map +1 -1
  226. package/dist/index211.js +7 -24
  227. package/dist/index211.js.map +1 -1
  228. package/dist/index212.js +7 -29
  229. package/dist/index212.js.map +1 -1
  230. package/dist/index213.js +6 -5
  231. package/dist/index213.js.map +1 -1
  232. package/dist/index214.js +6 -16
  233. package/dist/index214.js.map +1 -1
  234. package/dist/index215.js +7 -5
  235. package/dist/index215.js.map +1 -1
  236. package/dist/index216.js +6 -5
  237. package/dist/index216.js.map +1 -1
  238. package/dist/index217.js +55 -58
  239. package/dist/index217.js.map +1 -1
  240. package/dist/index218.js +8 -66
  241. package/dist/index218.js.map +1 -1
  242. package/dist/index219.js +19 -6
  243. package/dist/index219.js.map +1 -1
  244. package/dist/index22.js +1 -1
  245. package/dist/index220.js +16 -4
  246. package/dist/index220.js.map +1 -1
  247. package/dist/index221.js +7 -7
  248. package/dist/index221.js.map +1 -1
  249. package/dist/index222.js +10 -17
  250. package/dist/index222.js.map +1 -1
  251. package/dist/index223.js +10 -5
  252. package/dist/index223.js.map +1 -1
  253. package/dist/index224.js +21 -5
  254. package/dist/index224.js.map +1 -1
  255. package/dist/index225.js +10 -13
  256. package/dist/index225.js.map +1 -1
  257. package/dist/index226.js +9 -10
  258. package/dist/index226.js.map +1 -1
  259. package/dist/index227.js +9 -14
  260. package/dist/index227.js.map +1 -1
  261. package/dist/index228.js +4 -14
  262. package/dist/index228.js.map +1 -1
  263. package/dist/index229.js +5 -5
  264. package/dist/index229.js.map +1 -1
  265. package/dist/index230.js +16 -6
  266. package/dist/index230.js.map +1 -1
  267. package/dist/index231.js +9 -7
  268. package/dist/index231.js.map +1 -1
  269. package/dist/index232.js +18 -6
  270. package/dist/index232.js.map +1 -1
  271. package/dist/index233.js +15 -9
  272. package/dist/index233.js.map +1 -1
  273. package/dist/index234.js +12 -5
  274. package/dist/index234.js.map +1 -1
  275. package/dist/index235.js +29 -5
  276. package/dist/index235.js.map +1 -1
  277. package/dist/index236.js +12 -9
  278. package/dist/index236.js.map +1 -1
  279. package/dist/index237.js +25 -5
  280. package/dist/index237.js.map +1 -1
  281. package/dist/index238.js +5 -5
  282. package/dist/index238.js.map +1 -1
  283. package/dist/index239.js +24 -4
  284. package/dist/index239.js.map +1 -1
  285. package/dist/index24.js +1 -1
  286. package/dist/index240.js +28 -11
  287. package/dist/index240.js.map +1 -1
  288. package/dist/index241.js +5 -11
  289. package/dist/index241.js.map +1 -1
  290. package/dist/index242.js +67 -10
  291. package/dist/index242.js.map +1 -1
  292. package/dist/index243.js +180 -11
  293. package/dist/index243.js.map +1 -1
  294. package/dist/index244.js +46 -11
  295. package/dist/index244.js.map +1 -1
  296. package/dist/index245.js +13 -10
  297. package/dist/index245.js.map +1 -1
  298. package/dist/index246.js +154 -7
  299. package/dist/index246.js.map +1 -1
  300. package/dist/index247.js +30 -6
  301. package/dist/index247.js.map +1 -1
  302. package/dist/index248.js +9 -5
  303. package/dist/index248.js.map +1 -1
  304. package/dist/index249.js +47 -6
  305. package/dist/index249.js.map +1 -1
  306. package/dist/index250.js +11 -7
  307. package/dist/index250.js.map +1 -1
  308. package/dist/index251.js +44 -6
  309. package/dist/index251.js.map +1 -1
  310. package/dist/index252.js +92 -52
  311. package/dist/index252.js.map +1 -1
  312. package/dist/index253.js +86 -8
  313. package/dist/index253.js.map +1 -1
  314. package/dist/index254.js +103 -17
  315. package/dist/index254.js.map +1 -1
  316. package/dist/index255.js +50 -14
  317. package/dist/index255.js.map +1 -1
  318. package/dist/index256.js +11 -7
  319. package/dist/index256.js.map +1 -1
  320. package/dist/index257.js +35 -8
  321. package/dist/index257.js.map +1 -1
  322. package/dist/index258.js +8 -10
  323. package/dist/index258.js.map +1 -1
  324. package/dist/index259.js +115 -20
  325. package/dist/index259.js.map +1 -1
  326. package/dist/index260.js +17 -10
  327. package/dist/index260.js.map +1 -1
  328. package/dist/index261.js +15 -9
  329. package/dist/index261.js.map +1 -1
  330. package/dist/index262.js +3 -9
  331. package/dist/index262.js.map +1 -1
  332. package/dist/index263.js +36 -4
  333. package/dist/index263.js.map +1 -1
  334. package/dist/index264.js +20 -5
  335. package/dist/index264.js.map +1 -1
  336. package/dist/index265.js +9 -16
  337. package/dist/index265.js.map +1 -1
  338. package/dist/index266.js +8 -9
  339. package/dist/index266.js.map +1 -1
  340. package/dist/index267.js +17 -16
  341. package/dist/index267.js.map +1 -1
  342. package/dist/index268.js +26 -13
  343. package/dist/index268.js.map +1 -1
  344. package/dist/index269.js +16 -12
  345. package/dist/index269.js.map +1 -1
  346. package/dist/index270.js +4 -29
  347. package/dist/index270.js.map +1 -1
  348. package/dist/index271.js +18 -12
  349. package/dist/index271.js.map +1 -1
  350. package/dist/index272.js +12 -25
  351. package/dist/index272.js.map +1 -1
  352. package/dist/index273.js +5 -6
  353. package/dist/index273.js.map +1 -1
  354. package/dist/index274.js +3 -21
  355. package/dist/index274.js.map +1 -1
  356. package/dist/index275.js +24 -5
  357. package/dist/index275.js.map +1 -1
  358. package/dist/index276.js +113 -3
  359. package/dist/index276.js.map +1 -1
  360. package/dist/index277.js +15 -23
  361. package/dist/index277.js.map +1 -1
  362. package/dist/index278.js +519 -107
  363. package/dist/index278.js.map +1 -1
  364. package/dist/index279.js +126 -14
  365. package/dist/index279.js.map +1 -1
  366. package/dist/index28.js +1 -1
  367. package/dist/index280.js +125 -516
  368. package/dist/index280.js.map +1 -1
  369. package/dist/index281.js +20 -127
  370. package/dist/index281.js.map +1 -1
  371. package/dist/index282.js +5 -133
  372. package/dist/index282.js.map +1 -1
  373. package/dist/index283.js +5 -4
  374. package/dist/index283.js.map +1 -1
  375. package/dist/index284.js +4 -19
  376. package/dist/index284.js.map +1 -1
  377. package/dist/index285.js +15 -12
  378. package/dist/index285.js.map +1 -1
  379. package/dist/index286.js +8 -64
  380. package/dist/index286.js.map +1 -1
  381. package/dist/index287.js +6 -69
  382. package/dist/index287.js.map +1 -1
  383. package/dist/index288.js +5 -9
  384. package/dist/index288.js.map +1 -1
  385. package/dist/index289.js +545 -13
  386. package/dist/index289.js.map +1 -1
  387. package/dist/index290.js +45 -64
  388. package/dist/index290.js.map +1 -1
  389. package/dist/index291.js +17 -5
  390. package/dist/index291.js.map +1 -1
  391. package/dist/index292.js +6 -5
  392. package/dist/index292.js.map +1 -1
  393. package/dist/index293.js +9 -4
  394. package/dist/index293.js.map +1 -1
  395. package/dist/index294.js +7 -15
  396. package/dist/index294.js.map +1 -1
  397. package/dist/index295.js +8 -8
  398. package/dist/index295.js.map +1 -1
  399. package/dist/index296.js +12 -5
  400. package/dist/index296.js.map +1 -1
  401. package/dist/index297.js +9 -4
  402. package/dist/index297.js.map +1 -1
  403. package/dist/index298.js +13 -545
  404. package/dist/index298.js.map +1 -1
  405. package/dist/index299.js +65 -47
  406. package/dist/index299.js.map +1 -1
  407. package/dist/index30.js +1 -1
  408. package/dist/index300.js +69 -18
  409. package/dist/index300.js.map +1 -1
  410. package/dist/index301.js +9 -7
  411. package/dist/index301.js.map +1 -1
  412. package/dist/index302.js +14 -9
  413. package/dist/index302.js.map +1 -1
  414. package/dist/index303.js +66 -8
  415. package/dist/index303.js.map +1 -1
  416. package/dist/index304.js +4 -8
  417. package/dist/index304.js.map +1 -1
  418. package/dist/index305.js +56 -13
  419. package/dist/index305.js.map +1 -1
  420. package/dist/index306.js +68 -10
  421. package/dist/index306.js.map +1 -1
  422. package/dist/index307.js +31 -14
  423. package/dist/index307.js.map +1 -1
  424. package/dist/index308.js +9 -4
  425. package/dist/index308.js.map +1 -1
  426. package/dist/index309.js +153 -23
  427. package/dist/index309.js.map +1 -1
  428. package/dist/index31.js +5 -5
  429. package/dist/index310.js +108 -5
  430. package/dist/index310.js.map +1 -1
  431. package/dist/index311.js +4 -56
  432. package/dist/index311.js.map +1 -1
  433. package/dist/index312.js +23 -68
  434. package/dist/index312.js.map +1 -1
  435. package/dist/index313.js +16 -31
  436. package/dist/index313.js.map +1 -1
  437. package/dist/index314.js +29 -9
  438. package/dist/index314.js.map +1 -1
  439. package/dist/index315.js +13 -153
  440. package/dist/index315.js.map +1 -1
  441. package/dist/index316.js +7 -108
  442. package/dist/index316.js.map +1 -1
  443. package/dist/index32.js +24 -24
  444. package/dist/index33.js +3 -3
  445. package/dist/index35.js +16 -2635
  446. package/dist/index35.js.map +1 -1
  447. package/dist/index36.js +113 -377
  448. package/dist/index36.js.map +1 -1
  449. package/dist/index37.js +204 -215
  450. package/dist/index37.js.map +1 -1
  451. package/dist/index38.js +87 -18
  452. package/dist/index38.js.map +1 -1
  453. package/dist/index39.js +115 -126
  454. package/dist/index39.js.map +1 -1
  455. package/dist/index40.js +5 -221
  456. package/dist/index40.js.map +1 -1
  457. package/dist/index41.js +836 -83
  458. package/dist/index41.js.map +1 -1
  459. package/dist/index42.js +53 -115
  460. package/dist/index42.js.map +1 -1
  461. package/dist/index43.js +7 -5
  462. package/dist/index43.js.map +1 -1
  463. package/dist/index44.js +2 -844
  464. package/dist/index44.js.map +1 -1
  465. package/dist/index45.js +12 -57
  466. package/dist/index45.js.map +1 -1
  467. package/dist/index46.js +18 -7
  468. package/dist/index46.js.map +1 -1
  469. package/dist/index47.js +8 -2
  470. package/dist/index47.js.map +1 -1
  471. package/dist/index48.js +2 -12
  472. package/dist/index48.js.map +1 -1
  473. package/dist/index49.js +22 -17
  474. package/dist/index49.js.map +1 -1
  475. package/dist/index50.js +233 -7
  476. package/dist/index50.js.map +1 -1
  477. package/dist/index51.js +205 -2
  478. package/dist/index51.js.map +1 -1
  479. package/dist/index52.js +3 -23
  480. package/dist/index52.js.map +1 -1
  481. package/dist/index53.js +6 -233
  482. package/dist/index53.js.map +1 -1
  483. package/dist/index54.js +44 -201
  484. package/dist/index54.js.map +1 -1
  485. package/dist/index55.js +27 -2
  486. package/dist/index55.js.map +1 -1
  487. package/dist/index56.js +51 -2
  488. package/dist/index56.js.map +1 -1
  489. package/dist/index57.js +7 -5
  490. package/dist/index57.js.map +1 -1
  491. package/dist/index58.js +14 -7
  492. package/dist/index58.js.map +1 -1
  493. package/dist/index59.js +133 -5
  494. package/dist/index59.js.map +1 -1
  495. package/dist/index60.js +10 -53
  496. package/dist/index60.js.map +1 -1
  497. package/dist/index61.js +217 -2
  498. package/dist/index61.js.map +1 -1
  499. package/dist/index62.js +13 -2
  500. package/dist/index62.js.map +1 -1
  501. package/dist/index63.js +33 -3
  502. package/dist/index63.js.map +1 -1
  503. package/dist/index64.js +46 -6
  504. package/dist/index64.js.map +1 -1
  505. package/dist/index65.js +7 -47
  506. package/dist/index65.js.map +1 -1
  507. package/dist/index66.js +47 -24
  508. package/dist/index66.js.map +1 -1
  509. package/dist/index67.js +4 -51
  510. package/dist/index67.js.map +1 -1
  511. package/dist/index68.js +5 -7
  512. package/dist/index68.js.map +1 -1
  513. package/dist/index69.js +28 -15
  514. package/dist/index69.js.map +1 -1
  515. package/dist/index70.js +48 -132
  516. package/dist/index70.js.map +1 -1
  517. package/dist/index71.js +9 -11
  518. package/dist/index71.js.map +1 -1
  519. package/dist/index72.js +11 -216
  520. package/dist/index72.js.map +1 -1
  521. package/dist/index73.js +2 -13
  522. package/dist/index73.js.map +1 -1
  523. package/dist/index74.js +2 -34
  524. package/dist/index74.js.map +1 -1
  525. package/dist/index75.js +2 -47
  526. package/dist/index75.js.map +1 -1
  527. package/dist/index76.js +2 -8
  528. package/dist/index76.js.map +1 -1
  529. package/dist/index77.js +5 -49
  530. package/dist/index77.js.map +1 -1
  531. package/dist/index78.js +8 -4
  532. package/dist/index78.js.map +1 -1
  533. package/dist/index79.js +5 -5
  534. package/dist/index79.js.map +1 -1
  535. package/dist/index80.js +52 -28
  536. package/dist/index80.js.map +1 -1
  537. package/dist/index81.js +5 -50
  538. package/dist/index81.js.map +1 -1
  539. package/dist/index82.js +5 -9
  540. package/dist/index82.js.map +1 -1
  541. package/dist/index83.js +15 -11
  542. package/dist/index83.js.map +1 -1
  543. package/dist/index84.js +5 -605
  544. package/dist/index84.js.map +1 -1
  545. package/dist/index85.js +7 -5
  546. package/dist/index85.js.map +1 -1
  547. package/dist/index86.js +16 -68
  548. package/dist/index86.js.map +1 -1
  549. package/dist/index87.js +5 -2
  550. package/dist/index87.js.map +1 -1
  551. package/dist/index88.js +4 -363
  552. package/dist/index88.js.map +1 -1
  553. package/dist/index89.js +5 -261
  554. package/dist/index89.js.map +1 -1
  555. package/dist/index90.js +5 -60
  556. package/dist/index90.js.map +1 -1
  557. package/dist/index91.js +4 -46
  558. package/dist/index91.js.map +1 -1
  559. package/dist/index92.js +4 -169
  560. package/dist/index92.js.map +1 -1
  561. package/dist/index93.js +6 -109
  562. package/dist/index93.js.map +1 -1
  563. package/dist/index94.js +24 -24
  564. package/dist/index94.js.map +1 -1
  565. package/dist/index95.js +7 -8
  566. package/dist/index95.js.map +1 -1
  567. package/dist/index96.js +4 -4
  568. package/dist/index96.js.map +1 -1
  569. package/dist/index97.js +6 -5
  570. package/dist/index97.js.map +1 -1
  571. package/dist/index98.js +4 -3
  572. package/dist/index98.js.map +1 -1
  573. package/dist/index99.js +4 -466
  574. package/dist/index99.js.map +1 -1
  575. package/package.json +1 -1
  576. package/dist/index321.js +0 -19
  577. package/dist/index321.js.map +0 -1
  578. package/dist/index322.js +0 -32
  579. package/dist/index322.js.map +0 -1
  580. package/dist/index323.js +0 -16
  581. package/dist/index323.js.map +0 -1
  582. package/dist/index324.js +0 -10
  583. package/dist/index324.js.map +0 -1
package/dist/index53.js CHANGED
@@ -1,237 +1,10 @@
1
- import { __exports as s } from "./index62.js";
2
- import J from "react";
3
- var j;
4
- function Z() {
5
- return j ? s : (j = 1, process.env.NODE_ENV !== "production" && (function() {
6
- function l(e) {
7
- if (e == null) return null;
8
- if (typeof e == "function")
9
- return e.$$typeof === X ? null : e.displayName || e.name || null;
10
- if (typeof e == "string") return e;
11
- switch (e) {
12
- case f:
13
- return "Fragment";
14
- case F:
15
- return "Profiler";
16
- case D:
17
- return "StrictMode";
18
- case M:
19
- return "Suspense";
20
- case z:
21
- return "SuspenseList";
22
- case G:
23
- return "Activity";
24
- }
25
- if (typeof e == "object")
26
- switch (typeof e.tag == "number" && console.error(
27
- "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
28
- ), e.$$typeof) {
29
- case $:
30
- return "Portal";
31
- case L:
32
- return e.displayName || "Context";
33
- case W:
34
- return (e._context.displayName || "Context") + ".Consumer";
35
- case U:
36
- var r = e.render;
37
- return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
38
- case V:
39
- return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
40
- case m:
41
- r = e._payload, e = e._init;
42
- try {
43
- return l(e(r));
44
- } catch {
45
- }
46
- }
47
- return null;
48
- }
49
- function R(e) {
50
- return "" + e;
51
- }
52
- function T(e) {
53
- try {
54
- R(e);
55
- var r = !1;
56
- } catch {
57
- r = !0;
58
- }
59
- if (r) {
60
- r = console;
61
- var t = r.error, a = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
62
- return t.call(
63
- r,
64
- "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
65
- a
66
- ), R(e);
67
- }
68
- }
69
- function i(e) {
70
- if (e === f) return "<>";
71
- if (typeof e == "object" && e !== null && e.$$typeof === m)
72
- return "<...>";
73
- try {
74
- var r = l(e);
75
- return r ? "<" + r + ">" : "<...>";
76
- } catch {
77
- return "<...>";
78
- }
79
- }
80
- function N() {
81
- var e = _.A;
82
- return e === null ? null : e.getOwner();
83
- }
84
- function p() {
85
- return Error("react-stack-top-frame");
86
- }
87
- function C(e) {
88
- if (y.call(e, "key")) {
89
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
90
- if (r && r.isReactWarning) return !1;
91
- }
92
- return e.key !== void 0;
93
- }
94
- function x(e, r) {
95
- function t() {
96
- A || (A = !0, console.error(
97
- "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
98
- r
99
- ));
100
- }
101
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
102
- get: t,
103
- configurable: !0
104
- });
105
- }
106
- function Y() {
107
- var e = l(this.type);
108
- return S[e] || (S[e] = !0, console.error(
109
- "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
110
- )), e = this.props.ref, e !== void 0 ? e : null;
111
- }
112
- function I(e, r, t, a, u, b) {
113
- var n = t.ref;
114
- return e = {
115
- $$typeof: g,
116
- type: e,
117
- key: r,
118
- props: t,
119
- _owner: a
120
- }, (n !== void 0 ? n : null) !== null ? Object.defineProperty(e, "ref", {
121
- enumerable: !1,
122
- get: Y
123
- }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
124
- configurable: !1,
125
- enumerable: !1,
126
- writable: !0,
127
- value: 0
128
- }), Object.defineProperty(e, "_debugInfo", {
129
- configurable: !1,
130
- enumerable: !1,
131
- writable: !0,
132
- value: null
133
- }), Object.defineProperty(e, "_debugStack", {
134
- configurable: !1,
135
- enumerable: !1,
136
- writable: !0,
137
- value: u
138
- }), Object.defineProperty(e, "_debugTask", {
139
- configurable: !1,
140
- enumerable: !1,
141
- writable: !0,
142
- value: b
143
- }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
144
- }
145
- function v(e, r, t, a, u, b) {
146
- var n = r.children;
147
- if (n !== void 0)
148
- if (a)
149
- if (q(n)) {
150
- for (a = 0; a < n.length; a++)
151
- O(n[a]);
152
- Object.freeze && Object.freeze(n);
153
- } else
154
- console.error(
155
- "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
156
- );
157
- else O(n);
158
- if (y.call(r, "key")) {
159
- n = l(e);
160
- var o = Object.keys(r).filter(function(K) {
161
- return K !== "key";
162
- });
163
- a = 0 < o.length ? "{key: someKey, " + o.join(": ..., ") + ": ...}" : "{key: someKey}", h[n + a] || (o = 0 < o.length ? "{" + o.join(": ..., ") + ": ...}" : "{}", console.error(
164
- `A props object containing a "key" prop is being spread into JSX:
165
- let props = %s;
166
- <%s {...props} />
167
- React keys must be passed directly to JSX without using spread:
168
- let props = %s;
169
- <%s key={someKey} {...props} />`,
170
- a,
171
- n,
172
- o,
173
- n
174
- ), h[n + a] = !0);
175
- }
176
- if (n = null, t !== void 0 && (T(t), n = "" + t), C(r) && (T(r.key), n = "" + r.key), "key" in r) {
177
- t = {};
178
- for (var E in r)
179
- E !== "key" && (t[E] = r[E]);
180
- } else t = r;
181
- return n && x(
182
- t,
183
- typeof e == "function" ? e.displayName || e.name || "Unknown" : e
184
- ), I(
185
- e,
186
- n,
187
- t,
188
- N(),
189
- u,
190
- b
191
- );
192
- }
193
- function O(e) {
194
- k(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === m && (e._payload.status === "fulfilled" ? k(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
195
- }
196
- function k(e) {
197
- return typeof e == "object" && e !== null && e.$$typeof === g;
198
- }
199
- var c = J, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), $ = /* @__PURE__ */ Symbol.for("react.portal"), f = /* @__PURE__ */ Symbol.for("react.fragment"), D = /* @__PURE__ */ Symbol.for("react.strict_mode"), F = /* @__PURE__ */ Symbol.for("react.profiler"), W = /* @__PURE__ */ Symbol.for("react.consumer"), L = /* @__PURE__ */ Symbol.for("react.context"), U = /* @__PURE__ */ Symbol.for("react.forward_ref"), M = /* @__PURE__ */ Symbol.for("react.suspense"), z = /* @__PURE__ */ Symbol.for("react.suspense_list"), V = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), G = /* @__PURE__ */ Symbol.for("react.activity"), X = /* @__PURE__ */ Symbol.for("react.client.reference"), _ = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, q = Array.isArray, d = console.createTask ? console.createTask : function() {
200
- return null;
201
- };
202
- c = {
203
- react_stack_bottom_frame: function(e) {
204
- return e();
205
- }
206
- };
207
- var A, S = {}, w = c.react_stack_bottom_frame.bind(
208
- c,
209
- p
210
- )(), P = d(i(p)), h = {};
211
- s.Fragment = f, s.jsx = function(e, r, t) {
212
- var a = 1e4 > _.recentlyCreatedOwnerStacks++;
213
- return v(
214
- e,
215
- r,
216
- t,
217
- !1,
218
- a ? Error("react-stack-top-frame") : w,
219
- a ? d(i(e)) : P
220
- );
221
- }, s.jsxs = function(e, r, t) {
222
- var a = 1e4 > _.recentlyCreatedOwnerStacks++;
223
- return v(
224
- e,
225
- r,
226
- t,
227
- !0,
228
- a ? Error("react-stack-top-frame") : w,
229
- a ? d(i(e)) : P
230
- );
231
- };
232
- })(), s);
1
+ function f(n, r, { checkForDefaultPrevented: t = !0 } = {}) {
2
+ return function(e) {
3
+ if (n?.(e), t === !1 || !e.defaultPrevented)
4
+ return r?.(e);
5
+ };
233
6
  }
234
7
  export {
235
- Z as __require
8
+ f as composeEventHandlers
236
9
  };
237
10
  //# sourceMappingURL=index53.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index53.js","sources":["../../../node_modules/react/cjs/react-jsx-runtime.development.js"],"sourcesContent":["/**\n * @license React\n * react-jsx-runtime.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function getComponentNameFromType(type) {\n if (null == type) return null;\n if (\"function\" === typeof type)\n return type.$$typeof === REACT_CLIENT_REFERENCE\n ? null\n : type.displayName || type.name || null;\n if (\"string\" === typeof type) return type;\n switch (type) {\n case REACT_FRAGMENT_TYPE:\n return \"Fragment\";\n case REACT_PROFILER_TYPE:\n return \"Profiler\";\n case REACT_STRICT_MODE_TYPE:\n return \"StrictMode\";\n case REACT_SUSPENSE_TYPE:\n return \"Suspense\";\n case REACT_SUSPENSE_LIST_TYPE:\n return \"SuspenseList\";\n case REACT_ACTIVITY_TYPE:\n return \"Activity\";\n }\n if (\"object\" === typeof type)\n switch (\n (\"number\" === typeof type.tag &&\n console.error(\n \"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"\n ),\n type.$$typeof)\n ) {\n case REACT_PORTAL_TYPE:\n return \"Portal\";\n case REACT_CONTEXT_TYPE:\n return type.displayName || \"Context\";\n case REACT_CONSUMER_TYPE:\n return (type._context.displayName || \"Context\") + \".Consumer\";\n case REACT_FORWARD_REF_TYPE:\n var innerType = type.render;\n type = type.displayName;\n type ||\n ((type = innerType.displayName || innerType.name || \"\"),\n (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n return type;\n case REACT_MEMO_TYPE:\n return (\n (innerType = type.displayName || null),\n null !== innerType\n ? innerType\n : getComponentNameFromType(type.type) || \"Memo\"\n );\n case REACT_LAZY_TYPE:\n innerType = type._payload;\n type = type._init;\n try {\n return getComponentNameFromType(type(innerType));\n } catch (x) {}\n }\n return null;\n }\n function testStringCoercion(value) {\n return \"\" + value;\n }\n function checkKeyStringCoercion(value) {\n try {\n testStringCoercion(value);\n var JSCompiler_inline_result = !1;\n } catch (e) {\n JSCompiler_inline_result = !0;\n }\n if (JSCompiler_inline_result) {\n JSCompiler_inline_result = console;\n var JSCompiler_temp_const = JSCompiler_inline_result.error;\n var JSCompiler_inline_result$jscomp$0 =\n (\"function\" === typeof Symbol &&\n Symbol.toStringTag &&\n value[Symbol.toStringTag]) ||\n value.constructor.name ||\n \"Object\";\n JSCompiler_temp_const.call(\n JSCompiler_inline_result,\n \"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.\",\n JSCompiler_inline_result$jscomp$0\n );\n return testStringCoercion(value);\n }\n }\n function getTaskName(type) {\n if (type === REACT_FRAGMENT_TYPE) return \"<>\";\n if (\n \"object\" === typeof type &&\n null !== type &&\n type.$$typeof === REACT_LAZY_TYPE\n )\n return \"<...>\";\n try {\n var name = getComponentNameFromType(type);\n return name ? \"<\" + name + \">\" : \"<...>\";\n } catch (x) {\n return \"<...>\";\n }\n }\n function getOwner() {\n var dispatcher = ReactSharedInternals.A;\n return null === dispatcher ? null : dispatcher.getOwner();\n }\n function UnknownOwner() {\n return Error(\"react-stack-top-frame\");\n }\n function hasValidKey(config) {\n if (hasOwnProperty.call(config, \"key\")) {\n var getter = Object.getOwnPropertyDescriptor(config, \"key\").get;\n if (getter && getter.isReactWarning) return !1;\n }\n return void 0 !== config.key;\n }\n function defineKeyPropWarningGetter(props, displayName) {\n function warnAboutAccessingKey() {\n specialPropKeyWarningShown ||\n ((specialPropKeyWarningShown = !0),\n console.error(\n \"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)\",\n displayName\n ));\n }\n warnAboutAccessingKey.isReactWarning = !0;\n Object.defineProperty(props, \"key\", {\n get: warnAboutAccessingKey,\n configurable: !0\n });\n }\n function elementRefGetterWithDeprecationWarning() {\n var componentName = getComponentNameFromType(this.type);\n didWarnAboutElementRef[componentName] ||\n ((didWarnAboutElementRef[componentName] = !0),\n console.error(\n \"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.\"\n ));\n componentName = this.props.ref;\n return void 0 !== componentName ? componentName : null;\n }\n function ReactElement(type, key, props, owner, debugStack, debugTask) {\n var refProp = props.ref;\n type = {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key,\n props: props,\n _owner: owner\n };\n null !== (void 0 !== refProp ? refProp : null)\n ? Object.defineProperty(type, \"ref\", {\n enumerable: !1,\n get: elementRefGetterWithDeprecationWarning\n })\n : Object.defineProperty(type, \"ref\", { enumerable: !1, value: null });\n type._store = {};\n Object.defineProperty(type._store, \"validated\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: 0\n });\n Object.defineProperty(type, \"_debugInfo\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: null\n });\n Object.defineProperty(type, \"_debugStack\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugStack\n });\n Object.defineProperty(type, \"_debugTask\", {\n configurable: !1,\n enumerable: !1,\n writable: !0,\n value: debugTask\n });\n Object.freeze && (Object.freeze(type.props), Object.freeze(type));\n return type;\n }\n function jsxDEVImpl(\n type,\n config,\n maybeKey,\n isStaticChildren,\n debugStack,\n debugTask\n ) {\n var children = config.children;\n if (void 0 !== children)\n if (isStaticChildren)\n if (isArrayImpl(children)) {\n for (\n isStaticChildren = 0;\n isStaticChildren < children.length;\n isStaticChildren++\n )\n validateChildKeys(children[isStaticChildren]);\n Object.freeze && Object.freeze(children);\n } else\n console.error(\n \"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.\"\n );\n else validateChildKeys(children);\n if (hasOwnProperty.call(config, \"key\")) {\n children = getComponentNameFromType(type);\n var keys = Object.keys(config).filter(function (k) {\n return \"key\" !== k;\n });\n isStaticChildren =\n 0 < keys.length\n ? \"{key: someKey, \" + keys.join(\": ..., \") + \": ...}\"\n : \"{key: someKey}\";\n didWarnAboutKeySpread[children + isStaticChildren] ||\n ((keys =\n 0 < keys.length ? \"{\" + keys.join(\": ..., \") + \": ...}\" : \"{}\"),\n console.error(\n 'A props object containing a \"key\" prop is being spread into JSX:\\n let props = %s;\\n <%s {...props} />\\nReact keys must be passed directly to JSX without using spread:\\n let props = %s;\\n <%s key={someKey} {...props} />',\n isStaticChildren,\n children,\n keys,\n children\n ),\n (didWarnAboutKeySpread[children + isStaticChildren] = !0));\n }\n children = null;\n void 0 !== maybeKey &&\n (checkKeyStringCoercion(maybeKey), (children = \"\" + maybeKey));\n hasValidKey(config) &&\n (checkKeyStringCoercion(config.key), (children = \"\" + config.key));\n if (\"key\" in config) {\n maybeKey = {};\n for (var propName in config)\n \"key\" !== propName && (maybeKey[propName] = config[propName]);\n } else maybeKey = config;\n children &&\n defineKeyPropWarningGetter(\n maybeKey,\n \"function\" === typeof type\n ? type.displayName || type.name || \"Unknown\"\n : type\n );\n return ReactElement(\n type,\n children,\n maybeKey,\n getOwner(),\n debugStack,\n debugTask\n );\n }\n function validateChildKeys(node) {\n isValidElement(node)\n ? node._store && (node._store.validated = 1)\n : \"object\" === typeof node &&\n null !== node &&\n node.$$typeof === REACT_LAZY_TYPE &&\n (\"fulfilled\" === node._payload.status\n ? isValidElement(node._payload.value) &&\n node._payload.value._store &&\n (node._payload.value._store.validated = 1)\n : node._store && (node._store.validated = 1));\n }\n function isValidElement(object) {\n return (\n \"object\" === typeof object &&\n null !== object &&\n object.$$typeof === REACT_ELEMENT_TYPE\n );\n }\n var React = require(\"react\"),\n REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\"),\n ReactSharedInternals =\n React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n hasOwnProperty = Object.prototype.hasOwnProperty,\n isArrayImpl = Array.isArray,\n createTask = console.createTask\n ? console.createTask\n : function () {\n return null;\n };\n React = {\n react_stack_bottom_frame: function (callStackForError) {\n return callStackForError();\n }\n };\n var specialPropKeyWarningShown;\n var didWarnAboutElementRef = {};\n var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(\n React,\n UnknownOwner\n )();\n var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));\n var didWarnAboutKeySpread = {};\n exports.Fragment = REACT_FRAGMENT_TYPE;\n exports.jsx = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !1,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n exports.jsxs = function (type, config, maybeKey) {\n var trackActualOwner =\n 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;\n return jsxDEVImpl(\n type,\n config,\n maybeKey,\n !0,\n trackActualOwner\n ? Error(\"react-stack-top-frame\")\n : unknownOwnerDebugStack,\n trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask\n );\n };\n })();\n"],"names":["getComponentNameFromType","type","REACT_CLIENT_REFERENCE","REACT_FRAGMENT_TYPE","REACT_PROFILER_TYPE","REACT_STRICT_MODE_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_ACTIVITY_TYPE","REACT_PORTAL_TYPE","REACT_CONTEXT_TYPE","REACT_CONSUMER_TYPE","REACT_FORWARD_REF_TYPE","innerType","REACT_MEMO_TYPE","REACT_LAZY_TYPE","testStringCoercion","value","checkKeyStringCoercion","JSCompiler_inline_result","JSCompiler_temp_const","JSCompiler_inline_result$jscomp$0","getTaskName","name","getOwner","dispatcher","ReactSharedInternals","UnknownOwner","hasValidKey","config","hasOwnProperty","getter","defineKeyPropWarningGetter","props","displayName","warnAboutAccessingKey","specialPropKeyWarningShown","elementRefGetterWithDeprecationWarning","componentName","didWarnAboutElementRef","ReactElement","key","owner","debugStack","debugTask","refProp","REACT_ELEMENT_TYPE","jsxDEVImpl","maybeKey","isStaticChildren","children","isArrayImpl","validateChildKeys","keys","k","didWarnAboutKeySpread","propName","node","isValidElement","object","React","require$$0","createTask","callStackForError","unknownOwnerDebugStack","unknownOwnerDebugTask","reactJsxRuntime_development","trackActualOwner"],"mappings":";;;;yBAWiB,QAAQ,IAAI,aAA7B,iBACG,WAAY;AACX,aAASA,EAAyBC,GAAM;AACtC,UAAYA,KAAR,KAAc,QAAO;AACzB,UAAmB,OAAOA,KAAtB;AACF,eAAOA,EAAK,aAAaC,IACrB,OACAD,EAAK,eAAeA,EAAK,QAAQ;AACvC,UAAiB,OAAOA,KAApB,SAA0B,QAAOA;AACrC,cAAQA,GAAI;AAAA,QACV,KAAKE;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,QACT,KAAKC;AACH,iBAAO;AAAA,MACjB;AACM,UAAiB,OAAOP,KAApB;AACF,gBACgB,OAAOA,EAAK,OAAzB,YACC,QAAQ;AAAA,UACN;AAAA,WAEJA,EAAK,UACf;AAAA,UACU,KAAKQ;AACH,mBAAO;AAAA,UACT,KAAKC;AACH,mBAAOT,EAAK,eAAe;AAAA,UAC7B,KAAKU;AACH,oBAAQV,EAAK,SAAS,eAAe,aAAa;AAAA,UACpD,KAAKW;AACH,gBAAIC,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ACAmB;AAAA,QACA;AAAA,QACAmB,IACI,MAAM,uBAAuB,IAC7BH;AAAA,QACJG,IAAmBL,EAAWxC,EAAYrB,CAAI,CAAC,IAAIgE;AAAA;IAE3D;AAAA,EACA,GAAG;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index53.js","sources":["../../../node_modules/@radix-ui/primitive/dist/index.mjs"],"sourcesContent":["// src/primitive.tsx\nvar canUseDOM = !!(typeof window !== \"undefined\" && window.document && window.document.createElement);\nfunction composeEventHandlers(originalEventHandler, ourEventHandler, { checkForDefaultPrevented = true } = {}) {\n return function handleEvent(event) {\n originalEventHandler?.(event);\n if (checkForDefaultPrevented === false || !event.defaultPrevented) {\n return ourEventHandler?.(event);\n }\n };\n}\nfunction getOwnerWindow(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access window outside of the DOM\");\n }\n return element?.ownerDocument?.defaultView ?? window;\n}\nfunction getOwnerDocument(element) {\n if (!canUseDOM) {\n throw new Error(\"Cannot access document outside of the DOM\");\n }\n return element?.ownerDocument ?? document;\n}\nfunction getActiveElement(node, activeDescendant = false) {\n const { activeElement } = getOwnerDocument(node);\n if (!activeElement?.nodeName) {\n return null;\n }\n if (isFrame(activeElement) && activeElement.contentDocument) {\n return getActiveElement(activeElement.contentDocument.body, activeDescendant);\n }\n if (activeDescendant) {\n const id = activeElement.getAttribute(\"aria-activedescendant\");\n if (id) {\n const element = getOwnerDocument(activeElement).getElementById(id);\n if (element) {\n return element;\n }\n }\n }\n return activeElement;\n}\nfunction isFrame(element) {\n return element.tagName === \"IFRAME\";\n}\nexport {\n canUseDOM,\n composeEventHandlers,\n getActiveElement,\n getOwnerDocument,\n getOwnerWindow,\n isFrame\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["composeEventHandlers","originalEventHandler","ourEventHandler","checkForDefaultPrevented","event"],"mappings":"AAEA,SAASA,EAAqBC,GAAsBC,GAAiB,EAAE,0BAAAC,IAA2B,GAAI,IAAK,IAAI;AAC7G,SAAO,SAAqBC,GAAO;AAEjC,QADAH,IAAuBG,CAAK,GACxBD,MAA6B,MAAS,CAACC,EAAM;AAC/C,aAAOF,IAAkBE,CAAK;AAAA,EAElC;AACF;","x_google_ignoreList":[0]}
package/dist/index54.js CHANGED
@@ -1,208 +1,51 @@
1
- import * as p from "react";
2
- import { composeEventHandlers as m } from "./index64.js";
3
- import { composeRefs as C } from "./index66.js";
4
- import { createContextScope as E } from "./index67.js";
5
- import { useControllableState as S } from "./index77.js";
6
- import { Primitive as P } from "./index74.js";
7
- import { createMenuScope as D, Anchor as y, Item as O, Root as T, Portal as j, Content as G, Group as k, Label as L, CheckboxItem as K, RadioGroup as U, RadioItem as B, ItemIndicator as F, Separator as H, Arrow as W, SubTrigger as $, SubContent as X } from "./index84.js";
8
- import { useId as g } from "./index71.js";
9
- import { j as a } from "./index30.js";
10
- var f = "DropdownMenu", [q] = E(
11
- f,
12
- [D]
13
- ), s = D(), [z, v] = q(f), _ = (o) => {
14
- const {
15
- __scopeDropdownMenu: n,
16
- children: r,
17
- dir: e,
18
- open: t,
19
- defaultOpen: i,
20
- onOpenChange: u,
21
- modal: d = !0
22
- } = o, c = s(n), M = p.useRef(null), [l, w] = S({
23
- prop: t,
24
- defaultProp: i ?? !1,
25
- onChange: u,
26
- caller: f
27
- });
28
- return /* @__PURE__ */ a.jsx(
29
- z,
30
- {
31
- scope: n,
32
- triggerId: g(),
33
- triggerRef: M,
34
- contentId: g(),
35
- open: l,
36
- onOpenChange: w,
37
- onOpenToggle: p.useCallback(() => w((A) => !A), [w]),
38
- modal: d,
39
- children: /* @__PURE__ */ a.jsx(T, { ...c, open: l, onOpenChange: w, dir: e, modal: d, children: r })
1
+ import r from "react";
2
+ import { createContextScope as y } from "./index56.js";
3
+ import { useComposedRefs as S } from "./index55.js";
4
+ import { createSlot as M } from "./index152.js";
5
+ import { j as d } from "./index30.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 });
40
19
  }
41
20
  );
42
- };
43
- _.displayName = f;
44
- var x = "DropdownMenuTrigger", R = p.forwardRef(
45
- (o, n) => {
46
- const { __scopeDropdownMenu: r, disabled: e = !1, ...t } = o, i = v(x, r), u = s(r);
47
- return /* @__PURE__ */ a.jsx(y, { asChild: !0, ...u, children: /* @__PURE__ */ a.jsx(
48
- P.button,
49
- {
50
- type: "button",
51
- id: i.triggerId,
52
- "aria-haspopup": "menu",
53
- "aria-expanded": i.open,
54
- "aria-controls": i.open ? i.contentId : void 0,
55
- "data-state": i.open ? "open" : "closed",
56
- "data-disabled": e ? "" : void 0,
57
- disabled: e,
58
- ...t,
59
- ref: C(n, i.triggerRef),
60
- onPointerDown: m(o.onPointerDown, (d) => {
61
- !e && d.button === 0 && d.ctrlKey === !1 && (i.onOpenToggle(), i.open || d.preventDefault());
62
- }),
63
- onKeyDown: m(o.onKeyDown, (d) => {
64
- e || (["Enter", " "].includes(d.key) && i.onOpenToggle(), d.key === "ArrowDown" && i.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(d.key) && d.preventDefault());
65
- })
66
- }
67
- ) });
68
- }
69
- );
70
- R.displayName = x;
71
- var J = "DropdownMenuPortal", h = (o) => {
72
- const { __scopeDropdownMenu: n, ...r } = o, e = s(n);
73
- return /* @__PURE__ */ a.jsx(j, { ...e, ...r });
74
- };
75
- h.displayName = J;
76
- var I = "DropdownMenuContent", N = p.forwardRef(
77
- (o, n) => {
78
- const { __scopeDropdownMenu: r, ...e } = o, t = v(I, r), i = s(r), u = p.useRef(!1);
79
- return /* @__PURE__ */ a.jsx(
80
- G,
81
- {
82
- id: t.contentId,
83
- "aria-labelledby": t.triggerId,
84
- ...i,
85
- ...e,
86
- ref: n,
87
- onCloseAutoFocus: m(o.onCloseAutoFocus, (d) => {
88
- u.current || t.triggerRef.current?.focus(), u.current = !1, d.preventDefault();
89
- }),
90
- onInteractOutside: m(o.onInteractOutside, (d) => {
91
- const c = d.detail.originalEvent, M = c.button === 0 && c.ctrlKey === !0, l = c.button === 2 || M;
92
- (!t.modal || l) && (u.current = !0);
93
- }),
94
- style: {
95
- ...o.style,
96
- "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
97
- "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
98
- "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
99
- "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
100
- "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
101
- }
102
- }
103
- );
104
- }
105
- );
106
- N.displayName = I;
107
- var Q = "DropdownMenuGroup", V = p.forwardRef(
108
- (o, n) => {
109
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
110
- return /* @__PURE__ */ a.jsx(k, { ...t, ...e, ref: n });
111
- }
112
- );
113
- V.displayName = Q;
114
- var Y = "DropdownMenuLabel", Z = p.forwardRef(
115
- (o, n) => {
116
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
117
- return /* @__PURE__ */ a.jsx(L, { ...t, ...e, ref: n });
118
- }
119
- );
120
- Z.displayName = Y;
121
- var oo = "DropdownMenuItem", b = p.forwardRef(
122
- (o, n) => {
123
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
124
- return /* @__PURE__ */ a.jsx(O, { ...t, ...e, ref: n });
125
- }
126
- );
127
- b.displayName = oo;
128
- var eo = "DropdownMenuCheckboxItem", ro = p.forwardRef((o, n) => {
129
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
130
- return /* @__PURE__ */ a.jsx(K, { ...t, ...e, ref: n });
131
- });
132
- ro.displayName = eo;
133
- var no = "DropdownMenuRadioGroup", to = p.forwardRef((o, n) => {
134
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
135
- return /* @__PURE__ */ a.jsx(U, { ...t, ...e, ref: n });
136
- });
137
- to.displayName = no;
138
- var ao = "DropdownMenuRadioItem", po = p.forwardRef((o, n) => {
139
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
140
- return /* @__PURE__ */ a.jsx(B, { ...t, ...e, ref: n });
141
- });
142
- po.displayName = ao;
143
- var so = "DropdownMenuItemIndicator", io = p.forwardRef((o, n) => {
144
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
145
- return /* @__PURE__ */ a.jsx(F, { ...t, ...e, ref: n });
146
- });
147
- io.displayName = so;
148
- var uo = "DropdownMenuSeparator", co = p.forwardRef((o, n) => {
149
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
150
- return /* @__PURE__ */ a.jsx(H, { ...t, ...e, ref: n });
151
- });
152
- co.displayName = uo;
153
- var lo = "DropdownMenuArrow", wo = p.forwardRef(
154
- (o, n) => {
155
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
156
- return /* @__PURE__ */ a.jsx(W, { ...t, ...e, ref: n });
157
- }
158
- );
159
- wo.displayName = lo;
160
- var mo = "DropdownMenuSubTrigger", fo = p.forwardRef((o, n) => {
161
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
162
- return /* @__PURE__ */ a.jsx($, { ...t, ...e, ref: n });
163
- });
164
- fo.displayName = mo;
165
- var Mo = "DropdownMenuSubContent", go = p.forwardRef((o, n) => {
166
- const { __scopeDropdownMenu: r, ...e } = o, t = s(r);
167
- return /* @__PURE__ */ a.jsx(
168
- X,
169
- {
170
- ...t,
171
- ...e,
172
- ref: n,
173
- style: {
174
- ...o.style,
175
- "--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
176
- "--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
177
- "--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
178
- "--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
179
- "--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
180
- }
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 }), () => {
26
+ i.itemMap.delete(n);
27
+ })), /* @__PURE__ */ d.jsx(T, { [R]: "", ref: I, children: o });
181
28
  }
182
29
  );
183
- });
184
- go.displayName = Mo;
185
- var bo = _, Ao = R, Co = h, Eo = N, So = b;
30
+ x.displayName = u;
31
+ function O(c) {
32
+ const e = f(s + "CollectionConsumer", c);
33
+ return r.useCallback(() => {
34
+ const o = e.collectionRef.current;
35
+ if (!o) return [];
36
+ const t = Array.from(o.querySelectorAll(`[${R}]`));
37
+ return Array.from(e.itemMap.values()).sort(
38
+ (i, v) => t.indexOf(i.ref.current) - t.indexOf(v.ref.current)
39
+ );
40
+ }, [e.collectionRef, e.itemMap]);
41
+ }
42
+ return [
43
+ { Provider: p, Slot: C, ItemSlot: x },
44
+ O,
45
+ E
46
+ ];
47
+ }
186
48
  export {
187
- Eo as Content,
188
- _ as DropdownMenu,
189
- wo as DropdownMenuArrow,
190
- ro as DropdownMenuCheckboxItem,
191
- N as DropdownMenuContent,
192
- V as DropdownMenuGroup,
193
- b as DropdownMenuItem,
194
- io as DropdownMenuItemIndicator,
195
- Z as DropdownMenuLabel,
196
- h as DropdownMenuPortal,
197
- to as DropdownMenuRadioGroup,
198
- po as DropdownMenuRadioItem,
199
- co as DropdownMenuSeparator,
200
- go as DropdownMenuSubContent,
201
- fo as DropdownMenuSubTrigger,
202
- R as DropdownMenuTrigger,
203
- So as Item,
204
- Co as Portal,
205
- bo as Root,
206
- Ao as Trigger
49
+ D as createCollection
207
50
  };
208
51
  //# sourceMappingURL=index54.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index54.js","sources":["../../../node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// src/dropdown-menu.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport * as MenuPrimitive from \"@radix-ui/react-menu\";\nimport { createMenuScope } from \"@radix-ui/react-menu\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DROPDOWN_MENU_NAME = \"DropdownMenu\";\nvar [createDropdownMenuContext, createDropdownMenuScope] = createContextScope(\n DROPDOWN_MENU_NAME,\n [createMenuScope]\n);\nvar useMenuScope = createMenuScope();\nvar [DropdownMenuProvider, useDropdownMenuContext] = createDropdownMenuContext(DROPDOWN_MENU_NAME);\nvar DropdownMenu = (props) => {\n const {\n __scopeDropdownMenu,\n children,\n dir,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = true\n } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const triggerRef = React.useRef(null);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: DROPDOWN_MENU_NAME\n });\n return /* @__PURE__ */ jsx(\n DropdownMenuProvider,\n {\n scope: __scopeDropdownMenu,\n triggerId: useId(),\n triggerRef,\n contentId: useId(),\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n modal,\n children: /* @__PURE__ */ jsx(MenuPrimitive.Root, { ...menuScope, open, onOpenChange: setOpen, dir, modal, children })\n }\n );\n};\nDropdownMenu.displayName = DROPDOWN_MENU_NAME;\nvar TRIGGER_NAME = \"DropdownMenuTrigger\";\nvar DropdownMenuTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, disabled = false, ...triggerProps } = props;\n const context = useDropdownMenuContext(TRIGGER_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Anchor, { asChild: true, ...menuScope, children: /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n id: context.triggerId,\n \"aria-haspopup\": \"menu\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.open ? context.contentId : void 0,\n \"data-state\": context.open ? \"open\" : \"closed\",\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n ...triggerProps,\n ref: composeRefs(forwardedRef, context.triggerRef),\n onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {\n if (!disabled && event.button === 0 && event.ctrlKey === false) {\n context.onOpenToggle();\n if (!context.open) event.preventDefault();\n }\n }),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (disabled) return;\n if ([\"Enter\", \" \"].includes(event.key)) context.onOpenToggle();\n if (event.key === \"ArrowDown\") context.onOpenChange(true);\n if ([\"Enter\", \" \", \"ArrowDown\"].includes(event.key)) event.preventDefault();\n })\n }\n ) });\n }\n);\nDropdownMenuTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"DropdownMenuPortal\";\nvar DropdownMenuPortal = (props) => {\n const { __scopeDropdownMenu, ...portalProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Portal, { ...menuScope, ...portalProps });\n};\nDropdownMenuPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"DropdownMenuContent\";\nvar DropdownMenuContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...contentProps } = props;\n const context = useDropdownMenuContext(CONTENT_NAME, __scopeDropdownMenu);\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const hasInteractedOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.Content,\n {\n id: context.contentId,\n \"aria-labelledby\": context.triggerId,\n ...menuScope,\n ...contentProps,\n ref: forwardedRef,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n hasInteractedOutsideRef.current = false;\n event.preventDefault();\n }),\n onInteractOutside: composeEventHandlers(props.onInteractOutside, (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n if (!context.modal || isRightClick) hasInteractedOutsideRef.current = true;\n }),\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n }\n);\nDropdownMenuContent.displayName = CONTENT_NAME;\nvar GROUP_NAME = \"DropdownMenuGroup\";\nvar DropdownMenuGroup = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...groupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Group, { ...menuScope, ...groupProps, ref: forwardedRef });\n }\n);\nDropdownMenuGroup.displayName = GROUP_NAME;\nvar LABEL_NAME = \"DropdownMenuLabel\";\nvar DropdownMenuLabel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...labelProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Label, { ...menuScope, ...labelProps, ref: forwardedRef });\n }\n);\nDropdownMenuLabel.displayName = LABEL_NAME;\nvar ITEM_NAME = \"DropdownMenuItem\";\nvar DropdownMenuItem = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Item, { ...menuScope, ...itemProps, ref: forwardedRef });\n }\n);\nDropdownMenuItem.displayName = ITEM_NAME;\nvar CHECKBOX_ITEM_NAME = \"DropdownMenuCheckboxItem\";\nvar DropdownMenuCheckboxItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...checkboxItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.CheckboxItem, { ...menuScope, ...checkboxItemProps, ref: forwardedRef });\n});\nDropdownMenuCheckboxItem.displayName = CHECKBOX_ITEM_NAME;\nvar RADIO_GROUP_NAME = \"DropdownMenuRadioGroup\";\nvar DropdownMenuRadioGroup = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioGroupProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioGroup, { ...menuScope, ...radioGroupProps, ref: forwardedRef });\n});\nDropdownMenuRadioGroup.displayName = RADIO_GROUP_NAME;\nvar RADIO_ITEM_NAME = \"DropdownMenuRadioItem\";\nvar DropdownMenuRadioItem = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...radioItemProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.RadioItem, { ...menuScope, ...radioItemProps, ref: forwardedRef });\n});\nDropdownMenuRadioItem.displayName = RADIO_ITEM_NAME;\nvar INDICATOR_NAME = \"DropdownMenuItemIndicator\";\nvar DropdownMenuItemIndicator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...itemIndicatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.ItemIndicator, { ...menuScope, ...itemIndicatorProps, ref: forwardedRef });\n});\nDropdownMenuItemIndicator.displayName = INDICATOR_NAME;\nvar SEPARATOR_NAME = \"DropdownMenuSeparator\";\nvar DropdownMenuSeparator = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...separatorProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Separator, { ...menuScope, ...separatorProps, ref: forwardedRef });\n});\nDropdownMenuSeparator.displayName = SEPARATOR_NAME;\nvar ARROW_NAME = \"DropdownMenuArrow\";\nvar DropdownMenuArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeDropdownMenu, ...arrowProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.Arrow, { ...menuScope, ...arrowProps, ref: forwardedRef });\n }\n);\nDropdownMenuArrow.displayName = ARROW_NAME;\nvar DropdownMenuSub = (props) => {\n const { __scopeDropdownMenu, children, open: openProp, onOpenChange, defaultOpen } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n const [open, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen ?? false,\n onChange: onOpenChange,\n caller: \"DropdownMenuSub\"\n });\n return /* @__PURE__ */ jsx(MenuPrimitive.Sub, { ...menuScope, open, onOpenChange: setOpen, children });\n};\nvar SUB_TRIGGER_NAME = \"DropdownMenuSubTrigger\";\nvar DropdownMenuSubTrigger = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subTriggerProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(MenuPrimitive.SubTrigger, { ...menuScope, ...subTriggerProps, ref: forwardedRef });\n});\nDropdownMenuSubTrigger.displayName = SUB_TRIGGER_NAME;\nvar SUB_CONTENT_NAME = \"DropdownMenuSubContent\";\nvar DropdownMenuSubContent = React.forwardRef((props, forwardedRef) => {\n const { __scopeDropdownMenu, ...subContentProps } = props;\n const menuScope = useMenuScope(__scopeDropdownMenu);\n return /* @__PURE__ */ jsx(\n MenuPrimitive.SubContent,\n {\n ...menuScope,\n ...subContentProps,\n ref: forwardedRef,\n style: {\n ...props.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-dropdown-menu-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-dropdown-menu-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-dropdown-menu-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-dropdown-menu-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-dropdown-menu-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n );\n});\nDropdownMenuSubContent.displayName = SUB_CONTENT_NAME;\nvar Root2 = DropdownMenu;\nvar Trigger = DropdownMenuTrigger;\nvar Portal2 = DropdownMenuPortal;\nvar Content2 = DropdownMenuContent;\nvar Group2 = DropdownMenuGroup;\nvar Label2 = DropdownMenuLabel;\nvar Item2 = DropdownMenuItem;\nvar CheckboxItem2 = DropdownMenuCheckboxItem;\nvar RadioGroup2 = DropdownMenuRadioGroup;\nvar RadioItem2 = DropdownMenuRadioItem;\nvar ItemIndicator2 = DropdownMenuItemIndicator;\nvar Separator2 = DropdownMenuSeparator;\nvar Arrow2 = DropdownMenuArrow;\nvar Sub2 = DropdownMenuSub;\nvar SubTrigger2 = DropdownMenuSubTrigger;\nvar SubContent2 = DropdownMenuSubContent;\nexport {\n Arrow2 as Arrow,\n CheckboxItem2 as CheckboxItem,\n Content2 as Content,\n DropdownMenu,\n DropdownMenuArrow,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuGroup,\n DropdownMenuItem,\n DropdownMenuItemIndicator,\n DropdownMenuLabel,\n DropdownMenuPortal,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuTrigger,\n Group2 as Group,\n Item2 as Item,\n ItemIndicator2 as ItemIndicator,\n Label2 as Label,\n Portal2 as Portal,\n RadioGroup2 as RadioGroup,\n RadioItem2 as RadioItem,\n Root2 as Root,\n Separator2 as Separator,\n Sub2 as Sub,\n SubContent2 as SubContent,\n SubTrigger2 as SubTrigger,\n Trigger,\n createDropdownMenuScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DROPDOWN_MENU_NAME","createDropdownMenuContext","createContextScope","createMenuScope","useMenuScope","DropdownMenuProvider","useDropdownMenuContext","DropdownMenu","props","__scopeDropdownMenu","children","dir","openProp","defaultOpen","onOpenChange","modal","menuScope","triggerRef","React","open","setOpen","useControllableState","jsx","useId","prevOpen","MenuPrimitive.Root","TRIGGER_NAME","DropdownMenuTrigger","forwardedRef","disabled","triggerProps","context","MenuPrimitive.Anchor","Primitive","composeRefs","composeEventHandlers","event","PORTAL_NAME","DropdownMenuPortal","portalProps","MenuPrimitive.Portal","CONTENT_NAME","DropdownMenuContent","contentProps","hasInteractedOutsideRef","MenuPrimitive.Content","originalEvent","ctrlLeftClick","isRightClick","GROUP_NAME","DropdownMenuGroup","groupProps","MenuPrimitive.Group","LABEL_NAME","DropdownMenuLabel","labelProps","MenuPrimitive.Label","ITEM_NAME","DropdownMenuItem","itemProps","MenuPrimitive.Item","CHECKBOX_ITEM_NAME","DropdownMenuCheckboxItem","checkboxItemProps","MenuPrimitive.CheckboxItem","RADIO_GROUP_NAME","DropdownMenuRadioGroup","radioGroupProps","MenuPrimitive.RadioGroup","RADIO_ITEM_NAME","DropdownMenuRadioItem","radioItemProps","MenuPrimitive.RadioItem","INDICATOR_NAME","DropdownMenuItemIndicator","itemIndicatorProps","MenuPrimitive.ItemIndicator","SEPARATOR_NAME","DropdownMenuSeparator","separatorProps","MenuPrimitive.Separator","ARROW_NAME","DropdownMenuArrow","arrowProps","MenuPrimitive.Arrow","SUB_TRIGGER_NAME","DropdownMenuSubTrigger","subTriggerProps","MenuPrimitive.SubTrigger","SUB_CONTENT_NAME","DropdownMenuSubContent","subContentProps","MenuPrimitive.SubContent","Root2","Trigger","Portal2","Content2","Item2"],"mappings":";;;;;;;;;AAaA,IAAIA,IAAqB,gBACrB,CAACC,CAAkD,IAAIC;AAAA,EACzDF;AAAA,EACA,CAACG,CAAe;AAClB,GACIC,IAAeD,EAAe,GAC9B,CAACE,GAAsBC,CAAsB,IAAIL,EAA0BD,CAAkB,GAC7FO,IAAe,CAACC,MAAU;AAC5B,QAAM;AAAA,IACJ,qBAAAC;AAAA,IACA,UAAAC;AAAA,IACA,KAAAC;AAAA,IACA,MAAMC;AAAA,IACN,aAAAC;AAAA,IACA,cAAAC;AAAA,IACA,OAAAC,IAAQ;AAAA,EACZ,IAAMP,GACEQ,IAAYZ,EAAaK,CAAmB,GAC5CQ,IAAaC,EAAM,OAAO,IAAI,GAC9B,CAACC,GAAMC,CAAO,IAAIC,EAAqB;AAAA,IAC3C,MAAMT;AAAA,IACN,aAAaC,KAAe;AAAA,IAC5B,UAAUC;AAAA,IACV,QAAQd;AAAA,EACZ,CAAG;AACD,SAAuBsB,gBAAAA,EAAAA;AAAAA,IACrBjB;AAAA,IACA;AAAA,MACE,OAAOI;AAAA,MACP,WAAWc,EAAK;AAAA,MAChB,YAAAN;AAAA,MACA,WAAWM,EAAK;AAAA,MAChB,MAAAJ;AAAA,MACA,cAAcC;AAAA,MACd,cAAcF,EAAM,YAAY,MAAME,EAAQ,CAACI,MAAa,CAACA,CAAQ,GAAG,CAACJ,CAAO,CAAC;AAAA,MACjF,OAAAL;AAAA,MACA,UAA0BO,gBAAAA,EAAAA,IAAIG,GAA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]}
1
+ {"version":3,"file":"index54.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,IAAG,EAAE;AAAA,EAC1E,GACQM,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,EAAAA,IAAIT,GAAwB,EAAE,OAAAI,GAAO,SAAAI,GAAS,eAAeF,GAAK,UAAAD,GAAU;AAAA,EACrG;AACA,EAAAH,EAAmB,cAAcN;AACjC,QAAMc,IAAuBf,IAAO,kBAC9BgB,IAAqBC,EAAWF,CAAoB,GACpDG,IAAiBN,EAAM;AAAA,IAC3B,CAACJ,GAA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