@performant-software/core-data 2.2.18-beta.6 → 2.2.18-beta.7

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 (1472) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs106.js +1 -1
  3. package/dist/index.cjs107.js +1 -1
  4. package/dist/index.cjs110.js +1 -1
  5. package/dist/index.cjs117.js +1 -1
  6. package/dist/index.cjs122.js +1 -1
  7. package/dist/index.cjs122.js.map +1 -1
  8. package/dist/index.cjs123.js +1 -1
  9. package/dist/index.cjs123.js.map +1 -1
  10. package/dist/index.cjs124.js +1 -1
  11. package/dist/index.cjs124.js.map +1 -1
  12. package/dist/index.cjs125.js +1 -1
  13. package/dist/index.cjs125.js.map +1 -1
  14. package/dist/index.cjs126.js +1 -1
  15. package/dist/index.cjs126.js.map +1 -1
  16. package/dist/index.cjs127.js +1 -1
  17. package/dist/index.cjs127.js.map +1 -1
  18. package/dist/index.cjs128.js +1 -1
  19. package/dist/index.cjs128.js.map +1 -1
  20. package/dist/index.cjs129.js +1 -1
  21. package/dist/index.cjs129.js.map +1 -1
  22. package/dist/index.cjs130.js +1 -1
  23. package/dist/index.cjs130.js.map +1 -1
  24. package/dist/index.cjs131.js +1 -1
  25. package/dist/index.cjs131.js.map +1 -1
  26. package/dist/index.cjs132.js +1 -1
  27. package/dist/index.cjs132.js.map +1 -1
  28. package/dist/index.cjs133.js +1 -1
  29. package/dist/index.cjs133.js.map +1 -1
  30. package/dist/index.cjs134.js +1 -1
  31. package/dist/index.cjs134.js.map +1 -1
  32. package/dist/index.cjs135.js +8 -1
  33. package/dist/index.cjs135.js.map +1 -1
  34. package/dist/index.cjs136.js +26 -1
  35. package/dist/index.cjs136.js.map +1 -1
  36. package/dist/index.cjs137.js +1 -1
  37. package/dist/index.cjs137.js.map +1 -1
  38. package/dist/index.cjs138.js +1 -1
  39. package/dist/index.cjs138.js.map +1 -1
  40. package/dist/index.cjs139.js +1 -1
  41. package/dist/index.cjs139.js.map +1 -1
  42. package/dist/index.cjs140.js +1 -1
  43. package/dist/index.cjs140.js.map +1 -1
  44. package/dist/index.cjs141.js +7 -1
  45. package/dist/index.cjs141.js.map +1 -1
  46. package/dist/index.cjs142.js +1 -1
  47. package/dist/index.cjs142.js.map +1 -1
  48. package/dist/index.cjs143.js +1 -1
  49. package/dist/index.cjs143.js.map +1 -1
  50. package/dist/index.cjs144.js +1 -1
  51. package/dist/index.cjs144.js.map +1 -1
  52. package/dist/index.cjs145.js +1 -1
  53. package/dist/index.cjs145.js.map +1 -1
  54. package/dist/index.cjs146.js +1 -1
  55. package/dist/index.cjs146.js.map +1 -1
  56. package/dist/index.cjs147.js +1 -1
  57. package/dist/index.cjs147.js.map +1 -1
  58. package/dist/index.cjs148.js +1 -1
  59. package/dist/index.cjs148.js.map +1 -1
  60. package/dist/index.cjs149.js +1 -1
  61. package/dist/index.cjs149.js.map +1 -1
  62. package/dist/index.cjs150.js +1 -1
  63. package/dist/index.cjs150.js.map +1 -1
  64. package/dist/index.cjs151.js +1 -1
  65. package/dist/index.cjs151.js.map +1 -1
  66. package/dist/index.cjs152.js +1 -1
  67. package/dist/index.cjs152.js.map +1 -1
  68. package/dist/index.cjs153.js +1 -1
  69. package/dist/index.cjs153.js.map +1 -1
  70. package/dist/index.cjs154.js +1 -1
  71. package/dist/index.cjs154.js.map +1 -1
  72. package/dist/index.cjs155.js +1 -1
  73. package/dist/index.cjs155.js.map +1 -1
  74. package/dist/index.cjs156.js +1 -8
  75. package/dist/index.cjs156.js.map +1 -1
  76. package/dist/index.cjs157.js +1 -26
  77. package/dist/index.cjs157.js.map +1 -1
  78. package/dist/index.cjs158.js +1 -1
  79. package/dist/index.cjs158.js.map +1 -1
  80. package/dist/index.cjs159.js +1 -1
  81. package/dist/index.cjs159.js.map +1 -1
  82. package/dist/index.cjs160.js +1 -1
  83. package/dist/index.cjs160.js.map +1 -1
  84. package/dist/index.cjs161.js +1 -1
  85. package/dist/index.cjs161.js.map +1 -1
  86. package/dist/index.cjs162.js +1 -7
  87. package/dist/index.cjs162.js.map +1 -1
  88. package/dist/index.cjs163.js +1 -1
  89. package/dist/index.cjs163.js.map +1 -1
  90. package/dist/index.cjs164.js +1 -1
  91. package/dist/index.cjs164.js.map +1 -1
  92. package/dist/index.cjs168.js +1 -1
  93. package/dist/index.cjs169.js +1 -1
  94. package/dist/index.cjs170.js +1 -1
  95. package/dist/index.cjs171.js +1 -1
  96. package/dist/index.cjs172.js +1 -1
  97. package/dist/index.cjs173.js +1 -1
  98. package/dist/index.cjs179.js +1 -1
  99. package/dist/index.cjs179.js.map +1 -1
  100. package/dist/index.cjs180.js +1 -1
  101. package/dist/index.cjs180.js.map +1 -1
  102. package/dist/index.cjs181.js +1 -1
  103. package/dist/index.cjs181.js.map +1 -1
  104. package/dist/index.cjs182.js +1 -1
  105. package/dist/index.cjs182.js.map +1 -1
  106. package/dist/index.cjs183.js +1 -1
  107. package/dist/index.cjs183.js.map +1 -1
  108. package/dist/index.cjs184.js +1 -1
  109. package/dist/index.cjs184.js.map +1 -1
  110. package/dist/index.cjs185.js +1 -1
  111. package/dist/index.cjs185.js.map +1 -1
  112. package/dist/index.cjs186.js +1 -1
  113. package/dist/index.cjs186.js.map +1 -1
  114. package/dist/index.cjs187.js +1 -1
  115. package/dist/index.cjs187.js.map +1 -1
  116. package/dist/index.cjs188.js +1 -1
  117. package/dist/index.cjs188.js.map +1 -1
  118. package/dist/index.cjs189.js +1 -1
  119. package/dist/index.cjs189.js.map +1 -1
  120. package/dist/index.cjs190.js +1 -1
  121. package/dist/index.cjs190.js.map +1 -1
  122. package/dist/index.cjs191.js +1 -1
  123. package/dist/index.cjs191.js.map +1 -1
  124. package/dist/index.cjs192.js +1 -1
  125. package/dist/index.cjs192.js.map +1 -1
  126. package/dist/index.cjs193.js +1 -1
  127. package/dist/index.cjs193.js.map +1 -1
  128. package/dist/index.cjs194.js +1 -1
  129. package/dist/index.cjs194.js.map +1 -1
  130. package/dist/index.cjs195.js +6 -1
  131. package/dist/index.cjs195.js.map +1 -1
  132. package/dist/index.cjs196.js +1 -1
  133. package/dist/index.cjs196.js.map +1 -1
  134. package/dist/index.cjs197.js +2 -1
  135. package/dist/index.cjs197.js.map +1 -1
  136. package/dist/index.cjs198.js +3 -1
  137. package/dist/index.cjs198.js.map +1 -1
  138. package/dist/index.cjs199.js +1 -1
  139. package/dist/index.cjs199.js.map +1 -1
  140. package/dist/index.cjs200.js +1 -1
  141. package/dist/index.cjs200.js.map +1 -1
  142. package/dist/index.cjs201.js +8 -1
  143. package/dist/index.cjs201.js.map +1 -1
  144. package/dist/index.cjs202.js +13 -1
  145. package/dist/index.cjs202.js.map +1 -1
  146. package/dist/index.cjs203.js +1 -1
  147. package/dist/index.cjs203.js.map +1 -1
  148. package/dist/index.cjs204.js +17 -1
  149. package/dist/index.cjs204.js.map +1 -1
  150. package/dist/index.cjs205.js +1 -1
  151. package/dist/index.cjs205.js.map +1 -1
  152. package/dist/index.cjs206.js +1 -1
  153. package/dist/index.cjs206.js.map +1 -1
  154. package/dist/index.cjs207.js +1 -1
  155. package/dist/index.cjs207.js.map +1 -1
  156. package/dist/index.cjs208.js +1 -1
  157. package/dist/index.cjs208.js.map +1 -1
  158. package/dist/index.cjs209.js +1 -1
  159. package/dist/index.cjs209.js.map +1 -1
  160. package/dist/index.cjs210.js +1 -1
  161. package/dist/index.cjs210.js.map +1 -1
  162. package/dist/index.cjs211.js +1 -1
  163. package/dist/index.cjs211.js.map +1 -1
  164. package/dist/index.cjs212.js +1 -1
  165. package/dist/index.cjs212.js.map +1 -1
  166. package/dist/index.cjs213.js +1 -1
  167. package/dist/index.cjs213.js.map +1 -1
  168. package/dist/index.cjs214.js +1 -1
  169. package/dist/index.cjs214.js.map +1 -1
  170. package/dist/index.cjs215.js +1 -1
  171. package/dist/index.cjs215.js.map +1 -1
  172. package/dist/index.cjs216.js +1 -1
  173. package/dist/index.cjs216.js.map +1 -1
  174. package/dist/index.cjs217.js +1 -1
  175. package/dist/index.cjs217.js.map +1 -1
  176. package/dist/index.cjs218.js +1 -1
  177. package/dist/index.cjs218.js.map +1 -1
  178. package/dist/index.cjs219.js +1 -1
  179. package/dist/index.cjs219.js.map +1 -1
  180. package/dist/index.cjs220.js +1 -6
  181. package/dist/index.cjs220.js.map +1 -1
  182. package/dist/index.cjs221.js +1 -1
  183. package/dist/index.cjs221.js.map +1 -1
  184. package/dist/index.cjs222.js +1 -2
  185. package/dist/index.cjs222.js.map +1 -1
  186. package/dist/index.cjs223.js +1 -3
  187. package/dist/index.cjs223.js.map +1 -1
  188. package/dist/index.cjs224.js +1 -1
  189. package/dist/index.cjs224.js.map +1 -1
  190. package/dist/index.cjs225.js +1 -1
  191. package/dist/index.cjs225.js.map +1 -1
  192. package/dist/index.cjs226.js +1 -8
  193. package/dist/index.cjs226.js.map +1 -1
  194. package/dist/index.cjs227.js +1 -13
  195. package/dist/index.cjs227.js.map +1 -1
  196. package/dist/index.cjs228.js +1 -1
  197. package/dist/index.cjs228.js.map +1 -1
  198. package/dist/index.cjs229.js +1 -17
  199. package/dist/index.cjs229.js.map +1 -1
  200. package/dist/index.cjs230.js +1 -1
  201. package/dist/index.cjs230.js.map +1 -1
  202. package/dist/index.cjs231.js +1 -1
  203. package/dist/index.cjs231.js.map +1 -1
  204. package/dist/index.cjs232.js +1 -1
  205. package/dist/index.cjs232.js.map +1 -1
  206. package/dist/index.cjs233.js +1 -1
  207. package/dist/index.cjs233.js.map +1 -1
  208. package/dist/index.cjs234.js +1 -1
  209. package/dist/index.cjs234.js.map +1 -1
  210. package/dist/index.cjs235.js +1 -1
  211. package/dist/index.cjs235.js.map +1 -1
  212. package/dist/index.cjs236.js +1 -1
  213. package/dist/index.cjs236.js.map +1 -1
  214. package/dist/index.cjs237.js +1 -1
  215. package/dist/index.cjs237.js.map +1 -1
  216. package/dist/index.cjs238.js +1 -1
  217. package/dist/index.cjs238.js.map +1 -1
  218. package/dist/index.cjs239.js +1 -1
  219. package/dist/index.cjs239.js.map +1 -1
  220. package/dist/index.cjs240.js +1 -1
  221. package/dist/index.cjs240.js.map +1 -1
  222. package/dist/index.cjs241.js +1 -1
  223. package/dist/index.cjs241.js.map +1 -1
  224. package/dist/index.cjs242.js +1 -1
  225. package/dist/index.cjs242.js.map +1 -1
  226. package/dist/index.cjs243.js +1 -1
  227. package/dist/index.cjs243.js.map +1 -1
  228. package/dist/index.cjs244.js +1 -1
  229. package/dist/index.cjs244.js.map +1 -1
  230. package/dist/index.cjs245.js +1 -1
  231. package/dist/index.cjs245.js.map +1 -1
  232. package/dist/index.cjs246.js +1 -1
  233. package/dist/index.cjs246.js.map +1 -1
  234. package/dist/index.cjs247.js +1 -1
  235. package/dist/index.cjs247.js.map +1 -1
  236. package/dist/index.cjs248.js +1 -1
  237. package/dist/index.cjs248.js.map +1 -1
  238. package/dist/index.cjs249.js +1 -1
  239. package/dist/index.cjs249.js.map +1 -1
  240. package/dist/index.cjs250.js +1 -1
  241. package/dist/index.cjs250.js.map +1 -1
  242. package/dist/index.cjs251.js +1 -1
  243. package/dist/index.cjs251.js.map +1 -1
  244. package/dist/index.cjs254.js +1 -1
  245. package/dist/index.cjs254.js.map +1 -1
  246. package/dist/index.cjs255.js +1 -1
  247. package/dist/index.cjs255.js.map +1 -1
  248. package/dist/index.cjs256.js +1 -1
  249. package/dist/index.cjs256.js.map +1 -1
  250. package/dist/index.cjs257.js +1 -1
  251. package/dist/index.cjs257.js.map +1 -1
  252. package/dist/index.cjs258.js +1 -1
  253. package/dist/index.cjs258.js.map +1 -1
  254. package/dist/index.cjs259.js +1 -1
  255. package/dist/index.cjs259.js.map +1 -1
  256. package/dist/index.cjs260.js +1 -1
  257. package/dist/index.cjs260.js.map +1 -1
  258. package/dist/index.cjs261.js +1 -1
  259. package/dist/index.cjs261.js.map +1 -1
  260. package/dist/index.cjs262.js +1 -1
  261. package/dist/index.cjs262.js.map +1 -1
  262. package/dist/index.cjs263.js +1 -1
  263. package/dist/index.cjs263.js.map +1 -1
  264. package/dist/index.cjs264.js +1 -1
  265. package/dist/index.cjs264.js.map +1 -1
  266. package/dist/index.cjs265.js +1 -1
  267. package/dist/index.cjs265.js.map +1 -1
  268. package/dist/index.cjs266.js +1 -1
  269. package/dist/index.cjs266.js.map +1 -1
  270. package/dist/index.cjs267.js +1 -1
  271. package/dist/index.cjs267.js.map +1 -1
  272. package/dist/index.cjs268.js +1 -1
  273. package/dist/index.cjs268.js.map +1 -1
  274. package/dist/index.cjs269.js +1 -1
  275. package/dist/index.cjs269.js.map +1 -1
  276. package/dist/index.cjs270.js +1 -1
  277. package/dist/index.cjs270.js.map +1 -1
  278. package/dist/index.cjs271.js +1 -1
  279. package/dist/index.cjs271.js.map +1 -1
  280. package/dist/index.cjs272.js +1 -1
  281. package/dist/index.cjs272.js.map +1 -1
  282. package/dist/index.cjs273.js +1 -1
  283. package/dist/index.cjs273.js.map +1 -1
  284. package/dist/index.cjs274.js +1 -1
  285. package/dist/index.cjs274.js.map +1 -1
  286. package/dist/index.cjs275.js +1 -1
  287. package/dist/index.cjs275.js.map +1 -1
  288. package/dist/index.cjs276.js +1 -1
  289. package/dist/index.cjs276.js.map +1 -1
  290. package/dist/index.cjs277.js +1 -1
  291. package/dist/index.cjs277.js.map +1 -1
  292. package/dist/index.cjs278.js +1 -1
  293. package/dist/index.cjs278.js.map +1 -1
  294. package/dist/index.cjs279.js +1 -1
  295. package/dist/index.cjs279.js.map +1 -1
  296. package/dist/index.cjs280.js +1 -1
  297. package/dist/index.cjs280.js.map +1 -1
  298. package/dist/index.cjs281.js +1 -1
  299. package/dist/index.cjs281.js.map +1 -1
  300. package/dist/index.cjs282.js +1 -1
  301. package/dist/index.cjs282.js.map +1 -1
  302. package/dist/index.cjs283.js +1 -1
  303. package/dist/index.cjs283.js.map +1 -1
  304. package/dist/index.cjs284.js +1 -1
  305. package/dist/index.cjs284.js.map +1 -1
  306. package/dist/index.cjs285.js +1 -1
  307. package/dist/index.cjs285.js.map +1 -1
  308. package/dist/index.cjs286.js +1 -1
  309. package/dist/index.cjs286.js.map +1 -1
  310. package/dist/index.cjs287.js +1 -1
  311. package/dist/index.cjs287.js.map +1 -1
  312. package/dist/index.cjs288.js +1 -1
  313. package/dist/index.cjs288.js.map +1 -1
  314. package/dist/index.cjs289.js +1 -1
  315. package/dist/index.cjs289.js.map +1 -1
  316. package/dist/index.cjs290.js +1 -1
  317. package/dist/index.cjs290.js.map +1 -1
  318. package/dist/index.cjs291.js +1 -1
  319. package/dist/index.cjs291.js.map +1 -1
  320. package/dist/index.cjs292.js +1 -1
  321. package/dist/index.cjs292.js.map +1 -1
  322. package/dist/index.cjs293.js +1 -1
  323. package/dist/index.cjs293.js.map +1 -1
  324. package/dist/index.cjs294.js +1 -1
  325. package/dist/index.cjs294.js.map +1 -1
  326. package/dist/index.cjs295.js +1 -1
  327. package/dist/index.cjs295.js.map +1 -1
  328. package/dist/index.cjs296.js +1 -1
  329. package/dist/index.cjs296.js.map +1 -1
  330. package/dist/index.cjs297.js +1 -1
  331. package/dist/index.cjs297.js.map +1 -1
  332. package/dist/index.cjs298.js +1 -1
  333. package/dist/index.cjs298.js.map +1 -1
  334. package/dist/index.cjs299.js +1 -1
  335. package/dist/index.cjs299.js.map +1 -1
  336. package/dist/index.cjs300.js +1 -1
  337. package/dist/index.cjs300.js.map +1 -1
  338. package/dist/index.cjs301.js +1 -1
  339. package/dist/index.cjs301.js.map +1 -1
  340. package/dist/index.cjs302.js +13 -1
  341. package/dist/index.cjs302.js.map +1 -1
  342. package/dist/index.cjs303.js +1 -1
  343. package/dist/index.cjs303.js.map +1 -1
  344. package/dist/index.cjs304.js +1 -13
  345. package/dist/index.cjs304.js.map +1 -1
  346. package/dist/index.cjs305.js +1 -1
  347. package/dist/index.cjs305.js.map +1 -1
  348. package/dist/index.cjs306.js +1 -1
  349. package/dist/index.cjs306.js.map +1 -1
  350. package/dist/index.cjs307.js +1 -1
  351. package/dist/index.cjs307.js.map +1 -1
  352. package/dist/index.cjs308.js +1 -1
  353. package/dist/index.cjs308.js.map +1 -1
  354. package/dist/index.cjs309.js +1 -1
  355. package/dist/index.cjs309.js.map +1 -1
  356. package/dist/index.cjs310.js +1 -1
  357. package/dist/index.cjs310.js.map +1 -1
  358. package/dist/index.cjs311.js +1 -1
  359. package/dist/index.cjs311.js.map +1 -1
  360. package/dist/index.cjs312.js +1 -1
  361. package/dist/index.cjs312.js.map +1 -1
  362. package/dist/index.cjs313.js +1 -1
  363. package/dist/index.cjs313.js.map +1 -1
  364. package/dist/index.cjs314.js +1 -1
  365. package/dist/index.cjs314.js.map +1 -1
  366. package/dist/index.cjs315.js +1 -1
  367. package/dist/index.cjs315.js.map +1 -1
  368. package/dist/index.cjs316.js +1 -1
  369. package/dist/index.cjs316.js.map +1 -1
  370. package/dist/index.cjs317.js +1 -1
  371. package/dist/index.cjs317.js.map +1 -1
  372. package/dist/index.cjs318.js +1 -1
  373. package/dist/index.cjs318.js.map +1 -1
  374. package/dist/index.cjs319.js +1 -1
  375. package/dist/index.cjs319.js.map +1 -1
  376. package/dist/index.cjs320.js +1 -1
  377. package/dist/index.cjs320.js.map +1 -1
  378. package/dist/index.cjs321.js +1 -1
  379. package/dist/index.cjs321.js.map +1 -1
  380. package/dist/index.cjs322.js +1 -1
  381. package/dist/index.cjs322.js.map +1 -1
  382. package/dist/index.cjs323.js +1 -1
  383. package/dist/index.cjs323.js.map +1 -1
  384. package/dist/index.cjs324.js +1 -1
  385. package/dist/index.cjs324.js.map +1 -1
  386. package/dist/index.cjs325.js +1 -1
  387. package/dist/index.cjs325.js.map +1 -1
  388. package/dist/index.cjs326.js +1 -1
  389. package/dist/index.cjs326.js.map +1 -1
  390. package/dist/index.cjs327.js +1 -1
  391. package/dist/index.cjs327.js.map +1 -1
  392. package/dist/index.cjs328.js +1 -1
  393. package/dist/index.cjs328.js.map +1 -1
  394. package/dist/index.cjs329.js +1 -1
  395. package/dist/index.cjs329.js.map +1 -1
  396. package/dist/index.cjs330.js +1 -1
  397. package/dist/index.cjs330.js.map +1 -1
  398. package/dist/index.cjs331.js +1 -1
  399. package/dist/index.cjs331.js.map +1 -1
  400. package/dist/index.cjs332.js +1 -1
  401. package/dist/index.cjs332.js.map +1 -1
  402. package/dist/index.cjs333.js +1 -1
  403. package/dist/index.cjs333.js.map +1 -1
  404. package/dist/index.cjs334.js +1 -1
  405. package/dist/index.cjs334.js.map +1 -1
  406. package/dist/index.cjs335.js +1 -1
  407. package/dist/index.cjs335.js.map +1 -1
  408. package/dist/index.cjs336.js +1 -1
  409. package/dist/index.cjs336.js.map +1 -1
  410. package/dist/index.cjs337.js +1 -1
  411. package/dist/index.cjs337.js.map +1 -1
  412. package/dist/index.cjs338.js +1 -1
  413. package/dist/index.cjs338.js.map +1 -1
  414. package/dist/index.cjs339.js +1 -1
  415. package/dist/index.cjs339.js.map +1 -1
  416. package/dist/index.cjs340.js +1 -1
  417. package/dist/index.cjs340.js.map +1 -1
  418. package/dist/index.cjs341.js +1 -1
  419. package/dist/index.cjs341.js.map +1 -1
  420. package/dist/index.cjs342.js +1 -1
  421. package/dist/index.cjs342.js.map +1 -1
  422. package/dist/index.cjs343.js +1 -1
  423. package/dist/index.cjs343.js.map +1 -1
  424. package/dist/index.cjs344.js +1 -1
  425. package/dist/index.cjs344.js.map +1 -1
  426. package/dist/index.cjs345.js +1 -1
  427. package/dist/index.cjs345.js.map +1 -1
  428. package/dist/index.cjs346.js +1 -1
  429. package/dist/index.cjs346.js.map +1 -1
  430. package/dist/index.cjs347.js +1 -1
  431. package/dist/index.cjs347.js.map +1 -1
  432. package/dist/index.cjs348.js +1 -1
  433. package/dist/index.cjs348.js.map +1 -1
  434. package/dist/index.cjs349.js +1 -1
  435. package/dist/index.cjs349.js.map +1 -1
  436. package/dist/index.cjs350.js +1 -1
  437. package/dist/index.cjs350.js.map +1 -1
  438. package/dist/index.cjs351.js +1 -1
  439. package/dist/index.cjs351.js.map +1 -1
  440. package/dist/index.cjs352.js +1 -1
  441. package/dist/index.cjs352.js.map +1 -1
  442. package/dist/index.cjs353.js +1 -1
  443. package/dist/index.cjs353.js.map +1 -1
  444. package/dist/index.cjs354.js +1 -1
  445. package/dist/index.cjs354.js.map +1 -1
  446. package/dist/index.cjs355.js +1 -1
  447. package/dist/index.cjs355.js.map +1 -1
  448. package/dist/index.cjs356.js +1 -1
  449. package/dist/index.cjs356.js.map +1 -1
  450. package/dist/index.cjs357.js +1 -1
  451. package/dist/index.cjs357.js.map +1 -1
  452. package/dist/index.cjs358.js +1 -1
  453. package/dist/index.cjs358.js.map +1 -1
  454. package/dist/index.cjs359.js +1 -1
  455. package/dist/index.cjs359.js.map +1 -1
  456. package/dist/index.cjs360.js +1 -1
  457. package/dist/index.cjs360.js.map +1 -1
  458. package/dist/index.cjs361.js +1 -1
  459. package/dist/index.cjs361.js.map +1 -1
  460. package/dist/index.cjs362.js +1 -1
  461. package/dist/index.cjs362.js.map +1 -1
  462. package/dist/index.cjs363.js +1 -1
  463. package/dist/index.cjs363.js.map +1 -1
  464. package/dist/index.cjs364.js +1 -1
  465. package/dist/index.cjs364.js.map +1 -1
  466. package/dist/index.cjs365.js +1 -1
  467. package/dist/index.cjs365.js.map +1 -1
  468. package/dist/index.cjs366.js +1 -1
  469. package/dist/index.cjs366.js.map +1 -1
  470. package/dist/index.cjs367.js +1 -1
  471. package/dist/index.cjs367.js.map +1 -1
  472. package/dist/index.cjs368.js +1 -1
  473. package/dist/index.cjs368.js.map +1 -1
  474. package/dist/index.cjs372.js +1 -1
  475. package/dist/index.cjs373.js +1 -1
  476. package/dist/index.cjs376.js +1 -1
  477. package/dist/index.cjs404.js +1 -1
  478. package/dist/index.cjs405.js +1 -1
  479. package/dist/index.cjs406.js +1 -1
  480. package/dist/index.cjs407.js +1 -1
  481. package/dist/index.cjs412.js +1 -1
  482. package/dist/index.cjs419.js +1 -1
  483. package/dist/index.cjs420.js +1 -1
  484. package/dist/index.cjs422.js +1 -1
  485. package/dist/index.cjs425.js +1 -1
  486. package/dist/index.cjs430.js +1 -1
  487. package/dist/index.cjs432.js +1 -1
  488. package/dist/index.cjs433.js +1 -1
  489. package/dist/index.cjs434.js +1 -1
  490. package/dist/index.cjs435.js +1 -1
  491. package/dist/index.cjs437.js +1 -1
  492. package/dist/index.cjs439.js +1 -1
  493. package/dist/index.cjs440.js +1 -1
  494. package/dist/index.cjs444.js +1 -1
  495. package/dist/index.cjs448.js +1 -1
  496. package/dist/index.cjs451.js +1 -1
  497. package/dist/index.cjs452.js +1 -1
  498. package/dist/index.cjs453.js +1 -1
  499. package/dist/index.cjs455.js +1 -1
  500. package/dist/index.cjs457.js +1 -1
  501. package/dist/index.cjs458.js +1 -1
  502. package/dist/index.cjs459.js +1 -1
  503. package/dist/index.cjs460.js +1 -1
  504. package/dist/index.cjs462.js +1 -1
  505. package/dist/index.cjs464.js +1 -1
  506. package/dist/index.cjs466.js +1 -1
  507. package/dist/index.cjs481.js +1 -1
  508. package/dist/index.cjs491.js.map +1 -1
  509. package/dist/index.cjs492.js.map +1 -1
  510. package/dist/index.cjs494.js +2 -2
  511. package/dist/index.cjs494.js.map +1 -1
  512. package/dist/index.cjs499.js.map +1 -1
  513. package/dist/index.cjs500.js.map +1 -1
  514. package/dist/index.cjs501.js +2 -2
  515. package/dist/index.cjs501.js.map +1 -1
  516. package/dist/index.cjs502.js +1 -1
  517. package/dist/index.cjs503.js +1 -1
  518. package/dist/index.cjs503.js.map +1 -1
  519. package/dist/index.cjs504.js +1 -1
  520. package/dist/index.cjs505.js +1 -1
  521. package/dist/index.cjs507.js +1 -1
  522. package/dist/index.cjs507.js.map +1 -1
  523. package/dist/index.cjs510.js +1 -1
  524. package/dist/index.cjs510.js.map +1 -1
  525. package/dist/index.cjs511.js +1 -1
  526. package/dist/index.cjs511.js.map +1 -1
  527. package/dist/index.cjs512.js +1 -1
  528. package/dist/index.cjs513.js +1 -1
  529. package/dist/index.cjs513.js.map +1 -1
  530. package/dist/index.cjs514.js +1 -1
  531. package/dist/index.cjs514.js.map +1 -1
  532. package/dist/index.cjs515.js +1 -1
  533. package/dist/index.cjs515.js.map +1 -1
  534. package/dist/index.cjs516.js +1 -2
  535. package/dist/index.cjs516.js.map +1 -1
  536. package/dist/index.cjs517.js +1 -1
  537. package/dist/index.cjs517.js.map +1 -1
  538. package/dist/index.cjs518.js +1 -1
  539. package/dist/index.cjs518.js.map +1 -1
  540. package/dist/index.cjs519.js +1 -1
  541. package/dist/index.cjs519.js.map +1 -1
  542. package/dist/index.cjs520.js +1 -1
  543. package/dist/index.cjs520.js.map +1 -1
  544. package/dist/index.cjs521.js +1 -1
  545. package/dist/index.cjs521.js.map +1 -1
  546. package/dist/index.cjs522.js +1 -1
  547. package/dist/index.cjs522.js.map +1 -1
  548. package/dist/index.cjs523.js +1 -1
  549. package/dist/index.cjs523.js.map +1 -1
  550. package/dist/index.cjs524.js +1 -1
  551. package/dist/index.cjs524.js.map +1 -1
  552. package/dist/index.cjs525.js +1 -1
  553. package/dist/index.cjs525.js.map +1 -1
  554. package/dist/index.cjs526.js +1 -1
  555. package/dist/index.cjs526.js.map +1 -1
  556. package/dist/index.cjs527.js +1 -1
  557. package/dist/index.cjs527.js.map +1 -1
  558. package/dist/index.cjs528.js +1 -1
  559. package/dist/index.cjs528.js.map +1 -1
  560. package/dist/index.cjs529.js +1 -1
  561. package/dist/index.cjs529.js.map +1 -1
  562. package/dist/index.cjs530.js +1 -1
  563. package/dist/index.cjs530.js.map +1 -1
  564. package/dist/index.cjs531.js +1 -1
  565. package/dist/index.cjs531.js.map +1 -1
  566. package/dist/index.cjs532.js +1 -1
  567. package/dist/index.cjs532.js.map +1 -1
  568. package/dist/index.cjs533.js +1 -1
  569. package/dist/index.cjs533.js.map +1 -1
  570. package/dist/index.cjs534.js +1 -1
  571. package/dist/index.cjs534.js.map +1 -1
  572. package/dist/index.cjs535.js +1 -1
  573. package/dist/index.cjs535.js.map +1 -1
  574. package/dist/index.cjs536.js +1 -1
  575. package/dist/index.cjs536.js.map +1 -1
  576. package/dist/index.cjs537.js +1 -1
  577. package/dist/index.cjs537.js.map +1 -1
  578. package/dist/index.cjs538.js +1 -1
  579. package/dist/index.cjs538.js.map +1 -1
  580. package/dist/index.cjs539.js +1 -1
  581. package/dist/index.cjs539.js.map +1 -1
  582. package/dist/index.cjs540.js +1 -1
  583. package/dist/index.cjs540.js.map +1 -1
  584. package/dist/index.cjs541.js +1 -1
  585. package/dist/index.cjs541.js.map +1 -1
  586. package/dist/index.cjs542.js +1 -1
  587. package/dist/index.cjs542.js.map +1 -1
  588. package/dist/index.cjs543.js +1 -1
  589. package/dist/index.cjs543.js.map +1 -1
  590. package/dist/index.cjs544.js +1 -1
  591. package/dist/index.cjs544.js.map +1 -1
  592. package/dist/index.cjs545.js +1 -1
  593. package/dist/index.cjs545.js.map +1 -1
  594. package/dist/index.cjs546.js +2 -1
  595. package/dist/index.cjs546.js.map +1 -1
  596. package/dist/index.cjs547.js +1 -1
  597. package/dist/index.cjs549.js +1 -1
  598. package/dist/index.cjs549.js.map +1 -1
  599. package/dist/index.cjs550.js +1 -1
  600. package/dist/index.cjs550.js.map +1 -1
  601. package/dist/index.cjs551.js +2 -1
  602. package/dist/index.cjs551.js.map +1 -1
  603. package/dist/index.cjs552.js +1 -2
  604. package/dist/index.cjs552.js.map +1 -1
  605. package/dist/index.cjs553.js +1 -1
  606. package/dist/index.cjs560.js +1 -1
  607. package/dist/index.cjs565.js +19 -19
  608. package/dist/index.cjs565.js.map +1 -1
  609. package/dist/index.cjs566.js +1 -1
  610. package/dist/index.cjs567.js.map +1 -1
  611. package/dist/index.cjs568.js +1 -1
  612. package/dist/index.cjs568.js.map +1 -1
  613. package/dist/index.cjs57.js +1 -1
  614. package/dist/index.cjs573.js +19 -19
  615. package/dist/index.cjs573.js.map +1 -1
  616. package/dist/index.cjs574.js.map +1 -1
  617. package/dist/index.cjs575.js +1 -1
  618. package/dist/index.cjs575.js.map +1 -1
  619. package/dist/index.cjs576.js +1 -1
  620. package/dist/index.cjs576.js.map +1 -1
  621. package/dist/index.cjs577.js +1 -1
  622. package/dist/index.cjs577.js.map +1 -1
  623. package/dist/index.cjs578.js +1 -1
  624. package/dist/index.cjs578.js.map +1 -1
  625. package/dist/index.cjs581.js +1 -1
  626. package/dist/index.cjs582.js +1 -1
  627. package/dist/index.cjs582.js.map +1 -1
  628. package/dist/index.cjs583.js +1 -1
  629. package/dist/index.cjs584.js +1 -1
  630. package/dist/index.cjs584.js.map +1 -1
  631. package/dist/index.cjs585.js +1 -1
  632. package/dist/index.cjs586.js +1 -1
  633. package/dist/index.cjs586.js.map +1 -1
  634. package/dist/index.cjs587.js +1 -1
  635. package/dist/index.cjs587.js.map +1 -1
  636. package/dist/index.cjs588.js +1 -1
  637. package/dist/index.cjs588.js.map +1 -1
  638. package/dist/index.cjs589.js +1 -1
  639. package/dist/index.cjs589.js.map +1 -1
  640. package/dist/index.cjs591.js +7 -1
  641. package/dist/index.cjs591.js.map +1 -1
  642. package/dist/index.cjs592.js +1 -7
  643. package/dist/index.cjs592.js.map +1 -1
  644. package/dist/index.cjs593.js +1 -1
  645. package/dist/index.cjs593.js.map +1 -1
  646. package/dist/index.cjs594.js +1 -1
  647. package/dist/index.cjs594.js.map +1 -1
  648. package/dist/index.cjs595.js +1 -1
  649. package/dist/index.cjs595.js.map +1 -1
  650. package/dist/index.cjs596.js +1 -1
  651. package/dist/index.cjs596.js.map +1 -1
  652. package/dist/index.cjs597.js +1 -1
  653. package/dist/index.cjs597.js.map +1 -1
  654. package/dist/index.cjs60.js +1 -1
  655. package/dist/index.cjs607.js +1 -1
  656. package/dist/index.cjs607.js.map +1 -1
  657. package/dist/index.cjs608.js +1 -1
  658. package/dist/index.cjs608.js.map +1 -1
  659. package/dist/index.cjs609.js +1 -1
  660. package/dist/index.cjs609.js.map +1 -1
  661. package/dist/index.cjs610.js +1 -1
  662. package/dist/index.cjs611.js +1 -1
  663. package/dist/index.cjs611.js.map +1 -1
  664. package/dist/index.cjs612.js +1 -1
  665. package/dist/index.cjs612.js.map +1 -1
  666. package/dist/index.cjs614.js +1 -1
  667. package/dist/index.cjs614.js.map +1 -1
  668. package/dist/index.cjs615.js +1 -1
  669. package/dist/index.cjs616.js +1 -1
  670. package/dist/index.cjs617.js +1 -1
  671. package/dist/index.cjs618.js +1 -1
  672. package/dist/index.cjs620.js +1 -1
  673. package/dist/index.cjs621.js +1 -1
  674. package/dist/index.cjs622.js +1 -1
  675. package/dist/index.cjs623.js +1 -1
  676. package/dist/index.cjs623.js.map +1 -1
  677. package/dist/index.cjs624.js +1 -1
  678. package/dist/index.cjs634.js +1 -1
  679. package/dist/index.cjs636.js +1 -1
  680. package/dist/index.cjs636.js.map +1 -1
  681. package/dist/index.cjs642.js +1 -1
  682. package/dist/index.cjs642.js.map +1 -1
  683. package/dist/index.cjs646.js +1 -1
  684. package/dist/index.cjs647.js +1 -1
  685. package/dist/index.cjs651.js +1 -1
  686. package/dist/index.cjs651.js.map +1 -1
  687. package/dist/index.cjs652.js +1 -1
  688. package/dist/index.cjs652.js.map +1 -1
  689. package/dist/index.cjs653.js +1 -1
  690. package/dist/index.cjs653.js.map +1 -1
  691. package/dist/index.cjs654.js +1 -1
  692. package/dist/index.cjs654.js.map +1 -1
  693. package/dist/index.cjs656.js.map +1 -1
  694. package/dist/index.cjs66.js +1 -1
  695. package/dist/index.cjs673.js +1 -1
  696. package/dist/index.cjs678.js +1 -1
  697. package/dist/index.cjs679.js +1 -1
  698. package/dist/index.cjs679.js.map +1 -1
  699. package/dist/index.cjs680.js +1 -1
  700. package/dist/index.cjs680.js.map +1 -1
  701. package/dist/index.cjs681.js +1 -1
  702. package/dist/index.cjs681.js.map +1 -1
  703. package/dist/index.cjs682.js +1 -2
  704. package/dist/index.cjs682.js.map +1 -1
  705. package/dist/index.cjs683.js +2 -1
  706. package/dist/index.cjs683.js.map +1 -1
  707. package/dist/index.cjs684.js +1 -1
  708. package/dist/index.cjs684.js.map +1 -1
  709. package/dist/index.cjs685.js +1 -1
  710. package/dist/index.cjs685.js.map +1 -1
  711. package/dist/index.cjs71.js +1 -1
  712. package/dist/index.cjs72.js +1 -1
  713. package/dist/index.cjs73.js +1 -1
  714. package/dist/index.cjs74.js +1 -1
  715. package/dist/index.cjs76.js +1 -1
  716. package/dist/index.cjs77.js +1 -1
  717. package/dist/index.cjs78.js +1 -1
  718. package/dist/index.cjs79.js +1 -1
  719. package/dist/index.cjs80.js +1 -1
  720. package/dist/index.cjs81.js +1 -1
  721. package/dist/index.cjs82.js +1 -1
  722. package/dist/index.cjs83.js +1 -1
  723. package/dist/index.cjs84.js +1 -1
  724. package/dist/index.cjs85.js +1 -1
  725. package/dist/index.cjs86.js +1 -1
  726. package/dist/index.cjs89.js +1 -1
  727. package/dist/index.cjs93.js +1 -1
  728. package/dist/index.cjs97.js +1 -1
  729. package/dist/index.es101.js +8 -8
  730. package/dist/index.es106.js +4 -4
  731. package/dist/index.es107.js +10 -10
  732. package/dist/index.es110.js +2 -2
  733. package/dist/index.es117.js +12 -12
  734. package/dist/index.es122.js +10 -3
  735. package/dist/index.es122.js.map +1 -1
  736. package/dist/index.es123.js +5 -5
  737. package/dist/index.es123.js.map +1 -1
  738. package/dist/index.es124.js +11 -9
  739. package/dist/index.es124.js.map +1 -1
  740. package/dist/index.es125.js +72 -39
  741. package/dist/index.es125.js.map +1 -1
  742. package/dist/index.es126.js +32 -27
  743. package/dist/index.es126.js.map +1 -1
  744. package/dist/index.es127.js +41 -7
  745. package/dist/index.es127.js.map +1 -1
  746. package/dist/index.es128.js +487 -5
  747. package/dist/index.es128.js.map +1 -1
  748. package/dist/index.es129.js +15 -24
  749. package/dist/index.es129.js.map +1 -1
  750. package/dist/index.es130.js +505 -29
  751. package/dist/index.es130.js.map +1 -1
  752. package/dist/index.es131.js +102 -44
  753. package/dist/index.es131.js.map +1 -1
  754. package/dist/index.es132.js +86 -6
  755. package/dist/index.es132.js.map +1 -1
  756. package/dist/index.es133.js +375 -12
  757. package/dist/index.es133.js.map +1 -1
  758. package/dist/index.es134.js +121 -51
  759. package/dist/index.es134.js.map +1 -1
  760. package/dist/index.es135.js +671 -118
  761. package/dist/index.es135.js.map +1 -1
  762. package/dist/index.es136.js +16848 -10
  763. package/dist/index.es136.js.map +1 -1
  764. package/dist/index.es137.js +149 -217
  765. package/dist/index.es137.js.map +1 -1
  766. package/dist/index.es138.js +7 -64
  767. package/dist/index.es138.js.map +1 -1
  768. package/dist/index.es139.js +187 -31
  769. package/dist/index.es139.js.map +1 -1
  770. package/dist/index.es140.js +804 -40
  771. package/dist/index.es140.js.map +1 -1
  772. package/dist/index.es141.js +10069 -28
  773. package/dist/index.es141.js.map +1 -1
  774. package/dist/index.es142.js +96 -28
  775. package/dist/index.es142.js.map +1 -1
  776. package/dist/index.es143.js +16 -10
  777. package/dist/index.es143.js.map +1 -1
  778. package/dist/index.es144.js +3 -6
  779. package/dist/index.es144.js.map +1 -1
  780. package/dist/index.es145.js +6 -13
  781. package/dist/index.es145.js.map +1 -1
  782. package/dist/index.es146.js +10 -84
  783. package/dist/index.es146.js.map +1 -1
  784. package/dist/index.es147.js +51 -33
  785. package/dist/index.es147.js.map +1 -1
  786. package/dist/index.es148.js +28 -40
  787. package/dist/index.es148.js.map +1 -1
  788. package/dist/index.es149.js +7 -487
  789. package/dist/index.es149.js.map +1 -1
  790. package/dist/index.es150.js +5 -15
  791. package/dist/index.es150.js.map +1 -1
  792. package/dist/index.es151.js +23 -503
  793. package/dist/index.es151.js.map +1 -1
  794. package/dist/index.es152.js +28 -104
  795. package/dist/index.es152.js.map +1 -1
  796. package/dist/index.es153.js +43 -83
  797. package/dist/index.es153.js.map +1 -1
  798. package/dist/index.es154.js +6 -374
  799. package/dist/index.es154.js.map +1 -1
  800. package/dist/index.es155.js +10 -121
  801. package/dist/index.es155.js.map +1 -1
  802. package/dist/index.es156.js +47 -672
  803. package/dist/index.es156.js.map +1 -1
  804. package/dist/index.es157.js +113 -16837
  805. package/dist/index.es157.js.map +1 -1
  806. package/dist/index.es158.js +10 -150
  807. package/dist/index.es158.js.map +1 -1
  808. package/dist/index.es159.js +219 -7
  809. package/dist/index.es159.js.map +1 -1
  810. package/dist/index.es160.js +60 -185
  811. package/dist/index.es160.js.map +1 -1
  812. package/dist/index.es161.js +32 -809
  813. package/dist/index.es161.js.map +1 -1
  814. package/dist/index.es162.js +44 -10069
  815. package/dist/index.es162.js.map +1 -1
  816. package/dist/index.es163.js +29 -97
  817. package/dist/index.es163.js.map +1 -1
  818. package/dist/index.es164.js +30 -17
  819. package/dist/index.es164.js.map +1 -1
  820. package/dist/index.es168.js +1 -1
  821. package/dist/index.es169.js +1 -1
  822. package/dist/index.es170.js +2 -2
  823. package/dist/index.es171.js +1 -1
  824. package/dist/index.es172.js +1 -1
  825. package/dist/index.es173.js +1 -1
  826. package/dist/index.es179.js +12 -9
  827. package/dist/index.es179.js.map +1 -1
  828. package/dist/index.es180.js +51 -4
  829. package/dist/index.es180.js.map +1 -1
  830. package/dist/index.es181.js +56 -44
  831. package/dist/index.es181.js.map +1 -1
  832. package/dist/index.es182.js +6 -10
  833. package/dist/index.es182.js.map +1 -1
  834. package/dist/index.es183.js +132 -10
  835. package/dist/index.es183.js.map +1 -1
  836. package/dist/index.es184.js +18 -4
  837. package/dist/index.es184.js.map +1 -1
  838. package/dist/index.es185.js +176 -170
  839. package/dist/index.es185.js.map +1 -1
  840. package/dist/index.es186.js +214 -19
  841. package/dist/index.es186.js.map +1 -1
  842. package/dist/index.es187.js +12 -25
  843. package/dist/index.es187.js.map +1 -1
  844. package/dist/index.es188.js +72 -375
  845. package/dist/index.es188.js.map +1 -1
  846. package/dist/index.es189.js +189 -509
  847. package/dist/index.es189.js.map +1 -1
  848. package/dist/index.es190.js +10 -14
  849. package/dist/index.es190.js.map +1 -1
  850. package/dist/index.es191.js +4 -51
  851. package/dist/index.es191.js.map +1 -1
  852. package/dist/index.es192.js +27 -57
  853. package/dist/index.es192.js.map +1 -1
  854. package/dist/index.es193.js +75 -9
  855. package/dist/index.es193.js.map +1 -1
  856. package/dist/index.es194.js +6 -134
  857. package/dist/index.es194.js.map +1 -1
  858. package/dist/index.es195.js +15 -16
  859. package/dist/index.es195.js.map +1 -1
  860. package/dist/index.es196.js +59 -174
  861. package/dist/index.es196.js.map +1 -1
  862. package/dist/index.es197.js +64 -213
  863. package/dist/index.es197.js.map +1 -1
  864. package/dist/index.es198.js +71 -12
  865. package/dist/index.es198.js.map +1 -1
  866. package/dist/index.es199.js +2 -79
  867. package/dist/index.es199.js.map +1 -1
  868. package/dist/index.es200.js +2 -197
  869. package/dist/index.es200.js.map +1 -1
  870. package/dist/index.es201.js +91 -10
  871. package/dist/index.es201.js.map +1 -1
  872. package/dist/index.es202.js +86 -4
  873. package/dist/index.es202.js.map +1 -1
  874. package/dist/index.es203.js +41 -6
  875. package/dist/index.es203.js.map +1 -1
  876. package/dist/index.es204.js +65 -9
  877. package/dist/index.es204.js.map +1 -1
  878. package/dist/index.es205.js +2 -53
  879. package/dist/index.es205.js.map +1 -1
  880. package/dist/index.es206.js +1621 -112
  881. package/dist/index.es206.js.map +1 -1
  882. package/dist/index.es207.js +33 -13
  883. package/dist/index.es207.js.map +1 -1
  884. package/dist/index.es208.js +251 -129
  885. package/dist/index.es208.js.map +1 -1
  886. package/dist/index.es209.js +34 -10
  887. package/dist/index.es209.js.map +1 -1
  888. package/dist/index.es210.js +10 -218
  889. package/dist/index.es210.js.map +1 -1
  890. package/dist/index.es211.js +4 -14
  891. package/dist/index.es211.js.map +1 -1
  892. package/dist/index.es212.js +21 -64
  893. package/dist/index.es212.js.map +1 -1
  894. package/dist/index.es213.js +6 -32
  895. package/dist/index.es213.js.map +1 -1
  896. package/dist/index.es214.js +9 -43
  897. package/dist/index.es214.js.map +1 -1
  898. package/dist/index.es215.js +50 -27
  899. package/dist/index.es215.js.map +1 -1
  900. package/dist/index.es216.js +124 -9
  901. package/dist/index.es216.js.map +1 -1
  902. package/dist/index.es217.js +13 -26
  903. package/dist/index.es217.js.map +1 -1
  904. package/dist/index.es218.js +144 -73
  905. package/dist/index.es218.js.map +1 -1
  906. package/dist/index.es219.js +11 -6
  907. package/dist/index.es219.js.map +1 -1
  908. package/dist/index.es220.js +217 -15
  909. package/dist/index.es220.js.map +1 -1
  910. package/dist/index.es221.js +14 -71
  911. package/dist/index.es221.js.map +1 -1
  912. package/dist/index.es222.js +63 -67
  913. package/dist/index.es222.js.map +1 -1
  914. package/dist/index.es223.js +32 -70
  915. package/dist/index.es223.js.map +1 -1
  916. package/dist/index.es224.js +46 -2
  917. package/dist/index.es224.js.map +1 -1
  918. package/dist/index.es225.js +30 -2
  919. package/dist/index.es225.js.map +1 -1
  920. package/dist/index.es226.js +10 -91
  921. package/dist/index.es226.js.map +1 -1
  922. package/dist/index.es227.js +10 -85
  923. package/dist/index.es227.js.map +1 -1
  924. package/dist/index.es228.js +4 -42
  925. package/dist/index.es228.js.map +1 -1
  926. package/dist/index.es229.js +45 -67
  927. package/dist/index.es229.js.map +1 -1
  928. package/dist/index.es230.js +11 -2
  929. package/dist/index.es230.js.map +1 -1
  930. package/dist/index.es231.js +10 -1632
  931. package/dist/index.es231.js.map +1 -1
  932. package/dist/index.es232.js +4 -35
  933. package/dist/index.es232.js.map +1 -1
  934. package/dist/index.es233.js +166 -252
  935. package/dist/index.es233.js.map +1 -1
  936. package/dist/index.es234.js +22 -35
  937. package/dist/index.es234.js.map +1 -1
  938. package/dist/index.es235.js +23 -9
  939. package/dist/index.es235.js.map +1 -1
  940. package/dist/index.es236.js +381 -3
  941. package/dist/index.es236.js.map +1 -1
  942. package/dist/index.es237.js +516 -20
  943. package/dist/index.es237.js.map +1 -1
  944. package/dist/index.es238.js +4 -6
  945. package/dist/index.es238.js.map +1 -1
  946. package/dist/index.es239.js +10 -4
  947. package/dist/index.es239.js.map +1 -1
  948. package/dist/index.es240.js +11 -24
  949. package/dist/index.es240.js.map +1 -1
  950. package/dist/index.es241.js +6 -4
  951. package/dist/index.es241.js.map +1 -1
  952. package/dist/index.es242.js +4 -10
  953. package/dist/index.es242.js.map +1 -1
  954. package/dist/index.es243.js +24 -11
  955. package/dist/index.es243.js.map +1 -1
  956. package/dist/index.es244.js +14 -10
  957. package/dist/index.es244.js.map +1 -1
  958. package/dist/index.es245.js +17 -12
  959. package/dist/index.es245.js.map +1 -1
  960. package/dist/index.es246.js +23 -4
  961. package/dist/index.es246.js.map +1 -1
  962. package/dist/index.es247.js +11 -22
  963. package/dist/index.es247.js.map +1 -1
  964. package/dist/index.es248.js +11 -24
  965. package/dist/index.es248.js.map +1 -1
  966. package/dist/index.es249.js +4 -15
  967. package/dist/index.es249.js.map +1 -1
  968. package/dist/index.es250.js +22 -17
  969. package/dist/index.es250.js.map +1 -1
  970. package/dist/index.es251.js +24 -22
  971. package/dist/index.es251.js.map +1 -1
  972. package/dist/index.es254.js +273 -118
  973. package/dist/index.es254.js.map +1 -1
  974. package/dist/index.es255.js +14 -105
  975. package/dist/index.es255.js.map +1 -1
  976. package/dist/index.es256.js +19 -273
  977. package/dist/index.es256.js.map +1 -1
  978. package/dist/index.es257.js +4 -14
  979. package/dist/index.es257.js.map +1 -1
  980. package/dist/index.es258.js +3 -18
  981. package/dist/index.es258.js.map +1 -1
  982. package/dist/index.es259.js +2 -3
  983. package/dist/index.es259.js.map +1 -1
  984. package/dist/index.es260.js +4 -3
  985. package/dist/index.es260.js.map +1 -1
  986. package/dist/index.es261.js +1 -1
  987. package/dist/index.es261.js.map +1 -1
  988. package/dist/index.es262.js +3 -5
  989. package/dist/index.es262.js.map +1 -1
  990. package/dist/index.es263.js +3 -4
  991. package/dist/index.es263.js.map +1 -1
  992. package/dist/index.es264.js +2 -2
  993. package/dist/index.es264.js.map +1 -1
  994. package/dist/index.es265.js +2 -2
  995. package/dist/index.es265.js.map +1 -1
  996. package/dist/index.es266.js +3 -3
  997. package/dist/index.es266.js.map +1 -1
  998. package/dist/index.es267.js +3 -3
  999. package/dist/index.es267.js.map +1 -1
  1000. package/dist/index.es268.js +2 -2
  1001. package/dist/index.es268.js.map +1 -1
  1002. package/dist/index.es269.js +10 -3
  1003. package/dist/index.es269.js.map +1 -1
  1004. package/dist/index.es270.js +4 -3
  1005. package/dist/index.es270.js.map +1 -1
  1006. package/dist/index.es271.js +5 -9
  1007. package/dist/index.es271.js.map +1 -1
  1008. package/dist/index.es272.js +6 -4
  1009. package/dist/index.es272.js.map +1 -1
  1010. package/dist/index.es273.js +9 -5
  1011. package/dist/index.es273.js.map +1 -1
  1012. package/dist/index.es274.js +11 -5
  1013. package/dist/index.es274.js.map +1 -1
  1014. package/dist/index.es275.js +12 -9
  1015. package/dist/index.es275.js.map +1 -1
  1016. package/dist/index.es276.js +85 -11
  1017. package/dist/index.es276.js.map +1 -1
  1018. package/dist/index.es277.js +3 -13
  1019. package/dist/index.es277.js.map +1 -1
  1020. package/dist/index.es278.js +14 -85
  1021. package/dist/index.es278.js.map +1 -1
  1022. package/dist/index.es279.js +12 -3
  1023. package/dist/index.es279.js.map +1 -1
  1024. package/dist/index.es280.js +6 -14
  1025. package/dist/index.es280.js.map +1 -1
  1026. package/dist/index.es281.js +6 -11
  1027. package/dist/index.es281.js.map +1 -1
  1028. package/dist/index.es282.js +5 -5
  1029. package/dist/index.es282.js.map +1 -1
  1030. package/dist/index.es283.js +7 -6
  1031. package/dist/index.es283.js.map +1 -1
  1032. package/dist/index.es284.js +3 -6
  1033. package/dist/index.es284.js.map +1 -1
  1034. package/dist/index.es285.js +4 -8
  1035. package/dist/index.es285.js.map +1 -1
  1036. package/dist/index.es286.js +2 -2
  1037. package/dist/index.es286.js.map +1 -1
  1038. package/dist/index.es287.js +7 -4
  1039. package/dist/index.es287.js.map +1 -1
  1040. package/dist/index.es288.js +7 -4
  1041. package/dist/index.es288.js.map +1 -1
  1042. package/dist/index.es289.js +3 -6
  1043. package/dist/index.es289.js.map +1 -1
  1044. package/dist/index.es290.js +7 -6
  1045. package/dist/index.es290.js.map +1 -1
  1046. package/dist/index.es291.js +12 -3
  1047. package/dist/index.es291.js.map +1 -1
  1048. package/dist/index.es292.js +10 -7
  1049. package/dist/index.es292.js.map +1 -1
  1050. package/dist/index.es293.js +3 -12
  1051. package/dist/index.es293.js.map +1 -1
  1052. package/dist/index.es294.js +5 -10
  1053. package/dist/index.es294.js.map +1 -1
  1054. package/dist/index.es295.js +2 -3
  1055. package/dist/index.es295.js.map +1 -1
  1056. package/dist/index.es296.js +6 -4
  1057. package/dist/index.es296.js.map +1 -1
  1058. package/dist/index.es297.js +7 -2
  1059. package/dist/index.es297.js.map +1 -1
  1060. package/dist/index.es298.js +6 -6
  1061. package/dist/index.es298.js.map +1 -1
  1062. package/dist/index.es299.js +8 -7
  1063. package/dist/index.es299.js.map +1 -1
  1064. package/dist/index.es300.js +3 -7
  1065. package/dist/index.es300.js.map +1 -1
  1066. package/dist/index.es301.js +4 -9
  1067. package/dist/index.es301.js.map +1 -1
  1068. package/dist/index.es302.js +57 -3
  1069. package/dist/index.es302.js.map +1 -1
  1070. package/dist/index.es303.js +14 -4
  1071. package/dist/index.es303.js.map +1 -1
  1072. package/dist/index.es304.js +5 -57
  1073. package/dist/index.es304.js.map +1 -1
  1074. package/dist/index.es305.js +5 -13
  1075. package/dist/index.es305.js.map +1 -1
  1076. package/dist/index.es306.js +8 -5
  1077. package/dist/index.es306.js.map +1 -1
  1078. package/dist/index.es307.js +16 -5
  1079. package/dist/index.es307.js.map +1 -1
  1080. package/dist/index.es308.js +13 -8
  1081. package/dist/index.es308.js.map +1 -1
  1082. package/dist/index.es309.js +4 -16
  1083. package/dist/index.es309.js.map +1 -1
  1084. package/dist/index.es310.js +5 -13
  1085. package/dist/index.es310.js.map +1 -1
  1086. package/dist/index.es311.js +8 -4
  1087. package/dist/index.es311.js.map +1 -1
  1088. package/dist/index.es312.js +4 -3
  1089. package/dist/index.es312.js.map +1 -1
  1090. package/dist/index.es313.js +4 -6
  1091. package/dist/index.es313.js.map +1 -1
  1092. package/dist/index.es314.js +8 -6
  1093. package/dist/index.es314.js.map +1 -1
  1094. package/dist/index.es315.js +3 -7
  1095. package/dist/index.es315.js.map +1 -1
  1096. package/dist/index.es316.js +3 -9
  1097. package/dist/index.es316.js.map +1 -1
  1098. package/dist/index.es317.js +11 -3
  1099. package/dist/index.es317.js.map +1 -1
  1100. package/dist/index.es318.js +5 -3
  1101. package/dist/index.es318.js.map +1 -1
  1102. package/dist/index.es319.js +4 -11
  1103. package/dist/index.es319.js.map +1 -1
  1104. package/dist/index.es320.js +9 -5
  1105. package/dist/index.es320.js.map +1 -1
  1106. package/dist/index.es321.js +6 -4
  1107. package/dist/index.es321.js.map +1 -1
  1108. package/dist/index.es322.js +16 -8
  1109. package/dist/index.es322.js.map +1 -1
  1110. package/dist/index.es323.js +11 -5
  1111. package/dist/index.es323.js.map +1 -1
  1112. package/dist/index.es324.js +3 -17
  1113. package/dist/index.es324.js.map +1 -1
  1114. package/dist/index.es325.js +3 -12
  1115. package/dist/index.es325.js.map +1 -1
  1116. package/dist/index.es326.js +9 -3
  1117. package/dist/index.es326.js.map +1 -1
  1118. package/dist/index.es327.js +7 -3
  1119. package/dist/index.es327.js.map +1 -1
  1120. package/dist/index.es328.js +12 -8
  1121. package/dist/index.es328.js.map +1 -1
  1122. package/dist/index.es329.js +12 -6
  1123. package/dist/index.es329.js.map +1 -1
  1124. package/dist/index.es330.js +6 -12
  1125. package/dist/index.es330.js.map +1 -1
  1126. package/dist/index.es331.js +5 -12
  1127. package/dist/index.es331.js.map +1 -1
  1128. package/dist/index.es332.js +5 -6
  1129. package/dist/index.es332.js.map +1 -1
  1130. package/dist/index.es333.js +16 -5
  1131. package/dist/index.es333.js.map +1 -1
  1132. package/dist/index.es334.js +16 -5
  1133. package/dist/index.es334.js.map +1 -1
  1134. package/dist/index.es335.js +4 -16
  1135. package/dist/index.es335.js.map +1 -1
  1136. package/dist/index.es336.js +15 -15
  1137. package/dist/index.es336.js.map +1 -1
  1138. package/dist/index.es337.js +22 -4
  1139. package/dist/index.es337.js.map +1 -1
  1140. package/dist/index.es338.js +6 -17
  1141. package/dist/index.es338.js.map +1 -1
  1142. package/dist/index.es339.js +5 -23
  1143. package/dist/index.es339.js.map +1 -1
  1144. package/dist/index.es340.js +5 -5
  1145. package/dist/index.es340.js.map +1 -1
  1146. package/dist/index.es341.js +5 -5
  1147. package/dist/index.es341.js.map +1 -1
  1148. package/dist/index.es342.js +12 -6
  1149. package/dist/index.es342.js.map +1 -1
  1150. package/dist/index.es343.js +6 -5
  1151. package/dist/index.es343.js.map +1 -1
  1152. package/dist/index.es344.js +4 -11
  1153. package/dist/index.es344.js.map +1 -1
  1154. package/dist/index.es345.js +4 -5
  1155. package/dist/index.es345.js.map +1 -1
  1156. package/dist/index.es346.js +3 -3
  1157. package/dist/index.es346.js.map +1 -1
  1158. package/dist/index.es347.js +3 -3
  1159. package/dist/index.es347.js.map +1 -1
  1160. package/dist/index.es348.js +4 -4
  1161. package/dist/index.es348.js.map +1 -1
  1162. package/dist/index.es349.js +4 -4
  1163. package/dist/index.es349.js.map +1 -1
  1164. package/dist/index.es350.js +12 -4
  1165. package/dist/index.es350.js.map +1 -1
  1166. package/dist/index.es351.js +14 -4
  1167. package/dist/index.es351.js.map +1 -1
  1168. package/dist/index.es352.js +8 -12
  1169. package/dist/index.es352.js.map +1 -1
  1170. package/dist/index.es353.js +6 -14
  1171. package/dist/index.es353.js.map +1 -1
  1172. package/dist/index.es354.js +6 -8
  1173. package/dist/index.es354.js.map +1 -1
  1174. package/dist/index.es355.js +8 -6
  1175. package/dist/index.es355.js.map +1 -1
  1176. package/dist/index.es356.js +2 -7
  1177. package/dist/index.es356.js.map +1 -1
  1178. package/dist/index.es357.js +11 -9
  1179. package/dist/index.es357.js.map +1 -1
  1180. package/dist/index.es358.js +16 -2
  1181. package/dist/index.es358.js.map +1 -1
  1182. package/dist/index.es359.js +32 -11
  1183. package/dist/index.es359.js.map +1 -1
  1184. package/dist/index.es360.js +11 -15
  1185. package/dist/index.es360.js.map +1 -1
  1186. package/dist/index.es361.js +17 -28
  1187. package/dist/index.es361.js.map +1 -1
  1188. package/dist/index.es362.js +43 -10
  1189. package/dist/index.es362.js.map +1 -1
  1190. package/dist/index.es363.js +41 -20
  1191. package/dist/index.es363.js.map +1 -1
  1192. package/dist/index.es364.js +271 -38
  1193. package/dist/index.es364.js.map +1 -1
  1194. package/dist/index.es365.js +243 -41
  1195. package/dist/index.es365.js.map +1 -1
  1196. package/dist/index.es366.js +38 -269
  1197. package/dist/index.es366.js.map +1 -1
  1198. package/dist/index.es367.js +116 -242
  1199. package/dist/index.es367.js.map +1 -1
  1200. package/dist/index.es368.js +105 -46
  1201. package/dist/index.es368.js.map +1 -1
  1202. package/dist/index.es372.js +1 -1
  1203. package/dist/index.es373.js +1 -1
  1204. package/dist/index.es376.js +1 -1
  1205. package/dist/index.es404.js +2 -2
  1206. package/dist/index.es405.js +2 -2
  1207. package/dist/index.es406.js +2 -2
  1208. package/dist/index.es407.js +2 -2
  1209. package/dist/index.es412.js +1 -1
  1210. package/dist/index.es419.js +1 -1
  1211. package/dist/index.es420.js +1 -1
  1212. package/dist/index.es422.js +1 -1
  1213. package/dist/index.es425.js +1 -1
  1214. package/dist/index.es430.js +1 -1
  1215. package/dist/index.es432.js +1 -1
  1216. package/dist/index.es433.js +5 -5
  1217. package/dist/index.es434.js +1 -1
  1218. package/dist/index.es435.js +1 -1
  1219. package/dist/index.es437.js +1 -1
  1220. package/dist/index.es439.js +1 -1
  1221. package/dist/index.es440.js +1 -1
  1222. package/dist/index.es444.js +1 -1
  1223. package/dist/index.es448.js +2 -2
  1224. package/dist/index.es451.js +18 -18
  1225. package/dist/index.es452.js +6 -6
  1226. package/dist/index.es453.js +12 -12
  1227. package/dist/index.es455.js +5 -5
  1228. package/dist/index.es457.js +1 -1
  1229. package/dist/index.es458.js +5 -5
  1230. package/dist/index.es459.js +1 -1
  1231. package/dist/index.es460.js +1 -1
  1232. package/dist/index.es462.js +1 -1
  1233. package/dist/index.es464.js +1 -1
  1234. package/dist/index.es466.js +1 -1
  1235. package/dist/index.es481.js +1 -1
  1236. package/dist/index.es491.js.map +1 -1
  1237. package/dist/index.es492.js.map +1 -1
  1238. package/dist/index.es494.js +70 -67
  1239. package/dist/index.es494.js.map +1 -1
  1240. package/dist/index.es499.js.map +1 -1
  1241. package/dist/index.es500.js.map +1 -1
  1242. package/dist/index.es501.js +67 -70
  1243. package/dist/index.es501.js.map +1 -1
  1244. package/dist/index.es502.js +2 -2
  1245. package/dist/index.es503.js +6 -3
  1246. package/dist/index.es503.js.map +1 -1
  1247. package/dist/index.es504.js +1 -1
  1248. package/dist/index.es505.js +1 -1
  1249. package/dist/index.es507.js +3 -6
  1250. package/dist/index.es507.js.map +1 -1
  1251. package/dist/index.es510.js +22 -2
  1252. package/dist/index.es510.js.map +1 -1
  1253. package/dist/index.es511.js +2 -22
  1254. package/dist/index.es511.js.map +1 -1
  1255. package/dist/index.es512.js +2 -2
  1256. package/dist/index.es513.js +95 -11
  1257. package/dist/index.es513.js.map +1 -1
  1258. package/dist/index.es514.js +269 -28
  1259. package/dist/index.es514.js.map +1 -1
  1260. package/dist/index.es515.js +126 -18
  1261. package/dist/index.es515.js.map +1 -1
  1262. package/dist/index.es516.js +166 -10
  1263. package/dist/index.es516.js.map +1 -1
  1264. package/dist/index.es517.js +131 -2
  1265. package/dist/index.es517.js.map +1 -1
  1266. package/dist/index.es518.js +119 -87
  1267. package/dist/index.es518.js.map +1 -1
  1268. package/dist/index.es519.js +85 -227
  1269. package/dist/index.es519.js.map +1 -1
  1270. package/dist/index.es520.js +72 -73
  1271. package/dist/index.es520.js.map +1 -1
  1272. package/dist/index.es521.js +69 -120
  1273. package/dist/index.es521.js.map +1 -1
  1274. package/dist/index.es522.js +53 -67
  1275. package/dist/index.es522.js.map +1 -1
  1276. package/dist/index.es523.js +64 -75
  1277. package/dist/index.es523.js.map +1 -1
  1278. package/dist/index.es524.js +68 -84
  1279. package/dist/index.es524.js.map +1 -1
  1280. package/dist/index.es525.js +77 -80
  1281. package/dist/index.es525.js.map +1 -1
  1282. package/dist/index.es526.js +80 -66
  1283. package/dist/index.es526.js.map +1 -1
  1284. package/dist/index.es527.js +54 -43
  1285. package/dist/index.es527.js.map +1 -1
  1286. package/dist/index.es528.js +26 -110
  1287. package/dist/index.es528.js.map +1 -1
  1288. package/dist/index.es529.js +2 -117
  1289. package/dist/index.es529.js.map +1 -1
  1290. package/dist/index.es530.js +15 -119
  1291. package/dist/index.es530.js.map +1 -1
  1292. package/dist/index.es531.js +2 -131
  1293. package/dist/index.es531.js.map +1 -1
  1294. package/dist/index.es532.js +37 -122
  1295. package/dist/index.es532.js.map +1 -1
  1296. package/dist/index.es533.js +35 -25
  1297. package/dist/index.es533.js.map +1 -1
  1298. package/dist/index.es534.js +43 -2
  1299. package/dist/index.es534.js.map +1 -1
  1300. package/dist/index.es535.js +39 -17
  1301. package/dist/index.es535.js.map +1 -1
  1302. package/dist/index.es536.js +43 -2
  1303. package/dist/index.es536.js.map +1 -1
  1304. package/dist/index.es537.js +29 -29
  1305. package/dist/index.es537.js.map +1 -1
  1306. package/dist/index.es538.js +31 -31
  1307. package/dist/index.es538.js.map +1 -1
  1308. package/dist/index.es539.js +35 -35
  1309. package/dist/index.es539.js.map +1 -1
  1310. package/dist/index.es540.js +26 -25
  1311. package/dist/index.es540.js.map +1 -1
  1312. package/dist/index.es541.js +25 -27
  1313. package/dist/index.es541.js.map +1 -1
  1314. package/dist/index.es542.js +2 -43
  1315. package/dist/index.es542.js.map +1 -1
  1316. package/dist/index.es543.js +11 -42
  1317. package/dist/index.es543.js.map +1 -1
  1318. package/dist/index.es544.js +32 -41
  1319. package/dist/index.es544.js.map +1 -1
  1320. package/dist/index.es545.js +19 -42
  1321. package/dist/index.es545.js.map +1 -1
  1322. package/dist/index.es546.js +11 -40
  1323. package/dist/index.es546.js.map +1 -1
  1324. package/dist/index.es547.js +2 -2
  1325. package/dist/index.es548.js +2 -2
  1326. package/dist/index.es549.js +14 -2
  1327. package/dist/index.es549.js.map +1 -1
  1328. package/dist/index.es550.js +9 -11
  1329. package/dist/index.es550.js.map +1 -1
  1330. package/dist/index.es551.js +10 -10
  1331. package/dist/index.es551.js.map +1 -1
  1332. package/dist/index.es552.js +2 -12
  1333. package/dist/index.es552.js.map +1 -1
  1334. package/dist/index.es553.js +2 -2
  1335. package/dist/index.es560.js +1 -1
  1336. package/dist/index.es565.js +47 -33
  1337. package/dist/index.es565.js.map +1 -1
  1338. package/dist/index.es566.js +1 -1
  1339. package/dist/index.es567.js.map +1 -1
  1340. package/dist/index.es568.js +41 -41
  1341. package/dist/index.es568.js.map +1 -1
  1342. package/dist/index.es57.js +2 -2
  1343. package/dist/index.es573.js +33 -47
  1344. package/dist/index.es573.js.map +1 -1
  1345. package/dist/index.es574.js.map +1 -1
  1346. package/dist/index.es575.js +41 -41
  1347. package/dist/index.es575.js.map +1 -1
  1348. package/dist/index.es576.js +118 -9
  1349. package/dist/index.es576.js.map +1 -1
  1350. package/dist/index.es577.js +8 -13
  1351. package/dist/index.es577.js.map +1 -1
  1352. package/dist/index.es578.js +12 -116
  1353. package/dist/index.es578.js.map +1 -1
  1354. package/dist/index.es581.js +2 -2
  1355. package/dist/index.es582.js +151 -2
  1356. package/dist/index.es582.js.map +1 -1
  1357. package/dist/index.es583.js +2 -2
  1358. package/dist/index.es584.js +5 -13
  1359. package/dist/index.es584.js.map +1 -1
  1360. package/dist/index.es585.js +2 -2
  1361. package/dist/index.es586.js +148 -2
  1362. package/dist/index.es586.js.map +1 -1
  1363. package/dist/index.es587.js +2 -151
  1364. package/dist/index.es587.js.map +1 -1
  1365. package/dist/index.es588.js +138 -2
  1366. package/dist/index.es588.js.map +1 -1
  1367. package/dist/index.es589.js +2 -6
  1368. package/dist/index.es589.js.map +1 -1
  1369. package/dist/index.es591.js +225 -2
  1370. package/dist/index.es591.js.map +1 -1
  1371. package/dist/index.es592.js +88 -179
  1372. package/dist/index.es592.js.map +1 -1
  1373. package/dist/index.es593.js +44 -49
  1374. package/dist/index.es593.js.map +1 -1
  1375. package/dist/index.es594.js +73 -68
  1376. package/dist/index.es594.js.map +1 -1
  1377. package/dist/index.es595.js +47 -52
  1378. package/dist/index.es595.js.map +1 -1
  1379. package/dist/index.es596.js +49 -43
  1380. package/dist/index.es596.js.map +1 -1
  1381. package/dist/index.es597.js +2 -135
  1382. package/dist/index.es597.js.map +1 -1
  1383. package/dist/index.es598.js +2 -2
  1384. package/dist/index.es599.js +2 -2
  1385. package/dist/index.es60.js +1 -1
  1386. package/dist/index.es602.js +2 -2
  1387. package/dist/index.es603.js +2 -2
  1388. package/dist/index.es604.js +2 -2
  1389. package/dist/index.es605.js +2 -2
  1390. package/dist/index.es606.js +2 -2
  1391. package/dist/index.es607.js +2 -148
  1392. package/dist/index.es607.js.map +1 -1
  1393. package/dist/index.es608.js +131 -2
  1394. package/dist/index.es608.js.map +1 -1
  1395. package/dist/index.es609.js +128 -2
  1396. package/dist/index.es609.js.map +1 -1
  1397. package/dist/index.es610.js +2 -2
  1398. package/dist/index.es611.js +2 -131
  1399. package/dist/index.es611.js.map +1 -1
  1400. package/dist/index.es612.js +2 -128
  1401. package/dist/index.es612.js.map +1 -1
  1402. package/dist/index.es613.js +2 -2
  1403. package/dist/index.es614.js +2 -138
  1404. package/dist/index.es614.js.map +1 -1
  1405. package/dist/index.es615.js +2 -2
  1406. package/dist/index.es616.js +2 -2
  1407. package/dist/index.es617.js +2 -2
  1408. package/dist/index.es618.js +2 -2
  1409. package/dist/index.es619.js +2 -2
  1410. package/dist/index.es620.js +2 -2
  1411. package/dist/index.es621.js +2 -2
  1412. package/dist/index.es622.js +2 -2
  1413. package/dist/index.es623.js +14 -2
  1414. package/dist/index.es623.js.map +1 -1
  1415. package/dist/index.es624.js +2 -2
  1416. package/dist/index.es634.js +2 -2
  1417. package/dist/index.es636.js +30 -2
  1418. package/dist/index.es636.js.map +1 -1
  1419. package/dist/index.es637.js +2 -2
  1420. package/dist/index.es638.js +2 -2
  1421. package/dist/index.es639.js +2 -2
  1422. package/dist/index.es640.js +2 -2
  1423. package/dist/index.es641.js +2 -2
  1424. package/dist/index.es642.js +2 -30
  1425. package/dist/index.es642.js.map +1 -1
  1426. package/dist/index.es646.js +2 -2
  1427. package/dist/index.es647.js +1 -1
  1428. package/dist/index.es651.js +21 -11
  1429. package/dist/index.es651.js.map +1 -1
  1430. package/dist/index.es652.js +11 -26
  1431. package/dist/index.es652.js.map +1 -1
  1432. package/dist/index.es653.js +27 -4
  1433. package/dist/index.es653.js.map +1 -1
  1434. package/dist/index.es654.js +4 -22
  1435. package/dist/index.es654.js.map +1 -1
  1436. package/dist/index.es656.js.map +1 -1
  1437. package/dist/index.es66.js +1 -1
  1438. package/dist/index.es673.js +1 -1
  1439. package/dist/index.es678.js +6 -6
  1440. package/dist/index.es679.js +13 -16
  1441. package/dist/index.es679.js.map +1 -1
  1442. package/dist/index.es680.js +18 -39
  1443. package/dist/index.es680.js.map +1 -1
  1444. package/dist/index.es681.js +39 -12
  1445. package/dist/index.es681.js.map +1 -1
  1446. package/dist/index.es682.js +12 -37
  1447. package/dist/index.es682.js.map +1 -1
  1448. package/dist/index.es683.js +36 -38
  1449. package/dist/index.es683.js.map +1 -1
  1450. package/dist/index.es684.js +39 -12
  1451. package/dist/index.es684.js.map +1 -1
  1452. package/dist/index.es685.js +8 -11
  1453. package/dist/index.es685.js.map +1 -1
  1454. package/dist/index.es71.js +1 -1
  1455. package/dist/index.es72.js +1 -1
  1456. package/dist/index.es73.js +1 -1
  1457. package/dist/index.es74.js +1 -1
  1458. package/dist/index.es76.js +1 -1
  1459. package/dist/index.es77.js +2 -2
  1460. package/dist/index.es78.js +2 -2
  1461. package/dist/index.es79.js +4 -4
  1462. package/dist/index.es80.js +1 -1
  1463. package/dist/index.es81.js +2 -2
  1464. package/dist/index.es82.js +3 -3
  1465. package/dist/index.es83.js +2 -2
  1466. package/dist/index.es84.js +1 -1
  1467. package/dist/index.es85.js +10 -10
  1468. package/dist/index.es86.js +11 -11
  1469. package/dist/index.es89.js +14 -14
  1470. package/dist/index.es93.js +8 -8
  1471. package/dist/index.es97.js +14 -14
  1472. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var b=function(r){return y(r)&&!o(r)};function y(e){return!!e&&typeof e=="object"}function o(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||j(e)}var s=typeof Symbol=="function"&&Symbol.for,O=s?Symbol.for("react.element"):60103;function j(e){return e.$$typeof===O}function m(e){return Array.isArray(e)?[]:{}}function u(e,r){return r.clone!==!1&&r.isMergeableObject(e)?a(m(e),e,r):e}function g(e,r,n){return e.concat(r).map(function(c){return u(c,n)})}function M(e,r){if(!r.customMerge)return a;var n=r.customMerge(e);return typeof n=="function"?n:a}function A(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function f(e){return Object.keys(e).concat(A(e))}function l(e,r){try{return r in e}catch{return!1}}function E(e,r){return l(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function S(e,r,n){var c={};return n.isMergeableObject(e)&&f(e).forEach(function(t){c[t]=u(e[t],n)}),f(r).forEach(function(t){E(e,t)||(l(e,t)&&n.isMergeableObject(r[t])?c[t]=M(t,n)(e[t],r[t],n):c[t]=u(r[t],n))}),c}function a(e,r,n){n=n||{},n.arrayMerge=n.arrayMerge||g,n.isMergeableObject=n.isMergeableObject||b,n.cloneUnlessOtherwiseSpecified=u;var c=Array.isArray(r),t=Array.isArray(e),i=c===t;return i?c?n.arrayMerge(e,r,n):S(e,r,n):u(r,n)}a.all=function(r,n){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(c,t){return a(c,t,n)},{})};var d=a,p=d;exports.cjs=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs223.js"),p=require("./index.cjs249.js"),m=require("./index.cjs55.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
2
2
  //# sourceMappingURL=index.cjs221.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs221.js","sources":["../../../node_modules/deepmerge/dist/cjs.js"],"sourcesContent":["'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n"],"names":["isMergeableObject","value","isNonNullObject","isSpecial","stringValue","isReactElement","canUseSymbol","REACT_ELEMENT_TYPE","emptyTarget","val","cloneUnlessOtherwiseSpecified","options","deepmerge","defaultArrayMerge","target","source","element","getMergeFunction","key","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","object","property","propertyIsUnsafe","mergeObject","destination","sourceIsArray","targetIsArray","sourceAndTargetTypesMatch","array","prev","next","deepmerge_1","cjs"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs221.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/Portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"sfAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAW,EAAKH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAE,CAAA,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAY,CAAE,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
@@ -1,3 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index.cjs217.js"),E=require("./index.cjs382.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
- `||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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs214.js"),g=require("./index.cjs249.js");function O(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=O(M),E=O(R);function S(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=T(n),i=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),s=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?c.cloneElement(i,{ref:s}):null};A.displayName="Presence";function T(e){const[n,t]=c.useState(),r=c.useRef({}),i=c.useRef(e),s=c.useRef("none"),l=e?"mounted":"unmounted",[N,a]=S(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const o=d(r.current);s.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,u=i.current;if(u!==e){const p=s.current,m=d(o);e?a("MOUNT"):m==="none"||(o==null?void 0:o.display)==="none"?a("UNMOUNT"):a(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),g.useLayoutEffect(()=>{if(n){const o=f=>{const m=d(r.current).includes(f.animationName);f.target===n&&m&&E.flushSync(()=>a("ANIMATION_END"))},u=f=>{f.target===n&&(s.current=d(r.current))};return n.addEventListener("animationstart",u),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{n.removeEventListener("animationstart",u),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:c.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function d(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
3
2
  //# sourceMappingURL=index.cjs222.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs222.js","sources":["../../../node_modules/parse-srcset/src/parse-srcset.js"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup <img srcset=\"here\">\n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n"],"names":["root","factory","module","this","input","isSpace","c","collectCharacters","regEx","chars","match","pos","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","url","descriptors","currentDescriptor","state","candidates","parseDescriptors","tokenize","pError","w","d","h","i","candidate","desc","lastChar","value","intVal","floatVal"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs222.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"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","x_google_ignoreList":[0]}
@@ -1,4 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs383.js"),y=require("./index.cjs384.js"),R=require("./index.cjs385.js"),S=require("./index.cjs386.js"),N=require("./index.cjs387.js"),h=require("./index.cjs388.js"),P=require("./index.cjs389.js"),v=require("./index.cjs390.js"),A=require("./index.cjs391.js"),C=require("./index.cjs392.js"),O=require("./index.cjs393.js"),_=require("./index.cjs394.js"),x=require("./index.cjs395.js"),D=require("./index.cjs396.js"),E=require("./index.cjs397.js"),J=require("./index.cjs398.js"),$=require("./index.cjs399.js"),b=require("./index.cjs400.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
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),l=require("react-dom"),f=require("./index.cjs224.js"),d=require("./index.cjs55.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const p=n(u),m=n(l);var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],b=v.reduce((e,t)=>{const i=p.forwardRef((r,o)=>{const{asChild:c,...s}=r,a=c?f.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsxRuntimeExports.jsx(a,{...s,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function y(e,t){e&&m.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=b;exports.dispatchDiscreteCustomEvent=y;
4
2
  //# sourceMappingURL=index.cjs223.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs223.js","sources":["../../../node_modules/sanitize-html/node_modules/postcss/lib/postcss.js"],"sourcesContent":["'use strict'\n\nlet CssSyntaxError = require('./css-syntax-error')\nlet Declaration = require('./declaration')\nlet LazyResult = require('./lazy-result')\nlet Container = require('./container')\nlet Processor = require('./processor')\nlet stringify = require('./stringify')\nlet fromJSON = require('./fromJSON')\nlet Document = require('./document')\nlet Warning = require('./warning')\nlet Comment = require('./comment')\nlet AtRule = require('./at-rule')\nlet Result = require('./result.js')\nlet Input = require('./input')\nlet parse = require('./parse')\nlet list = require('./list')\nlet Rule = require('./rule')\nlet Root = require('./root')\nlet Node = require('./node')\n\nfunction postcss(...plugins) {\n if (plugins.length === 1 && Array.isArray(plugins[0])) {\n plugins = plugins[0]\n }\n return new Processor(plugins)\n}\n\npostcss.plugin = function plugin(name, initializer) {\n let warningPrinted = false\n function creator(...args) {\n // eslint-disable-next-line no-console\n if (console && console.warn && !warningPrinted) {\n warningPrinted = true\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': postcss.plugin was deprecated. Migration guide:\\n' +\n 'https://evilmartians.com/chronicles/postcss-8-plugin-migration'\n )\n if (process.env.LANG && process.env.LANG.startsWith('cn')) {\n /* c8 ignore next 7 */\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': 里面 postcss.plugin 被弃用. 迁移指南:\\n' +\n 'https://www.w3ctech.com/topic/2226'\n )\n }\n }\n let transformer = initializer(...args)\n transformer.postcssPlugin = name\n transformer.postcssVersion = new Processor().version\n return transformer\n }\n\n let cache\n Object.defineProperty(creator, 'postcss', {\n get() {\n if (!cache) cache = creator()\n return cache\n }\n })\n\n creator.process = function (css, processOpts, pluginOpts) {\n return postcss([creator(pluginOpts)]).process(css, processOpts)\n }\n\n return creator\n}\n\npostcss.stringify = stringify\npostcss.parse = parse\npostcss.fromJSON = fromJSON\npostcss.list = list\n\npostcss.comment = defaults => new Comment(defaults)\npostcss.atRule = defaults => new AtRule(defaults)\npostcss.decl = defaults => new Declaration(defaults)\npostcss.rule = defaults => new Rule(defaults)\npostcss.root = defaults => new Root(defaults)\npostcss.document = defaults => new Document(defaults)\n\npostcss.CssSyntaxError = CssSyntaxError\npostcss.Declaration = Declaration\npostcss.Container = Container\npostcss.Processor = Processor\npostcss.Document = Document\npostcss.Comment = Comment\npostcss.Warning = Warning\npostcss.AtRule = AtRule\npostcss.Result = Result\npostcss.Input = Input\npostcss.Rule = Rule\npostcss.Root = Root\npostcss.Node = Node\n\nLazyResult.registerPostcss(postcss)\n\nmodule.exports = postcss\npostcss.default = postcss\n"],"names":["CssSyntaxError","require$$0","Declaration","require$$1","LazyResult","require$$2","Container","require$$3","Processor","require$$4","stringify","require$$5","fromJSON","require$$6","Document","require$$7","Warning","require$$8","Comment","require$$9","AtRule","require$$10","Result","require$$11","Input","require$$12","parse","require$$13","list","require$$14","Rule","require$$15","Root","require$$16","Node","require$$17","postcss","plugins","name","initializer","warningPrinted","creator","args","transformer","cache","css","processOpts","pluginOpts","defaults","postcss_1"],"mappings":"ooBAEA,IAAIA,EAAiBC,EAAAA,eACjBC,EAAcC,EAAAA,YACdC,EAAaC,EAAAA,WACbC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,YACZC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,SACXC,EAAUC,EAAAA,QACVC,EAAUC,EAAAA,QACVC,EAASC,EAAAA,OACTC,EAASC,EAAAA,OACTC,EAAQC,EAAAA,MACRC,EAAQC,EAAAA,QACRC,EAAOC,EAAAA,OACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KAEX,SAASC,KAAWC,EAAS,CACvB,OAAAA,EAAQ,SAAW,GAAK,MAAM,QAAQA,EAAQ,CAAC,CAAC,IAClDA,EAAUA,EAAQ,CAAC,GAEd,IAAI7B,EAAU6B,CAAO,CAC9B,CAEAD,EAAQ,OAAS,SAAgBE,EAAMC,EAAa,CAClD,IAAIC,EAAiB,GACrB,SAASC,KAAWC,EAAM,CAEpB,SAAW,QAAQ,MAAQ,CAACF,IACbA,EAAA,GAET,QAAA,KACNF,EACE;AAAA,+DAAA,EAGA,QAAQ,IAAI,MAAQ,QAAQ,IAAI,KAAK,WAAW,IAAI,GAG9C,QAAA,KACNA,EACE;AAAA,mCAAA,GAKJ,IAAAK,EAAcJ,EAAY,GAAGG,CAAI,EACrC,OAAAC,EAAY,cAAgBL,EAChBK,EAAA,eAAiB,IAAInC,EAAA,EAAY,QACtCmC,CACT,CAEI,IAAAC,EACG,cAAA,eAAeH,EAAS,UAAW,CACxC,KAAM,CACJ,OAAKG,IAAOA,EAAQH,EAAQ,GACrBG,CACT,CAAA,CACD,EAEDH,EAAQ,QAAU,SAAUI,EAAKC,EAAaC,EAAY,CACjD,OAAAX,EAAQ,CAACK,EAAQM,CAAU,CAAC,CAAC,EAAE,QAAQF,EAAKC,CAAW,CAAA,EAGzDL,CACT,EAEAL,EAAQ,UAAY1B,EACpB0B,EAAQ,MAAQV,EAChBU,EAAQ,SAAWxB,EACnBwB,EAAQ,KAAOR,EAEfQ,EAAQ,QAAUY,GAAY,IAAI9B,EAAQ8B,CAAQ,EAClDZ,EAAQ,OAASY,GAAY,IAAI5B,EAAO4B,CAAQ,EAChDZ,EAAQ,KAAOY,GAAY,IAAI9C,EAAY8C,CAAQ,EACnDZ,EAAQ,KAAOY,GAAY,IAAIlB,EAAKkB,CAAQ,EAC5CZ,EAAQ,KAAOY,GAAY,IAAIhB,EAAKgB,CAAQ,EAC5CZ,EAAQ,SAAWY,GAAY,IAAIlC,EAASkC,CAAQ,EAEpDZ,EAAQ,eAAiBpC,EACzBoC,EAAQ,YAAclC,EACtBkC,EAAQ,UAAY9B,EACpB8B,EAAQ,UAAY5B,EACpB4B,EAAQ,SAAWtB,EACnBsB,EAAQ,QAAUlB,EAClBkB,EAAQ,QAAUpB,EAClBoB,EAAQ,OAAShB,EACjBgB,EAAQ,OAASd,EACjBc,EAAQ,MAAQZ,EAChBY,EAAQ,KAAON,EACfM,EAAQ,KAAOJ,EACfI,EAAQ,KAAOF,EAEf9B,EAAW,gBAAgBgC,CAAO,MAElCa,EAAiBb,EACjBA,EAAQ,QAAUA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs223.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/Primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"8dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUG,EAAI,KAAGR,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZS,EAAAA,kBAAAA,IAAIF,EAAM,CAAE,GAAGD,EAAgB,IAAKF,CAAY,CAAE,CAC7E,CAAG,EACD,OAAAH,EAAK,YAAc,aAAaD,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGC,CAAI,CACrC,EAAG,EAAE,EACL,SAASS,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs214.js"),a=require("./index.cjs55.js");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
2
2
  //# sourceMappingURL=index.cjs224.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs224.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs224.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"gcAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,IAAI,CAAE,CACnL,CACD,OAAuBE,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAAC,CAAQ,CAAE,CACrF,CAAC,EACDJ,EAAK,YAAc,OACnB,IAAIa,EAAYZ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EAC1C,OAAOH,EAAM,aAAaG,EAAU,CAClC,GAAGY,EAAWX,EAAWD,EAAS,KAAK,EAEvC,IAAKD,EAAec,EAAAA,YAAYd,EAAcW,CAAW,EAAIA,CACnE,CAAK,CACF,CACD,OAAOb,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACDY,EAAU,YAAc,YACrB,IAACK,EAAY,CAAC,CAAE,SAAAd,KACMQ,wBAAIO,EAAAA,kBAAAA,SAAU,CAAE,SAAAf,CAAU,CAAA,EAEnD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASO,CACvD,CACA,SAASF,EAAWX,EAAWe,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,GAC3B,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CAC/B,EACiBF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAErF,CACD,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,EAC5B,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs247.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
2
2
  //# sourceMappingURL=index.cjs225.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs225.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs225.js","sources":["../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// packages/react/use-controllable-state/src/useControllableState.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n }\n}) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue;\n const value2 = typeof nextValue === \"function\" ? setter(prop) : nextValue;\n if (value2 !== prop) handleChange(value2);\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const uncontrolledState = React.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n return uncontrolledState;\n}\nexport {\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","value","handleChange","useCallbackRef","setValue","React","nextValue","value2","uncontrolledState","prevValueRef"],"mappings":"kaAGA,SAASA,EAAqB,CAC5B,KAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IAAM,CAChB,CACH,EAAG,CACD,KAAM,CAACC,EAAkBC,CAAmB,EAAIC,EAAqB,CAAE,YAAAJ,EAAa,SAAAC,CAAQ,CAAE,EACxFI,EAAeN,IAAS,OACxBO,EAAQD,EAAeN,EAAOG,EAC9BK,EAAeC,iBAAeP,CAAQ,EACtCQ,EAAWC,EAAM,YACpBC,GAAc,CACb,GAAIN,EAAc,CAEhB,MAAMO,EAAS,OAAOD,GAAc,WADrBA,EACyCZ,CAAI,EAAIY,EAC5DC,IAAWb,GAAMQ,EAAaK,CAAM,CAChD,MACQT,EAAoBQ,CAAS,CAEhC,EACD,CAACN,EAAcN,EAAMI,EAAqBI,CAAY,CAC1D,EACE,MAAO,CAACD,EAAOG,CAAQ,CACzB,CACA,SAASL,EAAqB,CAC5B,YAAAJ,EACA,SAAAC,CACF,EAAG,CACD,MAAMY,EAAoBH,EAAM,SAASV,CAAW,EAC9C,CAACM,CAAK,EAAIO,EACVC,EAAeJ,EAAM,OAAOJ,CAAK,EACjCC,EAAeC,iBAAeP,CAAQ,EAC5CS,OAAAA,EAAM,UAAU,IAAM,CAChBI,EAAa,UAAYR,IAC3BC,EAAaD,CAAK,EAClBQ,EAAa,QAAUR,EAE1B,EAAE,CAACA,EAAOQ,EAAcP,CAAY,CAAC,EAC/BM,CACT","x_google_ignoreList":[0]}
@@ -1,9 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function i(t,e){this.message=t,this.error=e}i.prototype=Object.create(Error.prototype);const h=/([0-9]+)?:?([0-9]{2}):([0-9]{2}\.[0-9]{2,3})/;function g(t,e){e||(e={});const{meta:r=!1,strict:o=!0}=e;if(typeof t!="string")throw new i("Input must be a string");t=t.trim(),t=t.replace(/\r\n/g,`
2
- `),t=t.replace(/\r/g,`
3
- `);const s=t.split(`
4
-
5
- `),a=s.shift();if(!a.startsWith("WEBVTT"))throw new i('Must start with "WEBVTT"');const l=a.split(`
6
- `),u=l[0].replace("WEBVTT","");if(u.length>0&&u[0]!==" "&&u[0]!==" ")throw new i("Header comment must start with space or tab");if(s.length===0&&l.length===1)return{valid:!0,strict:o,cues:[],errors:[]};if(!r&&l.length>1&&l[1]!=="")throw new i("Missing blank line after signature");const{cues:n,errors:c}=b(s,o);if(o&&c.length>0)throw c[0];const f=r?w(l):null,m={valid:c.length===0,strict:o,cues:n,errors:c};return r&&(m.meta=f),m}function w(t){const e={};return t.slice(1).forEach(r=>{const o=r.indexOf(":"),s=r.slice(0,o).trim(),a=r.slice(o+1).trim();e[s]=a}),Object.keys(e).length>0?e:null}function b(t,e){const r=[];return{cues:t.map((s,a)=>{try{return E(s,a,e)}catch(l){return r.push(l),null}}).filter(Boolean),errors:r}}function E(t,e,r){let o="",s=0,a=.01,l="",u="";const n=t.split(`
7
- `).filter(Boolean);if(n.length>0&&n[0].trim().startsWith("NOTE"))return null;if(n.length===1&&!n[0].includes("-->"))throw new i(`Cue identifier cannot be standalone (cue #${e})`);if(n.length>1&&!(n[0].includes("-->")||n[1].includes("-->"))){const f=`Cue identifier needs to be followed by timestamp (cue #${e})`;throw new i(f)}n.length>1&&n[1].includes("-->")&&(o=n.shift());const c=typeof n[0]=="string"&&n[0].split(" --> ");if(c.length!==2||!p(c[0])||!p(c[1]))throw new i(`Invalid cue timestamp (cue #${e})`);if(s=d(c[0]),a=d(c[1]),r){if(s>a)throw new i(`Start timestamp greater than end (cue #${e})`);if(a<=s)throw new i(`End must be greater than start (cue #${e})`)}if(!r&&a<s)throw new i(`End must be greater or equal to start when not strict (cue #${e})`);return u=c[1].replace(h,"").trim(),n.shift(),l=n.join(`
8
- `),l?{identifier:o,start:s,end:a,text:l,styles:u}:!1}function p(t){return h.test(t)}function d(t){const e=t.match(h);let r=parseFloat(e[1]||0)*60*60;return r+=parseFloat(e[2])*60,r+=parseFloat(e[3]),r}var T={ParserError:i,parse:g};exports.parser=T;
1
+ "use strict";const a=require("./index.cjs403.js"),l=require("react"),s=require("./index.cjs404.js"),i=require("./index.cjs405.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;const f=n;module.exports=f;
9
2
  //# sourceMappingURL=index.cjs226.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs226.js","sources":["../../../node_modules/node-webvtt/lib/parser.js"],"sourcesContent":["'use strict';\n\n/**\n * See spec: https://www.w3.org/TR/webvtt1/#file-structure\n */\n\nfunction ParserError (message, error) {\n this.message = message;\n this.error = error;\n}\n\nParserError.prototype = Object.create(Error.prototype);\n\nconst TIMESTAMP_REGEXP = /([0-9]+)?:?([0-9]{2}):([0-9]{2}\\.[0-9]{2,3})/;\n\nfunction parse (input, options) {\n if (!options) {\n options = {};\n }\n\n const { meta = false, strict = true } = options;\n\n if (typeof input !== 'string') {\n throw new ParserError('Input must be a string');\n }\n\n input = input.trim();\n input = input.replace(/\\r\\n/g, '\\n');\n input = input.replace(/\\r/g, '\\n');\n\n const parts = input.split('\\n\\n');\n const header = parts.shift();\n\n if (!header.startsWith('WEBVTT')) {\n throw new ParserError('Must start with \"WEBVTT\"');\n }\n\n const headerParts = header.split('\\n');\n\n const headerComments = headerParts[0].replace('WEBVTT', '');\n\n if (headerComments.length > 0\n && (headerComments[0] !== ' ' && headerComments[0] !== '\\t')\n ) {\n throw new ParserError('Header comment must start with space or tab');\n }\n\n // nothing of interests, return early\n if (parts.length === 0 && headerParts.length === 1) {\n return { valid: true, strict, cues: [], errors: [] };\n }\n\n if (!meta && headerParts.length > 1 && headerParts[1] !== '') {\n throw new ParserError('Missing blank line after signature');\n }\n\n const { cues, errors } = parseCues(parts, strict);\n\n if (strict && errors.length > 0) {\n throw errors[0];\n }\n\n const headerMeta = meta ? parseMeta(headerParts) : null;\n\n const result = { valid: errors.length === 0, strict, cues, errors };\n\n if (meta) {\n result.meta = headerMeta;\n }\n\n return result;\n}\n\nfunction parseMeta (headerParts) {\n const meta = {};\n headerParts.slice(1).forEach(header => {\n const splitIdx = header.indexOf(':');\n const key = header.slice(0, splitIdx).trim();\n const value = header.slice(splitIdx + 1).trim();\n meta[key] = value;\n });\n return Object.keys(meta).length > 0 ? meta : null;\n}\n\nfunction parseCues (cues, strict) {\n const errors = [];\n\n const parsedCues = cues\n .map((cue, i) => {\n try {\n return parseCue(cue, i, strict);\n } catch (e) {\n errors.push(e);\n return null;\n }\n })\n .filter(Boolean);\n\n return {\n cues: parsedCues,\n errors\n };\n}\n\n/**\n * Parse a single cue block.\n *\n * @param {array} cue Array of content for the cue\n * @param {number} i Index of cue in array\n *\n * @returns {object} cue Cue object with start, end, text and styles.\n * Null if it's a note\n */\nfunction parseCue (cue, i, strict) {\n let identifier = '';\n let start = 0;\n let end = 0.01;\n let text = '';\n let styles = '';\n\n // split and remove empty lines\n const lines = cue.split('\\n').filter(Boolean);\n\n if (lines.length > 0 && lines[0].trim().startsWith('NOTE')) {\n return null;\n }\n\n if (lines.length === 1 && !lines[0].includes('-->')) {\n throw new ParserError(`Cue identifier cannot be standalone (cue #${i})`);\n }\n\n if (lines.length > 1 &&\n !(lines[0].includes('-->') || lines[1].includes('-->'))) {\n const msg = `Cue identifier needs to be followed by timestamp (cue #${i})`;\n throw new ParserError(msg);\n }\n\n if (lines.length > 1 && lines[1].includes('-->')) {\n identifier = lines.shift();\n }\n\n const times = typeof lines[0] === 'string' && lines[0].split(' --> ');\n\n if (times.length !== 2 ||\n !validTimestamp(times[0]) ||\n !validTimestamp(times[1])) {\n\n throw new ParserError(`Invalid cue timestamp (cue #${i})`);\n }\n\n start = parseTimestamp(times[0]);\n end = parseTimestamp(times[1]);\n\n if (strict) {\n if (start > end) {\n throw new ParserError(`Start timestamp greater than end (cue #${i})`);\n }\n\n if (end <= start) {\n throw new ParserError(`End must be greater than start (cue #${i})`);\n }\n }\n\n if (!strict && end < start) {\n throw new ParserError(\n `End must be greater or equal to start when not strict (cue #${i})`\n );\n }\n\n // TODO better style validation\n styles = times[1].replace(TIMESTAMP_REGEXP, '').trim();\n\n lines.shift();\n\n text = lines.join('\\n');\n\n if (!text) {\n return false;\n }\n\n return { identifier, start, end, text, styles };\n}\n\nfunction validTimestamp (timestamp) {\n return TIMESTAMP_REGEXP.test(timestamp);\n}\n\nfunction parseTimestamp (timestamp) {\n const matches = timestamp.match(TIMESTAMP_REGEXP);\n let secs = parseFloat(matches[1] || 0) * 60 * 60; // hours\n secs += parseFloat(matches[2]) * 60; // mins\n secs += parseFloat(matches[3]);\n // secs += parseFloat(matches[4]);\n return secs;\n}\n\nmodule.exports = { ParserError, parse };\n"],"names":["ParserError","message","error","TIMESTAMP_REGEXP","parse","input","options","meta","strict","parts","header","headerParts","headerComments","cues","errors","parseCues","headerMeta","parseMeta","result","splitIdx","key","value","cue","i","parseCue","e","identifier","start","end","text","styles","lines","msg","times","validTimestamp","parseTimestamp","timestamp","matches","secs","parser"],"mappings":"gFAMA,SAASA,EAAaC,EAASC,EAAO,CACpC,KAAK,QAAUD,EACf,KAAK,MAAQC,CACf,CAEAF,EAAY,UAAY,OAAO,OAAO,MAAM,SAAS,EAErD,MAAMG,EAAmB,+CAEzB,SAASC,EAAOC,EAAOC,EAAS,CACzBA,IACHA,EAAU,CAAA,GAGZ,KAAM,CAAE,KAAAC,EAAO,GAAO,OAAAC,EAAS,IAASF,EAEpC,GAAA,OAAOD,GAAU,SACb,MAAA,IAAIL,EAAY,wBAAwB,EAGhDK,EAAQA,EAAM,OACNA,EAAAA,EAAM,QAAQ,QAAS;AAAA,CAAI,EAC3BA,EAAAA,EAAM,QAAQ,MAAO;AAAA,CAAI,EAE3B,MAAAI,EAAQJ,EAAM,MAAM;AAAA;AAAA,CAAM,EAC1BK,EAASD,EAAM,QAErB,GAAI,CAACC,EAAO,WAAW,QAAQ,EACvB,MAAA,IAAIV,EAAY,0BAA0B,EAG5C,MAAAW,EAAcD,EAAO,MAAM;AAAA,CAAI,EAE/BE,EAAiBD,EAAY,CAAC,EAAE,QAAQ,SAAU,EAAE,EAEtD,GAAAC,EAAe,OAAS,GACpBA,EAAe,CAAC,IAAM,KAAOA,EAAe,CAAC,IAAM,IAEnD,MAAA,IAAIZ,EAAY,6CAA6C,EAIrE,GAAIS,EAAM,SAAW,GAAKE,EAAY,SAAW,EACxC,MAAA,CAAE,MAAO,GAAM,OAAAH,EAAQ,KAAM,GAAI,OAAQ,CAAA,GAG9C,GAAA,CAACD,GAAQI,EAAY,OAAS,GAAKA,EAAY,CAAC,IAAM,GAClD,MAAA,IAAIX,EAAY,oCAAoC,EAG5D,KAAM,CAAE,KAAAa,EAAM,OAAAC,CAAA,EAAWC,EAAUN,EAAOD,CAAM,EAE5C,GAAAA,GAAUM,EAAO,OAAS,EAC5B,MAAMA,EAAO,CAAC,EAGhB,MAAME,EAAaT,EAAOU,EAAUN,CAAW,EAAI,KAE7CO,EAAS,CAAE,MAAOJ,EAAO,SAAW,EAAG,OAAAN,EAAQ,KAAAK,EAAM,OAAAC,GAE3D,OAAIP,IACFW,EAAO,KAAOF,GAGTE,CACT,CAEA,SAASD,EAAWN,EAAa,CAC/B,MAAMJ,EAAO,CAAA,EACb,OAAAI,EAAY,MAAM,CAAC,EAAE,QAAkBD,GAAA,CAC/B,MAAAS,EAAWT,EAAO,QAAQ,GAAG,EAC7BU,EAAMV,EAAO,MAAM,EAAGS,CAAQ,EAAE,OAChCE,EAAQX,EAAO,MAAMS,EAAW,CAAC,EAAE,OACzCZ,EAAKa,CAAG,EAAIC,CAAA,CACb,EACM,OAAO,KAAKd,CAAI,EAAE,OAAS,EAAIA,EAAO,IAC/C,CAEA,SAASQ,EAAWF,EAAML,EAAQ,CAChC,MAAMM,EAAS,CAAA,EAaR,MAAA,CACL,KAZiBD,EAChB,IAAI,CAACS,EAAKC,IAAM,CACX,GAAA,CACK,OAAAC,EAASF,EAAKC,EAAGf,CAAM,QACvBiB,EAAG,CACV,OAAAX,EAAO,KAAKW,CAAC,EACN,IACT,CAAA,CACD,EACA,OAAO,OAAO,EAIf,OAAAX,CAAA,CAEJ,CAWA,SAASU,EAAUF,EAAKC,EAAGf,EAAQ,CACjC,IAAIkB,EAAa,GACbC,EAAQ,EACRC,EAAM,IACNC,EAAO,GACPC,EAAS,GAGb,MAAMC,EAAQT,EAAI,MAAM;AAAA,CAAI,EAAE,OAAO,OAAO,EAExC,GAAAS,EAAM,OAAS,GAAKA,EAAM,CAAC,EAAE,KAAK,EAAE,WAAW,MAAM,EAChD,OAAA,KAGL,GAAAA,EAAM,SAAW,GAAK,CAACA,EAAM,CAAC,EAAE,SAAS,KAAK,EAChD,MAAM,IAAI/B,EAAY,6CAA6CuB,CAAC,GAAG,EAGzE,GAAIQ,EAAM,OAAS,GACf,EAAEA,EAAM,CAAC,EAAE,SAAS,KAAK,GAAKA,EAAM,CAAC,EAAE,SAAS,KAAK,GAAI,CACrD,MAAAC,EAAM,0DAA0DT,CAAC,IACjE,MAAA,IAAIvB,EAAYgC,CAAG,CAC3B,CAEID,EAAM,OAAS,GAAKA,EAAM,CAAC,EAAE,SAAS,KAAK,IAC7CL,EAAaK,EAAM,SAGf,MAAAE,EAAQ,OAAOF,EAAM,CAAC,GAAM,UAAYA,EAAM,CAAC,EAAE,MAAM,OAAO,EAEpE,GAAIE,EAAM,SAAW,GACjB,CAACC,EAAeD,EAAM,CAAC,CAAC,GACxB,CAACC,EAAeD,EAAM,CAAC,CAAC,EAE1B,MAAM,IAAIjC,EAAY,+BAA+BuB,CAAC,GAAG,EAM3D,GAHQI,EAAAQ,EAAeF,EAAM,CAAC,CAAC,EACzBL,EAAAO,EAAeF,EAAM,CAAC,CAAC,EAEzBzB,EAAQ,CACV,GAAImB,EAAQC,EACV,MAAM,IAAI5B,EAAY,0CAA0CuB,CAAC,GAAG,EAGtE,GAAIK,GAAOD,EACT,MAAM,IAAI3B,EAAY,wCAAwCuB,CAAC,GAAG,CAEtE,CAEI,GAAA,CAACf,GAAUoB,EAAMD,EACnB,MAAM,IAAI3B,EACR,+DAA+DuB,CAAC,GAAA,EAWpE,OANAO,EAASG,EAAM,CAAC,EAAE,QAAQ9B,EAAkB,EAAE,EAAE,OAEhD4B,EAAM,MAAM,EAELF,EAAAE,EAAM,KAAK;AAAA,CAAI,EAEjBF,EAIE,CAAE,WAAAH,EAAY,MAAAC,EAAO,IAAAC,EAAK,KAAAC,EAAM,OAAAC,CAAO,EAHrC,EAIX,CAEA,SAASI,EAAgBE,EAAW,CAC3B,OAAAjC,EAAiB,KAAKiC,CAAS,CACxC,CAEA,SAASD,EAAgBC,EAAW,CAC5B,MAAAC,EAAUD,EAAU,MAAMjC,CAAgB,EAChD,IAAImC,EAAO,WAAWD,EAAQ,CAAC,GAAK,CAAC,EAAI,GAAK,GAC9C,OAAAC,GAAQ,WAAWD,EAAQ,CAAC,CAAC,EAAI,GACzBC,GAAA,WAAWD,EAAQ,CAAC,CAAC,EAEtBC,CACT,CAEA,IAAAC,EAAiB,CAAE,YAAAvC,EAAa,MAAAI,CAAM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs226.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIA,IAAIA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAc,aAAAC,EAAA,SAAS,CAAC,EAAGH,EAAO,CAAE,IAAAC,EAAU,QAASG,CAAQ,CAAC,CAAC,CAAI,CAAC,EACnKN,EAAkB,WAAaI,EAAa,aAAA,WAC5C,MAAAA,EAAeJ","x_google_ignoreList":[0]}
@@ -1,14 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function r(t,e){this.message=t,this.error=e}r.prototype=Object.create(Error.prototype);function l(t){if(!t)throw new r("Input must be non-null");if(typeof t!="object")throw new r("Input must be an object");if(Array.isArray(t))throw new r("Input cannot be array");if(!t.valid)throw new r("Input must be valid");let e=`WEBVTT
2
- `;if(t.meta){if(typeof t.meta!="object"||Array.isArray(t.meta))throw new r("Metadata must be an object");Object.entries(t.meta).forEach(o=>{if(typeof o[1]!="string")throw new r(`Metadata value for "${o[0]}" must be string`);e+=`${o[0]}: ${o[1]}
3
- `})}let n=null;return t.cues.forEach((o,a)=>{if(n&&n>o.start)throw new r(`Cue number ${a} is not in chronological order`);n=o.start,e+=`
4
- `,e+=f(o),e+=`
5
- `}),e}function f(t){if(typeof t!="object")throw new r("Cue malformed: not of type object");if(typeof t.identifier!="string"&&typeof t.identifier!="number"&&t.identifier!==null)throw new r(`Cue malformed: identifier value is not a string.
6
- ${JSON.stringify(t)}`);if(isNaN(t.start))throw new r(`Cue malformed: null start value.
7
- ${JSON.stringify(t)}`);if(isNaN(t.end))throw new r(`Cue malformed: null end value.
8
- ${JSON.stringify(t)}`);if(t.start>=t.end)throw new r(`Cue malformed: start timestamp greater than end
9
- ${JSON.stringify(t)}`);if(typeof t.text!="string")throw new r(`Cue malformed: null text value.
10
- ${JSON.stringify(t)}`);if(typeof t.styles!="string")throw new r(`Cue malformed: null styles value.
11
- ${JSON.stringify(t)}`);let e="";t.identifier.length>0&&(e+=`${t.identifier}
12
- `);const n=s(t.start),o=s(t.end);return e+=`${n} --> ${o}`,e+=t.styles?` ${t.styles}`:"",e+=`
13
- ${t.text}`,e}function s(t){const e=i(m(t),2),n=i(u(t),2),o=i(d(t),2),a=i(w(t),3);return`${e}:${n}:${o}.${a}`}function i(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function m(t){return Math.floor(t/60/60)}function u(t){return Math.floor(t/60)%60}function d(t){return Math.floor(t%60)}function w(t){return Math.floor((t%1).toFixed(4)*1e3)}var h={CompilerError:r,compile:l};exports.compiler=h;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
14
2
  //# sourceMappingURL=index.cjs227.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/node-webvtt/lib/compiler.js"],"sourcesContent":["'use strict';\n\n/**\n * See spec: https://www.w3.org/TR/webvtt1/#file-structure\n */\n\nfunction CompilerError (message, error) {\n this.message = message;\n this.error = error;\n}\n\nCompilerError.prototype = Object.create(Error.prototype);\n\nfunction compile (input) {\n\n if (!input) {\n throw new CompilerError('Input must be non-null');\n }\n\n if (typeof input !== 'object') {\n throw new CompilerError('Input must be an object');\n }\n\n if (Array.isArray(input)) {\n throw new CompilerError('Input cannot be array');\n }\n\n if (!input.valid) {\n throw new CompilerError('Input must be valid');\n }\n\n let output = 'WEBVTT\\n';\n\n if (input.meta) {\n if (typeof input.meta !== 'object' || Array.isArray(input.meta)) {\n throw new CompilerError('Metadata must be an object');\n }\n\n Object.entries(input.meta).forEach((i) => {\n if (typeof i[1] !== 'string') {\n throw new CompilerError(`Metadata value for \"${i[0]}\" must be string`);\n }\n\n output += `${i[0]}: ${i[1]}\\n`;\n });\n }\n\n let lastTime = null;\n\n input.cues.forEach((cue, index) => {\n if (lastTime && lastTime > cue.start) {\n throw new CompilerError(`Cue number ${index} is not in chronological`\n + ' order');\n }\n\n lastTime = cue.start;\n\n output += '\\n';\n output += compileCue(cue);\n output += '\\n';\n });\n\n return output;\n}\n\n/**\n * Compile a single cue block.\n *\n * @param {array} cue Array of content for the cue\n *\n * @returns {object} cue Cue object with start, end, text and styles.\n * Null if it's a note\n */\nfunction compileCue (cue) {\n // TODO: check for malformed JSON\n if (typeof cue !== 'object') {\n throw new CompilerError('Cue malformed: not of type object');\n }\n\n if (typeof cue.identifier !== 'string' &&\n typeof cue.identifier !== 'number' &&\n cue.identifier !== null) {\n throw new CompilerError(`Cue malformed: identifier value is not a string.\n ${JSON.stringify(cue)}`);\n }\n\n if (isNaN(cue.start)) {\n throw new CompilerError(`Cue malformed: null start value.\n ${JSON.stringify(cue)}`);\n }\n\n if (isNaN(cue.end)) {\n throw new CompilerError(`Cue malformed: null end value.\n ${JSON.stringify(cue)}`);\n }\n\n if (cue.start >= cue.end) {\n throw new CompilerError(`Cue malformed: start timestamp greater than end\n ${JSON.stringify(cue)}`);\n }\n\n if (typeof cue.text !== 'string') {\n throw new CompilerError(`Cue malformed: null text value.\n ${JSON.stringify(cue)}`);\n }\n\n if (typeof cue.styles !== 'string') {\n throw new CompilerError(`Cue malformed: null styles value.\n ${JSON.stringify(cue)}`);\n }\n\n let output = '';\n\n if (cue.identifier.length > 0) {\n output += `${cue.identifier}\\n`;\n }\n\n const startTimestamp = convertTimestamp(cue.start);\n const endTimestamp = convertTimestamp(cue.end);\n\n output += `${startTimestamp} --> ${endTimestamp}`;\n output += cue.styles ? ` ${cue.styles}` : '';\n output += `\\n${cue.text}`;\n\n return output;\n}\n\nfunction convertTimestamp (time) {\n const hours = pad(calculateHours(time), 2);\n const minutes = pad(calculateMinutes(time), 2);\n const seconds = pad(calculateSeconds(time), 2);\n const milliseconds = pad(calculateMs(time), 3);\n return `${hours}:${minutes}:${seconds}.${milliseconds}`;\n}\n\nfunction pad (num, zeroes) {\n let output = `${num}`;\n\n while (output.length < zeroes) {\n output = `0${ output }`;\n }\n\n return output;\n}\n\nfunction calculateHours (time) {\n return Math.floor(time / 60 / 60);\n}\n\nfunction calculateMinutes (time) {\n return (Math.floor(time / 60) % 60);\n}\n\nfunction calculateSeconds (time) {\n return Math.floor((time) % 60);\n}\n\nfunction calculateMs (time) {\n return Math.floor((time % 1).toFixed(4) * 1000);\n}\n\nmodule.exports = { CompilerError, compile };\n"],"names":["CompilerError","message","error","compile","input","output","i","lastTime","cue","index","compileCue","startTimestamp","convertTimestamp","endTimestamp","time","hours","pad","calculateHours","minutes","calculateMinutes","seconds","calculateSeconds","milliseconds","calculateMs","num","zeroes","compiler"],"mappings":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,IAAI,OAAK,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,CAAA,CAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs226.js"),D=y.parser.parse;function q(s,e){e=e||10;const t=D(s),u=[];let r=[],n=null,o=0,a=0;return t.cues.forEach((i,c)=>{const f=c===0,p=c===t.cues.length-1,S=i.start,l=i.end,m=p?1/0:t.cues[c+1].start,b=f?l:l-S,d=f?0:S-t.cues[c-1].end;o=o+b+d,`${c}`,u.length+1,n&&(r.push(n),o+=n.end-a,n=null),r.push(i);let x=m-l<e&&d<e&&o>e;if(v(a,e,m,d)){const C=F(p,l,e,o,a);u.push({duration:C,cues:r}),a+=C,o=0,r=[]}else x=!1;x&&(n=i)}),u}function v(s,e,t,u){const r=I(u,e);return(u<=e||r+s<t)&&t-s>=e}function F(s,e,t,u,r){let n=t;return u>t&&(n=I(u-t,t)),s?n=parseFloat((e-r).toFixed(2)):n=Math.round(n),n}function I(s,e){return s+=e-s%e,s}var M={segment:q};exports.segmenter=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function a(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=a(r);var u=globalThis!=null&&globalThis.document?n.useLayoutEffect:()=>{};exports.useLayoutEffect=u;
2
2
  //# sourceMappingURL=index.cjs228.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/node-webvtt/lib/segmenter.js"],"sourcesContent":["'use strict';\n\nconst parse = require('./parser').parse;\n\nfunction segment (input, segmentLength) {\n segmentLength = segmentLength || 10;\n\n const parsed = parse(input);\n const segments = [];\n\n let cues = [];\n let queuedCue = null;\n let currentSegmentDuration = 0;\n let totalSegmentsDuration = 0;\n\n /**\n * One pass segmenting of cues\n */\n parsed.cues.forEach((cue, i) => {\n const firstCue = i === 0;\n const lastCue = i === parsed.cues.length - 1;\n const start = cue.start;\n const end = cue.end;\n const nextStart = lastCue ? Infinity : parsed.cues[i + 1].start;\n const cueLength = firstCue ? end : end - start;\n const silence = firstCue ? 0 : (start - parsed.cues[i - 1].end);\n\n currentSegmentDuration = currentSegmentDuration + cueLength + silence;\n\n debug('------------');\n debug(`Cue #${i}, segment #${segments.length + 1}`);\n debug(`Start ${start}`);\n debug(`End ${end}`);\n debug(`Length ${cueLength}`);\n debug(`Total segment duration = ${totalSegmentsDuration}`);\n debug(`Current segment duration = ${currentSegmentDuration}`);\n debug(`Start of next = ${nextStart}`);\n\n // if there's a boundary cue queued, push and clear queue\n if (queuedCue) {\n cues.push(queuedCue);\n currentSegmentDuration += queuedCue.end - totalSegmentsDuration;\n queuedCue = null;\n }\n\n cues.push(cue);\n\n // if a cue passes a segment boundary, it appears in both\n let shouldQueue = nextStart - end < segmentLength &&\n silence < segmentLength &&\n currentSegmentDuration > segmentLength;\n\n if (shouldSegment(totalSegmentsDuration, segmentLength, nextStart,\n silence)) {\n\n const duration = segmentDuration(lastCue, end, segmentLength,\n currentSegmentDuration,\n totalSegmentsDuration);\n\n segments.push({ duration, cues });\n\n totalSegmentsDuration += duration;\n currentSegmentDuration = 0;\n cues = [];\n } else {\n shouldQueue = false;\n }\n\n if (shouldQueue) {\n queuedCue = cue;\n }\n });\n\n return segments;\n}\n\nfunction shouldSegment (total, length, nextStart, silence) {\n\n // this is stupid, but gets one case fixed...\n const x = alignToSegmentLength(silence, length);\n const nextCueIsInNextSegment = silence <= length ||\n x + total < nextStart;\n\n return nextCueIsInNextSegment && nextStart - total >= length;\n}\n\nfunction segmentDuration (lastCue, end, length, currentSegment, totalSegments) {\n let duration = length;\n\n if (currentSegment > length) {\n duration = alignToSegmentLength(currentSegment - length, length);\n }\n\n // make sure the last cue covers the whole time of the cues\n if (lastCue) {\n duration = parseFloat((end - totalSegments).toFixed(2));\n } else {\n duration = Math.round(duration);\n }\n\n return duration;\n}\n\nfunction alignToSegmentLength (n, segmentLength) {\n n += segmentLength - n % segmentLength;\n return n;\n}\n\nconst debugging = false;\n\n/* istanbul ignore next */\nfunction debug (m) {\n if (debugging) {\n console.log(m);\n }\n}\n\nmodule.exports = { segment };\n"],"names":["parse","require$$0","segment","input","segmentLength","parsed","segments","cues","queuedCue","currentSegmentDuration","totalSegmentsDuration","cue","i","firstCue","lastCue","start","end","nextStart","cueLength","silence","shouldQueue","shouldSegment","duration","segmentDuration","total","length","x","alignToSegmentLength","currentSegment","totalSegments","n","segmenter"],"mappings":"qHAEMA,EAAQC,EAAoB,OAAA,MAElC,SAASC,EAASC,EAAOC,EAAe,CACtCA,EAAgBA,GAAiB,GAE3B,MAAAC,EAASL,EAAMG,CAAK,EACpBG,EAAW,CAAA,EAEjB,IAAIC,EAAO,CAAA,EACPC,EAAY,KACZC,EAAyB,EACzBC,EAAwB,EAK5B,OAAAL,EAAO,KAAK,QAAQ,CAACM,EAAKC,IAAM,CAC9B,MAAMC,EAAWD,IAAM,EACjBE,EAAUF,IAAMP,EAAO,KAAK,OAAS,EACrCU,EAAQJ,EAAI,MACZK,EAAML,EAAI,IACVM,EAAYH,EAAU,IAAWT,EAAO,KAAKO,EAAI,CAAC,EAAE,MACpDM,EAAYL,EAAWG,EAAMA,EAAMD,EACnCI,EAAUN,EAAW,EAAKE,EAAQV,EAAO,KAAKO,EAAI,CAAC,EAAE,IAE3DH,EAAyBA,EAAyBS,EAAYC,EAGhD,GAAAP,IAAeN,EAAS,OAAS,EAS3CE,IACFD,EAAK,KAAKC,CAAS,EACnBC,GAA0BD,EAAU,IAAME,EAC9BF,EAAA,MAGdD,EAAK,KAAKI,CAAG,EAGb,IAAIS,EAAcH,EAAYD,EAAMZ,GAChBe,EAAUf,GACVK,EAAyBL,EAEzC,GAAAiB,EAAcX,EAAuBN,EAAea,EACtDE,CAAA,EAAU,CAEV,MAAMG,EAAWC,EAAgBT,EAASE,EAAKZ,EAC7CK,EACAC,CAAA,EAEFJ,EAAS,KAAK,CAAE,SAAAgB,EAAU,KAAAf,CAAM,CAAA,EAEPG,GAAAY,EACAb,EAAA,EACzBF,EAAO,CAAA,CAAC,MAEMa,EAAA,GAGZA,IACUZ,EAAAG,EACd,CACD,EAEML,CACT,CAEA,SAASe,EAAeG,EAAOC,EAAQR,EAAWE,EAAS,CAGnD,MAAAO,EAAIC,EAAqBR,EAASM,CAAM,EAIvC,OAHwBN,GAAWM,GACXC,EAAIF,EAAQP,IAEVA,EAAYO,GAASC,CACxD,CAEA,SAASF,EAAiBT,EAASE,EAAKS,EAAQG,EAAgBC,EAAe,CAC7E,IAAIP,EAAWG,EAEf,OAAIG,EAAiBH,IACRH,EAAAK,EAAqBC,EAAiBH,EAAQA,CAAM,GAI7DX,EACFQ,EAAW,YAAYN,EAAMa,GAAe,QAAQ,CAAC,CAAC,EAE3CP,EAAA,KAAK,MAAMA,CAAQ,EAGzBA,CACT,CAEA,SAASK,EAAsBG,EAAG1B,EAAe,CAC/C,OAAA0B,GAAK1B,EAAgB0B,EAAI1B,EAClB0B,CACT,KAWAC,EAAiB,CAAE,QAAA7B,CAAQ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAA2B,6BAAY,SAAYC,EAAM,gBAAkB,IAAM,CACrF","x_google_ignoreList":[0]}
@@ -1,18 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs228.js"),c=d.segmenter.segment;function E(n,t,e){typeof e>"u"&&(e="900000");const o=c(n,t),r=[];return o.forEach((i,a)=>{const g=`WEBVTT
2
- X-TIMESTAMP-MAP=MPEGTS:${e},LOCAL:00:00:00.000
3
-
4
- ${$(i.cues)}
5
- `,h=l(a);r.push({filename:h,content:g})}),r}function f(n,t){const e=c(n,t),o=T(e);return`#EXTM3U
6
- #EXT-X-TARGETDURATION:${Math.round(S(e))}
7
- #EXT-X-VERSION:3
8
- #EXT-X-MEDIA-SEQUENCE:0
9
- #EXT-X-PLAYLIST-TYPE:VOD
10
- ${o}
11
- #EXT-X-ENDLIST
12
- `}function s(n,t){return`${"0".repeat(Math.max(0,t-n.toString().length))}${n}`}function l(n){return`${n}.vtt`}function T(n){const t=[];return n.forEach((e,o)=>{t.push(`#EXTINF:${e.duration.toFixed(5)},
13
- ${l(o)}`)}),t.join(`
14
- `)}function S(n){let t=0;return n.forEach(e=>{e.duration>t&&(t=e.duration)}),t}function $(n){const t=[];return n.forEach(e=>{t.push(p(e))}),t.join(`
15
-
16
- `)}function p(n){const t=[];n.identifier&&t.push(n.identifier);const e=u(n.start),o=u(n.end),r=n.styles?`${n.styles}`:"";return t.push(`${e} --> ${o} ${r}`),t.push(n.text),t.join(`
17
- `)}function u(n){const t=(n%1).toFixed(3);n=Math.round(n-t);const e=Math.floor(n/3600),o=Math.floor((n-e*3600)/60),r=n-e*3600-o*60;return`${`${s(e,2)}:`}${s(o,2)}:${s(r,2)}.${s(t*1e3,3)}`}var m={hlsSegment:E,hlsSegmentPlaylist:f};exports.hls=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs146.js"),a=require("./index.cjs55.js");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
18
2
  //# sourceMappingURL=index.cjs229.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/node-webvtt/lib/hls.js"],"sourcesContent":["'use strict';\n\nconst segment = require('./segmenter').segment;\n\nfunction hlsSegment (input, segmentLength, startOffset) {\n\n if (typeof startOffset === 'undefined') {\n startOffset = '900000';\n }\n\n const segments = segment(input, segmentLength);\n\n const result = [];\n segments.forEach((seg, i) => {\n\n const content = `WEBVTT\nX-TIMESTAMP-MAP=MPEGTS:${startOffset},LOCAL:00:00:00.000\n\n${printableCues(seg.cues)}\n`;\n const filename = generateSegmentFilename(i);\n result.push({ filename, content });\n });\n return result;\n}\n\nfunction hlsSegmentPlaylist (input, segmentLength) {\n\n const segmented = segment(input, segmentLength);\n\n const printable = printableSegments(segmented);\n const longestSegment = Math.round(findLongestSegment(segmented));\n\n const template = `#EXTM3U\n#EXT-X-TARGETDURATION:${longestSegment}\n#EXT-X-VERSION:3\n#EXT-X-MEDIA-SEQUENCE:0\n#EXT-X-PLAYLIST-TYPE:VOD\n${printable}\n#EXT-X-ENDLIST\n`;\n return template;\n}\n\nfunction pad (num, n) {\n const padding = '0'.repeat(Math.max(0, n - num.toString().length));\n\n return `${padding}${num}`;\n}\n\nfunction generateSegmentFilename (index) {\n return `${index}.vtt`;\n}\n\nfunction printableSegments (segments) {\n const result = [];\n segments.forEach((seg, i) => {\n result.push(`#EXTINF:${seg.duration.toFixed(5)},\n${generateSegmentFilename(i)}`);\n });\n\n return result.join('\\n');\n}\n\nfunction findLongestSegment (segments) {\n let max = 0;\n segments.forEach((seg) => {\n if (seg.duration > max) {\n max = seg.duration;\n }\n });\n\n return max;\n}\n\nfunction printableCues (cues) {\n const result = [];\n cues.forEach((cue) => {\n result.push(printableCue(cue));\n });\n\n return result.join('\\n\\n');\n}\n\nfunction printableCue (cue) {\n const printable = [];\n\n if (cue.identifier) {\n printable.push(cue.identifier);\n }\n\n const start = printableTimestamp(cue.start);\n const end = printableTimestamp(cue.end);\n\n const styles = cue.styles ? `${cue.styles}` : '';\n\n // always add a space after end timestamp, otherwise JWPlayer will not\n // handle cues correctly\n printable.push(`${start} --> ${end} ${styles}`);\n\n printable.push(cue.text);\n\n return printable.join('\\n');\n}\n\nfunction printableTimestamp (timestamp) {\n const ms = (timestamp % 1).toFixed(3);\n timestamp = Math.round(timestamp - ms);\n const hours = Math.floor(timestamp / 3600);\n const mins = Math.floor((timestamp - (hours * 3600)) / 60);\n const secs = timestamp - (hours * 3600) - (mins * 60);\n\n // TODO hours aren't required by spec, but we include them, should be config\n const hourString = `${pad(hours, 2)}:`;\n return `${hourString}${pad(mins, 2)}:${pad(secs, 2)}.${pad(ms * 1000, 3)}`;\n}\n\nmodule.exports = { hlsSegment, hlsSegmentPlaylist };\n"],"names":["segment","require$$0","hlsSegment","input","segmentLength","startOffset","segments","result","seg","i","content","printableCues","filename","generateSegmentFilename","hlsSegmentPlaylist","segmented","printable","printableSegments","findLongestSegment","pad","num","n","index","max","cues","cue","printableCue","start","printableTimestamp","end","styles","timestamp","ms","hours","mins","secs","hls"],"mappings":"qHAEMA,EAAUC,EAAuB,UAAA,QAEvC,SAASC,EAAYC,EAAOC,EAAeC,EAAa,CAElD,OAAOA,EAAgB,MACXA,EAAA,UAGV,MAAAC,EAAWN,EAAQG,EAAOC,CAAa,EAEvCG,EAAS,CAAA,EACN,OAAAD,EAAA,QAAQ,CAACE,EAAKC,IAAM,CAE3B,MAAMC,EAAU;AAAA,yBACKL,CAAW;AAAA;AAAA,EAElCM,EAAcH,EAAI,IAAI,CAAC;AAAA,EAEfI,EAAWC,EAAwBJ,CAAC,EAC1CF,EAAO,KAAK,CAAE,SAAAK,EAAU,QAAAF,CAAS,CAAA,CAAA,CAClC,EACMH,CACT,CAEA,SAASO,EAAoBX,EAAOC,EAAe,CAE3C,MAAAW,EAAYf,EAAQG,EAAOC,CAAa,EAExCY,EAAYC,EAAkBF,CAAS,EAWtC,MARU;AAAA,wBAFM,KAAK,MAAMG,EAAmBH,CAAS,CAAC,CAG3B;AAAA;AAAA;AAAA;AAAA,EAIpCC,CAAS;AAAA;AAAA,CAIX,CAEA,SAASG,EAAKC,EAAKC,EAAG,CAGb,MAAA,GAFS,IAAI,OAAO,KAAK,IAAI,EAAGA,EAAID,EAAI,WAAW,MAAM,CAAC,CAEhD,GAAGA,CAAG,EACzB,CAEA,SAASP,EAAyBS,EAAO,CACvC,MAAO,GAAGA,CAAK,MACjB,CAEA,SAASL,EAAmBX,EAAU,CACpC,MAAMC,EAAS,CAAA,EACN,OAAAD,EAAA,QAAQ,CAACE,EAAKC,IAAM,CAC3BF,EAAO,KAAK,WAAWC,EAAI,SAAS,QAAQ,CAAC,CAAC;AAAA,EAChDK,EAAwBJ,CAAC,CAAC,EAAE,CAAA,CAC3B,EAEMF,EAAO,KAAK;AAAA,CAAI,CACzB,CAEA,SAASW,EAAoBZ,EAAU,CACrC,IAAIiB,EAAM,EACD,OAAAjB,EAAA,QAASE,GAAQ,CACpBA,EAAI,SAAWe,IACjBA,EAAMf,EAAI,SACZ,CACD,EAEMe,CACT,CAEA,SAASZ,EAAea,EAAM,CAC5B,MAAMjB,EAAS,CAAA,EACV,OAAAiB,EAAA,QAASC,GAAQ,CACblB,EAAA,KAAKmB,EAAaD,CAAG,CAAC,CAAA,CAC9B,EAEMlB,EAAO,KAAK;AAAA;AAAA,CAAM,CAC3B,CAEA,SAASmB,EAAcD,EAAK,CAC1B,MAAMT,EAAY,CAAA,EAEdS,EAAI,YACIT,EAAA,KAAKS,EAAI,UAAU,EAGzB,MAAAE,EAAQC,EAAmBH,EAAI,KAAK,EACpCI,EAAMD,EAAmBH,EAAI,GAAG,EAEhCK,EAASL,EAAI,OAAS,GAAGA,EAAI,MAAM,GAAK,GAI9C,OAAAT,EAAU,KAAK,GAAGW,CAAK,QAAQE,CAAG,IAAIC,CAAM,EAAE,EAEpCd,EAAA,KAAKS,EAAI,IAAI,EAEhBT,EAAU,KAAK;AAAA,CAAI,CAC5B,CAEA,SAASY,EAAoBG,EAAW,CACtC,MAAMC,GAAMD,EAAY,GAAG,QAAQ,CAAC,EACxBA,EAAA,KAAK,MAAMA,EAAYC,CAAE,EACrC,MAAMC,EAAQ,KAAK,MAAMF,EAAY,IAAI,EACnCG,EAAO,KAAK,OAAOH,EAAaE,EAAQ,MAAS,EAAE,EACnDE,EAAOJ,EAAaE,EAAQ,KAASC,EAAO,GAIlD,MAAO,GADY,GAAGf,EAAIc,EAAO,CAAC,CAAC,GACf,GAAGd,EAAIe,EAAM,CAAC,CAAC,IAAIf,EAAIgB,EAAM,CAAC,CAAC,IAAIhB,EAAIa,EAAK,IAAM,CAAC,CAAC,EAC1E,CAEA,IAAAI,EAAiB,CAAE,WAAAlC,EAAY,mBAAAY,CAAmB","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"gcAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,IAAI,CAAE,CACnL,CACD,OAAuBE,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAAC,CAAQ,CAAE,CACrF,CAAC,EACDJ,EAAK,YAAc,OACnB,IAAIa,EAAYZ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EAC1C,OAAOH,EAAM,aAAaG,EAAU,CAClC,GAAGY,EAAWX,EAAWD,EAAS,KAAK,EAEvC,IAAKD,EAAec,EAAAA,YAAYd,EAAcW,CAAW,EAAIA,CACnE,CAAK,CACF,CACD,OAAOb,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACDY,EAAU,YAAc,YACrB,IAACK,EAAY,CAAC,CAAE,SAAAd,KACMQ,wBAAIO,EAAAA,kBAAAA,SAAU,CAAE,SAAAf,CAAU,CAAA,EAEnD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASO,CACvD,CACA,SAASF,EAAWX,EAAWe,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,GAC3B,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CAC/B,EACiBF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAErF,CACD,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,EAC5B,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
2
2
  //# sourceMappingURL=index.cjs230.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs230.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,IAAI,OAAK,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,CAAA,CAAE,CAC5E","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Te=Object.defineProperty,Se=(e,t,i)=>t in e?Te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,T=(e,t,i)=>(Se(e,typeof t!="symbol"?t+"":t,i),i);const s=[];Object.freeze(s);const B={id:"https://iiif-parser/annotation-page",type:"AnnotationPage",behavior:s,motivation:null,label:null,thumbnail:s,summary:null,requiredStatement:null,metadata:s,rights:null,provider:s,items:s,seeAlso:s,homepage:s,logo:s,rendering:s,service:s},H={id:"https://iiif-parser/empty-canvas",type:"Canvas",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,duration:0,height:0,width:0},Y={id:"https://iiif-parser/empty-collection",type:"Collection",label:null,viewingDirection:"left-to-right",behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,services:s},K={id:"https://iiif-parser/empty-manifest",type:"Manifest",annotations:s,behavior:s,homepage:s,items:s,label:null,logo:s,metadata:s,motivation:null,navDate:null,provider:s,partOf:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,rendering:s,requiredStatement:null,rights:null,seeAlso:s,service:s,services:s,start:null,structures:s,summary:null,thumbnail:s,viewingDirection:"left-to-right"},Q={id:"https://iiif-parser/empty-canvas",type:"Range",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,start:null,supplementary:null,viewingDirection:"left-to-right"},X={id:"https://iiif-parser/empty-agent",type:"Agent",label:{},logo:s,seeAlso:s,homepage:s};function x(e){return Array.isArray(e)?e:[e]}const O=["Collection","Manifest","Canvas","AnnotationPage","AnnotationCollection","Annotation","ContentResource","Range","Service","Selector","Agent"];function Z(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e.type=="string"){const t=O.indexOf(e.type);if(t!==-1)return O[t]}if(e.profile)return"Service";throw new Error("Resource type is not known")}class S{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationCollection:[],annotationPage:[],annotation:[],contentResource:[],choice:[],range:[],service:[],agent:[],...t},this.options={allowUndefinedReturn:!1,...i}}static all(t){return new S({collection:[t],manifest:[t],canvas:[t],annotationCollection:[t],annotationPage:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t]})}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=t.thumbnail.map(i=>this.traverseType(i,this.traversals.contentResource))),t.provider&&(t.provider=t.provider.map(i=>this.traverseAgent(i))),t}traverseLinking(t){return t.seeAlso&&(t.seeAlso=t.seeAlso.map(i=>this.traverseType(i,this.traversals.contentResource))),t.service&&(t.service=x(t.service).map(i=>this.traverseType(i,this.traversals.service))),t.services&&(t.services=t.services.map(i=>this.traverseType(i,this.traversals.service))),t.logo&&(t.logo=t.logo.map(i=>this.traverseType(i,this.traversals.contentResource))),t.homepage&&(t.homepage=t.homepage.map(i=>this.traverseType(i,this.traversals.contentResource))),t.partOf&&(t.partOf=t.partOf.map(i=>typeof i=="string"||!i.type?this.traverseType(i,this.traversals.contentResource):i.type==="Canvas"?this.traverseType(i,this.traversals.canvas):i.type==="AnnotationCollection"?this.traverseType(i,this.traversals.annotationCollection):i.type==="Collection"?this.traverseType(i,this.traversals.collection):this.traverseType(i,this.traversals.contentResource))),t.start&&(t.start=t.start?this.traverseType(t.start,this.traversals.canvas):null),t.rendering&&(t.rendering=t.rendering.map(i=>this.traverseType(i,this.traversals.contentResource))),t.supplementary&&(t.supplementary=t.supplementary.map(i=>this.traverseType(i,this.traversals.contentResource))),t}traverseCollectionItems(t){return t.items&&t.items.map(i=>i.type==="Collection"?this.traverseCollection(i):this.traverseManifest(i)),t}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseInlineAnnotationPages(this.traverseLinking(this.traversePosterCanvas(this.traverseCollectionItems(t))))),this.traversals.collection)}traverseManifestItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseCanvas(i))),t}traverseManifestStructures(t){return t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseManifest(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traverseManifestStructures(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t)))))),this.traversals.manifest)}traverseCanvasItems(t){return t.items=(t.items||[]).map(i=>this.traverseAnnotationPage(i)),t}traverseInlineAnnotationPages(t){return typeof t=="string"||!t||t.annotations&&(t.annotations=t.annotations.map(i=>this.traverseAnnotationPage(i))),t}traverseCanvas(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))))),this.traversals.canvas)}traverseAnnotationPageItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseAnnotation(i))),t}traverseAnnotationPage(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationPageItems(t))),this.traversals.annotationPage)}traverseAnnotationBody(t){return Array.isArray(t.body)?t.body=t.body.map(i=>this.traverseContentResource(i)):t.body&&(t.body=this.traverseContentResource(t.body)),t}traversePosterCanvas(t){return t.posterCanvas&&(t.posterCanvas=this.traverseCanvas(t.posterCanvas)),t.placeholderCanvas&&(t.placeholderCanvas=this.traverseCanvas(t.placeholderCanvas)),t.accompanyingCanvas&&(t.accompanyingCanvas=this.traverseCanvas(t.accompanyingCanvas)),t}traverseAnnotation(t){return this.traverseType(this.traverseLinking(this.traverseAnnotationBody(t)),this.traversals.annotation)}traverseContentResourceLinking(t){return typeof t=="string"||!t||t&&t.service&&(t.service=x(t.service||[]).map(i=>this.traverseType(i,this.traversals.service))),t}traverseContentResource(t){return t.type==="Choice"&&(t.items=t.items.map(i=>this.traverseContentResource(i))),this.traverseType(this.traverseInlineAnnotationPages(this.traverseContentResourceLinking(t)),this.traversals.contentResource)}traverseRangeRanges(t){return t.items&&(t.items=t.items.map(i=>typeof i=="string"?this.traverseCanvas({id:i,type:"Canvas"}):i.type==="Manifest"?this.traverseManifest(i):this.traverseRange(i))),t}traverseRange(t){return this.traverseType(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseRangeRanges(t)))),this.traversals.range)}traverseAgent(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.agent)}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}traverseService(t){return this.traverseType(t,this.traversals.service)}traverseUnknown(t){const i=Z(t);switch(i){case"Collection":return this.traverseCollection(t);case"Manifest":return this.traverseManifest(t);case"Canvas":return this.traverseCanvas(t);case"AnnotationPage":return this.traverseAnnotationPage(t);case"Annotation":return this.traverseAnnotation(t);case"ContentResource":return this.traverseContentResource(t);case"Range":return this.traverseRange(t);case"Service":return this.traverseService(t);case"Agent":return this.traverseAgent(t);default:throw new Error(`Unknown or unsupported resource type of ${i}`)}}}const q=["sc:Collection","sc:Manifest","sc:Canvas","sc:AnnotationList","oa:Annotation","sc:Range","sc:Layer","sc:Sequence","oa:Choice","Service","ContentResource"];function Me(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e["@type"]=="string"){const t=q.indexOf(e["@type"]);if(t!==-1)return q[t]}if(e.profile)return"Service";if(e.format||e["@type"])return"ContentResource";throw new Error("Resource type is not known")}class j{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationList:[],sequence:[],annotation:[],contentResource:[],choice:[],range:[],service:[],layer:[],...t},this.options={convertPropsToArray:!0,mergeMemberProperties:!0,allowUndefinedReturn:!1,...i}}static all(t){return new j({collection:[t],manifest:[t],canvas:[t],annotationList:[t],sequence:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t],layer:[t]})}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCollectionItems(t))),this.traversals.collection)}traverseCollectionItems(t){if(this.options.mergeMemberProperties){const i=[...(t.manifests||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Manifest"}:n),...(t.collections||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Collection"}:n),...t.members||[]];delete t.collections,delete t.manifests,t.members=i}return t.manifests&&(t.manifests=t.manifests.map(i=>this.traverseManifest(typeof i=="string"?{"@id":i,"@type":"sc:Manifest"}:i))),t.collections&&(t.collections=t.collections.map(i=>this.traverseCollection(typeof i=="string"?{"@id":i,"@type":"sc:Collection"}:i))),t.members&&(t.members=t.members.map(i=>typeof i=="string"?i:this.traverseUnknown(i))),t}traverseManifest(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t))),this.traversals.manifest)}traverseManifestItems(t){return t.sequences&&(t.sequences=t.sequences.map(i=>this.traverseSequence(i))),t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseSequence(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseSequenceItems(t))),this.traversals.sequence)}traverseSequenceItems(t){return t.canvases&&(t.canvases=t.canvases.map(i=>this.traverseCanvas(i))),t}traverseCanvas(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))),this.traversals.canvas)}traverseCanvasItems(t){return t.images&&(t.images=t.images.map(i=>this.traverseAnnotation(i))),t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseRange(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseRangeItems(t))),this.traversals.range)}traverseRangeItems(t){if(this.options.mergeMemberProperties){const i=[...(t.ranges||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Range"}:n),...(t.canvases||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Canvas"}:n),...t.members||[]];delete t.ranges,delete t.canvases,t.members=i.length?i.map(n=>this.traverseUnknown(n)):void 0}return t}traverseAnnotationList(t){const i=typeof t=="string"?{"@id":t,"@type":"sc:AnnotationList"}:t;return this.traverseType(this.traverseDescriptive(this.traverseAnnotationListItems(i)),this.traversals.annotationList)}traverseAnnotationListItems(t){return t.resources&&(t.resources=t.resources.map(i=>this.traverseAnnotation(i))),t}traverseAnnotation(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationItems(t))),this.traversals.annotation)}traverseAnnotationItems(t){return t.resource&&(Array.isArray(t.resource)?t.resource=t.resource.map(i=>this.traverseContentResource(i)):t.resource=this.traverseContentResource(t.resource)),t.on,t}traverseLayer(t){return this.traverseType(this.traverseLinking(this.traverseLayerItems(t)),this.traversals.layer)}traverseLayerItems(t){return t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseChoice(t){return this.traverseType(this.traverseChoiceItems(t),this.traversals.choice)}traverseChoiceItems(t){return t.default&&t.default!=="rdf:nil"&&(t.default=this.traverseContentResource(t.default)),t.item&&t.item!=="rdf:nil"&&(t.item=t.item.map(i=>this.traverseContentResource(i))),t}traverseService(t){return this.traverseType(this.traverseLinking(t),this.traversals.service)}traverseContentResource(t){return t["@type"]==="oa:Choice"?this.traverseChoice(t):this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.contentResource)}traverseUnknown(t){if(!t["@type"]||typeof t=="string")return t;switch(Me(t)){case"sc:Collection":return this.traverseCollection(t);case"sc:Manifest":return this.traverseManifest(t);case"sc:Canvas":return this.traverseCanvas(t);case"sc:Sequence":return this.traverseSequence(t);case"sc:Range":return this.traverseRange(t);case"oa:Annotation":return this.traverseAnnotation(t);case"sc:AnnotationList":return this.traverseAnnotationList(t);case"sc:Layer":return this.traverseLayer(t);case"Service":return this.traverseService(t);case"oa:Choice":return this.traverseChoice(t);case"ContentResource":return this.traverseContentResource(t)}return t.profile?this.traverseService(t):t}traverseImageResource(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)typeof a=="string"?r.push(this.traverseContentResource({"@id":a,"@type":"dctypes:Image"})):r.push(this.traverseContentResource(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=this.traverseImageResource(t.thumbnail)),t.logo&&(t.logo=this.traverseImageResource(t.logo)),t}traverseOneOrMoreServices(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)r.push(this.traverseService(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseLinking(t){return t.related&&(t.related=this.traverseOneOrManyType(t.related,this.traversals.contentResource)),t.rendering&&(t.rendering=this.traverseOneOrManyType(t.rendering,this.traversals.contentResource)),t.service&&(t.service=this.traverseOneOrMoreServices(t.service)),t.seeAlso&&(t.seeAlso=this.traverseOneOrManyType(t.seeAlso,this.traversals.contentResource)),t.within&&(typeof t.within=="string"||(t.within=this.traverseOneOrManyType(t.within,this.traversals.contentResource))),t.startCanvas&&(typeof t.startCanvas=="string"?t.startCanvas=this.traverseType({"@id":t.startCanvas,"@type":"sc:Canvas"},this.traversals.canvas):t.startCanvas&&this.traverseType(t.startCanvas,this.traversals.canvas)),t.contentLayer&&(typeof t.contentLayer=="string"?t.contentLayer=this.traverseLayer({"@id":t.contentLayer,"@type":"sc:Layer"}):t.contentLayer=this.traverseLayer(t.contentLayer)),t}traverseOneOrManyType(t,i){if(!Array.isArray(t))if(this.options.convertPropsToArray)t=[t];else return this.traverseType(t,i);return t.map(n=>this.traverseType(n,i))}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}}const Pe="http://library.stanford.edu/iiif/image-api/compliance.html#level0",J="http://library.stanford.edu/iiif/image-api/compliance.html#level1",ee="http://library.stanford.edu/iiif/image-api/compliance.html#level2",xe="http://library.stanford.edu/iiif/image-api/conformance.html#level0",te="http://library.stanford.edu/iiif/image-api/conformance.html#level1",ie="http://library.stanford.edu/iiif/image-api/conformance.html#level2",Oe="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",ne="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",re="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",Fe="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",ae="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",se="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",De="http://iiif.io/api/image/1/level0.json",Ne="http://iiif.io/api/image/1/profiles/level0.json",oe="http://iiif.io/api/image/1/level1.json",le="http://iiif.io/api/image/1/profiles/level1.json",ve="http://iiif.io/api/image/1/level2.json",pe="http://iiif.io/api/image/1/profiles/level2.json",ke="http://iiif.io/api/image/2/level0.json",je="http://iiif.io/api/image/2/profiles/level0.json",fe="http://iiif.io/api/image/2/level1.json",ue="http://iiif.io/api/image/2/profiles/level1.json",he="http://iiif.io/api/image/2/level2.json",ce="http://iiif.io/api/image/2/profiles/level2.json",$e="level0",de="level1",me="level2",Ge="http://iiif.io/api/image/2/level0",ge="http://iiif.io/api/image/2/level1",ye="http://iiif.io/api/image/2/level2",Ue=[ge,ye,J,ee,te,ie,ne,re,ae,se,oe,le,ve,pe,fe,ue,he,ce,de,me],qe=[Ge,ge,ye,Pe,J,ee,xe,te,ie,Oe,ne,re,Fe,ae,se,De,Ne,oe,le,ve,pe,ke,je,fe,ue,he,ce,$e,de,me],F={attributionLabel:"Attribution",lang:"none",providerId:"http://example.org/provider",providerName:"Unknown"};function _(e,t="none"){if(!e)return{};const i=Array.isArray(e)?e:[e],n={};for(const r of i){if(typeof r=="string"){n[t]=n[t]?n[t]:[],n[t].push(r||"");continue}if(!r["@language"]){n[t]=n[t]?n[t]:[],n[t].push(r["@value"]||"");continue}const a=r["@language"];n[a]=n[a]?n[a]:[],n[a].push(r["@value"]||"")}return n}function Ae(e){if(Array.isArray(e))return Ae(e.find(t=>typeof t=="string"));if(qe.indexOf(e)!==-1)return"level2";if(Ue.indexOf(e)!==-1)return"level1";if(typeof e=="string")return e}function Ve(e){const t=Array.isArray(e)?e:[e];for(const i of t)switch(i){case"http://iiif.io/api/image/2/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2":return"ImageService2";case"http://iiif.io/api/image/1/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/context.json":return"ImageService1";case"http://iiif.io/api/annex/openannotation/context.json":return"ImageApiSelector"}}function We(e){switch(e){case"http://iiif.io/api/image/2/level0.json":case"http://iiif.io/api/image/2/level1.json":case"http://iiif.io/api/image/2/level2.json":return"ImageService2";case"http://iiif.io/api/auth/1/kiosk":case"http://iiif.io/api/auth/1/login":case"http://iiif.io/api/auth/1/clickthrough":case"http://iiif.io/api/auth/1/external":case"http://iiif.io/api/auth/0/kiosk":case"http://iiif.io/api/auth/0/login":case"http://iiif.io/api/auth/0/clickthrough":case"http://iiif.io/api/auth/0/external":return"AuthCookieService1";case"http://iiif.io/api/auth/1/token":case"http://iiif.io/api/auth/0/token":return"AuthTokenService1";case"http://iiif.io/api/auth/1/logout":case"http://iiif.io/api/auth/0/logout":return"AuthLogoutService1";case"http://iiif.io/api/search/1/search":case"http://iiif.io/api/search/0/search":return"SearchService1";case"http://iiif.io/api/search/1/autocomplete":case"http://iiif.io/api/search/0/autocomplete":return"AutoCompleteService1"}}function V(e){for(const t of["sc","oa","dcterms","dctypes","iiif"])if(e.startsWith(`${t}:`))return e.slice(t.length+1);return e}const ze=["Collection","Manifest","Annotation","AnnotationPage","Range","Service"];function $(e){const t=e["@id"]||e.id;let i=e["@type"]||e.type;const n=e.profile||void 0,r=e["@context"]||void 0;if(n){const a=We(n);if(a)return a}if(r){const a=Ve(r);if(a)return a}if(i){if(Array.isArray(i)){if(i.indexOf("oa:CssStylesheet")!==-1)return"CssStylesheet";if(i.indexOf("cnt:ContentAsText")!==-1)return"TextualBody";i=i[0]}for(const a of["sc","oa","dcterms","dctypes","iiif"])if(i.startsWith(`${a}:`)){i=i.slice(a.length+1);break}switch(i){case"Layer":return"AnnotationCollection";case"AnnotationList":return"AnnotationPage";case"cnt:ContentAsText":return"TextualBody"}}if(i&&ze.indexOf(i)!==-1)return i;if(e.format){if(e.format.startsWith("image/"))return"Image";if(e.format.startsWith("text/")||e.format==="application/pdf")return"Text";if(e.format.startsWith("application/"))return"Dataset"}return t&&(t.endsWith(".jpg")||t.endsWith(".png")||t.endsWith(".jpeg"))?"Image":i||"unknown"}const Be=/http(s)?:\/\/(creativecommons.org|rightsstatements.org)[^"'\\<\n]+/gm;function He(e){const t=e.match(Be);return t?t[0]:e}function Ye(e,t="Rights/License",i="none"){let n=null;const r=[],a=Array.isArray(e)?e:[e];for(const l of a){const v=l?He(l):void 0;if(v&&(v.indexOf("creativecommons.org")!==-1||v.indexOf("rightsstatements.org")!==-1)){v.startsWith("https://")?n=`http://${v.slice(8)}`:n=v;continue}v&&r.push({label:{[i]:[t]},value:{[i]:[v]}})}return[n,r]}const Ke=["http://iiif.io/api/presentation/2/context.json","http://iiif.io/api/image/2/context.json","http://iiif.io/api/image/1/context.json","http://library.stanford.edu/iiif/image-api/1.1/context.json","http://iiif.io/api/search/1/context.json","http://iiif.io/api/search/0/context.json","http://iiif.io/api/auth/1/context.json","http://iiif.io/api/auth/0/context.json","http://iiif.io/api/annex/openannotation/context.json"];function Qe(e){if(e){const t=Array.isArray(e)?e:[e],i=[];for(const n of t)n==="http://iiif.io/api/presentation/2/context.json"&&i.push("http://iiif.io/api/presentation/3/context.json"),Ke.indexOf(n)===-1&&i.push(n);if(t.length)return i.length===1?i[0]:i}}function Xe(e){return e?e.map(t=>({label:_(t.label),value:_(t.value)})):[]}function p(e){for(const t in e)(typeof e[t]>"u"||e[t]===null)&&delete e[t];return e}let W=0;function Ce(e,t){const i=encodeURI(e.id||e["@id"]||"").trim();return i&&t?`${i}/${t}`:i||(W++,`http://example.org/${e["@type"]}${t?`/${t}`:""}/${W}`)}function f(e){const t=[...e.behavior||[]];e.viewingHint&&t.push(e.viewingHint);let i;return Array.isArray(e.motivation)?i=e.motivation.map(V):e.motivation&&(i=V(e.motivation)),{"@context":e["@context"]?Qe(e["@context"]):void 0,id:(e["@id"]||Ce(e)).trim(),type:$(e),behavior:t.length?t:void 0,height:e.height?e.height:void 0,width:e.width?e.width:void 0,motivation:i,viewingDirection:e.viewingDirection,profile:e.profile,format:e.format?e.format:void 0,duration:void 0,timeMode:void 0}}function u(e){const[t,i]=Ye(e.license),n=[...e.metadata?Xe(e.metadata):[],...i];return{rights:t,metadata:n.length?n:void 0,label:e.label?_(e.label):void 0,requiredStatement:e.attribution?{label:_(F.attributionLabel),value:_(e.attribution)}:void 0,navDate:e.navDate,summary:e.description?_(e.description):void 0,thumbnail:e.thumbnail}}function Ze(e){if(!e.within)return;const t=Array.isArray(e.within)?e.within:[e.within],i=[];for(const n of t)if(typeof n=="string"){if(n)switch(e["@type"]){case"sc:Manifest":i.push({id:n,type:"Collection"});break}}else n["@id"]&&i.push({id:n["@id"],type:$(n)});return i.length?i:void 0}function d(e){const t=e.related?Array.isArray(e.related)?e.related:[e.related]:[],i=e.contentLayer;return{provider:e.logo||t.length?[{id:F.providerId,type:"Agent",homepage:t.length?[t[0]]:void 0,logo:e.logo?Array.isArray(e.logo)?e.logo:[e.logo]:void 0,label:_(F.providerName)}]:void 0,partOf:Ze(e),rendering:e.rendering,seeAlso:e.seeAlso,start:e.startCanvas,service:e.service?x(e.service):void 0,supplementary:i?[i]:void 0}}function Je(e){return{chars:e.chars,format:e.format?e.format:void 0,language:e.language}}function et(e){return p({...f(e),...u(e),...d(e),items:e.members})}function tt(e){const t=[],i=[];for(const r of e.sequences||[])r.canvases.length&&t.push(...r.canvases),r.behavior&&i.push(...r.behavior);const n=f(e);return i.length&&(n.behavior?n.behavior.push(...i):n.behavior=i),p({...n,...u(e),...d(e),items:t,structures:e.structures})}function it(e){return p({...f(e),...u(e),...d(e),annotations:e.otherContent&&e.otherContent.length?e.otherContent:void 0,items:e.images&&e.images.length?[{id:Ce(e,"annotation-page"),type:"AnnotationPage",items:e.images}]:void 0})}function nt(e){return p({...f(e),...u(e),...d(e),items:e.resources&&e.resources.length?e.resources:void 0})}function rt(e){return!e.canvases||e.canvases.length===0?{canvases:[],behavior:[]}:{canvases:e.canvases,behavior:e.viewingHint?[e.viewingHint]:[]}}function at(e){function t(i){if(Array.isArray(i)){if(i.length>1)return{type:"List",items:i.map(t)};i=i[0]}if(typeof i=="string")return encodeURI(i).trim();if("@type"in i){let n;if(typeof i.full=="string")n=i.full;else if(i.full["@type"]==="dctypes:Image")n={id:i.full["@id"],type:"Image"};else if(i.full["@type"]==="sc:Canvas")n={id:i.full["@id"],type:"Canvas"};else throw new Error(`Unsupported source type on annotation: ${i.full["@type"]}`);return{type:"SpecificResource",source:n,selector:N(i.selector)}}else return encodeURI(i["@id"]).trim()}return p({...f(e),...u(e),...d(e),target:t(e.on),body:Array.isArray(e.resource)?e.resource.map(D):D(e.resource)})}function D(e){const t=e;return p({...f(t),...u(t),...d(t),...Je(t)})}function st(e){const t=[];return e.default&&e.default!=="rdf:nil"&&t.push(e.default),e.item&&e.item!=="rdf:nil"&&t.push(...e.item),{...f(e),...u(e),items:t}}function ot(e){return p({...f(e),...u(e),...d(e),items:e.members})}function lt(e){const{"@id":t,"@type":i,"@context":n,profile:r,...a}=e,l={};return t&&(l["@id"]=t),l["@type"]=$(e),l["@type"]==="unknown"&&(n&&n.length&&(l["@context"]=n),l["@type"]="Service"),r&&(l.profile=Ae(r)),p({...l,...a})}function vt(e){return p({...f(e),...u(e),...d(e)})}const pt=new j({collection:[et],manifest:[tt],canvas:[it],annotationList:[nt],sequence:[rt],annotation:[at],contentResource:[D],choice:[st],range:[ot],service:[lt],layer:[vt]});function ft(e){return e&&e["@context"]&&(e["@context"]==="http://iiif.io/api/presentation/2/context.json"||e["@context"].indexOf("http://iiif.io/api/presentation/2/context.json")!==-1||e["@context"]==="http://www.shared-canvas.org/ns/context.json")||e["@context"]==="http://iiif.io/api/image/2/context.json"?pt.traverseUnknown(e):e}function N(e){if((Array.isArray(e["@type"])&&e["@type"].includes("oa:SvgSelector")||e["@type"]=="oa:SvgSelector")&&("chars"in e||"value"in e))return{type:"SvgSelector",value:"chars"in e?e.chars:e.value};if(e["@type"]==="oa:FragmentSelector")return{type:"FragmentSelector",value:e.value};if(e["@type"]==="oa:Choice")return[N(e.default),...(Array.isArray(e.item)?e.item:[e.item]).map(N)];if(e["@type"]=="iiif:ImageApiSelector")return{type:"ImageApiSelector",region:"region"in e?e.region:void 0,rotation:"rotation"in e?e.rotation:void 0};throw new Error(`Unsupported selector type: ${e["@type"]}`)}function Ie(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}function _e(e,t){if(typeof e=="string")return{id:e,type:t};if(!e.id)throw new Error(`Invalid resource does not have an ID (${t})`);return e}function ut(e){return(t,i)=>{const n=e[t]?e[t]:{};return r=>{const a=_e(r,i||t);return a&&a.id&&t?(n[a.id]=n[a.id]?be(n[a.id],a):Object.assign({},a),{id:a.id,type:t==="ContentResource"?t:a.type}):a}}}function k(e,t){if(!t)return e;if(Array.isArray(e)){if(!Array.isArray(t))throw new Error("Cannot merge array with non-array");const i=[...e];for(const n of t)if(n!=null)if(Array.isArray(n))i.push(n);else if(typeof n=="object"&&n.id&&n.type){const r=i.findIndex(a=>a.id===n.id&&a.type===n.type);r>=0&&(i[r]=k(i[r],n))}else e.indexOf(n)===-1&&i.push(n);return i}else if(typeof e=="object"){if(Array.isArray(t)||typeof t!="object")throw new Error("Cannot merge object with non-object");const i={...e};for(const[n,r]of Object.entries(t)){const a=i[n];a===s||!a?i[n]=r:i[n]=k(a,r)}return i}else if(e)return e;return t}function be(e,t){if(typeof e=="string")return e;if(t.id!==e.id||t.type!==e.type)throw new Error("Can only merge entities with identical identifiers and type!");return k({...e},t)}function ht(e){return(t,i)=>n=>{const{id:r,type:a}=_e(n,i||t);if(typeof r>"u")throw new Error("Found invalid entity without an ID.");return t==="ContentResource"?e[r]=t:e[r]=a,n}}function ct(e){const t=JSON.stringify(e);let i=5381,n=t.length;for(;n;)i=i*33^t.charCodeAt(--n);const a=(i>>>0).toString(16);return a.length%2?"0"+a:a}function P(e){return t=>typeof t=="string"?{id:t,type:e}:t.id?t.type?t:{type:e,...t}:{id:`vault://${ct(t)}`,type:e,...t}}function b(e){return t=>({...e,...t})}function w(e){return Array.isArray(e)?e:[e]}function dt(e){return e.body&&(e.body=w(e.body)),e.seeAlso&&(e.seeAlso=w(e.seeAlso)),e.body&&(e.body=w(e.body)),e.audience&&(e.audience=w(e.audience)),e.accessibility&&(e.accessibility=w(e.accessibility)),e.motivation&&(e.motivation=w(e.motivation)),e}function mt(e){const t=ft(e),i=Ie(),n={},r=ut(i),a=ht(n),v=new S({collection:[b(Y),a("Collection"),r("Collection")],manifest:[b(K),a("Manifest"),r("Manifest")],canvas:[b(H),a("Canvas"),r("Canvas")],annotationPage:[P("AnnotationPage"),b(B),a("AnnotationPage"),r("AnnotationPage")],annotation:[P("Annotation"),dt,a("Annotation"),r("Annotation")],contentResource:[P("ContentResource"),a("ContentResource"),r("ContentResource")],range:[b(Q),a("Range","Canvas"),r("Range","Canvas")],agent:[b(X),a("Agent"),r("Agent")]}).traverseUnknown(t);return{entities:i,resource:v,mapping:n}}const h="__$UNSET$__",G="__$UNWRAP$__";function gt(e,t){const i=e.requests[t],n=e.mapping[t];if(!(!n||i&&i.resourceUri&&!e.entities[n][i.resourceUri]))return e.entities[n][i?i.resourceUri:t]}function we(e){const t={};for(const[i,n]of e){if(i===G&&n!==h)return n;n!==h&&typeof n<"u"&&n!==null&&(t[i]=n)}return t}function yt(e,t,i){if(!t.type||!t.id)throw new Error("Unknown entity");if(!i[t.type])throw new Error(`Serializer not found for ${t.type}`);function n(r){const a=i[r.type];if(!a)return h;const l=gt(e,r.id)||(r.id&&r.type?r:null);if(!l)return h;const v=a(l,e,{isTopLevel:t.id===r.id});let E=v.next();for(;!E.done;){const L=E.value;let M=h;if(L)if(Array.isArray(L)){const U=[];for(const Le of L)U.push(n(Le));M=U}else M=n(L);E=v.next(M)}return E.value===h?h:we(E.value)}return n(t)}function I(e){if(!e)return;const t=Object.keys(e);if(t.length!==0){if(t.length===1){const i=t[0];if(!i)return"";const n=(e[i]||[]).join("");return i==="@none"||i==="none"||i==="en"?n:{"@language":i,"@value":n}}return t.map(i=>({"@language":i,"@value":(e[i]||[]).join("")}))}}function Ee(e){return Array.isArray(e)?e.map(t=>Ee(t)):typeof e=="string"?e:e.type&&e.type==="Canvas"?e.id:e}function c(e,t=!1){if(e)return e.length>1&&!t?e:e[0]||void 0}function At(e){if(e){if(typeof e=="string")return{"@id":e};if("@id"in e){const t={...e};return delete t["@type"],t}return{"@context":"http://iiif.io/api/image/2/context.json","@id":e.id,profile:`http://iiif.io/api/image/2/profiles/${e.profile}.json`}}}function m(e,t){return[["@id",e.id],["@type",t],["format",e.format],["height",e.height],["width",e.width],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0]]}function*g(e){const t=e.provider?yield e.provider[0]:void 0;return[["label",I(e.label)],["metadata",e.metadata&&e.metadata.length?e.metadata.map(i=>({label:I(i.label)||"",value:I(i.value)||""})):void 0],["description",I(e.summary)],["thumbnail",c(yield e.thumbnail)],["navDate",e.navDate],["logo",t?c(t.logo):void 0],["homepage",t?t.homepage:void 0],["attribution",e.requiredStatement?I(e.requiredStatement.value):void 0]]}function*R(e){return[["seeAlso",c(yield e.seeAlso)],["service",c((e.service||[]).map(At))],["rendering",c(yield e.rendering)],["startCanvas",e.start?e.start.id:void 0]]}const Ct={Manifest:function*(e){return[...m(e,"sc:Manifest"),...yield*g(e),...yield*R(e),["sequences",[{"@id":`${e.id}/sequence0`,"@type":"sc:Sequence",canvases:yield e.items}]],["structures",yield e.structures]]},Canvas:function*(e){const i=(yield e.items)[0];return[...m(e,"sc:Canvas"),...yield*g(e),...yield*R(e),["images",i?[i.resources]:void 0],["annotations",e.annotations&&e.annotations.length?c(yield e.annotations):void 0]]},AnnotationPage:function*(e){return[...m(e,"sc:AnnotationList"),...yield*g(e),["resources",e.items&&e.items.length?c(yield e.items):void 0]]},Annotation:function*(e){return[["@id",e.id],["@type","oa:Annotation"],["motivation","sc:painting"],["on",Ee(e.target)],["resource",c(yield e.body,!0)]]},ContentResource:function*(e){switch(e.type){case"Image":return[...m(e,"dctypes:Image"),...yield*g(e),...yield*R(e)];case"Text":case"Dataset":default:return[...m(e,void 0),...yield*g(e)]}},AnnotationCollection:function*(e){return[["@id",e.id],["@type","sc:Layer"],["label",I(e.label)]]},Collection:function*(e){return[...m(e,"sc:Collection"),...yield*g(e),...yield*R(e),["members",yield*e.items]]},Range:function*(e){const t=[],i=[];if(e.items)for(const n of e.items){const r=yield n;t.push({"@id":n.id,"@type":n.type,label:r?r.label:void 0,within:e.id}),n.type==="Canvas"&&i.push(n.id)}return[...m(e,"sc:Range"),...yield*g(e),...yield*R(e),["canvases",i.length===t.length?i:void 0],["members",i.length!==t.length?t:void 0]]}};function y(e){var t;return[["id",(t=e.id)!=null&&t.startsWith("vault://")?void 0:e.id],["type",e.type],["format",e.format],["profile",e.profile],["height",e.height],["width",e.width],["duration",e.duration||void 0],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0],["behavior",e.behavior&&e.behavior.length?e.behavior:void 0],["timeMode",e.timeMode],["motivation",Array.isArray(e.motivation)?e.motivation[0]:e.motivation]]}function o(e){if(!(!e||e.length===0))return e}function Re(e){if(e&&e.type&&e.type==="ImageService2"){const{id:t,type:i,profile:n,...r}=e,a=typeof n=="string"?n:Array.isArray(n)?n.find(l=>typeof l=="string"):"";return{"@id":t,"@type":i,profile:a?a.startsWith("http")?a:`http://iiif.io/api/image/2/${a}.json`:"http://iiif.io/api/image/2/level0.json",...r}}return e}function z(e){if(!(!e||e.length===0))return e.map(Re)}function*A(e){return[["label",e.label],["metadata",o(e.metadata)],["summary",e.summary],["requiredStatement",e.requiredStatement],["rights",e.rights],["navDate",e.navDate],["language",e.language],["thumbnail",o(yield e.thumbnail)],["placeholderCanvas",yield e.placeholderCanvas],["accompanyingCanvas",yield e.accompanyingCanvas],["provider",o(yield e.provider)]]}function*C(e){return[["seeAlso",o(yield e.seeAlso)],["service",z(e.service)],["services",z(e.services)],["rendering",o(yield e.rendering)],["supplementary",o(yield e.supplementary)],["homepage",o(yield e.homepage)],["logo",o(yield e.logo)],["partOf",o(yield e.partOf)],["start",e.start]]}const It={Manifest:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["structures",o(yield e.structures)],["annotations",o(yield e.annotations)]]:[...y(e),...yield*A(e)]},Canvas:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["annotations",o(yield e.annotations)]]},Agent:function*(e){return[["id",e.id],["type","Agent"],["label",e.label],...yield*C(e)]},AnnotationPage:function*(e){return[...Object.entries(e).map(([i,n])=>[i,Array.isArray(n)?o(n):n]).filter(([i,n])=>i!=="items"),...yield*C(e),["items",yield e.items]]},Service:function*(e){return[[G,Re(e)]]},Annotation:function*(e){const t=Object.entries(e).map(([n,r])=>n==="motivation"?[n,Array.isArray(r)?r[0]:r]:[n,Array.isArray(r)?o(r):r]).filter(([n])=>n!=="body"),i=yield e.body;return[...t,["body",i.length===1?i[0]:i]]},ContentResource:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["annotations",o(yield e.annotations)],["items",o(yield e.items)]]},AnnotationCollection:function*(e){return[["id",e.id],["type","AnnotationCollection"],["label",e.label]]},Collection:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",o(yield e.items)]]:[...y(e),...yield*A(e)]},Range:function*(e){const t=[];for(const i of e.items)i.type==="Range"?t.push(yield i):t.push(i);return[...y(e),...yield*A(e),...yield*C(e),["items",t],["annotations",o(yield e.annotations)]]}};exports.EMPTY=s;exports.Traverse=S;exports.UNSET=h;exports.UNWRAP=G;exports.emptyAgent=X;exports.emptyAnnotationPage=B;exports.emptyCanvas=H;exports.emptyCollection=Y;exports.emptyManifest=K;exports.emptyRange=Q;exports.getDefaultEntities=Ie;exports.identifyResource=Z;exports.languageString2to3=I;exports.mergeEntities=be;exports.normalize=mt;exports.serialize=yt;exports.serializeConfigPresentation2=Ct;exports.serializeConfigPresentation3=It;exports.serializedFieldsToObject=we;exports.types=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs230.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
2
2
  //# sourceMappingURL=index.cjs231.js.map