@performant-software/core-data 2.2.0-beta.1 → 2.2.0-beta.3

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 (1416) hide show
  1. package/dist/index.cjs102.js +1 -1
  2. package/dist/index.cjs104.js +1 -1
  3. package/dist/index.cjs105.js +1 -1
  4. package/dist/index.cjs129.js +1 -1
  5. package/dist/index.cjs132.js +1 -1
  6. package/dist/index.cjs134.js +1 -1
  7. package/dist/index.cjs135.js +1 -1
  8. package/dist/index.cjs136.js +1 -1
  9. package/dist/index.cjs136.js.map +1 -1
  10. package/dist/index.cjs137.js +1 -1
  11. package/dist/index.cjs137.js.map +1 -1
  12. package/dist/index.cjs138.js +1 -1
  13. package/dist/index.cjs138.js.map +1 -1
  14. package/dist/index.cjs139.js +1 -1
  15. package/dist/index.cjs139.js.map +1 -1
  16. package/dist/index.cjs140.js +1 -1
  17. package/dist/index.cjs140.js.map +1 -1
  18. package/dist/index.cjs144.js +1 -1
  19. package/dist/index.cjs149.js +1 -1
  20. package/dist/index.cjs15.js +1 -1
  21. package/dist/index.cjs15.js.map +1 -1
  22. package/dist/index.cjs153.js +1 -1
  23. package/dist/index.cjs154.js +1 -1
  24. package/dist/index.cjs16.js +1 -1
  25. package/dist/index.cjs16.js.map +1 -1
  26. package/dist/index.cjs164.js +1 -1
  27. package/dist/index.cjs17.js +1 -1
  28. package/dist/index.cjs17.js.map +1 -1
  29. package/dist/index.cjs171.js +1 -1
  30. package/dist/index.cjs171.js.map +1 -1
  31. package/dist/index.cjs173.js +1 -1
  32. package/dist/index.cjs174.js +1 -1
  33. package/dist/index.cjs174.js.map +1 -1
  34. package/dist/index.cjs175.js +1 -1
  35. package/dist/index.cjs175.js.map +1 -1
  36. package/dist/index.cjs176.js +1 -1
  37. package/dist/index.cjs176.js.map +1 -1
  38. package/dist/index.cjs177.js +1 -1
  39. package/dist/index.cjs177.js.map +1 -1
  40. package/dist/index.cjs178.js +1 -1
  41. package/dist/index.cjs178.js.map +1 -1
  42. package/dist/index.cjs179.js +1 -1
  43. package/dist/index.cjs179.js.map +1 -1
  44. package/dist/index.cjs18.js +1 -1
  45. package/dist/index.cjs18.js.map +1 -1
  46. package/dist/index.cjs180.js +1 -1
  47. package/dist/index.cjs180.js.map +1 -1
  48. package/dist/index.cjs181.js +1 -1
  49. package/dist/index.cjs181.js.map +1 -1
  50. package/dist/index.cjs182.js +1 -1
  51. package/dist/index.cjs182.js.map +1 -1
  52. package/dist/index.cjs183.js +1 -1
  53. package/dist/index.cjs183.js.map +1 -1
  54. package/dist/index.cjs184.js +1 -1
  55. package/dist/index.cjs184.js.map +1 -1
  56. package/dist/index.cjs185.js +1 -1
  57. package/dist/index.cjs185.js.map +1 -1
  58. package/dist/index.cjs186.js +1 -1
  59. package/dist/index.cjs186.js.map +1 -1
  60. package/dist/index.cjs187.js +1 -1
  61. package/dist/index.cjs187.js.map +1 -1
  62. package/dist/index.cjs188.js +1 -1
  63. package/dist/index.cjs188.js.map +1 -1
  64. package/dist/index.cjs189.js +1 -1
  65. package/dist/index.cjs189.js.map +1 -1
  66. package/dist/index.cjs190.js +1 -1
  67. package/dist/index.cjs190.js.map +1 -1
  68. package/dist/index.cjs191.js +1 -1
  69. package/dist/index.cjs191.js.map +1 -1
  70. package/dist/index.cjs192.js +1 -1
  71. package/dist/index.cjs192.js.map +1 -1
  72. package/dist/index.cjs193.js +1 -1
  73. package/dist/index.cjs193.js.map +1 -1
  74. package/dist/index.cjs194.js +1 -1
  75. package/dist/index.cjs194.js.map +1 -1
  76. package/dist/index.cjs195.js +1 -1
  77. package/dist/index.cjs195.js.map +1 -1
  78. package/dist/index.cjs196.js +1 -1
  79. package/dist/index.cjs196.js.map +1 -1
  80. package/dist/index.cjs197.js +1 -1
  81. package/dist/index.cjs197.js.map +1 -1
  82. package/dist/index.cjs198.js +1 -1
  83. package/dist/index.cjs198.js.map +1 -1
  84. package/dist/index.cjs199.js +1 -1
  85. package/dist/index.cjs199.js.map +1 -1
  86. package/dist/index.cjs200.js +1 -1
  87. package/dist/index.cjs200.js.map +1 -1
  88. package/dist/index.cjs201.js +1 -1
  89. package/dist/index.cjs201.js.map +1 -1
  90. package/dist/index.cjs202.js +1 -1
  91. package/dist/index.cjs202.js.map +1 -1
  92. package/dist/index.cjs203.js +1 -1
  93. package/dist/index.cjs203.js.map +1 -1
  94. package/dist/index.cjs204.js +1 -1
  95. package/dist/index.cjs204.js.map +1 -1
  96. package/dist/index.cjs205.js +1 -1
  97. package/dist/index.cjs205.js.map +1 -1
  98. package/dist/index.cjs206.js +1 -1
  99. package/dist/index.cjs206.js.map +1 -1
  100. package/dist/index.cjs207.js +1 -1
  101. package/dist/index.cjs207.js.map +1 -1
  102. package/dist/index.cjs208.js +1 -1
  103. package/dist/index.cjs208.js.map +1 -1
  104. package/dist/index.cjs209.js +1 -1
  105. package/dist/index.cjs209.js.map +1 -1
  106. package/dist/index.cjs21.js +2 -2
  107. package/dist/index.cjs21.js.map +1 -1
  108. package/dist/index.cjs210.js +1 -1
  109. package/dist/index.cjs210.js.map +1 -1
  110. package/dist/index.cjs211.js +1 -1
  111. package/dist/index.cjs211.js.map +1 -1
  112. package/dist/index.cjs212.js +1 -1
  113. package/dist/index.cjs212.js.map +1 -1
  114. package/dist/index.cjs213.js +1 -1
  115. package/dist/index.cjs213.js.map +1 -1
  116. package/dist/index.cjs214.js +1 -1
  117. package/dist/index.cjs214.js.map +1 -1
  118. package/dist/index.cjs215.js +1 -1
  119. package/dist/index.cjs215.js.map +1 -1
  120. package/dist/index.cjs216.js +1 -1
  121. package/dist/index.cjs216.js.map +1 -1
  122. package/dist/index.cjs217.js +1 -1
  123. package/dist/index.cjs217.js.map +1 -1
  124. package/dist/index.cjs218.js +1 -1
  125. package/dist/index.cjs218.js.map +1 -1
  126. package/dist/index.cjs219.js +1 -1
  127. package/dist/index.cjs219.js.map +1 -1
  128. package/dist/index.cjs22.js +1 -1
  129. package/dist/index.cjs22.js.map +1 -1
  130. package/dist/index.cjs220.js +1 -1
  131. package/dist/index.cjs220.js.map +1 -1
  132. package/dist/index.cjs221.js +13 -1
  133. package/dist/index.cjs221.js.map +1 -1
  134. package/dist/index.cjs222.js +1 -13
  135. package/dist/index.cjs222.js.map +1 -1
  136. package/dist/index.cjs223.js +1 -1
  137. package/dist/index.cjs223.js.map +1 -1
  138. package/dist/index.cjs224.js +1 -1
  139. package/dist/index.cjs224.js.map +1 -1
  140. package/dist/index.cjs225.js +1 -1
  141. package/dist/index.cjs225.js.map +1 -1
  142. package/dist/index.cjs226.js +1 -1
  143. package/dist/index.cjs226.js.map +1 -1
  144. package/dist/index.cjs227.js +1 -1
  145. package/dist/index.cjs227.js.map +1 -1
  146. package/dist/index.cjs228.js +1 -1
  147. package/dist/index.cjs228.js.map +1 -1
  148. package/dist/index.cjs229.js +1 -1
  149. package/dist/index.cjs229.js.map +1 -1
  150. package/dist/index.cjs230.js +1 -1
  151. package/dist/index.cjs230.js.map +1 -1
  152. package/dist/index.cjs231.js +1 -1
  153. package/dist/index.cjs231.js.map +1 -1
  154. package/dist/index.cjs232.js +1 -1
  155. package/dist/index.cjs232.js.map +1 -1
  156. package/dist/index.cjs233.js +1 -1
  157. package/dist/index.cjs233.js.map +1 -1
  158. package/dist/index.cjs234.js +1 -1
  159. package/dist/index.cjs234.js.map +1 -1
  160. package/dist/index.cjs235.js +1 -1
  161. package/dist/index.cjs235.js.map +1 -1
  162. package/dist/index.cjs236.js +1 -1
  163. package/dist/index.cjs236.js.map +1 -1
  164. package/dist/index.cjs237.js +1 -1
  165. package/dist/index.cjs237.js.map +1 -1
  166. package/dist/index.cjs238.js +1 -1
  167. package/dist/index.cjs238.js.map +1 -1
  168. package/dist/index.cjs239.js +1 -1
  169. package/dist/index.cjs239.js.map +1 -1
  170. package/dist/index.cjs24.js +1 -1
  171. package/dist/index.cjs24.js.map +1 -1
  172. package/dist/index.cjs240.js +1 -1
  173. package/dist/index.cjs240.js.map +1 -1
  174. package/dist/index.cjs241.js +1 -1
  175. package/dist/index.cjs241.js.map +1 -1
  176. package/dist/index.cjs242.js +1 -1
  177. package/dist/index.cjs242.js.map +1 -1
  178. package/dist/index.cjs243.js +1 -1
  179. package/dist/index.cjs243.js.map +1 -1
  180. package/dist/index.cjs244.js +1 -1
  181. package/dist/index.cjs244.js.map +1 -1
  182. package/dist/index.cjs245.js +1 -1
  183. package/dist/index.cjs245.js.map +1 -1
  184. package/dist/index.cjs246.js +1 -1
  185. package/dist/index.cjs246.js.map +1 -1
  186. package/dist/index.cjs247.js +1 -1
  187. package/dist/index.cjs247.js.map +1 -1
  188. package/dist/index.cjs248.js +1 -1
  189. package/dist/index.cjs248.js.map +1 -1
  190. package/dist/index.cjs249.js +1 -1
  191. package/dist/index.cjs249.js.map +1 -1
  192. package/dist/index.cjs25.js +1 -1
  193. package/dist/index.cjs25.js.map +1 -1
  194. package/dist/index.cjs250.js +1 -1
  195. package/dist/index.cjs250.js.map +1 -1
  196. package/dist/index.cjs251.js +1 -1
  197. package/dist/index.cjs251.js.map +1 -1
  198. package/dist/index.cjs252.js +1 -1
  199. package/dist/index.cjs252.js.map +1 -1
  200. package/dist/index.cjs253.js +1 -1
  201. package/dist/index.cjs253.js.map +1 -1
  202. package/dist/index.cjs254.js +1 -1
  203. package/dist/index.cjs254.js.map +1 -1
  204. package/dist/index.cjs255.js +1 -1
  205. package/dist/index.cjs255.js.map +1 -1
  206. package/dist/index.cjs256.js +1 -1
  207. package/dist/index.cjs256.js.map +1 -1
  208. package/dist/index.cjs257.js +1 -1
  209. package/dist/index.cjs257.js.map +1 -1
  210. package/dist/index.cjs258.js +1 -1
  211. package/dist/index.cjs258.js.map +1 -1
  212. package/dist/index.cjs259.js +1 -1
  213. package/dist/index.cjs259.js.map +1 -1
  214. package/dist/index.cjs260.js +1 -1
  215. package/dist/index.cjs260.js.map +1 -1
  216. package/dist/index.cjs261.js +1 -1
  217. package/dist/index.cjs261.js.map +1 -1
  218. package/dist/index.cjs262.js +1 -1
  219. package/dist/index.cjs262.js.map +1 -1
  220. package/dist/index.cjs263.js +1 -1
  221. package/dist/index.cjs263.js.map +1 -1
  222. package/dist/index.cjs264.js +1 -1
  223. package/dist/index.cjs264.js.map +1 -1
  224. package/dist/index.cjs265.js +1 -1
  225. package/dist/index.cjs265.js.map +1 -1
  226. package/dist/index.cjs266.js +1 -1
  227. package/dist/index.cjs266.js.map +1 -1
  228. package/dist/index.cjs267.js +1 -1
  229. package/dist/index.cjs267.js.map +1 -1
  230. package/dist/index.cjs268.js +1 -1
  231. package/dist/index.cjs268.js.map +1 -1
  232. package/dist/index.cjs269.js +1 -1
  233. package/dist/index.cjs269.js.map +1 -1
  234. package/dist/index.cjs270.js +1 -1
  235. package/dist/index.cjs270.js.map +1 -1
  236. package/dist/index.cjs271.js +1 -1
  237. package/dist/index.cjs271.js.map +1 -1
  238. package/dist/index.cjs272.js +1 -1
  239. package/dist/index.cjs272.js.map +1 -1
  240. package/dist/index.cjs273.js +1 -1
  241. package/dist/index.cjs273.js.map +1 -1
  242. package/dist/index.cjs274.js +1 -1
  243. package/dist/index.cjs274.js.map +1 -1
  244. package/dist/index.cjs275.js +1 -1
  245. package/dist/index.cjs275.js.map +1 -1
  246. package/dist/index.cjs277.js +1 -1
  247. package/dist/index.cjs278.js +1 -1
  248. package/dist/index.cjs279.js +1 -1
  249. package/dist/index.cjs280.js +1 -1
  250. package/dist/index.cjs281.js +1 -1
  251. package/dist/index.cjs282.js +1 -1
  252. package/dist/index.cjs283.js +1 -1
  253. package/dist/index.cjs284.js +1 -1
  254. package/dist/index.cjs285.js +1 -1
  255. package/dist/index.cjs286.js +1 -1
  256. package/dist/index.cjs290.js +1 -1
  257. package/dist/index.cjs291.js +1 -1
  258. package/dist/index.cjs292.js +1 -6
  259. package/dist/index.cjs292.js.map +1 -1
  260. package/dist/index.cjs293.js +1 -6
  261. package/dist/index.cjs293.js.map +1 -1
  262. package/dist/index.cjs294.js +1 -1
  263. package/dist/index.cjs294.js.map +1 -1
  264. package/dist/index.cjs295.js +1 -1
  265. package/dist/index.cjs295.js.map +1 -1
  266. package/dist/index.cjs296.js +1 -1
  267. package/dist/index.cjs296.js.map +1 -1
  268. package/dist/index.cjs297.js +1 -1
  269. package/dist/index.cjs297.js.map +1 -1
  270. package/dist/index.cjs298.js +1 -1
  271. package/dist/index.cjs298.js.map +1 -1
  272. package/dist/index.cjs299.js +1 -1
  273. package/dist/index.cjs299.js.map +1 -1
  274. package/dist/index.cjs300.js +1 -1
  275. package/dist/index.cjs300.js.map +1 -1
  276. package/dist/index.cjs301.js +1 -1
  277. package/dist/index.cjs301.js.map +1 -1
  278. package/dist/index.cjs302.js +1 -1
  279. package/dist/index.cjs302.js.map +1 -1
  280. package/dist/index.cjs305.js +1 -1
  281. package/dist/index.cjs306.js +6 -1
  282. package/dist/index.cjs306.js.map +1 -1
  283. package/dist/index.cjs307.js +1 -1
  284. package/dist/index.cjs307.js.map +1 -1
  285. package/dist/index.cjs308.js +1 -1
  286. package/dist/index.cjs308.js.map +1 -1
  287. package/dist/index.cjs309.js +1 -6
  288. package/dist/index.cjs309.js.map +1 -1
  289. package/dist/index.cjs310.js +1 -1
  290. package/dist/index.cjs310.js.map +1 -1
  291. package/dist/index.cjs311.js +1 -1
  292. package/dist/index.cjs311.js.map +1 -1
  293. package/dist/index.cjs312.js +1 -1
  294. package/dist/index.cjs312.js.map +1 -1
  295. package/dist/index.cjs313.js +1 -1
  296. package/dist/index.cjs313.js.map +1 -1
  297. package/dist/index.cjs314.js +1 -1
  298. package/dist/index.cjs314.js.map +1 -1
  299. package/dist/index.cjs315.js +1 -1
  300. package/dist/index.cjs315.js.map +1 -1
  301. package/dist/index.cjs316.js +1 -1
  302. package/dist/index.cjs316.js.map +1 -1
  303. package/dist/index.cjs317.js +1 -1
  304. package/dist/index.cjs317.js.map +1 -1
  305. package/dist/index.cjs318.js +2 -1
  306. package/dist/index.cjs318.js.map +1 -1
  307. package/dist/index.cjs319.js +4 -1
  308. package/dist/index.cjs319.js.map +1 -1
  309. package/dist/index.cjs320.js +2 -1
  310. package/dist/index.cjs320.js.map +1 -1
  311. package/dist/index.cjs321.js +1 -2
  312. package/dist/index.cjs321.js.map +1 -1
  313. package/dist/index.cjs322.js +1 -4
  314. package/dist/index.cjs322.js.map +1 -1
  315. package/dist/index.cjs323.js +2 -2
  316. package/dist/index.cjs323.js.map +1 -1
  317. package/dist/index.cjs324.js +1 -1
  318. package/dist/index.cjs324.js.map +1 -1
  319. package/dist/index.cjs325.js +6 -1
  320. package/dist/index.cjs325.js.map +1 -1
  321. package/dist/index.cjs326.js +6 -2
  322. package/dist/index.cjs326.js.map +1 -1
  323. package/dist/index.cjs327.js +1 -1
  324. package/dist/index.cjs327.js.map +1 -1
  325. package/dist/index.cjs328.js +1 -1
  326. package/dist/index.cjs328.js.map +1 -1
  327. package/dist/index.cjs329.js +1 -1
  328. package/dist/index.cjs329.js.map +1 -1
  329. package/dist/index.cjs330.js +1 -4
  330. package/dist/index.cjs330.js.map +1 -1
  331. package/dist/index.cjs331.js +1 -1
  332. package/dist/index.cjs331.js.map +1 -1
  333. package/dist/index.cjs332.js +1 -1
  334. package/dist/index.cjs332.js.map +1 -1
  335. package/dist/index.cjs333.js +1 -1
  336. package/dist/index.cjs333.js.map +1 -1
  337. package/dist/index.cjs334.js +1 -1
  338. package/dist/index.cjs334.js.map +1 -1
  339. package/dist/index.cjs335.js +1 -1
  340. package/dist/index.cjs335.js.map +1 -1
  341. package/dist/index.cjs336.js +1 -1
  342. package/dist/index.cjs336.js.map +1 -1
  343. package/dist/index.cjs337.js +1 -1
  344. package/dist/index.cjs337.js.map +1 -1
  345. package/dist/index.cjs338.js +1 -1
  346. package/dist/index.cjs338.js.map +1 -1
  347. package/dist/index.cjs339.js +1 -1
  348. package/dist/index.cjs339.js.map +1 -1
  349. package/dist/index.cjs340.js +1 -1
  350. package/dist/index.cjs340.js.map +1 -1
  351. package/dist/index.cjs341.js +1 -1
  352. package/dist/index.cjs341.js.map +1 -1
  353. package/dist/index.cjs342.js +1 -1
  354. package/dist/index.cjs342.js.map +1 -1
  355. package/dist/index.cjs343.js +1 -1
  356. package/dist/index.cjs343.js.map +1 -1
  357. package/dist/index.cjs344.js +1 -1
  358. package/dist/index.cjs344.js.map +1 -1
  359. package/dist/index.cjs345.js +1 -1
  360. package/dist/index.cjs345.js.map +1 -1
  361. package/dist/index.cjs346.js +1 -1
  362. package/dist/index.cjs346.js.map +1 -1
  363. package/dist/index.cjs347.js +1 -1
  364. package/dist/index.cjs347.js.map +1 -1
  365. package/dist/index.cjs348.js +1 -1
  366. package/dist/index.cjs348.js.map +1 -1
  367. package/dist/index.cjs349.js +1 -1
  368. package/dist/index.cjs349.js.map +1 -1
  369. package/dist/index.cjs350.js +1 -1
  370. package/dist/index.cjs350.js.map +1 -1
  371. package/dist/index.cjs351.js +1 -1
  372. package/dist/index.cjs351.js.map +1 -1
  373. package/dist/index.cjs352.js +1 -1
  374. package/dist/index.cjs352.js.map +1 -1
  375. package/dist/index.cjs353.js +1 -1
  376. package/dist/index.cjs353.js.map +1 -1
  377. package/dist/index.cjs354.js +1 -1
  378. package/dist/index.cjs354.js.map +1 -1
  379. package/dist/index.cjs355.js +1 -1
  380. package/dist/index.cjs355.js.map +1 -1
  381. package/dist/index.cjs356.js +1 -1
  382. package/dist/index.cjs356.js.map +1 -1
  383. package/dist/index.cjs357.js +1 -1
  384. package/dist/index.cjs357.js.map +1 -1
  385. package/dist/index.cjs358.js +1 -1
  386. package/dist/index.cjs358.js.map +1 -1
  387. package/dist/index.cjs359.js +1 -1
  388. package/dist/index.cjs359.js.map +1 -1
  389. package/dist/index.cjs360.js +1 -1
  390. package/dist/index.cjs360.js.map +1 -1
  391. package/dist/index.cjs361.js +1 -1
  392. package/dist/index.cjs361.js.map +1 -1
  393. package/dist/index.cjs362.js +1 -1
  394. package/dist/index.cjs362.js.map +1 -1
  395. package/dist/index.cjs363.js +1 -1
  396. package/dist/index.cjs363.js.map +1 -1
  397. package/dist/index.cjs364.js +1 -1
  398. package/dist/index.cjs364.js.map +1 -1
  399. package/dist/index.cjs365.js +4 -1
  400. package/dist/index.cjs365.js.map +1 -1
  401. package/dist/index.cjs366.js +1 -1
  402. package/dist/index.cjs366.js.map +1 -1
  403. package/dist/index.cjs367.js +1 -1
  404. package/dist/index.cjs367.js.map +1 -1
  405. package/dist/index.cjs368.js +1 -1
  406. package/dist/index.cjs368.js.map +1 -1
  407. package/dist/index.cjs369.js +1 -1
  408. package/dist/index.cjs369.js.map +1 -1
  409. package/dist/index.cjs372.js +1 -1
  410. package/dist/index.cjs372.js.map +1 -1
  411. package/dist/index.cjs373.js +1 -1
  412. package/dist/index.cjs373.js.map +1 -1
  413. package/dist/index.cjs375.js +1 -1
  414. package/dist/index.cjs375.js.map +1 -1
  415. package/dist/index.cjs376.js +1 -1
  416. package/dist/index.cjs376.js.map +1 -1
  417. package/dist/index.cjs377.js +1 -1
  418. package/dist/index.cjs377.js.map +1 -1
  419. package/dist/index.cjs378.js +1 -1
  420. package/dist/index.cjs378.js.map +1 -1
  421. package/dist/index.cjs379.js +1 -1
  422. package/dist/index.cjs379.js.map +1 -1
  423. package/dist/index.cjs380.js +1 -1
  424. package/dist/index.cjs380.js.map +1 -1
  425. package/dist/index.cjs381.js +1 -1
  426. package/dist/index.cjs381.js.map +1 -1
  427. package/dist/index.cjs382.js +1 -1
  428. package/dist/index.cjs382.js.map +1 -1
  429. package/dist/index.cjs383.js +1 -1
  430. package/dist/index.cjs383.js.map +1 -1
  431. package/dist/index.cjs384.js +1 -1
  432. package/dist/index.cjs384.js.map +1 -1
  433. package/dist/index.cjs385.js +1 -1
  434. package/dist/index.cjs385.js.map +1 -1
  435. package/dist/index.cjs386.js +1 -1
  436. package/dist/index.cjs386.js.map +1 -1
  437. package/dist/index.cjs389.js +1 -1
  438. package/dist/index.cjs391.js +1 -1
  439. package/dist/index.cjs392.js +1 -1
  440. package/dist/index.cjs394.js +1 -1
  441. package/dist/index.cjs395.js +1 -1
  442. package/dist/index.cjs396.js +1 -1
  443. package/dist/index.cjs408.js +1 -1
  444. package/dist/index.cjs411.js +1 -1
  445. package/dist/index.cjs415.js +1 -1
  446. package/dist/index.cjs416.js +1 -38
  447. package/dist/index.cjs416.js.map +1 -1
  448. package/dist/index.cjs417.js +1 -1
  449. package/dist/index.cjs417.js.map +1 -1
  450. package/dist/index.cjs418.js +1 -1
  451. package/dist/index.cjs418.js.map +1 -1
  452. package/dist/index.cjs419.js +1 -1
  453. package/dist/index.cjs419.js.map +1 -1
  454. package/dist/index.cjs420.js +1 -1
  455. package/dist/index.cjs420.js.map +1 -1
  456. package/dist/index.cjs421.js +1 -1
  457. package/dist/index.cjs421.js.map +1 -1
  458. package/dist/index.cjs424.js +1 -1
  459. package/dist/index.cjs424.js.map +1 -1
  460. package/dist/index.cjs425.js +1 -1
  461. package/dist/index.cjs425.js.map +1 -1
  462. package/dist/index.cjs426.js +38 -1
  463. package/dist/index.cjs426.js.map +1 -1
  464. package/dist/index.cjs427.js +1 -1
  465. package/dist/index.cjs427.js.map +1 -1
  466. package/dist/index.cjs428.js +1 -1
  467. package/dist/index.cjs428.js.map +1 -1
  468. package/dist/index.cjs429.js +1 -1
  469. package/dist/index.cjs429.js.map +1 -1
  470. package/dist/index.cjs430.js +1 -1
  471. package/dist/index.cjs430.js.map +1 -1
  472. package/dist/index.cjs431.js +1 -1
  473. package/dist/index.cjs432.js +1 -1
  474. package/dist/index.cjs432.js.map +1 -1
  475. package/dist/index.cjs433.js +1 -1
  476. package/dist/index.cjs433.js.map +1 -1
  477. package/dist/index.cjs434.js +1 -1
  478. package/dist/index.cjs434.js.map +1 -1
  479. package/dist/index.cjs435.js +1 -1
  480. package/dist/index.cjs435.js.map +1 -1
  481. package/dist/index.cjs436.js +1 -1
  482. package/dist/index.cjs436.js.map +1 -1
  483. package/dist/index.cjs437.js +1 -1
  484. package/dist/index.cjs437.js.map +1 -1
  485. package/dist/index.cjs438.js +1 -1
  486. package/dist/index.cjs438.js.map +1 -1
  487. package/dist/index.cjs439.js +1 -1
  488. package/dist/index.cjs439.js.map +1 -1
  489. package/dist/index.cjs440.js +1 -1
  490. package/dist/index.cjs440.js.map +1 -1
  491. package/dist/index.cjs441.js +1 -1
  492. package/dist/index.cjs441.js.map +1 -1
  493. package/dist/index.cjs442.js +1 -1
  494. package/dist/index.cjs442.js.map +1 -1
  495. package/dist/index.cjs443.js +1 -1
  496. package/dist/index.cjs443.js.map +1 -1
  497. package/dist/index.cjs444.js +1 -1
  498. package/dist/index.cjs444.js.map +1 -1
  499. package/dist/index.cjs445.js +1 -1
  500. package/dist/index.cjs445.js.map +1 -1
  501. package/dist/index.cjs446.js +1 -1
  502. package/dist/index.cjs446.js.map +1 -1
  503. package/dist/index.cjs447.js +1 -1
  504. package/dist/index.cjs447.js.map +1 -1
  505. package/dist/index.cjs448.js +1 -1
  506. package/dist/index.cjs448.js.map +1 -1
  507. package/dist/index.cjs449.js +1 -1
  508. package/dist/index.cjs449.js.map +1 -1
  509. package/dist/index.cjs450.js +1 -1
  510. package/dist/index.cjs450.js.map +1 -1
  511. package/dist/index.cjs451.js +1 -1
  512. package/dist/index.cjs451.js.map +1 -1
  513. package/dist/index.cjs452.js +1 -1
  514. package/dist/index.cjs452.js.map +1 -1
  515. package/dist/index.cjs453.js +1 -1
  516. package/dist/index.cjs453.js.map +1 -1
  517. package/dist/index.cjs454.js +1 -1
  518. package/dist/index.cjs454.js.map +1 -1
  519. package/dist/index.cjs455.js +1 -1
  520. package/dist/index.cjs455.js.map +1 -1
  521. package/dist/index.cjs456.js +1 -1
  522. package/dist/index.cjs456.js.map +1 -1
  523. package/dist/index.cjs457.js +1 -1
  524. package/dist/index.cjs457.js.map +1 -1
  525. package/dist/index.cjs458.js +1 -1
  526. package/dist/index.cjs458.js.map +1 -1
  527. package/dist/index.cjs459.js +1 -1
  528. package/dist/index.cjs459.js.map +1 -1
  529. package/dist/index.cjs46.js +1 -1
  530. package/dist/index.cjs460.js +1 -1
  531. package/dist/index.cjs460.js.map +1 -1
  532. package/dist/index.cjs461.js +1 -1
  533. package/dist/index.cjs461.js.map +1 -1
  534. package/dist/index.cjs462.js +1 -1
  535. package/dist/index.cjs462.js.map +1 -1
  536. package/dist/index.cjs463.js +1 -1
  537. package/dist/index.cjs463.js.map +1 -1
  538. package/dist/index.cjs464.js +1 -1
  539. package/dist/index.cjs464.js.map +1 -1
  540. package/dist/index.cjs465.js +1 -1
  541. package/dist/index.cjs465.js.map +1 -1
  542. package/dist/index.cjs466.js +1 -1
  543. package/dist/index.cjs466.js.map +1 -1
  544. package/dist/index.cjs467.js +1 -2
  545. package/dist/index.cjs467.js.map +1 -1
  546. package/dist/index.cjs468.js +1 -1
  547. package/dist/index.cjs468.js.map +1 -1
  548. package/dist/index.cjs469.js +2 -1
  549. package/dist/index.cjs469.js.map +1 -1
  550. package/dist/index.cjs471.js +1 -1
  551. package/dist/index.cjs472.js +1 -1
  552. package/dist/index.cjs48.js +1 -1
  553. package/dist/index.cjs481.js +1 -1
  554. package/dist/index.cjs486.js +1 -1
  555. package/dist/index.cjs486.js.map +1 -1
  556. package/dist/index.cjs487.js +1 -1
  557. package/dist/index.cjs487.js.map +1 -1
  558. package/dist/index.cjs488.js +1 -1
  559. package/dist/index.cjs488.js.map +1 -1
  560. package/dist/index.cjs489.js +1 -1
  561. package/dist/index.cjs489.js.map +1 -1
  562. package/dist/index.cjs49.js +1 -1
  563. package/dist/index.cjs490.js +1 -1
  564. package/dist/index.cjs490.js.map +1 -1
  565. package/dist/index.cjs491.js +1 -1
  566. package/dist/index.cjs491.js.map +1 -1
  567. package/dist/index.cjs492.js +1 -1
  568. package/dist/index.cjs492.js.map +1 -1
  569. package/dist/index.cjs493.js +1 -1
  570. package/dist/index.cjs493.js.map +1 -1
  571. package/dist/index.cjs494.js +1 -1
  572. package/dist/index.cjs494.js.map +1 -1
  573. package/dist/index.cjs495.js +1 -1
  574. package/dist/index.cjs495.js.map +1 -1
  575. package/dist/index.cjs496.js +1 -1
  576. package/dist/index.cjs496.js.map +1 -1
  577. package/dist/index.cjs498.js +7 -1
  578. package/dist/index.cjs498.js.map +1 -1
  579. package/dist/index.cjs499.js +1 -1
  580. package/dist/index.cjs499.js.map +1 -1
  581. package/dist/index.cjs5.js +1 -1
  582. package/dist/index.cjs5.js.map +1 -1
  583. package/dist/index.cjs50.js +1 -1
  584. package/dist/index.cjs500.js +1 -1
  585. package/dist/index.cjs500.js.map +1 -1
  586. package/dist/index.cjs501.js +1 -1
  587. package/dist/index.cjs501.js.map +1 -1
  588. package/dist/index.cjs502.js +1 -1
  589. package/dist/index.cjs502.js.map +1 -1
  590. package/dist/index.cjs503.js +1 -7
  591. package/dist/index.cjs503.js.map +1 -1
  592. package/dist/index.cjs504.js +1 -1
  593. package/dist/index.cjs504.js.map +1 -1
  594. package/dist/index.cjs505.js +1 -1
  595. package/dist/index.cjs505.js.map +1 -1
  596. package/dist/index.cjs506.js +1 -1
  597. package/dist/index.cjs506.js.map +1 -1
  598. package/dist/index.cjs507.js +1 -1
  599. package/dist/index.cjs507.js.map +1 -1
  600. package/dist/index.cjs508.js +1 -1
  601. package/dist/index.cjs508.js.map +1 -1
  602. package/dist/index.cjs513.js +1 -1
  603. package/dist/index.cjs513.js.map +1 -1
  604. package/dist/index.cjs517.js +1 -1
  605. package/dist/index.cjs517.js.map +1 -1
  606. package/dist/index.cjs518.js +1 -1
  607. package/dist/index.cjs518.js.map +1 -1
  608. package/dist/index.cjs519.js +1 -1
  609. package/dist/index.cjs52.js +1 -1
  610. package/dist/index.cjs520.js +1 -1
  611. package/dist/index.cjs520.js.map +1 -1
  612. package/dist/index.cjs521.js +1 -1
  613. package/dist/index.cjs521.js.map +1 -1
  614. package/dist/index.cjs522.js +1 -1
  615. package/dist/index.cjs522.js.map +1 -1
  616. package/dist/index.cjs523.js +1 -1
  617. package/dist/index.cjs523.js.map +1 -1
  618. package/dist/index.cjs527.js +1 -1
  619. package/dist/index.cjs528.js +1 -1
  620. package/dist/index.cjs528.js.map +1 -1
  621. package/dist/index.cjs529.js +1 -1
  622. package/dist/index.cjs53.js +1 -1
  623. package/dist/index.cjs531.js +1 -1
  624. package/dist/index.cjs536.js +1 -1
  625. package/dist/index.cjs538.js +1 -1
  626. package/dist/index.cjs539.js +1 -1
  627. package/dist/index.cjs539.js.map +1 -1
  628. package/dist/index.cjs54.js +1 -1
  629. package/dist/index.cjs540.js +1 -1
  630. package/dist/index.cjs540.js.map +1 -1
  631. package/dist/index.cjs549.js +1 -1
  632. package/dist/index.cjs55.js +1 -1
  633. package/dist/index.cjs550.js +1 -1
  634. package/dist/index.cjs556.js +1 -1
  635. package/dist/index.cjs556.js.map +1 -1
  636. package/dist/index.cjs558.js +1 -1
  637. package/dist/index.cjs558.js.map +1 -1
  638. package/dist/index.cjs559.js +1 -1
  639. package/dist/index.cjs56.js +1 -1
  640. package/dist/index.cjs561.js +1 -1
  641. package/dist/index.cjs57.js +1 -1
  642. package/dist/index.cjs58.js +1 -1
  643. package/dist/index.cjs582.js +1 -1
  644. package/dist/index.cjs587.js +1 -1
  645. package/dist/index.cjs588.js +1 -1
  646. package/dist/index.cjs588.js.map +1 -1
  647. package/dist/index.cjs589.js +1 -1
  648. package/dist/index.cjs589.js.map +1 -1
  649. package/dist/index.cjs590.js +1 -1
  650. package/dist/index.cjs590.js.map +1 -1
  651. package/dist/index.cjs591.js +1 -2
  652. package/dist/index.cjs591.js.map +1 -1
  653. package/dist/index.cjs592.js +2 -1
  654. package/dist/index.cjs592.js.map +1 -1
  655. package/dist/index.cjs593.js +1 -1
  656. package/dist/index.cjs593.js.map +1 -1
  657. package/dist/index.cjs594.js +1 -1
  658. package/dist/index.cjs594.js.map +1 -1
  659. package/dist/index.cjs60.js +1 -1
  660. package/dist/index.cjs61.js +1 -1
  661. package/dist/index.cjs62.js +1 -1
  662. package/dist/index.cjs63.js +1 -1
  663. package/dist/index.cjs65.js +1 -1
  664. package/dist/index.cjs66.js +1 -1
  665. package/dist/index.cjs67.js +1 -1
  666. package/dist/index.cjs68.js +1 -1
  667. package/dist/index.cjs69.js +1 -1
  668. package/dist/index.cjs70.js +1 -1
  669. package/dist/index.cjs71.js +1 -1
  670. package/dist/index.cjs72.js +1 -1
  671. package/dist/index.cjs73.js +1 -1
  672. package/dist/index.cjs75.js +1 -1
  673. package/dist/index.cjs76.js +1 -1
  674. package/dist/index.cjs77.js +1 -1
  675. package/dist/index.cjs80.js +1 -1
  676. package/dist/index.cjs82.js +1 -1
  677. package/dist/index.cjs83.js +1 -1
  678. package/dist/index.cjs85.js +1 -1
  679. package/dist/index.cjs86.js +1 -1
  680. package/dist/index.cjs89.js +1 -1
  681. package/dist/index.cjs90.js +1 -1
  682. package/dist/index.cjs92.js +1 -1
  683. package/dist/index.cjs93.js +1 -1
  684. package/dist/index.cjs95.js +1 -1
  685. package/dist/index.cjs96.js +1 -1
  686. package/dist/index.cjs97.js +1 -1
  687. package/dist/index.cjs98.js +1 -1
  688. package/dist/index.es102.js +4 -4
  689. package/dist/index.es104.js +1 -1
  690. package/dist/index.es105.js +1 -1
  691. package/dist/index.es129.js +2 -2
  692. package/dist/index.es132.js +1 -1
  693. package/dist/index.es134.js +2 -2
  694. package/dist/index.es135.js +3 -3
  695. package/dist/index.es136.js +5 -10
  696. package/dist/index.es136.js.map +1 -1
  697. package/dist/index.es137.js +4 -34
  698. package/dist/index.es137.js.map +1 -1
  699. package/dist/index.es138.js +24 -5
  700. package/dist/index.es138.js.map +1 -1
  701. package/dist/index.es139.js +10 -4
  702. package/dist/index.es139.js.map +1 -1
  703. package/dist/index.es140.js +34 -24
  704. package/dist/index.es140.js.map +1 -1
  705. package/dist/index.es144.js +1 -1
  706. package/dist/index.es149.js +8 -8
  707. package/dist/index.es15.js +1 -1
  708. package/dist/index.es15.js.map +1 -1
  709. package/dist/index.es153.js +1 -1
  710. package/dist/index.es154.js +18 -18
  711. package/dist/index.es16.js +33 -25
  712. package/dist/index.es16.js.map +1 -1
  713. package/dist/index.es164.js +1 -1
  714. package/dist/index.es17.js +2 -2
  715. package/dist/index.es17.js.map +1 -1
  716. package/dist/index.es171.js +2 -23
  717. package/dist/index.es171.js.map +1 -1
  718. package/dist/index.es172.js +2 -2
  719. package/dist/index.es173.js +273 -2
  720. package/dist/index.es173.js.map +1 -1
  721. package/dist/index.es174.js +15 -273
  722. package/dist/index.es174.js.map +1 -1
  723. package/dist/index.es175.js +18 -14
  724. package/dist/index.es175.js.map +1 -1
  725. package/dist/index.es176.js +4 -18
  726. package/dist/index.es176.js.map +1 -1
  727. package/dist/index.es177.js +3 -4
  728. package/dist/index.es177.js.map +1 -1
  729. package/dist/index.es178.js +3 -3
  730. package/dist/index.es178.js.map +1 -1
  731. package/dist/index.es179.js +4 -3
  732. package/dist/index.es179.js.map +1 -1
  733. package/dist/index.es18.js +45 -89
  734. package/dist/index.es18.js.map +1 -1
  735. package/dist/index.es180.js +3 -4
  736. package/dist/index.es180.js.map +1 -1
  737. package/dist/index.es181.js +3 -4
  738. package/dist/index.es181.js.map +1 -1
  739. package/dist/index.es182.js +3 -3
  740. package/dist/index.es182.js.map +1 -1
  741. package/dist/index.es183.js +3 -3
  742. package/dist/index.es183.js.map +1 -1
  743. package/dist/index.es184.js +3 -3
  744. package/dist/index.es184.js.map +1 -1
  745. package/dist/index.es185.js +3 -3
  746. package/dist/index.es185.js.map +1 -1
  747. package/dist/index.es186.js +3 -3
  748. package/dist/index.es186.js.map +1 -1
  749. package/dist/index.es187.js +3 -3
  750. package/dist/index.es187.js.map +1 -1
  751. package/dist/index.es188.js +10 -3
  752. package/dist/index.es188.js.map +1 -1
  753. package/dist/index.es189.js +4 -10
  754. package/dist/index.es189.js.map +1 -1
  755. package/dist/index.es190.js +6 -4
  756. package/dist/index.es190.js.map +1 -1
  757. package/dist/index.es191.js +5 -5
  758. package/dist/index.es191.js.map +1 -1
  759. package/dist/index.es192.js +9 -5
  760. package/dist/index.es192.js.map +1 -1
  761. package/dist/index.es193.js +11 -9
  762. package/dist/index.es193.js.map +1 -1
  763. package/dist/index.es194.js +12 -11
  764. package/dist/index.es194.js.map +1 -1
  765. package/dist/index.es195.js +83 -10
  766. package/dist/index.es195.js.map +1 -1
  767. package/dist/index.es196.js +3 -86
  768. package/dist/index.es196.js.map +1 -1
  769. package/dist/index.es197.js +15 -3
  770. package/dist/index.es197.js.map +1 -1
  771. package/dist/index.es198.js +9 -12
  772. package/dist/index.es198.js.map +1 -1
  773. package/dist/index.es199.js +5 -10
  774. package/dist/index.es199.js.map +1 -1
  775. package/dist/index.es200.js +6 -6
  776. package/dist/index.es200.js.map +1 -1
  777. package/dist/index.es201.js +6 -6
  778. package/dist/index.es201.js.map +1 -1
  779. package/dist/index.es202.js +7 -6
  780. package/dist/index.es202.js.map +1 -1
  781. package/dist/index.es203.js +4 -8
  782. package/dist/index.es203.js.map +1 -1
  783. package/dist/index.es204.js +2 -2
  784. package/dist/index.es204.js.map +1 -1
  785. package/dist/index.es205.js +2 -2
  786. package/dist/index.es205.js.map +1 -1
  787. package/dist/index.es206.js +7 -4
  788. package/dist/index.es206.js.map +1 -1
  789. package/dist/index.es207.js +6 -6
  790. package/dist/index.es207.js.map +1 -1
  791. package/dist/index.es208.js +3 -6
  792. package/dist/index.es208.js.map +1 -1
  793. package/dist/index.es209.js +7 -3
  794. package/dist/index.es209.js.map +1 -1
  795. package/dist/index.es21.js +39 -33
  796. package/dist/index.es21.js.map +1 -1
  797. package/dist/index.es210.js +12 -7
  798. package/dist/index.es210.js.map +1 -1
  799. package/dist/index.es211.js +9 -11
  800. package/dist/index.es211.js.map +1 -1
  801. package/dist/index.es212.js +3 -10
  802. package/dist/index.es212.js.map +1 -1
  803. package/dist/index.es213.js +5 -3
  804. package/dist/index.es213.js.map +1 -1
  805. package/dist/index.es214.js +2 -5
  806. package/dist/index.es214.js.map +1 -1
  807. package/dist/index.es215.js +7 -2
  808. package/dist/index.es215.js.map +1 -1
  809. package/dist/index.es216.js +4 -4
  810. package/dist/index.es216.js.map +1 -1
  811. package/dist/index.es217.js +6 -6
  812. package/dist/index.es217.js.map +1 -1
  813. package/dist/index.es218.js +8 -7
  814. package/dist/index.es218.js.map +1 -1
  815. package/dist/index.es219.js +3 -8
  816. package/dist/index.es219.js.map +1 -1
  817. package/dist/index.es22.js +1 -1
  818. package/dist/index.es22.js.map +1 -1
  819. package/dist/index.es220.js +4 -4
  820. package/dist/index.es220.js.map +1 -1
  821. package/dist/index.es221.js +58 -4
  822. package/dist/index.es221.js.map +1 -1
  823. package/dist/index.es222.js +12 -56
  824. package/dist/index.es222.js.map +1 -1
  825. package/dist/index.es223.js +5 -13
  826. package/dist/index.es223.js.map +1 -1
  827. package/dist/index.es224.js +5 -5
  828. package/dist/index.es224.js.map +1 -1
  829. package/dist/index.es225.js +8 -5
  830. package/dist/index.es225.js.map +1 -1
  831. package/dist/index.es226.js +15 -7
  832. package/dist/index.es226.js.map +1 -1
  833. package/dist/index.es227.js +13 -16
  834. package/dist/index.es227.js.map +1 -1
  835. package/dist/index.es228.js +4 -13
  836. package/dist/index.es228.js.map +1 -1
  837. package/dist/index.es229.js +5 -4
  838. package/dist/index.es229.js.map +1 -1
  839. package/dist/index.es230.js +5 -2
  840. package/dist/index.es230.js.map +1 -1
  841. package/dist/index.es231.js +4 -6
  842. package/dist/index.es231.js.map +1 -1
  843. package/dist/index.es232.js +4 -4
  844. package/dist/index.es232.js.map +1 -1
  845. package/dist/index.es233.js +8 -6
  846. package/dist/index.es233.js.map +1 -1
  847. package/dist/index.es234.js +3 -9
  848. package/dist/index.es234.js.map +1 -1
  849. package/dist/index.es235.js +3 -3
  850. package/dist/index.es235.js.map +1 -1
  851. package/dist/index.es236.js +11 -3
  852. package/dist/index.es236.js.map +1 -1
  853. package/dist/index.es237.js +5 -11
  854. package/dist/index.es237.js.map +1 -1
  855. package/dist/index.es238.js +4 -5
  856. package/dist/index.es238.js.map +1 -1
  857. package/dist/index.es239.js +9 -4
  858. package/dist/index.es239.js.map +1 -1
  859. package/dist/index.es24.js +1 -1
  860. package/dist/index.es24.js.map +1 -1
  861. package/dist/index.es240.js +5 -8
  862. package/dist/index.es240.js.map +1 -1
  863. package/dist/index.es241.js +16 -5
  864. package/dist/index.es241.js.map +1 -1
  865. package/dist/index.es242.js +10 -15
  866. package/dist/index.es242.js.map +1 -1
  867. package/dist/index.es243.js +3 -12
  868. package/dist/index.es243.js.map +1 -1
  869. package/dist/index.es244.js +3 -3
  870. package/dist/index.es244.js.map +1 -1
  871. package/dist/index.es245.js +9 -3
  872. package/dist/index.es245.js.map +1 -1
  873. package/dist/index.es246.js +6 -8
  874. package/dist/index.es246.js.map +1 -1
  875. package/dist/index.es247.js +12 -6
  876. package/dist/index.es247.js.map +1 -1
  877. package/dist/index.es248.js +11 -11
  878. package/dist/index.es248.js.map +1 -1
  879. package/dist/index.es249.js +6 -12
  880. package/dist/index.es249.js.map +1 -1
  881. package/dist/index.es25.js +23 -22
  882. package/dist/index.es25.js.map +1 -1
  883. package/dist/index.es250.js +5 -6
  884. package/dist/index.es250.js.map +1 -1
  885. package/dist/index.es251.js +5 -5
  886. package/dist/index.es251.js.map +1 -1
  887. package/dist/index.es252.js +16 -5
  888. package/dist/index.es252.js.map +1 -1
  889. package/dist/index.es253.js +12 -12
  890. package/dist/index.es253.js.map +1 -1
  891. package/dist/index.es254.js +4 -16
  892. package/dist/index.es254.js.map +1 -1
  893. package/dist/index.es255.js +16 -4
  894. package/dist/index.es255.js.map +1 -1
  895. package/dist/index.es256.js +22 -16
  896. package/dist/index.es256.js.map +1 -1
  897. package/dist/index.es257.js +6 -23
  898. package/dist/index.es257.js.map +1 -1
  899. package/dist/index.es258.js +4 -5
  900. package/dist/index.es258.js.map +1 -1
  901. package/dist/index.es259.js +5 -4
  902. package/dist/index.es259.js.map +1 -1
  903. package/dist/index.es260.js +5 -6
  904. package/dist/index.es260.js.map +1 -1
  905. package/dist/index.es261.js +12 -5
  906. package/dist/index.es261.js.map +1 -1
  907. package/dist/index.es262.js +5 -11
  908. package/dist/index.es262.js.map +1 -1
  909. package/dist/index.es263.js +4 -5
  910. package/dist/index.es263.js.map +1 -1
  911. package/dist/index.es264.js +4 -4
  912. package/dist/index.es264.js.map +1 -1
  913. package/dist/index.es265.js +4 -4
  914. package/dist/index.es265.js.map +1 -1
  915. package/dist/index.es266.js +4 -4
  916. package/dist/index.es266.js.map +1 -1
  917. package/dist/index.es267.js +4 -4
  918. package/dist/index.es267.js.map +1 -1
  919. package/dist/index.es268.js +4 -4
  920. package/dist/index.es268.js.map +1 -1
  921. package/dist/index.es269.js +12 -4
  922. package/dist/index.es269.js.map +1 -1
  923. package/dist/index.es270.js +13 -11
  924. package/dist/index.es270.js.map +1 -1
  925. package/dist/index.es271.js +8 -14
  926. package/dist/index.es271.js.map +1 -1
  927. package/dist/index.es272.js +6 -8
  928. package/dist/index.es272.js.map +1 -1
  929. package/dist/index.es273.js +5 -5
  930. package/dist/index.es273.js.map +1 -1
  931. package/dist/index.es274.js +8 -6
  932. package/dist/index.es274.js.map +1 -1
  933. package/dist/index.es275.js +22 -8
  934. package/dist/index.es275.js.map +1 -1
  935. package/dist/index.es277.js +1 -1
  936. package/dist/index.es278.js +1 -1
  937. package/dist/index.es279.js +1 -1
  938. package/dist/index.es280.js +1 -1
  939. package/dist/index.es281.js +2 -2
  940. package/dist/index.es282.js +1 -1
  941. package/dist/index.es283.js +4 -4
  942. package/dist/index.es284.js +2 -2
  943. package/dist/index.es285.js +6 -6
  944. package/dist/index.es286.js +2 -2
  945. package/dist/index.es290.js +3 -3
  946. package/dist/index.es291.js +3 -3
  947. package/dist/index.es292.js +3 -39
  948. package/dist/index.es292.js.map +1 -1
  949. package/dist/index.es293.js +8 -18
  950. package/dist/index.es293.js.map +1 -1
  951. package/dist/index.es294.js +7 -4
  952. package/dist/index.es294.js.map +1 -1
  953. package/dist/index.es295.js +261 -8
  954. package/dist/index.es295.js.map +1 -1
  955. package/dist/index.es296.js +85 -9
  956. package/dist/index.es296.js.map +1 -1
  957. package/dist/index.es297.js +339 -8
  958. package/dist/index.es297.js.map +1 -1
  959. package/dist/index.es298.js +12 -263
  960. package/dist/index.es298.js.map +1 -1
  961. package/dist/index.es299.js +46 -84
  962. package/dist/index.es299.js.map +1 -1
  963. package/dist/index.es300.js +4 -339
  964. package/dist/index.es300.js.map +1 -1
  965. package/dist/index.es301.js +4 -12
  966. package/dist/index.es301.js.map +1 -1
  967. package/dist/index.es302.js +4 -47
  968. package/dist/index.es302.js.map +1 -1
  969. package/dist/index.es304.js +2 -2
  970. package/dist/index.es305.js +2 -2
  971. package/dist/index.es306.js +43 -2
  972. package/dist/index.es306.js.map +1 -1
  973. package/dist/index.es307.js +13 -2
  974. package/dist/index.es307.js.map +1 -1
  975. package/dist/index.es308.js +349 -2
  976. package/dist/index.es308.js.map +1 -1
  977. package/dist/index.es309.js +220 -39
  978. package/dist/index.es309.js.map +1 -1
  979. package/dist/index.es310.js +36 -10
  980. package/dist/index.es310.js.map +1 -1
  981. package/dist/index.es311.js +7 -348
  982. package/dist/index.es311.js.map +1 -1
  983. package/dist/index.es312.js +38 -221
  984. package/dist/index.es312.js.map +1 -1
  985. package/dist/index.es313.js +16 -36
  986. package/dist/index.es313.js.map +1 -1
  987. package/dist/index.es314.js +18 -6
  988. package/dist/index.es314.js.map +1 -1
  989. package/dist/index.es315.js +8 -39
  990. package/dist/index.es315.js.map +1 -1
  991. package/dist/index.es316.js +14 -16
  992. package/dist/index.es316.js.map +1 -1
  993. package/dist/index.es317.js +20 -16
  994. package/dist/index.es317.js.map +1 -1
  995. package/dist/index.es318.js +131 -8
  996. package/dist/index.es318.js.map +1 -1
  997. package/dist/index.es319.js +18 -15
  998. package/dist/index.es319.js.map +1 -1
  999. package/dist/index.es320.js +18 -23
  1000. package/dist/index.es320.js.map +1 -1
  1001. package/dist/index.es321.js +15 -129
  1002. package/dist/index.es321.js.map +1 -1
  1003. package/dist/index.es322.js +33 -18
  1004. package/dist/index.es322.js.map +1 -1
  1005. package/dist/index.es323.js +217 -18
  1006. package/dist/index.es323.js.map +1 -1
  1007. package/dist/index.es324.js +5 -18
  1008. package/dist/index.es324.js.map +1 -1
  1009. package/dist/index.es325.js +39 -34
  1010. package/dist/index.es325.js.map +1 -1
  1011. package/dist/index.es326.js +18 -218
  1012. package/dist/index.es326.js.map +1 -1
  1013. package/dist/index.es327.js +8 -5
  1014. package/dist/index.es327.js.map +1 -1
  1015. package/dist/index.es328.js +5 -3
  1016. package/dist/index.es328.js.map +1 -1
  1017. package/dist/index.es329.js +4 -24
  1018. package/dist/index.es329.js.map +1 -1
  1019. package/dist/index.es330.js +3 -107
  1020. package/dist/index.es330.js.map +1 -1
  1021. package/dist/index.es331.js +3 -16
  1022. package/dist/index.es331.js.map +1 -1
  1023. package/dist/index.es332.js +8 -9
  1024. package/dist/index.es332.js.map +1 -1
  1025. package/dist/index.es333.js +21 -44
  1026. package/dist/index.es333.js.map +1 -1
  1027. package/dist/index.es334.js +21 -12
  1028. package/dist/index.es334.js.map +1 -1
  1029. package/dist/index.es335.js +13 -6
  1030. package/dist/index.es335.js.map +1 -1
  1031. package/dist/index.es336.js +16 -17
  1032. package/dist/index.es336.js.map +1 -1
  1033. package/dist/index.es337.js +6 -11
  1034. package/dist/index.es337.js.map +1 -1
  1035. package/dist/index.es338.js +8 -9
  1036. package/dist/index.es338.js.map +1 -1
  1037. package/dist/index.es339.js +6 -4
  1038. package/dist/index.es339.js.map +1 -1
  1039. package/dist/index.es340.js +21 -11
  1040. package/dist/index.es340.js.map +1 -1
  1041. package/dist/index.es341.js +7 -5
  1042. package/dist/index.es341.js.map +1 -1
  1043. package/dist/index.es342.js +9 -5
  1044. package/dist/index.es342.js.map +1 -1
  1045. package/dist/index.es343.js +4 -4
  1046. package/dist/index.es343.js.map +1 -1
  1047. package/dist/index.es344.js +11 -3
  1048. package/dist/index.es344.js.map +1 -1
  1049. package/dist/index.es345.js +9 -3
  1050. package/dist/index.es345.js.map +1 -1
  1051. package/dist/index.es346.js +22 -8
  1052. package/dist/index.es346.js.map +1 -1
  1053. package/dist/index.es347.js +10 -20
  1054. package/dist/index.es347.js.map +1 -1
  1055. package/dist/index.es348.js +17 -20
  1056. package/dist/index.es348.js.map +1 -1
  1057. package/dist/index.es349.js +4 -14
  1058. package/dist/index.es349.js.map +1 -1
  1059. package/dist/index.es350.js +16 -15
  1060. package/dist/index.es350.js.map +1 -1
  1061. package/dist/index.es351.js +11 -5
  1062. package/dist/index.es351.js.map +1 -1
  1063. package/dist/index.es352.js +3 -8
  1064. package/dist/index.es352.js.map +1 -1
  1065. package/dist/index.es353.js +4 -6
  1066. package/dist/index.es353.js.map +1 -1
  1067. package/dist/index.es354.js +11 -22
  1068. package/dist/index.es354.js.map +1 -1
  1069. package/dist/index.es355.js +9 -9
  1070. package/dist/index.es355.js.map +1 -1
  1071. package/dist/index.es356.js +5 -9
  1072. package/dist/index.es356.js.map +1 -1
  1073. package/dist/index.es357.js +12 -4
  1074. package/dist/index.es357.js.map +1 -1
  1075. package/dist/index.es358.js +44 -10
  1076. package/dist/index.es358.js.map +1 -1
  1077. package/dist/index.es359.js +12 -8
  1078. package/dist/index.es359.js.map +1 -1
  1079. package/dist/index.es360.js +6 -22
  1080. package/dist/index.es360.js.map +1 -1
  1081. package/dist/index.es361.js +17 -11
  1082. package/dist/index.es361.js.map +1 -1
  1083. package/dist/index.es362.js +5 -19
  1084. package/dist/index.es362.js.map +1 -1
  1085. package/dist/index.es363.js +3 -4
  1086. package/dist/index.es363.js.map +1 -1
  1087. package/dist/index.es364.js +22 -16
  1088. package/dist/index.es364.js.map +1 -1
  1089. package/dist/index.es365.js +106 -11
  1090. package/dist/index.es365.js.map +1 -1
  1091. package/dist/index.es366.js +15 -3
  1092. package/dist/index.es366.js.map +1 -1
  1093. package/dist/index.es367.js +2 -5
  1094. package/dist/index.es367.js.map +1 -1
  1095. package/dist/index.es368.js +322 -2
  1096. package/dist/index.es368.js.map +1 -1
  1097. package/dist/index.es369.js +2 -322
  1098. package/dist/index.es369.js.map +1 -1
  1099. package/dist/index.es370.js +2 -2
  1100. package/dist/index.es371.js +2 -2
  1101. package/dist/index.es372.js +15 -2
  1102. package/dist/index.es372.js.map +1 -1
  1103. package/dist/index.es373.js +2 -15
  1104. package/dist/index.es373.js.map +1 -1
  1105. package/dist/index.es374.js +2 -2
  1106. package/dist/index.es375.js +48 -2
  1107. package/dist/index.es375.js.map +1 -1
  1108. package/dist/index.es376.js +26 -36
  1109. package/dist/index.es376.js.map +1 -1
  1110. package/dist/index.es377.js +41 -36
  1111. package/dist/index.es377.js.map +1 -1
  1112. package/dist/index.es378.js +2 -43
  1113. package/dist/index.es378.js.map +1 -1
  1114. package/dist/index.es379.js +16 -2
  1115. package/dist/index.es379.js.map +1 -1
  1116. package/dist/index.es380.js +2 -16
  1117. package/dist/index.es380.js.map +1 -1
  1118. package/dist/index.es381.js +16 -2
  1119. package/dist/index.es381.js.map +1 -1
  1120. package/dist/index.es382.js +13 -13
  1121. package/dist/index.es382.js.map +1 -1
  1122. package/dist/index.es383.js +16 -14
  1123. package/dist/index.es383.js.map +1 -1
  1124. package/dist/index.es384.js +18 -16
  1125. package/dist/index.es384.js.map +1 -1
  1126. package/dist/index.es385.js +2 -20
  1127. package/dist/index.es385.js.map +1 -1
  1128. package/dist/index.es386.js +10 -2
  1129. package/dist/index.es386.js.map +1 -1
  1130. package/dist/index.es389.js +2 -2
  1131. package/dist/index.es391.js +4 -4
  1132. package/dist/index.es392.js +2 -2
  1133. package/dist/index.es394.js +2 -2
  1134. package/dist/index.es395.js +2 -2
  1135. package/dist/index.es396.js +2 -2
  1136. package/dist/index.es408.js +1 -1
  1137. package/dist/index.es411.js +3 -3
  1138. package/dist/index.es415.js +5 -5
  1139. package/dist/index.es416.js +3 -55
  1140. package/dist/index.es416.js.map +1 -1
  1141. package/dist/index.es417.js +7 -8
  1142. package/dist/index.es417.js.map +1 -1
  1143. package/dist/index.es418.js +6 -14
  1144. package/dist/index.es418.js.map +1 -1
  1145. package/dist/index.es419.js +154 -58
  1146. package/dist/index.es419.js.map +1 -1
  1147. package/dist/index.es420.js +101 -62
  1148. package/dist/index.es420.js.map +1 -1
  1149. package/dist/index.es421.js +17 -7
  1150. package/dist/index.es421.js.map +1 -1
  1151. package/dist/index.es424.js +2 -156
  1152. package/dist/index.es424.js.map +1 -1
  1153. package/dist/index.es425.js +2 -104
  1154. package/dist/index.es425.js.map +1 -1
  1155. package/dist/index.es426.js +54 -16
  1156. package/dist/index.es426.js.map +1 -1
  1157. package/dist/index.es427.js +8 -7
  1158. package/dist/index.es427.js.map +1 -1
  1159. package/dist/index.es428.js +14 -3
  1160. package/dist/index.es428.js.map +1 -1
  1161. package/dist/index.es429.js +60 -6
  1162. package/dist/index.es429.js.map +1 -1
  1163. package/dist/index.es430.js +65 -2
  1164. package/dist/index.es430.js.map +1 -1
  1165. package/dist/index.es431.js +2 -2
  1166. package/dist/index.es432.js +20 -94
  1167. package/dist/index.es432.js.map +1 -1
  1168. package/dist/index.es433.js +6 -274
  1169. package/dist/index.es433.js.map +1 -1
  1170. package/dist/index.es434.js +2 -129
  1171. package/dist/index.es434.js.map +1 -1
  1172. package/dist/index.es435.js +87 -159
  1173. package/dist/index.es435.js.map +1 -1
  1174. package/dist/index.es436.js +227 -83
  1175. package/dist/index.es436.js.map +1 -1
  1176. package/dist/index.es437.js +73 -72
  1177. package/dist/index.es437.js.map +1 -1
  1178. package/dist/index.es438.js +117 -82
  1179. package/dist/index.es438.js.map +1 -1
  1180. package/dist/index.es439.js +77 -74
  1181. package/dist/index.es439.js.map +1 -1
  1182. package/dist/index.es440.js +75 -64
  1183. package/dist/index.es440.js.map +1 -1
  1184. package/dist/index.es441.js +55 -39
  1185. package/dist/index.es441.js.map +1 -1
  1186. package/dist/index.es442.js +75 -64
  1187. package/dist/index.es442.js.map +1 -1
  1188. package/dist/index.es443.js +58 -58
  1189. package/dist/index.es443.js.map +1 -1
  1190. package/dist/index.es444.js +47 -55
  1191. package/dist/index.es444.js.map +1 -1
  1192. package/dist/index.es445.js +66 -80
  1193. package/dist/index.es445.js.map +1 -1
  1194. package/dist/index.es446.js +66 -77
  1195. package/dist/index.es446.js.map +1 -1
  1196. package/dist/index.es447.js +118 -26
  1197. package/dist/index.es447.js.map +1 -1
  1198. package/dist/index.es448.js +131 -2
  1199. package/dist/index.es448.js.map +1 -1
  1200. package/dist/index.es449.js +121 -14
  1201. package/dist/index.es449.js.map +1 -1
  1202. package/dist/index.es450.js +33 -2
  1203. package/dist/index.es450.js.map +1 -1
  1204. package/dist/index.es451.js +2 -43
  1205. package/dist/index.es451.js.map +1 -1
  1206. package/dist/index.es452.js +17 -39
  1207. package/dist/index.es452.js.map +1 -1
  1208. package/dist/index.es453.js +2 -43
  1209. package/dist/index.es453.js.map +1 -1
  1210. package/dist/index.es454.js +23 -23
  1211. package/dist/index.es454.js.map +1 -1
  1212. package/dist/index.es455.js +35 -35
  1213. package/dist/index.es455.js.map +1 -1
  1214. package/dist/index.es456.js +33 -33
  1215. package/dist/index.es456.js.map +1 -1
  1216. package/dist/index.es457.js +30 -30
  1217. package/dist/index.es457.js.map +1 -1
  1218. package/dist/index.es458.js +31 -31
  1219. package/dist/index.es458.js.map +1 -1
  1220. package/dist/index.es459.js +31 -32
  1221. package/dist/index.es459.js.map +1 -1
  1222. package/dist/index.es46.js +2 -2
  1223. package/dist/index.es460.js +35 -33
  1224. package/dist/index.es460.js.map +1 -1
  1225. package/dist/index.es461.js +43 -2
  1226. package/dist/index.es461.js.map +1 -1
  1227. package/dist/index.es462.js +42 -20
  1228. package/dist/index.es462.js.map +1 -1
  1229. package/dist/index.es463.js +41 -2
  1230. package/dist/index.es463.js.map +1 -1
  1231. package/dist/index.es464.js +2 -12
  1232. package/dist/index.es464.js.map +1 -1
  1233. package/dist/index.es465.js +2 -34
  1234. package/dist/index.es465.js.map +1 -1
  1235. package/dist/index.es466.js +10 -19
  1236. package/dist/index.es466.js.map +1 -1
  1237. package/dist/index.es467.js +32 -10
  1238. package/dist/index.es467.js.map +1 -1
  1239. package/dist/index.es468.js +21 -2
  1240. package/dist/index.es468.js.map +1 -1
  1241. package/dist/index.es469.js +12 -2
  1242. package/dist/index.es469.js.map +1 -1
  1243. package/dist/index.es471.js +2 -2
  1244. package/dist/index.es472.js +1 -1
  1245. package/dist/index.es48.js +1 -1
  1246. package/dist/index.es481.js +2 -2
  1247. package/dist/index.es486.js +118 -9
  1248. package/dist/index.es486.js.map +1 -1
  1249. package/dist/index.es487.js +2 -13
  1250. package/dist/index.es487.js.map +1 -1
  1251. package/dist/index.es488.js +5 -4
  1252. package/dist/index.es488.js.map +1 -1
  1253. package/dist/index.es489.js +2 -23
  1254. package/dist/index.es489.js.map +1 -1
  1255. package/dist/index.es49.js +1 -1
  1256. package/dist/index.es490.js +4 -5
  1257. package/dist/index.es490.js.map +1 -1
  1258. package/dist/index.es491.js +23 -118
  1259. package/dist/index.es491.js.map +1 -1
  1260. package/dist/index.es492.js +2 -3
  1261. package/dist/index.es492.js.map +1 -1
  1262. package/dist/index.es493.js +151 -2
  1263. package/dist/index.es493.js.map +1 -1
  1264. package/dist/index.es494.js +2 -151
  1265. package/dist/index.es494.js.map +1 -1
  1266. package/dist/index.es495.js +6 -2
  1267. package/dist/index.es495.js.map +1 -1
  1268. package/dist/index.es496.js +2 -6
  1269. package/dist/index.es496.js.map +1 -1
  1270. package/dist/index.es497.js +2 -2
  1271. package/dist/index.es498.js +177 -100
  1272. package/dist/index.es498.js.map +1 -1
  1273. package/dist/index.es499.js +134 -2
  1274. package/dist/index.es499.js.map +1 -1
  1275. package/dist/index.es5.js +2 -2
  1276. package/dist/index.es5.js.map +1 -1
  1277. package/dist/index.es50.js +2 -2
  1278. package/dist/index.es500.js +78 -87
  1279. package/dist/index.es500.js.map +1 -1
  1280. package/dist/index.es501.js +134 -2
  1281. package/dist/index.es501.js.map +1 -1
  1282. package/dist/index.es502.js +129 -2
  1283. package/dist/index.es502.js.map +1 -1
  1284. package/dist/index.es503.js +82 -172
  1285. package/dist/index.es503.js.map +1 -1
  1286. package/dist/index.es504.js +2 -134
  1287. package/dist/index.es504.js.map +1 -1
  1288. package/dist/index.es505.js +2 -129
  1289. package/dist/index.es505.js.map +1 -1
  1290. package/dist/index.es506.js +2 -134
  1291. package/dist/index.es506.js.map +1 -1
  1292. package/dist/index.es507.js +2 -129
  1293. package/dist/index.es507.js.map +1 -1
  1294. package/dist/index.es508.js +2 -135
  1295. package/dist/index.es508.js.map +1 -1
  1296. package/dist/index.es509.js +2 -2
  1297. package/dist/index.es511.js +2 -2
  1298. package/dist/index.es512.js +2 -2
  1299. package/dist/index.es513.js +148 -2
  1300. package/dist/index.es513.js.map +1 -1
  1301. package/dist/index.es514.js +2 -2
  1302. package/dist/index.es515.js +2 -2
  1303. package/dist/index.es516.js +2 -2
  1304. package/dist/index.es517.js +131 -2
  1305. package/dist/index.es517.js.map +1 -1
  1306. package/dist/index.es518.js +128 -2
  1307. package/dist/index.es518.js.map +1 -1
  1308. package/dist/index.es519.js +2 -2
  1309. package/dist/index.es52.js +2 -2
  1310. package/dist/index.es520.js +2 -131
  1311. package/dist/index.es520.js.map +1 -1
  1312. package/dist/index.es521.js +2 -128
  1313. package/dist/index.es521.js.map +1 -1
  1314. package/dist/index.es522.js +14 -2
  1315. package/dist/index.es522.js.map +1 -1
  1316. package/dist/index.es523.js +2 -14
  1317. package/dist/index.es523.js.map +1 -1
  1318. package/dist/index.es524.js +2 -2
  1319. package/dist/index.es527.js +2 -2
  1320. package/dist/index.es528.js +138 -2
  1321. package/dist/index.es528.js.map +1 -1
  1322. package/dist/index.es529.js +2 -2
  1323. package/dist/index.es53.js +2 -2
  1324. package/dist/index.es531.js +2 -2
  1325. package/dist/index.es532.js +2 -2
  1326. package/dist/index.es533.js +2 -2
  1327. package/dist/index.es536.js +2 -2
  1328. package/dist/index.es539.js +9 -2
  1329. package/dist/index.es539.js.map +1 -1
  1330. package/dist/index.es54.js +2 -2
  1331. package/dist/index.es540.js +14 -2
  1332. package/dist/index.es540.js.map +1 -1
  1333. package/dist/index.es549.js +2 -2
  1334. package/dist/index.es55.js +1 -1
  1335. package/dist/index.es550.js +2 -2
  1336. package/dist/index.es551.js +2 -2
  1337. package/dist/index.es552.js +2 -2
  1338. package/dist/index.es553.js +2 -2
  1339. package/dist/index.es554.js +2 -2
  1340. package/dist/index.es555.js +2 -2
  1341. package/dist/index.es556.js +30 -2
  1342. package/dist/index.es556.js.map +1 -1
  1343. package/dist/index.es557.js +2 -2
  1344. package/dist/index.es558.js +2 -30
  1345. package/dist/index.es558.js.map +1 -1
  1346. package/dist/index.es559.js +2 -2
  1347. package/dist/index.es56.js +1 -1
  1348. package/dist/index.es560.js +2 -2
  1349. package/dist/index.es561.js +2 -2
  1350. package/dist/index.es57.js +2 -2
  1351. package/dist/index.es58.js +2 -2
  1352. package/dist/index.es582.js +1 -1
  1353. package/dist/index.es587.js +6 -6
  1354. package/dist/index.es588.js +13 -16
  1355. package/dist/index.es588.js.map +1 -1
  1356. package/dist/index.es589.js +18 -39
  1357. package/dist/index.es589.js.map +1 -1
  1358. package/dist/index.es590.js +39 -12
  1359. package/dist/index.es590.js.map +1 -1
  1360. package/dist/index.es591.js +12 -37
  1361. package/dist/index.es591.js.map +1 -1
  1362. package/dist/index.es592.js +36 -38
  1363. package/dist/index.es592.js.map +1 -1
  1364. package/dist/index.es593.js +39 -12
  1365. package/dist/index.es593.js.map +1 -1
  1366. package/dist/index.es594.js +8 -11
  1367. package/dist/index.es594.js.map +1 -1
  1368. package/dist/index.es60.js +2 -2
  1369. package/dist/index.es61.js +2 -2
  1370. package/dist/index.es62.js +2 -2
  1371. package/dist/index.es63.js +1 -1
  1372. package/dist/index.es65.js +1 -1
  1373. package/dist/index.es66.js +4 -4
  1374. package/dist/index.es67.js +5 -5
  1375. package/dist/index.es68.js +5 -5
  1376. package/dist/index.es69.js +1 -1
  1377. package/dist/index.es70.js +3 -3
  1378. package/dist/index.es71.js +4 -4
  1379. package/dist/index.es72.js +2 -2
  1380. package/dist/index.es73.js +2 -2
  1381. package/dist/index.es75.js +1 -1
  1382. package/dist/index.es76.js +1 -1
  1383. package/dist/index.es77.js +1 -1
  1384. package/dist/index.es80.js +1 -1
  1385. package/dist/index.es82.js +1 -1
  1386. package/dist/index.es83.js +2 -2
  1387. package/dist/index.es85.js +1 -1
  1388. package/dist/index.es86.js +1 -1
  1389. package/dist/index.es89.js +3 -3
  1390. package/dist/index.es90.js +4 -4
  1391. package/dist/index.es92.js +1 -1
  1392. package/dist/index.es93.js +1 -1
  1393. package/dist/index.es95.js +1 -1
  1394. package/dist/index.es96.js +1 -1
  1395. package/dist/index.es97.js +1 -1
  1396. package/dist/index.es98.js +1 -1
  1397. package/dist/packages/core-data/src/tailwind.css +1 -1
  1398. package/package.json +3 -3
  1399. package/src/components/EventDetails.js +2 -2
  1400. package/src/components/PlaceDetails.js +1 -1
  1401. package/src/components/PlaceLayersSelector.js +16 -10
  1402. package/src/components/PlaceMarkers.js +1 -1
  1403. package/src/components/PlaceResultsList.js +5 -46
  1404. package/src/components/RelatedItem.js +31 -27
  1405. package/src/components/RelatedItems.js +2 -2
  1406. package/src/components/RelatedList.js +1 -1
  1407. package/src/components/RelatedMedia.js +2 -1
  1408. package/types/components/EventDetails.js.flow +2 -2
  1409. package/types/components/PlaceDetails.js.flow +1 -1
  1410. package/types/components/PlaceLayersSelector.js.flow +16 -10
  1411. package/types/components/PlaceMarkers.js.flow +1 -1
  1412. package/types/components/PlaceResultsList.js.flow +5 -46
  1413. package/types/components/RelatedItem.js.flow +31 -27
  1414. package/types/components/RelatedItems.js.flow +2 -2
  1415. package/types/components/RelatedList.js.flow +1 -1
  1416. package/types/components/RelatedMedia.js.flow +2 -1
@@ -1,4 +1,4 @@
1
- "use strict";const P=require("./index.cjs337.js"),d=require("./index.cjs338.js"),B=require("./index.cjs339.js"),W=require("./index.cjs340.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.cjs354.js"),d=require("./index.cjs355.js"),B=require("./index.cjs356.js"),W=require("./index.cjs357.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.cjs172.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.cjs171.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.cjs173.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.cjs172.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 m=require("./index.cjs106.js"),e=require("react"),h=require("./index.cjs107.js"),k=require("./index.cjs108.js"),E=require("./index.cjs109.js"),C=require("./index.cjs111.js"),R=require("./index.cjs145.js"),G=require("./index.cjs110.js"),w=require("./index.cjs143.js"),A=require("./index.cjs137.js"),I=require("./index.cjs136.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.cjs106.js"),e=require("react"),h=require("./index.cjs107.js"),k=require("./index.cjs108.js"),E=require("./index.cjs109.js"),C=require("./index.cjs111.js"),R=require("./index.cjs145.js"),G=require("./index.cjs110.js"),w=require("./index.cjs143.js"),A=require("./index.cjs140.js"),I=require("./index.cjs139.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.cjs129.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs106.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs165.js"),T=require("./index.cjs107.js"),Ve=require("./index.cjs142.js"),k=require("./index.cjs108.js"),Be=require("./index.cjs109.js"),qe=require("./index.cjs143.js"),We=require("./index.cjs114.js"),Fe=require("./index.cjs118.js"),Ke=require("./index.cjs115.js"),he=require("./index.cjs113.js"),ne=require("./index.cjs144.js"),Ue=require("./index.cjs116.js"),H=require("./index.cjs111.js"),Ge=require("./index.cjs121.js"),ze=require("./index.cjs141.js"),we=require("./index.cjs110.js"),K=require("./index.cjs146.js"),je=require("./index.cjs136.js"),Ye=require("./index.cjs166.js"),Xe=require("./index.cjs120.js"),Ze=require("./index.cjs119.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.cjs106.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs165.js"),T=require("./index.cjs107.js"),Ve=require("./index.cjs142.js"),k=require("./index.cjs108.js"),Be=require("./index.cjs109.js"),qe=require("./index.cjs143.js"),We=require("./index.cjs114.js"),Fe=require("./index.cjs118.js"),Ke=require("./index.cjs115.js"),he=require("./index.cjs113.js"),ne=require("./index.cjs144.js"),Ue=require("./index.cjs116.js"),H=require("./index.cjs111.js"),Ge=require("./index.cjs121.js"),ze=require("./index.cjs141.js"),we=require("./index.cjs110.js"),K=require("./index.cjs146.js"),je=require("./index.cjs139.js"),Ye=require("./index.cjs166.js"),Xe=require("./index.cjs120.js"),Ze=require("./index.cjs119.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.cjs132.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("./index.cjs106.js"),e=require("react"),g=require("./index.cjs107.js"),_=require("./index.cjs108.js"),y=require("./index.cjs109.js"),R=require("./index.cjs110.js"),T=require("./index.cjs136.js"),M=require("./index.cjs137.js"),S=require("./index.cjs111.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.cjs106.js"),e=require("react"),g=require("./index.cjs107.js"),_=require("./index.cjs108.js"),y=require("./index.cjs109.js"),R=require("./index.cjs110.js"),T=require("./index.cjs139.js"),M=require("./index.cjs140.js"),S=require("./index.cjs111.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.cjs134.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const c=require("./index.cjs294.js"),u=require("./index.cjs295.js"),a=require("./index.cjs296.js");function d(n,e,t){if(c.randomUUID&&!e&&!n)return c.randomUUID();n=n||{};const r=n.random||(n.rng||u)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return a.unsafeStringify(r)}module.exports=d;
1
+ "use strict";const c=require("./index.cjs292.js"),u=require("./index.cjs293.js"),a=require("./index.cjs294.js");function d(n,e,t){if(c.randomUUID&&!e&&!n)return c.randomUUID();n=n||{};const r=n.random||(n.rng||u)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return a.unsafeStringify(r)}module.exports=d;
2
2
  //# sourceMappingURL=index.cjs135.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function t(e){const r=u.useRef({value:e,previous:e});return u.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}exports.usePrevious=t;
1
+ "use strict";function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}module.exports=i;
2
2
  //# sourceMappingURL=index.cjs136.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs136.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["import {useRef as $8LvvK$useRef, useMemo as $8LvvK$useMemo} from \"react\";\n\n\nfunction $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {\n const ref = $8LvvK$useRef({\n value: value,\n previous: value\n }); // We compare values before making an update to ensure that\n // a change has been made. This ensures the previous value is\n // persisted correctly between renders.\n return $8LvvK$useMemo(()=>{\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [\n value\n ]);\n}\n\n\n\n\nexport {$010c2913dbd2fe3d$export$5cae361ad82dce8b as usePrevious};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$010c2913dbd2fe3d$export$5cae361ad82dce8b","value","ref","$8LvvK$useRef","$8LvvK$useMemo"],"mappings":"yGAGA,SAASA,EAA0CC,EAAO,CACtD,MAAMC,EAAMC,EAAAA,OAAc,CACtB,MAAOF,EACP,SAAUA,CAClB,CAAK,EAGD,OAAOG,EAAc,QAAC,KACdF,EAAI,QAAQ,QAAUD,IACtBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEjBC,EAAI,QAAQ,UACpB,CACCD,CACR,CAAK,CACL","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs136.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}"],"names":["_assertThisInitialized","self"],"mappings":"aAAA,SAAwBA,EAAuBC,EAAM,CACnD,GAAIA,IAAS,OACL,MAAA,IAAI,eAAe,2DAA2D,EAE/E,OAAAA,CACT","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs146.js");function h(e){const[f,r]=u.useState(void 0);return c.useLayoutEffect(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const b=i[0];let t,o;if("borderBoxSize"in b){const s=b.borderBoxSize,d=Array.isArray(s)?s[0]:s;t=d.inlineSize,o=d.blockSize}else t=e.offsetWidth,o=e.offsetHeight;r({width:t,height:o})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),f}exports.useSize=h;
1
+ "use strict";const e=require("./index.cjs324.js");function r(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e(t,o)}module.exports=r;
2
2
  //# sourceMappingURL=index.cjs137.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs137.js","sources":["../../../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["import {useState as $9gyGR$useState} from \"react\";\nimport {useLayoutEffect as $9gyGR$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\n\n\n\nfunction $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {\n const [size, setSize] = $9gyGR$useState(undefined);\n $9gyGR$useLayoutEffect(()=>{\n if (element) {\n // provide size as early as possible\n setSize({\n width: element.offsetWidth,\n height: element.offsetHeight\n });\n const resizeObserver = new ResizeObserver((entries)=>{\n if (!Array.isArray(entries)) return;\n // Since we only observe the one element, we don't need to loop over the\n // array\n if (!entries.length) return;\n const entry = entries[0];\n let width;\n let height;\n if ('borderBoxSize' in entry) {\n const borderSizeEntry = entry['borderBoxSize']; // iron out differences between browsers\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize['inlineSize'];\n height = borderSize['blockSize'];\n } else {\n // for browsers that don't support `borderBoxSize`\n // we calculate it ourselves to get the correct border box.\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({\n width: width,\n height: height\n });\n });\n resizeObserver.observe(element, {\n box: 'border-box'\n });\n return ()=>resizeObserver.unobserve(element)\n ;\n } else // We only want to reset to `undefined` when the element becomes `null`,\n // not if it changes to another element.\n setSize(undefined);\n }, [\n element\n ]);\n return size;\n}\n\n\n\n\nexport {$db6c3485150b8e66$export$1ab7ae714698c4b8 as useSize};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$db6c3485150b8e66$export$1ab7ae714698c4b8","element","size","setSize","$9gyGR$useState","$9gyGR$useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"wIAKA,SAASA,EAA0CC,EAAS,CACxD,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAe,SAAC,MAAS,EACjDC,OAAAA,EAAAA,gBAAuB,IAAI,CACvB,GAAIJ,EAAS,CAETE,EAAQ,CACJ,MAAOF,EAAQ,YACf,OAAQA,EAAQ,YAChC,CAAa,EACD,MAAMK,EAAiB,IAAI,eAAgBC,GAAU,CAIjD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OAAQ,OACrB,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC1B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SACxC,MAGoBH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAErBE,EAAQ,CACJ,MAAOM,EACP,OAAQC,CAC5B,CAAiB,CACjB,CAAa,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAC5B,IAAK,YACrB,CAAa,EACM,IAAIK,EAAe,UAAUL,CAAO,CAE9C,MAEDE,EAAQ,MAAS,CACzB,EAAO,CACCF,CACR,CAAK,EACMC,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs137.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}"],"names":["_inheritsLoose","subClass","superClass","setPrototypeOf"],"mappings":"kDACwB,SAAAA,EAAeC,EAAUC,EAAY,CAC3DD,EAAS,UAAY,OAAO,OAAOC,EAAW,SAAS,EACvDD,EAAS,UAAU,YAAcA,EACjCE,EAAeF,EAAUC,CAAU,CACrC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function i(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}module.exports=i;
1
+ "use strict";var l=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function o(e,r){return!!(e===r||l(e)&&l(r))}function g(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(!o(e[t],r[t]))return!1;return!0}function h(e,r){r===void 0&&(r=g);var t,f=[],a,s=!1;function i(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];return s&&t===this&&r(n,f)||(a=e.apply(this,n),s=!0,t=this,f=n),a}return i}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs138.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs138.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js"],"sourcesContent":["export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n return self;\n}"],"names":["_assertThisInitialized","self"],"mappings":"aAAA,SAAwBA,EAAuBC,EAAM,CACnD,GAAIA,IAAS,OACL,MAAA,IAAI,eAAe,2DAA2D,EAE/E,OAAAA,CACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs138.js","sources":["../../../node_modules/memoize-one/dist/memoize-one.esm.js"],"sourcesContent":["var safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n"],"names":["safeIsNaN","value","isEqual","first","second","areInputsEqual","newInputs","lastInputs","i","memoizeOne","resultFn","lastThis","lastArgs","lastResult","calledOnce","memoized","newArgs","_i"],"mappings":"aAAA,IAAIA,EAAY,OAAO,OACnB,SAAkBC,EAAO,CACd,OAAA,OAAOA,GAAU,UAAYA,IAAUA,CAClD,EACJ,SAASC,EAAQC,EAAOC,EAAQ,CAI5B,MAHI,GAAAD,IAAUC,GAGVJ,EAAUG,CAAK,GAAKH,EAAUI,CAAM,EAI5C,CACA,SAASC,EAAeC,EAAWC,EAAY,CACvC,GAAAD,EAAU,SAAWC,EAAW,OACzB,MAAA,GAEX,QAASC,EAAI,EAAGA,EAAIF,EAAU,OAAQE,IAC9B,GAAA,CAACN,EAAQI,EAAUE,CAAC,EAAGD,EAAWC,CAAC,CAAC,EAC7B,MAAA,GAGR,MAAA,EACX,CAEA,SAASC,EAAWC,EAAUR,EAAS,CAC/BA,IAAY,SAAUA,EAAUG,GAChC,IAAAM,EACAC,EAAW,CAAA,EACXC,EACAC,EAAa,GACjB,SAASC,GAAW,CAEhB,QADIC,EAAU,CAAA,EACLC,EAAK,EAAGA,EAAK,UAAU,OAAQA,IAC5BD,EAAAC,CAAE,EAAI,UAAUA,CAAE,EAE9B,OAAIH,GAAcH,IAAa,MAAQT,EAAQc,EAASJ,CAAQ,IAGnDC,EAAAH,EAAS,MAAM,KAAMM,CAAO,EAC5BF,EAAA,GACFH,EAAA,KACAC,EAAAI,GACJH,CACX,CACO,OAAAE,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs297.js");function r(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e(t,o)}module.exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react");function t(e){const r=u.useRef({value:e,previous:e});return u.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}exports.usePrevious=t;
2
2
  //# sourceMappingURL=index.cjs139.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs139.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/inheritsLoose.js"],"sourcesContent":["import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n setPrototypeOf(subClass, superClass);\n}"],"names":["_inheritsLoose","subClass","superClass","setPrototypeOf"],"mappings":"kDACwB,SAAAA,EAAeC,EAAUC,EAAY,CAC3DD,EAAS,UAAY,OAAO,OAAOC,EAAW,SAAS,EACvDD,EAAS,UAAU,YAAcA,EACjCE,EAAeF,EAAUC,CAAU,CACrC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs139.js","sources":["../../../node_modules/@radix-ui/react-use-previous/dist/index.mjs"],"sourcesContent":["import {useRef as $8LvvK$useRef, useMemo as $8LvvK$useMemo} from \"react\";\n\n\nfunction $010c2913dbd2fe3d$export$5cae361ad82dce8b(value) {\n const ref = $8LvvK$useRef({\n value: value,\n previous: value\n }); // We compare values before making an update to ensure that\n // a change has been made. This ensures the previous value is\n // persisted correctly between renders.\n return $8LvvK$useMemo(()=>{\n if (ref.current.value !== value) {\n ref.current.previous = ref.current.value;\n ref.current.value = value;\n }\n return ref.current.previous;\n }, [\n value\n ]);\n}\n\n\n\n\nexport {$010c2913dbd2fe3d$export$5cae361ad82dce8b as usePrevious};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$010c2913dbd2fe3d$export$5cae361ad82dce8b","value","ref","$8LvvK$useRef","$8LvvK$useMemo"],"mappings":"yGAGA,SAASA,EAA0CC,EAAO,CACtD,MAAMC,EAAMC,EAAAA,OAAc,CACtB,MAAOF,EACP,SAAUA,CAClB,CAAK,EAGD,OAAOG,EAAc,QAAC,KACdF,EAAI,QAAQ,QAAUD,IACtBC,EAAI,QAAQ,SAAWA,EAAI,QAAQ,MACnCA,EAAI,QAAQ,MAAQD,GAEjBC,EAAI,QAAQ,UACpB,CACCD,CACR,CAAK,CACL","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";var l=Number.isNaN||function(r){return typeof r=="number"&&r!==r};function o(e,r){return!!(e===r||l(e)&&l(r))}function g(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(!o(e[t],r[t]))return!1;return!0}function h(e,r){r===void 0&&(r=g);var t,f=[],a,s=!1;function i(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];return s&&t===this&&r(n,f)||(a=e.apply(this,n),s=!0,t=this,f=n),a}return i}module.exports=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),c=require("./index.cjs146.js");function h(e){const[f,r]=u.useState(void 0);return c.useLayoutEffect(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const n=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const b=i[0];let t,o;if("borderBoxSize"in b){const s=b.borderBoxSize,d=Array.isArray(s)?s[0]:s;t=d.inlineSize,o=d.blockSize}else t=e.offsetWidth,o=e.offsetHeight;r({width:t,height:o})});return n.observe(e,{box:"border-box"}),()=>n.unobserve(e)}else r(void 0)},[e]),f}exports.useSize=h;
2
2
  //# sourceMappingURL=index.cjs140.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs140.js","sources":["../../../node_modules/memoize-one/dist/memoize-one.esm.js"],"sourcesContent":["var safeIsNaN = Number.isNaN ||\n function ponyfill(value) {\n return typeof value === 'number' && value !== value;\n };\nfunction isEqual(first, second) {\n if (first === second) {\n return true;\n }\n if (safeIsNaN(first) && safeIsNaN(second)) {\n return true;\n }\n return false;\n}\nfunction areInputsEqual(newInputs, lastInputs) {\n if (newInputs.length !== lastInputs.length) {\n return false;\n }\n for (var i = 0; i < newInputs.length; i++) {\n if (!isEqual(newInputs[i], lastInputs[i])) {\n return false;\n }\n }\n return true;\n}\n\nfunction memoizeOne(resultFn, isEqual) {\n if (isEqual === void 0) { isEqual = areInputsEqual; }\n var lastThis;\n var lastArgs = [];\n var lastResult;\n var calledOnce = false;\n function memoized() {\n var newArgs = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n newArgs[_i] = arguments[_i];\n }\n if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {\n return lastResult;\n }\n lastResult = resultFn.apply(this, newArgs);\n calledOnce = true;\n lastThis = this;\n lastArgs = newArgs;\n return lastResult;\n }\n return memoized;\n}\n\nexport default memoizeOne;\n"],"names":["safeIsNaN","value","isEqual","first","second","areInputsEqual","newInputs","lastInputs","i","memoizeOne","resultFn","lastThis","lastArgs","lastResult","calledOnce","memoized","newArgs","_i"],"mappings":"aAAA,IAAIA,EAAY,OAAO,OACnB,SAAkBC,EAAO,CACd,OAAA,OAAOA,GAAU,UAAYA,IAAUA,CAClD,EACJ,SAASC,EAAQC,EAAOC,EAAQ,CAI5B,MAHI,GAAAD,IAAUC,GAGVJ,EAAUG,CAAK,GAAKH,EAAUI,CAAM,EAI5C,CACA,SAASC,EAAeC,EAAWC,EAAY,CACvC,GAAAD,EAAU,SAAWC,EAAW,OACzB,MAAA,GAEX,QAASC,EAAI,EAAGA,EAAIF,EAAU,OAAQE,IAC9B,GAAA,CAACN,EAAQI,EAAUE,CAAC,EAAGD,EAAWC,CAAC,CAAC,EAC7B,MAAA,GAGR,MAAA,EACX,CAEA,SAASC,EAAWC,EAAUR,EAAS,CAC/BA,IAAY,SAAUA,EAAUG,GAChC,IAAAM,EACAC,EAAW,CAAA,EACXC,EACAC,EAAa,GACjB,SAASC,GAAW,CAEhB,QADIC,EAAU,CAAA,EACLC,EAAK,EAAGA,EAAK,UAAU,OAAQA,IAC5BD,EAAAC,CAAE,EAAI,UAAUA,CAAE,EAE9B,OAAIH,GAAcH,IAAa,MAAQT,EAAQc,EAASJ,CAAQ,IAGnDC,EAAAH,EAAS,MAAM,KAAMM,CAAO,EAC5BF,EAAA,GACFH,EAAA,KACAC,EAAAI,GACJH,CACX,CACO,OAAAE,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs140.js","sources":["../../../node_modules/@radix-ui/react-use-size/dist/index.mjs"],"sourcesContent":["import {useState as $9gyGR$useState} from \"react\";\nimport {useLayoutEffect as $9gyGR$useLayoutEffect} from \"@radix-ui/react-use-layout-effect\";\n\n\n\nfunction $db6c3485150b8e66$export$1ab7ae714698c4b8(element) {\n const [size, setSize] = $9gyGR$useState(undefined);\n $9gyGR$useLayoutEffect(()=>{\n if (element) {\n // provide size as early as possible\n setSize({\n width: element.offsetWidth,\n height: element.offsetHeight\n });\n const resizeObserver = new ResizeObserver((entries)=>{\n if (!Array.isArray(entries)) return;\n // Since we only observe the one element, we don't need to loop over the\n // array\n if (!entries.length) return;\n const entry = entries[0];\n let width;\n let height;\n if ('borderBoxSize' in entry) {\n const borderSizeEntry = entry['borderBoxSize']; // iron out differences between browsers\n const borderSize = Array.isArray(borderSizeEntry) ? borderSizeEntry[0] : borderSizeEntry;\n width = borderSize['inlineSize'];\n height = borderSize['blockSize'];\n } else {\n // for browsers that don't support `borderBoxSize`\n // we calculate it ourselves to get the correct border box.\n width = element.offsetWidth;\n height = element.offsetHeight;\n }\n setSize({\n width: width,\n height: height\n });\n });\n resizeObserver.observe(element, {\n box: 'border-box'\n });\n return ()=>resizeObserver.unobserve(element)\n ;\n } else // We only want to reset to `undefined` when the element becomes `null`,\n // not if it changes to another element.\n setSize(undefined);\n }, [\n element\n ]);\n return size;\n}\n\n\n\n\nexport {$db6c3485150b8e66$export$1ab7ae714698c4b8 as useSize};\n//# sourceMappingURL=index.mjs.map\n"],"names":["$db6c3485150b8e66$export$1ab7ae714698c4b8","element","size","setSize","$9gyGR$useState","$9gyGR$useLayoutEffect","resizeObserver","entries","entry","width","height","borderSizeEntry","borderSize"],"mappings":"wIAKA,SAASA,EAA0CC,EAAS,CACxD,KAAM,CAACC,EAAMC,CAAO,EAAIC,EAAe,SAAC,MAAS,EACjDC,OAAAA,EAAAA,gBAAuB,IAAI,CACvB,GAAIJ,EAAS,CAETE,EAAQ,CACJ,MAAOF,EAAQ,YACf,OAAQA,EAAQ,YAChC,CAAa,EACD,MAAMK,EAAiB,IAAI,eAAgBC,GAAU,CAIjD,GAHI,CAAC,MAAM,QAAQA,CAAO,GAGtB,CAACA,EAAQ,OAAQ,OACrB,MAAMC,EAAQD,EAAQ,CAAC,EACvB,IAAIE,EACAC,EACJ,GAAI,kBAAmBF,EAAO,CAC1B,MAAMG,EAAkBH,EAAM,cACxBI,EAAa,MAAM,QAAQD,CAAe,EAAIA,EAAgB,CAAC,EAAIA,EACzEF,EAAQG,EAAW,WACnBF,EAASE,EAAW,SACxC,MAGoBH,EAAQR,EAAQ,YAChBS,EAAST,EAAQ,aAErBE,EAAQ,CACJ,MAAOM,EACP,OAAQC,CAC5B,CAAiB,CACjB,CAAa,EACD,OAAAJ,EAAe,QAAQL,EAAS,CAC5B,IAAK,YACrB,CAAa,EACM,IAAIK,EAAe,UAAUL,CAAO,CAE9C,MAEDE,EAAQ,MAAS,CACzB,EAAO,CACCF,CACR,CAAK,EACMC,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs106.js"),r=require("react"),M=require("./index.cjs167.js"),xe=require("./index.cjs168.js"),k=require("./index.cjs108.js"),Pe=require("./index.cjs109.js"),B=require("./index.cjs111.js"),ye=require("./index.cjs141.js"),X=require("./index.cjs146.js"),_e=require("./index.cjs137.js"),P=require("./index.cjs169.js"),Ae=require("./index.cjs170.js"),F="Popper",[T,be]=Pe.createContextScope(F),[Ce,U]=T(F),j=o=>{const{__scopePopper:d,children:n}=o,[t,a]=r.useState(null);return r.createElement(Ce,{scope:d,anchor:t,onAnchorChange:a},n)},Se="PopperAnchor",L=r.forwardRef((o,d)=>{const{__scopePopper:n,virtualRef:t,...a}=o,e=U(Se,n),i=r.useRef(null),l=k.useComposedRefs(d,i);return r.useEffect(()=>{e.onAnchorChange((t==null?void 0:t.current)||i.current)}),t?null:r.createElement(B.Primitive.div,q({},a,{ref:l}))}),Z="PopperContent",[Oe,Ee]=T(Z),G=r.forwardRef((o,d)=>{var n,t,a,e,i,l,w,f;const{__scopePopper:S,side:c="bottom",sideOffset:O=0,align:s="center",alignOffset:h=0,arrowPadding:E=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:$="partial",hideWhenDetached:u=!1,updatePositionStrategy:Q="optimized",onPlaced:V,...H}=o,ee=U(Z,S),[D,te]=r.useState(null),re=k.useComposedRefs(d,y=>te(y)),[R,oe]=r.useState(null),v=_e.useSize(R),ne=(n=v==null?void 0:v.width)!==null&&n!==void 0?n:0,N=(t=v==null?void 0:v.height)!==null&&t!==void 0?t:0,ae=c+(s!=="center"?"-"+s:""),ie=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},W=Array.isArray(m)?m:[m],de=W.length>0,_={padding:ie,boundary:W.filter(qe),altBoundary:de},{refs:ce,floatingStyles:z,placement:se,isPositioned:A,middlewareData:x}=M.useFloating({strategy:"fixed",placement:ae,whileElementsMounted:(...y)=>P.autoUpdate(...y,{animationFrame:Q==="always"}),elements:{reference:ee.anchor},middleware:[Ae.offset({mainAxis:O+N,alignmentAxis:h}),p&&P.shift({mainAxis:!0,crossAxis:!1,limiter:$==="partial"?P.limitShift():void 0,..._}),p&&P.flip({..._}),P.size({..._,apply:({elements:y,rects:I,availableWidth:he,availableHeight:me})=>{const{width:ge,height:ve}=I.reference,C=y.floating.style;C.setProperty("--radix-popper-available-width",`${he}px`),C.setProperty("--radix-popper-available-height",`${me}px`),C.setProperty("--radix-popper-anchor-width",`${ge}px`),C.setProperty("--radix-popper-anchor-height",`${ve}px`)}}),R&&M.arrow({element:R,padding:E}),He({arrowWidth:ne,arrowHeight:N}),u&&P.hide({strategy:"referenceHidden",..._})]}),[Y,le]=K(se),b=ye.useCallbackRef(V);X.useLayoutEffect(()=>{A&&(b==null||b())},[A,b]);const fe=(a=x.arrow)===null||a===void 0?void 0:a.x,pe=(e=x.arrow)===null||e===void 0?void 0:e.y,$e=((i=x.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ue,we]=r.useState();return X.useLayoutEffect(()=>{D&&we(window.getComputedStyle(D).zIndex)},[D]),r.createElement("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:A?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(l=x.transformOrigin)===null||l===void 0?void 0:l.x,(w=x.transformOrigin)===null||w===void 0?void 0:w.y].join(" ")},dir:o.dir},r.createElement(Oe,{scope:S,placedSide:Y,onArrowChange:oe,arrowX:fe,arrowY:pe,shouldHideArrow:$e},r.createElement(B.Primitive.div,q({"data-side":Y,"data-align":le},H,{ref:re,style:{...H.style,animation:A?void 0:"none",opacity:(f=x.hide)!==null&&f!==void 0&&f.referenceHidden?0:void 0}}))))}),De="PopperArrow",Re={top:"bottom",right:"left",bottom:"top",left:"right"},J=r.forwardRef(function(d,n){const{__scopePopper:t,...a}=d,e=Ee(De,t),i=Re[e.placedSide];return r.createElement("span",{ref:e.onArrowChange,style:{position:"absolute",left:e.arrowX,top:e.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[e.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[e.placedSide],visibility:e.shouldHideArrow?"hidden":void 0}},r.createElement(xe.Root,q({},a,{ref:n,style:{...a.style,display:"block"}})))});function qe(o){return o!==null}const He=o=>({name:"transformOrigin",options:o,fn(d){var n,t,a,e,i;const{placement:l,rects:w,middlewareData:f}=d,c=((n=f.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,O=c?0:o.arrowWidth,s=c?0:o.arrowHeight,[h,E]=K(l),p={start:"0%",center:"50%",end:"100%"}[E],m=((t=(a=f.arrow)===null||a===void 0?void 0:a.x)!==null&&t!==void 0?t:0)+O/2,g=((e=(i=f.arrow)===null||i===void 0?void 0:i.y)!==null&&e!==void 0?e:0)+s/2;let $="",u="";return h==="bottom"?($=c?p:`${m}px`,u=`${-s}px`):h==="top"?($=c?p:`${m}px`,u=`${w.floating.height+s}px`):h==="right"?($=`${-s}px`,u=c?p:`${g}px`):h==="left"&&($=`${w.floating.width+s}px`,u=c?p:`${g}px`),{data:{x:$,y:u}}}});function K(o){const[d,n="center"]=o.split("-");return[d,n]}const Ne=j,We=L,ze=G,Ye=J;exports.Anchor=We;exports.Arrow=Ye;exports.Content=ze;exports.Popper=j;exports.PopperAnchor=L;exports.PopperArrow=J;exports.PopperContent=G;exports.Root=Ne;exports.createPopperScope=be;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs106.js"),r=require("react"),M=require("./index.cjs167.js"),xe=require("./index.cjs168.js"),k=require("./index.cjs108.js"),Pe=require("./index.cjs109.js"),B=require("./index.cjs111.js"),ye=require("./index.cjs141.js"),X=require("./index.cjs146.js"),_e=require("./index.cjs140.js"),P=require("./index.cjs169.js"),Ae=require("./index.cjs170.js"),F="Popper",[T,be]=Pe.createContextScope(F),[Ce,U]=T(F),j=o=>{const{__scopePopper:d,children:n}=o,[t,a]=r.useState(null);return r.createElement(Ce,{scope:d,anchor:t,onAnchorChange:a},n)},Se="PopperAnchor",L=r.forwardRef((o,d)=>{const{__scopePopper:n,virtualRef:t,...a}=o,e=U(Se,n),i=r.useRef(null),l=k.useComposedRefs(d,i);return r.useEffect(()=>{e.onAnchorChange((t==null?void 0:t.current)||i.current)}),t?null:r.createElement(B.Primitive.div,q({},a,{ref:l}))}),Z="PopperContent",[Oe,Ee]=T(Z),G=r.forwardRef((o,d)=>{var n,t,a,e,i,l,w,f;const{__scopePopper:S,side:c="bottom",sideOffset:O=0,align:s="center",alignOffset:h=0,arrowPadding:E=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:g=0,sticky:$="partial",hideWhenDetached:u=!1,updatePositionStrategy:Q="optimized",onPlaced:V,...H}=o,ee=U(Z,S),[D,te]=r.useState(null),re=k.useComposedRefs(d,y=>te(y)),[R,oe]=r.useState(null),v=_e.useSize(R),ne=(n=v==null?void 0:v.width)!==null&&n!==void 0?n:0,N=(t=v==null?void 0:v.height)!==null&&t!==void 0?t:0,ae=c+(s!=="center"?"-"+s:""),ie=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},W=Array.isArray(m)?m:[m],de=W.length>0,_={padding:ie,boundary:W.filter(qe),altBoundary:de},{refs:ce,floatingStyles:z,placement:se,isPositioned:A,middlewareData:x}=M.useFloating({strategy:"fixed",placement:ae,whileElementsMounted:(...y)=>P.autoUpdate(...y,{animationFrame:Q==="always"}),elements:{reference:ee.anchor},middleware:[Ae.offset({mainAxis:O+N,alignmentAxis:h}),p&&P.shift({mainAxis:!0,crossAxis:!1,limiter:$==="partial"?P.limitShift():void 0,..._}),p&&P.flip({..._}),P.size({..._,apply:({elements:y,rects:I,availableWidth:he,availableHeight:me})=>{const{width:ge,height:ve}=I.reference,C=y.floating.style;C.setProperty("--radix-popper-available-width",`${he}px`),C.setProperty("--radix-popper-available-height",`${me}px`),C.setProperty("--radix-popper-anchor-width",`${ge}px`),C.setProperty("--radix-popper-anchor-height",`${ve}px`)}}),R&&M.arrow({element:R,padding:E}),He({arrowWidth:ne,arrowHeight:N}),u&&P.hide({strategy:"referenceHidden",..._})]}),[Y,le]=K(se),b=ye.useCallbackRef(V);X.useLayoutEffect(()=>{A&&(b==null||b())},[A,b]);const fe=(a=x.arrow)===null||a===void 0?void 0:a.x,pe=(e=x.arrow)===null||e===void 0?void 0:e.y,$e=((i=x.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[ue,we]=r.useState();return X.useLayoutEffect(()=>{D&&we(window.getComputedStyle(D).zIndex)},[D]),r.createElement("div",{ref:ce.setFloating,"data-radix-popper-content-wrapper":"",style:{...z,transform:A?z.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ue,"--radix-popper-transform-origin":[(l=x.transformOrigin)===null||l===void 0?void 0:l.x,(w=x.transformOrigin)===null||w===void 0?void 0:w.y].join(" ")},dir:o.dir},r.createElement(Oe,{scope:S,placedSide:Y,onArrowChange:oe,arrowX:fe,arrowY:pe,shouldHideArrow:$e},r.createElement(B.Primitive.div,q({"data-side":Y,"data-align":le},H,{ref:re,style:{...H.style,animation:A?void 0:"none",opacity:(f=x.hide)!==null&&f!==void 0&&f.referenceHidden?0:void 0}}))))}),De="PopperArrow",Re={top:"bottom",right:"left",bottom:"top",left:"right"},J=r.forwardRef(function(d,n){const{__scopePopper:t,...a}=d,e=Ee(De,t),i=Re[e.placedSide];return r.createElement("span",{ref:e.onArrowChange,style:{position:"absolute",left:e.arrowX,top:e.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[e.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[e.placedSide],visibility:e.shouldHideArrow?"hidden":void 0}},r.createElement(xe.Root,q({},a,{ref:n,style:{...a.style,display:"block"}})))});function qe(o){return o!==null}const He=o=>({name:"transformOrigin",options:o,fn(d){var n,t,a,e,i;const{placement:l,rects:w,middlewareData:f}=d,c=((n=f.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,O=c?0:o.arrowWidth,s=c?0:o.arrowHeight,[h,E]=K(l),p={start:"0%",center:"50%",end:"100%"}[E],m=((t=(a=f.arrow)===null||a===void 0?void 0:a.x)!==null&&t!==void 0?t:0)+O/2,g=((e=(i=f.arrow)===null||i===void 0?void 0:i.y)!==null&&e!==void 0?e:0)+s/2;let $="",u="";return h==="bottom"?($=c?p:`${m}px`,u=`${-s}px`):h==="top"?($=c?p:`${m}px`,u=`${w.floating.height+s}px`):h==="right"?($=`${-s}px`,u=c?p:`${g}px`):h==="left"&&($=`${w.floating.width+s}px`,u=c?p:`${g}px`),{data:{x:$,y:u}}}});function K(o){const[d,n="center"]=o.split("-");return[d,n]}const Ne=j,We=L,ze=G,Ye=J;exports.Anchor=We;exports.Arrow=Ye;exports.Content=ze;exports.Popper=j;exports.PopperAnchor=L;exports.PopperArrow=J;exports.PopperContent=G;exports.Root=Ne;exports.createPopperScope=be;
2
2
  //# sourceMappingURL=index.cjs144.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("./index.cjs148.js"),H=require("./index.cjs155.js");require("./index.cjs298.js");require("./index.cjs299.js");require("./index.cjs300.js");require("./index.cjs301.js");require("./index.cjs302.js");const F=require("./index.cjs303.js"),i=require("./index.cjs304.js"),s=require("./index.cjs305.js"),b=require("./index.cjs306.js"),G=require("./index.cjs307.js");(function(n){var D=u.commonjsGlobal&&u.commonjsGlobal.__createBinding||(Object.create?function(e,r,t,a){a===void 0&&(a=t);var o=Object.getOwnPropertyDescriptor(r,t);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,a,o)}:function(e,r,t,a){a===void 0&&(a=t),e[a]=r[t]}),j=u.commonjsGlobal&&u.commonjsGlobal.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),l=u.commonjsGlobal&&u.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&D(r,e,t);return j(r,e),r},v=u.commonjsGlobal&&u.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var c=s.__exports,O=s.__exports;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return O.Parser}});var _=b.__exports,d=b.__exports;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function f(e,r){var t=new _.DomHandler(void 0,r);return new c.Parser(t,r).end(e),t.root}n.parseDocument=f;function m(e,r){return f(e,r).children}n.parseDOM=m;function P(e,r,t){var a=new _.DomHandler(e,r,t);return new c.Parser(a,r)}n.createDomStream=P;var g=G.__exports;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return v(g).default}}),n.ElementType=l(F.__exports);var p=i.__exports,y=i.__exports;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return y.getFeed}});var q={xmlMode:!0};function M(e,r){return r===void 0&&(r=q),(0,p.getFeed)(m(e,r))}n.parseFeed=M,n.DomUtils=l(i.__exports)})(H.__exports);
1
+ "use strict";const u=require("./index.cjs148.js"),H=require("./index.cjs155.js");require("./index.cjs295.js");require("./index.cjs296.js");require("./index.cjs297.js");require("./index.cjs298.js");require("./index.cjs299.js");const F=require("./index.cjs300.js"),i=require("./index.cjs301.js"),s=require("./index.cjs302.js"),b=require("./index.cjs303.js"),G=require("./index.cjs304.js");(function(n){var D=u.commonjsGlobal&&u.commonjsGlobal.__createBinding||(Object.create?function(e,r,t,a){a===void 0&&(a=t);var o=Object.getOwnPropertyDescriptor(r,t);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,a,o)}:function(e,r,t,a){a===void 0&&(a=t),e[a]=r[t]}),j=u.commonjsGlobal&&u.commonjsGlobal.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),l=u.commonjsGlobal&&u.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&D(r,e,t);return j(r,e),r},v=u.commonjsGlobal&&u.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var c=s.__exports,O=s.__exports;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return O.Parser}});var _=b.__exports,d=b.__exports;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function f(e,r){var t=new _.DomHandler(void 0,r);return new c.Parser(t,r).end(e),t.root}n.parseDocument=f;function m(e,r){return f(e,r).children}n.parseDOM=m;function P(e,r,t){var a=new _.DomHandler(e,r,t);return new c.Parser(a,r)}n.createDomStream=P;var g=G.__exports;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return v(g).default}}),n.ElementType=l(F.__exports);var p=i.__exports,y=i.__exports;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return y.getFeed}});var q={xmlMode:!0};function M(e,r){return r===void 0&&(r=q),(0,p.getFeed)(m(e,r))}n.parseFeed=M,n.DomUtils=l(i.__exports)})(H.__exports);
2
2
  //# sourceMappingURL=index.cjs149.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs45.js"),u=require("react"),a=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const o=require("./index.cjs38.js"),c=require("./index.cjs34.js"),q=require("./index.cjs82.js"),f=s=>{const x=u.useCallback((i,t)=>o.fetchOne(i,s.id,t),[s.id]),{data:r}=c.useLoader(x),d=u.useCallback((i,t)=>o.fetchRelatedMedia(i,s.id,t),[s.id]),{data:{media_contents:l}={}}=c.useLoader(d),n=u.useMemo(()=>a.first(l),[l]),m=u.useMemo(()=>r!=null&&r.user_defined?Object.values(r.user_defined):[],[r]);return u.useEffect(()=>{s.onLoad&&r&&s.onLoad(r)},[r]),e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[n&&e.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-[200px] flex-grow-0 flex-shrink-0 bg-muted/20 z-0",children:[e.jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 w-full h-full flex justify-center items-center",children:e.jsxRuntimeExports.jsx(q,{className:"h-20 w-20 text-gray-400",strokeWidth:1})}),e.jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 w-full h-full flex justify-center items-center",children:e.jsxRuntimeExports.jsx("img",{className:"object-cover h-full w-full",src:n.content_iiif_url,alt:n.name})})]}),r&&e.jsxRuntimeExports.jsxs("div",{className:"p-3",children:[e.jsxRuntimeExports.jsx("h1",{className:"pr-6 font-medium",children:r.name}),e.jsxRuntimeExports.jsx("ol",{className:"text-sm mt-4 leading-6 overflow-hidden",children:a.map(m,({label:i,value:t})=>e.jsxRuntimeExports.jsxs("li",{className:"mb-2",children:[e.jsxRuntimeExports.jsx("div",{className:"text-muted",children:i}),e.jsxRuntimeExports.jsx("div",{className:"font-medium overflow-hidden text-ellipsis",children:t})]},i))})]})]})};module.exports=f;
1
+ "use strict";const e=require("./index.cjs45.js"),u=require("react"),a=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const o=require("./index.cjs38.js"),c=require("./index.cjs34.js"),q=require("./index.cjs82.js"),f=s=>{const x=u.useCallback((i,t)=>o.fetchOne(i,s.id,t),[s.id]),{data:{place:r}={}}=c.useLoader(x),d=u.useCallback((i,t)=>o.fetchRelatedMedia(i,s.id,t),[s.id]),{data:{media_contents:l}={}}=c.useLoader(d),n=u.useMemo(()=>a.first(l),[l]),m=u.useMemo(()=>r!=null&&r.user_defined?Object.values(r.user_defined):[],[r]);return u.useEffect(()=>{s.onLoad&&r&&s.onLoad(r)},[r]),e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[n&&e.jsxRuntimeExports.jsxs("div",{className:"relative w-full h-[200px] flex-grow-0 flex-shrink-0 bg-muted/20 z-0",children:[e.jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 w-full h-full flex justify-center items-center",children:e.jsxRuntimeExports.jsx(q,{className:"h-20 w-20 text-gray-400",strokeWidth:1})}),e.jsxRuntimeExports.jsx("div",{className:"absolute top-0 left-0 w-full h-full flex justify-center items-center",children:e.jsxRuntimeExports.jsx("img",{className:"object-cover h-full w-full",src:n.content_iiif_url,alt:n.name})})]}),r&&e.jsxRuntimeExports.jsxs("div",{className:"p-3",children:[e.jsxRuntimeExports.jsx("h1",{className:"pr-6 font-medium",children:r.name}),e.jsxRuntimeExports.jsx("ol",{className:"text-sm mt-4 leading-6 overflow-hidden",children:a.map(m,({label:i,value:t})=>e.jsxRuntimeExports.jsxs("li",{className:"mb-2",children:[e.jsxRuntimeExports.jsx("div",{className:"text-muted",children:i}),e.jsxRuntimeExports.jsx("div",{className:"font-medium overflow-hidden text-ellipsis",children:t})]},i))})]})]})};module.exports=f;
2
2
  //# sourceMappingURL=index.cjs15.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs15.js","sources":["../src/components/PlaceDetails.js"],"sourcesContent":["// @flow\n\nimport { Image } from 'lucide-react';\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport _ from 'underscore';\nimport PlacesService from '../services/Places';\nimport { useLoader } from '../hooks/CoreData';\n\ntype Props = {\n /**\n * The Core Data identifier of the place record.\n */\n id: string,\n\n /**\n * (Optional) Callback fired when the place record is loaded.\n *\n * @param\n */\n onLoad: (data) => any\n};\n\n/**\n * This component renders a detail view for the passed Core Data place record.\n */\nconst PlaceDetails = (props: Props) => {\n /**\n * Load the base place record.\n *\n * @type {function(*, *): Promise<*>}\n */\n const onLoad = useCallback((baseUrl, projectIds) => (\n PlacesService.fetchOne(baseUrl, props.id, projectIds)\n ), [props.id]);\n\n const { data: place } = useLoader(onLoad);\n\n /**\n * Load the related media contents.\n *\n * @type {function(*, *): Promise<*>}\n */\n const onLoadMediaContents = useCallback((baseUrl, projectIds) => (\n PlacesService.fetchRelatedMedia(baseUrl, props.id, projectIds)\n ), [props.id]);\n\n const { data: { media_contents: mediaContents } = {} } = useLoader(onLoadMediaContents);\n\n /**\n * Sets the first related image.\n *\n * @type {*}\n */\n const image = useMemo(() => _.first(mediaContents), [mediaContents]);\n\n /**\n * Sets the user defined field values.\n *\n * @type {UserDefinedField[]|*[]}\n */\n const userDefined = useMemo(() => (\n place?.user_defined ? Object.values(place.user_defined) : []\n ), [place]);\n\n /**\n * Call the onLoad prop if provided when the place changes.\n */\n useEffect(() => {\n if (props.onLoad && place) {\n props.onLoad(place);\n }\n }, [place]);\n\n return (\n <>\n { image && (\n <div\n className='relative w-full h-[200px] flex-grow-0 flex-shrink-0 bg-muted/20 z-0'\n >\n <div\n className='absolute top-0 left-0 w-full h-full flex justify-center items-center'\n >\n <Image\n className='h-20 w-20 text-gray-400'\n strokeWidth={1}\n />\n </div>\n <div\n className='absolute top-0 left-0 w-full h-full flex justify-center items-center'\n >\n <img\n className='object-cover h-full w-full'\n src={image.content_iiif_url}\n alt={image.name}\n />\n </div>\n </div>\n )}\n { place && (\n <div\n className='p-3'\n >\n <h1\n className='pr-6 font-medium'\n >\n { place.name }\n </h1>\n <ol\n className='text-sm mt-4 leading-6 overflow-hidden'\n >\n { _.map(userDefined, ({ label, value }) => (\n <li\n key={label}\n className='mb-2'\n >\n <div\n className='text-muted'\n >\n { label }\n </div>\n <div\n className='font-medium overflow-hidden text-ellipsis'\n >\n { value }\n </div>\n </li>\n ))}\n </ol>\n </div>\n )}\n </>\n );\n};\n\nexport default PlaceDetails;\n"],"names":["PlaceDetails","props","onLoad","useCallback","baseUrl","projectIds","PlacesService","place","useLoader","onLoadMediaContents","mediaContents","image","useMemo","_","userDefined","useEffect","jsxs","Fragment","jsx","Image","label","value"],"mappings":"s7BAyBMA,EAAgBC,GAAiB,CAMrC,MAAMC,EAASC,EAAAA,YAAY,CAACC,EAASC,IACnCC,EAAc,SAASF,EAASH,EAAM,GAAII,CAAU,EACnD,CAACJ,EAAM,EAAE,CAAC,EAEP,CAAE,KAAMM,CAAM,EAAIC,YAAUN,CAAM,EAOlCO,EAAsBN,EAAAA,YAAY,CAACC,EAASC,IAChDC,EAAc,kBAAkBF,EAASH,EAAM,GAAII,CAAU,EAC5D,CAACJ,EAAM,EAAE,CAAC,EAEP,CAAE,KAAM,CAAE,eAAgBS,GAAkB,EAAO,EAAAF,YAAUC,CAAmB,EAOhFE,EAAQC,UAAQ,IAAMC,EAAE,MAAMH,CAAa,EAAG,CAACA,CAAa,CAAC,EAO7DI,EAAcF,EAAA,QAAQ,IAC1BL,GAAA,MAAAA,EAAO,aAAe,OAAO,OAAOA,EAAM,YAAY,EAAI,CACzD,EAAA,CAACA,CAAK,CAAC,EAKVQ,OAAAA,EAAAA,UAAU,IAAM,CACVd,EAAM,QAAUM,GAClBN,EAAM,OAAOM,CAAK,CACpB,EACC,CAACA,CAAK,CAAC,EAIJS,EAAA,kBAAA,KAAAC,6BAAA,CAAA,SAAA,CACAN,GAAAK,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,sEAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,uEAEV,SAAAA,EAAA,kBAAA,IAACC,EAAA,CACC,UAAU,0BACV,YAAa,CAAA,CACf,CAAA,CACF,EACAD,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,uEAEV,SAAAA,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,6BACV,IAAKP,EAAM,iBACX,IAAKA,EAAM,IAAA,CACb,CAAA,CACF,CAAA,CAAA,CACF,EAEAJ,GACAS,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,MAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,mBAER,SAAMX,EAAA,IAAA,CACV,EACAW,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,yCAER,WAAE,IAAIJ,EAAa,CAAC,CAAE,MAAAM,EAAO,MAAAC,KAC7BL,EAAA,kBAAA,KAAC,KAAA,CAEC,UAAU,OAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,aAER,SAAAE,CAAA,CACJ,EACAF,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,4CAER,SAAAG,CAAA,CACJ,CAAA,CAAA,EAZKD,CAAA,CAcR,CAAA,CACH,CAAA,CAAA,CACF,CAEJ,CAAA,CAAA,CAEJ"}
1
+ {"version":3,"file":"index.cjs15.js","sources":["../src/components/PlaceDetails.js"],"sourcesContent":["// @flow\n\nimport { Image } from 'lucide-react';\nimport React, { useCallback, useEffect, useMemo } from 'react';\nimport _ from 'underscore';\nimport PlacesService from '../services/Places';\nimport { useLoader } from '../hooks/CoreData';\n\ntype Props = {\n /**\n * The Core Data identifier of the place record.\n */\n id: string,\n\n /**\n * (Optional) Callback fired when the place record is loaded.\n *\n * @param\n */\n onLoad: (data) => any\n};\n\n/**\n * This component renders a detail view for the passed Core Data place record.\n */\nconst PlaceDetails = (props: Props) => {\n /**\n * Load the base place record.\n *\n * @type {function(*, *): Promise<*>}\n */\n const onLoad = useCallback((baseUrl, projectIds) => (\n PlacesService.fetchOne(baseUrl, props.id, projectIds)\n ), [props.id]);\n\n const { data: { place } = {} } = useLoader(onLoad);\n\n /**\n * Load the related media contents.\n *\n * @type {function(*, *): Promise<*>}\n */\n const onLoadMediaContents = useCallback((baseUrl, projectIds) => (\n PlacesService.fetchRelatedMedia(baseUrl, props.id, projectIds)\n ), [props.id]);\n\n const { data: { media_contents: mediaContents } = {} } = useLoader(onLoadMediaContents);\n\n /**\n * Sets the first related image.\n *\n * @type {*}\n */\n const image = useMemo(() => _.first(mediaContents), [mediaContents]);\n\n /**\n * Sets the user defined field values.\n *\n * @type {UserDefinedField[]|*[]}\n */\n const userDefined = useMemo(() => (\n place?.user_defined ? Object.values(place.user_defined) : []\n ), [place]);\n\n /**\n * Call the onLoad prop if provided when the place changes.\n */\n useEffect(() => {\n if (props.onLoad && place) {\n props.onLoad(place);\n }\n }, [place]);\n\n return (\n <>\n { image && (\n <div\n className='relative w-full h-[200px] flex-grow-0 flex-shrink-0 bg-muted/20 z-0'\n >\n <div\n className='absolute top-0 left-0 w-full h-full flex justify-center items-center'\n >\n <Image\n className='h-20 w-20 text-gray-400'\n strokeWidth={1}\n />\n </div>\n <div\n className='absolute top-0 left-0 w-full h-full flex justify-center items-center'\n >\n <img\n className='object-cover h-full w-full'\n src={image.content_iiif_url}\n alt={image.name}\n />\n </div>\n </div>\n )}\n { place && (\n <div\n className='p-3'\n >\n <h1\n className='pr-6 font-medium'\n >\n { place.name }\n </h1>\n <ol\n className='text-sm mt-4 leading-6 overflow-hidden'\n >\n { _.map(userDefined, ({ label, value }) => (\n <li\n key={label}\n className='mb-2'\n >\n <div\n className='text-muted'\n >\n { label }\n </div>\n <div\n className='font-medium overflow-hidden text-ellipsis'\n >\n { value }\n </div>\n </li>\n ))}\n </ol>\n </div>\n )}\n </>\n );\n};\n\nexport default PlaceDetails;\n"],"names":["PlaceDetails","props","onLoad","useCallback","baseUrl","projectIds","PlacesService","place","useLoader","onLoadMediaContents","mediaContents","image","useMemo","_","userDefined","useEffect","jsxs","Fragment","jsx","Image","label","value"],"mappings":"s7BAyBMA,EAAgBC,GAAiB,CAMrC,MAAMC,EAASC,EAAAA,YAAY,CAACC,EAASC,IACnCC,EAAc,SAASF,EAASH,EAAM,GAAII,CAAU,EACnD,CAACJ,EAAM,EAAE,CAAC,EAEP,CAAE,KAAM,CAAE,MAAAM,CAAA,EAAU,CAAA,GAAOC,EAAAA,UAAUN,CAAM,EAO3CO,EAAsBN,EAAAA,YAAY,CAACC,EAASC,IAChDC,EAAc,kBAAkBF,EAASH,EAAM,GAAII,CAAU,EAC5D,CAACJ,EAAM,EAAE,CAAC,EAEP,CAAE,KAAM,CAAE,eAAgBS,GAAkB,EAAO,EAAAF,YAAUC,CAAmB,EAOhFE,EAAQC,UAAQ,IAAMC,EAAE,MAAMH,CAAa,EAAG,CAACA,CAAa,CAAC,EAO7DI,EAAcF,EAAA,QAAQ,IAC1BL,GAAA,MAAAA,EAAO,aAAe,OAAO,OAAOA,EAAM,YAAY,EAAI,CACzD,EAAA,CAACA,CAAK,CAAC,EAKVQ,OAAAA,EAAAA,UAAU,IAAM,CACVd,EAAM,QAAUM,GAClBN,EAAM,OAAOM,CAAK,CACpB,EACC,CAACA,CAAK,CAAC,EAIJS,EAAA,kBAAA,KAAAC,6BAAA,CAAA,SAAA,CACAN,GAAAK,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,sEAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,uEAEV,SAAAA,EAAA,kBAAA,IAACC,EAAA,CACC,UAAU,0BACV,YAAa,CAAA,CACf,CAAA,CACF,EACAD,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,uEAEV,SAAAA,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,6BACV,IAAKP,EAAM,iBACX,IAAKA,EAAM,IAAA,CACb,CAAA,CACF,CAAA,CAAA,CACF,EAEAJ,GACAS,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,MAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,mBAER,SAAMX,EAAA,IAAA,CACV,EACAW,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,yCAER,WAAE,IAAIJ,EAAa,CAAC,CAAE,MAAAM,EAAO,MAAAC,KAC7BL,EAAA,kBAAA,KAAC,KAAA,CAEC,UAAU,OAEV,SAAA,CAAAE,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,aAER,SAAAE,CAAA,CACJ,EACAF,EAAA,kBAAA,IAAC,MAAA,CACC,UAAU,4CAER,SAAAG,CAAA,CACJ,CAAA,CAAA,EAZKD,CAAA,CAcR,CAAA,CACH,CAAA,CAAA,CACF,CAEJ,CAAA,CAAA,CAEJ"}
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index.cjs148.js"),E=require("./index.cjs308.js");(function(w){(function(a,u){w.exports?w.exports=u():a.parseSrcset=u()})(F.commonjsGlobal,function(){return function(a){function u(r){return r===" "||r===" "||r===`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index.cjs148.js"),E=require("./index.cjs305.js");(function(w){(function(a,u){w.exports?w.exports=u():a.parseSrcset=u()})(F.commonjsGlobal,function(){return function(a){function u(r){return r===" "||r===" "||r===`
2
2
  `||r==="\f"||r==="\r"}function v(r){var s,i=r.exec(a.substring(l));if(i)return s=i[0],l+=s.length,s}for(var L=a.length,j=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,N=/^[^ \t\n\r\u000c]+/,$=/[,]+$/,_=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,e,n,t,l=0,C=[];;){if(v(I),l>=L)return C;p=v(N),o=[],p.slice(-1)===","?(p=p.replace($,""),g()):D()}function D(){for(v(j),e="",n="in descriptor";;){if(t=a.charAt(l),n==="in descriptor")if(u(t))e&&(o.push(e),e="",n="after descriptor");else if(t===","){l+=1,e&&o.push(e),g();return}else if(t==="(")e=e+t,n="in parens";else if(t===""){e&&o.push(e),g();return}else e=e+t;else if(n==="in parens")if(t===")")e=e+t,n="in descriptor";else if(t===""){o.push(e),g();return}else e=e+t;else if(n==="after descriptor"&&!u(t))if(t===""){g();return}else n="in descriptor",l-=1;l+=1}}function g(){var r=!1,s,i,d,m,h={},c,S,f,x,b;for(m=0;m<o.length;m++)c=o[m],S=c[c.length-1],f=c.substring(0,c.length-1),x=parseInt(f,10),b=parseFloat(f),_.test(f)&&S==="w"?((s||i)&&(r=!0),x===0?r=!0:s=x):q.test(f)&&S==="x"?((s||i||d)&&(r=!0),b<0?r=!0:i=b):_.test(f)&&S==="h"?((d||i)&&(r=!0),x===0?r=!0:d=x):r=!0;r?console&&console.log&&console.log("Invalid srcset descriptor found in '"+a+"' at '"+c+"'."):(h.url=p,s&&(h.w=s),i&&(h.d=i),d&&(h.h=d),C.push(h))}}})})(E.__module);var O=E.__module.exports;exports.parseSrcsetExports=O;
3
3
  //# sourceMappingURL=index.cjs153.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs309.js"),y=require("./index.cjs310.js"),R=require("./index.cjs311.js"),S=require("./index.cjs312.js"),N=require("./index.cjs313.js"),h=require("./index.cjs314.js"),P=require("./index.cjs315.js"),v=require("./index.cjs316.js"),A=require("./index.cjs317.js"),C=require("./index.cjs318.js"),O=require("./index.cjs319.js"),_=require("./index.cjs320.js"),x=require("./index.cjs321.js"),D=require("./index.cjs322.js"),E=require("./index.cjs323.js"),J=require("./index.cjs324.js"),$=require("./index.cjs325.js"),b=require("./index.cjs326.js");let z=q.cssSyntaxError,u=y.declaration,L=R.lazyResult,W=S.container,i=N.processor,j=h.stringify_1,G=P.fromJSON_1,a=v.document,I=A.warning,p=C.comment,m=O.atRule,M=_.result,T=x.input,V=D.parse_1,k=E.list_1,f=J.rule,g=$.root,B=b.node;function e(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new i(t)}e.plugin=function(o,w){let l=!1;function r(...c){console&&console.warn&&!l&&(l=!0,console.warn(o+`: postcss.plugin was deprecated. Migration guide:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs306.js"),y=require("./index.cjs307.js"),R=require("./index.cjs308.js"),S=require("./index.cjs309.js"),N=require("./index.cjs310.js"),h=require("./index.cjs311.js"),P=require("./index.cjs312.js"),v=require("./index.cjs313.js"),A=require("./index.cjs314.js"),C=require("./index.cjs315.js"),O=require("./index.cjs316.js"),_=require("./index.cjs317.js"),x=require("./index.cjs318.js"),D=require("./index.cjs319.js"),E=require("./index.cjs320.js"),J=require("./index.cjs321.js"),$=require("./index.cjs322.js"),b=require("./index.cjs323.js");let z=q.cssSyntaxError,u=y.declaration,L=R.lazyResult,W=S.container,i=N.processor,j=h.stringify_1,G=P.fromJSON_1,a=v.document,I=A.warning,p=C.comment,m=O.atRule,M=_.result,T=x.input,V=D.parse_1,k=E.list_1,f=J.rule,g=$.root,B=b.node;function e(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new i(t)}e.plugin=function(o,w){let l=!1;function r(...c){console&&console.warn&&!l&&(l=!0,console.warn(o+`: postcss.plugin was deprecated. Migration guide:
2
2
  https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
3
3
  https://www.w3ctech.com/topic/2226`));let n=w(...c);return n.postcssPlugin=o,n.postcssVersion=new i().version,n}let s;return Object.defineProperty(r,"postcss",{get(){return s||(s=r()),s}}),r.process=function(c,n,d){return e([r(d)]).process(c,n)},r};e.stringify=j;e.parse=V;e.fromJSON=G;e.list=k;e.comment=t=>new p(t);e.atRule=t=>new m(t);e.decl=t=>new u(t);e.rule=t=>new f(t);e.root=t=>new g(t);e.document=t=>new a(t);e.CssSyntaxError=z;e.Declaration=u;e.Container=W;e.Processor=i;e.Document=a;e.Comment=p;e.Warning=I;e.AtRule=m;e.Result=M;e.Input=T;e.Rule=f;e.Root=g;e.Node=B;L.registerPostcss(e);var F=e;e.default=e;exports.postcss_1=F;
4
4
  //# sourceMappingURL=index.cjs154.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index.cjs45.js"),q=require("./index.cjs83.js"),o=require("./index.cjs84.js"),c=require("react"),t=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const m=require("./index.cjs13.js"),d=require("./index.cjs85.js"),j=require("./index.cjs86.js"),h=u=>{const[n,a]=c.useState([]),s=c.useCallback(({name:e})=>t.findWhere(n,{name:e}),[n]),l=c.useCallback(e=>{s(e)?a(i=>t.filter(i,x=>x.url!==e.url)):a(i=>[...i,e])},[s]);return t.isEmpty(u.layers)?null:r.jsxRuntimeExports.jsxs("div",{className:o.clsx("px-3","pb-2","pt-4","text-sm","border-t",u.className),children:[r.jsxRuntimeExports.jsx(m,{overlays:n}),r.jsxRuntimeExports.jsx("h2",{className:"font-medium",children:u.label}),r.jsxRuntimeExports.jsx("ul",{className:"leading-relaxed",children:t.map(u.layers,(e,i)=>r.jsxRuntimeExports.jsx("li",{className:"py-1",children:r.jsxRuntimeExports.jsxs("div",{className:"flex gap-1.5 items-center",children:[r.jsxRuntimeExports.jsxs(q.Root,{className:"hover:bg-transparent mb-0.5",id:e.name,checked:s(e),onCheckedChange:()=>l(e),children:[s(e)&&r.jsxRuntimeExports.jsx(d,{className:"w-5 h-5"}),!s(e)&&r.jsxRuntimeExports.jsx(j,{className:"w-5 h-5"})]}),r.jsxRuntimeExports.jsx("label",{className:"cursor-pointer grow",htmlFor:e.name,children:e.name})]})},i))})]})};module.exports=h;
1
+ "use strict";const r=require("./index.cjs45.js"),q=require("./index.cjs83.js"),o=require("./index.cjs84.js"),c=require("react"),u=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const m=require("./index.cjs13.js"),d=require("./index.cjs85.js"),j=require("./index.cjs86.js"),h=t=>{const[n,a]=c.useState([]),s=c.useCallback(({name:e})=>u.findWhere(n,{name:e}),[n]),l=c.useCallback(e=>{s(e)?a(i=>u.filter(i,x=>x.url!==e.url)):a(i=>[...i,e])},[s]);return u.isEmpty(t.layers)?null:r.jsxRuntimeExports.jsxs("div",{className:o.clsx("px-3","pb-2","pt-4","text-sm","border-t",t.className),children:[r.jsxRuntimeExports.jsx(m,{overlays:n}),r.jsxRuntimeExports.jsx("h2",{className:"font-medium",children:t.label}),r.jsxRuntimeExports.jsx("ul",{className:"leading-relaxed",children:u.map(t.layers,(e,i)=>r.jsxRuntimeExports.jsx("li",{className:"py-1",children:r.jsxRuntimeExports.jsxs("div",{className:"flex gap-1.5 items-center",children:[r.jsxRuntimeExports.jsx(q.Root,{asChild:!0,className:"hover:bg-transparent mb-0.5",id:e.name,checked:s(e),onCheckedChange:()=>l(e),children:r.jsxRuntimeExports.jsxs("button",{"aria-label":e.name,type:"button",children:[s(e)&&r.jsxRuntimeExports.jsx(d,{className:"w-5 h-5"}),!s(e)&&r.jsxRuntimeExports.jsx(j,{className:"w-5 h-5"})]})}),r.jsxRuntimeExports.jsx("label",{className:"cursor-pointer grow",htmlFor:e.name,children:e.name})]})},i))})]})};module.exports=h;
2
2
  //# sourceMappingURL=index.cjs16.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs16.js","sources":["../src/components/PlaceLayersSelector.js"],"sourcesContent":["// @flow\n\nimport * as Checkbox from '@radix-ui/react-checkbox';\nimport clsx from 'clsx';\nimport { CheckSquare2, Square } from 'lucide-react';\nimport React, { useCallback, useState } from 'react';\nimport _ from 'underscore';\nimport OverlayLayers from './OverlayLayers';\nimport type { Layer as LayerType } from '../types/RuntimeConfig';\n\ntype Props = {\n /**\n * Classname to append to the root element.\n */\n className?: string | Array<string>,\n\n /**\n * The label to render for the selector.\n */\n label: string,\n\n /**\n * The layer options to render for the selector.\n */\n layers: Array<LayerType>\n};\n\n/**\n * This component renders a selector for the passed list of layers.\n */\nconst PlaceLayersSelector = (props: Props) => {\n const [selectedLayers, setSelectedLayers] = useState([]);\n\n /**\n * Returns true if the passed ID is in the collection of selected IDs.\n *\n * @type {function(*): boolean}\n */\n const isSelected = useCallback(({ name }) => _.findWhere(selectedLayers, { name }), [selectedLayers]);\n\n /**\n * Toggles selection for the passed ID.\n *\n * @type {(function(*): void)|*}\n */\n const onChange = useCallback((layer) => {\n if (isSelected(layer)) {\n setSelectedLayers((prevSelected) => _.filter(prevSelected, (l) => l.url !== layer.url));\n } else {\n setSelectedLayers((prevSelected) => [...prevSelected, layer]);\n }\n }, [isSelected]);\n\n if (_.isEmpty(props.layers)) {\n return null;\n }\n\n return (\n <div\n className={clsx('px-3', 'pb-2', 'pt-4', 'text-sm', 'border-t', props.className)}\n >\n <OverlayLayers\n overlays={selectedLayers}\n />\n <h2\n className='font-medium'\n >\n { props.label }\n </h2>\n <ul\n className='leading-relaxed'\n >\n { _.map(props.layers, (layer, index) => (\n <li\n className='py-1'\n key={index}\n >\n <div\n className='flex gap-1.5 items-center'\n >\n <Checkbox.Root\n className='hover:bg-transparent mb-0.5'\n id={layer.name}\n checked={isSelected(layer)}\n onCheckedChange={() => onChange(layer)}\n >\n { isSelected(layer) && (\n <CheckSquare2\n className='w-5 h-5'\n />\n )}\n { !isSelected(layer) && (\n <Square\n className='w-5 h-5'\n />\n )}\n </Checkbox.Root>\n <label\n className='cursor-pointer grow'\n htmlFor={layer.name}\n >\n { layer.name }\n </label>\n </div>\n </li>\n ))}\n </ul>\n </div>\n );\n};\n\nexport default PlaceLayersSelector;\n"],"names":["PlaceLayersSelector","props","selectedLayers","setSelectedLayers","useState","isSelected","useCallback","name","_","onChange","layer","prevSelected","l","jsxs","clsx","jsx","OverlayLayers","index","Checkbox.Root","CheckSquare2","Square"],"mappings":"k/BA8BMA,EAAuBC,GAAiB,CAC5C,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAA,SAAS,CAAE,CAAA,EAOjDC,EAAaC,EAAA,YAAY,CAAC,CAAE,KAAAC,CAAW,IAAAC,EAAE,UAAUN,EAAgB,CAAE,KAAAK,CAAK,CAAC,EAAG,CAACL,CAAc,CAAC,EAO9FO,EAAWH,cAAaI,GAAU,CAClCL,EAAWK,CAAK,EACAP,EAACQ,GAAiBH,EAAE,OAAOG,EAAeC,GAAMA,EAAE,MAAQF,EAAM,GAAG,CAAC,EAEtFP,EAAmBQ,GAAiB,CAAC,GAAGA,EAAcD,CAAK,CAAC,CAC9D,EACC,CAACL,CAAU,CAAC,EAEf,OAAIG,EAAE,QAAQP,EAAM,MAAM,EACjB,KAIPY,EAAA,kBAAA,KAAC,MAAA,CACC,UAAWC,EAAAA,KAAK,OAAQ,OAAQ,OAAQ,UAAW,WAAYb,EAAM,SAAS,EAE9E,SAAA,CAAAc,EAAA,kBAAA,IAACC,EAAA,CACC,SAAUd,CAAA,CACZ,EACAa,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,cAER,SAAMd,EAAA,KAAA,CACV,EACAc,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,kBAER,WAAE,IAAId,EAAM,OAAQ,CAACS,EAAOO,IAC5BF,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,OAGV,SAAAF,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,4BAEV,SAAA,CAAAA,EAAA,kBAAA,KAACK,EAAS,KAAT,CACC,UAAU,8BACV,GAAIR,EAAM,KACV,QAASL,EAAWK,CAAK,EACzB,gBAAiB,IAAMD,EAASC,CAAK,EAEnC,SAAA,CAAAL,EAAWK,CAAK,GAChBK,EAAA,kBAAA,IAACI,EAAA,CACC,UAAU,SAAA,CACZ,EAEA,CAACd,EAAWK,CAAK,GACjBK,EAAA,kBAAA,IAACK,EAAA,CACC,UAAU,SAAA,CACZ,CAAA,CAAA,CAEJ,EACAL,EAAA,kBAAA,IAAC,QAAA,CACC,UAAU,sBACV,QAASL,EAAM,KAEb,SAAMA,EAAA,IAAA,CACV,CAAA,CAAA,CACF,CAAA,EA5BKO,CAAA,CA8BR,CAAA,CACH,CAAA,CAAA,CAAA,CAGN"}
1
+ {"version":3,"file":"index.cjs16.js","sources":["../src/components/PlaceLayersSelector.js"],"sourcesContent":["// @flow\n\nimport * as Checkbox from '@radix-ui/react-checkbox';\nimport clsx from 'clsx';\nimport { CheckSquare2, Square } from 'lucide-react';\nimport React, { useCallback, useState } from 'react';\nimport _ from 'underscore';\nimport OverlayLayers from './OverlayLayers';\nimport type { Layer as LayerType } from '../types/RuntimeConfig';\n\ntype Props = {\n /**\n * Classname to append to the root element.\n */\n className?: string | Array<string>,\n\n /**\n * The label to render for the selector.\n */\n label: string,\n\n /**\n * The layer options to render for the selector.\n */\n layers: Array<LayerType>\n};\n\n/**\n * This component renders a selector for the passed list of layers.\n */\nconst PlaceLayersSelector = (props: Props) => {\n const [selectedLayers, setSelectedLayers] = useState([]);\n\n /**\n * Returns true if the passed ID is in the collection of selected IDs.\n *\n * @type {function(*): boolean}\n */\n const isSelected = useCallback(({ name }) => _.findWhere(selectedLayers, { name }), [selectedLayers]);\n\n /**\n * Toggles selection for the passed ID.\n *\n * @type {(function(*): void)|*}\n */\n const onChange = useCallback((layer) => {\n if (isSelected(layer)) {\n setSelectedLayers((prevSelected) => _.filter(prevSelected, (l) => l.url !== layer.url));\n } else {\n setSelectedLayers((prevSelected) => [...prevSelected, layer]);\n }\n }, [isSelected]);\n\n if (_.isEmpty(props.layers)) {\n return null;\n }\n\n return (\n <div\n className={clsx('px-3', 'pb-2', 'pt-4', 'text-sm', 'border-t', props.className)}\n >\n <OverlayLayers\n overlays={selectedLayers}\n />\n <h2\n className='font-medium'\n >\n { props.label }\n </h2>\n <ul\n className='leading-relaxed'\n >\n { _.map(props.layers, (layer, index) => (\n <li\n className='py-1'\n key={index}\n >\n <div\n className='flex gap-1.5 items-center'\n >\n <Checkbox.Root\n asChild\n className='hover:bg-transparent mb-0.5'\n id={layer.name}\n checked={isSelected(layer)}\n onCheckedChange={() => onChange(layer)}\n >\n <button\n aria-label={layer.name}\n type='button'\n >\n { isSelected(layer) && (\n <CheckSquare2\n className='w-5 h-5'\n />\n )}\n { !isSelected(layer) && (\n <Square\n className='w-5 h-5'\n />\n )}\n </button>\n </Checkbox.Root>\n <label\n className='cursor-pointer grow'\n htmlFor={layer.name}\n >\n { layer.name }\n </label>\n </div>\n </li>\n ))}\n </ul>\n </div>\n );\n};\n\nexport default PlaceLayersSelector;\n"],"names":["PlaceLayersSelector","props","selectedLayers","setSelectedLayers","useState","isSelected","useCallback","name","_","onChange","layer","prevSelected","l","jsxs","clsx","jsx","OverlayLayers","index","Checkbox.Root","CheckSquare2","Square"],"mappings":"k/BA8BMA,EAAuBC,GAAiB,CAC5C,KAAM,CAACC,EAAgBC,CAAiB,EAAIC,EAAA,SAAS,CAAE,CAAA,EAOjDC,EAAaC,EAAA,YAAY,CAAC,CAAE,KAAAC,CAAW,IAAAC,EAAE,UAAUN,EAAgB,CAAE,KAAAK,CAAK,CAAC,EAAG,CAACL,CAAc,CAAC,EAO9FO,EAAWH,cAAaI,GAAU,CAClCL,EAAWK,CAAK,EACAP,EAACQ,GAAiBH,EAAE,OAAOG,EAAeC,GAAMA,EAAE,MAAQF,EAAM,GAAG,CAAC,EAEtFP,EAAmBQ,GAAiB,CAAC,GAAGA,EAAcD,CAAK,CAAC,CAC9D,EACC,CAACL,CAAU,CAAC,EAEf,OAAIG,EAAE,QAAQP,EAAM,MAAM,EACjB,KAIPY,EAAA,kBAAA,KAAC,MAAA,CACC,UAAWC,EAAAA,KAAK,OAAQ,OAAQ,OAAQ,UAAW,WAAYb,EAAM,SAAS,EAE9E,SAAA,CAAAc,EAAA,kBAAA,IAACC,EAAA,CACC,SAAUd,CAAA,CACZ,EACAa,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,cAER,SAAMd,EAAA,KAAA,CACV,EACAc,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,kBAER,WAAE,IAAId,EAAM,OAAQ,CAACS,EAAOO,IAC5BF,EAAA,kBAAA,IAAC,KAAA,CACC,UAAU,OAGV,SAAAF,EAAA,kBAAA,KAAC,MAAA,CACC,UAAU,4BAEV,SAAA,CAAAE,EAAA,kBAAA,IAACG,EAAS,KAAT,CACC,QAAO,GACP,UAAU,8BACV,GAAIR,EAAM,KACV,QAASL,EAAWK,CAAK,EACzB,gBAAiB,IAAMD,EAASC,CAAK,EAErC,SAAAG,EAAA,kBAAA,KAAC,SAAA,CACC,aAAYH,EAAM,KAClB,KAAK,SAEH,SAAA,CAAAL,EAAWK,CAAK,GAChBK,EAAA,kBAAA,IAACI,EAAA,CACC,UAAU,SAAA,CACZ,EAEA,CAACd,EAAWK,CAAK,GACjBK,EAAA,kBAAA,IAACK,EAAA,CACC,UAAU,SAAA,CACZ,CAAA,CAAA,CAEJ,CAAA,CACF,EACAL,EAAA,kBAAA,IAAC,QAAA,CACC,UAAU,sBACV,QAASL,EAAM,KAEb,SAAMA,EAAA,IAAA,CACV,CAAA,CAAA,CACF,CAAA,EAlCKO,CAAA,CAoCR,CAAA,CACH,CAAA,CAAA,CAAA,CAGN"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs171.js");function u(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var I=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),O=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+O(),REPLACE:"@@redux/REPLACE"+O(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+O()}};function S(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function V(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(R(e))return"date";if(P(e))return"error";var r=A(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function A(e){return typeof e.constructor=="function"?e.constructor.name:null}function P(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function R(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function g(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=V(e)),t}function j(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?u(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?u(1):"Expected the enhancer to be a function. Instead, received: '"+g(r)+"'");return r(j)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?u(2):"Expected the root reducer to be a function. Instead, received: '"+g(e)+"'");var i=e,c=t,a=[],s=a,f=!1;function p(){s===a&&(s=a.slice())}function E(){if(f)throw new Error(process.env.NODE_ENV==="production"?u(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(n){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?u(4):"Expected the listener to be a function. Instead, received: '"+g(n)+"'");if(f)throw new Error(process.env.NODE_ENV==="production"?u(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var l=!0;return p(),s.push(n),function(){if(l){if(f)throw new Error(process.env.NODE_ENV==="production"?u(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");l=!1,p();var d=s.indexOf(n);s.splice(d,1),a=null}}}function h(n){if(!S(n))throw new Error(process.env.NODE_ENV==="production"?u(7):"Actions must be plain objects. Instead, the actual type was: '"+g(n)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof n.type>"u")throw new Error(process.env.NODE_ENV==="production"?u(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(f)throw new Error(process.env.NODE_ENV==="production"?u(9):"Reducers may not dispatch actions.");try{f=!0,c=i(c,n)}finally{f=!1}for(var l=a=s,y=0;y<l.length;y++){var d=l[y];d()}return n}function N(n){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?u(10):"Expected the nextReducer to be a function. Instead, received: '"+g(n));i=n,h({type:v.REPLACE})}function b(){var n,l=m;return n={subscribe:function(d){if(typeof d!="object"||d===null)throw new Error(process.env.NODE_ENV==="production"?u(11):"Expected the observer to be an object. Instead, received: '"+g(d)+"'");function w(){d.next&&d.next(E())}w();var T=l(w);return{unsubscribe:T}}},n[I]=function(){return this},n}return h({type:v.INIT}),o={dispatch:h,subscribe:m,getState:E,replaceReducer:N},o[I]=b,o}function D(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function k(e,t,r,o){var i=Object.keys(t),c=r&&r.type===v.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(i.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!S(e))return"The "+c+' has unexpected type of "'+g(e)+'". Expected argument to be an object with the following '+('keys: "'+i.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!o[s]});if(a.forEach(function(s){o[s]=!0}),!(r&&r.type===v.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+c+". ")+"Expected to find one of the known reducer keys instead: "+('"'+i.join('", "')+'". Unexpected keys will be ignored.')}function C(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:v.INIT});if(typeof o>"u")throw new Error(process.env.NODE_ENV==="production"?u(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:v.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?u(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+v.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function M(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var i=t[o];process.env.NODE_ENV!=="production"&&typeof e[i]>"u"&&D('No reducer provided for key "'+i+'"'),typeof e[i]=="function"&&(r[i]=e[i])}var c=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{C(r)}catch(f){s=f}return function(p,E){if(p===void 0&&(p={}),s)throw s;if(process.env.NODE_ENV!=="production"){var m=k(p,r,E,a);m&&D(m)}for(var h=!1,N={},b=0;b<c.length;b++){var n=c[b],l=r[n],y=p[n],d=l(y,E);if(typeof d>"u"){var w=E&&E.type;throw new Error(process.env.NODE_ENV==="production"?u(14):"When called with an action of type "+(w?'"'+String(w)+'"':"(unknown type)")+', the slice reducer for key "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}N[n]=d,h=h||d!==y}return h=h||c.length!==Object.keys(p).length,h?N:p}}function _(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,i){return function(){return o(i.apply(void 0,arguments))}})}function L(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var i=o.apply(void 0,arguments),c=function(){throw new Error(process.env.NODE_ENV==="production"?u(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=t.map(function(f){return f(a)});return c=_.apply(void 0,s)(i.dispatch),x(x({},i),{},{dispatch:c})}}}exports.__DO_NOT_USE__ActionTypes=v;exports.applyMiddleware=L;exports.combineReducers=M;exports.compose=_;exports.createStore=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs275.js");function u(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var I=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),O=function(){return Math.random().toString(36).substring(7).split("").join(".")},v={INIT:"@@redux/INIT"+O(),REPLACE:"@@redux/REPLACE"+O(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+O()}};function S(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function V(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(R(e))return"date";if(P(e))return"error";var r=A(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function A(e){return typeof e.constructor=="function"?e.constructor.name:null}function P(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function R(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function g(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=V(e)),t}function j(e,t,r){var o;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?u(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?u(1):"Expected the enhancer to be a function. Instead, received: '"+g(r)+"'");return r(j)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?u(2):"Expected the root reducer to be a function. Instead, received: '"+g(e)+"'");var i=e,c=t,a=[],s=a,f=!1;function p(){s===a&&(s=a.slice())}function E(){if(f)throw new Error(process.env.NODE_ENV==="production"?u(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return c}function m(n){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?u(4):"Expected the listener to be a function. Instead, received: '"+g(n)+"'");if(f)throw new Error(process.env.NODE_ENV==="production"?u(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var l=!0;return p(),s.push(n),function(){if(l){if(f)throw new Error(process.env.NODE_ENV==="production"?u(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");l=!1,p();var d=s.indexOf(n);s.splice(d,1),a=null}}}function h(n){if(!S(n))throw new Error(process.env.NODE_ENV==="production"?u(7):"Actions must be plain objects. Instead, the actual type was: '"+g(n)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof n.type>"u")throw new Error(process.env.NODE_ENV==="production"?u(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(f)throw new Error(process.env.NODE_ENV==="production"?u(9):"Reducers may not dispatch actions.");try{f=!0,c=i(c,n)}finally{f=!1}for(var l=a=s,y=0;y<l.length;y++){var d=l[y];d()}return n}function N(n){if(typeof n!="function")throw new Error(process.env.NODE_ENV==="production"?u(10):"Expected the nextReducer to be a function. Instead, received: '"+g(n));i=n,h({type:v.REPLACE})}function b(){var n,l=m;return n={subscribe:function(d){if(typeof d!="object"||d===null)throw new Error(process.env.NODE_ENV==="production"?u(11):"Expected the observer to be an object. Instead, received: '"+g(d)+"'");function w(){d.next&&d.next(E())}w();var T=l(w);return{unsubscribe:T}}},n[I]=function(){return this},n}return h({type:v.INIT}),o={dispatch:h,subscribe:m,getState:E,replaceReducer:N},o[I]=b,o}function D(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function k(e,t,r,o){var i=Object.keys(t),c=r&&r.type===v.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(i.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!S(e))return"The "+c+' has unexpected type of "'+g(e)+'". Expected argument to be an object with the following '+('keys: "'+i.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!o[s]});if(a.forEach(function(s){o[s]=!0}),!(r&&r.type===v.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+c+". ")+"Expected to find one of the known reducer keys instead: "+('"'+i.join('", "')+'". Unexpected keys will be ignored.')}function C(e){Object.keys(e).forEach(function(t){var r=e[t],o=r(void 0,{type:v.INIT});if(typeof o>"u")throw new Error(process.env.NODE_ENV==="production"?u(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:v.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?u(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+v.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function M(e){for(var t=Object.keys(e),r={},o=0;o<t.length;o++){var i=t[o];process.env.NODE_ENV!=="production"&&typeof e[i]>"u"&&D('No reducer provided for key "'+i+'"'),typeof e[i]=="function"&&(r[i]=e[i])}var c=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{C(r)}catch(f){s=f}return function(p,E){if(p===void 0&&(p={}),s)throw s;if(process.env.NODE_ENV!=="production"){var m=k(p,r,E,a);m&&D(m)}for(var h=!1,N={},b=0;b<c.length;b++){var n=c[b],l=r[n],y=p[n],d=l(y,E);if(typeof d>"u"){var w=E&&E.type;throw new Error(process.env.NODE_ENV==="production"?u(14):"When called with an action of type "+(w?'"'+String(w)+'"':"(unknown type)")+', the slice reducer for key "'+n+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}N[n]=d,h=h||d!==y}return h=h||c.length!==Object.keys(p).length,h?N:p}}function _(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(o){return o}:t.length===1?t[0]:t.reduce(function(o,i){return function(){return o(i.apply(void 0,arguments))}})}function L(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(o){return function(){var i=o.apply(void 0,arguments),c=function(){throw new Error(process.env.NODE_ENV==="production"?u(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:i.getState,dispatch:function(){return c.apply(void 0,arguments)}},s=t.map(function(f){return f(a)});return c=_.apply(void 0,s)(i.dispatch),x(x({},i),{},{dispatch:c})}}}exports.__DO_NOT_USE__ActionTypes=v;exports.applyMiddleware=L;exports.combineReducers=M;exports.compose=_;exports.createStore=j;
2
2
  //# sourceMappingURL=index.cjs164.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const f=require("./index.cjs45.js"),p=require("@performant-software/geospatial"),r=require("react"),t=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs87.js"),x=({urls:q,...l})=>{const[s,m]=r.useState([]),u=r.useMemo(()=>c.featureCollection(s),[s]),n=r.useCallback(()=>t.map(q,i=>fetch(i).then(e=>e.json())),[q]),o=r.useCallback(i=>t.map(i,e=>m(a=>e.place_geometry?[...a,c.feature(e.place_geometry.geometry_json,e)]:a)),[]);return r.useEffect(()=>{Promise.all(n()).then(o)},[n,o]),t.isEmpty(u==null?void 0:u.features)?null:f.jsxRuntimeExports.jsx(p.LocationMarkers,{...l,data:u})};module.exports=x;
1
+ "use strict";const p=require("./index.cjs45.js"),f=require("@performant-software/geospatial"),r=require("react"),t=require("./index.cjs46.js");require("./index.cjs47.js");require("./index.cjs48.js");require("./index.cjs49.js");require("./index.cjs50.js");require("./index.cjs51.js");require("./index.cjs52.js");require("./index.cjs53.js");require("./index.cjs54.js");require("./index.cjs55.js");require("./index.cjs56.js");require("./index.cjs57.js");require("./index.cjs58.js");require("./index.cjs59.js");require("./index.cjs60.js");require("./index.cjs61.js");require("./index.cjs62.js");require("./index.cjs63.js");require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs87.js"),x=({urls:q,...l})=>{const[s,m]=r.useState([]),u=r.useMemo(()=>c.featureCollection(s),[s]),n=r.useCallback(()=>t.map(q,i=>fetch(i).then(e=>e.json()).then(e=>e.place)),[q]),o=r.useCallback(i=>t.map(i,e=>m(a=>e.place_geometry?[...a,c.feature(e.place_geometry.geometry_json,e)]:a)),[]);return r.useEffect(()=>{Promise.all(n()).then(o)},[n,o]),t.isEmpty(u==null?void 0:u.features)?null:p.jsxRuntimeExports.jsx(f.LocationMarkers,{...l,data:u})};module.exports=x;
2
2
  //# sourceMappingURL=index.cjs17.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs17.js","sources":["../src/components/PlaceMarkers.js"],"sourcesContent":["// @flow\n\nimport { LocationMarkers } from '@performant-software/geospatial';\nimport { feature, featureCollection } from '@turf/turf';\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useState\n} from 'react';\nimport _ from 'underscore';\n\ntype Props = {\n /**\n * The URL of the Core Data place record.\n */\n urls: Array<string>\n};\n\n/**\n * This component renders a map marker for a given Core Data Place record.\n */\nconst PlaceMarkers = ({ urls, ...props }: Props) => {\n const [places, setPlaces] = useState([]);\n\n /**\n * Converts the set of places into a FeatureCollection.\n *\n * @type {FeatureCollection<Geometry, Properties>}\n */\n const data = useMemo(() => featureCollection(places), [places]);\n\n /**\n * Fetches the passed URLs and converts the response to JSON.\n *\n * @type {function(): *}\n */\n const onFetch = useCallback(() => (\n _.map(urls, (url) => fetch(url).then((res) => res.json()))\n ), [urls]);\n\n /**\n * Converts the passed list of records to Features and sets them on the state.\n *\n * @type {function(*): *}\n */\n const onLoad = useCallback((records) => (\n _.map(records, (record) => setPlaces((prevPlaces) => (\n record.place_geometry ? [...prevPlaces, feature(record.place_geometry.geometry_json, record)] : prevPlaces\n )))\n ), []);\n\n /**\n * Fetch the place record from the passed URL.\n */\n useEffect(() => {\n Promise\n .all(onFetch())\n .then(onLoad);\n }, [onFetch, onLoad]);\n\n if (_.isEmpty(data?.features)) {\n return null;\n }\n\n return (\n <LocationMarkers\n {...props}\n data={data}\n />\n );\n};\n\nexport default PlaceMarkers;\n"],"names":["PlaceMarkers","urls","props","places","setPlaces","useState","data","useMemo","featureCollection","onFetch","useCallback","_","url","res","onLoad","records","record","prevPlaces","feature","useEffect","jsx","LocationMarkers"],"mappings":"u6BAsBMA,EAAe,CAAC,CAAE,KAAAC,EAAM,GAAGC,KAAmB,CAClD,KAAM,CAACC,EAAQC,CAAS,EAAIC,EAAA,SAAS,CAAE,CAAA,EAOjCC,EAAOC,EAAAA,QAAQ,IAAMC,EAAAA,kBAAkBL,CAAM,EAAG,CAACA,CAAM,CAAC,EAOxDM,EAAUC,cAAY,IAC1BC,EAAE,IAAIV,EAAOW,GAAQ,MAAMA,CAAG,EAAE,KAAMC,GAAQA,EAAI,KAAM,CAAA,CAAC,EACxD,CAACZ,CAAI,CAAC,EAOHa,EAASJ,EAAAA,YAAaK,GAC1BJ,EAAE,IAAII,EAAUC,GAAWZ,EAAWa,GACpCD,EAAO,eAAiB,CAAC,GAAGC,EAAYC,UAAQF,EAAO,eAAe,cAAeA,CAAM,CAAC,EAAIC,CACjG,CAAC,EACD,CAAE,CAAA,EAWL,OANAE,EAAAA,UAAU,IAAM,CACd,QACG,IAAIV,EAAA,CAAS,EACb,KAAKK,CAAM,CAAA,EACb,CAACL,EAASK,CAAM,CAAC,EAEhBH,EAAE,QAAQL,GAAA,YAAAA,EAAM,QAAQ,EACnB,KAIPc,EAAA,kBAAA,IAACC,EAAA,gBAAA,CACE,GAAGnB,EACJ,KAAAI,CAAA,CAAA,CAGN"}
1
+ {"version":3,"file":"index.cjs17.js","sources":["../src/components/PlaceMarkers.js"],"sourcesContent":["// @flow\n\nimport { LocationMarkers } from '@performant-software/geospatial';\nimport { feature, featureCollection } from '@turf/turf';\nimport React, {\n useCallback,\n useEffect,\n useMemo,\n useState\n} from 'react';\nimport _ from 'underscore';\n\ntype Props = {\n /**\n * The URL of the Core Data place record.\n */\n urls: Array<string>\n};\n\n/**\n * This component renders a map marker for a given Core Data Place record.\n */\nconst PlaceMarkers = ({ urls, ...props }: Props) => {\n const [places, setPlaces] = useState([]);\n\n /**\n * Converts the set of places into a FeatureCollection.\n *\n * @type {FeatureCollection<Geometry, Properties>}\n */\n const data = useMemo(() => featureCollection(places), [places]);\n\n /**\n * Fetches the passed URLs and converts the response to JSON.\n *\n * @type {function(): *}\n */\n const onFetch = useCallback(() => (\n _.map(urls, (url) => fetch(url).then((res) => res.json()).then((res) => res.place))\n ), [urls]);\n\n /**\n * Converts the passed list of records to Features and sets them on the state.\n *\n * @type {function(*): *}\n */\n const onLoad = useCallback((records) => (\n _.map(records, (record) => setPlaces((prevPlaces) => (\n record.place_geometry ? [...prevPlaces, feature(record.place_geometry.geometry_json, record)] : prevPlaces\n )))\n ), []);\n\n /**\n * Fetch the place record from the passed URL.\n */\n useEffect(() => {\n Promise\n .all(onFetch())\n .then(onLoad);\n }, [onFetch, onLoad]);\n\n if (_.isEmpty(data?.features)) {\n return null;\n }\n\n return (\n <LocationMarkers\n {...props}\n data={data}\n />\n );\n};\n\nexport default PlaceMarkers;\n"],"names":["PlaceMarkers","urls","props","places","setPlaces","useState","data","useMemo","featureCollection","onFetch","useCallback","_","url","res","onLoad","records","record","prevPlaces","feature","useEffect","jsx","LocationMarkers"],"mappings":"u6BAsBMA,EAAe,CAAC,CAAE,KAAAC,EAAM,GAAGC,KAAmB,CAClD,KAAM,CAACC,EAAQC,CAAS,EAAIC,EAAA,SAAS,CAAE,CAAA,EAOjCC,EAAOC,EAAAA,QAAQ,IAAMC,EAAAA,kBAAkBL,CAAM,EAAG,CAACA,CAAM,CAAC,EAOxDM,EAAUC,EAAAA,YAAY,IAC1BC,EAAE,IAAIV,EAAOW,GAAQ,MAAMA,CAAG,EAAE,KAAMC,GAAQA,EAAI,KAAK,CAAC,EAAE,KAAMA,GAAQA,EAAI,KAAK,CAAC,EACjF,CAACZ,CAAI,CAAC,EAOHa,EAASJ,EAAAA,YAAaK,GAC1BJ,EAAE,IAAII,EAAUC,GAAWZ,EAAWa,GACpCD,EAAO,eAAiB,CAAC,GAAGC,EAAYC,UAAQF,EAAO,eAAe,cAAeA,CAAM,CAAC,EAAIC,CACjG,CAAC,EACD,CAAE,CAAA,EAWL,OANAE,EAAAA,UAAU,IAAM,CACd,QACG,IAAIV,EAAA,CAAS,EACb,KAAKK,CAAM,CAAA,EACb,CAACL,EAASK,CAAM,CAAC,EAEhBH,EAAE,QAAQL,GAAA,YAAAA,EAAM,QAAQ,EACnB,KAIPc,EAAA,kBAAA,IAACC,EAAA,gBAAA,CACE,GAAGnB,EACJ,KAAAI,CAAA,CAAA,CAGN"}
@@ -1,2 +1,2 @@
1
- "use strict";const s=require("./index.cjs332.js");function c(r,n){var e=Object.keys(r);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(r);n&&(t=t.filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable})),e.push.apply(e,t)}return e}function p(r){for(var n=1;n<arguments.length;n++){var e=arguments[n]!=null?arguments[n]:{};n%2?c(Object(e),!0).forEach(function(t){s(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}module.exports=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs171.js.map