@performant-software/core-data 2.2.4 → 2.2.5-beta.1
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.
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs119.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs120.js.map +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs121.js.map +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js +8 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js +26 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js +1 -8
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js +1 -26
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js +7 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js +1 -7
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs298.js +6 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +6 -1
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs312.js +1 -6
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +6 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +1 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/index.cjs324.js +1 -2
- package/dist/index.cjs324.js.map +1 -1
- package/dist/index.cjs325.js +1 -4
- package/dist/index.cjs325.js.map +1 -1
- package/dist/index.cjs326.js +2 -2
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +4 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +2 -1
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -2
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +2 -6
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -6
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -4
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +4 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +1 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs393.js +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -38
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +2 -1
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +2 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -2
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +38 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -2
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs490.js.map +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs493.js +1 -1
- package/dist/index.cjs493.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs495.js.map +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs497.js.map +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs500.js +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs507.js +7 -1
- package/dist/index.cjs507.js.map +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs508.js.map +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -7
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -1
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs88.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +2 -2
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es108.js +4 -4
- package/dist/index.es116.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es118.js +13 -13
- package/dist/index.es119.js +1 -1
- package/dist/index.es120.js +132 -9
- package/dist/index.es120.js.map +1 -1
- package/dist/index.es121.js +182 -31
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es122.js +11 -133
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +69 -176
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +18 -12
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +10 -79
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +47 -18
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +50 -9
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +501 -43
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +103 -49
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es130.js +76 -494
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +373 -103
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +120 -84
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +654 -351
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +16844 -118
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +146 -673
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +7 -16849
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +181 -143
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +810 -7
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +10069 -187
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es140.js +83 -795
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +16 -10070
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +9 -96
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +34 -16
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +57 -5
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +6 -4
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +13 -24
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +214 -11
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js +195 -56
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js +4 -7
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es150.js +5 -216
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +4 -196
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +24 -3
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +1 -1
- package/dist/index.es155.js +7 -7
- package/dist/index.es159.js +1 -1
- package/dist/index.es160.js +18 -18
- package/dist/index.es177.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es202.js +3 -3
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +2 -2
- package/dist/index.es205.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es216.js +2 -2
- package/dist/index.es217.js +2 -2
- package/dist/index.es218.js +1 -1
- package/dist/index.es222.js +2 -2
- package/dist/index.es225.js +1 -1
- package/dist/index.es229.js +1 -1
- package/dist/index.es232.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +1 -1
- package/dist/index.es243.js +2 -2
- package/dist/index.es244.js +1 -1
- package/dist/index.es245.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es249.js +2 -2
- package/dist/index.es250.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +2 -2
- package/dist/index.es255.js +2 -2
- package/dist/index.es256.js +1 -1
- package/dist/index.es259.js +2 -2
- package/dist/index.es260.js +2 -2
- package/dist/index.es262.js +2 -2
- package/dist/index.es263.js +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es265.js +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +1 -1
- package/dist/index.es268.js +1 -1
- package/dist/index.es269.js +1 -1
- package/dist/index.es275.js +1 -1
- package/dist/index.es276.js +2 -2
- package/dist/index.es277.js +1 -1
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es283.js +1 -1
- package/dist/index.es284.js +1 -1
- package/dist/index.es285.js +1 -1
- package/dist/index.es286.js +1 -1
- package/dist/index.es287.js +2 -2
- package/dist/index.es288.js +1 -1
- package/dist/index.es289.js +4 -4
- package/dist/index.es290.js +2 -2
- package/dist/index.es291.js +6 -6
- package/dist/index.es292.js +2 -2
- package/dist/index.es296.js +3 -3
- package/dist/index.es297.js +3 -3
- package/dist/index.es298.js +39 -3
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +18 -8
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +4 -7
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +8 -261
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +9 -85
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +261 -337
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +85 -12
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +339 -47
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +12 -4
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +47 -4
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es310.js +2 -2
- package/dist/index.es311.js +2 -2
- package/dist/index.es312.js +2 -43
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +2 -13
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +38 -344
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +10 -221
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +344 -34
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +223 -7
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +36 -38
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +7 -18
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es320.js +37 -16
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +16 -7
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +17 -14
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +8 -22
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +13 -129
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +22 -18
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +132 -18
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +17 -16
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +16 -32
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +15 -214
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +34 -5
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +217 -39
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +6 -18
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +10 -11
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +11 -10
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +9 -4
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +5 -12
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +12 -10
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +8 -5
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +5 -3
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +4 -24
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +3 -107
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +3 -16
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +8 -7
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +21 -4
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +22 -4
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +14 -3
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +17 -3
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +5 -8
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +8 -21
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +6 -21
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +19 -11
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +8 -15
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +9 -6
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +4 -9
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +10 -6
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +8 -21
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +22 -9
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +12 -9
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +19 -4
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +4 -11
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +17 -8
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +11 -22
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +3 -11
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +4 -18
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +2 -4
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +320 -16
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +2 -12
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +2 -4
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +2 -5
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +15 -2
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +2 -322
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +2 -2
- package/dist/index.es373.js +48 -2
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +38 -2
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +42 -14
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +2 -2
- package/dist/index.es377.js +16 -2
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +2 -48
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +15 -37
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +15 -42
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +18 -2
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +18 -14
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es384.js +5 -16
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +3 -16
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +22 -16
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +105 -18
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +16 -2
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es391.js +2 -2
- package/dist/index.es393.js +5 -5
- package/dist/index.es394.js +2 -2
- package/dist/index.es396.js +2 -2
- package/dist/index.es397.js +2 -2
- package/dist/index.es398.js +2 -2
- package/dist/index.es407.js +1 -1
- package/dist/index.es408.js +1 -1
- package/dist/index.es410.js +1 -1
- package/dist/index.es413.js +3 -3
- package/dist/index.es417.js +6 -6
- package/dist/index.es418.js +156 -7
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +101 -62
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +16 -54
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +7 -9
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +3 -14
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +8 -60
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +5 -155
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +2 -104
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +2 -17
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +22 -3
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +2 -6
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +94 -6
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +275 -2
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +129 -2
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +159 -87
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +83 -227
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +72 -73
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +82 -117
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +74 -77
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +64 -75
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +39 -55
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +64 -75
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es440.js +58 -58
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +55 -47
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +80 -66
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +77 -66
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +26 -118
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +2 -131
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +14 -121
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +2 -33
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +43 -2
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +39 -17
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +43 -2
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +23 -23
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +35 -35
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +33 -33
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +30 -30
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +31 -31
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +32 -31
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +33 -35
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +2 -43
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +11 -43
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +32 -39
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +21 -2
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +12 -2
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +2 -22
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +2 -2
- package/dist/index.es465.js +8 -6
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +10 -32
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +10 -19
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +2 -12
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +2 -2
- package/dist/index.es470.js +65 -2
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +55 -14
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +9 -12
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +14 -12
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +60 -2
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es481.js +146 -3
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +2 -2
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +2 -109
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +3 -146
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +118 -2
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +9 -118
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +13 -8
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +108 -13
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +2 -3
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +2 -23
- package/dist/index.es490.js.map +1 -1
- package/dist/index.es491.js +2 -3
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js +2 -2
- package/dist/index.es493.js +2 -151
- package/dist/index.es493.js.map +1 -1
- package/dist/index.es494.js +2 -2
- package/dist/index.es495.js +2 -6
- package/dist/index.es495.js.map +1 -1
- package/dist/index.es496.js +2 -2
- package/dist/index.es497.js +2 -148
- package/dist/index.es497.js.map +1 -1
- package/dist/index.es498.js +2 -2
- package/dist/index.es499.js +2 -138
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es501.js +2 -2
- package/dist/index.es502.js +151 -2
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +2 -2
- package/dist/index.es504.js +6 -2
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +2 -2
- package/dist/index.es506.js +2 -2
- package/dist/index.es507.js +225 -2
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es508.js +134 -2
- package/dist/index.es508.js.map +1 -1
- package/dist/index.es509.js +129 -2
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es510.js +134 -2
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +129 -2
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +82 -172
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +2 -134
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +2 -129
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +2 -134
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +2 -129
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +2 -135
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +2 -2
- package/dist/index.es520.js +2 -2
- package/dist/index.es521.js +2 -2
- package/dist/index.es522.js +148 -2
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +2 -2
- package/dist/index.es524.js +2 -2
- package/dist/index.es525.js +2 -2
- package/dist/index.es526.js +131 -2
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +128 -2
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +2 -2
- package/dist/index.es529.js +74 -67
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +2 -128
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +2 -2
- package/dist/index.es533.js +14 -2
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +2 -2
- package/dist/index.es535.js +2 -14
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +2 -2
- package/dist/index.es537.js +2 -2
- package/dist/index.es538.js +4 -2
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +23 -2
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es544.js +2 -23
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +2 -13
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +2 -28
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +2 -5
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +2 -30
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es551.js +30 -2
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +2 -2
- package/dist/index.es553.js +2 -2
- package/dist/index.es554.js +2 -2
- package/dist/index.es555.js +2 -2
- package/dist/index.es556.js +2 -2
- package/dist/index.es557.js +23 -2
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +13 -2
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +28 -2
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es560.js +5 -2
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es58.js +2 -2
- package/dist/index.es59.js +2 -2
- package/dist/index.es60.js +2 -2
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +2 -2
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es72.js +2 -2
- package/dist/index.es73.js +3 -3
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es83.js +1 -1
- package/dist/index.es84.js +8 -8
- package/dist/index.es85.js +14 -14
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es88.js +2 -2
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es94.js +3 -3
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +3 -3
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs487.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs487.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/
|
|
1
|
+
{"version":3,"file":"index.cjs487.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
|
package/dist/index.cjs488.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=39,I=34,A=92,U=47,C=10,i=32,f=12,E=9,u=13,Q=91,z=93,K=40,y=41,F=123,M=125,W=59,Y=42,j=58,q=64,S=/[\t\n\f\r "#'()/;[\\\]{}]/g,O=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,G=/.[\r\n"'(/\\]/,P=/[\da-f]/i;var X=function(w,m={}){let c=w.css.valueOf(),g=m.ignoreErrors,o,e,x,k,d,r,a,L,n,s,N=c.length,t=0,b=[],h=[];function D(){return t}function _(l){throw w.error("Unclosed "+l,t)}function B(){return h.length===0&&t>=N}function H(l){if(h.length)return h.pop();if(t>=N)return;let R=l?l.ignoreUnclosed:!1;switch(o=c.charCodeAt(t),o){case C:case i:case E:case u:case f:{e=t;do e+=1,o=c.charCodeAt(e);while(o===i||o===C||o===E||o===u||o===f);s=["space",c.slice(t,e)],t=e-1;break}case Q:case z:case F:case M:case j:case W:case y:{let T=String.fromCharCode(o);s=[T,T,t];break}case K:{if(L=b.length?b.pop()[1]:"",n=c.charCodeAt(t+1),L==="url"&&n!==p&&n!==I&&n!==i&&n!==C&&n!==E&&n!==f&&n!==u){e=t;do{if(r=!1,e=c.indexOf(")",e+1),e===-1)if(g||R){e=t;break}else _("bracket");for(a=e;c.charCodeAt(a-1)===A;)a-=1,r=!r}while(r);s=["brackets",c.slice(t,e+1),t,e],t=e}else e=c.indexOf(")",t+1),k=c.slice(t,e+1),e===-1||G.test(k)?s=["(","(",t]:(s=["brackets",k,t,e],t=e);break}case p:case I:{x=o===p?"'":'"',e=t;do{if(r=!1,e=c.indexOf(x,e+1),e===-1)if(g||R){e=t+1;break}else _("string");for(a=e;c.charCodeAt(a-1)===A;)a-=1,r=!r}while(r);s=["string",c.slice(t,e+1),t,e],t=e;break}case q:{S.lastIndex=t+1,S.test(c),S.lastIndex===0?e=c.length-1:e=S.lastIndex-2,s=["at-word",c.slice(t,e+1),t,e],t=e;break}case A:{for(e=t,d=!0;c.charCodeAt(e+1)===A;)e+=1,d=!d;if(o=c.charCodeAt(e+1),d&&o!==U&&o!==i&&o!==C&&o!==E&&o!==u&&o!==f&&(e+=1,P.test(c.charAt(e)))){for(;P.test(c.charAt(e+1));)e+=1;c.charCodeAt(e+1)===i&&(e+=1)}s=["word",c.slice(t,e+1),t,e],t=e;break}default:{o===U&&c.charCodeAt(t+1)===Y?(e=c.indexOf("*/",t+2)+1,e===0&&(g||R?e=c.length:_("comment")),s=["comment",c.slice(t,e+1),t,e],t=e):(O.lastIndex=t+1,O.test(c),O.lastIndex===0?e=c.length-1:e=O.lastIndex-2,s=["word",c.slice(t,e+1),t,e],b.push(s),t=e);break}}return t++,s}function v(l){h.push(l)}return{back:v,endOfFile:B,nextToken:H,position:D}};exports.tokenize=X;
|
|
2
2
|
//# sourceMappingURL=index.cjs488.js.map
|
package/dist/index.cjs488.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs488.js","sources":["../../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js"],"sourcesContent":["import _typeof from \"./typeof.js\";\nexport default function toPrimitive(t, r) {\n if (\"object\" != _typeof(t) || !t) return t;\n var e = t[Symbol.toPrimitive];\n if (void 0 !== e) {\n var i = e.call(t, r || \"default\");\n if (\"object\" != _typeof(i)) return i;\n throw new TypeError(\"@@toPrimitive must return a primitive value.\");\n }\n return (\"string\" === r ? String : Number)(t);\n}"],"names":["toPrimitive","t","r","_typeof","e","i"],"mappings":"kDACwB,SAAAA,EAAYC,EAAGC,EAAG,CACxC,GAAgBC,EAAQF,CAAC,GAArB,UAA0B,CAACA,EAAU,OAAAA,EACrC,IAAAG,EAAIH,EAAE,OAAO,WAAW,EAC5B,GAAeG,IAAX,OAAc,CAChB,IAAIC,EAAID,EAAE,KAAKH,EAAGC,GAAK,SAAS,EAC5B,GAAYC,EAAQE,CAAC,GAArB,SAA+B,OAAAA,EAC7B,MAAA,IAAI,UAAU,8CAA8C,CACpE,CACA,OAAqBH,IAAb,SAAiB,OAAS,QAAQD,CAAC,CAC7C","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs488.js","sources":["../../../node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js"],"sourcesContent":["'use strict'\n\nconst SINGLE_QUOTE = \"'\".charCodeAt(0)\nconst DOUBLE_QUOTE = '\"'.charCodeAt(0)\nconst BACKSLASH = '\\\\'.charCodeAt(0)\nconst SLASH = '/'.charCodeAt(0)\nconst NEWLINE = '\\n'.charCodeAt(0)\nconst SPACE = ' '.charCodeAt(0)\nconst FEED = '\\f'.charCodeAt(0)\nconst TAB = '\\t'.charCodeAt(0)\nconst CR = '\\r'.charCodeAt(0)\nconst OPEN_SQUARE = '['.charCodeAt(0)\nconst CLOSE_SQUARE = ']'.charCodeAt(0)\nconst OPEN_PARENTHESES = '('.charCodeAt(0)\nconst CLOSE_PARENTHESES = ')'.charCodeAt(0)\nconst OPEN_CURLY = '{'.charCodeAt(0)\nconst CLOSE_CURLY = '}'.charCodeAt(0)\nconst SEMICOLON = ';'.charCodeAt(0)\nconst ASTERISK = '*'.charCodeAt(0)\nconst COLON = ':'.charCodeAt(0)\nconst AT = '@'.charCodeAt(0)\n\nconst RE_AT_END = /[\\t\\n\\f\\r \"#'()/;[\\\\\\]{}]/g\nconst RE_WORD_END = /[\\t\\n\\f\\r !\"#'():;@[\\\\\\]{}]|\\/(?=\\*)/g\nconst RE_BAD_BRACKET = /.[\\r\\n\"'(/\\\\]/\nconst RE_HEX_ESCAPE = /[\\da-f]/i\n\nmodule.exports = function tokenizer(input, options = {}) {\n let css = input.css.valueOf()\n let ignore = options.ignoreErrors\n\n let code, next, quote, content, escape\n let escaped, escapePos, prev, n, currentToken\n\n let length = css.length\n let pos = 0\n let buffer = []\n let returned = []\n\n function position() {\n return pos\n }\n\n function unclosed(what) {\n throw input.error('Unclosed ' + what, pos)\n }\n\n function endOfFile() {\n return returned.length === 0 && pos >= length\n }\n\n function nextToken(opts) {\n if (returned.length) return returned.pop()\n if (pos >= length) return\n\n let ignoreUnclosed = opts ? opts.ignoreUnclosed : false\n\n code = css.charCodeAt(pos)\n\n switch (code) {\n case NEWLINE:\n case SPACE:\n case TAB:\n case CR:\n case FEED: {\n next = pos\n do {\n next += 1\n code = css.charCodeAt(next)\n } while (\n code === SPACE ||\n code === NEWLINE ||\n code === TAB ||\n code === CR ||\n code === FEED\n )\n\n currentToken = ['space', css.slice(pos, next)]\n pos = next - 1\n break\n }\n\n case OPEN_SQUARE:\n case CLOSE_SQUARE:\n case OPEN_CURLY:\n case CLOSE_CURLY:\n case COLON:\n case SEMICOLON:\n case CLOSE_PARENTHESES: {\n let controlChar = String.fromCharCode(code)\n currentToken = [controlChar, controlChar, pos]\n break\n }\n\n case OPEN_PARENTHESES: {\n prev = buffer.length ? buffer.pop()[1] : ''\n n = css.charCodeAt(pos + 1)\n if (\n prev === 'url' &&\n n !== SINGLE_QUOTE &&\n n !== DOUBLE_QUOTE &&\n n !== SPACE &&\n n !== NEWLINE &&\n n !== TAB &&\n n !== FEED &&\n n !== CR\n ) {\n next = pos\n do {\n escaped = false\n next = css.indexOf(')', next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos\n break\n } else {\n unclosed('bracket')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['brackets', css.slice(pos, next + 1), pos, next]\n\n pos = next\n } else {\n next = css.indexOf(')', pos + 1)\n content = css.slice(pos, next + 1)\n\n if (next === -1 || RE_BAD_BRACKET.test(content)) {\n currentToken = ['(', '(', pos]\n } else {\n currentToken = ['brackets', content, pos, next]\n pos = next\n }\n }\n\n break\n }\n\n case SINGLE_QUOTE:\n case DOUBLE_QUOTE: {\n quote = code === SINGLE_QUOTE ? \"'\" : '\"'\n next = pos\n do {\n escaped = false\n next = css.indexOf(quote, next + 1)\n if (next === -1) {\n if (ignore || ignoreUnclosed) {\n next = pos + 1\n break\n } else {\n unclosed('string')\n }\n }\n escapePos = next\n while (css.charCodeAt(escapePos - 1) === BACKSLASH) {\n escapePos -= 1\n escaped = !escaped\n }\n } while (escaped)\n\n currentToken = ['string', css.slice(pos, next + 1), pos, next]\n pos = next\n break\n }\n\n case AT: {\n RE_AT_END.lastIndex = pos + 1\n RE_AT_END.test(css)\n if (RE_AT_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_AT_END.lastIndex - 2\n }\n\n currentToken = ['at-word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n case BACKSLASH: {\n next = pos\n escape = true\n while (css.charCodeAt(next + 1) === BACKSLASH) {\n next += 1\n escape = !escape\n }\n code = css.charCodeAt(next + 1)\n if (\n escape &&\n code !== SLASH &&\n code !== SPACE &&\n code !== NEWLINE &&\n code !== TAB &&\n code !== CR &&\n code !== FEED\n ) {\n next += 1\n if (RE_HEX_ESCAPE.test(css.charAt(next))) {\n while (RE_HEX_ESCAPE.test(css.charAt(next + 1))) {\n next += 1\n }\n if (css.charCodeAt(next + 1) === SPACE) {\n next += 1\n }\n }\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n\n pos = next\n break\n }\n\n default: {\n if (code === SLASH && css.charCodeAt(pos + 1) === ASTERISK) {\n next = css.indexOf('*/', pos + 2) + 1\n if (next === 0) {\n if (ignore || ignoreUnclosed) {\n next = css.length\n } else {\n unclosed('comment')\n }\n }\n\n currentToken = ['comment', css.slice(pos, next + 1), pos, next]\n pos = next\n } else {\n RE_WORD_END.lastIndex = pos + 1\n RE_WORD_END.test(css)\n if (RE_WORD_END.lastIndex === 0) {\n next = css.length - 1\n } else {\n next = RE_WORD_END.lastIndex - 2\n }\n\n currentToken = ['word', css.slice(pos, next + 1), pos, next]\n buffer.push(currentToken)\n pos = next\n }\n\n break\n }\n }\n\n pos++\n return currentToken\n }\n\n function back(token) {\n returned.push(token)\n }\n\n return {\n back,\n endOfFile,\n nextToken,\n position\n }\n}\n"],"names":["SINGLE_QUOTE","DOUBLE_QUOTE","BACKSLASH","SLASH","NEWLINE","SPACE","FEED","TAB","CR","OPEN_SQUARE","CLOSE_SQUARE","OPEN_PARENTHESES","CLOSE_PARENTHESES","OPEN_CURLY","CLOSE_CURLY","SEMICOLON","ASTERISK","COLON","AT","RE_AT_END","RE_WORD_END","RE_BAD_BRACKET","RE_HEX_ESCAPE","tokenize","input","options","css","ignore","code","next","quote","content","escape","escaped","escapePos","prev","currentToken","length","pos","buffer","returned","position","unclosed","what","endOfFile","nextToken","opts","ignoreUnclosed","controlChar","back","token"],"mappings":"gFAEA,MAAMA,EAAe,GACfC,EAAe,GACfC,EAAY,GACZC,EAAQ,GACRC,EAAU,GACVC,EAAQ,GACRC,EAAO,GACPC,EAAM,EACNC,EAAK,GACLC,EAAc,GACdC,EAAe,GACfC,EAAmB,GACnBC,EAAoB,GACpBC,EAAa,IACbC,EAAc,IACdC,E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AAY,YAAc,EAC5BS,EAAOH,EAAI,OAAS,EAEpBG,EAAOT,EAAY,UAAY,EAGlBgB,EAAA,CAAC,OAAQV,EAAI,MAAMY,EAAKT,EAAO,CAAC,EAAGS,EAAKT,CAAI,EAC3DU,EAAO,KAAKH,CAAY,EAClBE,EAAAT,GAGR,KACF,CACF,CAEA,OAAAS,IACOF,CACT,CAEA,SAASa,EAAKC,EAAO,CACnBV,EAAS,KAAKU,CAAK,CACrB,CAEO,MAAA,CACL,KAAAD,EACA,UAAAL,EACA,UAAAC,EACA,SAAAJ,CAAA,CAEJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs489.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function o(){}exports.noop=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs489.js.map
|
package/dist/index.cjs489.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs489.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs489.js","sources":["../../../node_modules/instantsearch.js/es/lib/utils/noop.js"],"sourcesContent":["export function noop() {}"],"names":["noop"],"mappings":"gFAAO,SAASA,GAAO,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs490.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs490.js.map
|
package/dist/index.cjs490.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs490.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs490.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs491.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs491.js.map
|
package/dist/index.cjs491.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs491.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs491.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs492.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs492.js.map
|
package/dist/index.cjs493.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs493.js.map
|
package/dist/index.cjs493.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs493.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAE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A,GAE5DO,EAAsB,KAAKU,CAAI,EAE3BjB,IAAkBiB,EAClB,QAASiB,KAAanC,EACLA,EAAAmC,CAAS,EAAE,SAEhC,EAIahB,EAAAa,EACb/B,EAAgBA,EAAc,SAAA,EAAa,MAAA,EAE/C,IAAImC,EAAeV,IACfU,GAAgB,OAChBf,EAAYW,EAAeI,CAAY,GAE3C5B,EAAsB,KAAKU,CAAI,CACjC,CAQAjB,EAAgB,IAAIc,EAENd,EAAA,UAAY,SAAmBe,EAAM,CAC/C,GAAK,OAAOA,GAAS,UAAY,OAAOA,GAAS,UAAaA,IAAS,GAC7D,MAAA,IAAI,UAAU,gDAAgD,EAGpE,IAAAqB,EAASrC,EAAegB,CAAI,EAChC,OAAKqB,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs493.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs495.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs495.js.map
|
package/dist/index.cjs495.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs495.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs495.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs497.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs497.js.map
|
package/dist/index.cjs497.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs497.js","sources":["../../../node_modules/typesense/lib/Typesense/RequestWithCache.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultCacheResponseForSeconds = 2 * 60;\nvar defaultMaxSize = 100;\nvar RequestWithCache = /** @class */ (function () {\n function RequestWithCache() {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n }\n RequestWithCache.prototype.clearCache = function () {\n this.responseCache = new Map();\n this.responsePromiseCache = new Map();\n };\n // Todo: should probably be passed a callback instead, or an apiCall instance. Types are messy this way\n RequestWithCache.prototype.perform = function (requestContext, requestFunction, requestFunctionArguments, cacheOptions) {\n return __awaiter(this, void 0, void 0, function () {\n var _a, cacheResponseForSeconds, _b, maxSize, isCacheDisabled, requestFunctionArgumentsJSON, cacheEntry, now, isEntryValid, cachePromiseEntry, isEntryValid, responsePromise, response, isCacheOverMaxSize, oldestEntry, isResponsePromiseCacheOverMaxSize, oldestEntry;\n return __generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n _a = cacheOptions.cacheResponseForSeconds, cacheResponseForSeconds = _a === void 0 ? defaultCacheResponseForSeconds : _a, _b = cacheOptions.maxSize, maxSize = _b === void 0 ? defaultMaxSize : _b;\n isCacheDisabled = cacheResponseForSeconds <= 0 || maxSize <= 0;\n if (isCacheDisabled) {\n return [2 /*return*/, requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false))];\n }\n requestFunctionArgumentsJSON = JSON.stringify(requestFunctionArguments);\n cacheEntry = this.responseCache.get(requestFunctionArgumentsJSON);\n now = Date.now();\n if (cacheEntry) {\n isEntryValid = now - cacheEntry.requestTimestamp < cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n this.responseCache.set(requestFunctionArgumentsJSON, cacheEntry);\n return [2 /*return*/, Promise.resolve(cacheEntry.response)];\n }\n else {\n this.responseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n cachePromiseEntry = this.responsePromiseCache.get(requestFunctionArgumentsJSON);\n if (cachePromiseEntry) {\n isEntryValid = now - cachePromiseEntry.requestTimestamp <\n cacheResponseForSeconds * 1000;\n if (isEntryValid) {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, cachePromiseEntry);\n return [2 /*return*/, cachePromiseEntry.responsePromise];\n }\n else {\n this.responsePromiseCache.delete(requestFunctionArgumentsJSON);\n }\n }\n responsePromise = requestFunction.call.apply(requestFunction, __spreadArray([requestContext], requestFunctionArguments, false));\n this.responsePromiseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n responsePromise: responsePromise,\n });\n return [4 /*yield*/, responsePromise];\n case 1:\n response = _c.sent();\n this.responseCache.set(requestFunctionArgumentsJSON, {\n requestTimestamp: now,\n response: response,\n });\n isCacheOverMaxSize = this.responseCache.size > maxSize;\n if (isCacheOverMaxSize) {\n oldestEntry = this.responseCache.keys().next().value;\n this.responseCache.delete(oldestEntry);\n }\n isResponsePromiseCacheOverMaxSize = this.responsePromiseCache.size > maxSize;\n if (isResponsePromiseCacheOverMaxSize) {\n oldestEntry = this.responsePromiseCache.keys().next().value;\n this.responsePromiseCache.delete(oldestEntry);\n }\n return [2 /*return*/, response];\n }\n });\n });\n };\n return RequestWithCache;\n}());\nexports.default = RequestWithCache;\n//# sourceMappingURL=RequestWithCache.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__spreadArray","to","from","pack","i","l","ar","RequestWithCache_1","defaultCacheResponseForSeconds","defaultMaxSize","RequestWithCache","requestContext","requestFunction","requestFunctionArguments","cacheOptions","_a","cacheResponseForSeconds","_b","maxSize","isCacheDisabled","requestFunctionArgumentsJSON","cacheEntry","now","isEntryValid","cachePromiseEntry","responsePromise","response","isCacheOverMaxSize","oldestEntry","isResponsePromiseCacheOverMaxSize","_c"],"mappings":"mMACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAA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zEO,EACK,YAAA,cAAc,OAAOH,CAA4B,EACjD,KAAA,cAAc,IAAIA,EAA8BC,CAAU,EACxD,CAAC,EAAc,QAAQ,QAAQA,EAAW,QAAQ,CAAC,EAGrD,KAAA,cAAc,OAAOD,CAA4B,CAE9D,CAEA,GADoBI,EAAA,KAAK,qBAAqB,IAAIJ,CAA4B,EAC1EI,EAAmB,CAGnB,GAFeD,EAAAD,EAAME,EAAkB,iBACnCR,EAA0B,IAC1BO,EACK,YAAA,qBAAqB,OAAOH,CAA4B,EACxD,KAAA,qBAAqB,IAAIA,EAA8BI,CAAiB,EACtE,CAAC,EAAcA,EAAkB,eAAe,EAGlD,KAAA,qBAAqB,OAAOJ,CAA4B,CAErE,CACkB,OAAAK,EAAAb,EAAgB,KAAK,MAAMA,EAAiBZ,EAAc,CAACW,CAAc,EAAGE,EAA0B,EAAK,CAAC,EACzH,KAAA,qBAAqB,IAAIO,EAA8B,CACxD,iBAAkBE,EAClB,gBAAAG,CAAA,CACH,EACM,CAAC,EAAaA,CAAe,EACxC,IAAK,GACD,OAAAC,EAAWI,EAAG,OACT,KAAA,cAAc,IAAIV,EAA8B,CACjD,iBAAkBE,EAClB,SAAAI,CAAA,CACH,EACoBC,EAAA,KAAK,cAAc,KAAOT,EAC3CS,IACAC,EAAc,KAAK,cAAc,KAAK,EAAE,KAAO,EAAA,MAC1C,KAAA,cAAc,OAAOA,CAAW,GAELC,EAAA,KAAK,qBAAqB,KAAOX,EACjEW,IACAD,EAAc,KAAK,qBAAqB,KAAK,EAAE,KAAO,EAAA,MACjD,KAAA,qBAAqB,OAAOA,CAAW,GAEzC,CAAC,EAAcF,CAAQ,CACtC,CAAA,CACH,CAAA,CACJ,CAAA,EAEEhB,CAAA,EACT,EACFH,OAAAA,EAAA,UAAA,QAAkBG","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs497.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs498.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs498.js.map
|
package/dist/index.cjs499.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};exports.__exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs499.js.map
|
package/dist/index.cjs499.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs499.js","sources":["../../../node_modules/typesense/lib/Typesense/SearchOnlyDocuments.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchOnlyDocuments = void 0;\nvar RequestWithCache_1 = __importDefault(require(\"./RequestWithCache\"));\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/documents\";\nvar SearchOnlyDocuments = /** @class */ (function () {\n function SearchOnlyDocuments(collectionName, apiCall, configuration) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n this.configuration = configuration;\n this.requestWithCache = new RequestWithCache_1.default();\n }\n SearchOnlyDocuments.prototype.clearCache = function () {\n this.requestWithCache.clearCache();\n };\n SearchOnlyDocuments.prototype.search = function (searchParameters, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.cacheSearchResultsForSeconds, cacheSearchResultsForSeconds = _c === void 0 ? this.configuration\n .cacheSearchResultsForSeconds : _c, _d = _b.abortSignal, abortSignal = _d === void 0 ? null : _d;\n return __awaiter(this, void 0, void 0, function () {\n var additionalQueryParams, key, queryParams;\n return __generator(this, function (_e) {\n additionalQueryParams = {};\n if (this.configuration.useServerSideSearchCache === true) {\n additionalQueryParams[\"use_cache\"] = true;\n }\n for (key in searchParameters) {\n if (Array.isArray(searchParameters[key])) {\n additionalQueryParams[key] = searchParameters[key].join(\",\");\n }\n }\n queryParams = Object.assign({}, searchParameters, additionalQueryParams);\n return [2 /*return*/, this.requestWithCache.perform(this.apiCall, this.apiCall.get, [this.endpointPath(\"search\"), queryParams, { abortSignal: abortSignal }], {\n cacheResponseForSeconds: cacheSearchResultsForSeconds,\n })];\n });\n });\n };\n SearchOnlyDocuments.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(SearchOnlyDocuments, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return SearchOnlyDocuments;\n}());\nexports.SearchOnlyDocuments = SearchOnlyDocuments;\n//# sourceMappingURL=SearchOnlyDocuments.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","f","y","g","verb","n","v","op","__importDefault","mod","SearchOnlyDocuments_1","RequestWithCache_1","require$$0","Collections_1","require$$1","RESOURCEPATH","SearchOnlyDocuments","collectionName","apiCall","configuration","searchParameters","_a","_b","_c","cacheSearchResultsForSeconds","_d","abortSignal","additionalQueryParams","key","queryParams","_e","operation"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAAS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AsBC,CAAG,EAAIR,EAAiBQ,CAAG,EAAE,KAAK,GAAG,GAGnE,OAAAC,EAAc,OAAO,OAAO,CAAC,EAAGT,EAAkBO,CAAqB,EAChE,CAAC,EAAc,KAAK,iBAAiB,QAAQ,KAAK,QAAS,KAAK,QAAQ,IAAK,CAAC,KAAK,aAAa,QAAQ,EAAGE,EAAa,CAAE,YAAAH,CAAA,CAA0B,EAAG,CACtJ,wBAAyBF,CAC5B,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAELR,EAAoB,UAAU,aAAe,SAAUe,EAAW,CAC9D,MAAO,GAAG,OAAOlB,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOE,CAAY,EAAE,OAAOgB,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAE7J,OAAA,eAAef,EAAqB,eAAgB,CACvD,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFN,OAAAA,EAAA,UAAA,oBAA8BM","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs499.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs500.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs500.js.map
|
package/dist/index.cjs501.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs501.js.map
|
package/dist/index.cjs502.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs154.js"),w=require("./index.cjs544.js");var T;function N(){return T||(T=1,function(L){(function(g,i){L.exports?L.exports=i():g.log=i()})(q.commonjsGlobal,function(){var g=function(){},i="undefined",_=typeof window!==i&&typeof window.navigator!==i&&/Trident\/|MSIE /.test(window.navigator.userAgent),p=["trace","debug","info","warn","error"],c={},l=null;function h(o,n){var e=o[n];if(typeof e.bind=="function")return e.bind(o);try{return Function.prototype.bind.call(e,o)}catch{return function(){return Function.prototype.apply.apply(e,[o,arguments])}}}function C(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function R(o){return o==="debug"&&(o="log"),typeof console===i?!1:o==="trace"&&_?C:console[o]!==void 0?h(console,o):console.log!==void 0?h(console,"log"):g}function f(){for(var o=this.getLevel(),n=0;n<p.length;n++){var e=p[n];this[e]=n<o?g:this.methodFactory(e,o,this.name)}if(this.log=this.debug,typeof console===i&&o<this.levels.SILENT)return"No console available for logging"}function S(o){return function(){typeof console!==i&&(f.call(this),this[o].apply(this,arguments))}}function F(o,n,e){return R(o)||S.apply(this,arguments)}function b(o,n){var e=this,v,y,u,s="loglevel";typeof o=="string"?s+=":"+o:typeof o=="symbol"&&(s=void 0);function U(t){var r=(p[t]||"silent").toUpperCase();if(!(typeof window===i||!s)){try{window.localStorage[s]=r;return}catch{}try{window.document.cookie=encodeURIComponent(s)+"="+r+";"}catch{}}}function m(){var t;if(!(typeof window===i||!s)){try{t=window.localStorage[s]}catch{}if(typeof t===i)try{var r=window.document.cookie,d=encodeURIComponent(s),I=r.indexOf(d+"=");I!==-1&&(t=/^([^;]+)/.exec(r.slice(I+d.length+1))[1])}catch{}return e.levels[t]===void 0&&(t=void 0),t}}function x(){if(!(typeof window===i||!s)){try{window.localStorage.removeItem(s)}catch{}try{window.document.cookie=encodeURIComponent(s)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function a(t){var r=t;if(typeof r=="string"&&e.levels[r.toUpperCase()]!==void 0&&(r=e.levels[r.toUpperCase()]),typeof r=="number"&&r>=0&&r<=e.levels.SILENT)return r;throw new TypeError("log.setLevel() called with invalid level: "+t)}e.name=o,e.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},e.methodFactory=n||F,e.getLevel=function(){return u??y??v},e.setLevel=function(t,r){return u=a(t),r!==!1&&U(u),f.call(e)},e.setDefaultLevel=function(t){y=a(t),m()||e.setLevel(t,!1)},e.resetLevel=function(){u=null,x(),f.call(e)},e.enableAll=function(t){e.setLevel(e.levels.TRACE,t)},e.disableAll=function(t){e.setLevel(e.levels.SILENT,t)},e.rebuild=function(){if(l!==e&&(v=a(l.getLevel())),f.call(e),l===e)for(var t in c)c[t].rebuild()},v=a(l?l.getLevel():"WARN");var E=m();E!=null&&(u=a(E)),f.call(e)}l=new b,l.getLogger=function(n){if(typeof n!="symbol"&&typeof n!="string"||n==="")throw new TypeError("You must supply a name when creating a logger.");var e=c[n];return e||(e=c[n]=new b(n,l.methodFactory)),e};var A=typeof window!==i?window.log:void 0;return l.noConflict=function(){return typeof window!==i&&window.log===l&&(window.log=A),l},l.getLoggers=function(){return c},l.default=l,l})}(w.__module)),w.__module.exports}exports.__require=N;
|
|
2
2
|
//# sourceMappingURL=index.cjs502.js.map
|
package/dist/index.cjs502.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs502.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs502.js","sources":["../../../node_modules/loglevel/lib/loglevel.js"],"sourcesContent":["/*\n* loglevel - https://github.com/pimterry/loglevel\n*\n* Copyright (c) 2013 Tim Perry\n* Licensed under the MIT license.\n*/\n(function (root, definition) {\n \"use strict\";\n if (typeof define === 'function' && define.amd) {\n define(definition);\n } else if (typeof module === 'object' && module.exports) {\n module.exports = definition();\n } else {\n root.log = definition();\n }\n}(this, function () {\n \"use strict\";\n\n // Slightly dubious tricks to cut down minimized file size\n var noop = function() {};\n var undefinedType = \"undefined\";\n var isIE = (typeof window !== undefinedType) && (typeof window.navigator !== undefinedType) && (\n /Trident\\/|MSIE /.test(window.navigator.userAgent)\n );\n\n var logMethods = [\n \"trace\",\n \"debug\",\n \"info\",\n \"warn\",\n \"error\"\n ];\n\n var _loggersByName = {};\n var defaultLogger = null;\n\n // Cross-browser bind equivalent that works at least back to IE6\n function bindMethod(obj, methodName) {\n var method = obj[methodName];\n if (typeof method.bind === 'function') {\n return method.bind(obj);\n } else {\n try {\n return Function.prototype.bind.call(method, obj);\n } catch (e) {\n // Missing bind shim or IE8 + Modernizr, fallback to wrapping\n return function() {\n return Function.prototype.apply.apply(method, [obj, arguments]);\n };\n }\n }\n }\n\n // Trace() doesn't print the message in IE, so for that case we need to wrap it\n function traceForIE() {\n if (console.log) {\n if (console.log.apply) {\n console.log.apply(console, arguments);\n } else {\n // In old IE, native console methods themselves don't have apply().\n Function.prototype.apply.apply(console.log, [console, arguments]);\n }\n }\n if (console.trace) console.trace();\n }\n\n // Build the best logging method possible for this env\n // Wherever possible we want to bind, not wrap, to preserve stack traces\n function realMethod(methodName) {\n if (methodName === 'debug') {\n methodName = 'log';\n }\n\n if (typeof console === undefinedType) {\n return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives\n } else if (methodName === 'trace' && isIE) {\n return traceForIE;\n } else if (console[methodName] !== undefined) {\n return bindMethod(console, methodName);\n } else if (console.log !== undefined) {\n return bindMethod(console, 'log');\n } else {\n return noop;\n }\n }\n\n // These private functions always need `this` to be set properly\n\n function replaceLoggingMethods() {\n /*jshint validthis:true */\n var level = this.getLevel();\n\n // Replace the actual methods.\n for (var i = 0; i < logMethods.length; i++) {\n var methodName = logMethods[i];\n this[methodName] = (i < level) ?\n noop :\n this.methodFactory(methodName, level, this.name);\n }\n\n // Define log.log as an alias for log.debug\n this.log = this.debug;\n\n // Return any important warnings.\n if (typeof console === undefinedType && level < this.levels.SILENT) {\n return \"No console available for logging\";\n }\n }\n\n // In old IE versions, the console isn't present until you first open it.\n // We build realMethod() replacements here that regenerate logging methods\n function enableLoggingWhenConsoleArrives(methodName) {\n return function () {\n if (typeof console !== undefinedType) {\n replaceLoggingMethods.call(this);\n this[methodName].apply(this, arguments);\n }\n };\n }\n\n // By default, we use closely bound real methods wherever possible, and\n // otherwise we wait for a console to appear, and then try again.\n function defaultMethodFactory(methodName, _level, _loggerName) {\n /*jshint validthis:true */\n return realMethod(methodName) ||\n enableLoggingWhenConsoleArrives.apply(this, arguments);\n }\n\n function Logger(name, factory) {\n // Private instance variables.\n var self = this;\n /**\n * The level inherited from a parent logger (or a global default). We\n * cache this here rather than delegating to the parent so that it stays\n * in sync with the actual logging methods that we have installed (the\n * parent could change levels but we might not have rebuilt the loggers\n * in this child yet).\n * @type {number}\n */\n var inheritedLevel;\n /**\n * The default level for this logger, if any. If set, this overrides\n * `inheritedLevel`.\n * @type {number|null}\n */\n var defaultLevel;\n /**\n * A user-specific level for this logger. If set, this overrides\n * `defaultLevel`.\n * @type {number|null}\n */\n var userLevel;\n\n var storageKey = \"loglevel\";\n if (typeof name === \"string\") {\n storageKey += \":\" + name;\n } else if (typeof name === \"symbol\") {\n storageKey = undefined;\n }\n\n function persistLevelIfPossible(levelNum) {\n var levelName = (logMethods[levelNum] || 'silent').toUpperCase();\n\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage[storageKey] = levelName;\n return;\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=\" + levelName + \";\";\n } catch (ignore) {}\n }\n\n function getPersistedLevel() {\n var storedLevel;\n\n if (typeof window === undefinedType || !storageKey) return;\n\n try {\n storedLevel = window.localStorage[storageKey];\n } catch (ignore) {}\n\n // Fallback to cookies if local storage gives us nothing\n if (typeof storedLevel === undefinedType) {\n try {\n var cookie = window.document.cookie;\n var cookieName = encodeURIComponent(storageKey);\n var location = cookie.indexOf(cookieName + \"=\");\n if (location !== -1) {\n storedLevel = /^([^;]+)/.exec(\n cookie.slice(location + cookieName.length + 1)\n )[1];\n }\n } catch (ignore) {}\n }\n\n // If the stored level is not valid, treat it as if nothing was stored.\n if (self.levels[storedLevel] === undefined) {\n storedLevel = undefined;\n }\n\n return storedLevel;\n }\n\n function clearPersistedLevel() {\n if (typeof window === undefinedType || !storageKey) return;\n\n // Use localStorage if available\n try {\n window.localStorage.removeItem(storageKey);\n } catch (ignore) {}\n\n // Use session cookie as fallback\n try {\n window.document.cookie =\n encodeURIComponent(storageKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\";\n } catch (ignore) {}\n }\n\n function normalizeLevel(input) {\n var level = input;\n if (typeof level === \"string\" && self.levels[level.toUpperCase()] !== undefined) {\n level = self.levels[level.toUpperCase()];\n }\n if (typeof level === \"number\" && level >= 0 && level <= self.levels.SILENT) {\n return level;\n } else {\n throw new TypeError(\"log.setLevel() called with invalid level: \" + input);\n }\n }\n\n /*\n *\n * Public logger API - see https://github.com/pimterry/loglevel for details\n *\n */\n\n self.name = name;\n\n self.levels = { \"TRACE\": 0, \"DEBUG\": 1, \"INFO\": 2, \"WARN\": 3,\n \"ERROR\": 4, \"SILENT\": 5};\n\n self.methodFactory = factory || defaultMethodFactory;\n\n self.getLevel = function () {\n if (userLevel != null) {\n return userLevel;\n } else if (defaultLevel != null) {\n return defaultLevel;\n } else {\n return inheritedLevel;\n }\n };\n\n self.setLevel = function (level, persist) {\n userLevel = normalizeLevel(level);\n if (persist !== false) { // defaults to true\n persistLevelIfPossible(userLevel);\n }\n\n // NOTE: in v2, this should call rebuild(), which updates children.\n return replaceLoggingMethods.call(self);\n };\n\n self.setDefaultLevel = function (level) {\n defaultLevel = normalizeLevel(level);\n if (!getPersistedLevel()) {\n self.setLevel(level, false);\n }\n };\n\n self.resetLevel = function () {\n userLevel = null;\n clearPersistedLevel();\n replaceLoggingMethods.call(self);\n };\n\n self.enableAll = function(persist) {\n self.setLevel(self.levels.TRACE, persist);\n };\n\n self.disableAll = function(persist) {\n self.setLevel(self.levels.SILENT, persist);\n };\n\n self.rebuild = function () {\n if (defaultLogger !== self) {\n inheritedLevel = normalizeLevel(defaultLogger.getLevel());\n }\n replaceLoggingMethods.call(self);\n\n if (defaultLogger === self) {\n for (var childName in _loggersByName) {\n _loggersByName[childName].rebuild();\n }\n }\n };\n\n // Initialize all the internal levels.\n inheritedLevel = normalizeLevel(\n defaultLogger ? defaultLogger.getLevel() : \"WARN\"\n );\n var initialLevel = getPersistedLevel();\n if (initialLevel != null) {\n userLevel = normalizeLevel(initialLevel);\n }\n replaceLoggingMethods.call(self);\n }\n\n /*\n *\n * Top-level API\n *\n */\n\n defaultLogger = new Logger();\n\n defaultLogger.getLogger = function getLogger(name) {\n if ((typeof name !== \"symbol\" && typeof name !== \"string\") || name === \"\") {\n throw new TypeError(\"You must supply a name when creating a logger.\");\n }\n\n var logger = _loggersByName[name];\n if (!logger) {\n logger = _loggersByName[name] = new Logger(\n name,\n defaultLogger.methodFactory\n );\n }\n return logger;\n };\n\n // Grab the current global log variable in case of overwrite\n var _log = (typeof window !== undefinedType) ? window.log : undefined;\n defaultLogger.noConflict = function() {\n if (typeof window !== undefinedType &&\n window.log === defaultLogger) {\n window.log = _log;\n }\n\n return defaultLogger;\n };\n\n defaultLogger.getLoggers = function getLoggers() {\n return _loggersByName;\n };\n\n // ES6 default export, for compatibility\n defaultLogger['default'] = defaultLogger;\n\n return defaultLogger;\n}));\n"],"names":["root","definition","module","this","noop","undefinedType","isIE","logMethods","_loggersByName","defaultLogger","bindMethod","obj","methodName","method","traceForIE","realMethod","replaceLoggingMethods","level","i","enableLoggingWhenConsoleArrives","defaultMethodFactory","_level","_loggerName","Logger","name","factory","self","inheritedLevel","defaultLevel","userLevel","storageKey","persistLevelIfPossible","levelNum","levelName","getPersistedLevel","storedLevel","cookie","cookieName","location","clearPersistedLevel","normalizeLevel","input","persist","childName","initialLevel","logger","_log"],"mappings":"mMAMC,SAAUA,EAAMC,EAAY,CAIgBC,EAAO,QAC5CA,EAAA,QAAiBD,IAEjBD,EAAK,IAAMC,GAEnB,GAAEE,iBAAM,UAAY,CAIhB,IAAIC,EAAO,UAAW,CAAA,EAClBC,EAAgB,YAChBC,EAAQ,OAAO,SAAWD,GAAmB,OAAO,OAAO,YAAcA,GACzE,kBAAkB,KAAK,OAAO,UAAU,SAAS,EAGjDE,EAAa,CACb,QACA,QACA,OACA,OACA,OAAA,EAGAC,EAAiB,CAAA,EACjBC,EAAgB,KAGX,SAAAC,EAAWC,EAAKC,EAAY,CAC7B,IAAAC,EAASF,EAAIC,CAAU,EACvB,GAAA,OAAOC,EAAO,MAAS,WAChB,OAAAA,EAAO,KAAKF,CAAG,EAElB,GAAA,CACA,OAAO,SAAS,UAAU,KAAK,KAAKE,EAAQF,CAAG,OACvC,CAER,OAAO,UAAW,CACP,OAAA,SAAS,UAAU,MAAM,MAAME,EAAQ,CAACF,EAAK,SAAS,CAAC,CAAA,CAEtE,CAER,CAGA,SAASG,GAAa,CACd,QAAQ,MACJ,QAAQ,IAAI,MACJ,QAAA,IAAI,MAAM,QAAS,SAAS,EAG3B,SAAA,UAAU,MAAM,MAAM,QAAQ,IAAK,CAAC,QAAS,SAAS,CAAC,GAGpE,QAAQ,OAAO,QAAQ,MAAM,CACrC,CAIA,SAASC,EAAWH,EAAY,CAKxB,OAJAA,IAAe,UACFA,EAAA,OAGb,OAAO,UAAYP,EACZ,GACAO,IAAe,SAAWN,EAC1BQ,EACA,QAAQF,CAAU,IAAM,OACxBF,EAAW,QAASE,CAAU,EAC9B,QAAQ,MAAQ,OAChBF,EAAW,QAAS,KAAK,EAEzBN,CAEf,CAIA,SAASY,GAAwB,CAK7B,QAHIC,EAAQ,KAAK,WAGRC,EAAI,EAAGA,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AO,CAAA,EAGvChB,EAAA,WAAa,SAASgB,EAAS,CAChChB,EAAK,SAASA,EAAK,OAAO,OAAQgB,CAAO,CAAA,EAG7ChB,EAAK,QAAU,UAAY,CAMvB,GALIjB,IAAkBiB,IACDC,EAAAa,EAAe/B,EAAc,SAAU,CAAA,GAE5DO,EAAsB,KAAKU,CAAI,EAE3BjB,IAAkBiB,EAClB,QAASiB,KAAanC,EACLA,EAAAmC,CAAS,EAAE,SAEhC,EAIahB,EAAAa,EACb/B,EAAgBA,EAAc,SAAA,EAAa,MAAA,EAE/C,IAAImC,EAAeV,IACfU,GAAgB,OAChBf,EAAYW,EAAeI,CAAY,GAE3C5B,EAAsB,KAAKU,CAAI,CACjC,CAQAjB,EAAgB,IAAIc,EAENd,EAAA,UAAY,SAAmBe,EAAM,CAC/C,GAAK,OAAOA,GAAS,UAAY,OAAOA,GAAS,UAAaA,IAAS,GAC7D,MAAA,IAAI,UAAU,gDAAgD,EAGpE,IAAAqB,EAASrC,EAAegB,CAAI,EAChC,OAAKqB,IACQA,EAAArC,EAAegB,CAAI,EAAI,IAAID,EAChCC,EACAf,EAAc,aAAA,GAGfoC,CAAA,EAIX,IAAIC,EAAQ,OAAO,SAAWzC,EAAiB,OAAO,IAAM,OAC5D,OAAAI,EAAc,WAAa,UAAW,CAClC,OAAI,OAAO,SAAWJ,GACf,OAAO,MAAQI,IAClB,OAAO,IAAMqC,GAGVrC,CAAA,EAGGA,EAAA,WAAa,UAAsB,CACtC,OAAAD,CAAA,EAIXC,EAAc,QAAaA,EAEpBA,CACX,CAAC","x_google_ignoreList":[0]}
|
package/dist/index.cjs504.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e=
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index.cjs551.js");var e,r;function u(){return r||(r=1,e=i.__require()),e}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs504.js.map
|
package/dist/index.cjs504.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs504.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs504.js","sources":["../../../node_modules/axios/index.js"],"sourcesContent":["module.exports = require('./lib/axios');"],"names":["axios","require$$0"],"mappings":"yJAAAA,EAAiBC,EAAqB,UAAA","x_google_ignoreList":[0]}
|
package/dist/index.cjs507.js
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs154.js"),p=require("./index.cjs545.js"),g=require("./index.cjs375.js"),j=require("./index.cjs529.js");var y;function x(){if(y)return p.__exports;y=1;var v=d.commonjsGlobal&&d.commonjsGlobal.__extends||function(){var s=function(o,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},s(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(o,t);function r(){this.constructor=o}o.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}}(),l=d.commonjsGlobal&&d.commonjsGlobal.__awaiter||function(s,o,t,r){function i(n){return n instanceof t?n:new t(function(a){a(n)})}return new(t||(t=Promise))(function(n,a){function c(u){try{e(r.next(u))}catch(m){a(m)}}function h(u){try{e(r.throw(u))}catch(m){a(m)}}function e(u){u.done?n(u.value):i(u.value).then(c,h)}e((r=r.apply(s,o||[])).next())})},f=d.commonjsGlobal&&d.commonjsGlobal.__generator||function(s,o){var t={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,a;return a={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function c(e){return function(u){return h([e,u])}}function h(e){if(r)throw new TypeError("Generator is already executing.");for(;t;)try{if(r=1,i&&(n=e[0]&2?i.return:e[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,e[1])).done)return n;switch(i=0,n&&(e=[e[0]&2,n.value]),e[0]){case 0:case 1:n=e;break;case 4:return t.label++,{value:e[1],done:!1};case 5:t.label++,i=e[1],e=[0];continue;case 7:e=t.ops.pop(),t.trys.pop();continue;default:if(n=t.trys,!(n=n.length>0&&n[n.length-1])&&(e[0]===6||e[0]===2)){t=0;continue}if(e[0]===3&&(!n||e[1]>n[0]&&e[1]<n[3])){t.label=e[1];break}if(e[0]===6&&t.label<n[1]){t.label=n[1],n=e;break}if(n&&t.label<n[2]){t.label=n[2],t.ops.push(e);break}n[2]&&t.ops.pop(),t.trys.pop();continue}e=o.call(s,t)}catch(u){e=[6,u],i=0}finally{r=n=0}if(e[0]&5)throw e[1];return{value:e[0]?e[1]:void 0,done:!0}}};Object.defineProperty(p.__exports,"__esModule",{value:!0});var _=g.__require(),w=j.__require(),b=function(s){v(o,s);function o(t,r,i){return s.call(this,t,r,i)||this}return o.prototype.create=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,r)]})})},o.prototype.upsert=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"upsert"}))]})})},o.prototype.update=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){if(!t)throw new Error("No document provided");return r.filter_by!=null?[2,this.apiCall.patch(this.endpointPath(),t,Object.assign({},r))]:[2,this.apiCall.post(this.endpointPath(),t,Object.assign({},r,{action:"update"}))]})})},o.prototype.delete=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return typeof t=="string"?[2,this.apiCall.delete(this.endpointPath(t),t)]:[2,this.apiCall.delete(this.endpointPath(),t)]})})},o.prototype.createMany=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){return f(this,function(i){return this.configuration.logger.warn("createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents"),[2,this.import(t,r)]})})},o.prototype.import=function(t,r){return r===void 0&&(r={}),l(this,void 0,void 0,function(){var i,n,a,c;return f(this,function(h){switch(h.label){case 0:if(Array.isArray(t))try{i=t.map(function(e){return JSON.stringify(e)}).join(`
|
|
2
|
+
`)}catch(e){throw RangeError instanceof e&&(e!=null&&e.includes("Too many properties to enumerate"))?new Error("".concat(e,`
|
|
3
|
+
It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object
|
|
4
|
+
|
|
5
|
+
Please try reducing the number of keys in your document, or using CURL to import your data.
|
|
6
|
+
`)):new Error(e)}else i=t;return[4,this.apiCall.performRequest("post",this.endpointPath("import"),{queryParameters:r,bodyParameters:i,additionalHeaders:{"Content-Type":"text/plain"},skipConnectionTimeout:!0})];case 1:if(n=h.sent(),Array.isArray(t)){if(a=n.split(`
|
|
7
|
+
`).map(function(e){return JSON.parse(e)}),c=a.filter(function(e){return e.success===!1}),c.length>0)throw new _.ImportError("".concat(a.length-c.length," documents imported successfully, ").concat(c.length," documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document."),a);return[2,a]}else return[2,n]}})})},o.prototype.export=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t)]})})},o.prototype.exportStream=function(t){return t===void 0&&(t={}),l(this,void 0,void 0,function(){return f(this,function(r){return[2,this.apiCall.get(this.endpointPath("export"),t,{responseType:"stream"})]})})},o}(w.SearchOnlyDocuments);return p.__exports.default=b,p.__exports}exports.__require=x;
|
|
2
8
|
//# sourceMappingURL=index.cjs507.js.map
|
package/dist/index.cjs507.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs507.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs507.js","sources":["../../../node_modules/typesense/lib/Typesense/Documents.js"],"sourcesContent":["\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Errors_1 = require(\"./Errors\");\nvar SearchOnlyDocuments_1 = require(\"./SearchOnlyDocuments\");\nvar Documents = /** @class */ (function (_super) {\n __extends(Documents, _super);\n function Documents(collectionName, apiCall, configuration) {\n return _super.call(this, collectionName, apiCall, configuration) || this;\n }\n Documents.prototype.create = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, options)];\n });\n });\n };\n Documents.prototype.upsert = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"upsert\" }))];\n });\n });\n };\n Documents.prototype.update = function (document, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (!document)\n throw new Error(\"No document provided\");\n if (options[\"filter_by\"] != null) {\n return [2 /*return*/, this.apiCall.patch(this.endpointPath(), document, Object.assign({}, options))];\n }\n else {\n return [2 /*return*/, this.apiCall.post(this.endpointPath(), document, Object.assign({}, options, { action: \"update\" }))];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.delete = function (idOrQuery) {\n if (idOrQuery === void 0) { idOrQuery = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n if (typeof idOrQuery === \"string\") {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(idOrQuery), idOrQuery)];\n }\n else {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath(), idOrQuery)];\n }\n return [2 /*return*/];\n });\n });\n };\n Documents.prototype.createMany = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n this.configuration.logger.warn(\"createMany is deprecated and will be removed in a future version. Use import instead, which now takes both an array of documents or a JSONL string of documents\");\n return [2 /*return*/, this.import(documents, options)];\n });\n });\n };\n Documents.prototype.import = function (documents, options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n var documentsInJSONLFormat, resultsInJSONLFormat, resultsInJSONFormat, failedItems;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n if (Array.isArray(documents)) {\n try {\n documentsInJSONLFormat = documents\n .map(function (document) { return JSON.stringify(document); })\n .join(\"\\n\");\n }\n catch (error) {\n // if rangeerror, throw custom error message\n if (RangeError instanceof error &&\n (error === null || error === void 0 ? void 0 : error.includes(\"Too many properties to enumerate\"))) {\n throw new Error(\"\".concat(error, \"\\n It looks like you have reached a Node.js limit that restricts the number of keys in an Object: https://stackoverflow.com/questions/9282869/are-there-limits-to-the-number-of-properties-in-a-javascript-object\\n\\n Please try reducing the number of keys in your document, or using CURL to import your data.\\n \"));\n }\n // else, throw the non-range error anyways\n throw new Error(error);\n }\n }\n else {\n documentsInJSONLFormat = documents;\n }\n return [4 /*yield*/, this.apiCall.performRequest(\"post\", this.endpointPath(\"import\"), {\n queryParameters: options,\n bodyParameters: documentsInJSONLFormat,\n additionalHeaders: { \"Content-Type\": \"text/plain\" },\n skipConnectionTimeout: true, // We never want to client-side-timeout on an import and retry, since imports are syncronous and we want to let them take as long as it takes to complete fully\n })];\n case 1:\n resultsInJSONLFormat = _a.sent();\n if (Array.isArray(documents)) {\n resultsInJSONFormat = resultsInJSONLFormat\n .split(\"\\n\")\n .map(function (r) { return JSON.parse(r); });\n failedItems = resultsInJSONFormat.filter(function (r) { return r.success === false; });\n if (failedItems.length > 0) {\n throw new Errors_1.ImportError(\"\".concat(resultsInJSONFormat.length - failedItems.length, \" documents imported successfully, \").concat(failedItems.length, \" documents failed during import. Use `error.importResults` from the raised exception to get a detailed error reason for each document.\"), resultsInJSONFormat);\n }\n else {\n return [2 /*return*/, resultsInJSONFormat];\n }\n }\n else {\n return [2 /*return*/, resultsInJSONLFormat];\n }\n return [2 /*return*/];\n }\n });\n });\n };\n /**\n * Returns a JSONL string for all the documents in this collection\n */\n Documents.prototype.export = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options)];\n });\n });\n };\n /**\n * Returns a NodeJS readable stream of JSONL for all the documents in this collection.\n */\n Documents.prototype.exportStream = function (options) {\n if (options === void 0) { options = {}; }\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath(\"export\"), options, {\n responseType: \"stream\",\n })];\n });\n });\n };\n return Documents;\n}(SearchOnlyDocuments_1.SearchOnlyDocuments));\nexports.default = Documents;\n//# sourceMappingURL=Documents.js.map"],"names":["__extends","this","extendStatics","d","b","p","__","__awaiter","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","Documents_1","Errors_1","require$$0","SearchOnlyDocuments_1","require$$1","Documents","_super","collectionName","apiCall","configuration","document","options","_a","idOrQuery","documents","documentsInJSONLFormat","resultsInJSONLFormat","resultsInJSONFormat","failedItems","error","r"],"mappings":"iQACA,IAAIA,EAAaC,EAAAA,gBAAQA,EAAK,eAAA,WAA2B,UAAA,CACjD,IAAAC,EAAgB,SAAUC,EAAGC,EAAG,CAChB,OAAAF,EAAA,OAAO,gBAClB,CAAE,UAAW,cAAgB,OAAS,SAAUC,EAAGC,EAAG,CAAED,EAAE,UAAYC,CAAA,GACvE,SAAUD,EAAGC,EAAG,CAAE,QAASC,KAAKD,EAAO,OAAO,UAAU,eAAe,KAAKA,EAAGC,CAAC,IAAGF,EAAEE,CAAC,EAAID,EAAEC,CAAC,EAAA,EAC1FH,EAAcC,EAAGC,CAAC,CAAA,EAEtB,OAAA,SAAUD,EAAGC,EAAG,CACf,GAAA,OAAOA,GAAM,YAAcA,IAAM,KACjC,MAAM,IAAI,UAAU,uBAAyB,OAAOA,CAAC,EAAI,+BAA+B,EAC5FF,EAAcC,EAAGC,CAAC,EAClB,SAASE,GAAK,CAAE,KAAK,YAAcH,CAAG,CACtCA,EAAE,UAAYC,IAAM,KAAO,OAAO,OAAOA,CAAC,GAAKE,EAAG,UAAYF,EAAE,UAAW,IAAIE,EAAG,CAE1F,IACIC,EAAaN,kBAAQA,iBAAK,WAAc,SAAUO,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,E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AAU,CAAA,GAC7BpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAc,EAAY,KAAM,SAAUuB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAa,QAAQ,EAAGD,CAAO,CAAC,CAAA,CAC/E,CAAA,CACJ,CAAA,EAKLN,EAAU,UAAU,aAAe,SAAUM,EAAS,CAClD,OAAIA,IAAY,SAAUA,EAAU,CAAA,GAC7BpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAc,EAAY,KAAM,SAAUuB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAa,QAAQ,EAAGD,EAAS,CACrE,aAAc,QACjB,CAAA,CAAC,CAAA,CACT,CAAA,CACJ,CAAA,EAEEN,CAAA,EACTF,EAAsB,mBAAmB,EAC3CH,OAAAA,EAAA,UAAA,QAAkBK","x_google_ignoreList":[0]}
|
package/dist/index.cjs508.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs546.js"),O=require("./index.cjs431.js");var v;function j(){if(v)return f.__exports;v=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,o,n,a){function i(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(d){l(d)}}function _(u){try{t(a.throw(u))}catch(d){l(d)}}function t(u){u.done?e(u.value):i(u.value).then(s,_)}t((a=a.apply(r,o||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,o){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,i,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return _([t,u])}}function _(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,i=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=o.call(r,n)}catch(u){t=[6,u],i=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},y=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=y(O.__require()),p="/overrides",w=function(){function r(o,n){this.collectionName=o,this.apiCall=n}return r.prototype.upsert=function(o,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(o),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(o){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(o){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(o===void 0?"":"/"+o)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
|
|
2
2
|
//# sourceMappingURL=index.cjs508.js.map
|
package/dist/index.cjs508.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs508.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs508.js","sources":["../../../node_modules/typesense/lib/Typesense/Overrides.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/overrides\";\nvar Overrides = /** @class */ (function () {\n function Overrides(collectionName, apiCall) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n }\n Overrides.prototype.upsert = function (overrideId, params) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.put(this.endpointPath(overrideId), params)];\n });\n });\n };\n Overrides.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Overrides.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides.RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(Overrides, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return Overrides;\n}());\nexports.default = Overrides;\n//# sourceMappingURL=Overrides.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Overrides_1","Collections_1","require$$0","RESOURCEPATH","Overrides","collectionName","apiCall","overrideId","params","_a","operation"],"mappings":"kOACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAM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AAU,UAAU,aAAe,SAAUM,EAAW,CAC7C,MAAA,GAAG,OAAOT,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOG,EAAU,YAAY,EAAE,OAAOM,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAEvK,OAAA,eAAeN,EAAW,eAAgB,CAC7C,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFJ,OAAAA,EAAA,UAAA,QAAkBI","x_google_ignoreList":[0]}
|
package/dist/index.cjs509.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs547.js"),O=require("./index.cjs431.js"),j=require("./index.cjs508.js");var y;function q(){if(y)return f.__exports;y=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(n,l,r,u){function i(e){return e instanceof r?e:new r(function(a){a(e)})}return new(r||(r=Promise))(function(e,a){function s(o){try{t(u.next(o))}catch(_){a(_)}}function d(o){try{t(u.throw(o))}catch(_){a(_)}}function t(o){o.done?e(o.value):i(o.value).then(s,d)}t((u=u.apply(n,l||[])).next())})},v=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(n,l){var r={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},u,i,e,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(o){return d([t,o])}}function d(t){if(u)throw new TypeError("Generator is already executing.");for(;r;)try{if(u=1,i&&(e=t[0]&2?i.return:t[0]?i.throw||((e=i.return)&&e.call(i),0):i.next)&&!(e=e.call(i,t[1])).done)return e;switch(i=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return r.label++,{value:t[1],done:!1};case 5:r.label++,i=t[1],t=[0];continue;case 7:t=r.ops.pop(),r.trys.pop();continue;default:if(e=r.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){r=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){r.label=t[1];break}if(t[0]===6&&r.label<e[1]){r.label=e[1],e=t;break}if(e&&r.label<e[2]){r.label=e[2],r.ops.push(t);break}e[2]&&r.ops.pop(),r.trys.pop();continue}t=l.call(n,r)}catch(o){t=[6,o],i=0}finally{u=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},b=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var m=b(O.__require()),p=b(j.__require()),w=function(){function n(l,r,u){this.collectionName=l,this.overrideId=r,this.apiCall=u}return n.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.get(this.endpointPath())]})})},n.prototype.delete=function(){return h(this,void 0,void 0,function(){return v(this,function(l){return[2,this.apiCall.delete(this.endpointPath())]})})},n.prototype.endpointPath=function(){return"".concat(m.default.RESOURCEPATH,"/").concat(this.collectionName).concat(p.default.RESOURCEPATH,"/").concat(this.overrideId)},n}();return f.__exports.default=w,f.__exports}exports.__require=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs509.js.map
|
package/dist/index.cjs509.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs509.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs509.js","sources":["../../../node_modules/typesense/lib/Typesense/Override.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar Overrides_1 = __importDefault(require(\"./Overrides\"));\nvar Override = /** @class */ (function () {\n function Override(collectionName, overrideId, apiCall) {\n this.collectionName = collectionName;\n this.overrideId = overrideId;\n this.apiCall = apiCall;\n }\n Override.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Override.prototype.delete = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath())];\n });\n });\n };\n Override.prototype.endpointPath = function () {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Overrides_1.default.RESOURCEPATH, \"/\").concat(this.overrideId);\n };\n return Override;\n}());\nexports.default = Override;\n//# sourceMappingURL=Override.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Override_1","Collections_1","require$$0","Overrides_1","require$$1","Override","collectionName","overrideId","apiCall","_a"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG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|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs548.js"),S=require("./index.cjs431.js");var m;function j(){if(m)return f.__exports;m=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,i,n,a){function o(e){return e instanceof n?e:new n(function(l){l(e)})}return new(n||(n=Promise))(function(e,l){function s(u){try{t(a.next(u))}catch(_){l(_)}}function y(u){try{t(a.throw(u))}catch(_){l(_)}}function t(u){u.done?e(u.value):o(u.value).then(s,y)}t((a=a.apply(r,i||[])).next())})},b=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,i){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,o,e,l;return l={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function s(t){return function(u){return y([t,u])}}function y(t){if(a)throw new TypeError("Generator is already executing.");for(;n;)try{if(a=1,o&&(e=t[0]&2?o.return:t[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,t[1])).done)return e;switch(o=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,o=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=i.call(r,n)}catch(u){t=[6,u],o=0}finally{a=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},d=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var v=d(S.__require()),p="/synonyms",w=function(){function r(i,n){this.collectionName=i,this.apiCall=n}return r.prototype.upsert=function(i,n){return h(this,void 0,void 0,function(){return b(this,function(a){return[2,this.apiCall.put(this.endpointPath(i),n)]})})},r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return b(this,function(i){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.endpointPath=function(i){return"".concat(v.default.RESOURCEPATH,"/").concat(this.collectionName).concat(r.RESOURCEPATH).concat(i===void 0?"":"/"+i)},Object.defineProperty(r,"RESOURCEPATH",{get:function(){return p},enumerable:!1,configurable:!0}),r}();return f.__exports.default=w,f.__exports}exports.__require=j;
|
|
2
2
|
//# sourceMappingURL=index.cjs510.js.map
|
package/dist/index.cjs510.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs510.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs510.js","sources":["../../../node_modules/typesense/lib/Typesense/Synonyms.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar RESOURCEPATH = \"/synonyms\";\nvar Synonyms = /** @class */ (function () {\n function Synonyms(collectionName, apiCall) {\n this.collectionName = collectionName;\n this.apiCall = apiCall;\n }\n Synonyms.prototype.upsert = function (synonymId, params) {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.put(this.endpointPath(synonymId), params)];\n });\n });\n };\n Synonyms.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Synonyms.prototype.endpointPath = function (operation) {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Synonyms.RESOURCEPATH).concat(operation === undefined ? \"\" : \"/\" + operation);\n };\n Object.defineProperty(Synonyms, \"RESOURCEPATH\", {\n get: function () {\n return RESOURCEPATH;\n },\n enumerable: false,\n configurable: true\n });\n return Synonyms;\n}());\nexports.default = Synonyms;\n//# sourceMappingURL=Synonyms.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Synonyms_1","Collections_1","require$$0","RESOURCEPATH","Synonyms","collectionName","apiCall","synonymId","params","_a","operation"],"mappings":"kOACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAAG,KAAA,CAAM,CAAA,CACvE,CACL,EACIY,EAAed,EAAAA,gBAAQA,EAAAA,eAAK,aAAgB,SAA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EAASC,EAAgBC,EAAS,CACvC,KAAK,eAAiBD,EACtB,KAAK,QAAUC,CACnB,CACAF,OAAAA,EAAS,UAAU,OAAS,SAAUG,EAAWC,EAAQ,CACrD,OAAOpC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAaF,CAAS,EAAGC,CAAM,CAAC,CAAA,CAC/E,CAAA,CACJ,CAAA,EAELJ,EAAS,UAAU,SAAW,UAAY,CACtC,OAAOhC,EAAU,KAAM,OAAQ,OAAQ,UAAY,CACxC,OAAAe,EAAY,KAAM,SAAUsB,EAAI,CAC5B,MAAA,CAAC,EAAc,KAAK,QAAQ,IAAI,KAAK,aAAc,CAAA,CAAC,CAAA,CAC9D,CAAA,CACJ,CAAA,EAELL,EAAS,UAAU,aAAe,SAAUM,EAAW,CAC5C,MAAA,GAAG,OAAOT,EAAc,QAAQ,aAAc,GAAG,EAAE,OAAO,KAAK,cAAc,EAAE,OAAOG,EAAS,YAAY,EAAE,OAAOM,IAAc,OAAY,GAAK,IAAMA,CAAS,CAAA,EAEtK,OAAA,eAAeN,EAAU,eAAgB,CAC5C,IAAK,UAAY,CACN,OAAAD,CACX,EACA,WAAY,GACZ,aAAc,EAAA,CACjB,EACMC,CAAA,EACT,EACFJ,OAAAA,EAAA,UAAA,QAAkBI","x_google_ignoreList":[0]}
|
package/dist/index.cjs511.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs154.js"),f=require("./index.cjs549.js"),S=require("./index.cjs431.js"),j=require("./index.cjs510.js");var b;function q(){if(b)return f.__exports;b=1;var h=c.commonjsGlobal&&c.commonjsGlobal.__awaiter||function(r,l,n,u){function o(e){return e instanceof n?e:new n(function(a){a(e)})}return new(n||(n=Promise))(function(e,a){function s(i){try{t(u.next(i))}catch(_){a(_)}}function y(i){try{t(u.throw(i))}catch(_){a(_)}}function t(i){i.done?e(i.value):o(i.value).then(s,y)}t((u=u.apply(r,l||[])).next())})},d=c.commonjsGlobal&&c.commonjsGlobal.__generator||function(r,l){var n={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},u,o,e,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return y([t,i])}}function y(t){if(u)throw new TypeError("Generator is already executing.");for(;n;)try{if(u=1,o&&(e=t[0]&2?o.return:t[0]?o.throw||((e=o.return)&&e.call(o),0):o.next)&&!(e=e.call(o,t[1])).done)return e;switch(o=0,e&&(t=[t[0]&2,e.value]),t[0]){case 0:case 1:e=t;break;case 4:return n.label++,{value:t[1],done:!1};case 5:n.label++,o=t[1],t=[0];continue;case 7:t=n.ops.pop(),n.trys.pop();continue;default:if(e=n.trys,!(e=e.length>0&&e[e.length-1])&&(t[0]===6||t[0]===2)){n=0;continue}if(t[0]===3&&(!e||t[1]>e[0]&&t[1]<e[3])){n.label=t[1];break}if(t[0]===6&&n.label<e[1]){n.label=e[1],e=t;break}if(e&&n.label<e[2]){n.label=e[2],n.ops.push(t);break}e[2]&&n.ops.pop(),n.trys.pop();continue}t=l.call(r,n)}catch(i){t=[6,i],o=0}finally{u=e=0}if(t[0]&5)throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}},m=c.commonjsGlobal&&c.commonjsGlobal.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(f.__exports,"__esModule",{value:!0});var v=m(S.__require()),p=m(j.__require()),w=function(){function r(l,n,u){this.collectionName=l,this.synonymId=n,this.apiCall=u}return r.prototype.retrieve=function(){return h(this,void 0,void 0,function(){return d(this,function(l){return[2,this.apiCall.get(this.endpointPath())]})})},r.prototype.delete=function(){return h(this,void 0,void 0,function(){return d(this,function(l){return[2,this.apiCall.delete(this.endpointPath())]})})},r.prototype.endpointPath=function(){return"".concat(v.default.RESOURCEPATH,"/").concat(this.collectionName).concat(p.default.RESOURCEPATH,"/").concat(this.synonymId)},r}();return f.__exports.default=w,f.__exports}exports.__require=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs511.js.map
|
package/dist/index.cjs511.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs511.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs511.js","sources":["../../../node_modules/typesense/lib/Typesense/Synonym.js"],"sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Collections_1 = __importDefault(require(\"./Collections\"));\nvar Synonyms_1 = __importDefault(require(\"./Synonyms\"));\nvar Synonym = /** @class */ (function () {\n function Synonym(collectionName, synonymId, apiCall) {\n this.collectionName = collectionName;\n this.synonymId = synonymId;\n this.apiCall = apiCall;\n }\n Synonym.prototype.retrieve = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.get(this.endpointPath())];\n });\n });\n };\n Synonym.prototype.delete = function () {\n return __awaiter(this, void 0, void 0, function () {\n return __generator(this, function (_a) {\n return [2 /*return*/, this.apiCall.delete(this.endpointPath())];\n });\n });\n };\n Synonym.prototype.endpointPath = function () {\n return \"\".concat(Collections_1.default.RESOURCEPATH, \"/\").concat(this.collectionName).concat(Synonyms_1.default.RESOURCEPATH, \"/\").concat(this.synonymId);\n };\n return Synonym;\n}());\nexports.default = Synonym;\n//# sourceMappingURL=Synonym.js.map"],"names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","reject","fulfilled","step","e","rejected","result","__generator","body","_","t","f","y","g","verb","n","v","op","__importDefault","mod","Synonym_1","Collections_1","require$$0","Synonyms_1","require$$1","Synonym","collectionName","synonymId","apiCall","_a"],"mappings":"iQACA,IAAIA,EAAaC,kBAAQA,iBAAK,WAAc,SAAUC,EAASC,EAAYC,EAAGC,EAAW,CACrF,SAASC,EAAMC,EAAO,CAAE,OAAOA,aAAiBH,EAAIG,EAAQ,IAAIH,EAAE,SAAUI,EAAS,CAAEA,EAAQD,CAAK,CAAA,CAAI,CAAG,CAC3G,OAAO,IAAKH,IAAMA,EAAI,UAAU,SAAUI,EAASC,EAAQ,CACvD,SAASC,EAAUH,EAAO,CAAM,GAAA,CAAOI,EAAAN,EAAU,KAAKE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC1F,SAASC,EAASN,EAAO,CAAM,GAAA,CAAEI,EAAKN,EAAU,MAASE,CAAK,CAAC,QAAYK,EAAG,CAAEH,EAAOG,CAAC,CAAG,CAAE,CAC7F,SAASD,EAAKG,EAAQ,CAASA,EAAA,KAAON,EAAQM,EAAO,KAAK,EAAIR,EAAMQ,EAAO,KAAK,EAAE,KAAKJ,EAAWG,CAAQ,CAAG,CACvGF,GAAAN,EAAYA,EAAU,MAAMH,EAASC,GAAc,CAAE,CAAA,GAAG,KAAA,CAAM,CAAA,CACvE,CACL,EACIY,EAAed,EAAAA,gBAAQA,EAAAA,eAAK,aAAgB,SAAUC,EAASc,EAAM,CACrE,IAAIC,EAAI,CAAE,MAAO,EAAG,KAAM,UAAW,CAAM,GAAAC,EAAE,CAAC,EAAI,EAAG,MAAMA,EAAE,CAAC,EAAG,OAAOA,EAAE,CAAC,CAAA,EAAM,KAAM,CAAI,EAAA,IAAK,CAAA,CAAG,EAAGC,EAAGC,EAAGF,EAAGG,EACxG,OAAAA,EAAI,CAAE,KAAMC,EAAK,CAAC,EAAG,MAASA,EAAK,CAAC,EAAG,OAAUA,EAAK,CAAC,GAAK,OAAO,QAAW,aAAeD,EAAE,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