@anoki/fse-ui 1.0.0-beta1.45.7 → 1.0.0-beta1.45.9

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 (663) hide show
  1. package/dist/components/ui/BaseModal/BaseModal.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs156.js +1 -1
  4. package/dist/index.cjs157.js +1 -1
  5. package/dist/index.cjs158.js +1 -1
  6. package/dist/index.cjs159.js +1 -1
  7. package/dist/index.cjs160.js +1 -1
  8. package/dist/index.cjs161.js +1 -1
  9. package/dist/index.cjs162.js +1 -1
  10. package/dist/index.cjs163.js +1 -1
  11. package/dist/index.cjs164.js +1 -1
  12. package/dist/index.cjs165.js +1 -1
  13. package/dist/index.cjs166.js +1 -1
  14. package/dist/index.cjs167.js +1 -1
  15. package/dist/index.cjs168.js +1 -1
  16. package/dist/index.cjs169.js +1 -1
  17. package/dist/index.cjs170.js +1 -1
  18. package/dist/index.cjs171.js +1 -1
  19. package/dist/index.cjs172.js +1 -1
  20. package/dist/index.cjs173.js +1 -1
  21. package/dist/index.cjs174.js +1 -1
  22. package/dist/index.cjs175.js +1 -1
  23. package/dist/index.cjs176.js +1 -1
  24. package/dist/index.cjs177.js +1 -1
  25. package/dist/index.cjs178.js +1 -1
  26. package/dist/index.cjs182.js +1 -1
  27. package/dist/index.cjs183.js +1 -1
  28. package/dist/index.cjs184.js +1 -1
  29. package/dist/index.cjs186.js +1 -1
  30. package/dist/index.cjs187.js +1 -1
  31. package/dist/index.cjs188.js +1 -1
  32. package/dist/index.cjs189.js +1 -1
  33. package/dist/index.cjs190.js +1 -1
  34. package/dist/index.cjs191.js +1 -1
  35. package/dist/index.cjs192.js +1 -1
  36. package/dist/index.cjs193.js +1 -1
  37. package/dist/index.cjs194.js +1 -1
  38. package/dist/index.cjs196.js +1 -1
  39. package/dist/index.cjs197.js +1 -1
  40. package/dist/index.cjs198.js +1 -1
  41. package/dist/index.cjs199.js +1 -1
  42. package/dist/index.cjs200.js +1 -1
  43. package/dist/index.cjs201.js +1 -1
  44. package/dist/index.cjs202.js +1 -1
  45. package/dist/index.cjs205.js +1 -1
  46. package/dist/index.cjs206.js +1 -1
  47. package/dist/index.cjs207.js +1 -1
  48. package/dist/index.cjs208.js +1 -1
  49. package/dist/index.cjs209.js +1 -1
  50. package/dist/index.cjs210.js +1 -1
  51. package/dist/index.cjs211.js +1 -1
  52. package/dist/index.cjs212.js +1 -1
  53. package/dist/index.cjs218.js +1 -1
  54. package/dist/index.cjs220.js +1 -1
  55. package/dist/index.cjs221.js +1 -1
  56. package/dist/index.cjs24.js +1 -1
  57. package/dist/index.cjs259.js +1 -1
  58. package/dist/index.cjs260.js +1 -1
  59. package/dist/index.cjs261.js +1 -1
  60. package/dist/index.cjs271.js +1 -1
  61. package/dist/index.cjs271.js.map +1 -1
  62. package/dist/index.cjs273.js +2 -0
  63. package/dist/index.cjs273.js.map +1 -0
  64. package/dist/index.cjs28.js +1 -1
  65. package/dist/index.cjs281.js +1 -1
  66. package/dist/index.cjs290.js +1 -1
  67. package/dist/index.cjs293.js +1 -1
  68. package/dist/index.cjs295.js +1 -1
  69. package/dist/index.cjs303.js +1 -1
  70. package/dist/index.cjs314.js +1 -1
  71. package/dist/index.cjs319.js +1 -1
  72. package/dist/index.cjs321.js +1 -1
  73. package/dist/index.cjs328.js +1 -1
  74. package/dist/index.cjs333.js +1 -1
  75. package/dist/index.cjs344.js +1 -1
  76. package/dist/index.cjs350.js +1 -1
  77. package/dist/index.cjs351.js +1 -1
  78. package/dist/index.cjs352.js +1 -1
  79. package/dist/index.cjs370.js +1 -1
  80. package/dist/index.cjs371.js +1 -1
  81. package/dist/index.cjs393.js +1 -1
  82. package/dist/index.cjs399.js +1 -1
  83. package/dist/index.cjs411.js +1 -1
  84. package/dist/index.cjs433.js +1 -1
  85. package/dist/index.cjs44.js +1 -1
  86. package/dist/index.cjs44.js.map +1 -1
  87. package/dist/index.cjs451.js +1 -1
  88. package/dist/index.cjs452.js +1 -1
  89. package/dist/index.cjs458.js +1 -1
  90. package/dist/index.cjs462.js +1 -1
  91. package/dist/index.cjs462.js.map +1 -1
  92. package/dist/index.cjs465.js +1 -1
  93. package/dist/index.cjs465.js.map +1 -1
  94. package/dist/index.cjs466.js +1 -1
  95. package/dist/index.cjs466.js.map +1 -1
  96. package/dist/index.cjs467.js +2 -0
  97. package/dist/index.cjs467.js.map +1 -0
  98. package/dist/index.cjs468.js +1 -1
  99. package/dist/index.cjs468.js.map +1 -1
  100. package/dist/index.cjs469.js +2 -0
  101. package/dist/index.cjs469.js.map +1 -0
  102. package/dist/index.cjs470.js +2 -0
  103. package/dist/index.cjs470.js.map +1 -0
  104. package/dist/index.cjs471.js +1 -1
  105. package/dist/index.cjs471.js.map +1 -1
  106. package/dist/index.cjs472.js +1 -1
  107. package/dist/index.cjs472.js.map +1 -1
  108. package/dist/index.cjs473.js +1 -1
  109. package/dist/index.cjs473.js.map +1 -1
  110. package/dist/index.cjs474.js +1 -1
  111. package/dist/index.cjs474.js.map +1 -1
  112. package/dist/index.cjs475.js +1 -1
  113. package/dist/index.cjs475.js.map +1 -1
  114. package/dist/index.cjs476.js +1 -1
  115. package/dist/index.cjs476.js.map +1 -1
  116. package/dist/index.cjs477.js +1 -1
  117. package/dist/index.cjs477.js.map +1 -1
  118. package/dist/index.cjs478.js +1 -1
  119. package/dist/index.cjs478.js.map +1 -1
  120. package/dist/index.cjs479.js +1 -1
  121. package/dist/index.cjs479.js.map +1 -1
  122. package/dist/index.cjs480.js +1 -1
  123. package/dist/index.cjs480.js.map +1 -1
  124. package/dist/index.cjs481.js +1 -1
  125. package/dist/index.cjs481.js.map +1 -1
  126. package/dist/index.cjs485.js +1 -1
  127. package/dist/index.cjs485.js.map +1 -1
  128. package/dist/index.cjs486.js +1 -1
  129. package/dist/index.cjs486.js.map +1 -1
  130. package/dist/index.cjs487.js +1 -1
  131. package/dist/index.cjs487.js.map +1 -1
  132. package/dist/index.cjs488.js +1 -1
  133. package/dist/index.cjs488.js.map +1 -1
  134. package/dist/index.cjs489.js +1 -1
  135. package/dist/index.cjs489.js.map +1 -1
  136. package/dist/index.cjs491.js +1 -1
  137. package/dist/index.cjs491.js.map +1 -1
  138. package/dist/index.cjs497.js +1 -1
  139. package/dist/index.cjs497.js.map +1 -1
  140. package/dist/index.cjs498.js +2 -0
  141. package/dist/index.cjs498.js.map +1 -0
  142. package/dist/index.cjs499.js +2 -0
  143. package/dist/index.cjs499.js.map +1 -0
  144. package/dist/index.cjs500.js +2 -0
  145. package/dist/index.cjs500.js.map +1 -0
  146. package/dist/index.cjs501.js +2 -0
  147. package/dist/index.cjs501.js.map +1 -0
  148. package/dist/index.cjs502.js +1 -1
  149. package/dist/index.cjs502.js.map +1 -1
  150. package/dist/index.cjs513.js +1 -1
  151. package/dist/index.cjs513.js.map +1 -1
  152. package/dist/{index.cjs495.js → index.cjs514.js} +2 -2
  153. package/dist/{index.cjs495.js.map → index.cjs514.js.map} +1 -1
  154. package/dist/{index.cjs496.js → index.cjs515.js} +2 -2
  155. package/dist/{index.cjs496.js.map → index.cjs515.js.map} +1 -1
  156. package/dist/index.cjs516.js +2 -0
  157. package/dist/index.cjs516.js.map +1 -0
  158. package/dist/index.cjs517.js +2 -0
  159. package/dist/index.cjs517.js.map +1 -0
  160. package/dist/{index.cjs503.js → index.cjs518.js} +2 -2
  161. package/dist/{index.cjs503.js.map → index.cjs518.js.map} +1 -1
  162. package/dist/index.cjs519.js +1 -38
  163. package/dist/index.cjs519.js.map +1 -1
  164. package/dist/index.cjs520.js +1 -1
  165. package/dist/index.cjs520.js.map +1 -1
  166. package/dist/index.cjs521.js +1 -1
  167. package/dist/index.cjs521.js.map +1 -1
  168. package/dist/index.cjs522.js +1 -1
  169. package/dist/index.cjs522.js.map +1 -1
  170. package/dist/index.cjs523.js +4 -1
  171. package/dist/index.cjs523.js.map +1 -1
  172. package/dist/{index.cjs510.js → index.cjs524.js} +2 -2
  173. package/dist/{index.cjs510.js.map → index.cjs524.js.map} +1 -1
  174. package/dist/{index.cjs511.js → index.cjs525.js} +2 -2
  175. package/dist/{index.cjs511.js.map → index.cjs525.js.map} +1 -1
  176. package/dist/{index.cjs512.js → index.cjs526.js} +1 -1
  177. package/dist/{index.cjs512.js.map → index.cjs526.js.map} +1 -1
  178. package/dist/index.cjs527.js +2 -0
  179. package/dist/index.cjs527.js.map +1 -0
  180. package/dist/index.cjs528.js +2 -0
  181. package/dist/index.cjs528.js.map +1 -0
  182. package/dist/index.cjs529.js +2 -0
  183. package/dist/index.cjs529.js.map +1 -0
  184. package/dist/index.cjs530.js +2 -0
  185. package/dist/index.cjs530.js.map +1 -0
  186. package/dist/index.cjs531.js +2 -0
  187. package/dist/index.cjs531.js.map +1 -0
  188. package/dist/index.cjs532.js +2 -0
  189. package/dist/index.cjs532.js.map +1 -0
  190. package/dist/index.cjs533.js +1 -1
  191. package/dist/index.cjs533.js.map +1 -1
  192. package/dist/index.cjs534.js +1 -1
  193. package/dist/index.cjs534.js.map +1 -1
  194. package/dist/index.cjs535.js +1 -1
  195. package/dist/index.cjs535.js.map +1 -1
  196. package/dist/index.cjs536.js +1 -1
  197. package/dist/index.cjs536.js.map +1 -1
  198. package/dist/index.cjs537.js +1 -1
  199. package/dist/index.cjs537.js.map +1 -1
  200. package/dist/index.cjs538.js +1 -1
  201. package/dist/index.cjs538.js.map +1 -1
  202. package/dist/index.cjs539.js +1 -1
  203. package/dist/index.cjs539.js.map +1 -1
  204. package/dist/index.cjs540.js +1 -1
  205. package/dist/index.cjs540.js.map +1 -1
  206. package/dist/index.cjs541.js +1 -1
  207. package/dist/index.cjs541.js.map +1 -1
  208. package/dist/index.cjs542.js +1 -1
  209. package/dist/index.cjs542.js.map +1 -1
  210. package/dist/index.cjs543.js +1 -1
  211. package/dist/index.cjs543.js.map +1 -1
  212. package/dist/index.cjs544.js +1 -1
  213. package/dist/index.cjs544.js.map +1 -1
  214. package/dist/index.cjs545.js +1 -1
  215. package/dist/index.cjs545.js.map +1 -1
  216. package/dist/index.cjs546.js +1 -1
  217. package/dist/index.cjs546.js.map +1 -1
  218. package/dist/index.cjs547.js +1 -1
  219. package/dist/index.cjs547.js.map +1 -1
  220. package/dist/index.cjs548.js +1 -1
  221. package/dist/index.cjs548.js.map +1 -1
  222. package/dist/index.cjs549.js +1 -1
  223. package/dist/index.cjs549.js.map +1 -1
  224. package/dist/index.cjs550.js +1 -1
  225. package/dist/index.cjs550.js.map +1 -1
  226. package/dist/index.cjs551.js +1 -1
  227. package/dist/index.cjs551.js.map +1 -1
  228. package/dist/index.cjs552.js +1 -1
  229. package/dist/index.cjs552.js.map +1 -1
  230. package/dist/index.cjs553.js +1 -1
  231. package/dist/index.cjs553.js.map +1 -1
  232. package/dist/index.cjs554.js +38 -1
  233. package/dist/index.cjs554.js.map +1 -1
  234. package/dist/index.cjs555.js +1 -1
  235. package/dist/index.cjs555.js.map +1 -1
  236. package/dist/index.cjs556.js +1 -1
  237. package/dist/index.cjs556.js.map +1 -1
  238. package/dist/index.cjs557.js +1 -1
  239. package/dist/index.cjs557.js.map +1 -1
  240. package/dist/index.cjs558.js +1 -1
  241. package/dist/index.cjs558.js.map +1 -1
  242. package/dist/index.cjs559.js +5 -1
  243. package/dist/index.cjs559.js.map +1 -1
  244. package/dist/index.cjs560.js +1 -1
  245. package/dist/index.cjs560.js.map +1 -1
  246. package/dist/index.cjs561.js +1 -1
  247. package/dist/index.cjs561.js.map +1 -1
  248. package/dist/index.cjs562.js +1 -1
  249. package/dist/index.cjs562.js.map +1 -1
  250. package/dist/index.cjs563.js +1 -1
  251. package/dist/index.cjs563.js.map +1 -1
  252. package/dist/index.cjs564.js +1 -1
  253. package/dist/index.cjs564.js.map +1 -1
  254. package/dist/index.cjs565.js +1 -5
  255. package/dist/index.cjs565.js.map +1 -1
  256. package/dist/index.cjs566.js +1 -1
  257. package/dist/index.cjs566.js.map +1 -1
  258. package/dist/index.cjs567.js +1 -1
  259. package/dist/index.cjs567.js.map +1 -1
  260. package/dist/index.cjs568.js +1 -1
  261. package/dist/index.cjs568.js.map +1 -1
  262. package/dist/index.cjs569.js +1 -1
  263. package/dist/index.cjs569.js.map +1 -1
  264. package/dist/index.cjs570.js +1 -1
  265. package/dist/index.cjs570.js.map +1 -1
  266. package/dist/index.cjs571.js +1 -1
  267. package/dist/index.cjs571.js.map +1 -1
  268. package/dist/index.cjs572.js +1 -1
  269. package/dist/index.cjs572.js.map +1 -1
  270. package/dist/index.cjs573.js +1 -1
  271. package/dist/index.cjs573.js.map +1 -1
  272. package/dist/index.cjs574.js +1 -1
  273. package/dist/index.cjs574.js.map +1 -1
  274. package/dist/index.cjs575.js +1 -1
  275. package/dist/index.cjs575.js.map +1 -1
  276. package/dist/index.cjs576.js +1 -1
  277. package/dist/index.cjs576.js.map +1 -1
  278. package/dist/{index.cjs582.js → index.cjs578.js} +2 -2
  279. package/dist/{index.cjs582.js.map → index.cjs578.js.map} +1 -1
  280. package/dist/{index.cjs583.js → index.cjs579.js} +1 -1
  281. package/dist/index.cjs579.js.map +1 -0
  282. package/dist/index.cjs586.js +1 -1
  283. package/dist/index.cjs586.js.map +1 -1
  284. package/dist/index.cjs587.js +1 -1
  285. package/dist/index.cjs587.js.map +1 -1
  286. package/dist/index.cjs588.js +2 -0
  287. package/dist/index.cjs588.js.map +1 -0
  288. package/dist/index.cjs589.js +2 -0
  289. package/dist/index.cjs589.js.map +1 -0
  290. package/dist/index.cjs6.js +1 -1
  291. package/dist/index.cjs64.js +1 -1
  292. package/dist/index.cjs7.js +1 -1
  293. package/dist/index.cjs8.js +1 -1
  294. package/dist/index.cjs9.js +1 -1
  295. package/dist/index.es10.js +2 -2
  296. package/dist/index.es156.js +1 -1
  297. package/dist/index.es157.js +1 -1
  298. package/dist/index.es158.js +1 -1
  299. package/dist/index.es159.js +1 -1
  300. package/dist/index.es160.js +1 -1
  301. package/dist/index.es161.js +1 -1
  302. package/dist/index.es162.js +1 -1
  303. package/dist/index.es163.js +1 -1
  304. package/dist/index.es164.js +1 -1
  305. package/dist/index.es165.js +1 -1
  306. package/dist/index.es166.js +1 -1
  307. package/dist/index.es167.js +1 -1
  308. package/dist/index.es168.js +1 -1
  309. package/dist/index.es169.js +1 -1
  310. package/dist/index.es170.js +1 -1
  311. package/dist/index.es171.js +1 -1
  312. package/dist/index.es172.js +1 -1
  313. package/dist/index.es173.js +1 -1
  314. package/dist/index.es174.js +1 -1
  315. package/dist/index.es175.js +1 -1
  316. package/dist/index.es176.js +1 -1
  317. package/dist/index.es177.js +1 -1
  318. package/dist/index.es178.js +1 -1
  319. package/dist/index.es182.js +1 -1
  320. package/dist/index.es183.js +1 -1
  321. package/dist/index.es184.js +1 -1
  322. package/dist/index.es186.js +1 -1
  323. package/dist/index.es187.js +1 -1
  324. package/dist/index.es188.js +1 -1
  325. package/dist/index.es189.js +1 -1
  326. package/dist/index.es190.js +1 -1
  327. package/dist/index.es191.js +1 -1
  328. package/dist/index.es192.js +1 -1
  329. package/dist/index.es193.js +1 -1
  330. package/dist/index.es194.js +1 -1
  331. package/dist/index.es196.js +1 -1
  332. package/dist/index.es197.js +1 -1
  333. package/dist/index.es198.js +1 -1
  334. package/dist/index.es199.js +1 -1
  335. package/dist/index.es200.js +1 -1
  336. package/dist/index.es201.js +1 -1
  337. package/dist/index.es202.js +1 -1
  338. package/dist/index.es205.js +1 -1
  339. package/dist/index.es206.js +1 -1
  340. package/dist/index.es207.js +1 -1
  341. package/dist/index.es208.js +1 -1
  342. package/dist/index.es209.js +1 -1
  343. package/dist/index.es210.js +1 -1
  344. package/dist/index.es211.js +1 -1
  345. package/dist/index.es212.js +1 -1
  346. package/dist/index.es218.js +1 -1
  347. package/dist/index.es220.js +1 -1
  348. package/dist/index.es221.js +1 -1
  349. package/dist/index.es24.js +1 -1
  350. package/dist/index.es259.js +2 -2
  351. package/dist/index.es260.js +3 -3
  352. package/dist/index.es261.js +3 -3
  353. package/dist/index.es271.js +27 -2
  354. package/dist/index.es271.js.map +1 -1
  355. package/dist/index.es273.js +5 -0
  356. package/dist/index.es273.js.map +1 -0
  357. package/dist/index.es28.js +1 -1
  358. package/dist/index.es281.js +1 -1
  359. package/dist/index.es290.js +7 -7
  360. package/dist/index.es293.js +1 -1
  361. package/dist/index.es295.js +1 -1
  362. package/dist/index.es303.js +8 -8
  363. package/dist/index.es314.js +1 -1
  364. package/dist/index.es319.js +1 -1
  365. package/dist/index.es321.js +13 -13
  366. package/dist/index.es328.js +1 -1
  367. package/dist/index.es333.js +1 -1
  368. package/dist/index.es344.js +1 -1
  369. package/dist/index.es350.js +1 -1
  370. package/dist/index.es351.js +1 -1
  371. package/dist/index.es352.js +7 -7
  372. package/dist/index.es370.js +6 -6
  373. package/dist/index.es371.js +2 -2
  374. package/dist/index.es393.js +4 -4
  375. package/dist/index.es399.js +1 -1
  376. package/dist/index.es411.js +8 -8
  377. package/dist/index.es433.js +1 -1
  378. package/dist/index.es44.js +27 -26
  379. package/dist/index.es44.js.map +1 -1
  380. package/dist/index.es451.js +1 -1
  381. package/dist/index.es452.js +1 -1
  382. package/dist/index.es458.js +2 -2
  383. package/dist/index.es462.js +15 -2
  384. package/dist/index.es462.js.map +1 -1
  385. package/dist/index.es465.js +6 -3
  386. package/dist/index.es465.js.map +1 -1
  387. package/dist/index.es466.js +24 -130
  388. package/dist/index.es466.js.map +1 -1
  389. package/dist/index.es467.js +71 -0
  390. package/dist/index.es467.js.map +1 -0
  391. package/dist/index.es468.js +52 -15
  392. package/dist/index.es468.js.map +1 -1
  393. package/dist/index.es469.js +37 -0
  394. package/dist/index.es469.js.map +1 -0
  395. package/dist/index.es470.js +625 -0
  396. package/dist/index.es470.js.map +1 -0
  397. package/dist/index.es471.js +10 -6
  398. package/dist/index.es471.js.map +1 -1
  399. package/dist/index.es472.js +5 -26
  400. package/dist/index.es472.js.map +1 -1
  401. package/dist/index.es473.js +24 -67
  402. package/dist/index.es473.js.map +1 -1
  403. package/dist/index.es474.js +65 -48
  404. package/dist/index.es474.js.map +1 -1
  405. package/dist/index.es475.js +2 -34
  406. package/dist/index.es475.js.map +1 -1
  407. package/dist/index.es476.js +2 -622
  408. package/dist/index.es476.js.map +1 -1
  409. package/dist/index.es477.js +9 -10
  410. package/dist/index.es477.js.map +1 -1
  411. package/dist/index.es478.js +178 -4
  412. package/dist/index.es478.js.map +1 -1
  413. package/dist/index.es479.js +3 -56
  414. package/dist/index.es479.js.map +1 -1
  415. package/dist/index.es480.js +130 -43
  416. package/dist/index.es480.js.map +1 -1
  417. package/dist/index.es481.js +14 -13
  418. package/dist/index.es481.js.map +1 -1
  419. package/dist/index.es485.js +113 -206
  420. package/dist/index.es485.js.map +1 -1
  421. package/dist/index.es486.js +134 -13
  422. package/dist/index.es486.js.map +1 -1
  423. package/dist/index.es487.js +14 -69
  424. package/dist/index.es487.js.map +1 -1
  425. package/dist/index.es488.js +13 -179
  426. package/dist/index.es488.js.map +1 -1
  427. package/dist/index.es489.js +8 -10
  428. package/dist/index.es489.js.map +1 -1
  429. package/dist/index.es491.js +57 -9
  430. package/dist/index.es491.js.map +1 -1
  431. package/dist/index.es497.js +3 -396
  432. package/dist/index.es497.js.map +1 -1
  433. package/dist/index.es498.js +49 -0
  434. package/dist/index.es498.js.map +1 -0
  435. package/dist/index.es499.js +17 -0
  436. package/dist/index.es499.js.map +1 -0
  437. package/dist/index.es500.js +221 -0
  438. package/dist/index.es500.js.map +1 -0
  439. package/dist/index.es501.js +184 -0
  440. package/dist/index.es501.js.map +1 -0
  441. package/dist/index.es502.js +10 -24
  442. package/dist/index.es502.js.map +1 -1
  443. package/dist/index.es513.js +11 -128
  444. package/dist/index.es513.js.map +1 -1
  445. package/dist/{index.es495.js → index.es514.js} +3 -3
  446. package/dist/{index.es495.js.map → index.es514.js.map} +1 -1
  447. package/dist/{index.es496.js → index.es515.js} +2 -2
  448. package/dist/{index.es496.js.map → index.es515.js.map} +1 -1
  449. package/dist/index.es516.js +400 -0
  450. package/dist/index.es516.js.map +1 -0
  451. package/dist/index.es517.js +28 -0
  452. package/dist/index.es517.js.map +1 -0
  453. package/dist/{index.es503.js → index.es518.js} +5 -5
  454. package/dist/{index.es503.js.map → index.es518.js.map} +1 -1
  455. package/dist/index.es519.js +5 -69
  456. package/dist/index.es519.js.map +1 -1
  457. package/dist/index.es520.js +5 -9
  458. package/dist/index.es520.js.map +1 -1
  459. package/dist/index.es521.js +3 -14
  460. package/dist/index.es521.js.map +1 -1
  461. package/dist/index.es522.js +23 -61
  462. package/dist/index.es522.js.map +1 -1
  463. package/dist/index.es523.js +103 -58
  464. package/dist/index.es523.js.map +1 -1
  465. package/dist/{index.es510.js → index.es524.js} +2 -2
  466. package/dist/{index.es510.js.map → index.es524.js.map} +1 -1
  467. package/dist/{index.es511.js → index.es525.js} +2 -2
  468. package/dist/{index.es511.js.map → index.es525.js.map} +1 -1
  469. package/dist/{index.es512.js → index.es526.js} +1 -1
  470. package/dist/{index.es512.js.map → index.es526.js.map} +1 -1
  471. package/dist/index.es527.js +132 -0
  472. package/dist/index.es527.js.map +1 -0
  473. package/dist/index.es528.js +8 -0
  474. package/dist/index.es528.js.map +1 -0
  475. package/dist/index.es529.js +19 -0
  476. package/dist/index.es529.js.map +1 -0
  477. package/dist/index.es530.js +16 -0
  478. package/dist/index.es530.js.map +1 -0
  479. package/dist/index.es531.js +39 -0
  480. package/dist/index.es531.js.map +1 -0
  481. package/dist/index.es532.js +8 -0
  482. package/dist/index.es532.js.map +1 -0
  483. package/dist/index.es533.js +2 -4
  484. package/dist/index.es533.js.map +1 -1
  485. package/dist/index.es534.js +3 -23
  486. package/dist/index.es534.js.map +1 -1
  487. package/dist/index.es535.js +7 -13
  488. package/dist/index.es535.js.map +1 -1
  489. package/dist/index.es536.js +5 -27
  490. package/dist/index.es536.js.map +1 -1
  491. package/dist/index.es537.js +5 -5
  492. package/dist/index.es537.js.map +1 -1
  493. package/dist/index.es538.js +32 -23
  494. package/dist/index.es538.js.map +1 -1
  495. package/dist/index.es539.js +243 -5
  496. package/dist/index.es539.js.map +1 -1
  497. package/dist/index.es540.js +4 -16
  498. package/dist/index.es540.js.map +1 -1
  499. package/dist/index.es541.js +5 -13
  500. package/dist/index.es541.js.map +1 -1
  501. package/dist/index.es542.js +9 -35
  502. package/dist/index.es542.js.map +1 -1
  503. package/dist/index.es543.js +56 -5
  504. package/dist/index.es543.js.map +1 -1
  505. package/dist/index.es544.js +8 -2
  506. package/dist/index.es544.js.map +1 -1
  507. package/dist/index.es545.js +6 -3
  508. package/dist/index.es545.js.map +1 -1
  509. package/dist/index.es546.js +532 -6
  510. package/dist/index.es546.js.map +1 -1
  511. package/dist/index.es547.js +14 -6
  512. package/dist/index.es547.js.map +1 -1
  513. package/dist/index.es548.js +2 -5
  514. package/dist/index.es548.js.map +1 -1
  515. package/dist/index.es549.js +37 -32
  516. package/dist/index.es549.js.map +1 -1
  517. package/dist/index.es550.js +2 -243
  518. package/dist/index.es550.js.map +1 -1
  519. package/dist/index.es551.js +273 -4
  520. package/dist/index.es551.js.map +1 -1
  521. package/dist/index.es552.js +3 -5
  522. package/dist/index.es552.js.map +1 -1
  523. package/dist/index.es553.js +30 -10
  524. package/dist/index.es553.js.map +1 -1
  525. package/dist/index.es554.js +67 -54
  526. package/dist/index.es554.js.map +1 -1
  527. package/dist/index.es555.js +9 -8
  528. package/dist/index.es555.js.map +1 -1
  529. package/dist/index.es556.js +14 -6
  530. package/dist/index.es556.js.map +1 -1
  531. package/dist/index.es557.js +59 -530
  532. package/dist/index.es557.js.map +1 -1
  533. package/dist/index.es558.js +65 -14
  534. package/dist/index.es558.js.map +1 -1
  535. package/dist/index.es559.js +40 -2
  536. package/dist/index.es559.js.map +1 -1
  537. package/dist/index.es560.js +2 -37
  538. package/dist/index.es560.js.map +1 -1
  539. package/dist/index.es561.js +5 -2
  540. package/dist/index.es561.js.map +1 -1
  541. package/dist/index.es562.js +13 -270
  542. package/dist/index.es562.js.map +1 -1
  543. package/dist/index.es563.js +2 -3
  544. package/dist/index.es563.js.map +1 -1
  545. package/dist/index.es564.js +2 -30
  546. package/dist/index.es564.js.map +1 -1
  547. package/dist/index.es565.js +2 -40
  548. package/dist/index.es565.js.map +1 -1
  549. package/dist/index.es566.js +6 -2
  550. package/dist/index.es566.js.map +1 -1
  551. package/dist/index.es567.js +2 -5
  552. package/dist/index.es567.js.map +1 -1
  553. package/dist/index.es568.js +2 -2
  554. package/dist/index.es568.js.map +1 -1
  555. package/dist/index.es569.js +3 -2
  556. package/dist/index.es569.js.map +1 -1
  557. package/dist/index.es570.js +2 -2
  558. package/dist/index.es570.js.map +1 -1
  559. package/dist/index.es571.js +3 -15
  560. package/dist/index.es571.js.map +1 -1
  561. package/dist/index.es572.js +4 -6
  562. package/dist/index.es572.js.map +1 -1
  563. package/dist/index.es573.js +23 -2
  564. package/dist/index.es573.js.map +1 -1
  565. package/dist/index.es574.js +4 -2
  566. package/dist/index.es574.js.map +1 -1
  567. package/dist/index.es575.js +3 -3
  568. package/dist/index.es575.js.map +1 -1
  569. package/dist/index.es576.js +2 -2
  570. package/dist/index.es576.js.map +1 -1
  571. package/dist/{index.es582.js → index.es578.js} +2 -2
  572. package/dist/{index.es582.js.map → index.es578.js.map} +1 -1
  573. package/dist/{index.es583.js → index.es579.js} +1 -1
  574. package/dist/index.es579.js.map +1 -0
  575. package/dist/index.es586.js +13 -3
  576. package/dist/index.es586.js.map +1 -1
  577. package/dist/index.es587.js +28 -2
  578. package/dist/index.es587.js.map +1 -1
  579. package/dist/index.es588.js +8 -0
  580. package/dist/index.es588.js.map +1 -0
  581. package/dist/index.es589.js +26 -0
  582. package/dist/index.es589.js.map +1 -0
  583. package/dist/index.es6.js +1 -1
  584. package/dist/index.es64.js +1 -1
  585. package/dist/index.es7.js +1 -1
  586. package/dist/index.es8.js +1 -1
  587. package/dist/index.es9.js +2 -2
  588. package/package.json +1 -1
  589. package/dist/index.cjs272.js +0 -2
  590. package/dist/index.cjs272.js.map +0 -1
  591. package/dist/index.cjs461.js +0 -2
  592. package/dist/index.cjs461.js.map +0 -1
  593. package/dist/index.cjs463.js +0 -2
  594. package/dist/index.cjs463.js.map +0 -1
  595. package/dist/index.cjs464.js +0 -2
  596. package/dist/index.cjs464.js.map +0 -1
  597. package/dist/index.cjs482.js +0 -2
  598. package/dist/index.cjs482.js.map +0 -1
  599. package/dist/index.cjs483.js +0 -2
  600. package/dist/index.cjs483.js.map +0 -1
  601. package/dist/index.cjs484.js +0 -2
  602. package/dist/index.cjs484.js.map +0 -1
  603. package/dist/index.cjs492.js +0 -2
  604. package/dist/index.cjs492.js.map +0 -1
  605. package/dist/index.cjs493.js +0 -2
  606. package/dist/index.cjs493.js.map +0 -1
  607. package/dist/index.cjs494.js +0 -2
  608. package/dist/index.cjs494.js.map +0 -1
  609. package/dist/index.cjs504.js +0 -2
  610. package/dist/index.cjs504.js.map +0 -1
  611. package/dist/index.cjs505.js +0 -2
  612. package/dist/index.cjs505.js.map +0 -1
  613. package/dist/index.cjs506.js +0 -2
  614. package/dist/index.cjs506.js.map +0 -1
  615. package/dist/index.cjs507.js +0 -2
  616. package/dist/index.cjs507.js.map +0 -1
  617. package/dist/index.cjs508.js +0 -2
  618. package/dist/index.cjs508.js.map +0 -1
  619. package/dist/index.cjs509.js +0 -5
  620. package/dist/index.cjs509.js.map +0 -1
  621. package/dist/index.cjs577.js +0 -2
  622. package/dist/index.cjs577.js.map +0 -1
  623. package/dist/index.cjs583.js.map +0 -1
  624. package/dist/index.cjs585.js +0 -2
  625. package/dist/index.cjs585.js.map +0 -1
  626. package/dist/index.es272.js +0 -30
  627. package/dist/index.es272.js.map +0 -1
  628. package/dist/index.es461.js +0 -5
  629. package/dist/index.es461.js.map +0 -1
  630. package/dist/index.es463.js +0 -13
  631. package/dist/index.es463.js.map +0 -1
  632. package/dist/index.es464.js +0 -181
  633. package/dist/index.es464.js.map +0 -1
  634. package/dist/index.es482.js +0 -128
  635. package/dist/index.es482.js.map +0 -1
  636. package/dist/index.es483.js +0 -18
  637. package/dist/index.es483.js.map +0 -1
  638. package/dist/index.es484.js +0 -138
  639. package/dist/index.es484.js.map +0 -1
  640. package/dist/index.es492.js +0 -9
  641. package/dist/index.es492.js.map +0 -1
  642. package/dist/index.es493.js +0 -28
  643. package/dist/index.es493.js.map +0 -1
  644. package/dist/index.es494.js +0 -15
  645. package/dist/index.es494.js.map +0 -1
  646. package/dist/index.es504.js +0 -8
  647. package/dist/index.es504.js.map +0 -1
  648. package/dist/index.es505.js +0 -18
  649. package/dist/index.es505.js.map +0 -1
  650. package/dist/index.es506.js +0 -8
  651. package/dist/index.es506.js.map +0 -1
  652. package/dist/index.es507.js +0 -6
  653. package/dist/index.es507.js.map +0 -1
  654. package/dist/index.es508.js +0 -27
  655. package/dist/index.es508.js.map +0 -1
  656. package/dist/index.es509.js +0 -113
  657. package/dist/index.es509.js.map +0 -1
  658. package/dist/index.es577.js +0 -7
  659. package/dist/index.es577.js.map +0 -1
  660. package/dist/index.es583.js.map +0 -1
  661. package/dist/index.es585.js +0 -7
  662. package/dist/index.es585.js.map +0 -1
  663. /package/dist/components/ui/{DoctorModal/DoctorModalFooter/DoctorModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs503.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,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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,39 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("react"),b=require("./index.cjs520.js"),o=require("./index.cjs506.js"),p=require("./index.cjs538.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;
1
+ "use strict";const e=require("./index.cjs523.js"),r=require("./index.cjs521.js"),t=require("./index.cjs524.js"),c=t.exportSidecar(r.effectCar,e.RemoveScrollSideCar);module.exports=c;
39
2
  //# sourceMappingURL=index.cjs519.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs519.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,EAA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,CAAE,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
+ {"version":3,"file":"index.cjs519.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs535.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;
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;
2
2
  //# sourceMappingURL=index.cjs520.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs520.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
+ {"version":3,"file":"index.cjs520.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,2 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs558.js");var r=e.createSidecarMedium();exports.effectCar=r;
2
2
  //# sourceMappingURL=index.cjs521.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs521.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
+ {"version":3,"file":"index.cjs521.js","sources":["../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":"qHACU,IAACA,EAAYC,EAAmB,oBAAA","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),c=require("./index.cjs572.js"),g=require("./index.cjs573.js");function d(e){const u=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(u,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return u.default=e,Object.freeze(u)}const f=d(l);var b=typeof window<"u"?f.useLayoutEffect:f.useEffect,i=new WeakMap;function p(e,u){var t=g.useCallbackRef(null,function(n){return e.forEach(function(r){return c.assignRef(r,n)})});return b(function(){var n=i.get(t);if(n){var r=new Set(n),o=new Set(e),s=t.current;r.forEach(function(a){o.has(a)||c.assignRef(a,null)}),o.forEach(function(a){r.has(a)||c.assignRef(a,s)})}i.set(t,e)},[e]),t}exports.useMergeRefs=p;
2
2
  //# sourceMappingURL=index.cjs522.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs522.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,EAA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OhB,IAAS,KAAOgB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUjB,EAAMkB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBf,EAAM,OAAO,iBAAiBkB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACzB,EAAG,CACC,IAAIxB,EAAKC,EAAmBN,EAAMwB,CAAM,EAAGM,EAAWzB,EAAG,CAAC,EAAG0B,EAAW1B,EAAG,CAAC,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
+ {"version":3,"file":"index.cjs522.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,2 +1,5 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs502.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs517.js"),q=require("react"),j=require("./index.cjs554.js"),_=require("./index.cjs555.js"),d=require("./index.cjs556.js"),E=require("./index.cjs557.js");function p(e){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const l in e)if(l!=="default"){const i=Object.getOwnPropertyDescriptor(e,l);Object.defineProperty(a,l,i.get?i:{enumerable:!0,get:()=>e[l]})}}return a.default=e,Object.freeze(a)}const n=p(q);var g=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},R=function(e){return[e.deltaX,e.deltaY]},M=function(e){return e&&"current"in e?e.current:e},A=function(e,a){return e[0]===a[0]&&e[1]===a[1]},x=function(e){return`
2
+ .block-interactivity-`.concat(e,` {pointer-events: none;}
3
+ .allow-interactivity-`).concat(e,` {pointer-events: all;}
4
+ `)},I=0,v=[];function W(e){var a=n.useRef([]),l=n.useRef([0,0]),i=n.useRef(),h=n.useState(I++)[0],S=n.useState(_.styleSingleton)[0],b=n.useRef(e);n.useEffect(function(){b.current=e},[e]),n.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(h));var t=O.__spreadArray([e.lockRef.current],(e.shards||[]).map(M),!0).filter(Boolean);return t.forEach(function(r){return r.classList.add("allow-interactivity-".concat(h))}),function(){document.body.classList.remove("block-interactivity-".concat(h)),t.forEach(function(r){return r.classList.remove("allow-interactivity-".concat(h))})}}},[e.inert,e.lockRef.current,e.shards]);var k=n.useCallback(function(t,r){if("touches"in t&&t.touches.length===2||t.type==="wheel"&&t.ctrlKey)return!b.current.allowPinchZoom;var s=g(t),u=l.current,o="deltaX"in t?t.deltaX:u[0]-s[0],f="deltaY"in t?t.deltaY:u[1]-s[1],c,P=t.target,m=Math.abs(o)>Math.abs(f)?"h":"v";if("touches"in t&&m==="h"&&P.type==="range")return!1;var C=E.locationCouldBeScrolled(m,P);if(!C)return!0;if(C?c=m:(c=m==="v"?"h":"v",C=E.locationCouldBeScrolled(m,P)),!C)return!1;if(!i.current&&"changedTouches"in t&&(o||f)&&(i.current=c),!c)return!0;var Y=i.current||c;return E.handleScroll(Y,r,t,Y==="h"?o:f)},[]),y=n.useCallback(function(t){var r=t;if(!(!v.length||v[v.length-1]!==S)){var s="deltaY"in r?R(r):g(r),u=a.current.filter(function(c){return c.name===r.type&&(c.target===r.target||r.target===c.shadowParent)&&A(c.delta,s)})[0];if(u&&u.should){r.cancelable&&r.preventDefault();return}if(!u){var o=(b.current.shards||[]).map(M).filter(Boolean).filter(function(c){return c.contains(r.target)}),f=o.length>0?k(r,o[0]):!b.current.noIsolation;f&&r.cancelable&&r.preventDefault()}}},[]),w=n.useCallback(function(t,r,s,u){var o={name:t,delta:r,target:s,should:u,shadowParent:z(s)};a.current.push(o),setTimeout(function(){a.current=a.current.filter(function(f){return f!==o})},1)},[]),T=n.useCallback(function(t){l.current=g(t),i.current=void 0},[]),L=n.useCallback(function(t){w(t.type,R(t),t.target,k(t,e.lockRef.current))},[]),X=n.useCallback(function(t){w(t.type,g(t),t.target,k(t,e.lockRef.current))},[]);n.useEffect(function(){return v.push(S),e.setCallbacks({onScrollCapture:L,onWheelCapture:L,onTouchMoveCapture:X}),document.addEventListener("wheel",y,d.nonPassive),document.addEventListener("touchmove",y,d.nonPassive),document.addEventListener("touchstart",T,d.nonPassive),function(){v=v.filter(function(t){return t!==S}),document.removeEventListener("wheel",y,d.nonPassive),document.removeEventListener("touchmove",y,d.nonPassive),document.removeEventListener("touchstart",T,d.nonPassive)}},[]);var B=e.removeScrollBar,D=e.inert;return n.createElement(n.Fragment,null,D?n.createElement(S,{styles:x(h)}):null,B?n.createElement(j.RemoveScrollBar,{gapMode:e.gapMode}):null)}function z(e){for(var a=null;e!==null;)e instanceof ShadowRoot&&(a=e.host,e=e.host),e=e.parentNode;return a}exports.RemoveScrollSideCar=W;exports.getDeltaXY=R;exports.getTouchXY=g;
2
5
  //# sourceMappingURL=index.cjs523.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs523.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,UAAW,SAAUK,EAAM,CACvB,IAAIC,EAAOL,EAAWI,EAAMF,CAAQ,EACpC,OAAAD,EAAO,KAAKI,CAAI,EACT,UAAY,CACfJ,EAASA,EAAO,OAAO,SAAUK,EAAG,CAAE,OAAOA,IAAMD,EAAO,CAC7D,CACJ,EACD,iBAAkB,SAAUE,EAAI,CAE5B,IADAL,EAAW,GACJD,EAAO,QAAQ,CAClB,IAAIO,EAAMP,EACVA,EAAS,CAAE,EACXO,EAAI,QAAQD,CAAE,CAC9B,CACYN,EAAS,CACL,KAAM,SAAUK,EAAG,CAAE,OAAOC,EAAGD,CAAC,CAAI,EACpC,OAAQ,UAAY,CAAE,OAAOL,CAAS,CACzC,CACJ,EACD,aAAc,SAAUM,EAAI,CACxBL,EAAW,GACX,IAAIO,EAAe,CAAE,EACrB,GAAIR,EAAO,OAAQ,CACf,IAAIO,EAAMP,EACVA,EAAS,CAAE,EACXO,EAAI,QAAQD,CAAE,EACdE,EAAeR,CAC/B,CACY,IAAIS,EAAe,UAAY,CAC3B,IAAIF,EAAMC,EACVA,EAAe,CAAE,EACjBD,EAAI,QAAQD,CAAE,CACjB,EACGI,EAAQ,UAAY,CAAE,OAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY,CAAI,EACxEC,EAAO,EACPV,EAAS,CACL,KAAM,SAAUK,EAAG,CACfG,EAAa,KAAKH,CAAC,EACnBK,EAAO,CACV,EACD,OAAQ,SAAUC,EAAQ,CACtB,OAAAH,EAAeA,EAAa,OAAOG,CAAM,EAClCX,CACV,CACJ,CACJ,CACJ,EACD,OAAOE,CACX,CAMO,SAASU,EAAoBC,EAAS,CACrCA,IAAY,SAAUA,EAAU,CAAA,GACpC,IAAIX,EAASL,EAAkB,IAAI,EACnC,OAAAK,EAAO,QAAUY,EAAAA,SAAS,CAAE,MAAO,GAAM,IAAK,EAAO,EAAED,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs523.js","sources":["../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":"8hBAMU,IAACA,EAAa,SAAUC,EAAO,CACrC,MAAO,mBAAoBA,EAAQ,CAACA,EAAM,eAAe,CAAC,EAAE,QAASA,EAAM,eAAe,CAAC,EAAE,OAAO,EAAI,CAAC,EAAG,CAAC,CACjH,EACWC,EAAa,SAAUD,EAAO,CAAE,MAAO,CAACA,EAAM,OAAQA,EAAM,MAAM,CAAE,EAC3EE,EAAa,SAAUC,EAAK,CAC5B,OAAOA,GAAO,YAAaA,EAAMA,EAAI,QAAUA,CACnD,EACIC,EAAe,SAAUC,EAAGC,EAAG,CAAE,OAAOD,EAAE,CAAC,IAAMC,EAAE,CAAC,GAAKD,EAAE,CAAC,IAAMC,EAAE,CAAC,CAAI,EACzEC,EAAgB,SAAUC,EAAI,CAAE,MAAO;AAAA,yBAA4B,OAAOA,EAAI;AAAA,wBAAmD,EAAE,OAAOA,EAAI;AAAA,CAA2B,CAAI,EAC7KC,EAAY,EACZC,EAAY,CAAE,EACX,SAASC,EAAoBC,EAAO,CACvC,IAAIC,EAAqBC,EAAM,OAAO,EAAE,EACpCC,EAAgBD,EAAM,OAAO,CAAC,EAAG,CAAC,CAAC,EACnCE,EAAaF,EAAM,OAAQ,EAC3BN,EAAKM,EAAM,SAASL,GAAW,EAAE,CAAC,EAClCQ,EAAQH,EAAM,SAASI,EAAc,cAAA,EAAE,CAAC,EACxCC,EAAYL,EAAM,OAAOF,CAAK,EAClCE,EAAM,UAAU,UAAY,CACxBK,EAAU,QAAUP,CAC5B,EAAO,CAACA,CAAK,CAAC,EACVE,EAAM,UAAU,UAAY,CACxB,GAAIF,EAAM,MAAO,CACb,SAAS,KAAK,UAAU,IAAI,uBAAuB,OAAOJ,CAAE,CAAC,EAC7D,IAAIY,EAAUC,EAAAA,cAAc,CAACT,EAA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,EAAM,SAAU,KACxCwC,EAAQxC,EAAM,cAAcG,EAAO,CAAE,OAAQV,EAAcC,CAAE,CAAG,CAAA,EAAI,KACpE6C,EAAkBvC,EAAM,cAAcyC,kBAAiB,CAAE,QAAS3C,EAAM,QAAS,EAAI,IAAI,CACjG,CACA,SAASmC,EAAyBL,EAAM,CAEpC,QADIc,EAAe,KACZd,IAAS,MACRA,aAAgB,aAChBc,EAAed,EAAK,KACpBA,EAAOA,EAAK,MAEhBA,EAAOA,EAAK,WAEhB,OAAOc,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs502.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
2
- //# sourceMappingURL=index.cjs510.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs517.js"),n=require("react");function c(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const s=c(n);var a=function(e){var r=e.sideCar,t=o.__rest(e,["sideCar"]);if(!r)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=r.read();if(!i)throw new Error("Sidecar medium not found");return s.createElement(i,o.__assign({},t))};a.isSideCarExport=!0;function u(e,r){return e.useMedium(r),a}exports.exportSidecar=u;
2
+ //# sourceMappingURL=index.cjs524.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs510.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":"kaAEA,IAAIA,EAAU,SAAUC,EAAI,CACxB,IAAIC,EAAUD,EAAG,QAASE,EAAOC,EAAAA,OAAOH,EAAI,CAAC,SAAS,CAAC,EACvD,GAAI,CAACC,EACD,MAAM,IAAI,MAAM,oEAAoE,EAExF,IAAIG,EAASH,EAAQ,KAAM,EAC3B,GAAI,CAACG,EACD,MAAM,IAAI,MAAM,0BAA0B,EAE9C,OAAOC,EAAM,cAAcD,EAAQE,EAAAA,SAAS,CAAA,EAAIJ,CAAI,CAAC,CACzD,EACAH,EAAQ,gBAAkB,GACnB,SAASQ,EAAcC,EAAQC,EAAU,CAC5C,OAAAD,EAAO,UAAUC,CAAQ,EAClBV,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs524.js","sources":["../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":"kaAEA,IAAIA,EAAU,SAAUC,EAAI,CACxB,IAAIC,EAAUD,EAAG,QAASE,EAAOC,EAAAA,OAAOH,EAAI,CAAC,SAAS,CAAC,EACvD,GAAI,CAACC,EACD,MAAM,IAAI,MAAM,oEAAoE,EAExF,IAAIG,EAASH,EAAQ,KAAM,EAC3B,GAAI,CAACG,EACD,MAAM,IAAI,MAAM,0BAA0B,EAE9C,OAAOC,EAAM,cAAcD,EAAQE,EAAAA,SAAS,CAAA,EAAIJ,CAAI,CAAC,CACzD,EACAH,EAAQ,gBAAkB,GACnB,SAASQ,EAAcC,EAAQC,EAAU,CAC5C,OAAAD,EAAO,UAAUC,CAAQ,EAClBV,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs512.js");function z(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const I=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=z(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=z(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function B(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const X=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let P=S?S[A]:0;(!P||!await(a.isElement==null?void 0:a.isElement(S)))&&(P=d.floating[A]||i.floating[r]);const M=b/2-p/2,R=P/2-u[r]/2-1,O=e.min(o[v],R),L=e.min(o[y],R),k=O,H=P-u[r]-L,D=P/2-u[r]/2+M,C=e.clamp(k,D,H),V=!h.arrow&&e.getAlignment(f)!=null&&D!==C&&i.reference[r]/2-(D<k?O:L)-u[r]/2<0,E=V?D<k?D-k:D-H:0;return{[s]:m[s]+E,data:{[s]:C,centerOffset:D-C-E,...V&&{alignmentOffset:E}},reset:V}}}),_=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),S=r!=="none";!m&&S&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const P=[d,...p],M=await B(t,x),R=[];let O=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&R.push(M[v]),o){const C=e.getAlignmentSides(f,a,b);R.push(M[C[0]],M[C[1]])}if(O=[...O,{placement:f,overflows:R}],!R.every(C=>C<=0)){var L,k;const C=(((L=i.flip)==null?void 0:L.index)||0)+1,V=P[C];if(V){var H;const j=o==="alignment"?y!==e.getSideAxis(V):!1,T=((H=O[0])==null?void 0:H.overflows[0])>0;if(!j||T)return{data:{index:C,overflows:O},reset:{placement:V}}}let E=(k=O.filter(j=>j.overflows[0]<=0).sort((j,T)=>j.overflows[1]-T.overflows[1])[0])==null?void 0:k.placement;if(!E)switch(s){case"bestFit":{var D;const j=(D=O.filter(T=>{if(S){const F=e.getSideAxis(T.placement);return F===y||F==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(F=>F>0).reduce((F,$)=>F+$,0)]).sort((T,F)=>T[1]-F[1])[0])==null?void 0:D[0];j&&(E=j);break}case"initialPlacement":E=d;break}if(f!==E)return{reset:{placement:E}}}return{}}}};function W(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function Y(n){return e.sides.some(t=>n[t]>=0)}const q=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await B(t,{...f,elementContext:"reference"}),a=W(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Y(a)}}}case"escaped":{const i=await B(t,{...f,altBoundary:!0}),a=W(i,g.floating);return{data:{escapedOffsets:a,escaped:Y(a)}}}default:return{}}}}};async function U(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=["left","top"].includes(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const G=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await U(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},J=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await B(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},K=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=["top","left"].includes(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),S=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>S&&(r=S)}return{[m]:s,[o]:r}}}},N=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await B(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),S=!t.middlewareData.shift;let P=b,M=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(M=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(P=y),S&&!m){const O=e.max(c.left,0),L=e.max(c.right,0),k=e.max(c.top,0),H=e.max(c.bottom,0);s?M=r-2*(O!==0||L!==0?O+L:e.max(c.left,c.right)):P=u-2*(k!==0||H!==0?k+H:e.max(c.top,c.bottom))}await h({...t,availableWidth:M,availableHeight:P});const R=await a.getDimensions(d.floating);return r!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=X;exports.computePosition=I;exports.detectOverflow=B;exports.flip=_;exports.hide=q;exports.limitShift=K;exports.offset=G;exports.shift=J;exports.size=N;
2
- //# sourceMappingURL=index.cjs511.js.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs526.js");function z(n,t,g){let{reference:l,floating:f}=n;const i=e.getSideAxis(t),a=e.getAlignmentAxis(t),d=e.getAxisLength(a),h=e.getSide(t),w=i==="y",c=l.x+l.width/2-f.width/2,o=l.y+l.height/2-f.height/2,m=l[d]/2-f[d]/2;let s;switch(h){case"top":s={x:c,y:l.y-f.height};break;case"bottom":s={x:c,y:l.y+l.height};break;case"right":s={x:l.x+l.width,y:o};break;case"left":s={x:l.x-f.width,y:o};break;default:s={x:l.x,y:l.y}}switch(e.getAlignment(t)){case"start":s[a]-=m*(g&&w?-1:1);break;case"end":s[a]+=m*(g&&w?-1:1);break}return s}const I=async(n,t,g)=>{const{placement:l="bottom",strategy:f="absolute",middleware:i=[],platform:a}=g,d=i.filter(Boolean),h=await(a.isRTL==null?void 0:a.isRTL(t));let w=await a.getElementRects({reference:n,floating:t,strategy:f}),{x:c,y:o}=z(w,l,h),m=l,s={},r=0;for(let u=0;u<d.length;u++){const{name:x,fn:v}=d[u],{x:y,y:A,data:b,reset:p}=await v({x:c,y:o,initialPlacement:l,placement:m,strategy:f,middlewareData:s,rects:w,platform:a,elements:{reference:n,floating:t}});c=y??c,o=A??o,s={...s,[x]:{...s[x],...b}},p&&r<=50&&(r++,typeof p=="object"&&(p.placement&&(m=p.placement),p.rects&&(w=p.rects===!0?await a.getElementRects({reference:n,floating:t,strategy:f}):p.rects),{x:c,y:o}=z(w,m,h)),u=-1)}return{x:c,y:o,placement:m,strategy:f,middlewareData:s}};async function B(n,t){var g;t===void 0&&(t={});const{x:l,y:f,platform:i,rects:a,elements:d,strategy:h}=n,{boundary:w="clippingAncestors",rootBoundary:c="viewport",elementContext:o="floating",altBoundary:m=!1,padding:s=0}=e.evaluate(t,n),r=e.getPaddingObject(s),x=d[m?o==="floating"?"reference":"floating":o],v=e.rectToClientRect(await i.getClippingRect({element:(g=await(i.isElement==null?void 0:i.isElement(x)))==null||g?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(d.floating)),boundary:w,rootBoundary:c,strategy:h})),y=o==="floating"?{x:l,y:f,width:a.floating.width,height:a.floating.height}:a.reference,A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d.floating)),b=await(i.isElement==null?void 0:i.isElement(A))?await(i.getScale==null?void 0:i.getScale(A))||{x:1,y:1}:{x:1,y:1},p=e.rectToClientRect(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:y,offsetParent:A,strategy:h}):y);return{top:(v.top-p.top+r.top)/b.y,bottom:(p.bottom-v.bottom+r.bottom)/b.y,left:(v.left-p.left+r.left)/b.x,right:(p.right-v.right+r.right)/b.x}}const X=n=>({name:"arrow",options:n,async fn(t){const{x:g,y:l,placement:f,rects:i,platform:a,elements:d,middlewareData:h}=t,{element:w,padding:c=0}=e.evaluate(n,t)||{};if(w==null)return{};const o=e.getPaddingObject(c),m={x:g,y:l},s=e.getAlignmentAxis(f),r=e.getAxisLength(s),u=await a.getDimensions(w),x=s==="y",v=x?"top":"left",y=x?"bottom":"right",A=x?"clientHeight":"clientWidth",b=i.reference[r]+i.reference[s]-m[s]-i.floating[r],p=m[s]-i.reference[s],S=await(a.getOffsetParent==null?void 0:a.getOffsetParent(w));let P=S?S[A]:0;(!P||!await(a.isElement==null?void 0:a.isElement(S)))&&(P=d.floating[A]||i.floating[r]);const M=b/2-p/2,R=P/2-u[r]/2-1,O=e.min(o[v],R),L=e.min(o[y],R),k=O,H=P-u[r]-L,D=P/2-u[r]/2+M,C=e.clamp(k,D,H),V=!h.arrow&&e.getAlignment(f)!=null&&D!==C&&i.reference[r]/2-(D<k?O:L)-u[r]/2<0,E=V?D<k?D-k:D-H:0;return{[s]:m[s]+E,data:{[s]:C,centerOffset:D-C-E,...V&&{alignmentOffset:E}},reset:V}}}),_=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(t){var g,l;const{placement:f,middlewareData:i,rects:a,initialPlacement:d,platform:h,elements:w}=t,{mainAxis:c=!0,crossAxis:o=!0,fallbackPlacements:m,fallbackStrategy:s="bestFit",fallbackAxisSideDirection:r="none",flipAlignment:u=!0,...x}=e.evaluate(n,t);if((g=i.arrow)!=null&&g.alignmentOffset)return{};const v=e.getSide(f),y=e.getSideAxis(d),A=e.getSide(d)===d,b=await(h.isRTL==null?void 0:h.isRTL(w.floating)),p=m||(A||!u?[e.getOppositePlacement(d)]:e.getExpandedPlacements(d)),S=r!=="none";!m&&S&&p.push(...e.getOppositeAxisPlacements(d,u,r,b));const P=[d,...p],M=await B(t,x),R=[];let O=((l=i.flip)==null?void 0:l.overflows)||[];if(c&&R.push(M[v]),o){const C=e.getAlignmentSides(f,a,b);R.push(M[C[0]],M[C[1]])}if(O=[...O,{placement:f,overflows:R}],!R.every(C=>C<=0)){var L,k;const C=(((L=i.flip)==null?void 0:L.index)||0)+1,V=P[C];if(V){var H;const j=o==="alignment"?y!==e.getSideAxis(V):!1,T=((H=O[0])==null?void 0:H.overflows[0])>0;if(!j||T)return{data:{index:C,overflows:O},reset:{placement:V}}}let E=(k=O.filter(j=>j.overflows[0]<=0).sort((j,T)=>j.overflows[1]-T.overflows[1])[0])==null?void 0:k.placement;if(!E)switch(s){case"bestFit":{var D;const j=(D=O.filter(T=>{if(S){const F=e.getSideAxis(T.placement);return F===y||F==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(F=>F>0).reduce((F,$)=>F+$,0)]).sort((T,F)=>T[1]-F[1])[0])==null?void 0:D[0];j&&(E=j);break}case"initialPlacement":E=d;break}if(f!==E)return{reset:{placement:E}}}return{}}}};function W(n,t){return{top:n.top-t.height,right:n.right-t.width,bottom:n.bottom-t.height,left:n.left-t.width}}function Y(n){return e.sides.some(t=>n[t]>=0)}const q=function(n){return n===void 0&&(n={}),{name:"hide",options:n,async fn(t){const{rects:g}=t,{strategy:l="referenceHidden",...f}=e.evaluate(n,t);switch(l){case"referenceHidden":{const i=await B(t,{...f,elementContext:"reference"}),a=W(i,g.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Y(a)}}}case"escaped":{const i=await B(t,{...f,altBoundary:!0}),a=W(i,g.floating);return{data:{escapedOffsets:a,escaped:Y(a)}}}default:return{}}}}};async function U(n,t){const{placement:g,platform:l,elements:f}=n,i=await(l.isRTL==null?void 0:l.isRTL(f.floating)),a=e.getSide(g),d=e.getAlignment(g),h=e.getSideAxis(g)==="y",w=["left","top"].includes(a)?-1:1,c=i&&h?-1:1,o=e.evaluate(t,n);let{mainAxis:m,crossAxis:s,alignmentAxis:r}=typeof o=="number"?{mainAxis:o,crossAxis:0,alignmentAxis:null}:{mainAxis:o.mainAxis||0,crossAxis:o.crossAxis||0,alignmentAxis:o.alignmentAxis};return d&&typeof r=="number"&&(s=d==="end"?r*-1:r),h?{x:s*c,y:m*w}:{x:m*w,y:s*c}}const G=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var g,l;const{x:f,y:i,placement:a,middlewareData:d}=t,h=await U(t,n);return a===((g=d.offset)==null?void 0:g.placement)&&(l=d.arrow)!=null&&l.alignmentOffset?{}:{x:f+h.x,y:i+h.y,data:{...h,placement:a}}}}},J=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:g,y:l,placement:f}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:d={fn:x=>{let{x:v,y}=x;return{x:v,y}}},...h}=e.evaluate(n,t),w={x:g,y:l},c=await B(t,h),o=e.getSideAxis(e.getSide(f)),m=e.getOppositeAxis(o);let s=w[m],r=w[o];if(i){const x=m==="y"?"top":"left",v=m==="y"?"bottom":"right",y=s+c[x],A=s-c[v];s=e.clamp(y,s,A)}if(a){const x=o==="y"?"top":"left",v=o==="y"?"bottom":"right",y=r+c[x],A=r-c[v];r=e.clamp(y,r,A)}const u=d.fn({...t,[m]:s,[o]:r});return{...u,data:{x:u.x-g,y:u.y-l,enabled:{[m]:i,[o]:a}}}}}},K=function(n){return n===void 0&&(n={}),{options:n,fn(t){const{x:g,y:l,placement:f,rects:i,middlewareData:a}=t,{offset:d=0,mainAxis:h=!0,crossAxis:w=!0}=e.evaluate(n,t),c={x:g,y:l},o=e.getSideAxis(f),m=e.getOppositeAxis(o);let s=c[m],r=c[o];const u=e.evaluate(d,t),x=typeof u=="number"?{mainAxis:u,crossAxis:0}:{mainAxis:0,crossAxis:0,...u};if(h){const A=m==="y"?"height":"width",b=i.reference[m]-i.floating[A]+x.mainAxis,p=i.reference[m]+i.reference[A]-x.mainAxis;s<b?s=b:s>p&&(s=p)}if(w){var v,y;const A=m==="y"?"width":"height",b=["top","left"].includes(e.getSide(f)),p=i.reference[o]-i.floating[A]+(b&&((v=a.offset)==null?void 0:v[o])||0)+(b?0:x.crossAxis),S=i.reference[o]+i.reference[A]+(b?0:((y=a.offset)==null?void 0:y[o])||0)-(b?x.crossAxis:0);r<p?r=p:r>S&&(r=S)}return{[m]:s,[o]:r}}}},N=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(t){var g,l;const{placement:f,rects:i,platform:a,elements:d}=t,{apply:h=()=>{},...w}=e.evaluate(n,t),c=await B(t,w),o=e.getSide(f),m=e.getAlignment(f),s=e.getSideAxis(f)==="y",{width:r,height:u}=i.floating;let x,v;o==="top"||o==="bottom"?(x=o,v=m===(await(a.isRTL==null?void 0:a.isRTL(d.floating))?"start":"end")?"left":"right"):(v=o,x=m==="end"?"top":"bottom");const y=u-c.top-c.bottom,A=r-c.left-c.right,b=e.min(u-c[x],y),p=e.min(r-c[v],A),S=!t.middlewareData.shift;let P=b,M=p;if((g=t.middlewareData.shift)!=null&&g.enabled.x&&(M=A),(l=t.middlewareData.shift)!=null&&l.enabled.y&&(P=y),S&&!m){const O=e.max(c.left,0),L=e.max(c.right,0),k=e.max(c.top,0),H=e.max(c.bottom,0);s?M=r-2*(O!==0||L!==0?O+L:e.max(c.left,c.right)):P=u-2*(k!==0||H!==0?k+H:e.max(c.top,c.bottom))}await h({...t,availableWidth:M,availableHeight:P});const R=await a.getDimensions(d.floating);return r!==R.width||u!==R.height?{reset:{rects:!0}}:{}}}};exports.rectToClientRect=e.rectToClientRect;exports.arrow=X;exports.computePosition=I;exports.detectOverflow=B;exports.flip=_;exports.hide=q;exports.limitShift=K;exports.offset=G;exports.shift=J;exports.size=N;
2
+ //# sourceMappingURL=index.cjs525.js.map