@anoki/fse-ui 1.0.0-beta1.37.32 → 1.0.0-beta1.37.34

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 (658) hide show
  1. package/dist/components/ui/CommunicationSeach/CommunicationSearch.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs134.js +1 -1
  4. package/dist/index.cjs134.js.map +1 -1
  5. package/dist/index.cjs152.js +1 -1
  6. package/dist/index.cjs153.js +1 -1
  7. package/dist/index.cjs154.js +1 -1
  8. package/dist/index.cjs155.js +1 -1
  9. package/dist/index.cjs156.js +1 -1
  10. package/dist/index.cjs157.js +1 -1
  11. package/dist/index.cjs158.js +1 -1
  12. package/dist/index.cjs159.js +1 -1
  13. package/dist/index.cjs160.js +1 -1
  14. package/dist/index.cjs161.js +1 -1
  15. package/dist/index.cjs162.js +1 -1
  16. package/dist/index.cjs163.js +1 -1
  17. package/dist/index.cjs164.js +1 -1
  18. package/dist/index.cjs165.js +1 -1
  19. package/dist/index.cjs166.js +1 -1
  20. package/dist/index.cjs167.js +1 -1
  21. package/dist/index.cjs168.js +1 -1
  22. package/dist/index.cjs169.js +1 -1
  23. package/dist/index.cjs170.js +1 -1
  24. package/dist/index.cjs171.js +1 -1
  25. package/dist/index.cjs172.js +1 -1
  26. package/dist/index.cjs173.js +1 -1
  27. package/dist/index.cjs174.js +1 -1
  28. package/dist/index.cjs178.js +1 -1
  29. package/dist/index.cjs179.js +1 -1
  30. package/dist/index.cjs180.js +1 -1
  31. package/dist/index.cjs182.js +1 -1
  32. package/dist/index.cjs183.js +1 -1
  33. package/dist/index.cjs184.js +1 -1
  34. package/dist/index.cjs185.js +1 -1
  35. package/dist/index.cjs186.js +1 -1
  36. package/dist/index.cjs187.js +1 -1
  37. package/dist/index.cjs188.js +1 -1
  38. package/dist/index.cjs189.js +1 -1
  39. package/dist/index.cjs190.js +1 -1
  40. package/dist/index.cjs191.js +1 -1
  41. package/dist/index.cjs191.js.map +1 -1
  42. package/dist/index.cjs192.js +1 -1
  43. package/dist/index.cjs193.js +1 -1
  44. package/dist/index.cjs194.js +1 -1
  45. package/dist/index.cjs195.js +1 -1
  46. package/dist/index.cjs196.js +1 -1
  47. package/dist/index.cjs197.js +1 -1
  48. package/dist/index.cjs198.js +1 -1
  49. package/dist/index.cjs201.js +1 -1
  50. package/dist/index.cjs202.js +1 -1
  51. package/dist/index.cjs203.js +1 -1
  52. package/dist/index.cjs204.js +1 -1
  53. package/dist/index.cjs205.js +1 -1
  54. package/dist/index.cjs206.js +1 -1
  55. package/dist/index.cjs207.js +1 -1
  56. package/dist/index.cjs208.js +1 -1
  57. package/dist/index.cjs214.js +1 -1
  58. package/dist/index.cjs24.js +1 -1
  59. package/dist/index.cjs253.js +1 -1
  60. package/dist/index.cjs254.js +1 -1
  61. package/dist/index.cjs255.js +1 -1
  62. package/dist/index.cjs263.js +1 -1
  63. package/dist/index.cjs263.js.map +1 -1
  64. package/dist/index.cjs264.js +2 -0
  65. package/dist/index.cjs264.js.map +1 -0
  66. package/dist/index.cjs273.js +1 -1
  67. package/dist/index.cjs28.js +1 -1
  68. package/dist/index.cjs282.js +1 -1
  69. package/dist/index.cjs285.js +1 -1
  70. package/dist/index.cjs287.js +1 -1
  71. package/dist/index.cjs295.js +1 -1
  72. package/dist/index.cjs309.js +1 -1
  73. package/dist/index.cjs311.js +1 -1
  74. package/dist/index.cjs318.js +1 -1
  75. package/dist/index.cjs323.js +1 -1
  76. package/dist/index.cjs334.js +1 -1
  77. package/dist/index.cjs340.js +1 -1
  78. package/dist/index.cjs341.js +1 -1
  79. package/dist/index.cjs342.js +1 -1
  80. package/dist/index.cjs360.js +1 -1
  81. package/dist/index.cjs361.js +1 -1
  82. package/dist/index.cjs383.js +1 -1
  83. package/dist/index.cjs389.js +1 -1
  84. package/dist/index.cjs401.js +1 -1
  85. package/dist/index.cjs423.js +1 -1
  86. package/dist/index.cjs427.js +1 -1
  87. package/dist/index.cjs432.js +1 -1
  88. package/dist/index.cjs442.js +1 -1
  89. package/dist/index.cjs443.js +1 -1
  90. package/dist/index.cjs449.js +1 -1
  91. package/dist/index.cjs452.js +2 -0
  92. package/dist/index.cjs452.js.map +1 -0
  93. package/dist/index.cjs453.js +1 -1
  94. package/dist/index.cjs453.js.map +1 -1
  95. package/dist/index.cjs454.js +2 -0
  96. package/dist/index.cjs454.js.map +1 -0
  97. package/dist/index.cjs455.js +2 -0
  98. package/dist/index.cjs455.js.map +1 -0
  99. package/dist/index.cjs456.js +1 -1
  100. package/dist/index.cjs456.js.map +1 -1
  101. package/dist/index.cjs457.js +1 -1
  102. package/dist/index.cjs457.js.map +1 -1
  103. package/dist/index.cjs459.js +1 -1
  104. package/dist/index.cjs459.js.map +1 -1
  105. package/dist/index.cjs460.js +1 -1
  106. package/dist/index.cjs460.js.map +1 -1
  107. package/dist/index.cjs461.js +1 -1
  108. package/dist/index.cjs461.js.map +1 -1
  109. package/dist/index.cjs462.js +1 -1
  110. package/dist/index.cjs462.js.map +1 -1
  111. package/dist/index.cjs464.js +1 -1
  112. package/dist/index.cjs465.js +1 -1
  113. package/dist/index.cjs466.js +1 -1
  114. package/dist/index.cjs466.js.map +1 -1
  115. package/dist/index.cjs467.js +1 -1
  116. package/dist/index.cjs467.js.map +1 -1
  117. package/dist/index.cjs468.js +1 -1
  118. package/dist/index.cjs468.js.map +1 -1
  119. package/dist/index.cjs469.js +1 -1
  120. package/dist/index.cjs469.js.map +1 -1
  121. package/dist/index.cjs470.js +1 -1
  122. package/dist/index.cjs470.js.map +1 -1
  123. package/dist/index.cjs471.js +1 -1
  124. package/dist/index.cjs471.js.map +1 -1
  125. package/dist/index.cjs472.js +2 -0
  126. package/dist/index.cjs472.js.map +1 -0
  127. package/dist/index.cjs473.js +2 -0
  128. package/dist/index.cjs473.js.map +1 -0
  129. package/dist/index.cjs474.js +1 -1
  130. package/dist/index.cjs475.js +1 -1
  131. package/dist/index.cjs475.js.map +1 -1
  132. package/dist/index.cjs476.js +1 -1
  133. package/dist/index.cjs476.js.map +1 -1
  134. package/dist/index.cjs477.js +1 -1
  135. package/dist/index.cjs477.js.map +1 -1
  136. package/dist/index.cjs478.js +1 -1
  137. package/dist/index.cjs478.js.map +1 -1
  138. package/dist/index.cjs479.js +1 -1
  139. package/dist/index.cjs479.js.map +1 -1
  140. package/dist/index.cjs480.js +1 -1
  141. package/dist/index.cjs480.js.map +1 -1
  142. package/dist/index.cjs481.js +2 -0
  143. package/dist/index.cjs481.js.map +1 -0
  144. package/dist/{index.cjs503.js → index.cjs482.js} +2 -2
  145. package/dist/{index.cjs503.js.map → index.cjs482.js.map} +1 -1
  146. package/dist/{index.cjs504.js → index.cjs483.js} +2 -2
  147. package/dist/{index.cjs504.js.map → index.cjs483.js.map} +1 -1
  148. package/dist/{index.cjs505.js → index.cjs484.js} +2 -2
  149. package/dist/{index.cjs505.js.map → index.cjs484.js.map} +1 -1
  150. package/dist/{index.cjs506.js → index.cjs485.js} +2 -2
  151. package/dist/{index.cjs506.js.map → index.cjs485.js.map} +1 -1
  152. package/dist/index.cjs486.js +2 -0
  153. package/dist/index.cjs486.js.map +1 -0
  154. package/dist/{index.cjs507.js → index.cjs489.js} +1 -1
  155. package/dist/{index.cjs507.js.map → index.cjs489.js.map} +1 -1
  156. package/dist/index.cjs490.js +2 -0
  157. package/dist/index.cjs490.js.map +1 -0
  158. package/dist/index.cjs491.js +2 -0
  159. package/dist/index.cjs491.js.map +1 -0
  160. package/dist/index.cjs492.js +2 -0
  161. package/dist/index.cjs492.js.map +1 -0
  162. package/dist/index.cjs493.js +2 -0
  163. package/dist/index.cjs493.js.map +1 -0
  164. package/dist/index.cjs494.js +2 -0
  165. package/dist/index.cjs494.js.map +1 -0
  166. package/dist/index.cjs495.js +4 -1
  167. package/dist/index.cjs495.js.map +1 -1
  168. package/dist/index.cjs496.js +1 -1
  169. package/dist/index.cjs496.js.map +1 -1
  170. package/dist/index.cjs497.js +1 -1
  171. package/dist/index.cjs497.js.map +1 -1
  172. package/dist/index.cjs498.js +1 -1
  173. package/dist/index.cjs498.js.map +1 -1
  174. package/dist/index.cjs499.js +1 -1
  175. package/dist/index.cjs499.js.map +1 -1
  176. package/dist/index.cjs508.js +38 -1
  177. package/dist/index.cjs508.js.map +1 -1
  178. package/dist/index.cjs509.js +1 -1
  179. package/dist/index.cjs509.js.map +1 -1
  180. package/dist/index.cjs510.js +1 -1
  181. package/dist/index.cjs510.js.map +1 -1
  182. package/dist/index.cjs511.js +1 -1
  183. package/dist/index.cjs511.js.map +1 -1
  184. package/dist/index.cjs512.js +1 -1
  185. package/dist/index.cjs512.js.map +1 -1
  186. package/dist/index.cjs522.js +1 -1
  187. package/dist/index.cjs522.js.map +1 -1
  188. package/dist/index.cjs523.js +1 -1
  189. package/dist/index.cjs523.js.map +1 -1
  190. package/dist/index.cjs525.js +1 -1
  191. package/dist/index.cjs525.js.map +1 -1
  192. package/dist/index.cjs526.js +1 -1
  193. package/dist/index.cjs526.js.map +1 -1
  194. package/dist/index.cjs527.js +1 -1
  195. package/dist/index.cjs527.js.map +1 -1
  196. package/dist/index.cjs528.js +1 -1
  197. package/dist/index.cjs528.js.map +1 -1
  198. package/dist/index.cjs529.js +1 -1
  199. package/dist/index.cjs529.js.map +1 -1
  200. package/dist/index.cjs530.js +1 -1
  201. package/dist/index.cjs530.js.map +1 -1
  202. package/dist/index.cjs531.js +1 -1
  203. package/dist/index.cjs531.js.map +1 -1
  204. package/dist/index.cjs532.js +1 -1
  205. package/dist/index.cjs532.js.map +1 -1
  206. package/dist/index.cjs533.js +1 -1
  207. package/dist/index.cjs533.js.map +1 -1
  208. package/dist/index.cjs534.js +1 -1
  209. package/dist/index.cjs534.js.map +1 -1
  210. package/dist/index.cjs535.js +1 -1
  211. package/dist/index.cjs535.js.map +1 -1
  212. package/dist/index.cjs536.js +1 -1
  213. package/dist/index.cjs536.js.map +1 -1
  214. package/dist/index.cjs537.js +1 -1
  215. package/dist/index.cjs537.js.map +1 -1
  216. package/dist/index.cjs538.js +1 -1
  217. package/dist/index.cjs538.js.map +1 -1
  218. package/dist/index.cjs539.js +1 -1
  219. package/dist/index.cjs539.js.map +1 -1
  220. package/dist/index.cjs540.js +1 -1
  221. package/dist/index.cjs540.js.map +1 -1
  222. package/dist/index.cjs541.js +1 -1
  223. package/dist/index.cjs541.js.map +1 -1
  224. package/dist/index.cjs542.js +1 -1
  225. package/dist/index.cjs542.js.map +1 -1
  226. package/dist/index.cjs543.js +1 -1
  227. package/dist/index.cjs543.js.map +1 -1
  228. package/dist/index.cjs544.js +1 -38
  229. package/dist/index.cjs544.js.map +1 -1
  230. package/dist/index.cjs545.js +1 -1
  231. package/dist/index.cjs545.js.map +1 -1
  232. package/dist/index.cjs546.js +1 -1
  233. package/dist/index.cjs546.js.map +1 -1
  234. package/dist/index.cjs547.js +1 -1
  235. package/dist/index.cjs547.js.map +1 -1
  236. package/dist/index.cjs548.js +1 -1
  237. package/dist/index.cjs548.js.map +1 -1
  238. package/dist/index.cjs549.js +1 -5
  239. package/dist/index.cjs549.js.map +1 -1
  240. package/dist/index.cjs550.js +1 -1
  241. package/dist/index.cjs550.js.map +1 -1
  242. package/dist/index.cjs551.js +1 -1
  243. package/dist/index.cjs551.js.map +1 -1
  244. package/dist/index.cjs552.js +1 -1
  245. package/dist/index.cjs552.js.map +1 -1
  246. package/dist/index.cjs553.js +1 -1
  247. package/dist/index.cjs553.js.map +1 -1
  248. package/dist/index.cjs554.js +1 -1
  249. package/dist/index.cjs554.js.map +1 -1
  250. package/dist/index.cjs555.js +5 -1
  251. package/dist/index.cjs555.js.map +1 -1
  252. package/dist/index.cjs556.js +1 -1
  253. package/dist/index.cjs556.js.map +1 -1
  254. package/dist/index.cjs557.js +1 -1
  255. package/dist/index.cjs557.js.map +1 -1
  256. package/dist/index.cjs558.js +1 -1
  257. package/dist/index.cjs558.js.map +1 -1
  258. package/dist/index.cjs559.js +1 -1
  259. package/dist/index.cjs559.js.map +1 -1
  260. package/dist/index.cjs560.js +1 -1
  261. package/dist/index.cjs560.js.map +1 -1
  262. package/dist/index.cjs561.js +1 -1
  263. package/dist/index.cjs561.js.map +1 -1
  264. package/dist/index.cjs562.js +2 -0
  265. package/dist/index.cjs562.js.map +1 -0
  266. package/dist/index.cjs563.js +2 -0
  267. package/dist/index.cjs563.js.map +1 -0
  268. package/dist/index.cjs564.js +2 -0
  269. package/dist/index.cjs564.js.map +1 -0
  270. package/dist/index.cjs565.js +2 -0
  271. package/dist/index.cjs565.js.map +1 -0
  272. package/dist/index.cjs566.js +2 -0
  273. package/dist/index.cjs566.js.map +1 -0
  274. package/dist/index.cjs567.js +1 -1
  275. package/dist/index.cjs567.js.map +1 -1
  276. package/dist/index.cjs568.js +1 -1
  277. package/dist/index.cjs568.js.map +1 -1
  278. package/dist/index.cjs569.js +1 -1
  279. package/dist/index.cjs569.js.map +1 -1
  280. package/dist/index.cjs571.js +1 -1
  281. package/dist/index.cjs571.js.map +1 -1
  282. package/dist/index.cjs572.js +1 -1
  283. package/dist/index.cjs572.js.map +1 -1
  284. package/dist/index.cjs573.js +1 -1
  285. package/dist/index.cjs573.js.map +1 -1
  286. package/dist/index.cjs582.js +1 -1
  287. package/dist/index.cjs582.js.map +1 -1
  288. package/dist/index.cjs6.js +1 -1
  289. package/dist/index.cjs63.js +1 -1
  290. package/dist/index.cjs7.js +1 -1
  291. package/dist/index.cjs8.js +1 -1
  292. package/dist/index.cjs9.js +1 -1
  293. package/dist/index.d.ts +4 -2
  294. package/dist/index.es10.js +2 -2
  295. package/dist/index.es134.js +74 -65
  296. package/dist/index.es134.js.map +1 -1
  297. package/dist/index.es152.js +1 -1
  298. package/dist/index.es153.js +1 -1
  299. package/dist/index.es154.js +1 -1
  300. package/dist/index.es155.js +1 -1
  301. package/dist/index.es156.js +1 -1
  302. package/dist/index.es157.js +1 -1
  303. package/dist/index.es158.js +1 -1
  304. package/dist/index.es159.js +1 -1
  305. package/dist/index.es160.js +1 -1
  306. package/dist/index.es161.js +1 -1
  307. package/dist/index.es162.js +1 -1
  308. package/dist/index.es163.js +1 -1
  309. package/dist/index.es164.js +1 -1
  310. package/dist/index.es165.js +1 -1
  311. package/dist/index.es166.js +1 -1
  312. package/dist/index.es167.js +1 -1
  313. package/dist/index.es168.js +1 -1
  314. package/dist/index.es169.js +1 -1
  315. package/dist/index.es170.js +1 -1
  316. package/dist/index.es171.js +1 -1
  317. package/dist/index.es172.js +1 -1
  318. package/dist/index.es173.js +1 -1
  319. package/dist/index.es174.js +1 -1
  320. package/dist/index.es178.js +1 -1
  321. package/dist/index.es179.js +1 -1
  322. package/dist/index.es180.js +1 -1
  323. package/dist/index.es182.js +1 -1
  324. package/dist/index.es183.js +1 -1
  325. package/dist/index.es184.js +1 -1
  326. package/dist/index.es185.js +1 -1
  327. package/dist/index.es186.js +1 -1
  328. package/dist/index.es187.js +1 -1
  329. package/dist/index.es188.js +1 -1
  330. package/dist/index.es189.js +1 -1
  331. package/dist/index.es190.js +1 -1
  332. package/dist/index.es191.js +10 -5
  333. package/dist/index.es191.js.map +1 -1
  334. package/dist/index.es192.js +1 -1
  335. package/dist/index.es193.js +1 -1
  336. package/dist/index.es194.js +1 -1
  337. package/dist/index.es195.js +1 -1
  338. package/dist/index.es196.js +1 -1
  339. package/dist/index.es197.js +1 -1
  340. package/dist/index.es198.js +1 -1
  341. package/dist/index.es201.js +1 -1
  342. package/dist/index.es202.js +1 -1
  343. package/dist/index.es203.js +1 -1
  344. package/dist/index.es204.js +1 -1
  345. package/dist/index.es205.js +1 -1
  346. package/dist/index.es206.js +1 -1
  347. package/dist/index.es207.js +1 -1
  348. package/dist/index.es208.js +1 -1
  349. package/dist/index.es214.js +1 -1
  350. package/dist/index.es24.js +1 -1
  351. package/dist/index.es253.js +2 -2
  352. package/dist/index.es254.js +3 -3
  353. package/dist/index.es255.js +3 -3
  354. package/dist/index.es263.js +2 -27
  355. package/dist/index.es263.js.map +1 -1
  356. package/dist/index.es264.js +30 -0
  357. package/dist/index.es264.js.map +1 -0
  358. package/dist/index.es273.js +1 -1
  359. package/dist/index.es28.js +1 -1
  360. package/dist/index.es282.js +7 -7
  361. package/dist/index.es285.js +1 -1
  362. package/dist/index.es287.js +1 -1
  363. package/dist/index.es295.js +5 -5
  364. package/dist/index.es309.js +1 -1
  365. package/dist/index.es311.js +12 -12
  366. package/dist/index.es318.js +1 -1
  367. package/dist/index.es323.js +1 -1
  368. package/dist/index.es334.js +1 -1
  369. package/dist/index.es340.js +1 -1
  370. package/dist/index.es341.js +1 -1
  371. package/dist/index.es342.js +5 -5
  372. package/dist/index.es360.js +6 -6
  373. package/dist/index.es361.js +2 -2
  374. package/dist/index.es383.js +4 -4
  375. package/dist/index.es389.js +1 -1
  376. package/dist/index.es401.js +8 -8
  377. package/dist/index.es423.js +1 -1
  378. package/dist/index.es427.js +1 -1
  379. package/dist/index.es432.js +1 -1
  380. package/dist/index.es442.js +1 -1
  381. package/dist/index.es443.js +1 -1
  382. package/dist/index.es449.js +2 -2
  383. package/dist/index.es452.js +5 -0
  384. package/dist/index.es452.js.map +1 -0
  385. package/dist/index.es453.js +2 -15
  386. package/dist/index.es453.js.map +1 -1
  387. package/dist/index.es454.js +13 -0
  388. package/dist/index.es454.js.map +1 -0
  389. package/dist/index.es455.js +181 -0
  390. package/dist/index.es455.js.map +1 -0
  391. package/dist/index.es456.js +3 -6
  392. package/dist/index.es456.js.map +1 -1
  393. package/dist/index.es457.js +130 -24
  394. package/dist/index.es457.js.map +1 -1
  395. package/dist/index.es459.js +25 -28
  396. package/dist/index.es459.js.map +1 -1
  397. package/dist/index.es460.js +67 -32
  398. package/dist/index.es460.js.map +1 -1
  399. package/dist/index.es461.js +6 -621
  400. package/dist/index.es461.js.map +1 -1
  401. package/dist/index.es462.js +29 -10
  402. package/dist/index.es462.js.map +1 -1
  403. package/dist/index.es464.js +1 -1
  404. package/dist/index.es465.js +2 -2
  405. package/dist/index.es466.js +33 -2
  406. package/dist/index.es466.js.map +1 -1
  407. package/dist/index.es467.js +622 -2
  408. package/dist/index.es467.js.map +1 -1
  409. package/dist/index.es468.js +10 -9
  410. package/dist/index.es468.js.map +1 -1
  411. package/dist/index.es469.js +10 -177
  412. package/dist/index.es469.js.map +1 -1
  413. package/dist/index.es470.js +4 -4
  414. package/dist/index.es470.js.map +1 -1
  415. package/dist/index.es471.js +50 -127
  416. package/dist/index.es471.js.map +1 -1
  417. package/dist/index.es472.js +49 -0
  418. package/dist/index.es472.js.map +1 -0
  419. package/dist/index.es473.js +17 -0
  420. package/dist/index.es473.js.map +1 -0
  421. package/dist/index.es474.js +5 -5
  422. package/dist/index.es475.js +14 -134
  423. package/dist/index.es475.js.map +1 -1
  424. package/dist/index.es476.js +134 -13
  425. package/dist/index.es476.js.map +1 -1
  426. package/dist/index.es477.js +216 -13
  427. package/dist/index.es477.js.map +1 -1
  428. package/dist/index.es478.js +12 -7
  429. package/dist/index.es478.js.map +1 -1
  430. package/dist/index.es479.js +176 -48
  431. package/dist/index.es479.js.map +1 -1
  432. package/dist/index.es480.js +49 -55
  433. package/dist/index.es480.js.map +1 -1
  434. package/dist/index.es481.js +12 -0
  435. package/dist/index.es481.js.map +1 -0
  436. package/dist/{index.es503.js → index.es482.js} +2 -2
  437. package/dist/{index.es503.js.map → index.es482.js.map} +1 -1
  438. package/dist/{index.es504.js → index.es483.js} +3 -3
  439. package/dist/{index.es504.js.map → index.es483.js.map} +1 -1
  440. package/dist/{index.es505.js → index.es484.js} +2 -2
  441. package/dist/{index.es505.js.map → index.es484.js.map} +1 -1
  442. package/dist/{index.es506.js → index.es485.js} +4 -4
  443. package/dist/{index.es506.js.map → index.es485.js.map} +1 -1
  444. package/dist/index.es486.js +18 -0
  445. package/dist/index.es486.js.map +1 -0
  446. package/dist/{index.es507.js → index.es489.js} +1 -1
  447. package/dist/{index.es507.js.map → index.es489.js.map} +1 -1
  448. package/dist/index.es490.js +32 -0
  449. package/dist/index.es490.js.map +1 -0
  450. package/dist/index.es491.js +8 -0
  451. package/dist/index.es491.js.map +1 -0
  452. package/dist/index.es492.js +8 -0
  453. package/dist/index.es492.js.map +1 -0
  454. package/dist/index.es493.js +6 -0
  455. package/dist/index.es493.js.map +1 -0
  456. package/dist/index.es494.js +27 -0
  457. package/dist/index.es494.js.map +1 -0
  458. package/dist/index.es495.js +108 -9
  459. package/dist/index.es495.js.map +1 -1
  460. package/dist/index.es496.js +15 -45
  461. package/dist/index.es496.js.map +1 -1
  462. package/dist/index.es497.js +521 -12
  463. package/dist/index.es497.js.map +1 -1
  464. package/dist/index.es498.js +123 -214
  465. package/dist/index.es498.js.map +1 -1
  466. package/dist/index.es499.js +122 -171
  467. package/dist/index.es499.js.map +1 -1
  468. package/dist/index.es508.js +68 -28
  469. package/dist/index.es508.js.map +1 -1
  470. package/dist/index.es509.js +9 -5
  471. package/dist/index.es509.js.map +1 -1
  472. package/dist/index.es510.js +14 -5
  473. package/dist/index.es510.js.map +1 -1
  474. package/dist/index.es511.js +62 -3
  475. package/dist/index.es511.js.map +1 -1
  476. package/dist/index.es512.js +63 -22
  477. package/dist/index.es512.js.map +1 -1
  478. package/dist/index.es522.js +3 -6
  479. package/dist/index.es522.js.map +1 -1
  480. package/dist/index.es523.js +23 -6
  481. package/dist/index.es523.js.map +1 -1
  482. package/dist/index.es525.js +23 -32
  483. package/dist/index.es525.js.map +1 -1
  484. package/dist/index.es526.js +12 -241
  485. package/dist/index.es526.js.map +1 -1
  486. package/dist/index.es527.js +28 -4
  487. package/dist/index.es527.js.map +1 -1
  488. package/dist/index.es528.js +5 -5
  489. package/dist/index.es528.js.map +1 -1
  490. package/dist/index.es529.js +5 -10
  491. package/dist/index.es529.js.map +1 -1
  492. package/dist/index.es530.js +16 -56
  493. package/dist/index.es530.js.map +1 -1
  494. package/dist/index.es531.js +13 -8
  495. package/dist/index.es531.js.map +1 -1
  496. package/dist/index.es532.js +35 -5
  497. package/dist/index.es532.js.map +1 -1
  498. package/dist/index.es533.js +5 -533
  499. package/dist/index.es533.js.map +1 -1
  500. package/dist/index.es534.js +2 -14
  501. package/dist/index.es534.js.map +1 -1
  502. package/dist/index.es535.js +3 -2
  503. package/dist/index.es535.js.map +1 -1
  504. package/dist/index.es536.js +6 -36
  505. package/dist/index.es536.js.map +1 -1
  506. package/dist/index.es537.js +6 -2
  507. package/dist/index.es537.js.map +1 -1
  508. package/dist/index.es538.js +5 -273
  509. package/dist/index.es538.js.map +1 -1
  510. package/dist/index.es539.js +32 -3
  511. package/dist/index.es539.js.map +1 -1
  512. package/dist/index.es540.js +239 -27
  513. package/dist/index.es540.js.map +1 -1
  514. package/dist/index.es541.js +4 -523
  515. package/dist/index.es541.js.map +1 -1
  516. package/dist/index.es542.js +4 -126
  517. package/dist/index.es542.js.map +1 -1
  518. package/dist/index.es543.js +9 -128
  519. package/dist/index.es543.js.map +1 -1
  520. package/dist/index.es544.js +54 -67
  521. package/dist/index.es544.js.map +1 -1
  522. package/dist/index.es545.js +8 -9
  523. package/dist/index.es545.js.map +1 -1
  524. package/dist/index.es546.js +6 -14
  525. package/dist/index.es546.js.map +1 -1
  526. package/dist/index.es547.js +530 -59
  527. package/dist/index.es547.js.map +1 -1
  528. package/dist/index.es548.js +14 -65
  529. package/dist/index.es548.js.map +1 -1
  530. package/dist/index.es549.js +2 -40
  531. package/dist/index.es549.js.map +1 -1
  532. package/dist/index.es550.js +37 -2
  533. package/dist/index.es550.js.map +1 -1
  534. package/dist/index.es551.js +2 -5
  535. package/dist/index.es551.js.map +1 -1
  536. package/dist/index.es552.js +273 -2
  537. package/dist/index.es552.js.map +1 -1
  538. package/dist/index.es553.js +3 -2
  539. package/dist/index.es553.js.map +1 -1
  540. package/dist/index.es554.js +30 -2
  541. package/dist/index.es554.js.map +1 -1
  542. package/dist/index.es555.js +40 -6
  543. package/dist/index.es555.js.map +1 -1
  544. package/dist/index.es556.js +2 -16
  545. package/dist/index.es556.js.map +1 -1
  546. package/dist/index.es557.js +5 -2
  547. package/dist/index.es557.js.map +1 -1
  548. package/dist/index.es558.js +2 -2
  549. package/dist/index.es558.js.map +1 -1
  550. package/dist/index.es559.js +2 -3
  551. package/dist/index.es559.js.map +1 -1
  552. package/dist/index.es560.js +2 -2
  553. package/dist/index.es560.js.map +1 -1
  554. package/dist/index.es561.js +6 -4
  555. package/dist/index.es561.js.map +1 -1
  556. package/dist/index.es562.js +19 -0
  557. package/dist/index.es562.js.map +1 -0
  558. package/dist/index.es563.js +5 -0
  559. package/dist/index.es563.js.map +1 -0
  560. package/dist/index.es564.js +5 -0
  561. package/dist/index.es564.js.map +1 -0
  562. package/dist/index.es565.js +6 -0
  563. package/dist/index.es565.js.map +1 -0
  564. package/dist/index.es566.js +5 -0
  565. package/dist/index.es566.js.map +1 -0
  566. package/dist/index.es567.js +3 -3
  567. package/dist/index.es567.js.map +1 -1
  568. package/dist/index.es568.js +71 -20
  569. package/dist/index.es568.js.map +1 -1
  570. package/dist/index.es569.js +2 -4
  571. package/dist/index.es569.js.map +1 -1
  572. package/dist/index.es571.js +3 -2
  573. package/dist/index.es571.js.map +1 -1
  574. package/dist/index.es572.js +2 -74
  575. package/dist/index.es572.js.map +1 -1
  576. package/dist/index.es573.js +4 -2
  577. package/dist/index.es573.js.map +1 -1
  578. package/dist/index.es582.js +5 -23
  579. package/dist/index.es582.js.map +1 -1
  580. package/dist/index.es6.js +1 -1
  581. package/dist/index.es63.js +1 -1
  582. package/dist/index.es7.js +1 -1
  583. package/dist/index.es8.js +1 -1
  584. package/dist/index.es9.js +2 -2
  585. package/package.json +1 -1
  586. package/dist/index.cjs265.js +0 -2
  587. package/dist/index.cjs265.js.map +0 -1
  588. package/dist/index.cjs458.js +0 -2
  589. package/dist/index.cjs458.js.map +0 -1
  590. package/dist/index.cjs500.js +0 -2
  591. package/dist/index.cjs500.js.map +0 -1
  592. package/dist/index.cjs513.js +0 -5
  593. package/dist/index.cjs513.js.map +0 -1
  594. package/dist/index.cjs514.js +0 -2
  595. package/dist/index.cjs514.js.map +0 -1
  596. package/dist/index.cjs515.js +0 -2
  597. package/dist/index.cjs515.js.map +0 -1
  598. package/dist/index.cjs516.js +0 -2
  599. package/dist/index.cjs516.js.map +0 -1
  600. package/dist/index.cjs517.js +0 -2
  601. package/dist/index.cjs517.js.map +0 -1
  602. package/dist/index.cjs518.js +0 -2
  603. package/dist/index.cjs518.js.map +0 -1
  604. package/dist/index.cjs519.js +0 -2
  605. package/dist/index.cjs519.js.map +0 -1
  606. package/dist/index.cjs520.js +0 -2
  607. package/dist/index.cjs520.js.map +0 -1
  608. package/dist/index.cjs521.js +0 -2
  609. package/dist/index.cjs521.js.map +0 -1
  610. package/dist/index.cjs524.js +0 -2
  611. package/dist/index.cjs524.js.map +0 -1
  612. package/dist/index.cjs570.js +0 -2
  613. package/dist/index.cjs570.js.map +0 -1
  614. package/dist/index.cjs578.js +0 -2
  615. package/dist/index.cjs578.js.map +0 -1
  616. package/dist/index.cjs579.js +0 -2
  617. package/dist/index.cjs579.js.map +0 -1
  618. package/dist/index.cjs580.js +0 -2
  619. package/dist/index.cjs580.js.map +0 -1
  620. package/dist/index.cjs581.js +0 -2
  621. package/dist/index.cjs581.js.map +0 -1
  622. package/dist/index.es265.js +0 -5
  623. package/dist/index.es265.js.map +0 -1
  624. package/dist/index.es458.js +0 -71
  625. package/dist/index.es458.js.map +0 -1
  626. package/dist/index.es500.js +0 -7
  627. package/dist/index.es500.js.map +0 -1
  628. package/dist/index.es513.js +0 -113
  629. package/dist/index.es513.js.map +0 -1
  630. package/dist/index.es514.js +0 -19
  631. package/dist/index.es514.js.map +0 -1
  632. package/dist/index.es515.js +0 -8
  633. package/dist/index.es515.js.map +0 -1
  634. package/dist/index.es516.js +0 -19
  635. package/dist/index.es516.js.map +0 -1
  636. package/dist/index.es517.js +0 -16
  637. package/dist/index.es517.js.map +0 -1
  638. package/dist/index.es518.js +0 -39
  639. package/dist/index.es518.js.map +0 -1
  640. package/dist/index.es519.js +0 -8
  641. package/dist/index.es519.js.map +0 -1
  642. package/dist/index.es520.js +0 -5
  643. package/dist/index.es520.js.map +0 -1
  644. package/dist/index.es521.js +0 -6
  645. package/dist/index.es521.js.map +0 -1
  646. package/dist/index.es524.js +0 -8
  647. package/dist/index.es524.js.map +0 -1
  648. package/dist/index.es570.js +0 -6
  649. package/dist/index.es570.js.map +0 -1
  650. package/dist/index.es578.js +0 -8
  651. package/dist/index.es578.js.map +0 -1
  652. package/dist/index.es579.js +0 -16
  653. package/dist/index.es579.js.map +0 -1
  654. package/dist/index.es580.js +0 -31
  655. package/dist/index.es580.js.map +0 -1
  656. package/dist/index.es581.js +0 -8
  657. package/dist/index.es581.js.map +0 -1
  658. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("react"),m=require("./index.cjs456.js"),B=require("./index.cjs496.js"),Y=require("./index.cjs457.js"),z=require("./index.cjs458.js"),V=require("./index.cjs462.js"),D=require("./index.cjs460.js"),J=require("./index.cjs495.js"),Q=require("./index.cjs459.js"),W=require("./index.cjs497.js"),f=require("./index.cjs235.js");function X(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const t=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,t.get?t:{enumerable:!0,get:()=>e[r]})}}return o.default=e,Object.freeze(o)}const c=X(H);var _="rovingFocusGroup.onEntryFocus",Z={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[j,G,ee]=B.createCollection(g),[te,oe]=z.createContextScope(g,[ee]),[re,ne]=te(g),A=c.forwardRef((e,o)=>f.jsxRuntimeExports.jsx(j.Provider,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(j.Slot,{scope:e.__scopeRovingFocusGroup,children:f.jsxRuntimeExports.jsx(se,{...e,ref:o})})}));A.displayName=g;var se=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,orientation:t,loop:R=!1,dir:I,currentTabStopId:x,defaultCurrentTabStopId:F,onCurrentTabStopIdChange:p,onEntryFocus:u,preventScrollOnEntryFocus:E=!1,...S}=e,v=c.useRef(null),b=Y.useComposedRefs(o,v),n=W.useDirection(I),[l=null,w]=Q.useControllableState({prop:x,defaultProp:F,onChange:p}),[i,a]=c.useState(!1),T=J.useCallbackRef(u),M=G(r),C=c.useRef(!1),[K,O]=c.useState(0);return c.useEffect(()=>{const s=v.current;if(s)return s.addEventListener(_,T),()=>s.removeEventListener(_,T)},[T]),f.jsxRuntimeExports.jsx(re,{scope:r,orientation:t,dir:n,loop:R,currentTabStopId:l,onItemFocus:c.useCallback(s=>w(s),[w]),onItemShiftTab:c.useCallback(()=>a(!0),[]),onFocusableItemAdd:c.useCallback(()=>O(s=>s+1),[]),onFocusableItemRemove:c.useCallback(()=>O(s=>s-1),[]),children:f.jsxRuntimeExports.jsx(D.Primitive.div,{tabIndex:i||K===0?-1:0,"data-orientation":t,...S,ref:b,style:{outline:"none",...e.style},onMouseDown:m.composeEventHandlers(e.onMouseDown,()=>{C.current=!0}),onFocus:m.composeEventHandlers(e.onFocus,s=>{const k=!C.current;if(s.target===s.currentTarget&&k&&!i){const P=new CustomEvent(_,Z);if(s.currentTarget.dispatchEvent(P),!P.defaultPrevented){const y=M().filter(d=>d.focusable),L=y.find(d=>d.active),U=y.find(d=>d.id===l),$=[L,U,...y].filter(Boolean).map(d=>d.ref.current);q($,E)}}C.current=!1}),onBlur:m.composeEventHandlers(e.onBlur,()=>a(!1))})})}),N="RovingFocusGroupItem",h=c.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:r,focusable:t=!0,active:R=!1,tabStopId:I,...x}=e,F=V.useId(),p=I||F,u=ne(N,r),E=u.currentTabStopId===p,S=G(r),{onFocusableItemAdd:v,onFocusableItemRemove:b}=u;return c.useEffect(()=>{if(t)return v(),()=>b()},[t,v,b]),f.jsxRuntimeExports.jsx(j.ItemSlot,{scope:r,id:p,focusable:t,active:R,children:f.jsxRuntimeExports.jsx(D.Primitive.span,{tabIndex:E?0:-1,"data-orientation":u.orientation,...x,ref:o,onMouseDown:m.composeEventHandlers(e.onMouseDown,n=>{t?u.onItemFocus(p):n.preventDefault()}),onFocus:m.composeEventHandlers(e.onFocus,()=>u.onItemFocus(p)),onKeyDown:m.composeEventHandlers(e.onKeyDown,n=>{if(n.key==="Tab"&&n.shiftKey){u.onItemShiftTab();return}if(n.target!==n.currentTarget)return;const l=ie(n,u.orientation,u.dir);if(l!==void 0){if(n.metaKey||n.ctrlKey||n.altKey||n.shiftKey)return;n.preventDefault();let i=S().filter(a=>a.focusable).map(a=>a.ref.current);if(l==="last")i.reverse();else if(l==="prev"||l==="next"){l==="prev"&&i.reverse();const a=i.indexOf(n.currentTarget);i=u.loop?ae(i,a+1):i.slice(a+1)}setTimeout(()=>q(i))}})})})});h.displayName=N;var ce={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ue(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function ie(e,o,r){const t=ue(e.key,r);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(t))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(t)))return ce[t]}function q(e,o=!1){const r=document.activeElement;for(const t of e)if(t===r||(t.focus({preventScroll:o}),document.activeElement!==r))return}function ae(e,o){return e.map((r,t)=>e[(o+t)%e.length])}var le=A,de=h;exports.Item=de;exports.Root=le;exports.RovingFocusGroup=A;exports.RovingFocusGroupItem=h;exports.createRovingFocusGroupScope=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(){return typeof window<"u"}function s(e){return d(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function E(e){var t;return(t=(d(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function d(e){return c()?e instanceof Node||e instanceof i(e).Node:!1}function m(e){return c()?e instanceof Element||e instanceof i(e).Element:!1}function p(e){return c()?e instanceof HTMLElement||e instanceof i(e).HTMLElement:!1}function f(e){return!c()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof i(e).ShadowRoot}function w(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=y(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function C(e){return["table","td","th"].includes(s(e))}function S(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function h(e){const t=T(),n=m(e)?y(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function k(e){let t=l(e);for(;p(t)&&!g(t);){if(h(t))return t;if(S(t))return null;t=l(t)}return null}function T(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(s(e))}function y(e){return i(e).getComputedStyle(e)}function D(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function l(e){if(s(e)==="html")return e;const t=e.assignedSlot||e.parentNode||f(e)&&e.host||E(e);return f(t)?t.host:t}function b(e){const t=l(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:p(t)&&w(t)?t:b(t)}function a(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=b(e),L=r===((o=e.ownerDocument)==null?void 0:o.body),u=i(r);if(L){const N=v(u);return t.concat(u,u.visualViewport||[],w(r)?r:[],N&&n?a(N):[])}return t.concat(r,a(r,[],n))}function v(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}exports.getComputedStyle=y;exports.getContainingBlock=k;exports.getDocumentElement=E;exports.getFrameElement=v;exports.getNearestOverflowAncestor=b;exports.getNodeName=s;exports.getNodeScroll=D;exports.getOverflowAncestors=a;exports.getParentNode=l;exports.getWindow=i;exports.isContainingBlock=h;exports.isElement=m;exports.isHTMLElement=p;exports.isLastTraversableNode=g;exports.isNode=d;exports.isOverflowElement=w;exports.isShadowRoot=f;exports.isTableElement=C;exports.isTopLayer=S;exports.isWebKit=T;
2
2
  //# sourceMappingURL=index.cjs499.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs499.js","sources":["../node_modules/@radix-ui/react-roving-focus/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/roving-focus/src/roving-focus-group.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createCollection } from \"@radix-ui/react-collection\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useId } from \"@radix-ui/react-id\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\nimport { jsx } from \"react/jsx-runtime\";\nvar ENTRY_FOCUS = \"rovingFocusGroup.onEntryFocus\";\nvar EVENT_OPTIONS = { bubbles: false, cancelable: true };\nvar GROUP_NAME = \"RovingFocusGroup\";\nvar [Collection, useCollection, createCollectionScope] = createCollection(GROUP_NAME);\nvar [createRovingFocusGroupContext, createRovingFocusGroupScope] = createContextScope(\n GROUP_NAME,\n [createCollectionScope]\n);\nvar [RovingFocusProvider, useRovingFocusContext] = createRovingFocusGroupContext(GROUP_NAME);\nvar RovingFocusGroup = React.forwardRef(\n (props, forwardedRef) => {\n return /* @__PURE__ */ jsx(Collection.Provider, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(Collection.Slot, { scope: props.__scopeRovingFocusGroup, children: /* @__PURE__ */ jsx(RovingFocusGroupImpl, { ...props, ref: forwardedRef }) }) });\n }\n);\nRovingFocusGroup.displayName = GROUP_NAME;\nvar RovingFocusGroupImpl = React.forwardRef((props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n orientation,\n loop = false,\n dir,\n currentTabStopId: currentTabStopIdProp,\n defaultCurrentTabStopId,\n onCurrentTabStopIdChange,\n onEntryFocus,\n preventScrollOnEntryFocus = false,\n ...groupProps\n } = props;\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n const direction = useDirection(dir);\n const [currentTabStopId = null, setCurrentTabStopId] = useControllableState({\n prop: currentTabStopIdProp,\n defaultProp: defaultCurrentTabStopId,\n onChange: onCurrentTabStopIdChange\n });\n const [isTabbingBackOut, setIsTabbingBackOut] = React.useState(false);\n const handleEntryFocus = useCallbackRef(onEntryFocus);\n const getItems = useCollection(__scopeRovingFocusGroup);\n const isClickFocusRef = React.useRef(false);\n const [focusableItemsCount, setFocusableItemsCount] = React.useState(0);\n React.useEffect(() => {\n const node = ref.current;\n if (node) {\n node.addEventListener(ENTRY_FOCUS, handleEntryFocus);\n return () => node.removeEventListener(ENTRY_FOCUS, handleEntryFocus);\n }\n }, [handleEntryFocus]);\n return /* @__PURE__ */ jsx(\n RovingFocusProvider,\n {\n scope: __scopeRovingFocusGroup,\n orientation,\n dir: direction,\n loop,\n currentTabStopId,\n onItemFocus: React.useCallback(\n (tabStopId) => setCurrentTabStopId(tabStopId),\n [setCurrentTabStopId]\n ),\n onItemShiftTab: React.useCallback(() => setIsTabbingBackOut(true), []),\n onFocusableItemAdd: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount + 1),\n []\n ),\n onFocusableItemRemove: React.useCallback(\n () => setFocusableItemsCount((prevCount) => prevCount - 1),\n []\n ),\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n tabIndex: isTabbingBackOut || focusableItemsCount === 0 ? -1 : 0,\n \"data-orientation\": orientation,\n ...groupProps,\n ref: composedRefs,\n style: { outline: \"none\", ...props.style },\n onMouseDown: composeEventHandlers(props.onMouseDown, () => {\n isClickFocusRef.current = true;\n }),\n onFocus: composeEventHandlers(props.onFocus, (event) => {\n const isKeyboardFocus = !isClickFocusRef.current;\n if (event.target === event.currentTarget && isKeyboardFocus && !isTabbingBackOut) {\n const entryFocusEvent = new CustomEvent(ENTRY_FOCUS, EVENT_OPTIONS);\n event.currentTarget.dispatchEvent(entryFocusEvent);\n if (!entryFocusEvent.defaultPrevented) {\n const items = getItems().filter((item) => item.focusable);\n const activeItem = items.find((item) => item.active);\n const currentItem = items.find((item) => item.id === currentTabStopId);\n const candidateItems = [activeItem, currentItem, ...items].filter(\n Boolean\n );\n const candidateNodes = candidateItems.map((item) => item.ref.current);\n focusFirst(candidateNodes, preventScrollOnEntryFocus);\n }\n }\n isClickFocusRef.current = false;\n }),\n onBlur: composeEventHandlers(props.onBlur, () => setIsTabbingBackOut(false))\n }\n )\n }\n );\n});\nvar ITEM_NAME = \"RovingFocusGroupItem\";\nvar RovingFocusGroupItem = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRovingFocusGroup,\n focusable = true,\n active = false,\n tabStopId,\n ...itemProps\n } = props;\n const autoId = useId();\n const id = tabStopId || autoId;\n const context = useRovingFocusContext(ITEM_NAME, __scopeRovingFocusGroup);\n const isCurrentTabStop = context.currentTabStopId === id;\n const getItems = useCollection(__scopeRovingFocusGroup);\n const { onFocusableItemAdd, onFocusableItemRemove } = context;\n React.useEffect(() => {\n if (focusable) {\n onFocusableItemAdd();\n return () => onFocusableItemRemove();\n }\n }, [focusable, onFocusableItemAdd, onFocusableItemRemove]);\n return /* @__PURE__ */ jsx(\n Collection.ItemSlot,\n {\n scope: __scopeRovingFocusGroup,\n id,\n focusable,\n active,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n tabIndex: isCurrentTabStop ? 0 : -1,\n \"data-orientation\": context.orientation,\n ...itemProps,\n ref: forwardedRef,\n onMouseDown: composeEventHandlers(props.onMouseDown, (event) => {\n if (!focusable) event.preventDefault();\n else context.onItemFocus(id);\n }),\n onFocus: composeEventHandlers(props.onFocus, () => context.onItemFocus(id)),\n onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {\n if (event.key === \"Tab\" && event.shiftKey) {\n context.onItemShiftTab();\n return;\n }\n if (event.target !== event.currentTarget) return;\n const focusIntent = getFocusIntent(event, context.orientation, context.dir);\n if (focusIntent !== void 0) {\n if (event.metaKey || event.ctrlKey || event.altKey || event.shiftKey) return;\n event.preventDefault();\n const items = getItems().filter((item) => item.focusable);\n let candidateNodes = items.map((item) => item.ref.current);\n if (focusIntent === \"last\") candidateNodes.reverse();\n else if (focusIntent === \"prev\" || focusIntent === \"next\") {\n if (focusIntent === \"prev\") candidateNodes.reverse();\n const currentIndex = candidateNodes.indexOf(event.currentTarget);\n candidateNodes = context.loop ? wrapArray(candidateNodes, currentIndex + 1) : candidateNodes.slice(currentIndex + 1);\n }\n setTimeout(() => focusFirst(candidateNodes));\n }\n })\n }\n )\n }\n );\n }\n);\nRovingFocusGroupItem.displayName = ITEM_NAME;\nvar MAP_KEY_TO_FOCUS_INTENT = {\n ArrowLeft: \"prev\",\n ArrowUp: \"prev\",\n ArrowRight: \"next\",\n ArrowDown: \"next\",\n PageUp: \"first\",\n Home: \"first\",\n PageDown: \"last\",\n End: \"last\"\n};\nfunction getDirectionAwareKey(key, dir) {\n if (dir !== \"rtl\") return key;\n return key === \"ArrowLeft\" ? \"ArrowRight\" : key === \"ArrowRight\" ? \"ArrowLeft\" : key;\n}\nfunction getFocusIntent(event, orientation, dir) {\n const key = getDirectionAwareKey(event.key, dir);\n if (orientation === \"vertical\" && [\"ArrowLeft\", \"ArrowRight\"].includes(key)) return void 0;\n if (orientation === \"horizontal\" && [\"ArrowUp\", \"ArrowDown\"].includes(key)) return void 0;\n return MAP_KEY_TO_FOCUS_INTENT[key];\n}\nfunction focusFirst(candidates, preventScroll = false) {\n const PREVIOUSLY_FOCUSED_ELEMENT = document.activeElement;\n for (const candidate of candidates) {\n if (candidate === PREVIOUSLY_FOCUSED_ELEMENT) return;\n candidate.focus({ preventScroll });\n if (document.activeElement !== PREVIOUSLY_FOCUSED_ELEMENT) return;\n }\n}\nfunction wrapArray(array, startIndex) {\n return array.map((_, index) => array[(startIndex + index) % array.length]);\n}\nvar Root = RovingFocusGroup;\nvar Item = RovingFocusGroupItem;\nexport {\n Item,\n Root,\n RovingFocusGroup,\n RovingFocusGroupItem,\n createRovingFocusGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["ENTRY_FOCUS","EVENT_OPTIONS","GROUP_NAME","Collection","useCollection","createCollectionScope","createCollection","createRovingFocusGroupContext","createRovingFocusGroupScope","createContextScope","RovingFocusProvider","useRovingFocusContext","RovingFocusGroup","React","props","forwardedRef","jsx","RovingFocusGroupImpl","__scopeRovingFocusGroup","orientation","loop","dir","currentTabStopIdProp","defaultCurrentTabStopId","onCurrentTabStopIdChange","onEntryFocus","preventScrollOnEntryFocus","groupProps","ref","composedRefs","useComposedRefs","direction","useDirection","currentTabStopId","setCurrentTabStopId","useControllableState","isTabbingBackOut","setIsTabbingBackOut","handleEntryFocus","useCallbackRef","getItems","isClickFocusRef","focusableItemsCount","setFocusableItemsCount","node","tabStopId","prevCount","Primitive","composeEventHandlers","event","isKeyboardFocus","entryFocusEvent","items","item","activeItem","currentItem","candidateNodes","focusFirst","ITEM_NAME","RovingFocusGroupItem","focusable","active","itemProps","autoId","useId","id","context","isCurrentTabStop","onFocusableItemAdd","onFocusableItemRemove","focusIntent","getFocusIntent","currentIndex","wrapArray","MAP_KEY_TO_FOCUS_INTENT","getDirectionAwareKey","key","candidates","preventScroll","PREVIOUSLY_FOCUSED_ELEMENT","candidate","array","startIndex","_","index","Root","Item"],"mappings":"yrBAcA,IAAIA,EAAc,gCACdC,EAAgB,CAA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,OAAOF,GAAwBE,CAAG,CACpC,CACA,SAASnB,EAAWoB,EAAYC,EAAgB,GAAO,CACrD,MAAMC,EAA6B,SAAS,cAC5C,UAAWC,KAAaH,EAGtB,GAFIG,IAAcD,IAClBC,EAAU,MAAM,CAAE,cAAAF,EAAe,EAC7B,SAAS,gBAAkBC,GAA4B,MAE/D,CACA,SAASN,GAAUQ,EAAOC,EAAY,CACpC,OAAOD,EAAM,IAAI,CAACE,EAAGC,IAAUH,GAAOC,EAAaE,GAASH,EAAM,MAAM,CAAC,CAC3E,CACG,IAACI,GAAOzE,EACP0E,GAAO3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs499.js","sources":["../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !['inline', 'contents'].includes(display);\n}\nfunction isTableElement(element) {\n return ['table', 'td', 'th'].includes(getNodeName(element));\n}\nfunction isTopLayer(element) {\n return [':popover-open', ':modal'].some(selector => {\n try {\n return element.matches(selector);\n } catch (e) {\n return false;\n }\n });\n}\nfunction isContainingBlock(elementOrCss) {\n const webkit = isWebKit();\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return ['transform', 'translate', 'scale', 'rotate', 'perspective'].some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (typeof CSS === 'undefined' || !CSS.supports) return false;\n return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nfunction isLastTraversableNode(node) {\n return ['html', 'body', '#document'].includes(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n }\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","selector","isContainingBlock","elementOrCss","webkit","isWebKit","css","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"gFAAA,SAASA,GAAY,CACnB,OAAO,OAAO,OAAW,GAC3B,CACA,SAASC,EAAYC,EAAM,CACzB,OAAIC,EAAOD,CAAI,GACLA,EAAK,UAAY,IAAI,YAAa,EAKrC,WACT,CACA,SAASE,EAAUF,EAAM,CACvB,IAAIG,EACJ,OAAQH,GAAQ,OAASG,EAAsBH,EAAK,gBAAkB,KAAO,OAASG,EAAoB,cAAgB,MAC5H,CACA,SAASC,EAAmBJ,EAAM,CAChC,IAAIK,EACJ,OAAQA,GAAQJ,EAAOD,CAAI,EAAIA,EAAK,cAAgBA,EAAK,WAAa,OAAO,WAAa,KAAO,OAASK,EAAK,eACjH,CACA,SAASJ,EAAOK,EAAO,CACrB,OAAKR,EAAS,EAGPQ,aAAiB,MAAQA,aAAiBJ,EAAUI,CAAK,EAAE,KAFzD,EAGX,CACA,SAASC,EAAUD,EAAO,CACxB,OAAKR,EAAS,EAGPQ,aAAiB,SAAWA,aAAiBJ,EAAUI,CAAK,EAAE,QAF5D,EAGX,CACA,SAASE,EAAcF,EAAO,CAC5B,OAAKR,EAAS,EAGPQ,aAAiB,aAAeA,aAAiBJ,EAAUI,CAAK,EAAE,YAFhE,EAGX,CACA,SAASG,EAAaH,EAAO,CAC3B,MAAI,CAACR,EAAS,GAAM,OAAO,WAAe,IACjC,GAEFQ,aAAiB,YAAcA,aAAiBJ,EAAUI,CAAK,EAAE,UAC1E,CACA,SAASI,EAAkBC,EAAS,CAClC,KAAM,CACJ,SAAAC,EACA,UAAAC,EACA,UAAAC,EACA,QAAAC,CACJ,EAAMC,EAAiBL,CAAO,EAC5B,MAAO,kCAAkC,KAAKC,EAAWE,EAAYD,CAAS,GAAK,CAAC,CAAC,SAAU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EAAkBF,EAAqBO,CAAY,EAAI,EAAE,CAChM,CACE,OAAON,EAAK,OAAOG,EAAoBJ,EAAqBI,EAAoB,CAAA,EAAIF,CAAe,CAAC,CACtG,CACA,SAASM,EAAgBF,EAAK,CAC5B,OAAOA,EAAI,QAAU,OAAO,eAAeA,EAAI,MAAM,EAAIA,EAAI,aAAe,IAC9E","x_google_ignoreList":[0]}
@@ -1,2 +1,39 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs507.js"),j=require("react"),f=require("./index.cjs510.js"),k=require("./index.cjs511.js"),q=require("./index.cjs512.js");function B(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return n.default=e,Object.freeze(n)}const a=B(j);var o=function(){},s=a.forwardRef(function(e,n){var r=a.useRef(null),l=a.useState({onScrollCapture:o,onWheelCapture:o,onTouchMoveCapture:o}),m=l[0],g=l[1],v=e.forwardProps,c=e.children,h=e.className,_=e.removeScrollBar,b=e.enabled,C=e.shards,S=e.sideCar,P=e.noIsolation,R=e.inert,w=e.allowPinchZoom,i=e.as,M=i===void 0?"div":i,N=e.gapMode,y=t.__rest(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),O=S,d=q.useMergeRefs([r,n]),u=t.__assign(t.__assign({},y),m);return a.createElement(a.Fragment,null,b&&a.createElement(O,{sideCar:k.effectCar,removeScrollBar:_,shards:C,noIsolation:P,inert:R,setCallbacks:g,allowPinchZoom:!!w,lockRef:r,gapMode:N}),v?a.cloneElement(a.Children.only(c),t.__assign(t.__assign({},u),{ref:d})):a.createElement(M,t.__assign({},u,{className:h,ref:d}),c))});s.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};s.classNames={fullWidth:f.fullWidthClassName,zeroRight:f.zeroRightClassName};exports.RemoveScroll=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),b=require("./index.cjs509.js"),o=require("./index.cjs492.js"),p=require("./index.cjs525.js");function v(t){const c=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(c,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return c.default=t,Object.freeze(c)}const u=v(f);var m=b.styleSingleton(),r="data-scroll-locked",h=function(t,c,e,n){var i=t.left,l=t.top,d=t.right,a=t.gap;return e===void 0&&(e="margin"),`
2
+ .`.concat(o.noScrollbarsClassName,` {
3
+ overflow: hidden `).concat(n,`;
4
+ padding-right: `).concat(a,"px ").concat(n,`;
5
+ }
6
+ body[`).concat(r,`] {
7
+ overflow: hidden `).concat(n,`;
8
+ overscroll-behavior: contain;
9
+ `).concat([c&&"position: relative ".concat(n,";"),e==="margin"&&`
10
+ padding-left: `.concat(i,`px;
11
+ padding-top: `).concat(l,`px;
12
+ padding-right: `).concat(d,`px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: `).concat(a,"px ").concat(n,`;
16
+ `),e==="padding"&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),`
17
+ }
18
+
19
+ .`).concat(o.zeroRightClassName,` {
20
+ right: `).concat(a,"px ").concat(n,`;
21
+ }
22
+
23
+ .`).concat(o.fullWidthClassName,` {
24
+ margin-right: `).concat(a,"px ").concat(n,`;
25
+ }
26
+
27
+ .`).concat(o.zeroRightClassName," .").concat(o.zeroRightClassName,` {
28
+ right: 0 `).concat(n,`;
29
+ }
30
+
31
+ .`).concat(o.fullWidthClassName," .").concat(o.fullWidthClassName,` {
32
+ margin-right: 0 `).concat(n,`;
33
+ }
34
+
35
+ body[`).concat(r,`] {
36
+ `).concat(o.removedBarSizeVariable,": ").concat(a,`px;
37
+ }
38
+ `)},s=function(){var t=parseInt(document.body.getAttribute(r)||"0",10);return isFinite(t)?t:0},g=function(){u.useEffect(function(){return document.body.setAttribute(r,(s()+1).toString()),function(){var t=s()-1;t<=0?document.body.removeAttribute(r):document.body.setAttribute(r,t.toString())}},[])},y=function(t){var c=t.noRelative,e=t.noImportant,n=t.gapMode,i=n===void 0?"margin":n;g();var l=u.useMemo(function(){return p.getGapWidth(i)},[i]);return u.createElement(m,{styles:h(l,!c,i,e?"":"!important")})};exports.RemoveScrollBar=y;exports.lockAttribute=r;exports.useLockAttribute=g;
2
39
  //# sourceMappingURL=index.cjs508.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs508.js","sources":["../node_modules/react-remove-scroll/dist/es2015/UI.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nimport { fullWidthClassName, zeroRightClassName } from 'react-remove-scroll-bar/constants';\nimport { useMergeRefs } from 'use-callback-ref';\nimport { effectCar } from './medium';\nvar nothing = function () {\n return;\n};\n/**\n * Removes scrollbar from the page and contain the scroll within the Lock\n */\nvar RemoveScroll = React.forwardRef(function (props, parentRef) {\n var ref = React.useRef(null);\n var _a = React.useState({\n onScrollCapture: nothing,\n onWheelCapture: nothing,\n onTouchMoveCapture: nothing,\n }), callbacks = _a[0], setCallbacks = _a[1];\n var forwardProps = props.forwardProps, children = props.children, className = props.className, removeScrollBar = props.removeScrollBar, enabled = props.enabled, shards = props.shards, sideCar = props.sideCar, noIsolation = props.noIsolation, inert = props.inert, allowPinchZoom = props.allowPinchZoom, _b = props.as, Container = _b === void 0 ? 'div' : _b, gapMode = props.gapMode, rest = __rest(props, [\"forwardProps\", \"children\", \"className\", \"removeScrollBar\", \"enabled\", \"shards\", \"sideCar\", \"noIsolation\", \"inert\", \"allowPinchZoom\", \"as\", \"gapMode\"]);\n var SideCar = sideCar;\n var containerRef = useMergeRefs([ref, parentRef]);\n var containerProps = __assign(__assign({}, rest), callbacks);\n return (React.createElement(React.Fragment, null,\n enabled && (React.createElement(SideCar, { sideCar: effectCar, removeScrollBar: removeScrollBar, shards: shards, noIsolation: noIsolation, inert: inert, setCallbacks: setCallbacks, allowPinchZoom: !!allowPinchZoom, lockRef: ref, gapMode: gapMode })),\n forwardProps ? (React.cloneElement(React.Children.only(children), __assign(__assign({}, containerProps), { ref: containerRef }))) : (React.createElement(Container, __assign({}, containerProps, { className: className, ref: containerRef }), children))));\n});\nRemoveScroll.defaultProps = {\n enabled: true,\n removeScrollBar: true,\n inert: false,\n};\nRemoveScroll.classNames = {\n fullWidth: fullWidthClassName,\n zeroRight: zeroRightClassName,\n};\nexport { RemoveScroll };\n"],"names":["nothing","RemoveScroll","React","props","parentRef","ref","_a","callbacks","setCallbacks","forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","_b","Container","gapMode","rest","__rest","SideCar","containerRef","useMergeRefs","containerProps","__assign","effectCar","fullWidthClassName","zeroRightClassName"],"mappings":"+fAKA,IAAIA,EAAU,UAAY,CAE1B,EAIIC,EAAeC,EAAM,WAAW,SAAUC,EAAOC,EAAW,CAC5D,IAAIC,EAAMH,EAAM,OAAO,IAAI,EACvBI,EAAKJ,EAAM,SAAS,CACpB,gBAAiBF,EACjB,eAAgBA,EAChB,mBAAoBA,CAC5B,CAAK,EAAGO,EAAYD,EAAG,CAAC,EAAGE,EAAeF,EAAG,CAAC,EACtCG,EAAeN,EAAM,aAAcO,EAAWP,EAAM,SAAUQ,EAAYR,EAAM,UAAWS,EAAkBT,EAAM,gBAAiBU,EAAUV,EAAM,QAASW,EAASX,EAAM,OAAQY,EAAUZ,EAAM,QAASa,EAAcb,EAAM,YAAac,EAAQd,EAAM,MAAOe,EAAiBf,EAAM,eAAgBgB,EAAKhB,EAAM,GAAIiB,EAAYD,IAAO,OAAS,MAAQA,EAAIE,EAAUlB,EAAM,QAASmB,EAAOC,EAAAA,OAAOpB,EAAO,CAAC,eAAgB,WAAY,YAAa,kBAAmB,UAAW,SAAU,UAAW,cAAe,QAAS,iBAAkB,KAAM,SAAS,CAAC,EACtiBqB,EAAUT,EACVU,EAAeC,EAAY,aAAC,CAACrB,EAAKD,CAAS,CAAC,EAC5CuB,EAAiBC,EAAAA,SAASA,EAAAA,SAAS,CAAA,EAAIN,CAAI,EAAGf,CAAS,EAC3D,OAAQL,EAAM,cAAcA,EAAM,SAAU,KACxCW,GAAYX,EAAM,cAAcsB,EAAS,CAAE,QAASK,YAAW,gBAAiBjB,EAAiB,OAAQE,EAAQ,YAAaE,EAAa,MAAOC,EAAO,aAAcT,EAAc,eAAgB,CAAC,CAACU,EAAgB,QAASb,EAAK,QAASgB,CAAS,CAAA,EACvPZ,EAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,EAAGkB,EAAQ,SAACA,EAAQ,SAAC,CAAE,EAAED,CAAc,EAAG,CAAE,IAAKF,CAAY,CAAE,CAAC,EAAMvB,EAAM,cAAckB,EAAWQ,EAAQ,SAAC,CAAE,EAAED,EAAgB,CAAE,UAAWhB,EAAW,IAAKc,CAAc,CAAA,EAAGf,CAAQ,CAAE,CACjQ,CAAC,EACDT,EAAa,aAAe,CACxB,QAAS,GACT,gBAAiB,GACjB,MAAO,EACX,EACAA,EAAa,WAAa,CACtB,UAAW6B,EAAkB,mBAC7B,UAAWC,EAAkB,kBACjC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs508.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\nexport var lockAttribute = 'data-scroll-locked';\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body[\").concat(lockAttribute, \"] {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body[\").concat(lockAttribute, \"] {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\nvar getCurrentUseCounter = function () {\n var counter = parseInt(document.body.getAttribute(lockAttribute) || '0', 10);\n return isFinite(counter) ? counter : 0;\n};\nexport var useLockAttribute = function () {\n React.useEffect(function () {\n document.body.setAttribute(lockAttribute, (getCurrentUseCounter() + 1).toString());\n return function () {\n var newCounter = getCurrentUseCounter() - 1;\n if (newCounter <= 0) {\n document.body.removeAttribute(lockAttribute);\n }\n else {\n document.body.setAttribute(lockAttribute, newCounter.toString());\n }\n };\n }, []);\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (_a) {\n var noRelative = _a.noRelative, noImportant = _a.noImportant, _b = _a.gapMode, gapMode = _b === void 0 ? 'margin' : _b;\n useLockAttribute();\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","lockAttribute","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","getCurrentUseCounter","counter","useLockAttribute","React","newCounter","RemoveScrollBar","noRelative","noImportant","_b","getGapWidth"],"mappings":"geAIA,IAAIA,EAAQC,EAAAA,eAAgB,EACjBC,EAAgB,qBAIvBC,EAAY,SAAUC,EAAIC,EAAeC,EAASC,EAAW,CAC7D,IAAIC,EAAOJ,EAAG,KAAMK,EAAML,EAAG,IAAKM,EAAQN,EAAG,MAAOO,EAAMP,EAAG,IAC7D,OAAIE,IAAY,SAAUA,EAAU,UAC7B;AAAA,KAAQ,OAAOM,EAAqB,sBAAE;AAAA,qBAA0B,EAAE,OAAOL,EAAW;AAAA,mBAAuB,EAAE,OAAOI,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,EAAe;AAAA,sBAA4B,EAAE,OAAOK,EAAW;AAAA;AAAA,KAA4C,EAAE,OAAO,CACnSF,GAAiB,sBAAsB,OAAOE,EAAW,GAAG,EAC5DD,IAAY,UACR;AAAA,oBAAuB,OAAOE,EAAM;AAAA,kBAAwB,EAAE,OAAOC,EAAK;AAAA,oBAA0B,EAAE,OAAOC,EAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA,KAAS,EACxOD,IAAY,WAAa,kBAAkB,OAAOK,EAAK,KAAK,EAAE,OAAOJ,EAAW,GAAG,CAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,EAAG;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AAE,EAAI,CAACA,CAAO,CAAC,EAC/E,OAAOa,EAAM,cAAcnB,EAAO,CAAE,OAAQG,EAAUQ,EAAK,CAACW,EAAYhB,EAAUiB,EAA6B,GAAf,YAAiB,CAAC,CAAE,CACxH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs513.js"),r=require("./index.cjs511.js"),t=require("./index.cjs514.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs526.js");var i=function(){var t=r.styleHookSingleton(),n=function(e){var l=e.styles,o=e.dynamic;return t(l,o),null};return n};exports.styleSingleton=i;
2
2
  //# sourceMappingURL=index.cjs509.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs509.js","sources":["../node_modules/react-remove-scroll/dist/es2015/sidecar.js"],"sourcesContent":["import { exportSidecar } from 'use-sidecar';\nimport { RemoveScrollSideCar } from './SideEffect';\nimport { effectCar } from './medium';\nexport default exportSidecar(effectCar, RemoveScrollSideCar);\n"],"names":["SideCar","exportSidecar","effectCar","RemoveScrollSideCar"],"mappings":"gHAGAA,EAAeC,EAAa,cAACC,EAAS,UAAEC,qBAAmB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs509.js","sources":["../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":"qHAOU,IAACA,EAAiB,UAAY,CACpC,IAAIC,EAAWC,EAAAA,mBAAoB,EAC/BC,EAAQ,SAAUC,EAAI,CACtB,IAAIC,EAASD,EAAG,OAAQE,EAAUF,EAAG,QACrC,OAAAH,EAASI,EAAQC,CAAO,EACjB,IACV,EACD,OAAOH,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r="right-scroll-bar-position",a="width-before-scroll-bar",e="with-scroll-bars-hidden",l="--removed-body-scroll-bar-size";exports.fullWidthClassName=a;exports.noScrollbarsClassName=e;exports.removedBarSizeVariable=l;exports.zeroRightClassName=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=!1;if(typeof window<"u")try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{t=!1}var r=t?{passive:!1}:!1;exports.nonPassive=r;
2
2
  //# sourceMappingURL=index.cjs510.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs510.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"gFAAU,IAACA,EAAqB,4BACrBC,EAAqB,0BACrBC,EAAwB,0BAKxBC,EAAyB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs510.js","sources":["../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"gFAAA,IAAIA,EAAmB,GACvB,GAAI,OAAO,OAAW,IAClB,GAAI,CACA,IAAIC,EAAU,OAAO,eAAe,CAAA,EAAI,UAAW,CAC/C,IAAK,UAAY,CACb,OAAAD,EAAmB,GACZ,EACV,CACb,CAAS,EAED,OAAO,iBAAiB,OAAQC,EAASA,CAAO,EAEhD,OAAO,oBAAoB,OAAQA,EAASA,CAAO,CAC3D,MACgB,CACRD,EAAmB,EAC3B,CAEU,IAACE,EAAaF,EAAmB,CAAE,QAAS,EAAK,EAAK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs548.js");var r=e.createSidecarMedium();exports.effectCar=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var y=function(e){return e.tagName==="TEXTAREA"},w=function(e,r){if(!(e instanceof Element))return!1;var o=window.getComputedStyle(e);return o[r]!=="hidden"&&!(o.overflowY===o.overflowX&&!y(e)&&o[r]==="visible")},p=function(e){return w(e,"overflowY")},B=function(e){return w(e,"overflowX")},H=function(e,r){var o=r.ownerDocument,l=r;do{typeof ShadowRoot<"u"&&l instanceof ShadowRoot&&(l=l.host);var v=g(e,l);if(v){var n=b(e,l),a=n[1],t=n[2];if(a>t)return!0}l=l.parentNode}while(l&&l!==o.body);return!1},V=function(e){var r=e.scrollTop,o=e.scrollHeight,l=e.clientHeight;return[r,o,l]},D=function(e){var r=e.scrollLeft,o=e.scrollWidth,l=e.clientWidth;return[r,o,l]},g=function(e,r){return e==="v"?p(r):B(r)},b=function(e,r){return e==="v"?V(r):D(r)},R=function(e,r){return e==="h"&&r==="rtl"?-1:1},W=function(e,r,o,l,v){var n=R(e,window.getComputedStyle(r).direction),a=n*l,t=o.target,f=r.contains(t),c=!1,d=a>0,s=0,h=0;do{var i=b(e,t),u=i[0],m=i[1],C=i[2],S=m-C-n*u;(u||S)&&g(e,t)&&(s+=S,h+=u),t instanceof ShadowRoot?t=t.host:t=t.parentNode}while(!f&&t!==document.body||f&&(r.contains(t)||r===t));return(d&&Math.abs(s)<1||!d&&Math.abs(h)<1)&&(c=!0),c};exports.handleScroll=W;exports.locationCouldBeScrolled=H;
2
2
  //# sourceMappingURL=index.cjs511.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs511.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs511.js","sources":["../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n if (!(node instanceof Element)) {\n return false;\n }\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var ownerDocument = node.ownerDocument;\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), scrollHeight = _a[1], clientHeight = _a[2];\n if (scrollHeight > clientHeight) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== ownerDocument.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n if (target instanceof ShadowRoot) {\n target = target.host;\n }\n else {\n target = target.parentNode;\n }\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n // handle epsilon around 0 (non standard zoom levels)\n if (isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScroll) < 1) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && Math.abs(availableScrollTop) < 1) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","ownerDocument","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","scrollHeight","clientHeight","getVScrollVariables","scrollTop","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,CACjD,GAAI,EAAEF,aAAgB,SAClB,MAAO,GAEX,IAAIG,EAAS,OAAO,iBAAiBH,CAAI,EACzC,OAEAG,EAAOD,CAAQ,IAAM,UAEjB,EAAEC,EAAO,YAAcA,EAAO,WAAa,CAACJ,EAAqBC,CAAI,GAAKG,EAAOD,CAAQ,IAAM,UACvG,EACIE,EAA0B,SAAUJ,EAAM,CAAE,OAAOC,EAAqBD,EAAM,WAAW,CAAI,EAC7FK,EAA0B,SAAUL,EAAM,CAAE,OAAOC,EAAqBD,EAAM,WAAW,CAAI,EACtFM,EAA0B,SAAUC,EAAMP,EAAM,CACvD,IAAIQ,EAAgBR,EAAK,cACrBS,EAAUT,EACd,EAAG,CAEK,OAAO,WAAe,KAAeS,aAAmB,aACxDA,EAAU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AAC,EAAG2B,EAAW3B,EAAG,CAAC,EAC1F4B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR7B,EAAuBJ,EAAMwB,CAAM,IACnCI,GAAmBK,EACnBJ,GAAsBC,GAG1BN,aAAkB,WAClBA,EAASA,EAAO,KAGhBA,EAASA,EAAO,UAEvB,OAEA,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAElE,OAAIG,GACkB,KAAK,IAAIC,CAAe,EAAI,GAGzC,CAACD,GACY,KAAK,IAAIE,CAAkB,EAAI,KACjDH,EAAqB,IAElBA,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs567.js"),g=require("./index.cjs568.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs489.js");function l(n){return n}function h(n,t){t===void 0&&(t=l);var e=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:n},useMedium:function(u){var r=t(u,o);return e.push(r),function(){e=e.filter(function(i){return i!==r})}},assignSyncMedium:function(u){for(o=!0;e.length;){var r=e;e=[],r.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){o=!0;var r=[];if(e.length){var i=e;e=[],i.forEach(u),r=e}var s=function(){var f=r;r=[],f.forEach(u)},a=function(){return Promise.resolve().then(s)};a(),e={push:function(f){r.push(f),a()},filter:function(f){return r=r.filter(f),e}}}};return c}function m(n){n===void 0&&(n={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},n),t}exports.createSidecarMedium=m;
2
2
  //# sourceMappingURL=index.cjs512.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs512.js","sources":["../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":"icAGA,IAAIA,EAA4B,OAAO,OAAW,IAAcC,EAAM,gBAAkBA,EAAM,UAC1FC,EAAgB,IAAI,QAejB,SAASC,EAAaC,EAAMC,EAAc,CAC7C,IAAIC,EAAcC,EAAAA,eAA+B,KAAM,SAAUC,EAAU,CACvE,OAAOJ,EAAK,QAAQ,SAAUK,EAAK,CAAE,OAAOC,EAAAA,UAAUD,EAAKD,CAAQ,EAAI,CAC/E,CAAK,EAED,OAAAR,EAA0B,UAAY,CAClC,IAAIW,EAAWT,EAAc,IAAII,CAAW,EAC5C,GAAIK,EAAU,CACV,IAAIC,EAAa,IAAI,IAAID,CAAQ,EAC7BE,EAAa,IAAI,IAAIT,CAAI,EACzBU,EAAYR,EAAY,QAC5BM,EAAW,QAAQ,SAAUH,EAAK,CACzBI,EAAW,IAAIJ,CAAG,GACnBC,EAAS,UAACD,EAAK,IAAI,CAEvC,CAAa,EACDI,EAAW,QAAQ,SAAUJ,EAAK,CACzBG,EAAW,IAAIH,CAAG,GACnBC,EAAS,UAACD,EAAKK,CAAS,CAE5C,CAAa,CACb,CACQZ,EAAc,IAAII,EAAaF,CAAI,CAC3C,EAAO,CAACA,CAAI,CAAC,EACFE,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs512.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACb,OAAOA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAUA,EAAaJ,GAC1C,IAAIK,EAAS,CAAE,EACXC,EAAW,GACXC,EAAS,CACT,KAAM,UAAY,CACd,GAAID,EACA,MAAM,IAAI,MAAM,kGAAkG,EAEtH,OAAID,EAAO,OACAA,EAAOA,EAAO,OAAS,CAAC,EAE5BF,CACV,EACD,U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toStringTag,{value:"Module"});const r=require("./index.cjs557.js"),s=require("./index.cjs558.js"),t=["div","span"],a=["none","inline-flex","flex"],n=["row","column","row-reverse","column-reverse"],p=["start","center","end","baseline","stretch"],u=["start","center","end","between"],l=["nowrap","wrap","wrap-reverse"],o={as:{type:"enum",values:t,default:"div"},...r.asChildPropDef,display:{type:"enum",className:"rt-r-display",values:a,responsive:!0},direction:{type:"enum",className:"rt-r-fd",values:n,responsive:!0},align:{type:"enum",className:"rt-r-ai",values:p,responsive:!0},justify:{type:"enum",className:"rt-r-jc",values:u,parseValue:i,responsive:!0},wrap:{type:"enum",className:"rt-r-fw",values:l,responsive:!0},...s.gapPropDefs};function i(e){return e==="between"?"space-between":e}exports.flexPropDefs=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function e(t,n){return typeof t=="function"?t(n):t&&(t.current=n),t}exports.assignRef=e;
2
2
  //# sourceMappingURL=index.cjs522.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs522.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/flex.props.js"],"sourcesContent":["import{asChildPropDef as s}from\"../props/as-child.prop.js\";import{gapPropDefs as r}from\"../props/gap.props.js\";const t=[\"div\",\"span\"],p=[\"none\",\"inline-flex\",\"flex\"],a=[\"row\",\"column\",\"row-reverse\",\"column-reverse\"],o=[\"start\",\"center\",\"end\",\"baseline\",\"stretch\"],n=[\"start\",\"center\",\"end\",\"between\"],l=[\"nowrap\",\"wrap\",\"wrap-reverse\"],u={as:{type:\"enum\",values:t,default:\"div\"},...s,display:{type:\"enum\",className:\"rt-r-display\",values:p,responsive:!0},direction:{type:\"enum\",className:\"rt-r-fd\",values:a,responsive:!0},align:{type:\"enum\",className:\"rt-r-ai\",values:o,responsive:!0},justify:{type:\"enum\",className:\"rt-r-jc\",values:n,parseValue:f,responsive:!0},wrap:{type:\"enum\",className:\"rt-r-fw\",values:l,responsive:!0},...r};function f(e){return e===\"between\"?\"space-between\":e}export{u as flexPropDefs};\n//# sourceMappingURL=flex.props.js.map\n"],"names":["p","a","o","n","u","s","f","r"],"mappings":"oJAAqH,EAAE,CAAC,MAAM,MAAM,EAAEA,EAAE,CAAC,OAAO,cAAc,MAAM,EAAEC,EAAE,CAAC,MAAM,SAAS,cAAc,gBAAgB,EAAEC,EAAE,CAAC,QAAQ,SAAS,MAAM,WAAW,SAAS,EAAEC,EAAE,CAAC,QAAQ,SAAS,MAAM,SAAS,EAAE,EAAE,CAAC,SAAS,OAAO,cAAc,EAAEC,EAAE,CAAC,GAAG,CAAC,KAAK,OAAO,OAAO,EAAE,QAAQ,KAAK,EAAE,GAAGC,EAAC,eAAC,QAAQ,CAAC,KAAK,OAAO,UAAU,eAAe,OAAOL,EAAE,WAAW,EAAE,EAAE,UAAU,CAAC,KAAK,OAAO,UAAU,UAAU,OAAOC,EAAE,WAAW,EAAE,EAAE,MAAM,CAAC,KAAK,OAAO,UAAU,UAAU,OAAOC,EAAE,WAAW,EAAE,EAAE,QAAQ,CAAC,KAAK,OAAO,UAAU,UAAU,OAAOC,EAAE,WAAWG,EAAE,WAAW,EAAE,EAAE,KAAK,CAAC,KAAK,OAAO,UAAU,UAAU,OAAO,EAAE,WAAW,EAAE,EAAE,GAAGC,EAAAA,WAAC,EAAE,SAASD,EAAE,EAAE,CAAC,OAAO,IAAI,UAAU,gBAAgB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs522.js","sources":["../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"gFAaO,SAASA,EAAUC,EAAKC,EAAO,CAClC,OAAI,OAAOD,GAAQ,WACfA,EAAIC,CAAK,EAEJD,IACLA,EAAI,QAAUC,GAEXD,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(c),i=e=>{if(!o.isValidElement(e))throw Error(`Expected a single React Element child, but got: ${o.Children.toArray(e).map(t=>typeof t=="object"&&"type"in t&&typeof t.type=="string"?t.type:typeof t).join(", ")}`);return e};exports.requireReactElement=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function l(c,t){var e=u.useState(function(){return{value:c,callback:t,facade:{get current(){return e.value},set current(a){var r=e.value;r!==a&&(e.value=a,e.callback(a,r))}}}})[0];return e.callback=t,e.facade}exports.useCallbackRef=l;
2
2
  //# sourceMappingURL=index.cjs523.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs523.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/require-react-element.js"],"sourcesContent":["import*as o from\"react\";const a=t=>{if(!o.isValidElement(t))throw Error(`Expected a single React Element child, but got: ${o.Children.toArray(t).map(e=>typeof e==\"object\"&&\"type\"in e&&typeof e.type==\"string\"?e.type:typeof e).join(\", \")}`);return t};export{a as requireReactElement};\n//# sourceMappingURL=require-react-element.js.map\n"],"names":["a","t","o","e"],"mappings":"mYAA8BA,EAAEC,GAAG,CAAC,GAAG,CAACC,EAAE,eAAeD,CAAC,EAAE,MAAM,MAAM,mDAAmDC,EAAE,SAAS,QAAQD,CAAC,EAAE,IAAIE,GAAG,OAAOA,GAAG,UAAU,SAASA,GAAG,OAAOA,EAAE,MAAM,SAASA,EAAE,KAAK,OAAOA,CAAC,EAAE,KAAK,IAAI,CAAC,EAAE,EAAE,OAAOF,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs523.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":"yGAeO,SAASA,EAAeC,EAAcC,EAAU,CACnD,IAAIC,EAAMC,WAAS,UAAY,CAAE,MAAQ,CAErC,MAAOH,EAEP,SAAUC,EAEV,OAAQ,CACJ,IAAI,SAAU,CACV,OAAOC,EAAI,KACd,EACD,IAAI,QAAQE,EAAO,CACf,IAAIC,EAAOH,EAAI,MACXG,IAASD,IACTF,EAAI,MAAQE,EACZF,EAAI,SAASE,EAAOC,CAAI,EAE/B,CACJ,CACT,CAAO,CAAE,EAAE,CAAC,EAER,OAAAH,EAAI,SAAWD,EACRC,EAAI,MACf","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),A=require("./index.cjs515.js"),G=require("./index.cjs536.js"),t=require("./index.cjs537.js"),N=require("./index.cjs538.js"),O=require("./index.cjs497.js"),j=require("./index.cjs480.js");function M(o){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(o){for(const e in o)if(e!=="default"){const r=Object.getOwnPropertyDescriptor(o,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:()=>o[e]})}}return n.default=o,Object.freeze(n)}const a=M(q),i=()=>{},E=a.createContext(void 0),b=a.forwardRef((o,n)=>a.useContext(E)===void 0?a.createElement(N.Provider,{delayDuration:200},a.createElement(O.Provider,{dir:"ltr"},a.createElement(x,{...o,ref:n}))):a.createElement(R,{...o,ref:n}));b.displayName="Theme";const x=a.forwardRef((o,n)=>{const{appearance:e=t.themePropDefs.appearance.default,accentColor:r=t.themePropDefs.accentColor.default,grayColor:s=t.themePropDefs.grayColor.default,panelBackground:u=t.themePropDefs.panelBackground.default,radius:c=t.themePropDefs.radius.default,scaling:l=t.themePropDefs.scaling.default,hasBackground:d=t.themePropDefs.hasBackground.default,...f}=o,[p,g]=a.useState(e);a.useEffect(()=>g(e),[e]);const[P,h]=a.useState(r);a.useEffect(()=>h(r),[r]);const[k,C]=a.useState(s);a.useEffect(()=>C(s),[s]);const[B,m]=a.useState(u);a.useEffect(()=>m(u),[u]);const[D,v]=a.useState(c);a.useEffect(()=>v(c),[c]);const[y,S]=a.useState(l);return a.useEffect(()=>S(l),[l]),a.createElement(R,{...f,ref:n,isRoot:!0,hasBackground:d,appearance:p,accentColor:P,grayColor:k,panelBackground:B,radius:D,scaling:y,onAppearanceChange:g,onAccentColorChange:h,onGrayColorChange:C,onPanelBackgroundChange:m,onRadiusChange:v,onScalingChange:S})});x.displayName="ThemeRoot";const R=a.forwardRef((o,n)=>{const e=a.useContext(E),{asChild:r,isRoot:s,hasBackground:u,appearance:c=(e==null?void 0:e.appearance)??t.themePropDefs.appearance.default,accentColor:l=(e==null?void 0:e.accentColor)??t.themePropDefs.accentColor.default,grayColor:d=(e==null?void 0:e.resolvedGrayColor)??t.themePropDefs.grayColor.default,panelBackground:f=(e==null?void 0:e.panelBackground)??t.themePropDefs.panelBackground.default,radius:p=(e==null?void 0:e.radius)??t.themePropDefs.radius.default,scaling:g=(e==null?void 0:e.scaling)??t.themePropDefs.scaling.default,onAppearanceChange:P=i,onAccentColorChange:h=i,onGrayColorChange:k=i,onPanelBackgroundChange:C=i,onRadiusChange:B=i,onScalingChange:m=i,...D}=o,v=r?j.Root:"div",y=d==="auto"?G.getMatchingGrayColor(l):d,S=o.appearance==="light"||o.appearance==="dark",T=u===void 0?s||S:u;return a.createElement(E.Provider,{value:a.useMemo(()=>({appearance:c,accentColor:l,grayColor:d,resolvedGrayColor:y,panelBackground:f,radius:p,scaling:g,onAppearanceChange:P,onAccentColorChange:h,onGrayColorChange:k,onPanelBackgroundChange:C,onRadiusChange:B,onScalingChange:m}),[c,l,d,y,f,p,g,P,h,k,C,B,m])},a.createElement(v,{"data-is-root-theme":s?"true":"false","data-accent-color":l,"data-gray-color":y,"data-has-background":T?"true":"false","data-panel-background":f,"data-radius":p,"data-scaling":g,ref:n,...D,className:A("radix-themes",{light:c==="light",dark:c==="dark"},D.className)}))});R.displayName="ThemeImpl";exports.Theme=b;exports.ThemeContext=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
2
2
  //# sourceMappingURL=index.cjs525.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs525.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/theme.js"],"sourcesContent":["\"use client\";import*as e from\"react\";import E from\"classnames\";import{Direction as G,Slot as D,Tooltip as w}from\"radix-ui\";import{getMatchingGrayColor as N}from\"../helpers/get-matching-gray-color.js\";import{themePropDefs as o}from\"./theme.props.js\";const d=()=>{},P=e.createContext(void 0);function H(){const a=e.useContext(P);if(a===void 0)throw new Error(\"`useThemeContext` must be used within a `Theme`\");return a}const R=e.forwardRef((a,s)=>e.useContext(P)===void 0?e.createElement(w.Provider,{delayDuration:200},e.createElement(G.Provider,{dir:\"ltr\"},e.createElement(I,{...a,ref:s}))):e.createElement(A,{...a,ref:s}));R.displayName=\"Theme\";const I=e.forwardRef((a,s)=>{const{appearance:r=o.appearance.default,accentColor:c=o.accentColor.default,grayColor:l=o.grayColor.default,panelBackground:p=o.panelBackground.default,radius:n=o.radius.default,scaling:t=o.scaling.default,hasBackground:i=o.hasBackground.default,...u}=a,[h,m]=e.useState(r);e.useEffect(()=>m(r),[r]);const[y,g]=e.useState(c);e.useEffect(()=>g(c),[c]);const[v,C]=e.useState(l);e.useEffect(()=>C(l),[l]);const[k,f]=e.useState(p);e.useEffect(()=>f(p),[p]);const[B,x]=e.useState(n);e.useEffect(()=>x(n),[n]);const[T,b]=e.useState(t);return e.useEffect(()=>b(t),[t]),e.createElement(A,{...u,ref:s,isRoot:!0,hasBackground:i,appearance:h,accentColor:y,grayColor:v,panelBackground:k,radius:B,scaling:T,onAppearanceChange:m,onAccentColorChange:g,onGrayColorChange:C,onPanelBackgroundChange:f,onRadiusChange:x,onScalingChange:b})});I.displayName=\"ThemeRoot\";const A=e.forwardRef((a,s)=>{const r=e.useContext(P),{asChild:c,isRoot:l,hasBackground:p,appearance:n=r?.appearance??o.appearance.default,accentColor:t=r?.accentColor??o.accentColor.default,grayColor:i=r?.resolvedGrayColor??o.grayColor.default,panelBackground:u=r?.panelBackground??o.panelBackground.default,radius:h=r?.radius??o.radius.default,scaling:m=r?.scaling??o.scaling.default,onAppearanceChange:y=d,onAccentColorChange:g=d,onGrayColorChange:v=d,onPanelBackgroundChange:C=d,onRadiusChange:k=d,onScalingChange:f=d,...B}=a,x=c?D.Root:\"div\",T=i===\"auto\"?N(t):i,b=a.appearance===\"light\"||a.appearance===\"dark\",S=p===void 0?l||b:p;return e.createElement(P.Provider,{value:e.useMemo(()=>({appearance:n,accentColor:t,grayColor:i,resolvedGrayColor:T,panelBackground:u,radius:h,scaling:m,onAppearanceChange:y,onAccentColorChange:g,onGrayColorChange:v,onPanelBackgroundChange:C,onRadiusChange:k,onScalingChange:f}),[n,t,i,T,u,h,m,y,g,v,C,k,f])},e.createElement(x,{\"data-is-root-theme\":l?\"true\":\"false\",\"data-accent-color\":t,\"data-gray-color\":T,\"data-has-background\":S?\"true\":\"false\",\"data-panel-background\":u,\"data-radius\":h,\"data-scaling\":m,ref:s,...B,className:E(\"radix-themes\",{light:n===\"light\",dark:n===\"dark\"},B.className)}))});A.displayName=\"ThemeImpl\";export{R as Theme,P as ThemeContext,H as useThemeContext};\n//# sourceMappingURL=theme.js.map\n"],"names":["d","P","e","R","a","s","w.Provider","G.Provider","I","A","r","o","c","l","p","n","t","i","u","h","m","y","g","v","k","f","B","x","T","b","D.Root","N","S","E"],"mappings":"6jBAA+PA,EAAE,IAAI,CAAA,EAAGC,EAAEC,EAAE,cAAc,MAAM,EAAuIC,EAAED,EAAE,WAAW,CAACE,EAAEC,IAAIH,EAAE,WAAWD,CAAC,IAAI,OAAOC,EAAE,cAAcI,EAAU,SAAC,CAAC,cAAc,GAAG,EAAEJ,EAAE,cAAcK,WAAW,CAAC,IAAI,KAAK,EAAEL,EAAE,cAAcM,EAAE,CAAC,GAAGJ,EAAE,IAAIC,CAAC,CAAC,CAAC,CAAC,EAAEH,EAAE,cAAcO,EAAE,CAAC,GAAGL,EAAE,IAAIC,CAAC,CAAC,CAAC,EAAEF,EAAE,YAAY,QAAQ,MAAMK,EAA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oBAAoBC,EAAE,kBAAkBC,EAAE,wBAAwB,EAAE,eAAeC,EAAE,gBAAgBC,CAAC,GAAG,CAACV,EAAEC,EAAEC,EAAEW,EAAEV,EAAEC,EAAEC,EAAEC,EAAEC,EAAEC,EAAE,EAAEC,EAAEC,CAAC,CAAC,CAAC,EAAEvB,EAAE,cAAcyB,EAAE,CAAC,qBAAqBd,EAAE,OAAO,QAAQ,oBAAoBG,EAAE,kBAAkBY,EAAE,sBAAsBI,EAAE,OAAO,QAAQ,wBAAwBd,EAAE,cAAcC,EAAE,eAAeC,EAAE,IAAIf,EAAE,GAAGqB,EAAE,UAAUO,EAAE,eAAe,CAAC,MAAMlB,IAAI,QAAQ,KAAKA,IAAI,MAAM,EAAEW,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,EAAEjB,EAAE,YAAY","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs525.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"gFAAU,IAACA,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACIC,EAAQ,SAAUC,EAAG,CAAE,OAAO,SAASA,GAAK,GAAI,EAAE,GAAK,CAAI,EAC3DC,EAAY,SAAUC,EAAS,CAC/B,IAAIC,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1CC,EAAOD,EAAGD,IAAY,UAAY,cAAgB,YAAY,EAC9DG,EAAMF,EAAGD,IAAY,UAAY,aAAe,WAAW,EAC3DI,EAAQH,EAAGD,IAAY,UAAY,eAAiB,aAAa,EACrE,MAAO,CAACH,EAAMK,CAAI,EAAGL,EAAMM,CAAG,EAAGN,EAAMO,CAAK,CAAC,CACjD,EACWC,EAAc,SAAUL,EAAS,CAExC,GADIA,IAAY,SAAUA,EAAU,UAChC,OAAO,OAAW,IAClB,OAAOJ,EAEX,IAAIU,EAAUP,EAAUC,CAAO,EAC3BO,EAAgB,SAAS,gBAAgB,YACzCC,EAAc,OAAO,WACzB,MAAO,CACH,KAAMF,EAAQ,CAAC,EACf,IAAKA,EAAQ,CAAC,EACd,MAAOA,EAAQ,CAAC,EAChB,IAAK,KAAK,IAAI,EAAGE,EAAcD,EAAgBD,EAAQ,CAAC,EAAIA,EAAQ,CAAC,CAAC,CACzE,CACL","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react"),P=require("./index.cjs456.js"),S=require("./index.cjs457.js"),H=require("./index.cjs458.js"),L=require("./index.cjs474.js"),G=require("./index.cjs477.js"),K=require("./index.cjs475.js"),z=require("./index.cjs462.js"),f=require("./index.cjs498.js"),U=require("./index.cjs476.js"),y=require("./index.cjs465.js"),N=require("./index.cjs460.js"),V=require("./index.cjs480.js"),W=require("./index.cjs459.js"),Z=require("./index.cjs479.js"),B=require("./index.cjs478.js"),u=require("./index.cjs235.js");function J(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:()=>e[o]})}}return n.default=e,Object.freeze(n)}const i=J(I);var C="Popover",[F,Q]=H.createContextScope(C,[f.createPopperScope]),g=f.createPopperScope(),[X,d]=F(C),E=e=>{const{__scopePopover:n,children:o,open:s,defaultOpen:t,onOpenChange:r,modal:c=!1}=e,a=g(n),p=i.useRef(null),[l,m]=i.useState(!1),[R=!1,v]=W.useControllableState({prop:s,defaultProp:t,onChange:r});return u.jsxRuntimeExports.jsx(f.Root,{...a,children:u.jsxRuntimeExports.jsx(X,{scope:n,contentId:z.useId(),triggerRef:p,open:R,onOpenChange:v,onOpenToggle:i.useCallback(()=>v(h=>!h),[v]),hasCustomAnchor:l,onCustomAnchorAdd:i.useCallback(()=>m(!0),[]),onCustomAnchorRemove:i.useCallback(()=>m(!1),[]),modal:c,children:o})})};E.displayName=C;var q="PopoverAnchor",j=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(q,o),r=g(o),{onCustomAnchorAdd:c,onCustomAnchorRemove:a}=t;return i.useEffect(()=>(c(),()=>a()),[c,a]),u.jsxRuntimeExports.jsx(f.Anchor,{...r,...s,ref:n})});j.displayName=q;var D="PopoverTrigger",A=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(D,o),r=g(o),c=S.useComposedRefs(n,t.triggerRef),a=u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":$(t.open),...s,ref:c,onClick:P.composeEventHandlers(e.onClick,t.onOpenToggle)});return t.hasCustomAnchor?a:u.jsxRuntimeExports.jsx(f.Anchor,{asChild:!0,...r,children:a})});A.displayName=D;var O="PopoverPortal",[Y,ee]=F(O,{forceMount:void 0}),_=e=>{const{__scopePopover:n,forceMount:o,children:s,container:t}=e,r=d(O,n);return u.jsxRuntimeExports.jsx(Y,{scope:n,forceMount:o,children:u.jsxRuntimeExports.jsx(y.Presence,{present:o||r.open,children:u.jsxRuntimeExports.jsx(U.Portal,{asChild:!0,container:t,children:s})})})};_.displayName=O;var x="PopoverContent",b=i.forwardRef((e,n)=>{const o=ee(x,e.__scopePopover),{forceMount:s=o.forceMount,...t}=e,r=d(x,e.__scopePopover);return u.jsxRuntimeExports.jsx(y.Presence,{present:s||r.open,children:r.modal?u.jsxRuntimeExports.jsx(te,{...t,ref:n}):u.jsxRuntimeExports.jsx(re,{...t,ref:n})})});b.displayName=x;var oe=V.createSlot("PopoverContent.RemoveScroll"),te=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(null),t=S.useComposedRefs(n,s),r=i.useRef(!1);return i.useEffect(()=>{const c=s.current;if(c)return Z.hideOthers(c)},[]),u.jsxRuntimeExports.jsx(B,{as:oe,allowPinchZoom:!0,children:u.jsxRuntimeExports.jsx(M,{...e,ref:t,trapFocus:o.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:P.composeEventHandlers(e.onCloseAutoFocus,c=>{var a;c.preventDefault(),r.current||(a=o.triggerRef.current)==null||a.focus()}),onPointerDownOutside:P.composeEventHandlers(e.onPointerDownOutside,c=>{const a=c.detail.originalEvent,p=a.button===0&&a.ctrlKey===!0,l=a.button===2||p;r.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:P.composeEventHandlers(e.onFocusOutside,c=>c.preventDefault(),{checkForDefaultPrevented:!1})})})}),re=i.forwardRef((e,n)=>{const o=d(x,e.__scopePopover),s=i.useRef(!1),t=i.useRef(!1);return u.jsxRuntimeExports.jsx(M,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:r=>{var c,a;(c=e.onCloseAutoFocus)==null||c.call(e,r),r.defaultPrevented||(s.current||(a=o.triggerRef.current)==null||a.focus(),r.preventDefault()),s.current=!1,t.current=!1},onInteractOutside:r=>{var p,l;(p=e.onInteractOutside)==null||p.call(e,r),r.defaultPrevented||(s.current=!0,r.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const c=r.target;((l=o.triggerRef.current)==null?void 0:l.contains(c))&&r.preventDefault(),r.detail.originalEvent.type==="focusin"&&t.current&&r.preventDefault()}})}),M=i.forwardRef((e,n)=>{const{__scopePopover:o,trapFocus:s,onOpenAutoFocus:t,onCloseAutoFocus:r,disableOutsidePointerEvents:c,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onInteractOutside:m,...R}=e,v=d(x,o),h=g(o);return G.useFocusGuards(),u.jsxRuntimeExports.jsx(K.FocusScope,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:t,onUnmountAutoFocus:r,children:u.jsxRuntimeExports.jsx(L.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:a,onPointerDownOutside:p,onFocusOutside:l,onDismiss:()=>v.onOpenChange(!1),children:u.jsxRuntimeExports.jsx(f.Content,{"data-state":$(v.open),role:"dialog",id:v.contentId,...h,...R,ref:n,style:{...R.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),T="PopoverClose",w=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=d(T,o);return u.jsxRuntimeExports.jsx(N.Primitive.button,{type:"button",...s,ref:n,onClick:P.composeEventHandlers(e.onClick,()=>t.onOpenChange(!1))})});w.displayName=T;var ne="PopoverArrow",k=i.forwardRef((e,n)=>{const{__scopePopover:o,...s}=e,t=g(o);return u.jsxRuntimeExports.jsx(f.Arrow,{...t,...s,ref:n})});k.displayName=ne;function $(e){return e?"open":"closed"}var se=E,ce=j,ae=A,ie=_,ue=b,pe=w;exports.Anchor=ce;exports.Close=pe;exports.Content=ue;exports.Popover=E;exports.PopoverAnchor=j;exports.PopoverArrow=k;exports.PopoverClose=w;exports.PopoverContent=b;exports.PopoverPortal=_;exports.PopoverTrigger=A;exports.Portal=ie;exports.Root=se;exports.Trigger=ae;exports.createPopoverScope=Q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs527.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
2
2
  //# sourceMappingURL=index.cjs526.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs526.js","sources":["../node_modules/@radix-ui/react-popover/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popover/src/popover.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { DismissableLayer } from \"@radix-ui/react-dismissable-layer\";\nimport { useFocusGuards } from \"@radix-ui/react-focus-guards\";\nimport { FocusScope } from \"@radix-ui/react-focus-scope\";\nimport { useId } from \"@radix-ui/react-id\";\nimport * as PopperPrimitive from \"@radix-ui/react-popper\";\nimport { createPopperScope } from \"@radix-ui/react-popper\";\nimport { Portal as PortalPrimitive } from \"@radix-ui/react-portal\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { createSlot } from \"@radix-ui/react-slot\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { hideOthers } from \"aria-hidden\";\nimport { RemoveScroll } from \"react-remove-scroll\";\nimport { jsx } from \"react/jsx-runtime\";\nvar POPOVER_NAME = \"Popover\";\nvar [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [\n createPopperScope\n]);\nvar usePopperScope = createPopperScope();\nvar [PopoverProvider, usePopoverContext] = createPopoverContext(POPOVER_NAME);\nvar Popover = (props) => {\n const {\n __scopePopover,\n children,\n open: openProp,\n defaultOpen,\n onOpenChange,\n modal = false\n } = props;\n const popperScope = usePopperScope(__scopePopover);\n const triggerRef = React.useRef(null);\n const [hasCustomAnchor, setHasCustomAnchor] = React.useState(false);\n const [open = false, setOpen] = useControllableState({\n prop: openProp,\n defaultProp: defaultOpen,\n onChange: onOpenChange\n });\n return /* @__PURE__ */ jsx(PopperPrimitive.Root, { ...popperScope, children: /* @__PURE__ */ jsx(\n PopoverProvider,\n {\n scope: __scopePopover,\n contentId: useId(),\n triggerRef,\n open,\n onOpenChange: setOpen,\n onOpenToggle: React.useCallback(() => setOpen((prevOpen) => !prevOpen), [setOpen]),\n hasCustomAnchor,\n onCustomAnchorAdd: React.useCallback(() => setHasCustomAnchor(true), []),\n onCustomAnchorRemove: React.useCallback(() => setHasCustomAnchor(false), []),\n modal,\n children\n }\n ) });\n};\nPopover.displayName = POPOVER_NAME;\nvar ANCHOR_NAME = \"PopoverAnchor\";\nvar PopoverAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...anchorProps } = props;\n const context = usePopoverContext(ANCHOR_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n const { onCustomAnchorAdd, onCustomAnchorRemove } = context;\n React.useEffect(() => {\n onCustomAnchorAdd();\n return () => onCustomAnchorRemove();\n }, [onCustomAnchorAdd, onCustomAnchorRemove]);\n return /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { ...popperScope, ...anchorProps, ref: forwardedRef });\n }\n);\nPopoverAnchor.displayName = ANCHOR_NAME;\nvar TRIGGER_NAME = \"PopoverTrigger\";\nvar PopoverTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...triggerProps } = props;\n const context = usePopoverContext(TRIGGER_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n const composedTriggerRef = useComposedRefs(forwardedRef, context.triggerRef);\n const trigger = /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n \"aria-haspopup\": \"dialog\",\n \"aria-expanded\": context.open,\n \"aria-controls\": context.contentId,\n \"data-state\": getState(context.open),\n ...triggerProps,\n ref: composedTriggerRef,\n onClick: composeEventHandlers(props.onClick, context.onOpenToggle)\n }\n );\n return context.hasCustomAnchor ? trigger : /* @__PURE__ */ jsx(PopperPrimitive.Anchor, { asChild: true, ...popperScope, children: trigger });\n }\n);\nPopoverTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"PopoverPortal\";\nvar [PortalProvider, usePortalContext] = createPopoverContext(PORTAL_NAME, {\n forceMount: void 0\n});\nvar PopoverPortal = (props) => {\n const { __scopePopover, forceMount, children, container } = props;\n const context = usePopoverContext(PORTAL_NAME, __scopePopover);\n return /* @__PURE__ */ jsx(PortalProvider, { scope: __scopePopover, forceMount, children: /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: /* @__PURE__ */ jsx(PortalPrimitive, { asChild: true, container, children }) }) });\n};\nPopoverPortal.displayName = PORTAL_NAME;\nvar CONTENT_NAME = \"PopoverContent\";\nvar PopoverContent = React.forwardRef(\n (props, forwardedRef) => {\n const portalContext = usePortalContext(CONTENT_NAME, props.__scopePopover);\n const { forceMount = portalContext.forceMount, ...contentProps } = props;\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.open, children: context.modal ? /* @__PURE__ */ jsx(PopoverContentModal, { ...contentProps, ref: forwardedRef }) : /* @__PURE__ */ jsx(PopoverContentNonModal, { ...contentProps, ref: forwardedRef }) });\n }\n);\nPopoverContent.displayName = CONTENT_NAME;\nvar Slot = createSlot(\"PopoverContent.RemoveScroll\");\nvar PopoverContentModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const isRightClickOutsideRef = React.useRef(false);\n React.useEffect(() => {\n const content = contentRef.current;\n if (content) return hideOthers(content);\n }, []);\n return /* @__PURE__ */ jsx(RemoveScroll, { as: Slot, allowPinchZoom: true, children: /* @__PURE__ */ jsx(\n PopoverContentImpl,\n {\n ...props,\n ref: composedRefs,\n trapFocus: context.open,\n disableOutsidePointerEvents: true,\n onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event) => {\n event.preventDefault();\n if (!isRightClickOutsideRef.current) context.triggerRef.current?.focus();\n }),\n onPointerDownOutside: composeEventHandlers(\n props.onPointerDownOutside,\n (event) => {\n const originalEvent = event.detail.originalEvent;\n const ctrlLeftClick = originalEvent.button === 0 && originalEvent.ctrlKey === true;\n const isRightClick = originalEvent.button === 2 || ctrlLeftClick;\n isRightClickOutsideRef.current = isRightClick;\n },\n { checkForDefaultPrevented: false }\n ),\n onFocusOutside: composeEventHandlers(\n props.onFocusOutside,\n (event) => event.preventDefault(),\n { checkForDefaultPrevented: false }\n )\n }\n ) });\n }\n);\nvar PopoverContentNonModal = React.forwardRef(\n (props, forwardedRef) => {\n const context = usePopoverContext(CONTENT_NAME, props.__scopePopover);\n const hasInteractedOutsideRef = React.useRef(false);\n const hasPointerDownOutsideRef = React.useRef(false);\n return /* @__PURE__ */ jsx(\n PopoverContentImpl,\n {\n ...props,\n ref: forwardedRef,\n trapFocus: false,\n disableOutsidePointerEvents: false,\n onCloseAutoFocus: (event) => {\n props.onCloseAutoFocus?.(event);\n if (!event.defaultPrevented) {\n if (!hasInteractedOutsideRef.current) context.triggerRef.current?.focus();\n event.preventDefault();\n }\n hasInteractedOutsideRef.current = false;\n hasPointerDownOutsideRef.current = false;\n },\n onInteractOutside: (event) => {\n props.onInteractOutside?.(event);\n if (!event.defaultPrevented) {\n hasInteractedOutsideRef.current = true;\n if (event.detail.originalEvent.type === \"pointerdown\") {\n hasPointerDownOutsideRef.current = true;\n }\n }\n const target = event.target;\n const targetIsTrigger = context.triggerRef.current?.contains(target);\n if (targetIsTrigger) event.preventDefault();\n if (event.detail.originalEvent.type === \"focusin\" && hasPointerDownOutsideRef.current) {\n event.preventDefault();\n }\n }\n }\n );\n }\n);\nvar PopoverContentImpl = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopover,\n trapFocus,\n onOpenAutoFocus,\n onCloseAutoFocus,\n disableOutsidePointerEvents,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onInteractOutside,\n ...contentProps\n } = props;\n const context = usePopoverContext(CONTENT_NAME, __scopePopover);\n const popperScope = usePopperScope(__scopePopover);\n useFocusGuards();\n return /* @__PURE__ */ jsx(\n FocusScope,\n {\n asChild: true,\n loop: true,\n trapped: trapFocus,\n onMountAutoFocus: onOpenAutoFocus,\n onUnmountAutoFocus: onCloseAutoFocus,\n children: /* @__PURE__ */ jsx(\n DismissableLayer,\n {\n asChild: true,\n disableOutsidePointerEvents,\n onInteractOutside,\n onEscapeKeyDown,\n onPointerDownOutside,\n onFocusOutside,\n onDismiss: () => context.onOpenChange(false),\n children: /* @__PURE__ */ jsx(\n PopperPrimitive.Content,\n {\n \"data-state\": getState(context.open),\n role: \"dialog\",\n id: context.contentId,\n ...popperScope,\n ...contentProps,\n ref: forwardedRef,\n style: {\n ...contentProps.style,\n // re-namespace exposed content custom properties\n ...{\n \"--radix-popover-content-transform-origin\": \"var(--radix-popper-transform-origin)\",\n \"--radix-popover-content-available-width\": \"var(--radix-popper-available-width)\",\n \"--radix-popover-content-available-height\": \"var(--radix-popper-available-height)\",\n \"--radix-popover-trigger-width\": \"var(--radix-popper-anchor-width)\",\n \"--radix-popover-trigger-height\": \"var(--radix-popper-anchor-height)\"\n }\n }\n }\n )\n }\n )\n }\n );\n }\n);\nvar CLOSE_NAME = \"PopoverClose\";\nvar PopoverClose = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...closeProps } = props;\n const context = usePopoverContext(CLOSE_NAME, __scopePopover);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n ...closeProps,\n ref: forwardedRef,\n onClick: composeEventHandlers(props.onClick, () => context.onOpenChange(false))\n }\n );\n }\n);\nPopoverClose.displayName = CLOSE_NAME;\nvar ARROW_NAME = \"PopoverArrow\";\nvar PopoverArrow = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopover, ...arrowProps } = props;\n const popperScope = usePopperScope(__scopePopover);\n return /* @__PURE__ */ jsx(PopperPrimitive.Arrow, { ...popperScope, ...arrowProps, ref: forwardedRef });\n }\n);\nPopoverArrow.displayName = ARROW_NAME;\nfunction getState(open) {\n return open ? \"open\" : \"closed\";\n}\nvar Root2 = Popover;\nvar Anchor2 = PopoverAnchor;\nvar Trigger = PopoverTrigger;\nvar Portal = PopoverPortal;\nvar Content2 = PopoverContent;\nvar Close = PopoverClose;\nvar Arrow2 = PopoverArrow;\nexport {\n Anchor2 as Anchor,\n Arrow2 as Arrow,\n Close,\n Content2 as Content,\n Popover,\n PopoverAnchor,\n PopoverArrow,\n PopoverClose,\n PopoverContent,\n PopoverPortal,\n PopoverTrigger,\n Portal,\n Root2 as Root,\n Trigger,\n createPopoverScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPOVER_NAME","createPopoverContext","createPopoverScope","createContextScope","createPopperScope","usePopperScope","PopoverProvider","usePopoverContext","Popover","props","__scopePopover","children","openProp","defaultOpen","onOpenChange","modal","popperScope","triggerRef","React","hasCustomAnchor","setHasCustomAnchor","open","setOpen","useControllableState","jsx","PopperPrimitive.Root","useId","prevOpen","ANCHOR_NAME","PopoverAnchor","forwardedRef","anchorProps","context","onCustomAnchorAdd","onCustomAnchorRemove","PopperPrimitive.Anchor","TRIGGER_NAME","PopoverTrigger","triggerProps","composedTriggerRef","useComposedRefs","trigger","Primitive","getState","composeEventHandlers","PORTAL_NAME","PortalProvider","usePortalContext","PopoverPortal","forceMount","container","Presence","PortalPrimitive","CONTENT_NAME","PopoverContent","portalContext","contentProps","PopoverContentModal","PopoverContentNonModal","Slot","createSlot","contentRef","composedRefs","isRightClickOutsideRef","content","hideOthers","RemoveScroll","PopoverContentImpl","event","_a","originalEvent","ctrlLeftClick","isRightClick","hasInteractedOutsideRef","hasPointerDownOutsideRef","_b","target","trapFocus","onOpenAutoFocus","onCloseAutoFocus","disableOutsidePointerEvents","onEscapeKeyDown","onPointerDownOutside","onFocusOutside","onInteractOutside","useFocusGuards","FocusScope","DismissableLayer","PopperPrimitive.Content","CLOSE_NAME","PopoverClose","closeProps","ARROW_NAME","PopoverArrow","arrowProps","PopperPrimitive.Arrow","Root2","Anchor2","Trigger","Portal","Content2","Close"],"mappings":"m3BAqBA,IAAIA,EAAe,UACf,CAACC,EAAsBC,CAAkB,EAAIC,EAAAA,mBAAmBH,EAAc,CAChFI,EAAAA,iBACF,CAAC,EACGC,EAAiBD,EAAAA,kBAAmB,EACpC,CAACE,EAAiBC,CAAiB,EAAIN,EAAqBD,CAAY,EACxEQ,EAAWC,GAAU,CACvB,KAAM,CACJ,eAAAC,EACA,SAAAC,EACA,KAAMC,EACN,YAAAC,EACA,aAAAC,EACA,MAAAC,EAAQ,EACZ,EAAMN,EACEO,EAAcX,EAAeK,CAAc,EAC3CO,EAAaC,EAAM,OAAO,IAAI,EAC9B,CAACC,EAAiBC,CAAkB,EAAIF,EAAM,SAAS,EAAK,EAC5D,CAACG,EAAO,GAAOC,CAAO,EAAIC,EAAAA,qBAAqB,CACnD,KAAMX,EACN,YAAaC,EACb,SAAUC,CACd,CAAG,EACD,OAAuBU,EAAG,kBAAA,IAACC,EAAoB,KAAE,CAAE,GAAGT,EAAa,SAA0BQ,EAAG,kBAAA,IAC9FlB,EACA,CACE,MAAOI,EACP,UAAWgB,EAAAA,MAAO,EAClB,WAAAT,EACA,KAAAI,EACA,aAAcC,EACd,aAAcJ,EAAM,YAAY,IA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QACvB,CACE,aAAc7C,EAASX,EAAQ,IAAI,EACnC,KAAM,SACN,GAAIA,EAAQ,UACZ,GAAGhB,EACH,GAAGwC,EACH,IAAK1B,EACL,MAAO,CACL,GAAG0B,EAAa,MAGd,2CAA4C,uCAC5C,0CAA2C,sCAC3C,2CAA4C,uCAC5C,gCAAiC,mCACjC,iCAAkC,mCAEtD,CACA,CACA,CACA,CACA,CACA,CACK,CACL,CACA,EACIiC,EAAa,eACbC,EAAexE,EAAM,WACvB,CAACT,EAAOqB,IAAiB,CACvB,KAAM,CAAE,eAAApB,EAAgB,GAAGiF,CAAU,EAAKlF,EACpCuB,EAAUzB,EAAkBkF,EAAY/E,CAAc,EAC5D,OAAuBc,EAAG,kBAAA,IACxBkB,EAAAA,UAAU,OACV,CACE,KAAM,SACN,GAAGiD,EACH,IAAK7D,EACL,QAASc,EAAoB,qBAACnC,EAAM,QAAS,IAAMuB,EAAQ,aAAa,EAAK,CAAC,CACtF,CACK,CACL,CACA,EACA0D,EAAa,YAAcD,EAC3B,IAAIG,GAAa,eACbC,EAAe3E,EAAM,WACvB,CAACT,EAAOqB,IAAiB,CACvB,KAAM,CAAE,eAAApB,EAAgB,GAAGoF,CAAU,EAAKrF,EACpCO,EAAcX,EAAeK,CAAc,EACjD,OAAuBc,EAAG,kBAAA,IAACuE,EAAqB,MAAE,CAAE,GAAG/E,EAAa,GAAG8E,EAAY,IAAKhE,EAAc,CAC1G,CACA,EACA+D,EAAa,YAAcD,GAC3B,SAASjD,EAAStB,EAAM,CACtB,OAAOA,EAAO,OAAS,QACzB,CACG,IAAC2E,GAAQxF,EACRyF,GAAUpE,EACVqE,GAAU7D,EACV8D,GAASnD,EACToD,GAAW9C,EACX+C,GAAQX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs526.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAqB,EACjC,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAQ,CACjB,CACb,EAAW,CAACE,GAAUC,CAAS,CAAC,CAC3B,CACL","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs557.js"),e=require("./index.cjs559.js"),o=["1","2","3"],s={...r.asChildPropDef,size:{values:o,default:"1"},...e.radiusPropDef,scrollbars:{default:"both"}};exports.scrollAreaPropDefs=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs528.js");function r(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=o.getNonce();return e&&t.setAttribute("nonce",e),t}function l(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function i(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var u=function(){var t=0,e=null;return{add:function(n){t==0&&(e=r())&&(l(e,n),i(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};exports.stylesheetSingleton=u;
2
2
  //# sourceMappingURL=index.cjs527.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs527.js","sources":["../node_modules/@radix-ui/themes/dist/esm/components/scroll-area.props.js"],"sourcesContent":["import{asChildPropDef as s}from\"../props/as-child.prop.js\";import{radiusPropDef as e}from\"../props/radius.prop.js\";const r=[\"1\",\"2\",\"3\"],o=[\"vertical\",\"horizontal\",\"both\"],t={...s,size:{type:\"enum\",className:\"rt-r-size\",values:r,default:\"1\",responsive:!0},...e,scrollbars:{type:\"enum\",values:o,default:\"both\"}};export{t as scrollAreaPropDefs};\n//# sourceMappingURL=scroll-area.props.js.map\n"],"names":["r","t","s","e"],"mappings":"oJAAyHA,EAAE,CAAC,IAAI,IAAI,GAAG,EAAqCC,EAAE,CAAC,GAAGC,EAAAA,eAAE,KAAK,CAAmC,OAAOF,EAAE,QAAQ,GAAiB,EAAE,GAAGG,EAAAA,cAAE,WAAW,CAAsB,QAAQ,MAAM,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs527.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":"qHACA,SAASA,GAAe,CACpB,GAAI,CAAC,SACD,OAAO,KACX,IAAIC,EAAM,SAAS,cAAc,OAAO,EACxCA,EAAI,KAAO,WACX,IAAIC,EAAQC,EAAAA,SAAU,EACtB,OAAID,GACAD,EAAI,aAAa,QAASC,CAAK,EAE5BD,CACX,CACA,SAASG,EAAaH,EAAKI,EAAK,CAExBJ,EAAI,WAEJA,EAAI,WAAW,QAAUI,EAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC,CAEpD,CACA,SAASC,EAAeL,EAAK,CACzB,IAAIM,EAAO,SAAS,MAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC,EACnEA,EAAK,YAAYN,CAAG,CACxB,CACU,IAACO,EAAsB,UAAY,CACzC,IAAIC,EAAU,EACVC,EAAa,KACjB,MAAO,CACH,IAAK,SAAUC,EAAO,CACdF,GAAW,IACNC,EAAaV,OACdI,EAAaM,EAAYC,CAAK,EAC9BL,EAAeI,CAAU,GAGjCD,GACH,EACD,OAAQ,UAAY,CAChBA,IACI,CAACA,GAAWC,IACZA,EAAW,YAAcA,EAAW,WAAW,YAAYA,CAAU,EACrEA,EAAa,KAEpB,CACJ,CACL","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function c(m){const{m:t,mx:r,my:e,mt:n,mr:o,mb:i,ml:s,...a}=m;return{m:t,mx:r,my:e,mt:n,mr:o,mb:i,ml:s,rest:a}}exports.extractMarginProps=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};exports.getNonce=e;
2
2
  //# sourceMappingURL=index.cjs528.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs528.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/extract-margin-props.js"],"sourcesContent":["function a(r){const{m:t,mx:m,my:o,mt:p,mr:n,mb:s,ml:e,...i}=r;return{m:t,mx:m,my:o,mt:p,mr:n,mb:s,ml:e,rest:i}}export{a as extractMarginProps};\n//# sourceMappingURL=extract-margin-props.js.map\n"],"names":["a","r","m","o","p","n","s","e","i"],"mappings":"gFAAA,SAASA,EAAEC,EAAE,CAAC,KAAK,CAAC,EAAE,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,CAAC,EAAEP,EAAE,MAAM,CAAC,EAAE,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,GAAGC,EAAE,KAAKC,CAAC,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs528.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"gFAIU,IAACA,EAAW,UAAY,CAI9B,GAAI,OAAO,kBAAsB,IAC7B,OAAO,iBAGf","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const P=require("./index.cjs515.js"),r=require("./index.cjs530.js"),N=require("./index.cjs532.js"),R=require("./index.cjs520.js"),t=R.marginPropDefs.m.values;function V(e){const[s,o]=r.getResponsiveStyles({className:"rt-r-m",customProperties:["--margin"],propValues:t,value:e.m}),[m,a]=r.getResponsiveStyles({className:"rt-r-mx",customProperties:["--margin-left","--margin-right"],propValues:t,value:e.mx}),[l,i]=r.getResponsiveStyles({className:"rt-r-my",customProperties:["--margin-top","--margin-bottom"],propValues:t,value:e.my}),[p,n]=r.getResponsiveStyles({className:"rt-r-mt",customProperties:["--margin-top"],propValues:t,value:e.mt}),[u,g]=r.getResponsiveStyles({className:"rt-r-mr",customProperties:["--margin-right"],propValues:t,value:e.mr}),[c,v]=r.getResponsiveStyles({className:"rt-r-mb",customProperties:["--margin-bottom"],propValues:t,value:e.mb}),[y,S]=r.getResponsiveStyles({className:"rt-r-ml",customProperties:["--margin-left"],propValues:t,value:e.ml});return[P(s,m,l,p,u,c,y),N.mergeStyles(o,a,i,n,g,v,S)]}exports.getMarginStyles=V;
1
+ "use strict";const e=require("./index.cjs445.js"),r=require("./index.cjs555.js");var s=r.__require();const t=e.getDefaultExportFromCjs(s);module.exports=t;
2
2
  //# sourceMappingURL=index.cjs529.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs529.js","sources":["../node_modules/@radix-ui/themes/dist/esm/helpers/get-margin-styles.js"],"sourcesContent":["import f from\"classnames\";import{getResponsiveStyles as m}from\"./get-responsive-styles.js\";import{mergeStyles as v}from\"./merge-styles.js\";import{marginPropDefs as y}from\"../props/margin.props.js\";const r=y.m.values;function S(s){const[e,t]=m({className:\"rt-r-m\",customProperties:[\"--margin\"],propValues:r,value:s.m}),[a,o]=m({className:\"rt-r-mx\",customProperties:[\"--margin-left\",\"--margin-right\"],propValues:r,value:s.mx}),[l,i]=m({className:\"rt-r-my\",customProperties:[\"--margin-top\",\"--margin-bottom\"],propValues:r,value:s.my}),[p,u]=m({className:\"rt-r-mt\",customProperties:[\"--margin-top\"],propValues:r,value:s.mt}),[n,c]=m({className:\"rt-r-mr\",customProperties:[\"--margin-right\"],propValues:r,value:s.mr}),[g,P]=m({className:\"rt-r-mb\",customProperties:[\"--margin-bottom\"],propValues:r,value:s.mb}),[N,C]=m({className:\"rt-r-ml\",customProperties:[\"--margin-left\"],propValues:r,value:s.ml});return[f(e,a,l,p,n,g,N),v(t,o,i,u,c,P,C)]}export{S as getMarginStyles};\n//# sourceMappingURL=get-margin-styles.js.map\n"],"names":["r","y","S","s","e","t","m","a","o","u","n","c","g","P","N","C","f","v"],"mappings":"kNA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