@performant-software/core-data 2.2.20-beta.6 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1183) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs102.js +1 -1
  3. package/dist/index.cjs103.js +1 -1
  4. package/dist/index.cjs108.js +1 -1
  5. package/dist/index.cjs109.js +1 -1
  6. package/dist/index.cjs111.js +1 -1
  7. package/dist/index.cjs112.js +1 -1
  8. package/dist/index.cjs113.js +1 -1
  9. package/dist/index.cjs114.js +1 -1
  10. package/dist/index.cjs118.js +1 -1
  11. package/dist/index.cjs120.js +1 -1
  12. package/dist/index.cjs121.js +1 -1
  13. package/dist/index.cjs128.js +1 -1
  14. package/dist/index.cjs139.js +1 -1
  15. package/dist/index.cjs140.js +1 -1
  16. package/dist/index.cjs144.js +1 -1
  17. package/dist/index.cjs144.js.map +1 -1
  18. package/dist/index.cjs145.js +1 -1
  19. package/dist/index.cjs145.js.map +1 -1
  20. package/dist/index.cjs146.js +1 -1
  21. package/dist/index.cjs146.js.map +1 -1
  22. package/dist/index.cjs147.js +1 -1
  23. package/dist/index.cjs147.js.map +1 -1
  24. package/dist/index.cjs148.js +1 -1
  25. package/dist/index.cjs148.js.map +1 -1
  26. package/dist/index.cjs149.js +1 -1
  27. package/dist/index.cjs149.js.map +1 -1
  28. package/dist/index.cjs150.js +1 -1
  29. package/dist/index.cjs150.js.map +1 -1
  30. package/dist/index.cjs151.js +1 -1
  31. package/dist/index.cjs151.js.map +1 -1
  32. package/dist/index.cjs152.js +1 -1
  33. package/dist/index.cjs152.js.map +1 -1
  34. package/dist/index.cjs153.js +1 -1
  35. package/dist/index.cjs153.js.map +1 -1
  36. package/dist/index.cjs154.js +1 -1
  37. package/dist/index.cjs154.js.map +1 -1
  38. package/dist/index.cjs155.js +1 -1
  39. package/dist/index.cjs155.js.map +1 -1
  40. package/dist/index.cjs156.js +1 -1
  41. package/dist/index.cjs156.js.map +1 -1
  42. package/dist/index.cjs157.js +1 -1
  43. package/dist/index.cjs157.js.map +1 -1
  44. package/dist/index.cjs158.js +1 -1
  45. package/dist/index.cjs158.js.map +1 -1
  46. package/dist/index.cjs159.js +1 -1
  47. package/dist/index.cjs159.js.map +1 -1
  48. package/dist/index.cjs160.js +1 -1
  49. package/dist/index.cjs160.js.map +1 -1
  50. package/dist/index.cjs161.js +1 -1
  51. package/dist/index.cjs161.js.map +1 -1
  52. package/dist/index.cjs162.js +1 -1
  53. package/dist/index.cjs162.js.map +1 -1
  54. package/dist/index.cjs163.js +1 -1
  55. package/dist/index.cjs163.js.map +1 -1
  56. package/dist/index.cjs164.js +1 -1
  57. package/dist/index.cjs164.js.map +1 -1
  58. package/dist/index.cjs165.js +1 -1
  59. package/dist/index.cjs165.js.map +1 -1
  60. package/dist/index.cjs166.js +1 -1
  61. package/dist/index.cjs166.js.map +1 -1
  62. package/dist/index.cjs167.js +1 -1
  63. package/dist/index.cjs167.js.map +1 -1
  64. package/dist/index.cjs168.js +1 -1
  65. package/dist/index.cjs168.js.map +1 -1
  66. package/dist/index.cjs169.js +1 -1
  67. package/dist/index.cjs169.js.map +1 -1
  68. package/dist/index.cjs170.js +1 -1
  69. package/dist/index.cjs170.js.map +1 -1
  70. package/dist/index.cjs171.js +1 -1
  71. package/dist/index.cjs171.js.map +1 -1
  72. package/dist/index.cjs172.js +1 -1
  73. package/dist/index.cjs172.js.map +1 -1
  74. package/dist/index.cjs173.js +1 -1
  75. package/dist/index.cjs173.js.map +1 -1
  76. package/dist/index.cjs174.js +1 -1
  77. package/dist/index.cjs174.js.map +1 -1
  78. package/dist/index.cjs175.js +1 -1
  79. package/dist/index.cjs175.js.map +1 -1
  80. package/dist/index.cjs176.js +1 -1
  81. package/dist/index.cjs176.js.map +1 -1
  82. package/dist/index.cjs177.js +1 -1
  83. package/dist/index.cjs177.js.map +1 -1
  84. package/dist/index.cjs178.js +1 -1
  85. package/dist/index.cjs178.js.map +1 -1
  86. package/dist/index.cjs186.js +1 -1
  87. package/dist/index.cjs190.js +1 -1
  88. package/dist/index.cjs213.js +1 -1
  89. package/dist/index.cjs213.js.map +1 -1
  90. package/dist/index.cjs214.js +1 -1
  91. package/dist/index.cjs214.js.map +1 -1
  92. package/dist/index.cjs215.js +1 -1
  93. package/dist/index.cjs215.js.map +1 -1
  94. package/dist/index.cjs216.js +1 -1
  95. package/dist/index.cjs216.js.map +1 -1
  96. package/dist/index.cjs217.js +1 -1
  97. package/dist/index.cjs217.js.map +1 -1
  98. package/dist/index.cjs218.js +1 -1
  99. package/dist/index.cjs218.js.map +1 -1
  100. package/dist/index.cjs219.js +1 -1
  101. package/dist/index.cjs219.js.map +1 -1
  102. package/dist/index.cjs220.js +1 -1
  103. package/dist/index.cjs220.js.map +1 -1
  104. package/dist/index.cjs221.js +1 -1
  105. package/dist/index.cjs221.js.map +1 -1
  106. package/dist/index.cjs222.js +1 -1
  107. package/dist/index.cjs222.js.map +1 -1
  108. package/dist/index.cjs223.js +1 -1
  109. package/dist/index.cjs223.js.map +1 -1
  110. package/dist/index.cjs224.js +1 -1
  111. package/dist/index.cjs224.js.map +1 -1
  112. package/dist/index.cjs225.js +1 -1
  113. package/dist/index.cjs225.js.map +1 -1
  114. package/dist/index.cjs226.js +1 -1
  115. package/dist/index.cjs226.js.map +1 -1
  116. package/dist/index.cjs227.js +1 -1
  117. package/dist/index.cjs227.js.map +1 -1
  118. package/dist/index.cjs228.js +1 -1
  119. package/dist/index.cjs228.js.map +1 -1
  120. package/dist/index.cjs229.js +1 -1
  121. package/dist/index.cjs229.js.map +1 -1
  122. package/dist/index.cjs230.js +1 -1
  123. package/dist/index.cjs230.js.map +1 -1
  124. package/dist/index.cjs231.js +1 -1
  125. package/dist/index.cjs231.js.map +1 -1
  126. package/dist/index.cjs232.js +1 -1
  127. package/dist/index.cjs232.js.map +1 -1
  128. package/dist/index.cjs233.js +1 -1
  129. package/dist/index.cjs233.js.map +1 -1
  130. package/dist/index.cjs234.js +1 -1
  131. package/dist/index.cjs234.js.map +1 -1
  132. package/dist/index.cjs235.js +1 -1
  133. package/dist/index.cjs235.js.map +1 -1
  134. package/dist/index.cjs236.js +1 -1
  135. package/dist/index.cjs236.js.map +1 -1
  136. package/dist/index.cjs237.js +1 -1
  137. package/dist/index.cjs237.js.map +1 -1
  138. package/dist/index.cjs238.js +1 -1
  139. package/dist/index.cjs238.js.map +1 -1
  140. package/dist/index.cjs239.js +1 -1
  141. package/dist/index.cjs239.js.map +1 -1
  142. package/dist/index.cjs240.js +1 -1
  143. package/dist/index.cjs240.js.map +1 -1
  144. package/dist/index.cjs242.js +1 -1
  145. package/dist/index.cjs246.js +1 -1
  146. package/dist/index.cjs247.js +1 -1
  147. package/dist/index.cjs247.js.map +1 -1
  148. package/dist/index.cjs248.js +1 -1
  149. package/dist/index.cjs248.js.map +1 -1
  150. package/dist/index.cjs249.js +1 -1
  151. package/dist/index.cjs249.js.map +1 -1
  152. package/dist/index.cjs250.js +1 -1
  153. package/dist/index.cjs250.js.map +1 -1
  154. package/dist/index.cjs251.js +1 -1
  155. package/dist/index.cjs251.js.map +1 -1
  156. package/dist/index.cjs252.js +1 -1
  157. package/dist/index.cjs252.js.map +1 -1
  158. package/dist/index.cjs253.js +1 -1
  159. package/dist/index.cjs253.js.map +1 -1
  160. package/dist/index.cjs255.js +1 -1
  161. package/dist/index.cjs262.js +1 -1
  162. package/dist/index.cjs263.js +1 -1
  163. package/dist/index.cjs264.js +1 -1
  164. package/dist/index.cjs265.js +1 -1
  165. package/dist/index.cjs266.js +1 -1
  166. package/dist/index.cjs267.js +1 -1
  167. package/dist/index.cjs268.js +1 -1
  168. package/dist/index.cjs269.js +1 -1
  169. package/dist/index.cjs270.js +1 -1
  170. package/dist/index.cjs273.js +1 -1
  171. package/dist/index.cjs274.js +1 -1
  172. package/dist/index.cjs276.js +1 -1
  173. package/dist/index.cjs277.js +1 -1
  174. package/dist/index.cjs278.js +1 -1
  175. package/dist/index.cjs279.js +1 -1
  176. package/dist/index.cjs284.js +1 -1
  177. package/dist/index.cjs285.js +1 -1
  178. package/dist/index.cjs286.js +1 -1
  179. package/dist/index.cjs287.js +1 -1
  180. package/dist/index.cjs290.js +1 -1
  181. package/dist/index.cjs291.js +1 -1
  182. package/dist/index.cjs292.js +1 -1
  183. package/dist/index.cjs296.js +1 -1
  184. package/dist/index.cjs299.js +1 -1
  185. package/dist/index.cjs303.js +1 -1
  186. package/dist/index.cjs306.js +1 -1
  187. package/dist/index.cjs314.js +1 -1
  188. package/dist/index.cjs315.js +1 -1
  189. package/dist/index.cjs316.js +1 -1
  190. package/dist/index.cjs317.js +1 -1
  191. package/dist/index.cjs318.js +1 -1
  192. package/dist/index.cjs319.js +1 -1
  193. package/dist/index.cjs320.js +1 -1
  194. package/dist/index.cjs322.js +1 -1
  195. package/dist/index.cjs323.js +1 -1
  196. package/dist/index.cjs324.js +1 -1
  197. package/dist/index.cjs325.js +1 -1
  198. package/dist/index.cjs326.js +1 -1
  199. package/dist/index.cjs327.js +1 -1
  200. package/dist/index.cjs328.js +1 -1
  201. package/dist/index.cjs329.js +1 -1
  202. package/dist/index.cjs330.js +1 -1
  203. package/dist/index.cjs333.js +1 -1
  204. package/dist/index.cjs334.js +1 -1
  205. package/dist/index.cjs336.js +1 -1
  206. package/dist/index.cjs337.js +1 -1
  207. package/dist/index.cjs338.js +1 -1
  208. package/dist/index.cjs339.js +1 -1
  209. package/dist/index.cjs340.js +1 -1
  210. package/dist/index.cjs341.js +1 -1
  211. package/dist/index.cjs342.js +1 -1
  212. package/dist/index.cjs343.js +1 -1
  213. package/dist/index.cjs349.js +1 -1
  214. package/dist/index.cjs350.js +1 -1
  215. package/dist/index.cjs351.js +1 -1
  216. package/dist/index.cjs352.js +1 -1
  217. package/dist/index.cjs353.js +1 -1
  218. package/dist/index.cjs372.js +1 -1
  219. package/dist/index.cjs373.js +1 -1
  220. package/dist/index.cjs374.js +1 -1
  221. package/dist/index.cjs376.js +1 -1
  222. package/dist/index.cjs383.js +1 -1
  223. package/dist/index.cjs385.js +1 -1
  224. package/dist/index.cjs386.js +1 -1
  225. package/dist/index.cjs387.js +1 -1
  226. package/dist/index.cjs388.js +1 -1
  227. package/dist/index.cjs389.js +1 -1
  228. package/dist/index.cjs395.js +1 -1
  229. package/dist/index.cjs396.js +1 -1
  230. package/dist/index.cjs400.js +1 -1
  231. package/dist/index.cjs401.js +6 -1
  232. package/dist/index.cjs401.js.map +1 -1
  233. package/dist/index.cjs402.js +6 -1
  234. package/dist/index.cjs402.js.map +1 -1
  235. package/dist/index.cjs403.js +1 -1
  236. package/dist/index.cjs403.js.map +1 -1
  237. package/dist/index.cjs404.js +1 -6
  238. package/dist/index.cjs404.js.map +1 -1
  239. package/dist/index.cjs405.js +1 -6
  240. package/dist/index.cjs405.js.map +1 -1
  241. package/dist/index.cjs406.js +1 -1
  242. package/dist/index.cjs406.js.map +1 -1
  243. package/dist/index.cjs407.js.map +1 -1
  244. package/dist/index.cjs408.js +1 -1
  245. package/dist/index.cjs408.js.map +1 -1
  246. package/dist/index.cjs409.js +1 -1
  247. package/dist/index.cjs409.js.map +1 -1
  248. package/dist/index.cjs410.js +1 -1
  249. package/dist/index.cjs410.js.map +1 -1
  250. package/dist/index.cjs411.js +1 -1
  251. package/dist/index.cjs411.js.map +1 -1
  252. package/dist/index.cjs412.js +1 -1
  253. package/dist/index.cjs412.js.map +1 -1
  254. package/dist/index.cjs413.js +1 -1
  255. package/dist/index.cjs413.js.map +1 -1
  256. package/dist/index.cjs414.js +1 -1
  257. package/dist/index.cjs414.js.map +1 -1
  258. package/dist/index.cjs415.js +1 -1
  259. package/dist/index.cjs415.js.map +1 -1
  260. package/dist/index.cjs416.js +1 -1
  261. package/dist/index.cjs416.js.map +1 -1
  262. package/dist/index.cjs417.js +1 -1
  263. package/dist/index.cjs417.js.map +1 -1
  264. package/dist/index.cjs418.js +1 -1
  265. package/dist/index.cjs418.js.map +1 -1
  266. package/dist/index.cjs419.js +1 -1
  267. package/dist/index.cjs419.js.map +1 -1
  268. package/dist/index.cjs420.js +1 -1
  269. package/dist/index.cjs420.js.map +1 -1
  270. package/dist/index.cjs421.js +1 -1
  271. package/dist/index.cjs421.js.map +1 -1
  272. package/dist/index.cjs422.js +1 -1
  273. package/dist/index.cjs422.js.map +1 -1
  274. package/dist/index.cjs423.js +1 -1
  275. package/dist/index.cjs423.js.map +1 -1
  276. package/dist/index.cjs424.js +1 -1
  277. package/dist/index.cjs424.js.map +1 -1
  278. package/dist/index.cjs425.js +1 -1
  279. package/dist/index.cjs425.js.map +1 -1
  280. package/dist/index.cjs426.js +1 -1
  281. package/dist/index.cjs426.js.map +1 -1
  282. package/dist/index.cjs427.js +1 -1
  283. package/dist/index.cjs427.js.map +1 -1
  284. package/dist/index.cjs428.js +1 -1
  285. package/dist/index.cjs428.js.map +1 -1
  286. package/dist/index.cjs429.js +1 -1
  287. package/dist/index.cjs429.js.map +1 -1
  288. package/dist/index.cjs430.js +1 -1
  289. package/dist/index.cjs430.js.map +1 -1
  290. package/dist/index.cjs431.js +1 -1
  291. package/dist/index.cjs431.js.map +1 -1
  292. package/dist/index.cjs432.js +1 -1
  293. package/dist/index.cjs432.js.map +1 -1
  294. package/dist/index.cjs433.js +1 -1
  295. package/dist/index.cjs433.js.map +1 -1
  296. package/dist/index.cjs434.js +1 -1
  297. package/dist/index.cjs434.js.map +1 -1
  298. package/dist/index.cjs435.js +1 -1
  299. package/dist/index.cjs435.js.map +1 -1
  300. package/dist/index.cjs436.js +1 -1
  301. package/dist/index.cjs436.js.map +1 -1
  302. package/dist/index.cjs437.js +1 -1
  303. package/dist/index.cjs437.js.map +1 -1
  304. package/dist/index.cjs438.js +1 -1
  305. package/dist/index.cjs438.js.map +1 -1
  306. package/dist/index.cjs439.js +1 -1
  307. package/dist/index.cjs439.js.map +1 -1
  308. package/dist/index.cjs440.js +1 -1
  309. package/dist/index.cjs440.js.map +1 -1
  310. package/dist/index.cjs441.js +1 -1
  311. package/dist/index.cjs441.js.map +1 -1
  312. package/dist/index.cjs442.js +1 -1
  313. package/dist/index.cjs442.js.map +1 -1
  314. package/dist/index.cjs444.js +1 -1
  315. package/dist/index.cjs455.js +1 -1
  316. package/dist/index.cjs457.js +1 -1
  317. package/dist/index.cjs458.js +1 -1
  318. package/dist/index.cjs460.js +1 -1
  319. package/dist/index.cjs462.js +1 -1
  320. package/dist/index.cjs462.js.map +1 -1
  321. package/dist/index.cjs463.js +1 -1
  322. package/dist/index.cjs464.js +1 -1
  323. package/dist/index.cjs464.js.map +1 -1
  324. package/dist/index.cjs465.js +1 -5
  325. package/dist/index.cjs465.js.map +1 -1
  326. package/dist/index.cjs466.js +2 -1
  327. package/dist/index.cjs466.js.map +1 -1
  328. package/dist/index.cjs467.js +1 -1
  329. package/dist/index.cjs467.js.map +1 -1
  330. package/dist/index.cjs468.js +1 -1
  331. package/dist/index.cjs468.js.map +1 -1
  332. package/dist/index.cjs469.js +1 -12
  333. package/dist/index.cjs469.js.map +1 -1
  334. package/dist/index.cjs470.js +1 -1
  335. package/dist/index.cjs470.js.map +1 -1
  336. package/dist/index.cjs471.js +1 -1
  337. package/dist/index.cjs471.js.map +1 -1
  338. package/dist/index.cjs472.js +1 -1
  339. package/dist/index.cjs472.js.map +1 -1
  340. package/dist/index.cjs473.js +1 -1
  341. package/dist/index.cjs473.js.map +1 -1
  342. package/dist/index.cjs475.js +1 -1
  343. package/dist/index.cjs475.js.map +1 -1
  344. package/dist/index.cjs477.js +1 -2
  345. package/dist/index.cjs477.js.map +1 -1
  346. package/dist/index.cjs478.js +1 -1
  347. package/dist/index.cjs478.js.map +1 -1
  348. package/dist/index.cjs479.js +1 -1
  349. package/dist/index.cjs479.js.map +1 -1
  350. package/dist/index.cjs480.js +1 -1
  351. package/dist/index.cjs480.js.map +1 -1
  352. package/dist/index.cjs481.js +1 -1
  353. package/dist/index.cjs481.js.map +1 -1
  354. package/dist/index.cjs482.js +1 -1
  355. package/dist/index.cjs482.js.map +1 -1
  356. package/dist/index.cjs483.js +5 -1
  357. package/dist/index.cjs483.js.map +1 -1
  358. package/dist/index.cjs484.js +1 -1
  359. package/dist/index.cjs484.js.map +1 -1
  360. package/dist/index.cjs486.js +1 -1
  361. package/dist/index.cjs486.js.map +1 -1
  362. package/dist/index.cjs487.js +12 -1
  363. package/dist/index.cjs487.js.map +1 -1
  364. package/dist/index.cjs488.js +1 -1
  365. package/dist/index.cjs488.js.map +1 -1
  366. package/dist/index.cjs489.js +1 -1
  367. package/dist/index.cjs489.js.map +1 -1
  368. package/dist/index.cjs490.js +1 -1
  369. package/dist/index.cjs490.js.map +1 -1
  370. package/dist/index.cjs491.js.map +1 -1
  371. package/dist/index.cjs492.js.map +1 -1
  372. package/dist/index.cjs494.js +2 -2
  373. package/dist/index.cjs494.js.map +1 -1
  374. package/dist/index.cjs495.js +1 -1
  375. package/dist/index.cjs496.js.map +1 -1
  376. package/dist/index.cjs497.js.map +1 -1
  377. package/dist/index.cjs498.js +2 -2
  378. package/dist/index.cjs498.js.map +1 -1
  379. package/dist/index.cjs499.js +1 -1
  380. package/dist/index.cjs499.js.map +1 -1
  381. package/dist/index.cjs500.js +1 -1
  382. package/dist/index.cjs500.js.map +1 -1
  383. package/dist/index.cjs501.js +1 -1
  384. package/dist/index.cjs501.js.map +1 -1
  385. package/dist/index.cjs502.js +1 -4
  386. package/dist/index.cjs502.js.map +1 -1
  387. package/dist/index.cjs503.js +1 -1
  388. package/dist/index.cjs503.js.map +1 -1
  389. package/dist/index.cjs504.js +4 -1
  390. package/dist/index.cjs504.js.map +1 -1
  391. package/dist/index.cjs505.js +1 -1
  392. package/dist/index.cjs505.js.map +1 -1
  393. package/dist/index.cjs506.js +1 -1
  394. package/dist/index.cjs506.js.map +1 -1
  395. package/dist/index.cjs507.js +1 -1
  396. package/dist/index.cjs507.js.map +1 -1
  397. package/dist/index.cjs508.js +1 -1
  398. package/dist/index.cjs508.js.map +1 -1
  399. package/dist/index.cjs510.js +1 -1
  400. package/dist/index.cjs512.js +1 -1
  401. package/dist/index.cjs513.js +1 -1
  402. package/dist/index.cjs514.js +1 -1
  403. package/dist/index.cjs515.js +1 -1
  404. package/dist/index.cjs516.js +1 -1
  405. package/dist/index.cjs517.js +1 -1
  406. package/dist/index.cjs518.js +1 -1
  407. package/dist/index.cjs519.js +1 -1
  408. package/dist/index.cjs520.js +1 -1
  409. package/dist/index.cjs521.js +1 -1
  410. package/dist/index.cjs522.js +1 -1
  411. package/dist/index.cjs523.js +1 -1
  412. package/dist/index.cjs524.js +1 -1
  413. package/dist/index.cjs525.js +1 -1
  414. package/dist/index.cjs526.js +1 -1
  415. package/dist/index.cjs527.js +1 -1
  416. package/dist/index.cjs529.js +1 -1
  417. package/dist/index.cjs531.js +1 -1
  418. package/dist/index.cjs532.js +1 -1
  419. package/dist/index.cjs533.js +1 -1
  420. package/dist/index.cjs534.js +1 -1
  421. package/dist/index.cjs535.js +1 -1
  422. package/dist/index.cjs536.js +1 -1
  423. package/dist/index.cjs537.js +1 -1
  424. package/dist/index.cjs538.js +1 -1
  425. package/dist/index.cjs539.js +1 -1
  426. package/dist/index.cjs540.js +1 -1
  427. package/dist/index.cjs541.js +1 -1
  428. package/dist/index.cjs541.js.map +1 -1
  429. package/dist/index.cjs543.js +1 -1
  430. package/dist/index.cjs543.js.map +1 -1
  431. package/dist/index.cjs544.js +1 -1
  432. package/dist/index.cjs544.js.map +1 -1
  433. package/dist/index.cjs545.js +1 -1
  434. package/dist/index.cjs545.js.map +1 -1
  435. package/dist/index.cjs546.js +2 -1
  436. package/dist/index.cjs546.js.map +1 -1
  437. package/dist/index.cjs547.js +1 -1
  438. package/dist/index.cjs547.js.map +1 -1
  439. package/dist/index.cjs548.js +1 -2
  440. package/dist/index.cjs548.js.map +1 -1
  441. package/dist/index.cjs550.js +1 -1
  442. package/dist/index.cjs551.js +1 -1
  443. package/dist/index.cjs552.js +1 -1
  444. package/dist/index.cjs554.js +1 -1
  445. package/dist/index.cjs554.js.map +1 -1
  446. package/dist/index.cjs555.js +1 -1
  447. package/dist/index.cjs555.js.map +1 -1
  448. package/dist/index.cjs556.js +1 -1
  449. package/dist/index.cjs556.js.map +1 -1
  450. package/dist/index.cjs557.js +1 -1
  451. package/dist/index.cjs557.js.map +1 -1
  452. package/dist/index.cjs558.js +1 -1
  453. package/dist/index.cjs558.js.map +1 -1
  454. package/dist/index.cjs559.js +1 -1
  455. package/dist/index.cjs559.js.map +1 -1
  456. package/dist/index.cjs560.js +1 -1
  457. package/dist/index.cjs560.js.map +1 -1
  458. package/dist/index.cjs562.js +1 -1
  459. package/dist/index.cjs563.js +1 -1
  460. package/dist/index.cjs563.js.map +1 -1
  461. package/dist/index.cjs564.js +1 -1
  462. package/dist/index.cjs564.js.map +1 -1
  463. package/dist/index.cjs565.js +19 -19
  464. package/dist/index.cjs565.js.map +1 -1
  465. package/dist/index.cjs566.js +1 -1
  466. package/dist/index.cjs567.js.map +1 -1
  467. package/dist/index.cjs568.js +1 -1
  468. package/dist/index.cjs568.js.map +1 -1
  469. package/dist/index.cjs569.js +1 -1
  470. package/dist/index.cjs570.js +19 -19
  471. package/dist/index.cjs570.js.map +1 -1
  472. package/dist/index.cjs571.js.map +1 -1
  473. package/dist/index.cjs572.js +1 -1
  474. package/dist/index.cjs572.js.map +1 -1
  475. package/dist/index.cjs573.js +1 -1
  476. package/dist/index.cjs573.js.map +1 -1
  477. package/dist/index.cjs574.js +1 -1
  478. package/dist/index.cjs574.js.map +1 -1
  479. package/dist/index.cjs575.js +1 -1
  480. package/dist/index.cjs578.js +1 -1
  481. package/dist/index.cjs578.js.map +1 -1
  482. package/dist/index.cjs579.js +1 -1
  483. package/dist/index.cjs579.js.map +1 -1
  484. package/dist/index.cjs580.js +1 -1
  485. package/dist/index.cjs582.js +1 -1
  486. package/dist/index.cjs582.js.map +1 -1
  487. package/dist/index.cjs584.js +1 -1
  488. package/dist/index.cjs584.js.map +1 -1
  489. package/dist/index.cjs586.js +1 -1
  490. package/dist/index.cjs586.js.map +1 -1
  491. package/dist/index.cjs587.js +1 -1
  492. package/dist/index.cjs588.js +1 -1
  493. package/dist/index.cjs588.js.map +1 -1
  494. package/dist/index.cjs589.js +1 -1
  495. package/dist/index.cjs59.js +1 -1
  496. package/dist/index.cjs590.js +1 -1
  497. package/dist/index.cjs590.js.map +1 -1
  498. package/dist/index.cjs592.js +1 -1
  499. package/dist/index.cjs592.js.map +1 -1
  500. package/dist/index.cjs594.js +1 -1
  501. package/dist/index.cjs594.js.map +1 -1
  502. package/dist/index.cjs596.js +1 -1
  503. package/dist/index.cjs596.js.map +1 -1
  504. package/dist/index.cjs597.js +1 -1
  505. package/dist/index.cjs599.js +7 -1
  506. package/dist/index.cjs599.js.map +1 -1
  507. package/dist/index.cjs60.js +1 -1
  508. package/dist/index.cjs600.js +1 -1
  509. package/dist/index.cjs600.js.map +1 -1
  510. package/dist/index.cjs601.js +1 -7
  511. package/dist/index.cjs601.js.map +1 -1
  512. package/dist/index.cjs602.js +1 -1
  513. package/dist/index.cjs602.js.map +1 -1
  514. package/dist/index.cjs603.js +1 -1
  515. package/dist/index.cjs603.js.map +1 -1
  516. package/dist/index.cjs604.js +1 -1
  517. package/dist/index.cjs604.js.map +1 -1
  518. package/dist/index.cjs605.js +1 -1
  519. package/dist/index.cjs605.js.map +1 -1
  520. package/dist/index.cjs606.js +1 -1
  521. package/dist/index.cjs606.js.map +1 -1
  522. package/dist/index.cjs61.js +1 -1
  523. package/dist/index.cjs616.js +1 -1
  524. package/dist/index.cjs616.js.map +1 -1
  525. package/dist/index.cjs617.js +1 -1
  526. package/dist/index.cjs617.js.map +1 -1
  527. package/dist/index.cjs618.js +1 -1
  528. package/dist/index.cjs618.js.map +1 -1
  529. package/dist/index.cjs619.js +1 -1
  530. package/dist/index.cjs619.js.map +1 -1
  531. package/dist/index.cjs621.js +1 -1
  532. package/dist/index.cjs621.js.map +1 -1
  533. package/dist/index.cjs623.js +1 -1
  534. package/dist/index.cjs623.js.map +1 -1
  535. package/dist/index.cjs628.js +1 -1
  536. package/dist/index.cjs63.js +1 -1
  537. package/dist/index.cjs636.js +1 -1
  538. package/dist/index.cjs636.js.map +1 -1
  539. package/dist/index.cjs637.js +1 -1
  540. package/dist/index.cjs637.js.map +1 -1
  541. package/dist/index.cjs64.js +1 -1
  542. package/dist/index.cjs644.js +1 -1
  543. package/dist/index.cjs65.js +1 -1
  544. package/dist/index.cjs651.js.map +1 -1
  545. package/dist/index.cjs652.js +1 -1
  546. package/dist/index.cjs652.js.map +1 -1
  547. package/dist/index.cjs653.js +1 -1
  548. package/dist/index.cjs653.js.map +1 -1
  549. package/dist/index.cjs654.js +1 -1
  550. package/dist/index.cjs654.js.map +1 -1
  551. package/dist/index.cjs655.js +1 -1
  552. package/dist/index.cjs655.js.map +1 -1
  553. package/dist/index.cjs67.js +1 -1
  554. package/dist/index.cjs68.js +1 -1
  555. package/dist/index.cjs69.js +1 -1
  556. package/dist/index.cjs71.js +1 -1
  557. package/dist/index.cjs72.js +1 -1
  558. package/dist/index.cjs73.js +1 -1
  559. package/dist/index.cjs77.js +1 -1
  560. package/dist/index.cjs78.js +1 -1
  561. package/dist/index.cjs79.js +1 -1
  562. package/dist/index.cjs81.js +1 -1
  563. package/dist/index.cjs82.js +1 -1
  564. package/dist/index.cjs84.js +1 -1
  565. package/dist/index.cjs85.js +1 -1
  566. package/dist/index.cjs86.js +1 -1
  567. package/dist/index.cjs87.js +1 -1
  568. package/dist/index.cjs88.js +1 -1
  569. package/dist/index.cjs89.js +1 -1
  570. package/dist/index.cjs90.js +1 -1
  571. package/dist/index.cjs91.js +1 -1
  572. package/dist/index.cjs92.js +1 -1
  573. package/dist/index.cjs94.js +1 -1
  574. package/dist/index.cjs95.js +1 -1
  575. package/dist/index.cjs96.js +1 -1
  576. package/dist/index.cjs98.js +1 -1
  577. package/dist/index.cjs99.js +1 -1
  578. package/dist/index.es100.js +1 -1
  579. package/dist/index.es102.js +1 -1
  580. package/dist/index.es103.js +1 -1
  581. package/dist/index.es108.js +1 -1
  582. package/dist/index.es109.js +1 -1
  583. package/dist/index.es111.js +1 -1
  584. package/dist/index.es112.js +1 -1
  585. package/dist/index.es113.js +1 -1
  586. package/dist/index.es114.js +1 -1
  587. package/dist/index.es118.js +4 -4
  588. package/dist/index.es120.js +1 -1
  589. package/dist/index.es121.js +1 -1
  590. package/dist/index.es128.js +1 -1
  591. package/dist/index.es139.js +1 -1
  592. package/dist/index.es140.js +1 -1
  593. package/dist/index.es144.js +6 -3
  594. package/dist/index.es144.js.map +1 -1
  595. package/dist/index.es145.js +11 -6
  596. package/dist/index.es145.js.map +1 -1
  597. package/dist/index.es146.js +67 -9
  598. package/dist/index.es146.js.map +1 -1
  599. package/dist/index.es147.js +10 -52
  600. package/dist/index.es147.js.map +1 -1
  601. package/dist/index.es148.js +1 -1
  602. package/dist/index.es148.js.map +1 -1
  603. package/dist/index.es149.js +124 -7
  604. package/dist/index.es149.js.map +1 -1
  605. package/dist/index.es150.js +143 -5
  606. package/dist/index.es150.js.map +1 -1
  607. package/dist/index.es151.js +14 -25
  608. package/dist/index.es151.js.map +1 -1
  609. package/dist/index.es152.js +63 -28
  610. package/dist/index.es152.js.map +1 -1
  611. package/dist/index.es153.js +31 -45
  612. package/dist/index.es153.js.map +1 -1
  613. package/dist/index.es154.js +14 -6
  614. package/dist/index.es154.js.map +1 -1
  615. package/dist/index.es155.js +9 -11
  616. package/dist/index.es155.js.map +1 -1
  617. package/dist/index.es156.js +45 -51
  618. package/dist/index.es156.js.map +1 -1
  619. package/dist/index.es157.js +41 -120
  620. package/dist/index.es157.js.map +1 -1
  621. package/dist/index.es158.js +3 -10
  622. package/dist/index.es158.js.map +1 -1
  623. package/dist/index.es159.js +6 -218
  624. package/dist/index.es159.js.map +1 -1
  625. package/dist/index.es160.js +9 -61
  626. package/dist/index.es160.js.map +1 -1
  627. package/dist/index.es161.js +52 -32
  628. package/dist/index.es161.js.map +1 -1
  629. package/dist/index.es162.js +26 -42
  630. package/dist/index.es162.js.map +1 -1
  631. package/dist/index.es163.js +7 -29
  632. package/dist/index.es163.js.map +1 -1
  633. package/dist/index.es164.js +6 -30
  634. package/dist/index.es164.js.map +1 -1
  635. package/dist/index.es165.js +24 -6
  636. package/dist/index.es165.js.map +1 -1
  637. package/dist/index.es166.js +29 -12
  638. package/dist/index.es166.js.map +1 -1
  639. package/dist/index.es167.js +43 -66
  640. package/dist/index.es167.js.map +1 -1
  641. package/dist/index.es168.js +6 -10
  642. package/dist/index.es168.js.map +1 -1
  643. package/dist/index.es169.js +10 -28
  644. package/dist/index.es169.js.map +1 -1
  645. package/dist/index.es170.js +46 -118
  646. package/dist/index.es170.js.map +1 -1
  647. package/dist/index.es171.js +116 -135
  648. package/dist/index.es171.js.map +1 -1
  649. package/dist/index.es172.js +11 -14
  650. package/dist/index.es172.js.map +1 -1
  651. package/dist/index.es173.js +216 -61
  652. package/dist/index.es173.js.map +1 -1
  653. package/dist/index.es174.js +62 -31
  654. package/dist/index.es174.js.map +1 -1
  655. package/dist/index.es175.js +32 -14
  656. package/dist/index.es175.js.map +1 -1
  657. package/dist/index.es176.js +45 -9
  658. package/dist/index.es176.js.map +1 -1
  659. package/dist/index.es177.js +30 -47
  660. package/dist/index.es177.js.map +1 -1
  661. package/dist/index.es178.js +30 -46
  662. package/dist/index.es178.js.map +1 -1
  663. package/dist/index.es186.js +3 -3
  664. package/dist/index.es190.js +3 -3
  665. package/dist/index.es213.js +4 -7
  666. package/dist/index.es213.js.map +1 -1
  667. package/dist/index.es214.js +10 -11
  668. package/dist/index.es214.js.map +1 -1
  669. package/dist/index.es215.js +10 -51
  670. package/dist/index.es215.js.map +1 -1
  671. package/dist/index.es216.js +10 -124
  672. package/dist/index.es216.js.map +1 -1
  673. package/dist/index.es217.js +4 -15
  674. package/dist/index.es217.js.map +1 -1
  675. package/dist/index.es218.js +41 -139
  676. package/dist/index.es218.js.map +1 -1
  677. package/dist/index.es219.js +10 -10
  678. package/dist/index.es219.js.map +1 -1
  679. package/dist/index.es220.js +11 -218
  680. package/dist/index.es220.js.map +1 -1
  681. package/dist/index.es221.js +4 -14
  682. package/dist/index.es221.js.map +1 -1
  683. package/dist/index.es222.js +174 -58
  684. package/dist/index.es222.js.map +1 -1
  685. package/dist/index.es223.js +21 -32
  686. package/dist/index.es223.js.map +1 -1
  687. package/dist/index.es224.js +24 -45
  688. package/dist/index.es224.js.map +1 -1
  689. package/dist/index.es225.js +381 -29
  690. package/dist/index.es225.js.map +1 -1
  691. package/dist/index.es226.js +517 -10
  692. package/dist/index.es226.js.map +1 -1
  693. package/dist/index.es227.js +6 -10
  694. package/dist/index.es227.js.map +1 -1
  695. package/dist/index.es228.js +11 -3
  696. package/dist/index.es228.js.map +1 -1
  697. package/dist/index.es229.js +50 -43
  698. package/dist/index.es229.js.map +1 -1
  699. package/dist/index.es230.js +124 -10
  700. package/dist/index.es230.js.map +1 -1
  701. package/dist/index.es231.js +11 -8
  702. package/dist/index.es231.js.map +1 -1
  703. package/dist/index.es232.js +144 -4
  704. package/dist/index.es232.js.map +1 -1
  705. package/dist/index.es233.js +10 -179
  706. package/dist/index.es233.js.map +1 -1
  707. package/dist/index.es234.js +217 -20
  708. package/dist/index.es234.js.map +1 -1
  709. package/dist/index.es235.js +14 -25
  710. package/dist/index.es235.js.map +1 -1
  711. package/dist/index.es236.js +56 -374
  712. package/dist/index.es236.js.map +1 -1
  713. package/dist/index.es237.js +32 -516
  714. package/dist/index.es237.js.map +1 -1
  715. package/dist/index.es238.js +46 -4
  716. package/dist/index.es238.js.map +1 -1
  717. package/dist/index.es239.js +29 -10
  718. package/dist/index.es239.js.map +1 -1
  719. package/dist/index.es240.js +10 -12
  720. package/dist/index.es240.js.map +1 -1
  721. package/dist/index.es242.js +1 -1
  722. package/dist/index.es246.js +1 -1
  723. package/dist/index.es247.js +2 -11
  724. package/dist/index.es247.js.map +1 -1
  725. package/dist/index.es248.js +2 -12
  726. package/dist/index.es248.js.map +1 -1
  727. package/dist/index.es249.js +11 -4
  728. package/dist/index.es249.js.map +1 -1
  729. package/dist/index.es250.js +12 -22
  730. package/dist/index.es250.js.map +1 -1
  731. package/dist/index.es251.js +4 -25
  732. package/dist/index.es251.js.map +1 -1
  733. package/dist/index.es252.js +22 -2
  734. package/dist/index.es252.js.map +1 -1
  735. package/dist/index.es253.js +25 -2
  736. package/dist/index.es253.js.map +1 -1
  737. package/dist/index.es255.js +1 -1
  738. package/dist/index.es262.js +1 -1
  739. package/dist/index.es263.js +1 -1
  740. package/dist/index.es264.js +1 -1
  741. package/dist/index.es265.js +1 -1
  742. package/dist/index.es266.js +1 -1
  743. package/dist/index.es267.js +1 -1
  744. package/dist/index.es268.js +1 -1
  745. package/dist/index.es269.js +1 -1
  746. package/dist/index.es270.js +1 -1
  747. package/dist/index.es273.js +1 -1
  748. package/dist/index.es274.js +1 -1
  749. package/dist/index.es276.js +3 -3
  750. package/dist/index.es277.js +1 -1
  751. package/dist/index.es278.js +2 -2
  752. package/dist/index.es279.js +1 -1
  753. package/dist/index.es284.js +1 -1
  754. package/dist/index.es285.js +1 -1
  755. package/dist/index.es286.js +1 -1
  756. package/dist/index.es287.js +1 -1
  757. package/dist/index.es290.js +2 -2
  758. package/dist/index.es291.js +2 -2
  759. package/dist/index.es292.js +1 -1
  760. package/dist/index.es296.js +2 -2
  761. package/dist/index.es299.js +1 -1
  762. package/dist/index.es303.js +1 -1
  763. package/dist/index.es306.js +1 -1
  764. package/dist/index.es314.js +1 -1
  765. package/dist/index.es315.js +1 -1
  766. package/dist/index.es316.js +1 -1
  767. package/dist/index.es317.js +2 -2
  768. package/dist/index.es318.js +1 -1
  769. package/dist/index.es319.js +1 -1
  770. package/dist/index.es320.js +1 -1
  771. package/dist/index.es322.js +2 -2
  772. package/dist/index.es323.js +2 -2
  773. package/dist/index.es324.js +1 -1
  774. package/dist/index.es325.js +1 -1
  775. package/dist/index.es326.js +1 -1
  776. package/dist/index.es327.js +1 -1
  777. package/dist/index.es328.js +2 -2
  778. package/dist/index.es329.js +2 -2
  779. package/dist/index.es330.js +1 -1
  780. package/dist/index.es333.js +2 -2
  781. package/dist/index.es334.js +2 -2
  782. package/dist/index.es336.js +2 -2
  783. package/dist/index.es337.js +1 -1
  784. package/dist/index.es338.js +2 -2
  785. package/dist/index.es339.js +1 -1
  786. package/dist/index.es340.js +2 -2
  787. package/dist/index.es341.js +1 -1
  788. package/dist/index.es342.js +1 -1
  789. package/dist/index.es343.js +1 -1
  790. package/dist/index.es349.js +1 -1
  791. package/dist/index.es350.js +2 -2
  792. package/dist/index.es351.js +1 -1
  793. package/dist/index.es352.js +1 -1
  794. package/dist/index.es353.js +1 -1
  795. package/dist/index.es372.js +2 -2
  796. package/dist/index.es373.js +2 -2
  797. package/dist/index.es374.js +2 -2
  798. package/dist/index.es376.js +14 -14
  799. package/dist/index.es383.js +2 -2
  800. package/dist/index.es385.js +4 -4
  801. package/dist/index.es386.js +2 -2
  802. package/dist/index.es387.js +1 -1
  803. package/dist/index.es388.js +1 -1
  804. package/dist/index.es389.js +1 -1
  805. package/dist/index.es395.js +3 -3
  806. package/dist/index.es396.js +1 -1
  807. package/dist/index.es400.js +3 -3
  808. package/dist/index.es401.js +39 -27
  809. package/dist/index.es401.js.map +1 -1
  810. package/dist/index.es402.js +17 -28
  811. package/dist/index.es402.js.map +1 -1
  812. package/dist/index.es403.js +28 -5
  813. package/dist/index.es403.js.map +1 -1
  814. package/dist/index.es404.js +27 -38
  815. package/dist/index.es404.js.map +1 -1
  816. package/dist/index.es405.js +5 -18
  817. package/dist/index.es405.js.map +1 -1
  818. package/dist/index.es406.js +8 -8
  819. package/dist/index.es406.js.map +1 -1
  820. package/dist/index.es407.js.map +1 -1
  821. package/dist/index.es408.js +10 -28
  822. package/dist/index.es408.js.map +1 -1
  823. package/dist/index.es409.js +10 -5
  824. package/dist/index.es409.js.map +1 -1
  825. package/dist/index.es410.js +4 -9
  826. package/dist/index.es410.js.map +1 -1
  827. package/dist/index.es411.js +12 -6
  828. package/dist/index.es411.js.map +1 -1
  829. package/dist/index.es412.js +28 -10
  830. package/dist/index.es412.js.map +1 -1
  831. package/dist/index.es413.js +5 -10
  832. package/dist/index.es413.js.map +1 -1
  833. package/dist/index.es414.js +7 -4
  834. package/dist/index.es414.js.map +1 -1
  835. package/dist/index.es415.js +5 -12
  836. package/dist/index.es415.js.map +1 -1
  837. package/dist/index.es416.js +4 -8
  838. package/dist/index.es416.js.map +1 -1
  839. package/dist/index.es417.js +3 -5
  840. package/dist/index.es417.js.map +1 -1
  841. package/dist/index.es418.js +3 -4
  842. package/dist/index.es418.js.map +1 -1
  843. package/dist/index.es419.js +9 -3
  844. package/dist/index.es419.js.map +1 -1
  845. package/dist/index.es420.js +22 -3
  846. package/dist/index.es420.js.map +1 -1
  847. package/dist/index.es421.js +21 -8
  848. package/dist/index.es421.js.map +1 -1
  849. package/dist/index.es422.js +11 -19
  850. package/dist/index.es422.js.map +1 -1
  851. package/dist/index.es423.js +14 -19
  852. package/dist/index.es423.js.map +1 -1
  853. package/dist/index.es424.js +5 -13
  854. package/dist/index.es424.js.map +1 -1
  855. package/dist/index.es425.js +8 -16
  856. package/dist/index.es425.js.map +1 -1
  857. package/dist/index.es426.js +6 -5
  858. package/dist/index.es426.js.map +1 -1
  859. package/dist/index.es427.js +20 -7
  860. package/dist/index.es427.js.map +1 -1
  861. package/dist/index.es428.js +8 -5
  862. package/dist/index.es428.js.map +1 -1
  863. package/dist/index.es429.js +9 -22
  864. package/dist/index.es429.js.map +1 -1
  865. package/dist/index.es430.js +4 -10
  866. package/dist/index.es430.js.map +1 -1
  867. package/dist/index.es431.js +11 -9
  868. package/dist/index.es431.js.map +1 -1
  869. package/dist/index.es432.js +9 -4
  870. package/dist/index.es432.js.map +1 -1
  871. package/dist/index.es433.js +21 -9
  872. package/dist/index.es433.js.map +1 -1
  873. package/dist/index.es434.js +11 -8
  874. package/dist/index.es434.js.map +1 -1
  875. package/dist/index.es435.js +18 -22
  876. package/dist/index.es435.js.map +1 -1
  877. package/dist/index.es436.js +4 -12
  878. package/dist/index.es436.js.map +1 -1
  879. package/dist/index.es437.js +16 -17
  880. package/dist/index.es437.js.map +1 -1
  881. package/dist/index.es438.js +12 -4
  882. package/dist/index.es438.js.map +1 -1
  883. package/dist/index.es439.js +3 -17
  884. package/dist/index.es439.js.map +1 -1
  885. package/dist/index.es440.js +4 -11
  886. package/dist/index.es440.js.map +1 -1
  887. package/dist/index.es441.js +9 -3
  888. package/dist/index.es441.js.map +1 -1
  889. package/dist/index.es442.js +5 -4
  890. package/dist/index.es442.js.map +1 -1
  891. package/dist/index.es444.js +1 -1
  892. package/dist/index.es455.js +5 -5
  893. package/dist/index.es457.js +1 -1
  894. package/dist/index.es458.js +1 -1
  895. package/dist/index.es460.js +1 -1
  896. package/dist/index.es462.js +227 -10
  897. package/dist/index.es462.js.map +1 -1
  898. package/dist/index.es463.js +2 -4
  899. package/dist/index.es463.js.map +1 -1
  900. package/dist/index.es464.js +356 -4
  901. package/dist/index.es464.js.map +1 -1
  902. package/dist/index.es465.js +2 -161
  903. package/dist/index.es465.js.map +1 -1
  904. package/dist/index.es466.js +37 -4
  905. package/dist/index.es466.js.map +1 -1
  906. package/dist/index.es467.js +51 -2
  907. package/dist/index.es467.js.map +1 -1
  908. package/dist/index.es468.js +59 -85
  909. package/dist/index.es468.js.map +1 -1
  910. package/dist/index.es469.js +55 -188
  911. package/dist/index.es469.js.map +1 -1
  912. package/dist/index.es470.js +71 -86
  913. package/dist/index.es470.js.map +1 -1
  914. package/dist/index.es471.js +52 -15
  915. package/dist/index.es471.js.map +1 -1
  916. package/dist/index.es472.js +85 -315
  917. package/dist/index.es472.js.map +1 -1
  918. package/dist/index.es473.js +4 -227
  919. package/dist/index.es473.js.map +1 -1
  920. package/dist/index.es474.js +2 -2
  921. package/dist/index.es475.js +2 -356
  922. package/dist/index.es475.js.map +1 -1
  923. package/dist/index.es476.js +2 -2
  924. package/dist/index.es477.js +2 -38
  925. package/dist/index.es477.js.map +1 -1
  926. package/dist/index.es478.js +2 -51
  927. package/dist/index.es478.js.map +1 -1
  928. package/dist/index.es479.js +2 -62
  929. package/dist/index.es479.js.map +1 -1
  930. package/dist/index.es480.js +8 -61
  931. package/dist/index.es480.js.map +1 -1
  932. package/dist/index.es481.js +4 -73
  933. package/dist/index.es481.js.map +1 -1
  934. package/dist/index.es482.js +6 -52
  935. package/dist/index.es482.js.map +1 -1
  936. package/dist/index.es483.js +158 -86
  937. package/dist/index.es483.js.map +1 -1
  938. package/dist/index.es484.js +5 -2
  939. package/dist/index.es484.js.map +1 -1
  940. package/dist/index.es485.js +2 -2
  941. package/dist/index.es486.js +88 -2
  942. package/dist/index.es486.js.map +1 -1
  943. package/dist/index.es487.js +194 -2
  944. package/dist/index.es487.js.map +1 -1
  945. package/dist/index.es488.js +88 -2
  946. package/dist/index.es488.js.map +1 -1
  947. package/dist/index.es489.js +13 -2
  948. package/dist/index.es489.js.map +1 -1
  949. package/dist/index.es490.js +319 -2
  950. package/dist/index.es490.js.map +1 -1
  951. package/dist/index.es491.js.map +1 -1
  952. package/dist/index.es492.js.map +1 -1
  953. package/dist/index.es494.js +68 -71
  954. package/dist/index.es494.js.map +1 -1
  955. package/dist/index.es495.js +1 -1
  956. package/dist/index.es496.js.map +1 -1
  957. package/dist/index.es497.js.map +1 -1
  958. package/dist/index.es498.js +71 -68
  959. package/dist/index.es498.js.map +1 -1
  960. package/dist/index.es499.js +156 -7
  961. package/dist/index.es499.js.map +1 -1
  962. package/dist/index.es500.js +104 -5
  963. package/dist/index.es500.js.map +1 -1
  964. package/dist/index.es501.js +17 -3
  965. package/dist/index.es501.js.map +1 -1
  966. package/dist/index.es502.js +5 -110
  967. package/dist/index.es502.js.map +1 -1
  968. package/dist/index.es503.js +3 -156
  969. package/dist/index.es503.js.map +1 -1
  970. package/dist/index.es504.js +107 -101
  971. package/dist/index.es504.js.map +1 -1
  972. package/dist/index.es505.js +6 -17
  973. package/dist/index.es505.js.map +1 -1
  974. package/dist/index.es506.js +3 -6
  975. package/dist/index.es506.js.map +1 -1
  976. package/dist/index.es507.js +8 -3
  977. package/dist/index.es507.js.map +1 -1
  978. package/dist/index.es508.js +2 -8
  979. package/dist/index.es508.js.map +1 -1
  980. package/dist/index.es510.js +1 -1
  981. package/dist/index.es512.js +2 -2
  982. package/dist/index.es513.js +2 -2
  983. package/dist/index.es514.js +1 -1
  984. package/dist/index.es515.js +7 -7
  985. package/dist/index.es516.js +1 -1
  986. package/dist/index.es517.js +1 -1
  987. package/dist/index.es518.js +2 -2
  988. package/dist/index.es519.js +1 -1
  989. package/dist/index.es520.js +1 -1
  990. package/dist/index.es521.js +1 -1
  991. package/dist/index.es522.js +1 -1
  992. package/dist/index.es523.js +1 -1
  993. package/dist/index.es524.js +2 -2
  994. package/dist/index.es525.js +1 -1
  995. package/dist/index.es526.js +1 -1
  996. package/dist/index.es527.js +3 -3
  997. package/dist/index.es529.js +2 -2
  998. package/dist/index.es531.js +1 -1
  999. package/dist/index.es532.js +1 -1
  1000. package/dist/index.es533.js +1 -1
  1001. package/dist/index.es534.js +1 -1
  1002. package/dist/index.es535.js +1 -1
  1003. package/dist/index.es536.js +1 -1
  1004. package/dist/index.es537.js +1 -1
  1005. package/dist/index.es538.js +1 -1
  1006. package/dist/index.es539.js +1 -1
  1007. package/dist/index.es540.js +1 -1
  1008. package/dist/index.es541.js +7 -2
  1009. package/dist/index.es541.js.map +1 -1
  1010. package/dist/index.es542.js +2 -2
  1011. package/dist/index.es543.js +12 -2
  1012. package/dist/index.es543.js.map +1 -1
  1013. package/dist/index.es544.js +34 -2
  1014. package/dist/index.es544.js.map +1 -1
  1015. package/dist/index.es545.js +19 -10
  1016. package/dist/index.es545.js.map +1 -1
  1017. package/dist/index.es546.js +10 -32
  1018. package/dist/index.es546.js.map +1 -1
  1019. package/dist/index.es547.js +2 -21
  1020. package/dist/index.es547.js.map +1 -1
  1021. package/dist/index.es548.js +2 -12
  1022. package/dist/index.es548.js.map +1 -1
  1023. package/dist/index.es550.js +2 -2
  1024. package/dist/index.es551.js +1 -1
  1025. package/dist/index.es552.js +1 -1
  1026. package/dist/index.es554.js +8 -4
  1027. package/dist/index.es554.js.map +1 -1
  1028. package/dist/index.es555.js +8 -4
  1029. package/dist/index.es555.js.map +1 -1
  1030. package/dist/index.es556.js +48 -109
  1031. package/dist/index.es556.js.map +1 -1
  1032. package/dist/index.es557.js +4 -8
  1033. package/dist/index.es557.js.map +1 -1
  1034. package/dist/index.es558.js +4 -8
  1035. package/dist/index.es558.js.map +1 -1
  1036. package/dist/index.es559.js +4 -50
  1037. package/dist/index.es559.js.map +1 -1
  1038. package/dist/index.es560.js +146 -3
  1039. package/dist/index.es560.js.map +1 -1
  1040. package/dist/index.es561.js +2 -2
  1041. package/dist/index.es562.js +2 -2
  1042. package/dist/index.es563.js +3 -146
  1043. package/dist/index.es563.js.map +1 -1
  1044. package/dist/index.es564.js +109 -2
  1045. package/dist/index.es564.js.map +1 -1
  1046. package/dist/index.es565.js +33 -47
  1047. package/dist/index.es565.js.map +1 -1
  1048. package/dist/index.es566.js +1 -1
  1049. package/dist/index.es567.js.map +1 -1
  1050. package/dist/index.es568.js +41 -41
  1051. package/dist/index.es568.js.map +1 -1
  1052. package/dist/index.es569.js +1 -1
  1053. package/dist/index.es570.js +47 -33
  1054. package/dist/index.es570.js.map +1 -1
  1055. package/dist/index.es571.js.map +1 -1
  1056. package/dist/index.es572.js +41 -41
  1057. package/dist/index.es572.js.map +1 -1
  1058. package/dist/index.es573.js +118 -9
  1059. package/dist/index.es573.js.map +1 -1
  1060. package/dist/index.es574.js +2 -13
  1061. package/dist/index.es574.js.map +1 -1
  1062. package/dist/index.es575.js +1 -1
  1063. package/dist/index.es578.js +2 -118
  1064. package/dist/index.es578.js.map +1 -1
  1065. package/dist/index.es579.js +2 -3
  1066. package/dist/index.es579.js.map +1 -1
  1067. package/dist/index.es580.js +2 -2
  1068. package/dist/index.es581.js +2 -2
  1069. package/dist/index.es582.js +2 -151
  1070. package/dist/index.es582.js.map +1 -1
  1071. package/dist/index.es583.js +2 -2
  1072. package/dist/index.es584.js +2 -6
  1073. package/dist/index.es584.js.map +1 -1
  1074. package/dist/index.es585.js +2 -2
  1075. package/dist/index.es586.js +2 -148
  1076. package/dist/index.es586.js.map +1 -1
  1077. package/dist/index.es587.js +2 -2
  1078. package/dist/index.es588.js +2 -138
  1079. package/dist/index.es588.js.map +1 -1
  1080. package/dist/index.es589.js +2 -2
  1081. package/dist/index.es59.js +1 -1
  1082. package/dist/index.es590.js +151 -2
  1083. package/dist/index.es590.js.map +1 -1
  1084. package/dist/index.es591.js +2 -2
  1085. package/dist/index.es592.js +6 -2
  1086. package/dist/index.es592.js.map +1 -1
  1087. package/dist/index.es593.js +2 -2
  1088. package/dist/index.es594.js +148 -2
  1089. package/dist/index.es594.js.map +1 -1
  1090. package/dist/index.es596.js +138 -2
  1091. package/dist/index.es596.js.map +1 -1
  1092. package/dist/index.es597.js +2 -2
  1093. package/dist/index.es598.js +2 -2
  1094. package/dist/index.es599.js +225 -2
  1095. package/dist/index.es599.js.map +1 -1
  1096. package/dist/index.es60.js +1 -1
  1097. package/dist/index.es600.js +134 -2
  1098. package/dist/index.es600.js.map +1 -1
  1099. package/dist/index.es601.js +83 -179
  1100. package/dist/index.es601.js.map +1 -1
  1101. package/dist/index.es602.js +66 -66
  1102. package/dist/index.es602.js.map +1 -1
  1103. package/dist/index.es603.js +68 -68
  1104. package/dist/index.es603.js.map +1 -1
  1105. package/dist/index.es604.js +52 -51
  1106. package/dist/index.es604.js.map +1 -1
  1107. package/dist/index.es605.js +2 -129
  1108. package/dist/index.es605.js.map +1 -1
  1109. package/dist/index.es606.js +2 -135
  1110. package/dist/index.es606.js.map +1 -1
  1111. package/dist/index.es607.js +2 -2
  1112. package/dist/index.es608.js +2 -2
  1113. package/dist/index.es61.js +2 -2
  1114. package/dist/index.es610.js +2 -2
  1115. package/dist/index.es611.js +2 -2
  1116. package/dist/index.es613.js +2 -2
  1117. package/dist/index.es614.js +2 -2
  1118. package/dist/index.es615.js +2 -2
  1119. package/dist/index.es616.js +131 -2
  1120. package/dist/index.es616.js.map +1 -1
  1121. package/dist/index.es617.js +128 -2
  1122. package/dist/index.es617.js.map +1 -1
  1123. package/dist/index.es618.js +8 -130
  1124. package/dist/index.es618.js.map +1 -1
  1125. package/dist/index.es619.js +13 -127
  1126. package/dist/index.es619.js.map +1 -1
  1127. package/dist/index.es620.js +2 -2
  1128. package/dist/index.es621.js +2 -14
  1129. package/dist/index.es621.js.map +1 -1
  1130. package/dist/index.es623.js +14 -2
  1131. package/dist/index.es623.js.map +1 -1
  1132. package/dist/index.es625.js +2 -2
  1133. package/dist/index.es628.js +2 -2
  1134. package/dist/index.es63.js +2 -2
  1135. package/dist/index.es636.js +2 -30
  1136. package/dist/index.es636.js.map +1 -1
  1137. package/dist/index.es637.js +30 -2
  1138. package/dist/index.es637.js.map +1 -1
  1139. package/dist/index.es639.js +2 -2
  1140. package/dist/index.es64.js +2 -2
  1141. package/dist/index.es640.js +2 -2
  1142. package/dist/index.es641.js +2 -2
  1143. package/dist/index.es642.js +2 -2
  1144. package/dist/index.es643.js +2 -2
  1145. package/dist/index.es644.js +2 -2
  1146. package/dist/index.es645.js +2 -2
  1147. package/dist/index.es646.js +2 -2
  1148. package/dist/index.es65.js +2 -2
  1149. package/dist/index.es651.js.map +1 -1
  1150. package/dist/index.es652.js +11 -21
  1151. package/dist/index.es652.js.map +1 -1
  1152. package/dist/index.es653.js +26 -11
  1153. package/dist/index.es653.js.map +1 -1
  1154. package/dist/index.es654.js +4 -27
  1155. package/dist/index.es654.js.map +1 -1
  1156. package/dist/index.es655.js +22 -4
  1157. package/dist/index.es655.js.map +1 -1
  1158. package/dist/index.es67.js +1 -1
  1159. package/dist/index.es68.js +2 -2
  1160. package/dist/index.es69.js +2 -2
  1161. package/dist/index.es71.js +1 -1
  1162. package/dist/index.es72.js +1 -1
  1163. package/dist/index.es73.js +1 -1
  1164. package/dist/index.es77.js +2 -2
  1165. package/dist/index.es78.js +3 -3
  1166. package/dist/index.es79.js +1 -1
  1167. package/dist/index.es81.js +1 -1
  1168. package/dist/index.es82.js +1 -1
  1169. package/dist/index.es84.js +1 -1
  1170. package/dist/index.es85.js +10 -10
  1171. package/dist/index.es86.js +11 -11
  1172. package/dist/index.es87.js +1 -1
  1173. package/dist/index.es88.js +1 -1
  1174. package/dist/index.es89.js +15 -15
  1175. package/dist/index.es90.js +1 -1
  1176. package/dist/index.es91.js +1 -1
  1177. package/dist/index.es92.js +1 -1
  1178. package/dist/index.es94.js +1 -1
  1179. package/dist/index.es95.js +1 -1
  1180. package/dist/index.es96.js +1 -1
  1181. package/dist/index.es98.js +14 -14
  1182. package/dist/index.es99.js +1 -1
  1183. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs582.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAEjBD,EAAK,IAAMC,GAEnB,GAAEE,iBAAM,UAAY,CAIhB,IAAIC,EAAO,UAAW,CAAA,EAClBC,EAAgB,YAChBC,EAAQ,OAAO,SAAWD,GAAmB,OAAO,OAAO,YAAcA,GACzE,kBAAkB,KAAK,OAAO,UAAU,SAAS,EAGjDE,EAAa,CACb,QACA,QACA,OACA,OACA,OAAA,EAGAC,EAAiB,CAAA,EACjBC,EAAgB,KAGX,SAAAC,EAAWC,EAAKC,EAAY,CAC7B,IAAAC,EAASF,EAAIC,CAAU,EACvB,GAAA,OAAOC,EAAO,MAAS,WAChB,OAAAA,EAAO,KAAKF,CAAG,EAElB,GAAA,CACA,OAAO,SAAS,UAAU,KAAK,KAAKE,EAAQF,CA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B,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs582.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs636.js");var e,r;function u(){return r||(r=1,e=i.__require()),e}exports.__require=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs584.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs584.js","sources":["../../../node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["axios","require$$0"],"mappings":"yJAAAA,EAAiBC,EAAqB,UAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs584.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs192.js"),C=require("./index.cjs638.js");var S;function z(){if(S)return C.__exports;S=1;var g=f.commonjsGlobal&&f.commonjsGlobal.__awaiter||function(c,o,t,n){function a(e){return e instanceof t?e:new t(function(i){i(e)})}return new(t||(t=Promise))(function(e,i){function l(r){try{s(n.next(r))}catch(h){i(h)}}function u(r){try{s(n.throw(r))}catch(h){i(h)}}function s(r){r.done?e(r.value):a(r.value).then(l,u)}s((n=n.apply(c,o||[])).next())})},R=f.commonjsGlobal&&f.commonjsGlobal.__generator||function(c,o){var t={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(s){return function(r){return u([s,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(e=s[0]&2?a.return:s[0]?a.throw||((e=a.return)&&e.call(a),0):a.next)&&!(e=e.call(a,s[1])).done)return e;switch(a=0,e&&(s=[s[0]&2,e.value]),s[0]){case 0:case 1:e=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,a=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(e=t.trys,!(e=e.length>0&&e[e.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!e||s[1]>e[0]&&s[1]<e[3])){t.label=s[1];break}if(s[0]===6&&t.label<e[1]){t.label=e[1],e=s;break}if(e&&t.label<e[2]){t.label=e[2],t.ops.push(s);break}e[2]&&t.ops.pop(),t.trys.pop();continue}s=o.call(c,t)}catch(r){s=[6,r],a=0}finally{n=e=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},v=f.commonjsGlobal&&f.commonjsGlobal.__spreadArray||function(c,o,t){if(t||arguments.length===2)for(var n=0,a=o.length,e;n<a;n++)(e||!(n in o))&&(e||(e=Array.prototype.slice.call(o,0,n)),e[n]=o[n]);return c.concat(e||Array.prototype.slice.call(o))};Object.defineProperty(C.__exports,"__esModule",{value:!0});var j=2*60,q=100,M=function(){function c(){this.responseCache=new Map,this.responsePromiseCache=new Map}return c.prototype.clearCache=function(){this.responseCache=new Map,this.responsePromiseCache=new Map},c.prototype.perform=function(o,t,n,a){return g(this,void 0,void 0,function(){var e,i,l,u,s,r,h,p,d,m,d,b,_,w,y,x,y;return R(this,function(P){switch(P.label){case 0:if(e=a.cacheResponseForSeconds,i=e===void 0?j:e,l=a.maxSize,u=l===void 0?q:l,s=i<=0||u<=0,s)return[2,t.call.apply(t,v([o],n,!1))];if(r=JSON.stringify(n),h=this.responseCache.get(r),p=Date.now(),h){if(d=p-h.requestTimestamp<i*1e3,d)return this.responseCache.delete(r),this.responseCache.set(r,h),[2,Promise.resolve(h.response)];this.responseCache.delete(r)}if(m=this.responsePromiseCache.get(r),m){if(d=p-m.requestTimestamp<i*1e3,d)return this.responsePromiseCache.delete(r),this.responsePromiseCache.set(r,m),[2,m.responsePromise];this.responsePromiseCache.delete(r)}return b=t.call.apply(t,v([o],n,!1)),this.responsePromiseCache.set(r,{requestTimestamp:p,responsePromise:b}),[4,b];case 1:return _=P.sent(),this.responseCache.set(r,{requestTimestamp:p,response:_}),w=this.responseCache.size>u,w&&(y=this.responseCache.keys().next().value,this.responseCache.delete(y)),x=this.responsePromiseCache.size>u,x&&(y=this.responsePromiseCache.keys().next().value,this.responsePromiseCache.delete(y)),[2,_]}})})},c}();return C.__exports.default=M,C.__exports}exports.__require=z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs586.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs586.js","sources":["../../../node_modules/typesense/lib/Typesense/RequestWithCache.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultCacheResponseForSeconds = 2 * 60;\nvar defaultMaxSize = 100;\nvar RequestWithCache = /** @class */ (function () {\n function RequestWithCache() {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n }\n RequestWithCache.prototype.clearCache = function () {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n };\n // Todo: should probably be passed a callback instead, or an apiCall instance. Types are messy this way\n RequestWithCache.prototype.perform = function (requestContext, requestFunction, requestFunctionArguments, cacheOptions) {\n return __awaiter(this, void 0, void 0, function () {\n var _a, cacheResponseForSeconds, _b, maxSize, isCacheDisabled, requestFunctionArgumentsJSON, cacheEntry, now, isEntryValid, cachePromiseEntry, isEntryValid, responsePromise, response, isCacheOverMaxSize, oldestEntry, isResponsePromiseCacheOverMaxSize, oldestEntry;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _a = cacheOptions.cacheResponseForSeconds, cacheResponseForSeconds = _a === void 0 ? defaultCacheResponseForSeconds : _a, _b = cacheOptions.maxSize, maxSize = _b === void 0 ? defaultMaxSize : _b;\n isCacheDisabled = cacheResponseForSeconds <= 0 || maxSize <= 0;\n if (isCacheDisabled) {\n return [2 /*return*/, requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false))];\n }\n requestFunctionArgumentsJSON = JSON.stringify(requestFunctionArguments);\n cacheEntry = this.responseCache.get(requestFunctionArgumentsJSON);\n now = Date.now();\n if (cacheEntry) {\n isEntryValid = now - cacheEntry.requestTimestamp < cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n this.responseCache.set(requestFunctionArgumentsJSON, cacheEntry);\n return [2 /*return*/, Promise.resolve(cacheEntry.response)];\n }\n else {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n cachePromiseEntry = this.responsePromiseCache.get(requestFunctionArgumentsJSON);\n if (cachePromiseEntry) {\n isEntryValid = now - cachePromiseEntry.requestTimestamp <\n cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, cachePromiseEntry);\n return [2 /*return*/, cachePromiseEntry.responsePromise];\n }\n else {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n responsePromise = requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false));\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n responsePromise: responsePromise,\n });\n return [4 /*yield*/, responsePromise];\n case 1:\n response = _c.sent();\n this.responseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n response: response,\n });\n isCacheOverMaxSize = this.responseCache.size > maxSize;\n if (isCacheOverMaxSize) {\n oldestEntry = this.responseCache.keys().next().value;\n this.responseCache.delete(oldestEntry);\n }\n isResponsePromiseCacheOverMaxSize = this.responsePromiseCache.size > maxSize;\n if (isResponsePromiseCacheOverMaxSize) {\n oldestEntry = this.responsePromiseCache.keys().next().value;\n this.responsePromiseCache.delete(oldestEntry);\n }\n return [2 /*return*/, response];\n }\n });\n });\n };\n return RequestWithCache;\n}());\nexports.default = RequestWithCache;\n//# sourceMappingURL=RequestWithCache.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__spreadArray","to","from","pack","i","l","ar","RequestWithCache_1","defaultCacheResponseForSeconds","defaultMaxSize","RequestWithCache","requestContext","requestFunction","requestFunctionArguments","cacheOptions","_a","cacheResponseForSeconds","_b","maxSize","isCacheDisabled","requestFunctionArgumentsJSON","cacheEntry","now","isEntryValid","cachePromiseEntry","responsePromise","response","isCacheOverMaxSize","oldestEntry","isResponsePromiseCacheOverMaxSize","_c"],"mappings":"mMACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,U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,KAAOT,EAC3CS,IACAC,EAAc,KAAK,cAAc,KAAK,EAAE,KAAO,EAAA,MAC1C,KAAA,cAAc,OAAOA,CAAW,GAELC,EAAA,KAAK,qBAAqB,KAAOX,EACjEW,IACAD,EAAc,KAAK,qBAAqB,KAAK,EAAE,KAAO,EAAA,MACjD,KAAA,qBAAqB,OAAOA,CAAW,GAEzC,CAAC,EAAcF,CAAQ,CACtC,CAAA,CACH,CAAA,CACJ,CAAA,EAEEhB,CAAA,EACT,EACFH,OAAAA,EAAA,UAAA,QAAkBG","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs586.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -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"});var r={};exports.__exports=r;
2
2
  //# sourceMappingURL=index.cjs587.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs192.js"),f=require("./index.cjs634.js"),q=require("./index.cjs586.js"),g=require("./index.cjs514.js");var b;function w(){if(b)return f.__exports;b=1;var m=h.commonjsGlobal&&h.commonjsGlobal.__awaiter||function(c,i,n,a){function r(t){return t instanceof n?t:new n(function(u){u(t)})}return new(n||(n=Promise))(function(t,u){function s(o){try{e(a.next(o))}catch(_){u(_)}}function l(o){try{e(a.throw(o))}catch(_){u(_)}}function e(o){o.done?t(o.value):r(o.value).then(s,l)}e((a=a.apply(c,i||[])).next())})},v=h.commonjsGlobal&&h.commonjsGlobal.__generator||function(c,i){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,r,t,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(e){return function(o){return l([e,o])}}function l(e){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(t=e[0]&2?r.return:e[0]?r.throw||((t=r.return)&&t.call(r),0):r.next)&&!(t=t.call(r,e[1])).done)return t;switch(r=0,t&&(e=[e[0]&2,t.value]),e[0]){case 0:case 1:t=e;break;case 4:return n.label++,{value:e[1],done:!1};case 5:n.label++,r=e[1],e=[0];continue;case 7:e=n.ops.pop(),n.trys.pop();continue;default:if(t=n.trys,!(t=t.length>0&&t[t.length-1])&&(e[0]===6||e[0]===2)){n=0;continue}if(e[0]===3&&(!t||e[1]>t[0]&&e[1]<t[3])){n.label=e[1];break}if(e[0]===6&&n.label<t[1]){n.label=t[1],t=e;break}if(t&&n.label<t[2]){n.label=t[2],n.ops.push(e);break}t[2]&&n.ops.pop(),n.trys.pop();continue}e=i.call(c,n)}catch(o){e=[6,o],r=0}finally{a=t=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}},d=h.commonjsGlobal&&h.commonjsGlobal.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(f.__exports,"__esModule",{value:!0}),f.__exports.SearchOnlyDocuments=void 0;var S=d(q.__require()),p=d(g.__require()),y="/documents",C=function(){function c(i,n,a){this.collectionName=i,this.apiCall=n,this.configuration=a,this.requestWithCache=new S.default}return c.prototype.clearCache=function(){this.requestWithCache.clearCache()},c.prototype.search=function(i,n){var a=n===void 0?{}:n,r=a.cacheSearchResultsForSeconds,t=r===void 0?this.configuration.cacheSearchResultsForSeconds:r,u=a.abortSignal,s=u===void 0?null:u;return m(this,void 0,void 0,function(){var l,e,o;return v(this,function(_){l={},this.configuration.useServerSideSearchCache===!0&&(l.use_cache=!0);for(e in i)Array.isArray(i[e])&&(l[e]=i[e].join(","));return o=Object.assign({},i,l),[2,this.requestWithCache.perform(this.apiCall,this.apiCall.get,[this.endpointPath("search"),o,{abortSignal:s}],{cacheResponseForSeconds:t})]})})},c.prototype.endpointPath=function(i){return"".concat(p.default.RESOURCEPATH,"/").concat(this.collectionName).concat(y).concat(i===void 0?"":"/"+i)},Object.defineProperty(c,"RESOURCEPATH",{get:function(){return y},enumerable:!1,configurable:!0}),c}();return f.__exports.SearchOnlyDocuments=C,f.__exports}exports.__require=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs588.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs588.js","sources":["../../../node_modules/typesense/lib/Typesense/SearchOnlyDocuments.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchOnlyDocuments = void 0;\nvar RequestWithCache_1 = __importDefault(require(\"./RequestWithCache\"));\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/documents\";\nvar SearchOnlyDocuments = /** @class */ (function () {\n function SearchOnlyDocuments(collectionName, apiCall, configuration) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n this.configuration = configuration;\n this.requestWithCache = new RequestWithCache_1.default();\n }\n SearchOnlyDocuments.prototype.clearCache = function () {\n this.requestWithCache.clearCache();\n };\n SearchOnlyDocuments.prototype.search = function (searchParameters, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.cacheSearchResultsForSeconds, cacheSearchResultsForSeconds = _c === void 0 ? this.configuration\n .cacheSearchResultsForSeconds : _c, _d = _b.abortSignal, abortSignal = _d === void 0 ? null : _d;\n return __awaiter(this, void 0, void 0, function () {\n var additionalQueryParams, key, queryParams;\n return __generator(this, function (_e) {\n additionalQueryParams = {};\n if (this.configuration.useServerSideSearchCache === true) {\n additionalQueryParams[\"use_cache\"] = true;\n }\n for (key in searchParameters) {\n if (Array.isArray(searchParameters[key])) {\n additionalQueryParams[key] = searchParameters[key].join(\",\");\n }\n }\n queryParams = Object.assign({}, searchParameters, additionalQueryParams);\n return [2 /*return*/, this.requestWithCache.perform(this.apiCall, this.apiCall.get, [this.endpointPath(\"search\"), queryParams, { abortSignal: abortSignal }], {\n cacheResponseForSeconds: cacheSearchResultsForSeconds,\n })];\n });\n });\n };\n SearchOnlyDocuments.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(SearchOnlyDocuments, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return SearchOnlyDocuments;\n}());\nexports.SearchOnlyDocuments = SearchOnlyDocuments;\n//# sourceMappingURL=SearchOnlyDocuments.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","f","y","g","verb","n","v","op","__importDefault","mod","SearchOnlyDocuments_1","RequestWithCache_1","require$$0","Collections_1","require$$1","RESOURCEPATH","SearchOnlyDocuments","collectionName","apiCall","configuration","searchParameters","_a","_b","_c","cacheSearchResultsForSeconds","_d","abortSignal","additionalQueryParams","key","queryParams","_e","operation"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,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,YAAAH,CAAA,CAA0B,EAAG,CACtJ,wBAAyBF,CAC5B,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAELR,EAAoB,UAAU,aAAe,SAAUe,EAAW,CAC9D,MAAO,GAAG,OAAOlB,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,CAAY,EAAE,OAAOgB,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAE7J,OAAA,eAAef,EAAqB,eAAgB,CACvD,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFN,OAAAA,EAAA,UAAA,oBAA8BM","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs588.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs589.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs416.js"),t=require("./index.cjs58.js");var o=e("Function"),c=t.root.document&&t.root.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof c!="function"&&(o=function(n){return typeof n=="function"||!1});const i=o;module.exports=i;
1
+ "use strict";const e=require("./index.cjs414.js"),t=require("./index.cjs58.js");var o=e("Function"),c=t.root.document&&t.root.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof c!="function"&&(o=function(n){return typeof n=="function"||!1});const i=o;module.exports=i;
2
2
  //# sourceMappingURL=index.cjs59.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs192.js"),w=require("./index.cjs635.js");var T;function N(){return T||(T=1,function(L){(function(g,i){L.exports?L.exports=i():g.log=i()})(q.commonjsGlobal,function(){var g=function(){},i="undefined",_=typeof window!==i&&typeof window.navigator!==i&&/Trident\/|MSIE /.test(window.navigator.userAgent),p=["trace","debug","info","warn","error"],c={},l=null;function h(o,n){var e=o[n];if(typeof e.bind=="function")return e.bind(o);try{return Function.prototype.bind.call(e,o)}catch{return function(){return Function.prototype.apply.apply(e,[o,arguments])}}}function C(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function R(o){return o==="debug"&&(o="log"),typeof console===i?!1:o==="trace"&&_?C:console[o]!==void 0?h(console,o):console.log!==void 0?h(console,"log"):g}function f(){for(var o=this.getLevel(),n=0;n<p.length;n++){var e=p[n];this[e]=n<o?g:this.methodFactory(e,o,this.name)}if(this.log=this.debug,typeof console===i&&o<this.levels.SILENT)return"No console available for logging"}function S(o){return function(){typeof console!==i&&(f.call(this),this[o].apply(this,arguments))}}function F(o,n,e){return R(o)||S.apply(this,arguments)}function b(o,n){var e=this,v,y,u,s="loglevel";typeof o=="string"?s+=":"+o:typeof o=="symbol"&&(s=void 0);function U(t){var r=(p[t]||"silent").toUpperCase();if(!(typeof window===i||!s)){try{window.localStorage[s]=r;return}catch{}try{window.document.cookie=encodeURIComponent(s)+"="+r+";"}catch{}}}function m(){var t;if(!(typeof window===i||!s)){try{t=window.localStorage[s]}catch{}if(typeof t===i)try{var r=window.document.cookie,d=encodeURIComponent(s),I=r.indexOf(d+"=");I!==-1&&(t=/^([^;]+)/.exec(r.slice(I+d.length+1))[1])}catch{}return e.levels[t]===void 0&&(t=void 0),t}}function x(){if(!(typeof window===i||!s)){try{window.localStorage.removeItem(s)}catch{}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function a(t){var r=t;if(typeof r=="string"&&e.levels[r.toUpperCase()]!==void 0&&(r=e.levels[r.toUpperCase()]),typeof r=="number"&&r>=0&&r<=e.levels.SILENT)return r;throw new TypeError("log.setLevel() called with invalid level: "+t)}e.name=o,e.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},e.methodFactory=n||F,e.getLevel=function(){return u??y??v},e.setLevel=function(t,r){return u=a(t),r!==!1&&U(u),f.call(e)},e.setDefaultLevel=function(t){y=a(t),m()||e.setLevel(t,!1)},e.resetLevel=function(){u=null,x(),f.call(e)},e.enableAll=function(t){e.setLevel(e.levels.TRACE,t)},e.disableAll=function(t){e.setLevel(e.levels.SILENT,t)},e.rebuild=function(){if(l!==e&&(v=a(l.getLevel())),f.call(e),l===e)for(var t in c)c[t].rebuild()},v=a(l?l.getLevel():"WARN");var E=m();E!=null&&(u=a(E)),f.call(e)}l=new b,l.getLogger=function(n){if(typeof n!="symbol"&&typeof n!="string"||n==="")throw new TypeError("You must supply a name when creating a logger.");var e=c[n];return e||(e=c[n]=new b(n,l.methodFactory)),e};var A=typeof window!==i?window.log:void 0;return l.noConflict=function(){return typeof window!==i&&window.log===l&&(window.log=A),l},l.getLoggers=function(){return c},l.default=l,l})}(w.__module)),w.__module.exports}exports.__require=N;
2
2
  //# sourceMappingURL=index.cjs590.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs590.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs590.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAEjBD,EAAK,IAAMC,GAEn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U,CAAI,EAE3BjB,IAAkBiB,EAClB,QAASiB,KAAanC,EACLA,EAAAmC,CAAS,EAAE,SAEhC,EAIahB,EAAAa,EACb/B,EAAgBA,EAAc,SAAA,EAAa,MAAA,EAE/C,IAAImC,EAAeV,IACfU,GAAgB,OAChBf,EAAYW,EAAeI,CAAY,GAE3C5B,EAAsB,KAAKU,CAAI,CACjC,CAQAjB,EAAgB,IAAIc,EAENd,EAAA,UAAY,SAAmBe,EAAM,CAC/C,GAAK,OAAOA,GAAS,UAAY,OAAOA,GAAS,UAAaA,IAAS,GAC7D,MAAA,IAAI,UAAU,gDAAgD,EAGpE,IAAAqB,EAASrC,EAAegB,CAAI,EAChC,OAAKqB,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","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 i=require("./index.cjs637.js");var e,r;function u(){return r||(r=1,e=i.__require()),e}exports.__require=u;
2
2
  //# sourceMappingURL=index.cjs592.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs592.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs592.js","sources":["../../../node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["axios","require$$0"],"mappings":"yJAAAA,EAAiBC,EAAqB,UAAA","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 f=require("./index.cjs192.js"),C=require("./index.cjs636.js");var S;function z(){if(S)return C.__exports;S=1;var g=f.commonjsGlobal&&f.commonjsGlobal.__awaiter||function(c,o,t,n){function a(e){return e instanceof t?e:new t(function(i){i(e)})}return new(t||(t=Promise))(function(e,i){function l(r){try{s(n.next(r))}catch(h){i(h)}}function u(r){try{s(n.throw(r))}catch(h){i(h)}}function s(r){r.done?e(r.value):a(r.value).then(l,u)}s((n=n.apply(c,o||[])).next())})},R=f.commonjsGlobal&&f.commonjsGlobal.__generator||function(c,o){var t={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},n,a,e,i;return i={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function l(s){return function(r){return u([s,r])}}function u(s){if(n)throw new TypeError("Generator is already executing.");for(;t;)try{if(n=1,a&&(e=s[0]&2?a.return:s[0]?a.throw||((e=a.return)&&e.call(a),0):a.next)&&!(e=e.call(a,s[1])).done)return e;switch(a=0,e&&(s=[s[0]&2,e.value]),s[0]){case 0:case 1:e=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,a=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(e=t.trys,!(e=e.length>0&&e[e.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!e||s[1]>e[0]&&s[1]<e[3])){t.label=s[1];break}if(s[0]===6&&t.label<e[1]){t.label=e[1],e=s;break}if(e&&t.label<e[2]){t.label=e[2],t.ops.push(s);break}e[2]&&t.ops.pop(),t.trys.pop();continue}s=o.call(c,t)}catch(r){s=[6,r],a=0}finally{n=e=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}},v=f.commonjsGlobal&&f.commonjsGlobal.__spreadArray||function(c,o,t){if(t||arguments.length===2)for(var n=0,a=o.length,e;n<a;n++)(e||!(n in o))&&(e||(e=Array.prototype.slice.call(o,0,n)),e[n]=o[n]);return c.concat(e||Array.prototype.slice.call(o))};Object.defineProperty(C.__exports,"__esModule",{value:!0});var j=2*60,q=100,M=function(){function c(){this.responseCache=new Map,this.responsePromiseCache=new Map}return c.prototype.clearCache=function(){this.responseCache=new Map,this.responsePromiseCache=new Map},c.prototype.perform=function(o,t,n,a){return g(this,void 0,void 0,function(){var e,i,l,u,s,r,h,p,d,m,d,b,_,w,y,x,y;return R(this,function(P){switch(P.label){case 0:if(e=a.cacheResponseForSeconds,i=e===void 0?j:e,l=a.maxSize,u=l===void 0?q:l,s=i<=0||u<=0,s)return[2,t.call.apply(t,v([o],n,!1))];if(r=JSON.stringify(n),h=this.responseCache.get(r),p=Date.now(),h){if(d=p-h.requestTimestamp<i*1e3,d)return this.responseCache.delete(r),this.responseCache.set(r,h),[2,Promise.resolve(h.response)];this.responseCache.delete(r)}if(m=this.responsePromiseCache.get(r),m){if(d=p-m.requestTimestamp<i*1e3,d)return this.responsePromiseCache.delete(r),this.responsePromiseCache.set(r,m),[2,m.responsePromise];this.responsePromiseCache.delete(r)}return b=t.call.apply(t,v([o],n,!1)),this.responsePromiseCache.set(r,{requestTimestamp:p,responsePromise:b}),[4,b];case 1:return _=P.sent(),this.responseCache.set(r,{requestTimestamp:p,response:_}),w=this.responseCache.size>u,w&&(y=this.responseCache.keys().next().value,this.responseCache.delete(y)),x=this.responsePromiseCache.size>u,x&&(y=this.responsePromiseCache.keys().next().value,this.responsePromiseCache.delete(y)),[2,_]}})})},c}();return C.__exports.default=M,C.__exports}exports.__require=z;
2
2
  //# sourceMappingURL=index.cjs594.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs594.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs594.js","sources":["../../../node_modules/typesense/lib/Typesense/RequestWithCache.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultCacheResponseForSeconds = 2 * 60;\nvar defaultMaxSize = 100;\nvar RequestWithCache = /** @class */ (function () {\n function RequestWithCache() {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n }\n RequestWithCache.prototype.clearCache = function () {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n };\n // Todo: should probably be passed a callback instead, or an apiCall instance. Types are messy this way\n RequestWithCache.prototype.perform = function (requestContext, requestFunction, requestFunctionArguments, cacheOptions) {\n return __awaiter(this, void 0, void 0, function () {\n var _a, cacheResponseForSeconds, _b, maxSize, isCacheDisabled, requestFunctionArgumentsJSON, cacheEntry, now, isEntryValid, cachePromiseEntry, isEntryValid, responsePromise, response, isCacheOverMaxSize, oldestEntry, isResponsePromiseCacheOverMaxSize, oldestEntry;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _a = cacheOptions.cacheResponseForSeconds, cacheResponseForSeconds = _a === void 0 ? defaultCacheResponseForSeconds : _a, _b = cacheOptions.maxSize, maxSize = _b === void 0 ? defaultMaxSize : _b;\n isCacheDisabled = cacheResponseForSeconds <= 0 || maxSize <= 0;\n if (isCacheDisabled) {\n return [2 /*return*/, requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false))];\n }\n requestFunctionArgumentsJSON = JSON.stringify(requestFunctionArguments);\n cacheEntry = this.responseCache.get(requestFunctionArgumentsJSON);\n now = Date.now();\n if (cacheEntry) {\n isEntryValid = now - cacheEntry.requestTimestamp < cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n this.responseCache.set(requestFunctionArgumentsJSON, cacheEntry);\n return [2 /*return*/, Promise.resolve(cacheEntry.response)];\n }\n else {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n cachePromiseEntry = this.responsePromiseCache.get(requestFunctionArgumentsJSON);\n if (cachePromiseEntry) {\n isEntryValid = now - cachePromiseEntry.requestTimestamp <\n cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, cachePromiseEntry);\n return [2 /*return*/, cachePromiseEntry.responsePromise];\n }\n else {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n responsePromise = requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false));\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n responsePromise: responsePromise,\n });\n return [4 /*yield*/, responsePromise];\n case 1:\n response = _c.sent();\n this.responseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n response: response,\n });\n isCacheOverMaxSize = this.responseCache.size > maxSize;\n if (isCacheOverMaxSize) {\n oldestEntry = this.responseCache.keys().next().value;\n this.responseCache.delete(oldestEntry);\n }\n isResponsePromiseCacheOverMaxSize = this.responsePromiseCache.size > maxSize;\n if (isResponsePromiseCacheOverMaxSize) {\n oldestEntry = this.responsePromiseCache.keys().next().value;\n this.responsePromiseCache.delete(oldestEntry);\n }\n return [2 /*return*/, response];\n }\n });\n });\n };\n return RequestWithCache;\n}());\nexports.default = RequestWithCache;\n//# sourceMappingURL=RequestWithCache.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__spreadArray","to","from","pack","i","l","ar","RequestWithCache_1","defaultCacheResponseForSeconds","defaultMaxSize","RequestWithCache","requestContext","requestFunction","requestFunctionArguments","cacheOptions","_a","cacheResponseForSeconds","_b","maxSize","isCacheDisabled","requestFunctionArgumentsJSON","cacheEntry","now","isEntryValid","cachePromiseEntry","responsePromise","response","isCacheOverMaxSize","oldestEntry","isResponsePromiseCacheOverMaxSize","_c"],"mappings":"mMACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAAG,KAAA,CAAM,CAAA,CACvE,CACL,EACIY,EAAed,EAAAA,gBAAQA,EAAAA,eAAK,aAAgB,SAAUC,EAASc,EAAM,CACrE,IAAIC,EAAI,CAAE,MAAO,EAAG,KAAM,UAAW,CAAM,GAAAC,EAAE,CAAC,EAAI,EAAG,MAAMA,EAAE,CAAC,EAAG,OAAOA,EAAE,CAAC,CAAA,EAAM,KAAM,CAAI,EAAA,IAAK,CAAA,CAAG,EAAGC,EAAGC,EAAGF,EAAGG,EACxG,OAAAA,EAAI,CAAE,KAAMC,EA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AqB,IAAIA,EAA8BI,CAAiB,EACtE,CAAC,EAAcA,EAAkB,eAAe,EAGlD,KAAA,qBAAqB,OAAOJ,CAA4B,CAErE,CACkB,OAAAK,EAAAb,EAAgB,KAAK,MAAMA,EAAiBZ,EAAc,CAACW,CAAc,EAAGE,EAA0B,EAAK,CAAC,EACzH,KAAA,qBAAqB,IAAIO,EAA8B,CACxD,iBAAkBE,EAClB,gBAAAG,CAAA,CACH,EACM,CAAC,EAAaA,CAAe,EACxC,IAAK,GACD,OAAAC,EAAWI,EAAG,OACT,KAAA,cAAc,IAAIV,EAA8B,CACjD,iBAAkBE,EAClB,SAAAI,CAAA,CACH,EACoBC,EAAA,KAAK,cAAc,KAAOT,EAC3CS,IACAC,EAAc,KAAK,cAAc,KAAK,EAAE,KAAO,EAAA,MAC1C,KAAA,cAAc,OAAOA,CAAW,GAELC,EAAA,KAAK,qBAAqB,KAAOX,EACjEW,IACAD,EAAc,KAAK,qBAAqB,KAAK,EAAE,KAAO,EAAA,MACjD,KAAA,qBAAqB,OAAOA,CAAW,GAEzC,CAAC,EAAcF,CAAQ,CACtC,CAAA,CACH,CAAA,CACJ,CAAA,EAEEhB,CAAA,EACT,EACFH,OAAAA,EAAA,UAAA,QAAkBG","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs192.js"),f=require("./index.cjs634.js"),q=require("./index.cjs594.js"),g=require("./index.cjs514.js");var b;function w(){if(b)return f.__exports;b=1;var m=h.commonjsGlobal&&h.commonjsGlobal.__awaiter||function(c,i,n,a){function r(t){return t instanceof n?t:new n(function(u){u(t)})}return new(n||(n=Promise))(function(t,u){function s(o){try{e(a.next(o))}catch(_){u(_)}}function l(o){try{e(a.throw(o))}catch(_){u(_)}}function e(o){o.done?t(o.value):r(o.value).then(s,l)}e((a=a.apply(c,i||[])).next())})},v=h.commonjsGlobal&&h.commonjsGlobal.__generator||function(c,i){var n={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},a,r,t,u;return u={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function s(e){return function(o){return l([e,o])}}function l(e){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,r&&(t=e[0]&2?r.return:e[0]?r.throw||((t=r.return)&&t.call(r),0):r.next)&&!(t=t.call(r,e[1])).done)return t;switch(r=0,t&&(e=[e[0]&2,t.value]),e[0]){case 0:case 1:t=e;break;case 4:return n.label++,{value:e[1],done:!1};case 5:n.label++,r=e[1],e=[0];continue;case 7:e=n.ops.pop(),n.trys.pop();continue;default:if(t=n.trys,!(t=t.length>0&&t[t.length-1])&&(e[0]===6||e[0]===2)){n=0;continue}if(e[0]===3&&(!t||e[1]>t[0]&&e[1]<t[3])){n.label=e[1];break}if(e[0]===6&&n.label<t[1]){n.label=t[1],t=e;break}if(t&&n.label<t[2]){n.label=t[2],n.ops.push(e);break}t[2]&&n.ops.pop(),n.trys.pop();continue}e=i.call(c,n)}catch(o){e=[6,o],r=0}finally{a=t=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}},d=h.commonjsGlobal&&h.commonjsGlobal.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(f.__exports,"__esModule",{value:!0}),f.__exports.SearchOnlyDocuments=void 0;var S=d(q.__require()),p=d(g.__require()),y="/documents",C=function(){function c(i,n,a){this.collectionName=i,this.apiCall=n,this.configuration=a,this.requestWithCache=new S.default}return c.prototype.clearCache=function(){this.requestWithCache.clearCache()},c.prototype.search=function(i,n){var a=n===void 0?{}:n,r=a.cacheSearchResultsForSeconds,t=r===void 0?this.configuration.cacheSearchResultsForSeconds:r,u=a.abortSignal,s=u===void 0?null:u;return m(this,void 0,void 0,function(){var l,e,o;return v(this,function(_){l={},this.configuration.useServerSideSearchCache===!0&&(l.use_cache=!0);for(e in i)Array.isArray(i[e])&&(l[e]=i[e].join(","));return o=Object.assign({},i,l),[2,this.requestWithCache.perform(this.apiCall,this.apiCall.get,[this.endpointPath("search"),o,{abortSignal:s}],{cacheResponseForSeconds:t})]})})},c.prototype.endpointPath=function(i){return"".concat(p.default.RESOURCEPATH,"/").concat(this.collectionName).concat(y).concat(i===void 0?"":"/"+i)},Object.defineProperty(c,"RESOURCEPATH",{get:function(){return y},enumerable:!1,configurable:!0}),c}();return f.__exports.SearchOnlyDocuments=C,f.__exports}exports.__require=w;
2
2
  //# sourceMappingURL=index.cjs596.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs596.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs596.js","sources":["../../../node_modules/typesense/lib/Typesense/SearchOnlyDocuments.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchOnlyDocuments = void 0;\nvar RequestWithCache_1 = __importDefault(require(\"./RequestWithCache\"));\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/documents\";\nvar SearchOnlyDocuments = /** @class */ (function () {\n function SearchOnlyDocuments(collectionName, apiCall, configuration) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n this.configuration = configuration;\n this.requestWithCache = new RequestWithCache_1.default();\n }\n SearchOnlyDocuments.prototype.clearCache = function () {\n this.requestWithCache.clearCache();\n };\n SearchOnlyDocuments.prototype.search = function (searchParameters, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.cacheSearchResultsForSeconds, cacheSearchResultsForSeconds = _c === void 0 ? this.configuration\n .cacheSearchResultsForSeconds : _c, _d = _b.abortSignal, abortSignal = _d === void 0 ? null : _d;\n return __awaiter(this, void 0, void 0, function () {\n var additionalQueryParams, key, queryParams;\n return __generator(this, function (_e) {\n additionalQueryParams = {};\n if (this.configuration.useServerSideSearchCache === true) {\n additionalQueryParams[\"use_cache\"] = true;\n }\n for (key in searchParameters) {\n if (Array.isArray(searchParameters[key])) {\n additionalQueryParams[key] = searchParameters[key].join(\",\");\n }\n }\n queryParams = Object.assign({}, searchParameters, additionalQueryParams);\n return [2 /*return*/, this.requestWithCache.perform(this.apiCall, this.apiCall.get, [this.endpointPath(\"search\"), queryParams, { abortSignal: abortSignal }], {\n cacheResponseForSeconds: cacheSearchResultsForSeconds,\n })];\n });\n });\n };\n SearchOnlyDocuments.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(SearchOnlyDocuments, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return SearchOnlyDocuments;\n}());\nexports.SearchOnlyDocuments = SearchOnlyDocuments;\n//# sourceMappingURL=SearchOnlyDocuments.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","f","y","g","verb","n","v","op","__importDefault","mod","SearchOnlyDocuments_1","RequestWithCache_1","require$$0","Collections_1","require$$1","RESOURCEPATH","SearchOnlyDocuments","collectionName","apiCall","configuration","searchParameters","_a","_b","_c","cacheSearchResultsForSeconds","_d","abortSignal","additionalQueryParams","key","queryParams","_e","operation"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,E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CAAG,CAAC,IACnCD,EAAsBC,CAAG,EAAIR,EAAiBQ,CAAG,EAAE,KAAK,GAAG,GAGnE,OAAAC,EAAc,OAAO,OAAO,CAAC,EAAGT,EAAkBO,CAAqB,EAChE,CAAC,EAAc,KAAK,iBAAiB,QAAQ,KAAK,QAAS,KAAK,QAAQ,IAAK,CAAC,KAAK,aAAa,QAAQ,EAAGE,EAAa,CAAE,YAAAH,CAAA,CAA0B,EAAG,CACtJ,wBAAyBF,CAC5B,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAELR,EAAoB,UAAU,aAAe,SAAUe,EAAW,CAC9D,MAAO,GAAG,OAAOlB,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,CAAY,EAAE,OAAOgB,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAE7J,OAAA,eAAef,EAAqB,eAAgB,CACvD,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFN,OAAAA,EAAA,UAAA,oBAA8BM","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs597.js.map
@@ -1,2 +1,8 @@
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 d=require("./index.cjs192.js"),p=require("./index.cjs638.js"),g=require("./index.cjs453.js"),j=require("./index.cjs596.js");var y;function x(){if(y)return p.__exports;y=1;var v=d.commonjsGlobal&&d.commonjsGlobal.__extends||function(){var s=function(o,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},s(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(o,t);function r(){this.constructor=o}o.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),l=d.commonjsGlobal&&d.commonjsGlobal.__awaiter||function(s,o,t,r){function i(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function c(u){try{e(r.next(u))}catch(m){a(m)}}function h(u){try{e(r.throw(u))}catch(m){a(m)}}function e(u){u.done?n(u.value):i(u.value).then(c,h)}e((r=r.apply(s,o||[])).next())})},f=d.commonjsGlobal&&d.commonjsGlobal.__generator||function(s,o){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(u){return h([e,u])}}function h(e){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,i&&(n=e[0]&2?i.return:e[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,e[1])).done)return n;switch(i=0,n&&(e=[e[0]&2,n.value]),e[0]){case 0:case 1:n=e;break;case 4:return t.label++,{value:e[1],done:!1};case 5:t.label++,i=e[1],e=[0];continue;case 7:e=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(e[0]===6||e[0]===2)){t=0;continue}if(e[0]===3&&(!n||e[1]>n[0]&&e[1]<n[3])){t.label=e[1];break}if(e[0]===6&&t.label<n[1]){t.label=n[1],n=e;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(e);break}n[2]&&t.ops.pop(),t.trys.pop();continue}e=o.call(s,t)}catch(u){e=[6,u],i=0}finally{r=n=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}};Object.defineProperty(p.__exports,"__esModule",{value:!0});var _=g.__require(),w=j.__require(),b=function(s){v(o,s);function o(t,r,i){return s.call(this,t,r,i)||this}return o.prototype.create=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,r)]})})},o.prototype.upsert=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"upsert"}))]})})},o.prototype.update=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return r.filter_by!=null?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},r))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"update"}))]})})},o.prototype.delete=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return typeof t=="string"?[2,this.apiCall.delete(this.endpointPath(t),t)]:[2,this.apiCall.delete(this.endpointPath(),t)]})})},o.prototype.createMany=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,r)]})})},o.prototype.import=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){var i,n,a,c;return f(this,function(h){switch(h.label){case 0:if(Array.isArray(t))try{i=t.map(function(e){return JSON.stringify(e)}).join(`
2
+ `)}catch(e){throw RangeError instanceof e&&(e!=null&&e.includes("Too many properties to enumerate"))?new Error("".concat(e,`
3
+ It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object
4
+
5
+ Please try reducing the number of keys in your document, or using CURL to import your data.
6
+ `)):new Error(e)}else i=t;return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:i,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:if(n=h.sent(),Array.isArray(t)){if(a=n.split(`
7
+ `).map(function(e){return JSON.parse(e)}),c=a.filter(function(e){return e.success===!1}),c.length>0)throw new _.ImportError("".concat(a.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),a);return[2,a]}else return[2,n]}})})},o.prototype.export=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},o.prototype.exportStream=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},o}(w.SearchOnlyDocuments);return p.__exports.default=b,p.__exports}exports.__require=x;
2
8
  //# sourceMappingURL=index.cjs599.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs599.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs599.js","sources":["../../../node_modules/typesense/lib/Typesense/Documents.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Errors_1 = require(\"./Errors\");\nvar SearchOnlyDocuments_1 = require(\"./SearchOnlyDocuments\");\nvar Documents = /** @class */ (function (_super) {\n __extends(Documents, _super);\n function Documents(collectionName, apiCall, configuration) {\n return _super.call(this, collectionName, apiCall, configuration) || this;\n }\n Documents.prototype.create = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, options)];\n });\n });\n };\n Documents.prototype.upsert = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"upsert\" }))];\n });\n });\n };\n Documents.prototype.update = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n if (options[\"filter_by\"] != null) {\n return [2 /*return*/, this.apiCall.patch(this.endpointPath(), document, Object.assign({}, options))];\n }\n else {\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"update\" }))];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.delete = function (idOrQuery) {\n if (idOrQuery === void 0) { idOrQuery = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (typeof idOrQuery === \"string\") {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(idOrQuery), idOrQuery)];\n }\n else {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(), idOrQuery)];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.createMany = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.configuration.logger.warn(\"createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents\");\n return [2 /*return*/, this.import(documents, options)];\n });\n });\n };\n Documents.prototype.import = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n var documentsInJSONLFormat, resultsInJSONLFormat, resultsInJSONFormat, failedItems;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (Array.isArray(documents)) {\n try {\n documentsInJSONLFormat = documents\n .map(function (document) { return JSON.stringify(document); })\n .join(\"\\n\");\n }\n catch (error) {\n // if rangeerror, throw custom error message\n if (RangeError instanceof error &&\n (error === null || error === void 0 ? void 0 : error.includes(\"Too many properties to enumerate\"))) {\n throw new Error(\"\".concat(error, \"\\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\\n\\n Please try reducing the number of keys in your document, or using CURL to import your data.\\n \"));\n }\n // else, throw the non-range error anyways\n throw new Error(error);\n }\n }\n else {\n documentsInJSONLFormat = documents;\n }\n return [4 /*yield*/, this.apiCall.performRequest(\"post\", this.endpointPath(\"import\"), {\n queryParameters: options,\n bodyParameters: documentsInJSONLFormat,\n additionalHeaders: { \"Content-Type\": \"text/plain\" },\n skipConnectionTimeout: true, // We never want to client-side-timeout on an import and retry, since imports are syncronous and we want to let them take as long as it takes to complete fully\n })];\n case 1:\n resultsInJSONLFormat = _a.sent();\n if (Array.isArray(documents)) {\n resultsInJSONFormat = resultsInJSONLFormat\n .split(\"\\n\")\n .map(function (r) { return JSON.parse(r); });\n failedItems = resultsInJSONFormat.filter(function (r) { return r.success === false; });\n if (failedItems.length > 0) {\n throw new Errors_1.ImportError(\"\".concat(resultsInJSONFormat.length - failedItems.length, \" documents imported successfully, \").concat(failedItems.length, \" documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document.\"), resultsInJSONFormat);\n }\n else {\n return [2 /*return*/, resultsInJSONFormat];\n }\n }\n else {\n return [2 /*return*/, resultsInJSONLFormat];\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a JSONL string for all the documents in this collection\n */\n Documents.prototype.export = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options)];\n });\n });\n };\n /**\n * Returns a NodeJS readable stream of JSONL for all the documents in this collection.\n */\n Documents.prototype.exportStream = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options, {\n responseType: \"stream\",\n })];\n });\n });\n };\n return Documents;\n}(SearchOnlyDocuments_1.SearchOnlyDocuments));\nexports.default = Documents;\n//# sourceMappingURL=Documents.js.map"],"names":["__extends","this","extendStatics","d","b","p","__","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","Documents_1","Errors_1","require$$0","SearchOnlyDocuments_1","require$$1","Documents","_super","collectionName","apiCall","configuration","document","options","_a","idOrQuery","documents","documentsInJSONLFormat","resultsInJSONLFormat","resultsInJSONFormat","failedItems","error","r"],"mappings":"iQACA,IAAIA,EAAaC,EAAAA,gBAAQA,EAAK,eAAA,WAA2B,UAAA,CACjD,IAAAC,EAAgB,SAAUC,EAAGC,EAAG,CAChB,OAAAF,EAAA,OAAO,gBAClB,CAAE,UAAW,cAAgB,OAAS,SAAUC,EAAGC,EAAG,CAAED,EAAE,UAAYC,CAAA,GACvE,SAAUD,EAAGC,EAAG,CAAE,QAASC,KAAKD,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGC,CAAC,IAAGF,EAAEE,CAAC,EAAID,EAAEC,CAAC,EAAA,EAC1FH,EAAcC,EAAGC,CAAC,CAAA,EAEtB,OAAA,SAAUD,EAAGC,EAAG,CACf,GAAA,OAAOA,GAAM,YAAcA,IAAM,KACjC,MAAM,IAAI,UAAU,uBAAyB,OAAOA,CAAC,EAAI,+BAA+B,EAC5FF,EAAcC,EAAGC,CAAC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CAAS,OAAA,KAAK,MAAMA,CAAC,CAAA,CAAI,EACjCF,EAAAD,EAAoB,OAAO,SAAUG,EAAG,CAAE,OAAOA,EAAE,UAAY,EAAA,CAAQ,EACjFF,EAAY,OAAS,EACrB,MAAM,IAAIjB,EAAS,YAAY,GAAG,OAAOgB,EAAoB,OAASC,EAAY,OAAQ,oCAAoC,EAAE,OAAOA,EAAY,OAAQ,wIAAwI,EAAGD,CAAmB,EAGlT,MAAA,CAAC,EAAcA,CAAmB,CAC7C,KAGO,OAAA,CAAC,EAAcD,CAAoB,CAGtD,CAAA,CACH,CAAA,CACJ,CAAA,EAKLX,EAAU,UAAU,OAAS,SAAUM,EAAS,CAC5C,OAAIA,IAAY,SAAUA,EAAU,CAAA,GAC7BpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAc,EAAY,KAAM,SAAUuB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAa,QAAQ,EAAGD,CAAO,CAAC,CAAA,CAC/E,CAAA,CACJ,CAAA,EAKLN,EAAU,UAAU,aAAe,SAAUM,EAAS,CAClD,OAAIA,IAAY,SAAUA,EAAU,CAAA,GAC7BpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAc,EAAY,KAAM,SAAUuB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAa,QAAQ,EAAGD,EAAS,CACrE,aAAc,QACjB,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAEEN,CAAA,EACTF,EAAsB,mBAAmB,EAC3CH,OAAAA,EAAA,UAAA,QAAkBK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs58.js"),e=require("./index.cjs507.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs58.js"),e=require("./index.cjs506.js");var t=a.supportsDataView&&e(new DataView(new ArrayBuffer(8))),r=typeof Map<"u"&&e(new Map);exports.hasStringTagBug=t;exports.isIE11=r;
2
2
  //# sourceMappingURL=index.cjs60.js.map
@@ -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 c=require("./index.cjs192.js"),f=require("./index.cjs639.js"),O=require("./index.cjs514.js");var v;function j(){if(v)return f.__exports;v=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,o,n,a){function i(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(d){l(d)}}function _(u){try{t(a.throw(u))}catch(d){l(d)}}function t(u){u.done?e(u.value):i(u.value).then(s,_)}t((a=a.apply(r,o||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,o){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,i,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return _([t,u])}}function _(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,i=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=o.call(r,n)}catch(u){t=[6,u],i=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},y=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=y(O.__require()),p="/overrides",w=function(){function r(o,n){this.collectionName=o,this.apiCall=n}return r.prototype.upsert=function(o,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(o),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(o){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(o){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(o===void 0?"":"/"+o)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
2
2
  //# sourceMappingURL=index.cjs600.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs600.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs600.js","sources":["../../../node_modules/typesense/lib/Typesense/Overrides.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/overrides\";\nvar Overrides = /** @class */ (function () {\n function Overrides(collectionName, apiCall) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n }\n Overrides.prototype.upsert = function (overrideId, params) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.put(this.endpointPath(overrideId), params)];\n });\n });\n };\n Overrides.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Overrides.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides.RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(Overrides, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return Overrides;\n}());\nexports.default = Overrides;\n//# sourceMappingURL=Overrides.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Overrides_1","Collections_1","require$$0","RESOURCEPATH","Overrides","collectionName","apiCall","overrideId","params","_a","operation"],"mappings":"kOACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EA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AU0B,EAAK,CACnE,OAAQA,GAAOA,EAAI,WAAcA,EAAM,CAAE,QAAWA,EACxD,EACA,OAAO,eAAeC,YAAS,aAAc,CAAE,MAAO,GAAM,EAC5D,IAAIC,EAAgBH,EAAgBI,EAAA,UAAA,CAAwB,EACxDC,EAAe,aACfC,EAA2B,UAAY,CAC9BA,SAAAA,EAAUC,EAAgBC,EAAS,CACxC,KAAK,eAAiBD,EACtB,KAAK,QAAUC,CACnB,CACAF,OAAAA,EAAU,UAAU,OAAS,SAAUG,EAAYC,EAAQ,CACvD,OAAOpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAaF,CAAU,EAAGC,CAAM,CAAC,CAAA,CAChF,CAAA,CACJ,CAAA,EAELJ,EAAU,UAAU,SAAW,UAAY,CACvC,OAAOhC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAc,CAAA,CAAC,CAAA,CAC9D,CAAA,CACJ,CAAA,EAELL,EAAU,UAAU,aAAe,SAAUM,EAAW,CAC7C,MAAA,GAAG,OAAOT,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOG,EAAU,YAAY,EAAE,OAAOM,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAEvK,OAAA,eAAeN,EAAW,eAAgB,CAC7C,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFJ,OAAAA,EAAA,UAAA,QAAkBI","x_google_ignoreList":[0]}
@@ -1,8 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs192.js"),p=require("./index.cjs641.js"),g=require("./index.cjs453.js"),j=require("./index.cjs588.js");var y;function x(){if(y)return p.__exports;y=1;var v=d.commonjsGlobal&&d.commonjsGlobal.__extends||function(){var s=function(o,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},s(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(o,t);function r(){this.constructor=o}o.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),l=d.commonjsGlobal&&d.commonjsGlobal.__awaiter||function(s,o,t,r){function i(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function c(u){try{e(r.next(u))}catch(m){a(m)}}function h(u){try{e(r.throw(u))}catch(m){a(m)}}function e(u){u.done?n(u.value):i(u.value).then(c,h)}e((r=r.apply(s,o||[])).next())})},f=d.commonjsGlobal&&d.commonjsGlobal.__generator||function(s,o){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(u){return h([e,u])}}function h(e){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,i&&(n=e[0]&2?i.return:e[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,e[1])).done)return n;switch(i=0,n&&(e=[e[0]&2,n.value]),e[0]){case 0:case 1:n=e;break;case 4:return t.label++,{value:e[1],done:!1};case 5:t.label++,i=e[1],e=[0];continue;case 7:e=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(e[0]===6||e[0]===2)){t=0;continue}if(e[0]===3&&(!n||e[1]>n[0]&&e[1]<n[3])){t.label=e[1];break}if(e[0]===6&&t.label<n[1]){t.label=n[1],n=e;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(e);break}n[2]&&t.ops.pop(),t.trys.pop();continue}e=o.call(s,t)}catch(u){e=[6,u],i=0}finally{r=n=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}};Object.defineProperty(p.__exports,"__esModule",{value:!0});var _=g.__require(),w=j.__require(),b=function(s){v(o,s);function o(t,r,i){return s.call(this,t,r,i)||this}return o.prototype.create=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,r)]})})},o.prototype.upsert=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"upsert"}))]})})},o.prototype.update=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return r.filter_by!=null?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},r))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"update"}))]})})},o.prototype.delete=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return typeof t=="string"?[2,this.apiCall.delete(this.endpointPath(t),t)]:[2,this.apiCall.delete(this.endpointPath(),t)]})})},o.prototype.createMany=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,r)]})})},o.prototype.import=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){var i,n,a,c;return f(this,function(h){switch(h.label){case 0:if(Array.isArray(t))try{i=t.map(function(e){return JSON.stringify(e)}).join(`
2
- `)}catch(e){throw RangeError instanceof e&&(e!=null&&e.includes("Too many properties to enumerate"))?new Error("".concat(e,`
3
- It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object
4
-
5
- Please try reducing the number of keys in your document, or using CURL to import your data.
6
- `)):new Error(e)}else i=t;return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:i,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:if(n=h.sent(),Array.isArray(t)){if(a=n.split(`
7
- `).map(function(e){return JSON.parse(e)}),c=a.filter(function(e){return e.success===!1}),c.length>0)throw new _.ImportError("".concat(a.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),a);return[2,a]}else return[2,n]}})})},o.prototype.export=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},o.prototype.exportStream=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},o}(w.SearchOnlyDocuments);return p.__exports.default=b,p.__exports}exports.__require=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs192.js"),f=require("./index.cjs640.js"),O=require("./index.cjs514.js"),j=require("./index.cjs600.js");var y;function q(){if(y)return f.__exports;y=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(n,l,r,u){function i(e){return e instanceof r?e:new r(function(a){a(e)})}return new(r||(r=Promise))(function(e,a){function s(o){try{t(u.next(o))}catch(_){a(_)}}function d(o){try{t(u.throw(o))}catch(_){a(_)}}function t(o){o.done?e(o.value):i(o.value).then(s,d)}t((u=u.apply(n,l||[])).next())})},v=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(n,l){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},u,i,e,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(o){return d([t,o])}}function d(t){if(u)throw new TypeError("Generator is already executing.");for(;r;)try{if(u=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return r.label++,{value:t[1],done:!1};case 5:r.label++,i=t[1],t=[0];continue;case 7:t=r.ops.pop(),r.trys.pop();continue;default:if(e=r.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){r=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){r.label=t[1];break}if(t[0]===6&&r.label<e[1]){r.label=e[1],e=t;break}if(e&&r.label<e[2]){r.label=e[2],r.ops.push(t);break}e[2]&&r.ops.pop(),r.trys.pop();continue}t=l.call(n,r)}catch(o){t=[6,o],i=0}finally{u=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},b=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=b(O.__require()),p=b(j.__require()),w=function(){function n(l,r,u){this.collectionName=l,this.overrideId=r,this.apiCall=u}return n.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.get(this.endpointPath())]})})},n.prototype.delete=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.delete(this.endpointPath())]})})},n.prototype.endpointPath=function(){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(p.default.RESOURCEPATH,"/").concat(this.overrideId)},n}();return f.__exports.default=w,f.__exports}exports.__require=q;
8
2
  //# sourceMappingURL=index.cjs601.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs601.js","sources":["../../../node_modules/typesense/lib/Typesense/Documents.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Errors_1 = require(\"./Errors\");\nvar SearchOnlyDocuments_1 = require(\"./SearchOnlyDocuments\");\nvar Documents = /** @class */ (function (_super) {\n __extends(Documents, _super);\n function Documents(collectionName, apiCall, configuration) {\n return _super.call(this, collectionName, apiCall, configuration) || this;\n }\n Documents.prototype.create = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, options)];\n });\n });\n };\n Documents.prototype.upsert = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"upsert\" }))];\n });\n });\n };\n Documents.prototype.update = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n if (options[\"filter_by\"] != null) {\n return [2 /*return*/, this.apiCall.patch(this.endpointPath(), document, Object.assign({}, options))];\n }\n else {\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"update\" }))];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.delete = function (idOrQuery) {\n if (idOrQuery === void 0) { idOrQuery = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (typeof idOrQuery === \"string\") {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(idOrQuery), idOrQuery)];\n }\n else {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(), idOrQuery)];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.createMany = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.configuration.logger.warn(\"createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents\");\n return [2 /*return*/, this.import(documents, options)];\n });\n });\n };\n Documents.prototype.import = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n var documentsInJSONLFormat, resultsInJSONLFormat, resultsInJSONFormat, failedItems;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (Array.isArray(documents)) {\n try {\n documentsInJSONLFormat = documents\n .map(function (document) { return JSON.stringify(document); })\n .join(\"\\n\");\n }\n catch (error) {\n // if rangeerror, throw custom error message\n if (RangeError instanceof error &&\n (error === null || error === void 0 ? void 0 : error.includes(\"Too many properties to enumerate\"))) {\n throw new Error(\"\".concat(error, \"\\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\\n\\n Please try reducing the number of keys in your document, or using CURL to import your data.\\n \"));\n }\n // else, throw the non-range error anyways\n throw new Error(error);\n }\n }\n else {\n documentsInJSONLFormat = documents;\n }\n return [4 /*yield*/, this.apiCall.performRequest(\"post\", this.endpointPath(\"import\"), {\n queryParameters: options,\n bodyParameters: documentsInJSONLFormat,\n additionalHeaders: { \"Content-Type\": \"text/plain\" },\n skipConnectionTimeout: true, // We never want to client-side-timeout on an import and retry, since imports are syncronous and we want to let them take as long as it takes to complete fully\n })];\n case 1:\n resultsInJSONLFormat = _a.sent();\n if (Array.isArray(documents)) {\n resultsInJSONFormat = resultsInJSONLFormat\n .split(\"\\n\")\n .map(function (r) { return JSON.parse(r); });\n failedItems = resultsInJSONFormat.filter(function (r) { return r.success === false; });\n if (failedItems.length > 0) {\n throw new Errors_1.ImportError(\"\".concat(resultsInJSONFormat.length - failedItems.length, \" documents imported successfully, \").concat(failedItems.length, \" documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document.\"), resultsInJSONFormat);\n }\n else {\n return [2 /*return*/, resultsInJSONFormat];\n }\n }\n else {\n return [2 /*return*/, resultsInJSONLFormat];\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a JSONL string for all the documents in this collection\n */\n Documents.prototype.export = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options)];\n });\n });\n };\n /**\n * Returns a NodeJS readable stream of JSONL for all the documents in this collection.\n */\n Documents.prototype.exportStream = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options, {\n responseType: \"stream\",\n })];\n });\n });\n };\n return Documents;\n}(SearchOnlyDocuments_1.SearchOnlyDocuments));\nexports.default = Documents;\n//# sourceMappingURL=Documents.js.map"],"names":["__extends","this","extendStatics","d","b","p","__","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","Documents_1","Errors_1","require$$0","SearchOnlyDocuments_1","require$$1","Documents","_super","collectionName","apiCall","configuration","document","options","_a","idOrQuery","documents","documentsInJSONLFormat","resultsInJSONLFormat","resultsInJSONFormat","failedItems","error","r"],"mappings":"iQACA,IAAIA,EAAaC,EAAAA,gBAAQA,E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GAC7BpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAc,EAAY,KAAM,SAAUuB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAa,QAAQ,EAAGD,EAAS,CACrE,aAAc,QACjB,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAEEN,CAAA,EACTF,EAAsB,mBAAmB,EAC3CH,OAAAA,EAAA,UAAA,QAAkBK","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs601.js","sources":["../../../node_modules/typesense/lib/Typesense/Override.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar Overrides_1 = __importDefault(require(\"./Overrides\"));\nvar Override = /** @class */ (function () {\n function Override(collectionName, overrideId, apiCall) {\n this.collectionName = collectionName;\n this.overrideId = overrideId;\n this.apiCall = apiCall;\n }\n Override.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Override.prototype.delete = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath())];\n });\n });\n };\n Override.prototype.endpointPath = function () {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides_1.default.RESOURCEPATH, \"/\").concat(this.overrideId);\n };\n return Override;\n}());\nexports.default = Override;\n//# sourceMappingURL=Override.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Override_1","Collections_1","require$$0","Overrides_1","require$$1","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UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,OAAO,KAAK,aAAc,CAAA,CAAC,CAAA,CACjE,CAAA,CACJ,CAAA,EAELJ,EAAS,UAAU,aAAe,UAAY,CAC1C,MAAO,GAAG,OAAOJ,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,EAAY,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,UAAU,CAAA,EAEvJE,CAAA,EACT,EACFL,OAAAA,EAAA,UAAA,QAAkBK","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs192.js"),f=require("./index.cjs642.js"),O=require("./index.cjs514.js");var v;function j(){if(v)return f.__exports;v=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,o,n,a){function i(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(d){l(d)}}function _(u){try{t(a.throw(u))}catch(d){l(d)}}function t(u){u.done?e(u.value):i(u.value).then(s,_)}t((a=a.apply(r,o||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,o){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,i,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return _([t,u])}}function _(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,i=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=o.call(r,n)}catch(u){t=[6,u],i=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},y=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=y(O.__require()),p="/overrides",w=function(){function r(o,n){this.collectionName=o,this.apiCall=n}return r.prototype.upsert=function(o,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(o),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(o){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(o){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(o===void 0?"":"/"+o)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs192.js"),f=require("./index.cjs641.js"),S=require("./index.cjs514.js");var m;function j(){if(m)return f.__exports;m=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,i,n,a){function o(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(_){l(_)}}function y(u){try{t(a.throw(u))}catch(_){l(_)}}function t(u){u.done?e(u.value):o(u.value).then(s,y)}t((a=a.apply(r,i||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,i){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,o,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return y([t,u])}}function y(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,o&&(e=t[0]&2?o.return:t[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,t[1])).done)return e;switch(o=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,o=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=i.call(r,n)}catch(u){t=[6,u],o=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},d=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var v=d(S.__require()),p="/synonyms",w=function(){function r(i,n){this.collectionName=i,this.apiCall=n}return r.prototype.upsert=function(i,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(i),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(i){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(i){return"".concat(v.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(i===void 0?"":"/"+i)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
2
2
  //# sourceMappingURL=index.cjs602.js.map