maplibre-gl-components 0.16.2 → 0.17.0
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/README.md +4 -3
- package/dist/{ControlGrid-DQ4w_Nf9.js → ControlGrid-C6zp03Vq.js} +125375 -115454
- package/dist/ControlGrid-DIAcXRBe.cjs +17278 -0
- package/dist/DuckDBConverter-5a2FWwmf.js +354 -0
- package/dist/DuckDBConverter-pfXSUi_l.cjs +23 -0
- package/dist/ShapefileConverter-DGCXPY_S.cjs +1 -0
- package/dist/ShapefileConverter-DN3fVOuo.js +102 -0
- package/dist/basedecoder-BliCKuUS.js +62 -0
- package/dist/basedecoder-Zw0CbD9L.cjs +1 -0
- package/dist/deflate-DBL0msKQ.js +10 -0
- package/dist/deflate-DNeBKDsy.cjs +1 -0
- package/dist/esm-Bp6m44bk.js +811 -0
- package/dist/esm-oEp_aN1n.cjs +1 -0
- package/dist/geojson-Bnoe76Pm.js +2002 -0
- package/dist/geojson-CxMdRvJX.cjs +1 -0
- package/dist/geotiff-Bzy-Zyc2.js +1882 -0
- package/dist/geotiff-DYylEFA9.cjs +8 -0
- package/dist/globals-B4iCNAg9.cjs +1 -0
- package/dist/globals-BKIWameS.js +572 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +150 -147
- package/dist/jpeg-B6Sg6W8k.cjs +1 -0
- package/dist/jpeg-CJcNvScS.js +545 -0
- package/dist/lerc-2QwcA_K7.js +840 -0
- package/dist/lerc-DQRITnja.cjs +1 -0
- package/dist/lib-B4jvG7hB.cjs +4 -0
- package/dist/lib-CNQtqzfc.js +4060 -0
- package/dist/lzw-1HaU0PJK.cjs +1 -0
- package/dist/lzw-DF5VHuii.js +76 -0
- package/dist/main-dist-CbHNdsir.js +18314 -0
- package/dist/main-dist-DOx_Axbx.cjs +2 -0
- package/dist/maplibre-geoman.es-C0F1ydoG.cjs +213 -0
- package/dist/maplibre-geoman.es-D1CztSQd.js +27213 -0
- package/dist/maplibre-gl-components.css +2 -1
- package/dist/packbits-CK8RPU_B.js +22 -0
- package/dist/packbits-D5Zovac7.cjs +1 -0
- package/dist/pako.esm-DFyPB7cO.cjs +1 -0
- package/dist/pako.esm-hTfpTBhd.js +1536 -0
- package/dist/raw-Brljg6vy.js +9 -0
- package/dist/raw-C-CSxCoU.cjs +1 -0
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +1357 -1004
- package/dist/{types → src}/lib/core/CogLayer.d.ts.map +1 -1
- package/dist/{types → src}/lib/core/PMTilesLayer.d.ts.map +1 -1
- package/dist/{types → src}/lib/core/SpinGlobeControl.d.ts +6 -7
- package/dist/src/lib/core/SpinGlobeControl.d.ts.map +1 -0
- package/dist/{types → src}/lib/core/StacLayer.d.ts.map +1 -1
- package/dist/{types → src}/lib/core/types.d.ts +3 -1
- package/dist/{types → src}/lib/core/types.d.ts.map +1 -1
- package/dist/{types → src}/lib/utils/color.d.ts +8 -0
- package/dist/src/lib/utils/color.d.ts.map +1 -0
- package/dist/{types → src}/lib/utils/index.d.ts +1 -1
- package/dist/{types → src}/lib/utils/index.d.ts.map +1 -1
- package/dist/webimage-Bh2pNwjN.cjs +1 -0
- package/dist/webimage-rg-Z9Sbn.js +25 -0
- package/dist/zstd-B3Xa90HD.cjs +1 -0
- package/dist/zstd-BwwN0X3K.js +51 -0
- package/package.json +66 -53
- package/dist/ControlGrid-Bukna_at.cjs +0 -17062
- package/dist/DuckDBConverter-B98M0DFs.cjs +0 -23
- package/dist/DuckDBConverter-RPq48-t0.js +0 -434
- package/dist/ShapefileConverter-AjbEjEyq.cjs +0 -1
- package/dist/ShapefileConverter-trvt8J3z.js +0 -125
- package/dist/decoder-CLokFc0V.js +0 -8
- package/dist/decoder-D9LU4bUo.cjs +0 -1
- package/dist/deflate-Bay-vzHJ.cjs +0 -1
- package/dist/deflate-yeu3ogBn.js +0 -10
- package/dist/geojson-BQSVgKFt.cjs +0 -1
- package/dist/geojson-BSUuDj5k.js +0 -2551
- package/dist/geotiff-BNxc90fm.cjs +0 -8
- package/dist/geotiff-BUZniE5g.js +0 -3105
- package/dist/index-8ZZtuDTp.js +0 -705
- package/dist/index-DQXdX5y1.js +0 -4666
- package/dist/index-Dh1kpCb6.cjs +0 -1
- package/dist/index-IrsIiQNM.cjs +0 -4
- package/dist/jpeg-B7yImnpY.js +0 -533
- package/dist/jpeg-BiN8bMT5.cjs +0 -1
- package/dist/lerc-BvSjGMM2.cjs +0 -1
- package/dist/lerc-CqgA9njy.js +0 -1031
- package/dist/lzw-C-_B7Jis.cjs +0 -1
- package/dist/lzw-DL9RcHOz.js +0 -84
- package/dist/main-dist-Bymiy5aM.cjs +0 -2
- package/dist/main-dist-Cv8AKwrY.js +0 -629
- package/dist/maplibre-geoman.es-Bxdg-2EU.cjs +0 -129
- package/dist/maplibre-geoman.es-CFgM2ajb.js +0 -22827
- package/dist/packbits-DRGSjtn-.cjs +0 -1
- package/dist/packbits-YEJGULcy.js +0 -24
- package/dist/pako.esm-Bx5X36Wo.js +0 -1074
- package/dist/pako.esm-DZC2QrbJ.cjs +0 -1
- package/dist/raw-CoQHiEnn.js +0 -9
- package/dist/raw-D6OidBKc.cjs +0 -1
- package/dist/types/lib/core/SpinGlobeControl.d.ts.map +0 -1
- package/dist/types/lib/utils/color.d.ts.map +0 -1
- package/dist/webimage-BXLN-zu8.js +0 -19
- package/dist/webimage-mWTez3Wv.cjs +0 -1
- /package/dist/{types → src}/index.d.ts +0 -0
- /package/dist/{types → src}/index.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/AddVectorAdapter.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/AddVectorAdapter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/CogLayerAdapter.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/CogLayerAdapter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/PMTilesLayerAdapter.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/PMTilesLayerAdapter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/StacLayerAdapter.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/StacLayerAdapter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/ZarrLayerAdapter.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/ZarrLayerAdapter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/adapters/index.d.ts +0 -0
- /package/dist/{types → src}/lib/adapters/index.d.ts.map +0 -0
- /package/dist/{types → src}/lib/addControlGrid.d.ts +0 -0
- /package/dist/{types → src}/lib/addControlGrid.d.ts.map +0 -0
- /package/dist/{types → src}/lib/colormaps/diverging.d.ts +0 -0
- /package/dist/{types → src}/lib/colormaps/diverging.d.ts.map +0 -0
- /package/dist/{types → src}/lib/colormaps/index.d.ts +0 -0
- /package/dist/{types → src}/lib/colormaps/index.d.ts.map +0 -0
- /package/dist/{types → src}/lib/colormaps/misc.d.ts +0 -0
- /package/dist/{types → src}/lib/colormaps/misc.d.ts.map +0 -0
- /package/dist/{types → src}/lib/colormaps/sequential.d.ts +0 -0
- /package/dist/{types → src}/lib/colormaps/sequential.d.ts.map +0 -0
- /package/dist/{types → src}/lib/converters/DuckDBConverter.d.ts +0 -0
- /package/dist/{types → src}/lib/converters/DuckDBConverter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/converters/ShapefileConverter.d.ts +0 -0
- /package/dist/{types → src}/lib/converters/ShapefileConverter.d.ts.map +0 -0
- /package/dist/{types → src}/lib/converters/index.d.ts +0 -0
- /package/dist/{types → src}/lib/converters/index.d.ts.map +0 -0
- /package/dist/{types → src}/lib/converters/types.d.ts +0 -0
- /package/dist/{types → src}/lib/converters/types.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/AddVector.d.ts +0 -0
- /package/dist/{types → src}/lib/core/AddVector.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/Basemap.d.ts +0 -0
- /package/dist/{types → src}/lib/core/Basemap.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/BasemapReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/BasemapReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/BookmarkControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/BookmarkControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ChoroplethControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ChoroplethControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/CogLayer.d.ts +0 -0
- /package/dist/{types → src}/lib/core/CogLayerReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/CogLayerReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/Colorbar.d.ts +0 -0
- /package/dist/{types → src}/lib/core/Colorbar.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ColorbarGuiControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ColorbarGuiControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ColorbarReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ColorbarReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ControlGrid.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ControlGrid.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ControlGridReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ControlGridReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/HtmlControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/HtmlControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/HtmlControlReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/HtmlControlReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/HtmlGuiControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/HtmlGuiControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/InspectControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/InspectControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/InspectControlReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/InspectControlReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/Legend.d.ts +0 -0
- /package/dist/{types → src}/lib/core/Legend.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/LegendGuiControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/LegendGuiControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/LegendReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/LegendReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/MeasureControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/MeasureControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/MinimapControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/MinimapControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/MinimapControlReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/MinimapControlReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/PMTilesLayer.d.ts +0 -0
- /package/dist/{types → src}/lib/core/PrintControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/PrintControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/SearchControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/SearchControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/SearchControlReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/SearchControlReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/StacLayer.d.ts +0 -0
- /package/dist/{types → src}/lib/core/StacSearch.d.ts +0 -0
- /package/dist/{types → src}/lib/core/StacSearch.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/Terrain.d.ts +0 -0
- /package/dist/{types → src}/lib/core/Terrain.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/TerrainReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/TerrainReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/TileLayerControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/TileLayerControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/VectorDataset.d.ts +0 -0
- /package/dist/{types → src}/lib/core/VectorDataset.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/VectorDatasetReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/VectorDatasetReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ViewStateControl.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ViewStateControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ViewStateControlReact.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ViewStateControlReact.d.ts.map +0 -0
- /package/dist/{types → src}/lib/core/ZarrLayer.d.ts +0 -0
- /package/dist/{types → src}/lib/core/ZarrLayer.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/index.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/index.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useBasemap.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useBasemap.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useCogLayer.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useCogLayer.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useColorbar.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useColorbar.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useControlGrid.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useControlGrid.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useHtmlControl.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useHtmlControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useInspectControl.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useInspectControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useLegend.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useLegend.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useMinimapControl.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useMinimapControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useSearchControl.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useSearchControl.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useTerrain.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useTerrain.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useVectorDataset.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useVectorDataset.d.ts.map +0 -0
- /package/dist/{types → src}/lib/hooks/useViewState.d.ts +0 -0
- /package/dist/{types → src}/lib/hooks/useViewState.d.ts.map +0 -0
- /package/dist/{types → src}/lib/utils/fileHelpers.d.ts +0 -0
- /package/dist/{types → src}/lib/utils/fileHelpers.d.ts.map +0 -0
- /package/dist/{types → src}/lib/utils/helpers.d.ts +0 -0
- /package/dist/{types → src}/lib/utils/helpers.d.ts.map +0 -0
- /package/dist/{types → src}/lib/utils/providers.d.ts +0 -0
- /package/dist/{types → src}/lib/utils/providers.d.ts.map +0 -0
- /package/dist/{types → src}/react.d.ts +0 -0
- /package/dist/{types → src}/react.d.ts.map +0 -0
package/dist/lzw-C-_B7Jis.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./geotiff-BNxc90fm.cjs"),k=9,E=256,D=257,v=12;function A(c,o,r){const i=o%8,t=Math.floor(o/8),h=8-i,g=o+r-(t+1)*8;let l=8*(t+2)-(o+r);const y=(t+2)*8-o;if(l=Math.max(0,l),t>=c.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),D;let u=c[t]&2**(8-i)-1;u<<=r-h;let s=u;if(t+1<c.length){let f=c[t+1]>>>l;f<<=Math.max(0,r-y),s+=f}if(g>8&&t+2<c.length){const f=(t+3)*8-(o+r),n=c[t+2]>>>f;s+=n}return s}function b(c,o){for(let r=o.length-1;r>=0;r--)c.push(o[r]);return c}function B(c){const o=new Uint16Array(4093),r=new Uint8Array(4093);for(let e=0;e<=257;e++)o[e]=4096,r[e]=e;let i=258,t=k,h=0;function g(){i=258,t=k}function l(e){const a=A(e,h,t);return h+=t,a}function y(e,a){return r[i]=a,o[i]=e,i++,i-1}function u(e){const a=[];for(let w=e;w!==4096;w=o[w])a.push(r[w]);return a}const s=[];g();const f=new Uint8Array(c);let n=l(f),d;for(;n!==D;){if(n===E){for(g(),n=l(f);n===E;)n=l(f);if(n===D)break;if(n>E)throw new Error(`corrupted code at scanline ${n}`);{const e=u(n);b(s,e),d=n}}else if(n<i){const e=u(n);b(s,e),y(d,e[e.length-1]),d=n}else{const e=u(d);if(!e)throw new Error(`Bogus entry. Not in dictionary, ${d} / ${i}, position: ${h}`);b(s,e),s.push(e[e.length-1]),y(d,e[e.length-1]),d=n}i+1>=2**t&&(t===v?d=void 0:t++),n=l(f)}return new Uint8Array(s)}class C extends p.BaseDecoder{decodeBlock(o){return B(o).buffer}}exports.default=C;
|
package/dist/lzw-DL9RcHOz.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import { B as b } from "./geotiff-BUZniE5g.js";
|
|
2
|
-
const B = 9, E = 256, p = 257, k = 12;
|
|
3
|
-
function x(c, o, r) {
|
|
4
|
-
const i = o % 8, n = Math.floor(o / 8), h = 8 - i, g = o + r - (n + 1) * 8;
|
|
5
|
-
let l = 8 * (n + 2) - (o + r);
|
|
6
|
-
const w = (n + 2) * 8 - o;
|
|
7
|
-
if (l = Math.max(0, l), n >= c.length)
|
|
8
|
-
return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"), p;
|
|
9
|
-
let u = c[n] & 2 ** (8 - i) - 1;
|
|
10
|
-
u <<= r - h;
|
|
11
|
-
let s = u;
|
|
12
|
-
if (n + 1 < c.length) {
|
|
13
|
-
let f = c[n + 1] >>> l;
|
|
14
|
-
f <<= Math.max(0, r - w), s += f;
|
|
15
|
-
}
|
|
16
|
-
if (g > 8 && n + 2 < c.length) {
|
|
17
|
-
const f = (n + 3) * 8 - (o + r), t = c[n + 2] >>> f;
|
|
18
|
-
s += t;
|
|
19
|
-
}
|
|
20
|
-
return s;
|
|
21
|
-
}
|
|
22
|
-
function D(c, o) {
|
|
23
|
-
for (let r = o.length - 1; r >= 0; r--)
|
|
24
|
-
c.push(o[r]);
|
|
25
|
-
return c;
|
|
26
|
-
}
|
|
27
|
-
function A(c) {
|
|
28
|
-
const o = new Uint16Array(4093), r = new Uint8Array(4093);
|
|
29
|
-
for (let e = 0; e <= 257; e++)
|
|
30
|
-
o[e] = 4096, r[e] = e;
|
|
31
|
-
let i = 258, n = B, h = 0;
|
|
32
|
-
function g() {
|
|
33
|
-
i = 258, n = B;
|
|
34
|
-
}
|
|
35
|
-
function l(e) {
|
|
36
|
-
const a = x(e, h, n);
|
|
37
|
-
return h += n, a;
|
|
38
|
-
}
|
|
39
|
-
function w(e, a) {
|
|
40
|
-
return r[i] = a, o[i] = e, i++, i - 1;
|
|
41
|
-
}
|
|
42
|
-
function u(e) {
|
|
43
|
-
const a = [];
|
|
44
|
-
for (let y = e; y !== 4096; y = o[y])
|
|
45
|
-
a.push(r[y]);
|
|
46
|
-
return a;
|
|
47
|
-
}
|
|
48
|
-
const s = [];
|
|
49
|
-
g();
|
|
50
|
-
const f = new Uint8Array(c);
|
|
51
|
-
let t = l(f), d;
|
|
52
|
-
for (; t !== p; ) {
|
|
53
|
-
if (t === E) {
|
|
54
|
-
for (g(), t = l(f); t === E; )
|
|
55
|
-
t = l(f);
|
|
56
|
-
if (t === p)
|
|
57
|
-
break;
|
|
58
|
-
if (t > E)
|
|
59
|
-
throw new Error(`corrupted code at scanline ${t}`);
|
|
60
|
-
{
|
|
61
|
-
const e = u(t);
|
|
62
|
-
D(s, e), d = t;
|
|
63
|
-
}
|
|
64
|
-
} else if (t < i) {
|
|
65
|
-
const e = u(t);
|
|
66
|
-
D(s, e), w(d, e[e.length - 1]), d = t;
|
|
67
|
-
} else {
|
|
68
|
-
const e = u(d);
|
|
69
|
-
if (!e)
|
|
70
|
-
throw new Error(`Bogus entry. Not in dictionary, ${d} / ${i}, position: ${h}`);
|
|
71
|
-
D(s, e), s.push(e[e.length - 1]), w(d, e[e.length - 1]), d = t;
|
|
72
|
-
}
|
|
73
|
-
i + 1 >= 2 ** n && (n === k ? d = void 0 : n++), t = l(f);
|
|
74
|
-
}
|
|
75
|
-
return new Uint8Array(s);
|
|
76
|
-
}
|
|
77
|
-
class m extends b {
|
|
78
|
-
decodeBlock(o) {
|
|
79
|
-
return A(o).buffer;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
export {
|
|
83
|
-
m as default
|
|
84
|
-
};
|