@performant-software/core-data 2.2.10-beta.17 → 2.2.10-beta.19

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 (1259) hide show
  1. package/dist/index.cjs101.js +1 -1
  2. package/dist/index.cjs117.js +1 -1
  3. package/dist/index.cjs118.js +1 -1
  4. package/dist/index.cjs12.js +1 -1
  5. package/dist/index.cjs12.js.map +1 -1
  6. package/dist/index.cjs120.js +1 -1
  7. package/dist/index.cjs121.js +1 -1
  8. package/dist/index.cjs126.js +1 -1
  9. package/dist/index.cjs129.js +1 -1
  10. package/dist/index.cjs130.js +1 -1
  11. package/dist/index.cjs131.js +1 -1
  12. package/dist/index.cjs135.js +1 -1
  13. package/dist/index.cjs136.js +1 -1
  14. package/dist/index.cjs137.js +1 -1
  15. package/dist/index.cjs138.js +1 -1
  16. package/dist/index.cjs141.js +1 -1
  17. package/dist/index.cjs154.js +1 -1
  18. package/dist/index.cjs155.js +1 -1
  19. package/dist/index.cjs156.js +1 -1
  20. package/dist/index.cjs157.js +1 -1
  21. package/dist/index.cjs158.js +1 -1
  22. package/dist/index.cjs159.js +1 -1
  23. package/dist/index.cjs16.js +1 -1
  24. package/dist/index.cjs16.js.map +1 -1
  25. package/dist/index.cjs165.js +1 -1
  26. package/dist/index.cjs170.js +1 -1
  27. package/dist/index.cjs172.js +1 -1
  28. package/dist/index.cjs173.js +1 -1
  29. package/dist/index.cjs175.js +1 -1
  30. package/dist/index.cjs176.js +1 -1
  31. package/dist/index.cjs177.js +1 -1
  32. package/dist/index.cjs179.js.map +1 -1
  33. package/dist/index.cjs180.js +1 -1
  34. package/dist/index.cjs180.js.map +1 -1
  35. package/dist/index.cjs181.js +1 -1
  36. package/dist/index.cjs181.js.map +1 -1
  37. package/dist/index.cjs182.js +1 -1
  38. package/dist/index.cjs182.js.map +1 -1
  39. package/dist/index.cjs183.js +1 -1
  40. package/dist/index.cjs183.js.map +1 -1
  41. package/dist/index.cjs184.js +1 -1
  42. package/dist/index.cjs184.js.map +1 -1
  43. package/dist/index.cjs185.js +1 -1
  44. package/dist/index.cjs185.js.map +1 -1
  45. package/dist/index.cjs186.js +1 -1
  46. package/dist/index.cjs186.js.map +1 -1
  47. package/dist/index.cjs187.js +1 -1
  48. package/dist/index.cjs187.js.map +1 -1
  49. package/dist/index.cjs188.js +1 -1
  50. package/dist/index.cjs188.js.map +1 -1
  51. package/dist/index.cjs189.js +1 -1
  52. package/dist/index.cjs189.js.map +1 -1
  53. package/dist/index.cjs190.js +1 -1
  54. package/dist/index.cjs190.js.map +1 -1
  55. package/dist/index.cjs191.js +1 -1
  56. package/dist/index.cjs191.js.map +1 -1
  57. package/dist/index.cjs196.js +1 -1
  58. package/dist/index.cjs199.js +1 -1
  59. package/dist/index.cjs203.js +1 -1
  60. package/dist/index.cjs205.js +1 -1
  61. package/dist/index.cjs205.js.map +1 -1
  62. package/dist/index.cjs206.js +1 -1
  63. package/dist/index.cjs206.js.map +1 -1
  64. package/dist/index.cjs207.js +1 -1
  65. package/dist/index.cjs207.js.map +1 -1
  66. package/dist/index.cjs208.js +1 -1
  67. package/dist/index.cjs208.js.map +1 -1
  68. package/dist/index.cjs209.js +1 -1
  69. package/dist/index.cjs209.js.map +1 -1
  70. package/dist/index.cjs210.js +1 -1
  71. package/dist/index.cjs210.js.map +1 -1
  72. package/dist/index.cjs211.js +1 -6
  73. package/dist/index.cjs211.js.map +1 -1
  74. package/dist/index.cjs212.js +1 -1
  75. package/dist/index.cjs212.js.map +1 -1
  76. package/dist/index.cjs213.js +1 -2
  77. package/dist/index.cjs213.js.map +1 -1
  78. package/dist/index.cjs214.js +1 -3
  79. package/dist/index.cjs214.js.map +1 -1
  80. package/dist/index.cjs215.js +1 -1
  81. package/dist/index.cjs215.js.map +1 -1
  82. package/dist/index.cjs216.js +1 -1
  83. package/dist/index.cjs216.js.map +1 -1
  84. package/dist/index.cjs217.js +1 -8
  85. package/dist/index.cjs217.js.map +1 -1
  86. package/dist/index.cjs218.js +1 -13
  87. package/dist/index.cjs218.js.map +1 -1
  88. package/dist/index.cjs219.js +1 -1
  89. package/dist/index.cjs219.js.map +1 -1
  90. package/dist/index.cjs220.js +1 -17
  91. package/dist/index.cjs220.js.map +1 -1
  92. package/dist/index.cjs221.js +1 -1
  93. package/dist/index.cjs221.js.map +1 -1
  94. package/dist/index.cjs222.js +1 -1
  95. package/dist/index.cjs222.js.map +1 -1
  96. package/dist/index.cjs223.js +1 -1
  97. package/dist/index.cjs223.js.map +1 -1
  98. package/dist/index.cjs224.js +1 -1
  99. package/dist/index.cjs224.js.map +1 -1
  100. package/dist/index.cjs225.js +6 -1
  101. package/dist/index.cjs225.js.map +1 -1
  102. package/dist/index.cjs226.js +1 -1
  103. package/dist/index.cjs226.js.map +1 -1
  104. package/dist/index.cjs227.js +2 -1
  105. package/dist/index.cjs227.js.map +1 -1
  106. package/dist/index.cjs228.js +3 -1
  107. package/dist/index.cjs228.js.map +1 -1
  108. package/dist/index.cjs229.js +1 -1
  109. package/dist/index.cjs229.js.map +1 -1
  110. package/dist/index.cjs230.js +1 -1
  111. package/dist/index.cjs230.js.map +1 -1
  112. package/dist/index.cjs231.js +8 -1
  113. package/dist/index.cjs231.js.map +1 -1
  114. package/dist/index.cjs232.js +13 -1
  115. package/dist/index.cjs232.js.map +1 -1
  116. package/dist/index.cjs233.js +1 -1
  117. package/dist/index.cjs233.js.map +1 -1
  118. package/dist/index.cjs234.js +17 -1
  119. package/dist/index.cjs234.js.map +1 -1
  120. package/dist/index.cjs235.js +1 -1
  121. package/dist/index.cjs235.js.map +1 -1
  122. package/dist/index.cjs236.js +1 -1
  123. package/dist/index.cjs236.js.map +1 -1
  124. package/dist/index.cjs237.js +1 -1
  125. package/dist/index.cjs237.js.map +1 -1
  126. package/dist/index.cjs238.js +1 -1
  127. package/dist/index.cjs238.js.map +1 -1
  128. package/dist/index.cjs239.js +1 -1
  129. package/dist/index.cjs239.js.map +1 -1
  130. package/dist/index.cjs240.js +1 -1
  131. package/dist/index.cjs240.js.map +1 -1
  132. package/dist/index.cjs242.js +1 -1
  133. package/dist/index.cjs244.js +1 -1
  134. package/dist/index.cjs244.js.map +1 -1
  135. package/dist/index.cjs245.js +1 -1
  136. package/dist/index.cjs245.js.map +1 -1
  137. package/dist/index.cjs246.js +1 -1
  138. package/dist/index.cjs246.js.map +1 -1
  139. package/dist/index.cjs247.js +1 -1
  140. package/dist/index.cjs247.js.map +1 -1
  141. package/dist/index.cjs248.js +1 -1
  142. package/dist/index.cjs248.js.map +1 -1
  143. package/dist/index.cjs249.js +1 -1
  144. package/dist/index.cjs249.js.map +1 -1
  145. package/dist/index.cjs250.js +1 -1
  146. package/dist/index.cjs250.js.map +1 -1
  147. package/dist/index.cjs251.js +1 -1
  148. package/dist/index.cjs251.js.map +1 -1
  149. package/dist/index.cjs252.js +1 -1
  150. package/dist/index.cjs252.js.map +1 -1
  151. package/dist/index.cjs253.js +1 -1
  152. package/dist/index.cjs253.js.map +1 -1
  153. package/dist/index.cjs254.js +1 -1
  154. package/dist/index.cjs254.js.map +1 -1
  155. package/dist/index.cjs255.js +1 -1
  156. package/dist/index.cjs255.js.map +1 -1
  157. package/dist/index.cjs257.js +1 -1
  158. package/dist/index.cjs264.js +1 -1
  159. package/dist/index.cjs265.js +1 -1
  160. package/dist/index.cjs266.js +1 -1
  161. package/dist/index.cjs267.js +1 -1
  162. package/dist/index.cjs268.js +1 -1
  163. package/dist/index.cjs269.js +1 -1
  164. package/dist/index.cjs270.js +1 -1
  165. package/dist/index.cjs271.js +1 -1
  166. package/dist/index.cjs272.js +1 -1
  167. package/dist/index.cjs275.js +1 -1
  168. package/dist/index.cjs276.js +1 -1
  169. package/dist/index.cjs278.js +1 -1
  170. package/dist/index.cjs279.js +1 -1
  171. package/dist/index.cjs280.js +1 -1
  172. package/dist/index.cjs281.js +1 -1
  173. package/dist/index.cjs286.js +1 -1
  174. package/dist/index.cjs287.js +1 -1
  175. package/dist/index.cjs288.js +1 -1
  176. package/dist/index.cjs289.js +1 -1
  177. package/dist/index.cjs292.js +1 -1
  178. package/dist/index.cjs293.js +1 -1
  179. package/dist/index.cjs294.js +1 -1
  180. package/dist/index.cjs298.js +1 -1
  181. package/dist/index.cjs301.js +1 -1
  182. package/dist/index.cjs305.js +1 -1
  183. package/dist/index.cjs308.js +1 -1
  184. package/dist/index.cjs316.js +1 -1
  185. package/dist/index.cjs317.js +1 -1
  186. package/dist/index.cjs318.js +1 -1
  187. package/dist/index.cjs319.js +1 -1
  188. package/dist/index.cjs320.js +1 -1
  189. package/dist/index.cjs321.js +1 -1
  190. package/dist/index.cjs322.js +1 -1
  191. package/dist/index.cjs324.js +1 -1
  192. package/dist/index.cjs325.js +1 -1
  193. package/dist/index.cjs326.js +1 -1
  194. package/dist/index.cjs327.js +1 -1
  195. package/dist/index.cjs328.js +1 -1
  196. package/dist/index.cjs329.js +1 -1
  197. package/dist/index.cjs330.js +1 -1
  198. package/dist/index.cjs331.js +1 -1
  199. package/dist/index.cjs332.js +1 -1
  200. package/dist/index.cjs335.js +1 -1
  201. package/dist/index.cjs336.js +1 -1
  202. package/dist/index.cjs338.js +1 -1
  203. package/dist/index.cjs339.js +1 -1
  204. package/dist/index.cjs340.js +1 -1
  205. package/dist/index.cjs341.js +1 -1
  206. package/dist/index.cjs342.js +1 -1
  207. package/dist/index.cjs343.js +1 -1
  208. package/dist/index.cjs344.js +1 -1
  209. package/dist/index.cjs345.js +1 -1
  210. package/dist/index.cjs351.js +1 -1
  211. package/dist/index.cjs352.js +1 -1
  212. package/dist/index.cjs353.js +1 -1
  213. package/dist/index.cjs354.js +1 -1
  214. package/dist/index.cjs355.js +1 -1
  215. package/dist/index.cjs359.js +1 -1
  216. package/dist/index.cjs360.js +1 -1
  217. package/dist/index.cjs361.js +1 -1
  218. package/dist/index.cjs362.js +1 -1
  219. package/dist/index.cjs363.js +1 -1
  220. package/dist/index.cjs364.js +1 -1
  221. package/dist/index.cjs365.js +1 -1
  222. package/dist/index.cjs366.js +1 -1
  223. package/dist/index.cjs367.js +1 -1
  224. package/dist/index.cjs368.js +1 -1
  225. package/dist/index.cjs370.js +1 -1
  226. package/dist/index.cjs371.js +1 -1
  227. package/dist/index.cjs375.js +1 -1
  228. package/dist/index.cjs376.js +1 -1
  229. package/dist/index.cjs379.js +1 -1
  230. package/dist/index.cjs406.js +1 -1
  231. package/dist/index.cjs406.js.map +1 -1
  232. package/dist/index.cjs407.js +1 -1
  233. package/dist/index.cjs407.js.map +1 -1
  234. package/dist/index.cjs408.js +1 -1
  235. package/dist/index.cjs408.js.map +1 -1
  236. package/dist/index.cjs409.js +1 -1
  237. package/dist/index.cjs409.js.map +1 -1
  238. package/dist/index.cjs410.js +1 -1
  239. package/dist/index.cjs410.js.map +1 -1
  240. package/dist/index.cjs411.js +1 -1
  241. package/dist/index.cjs411.js.map +1 -1
  242. package/dist/index.cjs412.js +1 -1
  243. package/dist/index.cjs412.js.map +1 -1
  244. package/dist/index.cjs413.js +1 -1
  245. package/dist/index.cjs413.js.map +1 -1
  246. package/dist/index.cjs414.js +1 -1
  247. package/dist/index.cjs414.js.map +1 -1
  248. package/dist/index.cjs415.js +1 -1
  249. package/dist/index.cjs415.js.map +1 -1
  250. package/dist/index.cjs416.js +1 -1
  251. package/dist/index.cjs416.js.map +1 -1
  252. package/dist/index.cjs417.js +1 -1
  253. package/dist/index.cjs417.js.map +1 -1
  254. package/dist/index.cjs418.js +1 -1
  255. package/dist/index.cjs418.js.map +1 -1
  256. package/dist/index.cjs419.js +4 -1
  257. package/dist/index.cjs419.js.map +1 -1
  258. package/dist/index.cjs420.js +1 -1
  259. package/dist/index.cjs420.js.map +1 -1
  260. package/dist/index.cjs421.js +1 -1
  261. package/dist/index.cjs421.js.map +1 -1
  262. package/dist/index.cjs422.js +1 -1
  263. package/dist/index.cjs422.js.map +1 -1
  264. package/dist/index.cjs423.js +1 -1
  265. package/dist/index.cjs423.js.map +1 -1
  266. package/dist/index.cjs424.js +1 -1
  267. package/dist/index.cjs424.js.map +1 -1
  268. package/dist/index.cjs425.js +1 -1
  269. package/dist/index.cjs425.js.map +1 -1
  270. package/dist/index.cjs426.js +1 -1
  271. package/dist/index.cjs426.js.map +1 -1
  272. package/dist/index.cjs427.js +1 -1
  273. package/dist/index.cjs427.js.map +1 -1
  274. package/dist/index.cjs428.js +1 -1
  275. package/dist/index.cjs428.js.map +1 -1
  276. package/dist/index.cjs429.js +1 -1
  277. package/dist/index.cjs429.js.map +1 -1
  278. package/dist/index.cjs430.js +1 -1
  279. package/dist/index.cjs430.js.map +1 -1
  280. package/dist/index.cjs431.js +1 -1
  281. package/dist/index.cjs431.js.map +1 -1
  282. package/dist/index.cjs432.js +1 -1
  283. package/dist/index.cjs432.js.map +1 -1
  284. package/dist/index.cjs433.js +1 -1
  285. package/dist/index.cjs433.js.map +1 -1
  286. package/dist/index.cjs434.js +1 -1
  287. package/dist/index.cjs434.js.map +1 -1
  288. package/dist/index.cjs435.js +1 -1
  289. package/dist/index.cjs435.js.map +1 -1
  290. package/dist/index.cjs436.js +1 -1
  291. package/dist/index.cjs436.js.map +1 -1
  292. package/dist/index.cjs437.js +1 -1
  293. package/dist/index.cjs437.js.map +1 -1
  294. package/dist/index.cjs438.js +1 -1
  295. package/dist/index.cjs438.js.map +1 -1
  296. package/dist/index.cjs439.js +1 -1
  297. package/dist/index.cjs439.js.map +1 -1
  298. package/dist/index.cjs440.js +1 -1
  299. package/dist/index.cjs440.js.map +1 -1
  300. package/dist/index.cjs441.js +1 -1
  301. package/dist/index.cjs441.js.map +1 -1
  302. package/dist/index.cjs442.js +1 -1
  303. package/dist/index.cjs442.js.map +1 -1
  304. package/dist/index.cjs443.js +1 -1
  305. package/dist/index.cjs443.js.map +1 -1
  306. package/dist/index.cjs444.js +1 -1
  307. package/dist/index.cjs444.js.map +1 -1
  308. package/dist/index.cjs445.js +1 -1
  309. package/dist/index.cjs445.js.map +1 -1
  310. package/dist/index.cjs446.js +1 -1
  311. package/dist/index.cjs446.js.map +1 -1
  312. package/dist/index.cjs447.js +1 -1
  313. package/dist/index.cjs447.js.map +1 -1
  314. package/dist/index.cjs448.js +1 -1
  315. package/dist/index.cjs448.js.map +1 -1
  316. package/dist/index.cjs449.js +1 -1
  317. package/dist/index.cjs449.js.map +1 -1
  318. package/dist/index.cjs450.js +1 -1
  319. package/dist/index.cjs450.js.map +1 -1
  320. package/dist/index.cjs451.js +1 -1
  321. package/dist/index.cjs451.js.map +1 -1
  322. package/dist/index.cjs452.js +1 -1
  323. package/dist/index.cjs452.js.map +1 -1
  324. package/dist/index.cjs453.js +1 -1
  325. package/dist/index.cjs453.js.map +1 -1
  326. package/dist/index.cjs454.js +1 -1
  327. package/dist/index.cjs454.js.map +1 -1
  328. package/dist/index.cjs455.js +1 -1
  329. package/dist/index.cjs455.js.map +1 -1
  330. package/dist/index.cjs456.js +1 -1
  331. package/dist/index.cjs456.js.map +1 -1
  332. package/dist/index.cjs457.js +1 -1
  333. package/dist/index.cjs457.js.map +1 -1
  334. package/dist/index.cjs458.js +1 -1
  335. package/dist/index.cjs458.js.map +1 -1
  336. package/dist/index.cjs459.js +1 -1
  337. package/dist/index.cjs459.js.map +1 -1
  338. package/dist/index.cjs460.js +1 -1
  339. package/dist/index.cjs460.js.map +1 -1
  340. package/dist/index.cjs461.js +1 -1
  341. package/dist/index.cjs461.js.map +1 -1
  342. package/dist/index.cjs462.js +1 -1
  343. package/dist/index.cjs462.js.map +1 -1
  344. package/dist/index.cjs463.js +1 -1
  345. package/dist/index.cjs463.js.map +1 -1
  346. package/dist/index.cjs464.js +1 -1
  347. package/dist/index.cjs464.js.map +1 -1
  348. package/dist/index.cjs465.js +1 -4
  349. package/dist/index.cjs465.js.map +1 -1
  350. package/dist/index.cjs466.js +1 -1
  351. package/dist/index.cjs466.js.map +1 -1
  352. package/dist/index.cjs467.js +1 -1
  353. package/dist/index.cjs469.js +1 -1
  354. package/dist/index.cjs471.js +1 -1
  355. package/dist/index.cjs485.js +1 -1
  356. package/dist/index.cjs486.js +1 -1
  357. package/dist/index.cjs495.js +1 -1
  358. package/dist/index.cjs497.js +1 -1
  359. package/dist/index.cjs498.js +1 -1
  360. package/dist/index.cjs500.js +1 -1
  361. package/dist/index.cjs501.js +1 -1
  362. package/dist/index.cjs502.js +1 -1
  363. package/dist/index.cjs502.js.map +1 -1
  364. package/dist/index.cjs503.js +38 -1
  365. package/dist/index.cjs503.js.map +1 -1
  366. package/dist/index.cjs504.js +1 -1
  367. package/dist/index.cjs504.js.map +1 -1
  368. package/dist/index.cjs505.js +1 -1
  369. package/dist/index.cjs505.js.map +1 -1
  370. package/dist/index.cjs506.js +1 -1
  371. package/dist/index.cjs506.js.map +1 -1
  372. package/dist/index.cjs507.js +1 -1
  373. package/dist/index.cjs507.js.map +1 -1
  374. package/dist/index.cjs508.js +1 -1
  375. package/dist/index.cjs508.js.map +1 -1
  376. package/dist/index.cjs509.js +1 -1
  377. package/dist/index.cjs510.js +1 -1
  378. package/dist/index.cjs510.js.map +1 -1
  379. package/dist/index.cjs511.js +1 -1
  380. package/dist/index.cjs511.js.map +1 -1
  381. package/dist/index.cjs512.js +1 -1
  382. package/dist/index.cjs512.js.map +1 -1
  383. package/dist/index.cjs513.js +1 -1
  384. package/dist/index.cjs513.js.map +1 -1
  385. package/dist/index.cjs514.js +1 -1
  386. package/dist/index.cjs514.js.map +1 -1
  387. package/dist/index.cjs515.js +1 -1
  388. package/dist/index.cjs515.js.map +1 -1
  389. package/dist/index.cjs516.js +1 -1
  390. package/dist/index.cjs516.js.map +1 -1
  391. package/dist/index.cjs517.js +1 -1
  392. package/dist/index.cjs517.js.map +1 -1
  393. package/dist/index.cjs518.js +1 -1
  394. package/dist/index.cjs518.js.map +1 -1
  395. package/dist/index.cjs519.js +1 -1
  396. package/dist/index.cjs519.js.map +1 -1
  397. package/dist/index.cjs520.js +1 -1
  398. package/dist/index.cjs520.js.map +1 -1
  399. package/dist/index.cjs521.js +1 -1
  400. package/dist/index.cjs521.js.map +1 -1
  401. package/dist/index.cjs522.js +1 -1
  402. package/dist/index.cjs522.js.map +1 -1
  403. package/dist/index.cjs523.js +1 -1
  404. package/dist/index.cjs523.js.map +1 -1
  405. package/dist/index.cjs524.js +1 -1
  406. package/dist/index.cjs524.js.map +1 -1
  407. package/dist/index.cjs525.js +1 -1
  408. package/dist/index.cjs525.js.map +1 -1
  409. package/dist/index.cjs526.js +1 -1
  410. package/dist/index.cjs526.js.map +1 -1
  411. package/dist/index.cjs527.js +1 -1
  412. package/dist/index.cjs527.js.map +1 -1
  413. package/dist/index.cjs528.js +1 -1
  414. package/dist/index.cjs529.js +1 -1
  415. package/dist/index.cjs529.js.map +1 -1
  416. package/dist/index.cjs530.js +1 -1
  417. package/dist/index.cjs530.js.map +1 -1
  418. package/dist/index.cjs531.js +1 -1
  419. package/dist/index.cjs531.js.map +1 -1
  420. package/dist/index.cjs532.js +1 -1
  421. package/dist/index.cjs532.js.map +1 -1
  422. package/dist/index.cjs533.js +1 -1
  423. package/dist/index.cjs533.js.map +1 -1
  424. package/dist/index.cjs534.js +1 -1
  425. package/dist/index.cjs534.js.map +1 -1
  426. package/dist/index.cjs535.js +1 -1
  427. package/dist/index.cjs535.js.map +1 -1
  428. package/dist/index.cjs536.js +1 -1
  429. package/dist/index.cjs536.js.map +1 -1
  430. package/dist/index.cjs537.js +1 -1
  431. package/dist/index.cjs537.js.map +1 -1
  432. package/dist/index.cjs538.js +1 -1
  433. package/dist/index.cjs538.js.map +1 -1
  434. package/dist/index.cjs539.js +1 -1
  435. package/dist/index.cjs539.js.map +1 -1
  436. package/dist/index.cjs540.js +1 -1
  437. package/dist/index.cjs540.js.map +1 -1
  438. package/dist/index.cjs541.js +1 -1
  439. package/dist/index.cjs541.js.map +1 -1
  440. package/dist/index.cjs542.js +1 -1
  441. package/dist/index.cjs542.js.map +1 -1
  442. package/dist/index.cjs543.js +1 -1
  443. package/dist/index.cjs543.js.map +1 -1
  444. package/dist/index.cjs544.js +1 -1
  445. package/dist/index.cjs544.js.map +1 -1
  446. package/dist/index.cjs545.js +1 -1
  447. package/dist/index.cjs545.js.map +1 -1
  448. package/dist/index.cjs546.js +1 -2
  449. package/dist/index.cjs546.js.map +1 -1
  450. package/dist/index.cjs547.js +1 -1
  451. package/dist/index.cjs547.js.map +1 -1
  452. package/dist/index.cjs548.js +1 -1
  453. package/dist/index.cjs548.js.map +1 -1
  454. package/dist/index.cjs549.js +2 -1
  455. package/dist/index.cjs549.js.map +1 -1
  456. package/dist/index.cjs550.js +1 -1
  457. package/dist/index.cjs550.js.map +1 -1
  458. package/dist/index.cjs551.js +1 -2
  459. package/dist/index.cjs551.js.map +1 -1
  460. package/dist/index.cjs552.js +1 -1
  461. package/dist/index.cjs552.js.map +1 -1
  462. package/dist/index.cjs553.js +1 -1
  463. package/dist/index.cjs553.js.map +1 -1
  464. package/dist/index.cjs554.js +2 -38
  465. package/dist/index.cjs554.js.map +1 -1
  466. package/dist/index.cjs555.js +1 -1
  467. package/dist/index.cjs555.js.map +1 -1
  468. package/dist/index.cjs556.js +1 -1
  469. package/dist/index.cjs556.js.map +1 -1
  470. package/dist/index.cjs557.js +1 -1
  471. package/dist/index.cjs557.js.map +1 -1
  472. package/dist/index.cjs558.js +1 -1
  473. package/dist/index.cjs558.js.map +1 -1
  474. package/dist/index.cjs559.js +1 -1
  475. package/dist/index.cjs559.js.map +1 -1
  476. package/dist/index.cjs560.js +1 -1
  477. package/dist/index.cjs561.js +1 -1
  478. package/dist/index.cjs561.js.map +1 -1
  479. package/dist/index.cjs562.js +1 -1
  480. package/dist/index.cjs562.js.map +1 -1
  481. package/dist/index.cjs563.js +1 -1
  482. package/dist/index.cjs563.js.map +1 -1
  483. package/dist/index.cjs564.js +1 -1
  484. package/dist/index.cjs564.js.map +1 -1
  485. package/dist/index.cjs567.js +1 -1
  486. package/dist/index.cjs568.js +1 -1
  487. package/dist/index.cjs568.js.map +1 -1
  488. package/dist/index.cjs569.js +1 -1
  489. package/dist/index.cjs569.js.map +1 -1
  490. package/dist/index.cjs570.js +19 -19
  491. package/dist/index.cjs570.js.map +1 -1
  492. package/dist/index.cjs571.js.map +1 -1
  493. package/dist/index.cjs572.js +1 -1
  494. package/dist/index.cjs572.js.map +1 -1
  495. package/dist/index.cjs573.js +19 -19
  496. package/dist/index.cjs573.js.map +1 -1
  497. package/dist/index.cjs574.js.map +1 -1
  498. package/dist/index.cjs575.js +1 -1
  499. package/dist/index.cjs575.js.map +1 -1
  500. package/dist/index.cjs576.js +1 -1
  501. package/dist/index.cjs576.js.map +1 -1
  502. package/dist/index.cjs577.js +1 -1
  503. package/dist/index.cjs577.js.map +1 -1
  504. package/dist/index.cjs578.js +1 -1
  505. package/dist/index.cjs578.js.map +1 -1
  506. package/dist/index.cjs579.js +1 -1
  507. package/dist/index.cjs579.js.map +1 -1
  508. package/dist/index.cjs580.js +1 -1
  509. package/dist/index.cjs581.js +1 -1
  510. package/dist/index.cjs582.js +7 -1
  511. package/dist/index.cjs582.js.map +1 -1
  512. package/dist/index.cjs583.js +1 -1
  513. package/dist/index.cjs583.js.map +1 -1
  514. package/dist/index.cjs584.js +1 -1
  515. package/dist/index.cjs584.js.map +1 -1
  516. package/dist/index.cjs585.js +1 -1
  517. package/dist/index.cjs585.js.map +1 -1
  518. package/dist/index.cjs586.js +1 -1
  519. package/dist/index.cjs586.js.map +1 -1
  520. package/dist/index.cjs587.js +1 -1
  521. package/dist/index.cjs587.js.map +1 -1
  522. package/dist/index.cjs588.js +1 -1
  523. package/dist/index.cjs589.js +1 -1
  524. package/dist/index.cjs59.js +1 -1
  525. package/dist/index.cjs592.js +1 -1
  526. package/dist/index.cjs592.js.map +1 -1
  527. package/dist/index.cjs594.js +1 -1
  528. package/dist/index.cjs594.js.map +1 -1
  529. package/dist/index.cjs596.js +1 -1
  530. package/dist/index.cjs596.js.map +1 -1
  531. package/dist/index.cjs597.js +1 -1
  532. package/dist/index.cjs597.js.map +1 -1
  533. package/dist/index.cjs598.js +1 -1
  534. package/dist/index.cjs598.js.map +1 -1
  535. package/dist/index.cjs60.js +1 -1
  536. package/dist/index.cjs601.js +1 -7
  537. package/dist/index.cjs601.js.map +1 -1
  538. package/dist/index.cjs602.js +1 -1
  539. package/dist/index.cjs602.js.map +1 -1
  540. package/dist/index.cjs603.js +1 -1
  541. package/dist/index.cjs603.js.map +1 -1
  542. package/dist/index.cjs604.js +1 -1
  543. package/dist/index.cjs604.js.map +1 -1
  544. package/dist/index.cjs605.js +1 -1
  545. package/dist/index.cjs605.js.map +1 -1
  546. package/dist/index.cjs606.js +1 -1
  547. package/dist/index.cjs606.js.map +1 -1
  548. package/dist/index.cjs607.js +1 -1
  549. package/dist/index.cjs607.js.map +1 -1
  550. package/dist/index.cjs608.js +1 -1
  551. package/dist/index.cjs608.js.map +1 -1
  552. package/dist/index.cjs609.js +1 -1
  553. package/dist/index.cjs61.js +1 -1
  554. package/dist/index.cjs610.js +1 -1
  555. package/dist/index.cjs616.js +1 -1
  556. package/dist/index.cjs617.js +1 -1
  557. package/dist/index.cjs618.js +1 -1
  558. package/dist/index.cjs618.js.map +1 -1
  559. package/dist/index.cjs619.js +1 -1
  560. package/dist/index.cjs619.js.map +1 -1
  561. package/dist/index.cjs621.js +1 -1
  562. package/dist/index.cjs621.js.map +1 -1
  563. package/dist/index.cjs623.js +1 -1
  564. package/dist/index.cjs623.js.map +1 -1
  565. package/dist/index.cjs625.js +1 -1
  566. package/dist/index.cjs625.js.map +1 -1
  567. package/dist/index.cjs628.js +1 -1
  568. package/dist/index.cjs628.js.map +1 -1
  569. package/dist/index.cjs629.js +1 -1
  570. package/dist/index.cjs629.js.map +1 -1
  571. package/dist/index.cjs63.js +1 -1
  572. package/dist/index.cjs64.js +1 -1
  573. package/dist/index.cjs644.js +1 -1
  574. package/dist/index.cjs646.js +1 -1
  575. package/dist/index.cjs646.js.map +1 -1
  576. package/dist/index.cjs647.js +1 -1
  577. package/dist/index.cjs647.js.map +1 -1
  578. package/dist/index.cjs648.js +1 -1
  579. package/dist/index.cjs648.js.map +1 -1
  580. package/dist/index.cjs649.js +1 -1
  581. package/dist/index.cjs649.js.map +1 -1
  582. package/dist/index.cjs65.js +1 -1
  583. package/dist/index.cjs650.js +1 -1
  584. package/dist/index.cjs650.js.map +1 -1
  585. package/dist/index.cjs651.js +1 -1
  586. package/dist/index.cjs655.js.map +1 -1
  587. package/dist/index.cjs656.js.map +1 -1
  588. package/dist/index.cjs67.js +1 -1
  589. package/dist/index.cjs673.js +1 -1
  590. package/dist/index.cjs678.js +1 -1
  591. package/dist/index.cjs679.js +1 -1
  592. package/dist/index.cjs679.js.map +1 -1
  593. package/dist/index.cjs68.js +1 -1
  594. package/dist/index.cjs680.js +1 -1
  595. package/dist/index.cjs680.js.map +1 -1
  596. package/dist/index.cjs681.js +1 -1
  597. package/dist/index.cjs681.js.map +1 -1
  598. package/dist/index.cjs682.js +2 -1
  599. package/dist/index.cjs682.js.map +1 -1
  600. package/dist/index.cjs683.js +1 -2
  601. package/dist/index.cjs683.js.map +1 -1
  602. package/dist/index.cjs684.js +1 -1
  603. package/dist/index.cjs684.js.map +1 -1
  604. package/dist/index.cjs685.js +1 -1
  605. package/dist/index.cjs685.js.map +1 -1
  606. package/dist/index.cjs69.js +1 -1
  607. package/dist/index.cjs71.js +1 -1
  608. package/dist/index.cjs72.js +1 -1
  609. package/dist/index.cjs73.js +1 -1
  610. package/dist/index.cjs77.js +1 -1
  611. package/dist/index.cjs78.js +1 -1
  612. package/dist/index.cjs79.js +1 -1
  613. package/dist/index.cjs81.js +1 -1
  614. package/dist/index.cjs82.js +1 -1
  615. package/dist/index.cjs84.js +1 -1
  616. package/dist/index.cjs89.js +1 -1
  617. package/dist/index.es101.js +2 -2
  618. package/dist/index.es117.js +1 -1
  619. package/dist/index.es118.js +4 -4
  620. package/dist/index.es12.js +122 -104
  621. package/dist/index.es12.js.map +1 -1
  622. package/dist/index.es120.js +1 -1
  623. package/dist/index.es121.js +1 -1
  624. package/dist/index.es126.js +1 -1
  625. package/dist/index.es129.js +1 -1
  626. package/dist/index.es130.js +1 -1
  627. package/dist/index.es131.js +1 -1
  628. package/dist/index.es135.js +2 -2
  629. package/dist/index.es136.js +1 -1
  630. package/dist/index.es137.js +7 -7
  631. package/dist/index.es138.js +1 -1
  632. package/dist/index.es141.js +1 -1
  633. package/dist/index.es154.js +1 -1
  634. package/dist/index.es155.js +1 -1
  635. package/dist/index.es156.js +2 -2
  636. package/dist/index.es157.js +1 -1
  637. package/dist/index.es158.js +1 -1
  638. package/dist/index.es159.js +1 -1
  639. package/dist/index.es16.js +1 -1
  640. package/dist/index.es16.js.map +1 -1
  641. package/dist/index.es165.js +3 -3
  642. package/dist/index.es170.js +9 -9
  643. package/dist/index.es172.js +2 -2
  644. package/dist/index.es173.js +4 -4
  645. package/dist/index.es175.js +3 -3
  646. package/dist/index.es176.js +2 -2
  647. package/dist/index.es177.js +2 -2
  648. package/dist/index.es179.js.map +1 -1
  649. package/dist/index.es180.js +12 -4
  650. package/dist/index.es180.js.map +1 -1
  651. package/dist/index.es181.js +4 -46
  652. package/dist/index.es181.js.map +1 -1
  653. package/dist/index.es182.js +179 -10
  654. package/dist/index.es182.js.map +1 -1
  655. package/dist/index.es183.js +22 -35
  656. package/dist/index.es183.js.map +1 -1
  657. package/dist/index.es184.js +24 -10
  658. package/dist/index.es184.js.map +1 -1
  659. package/dist/index.es185.js +380 -10
  660. package/dist/index.es185.js.map +1 -1
  661. package/dist/index.es186.js +516 -3
  662. package/dist/index.es186.js.map +1 -1
  663. package/dist/index.es187.js +10 -179
  664. package/dist/index.es187.js.map +1 -1
  665. package/dist/index.es188.js +4 -22
  666. package/dist/index.es188.js.map +1 -1
  667. package/dist/index.es189.js +45 -24
  668. package/dist/index.es189.js.map +1 -1
  669. package/dist/index.es190.js +9 -380
  670. package/dist/index.es190.js.map +1 -1
  671. package/dist/index.es191.js +33 -515
  672. package/dist/index.es191.js.map +1 -1
  673. package/dist/index.es196.js +1 -1
  674. package/dist/index.es199.js +5 -5
  675. package/dist/index.es203.js +2 -2
  676. package/dist/index.es205.js +7 -4
  677. package/dist/index.es205.js.map +1 -1
  678. package/dist/index.es206.js +11 -10
  679. package/dist/index.es206.js.map +1 -1
  680. package/dist/index.es207.js +51 -10
  681. package/dist/index.es207.js.map +1 -1
  682. package/dist/index.es208.js +122 -25
  683. package/dist/index.es208.js.map +1 -1
  684. package/dist/index.es209.js +17 -75
  685. package/dist/index.es209.js.map +1 -1
  686. package/dist/index.es210.js +144 -6
  687. package/dist/index.es210.js.map +1 -1
  688. package/dist/index.es211.js +9 -15
  689. package/dist/index.es211.js.map +1 -1
  690. package/dist/index.es212.js +215 -67
  691. package/dist/index.es212.js.map +1 -1
  692. package/dist/index.es213.js +14 -68
  693. package/dist/index.es213.js.map +1 -1
  694. package/dist/index.es214.js +62 -69
  695. package/dist/index.es214.js.map +1 -1
  696. package/dist/index.es215.js +33 -2
  697. package/dist/index.es215.js.map +1 -1
  698. package/dist/index.es216.js +46 -2
  699. package/dist/index.es216.js.map +1 -1
  700. package/dist/index.es217.js +27 -88
  701. package/dist/index.es217.js.map +1 -1
  702. package/dist/index.es218.js +10 -86
  703. package/dist/index.es218.js.map +1 -1
  704. package/dist/index.es219.js +4 -42
  705. package/dist/index.es219.js.map +1 -1
  706. package/dist/index.es220.js +10 -67
  707. package/dist/index.es220.js.map +1 -1
  708. package/dist/index.es221.js +12 -2
  709. package/dist/index.es221.js.map +1 -1
  710. package/dist/index.es222.js +23 -1629
  711. package/dist/index.es222.js.map +1 -1
  712. package/dist/index.es223.js +74 -36
  713. package/dist/index.es223.js.map +1 -1
  714. package/dist/index.es224.js +5 -265
  715. package/dist/index.es224.js.map +1 -1
  716. package/dist/index.es225.js +16 -3
  717. package/dist/index.es225.js.map +1 -1
  718. package/dist/index.es226.js +70 -20
  719. package/dist/index.es226.js.map +1 -1
  720. package/dist/index.es227.js +68 -7
  721. package/dist/index.es227.js.map +1 -1
  722. package/dist/index.es228.js +70 -11
  723. package/dist/index.es228.js.map +1 -1
  724. package/dist/index.es229.js +2 -53
  725. package/dist/index.es229.js.map +1 -1
  726. package/dist/index.es230.js +2 -125
  727. package/dist/index.es230.js.map +1 -1
  728. package/dist/index.es231.js +89 -13
  729. package/dist/index.es231.js.map +1 -1
  730. package/dist/index.es232.js +77 -135
  731. package/dist/index.es232.js.map +1 -1
  732. package/dist/index.es233.js +41 -10
  733. package/dist/index.es233.js.map +1 -1
  734. package/dist/index.es234.js +66 -217
  735. package/dist/index.es234.js.map +1 -1
  736. package/dist/index.es235.js +2 -14
  737. package/dist/index.es235.js.map +1 -1
  738. package/dist/index.es236.js +1625 -55
  739. package/dist/index.es236.js.map +1 -1
  740. package/dist/index.es237.js +34 -32
  741. package/dist/index.es237.js.map +1 -1
  742. package/dist/index.es238.js +260 -40
  743. package/dist/index.es238.js.map +1 -1
  744. package/dist/index.es239.js +3 -29
  745. package/dist/index.es239.js.map +1 -1
  746. package/dist/index.es240.js +21 -10
  747. package/dist/index.es240.js.map +1 -1
  748. package/dist/index.es242.js +1 -1
  749. package/dist/index.es244.js +10 -14
  750. package/dist/index.es244.js.map +1 -1
  751. package/dist/index.es245.js +12 -17
  752. package/dist/index.es245.js.map +1 -1
  753. package/dist/index.es246.js +4 -23
  754. package/dist/index.es246.js.map +1 -1
  755. package/dist/index.es247.js +22 -11
  756. package/dist/index.es247.js.map +1 -1
  757. package/dist/index.es248.js +24 -11
  758. package/dist/index.es248.js.map +1 -1
  759. package/dist/index.es249.js +15 -4
  760. package/dist/index.es249.js.map +1 -1
  761. package/dist/index.es250.js +17 -22
  762. package/dist/index.es250.js.map +1 -1
  763. package/dist/index.es251.js +117 -24
  764. package/dist/index.es251.js.map +1 -1
  765. package/dist/index.es252.js +106 -2
  766. package/dist/index.es252.js.map +1 -1
  767. package/dist/index.es253.js +23 -2
  768. package/dist/index.es253.js.map +1 -1
  769. package/dist/index.es254.js +2 -118
  770. package/dist/index.es254.js.map +1 -1
  771. package/dist/index.es255.js +2 -106
  772. package/dist/index.es255.js.map +1 -1
  773. package/dist/index.es257.js +1 -1
  774. package/dist/index.es264.js +1 -1
  775. package/dist/index.es265.js +1 -1
  776. package/dist/index.es266.js +1 -1
  777. package/dist/index.es267.js +1 -1
  778. package/dist/index.es268.js +1 -1
  779. package/dist/index.es269.js +1 -1
  780. package/dist/index.es270.js +1 -1
  781. package/dist/index.es271.js +1 -1
  782. package/dist/index.es272.js +1 -1
  783. package/dist/index.es275.js +1 -1
  784. package/dist/index.es276.js +1 -1
  785. package/dist/index.es278.js +3 -3
  786. package/dist/index.es279.js +1 -1
  787. package/dist/index.es280.js +2 -2
  788. package/dist/index.es281.js +1 -1
  789. package/dist/index.es286.js +1 -1
  790. package/dist/index.es287.js +1 -1
  791. package/dist/index.es288.js +1 -1
  792. package/dist/index.es289.js +1 -1
  793. package/dist/index.es292.js +2 -2
  794. package/dist/index.es293.js +2 -2
  795. package/dist/index.es294.js +1 -1
  796. package/dist/index.es298.js +2 -2
  797. package/dist/index.es301.js +1 -1
  798. package/dist/index.es305.js +1 -1
  799. package/dist/index.es308.js +1 -1
  800. package/dist/index.es316.js +1 -1
  801. package/dist/index.es317.js +1 -1
  802. package/dist/index.es318.js +1 -1
  803. package/dist/index.es319.js +2 -2
  804. package/dist/index.es320.js +1 -1
  805. package/dist/index.es321.js +1 -1
  806. package/dist/index.es322.js +1 -1
  807. package/dist/index.es324.js +2 -2
  808. package/dist/index.es325.js +2 -2
  809. package/dist/index.es326.js +1 -1
  810. package/dist/index.es327.js +1 -1
  811. package/dist/index.es328.js +1 -1
  812. package/dist/index.es329.js +1 -1
  813. package/dist/index.es330.js +2 -2
  814. package/dist/index.es331.js +2 -2
  815. package/dist/index.es332.js +1 -1
  816. package/dist/index.es335.js +2 -2
  817. package/dist/index.es336.js +2 -2
  818. package/dist/index.es338.js +2 -2
  819. package/dist/index.es339.js +1 -1
  820. package/dist/index.es340.js +2 -2
  821. package/dist/index.es341.js +1 -1
  822. package/dist/index.es342.js +2 -2
  823. package/dist/index.es343.js +1 -1
  824. package/dist/index.es344.js +1 -1
  825. package/dist/index.es345.js +1 -1
  826. package/dist/index.es351.js +1 -1
  827. package/dist/index.es352.js +2 -2
  828. package/dist/index.es353.js +1 -1
  829. package/dist/index.es354.js +1 -1
  830. package/dist/index.es355.js +1 -1
  831. package/dist/index.es359.js +1 -1
  832. package/dist/index.es360.js +1 -1
  833. package/dist/index.es361.js +1 -1
  834. package/dist/index.es362.js +1 -1
  835. package/dist/index.es363.js +2 -2
  836. package/dist/index.es364.js +1 -1
  837. package/dist/index.es365.js +5 -5
  838. package/dist/index.es366.js +2 -2
  839. package/dist/index.es367.js +6 -6
  840. package/dist/index.es368.js +2 -2
  841. package/dist/index.es370.js +3 -3
  842. package/dist/index.es371.js +3 -3
  843. package/dist/index.es375.js +1 -1
  844. package/dist/index.es376.js +1 -1
  845. package/dist/index.es379.js +1 -1
  846. package/dist/index.es406.js +10 -10
  847. package/dist/index.es406.js.map +1 -1
  848. package/dist/index.es407.js +3 -3
  849. package/dist/index.es407.js.map +1 -1
  850. package/dist/index.es408.js +28 -10
  851. package/dist/index.es408.js.map +1 -1
  852. package/dist/index.es409.js +5 -10
  853. package/dist/index.es409.js.map +1 -1
  854. package/dist/index.es410.js +9 -4
  855. package/dist/index.es410.js.map +1 -1
  856. package/dist/index.es411.js +6 -12
  857. package/dist/index.es411.js.map +1 -1
  858. package/dist/index.es412.js +10 -28
  859. package/dist/index.es412.js.map +1 -1
  860. package/dist/index.es413.js +10 -5
  861. package/dist/index.es413.js.map +1 -1
  862. package/dist/index.es414.js +4 -9
  863. package/dist/index.es414.js.map +1 -1
  864. package/dist/index.es415.js +12 -8
  865. package/dist/index.es415.js.map +1 -1
  866. package/dist/index.es416.js +5 -5
  867. package/dist/index.es416.js.map +1 -1
  868. package/dist/index.es417.js +3 -4
  869. package/dist/index.es417.js.map +1 -1
  870. package/dist/index.es418.js +24 -3
  871. package/dist/index.es418.js.map +1 -1
  872. package/dist/index.es419.js +110 -3
  873. package/dist/index.es419.js.map +1 -1
  874. package/dist/index.es420.js +15 -8
  875. package/dist/index.es420.js.map +1 -1
  876. package/dist/index.es421.js +2 -22
  877. package/dist/index.es421.js.map +1 -1
  878. package/dist/index.es422.js +320 -20
  879. package/dist/index.es422.js.map +1 -1
  880. package/dist/index.es423.js +2 -14
  881. package/dist/index.es423.js.map +1 -1
  882. package/dist/index.es424.js +2 -17
  883. package/dist/index.es424.js.map +1 -1
  884. package/dist/index.es425.js +2 -6
  885. package/dist/index.es425.js.map +1 -1
  886. package/dist/index.es426.js +14 -8
  887. package/dist/index.es426.js.map +1 -1
  888. package/dist/index.es427.js +2 -7
  889. package/dist/index.es427.js.map +1 -1
  890. package/dist/index.es428.js +2 -22
  891. package/dist/index.es428.js.map +1 -1
  892. package/dist/index.es429.js +46 -8
  893. package/dist/index.es429.js.map +1 -1
  894. package/dist/index.es430.js +38 -9
  895. package/dist/index.es430.js.map +1 -1
  896. package/dist/index.es431.js +43 -4
  897. package/dist/index.es431.js.map +1 -1
  898. package/dist/index.es432.js +2 -11
  899. package/dist/index.es432.js.map +1 -1
  900. package/dist/index.es433.js +15 -8
  901. package/dist/index.es433.js.map +1 -1
  902. package/dist/index.es434.js +2 -23
  903. package/dist/index.es434.js.map +1 -1
  904. package/dist/index.es435.js +15 -11
  905. package/dist/index.es435.js.map +1 -1
  906. package/dist/index.es436.js +15 -18
  907. package/dist/index.es436.js.map +1 -1
  908. package/dist/index.es437.js +18 -4
  909. package/dist/index.es437.js.map +1 -1
  910. package/dist/index.es438.js +17 -15
  911. package/dist/index.es438.js.map +1 -1
  912. package/dist/index.es439.js +2 -12
  913. package/dist/index.es439.js.map +1 -1
  914. package/dist/index.es440.js +7 -3
  915. package/dist/index.es440.js.map +1 -1
  916. package/dist/index.es441.js +4 -4
  917. package/dist/index.es441.js.map +1 -1
  918. package/dist/index.es442.js +4 -6
  919. package/dist/index.es442.js.map +1 -1
  920. package/dist/index.es443.js +3 -2
  921. package/dist/index.es443.js.map +1 -1
  922. package/dist/index.es444.js +3 -322
  923. package/dist/index.es444.js.map +1 -1
  924. package/dist/index.es445.js +9 -2
  925. package/dist/index.es445.js.map +1 -1
  926. package/dist/index.es446.js +22 -2
  927. package/dist/index.es446.js.map +1 -1
  928. package/dist/index.es447.js +22 -2
  929. package/dist/index.es447.js.map +1 -1
  930. package/dist/index.es448.js +13 -14
  931. package/dist/index.es448.js.map +1 -1
  932. package/dist/index.es449.js +17 -2
  933. package/dist/index.es449.js.map +1 -1
  934. package/dist/index.es450.js +6 -2
  935. package/dist/index.es450.js.map +1 -1
  936. package/dist/index.es451.js +8 -47
  937. package/dist/index.es451.js.map +1 -1
  938. package/dist/index.es452.js +6 -37
  939. package/dist/index.es452.js.map +1 -1
  940. package/dist/index.es453.js +19 -40
  941. package/dist/index.es453.js.map +1 -1
  942. package/dist/index.es454.js +10 -2
  943. package/dist/index.es454.js.map +1 -1
  944. package/dist/index.es455.js +9 -16
  945. package/dist/index.es455.js.map +1 -1
  946. package/dist/index.es456.js +4 -2
  947. package/dist/index.es456.js.map +1 -1
  948. package/dist/index.es457.js +10 -15
  949. package/dist/index.es457.js.map +1 -1
  950. package/dist/index.es458.js +8 -15
  951. package/dist/index.es458.js.map +1 -1
  952. package/dist/index.es459.js +22 -17
  953. package/dist/index.es459.js.map +1 -1
  954. package/dist/index.es460.js +10 -18
  955. package/dist/index.es460.js.map +1 -1
  956. package/dist/index.es461.js +19 -2
  957. package/dist/index.es461.js.map +1 -1
  958. package/dist/index.es462.js +4 -5
  959. package/dist/index.es462.js.map +1 -1
  960. package/dist/index.es463.js +18 -3
  961. package/dist/index.es463.js.map +1 -1
  962. package/dist/index.es464.js +11 -23
  963. package/dist/index.es464.js.map +1 -1
  964. package/dist/index.es465.js +3 -109
  965. package/dist/index.es465.js.map +1 -1
  966. package/dist/index.es466.js +4 -15
  967. package/dist/index.es466.js.map +1 -1
  968. package/dist/index.es467.js +5 -5
  969. package/dist/index.es469.js +1 -1
  970. package/dist/index.es471.js +3 -3
  971. package/dist/index.es485.js +1 -1
  972. package/dist/index.es486.js +2 -2
  973. package/dist/index.es495.js +1 -1
  974. package/dist/index.es497.js +1 -1
  975. package/dist/index.es498.js +4 -4
  976. package/dist/index.es500.js +1 -1
  977. package/dist/index.es501.js +4 -4
  978. package/dist/index.es502.js +2 -156
  979. package/dist/index.es502.js.map +1 -1
  980. package/dist/index.es503.js +65 -100
  981. package/dist/index.es503.js.map +1 -1
  982. package/dist/index.es504.js +8 -16
  983. package/dist/index.es504.js.map +1 -1
  984. package/dist/index.es505.js +14 -7
  985. package/dist/index.es505.js.map +1 -1
  986. package/dist/index.es506.js +60 -3
  987. package/dist/index.es506.js.map +1 -1
  988. package/dist/index.es507.js +63 -4
  989. package/dist/index.es507.js.map +1 -1
  990. package/dist/index.es508.js +6 -7
  991. package/dist/index.es508.js.map +1 -1
  992. package/dist/index.es509.js +2 -2
  993. package/dist/index.es510.js +94 -20
  994. package/dist/index.es510.js.map +1 -1
  995. package/dist/index.es511.js +275 -2
  996. package/dist/index.es511.js.map +1 -1
  997. package/dist/index.es512.js +120 -87
  998. package/dist/index.es512.js.map +1 -1
  999. package/dist/index.es513.js +111 -218
  1000. package/dist/index.es513.js.map +1 -1
  1001. package/dist/index.es514.js +39 -37
  1002. package/dist/index.es514.js.map +1 -1
  1003. package/dist/index.es515.js +74 -114
  1004. package/dist/index.es515.js.map +1 -1
  1005. package/dist/index.es516.js +65 -63
  1006. package/dist/index.es516.js.map +1 -1
  1007. package/dist/index.es517.js +36 -36
  1008. package/dist/index.es517.js.map +1 -1
  1009. package/dist/index.es518.js +56 -72
  1010. package/dist/index.es518.js.map +1 -1
  1011. package/dist/index.es519.js +67 -78
  1012. package/dist/index.es519.js.map +1 -1
  1013. package/dist/index.es520.js +30 -30
  1014. package/dist/index.es520.js.map +1 -1
  1015. package/dist/index.es521.js +58 -58
  1016. package/dist/index.es521.js.map +1 -1
  1017. package/dist/index.es522.js +70 -62
  1018. package/dist/index.es522.js.map +1 -1
  1019. package/dist/index.es523.js +58 -44
  1020. package/dist/index.es523.js.map +1 -1
  1021. package/dist/index.es524.js +58 -55
  1022. package/dist/index.es524.js.map +1 -1
  1023. package/dist/index.es525.js +22 -120
  1024. package/dist/index.es525.js.map +1 -1
  1025. package/dist/index.es526.js +2 -128
  1026. package/dist/index.es526.js.map +1 -1
  1027. package/dist/index.es527.js +15 -27
  1028. package/dist/index.es527.js.map +1 -1
  1029. package/dist/index.es528.js +2 -2
  1030. package/dist/index.es529.js +39 -17
  1031. package/dist/index.es529.js.map +1 -1
  1032. package/dist/index.es530.js +43 -2
  1033. package/dist/index.es530.js.map +1 -1
  1034. package/dist/index.es531.js +32 -32
  1035. package/dist/index.es531.js.map +1 -1
  1036. package/dist/index.es532.js +34 -34
  1037. package/dist/index.es532.js.map +1 -1
  1038. package/dist/index.es533.js +29 -29
  1039. package/dist/index.es533.js.map +1 -1
  1040. package/dist/index.es534.js +30 -30
  1041. package/dist/index.es534.js.map +1 -1
  1042. package/dist/index.es535.js +26 -26
  1043. package/dist/index.es535.js.map +1 -1
  1044. package/dist/index.es536.js +26 -26
  1045. package/dist/index.es536.js.map +1 -1
  1046. package/dist/index.es537.js +29 -28
  1047. package/dist/index.es537.js.map +1 -1
  1048. package/dist/index.es538.js +34 -36
  1049. package/dist/index.es538.js.map +1 -1
  1050. package/dist/index.es539.js +2 -44
  1051. package/dist/index.es539.js.map +1 -1
  1052. package/dist/index.es540.js +20 -39
  1053. package/dist/index.es540.js.map +1 -1
  1054. package/dist/index.es541.js +156 -2
  1055. package/dist/index.es541.js.map +1 -1
  1056. package/dist/index.es542.js +104 -2
  1057. package/dist/index.es542.js.map +1 -1
  1058. package/dist/index.es543.js +16 -11
  1059. package/dist/index.es543.js.map +1 -1
  1060. package/dist/index.es544.js +2 -34
  1061. package/dist/index.es544.js.map +1 -1
  1062. package/dist/index.es545.js +2 -21
  1063. package/dist/index.es545.js.map +1 -1
  1064. package/dist/index.es546.js +8 -8
  1065. package/dist/index.es546.js.map +1 -1
  1066. package/dist/index.es547.js +34 -2
  1067. package/dist/index.es547.js.map +1 -1
  1068. package/dist/index.es548.js +21 -2
  1069. package/dist/index.es548.js.map +1 -1
  1070. package/dist/index.es549.js +10 -12
  1071. package/dist/index.es549.js.map +1 -1
  1072. package/dist/index.es550.js +2 -12
  1073. package/dist/index.es550.js.map +1 -1
  1074. package/dist/index.es551.js +2 -12
  1075. package/dist/index.es551.js.map +1 -1
  1076. package/dist/index.es552.js +14 -2
  1077. package/dist/index.es552.js.map +1 -1
  1078. package/dist/index.es553.js +12 -2
  1079. package/dist/index.es553.js.map +1 -1
  1080. package/dist/index.es554.js +12 -69
  1081. package/dist/index.es554.js.map +1 -1
  1082. package/dist/index.es555.js +2 -9
  1083. package/dist/index.es555.js.map +1 -1
  1084. package/dist/index.es556.js +3 -14
  1085. package/dist/index.es556.js.map +1 -1
  1086. package/dist/index.es557.js +8 -60
  1087. package/dist/index.es557.js.map +1 -1
  1088. package/dist/index.es558.js +4 -63
  1089. package/dist/index.es558.js.map +1 -1
  1090. package/dist/index.es559.js +108 -144
  1091. package/dist/index.es559.js.map +1 -1
  1092. package/dist/index.es560.js +2 -2
  1093. package/dist/index.es561.js +4 -8
  1094. package/dist/index.es561.js.map +1 -1
  1095. package/dist/index.es562.js +5 -5
  1096. package/dist/index.es562.js.map +1 -1
  1097. package/dist/index.es563.js +8 -50
  1098. package/dist/index.es563.js.map +1 -1
  1099. package/dist/index.es564.js +50 -4
  1100. package/dist/index.es564.js.map +1 -1
  1101. package/dist/index.es566.js +2 -2
  1102. package/dist/index.es567.js +2 -2
  1103. package/dist/index.es568.js +146 -3
  1104. package/dist/index.es568.js.map +1 -1
  1105. package/dist/index.es569.js +2 -109
  1106. package/dist/index.es569.js.map +1 -1
  1107. package/dist/index.es570.js +47 -33
  1108. package/dist/index.es570.js.map +1 -1
  1109. package/dist/index.es571.js.map +1 -1
  1110. package/dist/index.es572.js +41 -41
  1111. package/dist/index.es572.js.map +1 -1
  1112. package/dist/index.es573.js +33 -47
  1113. package/dist/index.es573.js.map +1 -1
  1114. package/dist/index.es574.js.map +1 -1
  1115. package/dist/index.es575.js +41 -41
  1116. package/dist/index.es575.js.map +1 -1
  1117. package/dist/index.es576.js +2 -118
  1118. package/dist/index.es576.js.map +1 -1
  1119. package/dist/index.es577.js +150 -2
  1120. package/dist/index.es577.js.map +1 -1
  1121. package/dist/index.es578.js +2 -9
  1122. package/dist/index.es578.js.map +1 -1
  1123. package/dist/index.es579.js +5 -13
  1124. package/dist/index.es579.js.map +1 -1
  1125. package/dist/index.es580.js +2 -2
  1126. package/dist/index.es581.js +2 -2
  1127. package/dist/index.es582.js +225 -2
  1128. package/dist/index.es582.js.map +1 -1
  1129. package/dist/index.es583.js +134 -2
  1130. package/dist/index.es583.js.map +1 -1
  1131. package/dist/index.es584.js +129 -2
  1132. package/dist/index.es584.js.map +1 -1
  1133. package/dist/index.es585.js +134 -2
  1134. package/dist/index.es585.js.map +1 -1
  1135. package/dist/index.es586.js +129 -2
  1136. package/dist/index.es586.js.map +1 -1
  1137. package/dist/index.es587.js +135 -2
  1138. package/dist/index.es587.js.map +1 -1
  1139. package/dist/index.es588.js +2 -2
  1140. package/dist/index.es589.js +2 -2
  1141. package/dist/index.es59.js +1 -1
  1142. package/dist/index.es590.js +2 -2
  1143. package/dist/index.es591.js +2 -2
  1144. package/dist/index.es592.js +2 -151
  1145. package/dist/index.es592.js.map +1 -1
  1146. package/dist/index.es593.js +2 -2
  1147. package/dist/index.es594.js +2 -6
  1148. package/dist/index.es594.js.map +1 -1
  1149. package/dist/index.es596.js +2 -148
  1150. package/dist/index.es596.js.map +1 -1
  1151. package/dist/index.es597.js +148 -2
  1152. package/dist/index.es597.js.map +1 -1
  1153. package/dist/index.es598.js +2 -138
  1154. package/dist/index.es598.js.map +1 -1
  1155. package/dist/index.es599.js +2 -2
  1156. package/dist/index.es60.js +1 -1
  1157. package/dist/index.es600.js +2 -2
  1158. package/dist/index.es601.js +75 -169
  1159. package/dist/index.es601.js.map +1 -1
  1160. package/dist/index.es602.js +77 -83
  1161. package/dist/index.es602.js.map +1 -1
  1162. package/dist/index.es603.js +8 -128
  1163. package/dist/index.es603.js.map +1 -1
  1164. package/dist/index.es604.js +13 -133
  1165. package/dist/index.es604.js.map +1 -1
  1166. package/dist/index.es605.js +2 -129
  1167. package/dist/index.es605.js.map +1 -1
  1168. package/dist/index.es606.js +83 -80
  1169. package/dist/index.es606.js.map +1 -1
  1170. package/dist/index.es607.js +4 -2
  1171. package/dist/index.es607.js.map +1 -1
  1172. package/dist/index.es608.js +23 -2
  1173. package/dist/index.es608.js.map +1 -1
  1174. package/dist/index.es609.js +2 -2
  1175. package/dist/index.es61.js +2 -2
  1176. package/dist/index.es610.js +2 -2
  1177. package/dist/index.es612.js +2 -2
  1178. package/dist/index.es613.js +2 -2
  1179. package/dist/index.es614.js +2 -2
  1180. package/dist/index.es616.js +2 -2
  1181. package/dist/index.es617.js +2 -2
  1182. package/dist/index.es618.js +2 -131
  1183. package/dist/index.es618.js.map +1 -1
  1184. package/dist/index.es619.js +114 -124
  1185. package/dist/index.es619.js.map +1 -1
  1186. package/dist/index.es620.js +2 -2
  1187. package/dist/index.es621.js +3 -2
  1188. package/dist/index.es621.js.map +1 -1
  1189. package/dist/index.es623.js +2 -14
  1190. package/dist/index.es623.js.map +1 -1
  1191. package/dist/index.es624.js +2 -2
  1192. package/dist/index.es625.js +14 -2
  1193. package/dist/index.es625.js.map +1 -1
  1194. package/dist/index.es626.js +2 -2
  1195. package/dist/index.es627.js +2 -2
  1196. package/dist/index.es628.js +2 -4
  1197. package/dist/index.es628.js.map +1 -1
  1198. package/dist/index.es629.js +2 -23
  1199. package/dist/index.es629.js.map +1 -1
  1200. package/dist/index.es63.js +2 -2
  1201. package/dist/index.es637.js +2 -2
  1202. package/dist/index.es638.js +2 -2
  1203. package/dist/index.es639.js +2 -2
  1204. package/dist/index.es64.js +2 -2
  1205. package/dist/index.es640.js +2 -2
  1206. package/dist/index.es641.js +2 -2
  1207. package/dist/index.es642.js +2 -2
  1208. package/dist/index.es643.js +2 -2
  1209. package/dist/index.es644.js +2 -2
  1210. package/dist/index.es645.js +2 -2
  1211. package/dist/index.es646.js +23 -2
  1212. package/dist/index.es646.js.map +1 -1
  1213. package/dist/index.es647.js +11 -21
  1214. package/dist/index.es647.js.map +1 -1
  1215. package/dist/index.es648.js +26 -11
  1216. package/dist/index.es648.js.map +1 -1
  1217. package/dist/index.es649.js +4 -27
  1218. package/dist/index.es649.js.map +1 -1
  1219. package/dist/index.es65.js +2 -2
  1220. package/dist/index.es650.js +2 -5
  1221. package/dist/index.es650.js.map +1 -1
  1222. package/dist/index.es651.js +1 -1
  1223. package/dist/index.es655.js.map +1 -1
  1224. package/dist/index.es656.js.map +1 -1
  1225. package/dist/index.es67.js +1 -1
  1226. package/dist/index.es673.js +1 -1
  1227. package/dist/index.es678.js +6 -6
  1228. package/dist/index.es679.js +16 -13
  1229. package/dist/index.es679.js.map +1 -1
  1230. package/dist/index.es68.js +2 -2
  1231. package/dist/index.es680.js +39 -18
  1232. package/dist/index.es680.js.map +1 -1
  1233. package/dist/index.es681.js +12 -39
  1234. package/dist/index.es681.js.map +1 -1
  1235. package/dist/index.es682.js +37 -12
  1236. package/dist/index.es682.js.map +1 -1
  1237. package/dist/index.es683.js +38 -36
  1238. package/dist/index.es683.js.map +1 -1
  1239. package/dist/index.es684.js +12 -39
  1240. package/dist/index.es684.js.map +1 -1
  1241. package/dist/index.es685.js +11 -8
  1242. package/dist/index.es685.js.map +1 -1
  1243. package/dist/index.es69.js +2 -2
  1244. package/dist/index.es71.js +1 -1
  1245. package/dist/index.es72.js +1 -1
  1246. package/dist/index.es73.js +1 -1
  1247. package/dist/index.es77.js +2 -2
  1248. package/dist/index.es78.js +3 -3
  1249. package/dist/index.es79.js +1 -1
  1250. package/dist/index.es81.js +1 -1
  1251. package/dist/index.es82.js +1 -1
  1252. package/dist/index.es84.js +1 -1
  1253. package/dist/index.es89.js +14 -14
  1254. package/dist/packages/core-data/src/tailwind.css +1 -1
  1255. package/package.json +3 -3
  1256. package/src/components/FacetTimeline.js +11 -5
  1257. package/src/components/Modal.js +1 -1
  1258. package/types/components/FacetTimeline.js.flow +11 -5
  1259. package/types/components/Modal.js.flow +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs214.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.cjs214.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,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 u=require("react"),l=require("react-dom"),f=require("./index.cjs216.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;
2
2
  //# sourceMappingURL=index.cjs215.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs215.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs215.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.cjs206.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.cjs216.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs216.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs216.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,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";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs244.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;
9
2
  //# sourceMappingURL=index.cjs217.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs217.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":"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","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs217.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,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";const a=require("./index.cjs369.js"),l=require("react"),s=require("./index.cjs406.js"),i=require("./index.cjs407.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;
14
2
  //# sourceMappingURL=index.cjs218.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs218.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.cjs218.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,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs217.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.cjs219.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs219.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.cjs219.js","sources":["../../../node_modules/@radix-ui/react-dialog/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.cjs219.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 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;
18
2
  //# sourceMappingURL=index.cjs220.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs220.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.cjs220.js","sources":["../../../node_modules/@radix-ui/react-dialog/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 e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs220.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.cjs221.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs221.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs221.js","sources":["../../../node_modules/@radix-ui/react-dialog/node_modules/@radix-ui/react-use-escape-keydown/dist/index.mjs"],"sourcesContent":["// packages/react/use-escape-keydown/src/useEscapeKeydown.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.document) {\n const onEscapeKeyDown = useCallbackRef(onEscapeKeyDownProp);\n React.useEffect(() => {\n const handleKeyDown = (event) => {\n if (event.key === \"Escape\") {\n onEscapeKeyDown(event);\n }\n };\n ownerDocument.addEventListener(\"keydown\", handleKeyDown, { capture: true });\n return () => ownerDocument.removeEventListener(\"keydown\", handleKeyDown, { capture: true });\n }, [onEscapeKeyDown, ownerDocument]);\n}\nexport {\n useEscapeKeydown\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useEscapeKeydown","onEscapeKeyDownProp","ownerDocument","onEscapeKeyDown","useCallbackRef","React","handleKeyDown","event"],"mappings":"kaAGA,SAASA,EAAiBC,EAAqBC,EAAgB,mCAAY,SAAU,CACnF,MAAMC,EAAkBC,iBAAeH,CAAmB,EAC1DI,EAAM,UAAU,IAAM,CACpB,MAAMC,EAAiBC,GAAU,CAC3BA,EAAM,MAAQ,UAChBJ,EAAgBI,CAAK,CAE7B,EACI,OAAAL,EAAc,iBAAiB,UAAWI,EAAe,CAAE,QAAS,EAAI,CAAE,EACnE,IAAMJ,EAAc,oBAAoB,UAAWI,EAAe,CAAE,QAAS,EAAI,CAAE,CAC9F,EAAK,CAACH,EAAiBD,CAAa,CAAC,CACrC","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"});var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
2
2
  //# sourceMappingURL=index.cjs222.js.map