@performant-software/core-data 2.2.5-beta.2 → 2.2.5-beta.4

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 (778) hide show
  1. package/dist/index.cjs108.js +1 -1
  2. package/dist/index.cjs116.js +1 -1
  3. package/dist/index.cjs118.js +1 -1
  4. package/dist/index.cjs120.js +1 -1
  5. package/dist/index.cjs121.js +1 -1
  6. package/dist/index.cjs132.js +1 -1
  7. package/dist/index.cjs135.js +1 -1
  8. package/dist/index.cjs138.js +1 -1
  9. package/dist/index.cjs144.js +1 -1
  10. package/dist/index.cjs144.js.map +1 -1
  11. package/dist/index.cjs145.js +1 -1
  12. package/dist/index.cjs145.js.map +1 -1
  13. package/dist/index.cjs146.js +1 -1
  14. package/dist/index.cjs146.js.map +1 -1
  15. package/dist/index.cjs147.js +1 -1
  16. package/dist/index.cjs148.js +1 -1
  17. package/dist/index.cjs150.js +1 -1
  18. package/dist/index.cjs177.js +1 -1
  19. package/dist/index.cjs181.js +1 -1
  20. package/dist/index.cjs188.js +1 -1
  21. package/dist/index.cjs189.js +1 -1
  22. package/dist/index.cjs190.js +1 -1
  23. package/dist/index.cjs191.js +1 -1
  24. package/dist/index.cjs192.js +1 -1
  25. package/dist/index.cjs193.js +1 -1
  26. package/dist/index.cjs194.js +1 -1
  27. package/dist/index.cjs195.js +1 -1
  28. package/dist/index.cjs196.js +1 -1
  29. package/dist/index.cjs199.js +1 -1
  30. package/dist/index.cjs200.js +1 -1
  31. package/dist/index.cjs202.js +1 -1
  32. package/dist/index.cjs203.js +1 -1
  33. package/dist/index.cjs204.js +1 -1
  34. package/dist/index.cjs205.js +1 -1
  35. package/dist/index.cjs210.js +1 -1
  36. package/dist/index.cjs211.js +1 -1
  37. package/dist/index.cjs212.js +1 -1
  38. package/dist/index.cjs213.js +1 -1
  39. package/dist/index.cjs216.js +1 -1
  40. package/dist/index.cjs217.js +1 -1
  41. package/dist/index.cjs218.js +1 -1
  42. package/dist/index.cjs222.js +1 -1
  43. package/dist/index.cjs225.js +1 -1
  44. package/dist/index.cjs229.js +1 -1
  45. package/dist/index.cjs232.js +1 -1
  46. package/dist/index.cjs240.js +1 -1
  47. package/dist/index.cjs241.js +1 -1
  48. package/dist/index.cjs242.js +1 -1
  49. package/dist/index.cjs243.js +1 -1
  50. package/dist/index.cjs244.js +1 -1
  51. package/dist/index.cjs245.js +1 -1
  52. package/dist/index.cjs246.js +1 -1
  53. package/dist/index.cjs248.js +1 -1
  54. package/dist/index.cjs249.js +1 -1
  55. package/dist/index.cjs250.js +1 -1
  56. package/dist/index.cjs251.js +1 -1
  57. package/dist/index.cjs252.js +1 -1
  58. package/dist/index.cjs253.js +1 -1
  59. package/dist/index.cjs254.js +1 -1
  60. package/dist/index.cjs255.js +1 -1
  61. package/dist/index.cjs256.js +1 -1
  62. package/dist/index.cjs259.js +1 -1
  63. package/dist/index.cjs260.js +1 -1
  64. package/dist/index.cjs262.js +1 -1
  65. package/dist/index.cjs263.js +1 -1
  66. package/dist/index.cjs264.js +1 -1
  67. package/dist/index.cjs265.js +1 -1
  68. package/dist/index.cjs266.js +1 -1
  69. package/dist/index.cjs267.js +1 -1
  70. package/dist/index.cjs268.js +1 -1
  71. package/dist/index.cjs269.js +1 -1
  72. package/dist/index.cjs275.js +1 -1
  73. package/dist/index.cjs276.js +1 -1
  74. package/dist/index.cjs277.js +1 -1
  75. package/dist/index.cjs278.js +1 -1
  76. package/dist/index.cjs279.js +1 -1
  77. package/dist/index.cjs296.js +1 -1
  78. package/dist/index.cjs297.js +1 -1
  79. package/dist/index.cjs333.js +1 -1
  80. package/dist/index.cjs333.js.map +1 -1
  81. package/dist/index.cjs334.js +1 -1
  82. package/dist/index.cjs334.js.map +1 -1
  83. package/dist/index.cjs335.js +1 -1
  84. package/dist/index.cjs335.js.map +1 -1
  85. package/dist/index.cjs336.js +1 -1
  86. package/dist/index.cjs336.js.map +1 -1
  87. package/dist/index.cjs337.js +1 -1
  88. package/dist/index.cjs337.js.map +1 -1
  89. package/dist/index.cjs338.js +1 -1
  90. package/dist/index.cjs338.js.map +1 -1
  91. package/dist/index.cjs339.js +1 -1
  92. package/dist/index.cjs339.js.map +1 -1
  93. package/dist/index.cjs340.js +1 -4
  94. package/dist/index.cjs340.js.map +1 -1
  95. package/dist/index.cjs341.js +4 -1
  96. package/dist/index.cjs341.js.map +1 -1
  97. package/dist/index.cjs342.js +1 -1
  98. package/dist/index.cjs342.js.map +1 -1
  99. package/dist/index.cjs343.js +1 -1
  100. package/dist/index.cjs343.js.map +1 -1
  101. package/dist/index.cjs344.js +1 -1
  102. package/dist/index.cjs344.js.map +1 -1
  103. package/dist/index.cjs345.js +1 -1
  104. package/dist/index.cjs345.js.map +1 -1
  105. package/dist/index.cjs346.js +1 -1
  106. package/dist/index.cjs346.js.map +1 -1
  107. package/dist/index.cjs347.js +1 -1
  108. package/dist/index.cjs347.js.map +1 -1
  109. package/dist/index.cjs348.js +1 -1
  110. package/dist/index.cjs348.js.map +1 -1
  111. package/dist/index.cjs349.js +1 -1
  112. package/dist/index.cjs349.js.map +1 -1
  113. package/dist/index.cjs350.js +1 -1
  114. package/dist/index.cjs350.js.map +1 -1
  115. package/dist/index.cjs351.js +1 -1
  116. package/dist/index.cjs351.js.map +1 -1
  117. package/dist/index.cjs352.js +1 -1
  118. package/dist/index.cjs352.js.map +1 -1
  119. package/dist/index.cjs353.js +1 -1
  120. package/dist/index.cjs353.js.map +1 -1
  121. package/dist/index.cjs354.js +1 -1
  122. package/dist/index.cjs354.js.map +1 -1
  123. package/dist/index.cjs355.js +1 -1
  124. package/dist/index.cjs355.js.map +1 -1
  125. package/dist/index.cjs356.js +1 -1
  126. package/dist/index.cjs356.js.map +1 -1
  127. package/dist/index.cjs357.js +1 -1
  128. package/dist/index.cjs357.js.map +1 -1
  129. package/dist/index.cjs358.js +1 -1
  130. package/dist/index.cjs358.js.map +1 -1
  131. package/dist/index.cjs359.js +1 -1
  132. package/dist/index.cjs359.js.map +1 -1
  133. package/dist/index.cjs360.js +1 -1
  134. package/dist/index.cjs360.js.map +1 -1
  135. package/dist/index.cjs361.js +1 -1
  136. package/dist/index.cjs361.js.map +1 -1
  137. package/dist/index.cjs362.js +1 -1
  138. package/dist/index.cjs362.js.map +1 -1
  139. package/dist/index.cjs363.js +1 -1
  140. package/dist/index.cjs363.js.map +1 -1
  141. package/dist/index.cjs364.js +1 -1
  142. package/dist/index.cjs364.js.map +1 -1
  143. package/dist/index.cjs365.js +1 -1
  144. package/dist/index.cjs365.js.map +1 -1
  145. package/dist/index.cjs366.js +1 -1
  146. package/dist/index.cjs366.js.map +1 -1
  147. package/dist/index.cjs367.js +1 -1
  148. package/dist/index.cjs367.js.map +1 -1
  149. package/dist/index.cjs368.js +1 -1
  150. package/dist/index.cjs368.js.map +1 -1
  151. package/dist/index.cjs369.js +1 -1
  152. package/dist/index.cjs369.js.map +1 -1
  153. package/dist/index.cjs371.js +1 -1
  154. package/dist/index.cjs378.js +1 -1
  155. package/dist/index.cjs379.js +1 -1
  156. package/dist/index.cjs380.js +1 -1
  157. package/dist/index.cjs382.js +1 -1
  158. package/dist/index.cjs384.js +1 -1
  159. package/dist/index.cjs385.js +1 -1
  160. package/dist/index.cjs386.js +1 -1
  161. package/dist/index.cjs387.js +1 -1
  162. package/dist/index.cjs418.js +1 -38
  163. package/dist/index.cjs418.js.map +1 -1
  164. package/dist/index.cjs419.js +1 -1
  165. package/dist/index.cjs419.js.map +1 -1
  166. package/dist/index.cjs420.js +38 -1
  167. package/dist/index.cjs420.js.map +1 -1
  168. package/dist/index.cjs421.js +1 -1
  169. package/dist/index.cjs421.js.map +1 -1
  170. package/dist/index.cjs422.js +1 -1
  171. package/dist/index.cjs422.js.map +1 -1
  172. package/dist/index.cjs423.js +1 -1
  173. package/dist/index.cjs423.js.map +1 -1
  174. package/dist/index.cjs424.js +1 -1
  175. package/dist/index.cjs424.js.map +1 -1
  176. package/dist/index.cjs426.js +1 -1
  177. package/dist/index.cjs427.js +1 -1
  178. package/dist/index.cjs429.js +1 -1
  179. package/dist/index.cjs429.js.map +1 -1
  180. package/dist/index.cjs430.js +1 -1
  181. package/dist/index.cjs430.js.map +1 -1
  182. package/dist/index.cjs432.js +1 -1
  183. package/dist/index.cjs433.js +1 -1
  184. package/dist/index.cjs434.js +1 -1
  185. package/dist/index.cjs434.js.map +1 -1
  186. package/dist/index.cjs435.js +1 -1
  187. package/dist/index.cjs435.js.map +1 -1
  188. package/dist/index.cjs436.js +1 -1
  189. package/dist/index.cjs436.js.map +1 -1
  190. package/dist/index.cjs437.js +1 -2
  191. package/dist/index.cjs437.js.map +1 -1
  192. package/dist/index.cjs438.js +1 -1
  193. package/dist/index.cjs438.js.map +1 -1
  194. package/dist/index.cjs439.js +1 -1
  195. package/dist/index.cjs439.js.map +1 -1
  196. package/dist/index.cjs440.js +1 -1
  197. package/dist/index.cjs440.js.map +1 -1
  198. package/dist/index.cjs441.js +1 -1
  199. package/dist/index.cjs441.js.map +1 -1
  200. package/dist/index.cjs442.js +1 -1
  201. package/dist/index.cjs442.js.map +1 -1
  202. package/dist/index.cjs443.js +1 -2
  203. package/dist/index.cjs443.js.map +1 -1
  204. package/dist/index.cjs444.js +1 -1
  205. package/dist/index.cjs444.js.map +1 -1
  206. package/dist/index.cjs445.js +1 -1
  207. package/dist/index.cjs445.js.map +1 -1
  208. package/dist/index.cjs446.js +1 -1
  209. package/dist/index.cjs446.js.map +1 -1
  210. package/dist/index.cjs447.js +1 -1
  211. package/dist/index.cjs447.js.map +1 -1
  212. package/dist/index.cjs448.js +1 -1
  213. package/dist/index.cjs448.js.map +1 -1
  214. package/dist/index.cjs449.js +1 -1
  215. package/dist/index.cjs449.js.map +1 -1
  216. package/dist/index.cjs450.js +1 -1
  217. package/dist/index.cjs450.js.map +1 -1
  218. package/dist/index.cjs451.js +1 -1
  219. package/dist/index.cjs451.js.map +1 -1
  220. package/dist/index.cjs452.js +1 -1
  221. package/dist/index.cjs452.js.map +1 -1
  222. package/dist/index.cjs453.js +1 -1
  223. package/dist/index.cjs453.js.map +1 -1
  224. package/dist/index.cjs454.js +1 -1
  225. package/dist/index.cjs454.js.map +1 -1
  226. package/dist/index.cjs455.js +1 -1
  227. package/dist/index.cjs455.js.map +1 -1
  228. package/dist/index.cjs456.js +1 -1
  229. package/dist/index.cjs456.js.map +1 -1
  230. package/dist/index.cjs457.js +1 -1
  231. package/dist/index.cjs457.js.map +1 -1
  232. package/dist/index.cjs458.js +1 -1
  233. package/dist/index.cjs458.js.map +1 -1
  234. package/dist/index.cjs459.js +1 -1
  235. package/dist/index.cjs459.js.map +1 -1
  236. package/dist/index.cjs460.js +1 -1
  237. package/dist/index.cjs460.js.map +1 -1
  238. package/dist/index.cjs461.js +1 -1
  239. package/dist/index.cjs461.js.map +1 -1
  240. package/dist/index.cjs462.js +1 -1
  241. package/dist/index.cjs462.js.map +1 -1
  242. package/dist/index.cjs463.js +1 -1
  243. package/dist/index.cjs463.js.map +1 -1
  244. package/dist/index.cjs464.js +1 -1
  245. package/dist/index.cjs464.js.map +1 -1
  246. package/dist/index.cjs465.js +1 -1
  247. package/dist/index.cjs465.js.map +1 -1
  248. package/dist/index.cjs466.js +1 -1
  249. package/dist/index.cjs466.js.map +1 -1
  250. package/dist/index.cjs467.js +2 -1
  251. package/dist/index.cjs467.js.map +1 -1
  252. package/dist/index.cjs468.js +1 -1
  253. package/dist/index.cjs468.js.map +1 -1
  254. package/dist/index.cjs469.js +1 -1
  255. package/dist/index.cjs469.js.map +1 -1
  256. package/dist/index.cjs470.js +1 -1
  257. package/dist/index.cjs470.js.map +1 -1
  258. package/dist/index.cjs471.js +1 -1
  259. package/dist/index.cjs471.js.map +1 -1
  260. package/dist/index.cjs472.js +1 -1
  261. package/dist/index.cjs472.js.map +1 -1
  262. package/dist/index.cjs473.js +2 -1
  263. package/dist/index.cjs473.js.map +1 -1
  264. package/dist/index.cjs474.js +1 -1
  265. package/dist/index.cjs474.js.map +1 -1
  266. package/dist/index.cjs486.js +1 -1
  267. package/dist/index.cjs486.js.map +1 -1
  268. package/dist/index.cjs487.js +1 -1
  269. package/dist/index.cjs487.js.map +1 -1
  270. package/dist/index.cjs488.js +1 -1
  271. package/dist/index.cjs488.js.map +1 -1
  272. package/dist/index.cjs489.js +1 -1
  273. package/dist/index.cjs489.js.map +1 -1
  274. package/dist/index.cjs490.js +1 -1
  275. package/dist/index.cjs490.js.map +1 -1
  276. package/dist/index.cjs491.js +1 -1
  277. package/dist/index.cjs491.js.map +1 -1
  278. package/dist/index.cjs492.js +1 -1
  279. package/dist/index.cjs492.js.map +1 -1
  280. package/dist/index.cjs493.js +1 -1
  281. package/dist/index.cjs494.js +1 -1
  282. package/dist/index.cjs495.js +1 -1
  283. package/dist/index.cjs496.js +1 -1
  284. package/dist/index.cjs496.js.map +1 -1
  285. package/dist/index.cjs497.js +1 -1
  286. package/dist/index.cjs498.js +1 -1
  287. package/dist/index.cjs499.js +1 -1
  288. package/dist/index.cjs500.js +1 -1
  289. package/dist/index.cjs501.js +1 -1
  290. package/dist/index.cjs504.js +1 -1
  291. package/dist/index.cjs504.js.map +1 -1
  292. package/dist/index.cjs505.js +1 -1
  293. package/dist/index.cjs506.js +1 -1
  294. package/dist/index.cjs506.js.map +1 -1
  295. package/dist/index.cjs508.js +1 -1
  296. package/dist/index.cjs509.js +7 -1
  297. package/dist/index.cjs509.js.map +1 -1
  298. package/dist/index.cjs510.js +1 -1
  299. package/dist/index.cjs510.js.map +1 -1
  300. package/dist/index.cjs511.js +1 -1
  301. package/dist/index.cjs511.js.map +1 -1
  302. package/dist/index.cjs512.js +1 -1
  303. package/dist/index.cjs512.js.map +1 -1
  304. package/dist/index.cjs513.js +1 -1
  305. package/dist/index.cjs513.js.map +1 -1
  306. package/dist/index.cjs514.js +1 -1
  307. package/dist/index.cjs514.js.map +1 -1
  308. package/dist/index.cjs517.js +1 -7
  309. package/dist/index.cjs517.js.map +1 -1
  310. package/dist/index.cjs518.js +1 -1
  311. package/dist/index.cjs518.js.map +1 -1
  312. package/dist/index.cjs519.js +1 -1
  313. package/dist/index.cjs519.js.map +1 -1
  314. package/dist/index.cjs520.js +1 -1
  315. package/dist/index.cjs520.js.map +1 -1
  316. package/dist/index.cjs521.js +1 -1
  317. package/dist/index.cjs521.js.map +1 -1
  318. package/dist/index.cjs522.js +1 -1
  319. package/dist/index.cjs522.js.map +1 -1
  320. package/dist/index.cjs524.js +1 -1
  321. package/dist/index.cjs524.js.map +1 -1
  322. package/dist/index.cjs528.js +1 -1
  323. package/dist/index.cjs528.js.map +1 -1
  324. package/dist/index.cjs529.js +1 -1
  325. package/dist/index.cjs529.js.map +1 -1
  326. package/dist/index.cjs531.js +1 -1
  327. package/dist/index.cjs531.js.map +1 -1
  328. package/dist/index.cjs532.js +1 -1
  329. package/dist/index.cjs532.js.map +1 -1
  330. package/dist/index.cjs533.js +1 -1
  331. package/dist/index.cjs534.js +1 -1
  332. package/dist/index.cjs535.js +1 -1
  333. package/dist/index.cjs535.js.map +1 -1
  334. package/dist/index.cjs536.js +1 -1
  335. package/dist/index.cjs536.js.map +1 -1
  336. package/dist/index.cjs537.js +1 -1
  337. package/dist/index.cjs537.js.map +1 -1
  338. package/dist/index.cjs538.js +1 -1
  339. package/dist/index.cjs539.js +1 -1
  340. package/dist/index.cjs539.js.map +1 -1
  341. package/dist/index.cjs54.js +1 -1
  342. package/dist/index.cjs549.js +1 -1
  343. package/dist/index.cjs55.js +1 -1
  344. package/dist/index.cjs555.js +1 -1
  345. package/dist/index.cjs555.js.map +1 -1
  346. package/dist/index.cjs556.js +1 -1
  347. package/dist/index.cjs556.js.map +1 -1
  348. package/dist/index.cjs557.js +1 -1
  349. package/dist/index.cjs56.js +1 -1
  350. package/dist/index.cjs58.js +1 -1
  351. package/dist/index.cjs581.js +1 -1
  352. package/dist/index.cjs586.js +1 -1
  353. package/dist/index.cjs587.js +1 -1
  354. package/dist/index.cjs587.js.map +1 -1
  355. package/dist/index.cjs588.js +1 -1
  356. package/dist/index.cjs588.js.map +1 -1
  357. package/dist/index.cjs589.js +1 -1
  358. package/dist/index.cjs589.js.map +1 -1
  359. package/dist/index.cjs59.js +1 -1
  360. package/dist/index.cjs590.js +2 -1
  361. package/dist/index.cjs590.js.map +1 -1
  362. package/dist/index.cjs591.js +1 -2
  363. package/dist/index.cjs591.js.map +1 -1
  364. package/dist/index.cjs592.js +1 -1
  365. package/dist/index.cjs592.js.map +1 -1
  366. package/dist/index.cjs593.js +1 -1
  367. package/dist/index.cjs593.js.map +1 -1
  368. package/dist/index.cjs60.js +1 -1
  369. package/dist/index.cjs62.js +1 -1
  370. package/dist/index.cjs63.js +1 -1
  371. package/dist/index.cjs64.js +1 -1
  372. package/dist/index.cjs66.js +1 -1
  373. package/dist/index.cjs67.js +1 -1
  374. package/dist/index.cjs68.js +1 -1
  375. package/dist/index.cjs72.js +1 -1
  376. package/dist/index.cjs73.js +1 -1
  377. package/dist/index.cjs74.js +1 -1
  378. package/dist/index.cjs76.js +1 -1
  379. package/dist/index.cjs77.js +1 -1
  380. package/dist/index.cjs79.js +1 -1
  381. package/dist/index.cjs97.js +1 -1
  382. package/dist/index.es108.js +4 -4
  383. package/dist/index.es116.js +1 -1
  384. package/dist/index.es118.js +3 -3
  385. package/dist/index.es120.js +1 -1
  386. package/dist/index.es121.js +1 -1
  387. package/dist/index.es132.js +1 -1
  388. package/dist/index.es135.js +1 -1
  389. package/dist/index.es138.js +3 -3
  390. package/dist/index.es144.js +12 -56
  391. package/dist/index.es144.js.map +1 -1
  392. package/dist/index.es145.js +57 -6
  393. package/dist/index.es145.js.map +1 -1
  394. package/dist/index.es146.js +6 -13
  395. package/dist/index.es146.js.map +1 -1
  396. package/dist/index.es147.js +1 -1
  397. package/dist/index.es148.js +3 -3
  398. package/dist/index.es150.js +1 -1
  399. package/dist/index.es177.js +1 -1
  400. package/dist/index.es181.js +1 -1
  401. package/dist/index.es188.js +1 -1
  402. package/dist/index.es189.js +1 -1
  403. package/dist/index.es190.js +1 -1
  404. package/dist/index.es191.js +1 -1
  405. package/dist/index.es192.js +1 -1
  406. package/dist/index.es193.js +1 -1
  407. package/dist/index.es194.js +1 -1
  408. package/dist/index.es195.js +1 -1
  409. package/dist/index.es196.js +1 -1
  410. package/dist/index.es199.js +1 -1
  411. package/dist/index.es200.js +1 -1
  412. package/dist/index.es202.js +3 -3
  413. package/dist/index.es203.js +1 -1
  414. package/dist/index.es204.js +2 -2
  415. package/dist/index.es205.js +1 -1
  416. package/dist/index.es210.js +1 -1
  417. package/dist/index.es211.js +1 -1
  418. package/dist/index.es212.js +1 -1
  419. package/dist/index.es213.js +1 -1
  420. package/dist/index.es216.js +2 -2
  421. package/dist/index.es217.js +2 -2
  422. package/dist/index.es218.js +1 -1
  423. package/dist/index.es222.js +2 -2
  424. package/dist/index.es225.js +1 -1
  425. package/dist/index.es229.js +1 -1
  426. package/dist/index.es232.js +1 -1
  427. package/dist/index.es240.js +1 -1
  428. package/dist/index.es241.js +1 -1
  429. package/dist/index.es242.js +1 -1
  430. package/dist/index.es243.js +2 -2
  431. package/dist/index.es244.js +1 -1
  432. package/dist/index.es245.js +1 -1
  433. package/dist/index.es246.js +1 -1
  434. package/dist/index.es248.js +2 -2
  435. package/dist/index.es249.js +2 -2
  436. package/dist/index.es250.js +1 -1
  437. package/dist/index.es251.js +1 -1
  438. package/dist/index.es252.js +1 -1
  439. package/dist/index.es253.js +1 -1
  440. package/dist/index.es254.js +2 -2
  441. package/dist/index.es255.js +2 -2
  442. package/dist/index.es256.js +1 -1
  443. package/dist/index.es259.js +2 -2
  444. package/dist/index.es260.js +2 -2
  445. package/dist/index.es262.js +2 -2
  446. package/dist/index.es263.js +1 -1
  447. package/dist/index.es264.js +2 -2
  448. package/dist/index.es265.js +1 -1
  449. package/dist/index.es266.js +2 -2
  450. package/dist/index.es267.js +1 -1
  451. package/dist/index.es268.js +1 -1
  452. package/dist/index.es269.js +1 -1
  453. package/dist/index.es275.js +1 -1
  454. package/dist/index.es276.js +2 -2
  455. package/dist/index.es277.js +1 -1
  456. package/dist/index.es278.js +1 -1
  457. package/dist/index.es279.js +1 -1
  458. package/dist/index.es296.js +3 -3
  459. package/dist/index.es297.js +3 -3
  460. package/dist/index.es333.js +10 -11
  461. package/dist/index.es333.js.map +1 -1
  462. package/dist/index.es334.js +11 -10
  463. package/dist/index.es334.js.map +1 -1
  464. package/dist/index.es335.js +9 -4
  465. package/dist/index.es335.js.map +1 -1
  466. package/dist/index.es336.js +5 -12
  467. package/dist/index.es336.js.map +1 -1
  468. package/dist/index.es337.js +12 -5
  469. package/dist/index.es337.js.map +1 -1
  470. package/dist/index.es338.js +5 -3
  471. package/dist/index.es338.js.map +1 -1
  472. package/dist/index.es339.js +3 -24
  473. package/dist/index.es339.js.map +1 -1
  474. package/dist/index.es340.js +22 -105
  475. package/dist/index.es340.js.map +1 -1
  476. package/dist/index.es341.js +105 -14
  477. package/dist/index.es341.js.map +1 -1
  478. package/dist/index.es342.js +15 -7
  479. package/dist/index.es342.js.map +1 -1
  480. package/dist/index.es343.js +7 -4
  481. package/dist/index.es343.js.map +1 -1
  482. package/dist/index.es344.js +5 -4
  483. package/dist/index.es344.js.map +1 -1
  484. package/dist/index.es345.js +4 -3
  485. package/dist/index.es345.js.map +1 -1
  486. package/dist/index.es346.js +2 -2
  487. package/dist/index.es346.js.map +1 -1
  488. package/dist/index.es347.js +3 -9
  489. package/dist/index.es347.js.map +1 -1
  490. package/dist/index.es348.js +8 -21
  491. package/dist/index.es348.js.map +1 -1
  492. package/dist/index.es349.js +20 -20
  493. package/dist/index.es349.js.map +1 -1
  494. package/dist/index.es350.js +20 -12
  495. package/dist/index.es350.js.map +1 -1
  496. package/dist/index.es351.js +12 -15
  497. package/dist/index.es351.js.map +1 -1
  498. package/dist/index.es352.js +16 -5
  499. package/dist/index.es352.js.map +1 -1
  500. package/dist/index.es353.js +5 -8
  501. package/dist/index.es353.js.map +1 -1
  502. package/dist/index.es354.js +8 -6
  503. package/dist/index.es354.js.map +1 -1
  504. package/dist/index.es355.js +6 -21
  505. package/dist/index.es355.js.map +1 -1
  506. package/dist/index.es356.js +20 -8
  507. package/dist/index.es356.js.map +1 -1
  508. package/dist/index.es357.js +10 -9
  509. package/dist/index.es357.js.map +1 -1
  510. package/dist/index.es358.js +9 -4
  511. package/dist/index.es358.js.map +1 -1
  512. package/dist/index.es359.js +4 -11
  513. package/dist/index.es359.js.map +1 -1
  514. package/dist/index.es360.js +10 -8
  515. package/dist/index.es360.js.map +1 -1
  516. package/dist/index.es361.js +8 -22
  517. package/dist/index.es361.js.map +1 -1
  518. package/dist/index.es362.js +22 -11
  519. package/dist/index.es362.js.map +1 -1
  520. package/dist/index.es363.js +9 -16
  521. package/dist/index.es363.js.map +1 -1
  522. package/dist/index.es364.js +19 -4
  523. package/dist/index.es364.js.map +1 -1
  524. package/dist/index.es365.js +4 -18
  525. package/dist/index.es365.js.map +1 -1
  526. package/dist/index.es366.js +16 -10
  527. package/dist/index.es366.js.map +1 -1
  528. package/dist/index.es367.js +11 -3
  529. package/dist/index.es367.js.map +1 -1
  530. package/dist/index.es368.js +3 -4
  531. package/dist/index.es368.js.map +1 -1
  532. package/dist/index.es369.js +4 -9
  533. package/dist/index.es369.js.map +1 -1
  534. package/dist/index.es371.js +1 -1
  535. package/dist/index.es378.js +17 -17
  536. package/dist/index.es379.js +5 -5
  537. package/dist/index.es380.js +11 -11
  538. package/dist/index.es382.js +5 -5
  539. package/dist/index.es384.js +1 -1
  540. package/dist/index.es385.js +5 -5
  541. package/dist/index.es386.js +1 -1
  542. package/dist/index.es387.js +1 -1
  543. package/dist/index.es418.js +7 -55
  544. package/dist/index.es418.js.map +1 -1
  545. package/dist/index.es419.js +64 -8
  546. package/dist/index.es419.js.map +1 -1
  547. package/dist/index.es420.js +54 -13
  548. package/dist/index.es420.js.map +1 -1
  549. package/dist/index.es421.js +8 -59
  550. package/dist/index.es421.js.map +1 -1
  551. package/dist/index.es422.js +13 -64
  552. package/dist/index.es422.js.map +1 -1
  553. package/dist/index.es423.js +60 -3
  554. package/dist/index.es423.js.map +1 -1
  555. package/dist/index.es424.js +3 -6
  556. package/dist/index.es424.js.map +1 -1
  557. package/dist/index.es426.js +1 -1
  558. package/dist/index.es427.js +1 -1
  559. package/dist/index.es429.js +6 -2
  560. package/dist/index.es429.js.map +1 -1
  561. package/dist/index.es430.js +2 -7
  562. package/dist/index.es430.js.map +1 -1
  563. package/dist/index.es432.js +1 -1
  564. package/dist/index.es433.js +2 -2
  565. package/dist/index.es434.js +95 -11
  566. package/dist/index.es434.js.map +1 -1
  567. package/dist/index.es435.js +269 -28
  568. package/dist/index.es435.js.map +1 -1
  569. package/dist/index.es436.js +126 -18
  570. package/dist/index.es436.js.map +1 -1
  571. package/dist/index.es437.js +166 -10
  572. package/dist/index.es437.js.map +1 -1
  573. package/dist/index.es438.js +131 -2
  574. package/dist/index.es438.js.map +1 -1
  575. package/dist/index.es439.js +128 -2
  576. package/dist/index.es439.js.map +1 -1
  577. package/dist/index.es440.js +133 -2
  578. package/dist/index.es440.js.map +1 -1
  579. package/dist/index.es441.js +125 -11
  580. package/dist/index.es441.js.map +1 -1
  581. package/dist/index.es442.js +115 -10
  582. package/dist/index.es442.js.map +1 -1
  583. package/dist/index.es443.js +115 -10
  584. package/dist/index.es443.js.map +1 -1
  585. package/dist/index.es444.js +117 -2
  586. package/dist/index.es444.js.map +1 -1
  587. package/dist/index.es445.js +117 -2
  588. package/dist/index.es445.js.map +1 -1
  589. package/dist/index.es446.js +116 -87
  590. package/dist/index.es446.js.map +1 -1
  591. package/dist/index.es447.js +83 -227
  592. package/dist/index.es447.js.map +1 -1
  593. package/dist/index.es448.js +63 -64
  594. package/dist/index.es448.js.map +1 -1
  595. package/dist/index.es449.js +26 -161
  596. package/dist/index.es449.js.map +1 -1
  597. package/dist/index.es450.js +2 -131
  598. package/dist/index.es450.js.map +1 -1
  599. package/dist/index.es451.js +15 -122
  600. package/dist/index.es451.js.map +1 -1
  601. package/dist/index.es452.js +2 -133
  602. package/dist/index.es452.js.map +1 -1
  603. package/dist/index.es453.js +36 -121
  604. package/dist/index.es453.js.map +1 -1
  605. package/dist/index.es454.js +37 -111
  606. package/dist/index.es454.js.map +1 -1
  607. package/dist/index.es455.js +37 -111
  608. package/dist/index.es455.js.map +1 -1
  609. package/dist/index.es456.js +37 -111
  610. package/dist/index.es456.js.map +1 -1
  611. package/dist/index.es457.js +35 -109
  612. package/dist/index.es457.js.map +1 -1
  613. package/dist/index.es458.js +37 -119
  614. package/dist/index.es458.js.map +1 -1
  615. package/dist/index.es459.js +37 -125
  616. package/dist/index.es459.js.map +1 -1
  617. package/dist/index.es460.js +37 -122
  618. package/dist/index.es460.js.map +1 -1
  619. package/dist/index.es461.js +39 -28
  620. package/dist/index.es461.js.map +1 -1
  621. package/dist/index.es462.js +41 -2
  622. package/dist/index.es462.js.map +1 -1
  623. package/dist/index.es463.js +2 -21
  624. package/dist/index.es463.js.map +1 -1
  625. package/dist/index.es464.js +12 -2
  626. package/dist/index.es464.js.map +1 -1
  627. package/dist/index.es465.js +32 -41
  628. package/dist/index.es465.js.map +1 -1
  629. package/dist/index.es466.js +19 -41
  630. package/dist/index.es466.js.map +1 -1
  631. package/dist/index.es467.js +11 -42
  632. package/dist/index.es467.js.map +1 -1
  633. package/dist/index.es468.js +2 -43
  634. package/dist/index.es468.js.map +1 -1
  635. package/dist/index.es469.js +2 -43
  636. package/dist/index.es469.js.map +1 -1
  637. package/dist/index.es470.js +2 -43
  638. package/dist/index.es470.js.map +1 -1
  639. package/dist/index.es471.js +13 -42
  640. package/dist/index.es471.js.map +1 -1
  641. package/dist/index.es472.js +11 -42
  642. package/dist/index.es472.js.map +1 -1
  643. package/dist/index.es473.js +11 -43
  644. package/dist/index.es473.js.map +1 -1
  645. package/dist/index.es474.js +2 -41
  646. package/dist/index.es474.js.map +1 -1
  647. package/dist/index.es486.js +8 -3
  648. package/dist/index.es486.js.map +1 -1
  649. package/dist/index.es487.js +13 -22
  650. package/dist/index.es487.js.map +1 -1
  651. package/dist/index.es488.js +3 -2
  652. package/dist/index.es488.js.map +1 -1
  653. package/dist/index.es489.js +23 -118
  654. package/dist/index.es489.js.map +1 -1
  655. package/dist/index.es490.js +118 -2
  656. package/dist/index.es490.js.map +1 -1
  657. package/dist/index.es491.js +2 -9
  658. package/dist/index.es491.js.map +1 -1
  659. package/dist/index.es492.js +2 -13
  660. package/dist/index.es492.js.map +1 -1
  661. package/dist/index.es493.js +2 -2
  662. package/dist/index.es494.js +2 -2
  663. package/dist/index.es495.js +2 -2
  664. package/dist/index.es496.js +2 -14
  665. package/dist/index.es496.js.map +1 -1
  666. package/dist/index.es497.js +2 -2
  667. package/dist/index.es498.js +2 -2
  668. package/dist/index.es499.js +2 -2
  669. package/dist/index.es500.js +2 -2
  670. package/dist/index.es501.js +2 -2
  671. package/dist/index.es502.js +2 -2
  672. package/dist/index.es503.js +2 -2
  673. package/dist/index.es504.js +151 -2
  674. package/dist/index.es504.js.map +1 -1
  675. package/dist/index.es505.js +2 -2
  676. package/dist/index.es506.js +6 -2
  677. package/dist/index.es506.js.map +1 -1
  678. package/dist/index.es507.js +2 -2
  679. package/dist/index.es508.js +2 -2
  680. package/dist/index.es509.js +225 -2
  681. package/dist/index.es509.js.map +1 -1
  682. package/dist/index.es510.js +134 -2
  683. package/dist/index.es510.js.map +1 -1
  684. package/dist/index.es511.js +129 -2
  685. package/dist/index.es511.js.map +1 -1
  686. package/dist/index.es512.js +123 -140
  687. package/dist/index.es512.js.map +1 -1
  688. package/dist/index.es513.js +129 -2
  689. package/dist/index.es513.js.map +1 -1
  690. package/dist/index.es514.js +134 -5
  691. package/dist/index.es514.js.map +1 -1
  692. package/dist/index.es515.js +2 -2
  693. package/dist/index.es516.js +2 -2
  694. package/dist/index.es517.js +2 -225
  695. package/dist/index.es517.js.map +1 -1
  696. package/dist/index.es518.js +2 -134
  697. package/dist/index.es518.js.map +1 -1
  698. package/dist/index.es519.js +2 -129
  699. package/dist/index.es519.js.map +1 -1
  700. package/dist/index.es520.js +2 -134
  701. package/dist/index.es520.js.map +1 -1
  702. package/dist/index.es521.js +2 -129
  703. package/dist/index.es521.js.map +1 -1
  704. package/dist/index.es522.js +2 -135
  705. package/dist/index.es522.js.map +1 -1
  706. package/dist/index.es523.js +2 -2
  707. package/dist/index.es524.js +148 -2
  708. package/dist/index.es524.js.map +1 -1
  709. package/dist/index.es527.js +2 -2
  710. package/dist/index.es528.js +131 -2
  711. package/dist/index.es528.js.map +1 -1
  712. package/dist/index.es529.js +128 -2
  713. package/dist/index.es529.js.map +1 -1
  714. package/dist/index.es530.js +2 -2
  715. package/dist/index.es531.js +138 -2
  716. package/dist/index.es531.js.map +1 -1
  717. package/dist/index.es532.js +2 -148
  718. package/dist/index.es532.js.map +1 -1
  719. package/dist/index.es533.js +2 -2
  720. package/dist/index.es534.js +2 -2
  721. package/dist/index.es535.js +14 -2
  722. package/dist/index.es535.js.map +1 -1
  723. package/dist/index.es536.js +2 -131
  724. package/dist/index.es536.js.map +1 -1
  725. package/dist/index.es537.js +2 -128
  726. package/dist/index.es537.js.map +1 -1
  727. package/dist/index.es538.js +2 -2
  728. package/dist/index.es539.js +2 -138
  729. package/dist/index.es539.js.map +1 -1
  730. package/dist/index.es54.js +1 -1
  731. package/dist/index.es548.js +2 -2
  732. package/dist/index.es549.js +2 -2
  733. package/dist/index.es55.js +1 -1
  734. package/dist/index.es550.js +2 -2
  735. package/dist/index.es552.js +2 -2
  736. package/dist/index.es554.js +2 -2
  737. package/dist/index.es555.js +30 -2
  738. package/dist/index.es555.js.map +1 -1
  739. package/dist/index.es556.js +2 -30
  740. package/dist/index.es556.js.map +1 -1
  741. package/dist/index.es557.js +2 -2
  742. package/dist/index.es558.js +2 -2
  743. package/dist/index.es559.js +2 -2
  744. package/dist/index.es56.js +2 -2
  745. package/dist/index.es560.js +2 -2
  746. package/dist/index.es58.js +2 -2
  747. package/dist/index.es581.js +1 -1
  748. package/dist/index.es586.js +6 -6
  749. package/dist/index.es587.js +16 -13
  750. package/dist/index.es587.js.map +1 -1
  751. package/dist/index.es588.js +39 -18
  752. package/dist/index.es588.js.map +1 -1
  753. package/dist/index.es589.js +12 -39
  754. package/dist/index.es589.js.map +1 -1
  755. package/dist/index.es59.js +2 -2
  756. package/dist/index.es590.js +37 -12
  757. package/dist/index.es590.js.map +1 -1
  758. package/dist/index.es591.js +38 -36
  759. package/dist/index.es591.js.map +1 -1
  760. package/dist/index.es592.js +12 -39
  761. package/dist/index.es592.js.map +1 -1
  762. package/dist/index.es593.js +11 -8
  763. package/dist/index.es593.js.map +1 -1
  764. package/dist/index.es60.js +2 -2
  765. package/dist/index.es62.js +1 -1
  766. package/dist/index.es63.js +2 -2
  767. package/dist/index.es64.js +2 -2
  768. package/dist/index.es66.js +1 -1
  769. package/dist/index.es67.js +1 -1
  770. package/dist/index.es68.js +1 -1
  771. package/dist/index.es72.js +2 -2
  772. package/dist/index.es73.js +3 -3
  773. package/dist/index.es74.js +1 -1
  774. package/dist/index.es76.js +1 -1
  775. package/dist/index.es77.js +1 -1
  776. package/dist/index.es79.js +1 -1
  777. package/dist/index.es97.js +2 -2
  778. package/package.json +3 -3
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs151.js"),t=require("./index.cjs462.js"),d=require("./index.cjs446.js"),_=require("./index.cjs447.js"),f=require("./index.cjs458.js"),p=require("./index.cjs463.js");var l;function C(){if(l)return t.__exports;l=1;var n=a.commonjsGlobal&&a.commonjsGlobal.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t.__exports,"__esModule",{value:!0});var o=n(d.__require()),s=n(_.__require()),u=n(f.__require()),c=p.__require(),h=function(){function i(e){var r;e.sendApiKeyAsQueryParam=(r=e.sendApiKeyAsQueryParam)!==null&&r!==void 0?r:!0,e.sendApiKeyAsQueryParam===!0&&(e.apiKey||"").length>2e3&&(console.warn("[typesense] API Key is longer than 2000 characters which is over the allowed limit, so disabling sending it as a query parameter."),e.sendApiKeyAsQueryParam=!1),this.configuration=new o.default(e),this.apiCall=new s.default(this.configuration),this.multiSearch=new u.default(this.apiCall,this.configuration,!0),this.individualCollections={}}return i.prototype.clearCache=function(){this.multiSearch.clearCache(),Object.entries(this.individualCollections).forEach(function(e){e[0];var r=e[1];r.documents().clearCache()})},i.prototype.collections=function(e){if(e)return this.individualCollections[e]===void 0&&(this.individualCollections[e]=new c.SearchOnlyCollection(e,this.apiCall,this.configuration)),this.individualCollections[e];throw new Error("Typesense.SearchClient only supports search operations, so the collectionName that needs to be searched must be specified. Use Typesense.Client if you need to access the collection object.")},i}();return t.__exports.default=h,t.__exports}exports.__require=C;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs151.js"),t=require("./index.cjs450.js"),d=require("./index.cjs434.js"),_=require("./index.cjs435.js"),f=require("./index.cjs446.js"),p=require("./index.cjs451.js");var l;function C(){if(l)return t.__exports;l=1;var n=a.commonjsGlobal&&a.commonjsGlobal.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(t.__exports,"__esModule",{value:!0});var o=n(d.__require()),s=n(_.__require()),u=n(f.__require()),c=p.__require(),h=function(){function i(e){var r;e.sendApiKeyAsQueryParam=(r=e.sendApiKeyAsQueryParam)!==null&&r!==void 0?r:!0,e.sendApiKeyAsQueryParam===!0&&(e.apiKey||"").length>2e3&&(console.warn("[typesense] API Key is longer than 2000 characters which is over the allowed limit, so disabling sending it as a query parameter."),e.sendApiKeyAsQueryParam=!1),this.configuration=new o.default(e),this.apiCall=new s.default(this.configuration),this.multiSearch=new u.default(this.apiCall,this.configuration,!0),this.individualCollections={}}return i.prototype.clearCache=function(){this.multiSearch.clearCache(),Object.entries(this.individualCollections).forEach(function(e){e[0];var r=e[1];r.documents().clearCache()})},i.prototype.collections=function(e){if(e)return this.individualCollections[e]===void 0&&(this.individualCollections[e]=new c.SearchOnlyCollection(e,this.apiCall,this.configuration)),this.individualCollections[e];throw new Error("Typesense.SearchClient only supports search operations, so the collectionName that needs to be searched must be specified. Use Typesense.Client if you need to access the collection object.")},i}();return t.__exports.default=h,t.__exports}exports.__require=C;
2
2
  //# sourceMappingURL=index.cjs379.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs151.js"),r=require("./index.cjs464.js"),x=require("./index.cjs465.js"),f=require("./index.cjs466.js"),E=require("./index.cjs467.js"),b=require("./index.cjs468.js"),v=require("./index.cjs469.js"),j=require("./index.cjs470.js"),m=require("./index.cjs471.js"),O=require("./index.cjs472.js"),T=require("./index.cjs473.js"),y=require("./index.cjs474.js");var _;function M(){if(_)return r.__exports;_=1;var e=t.commonjsGlobal&&t.commonjsGlobal.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(r.__exports,"__esModule",{value:!0}),r.__exports.ImportError=r.__exports.TypesenseError=r.__exports.ServerError=r.__exports.RequestUnauthorized=r.__exports.RequestMalformed=r.__exports.ObjectUnprocessable=r.__exports.ObjectNotFound=r.__exports.ObjectAlreadyExists=r.__exports.MissingConfigurationError=r.__exports.HTTPError=void 0;var s=e(x.__require());r.__exports.HTTPError=s.default;var u=e(f.__require());r.__exports.MissingConfigurationError=u.default;var i=e(E.__require());r.__exports.ObjectAlreadyExists=i.default;var n=e(b.__require());r.__exports.ObjectNotFound=n.default;var a=e(v.__require());r.__exports.ObjectUnprocessable=a.default;var p=e(j.__require());r.__exports.RequestMalformed=p.default;var c=e(m.__require());r.__exports.RequestUnauthorized=c.default;var l=e(O.__require());r.__exports.ServerError=l.default;var q=e(T.__require());r.__exports.ImportError=q.default;var d=e(y.__require());return r.__exports.TypesenseError=d.default,r.__exports}exports.__require=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs151.js"),r=require("./index.cjs452.js"),x=require("./index.cjs453.js"),f=require("./index.cjs454.js"),E=require("./index.cjs455.js"),b=require("./index.cjs456.js"),v=require("./index.cjs457.js"),j=require("./index.cjs458.js"),m=require("./index.cjs459.js"),O=require("./index.cjs460.js"),T=require("./index.cjs461.js"),y=require("./index.cjs462.js");var _;function M(){if(_)return r.__exports;_=1;var e=t.commonjsGlobal&&t.commonjsGlobal.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(r.__exports,"__esModule",{value:!0}),r.__exports.ImportError=r.__exports.TypesenseError=r.__exports.ServerError=r.__exports.RequestUnauthorized=r.__exports.RequestMalformed=r.__exports.ObjectUnprocessable=r.__exports.ObjectNotFound=r.__exports.ObjectAlreadyExists=r.__exports.MissingConfigurationError=r.__exports.HTTPError=void 0;var s=e(x.__require());r.__exports.HTTPError=s.default;var u=e(f.__require());r.__exports.MissingConfigurationError=u.default;var i=e(E.__require());r.__exports.ObjectAlreadyExists=i.default;var n=e(b.__require());r.__exports.ObjectNotFound=n.default;var a=e(v.__require());r.__exports.ObjectUnprocessable=a.default;var p=e(j.__require());r.__exports.RequestMalformed=p.default;var c=e(m.__require());r.__exports.RequestUnauthorized=c.default;var l=e(O.__require());r.__exports.ServerError=l.default;var q=e(T.__require());r.__exports.ImportError=q.default;var d=e(y.__require());return r.__exports.TypesenseError=d.default,r.__exports}exports.__require=M;
2
2
  //# sourceMappingURL=index.cjs380.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs433.js"),l=require("./index.cjs434.js"),c=require("./index.cjs435.js"),q=require("./index.cjs436.js"),y=require("./index.cjs437.js");var i;function d(){return i||(i=1,function(r){var u=l.__require(),a=c.__require(),s=q.__require(),n=y.__require();function _(e,o){return u(e)||a(e,o)||s(e,o)||n()}r.exports=_,r.exports.__esModule=!0,r.exports.default=r.exports}(t.__module)),t.__module.exports}exports.__require=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs463.js"),l=require("./index.cjs464.js"),c=require("./index.cjs465.js"),q=require("./index.cjs466.js"),y=require("./index.cjs467.js");var i;function d(){return i||(i=1,function(r){var u=l.__require(),a=c.__require(),s=q.__require(),n=y.__require();function _(e,o){return u(e)||a(e,o)||s(e,o)||n()}r.exports=_,r.exports.__esModule=!0,r.exports.default=r.exports}(t.__module)),t.__module.exports}exports.__require=d;
2
2
  //# sourceMappingURL=index.cjs382.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs439.js");var p;function u(){return p||(p=1,function(e){function r(n){"@babel/helpers - typeof";return e.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.__esModule=!0,e.exports.default=e.exports,r(n)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(o.__module)),o.__module.exports}exports.__require=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs469.js");var p;function u(){return p||(p=1,function(e){function r(n){"@babel/helpers - typeof";return e.exports=r=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},e.exports.__esModule=!0,e.exports.default=e.exports,r(n)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(o.__module)),o.__module.exports}exports.__require=u;
2
2
  //# sourceMappingURL=index.cjs384.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs440.js"),_=require("./index.cjs441.js"),l=require("./index.cjs442.js"),p=require("./index.cjs436.js"),b=require("./index.cjs443.js");var t;function q(){return t||(t=1,function(r){var u=_.__require(),a=l.__require(),n=p.__require(),i=b.__require();function s(e){return u(e)||a(e)||n(e)||i()}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(o.__module)),o.__module.exports}exports.__require=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs470.js"),_=require("./index.cjs471.js"),l=require("./index.cjs472.js"),p=require("./index.cjs466.js"),b=require("./index.cjs473.js");var t;function q(){return t||(t=1,function(r){var u=_.__require(),a=l.__require(),n=p.__require(),i=b.__require();function s(e){return u(e)||a(e)||n(e)||i()}r.exports=s,r.exports.__esModule=!0,r.exports.default=r.exports}(o.__module)),o.__module.exports}exports.__require=q;
2
2
  //# sourceMappingURL=index.cjs385.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs444.js"),f=require("./index.cjs375.js");var u;function s(){return u||(u=1,function(r){var n=f.__require();function p(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}r.exports=p,r.exports.__esModule=!0,r.exports.default=r.exports}(o.__module)),o.__module.exports}exports.__require=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./index.cjs474.js"),f=require("./index.cjs375.js");var u;function s(){return u||(u=1,function(r){var n=f.__require();function p(t,e,i){return e=n(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}r.exports=p,r.exports.__esModule=!0,r.exports.default=r.exports}(o.__module)),o.__module.exports}exports.__require=s;
2
2
  //# sourceMappingURL=index.cjs386.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs438.js");var t;function n(){if(t)return e.__exports;t=1,Object.defineProperty(e.__exports,"__esModule",{value:!0}),e.__exports.utils=void 0;var s={_adaptHighlightTag:function(r,a,u){return r.replace(new RegExp("<mark>","g"),a||"<mark>").replace(new RegExp("</mark>","g"),u||"</mark>")},_adaptNumberOfPages:function(){var r=this.typesenseResponse.found/this.typesenseResponse.request_params.per_page;return Number.isFinite(r)?Math.ceil(r):1}};return e.__exports.utils=s,e.__exports}exports.__require=n;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs468.js");var t;function n(){if(t)return e.__exports;t=1,Object.defineProperty(e.__exports,"__esModule",{value:!0}),e.__exports.utils=void 0;var s={_adaptHighlightTag:function(r,a,u){return r.replace(new RegExp("<mark>","g"),a||"<mark>").replace(new RegExp("</mark>","g"),u||"</mark>")},_adaptNumberOfPages:function(){var r=this.typesenseResponse.found/this.typesenseResponse.request_params.per_page;return Number.isFinite(r)?Math.ceil(r):1}};return e.__exports.utils=s,e.__exports}exports.__require=n;
2
2
  //# sourceMappingURL=index.cjs387.js.map
@@ -1,39 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),d=require("./index.cjs419.js"),c=require("./index.cjs337.js"),u=require("./index.cjs544.js");function f(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return a.default=t,Object.freeze(a)}const l=f(s);var p=d.styleSingleton(),h=function(t,a,e,n){var r=t.left,i=t.top,g=t.right,o=t.gap;return e===void 0&&(e="margin"),`
2
- .`.concat(c.noScrollbarsClassName,` {
3
- overflow: hidden `).concat(n,`;
4
- padding-right: `).concat(o,"px ").concat(n,`;
5
- }
6
- body {
7
- overflow: hidden `).concat(n,`;
8
- overscroll-behavior: contain;
9
- `).concat([a&&"position: relative ".concat(n,";"),e==="margin"&&`
10
- padding-left: `.concat(r,`px;
11
- padding-top: `).concat(i,`px;
12
- padding-right: `).concat(g,`px;
13
- margin-left:0;
14
- margin-top:0;
15
- margin-right: `).concat(o,"px ").concat(n,`;
16
- `),e==="padding"&&"padding-right: ".concat(o,"px ").concat(n,";")].filter(Boolean).join(""),`
17
- }
18
-
19
- .`).concat(c.zeroRightClassName,` {
20
- right: `).concat(o,"px ").concat(n,`;
21
- }
22
-
23
- .`).concat(c.fullWidthClassName,` {
24
- margin-right: `).concat(o,"px ").concat(n,`;
25
- }
26
-
27
- .`).concat(c.zeroRightClassName," .").concat(c.zeroRightClassName,` {
28
- right: 0 `).concat(n,`;
29
- }
30
-
31
- .`).concat(c.fullWidthClassName," .").concat(c.fullWidthClassName,` {
32
- margin-right: 0 `).concat(n,`;
33
- }
34
-
35
- body {
36
- `).concat(c.removedBarSizeVariable,": ").concat(o,`px;
37
- }
38
- `)},m=function(t){var a=t.noRelative,e=t.noImportant,n=t.gapMode,r=n===void 0?"margin":n,i=l.useMemo(function(){return u.getGapWidth(r)},[r]);return l.createElement(p,{styles:h(i,!a,r,e?"":"!important")})};exports.RemoveScrollBar=m;
1
+ "use strict";const e=require("./index.cjs486.js"),i=require("./index.cjs487.js");function o(t){var r=i(t,"string");return e(r)=="symbol"?r:String(r)}module.exports=o;
39
2
  //# sourceMappingURL=index.cjs418.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs418.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (props) {\n var noRelative = props.noRelative, noImportant = props.noImportant, _a = props.gapMode, gapMode = _a === void 0 ? 'margin' : _a;\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","RemoveScrollBar","props","noRelative","noImportant","React","getGapWidth"],"mappings":"geAIA,IAAIA,EAAQC,EAAe,eAAA,EAIvBC,EAAY,SAAUC,EAAIC,EAAeC,EAASC,EAAW,CACzD,IAAAC,EAAOJ,EAAG,KAAMK,EAAML,EAAG,IAAKM,EAAQN,EAAG,MAAOO,EAAMP,EAAG,IAC7D,OAAIE,IAAY,SAAoBA,EAAA,UAC7B;AAAA,KAAQ,OAAOM,wBAAuB;AAAA,qBAA0B,EAAE,OAAOL,EAAW;AAAA,mBAAuB,EAAE,OAAOI,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,sBAAyC,EAAE,OAAOA,EAAW;AAAA;AAAA,KAA4C,EAAE,OAAO,CACvQF,GAAiB,sBAAsB,OAAOE,EAAW,GAAG,EAC5DD,IAAY,UACR;AAAA,oBAAuB,OAAOE,EAAM;AAAA,kBAAwB,EAAE,OAAOC,EAAK;AAAA,oBAA0B,EAAE,OAAOC,EAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA,KAAS,EACxOD,IAAY,WAAa,kBAAkB,OAAOK,EAAK,KAAK,EAAE,OAAOJ,EAAW,GAAG,CAElF,EAAA,OAAO,OAAO,EACd,KAAK,EAAE,EAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,EAAAA,mBAAoB;AAAA,YAAiB,EAAE,OAAOF,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,EAAAA,mBAAoB;AAAA,mBAAwB,EAAE,OAAOH,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,EAAA,mBAAoB,IAAI,EAAE,OAAOA,EAAA,mBAAoB;AAAA,cAAmB,EAAE,OAAON,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,EAAAA,mBAAoB,IAAI,EAAE,OAAOA,EAAAA,mBAAoB;AAAA,qBAA0B,EAAE,OAAOP,EAAW;AAAA;AAAA;AAAA;AAAA,KAA4B,EAAE,OAAOQ,EAAAA,uBAAwB,IAAI,EAAE,OAAOJ,EAAK;AAAA;AAAA,CAAY,CACnjB,EAIWK,EAAkB,SAAUC,EAAO,CAC1C,IAAIC,EAAaD,EAAM,WAAYE,EAAcF,EAAM,YAAab,EAAKa,EAAM,QAASX,EAAUF,IAAO,OAAS,SAAWA,EAMzHO,EAAMS,EAAM,QAAQ,UAAY,CAAE,OAAOC,EAAAA,YAAYf,CAAO,CAAA,EAAM,CAACA,CAAO,CAAC,EAC/E,OAAOc,EAAM,cAAcnB,EAAO,CAAE,OAAQE,EAAUQ,EAAK,CAACO,EAAYZ,EAAUa,EAA6B,GAAf,YAAiB,CAAG,CAAA,CACxH","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs418.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}"],"names":["toPropertyKey","i","toPrimitive","_typeof"],"mappings":"iFAEA,SAAwBA,EAAc,EAAG,CACnC,IAAAC,EAAIC,EAAY,EAAG,QAAQ,EAC/B,OAAmBC,EAAQF,CAAC,GAArB,SAAyBA,EAAI,OAAOA,CAAC,CAC9C","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs545.js");var i=function(){var t=r.styleHookSingleton(),n=function(e){var l=e.styles,o=e.dynamic;return t(l,o),null};return n};exports.styleSingleton=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs295.js");function l(n){return n}function h(n,t){t===void 0&&(t=l);var e=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:n},useMedium:function(u){var r=t(u,o);return e.push(r),function(){e=e.filter(function(i){return i!==r})}},assignSyncMedium:function(u){for(o=!0;e.length;){var r=e;e=[],r.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){o=!0;var r=[];if(e.length){var i=e;e=[],i.forEach(u),r=e}var s=function(){var f=r;r=[],f.forEach(u)},a=function(){return Promise.resolve().then(s)};a(),e={push:function(f){r.push(f),a()},filter:function(f){return r=r.filter(f),e}}}};return c}function m(n){n===void 0&&(n={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},n),t}exports.createSidecarMedium=m;
2
2
  //# sourceMappingURL=index.cjs419.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs419.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":"qHAOO,IAAIA,EAAiB,UAAY,CACpC,IAAIC,EAAWC,EAAAA,qBACXC,EAAQ,SAAUC,EAAI,CACtB,IAAIC,EAASD,EAAG,OAAQE,EAAUF,EAAG,QACrC,OAAAH,EAASI,EAAQC,CAAO,EACjB,IAAA,EAEJ,OAAAH,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs419.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACN,OAAAA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAuBA,EAAAJ,GAC1C,IAAIK,EAAS,CAAA,EACTC,EAAW,GACXC,EAAS,CACT,KAAM,UAAY,CACd,GAAID,EACM,MAAA,IAAI,MAAM,kGAAkG,EAEtH,OAAID,EAAO,OACAA,EAAOA,EAAO,OAAS,CAAC,EAE5BF,CACX,EACA,UAAW,SAAUK,EAAM,CACnB,IAAAC,EAAOL,EAAWI,EAAMF,CAAQ,EACpC,OAAAD,EAAO,KAAKI,CAAI,EACT,UAAY,CACNJ,EAAAA,EAAO,OAAO,SAAUK,EAAG,CAAE,OAAOA,IAAMD,CAAA,CAAO,CAAA,CAElE,EACA,iBAAkB,SAAUE,EAAI,CAE5B,IADWL,EAAA,GACJD,EAAO,QAAQ,CAClB,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,CAClB,CACSN,EAAA,CACL,KAAM,SAAUK,EAAG,CAAE,OAAOC,EAAGD,CAAC,CAAG,EACnC,OAAQ,UAAY,CAAS,OAAAL,CAAQ,CAAA,CAE7C,EACA,aAAc,SAAUM,EAAI,CACbL,EAAA,GACX,IAAIO,EAAe,CAAA,EACnB,GAAIR,EAAO,OAAQ,CACf,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,EACCE,EAAAR,CACnB,CACA,IAAIS,EAAe,UAAY,CAC3B,IAAIF,EAAMC,EACVA,EAAe,CAAA,EACfD,EAAI,QAAQD,CAAE,CAAA,EAEdI,EAAQ,UAAY,CAAE,OAAO,QAAQ,QAAA,EAAU,KAAKD,CAAY,CAAA,EAC9DC,IACGV,EAAA,CACL,KAAM,SAAUK,EAAG,CACfG,EAAa,KAAKH,CAAC,EACbK,GACV,EACA,OAAQ,SAAUC,EAAQ,CACP,OAAAH,EAAAA,EAAa,OAAOG,CAAM,EAClCX,CACX,CAAA,CAER,CAAA,EAEG,OAAAE,CACX,CAMO,SAASU,EAAoBC,EAAS,CACrCA,IAAY,SAAUA,EAAU,CAAA,GAChC,IAAAX,EAASL,EAAkB,IAAI,EAC5B,OAAAK,EAAA,QAAUY,WAAS,CAAE,MAAO,GAAM,IAAK,IAASD,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,39 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=!1;if(typeof window<"u")try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{t=!1}var r=t?{passive:!1}:!1;exports.nonPassive=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react"),d=require("./index.cjs421.js"),c=require("./index.cjs338.js"),u=require("./index.cjs544.js");function f(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(a,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return a.default=t,Object.freeze(a)}const l=f(s);var p=d.styleSingleton(),h=function(t,a,e,n){var r=t.left,i=t.top,g=t.right,o=t.gap;return e===void 0&&(e="margin"),`
2
+ .`.concat(c.noScrollbarsClassName,` {
3
+ overflow: hidden `).concat(n,`;
4
+ padding-right: `).concat(o,"px ").concat(n,`;
5
+ }
6
+ body {
7
+ overflow: hidden `).concat(n,`;
8
+ overscroll-behavior: contain;
9
+ `).concat([a&&"position: relative ".concat(n,";"),e==="margin"&&`
10
+ padding-left: `.concat(r,`px;
11
+ padding-top: `).concat(i,`px;
12
+ padding-right: `).concat(g,`px;
13
+ margin-left:0;
14
+ margin-top:0;
15
+ margin-right: `).concat(o,"px ").concat(n,`;
16
+ `),e==="padding"&&"padding-right: ".concat(o,"px ").concat(n,";")].filter(Boolean).join(""),`
17
+ }
18
+
19
+ .`).concat(c.zeroRightClassName,` {
20
+ right: `).concat(o,"px ").concat(n,`;
21
+ }
22
+
23
+ .`).concat(c.fullWidthClassName,` {
24
+ margin-right: `).concat(o,"px ").concat(n,`;
25
+ }
26
+
27
+ .`).concat(c.zeroRightClassName," .").concat(c.zeroRightClassName,` {
28
+ right: 0 `).concat(n,`;
29
+ }
30
+
31
+ .`).concat(c.fullWidthClassName," .").concat(c.fullWidthClassName,` {
32
+ margin-right: 0 `).concat(n,`;
33
+ }
34
+
35
+ body {
36
+ `).concat(c.removedBarSizeVariable,": ").concat(o,`px;
37
+ }
38
+ `)},m=function(t){var a=t.noRelative,e=t.noImportant,n=t.gapMode,r=n===void 0?"margin":n,i=l.useMemo(function(){return u.getGapWidth(r)},[r]);return l.createElement(p,{styles:h(i,!a,r,e?"":"!important")})};exports.RemoveScrollBar=m;
2
39
  //# sourceMappingURL=index.cjs420.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs420.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"gFAAA,IAAIA,EAAmB,GACvB,GAAI,OAAO,OAAW,IACd,GAAA,CACA,IAAIC,EAAU,OAAO,eAAe,CAAA,EAAI,UAAW,CAC/C,IAAK,UAAY,CACM,OAAAD,EAAA,GACZ,EACX,CAAA,CACH,EAEM,OAAA,iBAAiB,OAAQC,EAASA,CAAO,EAEzC,OAAA,oBAAoB,OAAQA,EAASA,CAAO,OAE3C,CACWD,EAAA,EACvB,CAEG,IAAIE,EAAaF,EAAmB,CAAE,QAAS,IAAU","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs420.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/component.js"],"sourcesContent":["import * as React from 'react';\nimport { styleSingleton } from 'react-style-singleton';\nimport { fullWidthClassName, zeroRightClassName, noScrollbarsClassName, removedBarSizeVariable } from './constants';\nimport { getGapWidth } from './utils';\nvar Style = styleSingleton();\n// important tip - once we measure scrollBar width and remove them\n// we could not repeat this operation\n// thus we are using style-singleton - only the first \"yet correct\" style will be applied.\nvar getStyles = function (_a, allowRelative, gapMode, important) {\n var left = _a.left, top = _a.top, right = _a.right, gap = _a.gap;\n if (gapMode === void 0) { gapMode = 'margin'; }\n return \"\\n .\".concat(noScrollbarsClassName, \" {\\n overflow: hidden \").concat(important, \";\\n padding-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n body {\\n overflow: hidden \").concat(important, \";\\n overscroll-behavior: contain;\\n \").concat([\n allowRelative && \"position: relative \".concat(important, \";\"),\n gapMode === 'margin' &&\n \"\\n padding-left: \".concat(left, \"px;\\n padding-top: \").concat(top, \"px;\\n padding-right: \").concat(right, \"px;\\n margin-left:0;\\n margin-top:0;\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n \"),\n gapMode === 'padding' && \"padding-right: \".concat(gap, \"px \").concat(important, \";\"),\n ]\n .filter(Boolean)\n .join(''), \"\\n }\\n \\n .\").concat(zeroRightClassName, \" {\\n right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" {\\n margin-right: \").concat(gap, \"px \").concat(important, \";\\n }\\n \\n .\").concat(zeroRightClassName, \" .\").concat(zeroRightClassName, \" {\\n right: 0 \").concat(important, \";\\n }\\n \\n .\").concat(fullWidthClassName, \" .\").concat(fullWidthClassName, \" {\\n margin-right: 0 \").concat(important, \";\\n }\\n \\n body {\\n \").concat(removedBarSizeVariable, \": \").concat(gap, \"px;\\n }\\n\");\n};\n/**\n * Removes page scrollbar and blocks page scroll when mounted\n */\nexport var RemoveScrollBar = function (props) {\n var noRelative = props.noRelative, noImportant = props.noImportant, _a = props.gapMode, gapMode = _a === void 0 ? 'margin' : _a;\n /*\n gap will be measured on every component mount\n however it will be used only by the \"first\" invocation\n due to singleton nature of <Style\n */\n var gap = React.useMemo(function () { return getGapWidth(gapMode); }, [gapMode]);\n return React.createElement(Style, { styles: getStyles(gap, !noRelative, gapMode, !noImportant ? '!important' : '') });\n};\n"],"names":["Style","styleSingleton","getStyles","_a","allowRelative","gapMode","important","left","top","right","gap","noScrollbarsClassName","zeroRightClassName","fullWidthClassName","removedBarSizeVariable","RemoveScrollBar","props","noRelative","noImportant","React","getGapWidth"],"mappings":"geAIA,IAAIA,EAAQC,EAAe,eAAA,EAIvBC,EAAY,SAAUC,EAAIC,EAAeC,EAASC,EAAW,CACzD,IAAAC,EAAOJ,EAAG,KAAMK,EAAML,EAAG,IAAKM,EAAQN,EAAG,MAAOO,EAAMP,EAAG,IAC7D,OAAIE,IAAY,SAAoBA,EAAA,UAC7B;AAAA,KAAQ,OAAOM,wBAAuB;AAAA,qBAA0B,EAAE,OAAOL,EAAW;AAAA,mBAAuB,EAAE,OAAOI,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,sBAAyC,EAAE,OAAOA,EAAW;AAAA;AAAA,KAA4C,EAAE,OAAO,CACvQF,GAAiB,sBAAsB,OAAOE,EAAW,GAAG,EAC5DD,IAAY,UACR;AAAA,oBAAuB,OAAOE,EAAM;AAAA,kBAAwB,EAAE,OAAOC,EAAK;AAAA,oBAA0B,EAAE,OAAOC,EAAO;AAAA;AAAA;AAAA,mBAAgE,EAAE,OAAOC,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA,KAAS,EACxOD,IAAY,WAAa,kBAAkB,OAAOK,EAAK,KAAK,EAAE,OAAOJ,EAAW,GAAG,CAElF,EAAA,OAAO,OAAO,EACd,KAAK,EAAE,EAAG;AAAA;AAAA;AAAA,IAAgB,EAAE,OAAOM,EAAAA,mBAAoB;AAAA,YAAiB,EAAE,OAAOF,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,EAAAA,mBAAoB;AAAA,mBAAwB,EAAE,OAAOH,EAAK,KAAK,EAAE,OAAOJ,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOM,EAAA,mBAAoB,IAAI,EAAE,OAAOA,EAAA,mBAAoB;AAAA,cAAmB,EAAE,OAAON,EAAW;AAAA;AAAA;AAAA,IAAiB,EAAE,OAAOO,EAAAA,mBAAoB,IAAI,EAAE,OAAOA,EAAAA,mBAAoB;AAAA,qBAA0B,EAAE,OAAOP,EAAW;AAAA;AAAA;AAAA;AAAA,KAA4B,EAAE,OAAOQ,EAAAA,uBAAwB,IAAI,EAAE,OAAOJ,EAAK;AAAA;AAAA,CAAY,CACnjB,EAIWK,EAAkB,SAAUC,EAAO,CAC1C,IAAIC,EAAaD,EAAM,WAAYE,EAAcF,EAAM,YAAab,EAAKa,EAAM,QAASX,EAAUF,IAAO,OAAS,SAAWA,EAMzHO,EAAMS,EAAM,QAAQ,UAAY,CAAE,OAAOC,EAAAA,YAAYf,CAAO,CAAA,EAAM,CAACA,CAAO,CAAC,EAC/E,OAAOc,EAAM,cAAcnB,EAAO,CAAE,OAAQE,EAAUQ,EAAK,CAACO,EAAYZ,EAAUa,EAA6B,GAAf,YAAiB,CAAG,CAAA,CACxH","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var y=function(e){return e.tagName==="TEXTAREA"},g=function(e,r){var t=window.getComputedStyle(e);return t[r]!=="hidden"&&!(t.overflowY===t.overflowX&&!y(e)&&t[r]==="visible")},p=function(e){return g(e,"overflowY")},B=function(e){return g(e,"overflowX")},H=function(e,r){var t=r;do{typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&(t=t.host);var o=w(e,t);if(o){var n=b(e,t),i=n[1],a=n[2];if(i>a)return!0}t=t.parentNode}while(t&&t!==document.body);return!1},V=function(e){var r=e.scrollTop,t=e.scrollHeight,o=e.clientHeight;return[r,t,o]},W=function(e){var r=e.scrollLeft,t=e.scrollWidth,o=e.clientWidth;return[r,t,o]},w=function(e,r){return e==="v"?p(r):B(r)},b=function(e,r){return e==="v"?V(r):W(r)},L=function(e,r){return e==="h"&&r==="rtl"?-1:1},N=function(e,r,t,o,n){var i=L(e,window.getComputedStyle(r).direction),a=i*o,l=t.target,s=r.contains(l),c=!1,S=a>0,u=0,d=0;do{var v=b(e,l),f=v[0],C=v[1],m=v[2],h=C-m-i*f;(f||h)&&w(e,l)&&(u+=h,d+=f),l=l.parentNode}while(!s&&l!==document.body||s&&(r.contains(l)||r===l));return(S&&(n&&u===0||!n&&a>u)||!S&&(n&&d===0||!n&&-a>d))&&(c=!0),c};exports.handleScroll=N;exports.locationCouldBeScrolled=H;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs545.js");var i=function(){var t=r.styleHookSingleton(),n=function(e){var l=e.styles,o=e.dynamic;return t(l,o),null};return n};exports.styleSingleton=i;
2
2
  //# sourceMappingURL=index.cjs421.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs421.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), s = _a[1], d = _a[2];\n if (s > d) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== document.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n target = target.parentNode;\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n if (isDeltaPositive && ((noOverscroll && availableScroll === 0) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && availableScrollTop === 0) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","s","d","getVScrollVariables","scrollTop","scrollHeight","clientHeight","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,CAC7C,IAAAC,EAAS,OAAO,iBAAiBH,CAAI,EACzC,OAEAG,EAAOD,CAAQ,IAAM,UAEjB,EAAEC,EAAO,YAAcA,EAAO,WAAa,CAACJ,EAAqBC,CAAI,GAAKG,EAAOD,CAAQ,IAAM,UACvG,EACIE,EAA0B,SAAUJ,EAAM,CAAS,OAAAC,EAAqBD,EAAM,WAAW,CAAG,EAC5FK,EAA0B,SAAUL,EAAM,CAAS,OAAAC,EAAqBD,EAAM,WAAW,CAAG,EACrFM,EAA0B,SAAUC,EAAMP,EAAM,CACvD,IAAIQ,EAAUR,EACX,EAAA,CAEK,OAAO,WAAe,KAAeQ,aAAmB,aACxDA,EAAUA,EAAQ,MAElB,IAAAC,EAAeC,EAAuBH,EAAMC,CAAO,EACvD,GAAIC,EAAc,CACV,IAAAE,EAAKC,EAAmBL,EAAMC,CAAO,EAAGK,EAAIF,EAAG,CAAC,EAAGG,EAAIH,EAAG,CAAC,EAC/D,GAAIE,EAAIC,EACG,MAAA,EAEf,CACAN,EAAUA,EAAQ,UACtB,OAASA,GAAWA,IAAY,SAAS,MAClC,MAAA,EACX,EACIO,EAAsB,SAAUJ,EAAI,CACpC,IAAIK,EAAYL,EAAG,UAAWM,EAAeN,EAAG,aAAcO,EAAeP,EAAG,aACzE,MAAA,CACHK,EACAC,EACAC,CAAA,CAER,EACIC,EAAsB,SAAUR,EAAI,CACpC,IAAIS,EAAaT,EAAG,WAAYU,EAAcV,EAAG,YAAaW,EAAcX,EAAG,YACxE,MAAA,CACHS,EACAC,EACAC,CAAA,CAER,EACIZ,EAAyB,SAAUH,EAAMP,EAAM,CAC/C,OAAOO,IAAS,IAAMH,EAAwBJ,CAAI,EAAIK,EAAwBL,CAAI,CACtF,EACIY,EAAqB,SAAUL,EAAMP,EAAM,CAC3C,OAAOO,IAAS,IAAMQ,EAAoBf,CAAI,EAAImB,EAAoBnB,CAAI,CAC9E,EACIuB,EAAqB,SAAUhB,EAAMiB,EAAW,CAMhD,OAAOjB,IAAS,KAAOiB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUlB,EAAMmB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBhB,EAAM,OAAO,iBAAiBmB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACtB,EAAA,CACC,IAAI1B,EAAKC,EAAmBL,EAAMyB,CAAM,EAAGM,EAAW3B,EAAG,CAAC,EAAG4B,EAAW5B,EAAG,CAAC,EAAG6B,EAAW7B,EAAG,CAAC,EAC1F8B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR/B,EAAuBH,EAAMyB,CAAM,IAChBI,GAAAK,EACGJ,GAAAC,GAG9BN,EAASA,EAAO,UACpB,OAEC,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAClE,OAAIG,IAAqBN,GAAgBO,IAAoB,GAAO,CAACP,GAAgBE,EAAQK,IAGpF,CAACD,IACJN,GAAgBQ,IAAuB,GAAO,CAACR,GAAgB,CAACE,EAAQM,MACrDH,EAAA,IAElBA,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs421.js","sources":["../../../node_modules/react-style-singleton/dist/es2015/component.js"],"sourcesContent":["import { styleHookSingleton } from './hook';\n/**\n * create a Component to add styles on demand\n * - styles are added when first instance is mounted\n * - styles are removed when the last instance is unmounted\n * - changing styles in runtime does nothing unless dynamic is set. But with multiple components that can lead to the undefined behavior\n */\nexport var styleSingleton = function () {\n var useStyle = styleHookSingleton();\n var Sheet = function (_a) {\n var styles = _a.styles, dynamic = _a.dynamic;\n useStyle(styles, dynamic);\n return null;\n };\n return Sheet;\n};\n"],"names":["styleSingleton","useStyle","styleHookSingleton","Sheet","_a","styles","dynamic"],"mappings":"qHAOO,IAAIA,EAAiB,UAAY,CACpC,IAAIC,EAAWC,EAAAA,qBACXC,EAAQ,SAAUC,EAAI,CACtB,IAAIC,EAASD,EAAG,OAAQE,EAAUF,EAAG,QACrC,OAAAH,EAASI,EAAQC,CAAO,EACjB,IAAA,EAEJ,OAAAH,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs295.js");function l(n){return n}function h(n,t){t===void 0&&(t=l);var e=[],o=!1,c={read:function(){if(o)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return e.length?e[e.length-1]:n},useMedium:function(u){var r=t(u,o);return e.push(r),function(){e=e.filter(function(i){return i!==r})}},assignSyncMedium:function(u){for(o=!0;e.length;){var r=e;e=[],r.forEach(u)}e={push:function(i){return u(i)},filter:function(){return e}}},assignMedium:function(u){o=!0;var r=[];if(e.length){var i=e;e=[],i.forEach(u),r=e}var s=function(){var f=r;r=[],f.forEach(u)},a=function(){return Promise.resolve().then(s)};a(),e={push:function(f){r.push(f),a()},filter:function(f){return r=r.filter(f),e}}}};return c}function m(n){n===void 0&&(n={});var t=h(null);return t.options=d.__assign({async:!0,ssr:!1},n),t}exports.createSidecarMedium=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=!1;if(typeof window<"u")try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch{t=!1}var r=t?{passive:!1}:!1;exports.nonPassive=r;
2
2
  //# sourceMappingURL=index.cjs422.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs422.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACN,OAAAA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAuBA,EAAAJ,GAC1C,IAAIK,EAAS,CAAA,EACTC,EAAW,GACXC,EAAS,CACT,KAAM,UAAY,CACd,GAAID,EACM,MAAA,IAAI,MAAM,kGAAkG,EAEtH,OAAID,EAAO,OACAA,EAAOA,EAAO,OAAS,CAAC,EAE5BF,CACX,EACA,UAAW,SAAUK,EAAM,CACnB,IAAAC,EAAOL,EAAWI,EAAMF,CAAQ,EACpC,OAAAD,EAAO,KAAKI,CAAI,EACT,UAAY,CACNJ,EAAAA,EAAO,OAAO,SAAUK,EAAG,CAAE,OAAOA,IAAMD,CAAA,CAAO,CAAA,CAElE,EACA,iBAAkB,SAAUE,EAAI,CAE5B,IADWL,EAAA,GACJD,EAAO,QAAQ,CAClB,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,CAClB,CACSN,EAAA,CACL,KAAM,SAAUK,EAAG,CAAE,OAAOC,EAAGD,CAAC,CAAG,EACnC,OAAQ,UAAY,CAAS,OAAAL,CAAQ,CAAA,CAE7C,EACA,aAAc,SAAUM,EAAI,CACbL,EAAA,GACX,IAAIO,EAAe,CAAA,EACnB,GAAIR,EAAO,OAAQ,CACf,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,EACCE,EAAAR,CACnB,CACA,IAAIS,EAAe,UAAY,CAC3B,IAAIF,EAAMC,EACVA,EAAe,CAAA,EACfD,EAAI,QAAQD,CAAE,CAAA,EAEdI,EAAQ,UAAY,CAAE,OAAO,QAAQ,QAAA,EAAU,KAAKD,CAAY,CAAA,EAC9DC,IACGV,EAAA,CACL,KAAM,SAAUK,EAAG,CACfG,EAAa,KAAKH,CAAC,EACbK,GACV,EACA,OAAQ,SAAUC,EAAQ,CACP,OAAAH,EAAAA,EAAa,OAAOG,CAAM,EAClCX,CACX,CAAA,CAER,CAAA,EAEG,OAAAE,CACX,CAMO,SAASU,EAAoBC,EAAS,CACrCA,IAAY,SAAUA,EAAU,CAAA,GAChC,IAAAX,EAASL,EAAkB,IAAI,EAC5B,OAAAK,EAAA,QAAUY,WAAS,CAAE,MAAO,GAAM,IAAK,IAASD,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs422.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js"],"sourcesContent":["var passiveSupported = false;\nif (typeof window !== 'undefined') {\n try {\n var options = Object.defineProperty({}, 'passive', {\n get: function () {\n passiveSupported = true;\n return true;\n },\n });\n // @ts-ignore\n window.addEventListener('test', options, options);\n // @ts-ignore\n window.removeEventListener('test', options, options);\n }\n catch (err) {\n passiveSupported = false;\n }\n}\nexport var nonPassive = passiveSupported ? { passive: false } : false;\n"],"names":["passiveSupported","options","nonPassive"],"mappings":"gFAAA,IAAIA,EAAmB,GACvB,GAAI,OAAO,OAAW,IACd,GAAA,CACA,IAAIC,EAAU,OAAO,eAAe,CAAA,EAAI,UAAW,CAC/C,IAAK,UAAY,CACM,OAAAD,EAAA,GACZ,EACX,CAAA,CACH,EAEM,OAAA,iBAAiB,OAAQC,EAASA,CAAO,EAEzC,OAAA,oBAAoB,OAAQA,EAASA,CAAO,OAE3C,CACWD,EAAA,EACvB,CAEG,IAAIE,EAAaF,EAAmB,CAAE,QAAS,IAAU","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const t=require("./index.cjs342.js"),e=t("Object");module.exports=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var y=function(e){return e.tagName==="TEXTAREA"},g=function(e,r){var t=window.getComputedStyle(e);return t[r]!=="hidden"&&!(t.overflowY===t.overflowX&&!y(e)&&t[r]==="visible")},p=function(e){return g(e,"overflowY")},B=function(e){return g(e,"overflowX")},H=function(e,r){var t=r;do{typeof ShadowRoot<"u"&&t instanceof ShadowRoot&&(t=t.host);var o=w(e,t);if(o){var n=b(e,t),i=n[1],a=n[2];if(i>a)return!0}t=t.parentNode}while(t&&t!==document.body);return!1},V=function(e){var r=e.scrollTop,t=e.scrollHeight,o=e.clientHeight;return[r,t,o]},W=function(e){var r=e.scrollLeft,t=e.scrollWidth,o=e.clientWidth;return[r,t,o]},w=function(e,r){return e==="v"?p(r):B(r)},b=function(e,r){return e==="v"?V(r):W(r)},L=function(e,r){return e==="h"&&r==="rtl"?-1:1},N=function(e,r,t,o,n){var i=L(e,window.getComputedStyle(r).direction),a=i*o,l=t.target,s=r.contains(l),c=!1,S=a>0,u=0,d=0;do{var v=b(e,l),f=v[0],C=v[1],m=v[2],h=C-m-i*f;(f||h)&&w(e,l)&&(u+=h,d+=f),l=l.parentNode}while(!s&&l!==document.body||s&&(r.contains(l)||r===l));return(S&&(n&&u===0||!n&&a>u)||!S&&(n&&d===0||!n&&-a>d))&&(c=!0),c};exports.handleScroll=N;exports.locationCouldBeScrolled=H;
2
2
  //# sourceMappingURL=index.cjs423.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs423.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs423.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/handleScroll.js"],"sourcesContent":["var alwaysContainsScroll = function (node) {\n // textarea will always _contain_ scroll inside self. It only can be hidden\n return node.tagName === 'TEXTAREA';\n};\nvar elementCanBeScrolled = function (node, overflow) {\n var styles = window.getComputedStyle(node);\n return (\n // not-not-scrollable\n styles[overflow] !== 'hidden' &&\n // contains scroll inside self\n !(styles.overflowY === styles.overflowX && !alwaysContainsScroll(node) && styles[overflow] === 'visible'));\n};\nvar elementCouldBeVScrolled = function (node) { return elementCanBeScrolled(node, 'overflowY'); };\nvar elementCouldBeHScrolled = function (node) { return elementCanBeScrolled(node, 'overflowX'); };\nexport var locationCouldBeScrolled = function (axis, node) {\n var current = node;\n do {\n // Skip over shadow root\n if (typeof ShadowRoot !== 'undefined' && current instanceof ShadowRoot) {\n current = current.host;\n }\n var isScrollable = elementCouldBeScrolled(axis, current);\n if (isScrollable) {\n var _a = getScrollVariables(axis, current), s = _a[1], d = _a[2];\n if (s > d) {\n return true;\n }\n }\n current = current.parentNode;\n } while (current && current !== document.body);\n return false;\n};\nvar getVScrollVariables = function (_a) {\n var scrollTop = _a.scrollTop, scrollHeight = _a.scrollHeight, clientHeight = _a.clientHeight;\n return [\n scrollTop,\n scrollHeight,\n clientHeight,\n ];\n};\nvar getHScrollVariables = function (_a) {\n var scrollLeft = _a.scrollLeft, scrollWidth = _a.scrollWidth, clientWidth = _a.clientWidth;\n return [\n scrollLeft,\n scrollWidth,\n clientWidth,\n ];\n};\nvar elementCouldBeScrolled = function (axis, node) {\n return axis === 'v' ? elementCouldBeVScrolled(node) : elementCouldBeHScrolled(node);\n};\nvar getScrollVariables = function (axis, node) {\n return axis === 'v' ? getVScrollVariables(node) : getHScrollVariables(node);\n};\nvar getDirectionFactor = function (axis, direction) {\n /**\n * If the element's direction is rtl (right-to-left), then scrollLeft is 0 when the scrollbar is at its rightmost position,\n * and then increasingly negative as you scroll towards the end of the content.\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollLeft\n */\n return axis === 'h' && direction === 'rtl' ? -1 : 1;\n};\nexport var handleScroll = function (axis, endTarget, event, sourceDelta, noOverscroll) {\n var directionFactor = getDirectionFactor(axis, window.getComputedStyle(endTarget).direction);\n var delta = directionFactor * sourceDelta;\n // find scrollable target\n var target = event.target;\n var targetInLock = endTarget.contains(target);\n var shouldCancelScroll = false;\n var isDeltaPositive = delta > 0;\n var availableScroll = 0;\n var availableScrollTop = 0;\n do {\n var _a = getScrollVariables(axis, target), position = _a[0], scroll_1 = _a[1], capacity = _a[2];\n var elementScroll = scroll_1 - capacity - directionFactor * position;\n if (position || elementScroll) {\n if (elementCouldBeScrolled(axis, target)) {\n availableScroll += elementScroll;\n availableScrollTop += position;\n }\n }\n target = target.parentNode;\n } while (\n // portaled content\n (!targetInLock && target !== document.body) ||\n // self content\n (targetInLock && (endTarget.contains(target) || endTarget === target)));\n if (isDeltaPositive && ((noOverscroll && availableScroll === 0) || (!noOverscroll && delta > availableScroll))) {\n shouldCancelScroll = true;\n }\n else if (!isDeltaPositive &&\n ((noOverscroll && availableScrollTop === 0) || (!noOverscroll && -delta > availableScrollTop))) {\n shouldCancelScroll = true;\n }\n return shouldCancelScroll;\n};\n"],"names":["alwaysContainsScroll","node","elementCanBeScrolled","overflow","styles","elementCouldBeVScrolled","elementCouldBeHScrolled","locationCouldBeScrolled","axis","current","isScrollable","elementCouldBeScrolled","_a","getScrollVariables","s","d","getVScrollVariables","scrollTop","scrollHeight","clientHeight","getHScrollVariables","scrollLeft","scrollWidth","clientWidth","getDirectionFactor","direction","handleScroll","endTarget","event","sourceDelta","noOverscroll","directionFactor","delta","target","targetInLock","shouldCancelScroll","isDeltaPositive","availableScroll","availableScrollTop","position","scroll_1","capacity","elementScroll"],"mappings":"gFAAA,IAAIA,EAAuB,SAAUC,EAAM,CAEvC,OAAOA,EAAK,UAAY,UAC5B,EACIC,EAAuB,SAAUD,EAAME,EAAU,CAC7C,IAAAC,EAAS,OAAO,iBAAiBH,CAAI,EACzC,OAEAG,EAAOD,CAAQ,IAAM,UAEjB,EAAEC,EAAO,YAAcA,EAAO,WAAa,CAACJ,EAAqBC,CAAI,GAAKG,EAAOD,CAAQ,IAAM,UACvG,EACIE,EAA0B,SAAUJ,EAAM,CAAS,OAAAC,EAAqBD,EAAM,WAAW,CAAG,EAC5FK,EAA0B,SAAUL,EAAM,CAAS,OAAAC,EAAqBD,EAAM,WAAW,CAAG,EACrFM,EAA0B,SAAUC,EAAMP,EAAM,CACvD,IAAIQ,EAAUR,EACX,EAAA,CAEK,OAAO,WAAe,KAAeQ,aAAmB,aACxDA,EAAUA,EAAQ,MAElB,IAAAC,EAAeC,EAAuBH,EAAMC,CAAO,EACvD,GAAIC,EAAc,CACV,IAAAE,EAAKC,EAAmBL,EAAMC,CAAO,EAAGK,EAAIF,EAAG,CAAC,EAAGG,EAAIH,EAAG,CAAC,EAC/D,GAAIE,EAAIC,EACG,MAAA,EAEf,CACAN,EAAUA,EAAQ,UACtB,OAASA,GAAWA,IAAY,SAAS,MAClC,MAAA,EACX,EACIO,EAAsB,SAAUJ,EAAI,CACpC,IAAIK,EAAYL,EAAG,UAAWM,EAAeN,EAAG,aAAcO,EAAeP,EAAG,aACzE,MAAA,CACHK,EACAC,EACAC,CAAA,CAER,EACIC,EAAsB,SAAUR,EAAI,CACpC,IAAIS,EAAaT,EAAG,WAAYU,EAAcV,EAAG,YAAaW,EAAcX,EAAG,YACxE,MAAA,CACHS,EACAC,EACAC,CAAA,CAER,EACIZ,EAAyB,SAAUH,EAAMP,EAAM,CAC/C,OAAOO,IAAS,IAAMH,EAAwBJ,CAAI,EAAIK,EAAwBL,CAAI,CACtF,EACIY,EAAqB,SAAUL,EAAMP,EAAM,CAC3C,OAAOO,IAAS,IAAMQ,EAAoBf,CAAI,EAAImB,EAAoBnB,CAAI,CAC9E,EACIuB,EAAqB,SAAUhB,EAAMiB,EAAW,CAMhD,OAAOjB,IAAS,KAAOiB,IAAc,MAAQ,GAAK,CACtD,EACWC,EAAe,SAAUlB,EAAMmB,EAAWC,EAAOC,EAAaC,EAAc,CACnF,IAAIC,EAAkBP,EAAmBhB,EAAM,OAAO,iBAAiBmB,CAAS,EAAE,SAAS,EACvFK,EAAQD,EAAkBF,EAE1BI,EAASL,EAAM,OACfM,EAAeP,EAAU,SAASM,CAAM,EACxCE,EAAqB,GACrBC,EAAkBJ,EAAQ,EAC1BK,EAAkB,EAClBC,EAAqB,EACtB,EAAA,CACC,IAAI1B,EAAKC,EAAmBL,EAAMyB,CAAM,EAAGM,EAAW3B,EAAG,CAAC,EAAG4B,EAAW5B,EAAG,CAAC,EAAG6B,EAAW7B,EAAG,CAAC,EAC1F8B,EAAgBF,EAAWC,EAAWV,EAAkBQ,GACxDA,GAAYG,IACR/B,EAAuBH,EAAMyB,CAAM,IAChBI,GAAAK,EACGJ,GAAAC,GAG9BN,EAASA,EAAO,UACpB,OAEC,CAACC,GAAgBD,IAAW,SAAS,MAEjCC,IAAiBP,EAAU,SAASM,CAAM,GAAKN,IAAcM,IAClE,OAAIG,IAAqBN,GAAgBO,IAAoB,GAAO,CAACP,GAAgBE,EAAQK,IAGpF,CAACD,IACJN,GAAgBQ,IAAuB,GAAO,CAACR,GAAgB,CAACE,EAAQM,MACrDH,EAAA,IAElBA,CACX","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
1
+ "use strict";const t=require("./index.cjs343.js"),e=t("Object");module.exports=e;
2
2
  //# sourceMappingURL=index.cjs424.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs424.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs424.js","sources":["../../../node_modules/underscore/modules/_hasObjectTag.js"],"sourcesContent":["import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n"],"names":["tagTester"],"mappings":"kDAEeA,EAAAA,EAAU,QAAQ","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./index.cjs489.js"),I=require("./index.cjs428.js");var O=B.utils,p=I.formats,K=Object.prototype.hasOwnProperty,H={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,i){return e+"["+i+"]"},repeat:function(e){return e}},v=Array.isArray,M=String.prototype.split,V=Array.prototype.push,F=function(a,e){V.apply(a,v(e)?e:[e])},_=Date.prototype.toISOString,k=p.default,t={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:O.encode,encodeValuesOnly:!1,format:k,formatter:p.formatters[k],indices:!1,serializeDate:function(e){return _.call(e)},skipNulls:!1,strictNullHandling:!1},$=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},C=function a(e,i,r,l,f,u,c,h,m,d,s,o,S,b){var n=e;if(typeof c=="function"?n=c(i,n):n instanceof Date?n=d(n):r==="comma"&&v(n)&&(n=O.maybeMap(n,function(j){return j instanceof Date?d(j):j})),n===null){if(l)return u&&!S?u(i,t.encoder,b,"key",s):i;n=""}if($(n)||O.isBuffer(n)){if(u){var z=S?i:u(i,t.encoder,b,"key",s);if(r==="comma"&&S){for(var P=M.call(String(n),","),Q="",N=0;N<P.length;++N)Q+=(N===0?"":",")+o(u(P[N],t.encoder,b,"value",s));return[o(z)+"="+Q]}return[o(z)+"="+o(u(n,t.encoder,b,"value",s))]}return[o(i)+"="+o(String(n))]}var w=[];if(typeof n>"u")return w;var g;if(r==="comma"&&v(n))g=[{value:n.length>0?n.join(",")||null:void 0}];else if(v(c))g=c;else{var T=Object.keys(n);g=h?T.sort(h):T}for(var D=0;D<g.length;++D){var y=g[D],E=typeof y=="object"&&typeof y.value<"u"?y.value:n[y];if(!(f&&E===null)){var q=v(n)?typeof r=="function"?r(i,y):i:i+(m?"."+y:"["+y+"]");F(w,a(E,q,r,l,f,u,c,h,m,d,s,o,S,b))}}return w},G=function(e){if(!e)return t;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var i=e.charset||t.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=p.default;if(typeof e.format<"u"){if(!K.call(p.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var l=p.formatters[r],f=t.filter;return(typeof e.filter=="function"||v(e.filter))&&(f=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:t.addQueryPrefix,allowDots:typeof e.allowDots>"u"?t.allowDots:!!e.allowDots,charset:i,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:t.charsetSentinel,delimiter:typeof e.delimiter>"u"?t.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:t.encode,encoder:typeof e.encoder=="function"?e.encoder:t.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:t.encodeValuesOnly,filter:f,format:r,formatter:l,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:t.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:t.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:t.strictNullHandling}},U=function(a,e){var i=a,r=G(e),l,f;typeof r.filter=="function"?(f=r.filter,i=f("",i)):v(r.filter)&&(f=r.filter,l=f);var u=[];if(typeof i!="object"||i===null)return"";var c;e&&e.arrayFormat in H?c=e.arrayFormat:e&&"indices"in e?c=e.indices?"indices":"repeat":c="indices";var h=H[c];l||(l=Object.keys(i)),r.sort&&l.sort(r.sort);for(var m=0;m<l.length;++m){var d=l[m];r.skipNulls&&i[d]===null||F(u,C(i[d],d,h,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset))}var s=u.join(r.delimiter),o=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?o+="utf8=%26%2310003%3B&":o+="utf8=%E2%9C%93&"),s.length>0?o+s:""};exports.stringify_1=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const B=require("./index.cjs490.js"),I=require("./index.cjs428.js");var O=B.utils,p=I.formats,K=Object.prototype.hasOwnProperty,H={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,i){return e+"["+i+"]"},repeat:function(e){return e}},v=Array.isArray,M=String.prototype.split,V=Array.prototype.push,F=function(a,e){V.apply(a,v(e)?e:[e])},_=Date.prototype.toISOString,k=p.default,t={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:O.encode,encodeValuesOnly:!1,format:k,formatter:p.formatters[k],indices:!1,serializeDate:function(e){return _.call(e)},skipNulls:!1,strictNullHandling:!1},$=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},C=function a(e,i,r,l,f,u,c,h,m,d,s,o,S,b){var n=e;if(typeof c=="function"?n=c(i,n):n instanceof Date?n=d(n):r==="comma"&&v(n)&&(n=O.maybeMap(n,function(j){return j instanceof Date?d(j):j})),n===null){if(l)return u&&!S?u(i,t.encoder,b,"key",s):i;n=""}if($(n)||O.isBuffer(n)){if(u){var z=S?i:u(i,t.encoder,b,"key",s);if(r==="comma"&&S){for(var P=M.call(String(n),","),Q="",N=0;N<P.length;++N)Q+=(N===0?"":",")+o(u(P[N],t.encoder,b,"value",s));return[o(z)+"="+Q]}return[o(z)+"="+o(u(n,t.encoder,b,"value",s))]}return[o(i)+"="+o(String(n))]}var w=[];if(typeof n>"u")return w;var g;if(r==="comma"&&v(n))g=[{value:n.length>0?n.join(",")||null:void 0}];else if(v(c))g=c;else{var T=Object.keys(n);g=h?T.sort(h):T}for(var D=0;D<g.length;++D){var y=g[D],E=typeof y=="object"&&typeof y.value<"u"?y.value:n[y];if(!(f&&E===null)){var q=v(n)?typeof r=="function"?r(i,y):i:i+(m?"."+y:"["+y+"]");F(w,a(E,q,r,l,f,u,c,h,m,d,s,o,S,b))}}return w},G=function(e){if(!e)return t;if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var i=e.charset||t.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=p.default;if(typeof e.format<"u"){if(!K.call(p.formatters,e.format))throw new TypeError("Unknown format option provided.");r=e.format}var l=p.formatters[r],f=t.filter;return(typeof e.filter=="function"||v(e.filter))&&(f=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:t.addQueryPrefix,allowDots:typeof e.allowDots>"u"?t.allowDots:!!e.allowDots,charset:i,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:t.charsetSentinel,delimiter:typeof e.delimiter>"u"?t.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:t.encode,encoder:typeof e.encoder=="function"?e.encoder:t.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:t.encodeValuesOnly,filter:f,format:r,formatter:l,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:t.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:t.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:t.strictNullHandling}},U=function(a,e){var i=a,r=G(e),l,f;typeof r.filter=="function"?(f=r.filter,i=f("",i)):v(r.filter)&&(f=r.filter,l=f);var u=[];if(typeof i!="object"||i===null)return"";var c;e&&e.arrayFormat in H?c=e.arrayFormat:e&&"indices"in e?c=e.indices?"indices":"repeat":c="indices";var h=H[c];l||(l=Object.keys(i)),r.sort&&l.sort(r.sort);for(var m=0;m<l.length;++m){var d=l[m];r.skipNulls&&i[d]===null||F(u,C(i[d],d,h,r.strictNullHandling,r.skipNulls,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset))}var s=u.join(r.delimiter),o=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?o+="utf8=%26%2310003%3B&":o+="utf8=%E2%9C%93&"),s.length>0?o+s:""};exports.stringify_1=U;
2
2
  //# sourceMappingURL=index.cjs426.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs489.js");var h=O.utils,v=Object.prototype.hasOwnProperty,w=Array.isArray,l={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:h.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},j=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},b=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},N="utf8=%26%2310003%3B",S="utf8=%E2%9C%93",P=function(e,r){var n={},u=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=r.parameterLimit===1/0?void 0:r.parameterLimit,i=u.split(r.delimiter,d),f=-1,a,c=r.charset;if(r.charsetSentinel)for(a=0;a<i.length;++a)i[a].indexOf("utf8=")===0&&(i[a]===S?c="utf-8":i[a]===N&&(c="iso-8859-1"),f=a,a=i.length);for(a=0;a<i.length;++a)if(a!==f){var s=i[a],p=s.indexOf("]="),o=p===-1?s.indexOf("="):p+1,y,m;o===-1?(y=r.decoder(s,l.decoder,c,"key"),m=r.strictNullHandling?null:""):(y=r.decoder(s.slice(0,o),l.decoder,c,"key"),m=h.maybeMap(b(s.slice(o+1),r),function(g){return r.decoder(g,l.decoder,c,"value")})),m&&r.interpretNumericEntities&&c==="iso-8859-1"&&(m=j(m)),s.indexOf("[]=")>-1&&(m=w(m)?[m]:m),v.call(n,y)?n[y]=h.combine(n[y],m):n[y]=m}return n},L=function(t,e,r,n){for(var u=n?e:b(e,r),d=t.length-1;d>=0;--d){var i,f=t[d];if(f==="[]"&&r.parseArrays)i=[].concat(u);else{i=r.plainObjects?Object.create(null):{};var a=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,c=parseInt(a,10);!r.parseArrays&&a===""?i={0:u}:!isNaN(c)&&f!==a&&String(c)===a&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[],i[c]=u):a!=="__proto__"&&(i[a]=u)}u=i}return u},A=function(e,r,n,u){if(e){var d=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,a=n.depth>0&&i.exec(d),c=a?d.slice(0,a.index):d,s=[];if(c){if(!n.plainObjects&&v.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}for(var p=0;n.depth>0&&(a=f.exec(d))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&v.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+d.slice(a.index)+"]"),L(s,r,n,u)}},x=function(e){if(!e)return l;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?l.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?l.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:l.allowPrototypes,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:l.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:l.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:l.comma,decoder:typeof e.decoder=="function"?e.decoder:l.decoder,delimiter:typeof e.delimiter=="string"||h.isRegExp(e.delimiter)?e.delimiter:l.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:l.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:l.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:l.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:l.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:l.strictNullHandling}},E=function(t,e){var r=x(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?P(t,r):t,u=r.plainObjects?Object.create(null):{},d=Object.keys(n),i=0;i<d.length;++i){var f=d[i],a=A(f,n[f],r,typeof t=="string");u=h.merge(u,a,r)}return h.compact(u)};exports.parse=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const O=require("./index.cjs490.js");var h=O.utils,v=Object.prototype.hasOwnProperty,w=Array.isArray,l={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:h.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},j=function(t){return t.replace(/&#(\d+);/g,function(e,r){return String.fromCharCode(parseInt(r,10))})},b=function(t,e){return t&&typeof t=="string"&&e.comma&&t.indexOf(",")>-1?t.split(","):t},N="utf8=%26%2310003%3B",S="utf8=%E2%9C%93",P=function(e,r){var n={},u=r.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=r.parameterLimit===1/0?void 0:r.parameterLimit,i=u.split(r.delimiter,d),f=-1,a,c=r.charset;if(r.charsetSentinel)for(a=0;a<i.length;++a)i[a].indexOf("utf8=")===0&&(i[a]===S?c="utf-8":i[a]===N&&(c="iso-8859-1"),f=a,a=i.length);for(a=0;a<i.length;++a)if(a!==f){var s=i[a],p=s.indexOf("]="),o=p===-1?s.indexOf("="):p+1,y,m;o===-1?(y=r.decoder(s,l.decoder,c,"key"),m=r.strictNullHandling?null:""):(y=r.decoder(s.slice(0,o),l.decoder,c,"key"),m=h.maybeMap(b(s.slice(o+1),r),function(g){return r.decoder(g,l.decoder,c,"value")})),m&&r.interpretNumericEntities&&c==="iso-8859-1"&&(m=j(m)),s.indexOf("[]=")>-1&&(m=w(m)?[m]:m),v.call(n,y)?n[y]=h.combine(n[y],m):n[y]=m}return n},L=function(t,e,r,n){for(var u=n?e:b(e,r),d=t.length-1;d>=0;--d){var i,f=t[d];if(f==="[]"&&r.parseArrays)i=[].concat(u);else{i=r.plainObjects?Object.create(null):{};var a=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,c=parseInt(a,10);!r.parseArrays&&a===""?i={0:u}:!isNaN(c)&&f!==a&&String(c)===a&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(i=[],i[c]=u):a!=="__proto__"&&(i[a]=u)}u=i}return u},A=function(e,r,n,u){if(e){var d=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/,f=/(\[[^[\]]*])/g,a=n.depth>0&&i.exec(d),c=a?d.slice(0,a.index):d,s=[];if(c){if(!n.plainObjects&&v.call(Object.prototype,c)&&!n.allowPrototypes)return;s.push(c)}for(var p=0;n.depth>0&&(a=f.exec(d))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&v.call(Object.prototype,a[1].slice(1,-1))&&!n.allowPrototypes)return;s.push(a[1])}return a&&s.push("["+d.slice(a.index)+"]"),L(s,r,n,u)}},x=function(e){if(!e)return l;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof e.charset>"u"?l.charset:e.charset;return{allowDots:typeof e.allowDots>"u"?l.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:l.allowPrototypes,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:l.arrayLimit,charset:r,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:l.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:l.comma,decoder:typeof e.decoder=="function"?e.decoder:l.decoder,delimiter:typeof e.delimiter=="string"||h.isRegExp(e.delimiter)?e.delimiter:l.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:l.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:l.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:l.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:l.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:l.strictNullHandling}},E=function(t,e){var r=x(e);if(t===""||t===null||typeof t>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof t=="string"?P(t,r):t,u=r.plainObjects?Object.create(null):{},d=Object.keys(n),i=0;i<d.length;++i){var f=d[i],a=A(f,n[f],r,typeof t=="string");u=h.merge(u,a,r)}return h.compact(u)};exports.parse=E;
2
2
  //# sourceMappingURL=index.cjs427.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";function n(t){return function(r){return r==null?void 0:r[t]}}module.exports=n;
2
2
  //# sourceMappingURL=index.cjs429.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs429.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"index.cjs429.js","sources":["../../../node_modules/underscore/modules/_shallowProperty.js"],"sourcesContent":["// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n return function(obj) {\n return obj == null ? void 0 : obj[key];\n };\n}\n"],"names":["shallowProperty","key","obj"],"mappings":"aACA,SAAwBA,EAAgBC,EAAK,CAC3C,OAAO,SAASC,EAAK,CACnB,OAAOA,GAAO,KAAO,OAASA,EAAID,CAAG,CAAA,CAEzC","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";const e=require("./index.cjs491.js"),i=require("./index.cjs492.js");function o(t){var r=i(t,"string");return e(r)=="symbol"?r:String(r)}module.exports=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
2
2
  //# sourceMappingURL=index.cjs430.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs430.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nimport toPrimitive from \"./toPrimitive.js\";\nexport default function toPropertyKey(t) {\n var i = toPrimitive(t, \"string\");\n return \"symbol\" == _typeof(i) ? i : String(i);\n}"],"names":["toPropertyKey","i","toPrimitive","_typeof"],"mappings":"iFAEA,SAAwBA,EAAc,EAAG,CACnC,IAAAC,EAAIC,EAAY,EAAG,QAAQ,EAC/B,OAAmBC,EAAQF,CAAC,GAArB,SAAyBA,EAAI,OAAOA,CAAC,CAC9C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs430.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs490.js"),_=require("./index.cjs384.js");var s;function a(){return s||(s=1,function(r){var i=_.__require().default;function v(e,o){if(i(e)!="object"||!e)return e;var u=e[Symbol.toPrimitive];if(u!==void 0){var n=u.call(e,o||"default");if(i(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}r.exports=v,r.exports.__esModule=!0,r.exports.default=r.exports}(t.__module)),t.__module.exports}exports.__require=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index.cjs491.js"),_=require("./index.cjs384.js");var s;function a(){return s||(s=1,function(r){var i=_.__require().default;function v(e,o){if(i(e)!="object"||!e)return e;var u=e[Symbol.toPrimitive];if(u!==void 0){var n=u.call(e,o||"default");if(i(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(e)}r.exports=v,r.exports.__esModule=!0,r.exports.default=r.exports}(t.__module)),t.__module.exports}exports.__require=a;
2
2
  //# sourceMappingURL=index.cjs432.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
2
2
  //# sourceMappingURL=index.cjs433.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs493.js");var o;function s(){return o||(o=1,function(r){function i(t){if(Array.isArray(t))return t}r.exports=i,r.exports.__esModule=!0,r.exports.default=r.exports}(e.__module)),e.__module.exports}exports.__require=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs151.js"),i=require("./index.cjs503.js"),p=require("./index.cjs504.js"),v=require("./index.cjs380.js");var l;function m(){if(l)return i.__exports;l=1;var a=s.commonjsGlobal&&s.commonjsGlobal.__assign||function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},a.apply(this,arguments)},c=s.commonjsGlobal&&s.commonjsGlobal.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,o)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),h=s.commonjsGlobal&&s.commonjsGlobal.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),d=s.commonjsGlobal&&s.commonjsGlobal.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&c(e,t,r);return h(e,t),e};Object.defineProperty(i.__exports,"__esModule",{value:!0});var f=d(p.__require()),u=v.__require(),g=function(){function t(e){var r=this;this.nodes=e.nodes||[],this.nodes=this.nodes.map(function(n){return r.setDefaultPathInNode(n)}).map(function(n){return r.setDefaultPortInNode(n)}).map(function(n){return a({},n)}),e.randomizeNodes==null&&(e.randomizeNodes=!0),e.randomizeNodes===!0&&this.shuffleArray(this.nodes),this.nearestNode=e.nearestNode,this.nearestNode=this.setDefaultPathInNode(this.nearestNode),this.nearestNode=this.setDefaultPortInNode(this.nearestNode),this.connectionTimeoutSeconds=e.connectionTimeoutSeconds||e.timeoutSeconds||5,this.healthcheckIntervalSeconds=e.healthcheckIntervalSeconds||60,this.numRetries=e.numRetries||this.nodes.length+(this.nearestNode==null?0:1)||3,this.retryIntervalSeconds=e.retryIntervalSeconds||.1,this.apiKey=e.apiKey,this.sendApiKeyAsQueryParam=e.sendApiKeyAsQueryParam,this.cacheSearchResultsForSeconds=e.cacheSearchResultsForSeconds||0,this.useServerSideSearchCache=e.useServerSideSearchCache||!1,this.logger=e.logger||f,this.logLevel=e.logLevel||"warn",this.logger.setLevel(this.logLevel),this.additionalHeaders=e.additionalHeaders,this.showDeprecationWarnings(e),this.validate()}return t.prototype.validate=function(){if(this.nodes==null||this.nodes.length===0||this.validateNodes())throw new u.MissingConfigurationError("Ensure that nodes[].protocol, nodes[].host and nodes[].port are set");if(this.nearestNode!=null&&this.isNodeMissingAnyParameters(this.nearestNode))throw new u.MissingConfigurationError("Ensure that nearestNodes.protocol, nearestNodes.host and nearestNodes.port are set");if(this.apiKey==null)throw new u.MissingConfigurationError("Ensure that apiKey is set");return!0},t.prototype.validateNodes=function(){var e=this;return this.nodes.some(function(r){return e.isNodeMissingAnyParameters(r)})},t.prototype.isNodeMissingAnyParameters=function(e){return!["protocol","host","port","path"].every(function(r){return e.hasOwnProperty(r)})&&e.url==null},t.prototype.setDefaultPathInNode=function(e){return e!=null&&!e.hasOwnProperty("path")&&(e.path=""),e},t.prototype.setDefaultPortInNode=function(e){if(e!=null&&!e.hasOwnProperty("port")&&e.hasOwnProperty("protocol"))switch(e.protocol){case"https":e.port=443;break;case"http":e.port=80;break}return e},t.prototype.showDeprecationWarnings=function(e){e.timeoutSeconds&&this.logger.warn("Deprecation warning: timeoutSeconds is now renamed to connectionTimeoutSeconds"),e.masterNode&&this.logger.warn("Deprecation warning: masterNode is now consolidated to nodes, starting with Typesense Server v0.12"),e.readReplicaNodes&&this.logger.warn("Deprecation warning: readReplicaNodes is now consolidated to nodes, starting with Typesense Server v0.12")},t.prototype.shuffleArray=function(e){for(var r,n=e.length-1;n>0;n--){var o=Math.floor(Math.random()*(n+1));r=[e[o],e[n]],e[n]=r[0],e[o]=r[1]}},t}();return i.__exports.default=g,i.__exports}exports.__require=m;
2
2
  //# sourceMappingURL=index.cjs434.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs434.js","sources":["../../../node_modules/@babel/runtime/helpers/arrayWithHoles.js"],"sourcesContent":["function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n}\nmodule.exports = _arrayWithHoles, module.exports.__esModule = true, module.exports[\"default\"] = module.exports;"],"names":["_arrayWithHoles","arr","module"],"mappings":"mKAAA,SAASA,EAAgBC,EAAK,CACxB,GAAA,MAAM,QAAQA,CAAG,EAAU,OAAAA,CACjC,CACAC,EAAA,QAAiBF,EAAiBE,EAA4B,QAAA,WAAA,GAAMA,EAAO,QAAQ,QAAaA,EAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.cjs434.js","sources":["../../../node_modules/typesense/lib/Typesense/Configuration.js"],"sourcesContent":["\"use strict\";\nvar __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger = __importStar(require(\"loglevel\"));\nvar Errors_1 = require(\"./Errors\");\nvar Configuration = /** @class */ (function () {\n function Configuration(options) {\n var _this = this;\n this.nodes = options.nodes || [];\n this.nodes = this.nodes\n .map(function (node) { return _this.setDefaultPathInNode(node); })\n .map(function (node) { return _this.setDefaultPortInNode(node); })\n .map(function (node) { return (__assign({}, node)); }); // Make a deep copy\n if (options.randomizeNodes == null) {\n options.randomizeNodes = true;\n }\n if (options.randomizeNodes === true) {\n this.shuffleArray(this.nodes);\n }\n this.nearestNode = options.nearestNode;\n this.nearestNode = this.setDefaultPathInNode(this.nearestNode);\n this.nearestNode = this.setDefaultPortInNode(this.nearestNode);\n this.connectionTimeoutSeconds =\n options.connectionTimeoutSeconds || options.timeoutSeconds || 5;\n this.healthcheckIntervalSeconds = options.healthcheckIntervalSeconds || 60;\n this.numRetries =\n options.numRetries ||\n this.nodes.length + (this.nearestNode == null ? 0 : 1) ||\n 3;\n this.retryIntervalSeconds = options.retryIntervalSeconds || 0.1;\n this.apiKey = options.apiKey;\n this.sendApiKeyAsQueryParam = options.sendApiKeyAsQueryParam; // We will set a default for this in Client and SearchClient\n this.cacheSearchResultsForSeconds =\n options.cacheSearchResultsForSeconds || 0; // Disable client-side cache by default\n this.useServerSideSearchCache = options.useServerSideSearchCache || false;\n this.logger = options.logger || logger;\n this.logLevel = options.logLevel || \"warn\";\n this.logger.setLevel(this.logLevel);\n this.additionalHeaders = options.additionalHeaders;\n this.showDeprecationWarnings(options);\n this.validate();\n }\n Configuration.prototype.validate = function () {\n if (this.nodes == null || this.nodes.length === 0 || this.validateNodes()) {\n throw new Errors_1.MissingConfigurationError(\"Ensure that nodes[].protocol, nodes[].host and nodes[].port are set\");\n }\n if (this.nearestNode != null &&\n this.isNodeMissingAnyParameters(this.nearestNode)) {\n throw new Errors_1.MissingConfigurationError(\"Ensure that nearestNodes.protocol, nearestNodes.host and nearestNodes.port are set\");\n }\n if (this.apiKey == null) {\n throw new Errors_1.MissingConfigurationError(\"Ensure that apiKey is set\");\n }\n return true;\n };\n Configuration.prototype.validateNodes = function () {\n var _this = this;\n return this.nodes.some(function (node) {\n return _this.isNodeMissingAnyParameters(node);\n });\n };\n Configuration.prototype.isNodeMissingAnyParameters = function (node) {\n return (![\"protocol\", \"host\", \"port\", \"path\"].every(function (key) {\n return node.hasOwnProperty(key);\n }) && node[\"url\"] == null);\n };\n Configuration.prototype.setDefaultPathInNode = function (node) {\n if (node != null && !node.hasOwnProperty(\"path\")) {\n node[\"path\"] = \"\";\n }\n return node;\n };\n Configuration.prototype.setDefaultPortInNode = function (node) {\n if (node != null &&\n !node.hasOwnProperty(\"port\") &&\n node.hasOwnProperty(\"protocol\")) {\n switch (node[\"protocol\"]) {\n case \"https\":\n node[\"port\"] = 443;\n break;\n case \"http\":\n node[\"port\"] = 80;\n break;\n }\n }\n return node;\n };\n Configuration.prototype.showDeprecationWarnings = function (options) {\n if (options.timeoutSeconds) {\n this.logger.warn(\"Deprecation warning: timeoutSeconds is now renamed to connectionTimeoutSeconds\");\n }\n if (options.masterNode) {\n this.logger.warn(\"Deprecation warning: masterNode is now consolidated to nodes, starting with Typesense Server v0.12\");\n }\n if (options.readReplicaNodes) {\n this.logger.warn(\"Deprecation warning: readReplicaNodes is now consolidated to nodes, starting with Typesense Server v0.12\");\n }\n };\n Configuration.prototype.shuffleArray = function (array) {\n var _a;\n for (var i = array.length - 1; i > 0; i--) {\n var j = Math.floor(Math.random() * (i + 1));\n _a = [array[j], array[i]], array[i] = _a[0], array[j] = _a[1];\n }\n };\n return Configuration;\n}());\nexports.default = Configuration;\n//# sourceMappingURL=Configuration.js.map"],"names":["__assign","this","s","i","p","__createBinding","o","m","k","k2","desc","__setModuleDefault","v","__importStar","mod","result","Configuration_1","logger","require$$0","Errors_1","require$$1","Configuration","options","_this","node","key","array","_a","j"],"mappings":"iQACA,IAAIA,EAAYC,EAAAA,gBAAQA,EAAK,eAAA,UAAa,UAAY,CACvC,OAAAD,EAAA,OAAO,QAAU,SAAS,EAAG,CAC3B,QAAAE,EAAGC,EAAI,EAAG,EAAI,UAAU,OAAQA,EAAI,EAAGA,IAAK,CACjDD,EAAI,UAAUC,CAAC,EACf,QAASC,KAAKF,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGE,CAAC,IACxD,EAAAA,CAAC,EAAIF,EAAEE,CAAC,EAClB,CACO,OAAA,CAAA,EAEJJ,EAAS,MAAM,KAAM,SAAS,CACzC,EACIK,EAAmBJ,EAAAA,gBAAQA,EAAA,eAAK,kBAAqB,OAAO,OAAU,SAASK,EAAGC,EAAGC,EAAGC,EAAI,CACxFA,IAAO,SAAgBA,EAAAD,GAC3B,IAAIE,EAAO,OAAO,yBAAyBH,EAAGC,CAAC,GAC3C,CAACE,IAAS,QAASA,EAAO,CAACH,EAAE,WAAaG,EAAK,UAAYA,EAAK,iBAClEA,EAAO,CAAE,WAAY,GAAM,IAAK,UAAW,CAAE,OAAOH,EAAEC,CAAC,CAAA,IAElD,OAAA,eAAeF,EAAGG,EAAIC,CAAI,CACrC,EAAM,SAASJ,EAAGC,EAAGC,EAAGC,EAAI,CACpBA,IAAO,SAAgBA,EAAAD,GACzBF,EAAAG,CAAE,EAAIF,EAAEC,CAAC,CACf,GACIG,EAAsBV,kBAAQA,iBAAK,qBAAwB,OAAO,OAAU,SAASK,EAAGM,EAAG,CACpF,OAAA,eAAeN,EAAG,UAAW,CAAE,WAAY,GAAM,MAAOM,EAAG,CACtE,EAAK,SAASN,EAAGM,EAAG,CAChBN,EAAE,QAAaM,CACnB,GACIC,EAAgBZ,EAAA,gBAAQA,EAAK,eAAA,cAAiB,SAAUa,EAAK,CAC7D,GAAIA,GAAOA,EAAI,WAAmB,OAAAA,EAClC,IAAIC,EAAS,CAAA,EACb,GAAID,GAAO,KAAM,QAASN,KAAKM,EAASN,IAAM,WAAa,OAAO,UAAU,eAAe,KAAKM,EAAKN,CAAC,GAAmBH,EAAAU,EAAQD,EAAKN,CAAC,EACvI,OAAAG,EAAmBI,EAAQD,CAAG,EACvBC,CACX,EACA,OAAO,eAAeC,YAAS,aAAc,CAAE,MAAO,GAAM,EAC5D,IAAIC,EAASJ,EAAaK,EAAA,UAAA,CAAmB,EACzCC,EAAWC,EAAAA,YACXC,EAA+B,UAAY,CAC3C,SAASA,EAAcC,EAAS,CAC5B,IAAIC,EAAQ,KACP,KAAA,MAAQD,EAAQ,OAAS,CAAA,EAC9B,KAAK,MAAQ,KAAK,MACb,IAAI,SAAUE,EAAM,CAAS,OAAAD,EAAM,qBAAqBC,CAAI,CAAA,CAAI,EAChE,IAAI,SAAUA,EAAM,CAAS,OAAAD,EAAM,qBAAqBC,CAAI,CAAA,CAAI,EAChE,IAAI,SAAUA,EAAM,CAAU,OAAAxB,EAAS,GAAIwB,CAAI,CAAA,CAAK,EACrDF,EAAQ,gBAAkB,OAC1BA,EAAQ,eAAiB,IAEzBA,EAAQ,iBAAmB,IACtB,KAAA,aAAa,KAAK,KAAK,EAEhC,KAAK,YAAcA,EAAQ,YAC3B,KAAK,YAAc,KAAK,qBAAqB,KAAK,WAAW,EAC7D,KAAK,YAAc,KAAK,qBAAqB,KAAK,WAAW,EAC7D,KAAK,yBACDA,EAAQ,0BAA4BA,EAAQ,gBAAkB,EAC7D,KAAA,2BAA6BA,EAAQ,4BAA8B,GACnE,KAAA,WACDA,EAAQ,YACJ,KAAK,MAAM,QAAU,KAAK,aAAe,KAAO,EAAI,IACpD,EACH,KAAA,qBAAuBA,EAAQ,sBAAwB,GAC5D,KAAK,OAASA,EAAQ,OACtB,KAAK,uBAAyBA,EAAQ,uBACjC,KAAA,6BACDA,EAAQ,8BAAgC,EACvC,KAAA,yBAA2BA,EAAQ,0BAA4B,GAC/D,KAAA,OAASA,EAAQ,QAAUL,EAC3B,KAAA,SAAWK,EAAQ,UAAY,OAC/B,KAAA,OAAO,SAAS,KAAK,QAAQ,EAClC,KAAK,kBAAoBA,EAAQ,kBACjC,KAAK,wBAAwBA,CAAO,EACpC,KAAK,SAAS,CAClB,CACAD,OAAAA,EAAc,UAAU,SAAW,UAAY,CACvC,GAAA,KAAK,OAAS,MAAQ,KAAK,MAAM,SAAW,GAAK,KAAK,gBAChD,MAAA,IAAIF,EAAS,0BAA0B,qEAAqE,EAEtH,GAAI,KAAK,aAAe,MACpB,KAAK,2BAA2B,KAAK,WAAW,EAC1C,MAAA,IAAIA,EAAS,0BAA0B,oFAAoF,EAEjI,GAAA,KAAK,QAAU,KACT,MAAA,IAAIA,EAAS,0BAA0B,2BAA2B,EAErE,MAAA,EAAA,EAEXE,EAAc,UAAU,cAAgB,UAAY,CAChD,IAAIE,EAAQ,KACZ,OAAO,KAAK,MAAM,KAAK,SAAUC,EAAM,CAC5B,OAAAD,EAAM,2BAA2BC,CAAI,CAAA,CAC/C,CAAA,EAELH,EAAc,UAAU,2BAA6B,SAAUG,EAAM,CACzD,MAAA,CAAC,CAAC,WAAY,OAAQ,OAAQ,MAAM,EAAE,MAAM,SAAUC,EAAK,CACxD,OAAAD,EAAK,eAAeC,CAAG,CACjC,CAAA,GAAKD,EAAK,KAAU,IAAA,EAEzBH,EAAc,UAAU,qBAAuB,SAAUG,EAAM,CAC3D,OAAIA,GAAQ,MAAQ,CAACA,EAAK,eAAe,MAAM,IAC3CA,EAAK,KAAU,IAEZA,CAAA,EAEXH,EAAc,UAAU,qBAAuB,SAAUG,EAAM,CACvD,GAAAA,GAAQ,MACR,CAACA,EAAK,eAAe,MAAM,GAC3BA,EAAK,eAAe,UAAU,EACtB,OAAAA,EAAK,SAAa,CACtB,IAAK,QACDA,EAAK,KAAU,IACf,MACJ,IAAK,OACDA,EAAK,KAAU,GACf,KACR,CAEG,OAAAA,CAAA,EAEXH,EAAc,UAAU,wBAA0B,SAAUC,EAAS,CAC7DA,EAAQ,gBACH,KAAA,OAAO,KAAK,gFAAgF,EAEjGA,EAAQ,YACH,KAAA,OAAO,KAAK,oGAAoG,EAErHA,EAAQ,kBACH,KAAA,OAAO,KAAK,0GAA0G,CAC/H,EAEJD,EAAc,UAAU,aAAe,SAAUK,EAAO,CAEpD,QADIC,EACKxB,EAAIuB,EAAM,OAAS,EAAGvB,EAAI,EAAGA,IAAK,CACvC,IAAIyB,EAAI,KAAK,MAAM,KAAK,UAAYzB,EAAI,EAAE,EAC1CwB,EAAK,CAACD,EAAME,CAAC,EAAGF,EAAMvB,CAAC,CAAC,EAAGuB,EAAMvB,CAAC,EAAIwB,EAAG,CAAC,EAAGD,EAAME,CAAC,EAAID,EAAG,CAAC,CAChE,CAAA,EAEGN,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 n=require("./index.cjs494.js");var c;function p(){return c||(c=1,function(r){function _(t,o){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var a,f,s,i,u=[],l=!0,y=!1;try{if(s=(e=e.call(t)).next,o===0){if(Object(e)!==e)return;l=!1}else for(;!(l=(a=s.call(e)).done)&&(u.push(a.value),u.length!==o);l=!0);}catch(b){y=!0,f=b}finally{try{if(!l&&e.return!=null&&(i=e.return(),Object(i)!==i))return}finally{if(y)throw f}}return u}}r.exports=_,r.exports.__esModule=!0,r.exports.default=r.exports}(n.__module)),n.__module.exports}exports.__require=p;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const x=require("./index.cjs151.js"),T=require("./index.cjs505.js"),X=require("./index.cjs506.js"),V=require("./index.cjs380.js"),Z=require("./index.cjs462.js");var L;function ee(){if(L)return T.__exports;L=1;var g=x.commonjsGlobal&&x.commonjsGlobal.__awaiter||function(s,t,e,n){function i(o){return o instanceof e?o:new e(function(u){u(o)})}return new(e||(e=Promise))(function(o,u){function d(c){try{r(n.next(c))}catch(_){u(_)}}function h(c){try{r(n.throw(c))}catch(_){u(_)}}function r(c){c.done?o(c.value):i(c.value).then(d,h)}r((n=n.apply(s,t||[])).next())})},p=x.commonjsGlobal&&x.commonjsGlobal.__generator||function(s,t){var e={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,u;return u={next:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function d(r){return function(c){return h([r,c])}}function h(r){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(o=r[0]&2?i.return:r[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,r[1])).done)return o;switch(i=0,o&&(r=[r[0]&2,o.value]),r[0]){case 0:case 1:o=r;break;case 4:return e.label++,{value:r[1],done:!1};case 5:e.label++,i=r[1],r=[0];continue;case 7:r=e.ops.pop(),e.trys.pop();continue;default:if(o=e.trys,!(o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){e=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){e.label=r[1];break}if(r[0]===6&&e.label<o[1]){e.label=o[1],o=r;break}if(o&&e.label<o[2]){e.label=o[2],e.ops.push(r);break}o[2]&&e.ops.pop(),e.trys.pop();continue}r=t.call(s,e)}catch(c){r=[6,c],i=0}finally{n=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}},I=x.commonjsGlobal&&x.commonjsGlobal.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(T.__exports,"__esModule",{value:!0});var O=I(X.__require()),y=V.__require(),J=I(Z.__require()),P="X-TYPESENSE-API-KEY",E=!0,Y=!1,Q=function(){function s(t){this.configuration=t,this.apiKey=this.configuration.apiKey,this.nodes=this.configuration.nodes==null?this.configuration.nodes:JSON.parse(JSON.stringify(this.configuration.nodes)),this.nearestNode=this.configuration.nearestNode==null?this.configuration.nearestNode:JSON.parse(JSON.stringify(this.configuration.nearestNode)),this.connectionTimeoutSeconds=this.configuration.connectionTimeoutSeconds,this.healthcheckIntervalSeconds=this.configuration.healthcheckIntervalSeconds,this.numRetriesPerRequest=this.configuration.numRetries,this.retryIntervalSeconds=this.configuration.retryIntervalSeconds,this.sendApiKeyAsQueryParam=this.configuration.sendApiKeyAsQueryParam,this.additionalUserHeaders=this.configuration.additionalHeaders,this.logger=this.configuration.logger,this.initializeMetadataForNodes(),this.currentNodeIndex=-1}return s.prototype.get=function(t,e,n){e===void 0&&(e={});var i=n===void 0?{}:n,o=i.abortSignal,u=o===void 0?null:o,d=i.responseType,h=d===void 0?void 0:d;return g(this,void 0,void 0,function(){return p(this,function(r){return[2,this.performRequest("get",t,{queryParameters:e,abortSignal:u,responseType:h})]})})},s.prototype.delete=function(t,e){return e===void 0&&(e={}),g(this,void 0,void 0,function(){return p(this,function(n){return[2,this.performRequest("delete",t,{queryParameters:e})]})})},s.prototype.post=function(t,e,n,i){return e===void 0&&(e={}),n===void 0&&(n={}),i===void 0&&(i={}),g(this,void 0,void 0,function(){return p(this,function(o){return[2,this.performRequest("post",t,{queryParameters:n,bodyParameters:e,additionalHeaders:i})]})})},s.prototype.put=function(t,e,n){return e===void 0&&(e={}),n===void 0&&(n={}),g(this,void 0,void 0,function(){return p(this,function(i){return[2,this.performRequest("put",t,{queryParameters:n,bodyParameters:e})]})})},s.prototype.patch=function(t,e,n){return e===void 0&&(e={}),n===void 0&&(n={}),g(this,void 0,void 0,function(){return p(this,function(i){return[2,this.performRequest("patch",t,{queryParameters:n,bodyParameters:e})]})})},s.prototype.performRequest=function(t,e,n){var i,o,u,d=n.queryParameters,h=d===void 0?null:d,r=n.bodyParameters,c=r===void 0?null:r,_=n.additionalHeaders,z=_===void 0?{}:_,C=n.abortSignal,N=C===void 0?null:C,D=n.responseType,$=D===void 0?void 0:D,F=n.skipConnectionTimeout,B=F===void 0?!1:F;return g(this,void 0,void 0,function(){var v,U,K,a,S,j;return p(this,function(k){switch(k.label){case 0:this.configuration.validate(),v=Date.now(),this.logger.debug("Request #".concat(v,": Performing ").concat(t.toUpperCase()," request: ").concat(e)),K=function(W){var b,w,f,M,A,l,m;return p(this,function(R){switch(R.label){case 0:if(b=a.getNextNode(v),a.logger.debug("Request #".concat(v,": Attempting ").concat(t.toUpperCase()," request Try #").concat(W," to Node ").concat(b.index)),N&&N.aborted)return[2,{value:Promise.reject(new Error("Request aborted by caller."))}];w=void 0,R.label=1;case 1:return R.trys.push([1,3,5,6]),f={method:t,url:a.uriFor(e,b),headers:Object.assign({},a.defaultHeaders(),z,a.additionalUserHeaders),maxContentLength:1/0,maxBodyLength:1/0,responseType:$,validateStatus:function(H){return H>0},transformResponse:[function(H,q){var G=H;return q!==void 0&&typeof H=="string"&&q["content-type"]&&q["content-type"].startsWith("application/json")&&(G=JSON.parse(H)),G}]},B!==!0&&(f.timeout=a.connectionTimeoutSeconds*1e3),h&&Object.keys(h).length!==0&&(f.params=h),a.sendApiKeyAsQueryParam&&(f.params=f.params||{},f.params["x-typesense-api-key"]=a.apiKey),c&&(typeof c=="string"&&c.length!==0||typeof c=="object"&&Object.keys(c).length!==0)&&(f.data=c),N&&(M=O.default.CancelToken,A=M.source(),w=function(){return A.cancel()},N.addEventListener("abort",w),f.cancelToken=A.token),[4,(0,O.default)(f)];case 2:if(l=R.sent(),l.status>=1&&l.status<=499&&a.setNodeHealthcheck(b,E),a.logger.debug("Request #".concat(v,": Request to Node ").concat(b.index," was made. Response Code was ").concat(l.status,".")),l.status>=200&&l.status<300)return[2,{value:Promise.resolve(l.data)}];if(l.status<500)return[2,{value:Promise.reject(a.customErrorForResponse(l,(i=l.data)===null||i===void 0?void 0:i.message))}];throw a.customErrorForResponse(l,(o=l.data)===null||o===void 0?void 0:o.message);case 3:return m=R.sent(),a.setNodeHealthcheck(b,Y),U=m,a.logger.warn("Request #".concat(v,": Request to Node ").concat(b.index,' failed due to "').concat(m.code," ").concat(m.message).concat(m.response==null?"":" - "+JSON.stringify((u=m.response)===null||u===void 0?void 0:u.data),'"')),a.logger.warn("Request #".concat(v,": Sleeping for ").concat(a.retryIntervalSeconds,"s and then retrying request...")),[4,a.timer(a.retryIntervalSeconds)];case 4:return R.sent(),[3,6];case 5:return N&&w&&N.removeEventListener("abort",w),[7];case 6:return[2]}})},a=this,S=1,k.label=1;case 1:return S<=this.numRetriesPerRequest+1?[5,K(S)]:[3,4];case 2:if(j=k.sent(),typeof j=="object")return[2,j.value];k.label=3;case 3:return S++,[3,1];case 4:return this.logger.debug("Request #".concat(v,": No retries left. Raising last error")),[2,Promise.reject(U)]}})})},s.prototype.getNextNode=function(t){if(t===void 0&&(t=0),this.nearestNode!=null){if(this.logger.debug("Request #".concat(t,": Nodes Health: Node ").concat(this.nearestNode.index," is ").concat(this.nearestNode.isHealthy===!0?"Healthy":"Unhealthy")),this.nearestNode.isHealthy===!0||this.nodeDueForHealthcheck(this.nearestNode,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(this.nearestNode.index)),this.nearestNode;this.logger.debug("Request #".concat(t,": Falling back to individual nodes"))}this.logger.debug("Request #".concat(t,": Nodes Health: ").concat(this.nodes.map(function(i){return"Node ".concat(i.index," is ").concat(i.isHealthy===!0?"Healthy":"Unhealthy")}).join(" || ")));for(var e=this.nodes[0],n=0;n<=this.nodes.length;n++)if(this.currentNodeIndex=(this.currentNodeIndex+1)%this.nodes.length,e=this.nodes[this.currentNodeIndex],e.isHealthy===!0||this.nodeDueForHealthcheck(e,t))return this.logger.debug("Request #".concat(t,": Updated current node to Node ").concat(e.index)),e;return this.logger.debug("Request #".concat(t,": No healthy nodes were found. Returning the next node, Node ").concat(e.index)),e},s.prototype.nodeDueForHealthcheck=function(t,e){e===void 0&&(e=0);var n=Date.now()-t.lastAccessTimestamp>this.healthcheckIntervalSeconds*1e3;return n&&this.logger.debug("Request #".concat(e,": Node ").concat(t.index," has exceeded healtcheckIntervalSeconds of ").concat(this.healthcheckIntervalSeconds,". Adding it back into rotation.")),n},s.prototype.initializeMetadataForNodes=function(){var t=this;this.nearestNode!=null&&(this.nearestNode.index="nearestNode",this.setNodeHealthcheck(this.nearestNode,E)),this.nodes.forEach(function(e,n){e.index=n,t.setNodeHealthcheck(e,E)})},s.prototype.setNodeHealthcheck=function(t,e){t.isHealthy=e,t.lastAccessTimestamp=Date.now()},s.prototype.uriFor=function(t,e){return e.url!=null?"".concat(e.url).concat(t):"".concat(e.protocol,"://").concat(e.host,":").concat(e.port).concat(e.path).concat(t)},s.prototype.defaultHeaders=function(){var t={};return this.sendApiKeyAsQueryParam||(t[P]=this.apiKey),t["Content-Type"]="application/json",t},s.prototype.timer=function(t){return g(this,void 0,void 0,function(){return p(this,function(e){return[2,new Promise(function(n){return setTimeout(n,t*1e3)})]})})},s.prototype.customErrorForResponse=function(t,e){var n="Request failed with HTTP code ".concat(t.status);typeof e=="string"&&e.trim()!==""&&(n+=" | Server said: ".concat(e));var i=new J.default(n);return t.status===400?i=new y.RequestMalformed(n):t.status===401?i=new y.RequestUnauthorized(n):t.status===404?i=new y.ObjectNotFound(n):t.status===409?i=new y.ObjectAlreadyExists(n):t.status===422?i=new y.ObjectUnprocessable(n):t.status>=500&&t.status<=599?i=new y.ServerError(n):i=new y.HTTPError(n),i.httpStatus=t.status,i},s}();return T.__exports.default=Q,T.__exports}exports.__require=ee;
2
2
  //# sourceMappingURL=index.cjs435.js.map