@performant-software/core-data 2.2.21-beta.19 → 2.2.21-beta.20

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 (1428) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs106.js +1 -1
  6. package/dist/index.cjs108.js +1 -1
  7. package/dist/index.cjs109.js +1 -1
  8. package/dist/index.cjs11.js +1 -1
  9. package/dist/index.cjs11.js.map +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs112.js +1 -1
  12. package/dist/index.cjs113.js +1 -1
  13. package/dist/index.cjs114.js +1 -1
  14. package/dist/index.cjs117.js +1 -1
  15. package/dist/index.cjs118.js +1 -1
  16. package/dist/index.cjs130.js +1 -1
  17. package/dist/index.cjs135.js +1 -1
  18. package/dist/index.cjs137.js +1 -1
  19. package/dist/index.cjs138.js +1 -1
  20. package/dist/index.cjs140.js +1 -1
  21. package/dist/index.cjs141.js +1 -1
  22. package/dist/index.cjs142.js +1 -1
  23. package/dist/index.cjs143.js +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs151.js +1 -1
  26. package/dist/index.cjs152.js +1 -1
  27. package/dist/index.cjs153.js +1 -1
  28. package/dist/index.cjs157.js +1 -1
  29. package/dist/index.cjs158.js +1 -1
  30. package/dist/index.cjs159.js +1 -1
  31. package/dist/index.cjs160.js +1 -1
  32. package/dist/index.cjs163.js +1 -1
  33. package/dist/index.cjs168.js +1 -1
  34. package/dist/index.cjs169.js +1 -1
  35. package/dist/index.cjs170.js +1 -1
  36. package/dist/index.cjs171.js +1 -1
  37. package/dist/index.cjs172.js +1 -1
  38. package/dist/index.cjs173.js +1 -1
  39. package/dist/index.cjs176.js +1 -1
  40. package/dist/index.cjs183.js +1 -1
  41. package/dist/index.cjs186.js +1 -1
  42. package/dist/index.cjs190.js +1 -1
  43. package/dist/index.cjs192.js +1 -1
  44. package/dist/index.cjs192.js.map +1 -1
  45. package/dist/index.cjs193.js +1 -1
  46. package/dist/index.cjs193.js.map +1 -1
  47. package/dist/index.cjs194.js +1 -1
  48. package/dist/index.cjs194.js.map +1 -1
  49. package/dist/index.cjs195.js +6 -1
  50. package/dist/index.cjs195.js.map +1 -1
  51. package/dist/index.cjs196.js +1 -1
  52. package/dist/index.cjs196.js.map +1 -1
  53. package/dist/index.cjs197.js +2 -1
  54. package/dist/index.cjs197.js.map +1 -1
  55. package/dist/index.cjs198.js +3 -1
  56. package/dist/index.cjs198.js.map +1 -1
  57. package/dist/index.cjs199.js +1 -1
  58. package/dist/index.cjs199.js.map +1 -1
  59. package/dist/index.cjs200.js +1 -1
  60. package/dist/index.cjs200.js.map +1 -1
  61. package/dist/index.cjs201.js +8 -1
  62. package/dist/index.cjs201.js.map +1 -1
  63. package/dist/index.cjs202.js +13 -1
  64. package/dist/index.cjs202.js.map +1 -1
  65. package/dist/index.cjs203.js +1 -1
  66. package/dist/index.cjs203.js.map +1 -1
  67. package/dist/index.cjs204.js +17 -1
  68. package/dist/index.cjs204.js.map +1 -1
  69. package/dist/index.cjs205.js +1 -1
  70. package/dist/index.cjs205.js.map +1 -1
  71. package/dist/index.cjs206.js +1 -1
  72. package/dist/index.cjs206.js.map +1 -1
  73. package/dist/index.cjs207.js +1 -1
  74. package/dist/index.cjs207.js.map +1 -1
  75. package/dist/index.cjs208.js +1 -1
  76. package/dist/index.cjs208.js.map +1 -1
  77. package/dist/index.cjs209.js +1 -1
  78. package/dist/index.cjs209.js.map +1 -1
  79. package/dist/index.cjs210.js +1 -1
  80. package/dist/index.cjs210.js.map +1 -1
  81. package/dist/index.cjs211.js +1 -1
  82. package/dist/index.cjs211.js.map +1 -1
  83. package/dist/index.cjs212.js +1 -1
  84. package/dist/index.cjs212.js.map +1 -1
  85. package/dist/index.cjs213.js +1 -1
  86. package/dist/index.cjs213.js.map +1 -1
  87. package/dist/index.cjs214.js +1 -1
  88. package/dist/index.cjs214.js.map +1 -1
  89. package/dist/index.cjs215.js +1 -1
  90. package/dist/index.cjs215.js.map +1 -1
  91. package/dist/index.cjs216.js +1 -1
  92. package/dist/index.cjs216.js.map +1 -1
  93. package/dist/index.cjs217.js +1 -1
  94. package/dist/index.cjs217.js.map +1 -1
  95. package/dist/index.cjs218.js +1 -1
  96. package/dist/index.cjs218.js.map +1 -1
  97. package/dist/index.cjs219.js +1 -1
  98. package/dist/index.cjs219.js.map +1 -1
  99. package/dist/index.cjs220.js +1 -1
  100. package/dist/index.cjs220.js.map +1 -1
  101. package/dist/index.cjs221.js +1 -1
  102. package/dist/index.cjs221.js.map +1 -1
  103. package/dist/index.cjs222.js +1 -1
  104. package/dist/index.cjs222.js.map +1 -1
  105. package/dist/index.cjs223.js +1 -6
  106. package/dist/index.cjs223.js.map +1 -1
  107. package/dist/index.cjs224.js +1 -1
  108. package/dist/index.cjs224.js.map +1 -1
  109. package/dist/index.cjs225.js +1 -2
  110. package/dist/index.cjs225.js.map +1 -1
  111. package/dist/index.cjs226.js +1 -3
  112. package/dist/index.cjs226.js.map +1 -1
  113. package/dist/index.cjs227.js +1 -1
  114. package/dist/index.cjs227.js.map +1 -1
  115. package/dist/index.cjs228.js +1 -1
  116. package/dist/index.cjs228.js.map +1 -1
  117. package/dist/index.cjs229.js +1 -8
  118. package/dist/index.cjs229.js.map +1 -1
  119. package/dist/index.cjs230.js +1 -13
  120. package/dist/index.cjs230.js.map +1 -1
  121. package/dist/index.cjs231.js +1 -1
  122. package/dist/index.cjs231.js.map +1 -1
  123. package/dist/index.cjs232.js +1 -17
  124. package/dist/index.cjs232.js.map +1 -1
  125. package/dist/index.cjs233.js +1 -1
  126. package/dist/index.cjs233.js.map +1 -1
  127. package/dist/index.cjs234.js +1 -1
  128. package/dist/index.cjs234.js.map +1 -1
  129. package/dist/index.cjs235.js +1 -1
  130. package/dist/index.cjs235.js.map +1 -1
  131. package/dist/index.cjs236.js +1 -1
  132. package/dist/index.cjs236.js.map +1 -1
  133. package/dist/index.cjs237.js +1 -1
  134. package/dist/index.cjs237.js.map +1 -1
  135. package/dist/index.cjs238.js +1 -1
  136. package/dist/index.cjs238.js.map +1 -1
  137. package/dist/index.cjs239.js +1 -1
  138. package/dist/index.cjs239.js.map +1 -1
  139. package/dist/index.cjs240.js +1 -1
  140. package/dist/index.cjs240.js.map +1 -1
  141. package/dist/index.cjs241.js +1 -1
  142. package/dist/index.cjs241.js.map +1 -1
  143. package/dist/index.cjs242.js +1 -1
  144. package/dist/index.cjs242.js.map +1 -1
  145. package/dist/index.cjs243.js +1 -1
  146. package/dist/index.cjs243.js.map +1 -1
  147. package/dist/index.cjs244.js +1 -1
  148. package/dist/index.cjs244.js.map +1 -1
  149. package/dist/index.cjs245.js +1 -1
  150. package/dist/index.cjs245.js.map +1 -1
  151. package/dist/index.cjs246.js +1 -1
  152. package/dist/index.cjs246.js.map +1 -1
  153. package/dist/index.cjs247.js +1 -1
  154. package/dist/index.cjs247.js.map +1 -1
  155. package/dist/index.cjs248.js +1 -1
  156. package/dist/index.cjs248.js.map +1 -1
  157. package/dist/index.cjs249.js +1 -1
  158. package/dist/index.cjs249.js.map +1 -1
  159. package/dist/index.cjs250.js +1 -1
  160. package/dist/index.cjs250.js.map +1 -1
  161. package/dist/index.cjs251.js +1 -1
  162. package/dist/index.cjs251.js.map +1 -1
  163. package/dist/index.cjs255.js +1 -1
  164. package/dist/index.cjs262.js +1 -1
  165. package/dist/index.cjs263.js +1 -1
  166. package/dist/index.cjs264.js +1 -1
  167. package/dist/index.cjs265.js +1 -1
  168. package/dist/index.cjs266.js +1 -1
  169. package/dist/index.cjs267.js +1 -1
  170. package/dist/index.cjs268.js +1 -1
  171. package/dist/index.cjs269.js +1 -1
  172. package/dist/index.cjs270.js +1 -1
  173. package/dist/index.cjs273.js +1 -1
  174. package/dist/index.cjs274.js +1 -1
  175. package/dist/index.cjs276.js +1 -1
  176. package/dist/index.cjs277.js +1 -1
  177. package/dist/index.cjs278.js +1 -1
  178. package/dist/index.cjs279.js +1 -1
  179. package/dist/index.cjs284.js +1 -1
  180. package/dist/index.cjs285.js +1 -1
  181. package/dist/index.cjs286.js +1 -1
  182. package/dist/index.cjs287.js +1 -1
  183. package/dist/index.cjs290.js +1 -1
  184. package/dist/index.cjs291.js +1 -1
  185. package/dist/index.cjs292.js +1 -1
  186. package/dist/index.cjs296.js +1 -1
  187. package/dist/index.cjs299.js +1 -1
  188. package/dist/index.cjs303.js +1 -1
  189. package/dist/index.cjs306.js +1 -1
  190. package/dist/index.cjs314.js +1 -1
  191. package/dist/index.cjs315.js +1 -1
  192. package/dist/index.cjs316.js +1 -1
  193. package/dist/index.cjs317.js +1 -1
  194. package/dist/index.cjs318.js +1 -1
  195. package/dist/index.cjs319.js +1 -1
  196. package/dist/index.cjs320.js +1 -1
  197. package/dist/index.cjs322.js +1 -1
  198. package/dist/index.cjs323.js +1 -1
  199. package/dist/index.cjs324.js +1 -1
  200. package/dist/index.cjs325.js +1 -1
  201. package/dist/index.cjs326.js +1 -1
  202. package/dist/index.cjs327.js +1 -1
  203. package/dist/index.cjs328.js +1 -1
  204. package/dist/index.cjs329.js +1 -1
  205. package/dist/index.cjs330.js +1 -1
  206. package/dist/index.cjs333.js +1 -1
  207. package/dist/index.cjs334.js +1 -1
  208. package/dist/index.cjs336.js +1 -1
  209. package/dist/index.cjs337.js +1 -1
  210. package/dist/index.cjs338.js +1 -1
  211. package/dist/index.cjs339.js +1 -1
  212. package/dist/index.cjs340.js +1 -1
  213. package/dist/index.cjs341.js +1 -1
  214. package/dist/index.cjs342.js +1 -1
  215. package/dist/index.cjs343.js +1 -1
  216. package/dist/index.cjs349.js +1 -1
  217. package/dist/index.cjs350.js +1 -1
  218. package/dist/index.cjs351.js +1 -1
  219. package/dist/index.cjs352.js +1 -1
  220. package/dist/index.cjs353.js +1 -1
  221. package/dist/index.cjs357.js +1 -1
  222. package/dist/index.cjs358.js +1 -1
  223. package/dist/index.cjs359.js +1 -1
  224. package/dist/index.cjs360.js +1 -1
  225. package/dist/index.cjs361.js +1 -1
  226. package/dist/index.cjs362.js +1 -1
  227. package/dist/index.cjs363.js +1 -1
  228. package/dist/index.cjs364.js +1 -1
  229. package/dist/index.cjs365.js +1 -1
  230. package/dist/index.cjs366.js +1 -1
  231. package/dist/index.cjs369.js +1 -1
  232. package/dist/index.cjs369.js.map +1 -1
  233. package/dist/index.cjs370.js +1 -1
  234. package/dist/index.cjs370.js.map +1 -1
  235. package/dist/index.cjs371.js +1 -1
  236. package/dist/index.cjs371.js.map +1 -1
  237. package/dist/index.cjs372.js +1 -1
  238. package/dist/index.cjs372.js.map +1 -1
  239. package/dist/index.cjs373.js +1 -1
  240. package/dist/index.cjs373.js.map +1 -1
  241. package/dist/index.cjs374.js +1 -1
  242. package/dist/index.cjs374.js.map +1 -1
  243. package/dist/index.cjs375.js +1 -1
  244. package/dist/index.cjs375.js.map +1 -1
  245. package/dist/index.cjs376.js +1 -1
  246. package/dist/index.cjs376.js.map +1 -1
  247. package/dist/index.cjs377.js +1 -1
  248. package/dist/index.cjs377.js.map +1 -1
  249. package/dist/index.cjs378.js +1 -1
  250. package/dist/index.cjs378.js.map +1 -1
  251. package/dist/index.cjs379.js +1 -1
  252. package/dist/index.cjs379.js.map +1 -1
  253. package/dist/index.cjs382.js +1 -1
  254. package/dist/index.cjs383.js +6 -1
  255. package/dist/index.cjs383.js.map +1 -1
  256. package/dist/index.cjs384.js +1 -1
  257. package/dist/index.cjs384.js.map +1 -1
  258. package/dist/index.cjs385.js +1 -1
  259. package/dist/index.cjs385.js.map +1 -1
  260. package/dist/index.cjs386.js +1 -6
  261. package/dist/index.cjs386.js.map +1 -1
  262. package/dist/index.cjs387.js +1 -1
  263. package/dist/index.cjs387.js.map +1 -1
  264. package/dist/index.cjs388.js +1 -1
  265. package/dist/index.cjs388.js.map +1 -1
  266. package/dist/index.cjs389.js +1 -1
  267. package/dist/index.cjs389.js.map +1 -1
  268. package/dist/index.cjs390.js +1 -1
  269. package/dist/index.cjs390.js.map +1 -1
  270. package/dist/index.cjs391.js +1 -1
  271. package/dist/index.cjs391.js.map +1 -1
  272. package/dist/index.cjs392.js +1 -1
  273. package/dist/index.cjs392.js.map +1 -1
  274. package/dist/index.cjs393.js +1 -1
  275. package/dist/index.cjs393.js.map +1 -1
  276. package/dist/index.cjs394.js +1 -1
  277. package/dist/index.cjs394.js.map +1 -1
  278. package/dist/index.cjs395.js +2 -1
  279. package/dist/index.cjs395.js.map +1 -1
  280. package/dist/index.cjs396.js +4 -1
  281. package/dist/index.cjs396.js.map +1 -1
  282. package/dist/index.cjs397.js +2 -1
  283. package/dist/index.cjs397.js.map +1 -1
  284. package/dist/index.cjs398.js +1 -2
  285. package/dist/index.cjs398.js.map +1 -1
  286. package/dist/index.cjs399.js +1 -4
  287. package/dist/index.cjs399.js.map +1 -1
  288. package/dist/index.cjs400.js +2 -2
  289. package/dist/index.cjs400.js.map +1 -1
  290. package/dist/index.cjs401.js +6 -1
  291. package/dist/index.cjs401.js.map +1 -1
  292. package/dist/index.cjs402.js +6 -1
  293. package/dist/index.cjs402.js.map +1 -1
  294. package/dist/index.cjs403.js +1 -2
  295. package/dist/index.cjs403.js.map +1 -1
  296. package/dist/index.cjs404.js +1 -6
  297. package/dist/index.cjs404.js.map +1 -1
  298. package/dist/index.cjs405.js +1 -6
  299. package/dist/index.cjs405.js.map +1 -1
  300. package/dist/index.cjs406.js +1 -1
  301. package/dist/index.cjs406.js.map +1 -1
  302. package/dist/index.cjs407.js +1 -1
  303. package/dist/index.cjs407.js.map +1 -1
  304. package/dist/index.cjs408.js +1 -1
  305. package/dist/index.cjs408.js.map +1 -1
  306. package/dist/index.cjs409.js +1 -1
  307. package/dist/index.cjs409.js.map +1 -1
  308. package/dist/index.cjs410.js +1 -1
  309. package/dist/index.cjs410.js.map +1 -1
  310. package/dist/index.cjs411.js +1 -1
  311. package/dist/index.cjs411.js.map +1 -1
  312. package/dist/index.cjs412.js +1 -1
  313. package/dist/index.cjs412.js.map +1 -1
  314. package/dist/index.cjs413.js +1 -1
  315. package/dist/index.cjs413.js.map +1 -1
  316. package/dist/index.cjs414.js +1 -1
  317. package/dist/index.cjs414.js.map +1 -1
  318. package/dist/index.cjs415.js +1 -1
  319. package/dist/index.cjs415.js.map +1 -1
  320. package/dist/index.cjs416.js +1 -1
  321. package/dist/index.cjs416.js.map +1 -1
  322. package/dist/index.cjs417.js +1 -1
  323. package/dist/index.cjs417.js.map +1 -1
  324. package/dist/index.cjs418.js +1 -4
  325. package/dist/index.cjs418.js.map +1 -1
  326. package/dist/index.cjs419.js +1 -1
  327. package/dist/index.cjs419.js.map +1 -1
  328. package/dist/index.cjs420.js +1 -1
  329. package/dist/index.cjs420.js.map +1 -1
  330. package/dist/index.cjs421.js +1 -1
  331. package/dist/index.cjs421.js.map +1 -1
  332. package/dist/index.cjs422.js +1 -1
  333. package/dist/index.cjs422.js.map +1 -1
  334. package/dist/index.cjs423.js +1 -1
  335. package/dist/index.cjs423.js.map +1 -1
  336. package/dist/index.cjs424.js +1 -1
  337. package/dist/index.cjs424.js.map +1 -1
  338. package/dist/index.cjs425.js +1 -1
  339. package/dist/index.cjs425.js.map +1 -1
  340. package/dist/index.cjs426.js +1 -1
  341. package/dist/index.cjs426.js.map +1 -1
  342. package/dist/index.cjs427.js +1 -1
  343. package/dist/index.cjs427.js.map +1 -1
  344. package/dist/index.cjs428.js +1 -1
  345. package/dist/index.cjs428.js.map +1 -1
  346. package/dist/index.cjs429.js +1 -1
  347. package/dist/index.cjs429.js.map +1 -1
  348. package/dist/index.cjs430.js +1 -1
  349. package/dist/index.cjs430.js.map +1 -1
  350. package/dist/index.cjs431.js +1 -1
  351. package/dist/index.cjs431.js.map +1 -1
  352. package/dist/index.cjs432.js +1 -1
  353. package/dist/index.cjs432.js.map +1 -1
  354. package/dist/index.cjs433.js +1 -1
  355. package/dist/index.cjs433.js.map +1 -1
  356. package/dist/index.cjs434.js +1 -1
  357. package/dist/index.cjs434.js.map +1 -1
  358. package/dist/index.cjs435.js +1 -1
  359. package/dist/index.cjs435.js.map +1 -1
  360. package/dist/index.cjs436.js +1 -1
  361. package/dist/index.cjs436.js.map +1 -1
  362. package/dist/index.cjs437.js +1 -1
  363. package/dist/index.cjs437.js.map +1 -1
  364. package/dist/index.cjs438.js +1 -1
  365. package/dist/index.cjs438.js.map +1 -1
  366. package/dist/index.cjs439.js +1 -1
  367. package/dist/index.cjs439.js.map +1 -1
  368. package/dist/index.cjs440.js +1 -1
  369. package/dist/index.cjs440.js.map +1 -1
  370. package/dist/index.cjs441.js +1 -1
  371. package/dist/index.cjs441.js.map +1 -1
  372. package/dist/index.cjs442.js +1 -1
  373. package/dist/index.cjs442.js.map +1 -1
  374. package/dist/index.cjs443.js +1 -1
  375. package/dist/index.cjs443.js.map +1 -1
  376. package/dist/index.cjs444.js +1 -1
  377. package/dist/index.cjs444.js.map +1 -1
  378. package/dist/index.cjs445.js +1 -1
  379. package/dist/index.cjs445.js.map +1 -1
  380. package/dist/index.cjs446.js +1 -1
  381. package/dist/index.cjs446.js.map +1 -1
  382. package/dist/index.cjs448.js +1 -1
  383. package/dist/index.cjs448.js.map +1 -1
  384. package/dist/index.cjs449.js +1 -1
  385. package/dist/index.cjs450.js +1 -1
  386. package/dist/index.cjs451.js +1 -1
  387. package/dist/index.cjs451.js.map +1 -1
  388. package/dist/index.cjs452.js +1 -1
  389. package/dist/index.cjs452.js.map +1 -1
  390. package/dist/index.cjs453.js +1 -1
  391. package/dist/index.cjs453.js.map +1 -1
  392. package/dist/index.cjs455.js +1 -1
  393. package/dist/index.cjs455.js.map +1 -1
  394. package/dist/index.cjs456.js +1 -1
  395. package/dist/index.cjs456.js.map +1 -1
  396. package/dist/index.cjs457.js +1 -1
  397. package/dist/index.cjs457.js.map +1 -1
  398. package/dist/index.cjs458.js +1 -1
  399. package/dist/index.cjs458.js.map +1 -1
  400. package/dist/index.cjs459.js +1 -1
  401. package/dist/index.cjs459.js.map +1 -1
  402. package/dist/index.cjs460.js +1 -1
  403. package/dist/index.cjs460.js.map +1 -1
  404. package/dist/index.cjs461.js +1 -1
  405. package/dist/index.cjs461.js.map +1 -1
  406. package/dist/index.cjs462.js +1 -1
  407. package/dist/index.cjs462.js.map +1 -1
  408. package/dist/index.cjs463.js +1 -1
  409. package/dist/index.cjs463.js.map +1 -1
  410. package/dist/index.cjs464.js +1 -1
  411. package/dist/index.cjs464.js.map +1 -1
  412. package/dist/index.cjs465.js +5 -1
  413. package/dist/index.cjs465.js.map +1 -1
  414. package/dist/index.cjs466.js +1 -1
  415. package/dist/index.cjs466.js.map +1 -1
  416. package/dist/index.cjs467.js +1 -1
  417. package/dist/index.cjs467.js.map +1 -1
  418. package/dist/index.cjs468.js +1 -1
  419. package/dist/index.cjs468.js.map +1 -1
  420. package/dist/index.cjs469.js +12 -1
  421. package/dist/index.cjs469.js.map +1 -1
  422. package/dist/index.cjs470.js +1 -1
  423. package/dist/index.cjs470.js.map +1 -1
  424. package/dist/index.cjs471.js +1 -2
  425. package/dist/index.cjs471.js.map +1 -1
  426. package/dist/index.cjs472.js +1 -1
  427. package/dist/index.cjs472.js.map +1 -1
  428. package/dist/index.cjs473.js +1 -1
  429. package/dist/index.cjs473.js.map +1 -1
  430. package/dist/index.cjs474.js +1 -1
  431. package/dist/index.cjs474.js.map +1 -1
  432. package/dist/index.cjs475.js +1 -1
  433. package/dist/index.cjs475.js.map +1 -1
  434. package/dist/index.cjs476.js +1 -1
  435. package/dist/index.cjs476.js.map +1 -1
  436. package/dist/index.cjs477.js +2 -1
  437. package/dist/index.cjs477.js.map +1 -1
  438. package/dist/index.cjs478.js +1 -1
  439. package/dist/index.cjs478.js.map +1 -1
  440. package/dist/index.cjs479.js +1 -1
  441. package/dist/index.cjs479.js.map +1 -1
  442. package/dist/index.cjs480.js +1 -1
  443. package/dist/index.cjs480.js.map +1 -1
  444. package/dist/index.cjs481.js +1 -1
  445. package/dist/index.cjs481.js.map +1 -1
  446. package/dist/index.cjs482.js +1 -1
  447. package/dist/index.cjs482.js.map +1 -1
  448. package/dist/index.cjs483.js +1 -1
  449. package/dist/index.cjs483.js.map +1 -1
  450. package/dist/index.cjs485.js +1 -1
  451. package/dist/index.cjs485.js.map +1 -1
  452. package/dist/index.cjs486.js +1 -1
  453. package/dist/index.cjs487.js +1 -1
  454. package/dist/index.cjs487.js.map +1 -1
  455. package/dist/index.cjs488.js +1 -5
  456. package/dist/index.cjs488.js.map +1 -1
  457. package/dist/index.cjs489.js +1 -1
  458. package/dist/index.cjs489.js.map +1 -1
  459. package/dist/index.cjs491.js +1 -1
  460. package/dist/index.cjs491.js.map +1 -1
  461. package/dist/index.cjs492.js +1 -12
  462. package/dist/index.cjs492.js.map +1 -1
  463. package/dist/index.cjs493.js +1 -1
  464. package/dist/index.cjs493.js.map +1 -1
  465. package/dist/index.cjs494.js +4 -1
  466. package/dist/index.cjs494.js.map +1 -1
  467. package/dist/index.cjs495.js +1 -1
  468. package/dist/index.cjs495.js.map +1 -1
  469. package/dist/index.cjs496.js.map +1 -1
  470. package/dist/index.cjs497.js +1 -1
  471. package/dist/index.cjs497.js.map +1 -1
  472. package/dist/index.cjs498.js +2 -2
  473. package/dist/index.cjs498.js.map +1 -1
  474. package/dist/index.cjs499.js.map +1 -1
  475. package/dist/index.cjs500.js +1 -1
  476. package/dist/index.cjs500.js.map +1 -1
  477. package/dist/index.cjs501.js +2 -2
  478. package/dist/index.cjs501.js.map +1 -1
  479. package/dist/index.cjs503.js +1 -38
  480. package/dist/index.cjs503.js.map +1 -1
  481. package/dist/index.cjs504.js +1 -1
  482. package/dist/index.cjs504.js.map +1 -1
  483. package/dist/index.cjs505.js +1 -1
  484. package/dist/index.cjs505.js.map +1 -1
  485. package/dist/index.cjs506.js +1 -1
  486. package/dist/index.cjs506.js.map +1 -1
  487. package/dist/index.cjs507.js +1 -1
  488. package/dist/index.cjs507.js.map +1 -1
  489. package/dist/index.cjs508.js +1 -1
  490. package/dist/index.cjs508.js.map +1 -1
  491. package/dist/index.cjs509.js +1 -1
  492. package/dist/index.cjs509.js.map +1 -1
  493. package/dist/index.cjs510.js +1 -1
  494. package/dist/index.cjs510.js.map +1 -1
  495. package/dist/index.cjs511.js +1 -1
  496. package/dist/index.cjs511.js.map +1 -1
  497. package/dist/index.cjs512.js +1 -1
  498. package/dist/index.cjs512.js.map +1 -1
  499. package/dist/index.cjs513.js +1 -1
  500. package/dist/index.cjs513.js.map +1 -1
  501. package/dist/index.cjs514.js +1 -1
  502. package/dist/index.cjs514.js.map +1 -1
  503. package/dist/index.cjs515.js +1 -1
  504. package/dist/index.cjs515.js.map +1 -1
  505. package/dist/index.cjs516.js +2 -1
  506. package/dist/index.cjs516.js.map +1 -1
  507. package/dist/index.cjs518.js +1 -1
  508. package/dist/index.cjs519.js +1 -1
  509. package/dist/index.cjs520.js +1 -1
  510. package/dist/index.cjs521.js +1 -1
  511. package/dist/index.cjs522.js +1 -1
  512. package/dist/index.cjs523.js +1 -1
  513. package/dist/index.cjs524.js +1 -1
  514. package/dist/index.cjs525.js +1 -1
  515. package/dist/index.cjs526.js +1 -1
  516. package/dist/index.cjs527.js +1 -1
  517. package/dist/index.cjs528.js +1 -1
  518. package/dist/index.cjs529.js +1 -1
  519. package/dist/index.cjs530.js +1 -1
  520. package/dist/index.cjs531.js +1 -1
  521. package/dist/index.cjs532.js +1 -1
  522. package/dist/index.cjs533.js +1 -1
  523. package/dist/index.cjs535.js +1 -1
  524. package/dist/index.cjs537.js +1 -1
  525. package/dist/index.cjs538.js +1 -1
  526. package/dist/index.cjs539.js +1 -1
  527. package/dist/index.cjs540.js +1 -1
  528. package/dist/index.cjs541.js +1 -1
  529. package/dist/index.cjs542.js +1 -1
  530. package/dist/index.cjs543.js +1 -1
  531. package/dist/index.cjs544.js +1 -1
  532. package/dist/index.cjs545.js +1 -1
  533. package/dist/index.cjs546.js +1 -1
  534. package/dist/index.cjs547.js +1 -1
  535. package/dist/index.cjs549.js +1 -1
  536. package/dist/index.cjs549.js.map +1 -1
  537. package/dist/index.cjs550.js +1 -1
  538. package/dist/index.cjs550.js.map +1 -1
  539. package/dist/index.cjs551.js +2 -1
  540. package/dist/index.cjs551.js.map +1 -1
  541. package/dist/index.cjs552.js +1 -1
  542. package/dist/index.cjs552.js.map +1 -1
  543. package/dist/index.cjs553.js +1 -2
  544. package/dist/index.cjs553.js.map +1 -1
  545. package/dist/index.cjs555.js +1 -1
  546. package/dist/index.cjs555.js.map +1 -1
  547. package/dist/index.cjs556.js +1 -1
  548. package/dist/index.cjs556.js.map +1 -1
  549. package/dist/index.cjs557.js +1 -2
  550. package/dist/index.cjs557.js.map +1 -1
  551. package/dist/index.cjs558.js +1 -1
  552. package/dist/index.cjs558.js.map +1 -1
  553. package/dist/index.cjs559.js +1 -1
  554. package/dist/index.cjs559.js.map +1 -1
  555. package/dist/index.cjs560.js +1 -1
  556. package/dist/index.cjs560.js.map +1 -1
  557. package/dist/index.cjs561.js +1 -1
  558. package/dist/index.cjs561.js.map +1 -1
  559. package/dist/index.cjs563.js +1 -1
  560. package/dist/index.cjs563.js.map +1 -1
  561. package/dist/index.cjs565.js +38 -1
  562. package/dist/index.cjs565.js.map +1 -1
  563. package/dist/index.cjs566.js +1 -1
  564. package/dist/index.cjs566.js.map +1 -1
  565. package/dist/index.cjs567.js +1 -1
  566. package/dist/index.cjs567.js.map +1 -1
  567. package/dist/index.cjs568.js +1 -1
  568. package/dist/index.cjs568.js.map +1 -1
  569. package/dist/index.cjs569.js +1 -1
  570. package/dist/index.cjs569.js.map +1 -1
  571. package/dist/index.cjs570.js +19 -19
  572. package/dist/index.cjs570.js.map +1 -1
  573. package/dist/index.cjs571.js.map +1 -1
  574. package/dist/index.cjs572.js +1 -1
  575. package/dist/index.cjs572.js.map +1 -1
  576. package/dist/index.cjs573.js +19 -19
  577. package/dist/index.cjs573.js.map +1 -1
  578. package/dist/index.cjs574.js.map +1 -1
  579. package/dist/index.cjs575.js +1 -1
  580. package/dist/index.cjs575.js.map +1 -1
  581. package/dist/index.cjs576.js +1 -1
  582. package/dist/index.cjs580.js +1 -1
  583. package/dist/index.cjs580.js.map +1 -1
  584. package/dist/index.cjs581.js +1 -1
  585. package/dist/index.cjs581.js.map +1 -1
  586. package/dist/index.cjs583.js +1 -1
  587. package/dist/index.cjs584.js +1 -1
  588. package/dist/index.cjs584.js.map +1 -1
  589. package/dist/index.cjs585.js +1 -1
  590. package/dist/index.cjs586.js +1 -1
  591. package/dist/index.cjs587.js +1 -1
  592. package/dist/index.cjs59.js +1 -1
  593. package/dist/index.cjs590.js +1 -1
  594. package/dist/index.cjs591.js +1 -1
  595. package/dist/index.cjs593.js +1 -1
  596. package/dist/index.cjs594.js +1 -1
  597. package/dist/index.cjs594.js.map +1 -1
  598. package/dist/index.cjs596.js +1 -1
  599. package/dist/index.cjs596.js.map +1 -1
  600. package/dist/index.cjs597.js +1 -1
  601. package/dist/index.cjs597.js.map +1 -1
  602. package/dist/index.cjs598.js +1 -1
  603. package/dist/index.cjs598.js.map +1 -1
  604. package/dist/index.cjs599.js +1 -1
  605. package/dist/index.cjs599.js.map +1 -1
  606. package/dist/index.cjs60.js +1 -1
  607. package/dist/index.cjs600.js +1 -1
  608. package/dist/index.cjs600.js.map +1 -1
  609. package/dist/index.cjs602.js +7 -1
  610. package/dist/index.cjs602.js.map +1 -1
  611. package/dist/index.cjs603.js +1 -7
  612. package/dist/index.cjs603.js.map +1 -1
  613. package/dist/index.cjs604.js +1 -1
  614. package/dist/index.cjs604.js.map +1 -1
  615. package/dist/index.cjs605.js +1 -1
  616. package/dist/index.cjs605.js.map +1 -1
  617. package/dist/index.cjs606.js +1 -1
  618. package/dist/index.cjs606.js.map +1 -1
  619. package/dist/index.cjs607.js +1 -1
  620. package/dist/index.cjs607.js.map +1 -1
  621. package/dist/index.cjs608.js +1 -1
  622. package/dist/index.cjs608.js.map +1 -1
  623. package/dist/index.cjs61.js +1 -1
  624. package/dist/index.cjs617.js +1 -1
  625. package/dist/index.cjs617.js.map +1 -1
  626. package/dist/index.cjs620.js +1 -1
  627. package/dist/index.cjs620.js.map +1 -1
  628. package/dist/index.cjs621.js +1 -1
  629. package/dist/index.cjs621.js.map +1 -1
  630. package/dist/index.cjs622.js +1 -1
  631. package/dist/index.cjs622.js.map +1 -1
  632. package/dist/index.cjs623.js +1 -1
  633. package/dist/index.cjs623.js.map +1 -1
  634. package/dist/index.cjs624.js +1 -1
  635. package/dist/index.cjs624.js.map +1 -1
  636. package/dist/index.cjs628.js +1 -1
  637. package/dist/index.cjs628.js.map +1 -1
  638. package/dist/index.cjs629.js +1 -1
  639. package/dist/index.cjs629.js.map +1 -1
  640. package/dist/index.cjs63.js +1 -1
  641. package/dist/index.cjs630.js +1 -1
  642. package/dist/index.cjs630.js.map +1 -1
  643. package/dist/index.cjs631.js +1 -1
  644. package/dist/index.cjs631.js.map +1 -1
  645. package/dist/index.cjs632.js +1 -1
  646. package/dist/index.cjs632.js.map +1 -1
  647. package/dist/index.cjs633.js +1 -1
  648. package/dist/index.cjs633.js.map +1 -1
  649. package/dist/index.cjs634.js +1 -1
  650. package/dist/index.cjs634.js.map +1 -1
  651. package/dist/index.cjs635.js +1 -1
  652. package/dist/index.cjs635.js.map +1 -1
  653. package/dist/index.cjs636.js +1 -1
  654. package/dist/index.cjs636.js.map +1 -1
  655. package/dist/index.cjs637.js +1 -1
  656. package/dist/index.cjs637.js.map +1 -1
  657. package/dist/index.cjs638.js +1 -1
  658. package/dist/index.cjs639.js +1 -1
  659. package/dist/index.cjs639.js.map +1 -1
  660. package/dist/index.cjs64.js +1 -1
  661. package/dist/index.cjs642.js +1 -1
  662. package/dist/index.cjs642.js.map +1 -1
  663. package/dist/index.cjs647.js +1 -1
  664. package/dist/index.cjs647.js.map +1 -1
  665. package/dist/index.cjs648.js +1 -1
  666. package/dist/index.cjs648.js.map +1 -1
  667. package/dist/index.cjs65.js +1 -1
  668. package/dist/index.cjs651.js +1 -1
  669. package/dist/index.cjs651.js.map +1 -1
  670. package/dist/index.cjs652.js +1 -1
  671. package/dist/index.cjs652.js.map +1 -1
  672. package/dist/index.cjs653.js +1 -1
  673. package/dist/index.cjs653.js.map +1 -1
  674. package/dist/index.cjs654.js +1 -1
  675. package/dist/index.cjs654.js.map +1 -1
  676. package/dist/index.cjs655.js.map +1 -1
  677. package/dist/index.cjs656.js.map +1 -1
  678. package/dist/index.cjs67.js +1 -1
  679. package/dist/index.cjs68.js +1 -1
  680. package/dist/index.cjs69.js +1 -1
  681. package/dist/index.cjs71.js +1 -1
  682. package/dist/index.cjs72.js +1 -1
  683. package/dist/index.cjs73.js +1 -1
  684. package/dist/index.cjs77.js +1 -1
  685. package/dist/index.cjs78.js +1 -1
  686. package/dist/index.cjs79.js +1 -1
  687. package/dist/index.cjs81.js +1 -1
  688. package/dist/index.cjs82.js +1 -1
  689. package/dist/index.cjs84.js +1 -1
  690. package/dist/index.cjs87.js +1 -1
  691. package/dist/index.cjs88.js +1 -1
  692. package/dist/index.cjs89.js +1 -1
  693. package/dist/index.cjs90.js +1 -1
  694. package/dist/index.cjs91.js +1 -1
  695. package/dist/index.cjs92.js +1 -1
  696. package/dist/index.cjs94.js +1 -1
  697. package/dist/index.cjs95.js +1 -1
  698. package/dist/index.cjs96.js +1 -1
  699. package/dist/index.cjs99.js +1 -1
  700. package/dist/index.es100.js +1 -1
  701. package/dist/index.es101.js +2 -2
  702. package/dist/index.es102.js +1 -1
  703. package/dist/index.es103.js +1 -1
  704. package/dist/index.es106.js +3 -3
  705. package/dist/index.es108.js +1 -1
  706. package/dist/index.es109.js +1 -1
  707. package/dist/index.es11.js +16 -16
  708. package/dist/index.es11.js.map +1 -1
  709. package/dist/index.es111.js +1 -1
  710. package/dist/index.es112.js +1 -1
  711. package/dist/index.es113.js +1 -1
  712. package/dist/index.es114.js +1 -1
  713. package/dist/index.es117.js +1 -1
  714. package/dist/index.es118.js +4 -4
  715. package/dist/index.es130.js +3 -3
  716. package/dist/index.es135.js +9 -9
  717. package/dist/index.es137.js +2 -2
  718. package/dist/index.es138.js +4 -4
  719. package/dist/index.es140.js +3 -3
  720. package/dist/index.es141.js +2 -2
  721. package/dist/index.es142.js +2 -2
  722. package/dist/index.es143.js +3 -3
  723. package/dist/index.es148.js +1 -1
  724. package/dist/index.es151.js +1 -1
  725. package/dist/index.es152.js +1 -1
  726. package/dist/index.es153.js +1 -1
  727. package/dist/index.es157.js +2 -2
  728. package/dist/index.es158.js +1 -1
  729. package/dist/index.es159.js +7 -7
  730. package/dist/index.es160.js +1 -1
  731. package/dist/index.es163.js +1 -1
  732. package/dist/index.es168.js +1 -1
  733. package/dist/index.es169.js +1 -1
  734. package/dist/index.es170.js +2 -2
  735. package/dist/index.es171.js +1 -1
  736. package/dist/index.es172.js +1 -1
  737. package/dist/index.es173.js +1 -1
  738. package/dist/index.es176.js +3 -3
  739. package/dist/index.es183.js +1 -1
  740. package/dist/index.es186.js +5 -5
  741. package/dist/index.es190.js +3 -3
  742. package/dist/index.es192.js +27 -10
  743. package/dist/index.es192.js.map +1 -1
  744. package/dist/index.es193.js +75 -6
  745. package/dist/index.es193.js.map +1 -1
  746. package/dist/index.es194.js +6 -46
  747. package/dist/index.es194.js.map +1 -1
  748. package/dist/index.es195.js +15 -9
  749. package/dist/index.es195.js.map +1 -1
  750. package/dist/index.es196.js +70 -11
  751. package/dist/index.es196.js.map +1 -1
  752. package/dist/index.es197.js +68 -4
  753. package/dist/index.es197.js.map +1 -1
  754. package/dist/index.es198.js +68 -177
  755. package/dist/index.es198.js.map +1 -1
  756. package/dist/index.es199.js +2 -22
  757. package/dist/index.es199.js.map +1 -1
  758. package/dist/index.es200.js +2 -25
  759. package/dist/index.es200.js.map +1 -1
  760. package/dist/index.es201.js +86 -377
  761. package/dist/index.es201.js.map +1 -1
  762. package/dist/index.es202.js +79 -510
  763. package/dist/index.es202.js.map +1 -1
  764. package/dist/index.es203.js +42 -4
  765. package/dist/index.es203.js.map +1 -1
  766. package/dist/index.es204.js +67 -10
  767. package/dist/index.es204.js.map +1 -1
  768. package/dist/index.es205.js +2 -12
  769. package/dist/index.es205.js.map +1 -1
  770. package/dist/index.es206.js +1632 -5
  771. package/dist/index.es206.js.map +1 -1
  772. package/dist/index.es207.js +32 -9
  773. package/dist/index.es207.js.map +1 -1
  774. package/dist/index.es208.js +260 -47
  775. package/dist/index.es208.js.map +1 -1
  776. package/dist/index.es209.js +33 -123
  777. package/dist/index.es209.js.map +1 -1
  778. package/dist/index.es210.js +10 -14
  779. package/dist/index.es210.js.map +1 -1
  780. package/dist/index.es211.js +3 -143
  781. package/dist/index.es211.js.map +1 -1
  782. package/dist/index.es212.js +21 -11
  783. package/dist/index.es212.js.map +1 -1
  784. package/dist/index.es213.js +10 -218
  785. package/dist/index.es213.js.map +1 -1
  786. package/dist/index.es214.js +4 -14
  787. package/dist/index.es214.js.map +1 -1
  788. package/dist/index.es215.js +43 -61
  789. package/dist/index.es215.js.map +1 -1
  790. package/dist/index.es216.js +10 -32
  791. package/dist/index.es216.js.map +1 -1
  792. package/dist/index.es217.js +11 -45
  793. package/dist/index.es217.js.map +1 -1
  794. package/dist/index.es218.js +4 -30
  795. package/dist/index.es218.js.map +1 -1
  796. package/dist/index.es219.js +180 -10
  797. package/dist/index.es219.js.map +1 -1
  798. package/dist/index.es220.js +22 -28
  799. package/dist/index.es220.js.map +1 -1
  800. package/dist/index.es221.js +27 -75
  801. package/dist/index.es221.js.map +1 -1
  802. package/dist/index.es222.js +381 -5
  803. package/dist/index.es222.js.map +1 -1
  804. package/dist/index.es223.js +515 -15
  805. package/dist/index.es223.js.map +1 -1
  806. package/dist/index.es224.js +3 -70
  807. package/dist/index.es224.js.map +1 -1
  808. package/dist/index.es225.js +11 -68
  809. package/dist/index.es225.js.map +1 -1
  810. package/dist/index.es226.js +11 -70
  811. package/dist/index.es226.js.map +1 -1
  812. package/dist/index.es227.js +7 -2
  813. package/dist/index.es227.js.map +1 -1
  814. package/dist/index.es228.js +12 -2
  815. package/dist/index.es228.js.map +1 -1
  816. package/dist/index.es229.js +50 -88
  817. package/dist/index.es229.js.map +1 -1
  818. package/dist/index.es230.js +120 -81
  819. package/dist/index.es230.js.map +1 -1
  820. package/dist/index.es231.js +13 -40
  821. package/dist/index.es231.js.map +1 -1
  822. package/dist/index.es232.js +135 -59
  823. package/dist/index.es232.js.map +1 -1
  824. package/dist/index.es233.js +11 -2
  825. package/dist/index.es233.js.map +1 -1
  826. package/dist/index.es234.js +209 -1624
  827. package/dist/index.es234.js.map +1 -1
  828. package/dist/index.es235.js +14 -35
  829. package/dist/index.es235.js.map +1 -1
  830. package/dist/index.es236.js +55 -257
  831. package/dist/index.es236.js.map +1 -1
  832. package/dist/index.es237.js +32 -34
  833. package/dist/index.es237.js.map +1 -1
  834. package/dist/index.es238.js +45 -10
  835. package/dist/index.es238.js.map +1 -1
  836. package/dist/index.es239.js +29 -3
  837. package/dist/index.es239.js.map +1 -1
  838. package/dist/index.es240.js +10 -21
  839. package/dist/index.es240.js.map +1 -1
  840. package/dist/index.es241.js +14 -5
  841. package/dist/index.es241.js.map +1 -1
  842. package/dist/index.es242.js +17 -5
  843. package/dist/index.es242.js.map +1 -1
  844. package/dist/index.es243.js +20 -22
  845. package/dist/index.es243.js.map +1 -1
  846. package/dist/index.es244.js +5 -14
  847. package/dist/index.es244.js.map +1 -1
  848. package/dist/index.es245.js +5 -17
  849. package/dist/index.es245.js.map +1 -1
  850. package/dist/index.es246.js +24 -10
  851. package/dist/index.es246.js.map +1 -1
  852. package/dist/index.es247.js +9 -10
  853. package/dist/index.es247.js.map +1 -1
  854. package/dist/index.es248.js +12 -4
  855. package/dist/index.es248.js.map +1 -1
  856. package/dist/index.es249.js +4 -22
  857. package/dist/index.es249.js.map +1 -1
  858. package/dist/index.es250.js +22 -25
  859. package/dist/index.es250.js.map +1 -1
  860. package/dist/index.es251.js +24 -22
  861. package/dist/index.es251.js.map +1 -1
  862. package/dist/index.es255.js +1 -1
  863. package/dist/index.es262.js +1 -1
  864. package/dist/index.es263.js +1 -1
  865. package/dist/index.es264.js +1 -1
  866. package/dist/index.es265.js +1 -1
  867. package/dist/index.es266.js +1 -1
  868. package/dist/index.es267.js +1 -1
  869. package/dist/index.es268.js +1 -1
  870. package/dist/index.es269.js +1 -1
  871. package/dist/index.es270.js +1 -1
  872. package/dist/index.es273.js +1 -1
  873. package/dist/index.es274.js +1 -1
  874. package/dist/index.es276.js +3 -3
  875. package/dist/index.es277.js +1 -1
  876. package/dist/index.es278.js +2 -2
  877. package/dist/index.es279.js +1 -1
  878. package/dist/index.es284.js +1 -1
  879. package/dist/index.es285.js +1 -1
  880. package/dist/index.es286.js +1 -1
  881. package/dist/index.es287.js +1 -1
  882. package/dist/index.es290.js +2 -2
  883. package/dist/index.es291.js +2 -2
  884. package/dist/index.es292.js +1 -1
  885. package/dist/index.es296.js +2 -2
  886. package/dist/index.es299.js +1 -1
  887. package/dist/index.es303.js +1 -1
  888. package/dist/index.es306.js +1 -1
  889. package/dist/index.es314.js +1 -1
  890. package/dist/index.es315.js +1 -1
  891. package/dist/index.es316.js +1 -1
  892. package/dist/index.es317.js +2 -2
  893. package/dist/index.es318.js +1 -1
  894. package/dist/index.es319.js +1 -1
  895. package/dist/index.es320.js +1 -1
  896. package/dist/index.es322.js +2 -2
  897. package/dist/index.es323.js +2 -2
  898. package/dist/index.es324.js +1 -1
  899. package/dist/index.es325.js +1 -1
  900. package/dist/index.es326.js +1 -1
  901. package/dist/index.es327.js +1 -1
  902. package/dist/index.es328.js +2 -2
  903. package/dist/index.es329.js +2 -2
  904. package/dist/index.es330.js +1 -1
  905. package/dist/index.es333.js +2 -2
  906. package/dist/index.es334.js +2 -2
  907. package/dist/index.es336.js +2 -2
  908. package/dist/index.es337.js +1 -1
  909. package/dist/index.es338.js +2 -2
  910. package/dist/index.es339.js +1 -1
  911. package/dist/index.es340.js +2 -2
  912. package/dist/index.es341.js +1 -1
  913. package/dist/index.es342.js +1 -1
  914. package/dist/index.es343.js +1 -1
  915. package/dist/index.es349.js +1 -1
  916. package/dist/index.es350.js +2 -2
  917. package/dist/index.es351.js +1 -1
  918. package/dist/index.es352.js +1 -1
  919. package/dist/index.es353.js +1 -1
  920. package/dist/index.es357.js +1 -1
  921. package/dist/index.es358.js +1 -1
  922. package/dist/index.es359.js +1 -1
  923. package/dist/index.es360.js +1 -1
  924. package/dist/index.es361.js +2 -2
  925. package/dist/index.es362.js +1 -1
  926. package/dist/index.es363.js +5 -5
  927. package/dist/index.es364.js +2 -2
  928. package/dist/index.es365.js +6 -6
  929. package/dist/index.es366.js +2 -2
  930. package/dist/index.es369.js +3 -27
  931. package/dist/index.es369.js.map +1 -1
  932. package/dist/index.es370.js +8 -29
  933. package/dist/index.es370.js.map +1 -1
  934. package/dist/index.es371.js +7 -5
  935. package/dist/index.es371.js.map +1 -1
  936. package/dist/index.es372.js +260 -3
  937. package/dist/index.es372.js.map +1 -1
  938. package/dist/index.es373.js +85 -10
  939. package/dist/index.es373.js.map +1 -1
  940. package/dist/index.es374.js +339 -9
  941. package/dist/index.es374.js.map +1 -1
  942. package/dist/index.es375.js +12 -263
  943. package/dist/index.es375.js.map +1 -1
  944. package/dist/index.es376.js +46 -84
  945. package/dist/index.es376.js.map +1 -1
  946. package/dist/index.es377.js +4 -339
  947. package/dist/index.es377.js.map +1 -1
  948. package/dist/index.es378.js +4 -12
  949. package/dist/index.es378.js.map +1 -1
  950. package/dist/index.es379.js +4 -47
  951. package/dist/index.es379.js.map +1 -1
  952. package/dist/index.es381.js +2 -2
  953. package/dist/index.es382.js +2 -2
  954. package/dist/index.es383.js +43 -2
  955. package/dist/index.es383.js.map +1 -1
  956. package/dist/index.es384.js +13 -2
  957. package/dist/index.es384.js.map +1 -1
  958. package/dist/index.es385.js +349 -2
  959. package/dist/index.es385.js.map +1 -1
  960. package/dist/index.es386.js +220 -39
  961. package/dist/index.es386.js.map +1 -1
  962. package/dist/index.es387.js +36 -10
  963. package/dist/index.es387.js.map +1 -1
  964. package/dist/index.es388.js +7 -348
  965. package/dist/index.es388.js.map +1 -1
  966. package/dist/index.es389.js +38 -221
  967. package/dist/index.es389.js.map +1 -1
  968. package/dist/index.es390.js +16 -36
  969. package/dist/index.es390.js.map +1 -1
  970. package/dist/index.es391.js +18 -6
  971. package/dist/index.es391.js.map +1 -1
  972. package/dist/index.es392.js +8 -39
  973. package/dist/index.es392.js.map +1 -1
  974. package/dist/index.es393.js +14 -16
  975. package/dist/index.es393.js.map +1 -1
  976. package/dist/index.es394.js +20 -16
  977. package/dist/index.es394.js.map +1 -1
  978. package/dist/index.es395.js +131 -8
  979. package/dist/index.es395.js.map +1 -1
  980. package/dist/index.es396.js +18 -15
  981. package/dist/index.es396.js.map +1 -1
  982. package/dist/index.es397.js +18 -23
  983. package/dist/index.es397.js.map +1 -1
  984. package/dist/index.es398.js +15 -129
  985. package/dist/index.es398.js.map +1 -1
  986. package/dist/index.es399.js +33 -18
  987. package/dist/index.es399.js.map +1 -1
  988. package/dist/index.es400.js +217 -18
  989. package/dist/index.es400.js.map +1 -1
  990. package/dist/index.es401.js +40 -19
  991. package/dist/index.es401.js.map +1 -1
  992. package/dist/index.es402.js +17 -34
  993. package/dist/index.es402.js.map +1 -1
  994. package/dist/index.es403.js +25 -215
  995. package/dist/index.es403.js.map +1 -1
  996. package/dist/index.es404.js +27 -38
  997. package/dist/index.es404.js.map +1 -1
  998. package/dist/index.es405.js +5 -18
  999. package/dist/index.es405.js.map +1 -1
  1000. package/dist/index.es406.js +9 -9
  1001. package/dist/index.es406.js.map +1 -1
  1002. package/dist/index.es407.js +1 -1
  1003. package/dist/index.es407.js.map +1 -1
  1004. package/dist/index.es408.js +10 -29
  1005. package/dist/index.es408.js.map +1 -1
  1006. package/dist/index.es409.js +29 -5
  1007. package/dist/index.es409.js.map +1 -1
  1008. package/dist/index.es410.js +5 -11
  1009. package/dist/index.es410.js.map +1 -1
  1010. package/dist/index.es411.js +11 -10
  1011. package/dist/index.es411.js.map +1 -1
  1012. package/dist/index.es412.js +9 -4
  1013. package/dist/index.es412.js.map +1 -1
  1014. package/dist/index.es413.js +5 -12
  1015. package/dist/index.es413.js.map +1 -1
  1016. package/dist/index.es414.js +12 -10
  1017. package/dist/index.es414.js.map +1 -1
  1018. package/dist/index.es415.js +8 -5
  1019. package/dist/index.es415.js.map +1 -1
  1020. package/dist/index.es416.js +5 -3
  1021. package/dist/index.es416.js.map +1 -1
  1022. package/dist/index.es417.js +4 -24
  1023. package/dist/index.es417.js.map +1 -1
  1024. package/dist/index.es418.js +3 -110
  1025. package/dist/index.es418.js.map +1 -1
  1026. package/dist/index.es419.js +3 -16
  1027. package/dist/index.es419.js.map +1 -1
  1028. package/dist/index.es420.js +8 -7
  1029. package/dist/index.es420.js.map +1 -1
  1030. package/dist/index.es421.js +21 -4
  1031. package/dist/index.es421.js.map +1 -1
  1032. package/dist/index.es422.js +22 -4
  1033. package/dist/index.es422.js.map +1 -1
  1034. package/dist/index.es423.js +14 -3
  1035. package/dist/index.es423.js.map +1 -1
  1036. package/dist/index.es424.js +17 -3
  1037. package/dist/index.es424.js.map +1 -1
  1038. package/dist/index.es425.js +5 -8
  1039. package/dist/index.es425.js.map +1 -1
  1040. package/dist/index.es426.js +8 -21
  1041. package/dist/index.es426.js.map +1 -1
  1042. package/dist/index.es427.js +6 -21
  1043. package/dist/index.es427.js.map +1 -1
  1044. package/dist/index.es428.js +19 -11
  1045. package/dist/index.es428.js.map +1 -1
  1046. package/dist/index.es429.js +8 -15
  1047. package/dist/index.es429.js.map +1 -1
  1048. package/dist/index.es430.js +9 -6
  1049. package/dist/index.es430.js.map +1 -1
  1050. package/dist/index.es431.js +4 -9
  1051. package/dist/index.es431.js.map +1 -1
  1052. package/dist/index.es432.js +10 -6
  1053. package/dist/index.es432.js.map +1 -1
  1054. package/dist/index.es433.js +8 -21
  1055. package/dist/index.es433.js.map +1 -1
  1056. package/dist/index.es434.js +22 -9
  1057. package/dist/index.es434.js.map +1 -1
  1058. package/dist/index.es435.js +12 -9
  1059. package/dist/index.es435.js.map +1 -1
  1060. package/dist/index.es436.js +19 -4
  1061. package/dist/index.es436.js.map +1 -1
  1062. package/dist/index.es437.js +4 -11
  1063. package/dist/index.es437.js.map +1 -1
  1064. package/dist/index.es438.js +17 -8
  1065. package/dist/index.es438.js.map +1 -1
  1066. package/dist/index.es439.js +11 -22
  1067. package/dist/index.es439.js.map +1 -1
  1068. package/dist/index.es440.js +3 -11
  1069. package/dist/index.es440.js.map +1 -1
  1070. package/dist/index.es441.js +4 -18
  1071. package/dist/index.es441.js.map +1 -1
  1072. package/dist/index.es442.js +6 -4
  1073. package/dist/index.es442.js.map +1 -1
  1074. package/dist/index.es443.js +2 -18
  1075. package/dist/index.es443.js.map +1 -1
  1076. package/dist/index.es444.js +321 -11
  1077. package/dist/index.es444.js.map +1 -1
  1078. package/dist/index.es445.js +2 -4
  1079. package/dist/index.es445.js.map +1 -1
  1080. package/dist/index.es446.js +2 -5
  1081. package/dist/index.es446.js.map +1 -1
  1082. package/dist/index.es448.js +13 -320
  1083. package/dist/index.es448.js.map +1 -1
  1084. package/dist/index.es449.js +2 -2
  1085. package/dist/index.es450.js +2 -2
  1086. package/dist/index.es451.js +48 -2
  1087. package/dist/index.es451.js.map +1 -1
  1088. package/dist/index.es452.js +37 -14
  1089. package/dist/index.es452.js.map +1 -1
  1090. package/dist/index.es453.js +43 -2
  1091. package/dist/index.es453.js.map +1 -1
  1092. package/dist/index.es455.js +15 -47
  1093. package/dist/index.es455.js.map +1 -1
  1094. package/dist/index.es456.js +2 -38
  1095. package/dist/index.es456.js.map +1 -1
  1096. package/dist/index.es457.js +15 -42
  1097. package/dist/index.es457.js.map +1 -1
  1098. package/dist/index.es458.js +16 -2
  1099. package/dist/index.es458.js.map +1 -1
  1100. package/dist/index.es459.js +16 -14
  1101. package/dist/index.es459.js.map +1 -1
  1102. package/dist/index.es460.js +20 -2
  1103. package/dist/index.es460.js.map +1 -1
  1104. package/dist/index.es461.js +2 -16
  1105. package/dist/index.es461.js.map +1 -1
  1106. package/dist/index.es462.js +8 -16
  1107. package/dist/index.es462.js.map +1 -1
  1108. package/dist/index.es463.js +4 -18
  1109. package/dist/index.es463.js.map +1 -1
  1110. package/dist/index.es464.js +4 -20
  1111. package/dist/index.es464.js.map +1 -1
  1112. package/dist/index.es465.js +161 -2
  1113. package/dist/index.es465.js.map +1 -1
  1114. package/dist/index.es466.js +5 -6
  1115. package/dist/index.es466.js.map +1 -1
  1116. package/dist/index.es467.js +4 -227
  1117. package/dist/index.es467.js.map +1 -1
  1118. package/dist/index.es468.js +88 -2
  1119. package/dist/index.es468.js.map +1 -1
  1120. package/dist/index.es469.js +183 -345
  1121. package/dist/index.es469.js.map +1 -1
  1122. package/dist/index.es470.js +88 -2
  1123. package/dist/index.es470.js.map +1 -1
  1124. package/dist/index.es471.js +12 -37
  1125. package/dist/index.es471.js.map +1 -1
  1126. package/dist/index.es472.js +317 -49
  1127. package/dist/index.es472.js.map +1 -1
  1128. package/dist/index.es473.js +223 -60
  1129. package/dist/index.es473.js.map +1 -1
  1130. package/dist/index.es474.js +2 -61
  1131. package/dist/index.es474.js.map +1 -1
  1132. package/dist/index.es475.js +347 -64
  1133. package/dist/index.es475.js.map +1 -1
  1134. package/dist/index.es476.js +4 -52
  1135. package/dist/index.es476.js.map +1 -1
  1136. package/dist/index.es477.js +38 -89
  1137. package/dist/index.es477.js.map +1 -1
  1138. package/dist/index.es478.js +51 -2
  1139. package/dist/index.es478.js.map +1 -1
  1140. package/dist/index.es479.js +62 -2
  1141. package/dist/index.es479.js.map +1 -1
  1142. package/dist/index.es480.js +61 -2
  1143. package/dist/index.es480.js.map +1 -1
  1144. package/dist/index.es481.js +73 -2
  1145. package/dist/index.es481.js.map +1 -1
  1146. package/dist/index.es482.js +52 -4
  1147. package/dist/index.es482.js.map +1 -1
  1148. package/dist/index.es483.js +89 -2
  1149. package/dist/index.es483.js.map +1 -1
  1150. package/dist/index.es484.js +2 -2
  1151. package/dist/index.es485.js +2 -8
  1152. package/dist/index.es485.js.map +1 -1
  1153. package/dist/index.es486.js +2 -4
  1154. package/dist/index.es486.js.map +1 -1
  1155. package/dist/index.es487.js +2 -4
  1156. package/dist/index.es487.js.map +1 -1
  1157. package/dist/index.es488.js +2 -161
  1158. package/dist/index.es488.js.map +1 -1
  1159. package/dist/index.es489.js +2 -5
  1160. package/dist/index.es489.js.map +1 -1
  1161. package/dist/index.es490.js +2 -2
  1162. package/dist/index.es491.js +5 -88
  1163. package/dist/index.es491.js.map +1 -1
  1164. package/dist/index.es492.js +3 -194
  1165. package/dist/index.es492.js.map +1 -1
  1166. package/dist/index.es493.js +22 -86
  1167. package/dist/index.es493.js.map +1 -1
  1168. package/dist/index.es494.js +110 -13
  1169. package/dist/index.es494.js.map +1 -1
  1170. package/dist/index.es495.js +14 -317
  1171. package/dist/index.es495.js.map +1 -1
  1172. package/dist/index.es496.js.map +1 -1
  1173. package/dist/index.es497.js +1 -1
  1174. package/dist/index.es497.js.map +1 -1
  1175. package/dist/index.es498.js +69 -72
  1176. package/dist/index.es498.js.map +1 -1
  1177. package/dist/index.es499.js.map +1 -1
  1178. package/dist/index.es500.js +1 -1
  1179. package/dist/index.es500.js.map +1 -1
  1180. package/dist/index.es501.js +72 -69
  1181. package/dist/index.es501.js.map +1 -1
  1182. package/dist/index.es503.js +3 -69
  1183. package/dist/index.es503.js.map +1 -1
  1184. package/dist/index.es504.js +154 -7
  1185. package/dist/index.es504.js.map +1 -1
  1186. package/dist/index.es505.js +103 -13
  1187. package/dist/index.es505.js.map +1 -1
  1188. package/dist/index.es506.js +15 -58
  1189. package/dist/index.es506.js.map +1 -1
  1190. package/dist/index.es507.js +6 -63
  1191. package/dist/index.es507.js.map +1 -1
  1192. package/dist/index.es508.js +5 -155
  1193. package/dist/index.es508.js.map +1 -1
  1194. package/dist/index.es509.js +2 -104
  1195. package/dist/index.es509.js.map +1 -1
  1196. package/dist/index.es510.js +2 -17
  1197. package/dist/index.es510.js.map +1 -1
  1198. package/dist/index.es511.js +22 -3
  1199. package/dist/index.es511.js.map +1 -1
  1200. package/dist/index.es512.js +2 -6
  1201. package/dist/index.es512.js.map +1 -1
  1202. package/dist/index.es513.js +11 -7
  1203. package/dist/index.es513.js.map +1 -1
  1204. package/dist/index.es514.js +34 -2
  1205. package/dist/index.es514.js.map +1 -1
  1206. package/dist/index.es515.js +21 -2
  1207. package/dist/index.es515.js.map +1 -1
  1208. package/dist/index.es516.js +10 -20
  1209. package/dist/index.es516.js.map +1 -1
  1210. package/dist/index.es518.js +4 -4
  1211. package/dist/index.es519.js +4 -4
  1212. package/dist/index.es520.js +2 -2
  1213. package/dist/index.es521.js +9 -9
  1214. package/dist/index.es522.js +2 -2
  1215. package/dist/index.es523.js +2 -2
  1216. package/dist/index.es524.js +3 -3
  1217. package/dist/index.es525.js +2 -2
  1218. package/dist/index.es526.js +2 -2
  1219. package/dist/index.es527.js +2 -2
  1220. package/dist/index.es528.js +2 -2
  1221. package/dist/index.es529.js +2 -2
  1222. package/dist/index.es530.js +3 -3
  1223. package/dist/index.es531.js +2 -2
  1224. package/dist/index.es532.js +2 -2
  1225. package/dist/index.es533.js +4 -4
  1226. package/dist/index.es535.js +2 -2
  1227. package/dist/index.es537.js +2 -2
  1228. package/dist/index.es538.js +2 -2
  1229. package/dist/index.es539.js +2 -2
  1230. package/dist/index.es540.js +2 -2
  1231. package/dist/index.es541.js +2 -2
  1232. package/dist/index.es542.js +2 -2
  1233. package/dist/index.es543.js +2 -2
  1234. package/dist/index.es544.js +2 -2
  1235. package/dist/index.es545.js +2 -2
  1236. package/dist/index.es546.js +2 -2
  1237. package/dist/index.es547.js +2 -2
  1238. package/dist/index.es548.js +2 -2
  1239. package/dist/index.es549.js +14 -2
  1240. package/dist/index.es549.js.map +1 -1
  1241. package/dist/index.es550.js +9 -9
  1242. package/dist/index.es550.js.map +1 -1
  1243. package/dist/index.es551.js +10 -32
  1244. package/dist/index.es551.js.map +1 -1
  1245. package/dist/index.es552.js +2 -21
  1246. package/dist/index.es552.js.map +1 -1
  1247. package/dist/index.es553.js +2 -12
  1248. package/dist/index.es553.js.map +1 -1
  1249. package/dist/index.es555.js +2 -14
  1250. package/dist/index.es555.js.map +1 -1
  1251. package/dist/index.es556.js +108 -11
  1252. package/dist/index.es556.js.map +1 -1
  1253. package/dist/index.es557.js +8 -14
  1254. package/dist/index.es557.js.map +1 -1
  1255. package/dist/index.es558.js +8 -4
  1256. package/dist/index.es558.js.map +1 -1
  1257. package/dist/index.es559.js +50 -8
  1258. package/dist/index.es559.js.map +1 -1
  1259. package/dist/index.es560.js +4 -8
  1260. package/dist/index.es560.js.map +1 -1
  1261. package/dist/index.es561.js +4 -50
  1262. package/dist/index.es561.js.map +1 -1
  1263. package/dist/index.es562.js +2 -2
  1264. package/dist/index.es563.js +146 -3
  1265. package/dist/index.es563.js.map +1 -1
  1266. package/dist/index.es564.js +2 -2
  1267. package/dist/index.es565.js +69 -145
  1268. package/dist/index.es565.js.map +1 -1
  1269. package/dist/index.es566.js +9 -2
  1270. package/dist/index.es566.js.map +1 -1
  1271. package/dist/index.es567.js +14 -2
  1272. package/dist/index.es567.js.map +1 -1
  1273. package/dist/index.es568.js +60 -2
  1274. package/dist/index.es568.js.map +1 -1
  1275. package/dist/index.es569.js +60 -104
  1276. package/dist/index.es569.js.map +1 -1
  1277. package/dist/index.es570.js +33 -47
  1278. package/dist/index.es570.js.map +1 -1
  1279. package/dist/index.es571.js.map +1 -1
  1280. package/dist/index.es572.js +41 -41
  1281. package/dist/index.es572.js.map +1 -1
  1282. package/dist/index.es573.js +47 -33
  1283. package/dist/index.es573.js.map +1 -1
  1284. package/dist/index.es574.js.map +1 -1
  1285. package/dist/index.es575.js +41 -41
  1286. package/dist/index.es575.js.map +1 -1
  1287. package/dist/index.es576.js +1 -1
  1288. package/dist/index.es580.js +2 -4
  1289. package/dist/index.es580.js.map +1 -1
  1290. package/dist/index.es581.js +2 -23
  1291. package/dist/index.es581.js.map +1 -1
  1292. package/dist/index.es582.js +2 -2
  1293. package/dist/index.es583.js +2 -2
  1294. package/dist/index.es584.js +14 -2
  1295. package/dist/index.es584.js.map +1 -1
  1296. package/dist/index.es585.js +2 -2
  1297. package/dist/index.es586.js +2 -2
  1298. package/dist/index.es587.js +2 -2
  1299. package/dist/index.es589.js +2 -2
  1300. package/dist/index.es59.js +1 -1
  1301. package/dist/index.es590.js +2 -2
  1302. package/dist/index.es591.js +2 -2
  1303. package/dist/index.es592.js +2 -2
  1304. package/dist/index.es593.js +2 -2
  1305. package/dist/index.es594.js +2 -151
  1306. package/dist/index.es594.js.map +1 -1
  1307. package/dist/index.es595.js +2 -2
  1308. package/dist/index.es596.js +2 -6
  1309. package/dist/index.es596.js.map +1 -1
  1310. package/dist/index.es597.js +151 -2
  1311. package/dist/index.es597.js.map +1 -1
  1312. package/dist/index.es598.js +2 -148
  1313. package/dist/index.es598.js.map +1 -1
  1314. package/dist/index.es599.js +6 -2
  1315. package/dist/index.es599.js.map +1 -1
  1316. package/dist/index.es60.js +1 -1
  1317. package/dist/index.es600.js +2 -138
  1318. package/dist/index.es600.js.map +1 -1
  1319. package/dist/index.es602.js +225 -2
  1320. package/dist/index.es602.js.map +1 -1
  1321. package/dist/index.es603.js +88 -179
  1322. package/dist/index.es603.js.map +1 -1
  1323. package/dist/index.es604.js +43 -48
  1324. package/dist/index.es604.js.map +1 -1
  1325. package/dist/index.es605.js +73 -68
  1326. package/dist/index.es605.js.map +1 -1
  1327. package/dist/index.es606.js +46 -51
  1328. package/dist/index.es606.js.map +1 -1
  1329. package/dist/index.es607.js +49 -43
  1330. package/dist/index.es607.js.map +1 -1
  1331. package/dist/index.es608.js +2 -135
  1332. package/dist/index.es608.js.map +1 -1
  1333. package/dist/index.es609.js +2 -2
  1334. package/dist/index.es61.js +2 -2
  1335. package/dist/index.es610.js +2 -2
  1336. package/dist/index.es613.js +2 -2
  1337. package/dist/index.es614.js +2 -2
  1338. package/dist/index.es615.js +2 -2
  1339. package/dist/index.es617.js +148 -2
  1340. package/dist/index.es617.js.map +1 -1
  1341. package/dist/index.es619.js +2 -2
  1342. package/dist/index.es620.js +2 -131
  1343. package/dist/index.es620.js.map +1 -1
  1344. package/dist/index.es621.js +45 -42
  1345. package/dist/index.es621.js.map +1 -1
  1346. package/dist/index.es622.js +128 -2
  1347. package/dist/index.es622.js.map +1 -1
  1348. package/dist/index.es623.js +2 -14
  1349. package/dist/index.es623.js.map +1 -1
  1350. package/dist/index.es624.js +138 -2
  1351. package/dist/index.es624.js.map +1 -1
  1352. package/dist/index.es625.js +2 -2
  1353. package/dist/index.es626.js +2 -2
  1354. package/dist/index.es627.js +2 -2
  1355. package/dist/index.es628.js +87 -4
  1356. package/dist/index.es628.js.map +1 -1
  1357. package/dist/index.es629.js +108 -2
  1358. package/dist/index.es629.js.map +1 -1
  1359. package/dist/index.es63.js +2 -2
  1360. package/dist/index.es630.js +4 -87
  1361. package/dist/index.es630.js.map +1 -1
  1362. package/dist/index.es631.js +2 -108
  1363. package/dist/index.es631.js.map +1 -1
  1364. package/dist/index.es632.js +4 -2
  1365. package/dist/index.es632.js.map +1 -1
  1366. package/dist/index.es633.js +23 -2
  1367. package/dist/index.es633.js.map +1 -1
  1368. package/dist/index.es634.js +2 -23
  1369. package/dist/index.es634.js.map +1 -1
  1370. package/dist/index.es635.js +2 -13
  1371. package/dist/index.es635.js.map +1 -1
  1372. package/dist/index.es636.js +2 -28
  1373. package/dist/index.es636.js.map +1 -1
  1374. package/dist/index.es637.js +2 -5
  1375. package/dist/index.es637.js.map +1 -1
  1376. package/dist/index.es638.js +2 -2
  1377. package/dist/index.es639.js +2 -30
  1378. package/dist/index.es639.js.map +1 -1
  1379. package/dist/index.es64.js +2 -2
  1380. package/dist/index.es640.js +2 -2
  1381. package/dist/index.es642.js +30 -2
  1382. package/dist/index.es642.js.map +1 -1
  1383. package/dist/index.es643.js +2 -2
  1384. package/dist/index.es644.js +2 -2
  1385. package/dist/index.es645.js +2 -2
  1386. package/dist/index.es646.js +2 -2
  1387. package/dist/index.es647.js +45 -2
  1388. package/dist/index.es647.js.map +1 -1
  1389. package/dist/index.es648.js +45 -4
  1390. package/dist/index.es648.js.map +1 -1
  1391. package/dist/index.es649.js +2 -2
  1392. package/dist/index.es65.js +2 -2
  1393. package/dist/index.es650.js +2 -2
  1394. package/dist/index.es651.js +22 -44
  1395. package/dist/index.es651.js.map +1 -1
  1396. package/dist/index.es652.js +15 -45
  1397. package/dist/index.es652.js.map +1 -1
  1398. package/dist/index.es653.js +28 -2
  1399. package/dist/index.es653.js.map +1 -1
  1400. package/dist/index.es654.js +5 -2
  1401. package/dist/index.es654.js.map +1 -1
  1402. package/dist/index.es655.js.map +1 -1
  1403. package/dist/index.es656.js.map +1 -1
  1404. package/dist/index.es67.js +1 -1
  1405. package/dist/index.es68.js +2 -2
  1406. package/dist/index.es69.js +2 -2
  1407. package/dist/index.es71.js +1 -1
  1408. package/dist/index.es72.js +1 -1
  1409. package/dist/index.es73.js +1 -1
  1410. package/dist/index.es77.js +2 -2
  1411. package/dist/index.es78.js +3 -3
  1412. package/dist/index.es79.js +1 -1
  1413. package/dist/index.es81.js +1 -1
  1414. package/dist/index.es82.js +1 -1
  1415. package/dist/index.es84.js +1 -1
  1416. package/dist/index.es87.js +1 -1
  1417. package/dist/index.es88.js +1 -1
  1418. package/dist/index.es89.js +14 -14
  1419. package/dist/index.es90.js +1 -1
  1420. package/dist/index.es91.js +1 -1
  1421. package/dist/index.es92.js +1 -1
  1422. package/dist/index.es94.js +1 -1
  1423. package/dist/index.es95.js +1 -1
  1424. package/dist/index.es96.js +1 -1
  1425. package/dist/index.es99.js +1 -1
  1426. package/package.json +3 -3
  1427. package/src/components/FacetStateContextProvider.js +34 -4
  1428. package/types/components/FacetStateContextProvider.js.flow +34 -4
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs122.js"),n=require("react"),g=require("./index.cjs124.js"),R=require("./index.cjs125.js"),v=require("./index.cjs123.js"),w=require("./index.cjs126.js"),_=require("./index.cjs238.js"),B=require("./index.cjs237.js"),D=require("./index.cjs127.js"),q="Checkbox",[H,I]=R.createContextScope(q),[O,j]=H(q),y=n.forwardRef((e,b)=>{const{__scopeCheckbox:o,name:l,checked:p,defaultChecked:f,required:d,disabled:c,value:s="on",onCheckedChange:$,...m}=e,[r,h]=n.useState(null),P=g.useComposedRefs(b,t=>h(t)),k=n.useRef(!1),x=r?!!r.closest("form"):!0,[a=!1,C]=w.useControllableState({prop:p,defaultProp:f,onChange:$}),S=n.useRef(a);return n.useEffect(()=>{const t=r==null?void 0:r.form;if(t){const u=()=>C(S.current);return t.addEventListener("reset",u),()=>t.removeEventListener("reset",u)}},[r,C]),n.createElement(O,{scope:o,state:a,disabled:c},n.createElement(D.Primitive.button,E({type:"button",role:"checkbox","aria-checked":i(a)?"mixed":a,"aria-required":d,"data-state":L(a),"data-disabled":c?"":void 0,disabled:c,value:s},m,{ref:P,onKeyDown:v.composeEventHandlers(e.onKeyDown,t=>{t.key==="Enter"&&t.preventDefault()}),onClick:v.composeEventHandlers(e.onClick,t=>{C(u=>i(u)?!0:!u),x&&(k.current=t.isPropagationStopped(),k.current||t.stopPropagation())})})),x&&n.createElement(K,{control:r,bubbles:!k.current,name:l,value:s,checked:a,required:d,disabled:c,style:{transform:"translateX(-100%)"}}))}),K=e=>{const{control:b,checked:o,bubbles:l=!0,...p}=e,f=n.useRef(null),d=_.usePrevious(o),c=B.useSize(b);return n.useEffect(()=>{const s=f.current,$=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor($,"checked").set;if(d!==o&&r){const h=new Event("click",{bubbles:l});s.indeterminate=i(o),r.call(s,i(o)?!1:o),s.dispatchEvent(h)}},[d,o,l]),n.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:i(o)?!1:o},p,{tabIndex:-1,ref:f,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function i(e){return e==="indeterminate"}function L(e){return i(e)?"indeterminate":e?"checked":"unchecked"}const M=y;exports.Checkbox=y;exports.Root=M;exports.createCheckboxScope=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs122.js"),n=require("react"),g=require("./index.cjs124.js"),R=require("./index.cjs125.js"),v=require("./index.cjs123.js"),w=require("./index.cjs126.js"),_=require("./index.cjs210.js"),B=require("./index.cjs209.js"),D=require("./index.cjs127.js"),q="Checkbox",[H,I]=R.createContextScope(q),[O,j]=H(q),y=n.forwardRef((e,b)=>{const{__scopeCheckbox:o,name:l,checked:p,defaultChecked:f,required:d,disabled:c,value:s="on",onCheckedChange:$,...m}=e,[r,h]=n.useState(null),P=g.useComposedRefs(b,t=>h(t)),k=n.useRef(!1),x=r?!!r.closest("form"):!0,[a=!1,C]=w.useControllableState({prop:p,defaultProp:f,onChange:$}),S=n.useRef(a);return n.useEffect(()=>{const t=r==null?void 0:r.form;if(t){const u=()=>C(S.current);return t.addEventListener("reset",u),()=>t.removeEventListener("reset",u)}},[r,C]),n.createElement(O,{scope:o,state:a,disabled:c},n.createElement(D.Primitive.button,E({type:"button",role:"checkbox","aria-checked":i(a)?"mixed":a,"aria-required":d,"data-state":L(a),"data-disabled":c?"":void 0,disabled:c,value:s},m,{ref:P,onKeyDown:v.composeEventHandlers(e.onKeyDown,t=>{t.key==="Enter"&&t.preventDefault()}),onClick:v.composeEventHandlers(e.onClick,t=>{C(u=>i(u)?!0:!u),x&&(k.current=t.isPropagationStopped(),k.current||t.stopPropagation())})})),x&&n.createElement(K,{control:r,bubbles:!k.current,name:l,value:s,checked:a,required:d,disabled:c,style:{transform:"translateX(-100%)"}}))}),K=e=>{const{control:b,checked:o,bubbles:l=!0,...p}=e,f=n.useRef(null),d=_.usePrevious(o),c=B.useSize(b);return n.useEffect(()=>{const s=f.current,$=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor($,"checked").set;if(d!==o&&r){const h=new Event("click",{bubbles:l});s.indeterminate=i(o),r.call(s,i(o)?!1:o),s.dispatchEvent(h)}},[d,o,l]),n.createElement("input",E({type:"checkbox","aria-hidden":!0,defaultChecked:i(o)?!1:o},p,{tabIndex:-1,ref:f,style:{...e.style,...c,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function i(e){return e==="indeterminate"}function L(e){return i(e)?"indeterminate":e?"checked":"unchecked"}const M=y;exports.Checkbox=y;exports.Root=M;exports.createCheckboxScope=I;
2
2
  //# sourceMappingURL=index.cjs101.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("./index.cjs122.js"),q=require("./index.cjs241.js"),ee=require("./index.cjs242.js"),W=require("./index.cjs243.js"),P=require("react");var te=typeof performance=="object"&&typeof performance.now=="function",V=te?function(){return performance.now()}:function(){return Date.now()};function U(a){cancelAnimationFrame(a.id)}function ie(a,t){var n=V();function c(){V()-n>=t?a.call(null):d.id=requestAnimationFrame(c)}var d={id:requestAnimationFrame(c)};return d}var k=-1;function $(a){if(a===void 0&&(a=!1),k===-1||a){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),k=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return k}var O=null;function H(a){if(a===void 0&&(a=!1),O===null||a){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var c=document.createElement("div"),d=c.style;return d.width="100px",d.height="100px",t.appendChild(c),document.body.appendChild(t),t.scrollLeft>0?O="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?O="negative":O="positive-ascending"),document.body.removeChild(t),O}return O}process.env.NODE_ENV;var re=150,oe=function(t,n){return t},R=null,M=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(R=new WeakSet,M=new WeakSet);function ne(a){var t,n=a.getItemOffset,c=a.getEstimatedTotalSize,d=a.getItemSize,z=a.getOffsetForIndexAndAlignment,S=a.getStartIndexForOffset,T=a.getStopIndexForStartIndex,_=a.initInstanceProps,g=a.shouldResetStyleCacheOnItemSizeChange,m=a.validateProps;return t=function(I){ee(b,I);function b(f){var e;return e=I.call(this,f)||this,e._instanceProps=_(e.props,q(e)),e._outerRef=void 0,e._resetIsScrollingTimeoutId=null,e.state={instance:q(e),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof e.props.initialScrollOffset=="number"?e.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},e._callOnItemsRendered=void 0,e._callOnItemsRendered=W(function(i,r,o,s){return e.props.onItemsRendered({overscanStartIndex:i,overscanStopIndex:r,visibleStartIndex:o,visibleStopIndex:s})}),e._callOnScroll=void 0,e._callOnScroll=W(function(i,r,o){return e.props.onScroll({scrollDirection:i,scrollOffset:r,scrollUpdateWasRequested:o})}),e._getItemStyle=void 0,e._getItemStyle=function(i){var r=e.props,o=r.direction,s=r.itemSize,h=r.layout,l=e._getItemStyleCache(g&&s,g&&h,g&&o),u;if(l.hasOwnProperty(i))u=l[i];else{var p=n(e.props,i,e._instanceProps),y=d(e.props,i,e._instanceProps),w=o==="horizontal"||h==="horizontal",E=o==="rtl",x=w?p:0;l[i]=u={position:"absolute",left:E?void 0:x,right:E?x:void 0,top:w?0:p,height:w?"100%":y,width:w?y:"100%"}}return u},e._getItemStyleCache=void 0,e._getItemStyleCache=W(function(i,r,o){return{}}),e._onScrollHorizontal=function(i){var r=i.currentTarget,o=r.clientWidth,s=r.scrollLeft,h=r.scrollWidth;e.setState(function(l){if(l.scrollOffset===s)return null;var u=e.props.direction,p=s;if(u==="rtl")switch(H()){case"negative":p=-s;break;case"positive-descending":p=h-o-s;break}return p=Math.max(0,Math.min(p,h-o)),{isScrolling:!0,scrollDirection:l.scrollOffset<p?"forward":"backward",scrollOffset:p,scrollUpdateWasRequested:!1}},e._resetIsScrollingDebounced)},e._onScrollVertical=function(i){var r=i.currentTarget,o=r.clientHeight,s=r.scrollHeight,h=r.scrollTop;e.setState(function(l){if(l.scrollOffset===h)return null;var u=Math.max(0,Math.min(h,s-o));return{isScrolling:!0,scrollDirection:l.scrollOffset<u?"forward":"backward",scrollOffset:u,scrollUpdateWasRequested:!1}},e._resetIsScrollingDebounced)},e._outerRefSetter=function(i){var r=e.props.outerRef;e._outerRef=i,typeof r=="function"?r(i):r!=null&&typeof r=="object"&&r.hasOwnProperty("current")&&(r.current=i)},e._resetIsScrollingDebounced=function(){e._resetIsScrollingTimeoutId!==null&&U(e._resetIsScrollingTimeoutId),e._resetIsScrollingTimeoutId=ie(e._resetIsScrolling,re)},e._resetIsScrolling=function(){e._resetIsScrollingTimeoutId=null,e.setState({isScrolling:!1},function(){e._getItemStyleCache(-1,null)})},e}b.getDerivedStateFromProps=function(e,i){return ae(e,i),m(e),null};var v=b.prototype;return v.scrollTo=function(e){e=Math.max(0,e),this.setState(function(i){return i.scrollOffset===e?null:{scrollDirection:i.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},v.scrollToItem=function(e,i){i===void 0&&(i="auto");var r=this.props,o=r.itemCount,s=r.layout,h=this.state.scrollOffset;e=Math.max(0,Math.min(e,o-1));var l=0;if(this._outerRef){var u=this._outerRef;s==="vertical"?l=u.scrollWidth>u.clientWidth?$():0:l=u.scrollHeight>u.clientHeight?$():0}this.scrollTo(z(this.props,e,i,h,this._instanceProps,l))},v.componentDidMount=function(){var e=this.props,i=e.direction,r=e.initialScrollOffset,o=e.layout;if(typeof r=="number"&&this._outerRef!=null){var s=this._outerRef;i==="horizontal"||o==="horizontal"?s.scrollLeft=r:s.scrollTop=r}this._callPropsCallbacks()},v.componentDidUpdate=function(){var e=this.props,i=e.direction,r=e.layout,o=this.state,s=o.scrollOffset,h=o.scrollUpdateWasRequested;if(h&&this._outerRef!=null){var l=this._outerRef;if(i==="horizontal"||r==="horizontal")if(i==="rtl")switch(H()){case"negative":l.scrollLeft=-s;break;case"positive-ascending":l.scrollLeft=s;break;default:var u=l.clientWidth,p=l.scrollWidth;l.scrollLeft=p-u-s;break}else l.scrollLeft=s;else l.scrollTop=s}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&U(this._resetIsScrollingTimeoutId)},v.render=function(){var e=this.props,i=e.children,r=e.className,o=e.direction,s=e.height,h=e.innerRef,l=e.innerElementType,u=e.innerTagName,p=e.itemCount,y=e.itemData,w=e.itemKey,E=w===void 0?oe:w,x=e.layout,K=e.outerElementType,j=e.outerTagName,B=e.style,G=e.useIsScrolling,J=e.width,D=this.state.isScrolling,N=o==="horizontal"||x==="horizontal",Q=N?this._onScrollHorizontal:this._onScrollVertical,F=this._getRangeToRender(),X=F[0],Y=F[1],L=[];if(p>0)for(var C=X;C<=Y;C++)L.push(P.createElement(i,{data:y,key:E(C,y),index:C,isScrolling:G?D:void 0,style:this._getItemStyle(C)}));var A=c(this.props,this._instanceProps);return P.createElement(K||j||"div",{className:r,onScroll:Q,ref:this._outerRefSetter,style:Z({position:"relative",height:s,width:J,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},B)},P.createElement(l||u||"div",{children:L,ref:h,style:{height:N?"100%":A,pointerEvents:D?"none":void 0,width:N?A:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var e=this.props.itemCount;if(e>0){var i=this._getRangeToRender(),r=i[0],o=i[1],s=i[2],h=i[3];this._callOnItemsRendered(r,o,s,h)}}if(typeof this.props.onScroll=="function"){var l=this.state,u=l.scrollDirection,p=l.scrollOffset,y=l.scrollUpdateWasRequested;this._callOnScroll(u,p,y)}},v._getRangeToRender=function(){var e=this.props,i=e.itemCount,r=e.overscanCount,o=this.state,s=o.isScrolling,h=o.scrollDirection,l=o.scrollOffset;if(i===0)return[0,0,0,0];var u=S(this.props,l,this._instanceProps),p=T(this.props,u,l,this._instanceProps),y=!s||h==="backward"?Math.max(1,r):1,w=!s||h==="forward"?Math.max(1,r):1;return[Math.max(0,u-y),Math.max(0,Math.min(i-1,p+w)),u,p]},b}(P.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var ae=function(t,n){var c=t.children,d=t.direction,z=t.height,S=t.layout,T=t.innerTagName,_=t.outerTagName,g=t.width,m=n.instance;if(process.env.NODE_ENV!=="production"){(T!=null||_!=null)&&M&&!M.has(m)&&(M.add(m),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var I=d==="horizontal"||S==="horizontal";switch(d){case"horizontal":case"vertical":R&&!R.has(m)&&(R.add(m),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+d+'" was specified.'))}switch(S){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+S+'" was specified.'))}if(c==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(c===null?"null":typeof c)+'" was specified.'));if(I&&typeof g!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(g===null?"null":typeof g)+'" was specified.'));if(!I&&typeof z!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(z===null?"null":typeof z)+'" was specified.'))}},le=ne({getItemOffset:function(t,n){var c=t.itemSize;return n*c},getItemSize:function(t,n){var c=t.itemSize;return c},getEstimatedTotalSize:function(t){var n=t.itemCount,c=t.itemSize;return c*n},getOffsetForIndexAndAlignment:function(t,n,c,d,z,S){var T=t.direction,_=t.height,g=t.itemCount,m=t.itemSize,I=t.layout,b=t.width,v=T==="horizontal"||I==="horizontal",f=v?b:_,e=Math.max(0,g*m-f),i=Math.min(e,n*m),r=Math.max(0,n*m-f+m+S);switch(c==="smart"&&(d>=r-f&&d<=i+f?c="auto":c="center"),c){case"start":return i;case"end":return r;case"center":{var o=Math.round(r+(i-r)/2);return o<Math.ceil(f/2)?0:o>e+Math.floor(f/2)?e:o}case"auto":default:return d>=r&&d<=i?d:d<r?r:i}},getStartIndexForOffset:function(t,n){var c=t.itemCount,d=t.itemSize;return Math.max(0,Math.min(c-1,Math.floor(n/d)))},getStopIndexForStartIndex:function(t,n,c){var d=t.direction,z=t.height,S=t.itemCount,T=t.itemSize,_=t.layout,g=t.width,m=d==="horizontal"||_==="horizontal",I=n*T,b=m?g:z,v=Math.ceil((b+c-I)/T);return Math.max(0,Math.min(S-1,n+v-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});exports.FixedSizeList=le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Z=require("./index.cjs122.js"),q=require("./index.cjs244.js"),ee=require("./index.cjs245.js"),W=require("./index.cjs246.js"),P=require("react");var te=typeof performance=="object"&&typeof performance.now=="function",V=te?function(){return performance.now()}:function(){return Date.now()};function U(a){cancelAnimationFrame(a.id)}function ie(a,t){var n=V();function c(){V()-n>=t?a.call(null):d.id=requestAnimationFrame(c)}var d={id:requestAnimationFrame(c)};return d}var k=-1;function $(a){if(a===void 0&&(a=!1),k===-1||a){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",document.body.appendChild(t),k=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return k}var O=null;function H(a){if(a===void 0&&(a=!1),O===null||a){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var c=document.createElement("div"),d=c.style;return d.width="100px",d.height="100px",t.appendChild(c),document.body.appendChild(t),t.scrollLeft>0?O="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?O="negative":O="positive-ascending"),document.body.removeChild(t),O}return O}process.env.NODE_ENV;var re=150,oe=function(t,n){return t},R=null,M=null;process.env.NODE_ENV!=="production"&&typeof window<"u"&&typeof window.WeakSet<"u"&&(R=new WeakSet,M=new WeakSet);function ne(a){var t,n=a.getItemOffset,c=a.getEstimatedTotalSize,d=a.getItemSize,z=a.getOffsetForIndexAndAlignment,S=a.getStartIndexForOffset,T=a.getStopIndexForStartIndex,_=a.initInstanceProps,g=a.shouldResetStyleCacheOnItemSizeChange,m=a.validateProps;return t=function(I){ee(b,I);function b(f){var e;return e=I.call(this,f)||this,e._instanceProps=_(e.props,q(e)),e._outerRef=void 0,e._resetIsScrollingTimeoutId=null,e.state={instance:q(e),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof e.props.initialScrollOffset=="number"?e.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},e._callOnItemsRendered=void 0,e._callOnItemsRendered=W(function(i,r,o,s){return e.props.onItemsRendered({overscanStartIndex:i,overscanStopIndex:r,visibleStartIndex:o,visibleStopIndex:s})}),e._callOnScroll=void 0,e._callOnScroll=W(function(i,r,o){return e.props.onScroll({scrollDirection:i,scrollOffset:r,scrollUpdateWasRequested:o})}),e._getItemStyle=void 0,e._getItemStyle=function(i){var r=e.props,o=r.direction,s=r.itemSize,h=r.layout,l=e._getItemStyleCache(g&&s,g&&h,g&&o),u;if(l.hasOwnProperty(i))u=l[i];else{var p=n(e.props,i,e._instanceProps),y=d(e.props,i,e._instanceProps),w=o==="horizontal"||h==="horizontal",E=o==="rtl",x=w?p:0;l[i]=u={position:"absolute",left:E?void 0:x,right:E?x:void 0,top:w?0:p,height:w?"100%":y,width:w?y:"100%"}}return u},e._getItemStyleCache=void 0,e._getItemStyleCache=W(function(i,r,o){return{}}),e._onScrollHorizontal=function(i){var r=i.currentTarget,o=r.clientWidth,s=r.scrollLeft,h=r.scrollWidth;e.setState(function(l){if(l.scrollOffset===s)return null;var u=e.props.direction,p=s;if(u==="rtl")switch(H()){case"negative":p=-s;break;case"positive-descending":p=h-o-s;break}return p=Math.max(0,Math.min(p,h-o)),{isScrolling:!0,scrollDirection:l.scrollOffset<p?"forward":"backward",scrollOffset:p,scrollUpdateWasRequested:!1}},e._resetIsScrollingDebounced)},e._onScrollVertical=function(i){var r=i.currentTarget,o=r.clientHeight,s=r.scrollHeight,h=r.scrollTop;e.setState(function(l){if(l.scrollOffset===h)return null;var u=Math.max(0,Math.min(h,s-o));return{isScrolling:!0,scrollDirection:l.scrollOffset<u?"forward":"backward",scrollOffset:u,scrollUpdateWasRequested:!1}},e._resetIsScrollingDebounced)},e._outerRefSetter=function(i){var r=e.props.outerRef;e._outerRef=i,typeof r=="function"?r(i):r!=null&&typeof r=="object"&&r.hasOwnProperty("current")&&(r.current=i)},e._resetIsScrollingDebounced=function(){e._resetIsScrollingTimeoutId!==null&&U(e._resetIsScrollingTimeoutId),e._resetIsScrollingTimeoutId=ie(e._resetIsScrolling,re)},e._resetIsScrolling=function(){e._resetIsScrollingTimeoutId=null,e.setState({isScrolling:!1},function(){e._getItemStyleCache(-1,null)})},e}b.getDerivedStateFromProps=function(e,i){return ae(e,i),m(e),null};var v=b.prototype;return v.scrollTo=function(e){e=Math.max(0,e),this.setState(function(i){return i.scrollOffset===e?null:{scrollDirection:i.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}},this._resetIsScrollingDebounced)},v.scrollToItem=function(e,i){i===void 0&&(i="auto");var r=this.props,o=r.itemCount,s=r.layout,h=this.state.scrollOffset;e=Math.max(0,Math.min(e,o-1));var l=0;if(this._outerRef){var u=this._outerRef;s==="vertical"?l=u.scrollWidth>u.clientWidth?$():0:l=u.scrollHeight>u.clientHeight?$():0}this.scrollTo(z(this.props,e,i,h,this._instanceProps,l))},v.componentDidMount=function(){var e=this.props,i=e.direction,r=e.initialScrollOffset,o=e.layout;if(typeof r=="number"&&this._outerRef!=null){var s=this._outerRef;i==="horizontal"||o==="horizontal"?s.scrollLeft=r:s.scrollTop=r}this._callPropsCallbacks()},v.componentDidUpdate=function(){var e=this.props,i=e.direction,r=e.layout,o=this.state,s=o.scrollOffset,h=o.scrollUpdateWasRequested;if(h&&this._outerRef!=null){var l=this._outerRef;if(i==="horizontal"||r==="horizontal")if(i==="rtl")switch(H()){case"negative":l.scrollLeft=-s;break;case"positive-ascending":l.scrollLeft=s;break;default:var u=l.clientWidth,p=l.scrollWidth;l.scrollLeft=p-u-s;break}else l.scrollLeft=s;else l.scrollTop=s}this._callPropsCallbacks()},v.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&U(this._resetIsScrollingTimeoutId)},v.render=function(){var e=this.props,i=e.children,r=e.className,o=e.direction,s=e.height,h=e.innerRef,l=e.innerElementType,u=e.innerTagName,p=e.itemCount,y=e.itemData,w=e.itemKey,E=w===void 0?oe:w,x=e.layout,K=e.outerElementType,j=e.outerTagName,B=e.style,G=e.useIsScrolling,J=e.width,D=this.state.isScrolling,N=o==="horizontal"||x==="horizontal",Q=N?this._onScrollHorizontal:this._onScrollVertical,F=this._getRangeToRender(),X=F[0],Y=F[1],L=[];if(p>0)for(var C=X;C<=Y;C++)L.push(P.createElement(i,{data:y,key:E(C,y),index:C,isScrolling:G?D:void 0,style:this._getItemStyle(C)}));var A=c(this.props,this._instanceProps);return P.createElement(K||j||"div",{className:r,onScroll:Q,ref:this._outerRefSetter,style:Z({position:"relative",height:s,width:J,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:o},B)},P.createElement(l||u||"div",{children:L,ref:h,style:{height:N?"100%":A,pointerEvents:D?"none":void 0,width:N?A:"100%"}}))},v._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var e=this.props.itemCount;if(e>0){var i=this._getRangeToRender(),r=i[0],o=i[1],s=i[2],h=i[3];this._callOnItemsRendered(r,o,s,h)}}if(typeof this.props.onScroll=="function"){var l=this.state,u=l.scrollDirection,p=l.scrollOffset,y=l.scrollUpdateWasRequested;this._callOnScroll(u,p,y)}},v._getRangeToRender=function(){var e=this.props,i=e.itemCount,r=e.overscanCount,o=this.state,s=o.isScrolling,h=o.scrollDirection,l=o.scrollOffset;if(i===0)return[0,0,0,0];var u=S(this.props,l,this._instanceProps),p=T(this.props,u,l,this._instanceProps),y=!s||h==="backward"?Math.max(1,r):1,w=!s||h==="forward"?Math.max(1,r):1;return[Math.max(0,u-y),Math.max(0,Math.min(i-1,p+w)),u,p]},b}(P.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var ae=function(t,n){var c=t.children,d=t.direction,z=t.height,S=t.layout,T=t.innerTagName,_=t.outerTagName,g=t.width,m=n.instance;if(process.env.NODE_ENV!=="production"){(T!=null||_!=null)&&M&&!M.has(m)&&(M.add(m),console.warn("The innerTagName and outerTagName props have been deprecated. Please use the innerElementType and outerElementType props instead."));var I=d==="horizontal"||S==="horizontal";switch(d){case"horizontal":case"vertical":R&&!R.has(m)&&(R.add(m),console.warn('The direction prop should be either "ltr" (default) or "rtl". Please use the layout prop to specify "vertical" (default) or "horizontal" orientation.'));break;case"ltr":case"rtl":break;default:throw Error('An invalid "direction" prop has been specified. Value should be either "ltr" or "rtl". '+('"'+d+'" was specified.'))}switch(S){case"horizontal":case"vertical":break;default:throw Error('An invalid "layout" prop has been specified. Value should be either "horizontal" or "vertical". '+('"'+S+'" was specified.'))}if(c==null)throw Error('An invalid "children" prop has been specified. Value should be a React component. '+('"'+(c===null?"null":typeof c)+'" was specified.'));if(I&&typeof g!="number")throw Error('An invalid "width" prop has been specified. Horizontal lists must specify a number for width. '+('"'+(g===null?"null":typeof g)+'" was specified.'));if(!I&&typeof z!="number")throw Error('An invalid "height" prop has been specified. Vertical lists must specify a number for height. '+('"'+(z===null?"null":typeof z)+'" was specified.'))}},le=ne({getItemOffset:function(t,n){var c=t.itemSize;return n*c},getItemSize:function(t,n){var c=t.itemSize;return c},getEstimatedTotalSize:function(t){var n=t.itemCount,c=t.itemSize;return c*n},getOffsetForIndexAndAlignment:function(t,n,c,d,z,S){var T=t.direction,_=t.height,g=t.itemCount,m=t.itemSize,I=t.layout,b=t.width,v=T==="horizontal"||I==="horizontal",f=v?b:_,e=Math.max(0,g*m-f),i=Math.min(e,n*m),r=Math.max(0,n*m-f+m+S);switch(c==="smart"&&(d>=r-f&&d<=i+f?c="auto":c="center"),c){case"start":return i;case"end":return r;case"center":{var o=Math.round(r+(i-r)/2);return o<Math.ceil(f/2)?0:o>e+Math.floor(f/2)?e:o}case"auto":default:return d>=r&&d<=i?d:d<r?r:i}},getStartIndexForOffset:function(t,n){var c=t.itemCount,d=t.itemSize;return Math.max(0,Math.min(c-1,Math.floor(n/d)))},getStopIndexForStartIndex:function(t,n,c){var d=t.direction,z=t.height,S=t.itemCount,T=t.itemSize,_=t.layout,g=t.width,m=d==="horizontal"||_==="horizontal",I=n*T,b=m?g:z,v=Math.ceil((b+c-I)/T);return Math.max(0,Math.min(S-1,n+v-1))},initInstanceProps:function(t){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(t){var n=t.itemSize;if(process.env.NODE_ENV!=="production"&&typeof n!="number")throw Error('An invalid "itemSize" prop has been specified. Value should be a number. '+('"'+(n===null?"null":typeof n)+'" was specified.'))}});exports.FixedSizeList=le;
2
2
  //# sourceMappingURL=index.cjs106.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs55.js"),u=require("react"),i=require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");require("./index.cjs74.js");require("./index.cjs75.js");require("./index.cjs76.js");require("./index.cjs77.js");require("./index.cjs78.js");require("./index.cjs79.js");require("./index.cjs80.js");require("./index.cjs81.js");require("./index.cjs82.js");require("./index.cjs83.js");require("./index.cjs84.js");const l=require("./index.cjs38.js"),R=({attribute:r,useRange:t})=>(t({attribute:r}),null),E=({attribute:r,useRefinementList:t})=>(t({attribute:r}),null),j="auto",q="int64[]",P=r=>{const[t,a]=u.useState([]),n=u.useMemo(()=>i.filter(t,e=>e.facet&&e.type!==j&&e.type!==q),[t]),o=u.useMemo(()=>i.filter(t,e=>e.facet&&e.type===q),[t]),m=u.useMemo(()=>i.pluck(n,"name"),[n]);return u.useEffect(()=>{const e=`${r.protocol}://${r.host}/collections/${r.indexName}`,x={"X-TYPESENSE-API-KEY":r.apiKey};fetch(e,{headers:x}).then(s=>s.json()).then(({fields:s})=>a(s))},[]),c.jsxRuntimeExports.jsxs(l.Provider,{value:{attributes:m},children:[i.map(n,e=>c.jsxRuntimeExports.jsx(E,{attribute:e.name,useRefinementList:r.useRefinementList},e.name)),i.map(o,e=>c.jsxRuntimeExports.jsx(R,{attribute:e.name,useRange:r.useRange},e.name)),r.children]})};module.exports=P;
1
+ "use strict";const a=require("./index.cjs55.js"),n=require("react"),r=require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");require("./index.cjs74.js");require("./index.cjs75.js");require("./index.cjs76.js");require("./index.cjs77.js");require("./index.cjs78.js");require("./index.cjs79.js");require("./index.cjs80.js");require("./index.cjs81.js");require("./index.cjs82.js");require("./index.cjs83.js");require("./index.cjs84.js");const R=require("./index.cjs38.js"),E=({attribute:t,useRange:u})=>(u({attribute:t}),null),d=({attribute:t,useRefinementList:u})=>(u({attribute:t}),null),j="auto",q="int64[]",y=t=>{const[u,o]=n.useState([]),i=n.useCallback(e=>r.isEmpty(t.include)?r.isEmpty(t.exclude)?!0:r.contains(t.exclude,e.name):r.contains(t.include,e.name),[t.exclude,t.include]),s=n.useMemo(()=>r.filter(u,e=>i(e)&&e.facet&&e.type!==j&&e.type!==q),[u,i]),m=n.useMemo(()=>r.filter(u,e=>i(e)&&e.facet&&e.type===q),[u,i]),x=n.useMemo(()=>r.pluck(s,"name"),[s]);return n.useEffect(()=>{const e=`${t.protocol}://${t.host}/collections/${t.indexName}`,l={"X-TYPESENSE-API-KEY":t.apiKey};fetch(e,{headers:l}).then(c=>c.json()).then(({fields:c})=>o(c))},[]),a.jsxRuntimeExports.jsxs(R.Provider,{value:{attributes:x},children:[r.map(s,e=>a.jsxRuntimeExports.jsx(d,{attribute:e.name,useRefinementList:t.useRefinementList},e.name)),r.map(m,e=>a.jsxRuntimeExports.jsx(E,{attribute:e.name,useRange:t.useRange},e.name)),t.children]})};module.exports=y;
2
2
  //# sourceMappingURL=index.cjs11.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs11.js","sources":["../src/components/FacetStateContextProvider.js"],"sourcesContent":["// @flow\n\nimport React, {\n useEffect,\n useMemo,\n useState,\n type Node\n} from 'react';\nimport _ from 'underscore';\nimport FacetStateContext from '../context/FacetStateContext';\n\ntype RangeProxyProps = {\n attribute: string,\n useRange: (props: any) => void\n};\n\nconst RangeProxy = ({ attribute, useRange }: RangeProxyProps) => {\n // Just a trick to have an empty component that keeps this\n // facet mounted, while the GUI element mounts and unmounts\n useRange({ attribute });\n\n return null;\n};\n\ntype RefinementListProxyProps = {\n attribute: string,\n useRefinementList: (props: any) => void\n};\n\nconst RefinementListProxy = ({ attribute, useRefinementList }: RefinementListProxyProps) => {\n // Just a trick to have an empty component that keeps this\n // facet mounted, while the GUI element mounts and unmounts\n useRefinementList({ attribute });\n\n return null;\n};\n\ntype Props = {\n /**\n * Search API key.\n */\n apiKey: string,\n\n /**\n * JSX child elements.\n */\n children: Node,\n\n /**\n * Search host URI.\n */\n host: string,\n\n /**\n * Search index name.\n */\n indexName: string,\n\n /**\n * Search protocol.\n */\n protocol: string,\n\n /**\n * `useRange` hook. This hook is used as a work-around to keep the search state persistent.\n *\n * @param props\n */\n useRange: (props: RangeProxyProps) => void,\n\n /**\n * `useRefinementList` hook. This hook is used as a work-around to keep the search state persistent.\n *\n * @param props\n */\n useRefinementList: (props: RefinementListProxyProps) => void\n};\n\nconst TYPE_AUTO = 'auto';\nconst TYPE_INT_ARRAY = 'int64[]';\n\n/**\n * This component renders a context that queries the Typesense collection and returns a list of all facetable\n * attributes.\n */\nconst FacetStateContextProvider = (props: Props) => {\n const [facets, setFacets] = useState<Array<string>>([]);\n\n /**\n * Memo-ize the refinement list facets.\n */\n const listFacets = useMemo(() => (\n _.filter(facets, (field: any) => field.facet && field.type !== TYPE_AUTO && field.type !== TYPE_INT_ARRAY)\n ), [facets]);\n\n /**\n * Memo-ize the range facets.\n */\n const rangeFacets = useMemo(() => (\n _.filter(facets, (field: any) => field.facet && field.type === TYPE_INT_ARRAY)\n ), [facets]);\n\n /**\n * Backwards compatability for consumers using the \"attributes\" return value.\n */\n const attributes = useMemo(() => _.pluck(listFacets, 'name'), [listFacets]);\n\n /**\n * Loads the facets from the Typesense schema.\n */\n useEffect(() => {\n const url = `${props.protocol}://${props.host}/collections/${props.indexName}`;\n const headers = { 'X-TYPESENSE-API-KEY': props.apiKey };\n\n fetch(url, { headers })\n .then((response) => response.json())\n .then(({ fields }) => setFacets(fields));\n }, []);\n\n return (\n <FacetStateContext.Provider\n value={{\n attributes\n }}\n >\n { _.map(listFacets, (facet) => (\n <RefinementListProxy\n attribute={facet.name}\n key={facet.name}\n useRefinementList={props.useRefinementList}\n />\n ))}\n { _.map(rangeFacets, (facet) => (\n <RangeProxy\n attribute={facet.name}\n key={facet.name}\n useRange={props.useRange}\n />\n ))}\n { props.children }\n </FacetStateContext.Provider>\n );\n};\n\nexport default FacetStateContextProvider;\n"],"names":["RangeProxy","attribute","useRange","RefinementListProxy","useRefinementList","TYPE_AUTO","TYPE_INT_ARRAY","FacetStateContextProvider","props","facets","setFacets","useState","listFacets","useMemo","_","field","rangeFacets","attributes","useEffect","url","headers","response","fields","jsxs","FacetStateContext","facet","jsx"],"mappings":"03BAgBMA,EAAa,CAAC,CAAE,UAAAC,EAAW,SAAAC,MAGtBA,EAAA,CAAE,UAAAD,EAAW,EAEf,MAQHE,EAAsB,CAAC,CAAE,UAAAF,EAAW,kBAAAG,MAGtBA,EAAA,CAAE,UAAAH,EAAW,EAExB,MA4CHI,EAAY,OACZC,EAAiB,UAMjBC,EAA6BC,GAAiB,CAClD,KAAM,CAACC,EAAQC,CAAS,EAAIC,EAAA,SAAwB,CAAE,CAAA,EAKhDC,EAAaC,EAAQ,QAAA,IACzBC,EAAE,OAAOL,EAASM,GAAeA,EAAM,OAASA,EAAM,OAASV,GAAaU,EAAM,OAAST,CAAc,EACxG,CAACG,CAAM,CAAC,EAKLO,EAAcH,EAAAA,QAAQ,IAC1BC,EAAE,OAAOL,EAASM,GAAeA,EAAM,OAASA,EAAM,OAAST,CAAc,EAC5E,CAACG,CAAM,CAAC,EAKLQ,EAAaJ,UAAQ,IAAMC,EAAE,MAAMF,EAAY,MAAM,EAAG,CAACA,CAAU,CAAC,EAK1EM,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAM,GAAGX,EAAM,QAAQ,MAAMA,EAAM,IAAI,gBAAgBA,EAAM,SAAS,GACtEY,EAAU,CAAE,sBAAuBZ,EAAM,MAAO,EAEtD,MAAMW,EAAK,CAAE,QAAAC,CAAA,CAAS,EACnB,KAAMC,GAAaA,EAAS,MAAM,EAClC,KAAK,CAAC,CAAE,OAAAC,CAAa,IAAAZ,EAAUY,CAAM,CAAC,CAC3C,EAAG,CAAE,CAAA,EAGHC,EAAA,kBAAA,KAACC,EAAkB,SAAlB,CACC,MAAO,CACL,WAAAP,CACF,EAEE,SAAA,CAAEH,EAAA,IAAIF,EAAaa,GACnBC,EAAA,kBAAA,IAACvB,EAAA,CACC,UAAWsB,EAAM,KAEjB,kBAAmBjB,EAAM,iBAAA,EADpBiB,EAAM,IAAA,CAGd,EACCX,EAAE,IAAIE,EAAcS,GACpBC,EAAA,kBAAA,IAAC1B,EAAA,CACC,UAAWyB,EAAM,KAEjB,SAAUjB,EAAM,QAAA,EADXiB,EAAM,IAAA,CAGd,EACCjB,EAAM,QAAA,CAAA,CAAA,CAGd"}
1
+ {"version":3,"file":"index.cjs11.js","sources":["../src/components/FacetStateContextProvider.js"],"sourcesContent":["// @flow\n\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useState,\n type Node\n} from 'react';\nimport _ from 'underscore';\nimport FacetStateContext from '../context/FacetStateContext';\n\ntype RangeProxyProps = {\n attribute: string,\n useRange: (props: any) => void\n};\n\nconst RangeProxy = ({ attribute, useRange }: RangeProxyProps) => {\n // Just a trick to have an empty component that keeps this\n // facet mounted, while the GUI element mounts and unmounts\n useRange({ attribute });\n\n return null;\n};\n\ntype RefinementListProxyProps = {\n attribute: string,\n useRefinementList: (props: any) => void\n};\n\nconst RefinementListProxy = ({ attribute, useRefinementList }: RefinementListProxyProps) => {\n // Just a trick to have an empty component that keeps this\n // facet mounted, while the GUI element mounts and unmounts\n useRefinementList({ attribute });\n\n return null;\n};\n\ntype Props = {\n /**\n * Search API key.\n */\n apiKey: string,\n\n /**\n * JSX child elements.\n */\n children: Node,\n\n /**\n * A list of facets to exclude.\n */\n exclude?: Array<string>,\n\n /**\n * Search host URI.\n */\n host: string,\n\n /**\n * A list of facets to include.\n */\n include?: Array<string>,\n\n /**\n * Search index name.\n */\n indexName: string,\n\n /**\n * Search protocol.\n */\n protocol: string,\n\n /**\n * `useRange` hook. This hook is used as a work-around to keep the search state persistent.\n *\n * @param props\n */\n useRange: (props: RangeProxyProps) => void,\n\n /**\n * `useRefinementList` hook. This hook is used as a work-around to keep the search state persistent.\n *\n * @param props\n */\n useRefinementList: (props: RefinementListProxyProps) => void\n};\n\nconst TYPE_AUTO = 'auto';\nconst TYPE_INT_ARRAY = 'int64[]';\n\n/**\n * This component renders a context that queries the Typesense collection and returns a list of all facetable\n * attributes.\n */\nconst FacetStateContextProvider = (props: Props) => {\n const [facets, setFacets] = useState<Array<string>>([]);\n\n /**\n * Returns true if the passed field should be included as a facet.\n *\n * @type {(function(*): (*|boolean))|*}\n */\n const isValid = useCallback((field) => {\n if (!_.isEmpty(props.include)) {\n return _.contains(props.include, field.name);\n }\n\n if (!_.isEmpty(props.exclude)) {\n return _.contains(props.exclude, field.name);\n }\n\n return true;\n }, [props.exclude, props.include]);\n\n /**\n * Memo-ize the refinement list facets.\n */\n const listFacets = useMemo(() => (\n _.filter(facets, (field: any) => isValid(field)\n && field.facet && field.type !== TYPE_AUTO\n && field.type !== TYPE_INT_ARRAY)\n ), [facets, isValid]);\n\n /**\n * Memo-ize the range facets.\n */\n const rangeFacets = useMemo(() => (\n _.filter(facets, (field: any) => isValid(field) && field.facet && field.type === TYPE_INT_ARRAY)\n ), [facets, isValid]);\n\n /**\n * Backwards compatability for consumers using the \"attributes\" return value.\n */\n const attributes = useMemo(() => _.pluck(listFacets, 'name'), [listFacets]);\n\n /**\n * Loads the facets from the Typesense schema.\n */\n useEffect(() => {\n const url = `${props.protocol}://${props.host}/collections/${props.indexName}`;\n const headers = { 'X-TYPESENSE-API-KEY': props.apiKey };\n\n fetch(url, { headers })\n .then((response) => response.json())\n .then(({ fields }) => setFacets(fields));\n }, []);\n\n return (\n <FacetStateContext.Provider\n value={{\n attributes\n }}\n >\n { _.map(listFacets, (facet) => (\n <RefinementListProxy\n attribute={facet.name}\n key={facet.name}\n useRefinementList={props.useRefinementList}\n />\n ))}\n { _.map(rangeFacets, (facet) => (\n <RangeProxy\n attribute={facet.name}\n key={facet.name}\n useRange={props.useRange}\n />\n ))}\n { props.children }\n </FacetStateContext.Provider>\n );\n};\n\nexport default FacetStateContextProvider;\n"],"names":["RangeProxy","attribute","useRange","RefinementListProxy","useRefinementList","TYPE_AUTO","TYPE_INT_ARRAY","FacetStateContextProvider","props","facets","setFacets","useState","isValid","useCallback","field","_","listFacets","useMemo","rangeFacets","attributes","useEffect","url","headers","response","fields","jsxs","FacetStateContext","facet","jsx"],"mappings":"03BAiBMA,EAAa,CAAC,CAAE,UAAAC,EAAW,SAAAC,MAGtBA,EAAA,CAAE,UAAAD,EAAW,EAEf,MAQHE,EAAsB,CAAC,CAAE,UAAAF,EAAW,kBAAAG,MAGtBA,EAAA,CAAE,UAAAH,EAAW,EAExB,MAsDHI,EAAY,OACZC,EAAiB,UAMjBC,EAA6BC,GAAiB,CAClD,KAAM,CAACC,EAAQC,CAAS,EAAIC,EAAA,SAAwB,CAAE,CAAA,EAOhDC,EAAUC,cAAaC,GACtBC,EAAE,QAAQP,EAAM,OAAO,EAIvBO,EAAE,QAAQP,EAAM,OAAO,EAIrB,GAHEO,EAAE,SAASP,EAAM,QAASM,EAAM,IAAI,EAJpCC,EAAE,SAASP,EAAM,QAASM,EAAM,IAAI,EAQ5C,CAACN,EAAM,QAASA,EAAM,OAAO,CAAC,EAK3BQ,EAAaC,UAAQ,IACzBF,EAAE,OAAON,EAASK,GAAeF,EAAQE,CAAK,GACzCA,EAAM,OAASA,EAAM,OAAST,GAC9BS,EAAM,OAASR,CAAc,EACjC,CAACG,EAAQG,CAAO,CAAC,EAKdM,EAAcD,UAAQ,IAC1BF,EAAE,OAAON,EAASK,GAAeF,EAAQE,CAAK,GAAKA,EAAM,OAASA,EAAM,OAASR,CAAc,EAC9F,CAACG,EAAQG,CAAO,CAAC,EAKdO,EAAaF,UAAQ,IAAMF,EAAE,MAAMC,EAAY,MAAM,EAAG,CAACA,CAAU,CAAC,EAK1EI,OAAAA,EAAAA,UAAU,IAAM,CACR,MAAAC,EAAM,GAAGb,EAAM,QAAQ,MAAMA,EAAM,IAAI,gBAAgBA,EAAM,SAAS,GACtEc,EAAU,CAAE,sBAAuBd,EAAM,MAAO,EAEtD,MAAMa,EAAK,CAAE,QAAAC,CAAA,CAAS,EACnB,KAAMC,GAAaA,EAAS,MAAM,EAClC,KAAK,CAAC,CAAE,OAAAC,CAAa,IAAAd,EAAUc,CAAM,CAAC,CAC3C,EAAG,CAAE,CAAA,EAGHC,EAAA,kBAAA,KAACC,EAAkB,SAAlB,CACC,MAAO,CACL,WAAAP,CACF,EAEE,SAAA,CAAEJ,EAAA,IAAIC,EAAaW,GACnBC,EAAA,kBAAA,IAACzB,EAAA,CACC,UAAWwB,EAAM,KAEjB,kBAAmBnB,EAAM,iBAAA,EADpBmB,EAAM,IAAA,CAGd,EACCZ,EAAE,IAAIG,EAAcS,GACpBC,EAAA,kBAAA,IAAC5B,EAAA,CACC,UAAW2B,EAAM,KAEjB,SAAUnB,EAAM,QAAA,EADXmB,EAAM,IAAA,CAGd,EACCnB,EAAM,QAAA,CAAA,CAAA,CAGd"}
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("./index.cjs404.js");/**
1
+ "use strict";const e=require("./index.cjs401.js");/**
2
2
  * @license lucide-react v0.321.0 - ISC
3
3
  *
4
4
  * This source code is licensed under the ISC license.
@@ -1,2 +1,2 @@
1
- "use strict";const R=require("./index.cjs220.js"),q=require("./index.cjs356.js"),k=require("./index.cjs357.js"),S=require("./index.cjs358.js"),P=require("./index.cjs359.js"),V=require("./index.cjs360.js"),D=require("./index.cjs361.js"),b=require("./index.cjs362.js"),E=require("./index.cjs363.js"),I=require("./index.cjs364.js"),$=require("./index.cjs365.js"),j=require("./index.cjs366.js");(function(l){var d=k.interopRequireDefaultExports;Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=d(S.__require()),h=d(P.__require()),_=d(V.__require()),C=d(D.__require()),T=b.__require(),y=E.__require(),w=I.__require(),g=$.__require(),m=j.__require(),F=function(){function f(t){var r=this;(0,_.default)(this,f),this.updateConfiguration(t),this.searchClient={clearCache:function(){return r.clearCache()},search:function(s){return r.searchTypesenseAndAdapt(s)},searchForFacetValues:function(s){return r.searchTypesenseForFacetValuesAndAdapt(s)}}}return(0,C.default)(f,[{key:"searchTypesenseAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new g.SearchResponseAdapter(o,s[v],u.configuration,n.results);return A.adapt()}),e.abrupt("return",{results:p});case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"searchTypesenseForFacetValuesAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new m.FacetSearchResponseAdapter(o,s[v],u.configuration);return A.adapt()}),e.abrupt("return",p);case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"_adaptAndPerformTypesenseRequest",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u,n;return c.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return u=new w.SearchRequestAdapter(s,this.typesenseClient,this.configuration),i.next=3,u.request();case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}},a,this)}));function r(a){return t.apply(this,arguments)}return r}()},{key:"clearCache",value:function(){return this.typesenseClient=new y.SearchClient(this.configuration.server),this.searchClient}},{key:"updateConfiguration",value:function(r){return this.configuration=new T.Configuration(r),this.configuration.validate(),this.typesenseClient=new y.SearchClient(this.configuration.server),!0}},{key:"_validateTypesenseResult",value:function(r){if(r.error)throw new Error("".concat(r.code," - ").concat(r.error));if(!r.hits&&!r.grouped_hits)throw new Error("Did not find any hits. ".concat(r.code," - ").concat(r.error))}}]),f}();l.default=F})(q.__exports);const G=R.getDefaultExportFromCjs(q.__exports);module.exports=G;
1
+ "use strict";const R=require("./index.cjs192.js"),q=require("./index.cjs356.js"),k=require("./index.cjs357.js"),S=require("./index.cjs358.js"),P=require("./index.cjs359.js"),V=require("./index.cjs360.js"),D=require("./index.cjs361.js"),b=require("./index.cjs362.js"),E=require("./index.cjs363.js"),I=require("./index.cjs364.js"),$=require("./index.cjs365.js"),j=require("./index.cjs366.js");(function(l){var d=k.interopRequireDefaultExports;Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=d(S.__require()),h=d(P.__require()),_=d(V.__require()),C=d(D.__require()),T=b.__require(),y=E.__require(),w=I.__require(),g=$.__require(),m=j.__require(),F=function(){function f(t){var r=this;(0,_.default)(this,f),this.updateConfiguration(t),this.searchClient={clearCache:function(){return r.clearCache()},search:function(s){return r.searchTypesenseAndAdapt(s)},searchForFacetValues:function(s){return r.searchTypesenseForFacetValuesAndAdapt(s)}}}return(0,C.default)(f,[{key:"searchTypesenseAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new g.SearchResponseAdapter(o,s[v],u.configuration,n.results);return A.adapt()}),e.abrupt("return",{results:p});case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"searchTypesenseForFacetValuesAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new m.FacetSearchResponseAdapter(o,s[v],u.configuration);return A.adapt()}),e.abrupt("return",p);case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"_adaptAndPerformTypesenseRequest",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u,n;return c.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return u=new w.SearchRequestAdapter(s,this.typesenseClient,this.configuration),i.next=3,u.request();case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}},a,this)}));function r(a){return t.apply(this,arguments)}return r}()},{key:"clearCache",value:function(){return this.typesenseClient=new y.SearchClient(this.configuration.server),this.searchClient}},{key:"updateConfiguration",value:function(r){return this.configuration=new T.Configuration(r),this.configuration.validate(),this.typesenseClient=new y.SearchClient(this.configuration.server),!0}},{key:"_validateTypesenseResult",value:function(r){if(r.error)throw new Error("".concat(r.code," - ").concat(r.error));if(!r.hits&&!r.grouped_hits)throw new Error("Did not find any hits. ".concat(r.code," - ").concat(r.error))}}]),f}();l.default=F})(q.__exports);const G=R.getDefaultExportFromCjs(q.__exports);module.exports=G;
2
2
  //# sourceMappingURL=index.cjs117.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const P=require("./index.cjs410.js"),d=require("./index.cjs411.js"),B=require("./index.cjs412.js"),W=require("./index.cjs413.js");function f(i){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(i)}function $(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function k(i,e){for(var o=0;o<e.length;o++){var t=e[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,E(t.key),t)}}function N(i,e,o){return e&&k(i.prototype,e),o&&k(i,o),Object.defineProperty(i,"prototype",{writable:!1}),i}function n(i,e,o){return e=E(e),e in i?Object.defineProperty(i,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[e]=o,i}function E(i){var e=H(i,"string");return f(e)==="symbol"?e:String(e)}function H(i,e){if(f(i)!=="object"||i===null)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var t=o.call(i,e||"default");if(f(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}var q=function(e){e&&(window.document.title=e)},M=function(){function i(e){var o=this,t=e.windowTitle,r=e.writeDelay,s=r===void 0?400:r,l=e.createURL,u=e.parseURL,p=e.getLocation,v=e.start,y=e.dispose,m=e.push,h=e.cleanUrlOnDispose;$(this,i),n(this,"$$type","ais.browser"),n(this,"windowTitle",void 0),n(this,"writeDelay",void 0),n(this,"_createURL",void 0),n(this,"parseURL",void 0),n(this,"getLocation",void 0),n(this,"writeTimer",void 0),n(this,"_onPopState",void 0),n(this,"inPopState",!1),n(this,"isDisposed",!1),n(this,"latestAcknowledgedHistory",0),n(this,"_start",void 0),n(this,"_dispose",void 0),n(this,"_push",void 0),n(this,"_cleanUrlOnDispose",void 0),this.windowTitle=t,this.writeTimer=void 0,this.writeDelay=s,this._createURL=l,this.parseURL=u,this.getLocation=p,this._start=v,this._dispose=y,this._push=m,this._cleanUrlOnDispose=typeof h>"u"?!0:h,process.env.NODE_ENV==="development"&&typeof h>"u"&&console.info(`Starting from the next major version, InstantSearch will not clean up the URL from active refinements when it is disposed.
1
+ "use strict";const P=require("./index.cjs411.js"),d=require("./index.cjs412.js"),B=require("./index.cjs413.js"),W=require("./index.cjs414.js");function f(i){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(i)}function $(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function k(i,e){for(var o=0;o<e.length;o++){var t=e[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,E(t.key),t)}}function N(i,e,o){return e&&k(i.prototype,e),o&&k(i,o),Object.defineProperty(i,"prototype",{writable:!1}),i}function n(i,e,o){return e=E(e),e in i?Object.defineProperty(i,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[e]=o,i}function E(i){var e=H(i,"string");return f(e)==="symbol"?e:String(e)}function H(i,e){if(f(i)!=="object"||i===null)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var t=o.call(i,e||"default");if(f(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}var q=function(e){e&&(window.document.title=e)},M=function(){function i(e){var o=this,t=e.windowTitle,r=e.writeDelay,s=r===void 0?400:r,l=e.createURL,u=e.parseURL,p=e.getLocation,v=e.start,y=e.dispose,m=e.push,h=e.cleanUrlOnDispose;$(this,i),n(this,"$$type","ais.browser"),n(this,"windowTitle",void 0),n(this,"writeDelay",void 0),n(this,"_createURL",void 0),n(this,"parseURL",void 0),n(this,"getLocation",void 0),n(this,"writeTimer",void 0),n(this,"_onPopState",void 0),n(this,"inPopState",!1),n(this,"isDisposed",!1),n(this,"latestAcknowledgedHistory",0),n(this,"_start",void 0),n(this,"_dispose",void 0),n(this,"_push",void 0),n(this,"_cleanUrlOnDispose",void 0),this.windowTitle=t,this.writeTimer=void 0,this.writeDelay=s,this._createURL=l,this.parseURL=u,this.getLocation=p,this._start=v,this._dispose=y,this._push=m,this._cleanUrlOnDispose=typeof h>"u"?!0:h,process.env.NODE_ENV==="development"&&typeof h>"u"&&console.info(`Starting from the next major version, InstantSearch will not clean up the URL from active refinements when it is disposed.
2
2
 
3
3
  We recommend setting \`cleanUrlOnDispose\` to false to adopt this change today.
4
4
  To stay with the current behaviour and remove this warning, set the option to true.
@@ -1,2 +1,2 @@
1
- "use strict";var j=Object.defineProperty;var X=(t,e,i)=>e in t?j(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var l=(t,e,i)=>(X(t,typeof e!="symbol"?e+"":e,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs234.js"),u=require("./index.cjs235.js"),f=require("./index.cjs236.js"),U="@iiif/IMPORT_ENTITIES",C="@iiif/MODIFY_ENTITY_FIELD",b="@iiif/REORDER_ENTITY_FIELD",q="@iiif/ADD_REFERENCE",N="@iiif/REMOVE_REFERENCE",F=u.createAction(U)(),$=u.createAction(C)(),J=u.createAction(b)(),W=u.createAction(q)(),Z=u.createAction(N)(),K={importEntities:F,modifyEntityField:$,reorderEntityField:J,addReference:W,removeReference:Z},v="@iiif/ADD_MAPPING",w="@iiif/ADD_MAPPINGS",ee=u.createAction(v)(),te=u.createAction(w)(),P="@iiif/SET_META_VALUE",k="@iiif/SET_META_VALUE_DYNAMIC",L="@iiif/UNSET_META_VALUE",ie=u.createAction(P)(),re=u.createAction(k)(),se=u.createAction(L)(),M={setMetaValue:ie,setMetaValueDynamic:re,unsetMetaValue:se},g="RESOURCE_ERROR",Q="RESOURCE_LOADING",A="RESOURCE_READY",V="@iiif/REQUEST_RESOURCE",B="@iiif/REQUEST_ERROR",x="@iiif/REQUEST_MISMATCH",Y="@iiif/REQUEST_COMPLETE",z="@iiif/REQUEST_OFFLINE_RESOURCE",oe=u.createAction(V)(),H=u.createAction(B)(),ne=u.createAction(x)(),ae=u.createAction(Y)();u.createAction(z)();const _="@iiif/BATCH",G="@iiif/BATCH_IMPORT",m=u.createAction(_)();u.createAction(G)();const ue=(t,e)=>{const{entities:i,resource:r,mapping:s}=h.normalize(e);if(r.id===void 0)return[H({id:t,message:"ID is not defined in resource."})];const o=[F({entities:i}),te({mapping:s})];return r.id!==t&&(o.push(ee({id:t,type:r.type})),o.push(ne({requestId:t,actualId:r.id}))),o.push(ae({id:t})),o},O=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function de(t,e){return!!(t===e||O(t)&&O(e))}function I(t,e){if(!Array.isArray(t)||!Array.isArray(e))return t===e;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(!de(t[i],e[i]))return!1;return!0}function R(t,e){const i=t.iiif.requests[e],r=t.iiif.mapping[e];if(!(!r||!t.iiif.entities[r][i.resourceUri]))return t.iiif.entities[r][i.resourceUri]}function D(t,e,{waitTimeout:i=30}={}){return async(r,s)=>{const o=t.getState(),n=o.iiif.requests[r];if(n)switch(n.loadingState){case g:break;case Q:{let a,c=!1;try{const d=await Promise.race([new Promise((y,p)=>{c||(a=t.subscribe(()=>{const E=t.getState();if(E.iiif.requests[r].loadingState===g){p();return}if(E.iiif.requests[r].loadingState===A){const T=R(E,r);T?y(T):p()}}))}),new Promise((y,p)=>setTimeout(()=>{c=!0,p()},i*60))]);if(a&&a(),d)return d}catch{a&&a();break}break}case A:{const a=R(o,r);if(a)return a;break}}t.dispatch(oe({id:r}));try{const a=await e(r,s);!a.id&&!a["@id"]&&(a["@type"]&&(a["@id"]=r),a.id=r);const c=ue(r,a);return t.dispatch(m({actions:c})),R(t.getState(),r)}catch(a){throw t.dispatch(H({id:r,message:a.toString()})),a}}}function ce(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}const le=(t={},e)=>{switch(e.type){case v:return{...t,[e.payload.id]:e.payload.type};case w:return{...t,...e.payload.mapping};default:return t}};function S(t,e,i,r){return!(!t[i]||!t[i][e]||!t[i][e][r]||!Array.isArray(t[i][e][r]))}function ye(t,e){const i={},r=[];for(const[s,o]of Object.entries(t||{})){r.push(s);const n=(e||{})[s];if(!n||n.length===0){i[s]=o;continue}i[s]=n}for(const[s,o]of Object.entries(e||{}))r.indexOf(s)===-1&&(i[s]=o);return i}const fe=(t=ce(),e)=>{var i;switch(e.type){case C:{if(!t[e.payload.type]||!t[e.payload.type][e.payload.id])return t;const r=t[e.payload.type][e.payload.id];return typeof r=="string"?t:{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:e.payload.value}}}}case b:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id];if(typeof r=="string")return t;const s=Array.from(r[e.payload.key]),[o]=s.splice(e.payload.startIndex,1);return s.splice(e.payload.endIndex,0,o),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case U:{const r=Object.keys(e.payload.entities),s={...t};for(const o of r){const n=e.payload.entities[o],a={...t[o]||{}};let c=!1;const d=Object.keys(n||{})||[];if(n&&d){for(const y of d)c=!0,a[y]=t[o][y]?ye(t[o][y],n[y]):n[y];c&&(s[o]=a)}}return s}case q:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]);return s.splice(e.payload.index||s.length+1,0,e.payload.reference),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case N:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]),o=e.payload.index||s.findIndex(n=>n&&n.id===e.payload.reference.id);return o===-1||((i=s[o])==null?void 0:i.id)!==e.payload.reference.id?t:(s.splice(o,1),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}})}default:return t}},pe=(t={},e)=>{switch(e.type){case V:case z:return{...t,[e.payload.id]:{requestUri:e.payload.id,loadingState:Q,uriMismatch:!1,resourceUri:e.payload.id}};case x:return{...t,[e.payload.requestId]:{...t[e.payload.requestId]||{},uriMismatch:!0,resourceUri:e.payload.actualId},[e.payload.actualId]:{requestUri:e.payload.requestId,loadingState:t[e.payload.requestId].loadingState,uriMismatch:!0,resourceUri:e.payload.actualId}};case B:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:g,error:e.payload.message}};case Y:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:A,error:void 0}}}return t},he=(t={},e)=>{const{id:i,updateValue:r,value:s,meta:o,key:n}=e&&e.payload||{};switch(e.type){case P:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:s}}};case k:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:t[i]&&t[i][o]?r(t[i][o][n]):r(void 0)}}};case L:return t[i]&&t[i][o]&&t[i][o][n]?{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:void 0}}}:t;default:return t}};function Ee(t){return(e,i)=>i&&i.type===_?i.payload.actions.reduce(t,e):i&&i.type===G?i.payload.state:t(e,i)}const Re=f.combineReducers({mapping:le,entities:fe,requests:pe,meta:he}),Se=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||f.compose;function ge(t={}){const{enableDevtools:e=!0,iiifStoreName:i="iiif",defaultState:r={},extraMiddleware:s=[],customReducers:o={}}=t,n=f.combineReducers({[i]:Re,...o});return f.createStore(Ee(n),r,e?Se(f.applyMiddleware(...s)):f.compose(f.applyMiddleware(...s)))}function Ae(t){return{all:t=t||new Map,on:function(e,i){var r=t.get(e);r?r.push(i):t.set(e,[i])},off:function(e,i){var r=t.get(e);r&&(i?r.splice(r.indexOf(i)>>>0,1):t.set(e,[]))},emit:function(e,i){var r=t.get(e);r&&r.slice().map(function(s){s(i)}),(r=t.get("*"))&&r.slice().map(function(s){s(e,i)})}}}class me{constructor(e,i){l(this,"options");l(this,"store");l(this,"emitter");l(this,"isBatching",!1);l(this,"batchQueue",[]);l(this,"remoteFetcher");l(this,"staticFetcher");l(this,"defaultFetcher",e=>fetch(e).then(i=>i.json()));l(this,"middleware",e=>i=>r=>{if(r.type===_){for(const n of r.payload.actions)this.emitter.emit(n.type,{realAction:n,state:e.getState()});const o=i(r);for(const n of r.payload.actions)this.emitter.emit(`after:${r.type}`,{action:r,state:o});return o}this.emitter.emit(r.type,{action:r,state:e.getState()});const s=i(r);return this.emitter.emit(`after:${r.type}`,{action:r,state:s}),s});this.options=Object.assign({reducers:{},middleware:[],defaultState:{},customFetcher:this.defaultFetcher,enableDevtools:!0},e||{}),this.store=i||ge({customReducers:this.options.reducers,extraMiddleware:[...this.options.middleware,this.middleware],defaultState:this.options.defaultState,enableDevtools:this.options.enableDevtools}),this.emitter=Ae(),this.remoteFetcher=D(this.store,this.options.customFetcher),this.staticFetcher=D(this.store,(r,s)=>s)}batch(e){this.isBatching=!0;try{e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}async asyncBatch(e){this.isBatching=!0;try{await e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}modifyEntityField(e,i,r){this.dispatch(K.modifyEntityField({id:e.id,type:e.type,key:i,value:r}))}dispatch(e){this.isBatching?this.batchQueue.push(e):this.store.dispatch(e)}serialize(e,i){return h.serialize(this.getState().iiif,e,i)}toPresentation2(e){return this.serialize(e,h.serializeConfigPresentation2)}toPresentation3(e){return this.serialize(e,h.serializeConfigPresentation3)}hydrate(e,i){return this.get(e,i,{skipSelfReturn:!1})}get(e,i,r={}){typeof i!="string"&&(r=i||{},i=void 0);const{skipSelfReturn:s=!0}=r||{};if(Array.isArray(e))return e.map(d=>this.get(d,r));const o=this.getState();if(typeof e=="string"){const d=i||o.iiif.mapping[e];if(!d)return s?null:{id:e,type:"unknown"};e={id:e,type:d}}const n=i||e.type,a=e.id,c=o.iiif.entities[n];if(!c){const d=o.iiif.requests[a];return d&&d.resourceUri!==a?this.get(d.resourceUri,r):s?null:e}return c[e.id]||(s?null:e)}select(e){return e(this.getState())}getStore(){return this.store}getState(){return this.store.getState()}loadManifest(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}loadCollection(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}load(e,i){const r=typeof e=="string"?e:e.id;return i?this.staticFetcher(r,i):this.remoteFetcher(r)}areInputsEqual(e,i){return I(e,i)}subscribe(e,i,r){typeof r>"u"&&(typeof i>"u"||i===!1||i===!0)&&(r=i,i=e,e=o=>o);let s=r?null:e(this.store.getState());return r||i(s,this),this.store.subscribe(()=>{const o=this.store.getState(),n=e(o);s!==n&&!I(s,n)&&i(n,this),s=n})}async ensureLoaded(e){const i=typeof e=="string"?e:e.id;this.requestStatus(i)||await this.load(i)}requestStatus(e){return this.select(i=>i.iiif.requests[e])}getResourceMeta(e,i){const r=this.getState().iiif.meta[e];if(r)return i?r[i]:r}setMetaValue([e,i,r],s){this.dispatch(typeof s=="function"?M.setMetaValueDynamic({id:e,meta:i,key:r,updateValue:s}):M.setMetaValue({id:e,meta:i,key:r,value:s}))}}exports.Vault=me;
1
+ "use strict";var j=Object.defineProperty;var X=(t,e,i)=>e in t?j(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var l=(t,e,i)=>(X(t,typeof e!="symbol"?e+"":e,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs206.js"),u=require("./index.cjs207.js"),f=require("./index.cjs208.js"),U="@iiif/IMPORT_ENTITIES",C="@iiif/MODIFY_ENTITY_FIELD",b="@iiif/REORDER_ENTITY_FIELD",q="@iiif/ADD_REFERENCE",N="@iiif/REMOVE_REFERENCE",F=u.createAction(U)(),$=u.createAction(C)(),J=u.createAction(b)(),W=u.createAction(q)(),Z=u.createAction(N)(),K={importEntities:F,modifyEntityField:$,reorderEntityField:J,addReference:W,removeReference:Z},v="@iiif/ADD_MAPPING",w="@iiif/ADD_MAPPINGS",ee=u.createAction(v)(),te=u.createAction(w)(),P="@iiif/SET_META_VALUE",k="@iiif/SET_META_VALUE_DYNAMIC",L="@iiif/UNSET_META_VALUE",ie=u.createAction(P)(),re=u.createAction(k)(),se=u.createAction(L)(),M={setMetaValue:ie,setMetaValueDynamic:re,unsetMetaValue:se},g="RESOURCE_ERROR",Q="RESOURCE_LOADING",A="RESOURCE_READY",V="@iiif/REQUEST_RESOURCE",B="@iiif/REQUEST_ERROR",x="@iiif/REQUEST_MISMATCH",Y="@iiif/REQUEST_COMPLETE",z="@iiif/REQUEST_OFFLINE_RESOURCE",oe=u.createAction(V)(),H=u.createAction(B)(),ne=u.createAction(x)(),ae=u.createAction(Y)();u.createAction(z)();const _="@iiif/BATCH",G="@iiif/BATCH_IMPORT",m=u.createAction(_)();u.createAction(G)();const ue=(t,e)=>{const{entities:i,resource:r,mapping:s}=h.normalize(e);if(r.id===void 0)return[H({id:t,message:"ID is not defined in resource."})];const o=[F({entities:i}),te({mapping:s})];return r.id!==t&&(o.push(ee({id:t,type:r.type})),o.push(ne({requestId:t,actualId:r.id}))),o.push(ae({id:t})),o},O=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function de(t,e){return!!(t===e||O(t)&&O(e))}function I(t,e){if(!Array.isArray(t)||!Array.isArray(e))return t===e;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(!de(t[i],e[i]))return!1;return!0}function R(t,e){const i=t.iiif.requests[e],r=t.iiif.mapping[e];if(!(!r||!t.iiif.entities[r][i.resourceUri]))return t.iiif.entities[r][i.resourceUri]}function D(t,e,{waitTimeout:i=30}={}){return async(r,s)=>{const o=t.getState(),n=o.iiif.requests[r];if(n)switch(n.loadingState){case g:break;case Q:{let a,c=!1;try{const d=await Promise.race([new Promise((y,p)=>{c||(a=t.subscribe(()=>{const E=t.getState();if(E.iiif.requests[r].loadingState===g){p();return}if(E.iiif.requests[r].loadingState===A){const T=R(E,r);T?y(T):p()}}))}),new Promise((y,p)=>setTimeout(()=>{c=!0,p()},i*60))]);if(a&&a(),d)return d}catch{a&&a();break}break}case A:{const a=R(o,r);if(a)return a;break}}t.dispatch(oe({id:r}));try{const a=await e(r,s);!a.id&&!a["@id"]&&(a["@type"]&&(a["@id"]=r),a.id=r);const c=ue(r,a);return t.dispatch(m({actions:c})),R(t.getState(),r)}catch(a){throw t.dispatch(H({id:r,message:a.toString()})),a}}}function ce(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}const le=(t={},e)=>{switch(e.type){case v:return{...t,[e.payload.id]:e.payload.type};case w:return{...t,...e.payload.mapping};default:return t}};function S(t,e,i,r){return!(!t[i]||!t[i][e]||!t[i][e][r]||!Array.isArray(t[i][e][r]))}function ye(t,e){const i={},r=[];for(const[s,o]of Object.entries(t||{})){r.push(s);const n=(e||{})[s];if(!n||n.length===0){i[s]=o;continue}i[s]=n}for(const[s,o]of Object.entries(e||{}))r.indexOf(s)===-1&&(i[s]=o);return i}const fe=(t=ce(),e)=>{var i;switch(e.type){case C:{if(!t[e.payload.type]||!t[e.payload.type][e.payload.id])return t;const r=t[e.payload.type][e.payload.id];return typeof r=="string"?t:{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:e.payload.value}}}}case b:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id];if(typeof r=="string")return t;const s=Array.from(r[e.payload.key]),[o]=s.splice(e.payload.startIndex,1);return s.splice(e.payload.endIndex,0,o),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case U:{const r=Object.keys(e.payload.entities),s={...t};for(const o of r){const n=e.payload.entities[o],a={...t[o]||{}};let c=!1;const d=Object.keys(n||{})||[];if(n&&d){for(const y of d)c=!0,a[y]=t[o][y]?ye(t[o][y],n[y]):n[y];c&&(s[o]=a)}}return s}case q:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]);return s.splice(e.payload.index||s.length+1,0,e.payload.reference),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case N:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]),o=e.payload.index||s.findIndex(n=>n&&n.id===e.payload.reference.id);return o===-1||((i=s[o])==null?void 0:i.id)!==e.payload.reference.id?t:(s.splice(o,1),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}})}default:return t}},pe=(t={},e)=>{switch(e.type){case V:case z:return{...t,[e.payload.id]:{requestUri:e.payload.id,loadingState:Q,uriMismatch:!1,resourceUri:e.payload.id}};case x:return{...t,[e.payload.requestId]:{...t[e.payload.requestId]||{},uriMismatch:!0,resourceUri:e.payload.actualId},[e.payload.actualId]:{requestUri:e.payload.requestId,loadingState:t[e.payload.requestId].loadingState,uriMismatch:!0,resourceUri:e.payload.actualId}};case B:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:g,error:e.payload.message}};case Y:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:A,error:void 0}}}return t},he=(t={},e)=>{const{id:i,updateValue:r,value:s,meta:o,key:n}=e&&e.payload||{};switch(e.type){case P:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:s}}};case k:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:t[i]&&t[i][o]?r(t[i][o][n]):r(void 0)}}};case L:return t[i]&&t[i][o]&&t[i][o][n]?{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:void 0}}}:t;default:return t}};function Ee(t){return(e,i)=>i&&i.type===_?i.payload.actions.reduce(t,e):i&&i.type===G?i.payload.state:t(e,i)}const Re=f.combineReducers({mapping:le,entities:fe,requests:pe,meta:he}),Se=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||f.compose;function ge(t={}){const{enableDevtools:e=!0,iiifStoreName:i="iiif",defaultState:r={},extraMiddleware:s=[],customReducers:o={}}=t,n=f.combineReducers({[i]:Re,...o});return f.createStore(Ee(n),r,e?Se(f.applyMiddleware(...s)):f.compose(f.applyMiddleware(...s)))}function Ae(t){return{all:t=t||new Map,on:function(e,i){var r=t.get(e);r?r.push(i):t.set(e,[i])},off:function(e,i){var r=t.get(e);r&&(i?r.splice(r.indexOf(i)>>>0,1):t.set(e,[]))},emit:function(e,i){var r=t.get(e);r&&r.slice().map(function(s){s(i)}),(r=t.get("*"))&&r.slice().map(function(s){s(e,i)})}}}class me{constructor(e,i){l(this,"options");l(this,"store");l(this,"emitter");l(this,"isBatching",!1);l(this,"batchQueue",[]);l(this,"remoteFetcher");l(this,"staticFetcher");l(this,"defaultFetcher",e=>fetch(e).then(i=>i.json()));l(this,"middleware",e=>i=>r=>{if(r.type===_){for(const n of r.payload.actions)this.emitter.emit(n.type,{realAction:n,state:e.getState()});const o=i(r);for(const n of r.payload.actions)this.emitter.emit(`after:${r.type}`,{action:r,state:o});return o}this.emitter.emit(r.type,{action:r,state:e.getState()});const s=i(r);return this.emitter.emit(`after:${r.type}`,{action:r,state:s}),s});this.options=Object.assign({reducers:{},middleware:[],defaultState:{},customFetcher:this.defaultFetcher,enableDevtools:!0},e||{}),this.store=i||ge({customReducers:this.options.reducers,extraMiddleware:[...this.options.middleware,this.middleware],defaultState:this.options.defaultState,enableDevtools:this.options.enableDevtools}),this.emitter=Ae(),this.remoteFetcher=D(this.store,this.options.customFetcher),this.staticFetcher=D(this.store,(r,s)=>s)}batch(e){this.isBatching=!0;try{e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}async asyncBatch(e){this.isBatching=!0;try{await e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}modifyEntityField(e,i,r){this.dispatch(K.modifyEntityField({id:e.id,type:e.type,key:i,value:r}))}dispatch(e){this.isBatching?this.batchQueue.push(e):this.store.dispatch(e)}serialize(e,i){return h.serialize(this.getState().iiif,e,i)}toPresentation2(e){return this.serialize(e,h.serializeConfigPresentation2)}toPresentation3(e){return this.serialize(e,h.serializeConfigPresentation3)}hydrate(e,i){return this.get(e,i,{skipSelfReturn:!1})}get(e,i,r={}){typeof i!="string"&&(r=i||{},i=void 0);const{skipSelfReturn:s=!0}=r||{};if(Array.isArray(e))return e.map(d=>this.get(d,r));const o=this.getState();if(typeof e=="string"){const d=i||o.iiif.mapping[e];if(!d)return s?null:{id:e,type:"unknown"};e={id:e,type:d}}const n=i||e.type,a=e.id,c=o.iiif.entities[n];if(!c){const d=o.iiif.requests[a];return d&&d.resourceUri!==a?this.get(d.resourceUri,r):s?null:e}return c[e.id]||(s?null:e)}select(e){return e(this.getState())}getStore(){return this.store}getState(){return this.store.getState()}loadManifest(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}loadCollection(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}load(e,i){const r=typeof e=="string"?e:e.id;return i?this.staticFetcher(r,i):this.remoteFetcher(r)}areInputsEqual(e,i){return I(e,i)}subscribe(e,i,r){typeof r>"u"&&(typeof i>"u"||i===!1||i===!0)&&(r=i,i=e,e=o=>o);let s=r?null:e(this.store.getState());return r||i(s,this),this.store.subscribe(()=>{const o=this.store.getState(),n=e(o);s!==n&&!I(s,n)&&i(n,this),s=n})}async ensureLoaded(e){const i=typeof e=="string"?e:e.id;this.requestStatus(i)||await this.load(i)}requestStatus(e){return this.select(i=>i.iiif.requests[e])}getResourceMeta(e,i){const r=this.getState().iiif.meta[e];if(r)return i?r[i]:r}setMetaValue([e,i,r],s){this.dispatch(typeof s=="function"?M.setMetaValueDynamic({id:e,meta:i,key:r,updateValue:s}):M.setMetaValue({id:e,meta:i,key:r,value:s}))}}exports.Vault=me;
2
2
  //# sourceMappingURL=index.cjs130.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const Q=require("./index.cjs220.js");require("./index.cjs221.js");const ee=require("./index.cjs222.js");require("./index.cjs223.js");const te=require("./index.cjs224.js"),re=require("./index.cjs225.js"),ne=require("./index.cjs226.js"),se=require("./index.cjs227.js"),ie=require("./index.cjs228.js"),oe=se.__exports,W=ee.escapeStringRegexp,{isPlainObject:le}=ie.__exports,V=te.cjs,ae=re.parseSrcsetExports,{parse:ce}=ne.postcss_1,de=["img","audio","video","picture","svg","object","map","iframe","embed"],fe=["script","style"];function O(d,t){d&&Object.keys(d).forEach(function(w){t(d[w],w)})}function y(d,t){return{}.hasOwnProperty.call(d,t)}function Z(d,t){const w=[];return O(d,function(l){t(l)&&w.push(l)}),w}function ue(d){for(const t in d)if(y(d,t))return!1;return!0}function pe(d){return d.map(function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")}).join(", ")}var ge=H;const he=/^[^\0\t\n\f\r /<=>]+$/;function H(d,t,w){if(d==null)return"";typeof d=="number"&&(d=d.toString());let l="",m="";function R(e,n){const r=this;this.tag=e,this.attribs=n||{},this.tagPosition=l.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(u.length){const s=u[u.length-1];s.text+=r.text}},this.updateParentNodeMediaChildren=function(){u.length&&de.includes(this.tag)&&u[u.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},H.defaults,t),t.parser=Object.assign({},me,t.parser);const P=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};fe.forEach(function(e){P(e)&&!t.allowVulnerableTags&&console.warn(`
1
+ "use strict";const Q=require("./index.cjs192.js");require("./index.cjs193.js");const ee=require("./index.cjs194.js");require("./index.cjs195.js");const te=require("./index.cjs196.js"),re=require("./index.cjs197.js"),ne=require("./index.cjs198.js"),se=require("./index.cjs199.js"),ie=require("./index.cjs200.js"),oe=se.__exports,W=ee.escapeStringRegexp,{isPlainObject:le}=ie.__exports,V=te.cjs,ae=re.parseSrcsetExports,{parse:ce}=ne.postcss_1,de=["img","audio","video","picture","svg","object","map","iframe","embed"],fe=["script","style"];function O(d,t){d&&Object.keys(d).forEach(function(w){t(d[w],w)})}function y(d,t){return{}.hasOwnProperty.call(d,t)}function Z(d,t){const w=[];return O(d,function(l){t(l)&&w.push(l)}),w}function ue(d){for(const t in d)if(y(d,t))return!1;return!0}function pe(d){return d.map(function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")}).join(", ")}var ge=H;const he=/^[^\0\t\n\f\r /<=>]+$/;function H(d,t,w){if(d==null)return"";typeof d=="number"&&(d=d.toString());let l="",m="";function R(e,n){const r=this;this.tag=e,this.attribs=n||{},this.tagPosition=l.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(u.length){const s=u[u.length-1];s.text+=r.text}},this.updateParentNodeMediaChildren=function(){u.length&&de.includes(this.tag)&&u[u.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},H.defaults,t),t.parser=Object.assign({},me,t.parser);const P=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};fe.forEach(function(e){P(e)&&!t.allowVulnerableTags&&console.warn(`
2
2
 
3
3
  ⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently
4
4
  vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs122.js"),e=require("react"),h=require("./index.cjs123.js"),k=require("./index.cjs124.js"),E=require("./index.cjs125.js"),C=require("./index.cjs127.js"),R=require("./index.cjs189.js"),G=require("./index.cjs126.js"),w=require("./index.cjs182.js"),A=require("./index.cjs237.js"),I=require("./index.cjs238.js"),x="Radio",[D,g]=E.createContextScope(x),[F,W]=D(x),O=e.forwardRef((a,v)=>{const{__scopeRadio:t,name:l,checked:r=!1,required:c,disabled:n,value:i="on",onCheck:s,...p}=a,[f,d]=e.useState(null),u=k.useComposedRefs(v,b=>d(b)),o=e.useRef(!1),$=f?!!f.closest("form"):!0;return e.createElement(F,{scope:t,checked:r,disabled:n},e.createElement(C.Primitive.button,m({type:"button",role:"radio","aria-checked":r,"data-state":L(r),"data-disabled":n?"":void 0,disabled:n,value:i},p,{ref:u,onClick:h.composeEventHandlers(a.onClick,b=>{r||s==null||s(),$&&(o.current=b.isPropagationStopped(),o.current||b.stopPropagation())})})),$&&e.createElement(V,{control:f,bubbles:!o.current,name:l,value:i,checked:r,required:c,disabled:n,style:{transform:"translateX(-100%)"}}))}),V=a=>{const{control:v,checked:t,bubbles:l=!0,...r}=a,c=e.useRef(null),n=I.usePrevious(t),i=A.useSize(v);return e.useEffect(()=>{const s=c.current,p=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(p,"checked").set;if(n!==t&&d){const u=new Event("click",{bubbles:l});d.call(s,t),s.dispatchEvent(u)}},[n,t,l]),e.createElement("input",m({type:"radio","aria-hidden":!0,defaultChecked:t},r,{tabIndex:-1,ref:c,style:{...a.style,...i,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function L(a){return a?"checked":"unchecked"}const M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],q="RadioGroup",[K,H]=E.createContextScope(q,[R.createRovingFocusGroupScope,g]),y=R.createRovingFocusGroupScope(),B=g(),[N,T]=K(q),S=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,name:l,defaultValue:r,value:c,required:n=!1,disabled:i=!1,orientation:s,dir:p,loop:f=!0,onValueChange:d,...u}=a,o=y(t),$=w.useDirection(p),[b,_]=G.useControllableState({prop:c,defaultProp:r,onChange:d});return e.createElement(N,{scope:t,name:l,required:n,disabled:i,value:b,onValueChange:_},e.createElement(R.Root,m({asChild:!0},o,{orientation:s,dir:$,loop:f}),e.createElement(C.Primitive.div,m({role:"radiogroup","aria-required":n,"aria-orientation":s,"data-disabled":i?"":void 0,dir:$},u,{ref:v}))))}),U="RadioGroupItem",P=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,disabled:l,...r}=a,c=T(U,t),n=c.disabled||l,i=y(t),s=B(t),p=e.useRef(null),f=k.useComposedRefs(v,p),d=c.value===r.value,u=e.useRef(!1);return e.useEffect(()=>{const o=b=>{M.includes(b.key)&&(u.current=!0)},$=()=>u.current=!1;return document.addEventListener("keydown",o),document.addEventListener("keyup",$),()=>{document.removeEventListener("keydown",o),document.removeEventListener("keyup",$)}},[]),e.createElement(R.Item,m({asChild:!0},i,{focusable:!n,active:d}),e.createElement(O,m({disabled:n,required:c.required,checked:d},s,r,{name:c.name,ref:f,onCheck:()=>c.onValueChange(r.value),onKeyDown:h.composeEventHandlers(o=>{o.key==="Enter"&&o.preventDefault()}),onFocus:h.composeEventHandlers(r.onFocus,()=>{var o;u.current&&((o=p.current)===null||o===void 0||o.click())})})))}),j=S,z=P;exports.Item=z;exports.RadioGroup=S;exports.RadioGroupItem=P;exports.Root=j;exports.createRadioGroupScope=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs122.js"),e=require("react"),h=require("./index.cjs123.js"),k=require("./index.cjs124.js"),E=require("./index.cjs125.js"),C=require("./index.cjs127.js"),R=require("./index.cjs189.js"),G=require("./index.cjs126.js"),w=require("./index.cjs182.js"),A=require("./index.cjs209.js"),I=require("./index.cjs210.js"),x="Radio",[D,g]=E.createContextScope(x),[F,W]=D(x),O=e.forwardRef((a,v)=>{const{__scopeRadio:t,name:l,checked:r=!1,required:c,disabled:n,value:i="on",onCheck:s,...p}=a,[f,d]=e.useState(null),u=k.useComposedRefs(v,b=>d(b)),o=e.useRef(!1),$=f?!!f.closest("form"):!0;return e.createElement(F,{scope:t,checked:r,disabled:n},e.createElement(C.Primitive.button,m({type:"button",role:"radio","aria-checked":r,"data-state":L(r),"data-disabled":n?"":void 0,disabled:n,value:i},p,{ref:u,onClick:h.composeEventHandlers(a.onClick,b=>{r||s==null||s(),$&&(o.current=b.isPropagationStopped(),o.current||b.stopPropagation())})})),$&&e.createElement(V,{control:f,bubbles:!o.current,name:l,value:i,checked:r,required:c,disabled:n,style:{transform:"translateX(-100%)"}}))}),V=a=>{const{control:v,checked:t,bubbles:l=!0,...r}=a,c=e.useRef(null),n=I.usePrevious(t),i=A.useSize(v);return e.useEffect(()=>{const s=c.current,p=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(p,"checked").set;if(n!==t&&d){const u=new Event("click",{bubbles:l});d.call(s,t),s.dispatchEvent(u)}},[n,t,l]),e.createElement("input",m({type:"radio","aria-hidden":!0,defaultChecked:t},r,{tabIndex:-1,ref:c,style:{...a.style,...i,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function L(a){return a?"checked":"unchecked"}const M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],q="RadioGroup",[K,H]=E.createContextScope(q,[R.createRovingFocusGroupScope,g]),y=R.createRovingFocusGroupScope(),B=g(),[N,T]=K(q),S=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,name:l,defaultValue:r,value:c,required:n=!1,disabled:i=!1,orientation:s,dir:p,loop:f=!0,onValueChange:d,...u}=a,o=y(t),$=w.useDirection(p),[b,_]=G.useControllableState({prop:c,defaultProp:r,onChange:d});return e.createElement(N,{scope:t,name:l,required:n,disabled:i,value:b,onValueChange:_},e.createElement(R.Root,m({asChild:!0},o,{orientation:s,dir:$,loop:f}),e.createElement(C.Primitive.div,m({role:"radiogroup","aria-required":n,"aria-orientation":s,"data-disabled":i?"":void 0,dir:$},u,{ref:v}))))}),U="RadioGroupItem",P=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,disabled:l,...r}=a,c=T(U,t),n=c.disabled||l,i=y(t),s=B(t),p=e.useRef(null),f=k.useComposedRefs(v,p),d=c.value===r.value,u=e.useRef(!1);return e.useEffect(()=>{const o=b=>{M.includes(b.key)&&(u.current=!0)},$=()=>u.current=!1;return document.addEventListener("keydown",o),document.addEventListener("keyup",$),()=>{document.removeEventListener("keydown",o),document.removeEventListener("keyup",$)}},[]),e.createElement(R.Item,m({asChild:!0},i,{focusable:!n,active:d}),e.createElement(O,m({disabled:n,required:c.required,checked:d},s,r,{name:c.name,ref:f,onCheck:()=>c.onValueChange(r.value),onKeyDown:h.composeEventHandlers(o=>{o.key==="Enter"&&o.preventDefault()}),onFocus:h.composeEventHandlers(r.onFocus,()=>{var o;u.current&&((o=p.current)===null||o===void 0||o.click())})})))}),j=S,z=P;exports.Item=z;exports.RadioGroup=S;exports.RadioGroupItem=P;exports.Root=j;exports.createRadioGroupScope=H;
2
2
  //# sourceMappingURL=index.cjs137.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs229.js"),r=require("./index.cjs230.js"),t=require("./index.cjs231.js"),s=require("./index.cjs232.js"),o=e.parser.parse,n=r.compiler.compile,c=t.segmenter.segment,i=s.hls;var l={parse:o,compile:n,segment:c,hls:i};exports.nodeWebvtt=l;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs201.js"),r=require("./index.cjs202.js"),t=require("./index.cjs203.js"),s=require("./index.cjs204.js"),o=e.parser.parse,n=r.compiler.compile,c=t.segmenter.segment,i=s.hls;var l={parse:o,compile:n,segment:c,hls:i};exports.nodeWebvtt=l;
2
2
  //# sourceMappingURL=index.cjs138.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs122.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs239.js"),T=require("./index.cjs123.js"),Ve=require("./index.cjs181.js"),k=require("./index.cjs124.js"),Be=require("./index.cjs125.js"),qe=require("./index.cjs182.js"),We=require("./index.cjs183.js"),Fe=require("./index.cjs184.js"),Ke=require("./index.cjs185.js"),he=require("./index.cjs129.js"),ne=require("./index.cjs186.js"),Ue=require("./index.cjs187.js"),H=require("./index.cjs127.js"),Ge=require("./index.cjs180.js"),ze=require("./index.cjs179.js"),we=require("./index.cjs126.js"),K=require("./index.cjs191.js"),je=require("./index.cjs238.js"),Ye=require("./index.cjs240.js"),Xe=require("./index.cjs177.js"),Ze=require("./index.cjs190.js"),Je=[" ","Enter","ArrowUp","ArrowDown"],Qe=[" ","Enter"],le="Select",[ae,ie,et]=Ve.createCollection(le),[Q,tt]=Be.createContextScope(le,[et,ne.createPopperScope]),$e=ne.createPopperScope(),[ot,z]=Q(le),[nt,ct]=Q(le),Ie=n=>{const{__scopeSelect:d,children:t,open:l,defaultOpen:s,onOpenChange:u,value:c,defaultValue:o,onValueChange:r,dir:a,name:v,autoComplete:E,disabled:P,required:b}=n,p=$e(d),[g,x]=e.useState(null),[m,i]=e.useState(null),[h,ee]=e.useState(!1),D=qe.useDirection(a),[te=!1,_]=we.useControllableState({prop:l,defaultProp:s,onChange:u}),[O,U]=we.useControllableState({prop:c,defaultProp:o,onChange:r}),Y=e.useRef(null),G=g?!!g.closest("form"):!0,[L,q]=e.useState(new Set),W=Array.from(L).map(I=>I.props.value).join(";");return e.createElement(ne.Root,p,e.createElement(ot,{required:b,scope:d,trigger:g,onTriggerChange:x,valueNode:m,onValueNodeChange:i,valueNodeHasChildren:h,onValueNodeHasChildrenChange:ee,contentId:he.useId(),value:O,onValueChange:U,open:te,onOpenChange:_,dir:D,triggerPointerDownPosRef:Y,disabled:P},e.createElement(ae.Provider,{scope:d},e.createElement(nt,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(I=>{q(A=>new Set(A).add(I))},[]),onNativeOptionRemove:e.useCallback(I=>{q(A=>{const V=new Set(A);return V.delete(I),V})},[])},t)),G?e.createElement(Le,{key:W,"aria-hidden":!0,required:b,tabIndex:-1,name:v,autoComplete:E,value:O,onChange:I=>U(I.target.value),disabled:P},O===void 0?e.createElement("option",{value:""}):null,Array.from(L)):null))},rt="SelectTrigger",Te=e.forwardRef((n,d)=>{const{__scopeSelect:t,disabled:l=!1,...s}=n,u=$e(t),c=z(rt,t),o=c.disabled||l,r=k.useComposedRefs(d,c.onTriggerChange),a=ie(t),[v,E,P]=Ae(p=>{const g=a().filter(i=>!i.disabled),x=g.find(i=>i.value===c.value),m=ke(g,p,x);m!==void 0&&c.onValueChange(m.value)}),b=()=>{o||(c.onOpenChange(!0),P())};return e.createElement(ne.Anchor,y({asChild:!0},u),e.createElement(H.Primitive.button,y({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":He(c.value)?"":void 0},s,{ref:r,onClick:T.composeEventHandlers(s.onClick,p=>{p.currentTarget.focus()}),onPointerDown:T.composeEventHandlers(s.onPointerDown,p=>{const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(b(),c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:T.composeEventHandlers(s.onKeyDown,p=>{const g=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&E(p.key),!(g&&p.key===" ")&&Je.includes(p.key)&&(b(),p.preventDefault())})})))}),st="SelectValue",lt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,children:u,placeholder:c="",...o}=n,r=z(st,t),{onValueNodeHasChildrenChange:a}=r,v=u!==void 0,E=k.useComposedRefs(d,r.onValueNodeChange);return K.useLayoutEffect(()=>{a(v)},[a,v]),e.createElement(H.Primitive.span,y({},o,{ref:E,style:{pointerEvents:"none"}}),He(r.value)?e.createElement(e.Fragment,null,c):u)}),at=e.forwardRef((n,d)=>{const{__scopeSelect:t,children:l,...s}=n;return e.createElement(H.Primitive.span,y({"aria-hidden":!0},s,{ref:d}),l||"▼")}),it=n=>e.createElement(Ue.Portal,y({asChild:!0},n)),J="SelectContent",_e=e.forwardRef((n,d)=>{const t=z(J,n.__scopeSelect),[l,s]=e.useState();if(K.useLayoutEffect(()=>{s(new DocumentFragment)},[]),!t.open){const u=l;return u?Pe.createPortal(e.createElement(Re,{scope:n.__scopeSelect},e.createElement(ae.Slot,{scope:n.__scopeSelect},e.createElement("div",null,n.children))),u):null}return e.createElement(dt,y({},n,{ref:d}))}),B=10,[Re,j]=Q(J),dt=e.forwardRef((n,d)=>{const{__scopeSelect:t,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x,...m}=n,i=z(J,t),[h,ee]=e.useState(null),[D,te]=e.useState(null),_=k.useComposedRefs(d,f=>ee(f)),[O,U]=e.useState(null),[Y,G]=e.useState(null),L=ie(t),[q,W]=e.useState(!1),I=e.useRef(!1);e.useEffect(()=>{if(h)return Xe.hideOthers(h)},[h]),Fe.useFocusGuards();const A=e.useCallback(f=>{const[w,...R]=L().map(S=>S.ref.current),[C]=R.slice(-1),$=document.activeElement;for(const S of f)if(S===$||(S==null||S.scrollIntoView({block:"nearest"}),S===w&&D&&(D.scrollTop=0),S===C&&D&&(D.scrollTop=D.scrollHeight),S==null||S.focus(),document.activeElement!==$))return},[L,D]),V=e.useCallback(()=>A([O,h]),[A,O,h]);e.useEffect(()=>{q&&V()},[q,V]);const{onOpenChange:X,triggerPointerDownPosRef:F}=i;e.useEffect(()=>{if(h){let f={x:0,y:0};const w=C=>{var $,S,N,M;f={x:Math.abs(Math.round(C.pageX)-(($=(S=F.current)===null||S===void 0?void 0:S.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(C.pageY)-((N=(M=F.current)===null||M===void 0?void 0:M.y)!==null&&N!==void 0?N:0))}},R=C=>{f.x<=10&&f.y<=10?C.preventDefault():h.contains(C.target)||X(!1),document.removeEventListener("pointermove",w),F.current=null};return F.current!==null&&(document.addEventListener("pointermove",w),document.addEventListener("pointerup",R,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",R,{capture:!0})}}},[h,X,F]),e.useEffect(()=>{const f=()=>X(!1);return window.addEventListener("blur",f),window.addEventListener("resize",f),()=>{window.removeEventListener("blur",f),window.removeEventListener("resize",f)}},[X]);const[de,ce]=Ae(f=>{const w=L().filter($=>!$.disabled),R=w.find($=>$.ref.current===document.activeElement),C=ke(w,f,R);C&&setTimeout(()=>C.ref.current.focus())}),ue=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&(U(f),C&&(I.current=!0))},[i.value]),fe=e.useCallback(()=>h==null?void 0:h.focus(),[h]),Z=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&G(f)},[i.value]),re=l==="popper"?Ce:ut,oe=re===Ce?{side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x}:{};return e.createElement(Re,{scope:t,content:h,viewport:D,onViewportChange:te,itemRefCallback:ue,selectedItem:O,onItemLeave:fe,itemTextRefCallback:Z,focusSelectedItem:V,selectedItemText:Y,position:l,isPositioned:q,searchRef:de},e.createElement(Ze,{as:Ge.Slot,allowPinchZoom:!0},e.createElement(Ke.FocusScope,{asChild:!0,trapped:i.open,onMountAutoFocus:f=>{f.preventDefault()},onUnmountAutoFocus:T.composeEventHandlers(s,f=>{var w;(w=i.trigger)===null||w===void 0||w.focus({preventScroll:!0}),f.preventDefault()})},e.createElement(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f=>f.preventDefault(),onDismiss:()=>i.onOpenChange(!1)},e.createElement(re,y({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:f=>f.preventDefault()},m,oe,{onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...m.style},onKeyDown:T.composeEventHandlers(m.onKeyDown,f=>{const w=f.ctrlKey||f.altKey||f.metaKey;if(f.key==="Tab"&&f.preventDefault(),!w&&f.key.length===1&&ce(f.key),["ArrowUp","ArrowDown","Home","End"].includes(f.key)){let C=L().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(f.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(f.key)){const $=f.target,S=C.indexOf($);C=C.slice(S+1)}setTimeout(()=>A(C)),f.preventDefault()}})}))))))}),ut=e.forwardRef((n,d)=>{const{__scopeSelect:t,onPlaced:l,...s}=n,u=z(J,t),c=j(J,t),[o,r]=e.useState(null),[a,v]=e.useState(null),E=k.useComposedRefs(d,_=>v(_)),P=ie(t),b=e.useRef(!1),p=e.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:m,focusSelectedItem:i}=c,h=e.useCallback(()=>{if(u.trigger&&u.valueNode&&o&&a&&g&&x&&m){const _=u.trigger.getBoundingClientRect(),O=a.getBoundingClientRect(),U=u.valueNode.getBoundingClientRect(),Y=m.getBoundingClientRect();if(u.dir!=="rtl"){const $=Y.left-O.left,S=U.left-$,N=_.left-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.left=ve+"px"}else{const $=O.right-Y.right,S=window.innerWidth-U.right-$,N=window.innerWidth-_.right-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.right=ve+"px"}const G=P(),L=window.innerHeight-B*2,q=g.scrollHeight,W=window.getComputedStyle(a),I=parseInt(W.borderTopWidth,10),A=parseInt(W.paddingTop,10),V=parseInt(W.borderBottomWidth,10),X=parseInt(W.paddingBottom,10),F=I+A+q+X+V,de=Math.min(x.offsetHeight*5,F),ce=window.getComputedStyle(g),ue=parseInt(ce.paddingTop,10),fe=parseInt(ce.paddingBottom,10),Z=_.top+_.height/2-B,re=L-Z,oe=x.offsetHeight/2,f=x.offsetTop+oe,w=I+A+f,R=F-w;if(w<=Z){const $=x===G[G.length-1].ref.current;o.style.bottom="0px";const S=a.clientHeight-g.offsetTop-g.offsetHeight,N=Math.max(re,oe+($?fe:0)+S+V),M=w+N;o.style.height=M+"px"}else{const $=x===G[0].ref.current;o.style.top="0px";const N=Math.max(Z,I+g.offsetTop+($?ue:0)+oe)+R;o.style.height=N+"px",g.scrollTop=w-Z+g.offsetTop}o.style.margin=`${B}px 0`,o.style.minHeight=de+"px",o.style.maxHeight=L+"px",l==null||l(),requestAnimationFrame(()=>b.current=!0)}},[P,u.trigger,u.valueNode,o,a,g,x,m,u.dir,l]);K.useLayoutEffect(()=>h(),[h]);const[ee,D]=e.useState();K.useLayoutEffect(()=>{a&&D(window.getComputedStyle(a).zIndex)},[a]);const te=e.useCallback(_=>{_&&p.current===!0&&(h(),i==null||i(),p.current=!1)},[h,i]);return e.createElement(ft,{scope:t,contentWrapper:o,shouldExpandOnScrollRef:b,onScrollButtonChange:te},e.createElement("div",{ref:r,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:ee}},e.createElement(H.Primitive.div,y({},s,{ref:E,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}}))))}),Ce=e.forwardRef((n,d)=>{const{__scopeSelect:t,align:l="start",collisionPadding:s=B,...u}=n,c=$e(t);return e.createElement(ne.Content,y({},c,u,{ref:d,align:l,collisionPadding:s,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[ft,Se]=Q(J,{}),Ee="SelectViewport",pt=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=j(Ee,t),u=Se(Ee,t),c=k.useComposedRefs(d,s.onViewportChange),o=e.useRef(0);return e.createElement(e.Fragment,null,e.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),e.createElement(ae.Slot,{scope:t},e.createElement(H.Primitive.div,y({"data-radix-select-viewport":"",role:"presentation"},l,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...l.style},onScroll:T.composeEventHandlers(l.onScroll,r=>{const a=r.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:E}=u;if(E!=null&&E.current&&v){const P=Math.abs(o.current-a.scrollTop);if(P>0){const b=window.innerHeight-B*2,p=parseFloat(v.style.minHeight),g=parseFloat(v.style.height),x=Math.max(p,g);if(x<b){const m=x+P,i=Math.min(b,m),h=m-i;v.style.height=i+"px",v.style.bottom==="0px"&&(a.scrollTop=h>0?h:0,v.style.justifyContent="flex-end")}}}o.current=a.scrollTop})}))))}),mt="SelectGroup",[vt,gt]=Q(mt),ht=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=he.useId();return e.createElement(vt,{scope:t,id:s},e.createElement(H.Primitive.div,y({role:"group","aria-labelledby":s},l,{ref:d})))}),$t="SelectLabel",Oe=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=gt($t,t);return e.createElement(H.Primitive.div,y({id:s.id},l,{ref:d}))}),ge="SelectItem",[St,De]=Q(ge),Ne=e.forwardRef((n,d)=>{const{__scopeSelect:t,value:l,disabled:s=!1,textValue:u,...c}=n,o=z(ge,t),r=j(ge,t),a=o.value===l,[v,E]=e.useState(u??""),[P,b]=e.useState(!1),p=k.useComposedRefs(d,m=>{var i;return(i=r.itemRefCallback)===null||i===void 0?void 0:i.call(r,m,l,s)}),g=he.useId(),x=()=>{s||(o.onValueChange(l),o.onOpenChange(!1))};if(l==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.createElement(St,{scope:t,value:l,disabled:s,textId:g,isSelected:a,onItemTextChange:e.useCallback(m=>{E(i=>{var h;return i||((h=m==null?void 0:m.textContent)!==null&&h!==void 0?h:"").trim()})},[])},e.createElement(ae.ItemSlot,{scope:t,value:l,disabled:s,textValue:v},e.createElement(H.Primitive.div,y({role:"option","aria-labelledby":g,"data-highlighted":P?"":void 0,"aria-selected":a&&P,"data-state":a?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},c,{ref:p,onFocus:T.composeEventHandlers(c.onFocus,()=>b(!0)),onBlur:T.composeEventHandlers(c.onBlur,()=>b(!1)),onPointerUp:T.composeEventHandlers(c.onPointerUp,x),onPointerMove:T.composeEventHandlers(c.onPointerMove,m=>{if(s){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}else m.currentTarget.focus({preventScroll:!0})}),onPointerLeave:T.composeEventHandlers(c.onPointerLeave,m=>{if(m.currentTarget===document.activeElement){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}}),onKeyDown:T.composeEventHandlers(c.onKeyDown,m=>{var i;((i=r.searchRef)===null||i===void 0?void 0:i.current)!==""&&m.key===" "||(Qe.includes(m.key)&&x(),m.key===" "&&m.preventDefault())})}))))}),se="SelectItemText",xt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,...u}=n,c=z(se,t),o=j(se,t),r=De(se,t),a=ct(se,t),[v,E]=e.useState(null),P=k.useComposedRefs(d,m=>E(m),r.onItemTextChange,m=>{var i;return(i=o.itemTextRefCallback)===null||i===void 0?void 0:i.call(o,m,r.value,r.disabled)}),b=v==null?void 0:v.textContent,p=e.useMemo(()=>e.createElement("option",{key:r.value,value:r.value,disabled:r.disabled},b),[r.disabled,r.value,b]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=a;return K.useLayoutEffect(()=>(g(p),()=>x(p)),[g,x,p]),e.createElement(e.Fragment,null,e.createElement(H.Primitive.span,y({id:r.textId},u,{ref:P})),r.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Pe.createPortal(u.children,c.valueNode):null)}),wt="SelectItemIndicator",Ct=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n;return De(wt,t).isSelected?e.createElement(H.Primitive.span,y({"aria-hidden":!0},l,{ref:d})):null}),be="SelectScrollUpButton",Et=e.forwardRef((n,d)=>{const t=j(be,n.__scopeSelect),l=Se(be,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollTop>0;u(a)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop-r.offsetHeight)}})):null}),ye="SelectScrollDownButton",bt=e.forwardRef((n,d)=>{const t=j(ye,n.__scopeSelect),l=Se(ye,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollHeight-o.clientHeight,v=Math.ceil(o.scrollTop)<a;u(v)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop+r.offsetHeight)}})):null}),Me=e.forwardRef((n,d)=>{const{__scopeSelect:t,onAutoScroll:l,...s}=n,u=j("SelectScrollButton",t),c=e.useRef(null),o=ie(t),r=e.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>r(),[r]),K.useLayoutEffect(()=>{var a;const v=o().find(E=>E.ref.current===document.activeElement);v==null||(a=v.ref.current)===null||a===void 0||a.scrollIntoView({block:"nearest"})},[o]),e.createElement(H.Primitive.div,y({"aria-hidden":!0},s,{ref:d,style:{flexShrink:0,...s.style},onPointerDown:T.composeEventHandlers(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(l,50))}),onPointerMove:T.composeEventHandlers(s.onPointerMove,()=>{var a;(a=u.onItemLeave)===null||a===void 0||a.call(u),c.current===null&&(c.current=window.setInterval(l,50))}),onPointerLeave:T.composeEventHandlers(s.onPointerLeave,()=>{r()})}))});function He(n){return n===""||n===void 0}const Le=e.forwardRef((n,d)=>{const{value:t,...l}=n,s=e.useRef(null),u=k.useComposedRefs(d,s),c=je.usePrevious(t);return e.useEffect(()=>{const o=s.current,r=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(r,"value").set;if(c!==t&&v){const E=new Event("change",{bubbles:!0});v.call(o,t),o.dispatchEvent(E)}},[c,t]),e.createElement(Ye.VisuallyHidden,{asChild:!0},e.createElement("select",y({},l,{ref:u,defaultValue:t})))});Le.displayName="BubbleSelect";function Ae(n){const d=ze.useCallbackRef(n),t=e.useRef(""),l=e.useRef(0),s=e.useCallback(c=>{const o=t.current+c;d(o),function r(a){t.current=a,window.clearTimeout(l.current),a!==""&&(l.current=window.setTimeout(()=>r(""),1e3))}(o)},[d]),u=e.useCallback(()=>{t.current="",window.clearTimeout(l.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(l.current),[]),[t,s,u]}function ke(n,d,t){const s=d.length>1&&Array.from(d).every(a=>a===d[0])?d[0]:d,u=t?n.indexOf(t):-1;let c=yt(n,Math.max(u,0));s.length===1&&(c=c.filter(a=>a!==t));const r=c.find(a=>a.textValue.toLowerCase().startsWith(s.toLowerCase()));return r!==t?r:void 0}function yt(n,d){return n.map((t,l)=>n[(d+l)%n.length])}const Pt=Ie,It=Te,Tt=_e,_t=Oe,Rt=Ne;exports.Content=Tt;exports.Item=Rt;exports.Label=_t;exports.Root=Pt;exports.Select=Ie;exports.SelectContent=_e;exports.SelectGroup=ht;exports.SelectIcon=at;exports.SelectItem=Ne;exports.SelectItemIndicator=Ct;exports.SelectItemText=xt;exports.SelectLabel=Oe;exports.SelectPortal=it;exports.SelectScrollDownButton=bt;exports.SelectScrollUpButton=Et;exports.SelectTrigger=Te;exports.SelectValue=lt;exports.SelectViewport=pt;exports.Trigger=It;exports.createSelectScope=tt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs122.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs211.js"),T=require("./index.cjs123.js"),Ve=require("./index.cjs181.js"),k=require("./index.cjs124.js"),Be=require("./index.cjs125.js"),qe=require("./index.cjs182.js"),We=require("./index.cjs183.js"),Fe=require("./index.cjs184.js"),Ke=require("./index.cjs185.js"),he=require("./index.cjs129.js"),ne=require("./index.cjs186.js"),Ue=require("./index.cjs187.js"),H=require("./index.cjs127.js"),Ge=require("./index.cjs180.js"),ze=require("./index.cjs179.js"),we=require("./index.cjs126.js"),K=require("./index.cjs191.js"),je=require("./index.cjs210.js"),Ye=require("./index.cjs212.js"),Xe=require("./index.cjs177.js"),Ze=require("./index.cjs190.js"),Je=[" ","Enter","ArrowUp","ArrowDown"],Qe=[" ","Enter"],le="Select",[ae,ie,et]=Ve.createCollection(le),[Q,tt]=Be.createContextScope(le,[et,ne.createPopperScope]),$e=ne.createPopperScope(),[ot,z]=Q(le),[nt,ct]=Q(le),Ie=n=>{const{__scopeSelect:d,children:t,open:l,defaultOpen:s,onOpenChange:u,value:c,defaultValue:o,onValueChange:r,dir:a,name:v,autoComplete:E,disabled:P,required:b}=n,p=$e(d),[g,x]=e.useState(null),[m,i]=e.useState(null),[h,ee]=e.useState(!1),D=qe.useDirection(a),[te=!1,_]=we.useControllableState({prop:l,defaultProp:s,onChange:u}),[O,U]=we.useControllableState({prop:c,defaultProp:o,onChange:r}),Y=e.useRef(null),G=g?!!g.closest("form"):!0,[L,q]=e.useState(new Set),W=Array.from(L).map(I=>I.props.value).join(";");return e.createElement(ne.Root,p,e.createElement(ot,{required:b,scope:d,trigger:g,onTriggerChange:x,valueNode:m,onValueNodeChange:i,valueNodeHasChildren:h,onValueNodeHasChildrenChange:ee,contentId:he.useId(),value:O,onValueChange:U,open:te,onOpenChange:_,dir:D,triggerPointerDownPosRef:Y,disabled:P},e.createElement(ae.Provider,{scope:d},e.createElement(nt,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(I=>{q(A=>new Set(A).add(I))},[]),onNativeOptionRemove:e.useCallback(I=>{q(A=>{const V=new Set(A);return V.delete(I),V})},[])},t)),G?e.createElement(Le,{key:W,"aria-hidden":!0,required:b,tabIndex:-1,name:v,autoComplete:E,value:O,onChange:I=>U(I.target.value),disabled:P},O===void 0?e.createElement("option",{value:""}):null,Array.from(L)):null))},rt="SelectTrigger",Te=e.forwardRef((n,d)=>{const{__scopeSelect:t,disabled:l=!1,...s}=n,u=$e(t),c=z(rt,t),o=c.disabled||l,r=k.useComposedRefs(d,c.onTriggerChange),a=ie(t),[v,E,P]=Ae(p=>{const g=a().filter(i=>!i.disabled),x=g.find(i=>i.value===c.value),m=ke(g,p,x);m!==void 0&&c.onValueChange(m.value)}),b=()=>{o||(c.onOpenChange(!0),P())};return e.createElement(ne.Anchor,y({asChild:!0},u),e.createElement(H.Primitive.button,y({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":He(c.value)?"":void 0},s,{ref:r,onClick:T.composeEventHandlers(s.onClick,p=>{p.currentTarget.focus()}),onPointerDown:T.composeEventHandlers(s.onPointerDown,p=>{const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(b(),c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:T.composeEventHandlers(s.onKeyDown,p=>{const g=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&E(p.key),!(g&&p.key===" ")&&Je.includes(p.key)&&(b(),p.preventDefault())})})))}),st="SelectValue",lt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,children:u,placeholder:c="",...o}=n,r=z(st,t),{onValueNodeHasChildrenChange:a}=r,v=u!==void 0,E=k.useComposedRefs(d,r.onValueNodeChange);return K.useLayoutEffect(()=>{a(v)},[a,v]),e.createElement(H.Primitive.span,y({},o,{ref:E,style:{pointerEvents:"none"}}),He(r.value)?e.createElement(e.Fragment,null,c):u)}),at=e.forwardRef((n,d)=>{const{__scopeSelect:t,children:l,...s}=n;return e.createElement(H.Primitive.span,y({"aria-hidden":!0},s,{ref:d}),l||"▼")}),it=n=>e.createElement(Ue.Portal,y({asChild:!0},n)),J="SelectContent",_e=e.forwardRef((n,d)=>{const t=z(J,n.__scopeSelect),[l,s]=e.useState();if(K.useLayoutEffect(()=>{s(new DocumentFragment)},[]),!t.open){const u=l;return u?Pe.createPortal(e.createElement(Re,{scope:n.__scopeSelect},e.createElement(ae.Slot,{scope:n.__scopeSelect},e.createElement("div",null,n.children))),u):null}return e.createElement(dt,y({},n,{ref:d}))}),B=10,[Re,j]=Q(J),dt=e.forwardRef((n,d)=>{const{__scopeSelect:t,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x,...m}=n,i=z(J,t),[h,ee]=e.useState(null),[D,te]=e.useState(null),_=k.useComposedRefs(d,f=>ee(f)),[O,U]=e.useState(null),[Y,G]=e.useState(null),L=ie(t),[q,W]=e.useState(!1),I=e.useRef(!1);e.useEffect(()=>{if(h)return Xe.hideOthers(h)},[h]),Fe.useFocusGuards();const A=e.useCallback(f=>{const[w,...R]=L().map(S=>S.ref.current),[C]=R.slice(-1),$=document.activeElement;for(const S of f)if(S===$||(S==null||S.scrollIntoView({block:"nearest"}),S===w&&D&&(D.scrollTop=0),S===C&&D&&(D.scrollTop=D.scrollHeight),S==null||S.focus(),document.activeElement!==$))return},[L,D]),V=e.useCallback(()=>A([O,h]),[A,O,h]);e.useEffect(()=>{q&&V()},[q,V]);const{onOpenChange:X,triggerPointerDownPosRef:F}=i;e.useEffect(()=>{if(h){let f={x:0,y:0};const w=C=>{var $,S,N,M;f={x:Math.abs(Math.round(C.pageX)-(($=(S=F.current)===null||S===void 0?void 0:S.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(C.pageY)-((N=(M=F.current)===null||M===void 0?void 0:M.y)!==null&&N!==void 0?N:0))}},R=C=>{f.x<=10&&f.y<=10?C.preventDefault():h.contains(C.target)||X(!1),document.removeEventListener("pointermove",w),F.current=null};return F.current!==null&&(document.addEventListener("pointermove",w),document.addEventListener("pointerup",R,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",R,{capture:!0})}}},[h,X,F]),e.useEffect(()=>{const f=()=>X(!1);return window.addEventListener("blur",f),window.addEventListener("resize",f),()=>{window.removeEventListener("blur",f),window.removeEventListener("resize",f)}},[X]);const[de,ce]=Ae(f=>{const w=L().filter($=>!$.disabled),R=w.find($=>$.ref.current===document.activeElement),C=ke(w,f,R);C&&setTimeout(()=>C.ref.current.focus())}),ue=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&(U(f),C&&(I.current=!0))},[i.value]),fe=e.useCallback(()=>h==null?void 0:h.focus(),[h]),Z=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&G(f)},[i.value]),re=l==="popper"?Ce:ut,oe=re===Ce?{side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x}:{};return e.createElement(Re,{scope:t,content:h,viewport:D,onViewportChange:te,itemRefCallback:ue,selectedItem:O,onItemLeave:fe,itemTextRefCallback:Z,focusSelectedItem:V,selectedItemText:Y,position:l,isPositioned:q,searchRef:de},e.createElement(Ze,{as:Ge.Slot,allowPinchZoom:!0},e.createElement(Ke.FocusScope,{asChild:!0,trapped:i.open,onMountAutoFocus:f=>{f.preventDefault()},onUnmountAutoFocus:T.composeEventHandlers(s,f=>{var w;(w=i.trigger)===null||w===void 0||w.focus({preventScroll:!0}),f.preventDefault()})},e.createElement(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f=>f.preventDefault(),onDismiss:()=>i.onOpenChange(!1)},e.createElement(re,y({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:f=>f.preventDefault()},m,oe,{onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...m.style},onKeyDown:T.composeEventHandlers(m.onKeyDown,f=>{const w=f.ctrlKey||f.altKey||f.metaKey;if(f.key==="Tab"&&f.preventDefault(),!w&&f.key.length===1&&ce(f.key),["ArrowUp","ArrowDown","Home","End"].includes(f.key)){let C=L().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(f.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(f.key)){const $=f.target,S=C.indexOf($);C=C.slice(S+1)}setTimeout(()=>A(C)),f.preventDefault()}})}))))))}),ut=e.forwardRef((n,d)=>{const{__scopeSelect:t,onPlaced:l,...s}=n,u=z(J,t),c=j(J,t),[o,r]=e.useState(null),[a,v]=e.useState(null),E=k.useComposedRefs(d,_=>v(_)),P=ie(t),b=e.useRef(!1),p=e.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:m,focusSelectedItem:i}=c,h=e.useCallback(()=>{if(u.trigger&&u.valueNode&&o&&a&&g&&x&&m){const _=u.trigger.getBoundingClientRect(),O=a.getBoundingClientRect(),U=u.valueNode.getBoundingClientRect(),Y=m.getBoundingClientRect();if(u.dir!=="rtl"){const $=Y.left-O.left,S=U.left-$,N=_.left-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.left=ve+"px"}else{const $=O.right-Y.right,S=window.innerWidth-U.right-$,N=window.innerWidth-_.right-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.right=ve+"px"}const G=P(),L=window.innerHeight-B*2,q=g.scrollHeight,W=window.getComputedStyle(a),I=parseInt(W.borderTopWidth,10),A=parseInt(W.paddingTop,10),V=parseInt(W.borderBottomWidth,10),X=parseInt(W.paddingBottom,10),F=I+A+q+X+V,de=Math.min(x.offsetHeight*5,F),ce=window.getComputedStyle(g),ue=parseInt(ce.paddingTop,10),fe=parseInt(ce.paddingBottom,10),Z=_.top+_.height/2-B,re=L-Z,oe=x.offsetHeight/2,f=x.offsetTop+oe,w=I+A+f,R=F-w;if(w<=Z){const $=x===G[G.length-1].ref.current;o.style.bottom="0px";const S=a.clientHeight-g.offsetTop-g.offsetHeight,N=Math.max(re,oe+($?fe:0)+S+V),M=w+N;o.style.height=M+"px"}else{const $=x===G[0].ref.current;o.style.top="0px";const N=Math.max(Z,I+g.offsetTop+($?ue:0)+oe)+R;o.style.height=N+"px",g.scrollTop=w-Z+g.offsetTop}o.style.margin=`${B}px 0`,o.style.minHeight=de+"px",o.style.maxHeight=L+"px",l==null||l(),requestAnimationFrame(()=>b.current=!0)}},[P,u.trigger,u.valueNode,o,a,g,x,m,u.dir,l]);K.useLayoutEffect(()=>h(),[h]);const[ee,D]=e.useState();K.useLayoutEffect(()=>{a&&D(window.getComputedStyle(a).zIndex)},[a]);const te=e.useCallback(_=>{_&&p.current===!0&&(h(),i==null||i(),p.current=!1)},[h,i]);return e.createElement(ft,{scope:t,contentWrapper:o,shouldExpandOnScrollRef:b,onScrollButtonChange:te},e.createElement("div",{ref:r,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:ee}},e.createElement(H.Primitive.div,y({},s,{ref:E,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}}))))}),Ce=e.forwardRef((n,d)=>{const{__scopeSelect:t,align:l="start",collisionPadding:s=B,...u}=n,c=$e(t);return e.createElement(ne.Content,y({},c,u,{ref:d,align:l,collisionPadding:s,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[ft,Se]=Q(J,{}),Ee="SelectViewport",pt=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=j(Ee,t),u=Se(Ee,t),c=k.useComposedRefs(d,s.onViewportChange),o=e.useRef(0);return e.createElement(e.Fragment,null,e.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),e.createElement(ae.Slot,{scope:t},e.createElement(H.Primitive.div,y({"data-radix-select-viewport":"",role:"presentation"},l,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...l.style},onScroll:T.composeEventHandlers(l.onScroll,r=>{const a=r.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:E}=u;if(E!=null&&E.current&&v){const P=Math.abs(o.current-a.scrollTop);if(P>0){const b=window.innerHeight-B*2,p=parseFloat(v.style.minHeight),g=parseFloat(v.style.height),x=Math.max(p,g);if(x<b){const m=x+P,i=Math.min(b,m),h=m-i;v.style.height=i+"px",v.style.bottom==="0px"&&(a.scrollTop=h>0?h:0,v.style.justifyContent="flex-end")}}}o.current=a.scrollTop})}))))}),mt="SelectGroup",[vt,gt]=Q(mt),ht=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=he.useId();return e.createElement(vt,{scope:t,id:s},e.createElement(H.Primitive.div,y({role:"group","aria-labelledby":s},l,{ref:d})))}),$t="SelectLabel",Oe=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=gt($t,t);return e.createElement(H.Primitive.div,y({id:s.id},l,{ref:d}))}),ge="SelectItem",[St,De]=Q(ge),Ne=e.forwardRef((n,d)=>{const{__scopeSelect:t,value:l,disabled:s=!1,textValue:u,...c}=n,o=z(ge,t),r=j(ge,t),a=o.value===l,[v,E]=e.useState(u??""),[P,b]=e.useState(!1),p=k.useComposedRefs(d,m=>{var i;return(i=r.itemRefCallback)===null||i===void 0?void 0:i.call(r,m,l,s)}),g=he.useId(),x=()=>{s||(o.onValueChange(l),o.onOpenChange(!1))};if(l==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.createElement(St,{scope:t,value:l,disabled:s,textId:g,isSelected:a,onItemTextChange:e.useCallback(m=>{E(i=>{var h;return i||((h=m==null?void 0:m.textContent)!==null&&h!==void 0?h:"").trim()})},[])},e.createElement(ae.ItemSlot,{scope:t,value:l,disabled:s,textValue:v},e.createElement(H.Primitive.div,y({role:"option","aria-labelledby":g,"data-highlighted":P?"":void 0,"aria-selected":a&&P,"data-state":a?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},c,{ref:p,onFocus:T.composeEventHandlers(c.onFocus,()=>b(!0)),onBlur:T.composeEventHandlers(c.onBlur,()=>b(!1)),onPointerUp:T.composeEventHandlers(c.onPointerUp,x),onPointerMove:T.composeEventHandlers(c.onPointerMove,m=>{if(s){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}else m.currentTarget.focus({preventScroll:!0})}),onPointerLeave:T.composeEventHandlers(c.onPointerLeave,m=>{if(m.currentTarget===document.activeElement){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}}),onKeyDown:T.composeEventHandlers(c.onKeyDown,m=>{var i;((i=r.searchRef)===null||i===void 0?void 0:i.current)!==""&&m.key===" "||(Qe.includes(m.key)&&x(),m.key===" "&&m.preventDefault())})}))))}),se="SelectItemText",xt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,...u}=n,c=z(se,t),o=j(se,t),r=De(se,t),a=ct(se,t),[v,E]=e.useState(null),P=k.useComposedRefs(d,m=>E(m),r.onItemTextChange,m=>{var i;return(i=o.itemTextRefCallback)===null||i===void 0?void 0:i.call(o,m,r.value,r.disabled)}),b=v==null?void 0:v.textContent,p=e.useMemo(()=>e.createElement("option",{key:r.value,value:r.value,disabled:r.disabled},b),[r.disabled,r.value,b]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=a;return K.useLayoutEffect(()=>(g(p),()=>x(p)),[g,x,p]),e.createElement(e.Fragment,null,e.createElement(H.Primitive.span,y({id:r.textId},u,{ref:P})),r.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Pe.createPortal(u.children,c.valueNode):null)}),wt="SelectItemIndicator",Ct=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n;return De(wt,t).isSelected?e.createElement(H.Primitive.span,y({"aria-hidden":!0},l,{ref:d})):null}),be="SelectScrollUpButton",Et=e.forwardRef((n,d)=>{const t=j(be,n.__scopeSelect),l=Se(be,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollTop>0;u(a)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop-r.offsetHeight)}})):null}),ye="SelectScrollDownButton",bt=e.forwardRef((n,d)=>{const t=j(ye,n.__scopeSelect),l=Se(ye,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollHeight-o.clientHeight,v=Math.ceil(o.scrollTop)<a;u(v)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop+r.offsetHeight)}})):null}),Me=e.forwardRef((n,d)=>{const{__scopeSelect:t,onAutoScroll:l,...s}=n,u=j("SelectScrollButton",t),c=e.useRef(null),o=ie(t),r=e.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>r(),[r]),K.useLayoutEffect(()=>{var a;const v=o().find(E=>E.ref.current===document.activeElement);v==null||(a=v.ref.current)===null||a===void 0||a.scrollIntoView({block:"nearest"})},[o]),e.createElement(H.Primitive.div,y({"aria-hidden":!0},s,{ref:d,style:{flexShrink:0,...s.style},onPointerDown:T.composeEventHandlers(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(l,50))}),onPointerMove:T.composeEventHandlers(s.onPointerMove,()=>{var a;(a=u.onItemLeave)===null||a===void 0||a.call(u),c.current===null&&(c.current=window.setInterval(l,50))}),onPointerLeave:T.composeEventHandlers(s.onPointerLeave,()=>{r()})}))});function He(n){return n===""||n===void 0}const Le=e.forwardRef((n,d)=>{const{value:t,...l}=n,s=e.useRef(null),u=k.useComposedRefs(d,s),c=je.usePrevious(t);return e.useEffect(()=>{const o=s.current,r=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(r,"value").set;if(c!==t&&v){const E=new Event("change",{bubbles:!0});v.call(o,t),o.dispatchEvent(E)}},[c,t]),e.createElement(Ye.VisuallyHidden,{asChild:!0},e.createElement("select",y({},l,{ref:u,defaultValue:t})))});Le.displayName="BubbleSelect";function Ae(n){const d=ze.useCallbackRef(n),t=e.useRef(""),l=e.useRef(0),s=e.useCallback(c=>{const o=t.current+c;d(o),function r(a){t.current=a,window.clearTimeout(l.current),a!==""&&(l.current=window.setTimeout(()=>r(""),1e3))}(o)},[d]),u=e.useCallback(()=>{t.current="",window.clearTimeout(l.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(l.current),[]),[t,s,u]}function ke(n,d,t){const s=d.length>1&&Array.from(d).every(a=>a===d[0])?d[0]:d,u=t?n.indexOf(t):-1;let c=yt(n,Math.max(u,0));s.length===1&&(c=c.filter(a=>a!==t));const r=c.find(a=>a.textValue.toLowerCase().startsWith(s.toLowerCase()));return r!==t?r:void 0}function yt(n,d){return n.map((t,l)=>n[(d+l)%n.length])}const Pt=Ie,It=Te,Tt=_e,_t=Oe,Rt=Ne;exports.Content=Tt;exports.Item=Rt;exports.Label=_t;exports.Root=Pt;exports.Select=Ie;exports.SelectContent=_e;exports.SelectGroup=ht;exports.SelectIcon=at;exports.SelectItem=Ne;exports.SelectItemIndicator=Ct;exports.SelectItemText=xt;exports.SelectLabel=Oe;exports.SelectPortal=it;exports.SelectScrollDownButton=bt;exports.SelectScrollUpButton=Et;exports.SelectTrigger=Te;exports.SelectValue=lt;exports.SelectViewport=pt;exports.Trigger=It;exports.createSelectScope=tt;
2
2
  //# sourceMappingURL=index.cjs140.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const _commonjsHelpers=require("./index.cjs220.js"),openseadragon=require("./index.cjs233.js");(function(module){//! openseadragon 2.4.2
1
+ "use strict";const _commonjsHelpers=require("./index.cjs192.js"),openseadragon=require("./index.cjs205.js");(function(module){//! openseadragon 2.4.2
2
2
  //! Built on 2020-03-05
3
3
  //! Git commit: v2.4.2-0-c450749
4
4
  //! http://openseadragon.github.io
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index.cjs122.js"),e=require("react"),g=require("./index.cjs123.js"),_=require("./index.cjs124.js"),y=require("./index.cjs125.js"),R=require("./index.cjs126.js"),T=require("./index.cjs238.js"),M=require("./index.cjs237.js"),S=require("./index.cjs127.js"),v="Switch",[B,H]=y.createContextScope(v),[I,O]=B(v),C=e.forwardRef((t,d)=>{const{__scopeSwitch:c,name:o,checked:n,defaultChecked:b,required:i,disabled:r,value:a="on",onCheckedChange:f,...k}=t,[s,p]=e.useState(null),P=_.useComposedRefs(d,l=>p(l)),h=e.useRef(!1),m=s?!!s.closest("form"):!0,[u=!1,q]=R.useControllableState({prop:n,defaultProp:b,onChange:f});return e.createElement(I,{scope:c,checked:u,disabled:r},e.createElement(S.Primitive.button,$({type:"button",role:"switch","aria-checked":u,"aria-required":i,"data-state":x(u),"data-disabled":r?"":void 0,disabled:r,value:a},k,{ref:P,onClick:g.composeEventHandlers(t.onClick,l=>{q(E=>!E),m&&(h.current=l.isPropagationStopped(),h.current||l.stopPropagation())})})),m&&e.createElement(z,{control:s,bubbles:!h.current,name:o,value:a,checked:u,required:i,disabled:r,style:{transform:"translateX(-100%)"}}))}),j="SwitchThumb",w=e.forwardRef((t,d)=>{const{__scopeSwitch:c,...o}=t,n=O(j,c);return e.createElement(S.Primitive.span,$({"data-state":x(n.checked),"data-disabled":n.disabled?"":void 0},o,{ref:d}))}),z=t=>{const{control:d,checked:c,bubbles:o=!0,...n}=t,b=e.useRef(null),i=T.usePrevious(c),r=M.useSize(d);return e.useEffect(()=>{const a=b.current,f=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(f,"checked").set;if(i!==c&&s){const p=new Event("click",{bubbles:o});s.call(a,c),a.dispatchEvent(p)}},[i,c,o]),e.createElement("input",$({type:"checkbox","aria-hidden":!0,defaultChecked:c},n,{tabIndex:-1,ref:b,style:{...t.style,...r,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function x(t){return t?"checked":"unchecked"}const A=C,N=w;exports.Root=A;exports.Switch=C;exports.SwitchThumb=w;exports.Thumb=N;exports.createSwitchScope=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index.cjs122.js"),e=require("react"),g=require("./index.cjs123.js"),_=require("./index.cjs124.js"),y=require("./index.cjs125.js"),R=require("./index.cjs126.js"),T=require("./index.cjs210.js"),M=require("./index.cjs209.js"),S=require("./index.cjs127.js"),v="Switch",[B,H]=y.createContextScope(v),[I,O]=B(v),C=e.forwardRef((t,d)=>{const{__scopeSwitch:c,name:o,checked:n,defaultChecked:b,required:i,disabled:r,value:a="on",onCheckedChange:f,...k}=t,[s,p]=e.useState(null),P=_.useComposedRefs(d,l=>p(l)),h=e.useRef(!1),m=s?!!s.closest("form"):!0,[u=!1,q]=R.useControllableState({prop:n,defaultProp:b,onChange:f});return e.createElement(I,{scope:c,checked:u,disabled:r},e.createElement(S.Primitive.button,$({type:"button",role:"switch","aria-checked":u,"aria-required":i,"data-state":x(u),"data-disabled":r?"":void 0,disabled:r,value:a},k,{ref:P,onClick:g.composeEventHandlers(t.onClick,l=>{q(E=>!E),m&&(h.current=l.isPropagationStopped(),h.current||l.stopPropagation())})})),m&&e.createElement(z,{control:s,bubbles:!h.current,name:o,value:a,checked:u,required:i,disabled:r,style:{transform:"translateX(-100%)"}}))}),j="SwitchThumb",w=e.forwardRef((t,d)=>{const{__scopeSwitch:c,...o}=t,n=O(j,c);return e.createElement(S.Primitive.span,$({"data-state":x(n.checked),"data-disabled":n.disabled?"":void 0},o,{ref:d}))}),z=t=>{const{control:d,checked:c,bubbles:o=!0,...n}=t,b=e.useRef(null),i=T.usePrevious(c),r=M.useSize(d);return e.useEffect(()=>{const a=b.current,f=window.HTMLInputElement.prototype,s=Object.getOwnPropertyDescriptor(f,"checked").set;if(i!==c&&s){const p=new Event("click",{bubbles:o});s.call(a,c),a.dispatchEvent(p)}},[i,c,o]),e.createElement("input",$({type:"checkbox","aria-hidden":!0,defaultChecked:c},n,{tabIndex:-1,ref:b,style:{...t.style,...r,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function x(t){return t?"checked":"unchecked"}const A=C,N=w;exports.Root=A;exports.Switch=C;exports.SwitchThumb=w;exports.Thumb=N;exports.createSwitchScope=H;
2
2
  //# sourceMappingURL=index.cjs142.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs372.js"),u=require("./index.cjs373.js"),a=require("./index.cjs374.js");function d(n,e,t){if(c.randomUUID&&!e&&!n)return c.randomUUID();n=n||{};const r=n.random||(n.rng||u)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return a.unsafeStringify(r)}module.exports=d;
1
+ "use strict";const c=require("./index.cjs369.js"),u=require("./index.cjs370.js"),a=require("./index.cjs371.js");function d(n,e,t){if(c.randomUUID&&!e&&!n)return c.randomUUID();n=n||{};const r=n.random||(n.rng||u)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return a.unsafeStringify(r)}module.exports=d;
2
2
  //# sourceMappingURL=index.cjs143.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs192.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs213.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
2
2
  //# sourceMappingURL=index.cjs148.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs193.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs214.js");function d(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=d(a);function z(e){const[r,t]=S.useState(void 0);return b.useLayoutEffect(()=>{if(e){t({width:e.offsetWidth,height:e.offsetHeight});const i=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const u=o[0];let s,n;if("borderBoxSize"in u){const c=u.borderBoxSize,f=Array.isArray(c)?c[0]:c;s=f.inlineSize,n=f.blockSize}else s=e.offsetWidth,n=e.offsetHeight;t({width:s,height:n})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)}else t(void 0)},[e]),r}exports.useSize=z;
2
2
  //# sourceMappingURL=index.cjs151.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("react-dom");const s=require("./index.cjs194.js"),l=require("./index.cjs55.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=f(c);var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=m.reduce((e,t)=>{const r=d.forwardRef((i,n)=>{const{asChild:o,...u}=i,a=o?s.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsxRuntimeExports.jsx(a,{...u,ref:n})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});exports.Primitive=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");require("react-dom");const s=require("./index.cjs215.js"),l=require("./index.cjs55.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,i.get?i:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const d=f(c);var m=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=m.reduce((e,t)=>{const r=d.forwardRef((i,n)=>{const{asChild:o,...u}=i,a=o?s.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsxRuntimeExports.jsx(a,{...u,ref:n})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});exports.Primitive=p;
2
2
  //# sourceMappingURL=index.cjs152.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs147.js"),M=require("./index.cjs146.js"),I=require("./index.cjs194.js"),f=require("./index.cjs55.js");function O(l){const u=l+"CollectionProvider",[E,A]=y.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),a=n=>{const{scope:e,children:s}=n,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:s})};a.displayName=u;const m=l+"CollectionSlot",p=r.forwardRef((n,e)=>{const{scope:s,children:t}=n,o=d(m,s),c=M.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(I.Slot,{ref:c,children:t})});p.displayName=m;const C=l+"CollectionItemSlot",x="data-radix-collection-item",R=r.forwardRef((n,e)=>{const{scope:s,children:t,...o}=n,c=r.useRef(null),S=M.useComposedRefs(e,c),i=d(C,s);return r.useEffect(()=>(i.itemMap.set(c,{ref:c,...o}),()=>void i.itemMap.delete(c))),f.jsxRuntimeExports.jsx(I.Slot,{[x]:"",ref:S,children:t})});R.displayName=C;function T(n){const e=d(l+"CollectionConsumer",n);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,j)=>o.indexOf(i.ref.current)-o.indexOf(j.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:a,Slot:p,ItemSlot:R},T,A]}exports.createCollection=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs147.js"),M=require("./index.cjs146.js"),I=require("./index.cjs215.js"),f=require("./index.cjs55.js");function O(l){const u=l+"CollectionProvider",[E,A]=y.createContextScope(u),[N,d]=E(u,{collectionRef:{current:null},itemMap:new Map}),a=n=>{const{scope:e,children:s}=n,t=r.useRef(null),o=r.useRef(new Map).current;return f.jsxRuntimeExports.jsx(N,{scope:e,itemMap:o,collectionRef:t,children:s})};a.displayName=u;const m=l+"CollectionSlot",p=r.forwardRef((n,e)=>{const{scope:s,children:t}=n,o=d(m,s),c=M.useComposedRefs(e,o.collectionRef);return f.jsxRuntimeExports.jsx(I.Slot,{ref:c,children:t})});p.displayName=m;const C=l+"CollectionItemSlot",x="data-radix-collection-item",R=r.forwardRef((n,e)=>{const{scope:s,children:t,...o}=n,c=r.useRef(null),S=M.useComposedRefs(e,c),i=d(C,s);return r.useEffect(()=>(i.itemMap.set(c,{ref:c,...o}),()=>void i.itemMap.delete(c))),f.jsxRuntimeExports.jsx(I.Slot,{[x]:"",ref:S,children:t})});R.displayName=C;function T(n){const e=d(l+"CollectionConsumer",n);return r.useCallback(()=>{const t=e.collectionRef.current;if(!t)return[];const o=Array.from(t.querySelectorAll(`[${x}]`));return Array.from(e.itemMap.values()).sort((i,j)=>o.indexOf(i.ref.current)-o.indexOf(j.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:a,Slot:p,ItemSlot:R},T,A]}exports.createCollection=O;
2
2
  //# sourceMappingURL=index.cjs153.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs154.js"),p=require("./index.cjs161.js"),R=require("./index.cjs155.js"),x=require("./index.cjs195.js"),H=require("./index.cjs196.js"),w=require("./index.cjs55.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs154.js"),p=require("./index.cjs161.js"),R=require("./index.cjs155.js"),x=require("./index.cjs216.js"),H=require("./index.cjs217.js"),w=require("./index.cjs55.js");function U(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const o=U(q);var z="DismissableLayer",h="dismissableLayer.update",M="dismissableLayer.pointerDownOutside",$="dismissableLayer.focusOutside",L,T=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),S=o.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:a,onInteractOutside:l,onDismiss:d,...v}=e,c=o.useContext(T),[u,F]=o.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,N]=o.useState({}),W=R.useComposedRefs(t,i=>F(i)),m=Array.from(c.layers),[_]=[...c.layersWithOutsidePointerEventsDisabled].slice(-1),A=m.indexOf(_),P=u?m.indexOf(u):-1,k=c.layersWithOutsidePointerEventsDisabled.size>0,D=P>=A,I=Y(i=>{const E=i.target,C=[...c.branches].some(b=>b.contains(E));!D||C||(r==null||r(i),l==null||l(i),i.defaultPrevented||d==null||d())},f),O=G(i=>{const E=i.target;[...c.branches].some(b=>b.contains(E))||(a==null||a(i),l==null||l(i),i.defaultPrevented||d==null||d())},f);return H.useEscapeKeydown(i=>{P===c.layers.size-1&&(s==null||s(i),!i.defaultPrevented&&d&&(i.preventDefault(),d()))},f),o.useEffect(()=>{if(u)return n&&(c.layersWithOutsidePointerEventsDisabled.size===0&&(L=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),c.layersWithOutsidePointerEventsDisabled.add(u)),c.layers.add(u),g(),()=>{n&&c.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=L)}},[u,f,n,c]),o.useEffect(()=>()=>{u&&(c.layers.delete(u),c.layersWithOutsidePointerEventsDisabled.delete(u),g())},[u,c]),o.useEffect(()=>{const i=()=>N({});return document.addEventListener(h,i),()=>document.removeEventListener(h,i)},[]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...v,ref:W,style:{pointerEvents:k?D?"auto":"none":void 0,...e.style},onFocusCapture:y.composeEventHandlers(e.onFocusCapture,O.onFocusCapture),onBlurCapture:y.composeEventHandlers(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(e.onPointerDownCapture,I.onPointerDownCapture)})});S.displayName=z;var X="DismissableLayerBranch",B=o.forwardRef((e,t)=>{const n=o.useContext(T),s=o.useRef(null),r=R.useComposedRefs(t,s);return o.useEffect(()=>{const a=s.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),w.jsxRuntimeExports.jsx(p.Primitive.div,{...e,ref:r})});B.displayName=X;function Y(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1),r=o.useRef(()=>{});return o.useEffect(()=>{const a=d=>{if(d.target&&!s.current){let v=function(){j(M,n,c,{discrete:!0})};const c={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=v,t.addEventListener("click",r.current,{once:!0})):v()}else t.removeEventListener("click",r.current);s.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",a),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function G(e,t=globalThis==null?void 0:globalThis.document){const n=x.useCallbackRef(e),s=o.useRef(!1);return o.useEffect(()=>{const r=a=>{a.target&&!s.current&&j($,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function g(){const e=new CustomEvent(h);document.dispatchEvent(e)}function j(e,t,n,{discrete:s}){const r=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?p.dispatchDiscreteCustomEvent(r,a):r.dispatchEvent(a)}exports.DismissableLayer=S;exports.DismissableLayerBranch=B;
2
2
  //# sourceMappingURL=index.cjs157.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs197.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var s=o.useId||(()=>{}),i=0;function f(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{e||r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs218.js");function a(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=a(u);var s=o.useId||(()=>{}),i=0;function f(e){const[t,r]=o.useState(s());return c.useLayoutEffect(()=>{e||r(n=>n??String(i++))},[e]),e||(t?`radix-${t}`:"")}exports.useId=f;
2
2
  //# sourceMappingURL=index.cjs158.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.cjs198.js"),Ae=require("./index.cjs199.js"),G=require("./index.cjs155.js"),ve=require("./index.cjs156.js"),J=require("./index.cjs161.js"),Ce=require("./index.cjs195.js"),Z=require("./index.cjs197.js"),be=require("./index.cjs200.js"),f=require("./index.cjs55.js"),g=require("./index.cjs201.js"),Re=require("./index.cjs202.js");function Oe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Oe(ye);var _="Popper",[K,Se]=ve.createContextScope(_),[je,Q]=K(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return f.jsxRuntimeExports.jsx(je,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var V="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=Q(V,t),i=s.useRef(null),w=G.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.jsxRuntimeExports.jsx(J.Primitive.div,{...a,ref:w})});N.displayName=V;var q="PopperContent",[Ee,_e]=K(q),H=s.forwardRef((e,o)=>{var T,X,k,F,U,z;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:u="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:l,...d}=e,C=Q(q,t),[x,b]=s.useState(null),re=G.useComposedRefs(o,y=>b(y)),[E,oe]=s.useState(null),m=be.useSize(E),ne=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ie=r+(n!=="center"?"-"+n:""),ae=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],se=W.length>0,R={padding:ae,boundary:W.filter(Ne),altBoundary:se},{refs:ce,floatingStyles:I,placement:pe,isPositioned:O,middlewareData:h}=L.useFloating({strategy:"fixed",placement:ie,whileElementsMounted:(...y)=>g.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[Re.offset({mainAxis:a+M,alignmentAxis:i}),c&&g.shift({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?g.limitShift():void 0,...R}),c&&g.flip({...R}),g.size({...R,apply:({elements:y,rects:B,availableWidth:he,availableHeight:ge})=>{const{width:we,height:Pe}=B.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${ge}px`),j.setProperty("--radix-popper-anchor-width",`${we}px`),j.setProperty("--radix-popper-anchor-height",`${Pe}px`)}}),E&&L.arrow({element:E,padding:w}),qe({arrowWidth:ne,arrowHeight:M}),A&&g.hide({strategy:"referenceHidden",...R})]}),[Y,de]=te(pe),S=Ce.useCallbackRef(l);Z.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const le=(T=h.arrow)==null?void 0:T.x,fe=(X=h.arrow)==null?void 0:X.y,ue=((k=h.arrow)==null?void 0:k.centerOffset)!==0,[xe,me]=s.useState();return Z.useLayoutEffect(()=>{x&&me(window.getComputedStyle(x).zIndex)},[x]),f.jsxRuntimeExports.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(F=h.transformOrigin)==null?void 0:F.x,(U=h.transformOrigin)==null?void 0:U.y].join(" "),...((z=h.hide)==null?void 0:z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsxRuntimeExports.jsx(Ee,{scope:t,placedSide:Y,onArrowChange:oe,arrowX:le,arrowY:fe,shouldHideArrow:ue,children:f.jsxRuntimeExports.jsx(J.Primitive.div,{"data-side":Y,"data-align":de,...d,ref:re,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var ee="PopperArrow",$e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=_e(ee,r),i=$e[n.placedSide];return f.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:f.jsxRuntimeExports.jsx(Ae.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=ee;function Ne(e){return e!==null}var qe=e=>({name:"transformOrigin",options:e,fn(o){var C,x,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=te(t),u={start:"0%",center:"50%",end:"100%"}[P],A=(((x=a.arrow)==null?void 0:x.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let l="",d="";return p==="bottom"?(l=i?u:`${A}px`,d=`${-c}px`):p==="top"?(l=i?u:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(l=`${-c}px`,d=i?u:`${v}px`):p==="left"&&(l=`${r.floating.width+c}px`,d=i?u:`${v}px`),{data:{x:l,y:d}}}});function te(e){const[o,t="center"]=e.split("-");return[o,t]}var He=$,De=N,Me=H,We=D;exports.Anchor=De;exports.Arrow=We;exports.Content=Me;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=He;exports.createPopperScope=Se;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.cjs219.js"),Ae=require("./index.cjs220.js"),G=require("./index.cjs155.js"),ve=require("./index.cjs156.js"),J=require("./index.cjs161.js"),Ce=require("./index.cjs216.js"),Z=require("./index.cjs218.js"),be=require("./index.cjs221.js"),f=require("./index.cjs55.js"),g=require("./index.cjs222.js"),Re=require("./index.cjs223.js");function Oe(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=Oe(ye);var _="Popper",[K,Se]=ve.createContextScope(_),[je,Q]=K(_),$=e=>{const{__scopePopper:o,children:t}=e,[r,a]=s.useState(null);return f.jsxRuntimeExports.jsx(je,{scope:o,anchor:r,onAnchorChange:a,children:t})};$.displayName=_;var V="PopperAnchor",N=s.forwardRef((e,o)=>{const{__scopePopper:t,virtualRef:r,...a}=e,n=Q(V,t),i=s.useRef(null),w=G.useComposedRefs(o,i);return s.useEffect(()=>{n.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:f.jsxRuntimeExports.jsx(J.Primitive.div,{...a,ref:w})});N.displayName=V;var q="PopperContent",[Ee,_e]=K(q),H=s.forwardRef((e,o)=>{var T,X,k,F,U,z;const{__scopePopper:t,side:r="bottom",sideOffset:a=0,align:n="center",alignOffset:i=0,arrowPadding:w=0,avoidCollisions:c=!0,collisionBoundary:p=[],collisionPadding:P=0,sticky:u="partial",hideWhenDetached:A=!1,updatePositionStrategy:v="optimized",onPlaced:l,...d}=e,C=Q(q,t),[x,b]=s.useState(null),re=G.useComposedRefs(o,y=>b(y)),[E,oe]=s.useState(null),m=be.useSize(E),ne=(m==null?void 0:m.width)??0,M=(m==null?void 0:m.height)??0,ie=r+(n!=="center"?"-"+n:""),ae=typeof P=="number"?P:{top:0,right:0,bottom:0,left:0,...P},W=Array.isArray(p)?p:[p],se=W.length>0,R={padding:ae,boundary:W.filter(Ne),altBoundary:se},{refs:ce,floatingStyles:I,placement:pe,isPositioned:O,middlewareData:h}=L.useFloating({strategy:"fixed",placement:ie,whileElementsMounted:(...y)=>g.autoUpdate(...y,{animationFrame:v==="always"}),elements:{reference:C.anchor},middleware:[Re.offset({mainAxis:a+M,alignmentAxis:i}),c&&g.shift({mainAxis:!0,crossAxis:!1,limiter:u==="partial"?g.limitShift():void 0,...R}),c&&g.flip({...R}),g.size({...R,apply:({elements:y,rects:B,availableWidth:he,availableHeight:ge})=>{const{width:we,height:Pe}=B.reference,j=y.floating.style;j.setProperty("--radix-popper-available-width",`${he}px`),j.setProperty("--radix-popper-available-height",`${ge}px`),j.setProperty("--radix-popper-anchor-width",`${we}px`),j.setProperty("--radix-popper-anchor-height",`${Pe}px`)}}),E&&L.arrow({element:E,padding:w}),qe({arrowWidth:ne,arrowHeight:M}),A&&g.hide({strategy:"referenceHidden",...R})]}),[Y,de]=te(pe),S=Ce.useCallbackRef(l);Z.useLayoutEffect(()=>{O&&(S==null||S())},[O,S]);const le=(T=h.arrow)==null?void 0:T.x,fe=(X=h.arrow)==null?void 0:X.y,ue=((k=h.arrow)==null?void 0:k.centerOffset)!==0,[xe,me]=s.useState();return Z.useLayoutEffect(()=>{x&&me(window.getComputedStyle(x).zIndex)},[x]),f.jsxRuntimeExports.jsx("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:O?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:xe,"--radix-popper-transform-origin":[(F=h.transformOrigin)==null?void 0:F.x,(U=h.transformOrigin)==null?void 0:U.y].join(" "),...((z=h.hide)==null?void 0:z.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:f.jsxRuntimeExports.jsx(Ee,{scope:t,placedSide:Y,onArrowChange:oe,arrowX:le,arrowY:fe,shouldHideArrow:ue,children:f.jsxRuntimeExports.jsx(J.Primitive.div,{"data-side":Y,"data-align":de,...d,ref:re,style:{...d.style,animation:O?void 0:"none"}})})})});H.displayName=q;var ee="PopperArrow",$e={top:"bottom",right:"left",bottom:"top",left:"right"},D=s.forwardRef(function(o,t){const{__scopePopper:r,...a}=o,n=_e(ee,r),i=$e[n.placedSide];return f.jsxRuntimeExports.jsx("span",{ref:n.onArrowChange,style:{position:"absolute",left:n.arrowX,top:n.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[n.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[n.placedSide],visibility:n.shouldHideArrow?"hidden":void 0},children:f.jsxRuntimeExports.jsx(Ae.Root,{...a,ref:t,style:{...a.style,display:"block"}})})});D.displayName=ee;function Ne(e){return e!==null}var qe=e=>({name:"transformOrigin",options:e,fn(o){var C,x,b;const{placement:t,rects:r,middlewareData:a}=o,i=((C=a.arrow)==null?void 0:C.centerOffset)!==0,w=i?0:e.arrowWidth,c=i?0:e.arrowHeight,[p,P]=te(t),u={start:"0%",center:"50%",end:"100%"}[P],A=(((x=a.arrow)==null?void 0:x.x)??0)+w/2,v=(((b=a.arrow)==null?void 0:b.y)??0)+c/2;let l="",d="";return p==="bottom"?(l=i?u:`${A}px`,d=`${-c}px`):p==="top"?(l=i?u:`${A}px`,d=`${r.floating.height+c}px`):p==="right"?(l=`${-c}px`,d=i?u:`${v}px`):p==="left"&&(l=`${r.floating.width+c}px`,d=i?u:`${v}px`),{data:{x:l,y:d}}}});function te(e){const[o,t="center"]=e.split("-");return[o,t]}var He=$,De=N,Me=H,We=D;exports.Anchor=De;exports.Arrow=We;exports.Content=Me;exports.Popper=$;exports.PopperAnchor=N;exports.PopperArrow=D;exports.PopperContent=H;exports.Root=He;exports.createPopperScope=Se;
2
2
  //# sourceMappingURL=index.cjs159.js.map