@anoki/fse-ui 1.0.535 → 1.0.537

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 (464) hide show
  1. package/dist/components/ui/SearchStructure/SearchStructure.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs105.js +1 -1
  8. package/dist/index.cjs105.js.map +1 -1
  9. package/dist/index.cjs107.js +1 -1
  10. package/dist/index.cjs11.js +1 -1
  11. package/dist/index.cjs110.js +1 -1
  12. package/dist/index.cjs111.js +1 -1
  13. package/dist/index.cjs114.js +1 -1
  14. package/dist/index.cjs115.js +1 -1
  15. package/dist/index.cjs116.js +1 -1
  16. package/dist/index.cjs117.js +1 -1
  17. package/dist/index.cjs118.js +1 -1
  18. package/dist/index.cjs119.js +1 -1
  19. package/dist/index.cjs12.js +1 -1
  20. package/dist/index.cjs120.js +1 -1
  21. package/dist/index.cjs121.js +1 -1
  22. package/dist/index.cjs122.js +1 -1
  23. package/dist/index.cjs123.js +1 -1
  24. package/dist/index.cjs124.js +1 -1
  25. package/dist/index.cjs125.js +1 -1
  26. package/dist/index.cjs126.js +1 -1
  27. package/dist/index.cjs127.js +1 -1
  28. package/dist/index.cjs128.js +1 -1
  29. package/dist/index.cjs129.js +1 -1
  30. package/dist/index.cjs13.js +1 -1
  31. package/dist/index.cjs130.js +1 -1
  32. package/dist/index.cjs131.js +1 -1
  33. package/dist/index.cjs132.js +1 -1
  34. package/dist/index.cjs133.js +1 -1
  35. package/dist/index.cjs134.js +1 -1
  36. package/dist/index.cjs135.js +1 -1
  37. package/dist/index.cjs136.js +1 -1
  38. package/dist/index.cjs137.js +1 -1
  39. package/dist/index.cjs138.js +1 -1
  40. package/dist/index.cjs139.js +1 -1
  41. package/dist/index.cjs14.js +1 -1
  42. package/dist/index.cjs140.js +1 -1
  43. package/dist/index.cjs142.js +1 -1
  44. package/dist/index.cjs143.js +1 -1
  45. package/dist/index.cjs144.js +1 -1
  46. package/dist/index.cjs145.js +1 -1
  47. package/dist/index.cjs146.js +1 -1
  48. package/dist/index.cjs147.js +1 -1
  49. package/dist/index.cjs148.js +1 -1
  50. package/dist/index.cjs149.js +1 -1
  51. package/dist/index.cjs15.js +1 -1
  52. package/dist/index.cjs150.js +1 -1
  53. package/dist/index.cjs152.js +1 -1
  54. package/dist/index.cjs153.js +1 -1
  55. package/dist/index.cjs154.js +1 -1
  56. package/dist/index.cjs155.js +1 -1
  57. package/dist/index.cjs156.js +1 -1
  58. package/dist/index.cjs157.js +1 -1
  59. package/dist/index.cjs158.js +1 -1
  60. package/dist/index.cjs16.js +1 -1
  61. package/dist/index.cjs160.js +1 -1
  62. package/dist/index.cjs161.js +1 -1
  63. package/dist/index.cjs162.js +1 -1
  64. package/dist/index.cjs17.js +1 -1
  65. package/dist/index.cjs18.js +1 -1
  66. package/dist/index.cjs183.js +2 -0
  67. package/dist/index.cjs183.js.map +1 -0
  68. package/dist/index.cjs184.js +1 -1
  69. package/dist/index.cjs184.js.map +1 -1
  70. package/dist/index.cjs187.js +2 -0
  71. package/dist/index.cjs187.js.map +1 -0
  72. package/dist/index.cjs19.js +1 -1
  73. package/dist/index.cjs20.js +1 -1
  74. package/dist/index.cjs204.js +1 -1
  75. package/dist/index.cjs207.js +1 -1
  76. package/dist/index.cjs21.js +1 -1
  77. package/dist/index.cjs210.js +1 -1
  78. package/dist/index.cjs213.js +1 -1
  79. package/dist/index.cjs214.js +1 -1
  80. package/dist/index.cjs215.js +1 -1
  81. package/dist/index.cjs22.js +1 -1
  82. package/dist/index.cjs23.js +1 -1
  83. package/dist/index.cjs230.js +1 -1
  84. package/dist/index.cjs232.js +1 -1
  85. package/dist/index.cjs240.js +1 -1
  86. package/dist/index.cjs243.js +1 -1
  87. package/dist/index.cjs249.js +1 -1
  88. package/dist/index.cjs25.js +1 -1
  89. package/dist/index.cjs254.js +1 -1
  90. package/dist/index.cjs257.js +1 -1
  91. package/dist/index.cjs258.js +1 -1
  92. package/dist/index.cjs26.js +1 -1
  93. package/dist/index.cjs29.js +1 -1
  94. package/dist/index.cjs298.js +1 -1
  95. package/dist/index.cjs30.js +1 -1
  96. package/dist/index.cjs306.js +1 -1
  97. package/dist/index.cjs31.js +1 -1
  98. package/dist/index.cjs316.js +1 -1
  99. package/dist/index.cjs318.js +1 -1
  100. package/dist/index.cjs32.js +1 -1
  101. package/dist/index.cjs322.js +1 -1
  102. package/dist/index.cjs323.js +1 -1
  103. package/dist/index.cjs324.js +1 -27
  104. package/dist/index.cjs324.js.map +1 -1
  105. package/dist/index.cjs325.js +1 -1
  106. package/dist/index.cjs326.js +1 -1
  107. package/dist/index.cjs327.js +27 -1
  108. package/dist/index.cjs327.js.map +1 -1
  109. package/dist/index.cjs328.js +1 -1
  110. package/dist/index.cjs33.js +1 -1
  111. package/dist/index.cjs332.js +1 -1
  112. package/dist/index.cjs334.js +1 -1
  113. package/dist/index.cjs335.js +1 -1
  114. package/dist/index.cjs336.js +1 -1
  115. package/dist/index.cjs338.js +1 -1
  116. package/dist/index.cjs338.js.map +1 -1
  117. package/dist/index.cjs339.js +1 -1
  118. package/dist/index.cjs339.js.map +1 -1
  119. package/dist/index.cjs34.js +1 -1
  120. package/dist/{index.cjs337.js → index.cjs340.js} +1 -1
  121. package/dist/{index.cjs337.js.map → index.cjs340.js.map} +1 -1
  122. package/dist/index.cjs341.js +1 -1
  123. package/dist/index.cjs341.js.map +1 -1
  124. package/dist/index.cjs342.js +2 -0
  125. package/dist/index.cjs342.js.map +1 -0
  126. package/dist/index.cjs343.js +2 -0
  127. package/dist/index.cjs343.js.map +1 -0
  128. package/dist/index.cjs346.js +1 -1
  129. package/dist/index.cjs348.js +1 -1
  130. package/dist/index.cjs350.js +1 -1
  131. package/dist/index.cjs351.js +1 -1
  132. package/dist/index.cjs352.js +1 -1
  133. package/dist/index.cjs353.js +1 -1
  134. package/dist/index.cjs355.js +1 -1
  135. package/dist/index.cjs362.js +1 -1
  136. package/dist/index.cjs362.js.map +1 -1
  137. package/dist/index.cjs363.js +1 -1
  138. package/dist/index.cjs363.js.map +1 -1
  139. package/dist/index.cjs364.js +1 -1
  140. package/dist/index.cjs364.js.map +1 -1
  141. package/dist/index.cjs365.js +1 -1
  142. package/dist/index.cjs365.js.map +1 -1
  143. package/dist/index.cjs366.js +1 -1
  144. package/dist/index.cjs366.js.map +1 -1
  145. package/dist/index.cjs367.js +1 -1
  146. package/dist/index.cjs367.js.map +1 -1
  147. package/dist/index.cjs368.js +1 -1
  148. package/dist/index.cjs368.js.map +1 -1
  149. package/dist/index.cjs378.js +2 -0
  150. package/dist/index.cjs378.js.map +1 -0
  151. package/dist/index.cjs379.js +1 -38
  152. package/dist/index.cjs379.js.map +1 -1
  153. package/dist/index.cjs38.js +1 -1
  154. package/dist/index.cjs380.js +1 -1
  155. package/dist/index.cjs380.js.map +1 -1
  156. package/dist/index.cjs381.js +4 -1
  157. package/dist/index.cjs381.js.map +1 -1
  158. package/dist/index.cjs382.js +1 -1
  159. package/dist/index.cjs382.js.map +1 -1
  160. package/dist/index.cjs383.js +1 -1
  161. package/dist/index.cjs383.js.map +1 -1
  162. package/dist/index.cjs384.js +2 -0
  163. package/dist/index.cjs384.js.map +1 -0
  164. package/dist/index.cjs385.js +2 -0
  165. package/dist/index.cjs385.js.map +1 -0
  166. package/dist/index.cjs386.js +2 -0
  167. package/dist/index.cjs386.js.map +1 -0
  168. package/dist/index.cjs387.js +39 -0
  169. package/dist/index.cjs387.js.map +1 -0
  170. package/dist/index.cjs388.js +2 -0
  171. package/dist/index.cjs388.js.map +1 -0
  172. package/dist/index.cjs389.js +2 -0
  173. package/dist/index.cjs389.js.map +1 -0
  174. package/dist/index.cjs39.js +1 -1
  175. package/dist/index.cjs390.js +2 -0
  176. package/dist/index.cjs390.js.map +1 -0
  177. package/dist/index.cjs399.js +1 -1
  178. package/dist/index.cjs40.js +1 -1
  179. package/dist/index.cjs406.js +1 -1
  180. package/dist/index.cjs42.js +1 -1
  181. package/dist/index.cjs43.js +1 -1
  182. package/dist/index.cjs44.js +1 -1
  183. package/dist/index.cjs45.js +1 -1
  184. package/dist/index.cjs48.js +1 -1
  185. package/dist/index.cjs49.js +1 -1
  186. package/dist/index.cjs50.js +1 -1
  187. package/dist/index.cjs51.js +1 -1
  188. package/dist/index.cjs52.js +1 -1
  189. package/dist/index.cjs53.js +1 -1
  190. package/dist/index.cjs56.js +1 -1
  191. package/dist/index.cjs58.js +1 -1
  192. package/dist/index.cjs59.js +1 -1
  193. package/dist/index.cjs6.js +1 -1
  194. package/dist/index.cjs60.js +1 -1
  195. package/dist/index.cjs61.js +1 -1
  196. package/dist/index.cjs63.js +1 -1
  197. package/dist/index.cjs65.js +1 -1
  198. package/dist/index.cjs66.js +1 -1
  199. package/dist/index.cjs68.js +1 -1
  200. package/dist/index.cjs69.js +1 -1
  201. package/dist/index.cjs7.js +1 -1
  202. package/dist/index.cjs70.js +1 -1
  203. package/dist/index.cjs8.js +1 -1
  204. package/dist/index.cjs9.js +1 -1
  205. package/dist/index.cjs90.js +1 -1
  206. package/dist/index.cjs92.js +1 -1
  207. package/dist/index.cjs94.js +1 -1
  208. package/dist/index.es10.js +2 -2
  209. package/dist/index.es100.js +1 -1
  210. package/dist/index.es101.js +1 -1
  211. package/dist/index.es102.js +1 -1
  212. package/dist/index.es103.js +1 -1
  213. package/dist/index.es105.js +13 -13
  214. package/dist/index.es105.js.map +1 -1
  215. package/dist/index.es107.js +2 -2
  216. package/dist/index.es11.js +1 -1
  217. package/dist/index.es110.js +2 -2
  218. package/dist/index.es111.js +1 -1
  219. package/dist/index.es114.js +2 -2
  220. package/dist/index.es115.js +2 -2
  221. package/dist/index.es116.js +2 -2
  222. package/dist/index.es117.js +2 -2
  223. package/dist/index.es118.js +2 -2
  224. package/dist/index.es119.js +2 -2
  225. package/dist/index.es12.js +1 -1
  226. package/dist/index.es120.js +2 -2
  227. package/dist/index.es121.js +2 -2
  228. package/dist/index.es122.js +2 -2
  229. package/dist/index.es123.js +2 -2
  230. package/dist/index.es124.js +2 -2
  231. package/dist/index.es125.js +2 -2
  232. package/dist/index.es126.js +2 -2
  233. package/dist/index.es127.js +2 -2
  234. package/dist/index.es128.js +2 -2
  235. package/dist/index.es129.js +2 -2
  236. package/dist/index.es13.js +1 -1
  237. package/dist/index.es130.js +2 -2
  238. package/dist/index.es131.js +2 -2
  239. package/dist/index.es132.js +2 -2
  240. package/dist/index.es133.js +2 -2
  241. package/dist/index.es134.js +2 -2
  242. package/dist/index.es135.js +2 -2
  243. package/dist/index.es136.js +1 -1
  244. package/dist/index.es137.js +1 -1
  245. package/dist/index.es138.js +2 -2
  246. package/dist/index.es139.js +2 -2
  247. package/dist/index.es14.js +1 -1
  248. package/dist/index.es140.js +2 -2
  249. package/dist/index.es142.js +2 -2
  250. package/dist/index.es143.js +2 -2
  251. package/dist/index.es144.js +2 -2
  252. package/dist/index.es145.js +2 -2
  253. package/dist/index.es146.js +2 -2
  254. package/dist/index.es147.js +2 -2
  255. package/dist/index.es148.js +2 -2
  256. package/dist/index.es149.js +2 -2
  257. package/dist/index.es15.js +1 -1
  258. package/dist/index.es150.js +2 -2
  259. package/dist/index.es152.js +2 -2
  260. package/dist/index.es153.js +2 -2
  261. package/dist/index.es154.js +2 -2
  262. package/dist/index.es155.js +2 -2
  263. package/dist/index.es156.js +2 -2
  264. package/dist/index.es157.js +2 -2
  265. package/dist/index.es158.js +2 -2
  266. package/dist/index.es16.js +1 -1
  267. package/dist/index.es160.js +2 -2
  268. package/dist/index.es161.js +2 -2
  269. package/dist/index.es162.js +2 -2
  270. package/dist/index.es17.js +1 -1
  271. package/dist/index.es18.js +1 -1
  272. package/dist/index.es183.js +18 -0
  273. package/dist/index.es183.js.map +1 -0
  274. package/dist/index.es184.js +2 -15
  275. package/dist/index.es184.js.map +1 -1
  276. package/dist/index.es187.js +6 -0
  277. package/dist/index.es187.js.map +1 -0
  278. package/dist/index.es19.js +1 -1
  279. package/dist/index.es20.js +1 -1
  280. package/dist/index.es204.js +2 -2
  281. package/dist/index.es207.js +1 -1
  282. package/dist/index.es21.js +1 -1
  283. package/dist/index.es210.js +2 -2
  284. package/dist/index.es213.js +2 -2
  285. package/dist/index.es214.js +2 -2
  286. package/dist/index.es215.js +1 -1
  287. package/dist/index.es22.js +2 -2
  288. package/dist/index.es23.js +1 -1
  289. package/dist/index.es230.js +2 -2
  290. package/dist/index.es232.js +2 -2
  291. package/dist/index.es240.js +1 -1
  292. package/dist/index.es243.js +1 -1
  293. package/dist/index.es249.js +1 -1
  294. package/dist/index.es25.js +2 -2
  295. package/dist/index.es254.js +1 -1
  296. package/dist/index.es257.js +2 -2
  297. package/dist/index.es258.js +2 -2
  298. package/dist/index.es26.js +1 -1
  299. package/dist/index.es29.js +1 -1
  300. package/dist/index.es298.js +1 -1
  301. package/dist/index.es30.js +1 -1
  302. package/dist/index.es306.js +1 -1
  303. package/dist/index.es31.js +1 -1
  304. package/dist/index.es316.js +1 -1
  305. package/dist/index.es318.js +1 -1
  306. package/dist/index.es32.js +1 -1
  307. package/dist/index.es322.js +1 -1
  308. package/dist/index.es323.js +1 -1
  309. package/dist/index.es324.js +2 -3675
  310. package/dist/index.es324.js.map +1 -1
  311. package/dist/index.es325.js +2 -6
  312. package/dist/index.es325.js.map +1 -1
  313. package/dist/index.es326.js +6 -2
  314. package/dist/index.es326.js.map +1 -1
  315. package/dist/index.es327.js +3675 -2
  316. package/dist/index.es327.js.map +1 -1
  317. package/dist/index.es328.js +2 -2
  318. package/dist/index.es33.js +1 -1
  319. package/dist/index.es332.js +1 -1
  320. package/dist/index.es334.js +1 -1
  321. package/dist/index.es335.js +1 -1
  322. package/dist/index.es336.js +1 -1
  323. package/dist/index.es338.js +621 -3
  324. package/dist/index.es338.js.map +1 -1
  325. package/dist/index.es339.js +10 -52
  326. package/dist/index.es339.js.map +1 -1
  327. package/dist/index.es34.js +1 -1
  328. package/dist/{index.es337.js → index.es340.js} +1 -1
  329. package/dist/{index.es337.js.map → index.es340.js.map} +1 -1
  330. package/dist/index.es341.js +3 -14
  331. package/dist/index.es341.js.map +1 -1
  332. package/dist/index.es342.js +56 -0
  333. package/dist/index.es342.js.map +1 -0
  334. package/dist/index.es343.js +18 -0
  335. package/dist/index.es343.js.map +1 -0
  336. package/dist/index.es346.js +1 -1
  337. package/dist/index.es348.js +2 -2
  338. package/dist/index.es350.js +1 -1
  339. package/dist/index.es351.js +5 -5
  340. package/dist/index.es352.js +1 -1
  341. package/dist/index.es353.js +2 -2
  342. package/dist/index.es355.js +3 -3
  343. package/dist/index.es362.js +12 -5
  344. package/dist/index.es362.js.map +1 -1
  345. package/dist/index.es363.js +191 -509
  346. package/dist/index.es363.js.map +1 -1
  347. package/dist/index.es364.js +22 -127
  348. package/dist/index.es364.js.map +1 -1
  349. package/dist/index.es365.js +374 -110
  350. package/dist/index.es365.js.map +1 -1
  351. package/dist/index.es366.js +25 -5
  352. package/dist/index.es366.js.map +1 -1
  353. package/dist/index.es367.js +29 -3
  354. package/dist/index.es367.js.map +1 -1
  355. package/dist/index.es368.js +5 -24
  356. package/dist/index.es368.js.map +1 -1
  357. package/dist/index.es378.js +8 -0
  358. package/dist/index.es378.js.map +1 -0
  359. package/dist/index.es379.js +3 -69
  360. package/dist/index.es379.js.map +1 -1
  361. package/dist/index.es38.js +1 -1
  362. package/dist/index.es380.js +24 -9
  363. package/dist/index.es380.js.map +1 -1
  364. package/dist/index.es381.js +109 -13
  365. package/dist/index.es381.js.map +1 -1
  366. package/dist/index.es382.js +15 -61
  367. package/dist/index.es382.js.map +1 -1
  368. package/dist/index.es383.js +512 -54
  369. package/dist/index.es383.js.map +1 -1
  370. package/dist/index.es384.js +130 -0
  371. package/dist/index.es384.js.map +1 -0
  372. package/dist/index.es385.js +132 -0
  373. package/dist/index.es385.js.map +1 -0
  374. package/dist/index.es386.js +68 -0
  375. package/dist/index.es386.js.map +1 -0
  376. package/dist/index.es387.js +72 -0
  377. package/dist/index.es387.js.map +1 -0
  378. package/dist/index.es388.js +12 -0
  379. package/dist/index.es388.js.map +1 -0
  380. package/dist/index.es389.js +17 -0
  381. package/dist/index.es389.js.map +1 -0
  382. package/dist/index.es39.js +1 -1
  383. package/dist/index.es390.js +65 -0
  384. package/dist/index.es390.js.map +1 -0
  385. package/dist/index.es399.js +1 -1
  386. package/dist/index.es40.js +1 -1
  387. package/dist/index.es406.js +2 -2
  388. package/dist/index.es42.js +1 -1
  389. package/dist/index.es43.js +1 -1
  390. package/dist/index.es44.js +1 -1
  391. package/dist/index.es45.js +1 -1
  392. package/dist/index.es48.js +1 -1
  393. package/dist/index.es49.js +1 -1
  394. package/dist/index.es50.js +1 -1
  395. package/dist/index.es51.js +1 -1
  396. package/dist/index.es52.js +1 -1
  397. package/dist/index.es53.js +1 -1
  398. package/dist/index.es56.js +2 -2
  399. package/dist/index.es58.js +1 -1
  400. package/dist/index.es59.js +1 -1
  401. package/dist/index.es6.js +1 -1
  402. package/dist/index.es60.js +1 -1
  403. package/dist/index.es61.js +1 -1
  404. package/dist/index.es63.js +1 -1
  405. package/dist/index.es65.js +1 -1
  406. package/dist/index.es66.js +1 -1
  407. package/dist/index.es68.js +1 -1
  408. package/dist/index.es69.js +1 -1
  409. package/dist/index.es7.js +1 -1
  410. package/dist/index.es70.js +1 -1
  411. package/dist/index.es8.js +1 -1
  412. package/dist/index.es9.js +2 -2
  413. package/dist/index.es90.js +1 -1
  414. package/dist/index.es92.js +1 -1
  415. package/dist/index.es94.js +1 -1
  416. package/package.json +1 -1
  417. package/dist/index.cjs186.js +0 -2
  418. package/dist/index.cjs186.js.map +0 -1
  419. package/dist/index.cjs193.js +0 -2
  420. package/dist/index.cjs193.js.map +0 -1
  421. package/dist/index.cjs344.js +0 -2
  422. package/dist/index.cjs344.js.map +0 -1
  423. package/dist/index.cjs345.js +0 -2
  424. package/dist/index.cjs345.js.map +0 -1
  425. package/dist/index.cjs356.js +0 -2
  426. package/dist/index.cjs356.js.map +0 -1
  427. package/dist/index.cjs357.js +0 -2
  428. package/dist/index.cjs357.js.map +0 -1
  429. package/dist/index.cjs358.js +0 -2
  430. package/dist/index.cjs358.js.map +0 -1
  431. package/dist/index.cjs359.js +0 -2
  432. package/dist/index.cjs359.js.map +0 -1
  433. package/dist/index.cjs360.js +0 -2
  434. package/dist/index.cjs360.js.map +0 -1
  435. package/dist/index.cjs361.js +0 -2
  436. package/dist/index.cjs361.js.map +0 -1
  437. package/dist/index.cjs369.js +0 -5
  438. package/dist/index.cjs369.js.map +0 -1
  439. package/dist/index.cjs370.js +0 -2
  440. package/dist/index.cjs370.js.map +0 -1
  441. package/dist/index.es186.js +0 -6
  442. package/dist/index.es186.js.map +0 -1
  443. package/dist/index.es193.js +0 -5
  444. package/dist/index.es193.js.map +0 -1
  445. package/dist/index.es344.js +0 -625
  446. package/dist/index.es344.js.map +0 -1
  447. package/dist/index.es345.js +0 -14
  448. package/dist/index.es345.js.map +0 -1
  449. package/dist/index.es356.js +0 -15
  450. package/dist/index.es356.js.map +0 -1
  451. package/dist/index.es357.js +0 -208
  452. package/dist/index.es357.js.map +0 -1
  453. package/dist/index.es358.js +0 -25
  454. package/dist/index.es358.js.map +0 -1
  455. package/dist/index.es359.js +0 -396
  456. package/dist/index.es359.js.map +0 -1
  457. package/dist/index.es360.js +0 -28
  458. package/dist/index.es360.js.map +0 -1
  459. package/dist/index.es361.js +0 -32
  460. package/dist/index.es361.js.map +0 -1
  461. package/dist/index.es369.js +0 -113
  462. package/dist/index.es369.js.map +0 -1
  463. package/dist/index.es370.js +0 -19
  464. package/dist/index.es370.js.map +0 -1
@@ -1,8 +1,28 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
1
+ var p = function() {
2
+ return p = Object.assign || function(e) {
3
+ for (var n, r = 1, o = arguments.length; r < o; r++) {
4
+ n = arguments[r];
5
+ for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
6
+ }
7
+ return e;
8
+ }, p.apply(this, arguments);
9
+ };
10
+ function c(t, e) {
11
+ var n = {};
12
+ for (var r in t) Object.prototype.hasOwnProperty.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
13
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
14
+ for (var o = 0, r = Object.getOwnPropertySymbols(t); o < r.length; o++)
15
+ e.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(t, r[o]) && (n[r[o]] = t[r[o]]);
16
+ return n;
17
+ }
18
+ function l(t, e, n) {
19
+ if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
20
+ (a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
21
+ return t.concat(a || Array.prototype.slice.call(e));
22
+ }
2
23
  export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
24
+ p as __assign,
25
+ c as __rest,
26
+ l as __spreadArray
7
27
  };
8
28
  //# sourceMappingURL=index.es366.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es366.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":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es366.js","sources":["../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAG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= e();
1
+ import { __rest as k, __assign as r } from "./index.es366.js";
2
+ import * as a from "react";
3
+ import { zeroRightClassName as E, fullWidthClassName as I } from "./index.es378.js";
4
+ import { effectCar as Z } from "./index.es379.js";
5
+ import { useMergeRefs as W } from "./index.es380.js";
6
+ var o = function() {
7
+ }, m = a.forwardRef(function(e, d) {
8
+ var l = a.useRef(null), n = a.useState({
9
+ onScrollCapture: o,
10
+ onWheelCapture: o,
11
+ onTouchMoveCapture: o
12
+ }), f = n[0], h = n[1], u = e.forwardProps, t = e.children, v = e.className, C = e.removeScrollBar, g = e.enabled, P = e.shards, R = e.sideCar, S = e.noIsolation, b = e.inert, w = e.allowPinchZoom, s = e.as, N = s === void 0 ? "div" : s, M = e.gapMode, _ = k(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), B = R, i = W([l, d]), c = r(r({}, _), f);
13
+ return a.createElement(
14
+ a.Fragment,
15
+ null,
16
+ g && a.createElement(B, { sideCar: Z, removeScrollBar: C, shards: P, noIsolation: S, inert: b, setCallbacks: h, allowPinchZoom: !!w, lockRef: l, gapMode: M }),
17
+ u ? a.cloneElement(a.Children.only(t), r(r({}, c), { ref: i })) : a.createElement(N, r({}, c, { className: v, ref: i }), t)
18
+ );
19
+ });
20
+ m.defaultProps = {
21
+ enabled: !0,
22
+ removeScrollBar: !0,
23
+ inert: !1
24
+ };
25
+ m.classNames = {
26
+ fullWidth: I,
27
+ zeroRight: E
28
+ };
3
29
  export {
4
- a as effectCar
30
+ m as RemoveScroll
5
31
  };
6
32
  //# sourceMappingURL=index.es367.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es367.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":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es367.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":";;;;;AAKA,IAAIA,IAAU,WAAY;AAE1B,GAIIC,IAAeC,EAAM,WAAW,SAAUC,GAAOC,GAAW;AAC5D,MAAIC,IAAMH,EAAM,OAAO,IAAI,GACvBI,IAAKJ,EAAM,SAAS;AAAA,IACpB,iBAAiBF;AAAA,IACjB,gBAAgBA;AAAA,IAChB,oBAAoBA;AAAA,EAC5B,CAAK,GAAGO,IAAYD,EAAG,CAAC,GAAGE,IAAeF,EAAG,CAAC,GACtCG,IAAeN,EAAM,cAAcO,IAAWP,EAAM,UAAUQ,IAAYR,EAAM,WAAWS,IAAkBT,EAAM,iBAAiBU,IAAUV,EAAM,SAASW,IAASX,EAAM,QAAQY,IAAUZ,EAAM,SAASa,IAAcb,EAAM,aAAac,IAAQd,EAAM,OAAOe,IAAiBf,EAAM,gBAAgBgB,IAAKhB,EAAM,IAAIiB,IAAYD,MAAO,SAAS,QAAQA,GAAIE,IAAUlB,EAAM,SAASmB,IAAOC,EAAOpB,GAAO,CAAC,gBAAgB,YAAY,aAAa,mBAAmB,WAAW,UAAU,WAAW,eAAe,SAAS,kBAAkB,MAAM,SAAS,CAAC,GACtiBqB,IAAUT,GACVU,IAAeC,EAAa,CAACrB,GAAKD,CAAS,CAAC,GAC5CuB,IAAiBC,EAASA,EAAS,CAAA,GAAIN,CAAI,GAAGf,CAAS;AAC3D,SAAQL,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCW,KAAYX,EAAM,cAAcsB,GAAS,EAAE,SAASK,GAAW,iBAAiBjB,GAAiB,QAAQE,GAAQ,aAAaE,GAAa,OAAOC,GAAO,cAAcT,GAAc,gBAAgB,CAAC,CAACU,GAAgB,SAASb,GAAK,SAASgB,EAAS,CAAA;AAAA,IACvPZ,IAAgBP,EAAM,aAAaA,EAAM,SAAS,KAAKQ,CAAQ,GAAGkB,EAASA,EAAS,CAAE,GAAED,CAAc,GAAG,EAAE,KAAKF,EAAY,CAAE,CAAC,IAAMvB,EAAM,cAAckB,GAAWQ,EAAS,CAAE,GAAED,GAAgB,EAAE,WAAWhB,GAAW,KAAKc,EAAc,CAAA,GAAGf,CAAQ;AAAA,EAAE;AACjQ,CAAC;AACDT,EAAa,eAAe;AAAA,EACxB,SAAS;AAAA,EACT,iBAAiB;AAAA,EACjB,OAAO;AACX;AACAA,EAAa,aAAa;AAAA,EACtB,WAAW6B;AAAA,EACX,WAAWC;AACf;","x_google_ignoreList":[0]}
@@ -1,27 +1,8 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./index.es391.js";
3
- import { useCallbackRef as l } from "./index.es392.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
20
- }
21
- c.set(t, e);
22
- }, [e]), t;
23
- }
1
+ import { RemoveScrollSideCar as r } from "./index.es381.js";
2
+ import { effectCar as o } from "./index.es379.js";
3
+ import { exportSidecar as e } from "./index.es382.js";
4
+ const f = e(o, r);
24
5
  export {
25
- v as useMergeRefs
6
+ f as default
26
7
  };
27
8
  //# sourceMappingURL=index.es368.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es368.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":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAS;AAe1B,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,KAAI;AAAA,EAC/E,CAAK;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAEvC,CAAa,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAE5C,CAAa;AAAA,IACb;AACQ,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EAC3C,GAAO,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es368.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":";;;AAGA,MAAAA,IAAeC,EAAcC,GAAWC,CAAmB;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
2
+ export {
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
7
+ };
8
+ //# sourceMappingURL=index.es378.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es378.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":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
@@ -1,72 +1,6 @@
1
- import * as d from "react";
2
- import { styleSingleton as f } from "./index.es380.js";
3
- import { noScrollbarsClassName as p, zeroRightClassName as g, fullWidthClassName as l, removedBarSizeVariable as v } from "./index.es366.js";
4
- import { getGapWidth as m } from "./index.es393.js";
5
- var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
6
- var r = n.left, i = n.top, s = n.right, c = n.gap;
7
- return o === void 0 && (o = "margin"), `
8
- .`.concat(p, ` {
9
- overflow: hidden `).concat(t, `;
10
- padding-right: `).concat(c, "px ").concat(t, `;
11
- }
12
- body[`).concat(e, `] {
13
- overflow: hidden `).concat(t, `;
14
- overscroll-behavior: contain;
15
- `).concat([
16
- a && "position: relative ".concat(t, ";"),
17
- o === "margin" && `
18
- padding-left: `.concat(r, `px;
19
- padding-top: `).concat(i, `px;
20
- padding-right: `).concat(s, `px;
21
- margin-left:0;
22
- margin-top:0;
23
- margin-right: `).concat(c, "px ").concat(t, `;
24
- `),
25
- o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
26
- ].filter(Boolean).join(""), `
27
- }
28
-
29
- .`).concat(g, ` {
30
- right: `).concat(c, "px ").concat(t, `;
31
- }
32
-
33
- .`).concat(l, ` {
34
- margin-right: `).concat(c, "px ").concat(t, `;
35
- }
36
-
37
- .`).concat(g, " .").concat(g, ` {
38
- right: 0 `).concat(t, `;
39
- }
40
-
41
- .`).concat(l, " .").concat(l, ` {
42
- margin-right: 0 `).concat(t, `;
43
- }
44
-
45
- body[`).concat(e, `] {
46
- `).concat(v, ": ").concat(c, `px;
47
- }
48
- `);
49
- }, u = function() {
50
- var n = parseInt(document.body.getAttribute(e) || "0", 10);
51
- return isFinite(n) ? n : 0;
52
- }, x = function() {
53
- d.useEffect(function() {
54
- return document.body.setAttribute(e, (u() + 1).toString()), function() {
55
- var n = u() - 1;
56
- n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
57
- };
58
- }, []);
59
- }, C = function(n) {
60
- var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
61
- x();
62
- var i = d.useMemo(function() {
63
- return m(r);
64
- }, [r]);
65
- return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
66
- };
1
+ import { createSidecarMedium as e } from "./index.es386.js";
2
+ var a = e();
67
3
  export {
68
- C as RemoveScrollBar,
69
- e as lockAttribute,
70
- x as useLockAttribute
4
+ a as effectCar
71
5
  };
72
6
  //# sourceMappingURL=index.es379.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es379.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":";;;;AAIA,IAAIA,IAAQC,EAAgB,GACjBC,IAAgB,sBAIvBC,IAAY,SAAUC,GAAIC,GAAeC,GAASC,GAAW;AAC7D,MAAIC,IAAOJ,EAAG,MAAMK,IAAML,EAAG,KAAKM,IAAQN,EAAG,OAAOO,IAAMP,EAAG;AAC7D,SAAIE,MAAY,WAAUA,IAAU,WAC7B;AAAA,KAAQ,OAAOM,GAAuB;AAAA,qBAA0B,EAAE,OAAOL,GAAW;AAAA,mBAAuB,EAAE,OAAOI,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA,QAAiB,EAAE,OAAOL,GAAe;AAAA,sBAA4B,EAAE,OAAOK,GAAW;AAAA;AAAA,KAA4C,EAAE,OAAO;AAAA,IACnSF,KAAiB,sBAAsB,OAAOE,GAAW,GAAG;AAAA,IAC5DD,MAAY,YACR;AAAA,oBAAuB,OAAOE,GAAM;AAAA,kBAAwB,EAAE,OAAOC,GAAK;AAAA,oBAA0B,EAAE,OAAOC,GAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA,KAAS;AAAA,IACxOD,MAAY,aAAa,kBAAkB,OAAOK,GAAK,KAAK,EAAE,OAAOJ,GAAW,GAAG;AAAA,EAC3F,EACS,OAAO,OAAO,EACd,KAAK,EAAE,GAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,GAAoB;AAAA,YAAiB,EAAE,OAAOF,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,GAAoB;AAAA,mBAAwB,EAAE,OAAOH,GAAK,KAAK,EAAE,OAAOJ,GAAW;AAAA;AAAA;AAAA,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import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
@@ -3,7 +3,7 @@ import { BaseModal as s } from "./index.es37.js";
3
3
  import { ConsentModalHeader as a } from "./index.es238.js";
4
4
  import { ConsentModalFooter as i } from "./index.es239.js";
5
5
  import { ContentModalContent as d } from "./index.es240.js";
6
- import { clsx as p } from "./index.es184.js";
6
+ import { clsx as p } from "./index.es183.js";
7
7
  import './components/ui/ConsentModal/ConsentModal.css';/* empty css */
8
8
  const o = ({
9
9
  open: r,
@@ -1,12 +1,27 @@
1
- import { styleHookSingleton as o } from "./index.es394.js";
2
- var s = function() {
3
- var e = o(), n = function(t) {
4
- var r = t.styles, l = t.dynamic;
5
- return e(r, l), null;
6
- };
7
- return n;
8
- };
1
+ import * as f from "react";
2
+ import { assignRef as o } from "./index.es391.js";
3
+ import { useCallbackRef as l } from "./index.es392.js";
4
+ var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
+ function v(e, m) {
6
+ var t = l(null, function(n) {
7
+ return e.forEach(function(u) {
8
+ return o(u, n);
9
+ });
10
+ });
11
+ return s(function() {
12
+ var n = c.get(t);
13
+ if (n) {
14
+ var u = new Set(n), r = new Set(e), i = t.current;
15
+ u.forEach(function(a) {
16
+ r.has(a) || o(a, null);
17
+ }), r.forEach(function(a) {
18
+ u.has(a) || o(a, i);
19
+ });
20
+ }
21
+ c.set(t, e);
22
+ }, [e]), t;
23
+ }
9
24
  export {
10
- s as styleSingleton
25
+ v as useMergeRefs
11
26
  };
12
27
  //# sourceMappingURL=index.es380.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es380.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":";AAOU,IAACA,IAAiB,WAAY;AACpC,MAAIC,IAAWC,EAAoB,GAC/BC,IAAQ,SAAUC,GAAI;AACtB,QAAIC,IAASD,EAAG,QAAQE,IAAUF,EAAG;AACrC,WAAAH,EAASI,GAAQC,CAAO,GACjB;AAAA,EACV;AACD,SAAOH;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es380.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":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAS;AAe1B,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,KAAI;AAAA,EAC/E,CAAK;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAEvC,CAAa,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAE5C,CAAa;AAAA,IACb;AACQ,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EAC3C,GAAO,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
@@ -1,17 +1,113 @@
1
- var r = !1;
2
- if (typeof window < "u")
3
- try {
4
- var e = Object.defineProperty({}, "passive", {
5
- get: function() {
6
- return r = !0, !0;
1
+ import { __spreadArray as x } from "./index.es366.js";
2
+ import * as n from "react";
3
+ import { RemoveScrollBar as A } from "./index.es387.js";
4
+ import { styleSingleton as I } from "./index.es388.js";
5
+ import { nonPassive as s } from "./index.es389.js";
6
+ import { locationCouldBeScrolled as T, handleScroll as W } from "./index.es390.js";
7
+ var b = function(t) {
8
+ return "changedTouches" in t ? [t.changedTouches[0].clientX, t.changedTouches[0].clientY] : [0, 0];
9
+ }, Y = function(t) {
10
+ return [t.deltaX, t.deltaY];
11
+ }, B = function(t) {
12
+ return t && "current" in t ? t.current : t;
13
+ }, p = function(t, c) {
14
+ return t[0] === c[0] && t[1] === c[1];
15
+ }, F = function(t) {
16
+ return `
17
+ .block-interactivity-`.concat(t, ` {pointer-events: none;}
18
+ .allow-interactivity-`).concat(t, ` {pointer-events: all;}
19
+ `);
20
+ }, K = 0, f = [];
21
+ function z(t) {
22
+ var c = n.useRef([]), E = n.useRef([0, 0]), d = n.useRef(), h = n.useState(K++)[0], m = n.useState(I)[0], g = n.useRef(t);
23
+ n.useEffect(function() {
24
+ g.current = t;
25
+ }, [t]), n.useEffect(function() {
26
+ if (t.inert) {
27
+ document.body.classList.add("block-interactivity-".concat(h));
28
+ var e = x([t.lockRef.current], (t.shards || []).map(B), !0).filter(Boolean);
29
+ return e.forEach(function(r) {
30
+ return r.classList.add("allow-interactivity-".concat(h));
31
+ }), function() {
32
+ document.body.classList.remove("block-interactivity-".concat(h)), e.forEach(function(r) {
33
+ return r.classList.remove("allow-interactivity-".concat(h));
34
+ });
35
+ };
36
+ }
37
+ }, [t.inert, t.lockRef.current, t.shards]);
38
+ var k = n.useCallback(function(e, r) {
39
+ if ("touches" in e && e.touches.length === 2 || e.type === "wheel" && e.ctrlKey)
40
+ return !g.current.allowPinchZoom;
41
+ var l = b(e), o = E.current, u = "deltaX" in e ? e.deltaX : o[0] - l[0], i = "deltaY" in e ? e.deltaY : o[1] - l[1], a, C = e.target, v = Math.abs(u) > Math.abs(i) ? "h" : "v";
42
+ if ("touches" in e && v === "h" && C.type === "range")
43
+ return !1;
44
+ var y = T(v, C);
45
+ if (!y)
46
+ return !0;
47
+ if (y ? a = v : (a = v === "v" ? "h" : "v", y = T(v, C)), !y)
48
+ return !1;
49
+ if (!d.current && "changedTouches" in e && (u || i) && (d.current = a), !a)
50
+ return !0;
51
+ var P = d.current || a;
52
+ return W(P, r, e, P === "h" ? u : i);
53
+ }, []), S = n.useCallback(function(e) {
54
+ var r = e;
55
+ if (!(!f.length || f[f.length - 1] !== m)) {
56
+ var l = "deltaY" in r ? Y(r) : b(r), o = c.current.filter(function(a) {
57
+ return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && p(a.delta, l);
58
+ })[0];
59
+ if (o && o.should) {
60
+ r.cancelable && r.preventDefault();
61
+ return;
7
62
  }
8
- });
9
- window.addEventListener("test", e, e), window.removeEventListener("test", e, e);
10
- } catch {
11
- r = !1;
12
- }
13
- var a = r ? { passive: !1 } : !1;
63
+ if (!o) {
64
+ var u = (g.current.shards || []).map(B).filter(Boolean).filter(function(a) {
65
+ return a.contains(r.target);
66
+ }), i = u.length > 0 ? k(r, u[0]) : !g.current.noIsolation;
67
+ i && r.cancelable && r.preventDefault();
68
+ }
69
+ }
70
+ }, []), R = n.useCallback(function(e, r, l, o) {
71
+ var u = { name: e, delta: r, target: l, should: o, shadowParent: O(l) };
72
+ c.current.push(u), setTimeout(function() {
73
+ c.current = c.current.filter(function(i) {
74
+ return i !== u;
75
+ });
76
+ }, 1);
77
+ }, []), w = n.useCallback(function(e) {
78
+ E.current = b(e), d.current = void 0;
79
+ }, []), L = n.useCallback(function(e) {
80
+ R(e.type, Y(e), e.target, k(e, t.lockRef.current));
81
+ }, []), M = n.useCallback(function(e) {
82
+ R(e.type, b(e), e.target, k(e, t.lockRef.current));
83
+ }, []);
84
+ n.useEffect(function() {
85
+ return f.push(m), t.setCallbacks({
86
+ onScrollCapture: L,
87
+ onWheelCapture: L,
88
+ onTouchMoveCapture: M
89
+ }), document.addEventListener("wheel", S, s), document.addEventListener("touchmove", S, s), document.addEventListener("touchstart", w, s), function() {
90
+ f = f.filter(function(e) {
91
+ return e !== m;
92
+ }), document.removeEventListener("wheel", S, s), document.removeEventListener("touchmove", S, s), document.removeEventListener("touchstart", w, s);
93
+ };
94
+ }, []);
95
+ var X = t.removeScrollBar, D = t.inert;
96
+ return n.createElement(
97
+ n.Fragment,
98
+ null,
99
+ D ? n.createElement(m, { styles: F(h) }) : null,
100
+ X ? n.createElement(A, { gapMode: t.gapMode }) : null
101
+ );
102
+ }
103
+ function O(t) {
104
+ for (var c = null; t !== null; )
105
+ t instanceof ShadowRoot && (c = t.host, t = t.host), t = t.parentNode;
106
+ return c;
107
+ }
14
108
  export {
15
- a as nonPassive
109
+ z as RemoveScrollSideCar,
110
+ Y as getDeltaXY,
111
+ b as getTouchXY
16
112
  };
17
113
  //# sourceMappingURL=index.es381.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es381.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":"AAAA,IAAIA,IAAmB;AACvB,IAAI,OAAO,SAAW;AAClB,MAAI;AACA,QAAIC,IAAU,OAAO,eAAe,CAAA,GAAI,WAAW;AAAA,MAC/C,KAAK,WAAY;AACb,eAAAD,IAAmB,IACZ;AAAA,MACV;AAAA,IACb,CAAS;AAED,WAAO,iBAAiB,QAAQC,GAASA,CAAO,GAEhD,OAAO,oBAAoB,QAAQA,GAASA,CAAO;AAAA,EAC3D,QACgB;AACR,IAAAD,IAAmB;AAAA,EAC3B;AAEU,IAACE,IAAaF,IAAmB,EAAE,SAAS,GAAK,IAAK;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.es381.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":";;;;;;AAMU,IAACA,IAAa,SAAUC,GAAO;AACrC,SAAO,oBAAoBA,IAAQ,CAACA,EAAM,eAAe,CAAC,EAAE,SAASA,EAAM,eAAe,CAAC,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC;AACjH,GACWC,IAAa,SAAUD,GAAO;AAAE,SAAO,CAACA,EAAM,QAAQA,EAAM,MAAM;AAAE,GAC3EE,IAAa,SAAUC,GAAK;AAC5B,SAAOA,KAAO,aAAaA,IAAMA,EAAI,UAAUA;AACnD,GACIC,IAAe,SAAUC,GAAGC,GAAG;AAAE,SAAOD,EAAE,CAAC,MAAMC,EAAE,CAAC,KAAKD,EAAE,CAAC,MAAMC,EAAE,CAAC;AAAI,GACzEC,IAAgB,SAAUC,GAAI;AAAE,SAAO;AAAA,yBAA4B,OAAOA,GAAI;AAAA,wBAAmD,EAAE,OAAOA,GAAI;AAAA,CAA2B;AAAI,GAC7KC,IAAY,GACZC,IAAY,CAAE;AACX,SAASC,EAAoBC,GAAO;AACvC,MAAIC,IAAqBC,EAAM,OAAO,EAAE,GACpCC,IAAgBD,EAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GACnCE,IAAaF,EAAM,OAAQ,GAC3BN,IAAKM,EAAM,SAASL,GAAW,EAAE,CAAC,GAClCQ,IAAQH,EAAM,SAASI,CAAc,EAAE,CAAC,GACxCC,IAAYL,EAAM,OAAOF,CAAK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f,GAAee,CAAU,GAChE,SAAS,iBAAiB,cAAcH,GAAkBG,CAAU,GAC7D,WAAY;AACf,MAAAzC,IAAYA,EAAU,OAAO,SAAU0C,GAAM;AAAE,eAAOA,MAASnC;AAAA,OAAQ,GACvE,SAAS,oBAAoB,SAASmB,GAAee,CAAU,GAC/D,SAAS,oBAAoB,aAAaf,GAAee,CAAU,GACnE,SAAS,oBAAoB,cAAcH,GAAkBG,CAAU;AAAA,IAC1E;AAAA,EACJ,GAAE,EAAE;AACL,MAAIE,IAAkBzC,EAAM,iBAAiB0C,IAAQ1C,EAAM;AAC3D,SAAQE,EAAM;AAAA,IAAcA,EAAM;AAAA,IAAU;AAAA,IACxCwC,IAAQxC,EAAM,cAAcG,GAAO,EAAE,QAAQV,EAAcC,CAAE,EAAG,CAAA,IAAI;AAAA,IACpE6C,IAAkBvC,EAAM,cAAcyC,GAAiB,EAAE,SAAS3C,EAAM,SAAS,IAAI;AAAA,EAAI;AACjG;AACA,SAASmC,EAAyBL,GAAM;AAEpC,WADIc,IAAe,MACZd,MAAS;AACZ,IAAIA,aAAgB,eAChBc,IAAed,EAAK,MACpBA,IAAOA,EAAK,OAEhBA,IAAOA,EAAK;AAEhB,SAAOc;AACX;","x_google_ignoreList":[0]}
@@ -1,65 +1,19 @@
1
- var p = function(e) {
2
- return e.tagName === "TEXTAREA";
3
- }, w = function(e, r) {
4
- if (!(e instanceof Element))
5
- return !1;
6
- var o = window.getComputedStyle(e);
7
- return (
8
- // not-not-scrollable
9
- o[r] !== "hidden" && // contains scroll inside self
10
- !(o.overflowY === o.overflowX && !p(e) && o[r] === "visible")
11
- );
12
- }, y = function(e) {
13
- return w(e, "overflowY");
14
- }, H = function(e) {
15
- return w(e, "overflowX");
16
- }, R = function(e, r) {
17
- var o = r.ownerDocument, t = r;
18
- do {
19
- typeof ShadowRoot < "u" && t instanceof ShadowRoot && (t = t.host);
20
- var v = g(e, t);
21
- if (v) {
22
- var n = b(e, t), a = n[1], l = n[2];
23
- if (a > l)
24
- return !0;
25
- }
26
- t = t.parentNode;
27
- } while (t && t !== o.body);
28
- return !1;
29
- }, B = function(e) {
30
- var r = e.scrollTop, o = e.scrollHeight, t = e.clientHeight;
31
- return [
32
- r,
33
- o,
34
- t
35
- ];
36
- }, V = function(e) {
37
- var r = e.scrollLeft, o = e.scrollWidth, t = e.clientWidth;
38
- return [
39
- r,
40
- o,
41
- t
42
- ];
43
- }, g = function(e, r) {
44
- return e === "v" ? y(r) : H(r);
45
- }, b = function(e, r) {
46
- return e === "v" ? B(r) : V(r);
47
- }, D = function(e, r) {
48
- return e === "h" && r === "rtl" ? -1 : 1;
49
- }, W = function(e, r, o, t, v) {
50
- var n = D(e, window.getComputedStyle(r).direction), a = n * t, l = o.target, f = r.contains(l), i = !1, s = a > 0, d = 0, h = 0;
51
- do {
52
- var c = b(e, l), u = c[0], m = c[1], C = c[2], S = m - C - n * u;
53
- (u || S) && g(e, l) && (d += S, h += u), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
54
- } while (
55
- // portaled content
56
- !f && l !== document.body || // self content
57
- f && (r.contains(l) || r === l)
58
- );
59
- return (s && Math.abs(d) < 1 || !s && Math.abs(h) < 1) && (i = !0), i;
1
+ import { __rest as o, __assign as d } from "./index.es366.js";
2
+ import * as n from "react";
3
+ var i = function(r) {
4
+ var e = r.sideCar, a = o(r, ["sideCar"]);
5
+ if (!e)
6
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
7
+ var t = e.read();
8
+ if (!t)
9
+ throw new Error("Sidecar medium not found");
10
+ return n.createElement(t, d({}, a));
60
11
  };
12
+ i.isSideCarExport = !0;
13
+ function p(r, e) {
14
+ return r.useMedium(e), i;
15
+ }
61
16
  export {
62
- W as handleScroll,
63
- R as locationCouldBeScrolled
17
+ p as exportSidecar
64
18
  };
65
19
  //# sourceMappingURL=index.es382.js.map