@anoki/fse-ui 1.0.622 → 1.0.624

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 (904) hide show
  1. package/dist/components/ui/ChangeRelatedCard/ChangeRelatedCard.css +1 -1
  2. package/dist/index.cjs10.js +1 -1
  3. package/dist/index.cjs100.js +1 -1
  4. package/dist/index.cjs101.js +1 -1
  5. package/dist/index.cjs102.js +1 -1
  6. package/dist/index.cjs103.js +1 -1
  7. package/dist/index.cjs104.js +1 -1
  8. package/dist/index.cjs105.js +1 -1
  9. package/dist/index.cjs107.js +1 -1
  10. package/dist/index.cjs108.js +1 -1
  11. package/dist/index.cjs11.js +1 -1
  12. package/dist/index.cjs110.js +1 -1
  13. package/dist/index.cjs112.js +1 -1
  14. package/dist/index.cjs114.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.cjs12.js +1 -1
  19. package/dist/index.cjs121.js +1 -1
  20. package/dist/index.cjs122.js +1 -1
  21. package/dist/index.cjs123.js +1 -1
  22. package/dist/index.cjs124.js +1 -1
  23. package/dist/index.cjs125.js +1 -1
  24. package/dist/index.cjs126.js +1 -1
  25. package/dist/index.cjs127.js +1 -1
  26. package/dist/index.cjs128.js +1 -1
  27. package/dist/index.cjs129.js +1 -1
  28. package/dist/index.cjs13.js +1 -1
  29. package/dist/index.cjs130.js +1 -1
  30. package/dist/index.cjs131.js +1 -1
  31. package/dist/index.cjs132.js +1 -1
  32. package/dist/index.cjs133.js +1 -1
  33. package/dist/index.cjs134.js +1 -1
  34. package/dist/index.cjs135.js +1 -1
  35. package/dist/index.cjs136.js +1 -1
  36. package/dist/index.cjs137.js +1 -1
  37. package/dist/index.cjs138.js +1 -1
  38. package/dist/index.cjs139.js +1 -1
  39. package/dist/index.cjs14.js +1 -1
  40. package/dist/index.cjs140.js +1 -1
  41. package/dist/index.cjs141.js +1 -1
  42. package/dist/index.cjs142.js +1 -1
  43. package/dist/index.cjs143.js +1 -1
  44. package/dist/index.cjs144.js +1 -1
  45. package/dist/index.cjs145.js +1 -1
  46. package/dist/index.cjs146.js +1 -1
  47. package/dist/index.cjs147.js +1 -1
  48. package/dist/index.cjs148.js +1 -1
  49. package/dist/index.cjs149.js +1 -1
  50. package/dist/index.cjs15.js +1 -1
  51. package/dist/index.cjs151.js +1 -1
  52. package/dist/index.cjs152.js +1 -1
  53. package/dist/index.cjs153.js +1 -1
  54. package/dist/index.cjs154.js +1 -1
  55. package/dist/index.cjs155.js +1 -1
  56. package/dist/index.cjs156.js +1 -1
  57. package/dist/index.cjs157.js +1 -1
  58. package/dist/index.cjs158.js +1 -1
  59. package/dist/index.cjs159.js +1 -1
  60. package/dist/index.cjs16.js +1 -1
  61. package/dist/index.cjs161.js +1 -1
  62. package/dist/index.cjs162.js +1 -1
  63. package/dist/index.cjs163.js +1 -1
  64. package/dist/index.cjs164.js +1 -1
  65. package/dist/index.cjs165.js +1 -1
  66. package/dist/index.cjs166.js +1 -1
  67. package/dist/index.cjs167.js +1 -1
  68. package/dist/index.cjs169.js +1 -1
  69. package/dist/index.cjs17.js +1 -1
  70. package/dist/index.cjs170.js +1 -1
  71. package/dist/index.cjs171.js +1 -1
  72. package/dist/index.cjs172.js +1 -1
  73. package/dist/index.cjs173.js +1 -1
  74. package/dist/index.cjs174.js +1 -1
  75. package/dist/index.cjs175.js +1 -1
  76. package/dist/index.cjs18.js +1 -1
  77. package/dist/index.cjs19.js +1 -1
  78. package/dist/index.cjs198.js +1 -1
  79. package/dist/index.cjs198.js.map +1 -1
  80. package/dist/index.cjs20.js +1 -1
  81. package/dist/index.cjs200.js +1 -1
  82. package/dist/index.cjs200.js.map +1 -1
  83. package/dist/index.cjs207.js +2 -0
  84. package/dist/index.cjs207.js.map +1 -0
  85. package/dist/index.cjs208.js +6 -1
  86. package/dist/index.cjs208.js.map +1 -1
  87. package/dist/index.cjs209.js +2 -0
  88. package/dist/index.cjs209.js.map +1 -0
  89. package/dist/index.cjs21.js +1 -1
  90. package/dist/index.cjs210.js +2 -0
  91. package/dist/index.cjs210.js.map +1 -0
  92. package/dist/{index.cjs201.js → index.cjs212.js} +1 -1
  93. package/dist/{index.cjs201.js.map → index.cjs212.js.map} +1 -1
  94. package/dist/{index.cjs204.js → index.cjs215.js} +1 -1
  95. package/dist/{index.cjs204.js.map → index.cjs215.js.map} +1 -1
  96. package/dist/index.cjs219.js +1 -1
  97. package/dist/index.cjs219.js.map +1 -1
  98. package/dist/index.cjs22.js +1 -1
  99. package/dist/{index.cjs211.js → index.cjs222.js} +2 -2
  100. package/dist/{index.cjs211.js.map → index.cjs222.js.map} +1 -1
  101. package/dist/index.cjs225.js +1 -1
  102. package/dist/index.cjs225.js.map +1 -1
  103. package/dist/{index.cjs217.js → index.cjs228.js} +2 -2
  104. package/dist/{index.cjs217.js.map → index.cjs228.js.map} +1 -1
  105. package/dist/index.cjs229.js +1 -1
  106. package/dist/index.cjs229.js.map +1 -1
  107. package/dist/index.cjs23.js +1 -1
  108. package/dist/index.cjs230.js +2 -0
  109. package/dist/index.cjs230.js.map +1 -0
  110. package/dist/index.cjs236.js +1 -1
  111. package/dist/index.cjs236.js.map +1 -1
  112. package/dist/index.cjs237.js +1 -1
  113. package/dist/index.cjs237.js.map +1 -1
  114. package/dist/index.cjs24.js +1 -1
  115. package/dist/index.cjs240.js +1 -1
  116. package/dist/index.cjs240.js.map +1 -1
  117. package/dist/index.cjs245.js +1 -1
  118. package/dist/index.cjs245.js.map +1 -1
  119. package/dist/index.cjs246.js +1 -1
  120. package/dist/index.cjs246.js.map +1 -1
  121. package/dist/index.cjs247.js +2 -0
  122. package/dist/index.cjs247.js.map +1 -0
  123. package/dist/index.cjs248.js +1 -1
  124. package/dist/index.cjs248.js.map +1 -1
  125. package/dist/index.cjs249.js +1 -1
  126. package/dist/index.cjs249.js.map +1 -1
  127. package/dist/index.cjs25.js +1 -1
  128. package/dist/index.cjs251.js +2 -0
  129. package/dist/index.cjs251.js.map +1 -0
  130. package/dist/index.cjs253.js +5 -1
  131. package/dist/index.cjs253.js.map +1 -1
  132. package/dist/index.cjs254.js +1 -1
  133. package/dist/index.cjs254.js.map +1 -1
  134. package/dist/{index.cjs244.js → index.cjs255.js} +1 -1
  135. package/dist/{index.cjs244.js.map → index.cjs255.js.map} +1 -1
  136. package/dist/index.cjs256.js +2 -0
  137. package/dist/index.cjs256.js.map +1 -0
  138. package/dist/index.cjs257.js +2 -0
  139. package/dist/index.cjs257.js.map +1 -0
  140. package/dist/index.cjs259.js +1 -1
  141. package/dist/index.cjs259.js.map +1 -1
  142. package/dist/index.cjs26.js +1 -1
  143. package/dist/index.cjs260.js +1 -1
  144. package/dist/index.cjs260.js.map +1 -1
  145. package/dist/index.cjs261.js +1 -1
  146. package/dist/index.cjs261.js.map +1 -1
  147. package/dist/index.cjs264.js +1 -1
  148. package/dist/index.cjs264.js.map +1 -1
  149. package/dist/index.cjs265.js +1 -1
  150. package/dist/index.cjs265.js.map +1 -1
  151. package/dist/index.cjs270.js +2 -0
  152. package/dist/index.cjs270.js.map +1 -0
  153. package/dist/index.cjs271.js +1 -6
  154. package/dist/index.cjs271.js.map +1 -1
  155. package/dist/index.cjs272.js +2 -0
  156. package/dist/index.cjs272.js.map +1 -0
  157. package/dist/{index.cjs263.js → index.cjs274.js} +2 -2
  158. package/dist/{index.cjs263.js.map → index.cjs274.js.map} +1 -1
  159. package/dist/index.cjs275.js +2 -0
  160. package/dist/index.cjs275.js.map +1 -0
  161. package/dist/index.cjs276.js +2 -0
  162. package/dist/index.cjs276.js.map +1 -0
  163. package/dist/{index.cjs267.js → index.cjs278.js} +2 -2
  164. package/dist/{index.cjs267.js.map → index.cjs278.js.map} +1 -1
  165. package/dist/{index.cjs268.js → index.cjs279.js} +2 -2
  166. package/dist/{index.cjs268.js.map → index.cjs279.js.map} +1 -1
  167. package/dist/index.cjs28.js +1 -1
  168. package/dist/index.cjs280.js +1 -1
  169. package/dist/index.cjs280.js.map +1 -1
  170. package/dist/index.cjs29.js +1 -1
  171. package/dist/index.cjs290.js +2 -0
  172. package/dist/index.cjs290.js.map +1 -0
  173. package/dist/index.cjs30.js +1 -1
  174. package/dist/index.cjs31.js +1 -1
  175. package/dist/{index.cjs308.js → index.cjs318.js} +2 -2
  176. package/dist/{index.cjs308.js.map → index.cjs318.js.map} +1 -1
  177. package/dist/index.cjs32.js +1 -1
  178. package/dist/{index.cjs316.js → index.cjs326.js} +2 -2
  179. package/dist/{index.cjs316.js.map → index.cjs326.js.map} +1 -1
  180. package/dist/index.cjs33.js +1 -1
  181. package/dist/{index.cjs321.js → index.cjs331.js} +2 -2
  182. package/dist/{index.cjs321.js.map → index.cjs331.js.map} +1 -1
  183. package/dist/index.cjs337.js +1 -1
  184. package/dist/index.cjs337.js.map +1 -1
  185. package/dist/{index.cjs329.js → index.cjs339.js} +2 -2
  186. package/dist/{index.cjs329.js.map → index.cjs339.js.map} +1 -1
  187. package/dist/index.cjs34.js +1 -1
  188. package/dist/{index.cjs333.js → index.cjs343.js} +1 -1
  189. package/dist/{index.cjs333.js.map → index.cjs343.js.map} +1 -1
  190. package/dist/{index.cjs335.js → index.cjs345.js} +2 -2
  191. package/dist/{index.cjs335.js.map → index.cjs345.js.map} +1 -1
  192. package/dist/{index.cjs336.js → index.cjs346.js} +1 -1
  193. package/dist/{index.cjs336.js.map → index.cjs346.js.map} +1 -1
  194. package/dist/index.cjs347.js +2 -0
  195. package/dist/index.cjs347.js.map +1 -0
  196. package/dist/index.cjs35.js +1 -1
  197. package/dist/index.cjs355.js +1 -1
  198. package/dist/index.cjs356.js +1 -1
  199. package/dist/index.cjs357.js +27 -1
  200. package/dist/index.cjs357.js.map +1 -1
  201. package/dist/index.cjs358.js +1 -1
  202. package/dist/index.cjs358.js.map +1 -1
  203. package/dist/index.cjs359.js +1 -1
  204. package/dist/index.cjs359.js.map +1 -1
  205. package/dist/index.cjs360.js +1 -1
  206. package/dist/index.cjs360.js.map +1 -1
  207. package/dist/index.cjs361.js +2 -1
  208. package/dist/index.cjs361.js.map +1 -1
  209. package/dist/index.cjs362.js +1 -1
  210. package/dist/index.cjs362.js.map +1 -1
  211. package/dist/index.cjs363.js +1 -1
  212. package/dist/index.cjs363.js.map +1 -1
  213. package/dist/index.cjs364.js +2 -0
  214. package/dist/index.cjs364.js.map +1 -0
  215. package/dist/index.cjs365.js +1 -1
  216. package/dist/index.cjs365.js.map +1 -1
  217. package/dist/index.cjs366.js +2 -0
  218. package/dist/index.cjs366.js.map +1 -0
  219. package/dist/index.cjs367.js +2 -0
  220. package/dist/index.cjs367.js.map +1 -0
  221. package/dist/index.cjs368.js +1 -1
  222. package/dist/index.cjs368.js.map +1 -1
  223. package/dist/index.cjs369.js +1 -1
  224. package/dist/index.cjs369.js.map +1 -1
  225. package/dist/index.cjs37.js +1 -1
  226. package/dist/index.cjs370.js +1 -1
  227. package/dist/index.cjs370.js.map +1 -1
  228. package/dist/index.cjs372.js +2 -0
  229. package/dist/index.cjs372.js.map +1 -0
  230. package/dist/index.cjs373.js +2 -0
  231. package/dist/index.cjs373.js.map +1 -0
  232. package/dist/index.cjs374.js +2 -0
  233. package/dist/index.cjs374.js.map +1 -0
  234. package/dist/index.cjs375.js +1 -1
  235. package/dist/index.cjs375.js.map +1 -1
  236. package/dist/index.cjs376.js +1 -1
  237. package/dist/index.cjs376.js.map +1 -1
  238. package/dist/index.cjs377.js +1 -1
  239. package/dist/index.cjs377.js.map +1 -1
  240. package/dist/index.cjs378.js +1 -1
  241. package/dist/index.cjs378.js.map +1 -1
  242. package/dist/index.cjs379.js +1 -1
  243. package/dist/index.cjs379.js.map +1 -1
  244. package/dist/index.cjs38.js +1 -1
  245. package/dist/index.cjs380.js +1 -1
  246. package/dist/index.cjs380.js.map +1 -1
  247. package/dist/index.cjs381.js +1 -1
  248. package/dist/index.cjs381.js.map +1 -1
  249. package/dist/{index.cjs400.js → index.cjs382.js} +2 -2
  250. package/dist/{index.cjs400.js.map → index.cjs382.js.map} +1 -1
  251. package/dist/index.cjs383.js +2 -0
  252. package/dist/index.cjs383.js.map +1 -0
  253. package/dist/index.cjs384.js +2 -0
  254. package/dist/index.cjs384.js.map +1 -0
  255. package/dist/index.cjs385.js +2 -0
  256. package/dist/index.cjs385.js.map +1 -0
  257. package/dist/index.cjs386.js +2 -0
  258. package/dist/index.cjs386.js.map +1 -0
  259. package/dist/index.cjs389.js +2 -0
  260. package/dist/index.cjs389.js.map +1 -0
  261. package/dist/index.cjs39.js +1 -1
  262. package/dist/index.cjs390.js +2 -0
  263. package/dist/index.cjs390.js.map +1 -0
  264. package/dist/index.cjs391.js +1 -1
  265. package/dist/index.cjs391.js.map +1 -1
  266. package/dist/index.cjs392.js +1 -1
  267. package/dist/index.cjs392.js.map +1 -1
  268. package/dist/index.cjs393.js +2 -0
  269. package/dist/index.cjs393.js.map +1 -0
  270. package/dist/index.cjs394.js +2 -0
  271. package/dist/index.cjs394.js.map +1 -0
  272. package/dist/index.cjs395.js +2 -0
  273. package/dist/index.cjs395.js.map +1 -0
  274. package/dist/index.cjs396.js +1 -1
  275. package/dist/index.cjs396.js.map +1 -1
  276. package/dist/index.cjs397.js +1 -1
  277. package/dist/index.cjs397.js.map +1 -1
  278. package/dist/index.cjs40.js +1 -1
  279. package/dist/index.cjs401.js +1 -1
  280. package/dist/index.cjs401.js.map +1 -1
  281. package/dist/index.cjs402.js +1 -1
  282. package/dist/index.cjs402.js.map +1 -1
  283. package/dist/index.cjs403.js +1 -1
  284. package/dist/index.cjs403.js.map +1 -1
  285. package/dist/index.cjs404.js +4 -1
  286. package/dist/index.cjs404.js.map +1 -1
  287. package/dist/index.cjs405.js +1 -1
  288. package/dist/index.cjs405.js.map +1 -1
  289. package/dist/index.cjs406.js +1 -1
  290. package/dist/index.cjs406.js.map +1 -1
  291. package/dist/index.cjs407.js +1 -1
  292. package/dist/index.cjs407.js.map +1 -1
  293. package/dist/index.cjs408.js +1 -1
  294. package/dist/index.cjs408.js.map +1 -1
  295. package/dist/index.cjs409.js +38 -1
  296. package/dist/index.cjs409.js.map +1 -1
  297. package/dist/index.cjs41.js +1 -1
  298. package/dist/index.cjs410.js +1 -1
  299. package/dist/index.cjs410.js.map +1 -1
  300. package/dist/index.cjs411.js +1 -1
  301. package/dist/index.cjs411.js.map +1 -1
  302. package/dist/index.cjs412.js +1 -1
  303. package/dist/index.cjs412.js.map +1 -1
  304. package/dist/index.cjs413.js +1 -4
  305. package/dist/index.cjs413.js.map +1 -1
  306. package/dist/index.cjs414.js +1 -1
  307. package/dist/index.cjs414.js.map +1 -1
  308. package/dist/index.cjs415.js +1 -1
  309. package/dist/index.cjs415.js.map +1 -1
  310. package/dist/index.cjs416.js +1 -1
  311. package/dist/index.cjs416.js.map +1 -1
  312. package/dist/index.cjs417.js +1 -1
  313. package/dist/index.cjs417.js.map +1 -1
  314. package/dist/index.cjs418.js +1 -1
  315. package/dist/index.cjs418.js.map +1 -1
  316. package/dist/index.cjs419.js +1 -38
  317. package/dist/index.cjs419.js.map +1 -1
  318. package/dist/index.cjs42.js +1 -1
  319. package/dist/index.cjs420.js +1 -1
  320. package/dist/index.cjs420.js.map +1 -1
  321. package/dist/index.cjs43.js +1 -1
  322. package/dist/index.cjs435.js +1 -1
  323. package/dist/index.cjs435.js.map +1 -1
  324. package/dist/index.cjs436.js +1 -1
  325. package/dist/index.cjs436.js.map +1 -1
  326. package/dist/index.cjs437.js +1 -1
  327. package/dist/index.cjs437.js.map +1 -1
  328. package/dist/index.cjs438.js +1 -1
  329. package/dist/index.cjs438.js.map +1 -1
  330. package/dist/index.cjs439.js +1 -1
  331. package/dist/index.cjs439.js.map +1 -1
  332. package/dist/index.cjs44.js +1 -1
  333. package/dist/index.cjs440.js +1 -1
  334. package/dist/index.cjs440.js.map +1 -1
  335. package/dist/index.cjs441.js +1 -1
  336. package/dist/index.cjs441.js.map +1 -1
  337. package/dist/index.cjs442.js +1 -27
  338. package/dist/index.cjs442.js.map +1 -1
  339. package/dist/index.cjs443.js +1 -1
  340. package/dist/index.cjs443.js.map +1 -1
  341. package/dist/index.cjs444.js +1 -1
  342. package/dist/index.cjs444.js.map +1 -1
  343. package/dist/index.cjs445.js +1 -2
  344. package/dist/index.cjs445.js.map +1 -1
  345. package/dist/index.cjs45.js +1 -1
  346. package/dist/index.cjs453.js +1 -1
  347. package/dist/index.cjs453.js.map +1 -1
  348. package/dist/index.cjs454.js +1 -1
  349. package/dist/index.cjs454.js.map +1 -1
  350. package/dist/index.cjs455.js +1 -1
  351. package/dist/index.cjs455.js.map +1 -1
  352. package/dist/index.cjs456.js +1 -1
  353. package/dist/index.cjs456.js.map +1 -1
  354. package/dist/index.cjs457.js +1 -1
  355. package/dist/index.cjs457.js.map +1 -1
  356. package/dist/index.cjs458.js +1 -1
  357. package/dist/index.cjs458.js.map +1 -1
  358. package/dist/index.cjs459.js +1 -1
  359. package/dist/index.cjs459.js.map +1 -1
  360. package/dist/index.cjs46.js +1 -1
  361. package/dist/index.cjs460.js +1 -1
  362. package/dist/index.cjs47.js +1 -1
  363. package/dist/index.cjs48.js +1 -1
  364. package/dist/index.cjs49.js +1 -1
  365. package/dist/index.cjs50.js +1 -1
  366. package/dist/index.cjs51.js +1 -1
  367. package/dist/index.cjs52.js +1 -1
  368. package/dist/index.cjs53.js +1 -1
  369. package/dist/index.cjs54.js +1 -1
  370. package/dist/index.cjs55.js +1 -1
  371. package/dist/index.cjs56.js +1 -1
  372. package/dist/index.cjs57.js +1 -1
  373. package/dist/index.cjs59.js +1 -1
  374. package/dist/index.cjs6.js +1 -1
  375. package/dist/index.cjs60.js +1 -1
  376. package/dist/index.cjs61.js +1 -1
  377. package/dist/index.cjs62.js +1 -1
  378. package/dist/index.cjs64.js +1 -1
  379. package/dist/index.cjs66.js +1 -1
  380. package/dist/index.cjs67.js +1 -1
  381. package/dist/index.cjs69.js +1 -1
  382. package/dist/index.cjs7.js +1 -1
  383. package/dist/index.cjs70.js +1 -1
  384. package/dist/index.cjs71.js +1 -1
  385. package/dist/index.cjs72.js +1 -1
  386. package/dist/index.cjs8.js +1 -1
  387. package/dist/index.cjs89.js +1 -1
  388. package/dist/index.cjs9.js +1 -1
  389. package/dist/index.cjs90.js +1 -1
  390. package/dist/index.cjs91.js +1 -1
  391. package/dist/index.cjs93.js +1 -1
  392. package/dist/index.cjs95.js +1 -1
  393. package/dist/index.cjs96.js +1 -1
  394. package/dist/index.cjs99.js +1 -1
  395. package/dist/index.es10.js +4 -4
  396. package/dist/index.es100.js +1 -1
  397. package/dist/index.es101.js +3 -3
  398. package/dist/index.es102.js +1 -1
  399. package/dist/index.es103.js +1 -1
  400. package/dist/index.es104.js +1 -1
  401. package/dist/index.es105.js +1 -1
  402. package/dist/index.es107.js +2 -2
  403. package/dist/index.es108.js +1 -1
  404. package/dist/index.es11.js +1 -1
  405. package/dist/index.es110.js +1 -1
  406. package/dist/index.es112.js +3 -3
  407. package/dist/index.es114.js +2 -2
  408. package/dist/index.es116.js +1 -1
  409. package/dist/index.es117.js +2 -2
  410. package/dist/index.es118.js +1 -1
  411. package/dist/index.es12.js +2 -2
  412. package/dist/index.es121.js +2 -2
  413. package/dist/index.es122.js +2 -2
  414. package/dist/index.es123.js +2 -2
  415. package/dist/index.es124.js +2 -2
  416. package/dist/index.es125.js +2 -2
  417. package/dist/index.es126.js +2 -2
  418. package/dist/index.es127.js +2 -2
  419. package/dist/index.es128.js +2 -2
  420. package/dist/index.es129.js +2 -2
  421. package/dist/index.es13.js +1 -1
  422. package/dist/index.es130.js +2 -2
  423. package/dist/index.es131.js +2 -2
  424. package/dist/index.es132.js +2 -2
  425. package/dist/index.es133.js +2 -2
  426. package/dist/index.es134.js +2 -2
  427. package/dist/index.es135.js +2 -2
  428. package/dist/index.es136.js +2 -2
  429. package/dist/index.es137.js +2 -2
  430. package/dist/index.es138.js +2 -2
  431. package/dist/index.es139.js +2 -2
  432. package/dist/index.es14.js +1 -1
  433. package/dist/index.es140.js +2 -2
  434. package/dist/index.es141.js +2 -2
  435. package/dist/index.es142.js +2 -2
  436. package/dist/index.es143.js +2 -2
  437. package/dist/index.es144.js +1 -1
  438. package/dist/index.es145.js +1 -1
  439. package/dist/index.es146.js +1 -1
  440. package/dist/index.es147.js +2 -2
  441. package/dist/index.es148.js +2 -2
  442. package/dist/index.es149.js +2 -2
  443. package/dist/index.es15.js +2 -2
  444. package/dist/index.es151.js +2 -2
  445. package/dist/index.es152.js +2 -2
  446. package/dist/index.es153.js +2 -2
  447. package/dist/index.es154.js +2 -2
  448. package/dist/index.es155.js +2 -2
  449. package/dist/index.es156.js +2 -2
  450. package/dist/index.es157.js +2 -2
  451. package/dist/index.es158.js +2 -2
  452. package/dist/index.es159.js +2 -2
  453. package/dist/index.es16.js +2 -2
  454. package/dist/index.es161.js +2 -2
  455. package/dist/index.es162.js +2 -2
  456. package/dist/index.es163.js +2 -2
  457. package/dist/index.es164.js +2 -2
  458. package/dist/index.es165.js +2 -2
  459. package/dist/index.es166.js +2 -2
  460. package/dist/index.es167.js +2 -2
  461. package/dist/index.es169.js +2 -2
  462. package/dist/index.es17.js +1 -1
  463. package/dist/index.es170.js +2 -2
  464. package/dist/index.es171.js +2 -2
  465. package/dist/index.es172.js +2 -2
  466. package/dist/index.es173.js +2 -2
  467. package/dist/index.es174.js +2 -2
  468. package/dist/index.es175.js +2 -2
  469. package/dist/index.es18.js +2 -2
  470. package/dist/index.es19.js +2 -2
  471. package/dist/index.es198.js +15 -27
  472. package/dist/index.es198.js.map +1 -1
  473. package/dist/index.es20.js +1 -1
  474. package/dist/index.es200.js +3 -2
  475. package/dist/index.es200.js.map +1 -1
  476. package/dist/index.es207.js +8 -0
  477. package/dist/index.es207.js.map +1 -0
  478. package/dist/index.es208.js +59 -22
  479. package/dist/index.es208.js.map +1 -1
  480. package/dist/index.es209.js +5 -0
  481. package/dist/index.es209.js.map +1 -0
  482. package/dist/index.es21.js +2 -2
  483. package/dist/index.es210.js +30 -0
  484. package/dist/index.es210.js.map +1 -0
  485. package/dist/{index.es201.js → index.es212.js} +1 -1
  486. package/dist/{index.es201.js.map → index.es212.js.map} +1 -1
  487. package/dist/{index.es204.js → index.es215.js} +1 -1
  488. package/dist/{index.es204.js.map → index.es215.js.map} +1 -1
  489. package/dist/index.es219.js +20 -145
  490. package/dist/index.es219.js.map +1 -1
  491. package/dist/index.es22.js +3 -3
  492. package/dist/{index.es211.js → index.es222.js} +2 -2
  493. package/dist/{index.es211.js.map → index.es222.js.map} +1 -1
  494. package/dist/index.es225.js +195 -121
  495. package/dist/index.es225.js.map +1 -1
  496. package/dist/{index.es217.js → index.es228.js} +3 -3
  497. package/dist/{index.es217.js.map → index.es228.js.map} +1 -1
  498. package/dist/index.es229.js +143 -3
  499. package/dist/index.es229.js.map +1 -1
  500. package/dist/index.es23.js +2 -2
  501. package/dist/index.es230.js +150 -0
  502. package/dist/index.es230.js.map +1 -0
  503. package/dist/index.es236.js +132 -11
  504. package/dist/index.es236.js.map +1 -1
  505. package/dist/index.es237.js +20 -6
  506. package/dist/index.es237.js.map +1 -1
  507. package/dist/index.es24.js +2 -2
  508. package/dist/index.es240.js +3 -51
  509. package/dist/index.es240.js.map +1 -1
  510. package/dist/index.es245.js +4 -7
  511. package/dist/index.es245.js.map +1 -1
  512. package/dist/index.es246.js +19 -27
  513. package/dist/index.es246.js.map +1 -1
  514. package/dist/index.es247.js +15 -0
  515. package/dist/index.es247.js.map +1 -0
  516. package/dist/index.es248.js +6 -27
  517. package/dist/index.es248.js.map +1 -1
  518. package/dist/index.es249.js +5 -4
  519. package/dist/index.es249.js.map +1 -1
  520. package/dist/index.es25.js +2 -2
  521. package/dist/index.es251.js +54 -0
  522. package/dist/index.es251.js.map +1 -0
  523. package/dist/index.es253.js +259 -8
  524. package/dist/index.es253.js.map +1 -1
  525. package/dist/index.es254.js +49 -4
  526. package/dist/index.es254.js.map +1 -1
  527. package/dist/{index.es244.js → index.es255.js} +1 -1
  528. package/dist/{index.es244.js.map → index.es255.js.map} +1 -1
  529. package/dist/index.es256.js +10 -0
  530. package/dist/index.es256.js.map +1 -0
  531. package/dist/index.es257.js +31 -0
  532. package/dist/index.es257.js.map +1 -0
  533. package/dist/index.es259.js +27 -8
  534. package/dist/index.es259.js.map +1 -1
  535. package/dist/index.es26.js +1 -1
  536. package/dist/index.es260.js +4 -27
  537. package/dist/index.es260.js.map +1 -1
  538. package/dist/index.es261.js +8 -6
  539. package/dist/index.es261.js.map +1 -1
  540. package/dist/index.es264.js +6 -6
  541. package/dist/index.es264.js.map +1 -1
  542. package/dist/index.es265.js +3 -5
  543. package/dist/index.es265.js.map +1 -1
  544. package/dist/index.es270.js +11 -0
  545. package/dist/index.es270.js.map +1 -0
  546. package/dist/index.es271.js +27 -59
  547. package/dist/index.es271.js.map +1 -1
  548. package/dist/index.es272.js +9 -0
  549. package/dist/index.es272.js.map +1 -0
  550. package/dist/{index.es263.js → index.es274.js} +2 -2
  551. package/dist/{index.es263.js.map → index.es274.js.map} +1 -1
  552. package/dist/index.es275.js +11 -0
  553. package/dist/index.es275.js.map +1 -0
  554. package/dist/index.es276.js +9 -0
  555. package/dist/index.es276.js.map +1 -0
  556. package/dist/{index.es267.js → index.es278.js} +3 -3
  557. package/dist/{index.es267.js.map → index.es278.js.map} +1 -1
  558. package/dist/{index.es268.js → index.es279.js} +3 -3
  559. package/dist/{index.es268.js.map → index.es279.js.map} +1 -1
  560. package/dist/index.es28.js +2 -2
  561. package/dist/index.es280.js +118 -1
  562. package/dist/index.es280.js.map +1 -1
  563. package/dist/index.es29.js +1 -1
  564. package/dist/index.es290.js +2 -0
  565. package/dist/index.es290.js.map +1 -0
  566. package/dist/index.es30.js +3 -3
  567. package/dist/index.es31.js +1 -1
  568. package/dist/{index.es308.js → index.es318.js} +6 -6
  569. package/dist/{index.es308.js.map → index.es318.js.map} +1 -1
  570. package/dist/index.es32.js +1 -1
  571. package/dist/{index.es316.js → index.es326.js} +2 -2
  572. package/dist/{index.es316.js.map → index.es326.js.map} +1 -1
  573. package/dist/index.es33.js +1 -1
  574. package/dist/{index.es321.js → index.es331.js} +9 -9
  575. package/dist/{index.es321.js.map → index.es331.js.map} +1 -1
  576. package/dist/index.es337.js +34 -224
  577. package/dist/index.es337.js.map +1 -1
  578. package/dist/{index.es329.js → index.es339.js} +2 -2
  579. package/dist/{index.es329.js.map → index.es339.js.map} +1 -1
  580. package/dist/index.es34.js +5 -5
  581. package/dist/{index.es333.js → index.es343.js} +1 -1
  582. package/dist/{index.es333.js.map → index.es343.js.map} +1 -1
  583. package/dist/{index.es335.js → index.es345.js} +4 -4
  584. package/dist/{index.es335.js.map → index.es345.js.map} +1 -1
  585. package/dist/{index.es336.js → index.es346.js} +1 -1
  586. package/dist/{index.es336.js.map → index.es346.js.map} +1 -1
  587. package/dist/index.es347.js +228 -0
  588. package/dist/index.es347.js.map +1 -0
  589. package/dist/index.es35.js +1 -1
  590. package/dist/index.es355.js +1 -1
  591. package/dist/index.es356.js +1 -1
  592. package/dist/index.es357.js +3674 -6
  593. package/dist/index.es357.js.map +1 -1
  594. package/dist/index.es358.js +5 -26
  595. package/dist/index.es358.js.map +1 -1
  596. package/dist/index.es359.js +2 -68
  597. package/dist/index.es359.js.map +1 -1
  598. package/dist/index.es360.js +5 -29
  599. package/dist/index.es360.js.map +1 -1
  600. package/dist/index.es361.js +519 -31
  601. package/dist/index.es361.js.map +1 -1
  602. package/dist/index.es362.js +2 -622
  603. package/dist/index.es362.js.map +1 -1
  604. package/dist/index.es363.js +2 -11
  605. package/dist/index.es363.js.map +1 -1
  606. package/dist/index.es364.js +10 -0
  607. package/dist/index.es364.js.map +1 -0
  608. package/dist/index.es365.js +27 -15
  609. package/dist/index.es365.js.map +1 -1
  610. package/dist/index.es366.js +71 -0
  611. package/dist/index.es366.js.map +1 -0
  612. package/dist/index.es367.js +33 -0
  613. package/dist/index.es367.js.map +1 -0
  614. package/dist/index.es368.js +32 -5
  615. package/dist/index.es368.js.map +1 -1
  616. package/dist/index.es369.js +621 -24
  617. package/dist/index.es369.js.map +1 -1
  618. package/dist/index.es37.js +1 -1
  619. package/dist/index.es370.js +10 -68
  620. package/dist/index.es370.js.map +1 -1
  621. package/dist/index.es372.js +14 -0
  622. package/dist/index.es372.js.map +1 -0
  623. package/dist/index.es373.js +56 -0
  624. package/dist/index.es373.js.map +1 -0
  625. package/dist/index.es374.js +49 -0
  626. package/dist/index.es374.js.map +1 -0
  627. package/dist/index.es375.js +7 -124
  628. package/dist/index.es375.js.map +1 -1
  629. package/dist/index.es376.js +116 -126
  630. package/dist/index.es376.js.map +1 -1
  631. package/dist/index.es377.js +14 -13
  632. package/dist/index.es377.js.map +1 -1
  633. package/dist/index.es378.js +134 -14
  634. package/dist/index.es378.js.map +1 -1
  635. package/dist/index.es379.js +217 -8
  636. package/dist/index.es379.js.map +1 -1
  637. package/dist/index.es38.js +5 -5
  638. package/dist/index.es380.js +14 -50
  639. package/dist/index.es380.js.map +1 -1
  640. package/dist/index.es381.js +63 -47
  641. package/dist/index.es381.js.map +1 -1
  642. package/dist/{index.es400.js → index.es382.js} +10 -10
  643. package/dist/{index.es400.js.map → index.es382.js.map} +1 -1
  644. package/dist/index.es383.js +53 -0
  645. package/dist/index.es383.js.map +1 -0
  646. package/dist/index.es384.js +12 -0
  647. package/dist/index.es384.js.map +1 -0
  648. package/dist/index.es385.js +7 -0
  649. package/dist/index.es385.js.map +1 -0
  650. package/dist/index.es386.js +18 -0
  651. package/dist/index.es386.js.map +1 -0
  652. package/dist/index.es389.js +15 -0
  653. package/dist/index.es389.js.map +1 -0
  654. package/dist/index.es39.js +4 -4
  655. package/dist/index.es390.js +208 -0
  656. package/dist/index.es390.js.map +1 -0
  657. package/dist/index.es391.js +22 -2
  658. package/dist/index.es391.js.map +1 -1
  659. package/dist/index.es392.js +25 -2
  660. package/dist/index.es392.js.map +1 -1
  661. package/dist/index.es393.js +396 -0
  662. package/dist/index.es393.js.map +1 -0
  663. package/dist/index.es394.js +9 -0
  664. package/dist/index.es394.js.map +1 -0
  665. package/dist/index.es395.js +28 -0
  666. package/dist/index.es395.js.map +1 -0
  667. package/dist/index.es396.js +29 -11
  668. package/dist/index.es396.js.map +1 -1
  669. package/dist/index.es397.js +5 -46
  670. package/dist/index.es397.js.map +1 -1
  671. package/dist/index.es40.js +3 -3
  672. package/dist/index.es401.js +5 -4
  673. package/dist/index.es401.js.map +1 -1
  674. package/dist/index.es402.js +3 -12
  675. package/dist/index.es402.js.map +1 -1
  676. package/dist/index.es403.js +20 -201
  677. package/dist/index.es403.js.map +1 -1
  678. package/dist/index.es404.js +107 -19
  679. package/dist/index.es404.js.map +1 -1
  680. package/dist/index.es405.js +14 -391
  681. package/dist/index.es405.js.map +1 -1
  682. package/dist/index.es406.js +522 -5
  683. package/dist/index.es406.js.map +1 -1
  684. package/dist/index.es407.js +125 -23
  685. package/dist/index.es407.js.map +1 -1
  686. package/dist/index.es408.js +128 -28
  687. package/dist/index.es408.js.map +1 -1
  688. package/dist/index.es409.js +69 -5
  689. package/dist/index.es409.js.map +1 -1
  690. package/dist/index.es41.js +2 -2
  691. package/dist/index.es410.js +9 -5
  692. package/dist/index.es410.js.map +1 -1
  693. package/dist/index.es411.js +14 -3
  694. package/dist/index.es411.js.map +1 -1
  695. package/dist/index.es412.js +61 -23
  696. package/dist/index.es412.js.map +1 -1
  697. package/dist/index.es413.js +58 -103
  698. package/dist/index.es413.js.map +1 -1
  699. package/dist/index.es414.js +3 -15
  700. package/dist/index.es414.js.map +1 -1
  701. package/dist/index.es415.js +19 -519
  702. package/dist/index.es415.js.map +1 -1
  703. package/dist/index.es416.js +12 -126
  704. package/dist/index.es416.js.map +1 -1
  705. package/dist/index.es417.js +26 -127
  706. package/dist/index.es417.js.map +1 -1
  707. package/dist/index.es418.js +5 -65
  708. package/dist/index.es418.js.map +1 -1
  709. package/dist/index.es419.js +22 -68
  710. package/dist/index.es419.js.map +1 -1
  711. package/dist/index.es42.js +2 -2
  712. package/dist/index.es420.js +15 -9
  713. package/dist/index.es420.js.map +1 -1
  714. package/dist/index.es43.js +2 -2
  715. package/dist/index.es435.js +2032 -4
  716. package/dist/index.es435.js.map +1 -1
  717. package/dist/index.es436.js +59 -4
  718. package/dist/index.es436.js.map +1 -1
  719. package/dist/index.es437.js +188 -9
  720. package/dist/index.es437.js.map +1 -1
  721. package/dist/index.es438.js +5 -56
  722. package/dist/index.es438.js.map +1 -1
  723. package/dist/index.es439.js +4 -8
  724. package/dist/index.es439.js.map +1 -1
  725. package/dist/index.es44.js +4 -4
  726. package/dist/index.es440.js +4 -5
  727. package/dist/index.es440.js.map +1 -1
  728. package/dist/index.es441.js +9 -532
  729. package/dist/index.es441.js.map +1 -1
  730. package/dist/index.es442.js +54 -3673
  731. package/dist/index.es442.js.map +1 -1
  732. package/dist/index.es443.js +8 -2
  733. package/dist/index.es443.js.map +1 -1
  734. package/dist/index.es444.js +5 -5
  735. package/dist/index.es444.js.map +1 -1
  736. package/dist/index.es445.js +506 -494
  737. package/dist/index.es445.js.map +1 -1
  738. package/dist/index.es45.js +4 -4
  739. package/dist/index.es453.js +2 -4
  740. package/dist/index.es453.js.map +1 -1
  741. package/dist/index.es454.js +2 -3
  742. package/dist/index.es454.js.map +1 -1
  743. package/dist/index.es455.js +3 -2
  744. package/dist/index.es455.js.map +1 -1
  745. package/dist/index.es456.js +2 -4
  746. package/dist/index.es456.js.map +1 -1
  747. package/dist/index.es457.js +3 -4
  748. package/dist/index.es457.js.map +1 -1
  749. package/dist/index.es458.js +4 -3
  750. package/dist/index.es458.js.map +1 -1
  751. package/dist/index.es459.js +6 -2
  752. package/dist/index.es459.js.map +1 -1
  753. package/dist/index.es46.js +1 -1
  754. package/dist/index.es460.js +1 -1
  755. package/dist/index.es47.js +2 -2
  756. package/dist/index.es48.js +1 -1
  757. package/dist/index.es49.js +3 -3
  758. package/dist/index.es50.js +1 -1
  759. package/dist/index.es51.js +1 -1
  760. package/dist/index.es52.js +1 -1
  761. package/dist/index.es53.js +2 -2
  762. package/dist/index.es54.js +1 -1
  763. package/dist/index.es55.js +1 -1
  764. package/dist/index.es56.js +1 -1
  765. package/dist/index.es57.js +2 -2
  766. package/dist/index.es59.js +1 -1
  767. package/dist/index.es6.js +2 -2
  768. package/dist/index.es60.js +2 -2
  769. package/dist/index.es61.js +1 -1
  770. package/dist/index.es62.js +3 -3
  771. package/dist/index.es64.js +1 -1
  772. package/dist/index.es66.js +1 -1
  773. package/dist/index.es67.js +1 -1
  774. package/dist/index.es69.js +1 -1
  775. package/dist/index.es7.js +2 -2
  776. package/dist/index.es70.js +1 -1
  777. package/dist/index.es71.js +1 -1
  778. package/dist/index.es72.js +1 -1
  779. package/dist/index.es8.js +2 -2
  780. package/dist/index.es89.js +1 -1
  781. package/dist/index.es9.js +4 -4
  782. package/dist/index.es90.js +1 -1
  783. package/dist/index.es91.js +1 -1
  784. package/dist/index.es93.js +1 -1
  785. package/dist/index.es95.js +2 -2
  786. package/dist/index.es96.js +1 -1
  787. package/dist/index.es99.js +1 -1
  788. package/package.json +1 -1
  789. package/dist/index.cjs197.js +0 -2
  790. package/dist/index.cjs197.js.map +0 -1
  791. package/dist/index.cjs214.js +0 -2
  792. package/dist/index.cjs214.js.map +0 -1
  793. package/dist/index.cjs218.js +0 -2
  794. package/dist/index.cjs218.js.map +0 -1
  795. package/dist/index.cjs226.js +0 -2
  796. package/dist/index.cjs226.js.map +0 -1
  797. package/dist/index.cjs234.js +0 -2
  798. package/dist/index.cjs234.js.map +0 -1
  799. package/dist/index.cjs235.js +0 -2
  800. package/dist/index.cjs235.js.map +0 -1
  801. package/dist/index.cjs238.js +0 -2
  802. package/dist/index.cjs238.js.map +0 -1
  803. package/dist/index.cjs242.js +0 -6
  804. package/dist/index.cjs242.js.map +0 -1
  805. package/dist/index.cjs243.js +0 -2
  806. package/dist/index.cjs243.js.map +0 -1
  807. package/dist/index.cjs250.js +0 -2
  808. package/dist/index.cjs250.js.map +0 -1
  809. package/dist/index.cjs269.js +0 -2
  810. package/dist/index.cjs269.js.map +0 -1
  811. package/dist/index.cjs327.js +0 -2
  812. package/dist/index.cjs327.js.map +0 -1
  813. package/dist/index.cjs344.js +0 -2
  814. package/dist/index.cjs344.js.map +0 -1
  815. package/dist/index.cjs351.js +0 -2
  816. package/dist/index.cjs351.js.map +0 -1
  817. package/dist/index.cjs371.js +0 -2
  818. package/dist/index.cjs371.js.map +0 -1
  819. package/dist/index.cjs398.js +0 -2
  820. package/dist/index.cjs398.js.map +0 -1
  821. package/dist/index.cjs399.js +0 -2
  822. package/dist/index.cjs399.js.map +0 -1
  823. package/dist/index.cjs421.js +0 -2
  824. package/dist/index.cjs421.js.map +0 -1
  825. package/dist/index.cjs422.js +0 -2
  826. package/dist/index.cjs422.js.map +0 -1
  827. package/dist/index.cjs423.js +0 -2
  828. package/dist/index.cjs423.js.map +0 -1
  829. package/dist/index.cjs424.js +0 -2
  830. package/dist/index.cjs424.js.map +0 -1
  831. package/dist/index.cjs425.js +0 -2
  832. package/dist/index.cjs425.js.map +0 -1
  833. package/dist/index.cjs428.js +0 -2
  834. package/dist/index.cjs428.js.map +0 -1
  835. package/dist/index.cjs429.js +0 -2
  836. package/dist/index.cjs429.js.map +0 -1
  837. package/dist/index.cjs430.js +0 -2
  838. package/dist/index.cjs430.js.map +0 -1
  839. package/dist/index.cjs431.js +0 -2
  840. package/dist/index.cjs431.js.map +0 -1
  841. package/dist/index.cjs432.js +0 -2
  842. package/dist/index.cjs432.js.map +0 -1
  843. package/dist/index.cjs433.js +0 -2
  844. package/dist/index.cjs433.js.map +0 -1
  845. package/dist/index.cjs434.js +0 -2
  846. package/dist/index.cjs434.js.map +0 -1
  847. package/dist/index.es197.js +0 -18
  848. package/dist/index.es197.js.map +0 -1
  849. package/dist/index.es214.js +0 -210
  850. package/dist/index.es214.js.map +0 -1
  851. package/dist/index.es218.js +0 -146
  852. package/dist/index.es218.js.map +0 -1
  853. package/dist/index.es226.js +0 -23
  854. package/dist/index.es226.js.map +0 -1
  855. package/dist/index.es234.js +0 -7
  856. package/dist/index.es234.js.map +0 -1
  857. package/dist/index.es235.js +0 -23
  858. package/dist/index.es235.js.map +0 -1
  859. package/dist/index.es238.js +0 -8
  860. package/dist/index.es238.js.map +0 -1
  861. package/dist/index.es242.js +0 -262
  862. package/dist/index.es242.js.map +0 -1
  863. package/dist/index.es243.js +0 -52
  864. package/dist/index.es243.js.map +0 -1
  865. package/dist/index.es250.js +0 -11
  866. package/dist/index.es250.js.map +0 -1
  867. package/dist/index.es269.js +0 -119
  868. package/dist/index.es269.js.map +0 -1
  869. package/dist/index.es327.js +0 -38
  870. package/dist/index.es327.js.map +0 -1
  871. package/dist/index.es344.js +0 -6
  872. package/dist/index.es344.js.map +0 -1
  873. package/dist/index.es351.js +0 -8
  874. package/dist/index.es351.js.map +0 -1
  875. package/dist/index.es371.js +0 -18
  876. package/dist/index.es371.js.map +0 -1
  877. package/dist/index.es398.js +0 -11
  878. package/dist/index.es398.js.map +0 -1
  879. package/dist/index.es399.js +0 -221
  880. package/dist/index.es399.js.map +0 -1
  881. package/dist/index.es421.js +0 -17
  882. package/dist/index.es421.js.map +0 -1
  883. package/dist/index.es422.js +0 -65
  884. package/dist/index.es422.js.map +0 -1
  885. package/dist/index.es423.js +0 -7
  886. package/dist/index.es423.js.map +0 -1
  887. package/dist/index.es424.js +0 -26
  888. package/dist/index.es424.js.map +0 -1
  889. package/dist/index.es425.js +0 -26
  890. package/dist/index.es425.js.map +0 -1
  891. package/dist/index.es428.js +0 -16
  892. package/dist/index.es428.js.map +0 -1
  893. package/dist/index.es429.js +0 -31
  894. package/dist/index.es429.js.map +0 -1
  895. package/dist/index.es430.js +0 -8
  896. package/dist/index.es430.js.map +0 -1
  897. package/dist/index.es431.js +0 -2035
  898. package/dist/index.es431.js.map +0 -1
  899. package/dist/index.es432.js +0 -63
  900. package/dist/index.es432.js.map +0 -1
  901. package/dist/index.es433.js +0 -192
  902. package/dist/index.es433.js.map +0 -1
  903. package/dist/index.es434.js +0 -8
  904. package/dist/index.es434.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es371.js","sources":["../node_modules/usehooks-ts/dist/index.js"],"sourcesContent":["import { useState, useCallback, useLayoutEffect, useEffect, useRef, useMemo } from 'react';\nimport debounce from 'lodash.debounce';\n\n// src/useBoolean/useBoolean.ts\nfunction useBoolean(defaultValue = false) {\n if (typeof defaultValue !== \"boolean\") {\n throw new Error(\"defaultValue must be `true` or `false`\");\n }\n const [value, setValue] = useState(defaultValue);\n const setTrue = useCallback(() => {\n setValue(true);\n }, []);\n const setFalse = useCallback(() => {\n setValue(false);\n }, []);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return { value, setValue, setTrue, setFalse, toggle };\n}\nvar useIsomorphicLayoutEffect = typeof window !== \"undefined\" ? useLayoutEffect : useEffect;\n\n// src/useEventListener/useEventListener.ts\nfunction useEventListener(eventName, handler, element, options) {\n const savedHandler = useRef(handler);\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [handler]);\n useEffect(() => {\n const targetElement = (element == null ? void 0 : element.current) ?? window;\n if (!(targetElement && targetElement.addEventListener))\n return;\n const listener = (event) => {\n savedHandler.current(event);\n };\n targetElement.addEventListener(eventName, listener, options);\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [eventName, element, options]);\n}\n\n// src/useClickAnyWhere/useClickAnyWhere.ts\nfunction useClickAnyWhere(handler) {\n useEventListener(\"click\", (event) => {\n handler(event);\n });\n}\nfunction useCopyToClipboard() {\n const [copiedText, setCopiedText] = useState(null);\n const copy = useCallback(async (text) => {\n if (!(navigator == null ? void 0 : navigator.clipboard)) {\n console.warn(\"Clipboard not supported\");\n return false;\n }\n try {\n await navigator.clipboard.writeText(text);\n setCopiedText(text);\n return true;\n } catch (error) {\n console.warn(\"Copy failed\", error);\n setCopiedText(null);\n return false;\n }\n }, []);\n return [copiedText, copy];\n}\nfunction useCounter(initialValue) {\n const [count, setCount] = useState(initialValue ?? 0);\n const increment = useCallback(() => {\n setCount((x) => x + 1);\n }, []);\n const decrement = useCallback(() => {\n setCount((x) => x - 1);\n }, []);\n const reset = useCallback(() => {\n setCount(initialValue ?? 0);\n }, [initialValue]);\n return {\n count,\n increment,\n decrement,\n reset,\n setCount\n };\n}\nfunction useInterval(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (delay === null) {\n return;\n }\n const id = setInterval(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearInterval(id);\n };\n }, [delay]);\n}\n\n// src/useCountdown/useCountdown.ts\nfunction useCountdown({\n countStart,\n countStop = 0,\n intervalMs = 1e3,\n isIncrement = false\n}) {\n const {\n count,\n increment,\n decrement,\n reset: resetCounter\n } = useCounter(countStart);\n const {\n value: isCountdownRunning,\n setTrue: startCountdown,\n setFalse: stopCountdown\n } = useBoolean(false);\n const resetCountdown = useCallback(() => {\n stopCountdown();\n resetCounter();\n }, [stopCountdown, resetCounter]);\n const countdownCallback = useCallback(() => {\n if (count === countStop) {\n stopCountdown();\n return;\n }\n if (isIncrement) {\n increment();\n } else {\n decrement();\n }\n }, [count, countStop, decrement, increment, isIncrement, stopCountdown]);\n useInterval(countdownCallback, isCountdownRunning ? intervalMs : null);\n return [count, { startCountdown, stopCountdown, resetCountdown }];\n}\nfunction useEventCallback(fn) {\n const ref = useRef(() => {\n throw new Error(\"Cannot call an event handler while rendering.\");\n });\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [fn]);\n return useCallback((...args) => {\n var _a;\n return (_a = ref.current) == null ? void 0 : _a.call(ref, ...args);\n }, [ref]);\n}\n\n// src/useLocalStorage/useLocalStorage.ts\nvar IS_SERVER = typeof window === \"undefined\";\nfunction useLocalStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER) {\n return initialValueToUse;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER) {\n console.warn(\n `Tried setting localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.localStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting localStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER) {\n console.warn(\n `Tried removing localStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.localStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"local-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nvar IS_SERVER2 = typeof window === \"undefined\";\nfunction useMediaQuery(query, {\n defaultValue = false,\n initializeWithValue = true\n} = {}) {\n const getMatches = (query2) => {\n if (IS_SERVER2) {\n return defaultValue;\n }\n return window.matchMedia(query2).matches;\n };\n const [matches, setMatches] = useState(() => {\n if (initializeWithValue) {\n return getMatches(query);\n }\n return defaultValue;\n });\n function handleChange() {\n setMatches(getMatches(query));\n }\n useIsomorphicLayoutEffect(() => {\n const matchMedia = window.matchMedia(query);\n handleChange();\n if (matchMedia.addListener) {\n matchMedia.addListener(handleChange);\n } else {\n matchMedia.addEventListener(\"change\", handleChange);\n }\n return () => {\n if (matchMedia.removeListener) {\n matchMedia.removeListener(handleChange);\n } else {\n matchMedia.removeEventListener(\"change\", handleChange);\n }\n };\n }, [query]);\n return matches;\n}\n\n// src/useDarkMode/useDarkMode.ts\nvar COLOR_SCHEME_QUERY = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY = \"usehooks-ts-dark-mode\";\nfunction useDarkMode(options = {}) {\n const {\n defaultValue,\n localStorageKey = LOCAL_STORAGE_KEY,\n initializeWithValue = true\n } = options;\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY, {\n initializeWithValue,\n defaultValue\n });\n const [isDarkMode, setDarkMode] = useLocalStorage(\n localStorageKey,\n defaultValue ?? isDarkOS ?? false,\n { initializeWithValue }\n );\n useIsomorphicLayoutEffect(() => {\n if (isDarkOS !== isDarkMode) {\n setDarkMode(isDarkOS);\n }\n }, [isDarkOS]);\n return {\n isDarkMode,\n toggle: () => {\n setDarkMode((prev) => !prev);\n },\n enable: () => {\n setDarkMode(true);\n },\n disable: () => {\n setDarkMode(false);\n },\n set: (value) => {\n setDarkMode(value);\n }\n };\n}\nfunction useUnmount(func) {\n const funcRef = useRef(func);\n funcRef.current = func;\n useEffect(\n () => () => {\n funcRef.current();\n },\n []\n );\n}\n\n// src/useDebounceCallback/useDebounceCallback.ts\nfunction useDebounceCallback(func, delay = 500, options) {\n const debouncedFunc = useRef();\n useUnmount(() => {\n if (debouncedFunc.current) {\n debouncedFunc.current.cancel();\n }\n });\n const debounced = useMemo(() => {\n const debouncedFuncInstance = debounce(func, delay, options);\n const wrappedFunc = (...args) => {\n return debouncedFuncInstance(...args);\n };\n wrappedFunc.cancel = () => {\n debouncedFuncInstance.cancel();\n };\n wrappedFunc.isPending = () => {\n return !!debouncedFunc.current;\n };\n wrappedFunc.flush = () => {\n return debouncedFuncInstance.flush();\n };\n return wrappedFunc;\n }, [func, delay, options]);\n useEffect(() => {\n debouncedFunc.current = debounce(func, delay, options);\n }, [func, delay, options]);\n return debounced;\n}\nfunction useDebounceValue(initialValue, delay, options) {\n const eq = (options == null ? void 0 : options.equalityFn) ?? ((left, right) => left === right);\n const unwrappedInitialValue = initialValue instanceof Function ? initialValue() : initialValue;\n const [debouncedValue, setDebouncedValue] = useState(unwrappedInitialValue);\n const previousValueRef = useRef(unwrappedInitialValue);\n const updateDebouncedValue = useDebounceCallback(\n setDebouncedValue,\n delay,\n options\n );\n if (!eq(previousValueRef.current, unwrappedInitialValue)) {\n updateDebouncedValue(unwrappedInitialValue);\n previousValueRef.current = unwrappedInitialValue;\n }\n return [debouncedValue, updateDebouncedValue];\n}\nfunction useDocumentTitle(title, options = {}) {\n const { preserveTitleOnUnmount = true } = options;\n const defaultTitle = useRef(null);\n useIsomorphicLayoutEffect(() => {\n defaultTitle.current = window.document.title;\n }, []);\n useIsomorphicLayoutEffect(() => {\n window.document.title = title;\n }, [title]);\n useUnmount(() => {\n if (!preserveTitleOnUnmount && defaultTitle.current) {\n window.document.title = defaultTitle.current;\n }\n });\n}\nfunction useHover(elementRef) {\n const [value, setValue] = useState(false);\n const handleMouseEnter = () => {\n setValue(true);\n };\n const handleMouseLeave = () => {\n setValue(false);\n };\n useEventListener(\"mouseenter\", handleMouseEnter, elementRef);\n useEventListener(\"mouseleave\", handleMouseLeave, elementRef);\n return value;\n}\nfunction useIntersectionObserver({\n threshold = 0,\n root = null,\n rootMargin = \"0%\",\n freezeOnceVisible = false,\n initialIsIntersecting = false,\n onChange\n} = {}) {\n var _a;\n const [ref, setRef] = useState(null);\n const [state, setState] = useState(() => ({\n isIntersecting: initialIsIntersecting,\n entry: void 0\n }));\n const callbackRef = useRef();\n callbackRef.current = onChange;\n const frozen = ((_a = state.entry) == null ? void 0 : _a.isIntersecting) && freezeOnceVisible;\n useEffect(() => {\n if (!ref)\n return;\n if (!(\"IntersectionObserver\" in window))\n return;\n if (frozen)\n return;\n let unobserve;\n const observer = new IntersectionObserver(\n (entries) => {\n const thresholds = Array.isArray(observer.thresholds) ? observer.thresholds : [observer.thresholds];\n entries.forEach((entry) => {\n const isIntersecting = entry.isIntersecting && thresholds.some((threshold2) => entry.intersectionRatio >= threshold2);\n setState({ isIntersecting, entry });\n if (callbackRef.current) {\n callbackRef.current(isIntersecting, entry);\n }\n if (isIntersecting && freezeOnceVisible && unobserve) {\n unobserve();\n unobserve = void 0;\n }\n });\n },\n { threshold, root, rootMargin }\n );\n observer.observe(ref);\n return () => {\n observer.disconnect();\n };\n }, [\n ref,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n JSON.stringify(threshold),\n root,\n rootMargin,\n frozen,\n freezeOnceVisible\n ]);\n const prevRef = useRef(null);\n useEffect(() => {\n var _a2;\n if (!ref && ((_a2 = state.entry) == null ? void 0 : _a2.target) && !freezeOnceVisible && !frozen && prevRef.current !== state.entry.target) {\n prevRef.current = state.entry.target;\n setState({ isIntersecting: initialIsIntersecting, entry: void 0 });\n }\n }, [ref, state.entry, freezeOnceVisible, frozen, initialIsIntersecting]);\n const result = [\n setRef,\n !!state.isIntersecting,\n state.entry\n ];\n result.ref = result[0];\n result.isIntersecting = result[1];\n result.entry = result[2];\n return result;\n}\nfunction useIsClient() {\n const [isClient, setClient] = useState(false);\n useEffect(() => {\n setClient(true);\n }, []);\n return isClient;\n}\nfunction useIsMounted() {\n const isMounted = useRef(false);\n useEffect(() => {\n isMounted.current = true;\n return () => {\n isMounted.current = false;\n };\n }, []);\n return useCallback(() => isMounted.current, []);\n}\nfunction useMap(initialState = /* @__PURE__ */ new Map()) {\n const [map, setMap] = useState(new Map(initialState));\n const actions = {\n set: useCallback((key, value) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.set(key, value);\n return copy;\n });\n }, []),\n setAll: useCallback((entries) => {\n setMap(() => new Map(entries));\n }, []),\n remove: useCallback((key) => {\n setMap((prev) => {\n const copy = new Map(prev);\n copy.delete(key);\n return copy;\n });\n }, []),\n reset: useCallback(() => {\n setMap(() => /* @__PURE__ */ new Map());\n }, [])\n };\n return [map, actions];\n}\n\n// src/useOnClickOutside/useOnClickOutside.ts\nfunction useOnClickOutside(ref, handler, eventType = \"mousedown\", eventListenerOptions = {}) {\n useEventListener(\n eventType,\n (event) => {\n const target = event.target;\n if (!target || !target.isConnected) {\n return;\n }\n const isOutside = Array.isArray(ref) ? ref.filter((r) => Boolean(r.current)).every((r) => r.current && !r.current.contains(target)) : ref.current && !ref.current.contains(target);\n if (isOutside) {\n handler(event);\n }\n },\n void 0,\n eventListenerOptions\n );\n}\nvar IS_SERVER3 = typeof window === \"undefined\";\nfunction useReadLocalStorage(key, options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER3) {\n initializeWithValue = false;\n }\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return null;\n }\n return parsed;\n },\n [options]\n );\n const readValue = useCallback(() => {\n if (IS_SERVER3) {\n return null;\n }\n try {\n const raw = window.localStorage.getItem(key);\n return raw ? deserializer(raw) : null;\n } catch (error) {\n console.warn(`Error reading localStorage key \\u201C${key}\\u201D:`, error);\n return null;\n }\n }, [key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return void 0;\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"local-storage\", handleStorageChange);\n return storedValue;\n}\nvar initialSize = {\n width: void 0,\n height: void 0\n};\nfunction useResizeObserver(options) {\n const { ref, box = \"content-box\" } = options;\n const [{ width, height }, setSize] = useState(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef({ ...initialSize });\n const onResize = useRef(void 0);\n onResize.current = options.onResize;\n useEffect(() => {\n if (!ref.current)\n return;\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window))\n return;\n const observer = new ResizeObserver(([entry]) => {\n const boxProp = box === \"border-box\" ? \"borderBoxSize\" : box === \"device-pixel-content-box\" ? \"devicePixelContentBoxSize\" : \"contentBoxSize\";\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n const hasChanged = previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n if (hasChanged) {\n const newSize = { width: newWidth, height: newHeight };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n observer.observe(ref.current, { box });\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted]);\n return { width, height };\n}\nfunction extractSize(entry, box, sizeType) {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return void 0;\n }\n return Array.isArray(entry[box]) ? entry[box][0][sizeType] : (\n // @ts-ignore Support Firefox's non-standard behavior\n entry[box][sizeType]\n );\n}\nvar IS_SERVER4 = typeof window === \"undefined\";\nfunction useScreen(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER4) {\n initializeWithValue = false;\n }\n const readScreen = () => {\n if (IS_SERVER4) {\n return void 0;\n }\n return window.screen;\n };\n const [screen, setScreen] = useState(() => {\n if (initializeWithValue) {\n return readScreen();\n }\n return void 0;\n });\n const debouncedSetScreen = useDebounceCallback(\n setScreen,\n options.debounceDelay\n );\n function handleSize() {\n const newScreen = readScreen();\n const setSize = options.debounceDelay ? debouncedSetScreen : setScreen;\n if (newScreen) {\n const {\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n } = newScreen;\n setSize({\n width,\n height,\n availHeight,\n availWidth,\n colorDepth,\n orientation,\n pixelDepth\n });\n }\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return screen;\n}\nvar cachedScriptStatuses = /* @__PURE__ */ new Map();\nfunction getScriptNode(src) {\n const node = document.querySelector(\n `script[src=\"${src}\"]`\n );\n const status = node == null ? void 0 : node.getAttribute(\"data-status\");\n return {\n node,\n status\n };\n}\nfunction useScript(src, options) {\n const [status, setStatus] = useState(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return \"idle\";\n }\n if (typeof window === \"undefined\") {\n return \"loading\";\n }\n return cachedScriptStatuses.get(src) ?? \"loading\";\n });\n useEffect(() => {\n if (!src || (options == null ? void 0 : options.shouldPreventLoad)) {\n return;\n }\n const cachedScriptStatus = cachedScriptStatuses.get(src);\n if (cachedScriptStatus === \"ready\" || cachedScriptStatus === \"error\") {\n setStatus(cachedScriptStatus);\n return;\n }\n const script = getScriptNode(src);\n let scriptNode = script.node;\n if (!scriptNode) {\n scriptNode = document.createElement(\"script\");\n scriptNode.src = src;\n scriptNode.async = true;\n if (options == null ? void 0 : options.id) {\n scriptNode.id = options.id;\n }\n scriptNode.setAttribute(\"data-status\", \"loading\");\n document.body.appendChild(scriptNode);\n const setAttributeFromEvent = (event) => {\n const scriptStatus = event.type === \"load\" ? \"ready\" : \"error\";\n scriptNode == null ? void 0 : scriptNode.setAttribute(\"data-status\", scriptStatus);\n };\n scriptNode.addEventListener(\"load\", setAttributeFromEvent);\n scriptNode.addEventListener(\"error\", setAttributeFromEvent);\n } else {\n setStatus(script.status ?? cachedScriptStatus ?? \"loading\");\n }\n const setStateFromEvent = (event) => {\n const newStatus = event.type === \"load\" ? \"ready\" : \"error\";\n setStatus(newStatus);\n cachedScriptStatuses.set(src, newStatus);\n };\n scriptNode.addEventListener(\"load\", setStateFromEvent);\n scriptNode.addEventListener(\"error\", setStateFromEvent);\n return () => {\n if (scriptNode) {\n scriptNode.removeEventListener(\"load\", setStateFromEvent);\n scriptNode.removeEventListener(\"error\", setStateFromEvent);\n }\n if (scriptNode && (options == null ? void 0 : options.removeOnUnmount)) {\n scriptNode.remove();\n cachedScriptStatuses.delete(src);\n }\n };\n }, [src, options == null ? void 0 : options.shouldPreventLoad, options == null ? void 0 : options.removeOnUnmount, options == null ? void 0 : options.id]);\n return status;\n}\nvar IS_SERVER5 = typeof window === \"undefined\";\nfunction useScrollLock(options = {}) {\n const { autoLock = true, lockTarget, widthReflow = true } = options;\n const [isLocked, setIsLocked] = useState(false);\n const target = useRef(null);\n const originalStyle = useRef(null);\n const lock = () => {\n if (target.current) {\n const { overflow, paddingRight } = target.current.style;\n originalStyle.current = { overflow, paddingRight };\n if (widthReflow) {\n const offsetWidth = target.current === document.body ? window.innerWidth : target.current.offsetWidth;\n const currentPaddingRight = parseInt(window.getComputedStyle(target.current).paddingRight, 10) || 0;\n const scrollbarWidth = offsetWidth - target.current.scrollWidth;\n target.current.style.paddingRight = `${scrollbarWidth + currentPaddingRight}px`;\n }\n target.current.style.overflow = \"hidden\";\n setIsLocked(true);\n }\n };\n const unlock = () => {\n if (target.current && originalStyle.current) {\n target.current.style.overflow = originalStyle.current.overflow;\n if (widthReflow) {\n target.current.style.paddingRight = originalStyle.current.paddingRight;\n }\n }\n setIsLocked(false);\n };\n useIsomorphicLayoutEffect(() => {\n if (IS_SERVER5)\n return;\n if (lockTarget) {\n target.current = typeof lockTarget === \"string\" ? document.querySelector(lockTarget) : lockTarget;\n }\n if (!target.current) {\n target.current = document.body;\n }\n if (autoLock) {\n lock();\n }\n return () => {\n unlock();\n };\n }, [autoLock, lockTarget, widthReflow]);\n return { isLocked, lock, unlock };\n}\nvar IS_SERVER6 = typeof window === \"undefined\";\nfunction useSessionStorage(key, initialValue, options = {}) {\n const { initializeWithValue = true } = options;\n const serializer = useCallback(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n return JSON.stringify(value);\n },\n [options]\n );\n const deserializer = useCallback(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n if (value === \"undefined\") {\n return void 0;\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n let parsed;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error(\"Error parsing JSON:\", error);\n return defaultValue;\n }\n return parsed;\n },\n [options, initialValue]\n );\n const readValue = useCallback(() => {\n const initialValueToUse = initialValue instanceof Function ? initialValue() : initialValue;\n if (IS_SERVER6) {\n return initialValueToUse;\n }\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key \\u201C${key}\\u201D:`, error);\n return initialValueToUse;\n }\n }, [initialValue, key, deserializer]);\n const [storedValue, setStoredValue] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n const setValue = useEventCallback((value) => {\n if (IS_SERVER6) {\n console.warn(\n `Tried setting sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n try {\n const newValue = value instanceof Function ? value(readValue()) : value;\n window.sessionStorage.setItem(key, serializer(newValue));\n setStoredValue(newValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key \\u201C${key}\\u201D:`, error);\n }\n });\n const removeValue = useEventCallback(() => {\n if (IS_SERVER6) {\n console.warn(\n `Tried removing sessionStorage key \\u201C${key}\\u201D even though environment is not a client`\n );\n }\n const defaultValue = initialValue instanceof Function ? initialValue() : initialValue;\n window.sessionStorage.removeItem(key);\n setStoredValue(defaultValue);\n window.dispatchEvent(new StorageEvent(\"session-storage\", { key }));\n });\n useEffect(() => {\n setStoredValue(readValue());\n }, [key]);\n const handleStorageChange = useCallback(\n (event) => {\n if (event.key && event.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [key, readValue]\n );\n useEventListener(\"storage\", handleStorageChange);\n useEventListener(\"session-storage\", handleStorageChange);\n return [storedValue, setValue, removeValue];\n}\nfunction useStep(maxStep) {\n const [currentStep, setCurrentStep] = useState(1);\n const canGoToNextStep = currentStep + 1 <= maxStep;\n const canGoToPrevStep = currentStep - 1 > 0;\n const setStep = useCallback(\n (step) => {\n const newStep = step instanceof Function ? step(currentStep) : step;\n if (newStep >= 1 && newStep <= maxStep) {\n setCurrentStep(newStep);\n return;\n }\n throw new Error(\"Step not valid\");\n },\n [maxStep, currentStep]\n );\n const goToNextStep = useCallback(() => {\n if (canGoToNextStep) {\n setCurrentStep((step) => step + 1);\n }\n }, [canGoToNextStep]);\n const goToPrevStep = useCallback(() => {\n if (canGoToPrevStep) {\n setCurrentStep((step) => step - 1);\n }\n }, [canGoToPrevStep]);\n const reset = useCallback(() => {\n setCurrentStep(1);\n }, []);\n return [\n currentStep,\n {\n goToNextStep,\n goToPrevStep,\n canGoToNextStep,\n canGoToPrevStep,\n setStep,\n reset\n }\n ];\n}\n\n// src/useTernaryDarkMode/useTernaryDarkMode.ts\nvar COLOR_SCHEME_QUERY2 = \"(prefers-color-scheme: dark)\";\nvar LOCAL_STORAGE_KEY2 = \"usehooks-ts-ternary-dark-mode\";\nfunction useTernaryDarkMode({\n defaultValue = \"system\",\n localStorageKey = LOCAL_STORAGE_KEY2,\n initializeWithValue = true\n} = {}) {\n const isDarkOS = useMediaQuery(COLOR_SCHEME_QUERY2, { initializeWithValue });\n const [mode, setMode] = useLocalStorage(localStorageKey, defaultValue, {\n initializeWithValue\n });\n const isDarkMode = mode === \"dark\" || mode === \"system\" && isDarkOS;\n const toggleTernaryDarkMode = () => {\n const modes = [\"light\", \"system\", \"dark\"];\n setMode((prevMode) => {\n const nextIndex = (modes.indexOf(prevMode) + 1) % modes.length;\n return modes[nextIndex];\n });\n };\n return {\n isDarkMode,\n ternaryDarkMode: mode,\n setTernaryDarkMode: setMode,\n toggleTernaryDarkMode\n };\n}\nfunction useTimeout(callback, delay) {\n const savedCallback = useRef(callback);\n useIsomorphicLayoutEffect(() => {\n savedCallback.current = callback;\n }, [callback]);\n useEffect(() => {\n if (!delay && delay !== 0) {\n return;\n }\n const id = setTimeout(() => {\n savedCallback.current();\n }, delay);\n return () => {\n clearTimeout(id);\n };\n }, [delay]);\n}\nfunction useToggle(defaultValue) {\n const [value, setValue] = useState(!!defaultValue);\n const toggle = useCallback(() => {\n setValue((x) => !x);\n }, []);\n return [value, toggle, setValue];\n}\nvar IS_SERVER7 = typeof window === \"undefined\";\nfunction useWindowSize(options = {}) {\n let { initializeWithValue = true } = options;\n if (IS_SERVER7) {\n initializeWithValue = false;\n }\n const [windowSize, setWindowSize] = useState(() => {\n if (initializeWithValue) {\n return {\n width: window.innerWidth,\n height: window.innerHeight\n };\n }\n return {\n width: void 0,\n height: void 0\n };\n });\n const debouncedSetWindowSize = useDebounceCallback(\n setWindowSize,\n options.debounceDelay\n );\n function handleSize() {\n const setSize = options.debounceDelay ? debouncedSetWindowSize : setWindowSize;\n setSize({\n width: window.innerWidth,\n height: window.innerHeight\n });\n }\n useEventListener(\"resize\", handleSize);\n useIsomorphicLayoutEffect(() => {\n handleSize();\n }, []);\n return windowSize;\n}\n\nexport { useBoolean, useClickAnyWhere, useCopyToClipboard, useCountdown, useCounter, useDarkMode, useDebounceCallback, useDebounceValue, useDocumentTitle, useEventCallback, useEventListener, useHover, useIntersectionObserver, useInterval, useIsClient, useIsMounted, useIsomorphicLayoutEffect, useLocalStorage, useMap, useMediaQuery, useOnClickOutside, useReadLocalStorage, useResizeObserver, useScreen, useScript, useScrollLock, useSessionStorage, useStep, useTernaryDarkMode, useTimeout, useToggle, useUnmount, useWindowSize };\n"],"names":["useCopyToClipboard","copiedText","setCopiedText","useState","copy","useCallback","text","error"],"mappings":";;AAgDA,SAASA,IAAqB;AAC5B,QAAM,CAACC,GAAYC,CAAa,IAAIC,EAAS,IAAI,GAC3CC,IAAOC,EAAY,OAAOC,MAAS;AACvC,QAAI,EAAE,aAAa,QAAgB,UAAU;AAC3C,qBAAQ,KAAK,yBAAyB,GAC/B;AAET,QAAI;AACF,mBAAM,UAAU,UAAU,UAAUA,CAAI,GACxCJ,EAAcI,CAAI,GACX;AAAA,IACR,SAAQC,GAAO;AACd,qBAAQ,KAAK,eAAeA,CAAK,GACjCL,EAAc,IAAI,GACX;AAAA,IACb;AAAA,EACG,GAAE,EAAE;AACL,SAAO,CAACD,GAAYG,CAAI;AAC1B;","x_google_ignoreList":[0]}
@@ -1,11 +0,0 @@
1
- import * as t from "react";
2
- import "./index.es196.js";
3
- var r = t.createContext(void 0);
4
- function n(o) {
5
- const e = t.useContext(r);
6
- return o || e || "ltr";
7
- }
8
- export {
9
- n as useDirection
10
- };
11
- //# sourceMappingURL=index.es398.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es398.js","sources":["../node_modules/@radix-ui/react-direction/dist/index.mjs"],"sourcesContent":["// packages/react/direction/src/direction.tsx\nimport * as React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nvar DirectionContext = React.createContext(void 0);\nvar DirectionProvider = (props) => {\n const { dir, children } = props;\n return /* @__PURE__ */ jsx(DirectionContext.Provider, { value: dir, children });\n};\nfunction useDirection(localDir) {\n const globalDir = React.useContext(DirectionContext);\n return localDir || globalDir || \"ltr\";\n}\nvar Provider = DirectionProvider;\nexport {\n DirectionProvider,\n Provider,\n useDirection\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["DirectionContext","React","useDirection","localDir","globalDir"],"mappings":";;AAGA,IAAIA,IAAmBC,EAAM,cAAc,MAAM;AAKjD,SAASC,EAAaC,GAAU;AAC9B,QAAMC,IAAYH,EAAM,WAAWD,CAAgB;AACnD,SAAOG,KAAYC,KAAa;AAClC;","x_google_ignoreList":[0]}
@@ -1,221 +0,0 @@
1
- import * as s from "react";
2
- import { useFloating as xe, offset as Pe, shift as ye, flip as Ae, size as ve, arrow as Ce, hide as be, limitShift as Se } from "./index.es403.js";
3
- import { Root as Oe } from "./index.es404.js";
4
- import { useComposedRefs as T } from "./index.es358.js";
5
- import { createContextScope as Re } from "./index.es359.js";
6
- import { Primitive as z } from "./index.es361.js";
7
- import { useCallbackRef as Ee } from "./index.es396.js";
8
- import { useLayoutEffect as B } from "./index.es401.js";
9
- import { useSize as Ne } from "./index.es369.js";
10
- import { j as f } from "./index.es196.js";
11
- import { autoUpdate as _e } from "./index.es405.js";
12
- var N = "Popper", [L, Ue] = Re(N), [$e, Z] = L(N), U = (e) => {
13
- const { __scopePopper: i, children: n } = e, [t, a] = s.useState(null);
14
- return /* @__PURE__ */ f.jsx($e, { scope: i, anchor: t, onAnchorChange: a, children: n });
15
- };
16
- U.displayName = N;
17
- var q = "PopperAnchor", G = s.forwardRef(
18
- (e, i) => {
19
- const { __scopePopper: n, virtualRef: t, ...a } = e, r = Z(q, n), o = s.useRef(null), w = T(i, o);
20
- return s.useEffect(() => {
21
- r.onAnchorChange((t == null ? void 0 : t.current) || o.current);
22
- }), t ? null : /* @__PURE__ */ f.jsx(z.div, { ...a, ref: w });
23
- }
24
- );
25
- G.displayName = q;
26
- var _ = "PopperContent", [je, He] = L(_), J = s.forwardRef(
27
- (e, i) => {
28
- var I, Y, M, X, D, F;
29
- const {
30
- __scopePopper: n,
31
- side: t = "bottom",
32
- sideOffset: a = 0,
33
- align: r = "center",
34
- alignOffset: o = 0,
35
- arrowPadding: w = 0,
36
- avoidCollisions: p = !0,
37
- collisionBoundary: c = [],
38
- collisionPadding: x = 0,
39
- sticky: m = "partial",
40
- hideWhenDetached: y = !1,
41
- updatePositionStrategy: A = "optimized",
42
- onPlaced: l,
43
- ...d
44
- } = e, v = Z(_, n), [h, C] = s.useState(null), ee = T(i, (P) => C(P)), [E, te] = s.useState(null), g = Ne(E), re = (g == null ? void 0 : g.width) ?? 0, $ = (g == null ? void 0 : g.height) ?? 0, oe = t + (r !== "center" ? "-" + r : ""), ne = typeof x == "number" ? x : { top: 0, right: 0, bottom: 0, left: 0, ...x }, j = Array.isArray(c) ? c : [c], ae = j.length > 0, b = {
45
- padding: ne,
46
- boundary: j.filter(Ie),
47
- // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
48
- altBoundary: ae
49
- }, { refs: ie, floatingStyles: H, placement: se, isPositioned: S, middlewareData: u } = xe({
50
- // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
51
- strategy: "fixed",
52
- placement: oe,
53
- whileElementsMounted: (...P) => _e(...P, {
54
- animationFrame: A === "always"
55
- }),
56
- elements: {
57
- reference: v.anchor
58
- },
59
- middleware: [
60
- Pe({ mainAxis: a + $, alignmentAxis: o }),
61
- p && ye({
62
- mainAxis: !0,
63
- crossAxis: !1,
64
- limiter: m === "partial" ? Se() : void 0,
65
- ...b
66
- }),
67
- p && Ae({ ...b }),
68
- ve({
69
- ...b,
70
- apply: ({ elements: P, rects: k, availableWidth: he, availableHeight: ge }) => {
71
- const { width: ue, height: we } = k.reference, R = P.floating.style;
72
- R.setProperty("--radix-popper-available-width", `${he}px`), R.setProperty("--radix-popper-available-height", `${ge}px`), R.setProperty("--radix-popper-anchor-width", `${ue}px`), R.setProperty("--radix-popper-anchor-height", `${we}px`);
73
- }
74
- }),
75
- E && Ce({ element: E, padding: w }),
76
- Ye({ arrowWidth: re, arrowHeight: $ }),
77
- y && be({ strategy: "referenceHidden", ...b })
78
- ]
79
- }), [W, pe] = V(se), O = Ee(l);
80
- B(() => {
81
- S && (O == null || O());
82
- }, [S, O]);
83
- const ce = (I = u.arrow) == null ? void 0 : I.x, de = (Y = u.arrow) == null ? void 0 : Y.y, le = ((M = u.arrow) == null ? void 0 : M.centerOffset) !== 0, [fe, me] = s.useState();
84
- return B(() => {
85
- h && me(window.getComputedStyle(h).zIndex);
86
- }, [h]), /* @__PURE__ */ f.jsx(
87
- "div",
88
- {
89
- ref: ie.setFloating,
90
- "data-radix-popper-content-wrapper": "",
91
- style: {
92
- ...H,
93
- transform: S ? H.transform : "translate(0, -200%)",
94
- // keep off the page when measuring
95
- minWidth: "max-content",
96
- zIndex: fe,
97
- "--radix-popper-transform-origin": [
98
- (X = u.transformOrigin) == null ? void 0 : X.x,
99
- (D = u.transformOrigin) == null ? void 0 : D.y
100
- ].join(" "),
101
- // hide the content if using the hide middleware and should be hidden
102
- // set visibility to hidden and disable pointer events so the UI behaves
103
- // as if the PopperContent isn't there at all
104
- ...((F = u.hide) == null ? void 0 : F.referenceHidden) && {
105
- visibility: "hidden",
106
- pointerEvents: "none"
107
- }
108
- },
109
- dir: e.dir,
110
- children: /* @__PURE__ */ f.jsx(
111
- je,
112
- {
113
- scope: n,
114
- placedSide: W,
115
- onArrowChange: te,
116
- arrowX: ce,
117
- arrowY: de,
118
- shouldHideArrow: le,
119
- children: /* @__PURE__ */ f.jsx(
120
- z.div,
121
- {
122
- "data-side": W,
123
- "data-align": pe,
124
- ...d,
125
- ref: ee,
126
- style: {
127
- ...d.style,
128
- // if the PopperContent hasn't been placed yet (not all measurements done)
129
- // we prevent animations so that users's animation don't kick in too early referring wrong sides
130
- animation: S ? void 0 : "none"
131
- }
132
- }
133
- )
134
- }
135
- )
136
- }
137
- );
138
- }
139
- );
140
- J.displayName = _;
141
- var K = "PopperArrow", We = {
142
- top: "bottom",
143
- right: "left",
144
- bottom: "top",
145
- left: "right"
146
- }, Q = s.forwardRef(function(i, n) {
147
- const { __scopePopper: t, ...a } = i, r = He(K, t), o = We[r.placedSide];
148
- return (
149
- // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
150
- // doesn't report size as we'd expect on SVG elements.
151
- // it reports their bounding box which is effectively the largest path inside the SVG.
152
- /* @__PURE__ */ f.jsx(
153
- "span",
154
- {
155
- ref: r.onArrowChange,
156
- style: {
157
- position: "absolute",
158
- left: r.arrowX,
159
- top: r.arrowY,
160
- [o]: 0,
161
- transformOrigin: {
162
- top: "",
163
- right: "0 0",
164
- bottom: "center 0",
165
- left: "100% 0"
166
- }[r.placedSide],
167
- transform: {
168
- top: "translateY(100%)",
169
- right: "translateY(50%) rotate(90deg) translateX(-50%)",
170
- bottom: "rotate(180deg)",
171
- left: "translateY(50%) rotate(-90deg) translateX(50%)"
172
- }[r.placedSide],
173
- visibility: r.shouldHideArrow ? "hidden" : void 0
174
- },
175
- children: /* @__PURE__ */ f.jsx(
176
- Oe,
177
- {
178
- ...a,
179
- ref: n,
180
- style: {
181
- ...a.style,
182
- // ensures the element can be measured correctly (mostly for if SVG)
183
- display: "block"
184
- }
185
- }
186
- )
187
- }
188
- )
189
- );
190
- });
191
- Q.displayName = K;
192
- function Ie(e) {
193
- return e !== null;
194
- }
195
- var Ye = (e) => ({
196
- name: "transformOrigin",
197
- options: e,
198
- fn(i) {
199
- var v, h, C;
200
- const { placement: n, rects: t, middlewareData: a } = i, o = ((v = a.arrow) == null ? void 0 : v.centerOffset) !== 0, w = o ? 0 : e.arrowWidth, p = o ? 0 : e.arrowHeight, [c, x] = V(n), m = { start: "0%", center: "50%", end: "100%" }[x], y = (((h = a.arrow) == null ? void 0 : h.x) ?? 0) + w / 2, A = (((C = a.arrow) == null ? void 0 : C.y) ?? 0) + p / 2;
201
- let l = "", d = "";
202
- return c === "bottom" ? (l = o ? m : `${y}px`, d = `${-p}px`) : c === "top" ? (l = o ? m : `${y}px`, d = `${t.floating.height + p}px`) : c === "right" ? (l = `${-p}px`, d = o ? m : `${A}px`) : c === "left" && (l = `${t.floating.width + p}px`, d = o ? m : `${A}px`), { data: { x: l, y: d } };
203
- }
204
- });
205
- function V(e) {
206
- const [i, n = "center"] = e.split("-");
207
- return [i, n];
208
- }
209
- var qe = U, Ge = G, Je = J, Ke = Q;
210
- export {
211
- Ge as Anchor,
212
- Ke as Arrow,
213
- Je as Content,
214
- U as Popper,
215
- G as PopperAnchor,
216
- Q as PopperArrow,
217
- J as PopperContent,
218
- qe as Root,
219
- Ue as createPopperScope
220
- };
221
- //# sourceMappingURL=index.es399.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es399.js","sources":["../node_modules/@radix-ui/react-popper/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/popper/src/popper.tsx\nimport * as React from \"react\";\nimport {\n useFloating,\n autoUpdate,\n offset,\n shift,\n limitShift,\n hide,\n arrow as floatingUIarrow,\n flip,\n size\n} from \"@floating-ui/react-dom\";\nimport * as ArrowPrimitive from \"@radix-ui/react-arrow\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { jsx } from \"react/jsx-runtime\";\nvar SIDE_OPTIONS = [\"top\", \"right\", \"bottom\", \"left\"];\nvar ALIGN_OPTIONS = [\"start\", \"center\", \"end\"];\nvar POPPER_NAME = \"Popper\";\nvar [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);\nvar [PopperProvider, usePopperContext] = createPopperContext(POPPER_NAME);\nvar Popper = (props) => {\n const { __scopePopper, children } = props;\n const [anchor, setAnchor] = React.useState(null);\n return /* @__PURE__ */ jsx(PopperProvider, { scope: __scopePopper, anchor, onAnchorChange: setAnchor, children });\n};\nPopper.displayName = POPPER_NAME;\nvar ANCHOR_NAME = \"PopperAnchor\";\nvar PopperAnchor = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopePopper, virtualRef, ...anchorProps } = props;\n const context = usePopperContext(ANCHOR_NAME, __scopePopper);\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, ref);\n React.useEffect(() => {\n context.onAnchorChange(virtualRef?.current || ref.current);\n });\n return virtualRef ? null : /* @__PURE__ */ jsx(Primitive.div, { ...anchorProps, ref: composedRefs });\n }\n);\nPopperAnchor.displayName = ANCHOR_NAME;\nvar CONTENT_NAME = \"PopperContent\";\nvar [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME);\nvar PopperContent = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopePopper,\n side = \"bottom\",\n sideOffset = 0,\n align = \"center\",\n alignOffset = 0,\n arrowPadding = 0,\n avoidCollisions = true,\n collisionBoundary = [],\n collisionPadding: collisionPaddingProp = 0,\n sticky = \"partial\",\n hideWhenDetached = false,\n updatePositionStrategy = \"optimized\",\n onPlaced,\n ...contentProps\n } = props;\n const context = usePopperContext(CONTENT_NAME, __scopePopper);\n const [content, setContent] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setContent(node));\n const [arrow, setArrow] = React.useState(null);\n const arrowSize = useSize(arrow);\n const arrowWidth = arrowSize?.width ?? 0;\n const arrowHeight = arrowSize?.height ?? 0;\n const desiredPlacement = side + (align !== \"center\" ? \"-\" + align : \"\");\n const collisionPadding = typeof collisionPaddingProp === \"number\" ? collisionPaddingProp : { top: 0, right: 0, bottom: 0, left: 0, ...collisionPaddingProp };\n const boundary = Array.isArray(collisionBoundary) ? collisionBoundary : [collisionBoundary];\n const hasExplicitBoundaries = boundary.length > 0;\n const detectOverflowOptions = {\n padding: collisionPadding,\n boundary: boundary.filter(isNotNull),\n // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries\n altBoundary: hasExplicitBoundaries\n };\n const { refs, floatingStyles, placement, isPositioned, middlewareData } = useFloating({\n // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues\n strategy: \"fixed\",\n placement: desiredPlacement,\n whileElementsMounted: (...args) => {\n const cleanup = autoUpdate(...args, {\n animationFrame: updatePositionStrategy === \"always\"\n });\n return cleanup;\n },\n elements: {\n reference: context.anchor\n },\n middleware: [\n offset({ mainAxis: sideOffset + arrowHeight, alignmentAxis: alignOffset }),\n avoidCollisions && shift({\n mainAxis: true,\n crossAxis: false,\n limiter: sticky === \"partial\" ? limitShift() : void 0,\n ...detectOverflowOptions\n }),\n avoidCollisions && flip({ ...detectOverflowOptions }),\n size({\n ...detectOverflowOptions,\n apply: ({ elements, rects, availableWidth, availableHeight }) => {\n const { width: anchorWidth, height: anchorHeight } = rects.reference;\n const contentStyle = elements.floating.style;\n contentStyle.setProperty(\"--radix-popper-available-width\", `${availableWidth}px`);\n contentStyle.setProperty(\"--radix-popper-available-height\", `${availableHeight}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-width\", `${anchorWidth}px`);\n contentStyle.setProperty(\"--radix-popper-anchor-height\", `${anchorHeight}px`);\n }\n }),\n arrow && floatingUIarrow({ element: arrow, padding: arrowPadding }),\n transformOrigin({ arrowWidth, arrowHeight }),\n hideWhenDetached && hide({ strategy: \"referenceHidden\", ...detectOverflowOptions })\n ]\n });\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const handlePlaced = useCallbackRef(onPlaced);\n useLayoutEffect(() => {\n if (isPositioned) {\n handlePlaced?.();\n }\n }, [isPositioned, handlePlaced]);\n const arrowX = middlewareData.arrow?.x;\n const arrowY = middlewareData.arrow?.y;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const [contentZIndex, setContentZIndex] = React.useState();\n useLayoutEffect(() => {\n if (content) setContentZIndex(window.getComputedStyle(content).zIndex);\n }, [content]);\n return /* @__PURE__ */ jsx(\n \"div\",\n {\n ref: refs.setFloating,\n \"data-radix-popper-content-wrapper\": \"\",\n style: {\n ...floatingStyles,\n transform: isPositioned ? floatingStyles.transform : \"translate(0, -200%)\",\n // keep off the page when measuring\n minWidth: \"max-content\",\n zIndex: contentZIndex,\n [\"--radix-popper-transform-origin\"]: [\n middlewareData.transformOrigin?.x,\n middlewareData.transformOrigin?.y\n ].join(\" \"),\n // hide the content if using the hide middleware and should be hidden\n // set visibility to hidden and disable pointer events so the UI behaves\n // as if the PopperContent isn't there at all\n ...middlewareData.hide?.referenceHidden && {\n visibility: \"hidden\",\n pointerEvents: \"none\"\n }\n },\n dir: props.dir,\n children: /* @__PURE__ */ jsx(\n PopperContentProvider,\n {\n scope: __scopePopper,\n placedSide,\n onArrowChange: setArrow,\n arrowX,\n arrowY,\n shouldHideArrow: cannotCenterArrow,\n children: /* @__PURE__ */ jsx(\n Primitive.div,\n {\n \"data-side\": placedSide,\n \"data-align\": placedAlign,\n ...contentProps,\n ref: composedRefs,\n style: {\n ...contentProps.style,\n // if the PopperContent hasn't been placed yet (not all measurements done)\n // we prevent animations so that users's animation don't kick in too early referring wrong sides\n animation: !isPositioned ? \"none\" : void 0\n }\n }\n )\n }\n )\n }\n );\n }\n);\nPopperContent.displayName = CONTENT_NAME;\nvar ARROW_NAME = \"PopperArrow\";\nvar OPPOSITE_SIDE = {\n top: \"bottom\",\n right: \"left\",\n bottom: \"top\",\n left: \"right\"\n};\nvar PopperArrow = React.forwardRef(function PopperArrow2(props, forwardedRef) {\n const { __scopePopper, ...arrowProps } = props;\n const contentContext = useContentContext(ARROW_NAME, __scopePopper);\n const baseSide = OPPOSITE_SIDE[contentContext.placedSide];\n return (\n // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)\n // doesn't report size as we'd expect on SVG elements.\n // it reports their bounding box which is effectively the largest path inside the SVG.\n /* @__PURE__ */ jsx(\n \"span\",\n {\n ref: contentContext.onArrowChange,\n style: {\n position: \"absolute\",\n left: contentContext.arrowX,\n top: contentContext.arrowY,\n [baseSide]: 0,\n transformOrigin: {\n top: \"\",\n right: \"0 0\",\n bottom: \"center 0\",\n left: \"100% 0\"\n }[contentContext.placedSide],\n transform: {\n top: \"translateY(100%)\",\n right: \"translateY(50%) rotate(90deg) translateX(-50%)\",\n bottom: `rotate(180deg)`,\n left: \"translateY(50%) rotate(-90deg) translateX(50%)\"\n }[contentContext.placedSide],\n visibility: contentContext.shouldHideArrow ? \"hidden\" : void 0\n },\n children: /* @__PURE__ */ jsx(\n ArrowPrimitive.Root,\n {\n ...arrowProps,\n ref: forwardedRef,\n style: {\n ...arrowProps.style,\n // ensures the element can be measured correctly (mostly for if SVG)\n display: \"block\"\n }\n }\n )\n }\n )\n );\n});\nPopperArrow.displayName = ARROW_NAME;\nfunction isNotNull(value) {\n return value !== null;\n}\nvar transformOrigin = (options) => ({\n name: \"transformOrigin\",\n options,\n fn(data) {\n const { placement, rects, middlewareData } = data;\n const cannotCenterArrow = middlewareData.arrow?.centerOffset !== 0;\n const isArrowHidden = cannotCenterArrow;\n const arrowWidth = isArrowHidden ? 0 : options.arrowWidth;\n const arrowHeight = isArrowHidden ? 0 : options.arrowHeight;\n const [placedSide, placedAlign] = getSideAndAlignFromPlacement(placement);\n const noArrowAlign = { start: \"0%\", center: \"50%\", end: \"100%\" }[placedAlign];\n const arrowXCenter = (middlewareData.arrow?.x ?? 0) + arrowWidth / 2;\n const arrowYCenter = (middlewareData.arrow?.y ?? 0) + arrowHeight / 2;\n let x = \"\";\n let y = \"\";\n if (placedSide === \"bottom\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${-arrowHeight}px`;\n } else if (placedSide === \"top\") {\n x = isArrowHidden ? noArrowAlign : `${arrowXCenter}px`;\n y = `${rects.floating.height + arrowHeight}px`;\n } else if (placedSide === \"right\") {\n x = `${-arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n } else if (placedSide === \"left\") {\n x = `${rects.floating.width + arrowHeight}px`;\n y = isArrowHidden ? noArrowAlign : `${arrowYCenter}px`;\n }\n return { data: { x, y } };\n }\n});\nfunction getSideAndAlignFromPlacement(placement) {\n const [side, align = \"center\"] = placement.split(\"-\");\n return [side, align];\n}\nvar Root2 = Popper;\nvar Anchor = PopperAnchor;\nvar Content = PopperContent;\nvar Arrow = PopperArrow;\nexport {\n ALIGN_OPTIONS,\n Anchor,\n Arrow,\n Content,\n Popper,\n PopperAnchor,\n PopperArrow,\n PopperContent,\n Root2 as Root,\n SIDE_OPTIONS,\n createPopperScope\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["POPPER_NAME","createPopperContext","createPopperScope","createContextScope","PopperProvider","usePopperContext","Popper","props","__scopePopper","children","anchor","setAnchor","React","jsx","ANCHOR_NAME","PopperAnchor","forwardedRef","virtualRef","anchorProps","context","ref","composedRefs","useComposedRefs","Primitive","CONTENT_NAME","PopperContentProvider","useContentContext","PopperContent","side","sideOffset","align","alignOffset","arrowPadding","avoidCollisions","collisionBoundary","collisionPaddingProp","sticky","hideWhenDetached","updatePositionStrategy","onPlaced","contentProps","content","setContent","node","arrow","setArrow","arrowSize","useSize","arrowWidth","arrowHeight","desiredPlacement","collisionPadding","boundary","hasExplicitBoundaries","detectOverflowOptions","isNotNull","refs","floatingStyles","placement","isPositioned","middlewareData","useFloating","args","autoUpdate","offset","shift","limitShift","flip","size","elements","rects","availableWidth","availableHeight","anchorWidth","anchorHeight","contentStyle","floatingUIarrow","transformOrigin","hide","placedSide","placedAlign","getSideAndAlignFromPlacement","handlePlaced","useCallbackRef","useLayoutEffect","arrowX","_a","arrowY","_b","cannotCenterArrow","_c","contentZIndex","setContentZIndex","_d","_e","_f","ARROW_NAME","OPPOSITE_SIDE","PopperArrow","arrowProps","contentContext","baseSide","ArrowPrimitive.Root","value","options","data","isArrowHidden","noArrowAlign","arrowXCenter","arrowYCenter","x","y","Root2","Anchor","Content","Arrow"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,17 +0,0 @@
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;
7
- }
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;
14
- export {
15
- a as nonPassive
16
- };
17
- //# sourceMappingURL=index.es421.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es421.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,65 +0,0 @@
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;
60
- };
61
- export {
62
- W as handleScroll,
63
- R as locationCouldBeScrolled
64
- };
65
- //# sourceMappingURL=index.es422.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es422.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":"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","x_google_ignoreList":[0]}
@@ -1,7 +0,0 @@
1
- function i(n, t) {
2
- return typeof n == "function" ? n(t) : n && (n.current = t), n;
3
- }
4
- export {
5
- i as assignRef
6
- };
7
- //# sourceMappingURL=index.es423.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es423.js","sources":["../node_modules/use-callback-ref/dist/es2015/assignRef.js"],"sourcesContent":["/**\n * Assigns a value for a given ref, no matter of the ref format\n * @param {RefObject} ref - a callback function or ref object\n * @param value - a new value\n *\n * @see https://github.com/theKashey/use-callback-ref#assignref\n * @example\n * const refObject = useRef();\n * const refFn = (ref) => {....}\n *\n * assignRef(refObject, \"refValue\");\n * assignRef(refFn, \"refValue\");\n */\nexport function assignRef(ref, value) {\n if (typeof ref === 'function') {\n ref(value);\n }\n else if (ref) {\n ref.current = value;\n }\n return ref;\n}\n"],"names":["assignRef","ref","value"],"mappings":"AAaO,SAASA,EAAUC,GAAKC,GAAO;AAClC,SAAI,OAAOD,KAAQ,aACfA,EAAIC,CAAK,IAEJD,MACLA,EAAI,UAAUC,IAEXD;AACX;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- import { useState as u } from "react";
2
- function n(c, r) {
3
- var e = u(function() {
4
- return {
5
- // value
6
- value: c,
7
- // last callback
8
- callback: r,
9
- // "memoized" public interface
10
- facade: {
11
- get current() {
12
- return e.value;
13
- },
14
- set current(a) {
15
- var t = e.value;
16
- t !== a && (e.value = a, e.callback(a, t));
17
- }
18
- }
19
- };
20
- })[0];
21
- return e.callback = r, e.facade;
22
- }
23
- export {
24
- n as useCallbackRef
25
- };
26
- //# sourceMappingURL=index.es424.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es424.js","sources":["../node_modules/use-callback-ref/dist/es2015/useRef.js"],"sourcesContent":["import { useState } from 'react';\n/**\n * creates a MutableRef with ref change callback\n * @param initialValue - initial ref value\n * @param {Function} callback - a callback to run when value changes\n *\n * @example\n * const ref = useCallbackRef(0, (newValue, oldValue) => console.log(oldValue, '->', newValue);\n * ref.current = 1;\n * // prints 0 -> 1\n *\n * @see https://reactjs.org/docs/hooks-reference.html#useref\n * @see https://github.com/theKashey/use-callback-ref#usecallbackref---to-replace-reactuseref\n * @returns {MutableRefObject}\n */\nexport function useCallbackRef(initialValue, callback) {\n var ref = useState(function () { return ({\n // value\n value: initialValue,\n // last callback\n callback: callback,\n // \"memoized\" public interface\n facade: {\n get current() {\n return ref.value;\n },\n set current(value) {\n var last = ref.value;\n if (last !== value) {\n ref.value = value;\n ref.callback(value, last);\n }\n },\n },\n }); })[0];\n // update callback\n ref.callback = callback;\n return ref.facade;\n}\n"],"names":["useCallbackRef","initialValue","callback","ref","useState","value","last"],"mappings":";AAeO,SAASA,EAAeC,GAAcC,GAAU;AACnD,MAAIC,IAAMC,EAAS,WAAY;AAAE,WAAQ;AAAA;AAAA,MAErC,OAAOH;AAAA;AAAA,MAEP,UAAUC;AAAA;AAAA,MAEV,QAAQ;AAAA,QACJ,IAAI,UAAU;AACV,iBAAOC,EAAI;AAAA,QACd;AAAA,QACD,IAAI,QAAQE,GAAO;AACf,cAAIC,IAAOH,EAAI;AACf,UAAIG,MAASD,MACTF,EAAI,QAAQE,GACZF,EAAI,SAASE,GAAOC,CAAI;AAAA,QAE/B;AAAA,MACJ;AAAA,IACT;AAAA,EAAO,CAAE,EAAE,CAAC;AAER,SAAAH,EAAI,WAAWD,GACRC,EAAI;AACf;","x_google_ignoreList":[0]}
@@ -1,26 +0,0 @@
1
- var a = {
2
- left: 0,
3
- top: 0,
4
- right: 0,
5
- gap: 0
6
- }, e = function(t) {
7
- return parseInt(t || "", 10) || 0;
8
- }, o = function(t) {
9
- var n = window.getComputedStyle(document.body), i = n[t === "padding" ? "paddingLeft" : "marginLeft"], r = n[t === "padding" ? "paddingTop" : "marginTop"], d = n[t === "padding" ? "paddingRight" : "marginRight"];
10
- return [e(i), e(r), e(d)];
11
- }, f = function(t) {
12
- if (t === void 0 && (t = "margin"), typeof window > "u")
13
- return a;
14
- var n = o(t), i = document.documentElement.clientWidth, r = window.innerWidth;
15
- return {
16
- left: n[0],
17
- top: n[1],
18
- right: n[2],
19
- gap: Math.max(0, r - i + n[2] - n[0])
20
- };
21
- };
22
- export {
23
- f as getGapWidth,
24
- a as zeroGap
25
- };
26
- //# sourceMappingURL=index.es425.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es425.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"AAAU,IAACA,IAAU;AAAA,EACjB,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,KAAK;AACT,GACIC,IAAQ,SAAUC,GAAG;AAAE,SAAO,SAASA,KAAK,IAAI,EAAE,KAAK;AAAI,GAC3DC,IAAY,SAAUC,GAAS;AAC/B,MAAIC,IAAK,OAAO,iBAAiB,SAAS,IAAI,GAC1CC,IAAOD,EAAGD,MAAY,YAAY,gBAAgB,YAAY,GAC9DG,IAAMF,EAAGD,MAAY,YAAY,eAAe,WAAW,GAC3DI,IAAQH,EAAGD,MAAY,YAAY,iBAAiB,aAAa;AACrE,SAAO,CAACH,EAAMK,CAAI,GAAGL,EAAMM,CAAG,GAAGN,EAAMO,CAAK,CAAC;AACjD,GACWC,IAAc,SAAUL,GAAS;AAExC,MADIA,MAAY,WAAUA,IAAU,WAChC,OAAO,SAAW;AAClB,WAAOJ;AAEX,MAAIU,IAAUP,EAAUC,CAAO,GAC3BO,IAAgB,SAAS,gBAAgB,aACzCC,IAAc,OAAO;AACzB,SAAO;AAAA,IACH,MAAMF,EAAQ,CAAC;AAAA,IACf,KAAKA,EAAQ,CAAC;AAAA,IACd,OAAOA,EAAQ,CAAC;AAAA,IAChB,KAAK,KAAK,IAAI,GAAGE,IAAcD,IAAgBD,EAAQ,CAAC,IAAIA,EAAQ,CAAC,CAAC;AAAA,EACzE;AACL;","x_google_ignoreList":[0]}
@@ -1,16 +0,0 @@
1
- import * as o from "react";
2
- import { stylesheetSingleton as r } from "./index.es429.js";
3
- var i = function() {
4
- var t = r();
5
- return function(e, n) {
6
- o.useEffect(function() {
7
- return t.add(e), function() {
8
- t.remove();
9
- };
10
- }, [e && n]);
11
- };
12
- };
13
- export {
14
- i as styleHookSingleton
15
- };
16
- //# sourceMappingURL=index.es428.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es428.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":";;AAWU,IAACA,IAAqB,WAAY;AACxC,MAAIC,IAAQC,EAAqB;AACjC,SAAO,SAAUC,GAAQC,GAAW;AAChC,IAAAC,EAAM,UAAU,WAAY;AACxB,aAAAJ,EAAM,IAAIE,CAAM,GACT,WAAY;AACf,QAAAF,EAAM,OAAQ;AAAA,MACjB;AAAA,IACb,GAAW,CAACE,KAAUC,CAAS,CAAC;AAAA,EAC3B;AACL;","x_google_ignoreList":[0]}
@@ -1,31 +0,0 @@
1
- import { getNonce as o } from "./index.es430.js";
2
- function r() {
3
- if (!document)
4
- return null;
5
- var t = document.createElement("style");
6
- t.type = "text/css";
7
- var e = o();
8
- return e && t.setAttribute("nonce", e), t;
9
- }
10
- function l(t, e) {
11
- t.styleSheet ? t.styleSheet.cssText = e : t.appendChild(document.createTextNode(e));
12
- }
13
- function a(t) {
14
- var e = document.head || document.getElementsByTagName("head")[0];
15
- e.appendChild(t);
16
- }
17
- var c = function() {
18
- var t = 0, e = null;
19
- return {
20
- add: function(n) {
21
- t == 0 && (e = r()) && (l(e, n), a(e)), t++;
22
- },
23
- remove: function() {
24
- t--, !t && e && (e.parentNode && e.parentNode.removeChild(e), e = null);
25
- }
26
- };
27
- };
28
- export {
29
- c as stylesheetSingleton
30
- };
31
- //# sourceMappingURL=index.es429.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es429.js","sources":["../node_modules/react-style-singleton/dist/es2015/singleton.js"],"sourcesContent":["import { getNonce } from 'get-nonce';\nfunction makeStyleTag() {\n if (!document)\n return null;\n var tag = document.createElement('style');\n tag.type = 'text/css';\n var nonce = getNonce();\n if (nonce) {\n tag.setAttribute('nonce', nonce);\n }\n return tag;\n}\nfunction injectStyles(tag, css) {\n // @ts-ignore\n if (tag.styleSheet) {\n // @ts-ignore\n tag.styleSheet.cssText = css;\n }\n else {\n tag.appendChild(document.createTextNode(css));\n }\n}\nfunction insertStyleTag(tag) {\n var head = document.head || document.getElementsByTagName('head')[0];\n head.appendChild(tag);\n}\nexport var stylesheetSingleton = function () {\n var counter = 0;\n var stylesheet = null;\n return {\n add: function (style) {\n if (counter == 0) {\n if ((stylesheet = makeStyleTag())) {\n injectStyles(stylesheet, style);\n insertStyleTag(stylesheet);\n }\n }\n counter++;\n },\n remove: function () {\n counter--;\n if (!counter && stylesheet) {\n stylesheet.parentNode && stylesheet.parentNode.removeChild(stylesheet);\n stylesheet = null;\n }\n },\n };\n};\n"],"names":["makeStyleTag","tag","nonce","getNonce","injectStyles","css","insertStyleTag","head","stylesheetSingleton","counter","stylesheet","style"],"mappings":";AACA,SAASA,IAAe;AACpB,MAAI,CAAC;AACD,WAAO;AACX,MAAIC,IAAM,SAAS,cAAc,OAAO;AACxC,EAAAA,EAAI,OAAO;AACX,MAAIC,IAAQC,EAAU;AACtB,SAAID,KACAD,EAAI,aAAa,SAASC,CAAK,GAE5BD;AACX;AACA,SAASG,EAAaH,GAAKI,GAAK;AAE5B,EAAIJ,EAAI,aAEJA,EAAI,WAAW,UAAUI,IAGzBJ,EAAI,YAAY,SAAS,eAAeI,CAAG,CAAC;AAEpD;AACA,SAASC,EAAeL,GAAK;AACzB,MAAIM,IAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,EAAAA,EAAK,YAAYN,CAAG;AACxB;AACU,IAACO,IAAsB,WAAY;AACzC,MAAIC,IAAU,GACVC,IAAa;AACjB,SAAO;AAAA,IACH,KAAK,SAAUC,GAAO;AAClB,MAAIF,KAAW,MACNC,IAAaV,SACdI,EAAaM,GAAYC,CAAK,GAC9BL,EAAeI,CAAU,IAGjCD;AAAA,IACH;AAAA,IACD,QAAQ,WAAY;AAChB,MAAAA,KACI,CAACA,KAAWC,MACZA,EAAW,cAAcA,EAAW,WAAW,YAAYA,CAAU,GACrEA,IAAa;AAAA,IAEpB;AAAA,EACJ;AACL;","x_google_ignoreList":[0]}
@@ -1,8 +0,0 @@
1
- var e = function() {
2
- if (typeof __webpack_nonce__ < "u")
3
- return __webpack_nonce__;
4
- };
5
- export {
6
- e as getNonce
7
- };
8
- //# sourceMappingURL=index.es430.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es430.js","sources":["../node_modules/get-nonce/dist/es2015/index.js"],"sourcesContent":["var currentNonce;\nexport var setNonce = function (nonce) {\n currentNonce = nonce;\n};\nexport var getNonce = function () {\n if (currentNonce) {\n return currentNonce;\n }\n if (typeof __webpack_nonce__ !== 'undefined') {\n return __webpack_nonce__;\n }\n return undefined;\n};\n"],"names":["getNonce"],"mappings":"AAIU,IAACA,IAAW,WAAY;AAI9B,MAAI,OAAO,oBAAsB;AAC7B,WAAO;AAGf;","x_google_ignoreList":[0]}