@performant-software/core-data 2.2.21-beta.15 → 2.2.21-beta.16

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 (1320) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs107.js +1 -1
  3. package/dist/index.cjs117.js +1 -1
  4. package/dist/index.cjs118.js +1 -1
  5. package/dist/index.cjs120.js +1 -1
  6. package/dist/index.cjs121.js +1 -1
  7. package/dist/index.cjs126.js +1 -1
  8. package/dist/index.cjs129.js +1 -1
  9. package/dist/index.cjs130.js +1 -1
  10. package/dist/index.cjs131.js +1 -1
  11. package/dist/index.cjs135.js +1 -1
  12. package/dist/index.cjs136.js +1 -1
  13. package/dist/index.cjs137.js +1 -1
  14. package/dist/index.cjs138.js +1 -1
  15. package/dist/index.cjs141.js +1 -1
  16. package/dist/index.cjs143.js +1 -1
  17. package/dist/index.cjs144.js +1 -1
  18. package/dist/index.cjs147.js +1 -1
  19. package/dist/index.cjs148.js +1 -1
  20. package/dist/index.cjs150.js +1 -1
  21. package/dist/index.cjs151.js +1 -1
  22. package/dist/index.cjs152.js +1 -1
  23. package/dist/index.cjs153.js +1 -1
  24. package/dist/index.cjs154.js +1 -1
  25. package/dist/index.cjs155.js +1 -1
  26. package/dist/index.cjs161.js +1 -1
  27. package/dist/index.cjs162.js +1 -1
  28. package/dist/index.cjs163.js +1 -1
  29. package/dist/index.cjs164.js +1 -1
  30. package/dist/index.cjs179.js.map +1 -1
  31. package/dist/index.cjs180.js +1 -1
  32. package/dist/index.cjs180.js.map +1 -1
  33. package/dist/index.cjs181.js +1 -1
  34. package/dist/index.cjs181.js.map +1 -1
  35. package/dist/index.cjs182.js +1 -1
  36. package/dist/index.cjs182.js.map +1 -1
  37. package/dist/index.cjs183.js +1 -1
  38. package/dist/index.cjs183.js.map +1 -1
  39. package/dist/index.cjs184.js +1 -1
  40. package/dist/index.cjs184.js.map +1 -1
  41. package/dist/index.cjs185.js +1 -1
  42. package/dist/index.cjs185.js.map +1 -1
  43. package/dist/index.cjs186.js +1 -1
  44. package/dist/index.cjs186.js.map +1 -1
  45. package/dist/index.cjs187.js +1 -1
  46. package/dist/index.cjs187.js.map +1 -1
  47. package/dist/index.cjs188.js +1 -1
  48. package/dist/index.cjs188.js.map +1 -1
  49. package/dist/index.cjs189.js +1 -1
  50. package/dist/index.cjs189.js.map +1 -1
  51. package/dist/index.cjs190.js +1 -1
  52. package/dist/index.cjs190.js.map +1 -1
  53. package/dist/index.cjs191.js +1 -1
  54. package/dist/index.cjs191.js.map +1 -1
  55. package/dist/index.cjs192.js +1 -1
  56. package/dist/index.cjs192.js.map +1 -1
  57. package/dist/index.cjs193.js +6 -1
  58. package/dist/index.cjs193.js.map +1 -1
  59. package/dist/index.cjs194.js +1 -1
  60. package/dist/index.cjs194.js.map +1 -1
  61. package/dist/index.cjs195.js +2 -1
  62. package/dist/index.cjs195.js.map +1 -1
  63. package/dist/index.cjs196.js +3 -1
  64. package/dist/index.cjs196.js.map +1 -1
  65. package/dist/index.cjs197.js +1 -1
  66. package/dist/index.cjs197.js.map +1 -1
  67. package/dist/index.cjs198.js +1 -1
  68. package/dist/index.cjs198.js.map +1 -1
  69. package/dist/index.cjs199.js +8 -1
  70. package/dist/index.cjs199.js.map +1 -1
  71. package/dist/index.cjs200.js +13 -1
  72. package/dist/index.cjs200.js.map +1 -1
  73. package/dist/index.cjs201.js +1 -1
  74. package/dist/index.cjs201.js.map +1 -1
  75. package/dist/index.cjs202.js +17 -1
  76. package/dist/index.cjs202.js.map +1 -1
  77. package/dist/index.cjs203.js +1 -1
  78. package/dist/index.cjs203.js.map +1 -1
  79. package/dist/index.cjs204.js +1 -1
  80. package/dist/index.cjs204.js.map +1 -1
  81. package/dist/index.cjs205.js +1 -1
  82. package/dist/index.cjs205.js.map +1 -1
  83. package/dist/index.cjs206.js +1 -1
  84. package/dist/index.cjs206.js.map +1 -1
  85. package/dist/index.cjs207.js +1 -1
  86. package/dist/index.cjs207.js.map +1 -1
  87. package/dist/index.cjs208.js +1 -1
  88. package/dist/index.cjs208.js.map +1 -1
  89. package/dist/index.cjs209.js +1 -1
  90. package/dist/index.cjs209.js.map +1 -1
  91. package/dist/index.cjs210.js +1 -1
  92. package/dist/index.cjs210.js.map +1 -1
  93. package/dist/index.cjs211.js +1 -1
  94. package/dist/index.cjs211.js.map +1 -1
  95. package/dist/index.cjs212.js +1 -1
  96. package/dist/index.cjs212.js.map +1 -1
  97. package/dist/index.cjs213.js +1 -1
  98. package/dist/index.cjs213.js.map +1 -1
  99. package/dist/index.cjs214.js +1 -1
  100. package/dist/index.cjs214.js.map +1 -1
  101. package/dist/index.cjs215.js +1 -1
  102. package/dist/index.cjs215.js.map +1 -1
  103. package/dist/index.cjs216.js +1 -1
  104. package/dist/index.cjs216.js.map +1 -1
  105. package/dist/index.cjs217.js +1 -1
  106. package/dist/index.cjs217.js.map +1 -1
  107. package/dist/index.cjs218.js +1 -1
  108. package/dist/index.cjs218.js.map +1 -1
  109. package/dist/index.cjs219.js +1 -1
  110. package/dist/index.cjs219.js.map +1 -1
  111. package/dist/index.cjs220.js +1 -6
  112. package/dist/index.cjs220.js.map +1 -1
  113. package/dist/index.cjs221.js +1 -1
  114. package/dist/index.cjs221.js.map +1 -1
  115. package/dist/index.cjs222.js +1 -2
  116. package/dist/index.cjs222.js.map +1 -1
  117. package/dist/index.cjs223.js +1 -3
  118. package/dist/index.cjs223.js.map +1 -1
  119. package/dist/index.cjs224.js +1 -1
  120. package/dist/index.cjs224.js.map +1 -1
  121. package/dist/index.cjs225.js +1 -1
  122. package/dist/index.cjs225.js.map +1 -1
  123. package/dist/index.cjs226.js +1 -8
  124. package/dist/index.cjs226.js.map +1 -1
  125. package/dist/index.cjs227.js +1 -13
  126. package/dist/index.cjs227.js.map +1 -1
  127. package/dist/index.cjs228.js +1 -1
  128. package/dist/index.cjs228.js.map +1 -1
  129. package/dist/index.cjs229.js +1 -17
  130. package/dist/index.cjs229.js.map +1 -1
  131. package/dist/index.cjs230.js +1 -1
  132. package/dist/index.cjs230.js.map +1 -1
  133. package/dist/index.cjs231.js +1 -1
  134. package/dist/index.cjs231.js.map +1 -1
  135. package/dist/index.cjs232.js +1 -1
  136. package/dist/index.cjs232.js.map +1 -1
  137. package/dist/index.cjs233.js +1 -1
  138. package/dist/index.cjs233.js.map +1 -1
  139. package/dist/index.cjs234.js +1 -1
  140. package/dist/index.cjs234.js.map +1 -1
  141. package/dist/index.cjs235.js +1 -1
  142. package/dist/index.cjs235.js.map +1 -1
  143. package/dist/index.cjs236.js +1 -1
  144. package/dist/index.cjs236.js.map +1 -1
  145. package/dist/index.cjs237.js +1 -1
  146. package/dist/index.cjs237.js.map +1 -1
  147. package/dist/index.cjs242.js +1 -1
  148. package/dist/index.cjs244.js +1 -1
  149. package/dist/index.cjs244.js.map +1 -1
  150. package/dist/index.cjs245.js +1 -1
  151. package/dist/index.cjs245.js.map +1 -1
  152. package/dist/index.cjs246.js +1 -1
  153. package/dist/index.cjs246.js.map +1 -1
  154. package/dist/index.cjs247.js +1 -1
  155. package/dist/index.cjs247.js.map +1 -1
  156. package/dist/index.cjs248.js +1 -1
  157. package/dist/index.cjs248.js.map +1 -1
  158. package/dist/index.cjs249.js +1 -1
  159. package/dist/index.cjs249.js.map +1 -1
  160. package/dist/index.cjs250.js +1 -1
  161. package/dist/index.cjs250.js.map +1 -1
  162. package/dist/index.cjs251.js +1 -1
  163. package/dist/index.cjs251.js.map +1 -1
  164. package/dist/index.cjs252.js +1 -1
  165. package/dist/index.cjs253.js +1 -1
  166. package/dist/index.cjs253.js.map +1 -1
  167. package/dist/index.cjs254.js +1 -1
  168. package/dist/index.cjs254.js.map +1 -1
  169. package/dist/index.cjs255.js +1 -1
  170. package/dist/index.cjs255.js.map +1 -1
  171. package/dist/index.cjs256.js +1 -1
  172. package/dist/index.cjs256.js.map +1 -1
  173. package/dist/index.cjs257.js +1 -1
  174. package/dist/index.cjs257.js.map +1 -1
  175. package/dist/index.cjs258.js +1 -1
  176. package/dist/index.cjs258.js.map +1 -1
  177. package/dist/index.cjs259.js +1 -1
  178. package/dist/index.cjs259.js.map +1 -1
  179. package/dist/index.cjs260.js +1 -1
  180. package/dist/index.cjs260.js.map +1 -1
  181. package/dist/index.cjs261.js +1 -1
  182. package/dist/index.cjs261.js.map +1 -1
  183. package/dist/index.cjs262.js +1 -1
  184. package/dist/index.cjs262.js.map +1 -1
  185. package/dist/index.cjs263.js +1 -1
  186. package/dist/index.cjs263.js.map +1 -1
  187. package/dist/index.cjs264.js +1 -1
  188. package/dist/index.cjs264.js.map +1 -1
  189. package/dist/index.cjs265.js +1 -1
  190. package/dist/index.cjs265.js.map +1 -1
  191. package/dist/index.cjs266.js +1 -1
  192. package/dist/index.cjs266.js.map +1 -1
  193. package/dist/index.cjs267.js +1 -1
  194. package/dist/index.cjs267.js.map +1 -1
  195. package/dist/index.cjs268.js +1 -1
  196. package/dist/index.cjs268.js.map +1 -1
  197. package/dist/index.cjs269.js +1 -1
  198. package/dist/index.cjs269.js.map +1 -1
  199. package/dist/index.cjs270.js +1 -1
  200. package/dist/index.cjs270.js.map +1 -1
  201. package/dist/index.cjs271.js +1 -1
  202. package/dist/index.cjs271.js.map +1 -1
  203. package/dist/index.cjs272.js +1 -1
  204. package/dist/index.cjs272.js.map +1 -1
  205. package/dist/index.cjs273.js +1 -1
  206. package/dist/index.cjs273.js.map +1 -1
  207. package/dist/index.cjs274.js +1 -1
  208. package/dist/index.cjs274.js.map +1 -1
  209. package/dist/index.cjs275.js +1 -1
  210. package/dist/index.cjs275.js.map +1 -1
  211. package/dist/index.cjs276.js +1 -1
  212. package/dist/index.cjs276.js.map +1 -1
  213. package/dist/index.cjs277.js +1 -1
  214. package/dist/index.cjs277.js.map +1 -1
  215. package/dist/index.cjs278.js +1 -1
  216. package/dist/index.cjs278.js.map +1 -1
  217. package/dist/index.cjs279.js +1 -1
  218. package/dist/index.cjs279.js.map +1 -1
  219. package/dist/index.cjs280.js +1 -1
  220. package/dist/index.cjs280.js.map +1 -1
  221. package/dist/index.cjs281.js +1 -1
  222. package/dist/index.cjs281.js.map +1 -1
  223. package/dist/index.cjs282.js +1 -1
  224. package/dist/index.cjs282.js.map +1 -1
  225. package/dist/index.cjs283.js +1 -1
  226. package/dist/index.cjs283.js.map +1 -1
  227. package/dist/index.cjs284.js +1 -1
  228. package/dist/index.cjs284.js.map +1 -1
  229. package/dist/index.cjs285.js +1 -1
  230. package/dist/index.cjs285.js.map +1 -1
  231. package/dist/index.cjs286.js +1 -1
  232. package/dist/index.cjs286.js.map +1 -1
  233. package/dist/index.cjs287.js +1 -1
  234. package/dist/index.cjs287.js.map +1 -1
  235. package/dist/index.cjs288.js +1 -1
  236. package/dist/index.cjs288.js.map +1 -1
  237. package/dist/index.cjs289.js +1 -1
  238. package/dist/index.cjs289.js.map +1 -1
  239. package/dist/index.cjs290.js +1 -1
  240. package/dist/index.cjs290.js.map +1 -1
  241. package/dist/index.cjs291.js +1 -1
  242. package/dist/index.cjs291.js.map +1 -1
  243. package/dist/index.cjs292.js +1 -1
  244. package/dist/index.cjs292.js.map +1 -1
  245. package/dist/index.cjs293.js +1 -1
  246. package/dist/index.cjs293.js.map +1 -1
  247. package/dist/index.cjs294.js +1 -1
  248. package/dist/index.cjs294.js.map +1 -1
  249. package/dist/index.cjs295.js +1 -1
  250. package/dist/index.cjs295.js.map +1 -1
  251. package/dist/index.cjs296.js +1 -1
  252. package/dist/index.cjs296.js.map +1 -1
  253. package/dist/index.cjs297.js +1 -1
  254. package/dist/index.cjs297.js.map +1 -1
  255. package/dist/index.cjs298.js +1 -1
  256. package/dist/index.cjs298.js.map +1 -1
  257. package/dist/index.cjs299.js +1 -1
  258. package/dist/index.cjs299.js.map +1 -1
  259. package/dist/index.cjs300.js +13 -1
  260. package/dist/index.cjs300.js.map +1 -1
  261. package/dist/index.cjs301.js +1 -1
  262. package/dist/index.cjs301.js.map +1 -1
  263. package/dist/index.cjs302.js +1 -13
  264. package/dist/index.cjs302.js.map +1 -1
  265. package/dist/index.cjs303.js +1 -1
  266. package/dist/index.cjs303.js.map +1 -1
  267. package/dist/index.cjs304.js +1 -1
  268. package/dist/index.cjs304.js.map +1 -1
  269. package/dist/index.cjs305.js +1 -1
  270. package/dist/index.cjs305.js.map +1 -1
  271. package/dist/index.cjs306.js +1 -1
  272. package/dist/index.cjs306.js.map +1 -1
  273. package/dist/index.cjs307.js +1 -1
  274. package/dist/index.cjs307.js.map +1 -1
  275. package/dist/index.cjs308.js +1 -1
  276. package/dist/index.cjs308.js.map +1 -1
  277. package/dist/index.cjs309.js +1 -1
  278. package/dist/index.cjs309.js.map +1 -1
  279. package/dist/index.cjs310.js +1 -1
  280. package/dist/index.cjs310.js.map +1 -1
  281. package/dist/index.cjs311.js +1 -1
  282. package/dist/index.cjs311.js.map +1 -1
  283. package/dist/index.cjs312.js +1 -1
  284. package/dist/index.cjs312.js.map +1 -1
  285. package/dist/index.cjs313.js +1 -1
  286. package/dist/index.cjs313.js.map +1 -1
  287. package/dist/index.cjs314.js +1 -1
  288. package/dist/index.cjs314.js.map +1 -1
  289. package/dist/index.cjs315.js +1 -1
  290. package/dist/index.cjs315.js.map +1 -1
  291. package/dist/index.cjs316.js +1 -1
  292. package/dist/index.cjs316.js.map +1 -1
  293. package/dist/index.cjs317.js +1 -1
  294. package/dist/index.cjs317.js.map +1 -1
  295. package/dist/index.cjs318.js +1 -1
  296. package/dist/index.cjs318.js.map +1 -1
  297. package/dist/index.cjs319.js +1 -1
  298. package/dist/index.cjs319.js.map +1 -1
  299. package/dist/index.cjs320.js +1 -1
  300. package/dist/index.cjs320.js.map +1 -1
  301. package/dist/index.cjs321.js +1 -1
  302. package/dist/index.cjs321.js.map +1 -1
  303. package/dist/index.cjs322.js +1 -1
  304. package/dist/index.cjs322.js.map +1 -1
  305. package/dist/index.cjs323.js +1 -1
  306. package/dist/index.cjs323.js.map +1 -1
  307. package/dist/index.cjs324.js +1 -1
  308. package/dist/index.cjs324.js.map +1 -1
  309. package/dist/index.cjs325.js +1 -1
  310. package/dist/index.cjs325.js.map +1 -1
  311. package/dist/index.cjs326.js +1 -1
  312. package/dist/index.cjs326.js.map +1 -1
  313. package/dist/index.cjs327.js +1 -1
  314. package/dist/index.cjs327.js.map +1 -1
  315. package/dist/index.cjs328.js +1 -1
  316. package/dist/index.cjs328.js.map +1 -1
  317. package/dist/index.cjs329.js +1 -1
  318. package/dist/index.cjs329.js.map +1 -1
  319. package/dist/index.cjs330.js +1 -1
  320. package/dist/index.cjs330.js.map +1 -1
  321. package/dist/index.cjs331.js +1 -1
  322. package/dist/index.cjs331.js.map +1 -1
  323. package/dist/index.cjs332.js +1 -1
  324. package/dist/index.cjs332.js.map +1 -1
  325. package/dist/index.cjs333.js +1 -1
  326. package/dist/index.cjs333.js.map +1 -1
  327. package/dist/index.cjs334.js +1 -1
  328. package/dist/index.cjs334.js.map +1 -1
  329. package/dist/index.cjs335.js +1 -1
  330. package/dist/index.cjs335.js.map +1 -1
  331. package/dist/index.cjs336.js +1 -1
  332. package/dist/index.cjs336.js.map +1 -1
  333. package/dist/index.cjs337.js +1 -1
  334. package/dist/index.cjs337.js.map +1 -1
  335. package/dist/index.cjs338.js +1 -1
  336. package/dist/index.cjs338.js.map +1 -1
  337. package/dist/index.cjs339.js +1 -1
  338. package/dist/index.cjs339.js.map +1 -1
  339. package/dist/index.cjs340.js +1 -1
  340. package/dist/index.cjs340.js.map +1 -1
  341. package/dist/index.cjs341.js +1 -1
  342. package/dist/index.cjs341.js.map +1 -1
  343. package/dist/index.cjs342.js +1 -1
  344. package/dist/index.cjs342.js.map +1 -1
  345. package/dist/index.cjs343.js +1 -1
  346. package/dist/index.cjs343.js.map +1 -1
  347. package/dist/index.cjs344.js +1 -1
  348. package/dist/index.cjs344.js.map +1 -1
  349. package/dist/index.cjs345.js +1 -1
  350. package/dist/index.cjs345.js.map +1 -1
  351. package/dist/index.cjs346.js +1 -1
  352. package/dist/index.cjs346.js.map +1 -1
  353. package/dist/index.cjs347.js +1 -1
  354. package/dist/index.cjs347.js.map +1 -1
  355. package/dist/index.cjs348.js +1 -1
  356. package/dist/index.cjs348.js.map +1 -1
  357. package/dist/index.cjs349.js +1 -1
  358. package/dist/index.cjs349.js.map +1 -1
  359. package/dist/index.cjs350.js +1 -1
  360. package/dist/index.cjs350.js.map +1 -1
  361. package/dist/index.cjs351.js +1 -1
  362. package/dist/index.cjs351.js.map +1 -1
  363. package/dist/index.cjs352.js +1 -1
  364. package/dist/index.cjs352.js.map +1 -1
  365. package/dist/index.cjs353.js +1 -1
  366. package/dist/index.cjs353.js.map +1 -1
  367. package/dist/index.cjs354.js +1 -1
  368. package/dist/index.cjs354.js.map +1 -1
  369. package/dist/index.cjs355.js +1 -1
  370. package/dist/index.cjs355.js.map +1 -1
  371. package/dist/index.cjs359.js +1 -1
  372. package/dist/index.cjs360.js +1 -1
  373. package/dist/index.cjs361.js +1 -1
  374. package/dist/index.cjs362.js +1 -1
  375. package/dist/index.cjs363.js +1 -1
  376. package/dist/index.cjs364.js +1 -1
  377. package/dist/index.cjs365.js +1 -1
  378. package/dist/index.cjs366.js +1 -1
  379. package/dist/index.cjs367.js +1 -1
  380. package/dist/index.cjs368.js +1 -1
  381. package/dist/index.cjs372.js +1 -1
  382. package/dist/index.cjs373.js +1 -1
  383. package/dist/index.cjs376.js +1 -1
  384. package/dist/index.cjs410.js +1 -1
  385. package/dist/index.cjs410.js.map +1 -1
  386. package/dist/index.cjs411.js +1 -1
  387. package/dist/index.cjs411.js.map +1 -1
  388. package/dist/index.cjs412.js +1 -1
  389. package/dist/index.cjs412.js.map +1 -1
  390. package/dist/index.cjs413.js +1 -1
  391. package/dist/index.cjs413.js.map +1 -1
  392. package/dist/index.cjs414.js +1 -1
  393. package/dist/index.cjs414.js.map +1 -1
  394. package/dist/index.cjs415.js +1 -1
  395. package/dist/index.cjs415.js.map +1 -1
  396. package/dist/index.cjs416.js +1 -1
  397. package/dist/index.cjs416.js.map +1 -1
  398. package/dist/index.cjs417.js +1 -1
  399. package/dist/index.cjs417.js.map +1 -1
  400. package/dist/index.cjs418.js +1 -1
  401. package/dist/index.cjs418.js.map +1 -1
  402. package/dist/index.cjs419.js +1 -1
  403. package/dist/index.cjs419.js.map +1 -1
  404. package/dist/index.cjs420.js +1 -1
  405. package/dist/index.cjs420.js.map +1 -1
  406. package/dist/index.cjs421.js +1 -1
  407. package/dist/index.cjs421.js.map +1 -1
  408. package/dist/index.cjs422.js +1 -1
  409. package/dist/index.cjs422.js.map +1 -1
  410. package/dist/index.cjs423.js +1 -1
  411. package/dist/index.cjs423.js.map +1 -1
  412. package/dist/index.cjs424.js +1 -1
  413. package/dist/index.cjs424.js.map +1 -1
  414. package/dist/index.cjs425.js +1 -1
  415. package/dist/index.cjs425.js.map +1 -1
  416. package/dist/index.cjs426.js +1 -1
  417. package/dist/index.cjs426.js.map +1 -1
  418. package/dist/index.cjs427.js +1 -1
  419. package/dist/index.cjs427.js.map +1 -1
  420. package/dist/index.cjs428.js +1 -1
  421. package/dist/index.cjs428.js.map +1 -1
  422. package/dist/index.cjs429.js +1 -1
  423. package/dist/index.cjs429.js.map +1 -1
  424. package/dist/index.cjs430.js +1 -1
  425. package/dist/index.cjs430.js.map +1 -1
  426. package/dist/index.cjs431.js +1 -1
  427. package/dist/index.cjs431.js.map +1 -1
  428. package/dist/index.cjs432.js +1 -1
  429. package/dist/index.cjs432.js.map +1 -1
  430. package/dist/index.cjs433.js +1 -1
  431. package/dist/index.cjs433.js.map +1 -1
  432. package/dist/index.cjs434.js +1 -1
  433. package/dist/index.cjs434.js.map +1 -1
  434. package/dist/index.cjs435.js +1 -1
  435. package/dist/index.cjs435.js.map +1 -1
  436. package/dist/index.cjs436.js +1 -1
  437. package/dist/index.cjs436.js.map +1 -1
  438. package/dist/index.cjs437.js +1 -1
  439. package/dist/index.cjs437.js.map +1 -1
  440. package/dist/index.cjs438.js +1 -1
  441. package/dist/index.cjs438.js.map +1 -1
  442. package/dist/index.cjs439.js +1 -1
  443. package/dist/index.cjs439.js.map +1 -1
  444. package/dist/index.cjs440.js +1 -1
  445. package/dist/index.cjs440.js.map +1 -1
  446. package/dist/index.cjs441.js +1 -1
  447. package/dist/index.cjs441.js.map +1 -1
  448. package/dist/index.cjs442.js +1 -1
  449. package/dist/index.cjs442.js.map +1 -1
  450. package/dist/index.cjs443.js +1 -1
  451. package/dist/index.cjs443.js.map +1 -1
  452. package/dist/index.cjs444.js +1 -1
  453. package/dist/index.cjs444.js.map +1 -1
  454. package/dist/index.cjs447.js +1 -1
  455. package/dist/index.cjs447.js.map +1 -1
  456. package/dist/index.cjs448.js +1 -1
  457. package/dist/index.cjs448.js.map +1 -1
  458. package/dist/index.cjs450.js +1 -1
  459. package/dist/index.cjs450.js.map +1 -1
  460. package/dist/index.cjs451.js +1 -1
  461. package/dist/index.cjs451.js.map +1 -1
  462. package/dist/index.cjs452.js +1 -1
  463. package/dist/index.cjs452.js.map +1 -1
  464. package/dist/index.cjs453.js +1 -1
  465. package/dist/index.cjs453.js.map +1 -1
  466. package/dist/index.cjs454.js +1 -1
  467. package/dist/index.cjs454.js.map +1 -1
  468. package/dist/index.cjs455.js +1 -1
  469. package/dist/index.cjs455.js.map +1 -1
  470. package/dist/index.cjs456.js +1 -1
  471. package/dist/index.cjs456.js.map +1 -1
  472. package/dist/index.cjs457.js +1 -1
  473. package/dist/index.cjs457.js.map +1 -1
  474. package/dist/index.cjs458.js +1 -1
  475. package/dist/index.cjs458.js.map +1 -1
  476. package/dist/index.cjs459.js +1 -1
  477. package/dist/index.cjs459.js.map +1 -1
  478. package/dist/index.cjs460.js +1 -1
  479. package/dist/index.cjs460.js.map +1 -1
  480. package/dist/index.cjs461.js +1 -1
  481. package/dist/index.cjs461.js.map +1 -1
  482. package/dist/index.cjs462.js +1 -1
  483. package/dist/index.cjs464.js +1 -1
  484. package/dist/index.cjs466.js +1 -1
  485. package/dist/index.cjs481.js +1 -1
  486. package/dist/index.cjs502.js +1 -1
  487. package/dist/index.cjs502.js.map +1 -1
  488. package/dist/index.cjs503.js +1 -1
  489. package/dist/index.cjs503.js.map +1 -1
  490. package/dist/index.cjs504.js +1 -1
  491. package/dist/index.cjs504.js.map +1 -1
  492. package/dist/index.cjs505.js +1 -1
  493. package/dist/index.cjs505.js.map +1 -1
  494. package/dist/index.cjs506.js +1 -1
  495. package/dist/index.cjs506.js.map +1 -1
  496. package/dist/index.cjs507.js +1 -1
  497. package/dist/index.cjs507.js.map +1 -1
  498. package/dist/index.cjs508.js +1 -1
  499. package/dist/index.cjs508.js.map +1 -1
  500. package/dist/index.cjs510.js +1 -1
  501. package/dist/index.cjs510.js.map +1 -1
  502. package/dist/index.cjs511.js +1 -1
  503. package/dist/index.cjs511.js.map +1 -1
  504. package/dist/index.cjs513.js +1 -1
  505. package/dist/index.cjs514.js +1 -1
  506. package/dist/index.cjs515.js +1 -1
  507. package/dist/index.cjs516.js +1 -1
  508. package/dist/index.cjs517.js +1 -1
  509. package/dist/index.cjs518.js +1 -1
  510. package/dist/index.cjs519.js +1 -1
  511. package/dist/index.cjs520.js +1 -1
  512. package/dist/index.cjs521.js +1 -1
  513. package/dist/index.cjs522.js +1 -1
  514. package/dist/index.cjs523.js +1 -1
  515. package/dist/index.cjs524.js +1 -1
  516. package/dist/index.cjs525.js +1 -1
  517. package/dist/index.cjs526.js +1 -1
  518. package/dist/index.cjs527.js +1 -1
  519. package/dist/index.cjs528.js +1 -1
  520. package/dist/index.cjs530.js +1 -1
  521. package/dist/index.cjs532.js +1 -1
  522. package/dist/index.cjs533.js +1 -1
  523. package/dist/index.cjs534.js +1 -1
  524. package/dist/index.cjs535.js +1 -1
  525. package/dist/index.cjs536.js +1 -1
  526. package/dist/index.cjs537.js +1 -1
  527. package/dist/index.cjs538.js +1 -1
  528. package/dist/index.cjs539.js +1 -1
  529. package/dist/index.cjs540.js +1 -1
  530. package/dist/index.cjs541.js +1 -1
  531. package/dist/index.cjs545.js +1 -1
  532. package/dist/index.cjs546.js +1 -1
  533. package/dist/index.cjs547.js +1 -1
  534. package/dist/index.cjs548.js +1 -1
  535. package/dist/index.cjs550.js +1 -1
  536. package/dist/index.cjs551.js +1 -1
  537. package/dist/index.cjs552.js +1 -1
  538. package/dist/index.cjs560.js +1 -1
  539. package/dist/index.cjs565.js +1 -1
  540. package/dist/index.cjs566.js +1 -1
  541. package/dist/index.cjs57.js +1 -1
  542. package/dist/index.cjs570.js +1 -1
  543. package/dist/index.cjs573.js +1 -1
  544. package/dist/index.cjs576.js +1 -1
  545. package/dist/index.cjs576.js.map +1 -1
  546. package/dist/index.cjs577.js +1 -1
  547. package/dist/index.cjs577.js.map +1 -1
  548. package/dist/index.cjs578.js +1 -1
  549. package/dist/index.cjs578.js.map +1 -1
  550. package/dist/index.cjs579.js +1 -1
  551. package/dist/index.cjs579.js.map +1 -1
  552. package/dist/index.cjs580.js +1 -1
  553. package/dist/index.cjs580.js.map +1 -1
  554. package/dist/index.cjs581.js +1 -1
  555. package/dist/index.cjs582.js +1 -1
  556. package/dist/index.cjs582.js.map +1 -1
  557. package/dist/index.cjs584.js +1 -1
  558. package/dist/index.cjs584.js.map +1 -1
  559. package/dist/index.cjs586.js +1 -1
  560. package/dist/index.cjs586.js.map +1 -1
  561. package/dist/index.cjs587.js +1 -1
  562. package/dist/index.cjs588.js +1 -1
  563. package/dist/index.cjs588.js.map +1 -1
  564. package/dist/index.cjs59.js +1 -1
  565. package/dist/index.cjs590.js +1 -1
  566. package/dist/index.cjs591.js +7 -1
  567. package/dist/index.cjs591.js.map +1 -1
  568. package/dist/index.cjs592.js +1 -1
  569. package/dist/index.cjs592.js.map +1 -1
  570. package/dist/index.cjs593.js +1 -1
  571. package/dist/index.cjs593.js.map +1 -1
  572. package/dist/index.cjs594.js +1 -1
  573. package/dist/index.cjs594.js.map +1 -1
  574. package/dist/index.cjs595.js +1 -1
  575. package/dist/index.cjs595.js.map +1 -1
  576. package/dist/index.cjs596.js +1 -1
  577. package/dist/index.cjs596.js.map +1 -1
  578. package/dist/index.cjs597.js +1 -7
  579. package/dist/index.cjs597.js.map +1 -1
  580. package/dist/index.cjs598.js +1 -1
  581. package/dist/index.cjs598.js.map +1 -1
  582. package/dist/index.cjs599.js +1 -1
  583. package/dist/index.cjs599.js.map +1 -1
  584. package/dist/index.cjs60.js +1 -1
  585. package/dist/index.cjs600.js +1 -1
  586. package/dist/index.cjs600.js.map +1 -1
  587. package/dist/index.cjs601.js +1 -1
  588. package/dist/index.cjs601.js.map +1 -1
  589. package/dist/index.cjs602.js +1 -1
  590. package/dist/index.cjs602.js.map +1 -1
  591. package/dist/index.cjs608.js +1 -1
  592. package/dist/index.cjs608.js.map +1 -1
  593. package/dist/index.cjs609.js +1 -1
  594. package/dist/index.cjs609.js.map +1 -1
  595. package/dist/index.cjs61.js +1 -1
  596. package/dist/index.cjs610.js +1 -1
  597. package/dist/index.cjs611.js +1 -1
  598. package/dist/index.cjs612.js +1 -1
  599. package/dist/index.cjs612.js.map +1 -1
  600. package/dist/index.cjs616.js +1 -1
  601. package/dist/index.cjs616.js.map +1 -1
  602. package/dist/index.cjs617.js +1 -1
  603. package/dist/index.cjs617.js.map +1 -1
  604. package/dist/index.cjs618.js +1 -1
  605. package/dist/index.cjs619.js +1 -1
  606. package/dist/index.cjs619.js.map +1 -1
  607. package/dist/index.cjs621.js +1 -1
  608. package/dist/index.cjs621.js.map +1 -1
  609. package/dist/index.cjs623.js +1 -1
  610. package/dist/index.cjs623.js.map +1 -1
  611. package/dist/index.cjs63.js +1 -1
  612. package/dist/index.cjs634.js +1 -1
  613. package/dist/index.cjs635.js +1 -1
  614. package/dist/index.cjs64.js +1 -1
  615. package/dist/index.cjs641.js +1 -1
  616. package/dist/index.cjs641.js.map +1 -1
  617. package/dist/index.cjs643.js +1 -1
  618. package/dist/index.cjs643.js.map +1 -1
  619. package/dist/index.cjs644.js +1 -1
  620. package/dist/index.cjs646.js +1 -1
  621. package/dist/index.cjs647.js +1 -1
  622. package/dist/index.cjs65.js +1 -1
  623. package/dist/index.cjs651.js +1 -1
  624. package/dist/index.cjs651.js.map +1 -1
  625. package/dist/index.cjs652.js +1 -1
  626. package/dist/index.cjs652.js.map +1 -1
  627. package/dist/index.cjs653.js +1 -1
  628. package/dist/index.cjs653.js.map +1 -1
  629. package/dist/index.cjs654.js +1 -1
  630. package/dist/index.cjs654.js.map +1 -1
  631. package/dist/index.cjs655.js.map +1 -1
  632. package/dist/index.cjs656.js.map +1 -1
  633. package/dist/index.cjs66.js +1 -1
  634. package/dist/index.cjs67.js +1 -1
  635. package/dist/index.cjs68.js +1 -1
  636. package/dist/index.cjs69.js +1 -1
  637. package/dist/index.cjs71.js +1 -1
  638. package/dist/index.cjs72.js +1 -1
  639. package/dist/index.cjs73.js +1 -1
  640. package/dist/index.cjs74.js +1 -1
  641. package/dist/index.cjs76.js +1 -1
  642. package/dist/index.cjs77.js +1 -1
  643. package/dist/index.cjs78.js +1 -1
  644. package/dist/index.cjs79.js +1 -1
  645. package/dist/index.cjs80.js +1 -1
  646. package/dist/index.cjs81.js +1 -1
  647. package/dist/index.cjs82.js +1 -1
  648. package/dist/index.cjs83.js +1 -1
  649. package/dist/index.cjs84.js +1 -1
  650. package/dist/index.cjs89.js +1 -1
  651. package/dist/index.es101.js +2 -2
  652. package/dist/index.es107.js +2 -2
  653. package/dist/index.es117.js +1 -1
  654. package/dist/index.es118.js +4 -4
  655. package/dist/index.es120.js +1 -1
  656. package/dist/index.es121.js +1 -1
  657. package/dist/index.es126.js +1 -1
  658. package/dist/index.es129.js +1 -1
  659. package/dist/index.es130.js +1 -1
  660. package/dist/index.es131.js +1 -1
  661. package/dist/index.es135.js +2 -2
  662. package/dist/index.es136.js +1 -1
  663. package/dist/index.es137.js +7 -7
  664. package/dist/index.es138.js +1 -1
  665. package/dist/index.es141.js +1 -1
  666. package/dist/index.es143.js +3 -3
  667. package/dist/index.es144.js +2 -2
  668. package/dist/index.es147.js +3 -3
  669. package/dist/index.es148.js +9 -9
  670. package/dist/index.es150.js +4 -4
  671. package/dist/index.es151.js +4 -4
  672. package/dist/index.es152.js +7 -7
  673. package/dist/index.es153.js +14 -14
  674. package/dist/index.es154.js +2 -2
  675. package/dist/index.es155.js +2 -2
  676. package/dist/index.es161.js +1 -1
  677. package/dist/index.es162.js +1 -1
  678. package/dist/index.es163.js +12 -12
  679. package/dist/index.es164.js +1 -1
  680. package/dist/index.es179.js.map +1 -1
  681. package/dist/index.es180.js +12 -4
  682. package/dist/index.es180.js.map +1 -1
  683. package/dist/index.es181.js +4 -46
  684. package/dist/index.es181.js.map +1 -1
  685. package/dist/index.es182.js +179 -10
  686. package/dist/index.es182.js.map +1 -1
  687. package/dist/index.es183.js +22 -12
  688. package/dist/index.es183.js.map +1 -1
  689. package/dist/index.es184.js +25 -4
  690. package/dist/index.es184.js.map +1 -1
  691. package/dist/index.es185.js +369 -167
  692. package/dist/index.es185.js.map +1 -1
  693. package/dist/index.es186.js +516 -21
  694. package/dist/index.es186.js.map +1 -1
  695. package/dist/index.es187.js +10 -24
  696. package/dist/index.es187.js.map +1 -1
  697. package/dist/index.es188.js +3 -381
  698. package/dist/index.es188.js.map +1 -1
  699. package/dist/index.es189.js +39 -510
  700. package/dist/index.es189.js.map +1 -1
  701. package/dist/index.es190.js +27 -6
  702. package/dist/index.es190.js.map +1 -1
  703. package/dist/index.es191.js +75 -14
  704. package/dist/index.es191.js.map +1 -1
  705. package/dist/index.es192.js +6 -53
  706. package/dist/index.es192.js.map +1 -1
  707. package/dist/index.es193.js +15 -123
  708. package/dist/index.es193.js.map +1 -1
  709. package/dist/index.es194.js +70 -14
  710. package/dist/index.es194.js.map +1 -1
  711. package/dist/index.es195.js +65 -141
  712. package/dist/index.es195.js.map +1 -1
  713. package/dist/index.es196.js +70 -10
  714. package/dist/index.es196.js.map +1 -1
  715. package/dist/index.es197.js +2 -219
  716. package/dist/index.es197.js.map +1 -1
  717. package/dist/index.es198.js +2 -14
  718. package/dist/index.es198.js.map +1 -1
  719. package/dist/index.es199.js +86 -59
  720. package/dist/index.es199.js.map +1 -1
  721. package/dist/index.es200.js +85 -32
  722. package/dist/index.es200.js.map +1 -1
  723. package/dist/index.es201.js +39 -43
  724. package/dist/index.es201.js.map +1 -1
  725. package/dist/index.es202.js +67 -29
  726. package/dist/index.es202.js.map +1 -1
  727. package/dist/index.es203.js +2 -10
  728. package/dist/index.es203.js.map +1 -1
  729. package/dist/index.es204.js +1633 -13
  730. package/dist/index.es204.js.map +1 -1
  731. package/dist/index.es205.js +32 -48
  732. package/dist/index.es205.js.map +1 -1
  733. package/dist/index.es206.js +264 -56
  734. package/dist/index.es206.js.map +1 -1
  735. package/dist/index.es207.js +4 -7
  736. package/dist/index.es207.js.map +1 -1
  737. package/dist/index.es208.js +68 -123
  738. package/dist/index.es208.js.map +1 -1
  739. package/dist/index.es209.js +195 -16
  740. package/dist/index.es209.js.map +1 -1
  741. package/dist/index.es210.js +6 -185
  742. package/dist/index.es210.js.map +1 -1
  743. package/dist/index.es211.js +33 -215
  744. package/dist/index.es211.js.map +1 -1
  745. package/dist/index.es212.js +11 -12
  746. package/dist/index.es212.js.map +1 -1
  747. package/dist/index.es213.js +123 -68
  748. package/dist/index.es213.js.map +1 -1
  749. package/dist/index.es214.js +16 -195
  750. package/dist/index.es214.js.map +1 -1
  751. package/dist/index.es215.js +185 -9
  752. package/dist/index.es215.js.map +1 -1
  753. package/dist/index.es216.js +217 -4
  754. package/dist/index.es216.js.map +1 -1
  755. package/dist/index.es217.js +49 -26
  756. package/dist/index.es217.js.map +1 -1
  757. package/dist/index.es218.js +12 -75
  758. package/dist/index.es218.js.map +1 -1
  759. package/dist/index.es219.js +4 -6
  760. package/dist/index.es219.js.map +1 -1
  761. package/dist/index.es220.js +57 -16
  762. package/dist/index.es220.js.map +1 -1
  763. package/dist/index.es221.js +12 -71
  764. package/dist/index.es221.js.map +1 -1
  765. package/dist/index.es222.js +14 -68
  766. package/dist/index.es222.js.map +1 -1
  767. package/dist/index.es223.js +20 -70
  768. package/dist/index.es223.js.map +1 -1
  769. package/dist/index.es224.js +7 -2
  770. package/dist/index.es224.js.map +1 -1
  771. package/dist/index.es225.js +12 -2
  772. package/dist/index.es225.js.map +1 -1
  773. package/dist/index.es226.js +50 -88
  774. package/dist/index.es226.js.map +1 -1
  775. package/dist/index.es227.js +120 -81
  776. package/dist/index.es227.js.map +1 -1
  777. package/dist/index.es228.js +13 -40
  778. package/dist/index.es228.js.map +1 -1
  779. package/dist/index.es229.js +135 -59
  780. package/dist/index.es229.js.map +1 -1
  781. package/dist/index.es230.js +11 -2
  782. package/dist/index.es230.js.map +1 -1
  783. package/dist/index.es231.js +209 -1624
  784. package/dist/index.es231.js.map +1 -1
  785. package/dist/index.es232.js +14 -35
  786. package/dist/index.es232.js.map +1 -1
  787. package/dist/index.es233.js +55 -257
  788. package/dist/index.es233.js.map +1 -1
  789. package/dist/index.es234.js +32 -34
  790. package/dist/index.es234.js.map +1 -1
  791. package/dist/index.es235.js +45 -10
  792. package/dist/index.es235.js.map +1 -1
  793. package/dist/index.es236.js +29 -3
  794. package/dist/index.es236.js.map +1 -1
  795. package/dist/index.es237.js +10 -21
  796. package/dist/index.es237.js.map +1 -1
  797. package/dist/index.es242.js +1 -1
  798. package/dist/index.es244.js +22 -10
  799. package/dist/index.es244.js.map +1 -1
  800. package/dist/index.es245.js +13 -10
  801. package/dist/index.es245.js.map +1 -1
  802. package/dist/index.es246.js +17 -4
  803. package/dist/index.es246.js.map +1 -1
  804. package/dist/index.es247.js +11 -22
  805. package/dist/index.es247.js.map +1 -1
  806. package/dist/index.es248.js +11 -24
  807. package/dist/index.es248.js.map +1 -1
  808. package/dist/index.es249.js +4 -15
  809. package/dist/index.es249.js.map +1 -1
  810. package/dist/index.es250.js +22 -17
  811. package/dist/index.es250.js.map +1 -1
  812. package/dist/index.es251.js +24 -22
  813. package/dist/index.es251.js.map +1 -1
  814. package/dist/index.es252.js +273 -2
  815. package/dist/index.es252.js.map +1 -1
  816. package/dist/index.es253.js +15 -2
  817. package/dist/index.es253.js.map +1 -1
  818. package/dist/index.es254.js +19 -273
  819. package/dist/index.es254.js.map +1 -1
  820. package/dist/index.es255.js +4 -14
  821. package/dist/index.es255.js.map +1 -1
  822. package/dist/index.es256.js +3 -18
  823. package/dist/index.es256.js.map +1 -1
  824. package/dist/index.es257.js +2 -3
  825. package/dist/index.es257.js.map +1 -1
  826. package/dist/index.es258.js +4 -3
  827. package/dist/index.es258.js.map +1 -1
  828. package/dist/index.es259.js +1 -1
  829. package/dist/index.es259.js.map +1 -1
  830. package/dist/index.es260.js +3 -5
  831. package/dist/index.es260.js.map +1 -1
  832. package/dist/index.es261.js +3 -4
  833. package/dist/index.es261.js.map +1 -1
  834. package/dist/index.es262.js +3 -3
  835. package/dist/index.es262.js.map +1 -1
  836. package/dist/index.es263.js +3 -3
  837. package/dist/index.es263.js.map +1 -1
  838. package/dist/index.es264.js +3 -3
  839. package/dist/index.es264.js.map +1 -1
  840. package/dist/index.es265.js +3 -3
  841. package/dist/index.es265.js.map +1 -1
  842. package/dist/index.es266.js +3 -3
  843. package/dist/index.es266.js.map +1 -1
  844. package/dist/index.es267.js +10 -3
  845. package/dist/index.es267.js.map +1 -1
  846. package/dist/index.es268.js +4 -3
  847. package/dist/index.es268.js.map +1 -1
  848. package/dist/index.es269.js +5 -9
  849. package/dist/index.es269.js.map +1 -1
  850. package/dist/index.es270.js +6 -4
  851. package/dist/index.es270.js.map +1 -1
  852. package/dist/index.es271.js +9 -5
  853. package/dist/index.es271.js.map +1 -1
  854. package/dist/index.es272.js +11 -5
  855. package/dist/index.es272.js.map +1 -1
  856. package/dist/index.es273.js +12 -9
  857. package/dist/index.es273.js.map +1 -1
  858. package/dist/index.es274.js +85 -11
  859. package/dist/index.es274.js.map +1 -1
  860. package/dist/index.es275.js +3 -13
  861. package/dist/index.es275.js.map +1 -1
  862. package/dist/index.es276.js +14 -85
  863. package/dist/index.es276.js.map +1 -1
  864. package/dist/index.es277.js +12 -3
  865. package/dist/index.es277.js.map +1 -1
  866. package/dist/index.es278.js +6 -14
  867. package/dist/index.es278.js.map +1 -1
  868. package/dist/index.es279.js +6 -11
  869. package/dist/index.es279.js.map +1 -1
  870. package/dist/index.es280.js +5 -5
  871. package/dist/index.es280.js.map +1 -1
  872. package/dist/index.es281.js +7 -6
  873. package/dist/index.es281.js.map +1 -1
  874. package/dist/index.es282.js +3 -6
  875. package/dist/index.es282.js.map +1 -1
  876. package/dist/index.es283.js +4 -8
  877. package/dist/index.es283.js.map +1 -1
  878. package/dist/index.es284.js +3 -3
  879. package/dist/index.es284.js.map +1 -1
  880. package/dist/index.es285.js +7 -4
  881. package/dist/index.es285.js.map +1 -1
  882. package/dist/index.es286.js +7 -4
  883. package/dist/index.es286.js.map +1 -1
  884. package/dist/index.es287.js +3 -6
  885. package/dist/index.es287.js.map +1 -1
  886. package/dist/index.es288.js +7 -6
  887. package/dist/index.es288.js.map +1 -1
  888. package/dist/index.es289.js +12 -3
  889. package/dist/index.es289.js.map +1 -1
  890. package/dist/index.es290.js +10 -7
  891. package/dist/index.es290.js.map +1 -1
  892. package/dist/index.es291.js +3 -12
  893. package/dist/index.es291.js.map +1 -1
  894. package/dist/index.es292.js +5 -10
  895. package/dist/index.es292.js.map +1 -1
  896. package/dist/index.es293.js +2 -3
  897. package/dist/index.es293.js.map +1 -1
  898. package/dist/index.es294.js +6 -4
  899. package/dist/index.es294.js.map +1 -1
  900. package/dist/index.es295.js +7 -2
  901. package/dist/index.es295.js.map +1 -1
  902. package/dist/index.es296.js +6 -6
  903. package/dist/index.es296.js.map +1 -1
  904. package/dist/index.es297.js +8 -7
  905. package/dist/index.es297.js.map +1 -1
  906. package/dist/index.es298.js +3 -7
  907. package/dist/index.es298.js.map +1 -1
  908. package/dist/index.es299.js +4 -9
  909. package/dist/index.es299.js.map +1 -1
  910. package/dist/index.es300.js +57 -3
  911. package/dist/index.es300.js.map +1 -1
  912. package/dist/index.es301.js +14 -4
  913. package/dist/index.es301.js.map +1 -1
  914. package/dist/index.es302.js +5 -57
  915. package/dist/index.es302.js.map +1 -1
  916. package/dist/index.es303.js +5 -13
  917. package/dist/index.es303.js.map +1 -1
  918. package/dist/index.es304.js +8 -5
  919. package/dist/index.es304.js.map +1 -1
  920. package/dist/index.es305.js +16 -5
  921. package/dist/index.es305.js.map +1 -1
  922. package/dist/index.es306.js +13 -8
  923. package/dist/index.es306.js.map +1 -1
  924. package/dist/index.es307.js +4 -16
  925. package/dist/index.es307.js.map +1 -1
  926. package/dist/index.es308.js +5 -13
  927. package/dist/index.es308.js.map +1 -1
  928. package/dist/index.es309.js +8 -4
  929. package/dist/index.es309.js.map +1 -1
  930. package/dist/index.es310.js +4 -3
  931. package/dist/index.es310.js.map +1 -1
  932. package/dist/index.es311.js +4 -6
  933. package/dist/index.es311.js.map +1 -1
  934. package/dist/index.es312.js +8 -6
  935. package/dist/index.es312.js.map +1 -1
  936. package/dist/index.es313.js +3 -7
  937. package/dist/index.es313.js.map +1 -1
  938. package/dist/index.es314.js +3 -9
  939. package/dist/index.es314.js.map +1 -1
  940. package/dist/index.es315.js +11 -3
  941. package/dist/index.es315.js.map +1 -1
  942. package/dist/index.es316.js +5 -3
  943. package/dist/index.es316.js.map +1 -1
  944. package/dist/index.es317.js +4 -11
  945. package/dist/index.es317.js.map +1 -1
  946. package/dist/index.es318.js +9 -5
  947. package/dist/index.es318.js.map +1 -1
  948. package/dist/index.es319.js +6 -4
  949. package/dist/index.es319.js.map +1 -1
  950. package/dist/index.es320.js +16 -8
  951. package/dist/index.es320.js.map +1 -1
  952. package/dist/index.es321.js +11 -5
  953. package/dist/index.es321.js.map +1 -1
  954. package/dist/index.es322.js +3 -17
  955. package/dist/index.es322.js.map +1 -1
  956. package/dist/index.es323.js +3 -12
  957. package/dist/index.es323.js.map +1 -1
  958. package/dist/index.es324.js +9 -3
  959. package/dist/index.es324.js.map +1 -1
  960. package/dist/index.es325.js +7 -3
  961. package/dist/index.es325.js.map +1 -1
  962. package/dist/index.es326.js +12 -8
  963. package/dist/index.es326.js.map +1 -1
  964. package/dist/index.es327.js +12 -6
  965. package/dist/index.es327.js.map +1 -1
  966. package/dist/index.es328.js +6 -12
  967. package/dist/index.es328.js.map +1 -1
  968. package/dist/index.es329.js +5 -12
  969. package/dist/index.es329.js.map +1 -1
  970. package/dist/index.es330.js +5 -6
  971. package/dist/index.es330.js.map +1 -1
  972. package/dist/index.es331.js +16 -5
  973. package/dist/index.es331.js.map +1 -1
  974. package/dist/index.es332.js +16 -5
  975. package/dist/index.es332.js.map +1 -1
  976. package/dist/index.es333.js +4 -16
  977. package/dist/index.es333.js.map +1 -1
  978. package/dist/index.es334.js +16 -16
  979. package/dist/index.es334.js.map +1 -1
  980. package/dist/index.es335.js +22 -4
  981. package/dist/index.es335.js.map +1 -1
  982. package/dist/index.es336.js +6 -17
  983. package/dist/index.es336.js.map +1 -1
  984. package/dist/index.es337.js +5 -23
  985. package/dist/index.es337.js.map +1 -1
  986. package/dist/index.es338.js +5 -5
  987. package/dist/index.es338.js.map +1 -1
  988. package/dist/index.es339.js +5 -5
  989. package/dist/index.es339.js.map +1 -1
  990. package/dist/index.es340.js +12 -6
  991. package/dist/index.es340.js.map +1 -1
  992. package/dist/index.es341.js +6 -5
  993. package/dist/index.es341.js.map +1 -1
  994. package/dist/index.es342.js +4 -11
  995. package/dist/index.es342.js.map +1 -1
  996. package/dist/index.es343.js +4 -5
  997. package/dist/index.es343.js.map +1 -1
  998. package/dist/index.es344.js +3 -3
  999. package/dist/index.es344.js.map +1 -1
  1000. package/dist/index.es345.js +3 -3
  1001. package/dist/index.es345.js.map +1 -1
  1002. package/dist/index.es346.js +4 -4
  1003. package/dist/index.es346.js.map +1 -1
  1004. package/dist/index.es347.js +4 -4
  1005. package/dist/index.es347.js.map +1 -1
  1006. package/dist/index.es348.js +12 -4
  1007. package/dist/index.es348.js.map +1 -1
  1008. package/dist/index.es349.js +14 -4
  1009. package/dist/index.es349.js.map +1 -1
  1010. package/dist/index.es350.js +8 -12
  1011. package/dist/index.es350.js.map +1 -1
  1012. package/dist/index.es351.js +6 -14
  1013. package/dist/index.es351.js.map +1 -1
  1014. package/dist/index.es352.js +6 -8
  1015. package/dist/index.es352.js.map +1 -1
  1016. package/dist/index.es353.js +8 -6
  1017. package/dist/index.es353.js.map +1 -1
  1018. package/dist/index.es354.js +2 -7
  1019. package/dist/index.es354.js.map +1 -1
  1020. package/dist/index.es355.js +2 -9
  1021. package/dist/index.es355.js.map +1 -1
  1022. package/dist/index.es359.js +1 -1
  1023. package/dist/index.es360.js +1 -1
  1024. package/dist/index.es361.js +1 -1
  1025. package/dist/index.es362.js +1 -1
  1026. package/dist/index.es363.js +2 -2
  1027. package/dist/index.es364.js +1 -1
  1028. package/dist/index.es365.js +5 -5
  1029. package/dist/index.es366.js +2 -2
  1030. package/dist/index.es367.js +6 -6
  1031. package/dist/index.es368.js +2 -2
  1032. package/dist/index.es372.js +1 -1
  1033. package/dist/index.es373.js +1 -1
  1034. package/dist/index.es376.js +1 -1
  1035. package/dist/index.es410.js +11 -10
  1036. package/dist/index.es410.js.map +1 -1
  1037. package/dist/index.es411.js +9 -5
  1038. package/dist/index.es411.js.map +1 -1
  1039. package/dist/index.es412.js +5 -11
  1040. package/dist/index.es412.js.map +1 -1
  1041. package/dist/index.es413.js +12 -10
  1042. package/dist/index.es413.js.map +1 -1
  1043. package/dist/index.es414.js +7 -4
  1044. package/dist/index.es414.js.map +1 -1
  1045. package/dist/index.es415.js +5 -12
  1046. package/dist/index.es415.js.map +1 -1
  1047. package/dist/index.es416.js +4 -8
  1048. package/dist/index.es416.js.map +1 -1
  1049. package/dist/index.es417.js +3 -5
  1050. package/dist/index.es417.js.map +1 -1
  1051. package/dist/index.es418.js +3 -4
  1052. package/dist/index.es418.js.map +1 -1
  1053. package/dist/index.es419.js +9 -3
  1054. package/dist/index.es419.js.map +1 -1
  1055. package/dist/index.es420.js +22 -3
  1056. package/dist/index.es420.js.map +1 -1
  1057. package/dist/index.es421.js +21 -8
  1058. package/dist/index.es421.js.map +1 -1
  1059. package/dist/index.es422.js +11 -19
  1060. package/dist/index.es422.js.map +1 -1
  1061. package/dist/index.es423.js +14 -19
  1062. package/dist/index.es423.js.map +1 -1
  1063. package/dist/index.es424.js +5 -13
  1064. package/dist/index.es424.js.map +1 -1
  1065. package/dist/index.es425.js +8 -16
  1066. package/dist/index.es425.js.map +1 -1
  1067. package/dist/index.es426.js +6 -5
  1068. package/dist/index.es426.js.map +1 -1
  1069. package/dist/index.es427.js +20 -7
  1070. package/dist/index.es427.js.map +1 -1
  1071. package/dist/index.es428.js +8 -5
  1072. package/dist/index.es428.js.map +1 -1
  1073. package/dist/index.es429.js +9 -22
  1074. package/dist/index.es429.js.map +1 -1
  1075. package/dist/index.es430.js +4 -10
  1076. package/dist/index.es430.js.map +1 -1
  1077. package/dist/index.es431.js +11 -9
  1078. package/dist/index.es431.js.map +1 -1
  1079. package/dist/index.es432.js +9 -4
  1080. package/dist/index.es432.js.map +1 -1
  1081. package/dist/index.es433.js +21 -9
  1082. package/dist/index.es433.js.map +1 -1
  1083. package/dist/index.es434.js +11 -8
  1084. package/dist/index.es434.js.map +1 -1
  1085. package/dist/index.es435.js +18 -22
  1086. package/dist/index.es435.js.map +1 -1
  1087. package/dist/index.es436.js +4 -12
  1088. package/dist/index.es436.js.map +1 -1
  1089. package/dist/index.es437.js +16 -17
  1090. package/dist/index.es437.js.map +1 -1
  1091. package/dist/index.es438.js +12 -4
  1092. package/dist/index.es438.js.map +1 -1
  1093. package/dist/index.es439.js +3 -17
  1094. package/dist/index.es439.js.map +1 -1
  1095. package/dist/index.es440.js +4 -11
  1096. package/dist/index.es440.js.map +1 -1
  1097. package/dist/index.es441.js +9 -3
  1098. package/dist/index.es441.js.map +1 -1
  1099. package/dist/index.es442.js +2 -5
  1100. package/dist/index.es442.js.map +1 -1
  1101. package/dist/index.es443.js +322 -2
  1102. package/dist/index.es443.js.map +1 -1
  1103. package/dist/index.es444.js +2 -322
  1104. package/dist/index.es444.js.map +1 -1
  1105. package/dist/index.es445.js +2 -2
  1106. package/dist/index.es446.js +2 -2
  1107. package/dist/index.es447.js +15 -2
  1108. package/dist/index.es447.js.map +1 -1
  1109. package/dist/index.es448.js +2 -15
  1110. package/dist/index.es448.js.map +1 -1
  1111. package/dist/index.es449.js +2 -2
  1112. package/dist/index.es450.js +48 -2
  1113. package/dist/index.es450.js.map +1 -1
  1114. package/dist/index.es451.js +26 -36
  1115. package/dist/index.es451.js.map +1 -1
  1116. package/dist/index.es452.js +41 -36
  1117. package/dist/index.es452.js.map +1 -1
  1118. package/dist/index.es453.js +2 -43
  1119. package/dist/index.es453.js.map +1 -1
  1120. package/dist/index.es454.js +16 -2
  1121. package/dist/index.es454.js.map +1 -1
  1122. package/dist/index.es455.js +2 -16
  1123. package/dist/index.es455.js.map +1 -1
  1124. package/dist/index.es456.js +16 -2
  1125. package/dist/index.es456.js.map +1 -1
  1126. package/dist/index.es457.js +13 -13
  1127. package/dist/index.es457.js.map +1 -1
  1128. package/dist/index.es458.js +16 -14
  1129. package/dist/index.es458.js.map +1 -1
  1130. package/dist/index.es459.js +18 -16
  1131. package/dist/index.es459.js.map +1 -1
  1132. package/dist/index.es460.js +2 -20
  1133. package/dist/index.es460.js.map +1 -1
  1134. package/dist/index.es461.js +6 -2
  1135. package/dist/index.es461.js.map +1 -1
  1136. package/dist/index.es462.js +1 -1
  1137. package/dist/index.es464.js +1 -1
  1138. package/dist/index.es466.js +1 -1
  1139. package/dist/index.es481.js +1 -1
  1140. package/dist/index.es502.js +3 -7
  1141. package/dist/index.es502.js.map +1 -1
  1142. package/dist/index.es503.js +155 -5
  1143. package/dist/index.es503.js.map +1 -1
  1144. package/dist/index.es504.js +104 -3
  1145. package/dist/index.es504.js.map +1 -1
  1146. package/dist/index.es505.js +17 -8
  1147. package/dist/index.es505.js.map +1 -1
  1148. package/dist/index.es506.js +5 -155
  1149. package/dist/index.es506.js.map +1 -1
  1150. package/dist/index.es507.js +7 -103
  1151. package/dist/index.es507.js.map +1 -1
  1152. package/dist/index.es508.js +2 -17
  1153. package/dist/index.es508.js.map +1 -1
  1154. package/dist/index.es510.js +22 -2
  1155. package/dist/index.es510.js.map +1 -1
  1156. package/dist/index.es511.js +6 -21
  1157. package/dist/index.es511.js.map +1 -1
  1158. package/dist/index.es513.js +4 -4
  1159. package/dist/index.es514.js +4 -4
  1160. package/dist/index.es515.js +2 -2
  1161. package/dist/index.es516.js +9 -9
  1162. package/dist/index.es517.js +2 -2
  1163. package/dist/index.es518.js +2 -2
  1164. package/dist/index.es519.js +2 -2
  1165. package/dist/index.es520.js +2 -2
  1166. package/dist/index.es521.js +2 -2
  1167. package/dist/index.es522.js +2 -2
  1168. package/dist/index.es523.js +2 -2
  1169. package/dist/index.es524.js +2 -2
  1170. package/dist/index.es525.js +3 -3
  1171. package/dist/index.es526.js +2 -2
  1172. package/dist/index.es527.js +2 -2
  1173. package/dist/index.es528.js +4 -4
  1174. package/dist/index.es530.js +2 -2
  1175. package/dist/index.es532.js +2 -2
  1176. package/dist/index.es533.js +2 -2
  1177. package/dist/index.es534.js +2 -2
  1178. package/dist/index.es535.js +2 -2
  1179. package/dist/index.es536.js +2 -2
  1180. package/dist/index.es537.js +2 -2
  1181. package/dist/index.es538.js +2 -2
  1182. package/dist/index.es539.js +2 -2
  1183. package/dist/index.es540.js +2 -2
  1184. package/dist/index.es541.js +2 -2
  1185. package/dist/index.es545.js +1 -1
  1186. package/dist/index.es546.js +1 -1
  1187. package/dist/index.es547.js +2 -2
  1188. package/dist/index.es548.js +1 -1
  1189. package/dist/index.es550.js +2 -2
  1190. package/dist/index.es551.js +1 -1
  1191. package/dist/index.es552.js +1 -1
  1192. package/dist/index.es560.js +1 -1
  1193. package/dist/index.es565.js +1 -1
  1194. package/dist/index.es566.js +1 -1
  1195. package/dist/index.es57.js +2 -2
  1196. package/dist/index.es570.js +1 -1
  1197. package/dist/index.es573.js +1 -1
  1198. package/dist/index.es576.js +118 -9
  1199. package/dist/index.es576.js.map +1 -1
  1200. package/dist/index.es577.js +2 -13
  1201. package/dist/index.es577.js.map +1 -1
  1202. package/dist/index.es578.js +2 -118
  1203. package/dist/index.es578.js.map +1 -1
  1204. package/dist/index.es579.js +8 -2
  1205. package/dist/index.es579.js.map +1 -1
  1206. package/dist/index.es580.js +14 -2
  1207. package/dist/index.es580.js.map +1 -1
  1208. package/dist/index.es581.js +2 -2
  1209. package/dist/index.es582.js +151 -2
  1210. package/dist/index.es582.js.map +1 -1
  1211. package/dist/index.es583.js +2 -2
  1212. package/dist/index.es584.js +6 -2
  1213. package/dist/index.es584.js.map +1 -1
  1214. package/dist/index.es585.js +2 -2
  1215. package/dist/index.es586.js +148 -2
  1216. package/dist/index.es586.js.map +1 -1
  1217. package/dist/index.es587.js +2 -2
  1218. package/dist/index.es588.js +138 -2
  1219. package/dist/index.es588.js.map +1 -1
  1220. package/dist/index.es589.js +2 -2
  1221. package/dist/index.es59.js +1 -1
  1222. package/dist/index.es590.js +2 -2
  1223. package/dist/index.es591.js +225 -2
  1224. package/dist/index.es591.js.map +1 -1
  1225. package/dist/index.es592.js +123 -140
  1226. package/dist/index.es592.js.map +1 -1
  1227. package/dist/index.es593.js +129 -2
  1228. package/dist/index.es593.js.map +1 -1
  1229. package/dist/index.es594.js +133 -5
  1230. package/dist/index.es594.js.map +1 -1
  1231. package/dist/index.es595.js +129 -2
  1232. package/dist/index.es595.js.map +1 -1
  1233. package/dist/index.es596.js +135 -2
  1234. package/dist/index.es596.js.map +1 -1
  1235. package/dist/index.es597.js +2 -225
  1236. package/dist/index.es597.js.map +1 -1
  1237. package/dist/index.es598.js +2 -134
  1238. package/dist/index.es598.js.map +1 -1
  1239. package/dist/index.es599.js +2 -129
  1240. package/dist/index.es599.js.map +1 -1
  1241. package/dist/index.es60.js +1 -1
  1242. package/dist/index.es600.js +2 -134
  1243. package/dist/index.es600.js.map +1 -1
  1244. package/dist/index.es601.js +2 -129
  1245. package/dist/index.es601.js.map +1 -1
  1246. package/dist/index.es602.js +2 -135
  1247. package/dist/index.es602.js.map +1 -1
  1248. package/dist/index.es603.js +2 -2
  1249. package/dist/index.es604.js +2 -2
  1250. package/dist/index.es607.js +2 -2
  1251. package/dist/index.es608.js +131 -2
  1252. package/dist/index.es608.js.map +1 -1
  1253. package/dist/index.es609.js +128 -2
  1254. package/dist/index.es609.js.map +1 -1
  1255. package/dist/index.es61.js +2 -2
  1256. package/dist/index.es612.js +2 -148
  1257. package/dist/index.es612.js.map +1 -1
  1258. package/dist/index.es613.js +2 -2
  1259. package/dist/index.es615.js +2 -2
  1260. package/dist/index.es616.js +2 -131
  1261. package/dist/index.es616.js.map +1 -1
  1262. package/dist/index.es617.js +2 -128
  1263. package/dist/index.es617.js.map +1 -1
  1264. package/dist/index.es618.js +2 -2
  1265. package/dist/index.es619.js +2 -138
  1266. package/dist/index.es619.js.map +1 -1
  1267. package/dist/index.es620.js +2 -2
  1268. package/dist/index.es621.js +14 -2
  1269. package/dist/index.es621.js.map +1 -1
  1270. package/dist/index.es623.js +2 -14
  1271. package/dist/index.es623.js.map +1 -1
  1272. package/dist/index.es625.js +2 -2
  1273. package/dist/index.es63.js +2 -2
  1274. package/dist/index.es634.js +2 -2
  1275. package/dist/index.es635.js +2 -2
  1276. package/dist/index.es636.js +2 -2
  1277. package/dist/index.es637.js +2 -2
  1278. package/dist/index.es638.js +2 -2
  1279. package/dist/index.es639.js +2 -2
  1280. package/dist/index.es64.js +2 -2
  1281. package/dist/index.es640.js +2 -2
  1282. package/dist/index.es641.js +2 -30
  1283. package/dist/index.es641.js.map +1 -1
  1284. package/dist/index.es642.js +2 -2
  1285. package/dist/index.es643.js +30 -2
  1286. package/dist/index.es643.js.map +1 -1
  1287. package/dist/index.es644.js +2 -2
  1288. package/dist/index.es645.js +2 -2
  1289. package/dist/index.es646.js +2 -2
  1290. package/dist/index.es647.js +1 -1
  1291. package/dist/index.es65.js +2 -2
  1292. package/dist/index.es651.js +11 -21
  1293. package/dist/index.es651.js.map +1 -1
  1294. package/dist/index.es652.js +26 -11
  1295. package/dist/index.es652.js.map +1 -1
  1296. package/dist/index.es653.js +4 -27
  1297. package/dist/index.es653.js.map +1 -1
  1298. package/dist/index.es654.js +22 -4
  1299. package/dist/index.es654.js.map +1 -1
  1300. package/dist/index.es655.js.map +1 -1
  1301. package/dist/index.es656.js.map +1 -1
  1302. package/dist/index.es66.js +1 -1
  1303. package/dist/index.es67.js +1 -1
  1304. package/dist/index.es68.js +2 -2
  1305. package/dist/index.es69.js +2 -2
  1306. package/dist/index.es71.js +2 -2
  1307. package/dist/index.es72.js +2 -2
  1308. package/dist/index.es73.js +2 -2
  1309. package/dist/index.es74.js +1 -1
  1310. package/dist/index.es76.js +1 -1
  1311. package/dist/index.es77.js +4 -4
  1312. package/dist/index.es78.js +5 -5
  1313. package/dist/index.es79.js +5 -5
  1314. package/dist/index.es80.js +1 -1
  1315. package/dist/index.es81.js +3 -3
  1316. package/dist/index.es82.js +4 -4
  1317. package/dist/index.es83.js +2 -2
  1318. package/dist/index.es84.js +2 -2
  1319. package/dist/index.es89.js +14 -14
  1320. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./index.cjs157.js"),n=require("react"),g=require("./index.cjs159.js"),R=require("./index.cjs160.js"),v=require("./index.cjs158.js"),w=require("./index.cjs161.js"),_=require("./index.cjs235.js"),B=require("./index.cjs234.js"),D=require("./index.cjs162.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.cjs157.js"),n=require("react"),g=require("./index.cjs159.js"),R=require("./index.cjs160.js"),v=require("./index.cjs158.js"),w=require("./index.cjs161.js"),_=require("./index.cjs212.js"),B=require("./index.cjs211.js"),D=require("./index.cjs162.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs157.js"),o=require("react"),J=require("./index.cjs160.js"),Q=require("./index.cjs206.js"),W=require("./index.cjs159.js"),X=require("./index.cjs158.js"),N=require("./index.cjs161.js"),M=require("./index.cjs162.js"),v=require("./index.cjs144.js"),Z=require("./index.cjs164.js"),ee=require("./index.cjs207.js"),p="Accordion",oe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,te,ne]=Q.createCollection(p),[g,re]=J.createContextScope(p,[ne,v.createCollapsibleScope]),k=v.createCollapsibleScope(),q=o.forwardRef((e,c)=>{const{type:t,...r}=e,i=r,n=r;return o.createElement(V.Provider,{scope:e.__scopeAccordion},t==="multiple"?o.createElement(le,b({},n,{ref:c})):o.createElement(ae,b({},i,{ref:c})))});q.propTypes={type(e){const c=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof c=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(c)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[H,ce]=g(p),[K,ie]=g(p,{collapsible:!1}),ae=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},collapsible:n=!1,...a}=e,[l,s]=N.useControllableState({prop:t,defaultProp:r,onChange:i});return o.createElement(H,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:o.useCallback(()=>n&&s(""),[n,s])},o.createElement(K,{scope:e.__scopeAccordion,collapsible:n},o.createElement(L,b({},a,{ref:c}))))}),le=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},...n}=e,[a=[],l]=N.useControllableState({prop:t,defaultProp:r,onChange:i}),s=o.useCallback($=>l((f=[])=>[...f,$]),[l]),u=o.useCallback($=>l((f=[])=>f.filter(x=>x!==$)),[l]);return o.createElement(H,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},o.createElement(K,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(L,b({},n,{ref:c}))))}),[se,C]=g(p),L=o.forwardRef((e,c)=>{const{__scopeAccordion:t,disabled:r,dir:i,orientation:n="vertical",...a}=e,l=o.useRef(null),s=W.useComposedRefs(l,c),u=te(t),f=ee.useDirection(i)==="ltr",x=X.composeEventHandlers(e.onKeyDown,m=>{var _;if(!oe.includes(m.key))return;const B=m.target,E=u().filter(P=>{var R;return!((R=P.ref.current)!==null&&R!==void 0&&R.disabled)}),A=E.findIndex(P=>P.ref.current===B),O=E.length;if(A===-1)return;m.preventDefault();let d=A;const I=0,w=O-1,h=()=>{d=A+1,d>w&&(d=I)},y=()=>{d=A-1,d<I&&(d=w)};switch(m.key){case"Home":d=I;break;case"End":d=w;break;case"ArrowRight":n==="horizontal"&&(f?h():y());break;case"ArrowDown":n==="vertical"&&h();break;case"ArrowLeft":n==="horizontal"&&(f?y():h());break;case"ArrowUp":n==="vertical"&&y();break}const F=d%O;(_=E[F].ref.current)===null||_===void 0||_.focus()});return o.createElement(se,{scope:t,disabled:r,direction:i,orientation:n},o.createElement(V.Slot,{scope:t},o.createElement(M.Primitive.div,b({},a,{"data-orientation":n,ref:s,onKeyDown:r?void 0:x}))))}),S="AccordionItem",[de,D]=g(S),z=o.forwardRef((e,c)=>{const{__scopeAccordion:t,value:r,...i}=e,n=C(S,t),a=ce(S,t),l=k(t),s=Z.useId(),u=r&&a.value.includes(r)||!1,$=n.disabled||e.disabled;return o.createElement(de,{scope:t,open:u,disabled:$,triggerId:s},o.createElement(v.Root,b({"data-orientation":n.orientation,"data-state":Y(u)},l,i,{ref:c,disabled:$,open:u,onOpenChange:f=>{f?a.onItemOpen(r):a.onItemClose(r)}})))}),be="AccordionHeader",G=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(be,t);return o.createElement(M.Primitive.h3,b({"data-orientation":i.orientation,"data-state":Y(n.open),"data-disabled":n.disabled?"":void 0},r,{ref:c}))}),T="AccordionTrigger",U=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(T,t),a=ie(T,t),l=k(t);return o.createElement(V.ItemSlot,{scope:t},o.createElement(v.Trigger,b({"aria-disabled":n.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId},l,r,{ref:c})))}),fe="AccordionContent",j=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(fe,t),a=k(t);return o.createElement(v.Content,b({role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation},a,r,{ref:c,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function Y(e){return e?"open":"closed"}const pe=q,ue=z,$e=G,ve=U,me=j;exports.Accordion=q;exports.AccordionContent=j;exports.AccordionHeader=G;exports.AccordionItem=z;exports.AccordionTrigger=U;exports.Content=me;exports.Header=$e;exports.Item=ue;exports.Root=pe;exports.Trigger=ve;exports.createAccordionScope=re;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("./index.cjs157.js"),o=require("react"),J=require("./index.cjs160.js"),Q=require("./index.cjs220.js"),W=require("./index.cjs159.js"),X=require("./index.cjs158.js"),N=require("./index.cjs161.js"),M=require("./index.cjs162.js"),v=require("./index.cjs144.js"),Z=require("./index.cjs164.js"),ee=require("./index.cjs210.js"),p="Accordion",oe=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[V,te,ne]=Q.createCollection(p),[g,re]=J.createContextScope(p,[ne,v.createCollapsibleScope]),k=v.createCollapsibleScope(),q=o.forwardRef((e,c)=>{const{type:t,...r}=e,i=r,n=r;return o.createElement(V.Provider,{scope:e.__scopeAccordion},t==="multiple"?o.createElement(le,b({},n,{ref:c})):o.createElement(ae,b({},i,{ref:c})))});q.propTypes={type(e){const c=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):e.type==="multiple"&&typeof c=="string"?new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):e.type==="single"&&Array.isArray(c)?new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};const[H,ce]=g(p),[K,ie]=g(p,{collapsible:!1}),ae=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},collapsible:n=!1,...a}=e,[l,s]=N.useControllableState({prop:t,defaultProp:r,onChange:i});return o.createElement(H,{scope:e.__scopeAccordion,value:l?[l]:[],onItemOpen:s,onItemClose:o.useCallback(()=>n&&s(""),[n,s])},o.createElement(K,{scope:e.__scopeAccordion,collapsible:n},o.createElement(L,b({},a,{ref:c}))))}),le=o.forwardRef((e,c)=>{const{value:t,defaultValue:r,onValueChange:i=()=>{},...n}=e,[a=[],l]=N.useControllableState({prop:t,defaultProp:r,onChange:i}),s=o.useCallback($=>l((f=[])=>[...f,$]),[l]),u=o.useCallback($=>l((f=[])=>f.filter(x=>x!==$)),[l]);return o.createElement(H,{scope:e.__scopeAccordion,value:a,onItemOpen:s,onItemClose:u},o.createElement(K,{scope:e.__scopeAccordion,collapsible:!0},o.createElement(L,b({},n,{ref:c}))))}),[se,C]=g(p),L=o.forwardRef((e,c)=>{const{__scopeAccordion:t,disabled:r,dir:i,orientation:n="vertical",...a}=e,l=o.useRef(null),s=W.useComposedRefs(l,c),u=te(t),f=ee.useDirection(i)==="ltr",x=X.composeEventHandlers(e.onKeyDown,m=>{var _;if(!oe.includes(m.key))return;const B=m.target,E=u().filter(P=>{var R;return!((R=P.ref.current)!==null&&R!==void 0&&R.disabled)}),A=E.findIndex(P=>P.ref.current===B),O=E.length;if(A===-1)return;m.preventDefault();let d=A;const I=0,w=O-1,h=()=>{d=A+1,d>w&&(d=I)},y=()=>{d=A-1,d<I&&(d=w)};switch(m.key){case"Home":d=I;break;case"End":d=w;break;case"ArrowRight":n==="horizontal"&&(f?h():y());break;case"ArrowDown":n==="vertical"&&h();break;case"ArrowLeft":n==="horizontal"&&(f?y():h());break;case"ArrowUp":n==="vertical"&&y();break}const F=d%O;(_=E[F].ref.current)===null||_===void 0||_.focus()});return o.createElement(se,{scope:t,disabled:r,direction:i,orientation:n},o.createElement(V.Slot,{scope:t},o.createElement(M.Primitive.div,b({},a,{"data-orientation":n,ref:s,onKeyDown:r?void 0:x}))))}),S="AccordionItem",[de,D]=g(S),z=o.forwardRef((e,c)=>{const{__scopeAccordion:t,value:r,...i}=e,n=C(S,t),a=ce(S,t),l=k(t),s=Z.useId(),u=r&&a.value.includes(r)||!1,$=n.disabled||e.disabled;return o.createElement(de,{scope:t,open:u,disabled:$,triggerId:s},o.createElement(v.Root,b({"data-orientation":n.orientation,"data-state":Y(u)},l,i,{ref:c,disabled:$,open:u,onOpenChange:f=>{f?a.onItemOpen(r):a.onItemClose(r)}})))}),be="AccordionHeader",G=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(be,t);return o.createElement(M.Primitive.h3,b({"data-orientation":i.orientation,"data-state":Y(n.open),"data-disabled":n.disabled?"":void 0},r,{ref:c}))}),T="AccordionTrigger",U=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(T,t),a=ie(T,t),l=k(t);return o.createElement(V.ItemSlot,{scope:t},o.createElement(v.Trigger,b({"aria-disabled":n.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:n.triggerId},l,r,{ref:c})))}),fe="AccordionContent",j=o.forwardRef((e,c)=>{const{__scopeAccordion:t,...r}=e,i=C(p,t),n=D(fe,t),a=k(t);return o.createElement(v.Content,b({role:"region","aria-labelledby":n.triggerId,"data-orientation":i.orientation},a,r,{ref:c,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function Y(e){return e?"open":"closed"}const pe=q,ue=z,$e=G,ve=U,me=j;exports.Accordion=q;exports.AccordionContent=j;exports.AccordionHeader=G;exports.AccordionItem=z;exports.AccordionTrigger=U;exports.Content=me;exports.Header=$e;exports.Item=ue;exports.Root=pe;exports.Trigger=ve;exports.createAccordionScope=re;
2
2
  //# sourceMappingURL=index.cjs107.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const R=require("./index.cjs217.js"),q=require("./index.cjs358.js"),k=require("./index.cjs359.js"),S=require("./index.cjs360.js"),P=require("./index.cjs361.js"),V=require("./index.cjs362.js"),D=require("./index.cjs363.js"),b=require("./index.cjs364.js"),E=require("./index.cjs365.js"),I=require("./index.cjs366.js"),$=require("./index.cjs367.js"),j=require("./index.cjs368.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.cjs190.js"),q=require("./index.cjs358.js"),k=require("./index.cjs359.js"),S=require("./index.cjs360.js"),P=require("./index.cjs361.js"),V=require("./index.cjs362.js"),D=require("./index.cjs363.js"),b=require("./index.cjs364.js"),E=require("./index.cjs365.js"),I=require("./index.cjs366.js"),$=require("./index.cjs367.js"),j=require("./index.cjs368.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.cjs412.js"),d=require("./index.cjs413.js"),B=require("./index.cjs414.js"),W=require("./index.cjs415.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.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.
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,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs252.js"),R=require("react");var p;function a(){if(p)return t.__exports;p=1;/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs354.js"),R=require("react");var p;function a(){if(p)return t.__exports;p=1;/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs253.js"),tr=require("react");var he;function ar(){if(he)return R.__exports;he=1;/**
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs355.js"),tr=require("react");var he;function ar(){if(he)return R.__exports;he=1;/**
2
2
  * @license React
3
3
  * react-jsx-runtime.development.js
4
4
  *
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs179.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.cjs187.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.cjs126.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react"),b=require("./index.cjs180.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.cjs188.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.cjs129.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.cjs181.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.cjs189.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.cjs130.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),y=require("./index.cjs125.js"),M=require("./index.cjs124.js"),I=require("./index.cjs181.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.cjs125.js"),M=require("./index.cjs124.js"),I=require("./index.cjs189.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.cjs131.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("react"),y=require("./index.cjs132.js"),p=require("./index.cjs139.js"),R=require("./index.cjs133.js"),x=require("./index.cjs182.js"),H=require("./index.cjs183.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.cjs132.js"),p=require("./index.cjs139.js"),R=require("./index.cjs133.js"),x=require("./index.cjs179.js"),H=require("./index.cjs180.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.cjs135.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs184.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.cjs181.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.cjs136.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ye=require("react"),L=require("./index.cjs185.js"),Ae=require("./index.cjs186.js"),G=require("./index.cjs133.js"),ve=require("./index.cjs134.js"),J=require("./index.cjs139.js"),Ce=require("./index.cjs182.js"),Z=require("./index.cjs184.js"),be=require("./index.cjs187.js"),f=require("./index.cjs55.js"),g=require("./index.cjs188.js"),Re=require("./index.cjs189.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.cjs182.js"),Ae=require("./index.cjs183.js"),G=require("./index.cjs133.js"),ve=require("./index.cjs134.js"),J=require("./index.cjs139.js"),Ce=require("./index.cjs179.js"),Z=require("./index.cjs181.js"),be=require("./index.cjs184.js"),f=require("./index.cjs55.js"),g=require("./index.cjs185.js"),Re=require("./index.cjs186.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.cjs137.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs133.js"),g=require("./index.cjs184.js");function O(e){const n=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(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=O(M),E=O(R);function S(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=T(n),i=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),s=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?c.cloneElement(i,{ref:s}):null};A.displayName="Presence";function T(e){const[n,t]=c.useState(),r=c.useRef({}),i=c.useRef(e),s=c.useRef("none"),l=e?"mounted":"unmounted",[N,a]=S(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const o=d(r.current);s.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,u=i.current;if(u!==e){const p=s.current,m=d(o);e?a("MOUNT"):m==="none"||(o==null?void 0:o.display)==="none"?a("UNMOUNT"):a(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),g.useLayoutEffect(()=>{if(n){const o=f=>{const m=d(r.current).includes(f.animationName);f.target===n&&m&&E.flushSync(()=>a("ANIMATION_END"))},u=f=>{f.target===n&&(s.current=d(r.current))};return n.addEventListener("animationstart",u),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{n.removeEventListener("animationstart",u),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:c.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function d(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs133.js"),g=require("./index.cjs181.js");function O(e){const n=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(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=O(M),E=O(R);function S(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=T(n),i=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),s=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?c.cloneElement(i,{ref:s}):null};A.displayName="Presence";function T(e){const[n,t]=c.useState(),r=c.useRef({}),i=c.useRef(e),s=c.useRef("none"),l=e?"mounted":"unmounted",[N,a]=S(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const o=d(r.current);s.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,u=i.current;if(u!==e){const p=s.current,m=d(o);e?a("MOUNT"):m==="none"||(o==null?void 0:o.display)==="none"?a("UNMOUNT"):a(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),g.useLayoutEffect(()=>{if(n){const o=f=>{const m=d(r.current).includes(f.animationName);f.target===n&&m&&E.flushSync(()=>a("ANIMATION_END"))},u=f=>{f.target===n&&(s.current=d(r.current))};return n.addEventListener("animationstart",u),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{n.removeEventListener("animationstart",u),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:c.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function d(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
2
2
  //# sourceMappingURL=index.cjs138.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs182.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.cjs179.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.cjs141.js.map
@@ -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.cjs231.js"),u=require("./index.cjs232.js"),f=require("./index.cjs233.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.cjs204.js"),u=require("./index.cjs205.js"),f=require("./index.cjs206.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.cjs143.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs157.js"),e=require("react"),S=require("./index.cjs158.js"),T=require("./index.cjs160.js"),w=require("./index.cjs161.js"),A=require("./index.cjs216.js"),I=require("./index.cjs159.js"),C=require("./index.cjs162.js"),M=require("./index.cjs213.js"),D=require("./index.cjs164.js"),E="Collapsible",[L,k]=T.createContextScope(E),[F,m]=L(E),y=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,open:r,defaultOpen:n,disabled:c,onOpenChange:a,...u}=t,[d=!1,l]=w.useControllableState({prop:r,defaultProp:n,onChange:a});return e.createElement(F,{scope:i,disabled:c,contentId:D.useId(),open:d,onOpenToggle:e.useCallback(()=>l($=>!$),[l])},e.createElement(C.Primitive.div,f({"data-state":x(d),"data-disabled":c?"":void 0},u,{ref:s})))}),B="CollapsibleTrigger",q=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,...r}=t,n=m(B,i);return e.createElement(C.Primitive.button,f({type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":x(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled},r,{ref:s,onClick:S.composeEventHandlers(t.onClick,n.onOpenToggle)}))}),O="CollapsibleContent",N=e.forwardRef((t,s)=>{const{forceMount:i,...r}=t,n=m(O,t.__scopeCollapsible);return e.createElement(M.Presence,{present:i||n.open},({present:c})=>e.createElement(G,f({},r,{ref:s,present:c})))}),G=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,present:r,children:n,...c}=t,a=m(O,i),[u,d]=e.useState(r),l=e.useRef(null),$=I.useComposedRefs(s,l),g=e.useRef(0),R=g.current,h=e.useRef(0),_=h.current,b=a.open||u,v=e.useRef(b),p=e.useRef();return e.useEffect(()=>{const o=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(o)},[]),A.useLayoutEffect(()=>{const o=l.current;if(o){p.current=p.current||{transitionDuration:o.style.transitionDuration,animationName:o.style.animationName},o.style.transitionDuration="0s",o.style.animationName="none";const P=o.getBoundingClientRect();g.current=P.height,h.current=P.width,v.current||(o.style.transitionDuration=p.current.transitionDuration,o.style.animationName=p.current.animationName),d(r)}},[a.open,r]),e.createElement(C.Primitive.div,f({"data-state":x(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!b},c,{ref:$,style:{"--radix-collapsible-content-height":R?`${R}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...t.style}}),b&&n)});function x(t){return t?"open":"closed"}const j=y,H=q,z=N;exports.Collapsible=y;exports.CollapsibleContent=N;exports.CollapsibleTrigger=q;exports.Content=z;exports.Root=j;exports.Trigger=H;exports.createCollapsibleScope=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs157.js"),e=require("react"),S=require("./index.cjs158.js"),T=require("./index.cjs160.js"),w=require("./index.cjs161.js"),A=require("./index.cjs207.js"),I=require("./index.cjs159.js"),C=require("./index.cjs162.js"),M=require("./index.cjs208.js"),D=require("./index.cjs164.js"),E="Collapsible",[L,k]=T.createContextScope(E),[F,m]=L(E),y=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,open:r,defaultOpen:n,disabled:c,onOpenChange:a,...u}=t,[d=!1,l]=w.useControllableState({prop:r,defaultProp:n,onChange:a});return e.createElement(F,{scope:i,disabled:c,contentId:D.useId(),open:d,onOpenToggle:e.useCallback(()=>l($=>!$),[l])},e.createElement(C.Primitive.div,f({"data-state":x(d),"data-disabled":c?"":void 0},u,{ref:s})))}),B="CollapsibleTrigger",q=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,...r}=t,n=m(B,i);return e.createElement(C.Primitive.button,f({type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":x(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled},r,{ref:s,onClick:S.composeEventHandlers(t.onClick,n.onOpenToggle)}))}),O="CollapsibleContent",N=e.forwardRef((t,s)=>{const{forceMount:i,...r}=t,n=m(O,t.__scopeCollapsible);return e.createElement(M.Presence,{present:i||n.open},({present:c})=>e.createElement(G,f({},r,{ref:s,present:c})))}),G=e.forwardRef((t,s)=>{const{__scopeCollapsible:i,present:r,children:n,...c}=t,a=m(O,i),[u,d]=e.useState(r),l=e.useRef(null),$=I.useComposedRefs(s,l),g=e.useRef(0),R=g.current,h=e.useRef(0),_=h.current,b=a.open||u,v=e.useRef(b),p=e.useRef();return e.useEffect(()=>{const o=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(o)},[]),A.useLayoutEffect(()=>{const o=l.current;if(o){p.current=p.current||{transitionDuration:o.style.transitionDuration,animationName:o.style.animationName},o.style.transitionDuration="0s",o.style.animationName="none";const P=o.getBoundingClientRect();g.current=P.height,h.current=P.width,v.current||(o.style.transitionDuration=p.current.transitionDuration,o.style.animationName=p.current.animationName),d(r)}},[a.open,r]),e.createElement(C.Primitive.div,f({"data-state":x(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!b},c,{ref:$,style:{"--radix-collapsible-content-height":R?`${R}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...t.style}}),b&&n)});function x(t){return t?"open":"closed"}const j=y,H=q,z=N;exports.Collapsible=y;exports.CollapsibleContent=N;exports.CollapsibleTrigger=q;exports.Content=z;exports.Root=j;exports.Trigger=H;exports.createCollapsibleScope=k;
2
2
  //# sourceMappingURL=index.cjs144.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs157.js"),n=require("react"),T=require("./index.cjs158.js"),R=require("./index.cjs160.js"),v=require("./index.cjs214.js"),S=require("./index.cjs213.js"),p=require("./index.cjs162.js"),h=require("./index.cjs207.js"),A=require("./index.cjs161.js"),q=require("./index.cjs164.js"),m="Tabs",[y,F]=R.createContextScope(m,[v.createRovingFocusGroupScope]),x=v.createRovingFocusGroupScope(),[V,g]=y(m),_=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,onValueChange:c,defaultValue:b,orientation:o="horizontal",dir:d,activationMode:$="automatic",...f}=e,i=h.useDirection(d),[a,u]=A.useControllableState({prop:t,onChange:c,defaultProp:b});return n.createElement(V,{scope:s,baseId:q.useId(),value:a,onValueChange:u,orientation:o,dir:i,activationMode:$},n.createElement(p.Primitive.div,l({dir:i,"data-orientation":o},f,{ref:r})))}),w="TabsList",E=n.forwardRef((e,r)=>{const{__scopeTabs:s,loop:t=!0,...c}=e,b=g(w,s),o=x(s);return n.createElement(v.Root,l({asChild:!0},o,{orientation:b.orientation,dir:b.dir,loop:t}),n.createElement(p.Primitive.div,l({role:"tablist","aria-orientation":b.orientation},c,{ref:r})))}),D="TabsTrigger",C=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,disabled:c=!1,...b}=e,o=g(D,s),d=x(s),$=M(o.baseId,t),f=P(o.baseId,t),i=t===o.value;return n.createElement(v.Item,l({asChild:!0},d,{focusable:!c,active:i}),n.createElement(p.Primitive.button,l({type:"button",role:"tab","aria-selected":i,"aria-controls":f,"data-state":i?"active":"inactive","data-disabled":c?"":void 0,disabled:c,id:$},b,{ref:r,onMouseDown:T.composeEventHandlers(e.onMouseDown,a=>{!c&&a.button===0&&a.ctrlKey===!1?o.onValueChange(t):a.preventDefault()}),onKeyDown:T.composeEventHandlers(e.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&o.onValueChange(t)}),onFocus:T.composeEventHandlers(e.onFocus,()=>{const a=o.activationMode!=="manual";!i&&!c&&a&&o.onValueChange(t)})})))}),G="TabsContent",I=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,forceMount:c,children:b,...o}=e,d=g(G,s),$=M(d.baseId,t),f=P(d.baseId,t),i=t===d.value,a=n.useRef(i);return n.useEffect(()=>{const u=requestAnimationFrame(()=>a.current=!1);return()=>cancelAnimationFrame(u)},[]),n.createElement(S.Presence,{present:c||i},({present:u})=>n.createElement(p.Primitive.div,l({"data-state":i?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":$,hidden:!u,id:f,tabIndex:0},o,{ref:r,style:{...e.style,animationDuration:a.current?"0s":void 0}}),u&&b))});function M(e,r){return`${e}-trigger-${r}`}function P(e,r){return`${e}-content-${r}`}const N=_,L=E,k=C,H=I;exports.Content=H;exports.List=L;exports.Root=N;exports.Tabs=_;exports.TabsContent=I;exports.TabsList=E;exports.TabsTrigger=C;exports.Trigger=k;exports.createTabsScope=F;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs157.js"),n=require("react"),T=require("./index.cjs158.js"),R=require("./index.cjs160.js"),v=require("./index.cjs209.js"),S=require("./index.cjs208.js"),p=require("./index.cjs162.js"),h=require("./index.cjs210.js"),A=require("./index.cjs161.js"),q=require("./index.cjs164.js"),m="Tabs",[y,F]=R.createContextScope(m,[v.createRovingFocusGroupScope]),x=v.createRovingFocusGroupScope(),[V,g]=y(m),_=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,onValueChange:c,defaultValue:b,orientation:o="horizontal",dir:d,activationMode:$="automatic",...f}=e,i=h.useDirection(d),[a,u]=A.useControllableState({prop:t,onChange:c,defaultProp:b});return n.createElement(V,{scope:s,baseId:q.useId(),value:a,onValueChange:u,orientation:o,dir:i,activationMode:$},n.createElement(p.Primitive.div,l({dir:i,"data-orientation":o},f,{ref:r})))}),w="TabsList",E=n.forwardRef((e,r)=>{const{__scopeTabs:s,loop:t=!0,...c}=e,b=g(w,s),o=x(s);return n.createElement(v.Root,l({asChild:!0},o,{orientation:b.orientation,dir:b.dir,loop:t}),n.createElement(p.Primitive.div,l({role:"tablist","aria-orientation":b.orientation},c,{ref:r})))}),D="TabsTrigger",C=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,disabled:c=!1,...b}=e,o=g(D,s),d=x(s),$=M(o.baseId,t),f=P(o.baseId,t),i=t===o.value;return n.createElement(v.Item,l({asChild:!0},d,{focusable:!c,active:i}),n.createElement(p.Primitive.button,l({type:"button",role:"tab","aria-selected":i,"aria-controls":f,"data-state":i?"active":"inactive","data-disabled":c?"":void 0,disabled:c,id:$},b,{ref:r,onMouseDown:T.composeEventHandlers(e.onMouseDown,a=>{!c&&a.button===0&&a.ctrlKey===!1?o.onValueChange(t):a.preventDefault()}),onKeyDown:T.composeEventHandlers(e.onKeyDown,a=>{[" ","Enter"].includes(a.key)&&o.onValueChange(t)}),onFocus:T.composeEventHandlers(e.onFocus,()=>{const a=o.activationMode!=="manual";!i&&!c&&a&&o.onValueChange(t)})})))}),G="TabsContent",I=n.forwardRef((e,r)=>{const{__scopeTabs:s,value:t,forceMount:c,children:b,...o}=e,d=g(G,s),$=M(d.baseId,t),f=P(d.baseId,t),i=t===d.value,a=n.useRef(i);return n.useEffect(()=>{const u=requestAnimationFrame(()=>a.current=!1);return()=>cancelAnimationFrame(u)},[]),n.createElement(S.Presence,{present:c||i},({present:u})=>n.createElement(p.Primitive.div,l({"data-state":i?"active":"inactive","data-orientation":d.orientation,role:"tabpanel","aria-labelledby":$,hidden:!u,id:f,tabIndex:0},o,{ref:r,style:{...e.style,animationDuration:a.current?"0s":void 0}}),u&&b))});function M(e,r){return`${e}-trigger-${r}`}function P(e,r){return`${e}-content-${r}`}const N=_,L=E,k=C,H=I;exports.Content=H;exports.List=L;exports.Root=N;exports.Tabs=_;exports.TabsContent=I;exports.TabsList=E;exports.TabsTrigger=C;exports.Trigger=k;exports.createTabsScope=F;
2
2
  //# sourceMappingURL=index.cjs147.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const Q=require("./index.cjs217.js");require("./index.cjs218.js");const ee=require("./index.cjs219.js");require("./index.cjs220.js");const te=require("./index.cjs221.js"),re=require("./index.cjs222.js"),ne=require("./index.cjs223.js"),se=require("./index.cjs224.js"),ie=require("./index.cjs225.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.cjs190.js");require("./index.cjs191.js");const ee=require("./index.cjs192.js");require("./index.cjs193.js");const te=require("./index.cjs194.js"),re=require("./index.cjs195.js"),ne=require("./index.cjs196.js"),se=require("./index.cjs197.js"),ie=require("./index.cjs198.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.cjs157.js"),e=require("react"),h=require("./index.cjs158.js"),k=require("./index.cjs159.js"),E=require("./index.cjs160.js"),C=require("./index.cjs162.js"),R=require("./index.cjs214.js"),G=require("./index.cjs161.js"),w=require("./index.cjs207.js"),A=require("./index.cjs234.js"),I=require("./index.cjs235.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.cjs157.js"),e=require("react"),h=require("./index.cjs158.js"),k=require("./index.cjs159.js"),E=require("./index.cjs160.js"),C=require("./index.cjs162.js"),R=require("./index.cjs209.js"),G=require("./index.cjs161.js"),w=require("./index.cjs210.js"),A=require("./index.cjs211.js"),I=require("./index.cjs212.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.cjs150.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs226.js"),r=require("./index.cjs227.js"),t=require("./index.cjs228.js"),s=require("./index.cjs229.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.cjs199.js"),r=require("./index.cjs200.js"),t=require("./index.cjs201.js"),s=require("./index.cjs202.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.cjs151.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs157.js"),e=require("react"),v=require("./index.cjs158.js"),m=require("./index.cjs159.js"),q=require("./index.cjs160.js"),I=require("./index.cjs208.js"),y=require("./index.cjs209.js"),M=require("./index.cjs210.js"),T=require("./index.cjs164.js"),f=require("./index.cjs211.js"),k=require("./index.cjs213.js"),h=require("./index.cjs162.js"),N=require("./index.cjs205.js"),H=require("./index.cjs161.js"),K=require("./index.cjs177.js"),L=require("./index.cjs215.js"),O="Popover",[E,G]=q.createContextScope(O,[f.createPopperScope]),C=f.createPopperScope(),[j,$]=E(O),_=o=>{const{__scopePopover:i,children:s,open:a,defaultOpen:t,onOpenChange:c,modal:r=!1}=o,n=C(i),d=e.useRef(null),[l,P]=e.useState(!1),[g=!1,p]=H.useControllableState({prop:a,defaultProp:t,onChange:c});return e.createElement(f.Root,n,e.createElement(j,{scope:i,contentId:T.useId(),triggerRef:d,open:g,onOpenChange:p,onOpenToggle:e.useCallback(()=>p(x=>!x),[p]),hasCustomAnchor:l,onCustomAnchorAdd:e.useCallback(()=>P(!0),[]),onCustomAnchorRemove:e.useCallback(()=>P(!1),[]),modal:r},s))},U="PopoverTrigger",R=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=$(U,s),c=C(s),r=m.useComposedRefs(i,t.triggerRef),n=e.createElement(h.Primitive.button,u({type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":S(t.open)},a,{ref:r,onClick:v.composeEventHandlers(o.onClick,t.onOpenToggle)}));return t.hasCustomAnchor?n:e.createElement(f.Anchor,u({asChild:!0},c),n)}),V="PopoverPortal",[oe,Z]=E(V,{forceMount:void 0}),b="PopoverContent",A=e.forwardRef((o,i)=>{const s=Z(b,o.__scopePopover),{forceMount:a=s.forceMount,...t}=o,c=$(b,o.__scopePopover);return e.createElement(k.Presence,{present:a||c.open},c.modal?e.createElement(z,u({},t,{ref:i})):e.createElement(B,u({},t,{ref:i})))}),z=e.forwardRef((o,i)=>{const s=$(b,o.__scopePopover),a=e.useRef(null),t=m.useComposedRefs(i,a),c=e.useRef(!1);return e.useEffect(()=>{const r=a.current;if(r)return K.hideOthers(r)},[]),e.createElement(L,{as:N.Slot,allowPinchZoom:!0},e.createElement(w,u({},o,{ref:t,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:v.composeEventHandlers(o.onCloseAutoFocus,r=>{var n;r.preventDefault(),c.current||(n=s.triggerRef.current)===null||n===void 0||n.focus()}),onPointerDownOutside:v.composeEventHandlers(o.onPointerDownOutside,r=>{const n=r.detail.originalEvent,d=n.button===0&&n.ctrlKey===!0,l=n.button===2||d;c.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:v.composeEventHandlers(o.onFocusOutside,r=>r.preventDefault(),{checkForDefaultPrevented:!1})})))}),B=e.forwardRef((o,i)=>{const s=$(b,o.__scopePopover),a=e.useRef(!1),t=e.useRef(!1);return e.createElement(w,u({},o,{ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var r;if((r=o.onCloseAutoFocus)===null||r===void 0||r.call(o,c),!c.defaultPrevented){var n;a.current||(n=s.triggerRef.current)===null||n===void 0||n.focus(),c.preventDefault()}a.current=!1,t.current=!1},onInteractOutside:c=>{var r,n;(r=o.onInteractOutside)===null||r===void 0||r.call(o,c),c.defaultPrevented||(a.current=!0,c.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const d=c.target;((n=s.triggerRef.current)===null||n===void 0?void 0:n.contains(d))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&t.current&&c.preventDefault()}}))}),w=e.forwardRef((o,i)=>{const{__scopePopover:s,trapFocus:a,onOpenAutoFocus:t,onCloseAutoFocus:c,disableOutsidePointerEvents:r,onEscapeKeyDown:n,onPointerDownOutside:d,onFocusOutside:l,onInteractOutside:P,...g}=o,p=$(b,s),x=C(s);return y.useFocusGuards(),e.createElement(M.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:t,onUnmountAutoFocus:c},e.createElement(I.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:r,onInteractOutside:P,onEscapeKeyDown:n,onPointerDownOutside:d,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},e.createElement(f.Content,u({"data-state":S(p.open),role:"dialog",id:p.contentId},x,g,{ref:i,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),J="PopoverClose",F=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=$(J,s);return e.createElement(h.Primitive.button,u({type:"button"},a,{ref:i,onClick:v.composeEventHandlers(o.onClick,()=>t.onOpenChange(!1))}))}),D=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=C(s);return e.createElement(f.Arrow,u({},t,a,{ref:i}))});function S(o){return o?"open":"closed"}const Q=_,W=R,X=A,Y=F,ee=D;exports.Arrow=ee;exports.Close=Y;exports.Content=X;exports.Popover=_;exports.PopoverArrow=D;exports.PopoverClose=F;exports.PopoverContent=A;exports.PopoverTrigger=R;exports.Root=Q;exports.Trigger=W;exports.createPopoverScope=G;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs157.js"),e=require("react"),v=require("./index.cjs158.js"),m=require("./index.cjs159.js"),q=require("./index.cjs160.js"),I=require("./index.cjs213.js"),y=require("./index.cjs214.js"),M=require("./index.cjs215.js"),T=require("./index.cjs164.js"),f=require("./index.cjs216.js"),k=require("./index.cjs208.js"),h=require("./index.cjs162.js"),N=require("./index.cjs217.js"),H=require("./index.cjs161.js"),K=require("./index.cjs177.js"),L=require("./index.cjs218.js"),O="Popover",[E,G]=q.createContextScope(O,[f.createPopperScope]),C=f.createPopperScope(),[j,$]=E(O),_=o=>{const{__scopePopover:i,children:s,open:a,defaultOpen:t,onOpenChange:c,modal:r=!1}=o,n=C(i),d=e.useRef(null),[l,P]=e.useState(!1),[g=!1,p]=H.useControllableState({prop:a,defaultProp:t,onChange:c});return e.createElement(f.Root,n,e.createElement(j,{scope:i,contentId:T.useId(),triggerRef:d,open:g,onOpenChange:p,onOpenToggle:e.useCallback(()=>p(x=>!x),[p]),hasCustomAnchor:l,onCustomAnchorAdd:e.useCallback(()=>P(!0),[]),onCustomAnchorRemove:e.useCallback(()=>P(!1),[]),modal:r},s))},U="PopoverTrigger",R=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=$(U,s),c=C(s),r=m.useComposedRefs(i,t.triggerRef),n=e.createElement(h.Primitive.button,u({type:"button","aria-haspopup":"dialog","aria-expanded":t.open,"aria-controls":t.contentId,"data-state":S(t.open)},a,{ref:r,onClick:v.composeEventHandlers(o.onClick,t.onOpenToggle)}));return t.hasCustomAnchor?n:e.createElement(f.Anchor,u({asChild:!0},c),n)}),V="PopoverPortal",[oe,Z]=E(V,{forceMount:void 0}),b="PopoverContent",A=e.forwardRef((o,i)=>{const s=Z(b,o.__scopePopover),{forceMount:a=s.forceMount,...t}=o,c=$(b,o.__scopePopover);return e.createElement(k.Presence,{present:a||c.open},c.modal?e.createElement(z,u({},t,{ref:i})):e.createElement(B,u({},t,{ref:i})))}),z=e.forwardRef((o,i)=>{const s=$(b,o.__scopePopover),a=e.useRef(null),t=m.useComposedRefs(i,a),c=e.useRef(!1);return e.useEffect(()=>{const r=a.current;if(r)return K.hideOthers(r)},[]),e.createElement(L,{as:N.Slot,allowPinchZoom:!0},e.createElement(w,u({},o,{ref:t,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:v.composeEventHandlers(o.onCloseAutoFocus,r=>{var n;r.preventDefault(),c.current||(n=s.triggerRef.current)===null||n===void 0||n.focus()}),onPointerDownOutside:v.composeEventHandlers(o.onPointerDownOutside,r=>{const n=r.detail.originalEvent,d=n.button===0&&n.ctrlKey===!0,l=n.button===2||d;c.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:v.composeEventHandlers(o.onFocusOutside,r=>r.preventDefault(),{checkForDefaultPrevented:!1})})))}),B=e.forwardRef((o,i)=>{const s=$(b,o.__scopePopover),a=e.useRef(!1),t=e.useRef(!1);return e.createElement(w,u({},o,{ref:i,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:c=>{var r;if((r=o.onCloseAutoFocus)===null||r===void 0||r.call(o,c),!c.defaultPrevented){var n;a.current||(n=s.triggerRef.current)===null||n===void 0||n.focus(),c.preventDefault()}a.current=!1,t.current=!1},onInteractOutside:c=>{var r,n;(r=o.onInteractOutside)===null||r===void 0||r.call(o,c),c.defaultPrevented||(a.current=!0,c.detail.originalEvent.type==="pointerdown"&&(t.current=!0));const d=c.target;((n=s.triggerRef.current)===null||n===void 0?void 0:n.contains(d))&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&t.current&&c.preventDefault()}}))}),w=e.forwardRef((o,i)=>{const{__scopePopover:s,trapFocus:a,onOpenAutoFocus:t,onCloseAutoFocus:c,disableOutsidePointerEvents:r,onEscapeKeyDown:n,onPointerDownOutside:d,onFocusOutside:l,onInteractOutside:P,...g}=o,p=$(b,s),x=C(s);return y.useFocusGuards(),e.createElement(M.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:t,onUnmountAutoFocus:c},e.createElement(I.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:r,onInteractOutside:P,onEscapeKeyDown:n,onPointerDownOutside:d,onFocusOutside:l,onDismiss:()=>p.onOpenChange(!1)},e.createElement(f.Content,u({"data-state":S(p.open),role:"dialog",id:p.contentId},x,g,{ref:i,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),J="PopoverClose",F=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=$(J,s);return e.createElement(h.Primitive.button,u({type:"button"},a,{ref:i,onClick:v.composeEventHandlers(o.onClick,()=>t.onOpenChange(!1))}))}),D=e.forwardRef((o,i)=>{const{__scopePopover:s,...a}=o,t=C(s);return e.createElement(f.Arrow,u({},t,a,{ref:i}))});function S(o){return o?"open":"closed"}const Q=_,W=R,X=A,Y=F,ee=D;exports.Arrow=ee;exports.Close=Y;exports.Content=X;exports.Popover=_;exports.PopoverArrow=D;exports.PopoverClose=F;exports.PopoverContent=A;exports.PopoverTrigger=R;exports.Root=Q;exports.Trigger=W;exports.createPopoverScope=G;
2
2
  //# sourceMappingURL=index.cjs152.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs157.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs236.js"),T=require("./index.cjs158.js"),Ve=require("./index.cjs206.js"),k=require("./index.cjs159.js"),Be=require("./index.cjs160.js"),qe=require("./index.cjs207.js"),We=require("./index.cjs208.js"),Fe=require("./index.cjs209.js"),Ke=require("./index.cjs210.js"),he=require("./index.cjs164.js"),ne=require("./index.cjs211.js"),Ue=require("./index.cjs212.js"),H=require("./index.cjs162.js"),Ge=require("./index.cjs205.js"),ze=require("./index.cjs204.js"),we=require("./index.cjs161.js"),K=require("./index.cjs216.js"),je=require("./index.cjs235.js"),Ye=require("./index.cjs237.js"),Xe=require("./index.cjs177.js"),Ze=require("./index.cjs215.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.cjs157.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs219.js"),T=require("./index.cjs158.js"),Ve=require("./index.cjs220.js"),k=require("./index.cjs159.js"),Be=require("./index.cjs160.js"),qe=require("./index.cjs210.js"),We=require("./index.cjs213.js"),Fe=require("./index.cjs214.js"),Ke=require("./index.cjs215.js"),he=require("./index.cjs164.js"),ne=require("./index.cjs216.js"),Ue=require("./index.cjs221.js"),H=require("./index.cjs162.js"),Ge=require("./index.cjs217.js"),ze=require("./index.cjs222.js"),we=require("./index.cjs161.js"),K=require("./index.cjs207.js"),je=require("./index.cjs212.js"),Ye=require("./index.cjs223.js"),Xe=require("./index.cjs177.js"),Ze=require("./index.cjs218.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.cjs153.js.map
@@ -1,4 +1,4 @@
1
- "use strict";const _commonjsHelpers=require("./index.cjs217.js"),openseadragon=require("./index.cjs230.js");(function(module){//! openseadragon 2.4.2
1
+ "use strict";const _commonjsHelpers=require("./index.cjs190.js"),openseadragon=require("./index.cjs203.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.cjs157.js"),e=require("react"),g=require("./index.cjs158.js"),_=require("./index.cjs159.js"),y=require("./index.cjs160.js"),R=require("./index.cjs161.js"),T=require("./index.cjs235.js"),M=require("./index.cjs234.js"),S=require("./index.cjs162.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.cjs157.js"),e=require("react"),g=require("./index.cjs158.js"),_=require("./index.cjs159.js"),y=require("./index.cjs160.js"),R=require("./index.cjs161.js"),T=require("./index.cjs212.js"),M=require("./index.cjs211.js"),S=require("./index.cjs162.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.cjs155.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),f=require("./index.cjs204.js");function C({prop:e,defaultProp:s,onChange:c=()=>{}}){const[t,n]=b({defaultProp:s,onChange:c}),o=e!==void 0,d=o?e:t,u=f.useCallbackRef(c),i=r.useCallback(l=>{if(o){const a=typeof l=="function"?l(e):l;a!==e&&u(a)}else n(l)},[o,e,n,u]);return[d,i]}function b({defaultProp:e,onChange:s}){const c=r.useState(e),[t]=c,n=r.useRef(t),o=f.useCallbackRef(s);return r.useEffect(()=>{n.current!==t&&(o(t),n.current=t)},[t,n,o]),c}exports.useControllableState=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),f=require("./index.cjs222.js");function C({prop:e,defaultProp:s,onChange:c=()=>{}}){const[t,n]=b({defaultProp:s,onChange:c}),o=e!==void 0,d=o?e:t,u=f.useCallbackRef(c),i=r.useCallback(l=>{if(o){const a=typeof l=="function"?l(e):l;a!==e&&u(a)}else n(l)},[o,e,n,u]);return[d,i]}function b({defaultProp:e,onChange:s}){const c=r.useState(e),[t]=c,n=r.useRef(t),o=f.useCallbackRef(s);return r.useEffect(()=>{n.current!==t&&(o(t),n.current=t)},[t,n,o]),c}exports.useControllableState=C;
2
2
  //# sourceMappingURL=index.cjs161.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs157.js"),i=require("react"),u=require("react-dom"),d=require("./index.cjs205.js"),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=l.reduce((t,e)=>{const r=i.forwardRef((c,o)=>{const{asChild:n,...s}=c,f=n?d.Slot:e;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(f,a({},s,{ref:o}))});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function m(t,e){t&&u.flushSync(()=>t.dispatchEvent(e))}exports.Primitive=p;exports.dispatchDiscreteCustomEvent=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs157.js"),i=require("react"),u=require("react-dom"),d=require("./index.cjs217.js"),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],p=l.reduce((t,e)=>{const r=i.forwardRef((c,o)=>{const{asChild:n,...s}=c,f=n?d.Slot:e;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(f,a({},s,{ref:o}))});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function m(t,e){t&&u.flushSync(()=>t.dispatchEvent(e))}exports.Primitive=p;exports.dispatchDiscreteCustomEvent=m;
2
2
  //# sourceMappingURL=index.cjs162.js.map