UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

3 lines (2 loc) • 32.2 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ let e;function t(t){const _=e.__externref_table_alloc();return e.__wbindgen_externrefs.set(_,t),_}function _(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}const r="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(e=>e.dtor(e.a,e.b));function n(e,t){return e>>>=0,b().subarray(e/8,e/8+t)}function i(e,t){return e>>>=0,w().subarray(e/2,e/2+t)}function s(t,_){t>>>=0;const r=g(),n=[];for(let i=t;i<t+4*_;i+=4)n.push(e.__wbindgen_externrefs.get(r.getUint32(i,!0)));return e.__externref_drop_slice(t,_),n}function o(e,t){return e>>>=0,f().subarray(e/4,e/4+t)}function a(e,t){return e>>>=0,h().subarray(e/1,e/1+t)}let c=null;function g(){return(null===c||!0===c.buffer.detached||void 0===c.buffer.detached&&c.buffer!==e.memory.buffer)&&(c=new DataView(e.memory.buffer)),c}let u=null;function b(){return null!==u&&0!==u.byteLength||(u=new Float64Array(e.memory.buffer)),u}let l=null;function w(){return null!==l&&0!==l.byteLength||(l=new Int16Array(e.memory.buffer)),l}function p(e,t){return A(e>>>=0,t)}let d=null;function f(){return null!==d&&0!==d.byteLength||(d=new Uint32Array(e.memory.buffer)),d}let y=null;function h(){return null!==y&&0!==y.byteLength||(y=new Uint8Array(e.memory.buffer)),y}function m(_,r){try{return _.apply(this,r)}catch(n){const _=t(n);e.__wbindgen_exn_store(_)}}function z(e){return null==e}function F(e,t,_,n){const i={a:e,b:t,cnt:1,dtor:_},s=(...e)=>{i.cnt++;const t=i.a;i.a=0;try{return n(t,i.b,...e)}finally{i.a=t,s._wbg_cb_unref()}};return s._wbg_cb_unref=()=>{0===--i.cnt&&(i.dtor(i.a,i.b),i.a=0,r.unregister(i))},r.register(s,i,i),s}function q(e,t){const _=t(4*e.length,4)>>>0;return f().set(e,_/4),j=e.length,_}function x(e,t){const _=t(1*e.length,1)>>>0;return h().set(e,_/1),j=e.length,_}function v(e,t){const _=t(8*e.length,8)>>>0;return b().set(e,_/8),j=e.length,_}function S(e,_){const r=_(4*e.length,4)>>>0;for(let n=0;n<e.length;n++){const _=t(e[n]);g().setUint32(r+4*n,_,!0)}return j=e.length,r}function R(e,t,_){if(void 0===_){const _=M.encode(e),r=t(_.length,1)>>>0;return h().subarray(r,r+_.length).set(_),j=_.length,r}let r=e.length,n=t(r,1)>>>0;const i=h();let s=0;for(;s<r;s++){const t=e.charCodeAt(s);if(t>127)break;i[n+s]=t}if(s!==r){0!==s&&(e=e.slice(s)),n=_(n,r,r=s+3*e.length,1)>>>0;const t=h().subarray(n+s,n+r);s+=M.encodeInto(e,t).written,n=_(n,r,s,1)>>>0}return j=s,n}function k(t){const _=e.__wbindgen_externrefs.get(t);return e.__externref_table_dealloc(t),_}let O=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});O.decode();const T=2146435072;let C=0;function A(e,t){return C+=t,C>=T&&(O=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),O.decode(),C=t),O.decode(h().subarray(e,e+t))}const M=new TextEncoder;"encodeInto"in M||(M.encodeInto=function(e,t){const _=M.encode(e);return t.set(_),{read:e.length,written:_.length}});let j=0;function I(t,_,r){e.wasm_bindgen__convert__closures_____invoke__hc750ce93e757c93b(t,_,r)}function L(t,_,r,n){e.wasm_bindgen__convert__closures_____invoke__hb8889eb82d058fe8(t,_,r,n)}const U=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeBigInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeLong","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],W="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_columndescriptor_free(t>>>0,1)),P="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_columnid_free(t>>>0,1)),E="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_displayoptimizationxzbuilder_free(t>>>0,1)),G="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_displayoptimizationzbuilder_free(t>>>0,1)),B="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_extent_free(t>>>0,1)),D="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_fieldmetadata_free(t>>>0,1)),X="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_geometryfield_free(t>>>0,1)),H="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_geometryinfo_free(t>>>0,1)),V="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_multiscalegeometryfield_free(t>>>0,1)),Y="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_pageencodingdescriptor_free(t>>>0,1)),Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetchunk_free(t>>>0,1)),N="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetfile_free(t>>>0,1)),Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_parquetpatchchunk_free(t>>>0,1)),$="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_quantizedgeometrybuffer_free(t>>>0,1)),J="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_query_free(t>>>0,1)),K="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_querystream_free(t>>>0,1)),ee="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rangeproviderjs_free(t>>>0,1)),te="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rowgroup_free(t>>>0,1)),_e="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(t=>e.__wbg_rowgroupid_free(t>>>0,1));class re{static __wrap(e){e>>>=0;const t=Object.create(re.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_columndescriptor_free(t,0)}name(){let t,_;try{const r=e.columndescriptor_name(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}physicalType(){let t,_;try{const r=e.columndescriptor_physicalType(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}logicalType(){const t=e.columndescriptor_logicalType(this.__wbg_ptr);let _;return 0!==t[0]&&(_=p(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),_}encodings(){const t=e.columndescriptor_encodings(this.__wbg_ptr);var _=s(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),_}pageEncodings(){const t=e.columndescriptor_pageEncodings(this.__wbg_ptr);let _;return 0!==t[0]&&(_=s(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),_}numValues(){return e.columndescriptor_numValues(this.__wbg_ptr)}compression(){let t,_;try{const r=e.columndescriptor_compression(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}compressedSize(){return e.columndescriptor_compressedSize(this.__wbg_ptr)}uncompressedSize(){return e.columndescriptor_uncompressedSize(this.__wbg_ptr)}nullCount(){const t=e.columndescriptor_nullCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}distinctCount(){const t=e.columndescriptor_distinctCount(this.__wbg_ptr);return 0===t[0]?void 0:t[1]}minValue(){return e.columndescriptor_minValue(this.__wbg_ptr)}maxValue(){return e.columndescriptor_maxValue(this.__wbg_ptr)}}Symbol.dispose&&(re.prototype[Symbol.dispose]=re.prototype.free);class ne{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_columnid_free(t,0)}}Symbol.dispose&&(ne.prototype[Symbol.dispose]=ne.prototype.free);const ie=Object.freeze({PBF:0,0:"PBF"});class se{static __wrap(e){e>>>=0;const t=Object.create(se.prototype);return t.__wbg_ptr=e,E.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,E.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_displayoptimizationxzbuilder_free(t,0)}static new(){const t=e.displayoptimizationxzbuilder_new();return se.__wrap(t)}setCodeField(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;e.displayoptimizationxzbuilder_setCodeField(this.__wbg_ptr,_,r)}setSpatialReference(t,_){var r=z(_)?0:R(_,e.__wbindgen_malloc,e.__wbindgen_realloc),n=j;const i=e.displayoptimizationxzbuilder_setSpatialReference(this.__wbg_ptr,z(t)?4294967297:t>>>0,r,n);if(i[1])throw k(i[0])}setEncoding(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j,n=e.displayoptimizationxzbuilder_setEncoding(this.__wbg_ptr,_,r);if(n[1])throw k(n[0])}setGeometryType(t){e.displayoptimizationxzbuilder_setGeometryType(this.__wbg_ptr,t)}setFullExtent(t){e.displayoptimizationxzbuilder_setFullExtent(this.__wbg_ptr,t)}setHasZ(t){e.displayoptimizationxzbuilder_setHasZ(this.__wbg_ptr,t)}setHasM(t){e.displayoptimizationxzbuilder_setHasM(this.__wbg_ptr,t)}setMaxLevel(t){e.displayoptimizationxzbuilder_setMaxLevel(this.__wbg_ptr,t)}addLevel(t){_(t,le);var r=t.__destroy_into_raw();e.displayoptimizationxzbuilder_addLevel(this.__wbg_ptr,r)}}Symbol.dispose&&(se.prototype[Symbol.dispose]=se.prototype.free);class oe{static __wrap(e){e>>>=0;const t=Object.create(oe.prototype);return t.__wbg_ptr=e,G.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,G.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_displayoptimizationzbuilder_free(t,0)}static new(){const t=e.displayoptimizationzbuilder_new();return oe.__wrap(t)}setCodeField(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;e.displayoptimizationzbuilder_setCodeField(this.__wbg_ptr,_,r)}setXColumn(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;e.displayoptimizationzbuilder_setXColumn(this.__wbg_ptr,_,r)}setYColumn(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;e.displayoptimizationzbuilder_setYColumn(this.__wbg_ptr,_,r)}setSpatialReference(t,_){var r=z(_)?0:R(_,e.__wbindgen_malloc,e.__wbindgen_realloc),n=j;const i=e.displayoptimizationzbuilder_setSpatialReference(this.__wbg_ptr,z(t)?4294967297:t>>>0,r,n);if(i[1])throw k(i[0])}setFullExtent(t){e.displayoptimizationzbuilder_setFullExtent(this.__wbg_ptr,t)}setHasZ(t){e.displayoptimizationzbuilder_setHasZ(this.__wbg_ptr,t)}setHasM(t){e.displayoptimizationzbuilder_setHasM(this.__wbg_ptr,t)}setCooordinatePrecision(t){e.displayoptimizationzbuilder_setCooordinatePrecision(this.__wbg_ptr,t)}}Symbol.dispose&&(oe.prototype[Symbol.dispose]=oe.prototype.free);class ae{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,B.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_extent_free(t,0)}get xmin(){return e.__wbg_get_extent_xmin(this.__wbg_ptr)}set xmin(t){e.__wbg_set_extent_xmin(this.__wbg_ptr,t)}get ymin(){return e.__wbg_get_extent_ymin(this.__wbg_ptr)}set ymin(t){e.__wbg_set_extent_ymin(this.__wbg_ptr,t)}get xmax(){return e.__wbg_get_extent_xmax(this.__wbg_ptr)}set xmax(t){e.__wbg_set_extent_xmax(this.__wbg_ptr,t)}get ymax(){return e.__wbg_get_extent_ymax(this.__wbg_ptr)}set ymax(t){e.__wbg_set_extent_ymax(this.__wbg_ptr,t)}}Symbol.dispose&&(ae.prototype[Symbol.dispose]=ae.prototype.free);class ce{static __wrap(e){e>>>=0;const t=Object.create(ce.prototype);return t.__wbg_ptr=e,D.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,D.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_fieldmetadata_free(t,0)}get is_nested(){return 0!==e.__wbg_get_fieldmetadata_is_nested(this.__wbg_ptr)}set is_nested(t){e.__wbg_set_fieldmetadata_is_nested(this.__wbg_ptr,t)}get name(){let t,_;try{const r=e.fieldmetadata_name(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}get type(){const t=e.fieldmetadata_esri_type(this.__wbg_ptr);return U[t]}get physicalType(){const t=e.fieldmetadata_physical_type(this.__wbg_ptr);let _;return 0!==t[0]&&(_=p(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),_}get logicalType(){const t=e.fieldmetadata_logical_type(this.__wbg_ptr);let _;return 0!==t[0]&&(_=p(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),_}}Symbol.dispose&&(ce.prototype[Symbol.dispose]=ce.prototype.free);class ge{static __wrap(e){e>>>=0;const t=Object.create(ge.prototype);return t.__wbg_ptr=e,X.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_geometryfield_free(t,0)}static fromNative(t,_,r){const n=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),i=j,s=e.geometryfield_fromNative(n,i,_,r);if(s[2])throw k(s[1]);return ge.__wrap(s[0])}static fromWkb(t,_,r){const n=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),i=j,s=e.geometryfield_fromWkb(n,i,_,r);if(s[2])throw k(s[1]);return ge.__wrap(s[0])}static fromLocation(t,_,r,n){const i=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),s=j,o=R(_,e.__wbindgen_malloc,e.__wbindgen_realloc),a=j,c=e.geometryfield_fromLocation(i,s,o,a,r,n);if(c[2])throw k(c[1]);return ge.__wrap(c[0])}}Symbol.dispose&&(ge.prototype[Symbol.dispose]=ge.prototype.free);class ue{static __wrap(e){e>>>=0;const t=Object.create(ue.prototype);return t.__wbg_ptr=e,H.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_geometryinfo_free(t,0)}static new(){const t=e.geometryinfo_new();if(t[2])throw k(t[1]);return ue.__wrap(t[0])}setGeometry(t){_(t,ge);var r=t.__destroy_into_raw();e.geometryinfo_setGeometry(this.__wbg_ptr,r)}setOptmizationZ(t){_(t,oe);var r=t.__destroy_into_raw();const n=e.geometryinfo_setOptmizationZ(this.__wbg_ptr,r);if(n[1])throw k(n[0])}setOptmizationXZ(t){_(t,se);var r=t.__destroy_into_raw();const n=e.geometryinfo_setOptmizationXZ(this.__wbg_ptr,r);if(n[1])throw k(n[0])}}Symbol.dispose&&(ue.prototype[Symbol.dispose]=ue.prototype.free);const be=Object.freeze({Point:0,0:"Point",Polygon:1,1:"Polygon",Polyline:2,2:"Polyline",Multipoint:3,3:"Multipoint"});class le{static __wrap(e){e>>>=0;const t=Object.create(le.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_multiscalegeometryfield_free(t,0)}get scale(){return e.__wbg_get_extent_xmin(this.__wbg_ptr)}set scale(t){e.__wbg_set_extent_xmin(this.__wbg_ptr,t)}get level(){return e.__wbg_get_multiscalegeometryfield_level(this.__wbg_ptr)}set level(t){e.__wbg_set_multiscalegeometryfield_level(this.__wbg_ptr,t)}static new(t,_,r,n,i){const s=R(r,e.__wbindgen_malloc,e.__wbindgen_realloc),o=j,a=v(n,e.__wbindgen_malloc),c=j,g=v(i,e.__wbindgen_malloc),u=j,b=e.multiscalegeometryfield_new(t,_,s,o,a,c,g,u);return le.__wrap(b)}has_field(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;return 0!==e.multiscalegeometryfield_has_field(this.__wbg_ptr,_,r)}}Symbol.dispose&&(le.prototype[Symbol.dispose]=le.prototype.free);class we{static __wrap(e){e>>>=0;const t=Object.create(we.prototype);return t.__wbg_ptr=e,Y.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_pageencodingdescriptor_free(t,0)}pageType(){let t,_;try{const r=e.pageencodingdescriptor_pageType(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}encoding(){let t,_;try{const r=e.pageencodingdescriptor_encoding(this.__wbg_ptr);return t=r[0],_=r[1],p(r[0],r[1])}finally{e.__wbindgen_free(t,_,1)}}count(){return e.pageencodingdescriptor_count(this.__wbg_ptr)}}Symbol.dispose&&(we.prototype[Symbol.dispose]=we.prototype.free);class pe{static __wrap(e){e>>>=0;const t=Object.create(pe.prototype);return t.__wbg_ptr=e,Z.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetchunk_free(t,0)}serialize(){const t=e.parquetchunk_serialize(this.__wbg_ptr);var _=a(t[0],t[1]).slice();return e.__wbindgen_free(t[0],1*t[1],1),_}static deserialize(t){const _=x(t,e.__wbindgen_malloc),r=j,n=e.parquetchunk_deserialize(_,r);return pe.__wrap(n)}rowGroup(){return e.parquetchunk_rowGroup(this.__wbg_ptr)>>>0}insertPatch(t){_(t,fe);var r=t.__destroy_into_raw();e.parquetchunk_insertPatch(this.__wbg_ptr,r)}insertPatchBytes(t){const _=x(t,e.__wbindgen_malloc),r=j;e.parquetchunk_insertPatchBytes(this.__wbg_ptr,_,r)}size(){return e.parquetchunk_size(this.__wbg_ptr)>>>0}hasColumn(t){return 0!==e.parquetchunk_hasColumn(this.__wbg_ptr,t)}rowId(t){return e.parquetchunk_rowId(this.__wbg_ptr,t)}readX(t){const _=e.parquetchunk_readX(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}readY(t){const _=e.parquetchunk_readY(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}readIdsUnsafe(){return e.parquetchunk_readIdsUnsafe(this.__wbg_ptr)}readCoordsUnsafe(t){return e.parquetchunk_readCoordsUnsafe(this.__wbg_ptr,t)}readLengthsUnsafe(t){return e.parquetchunk_readLengthsUnsafe(this.__wbg_ptr,t)}transformGeometry(t,r,n,i,s,o){_(t,ye);const a=e.parquetchunk_transformGeometry(this.__wbg_ptr,t.__wbg_ptr,r,n,i,s,o);return 16777215===a?void 0:0!==a}boundsXMin(t){const _=e.parquetchunk_boundsXMin(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}boundsYMin(t){const _=e.parquetchunk_boundsYMin(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}boundsXMax(t){const _=e.parquetchunk_boundsXMax(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}boundsYMax(t){const _=e.parquetchunk_boundsYMax(this.__wbg_ptr,t);return 0===_[0]?void 0:_[1]}readAttribute(t,_){return e.parquetchunk_readAttribute(this.__wbg_ptr,t,_)}}Symbol.dispose&&(pe.prototype[Symbol.dispose]=pe.prototype.free);class de{static __wrap(e){e>>>=0;const t=Object.create(de.prototype);return t.__wbg_ptr=e,N.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,N.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetfile_free(t,0)}static fromUrl(t,r,n,i){const s=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),o=j;let a=0;z(i)||(_(i,ue),a=i.__destroy_into_raw());return e.parquetfile_fromUrl(s,o,r,n,a)}static fromBinary(t,r){const n=x(t,e.__wbindgen_malloc),i=j;let s=0;z(r)||(_(r,ue),s=r.__destroy_into_raw());return e.parquetfile_fromBinary(n,i,s)}compressionCodecs(){const t=e.parquetfile_compressionCodecs(this.__wbg_ptr);var _=s(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),_}version(){return e.parquetfile_version(this.__wbg_ptr)}byteLength(){return e.parquetfile_byteLength(this.__wbg_ptr)}numRows(){return e.parquetfile_numRows(this.__wbg_ptr)>>>0}numFields(){return e.parquetfile_numFields(this.__wbg_ptr)>>>0}numColumns(){return e.parquetfile_numColumns(this.__wbg_ptr)>>>0}createdBy(){const t=e.parquetfile_createdBy(this.__wbg_ptr);let _;return 0!==t[0]&&(_=p(t[0],t[1]).slice(),e.__wbindgen_free(t[0],1*t[1],1)),_}keyValueMetadata(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j,n=e.parquetfile_keyValueMetadata(this.__wbg_ptr,_,r);let i;return 0!==n[0]&&(i=p(n[0],n[1]).slice(),e.__wbindgen_free(n[0],1*n[1],1)),i}keys(){const t=e.parquetfile_keys(this.__wbg_ptr);let _;return 0!==t[0]&&(_=s(t[0],t[1]).slice(),e.__wbindgen_free(t[0],4*t[1],4)),_}columnForFieldName(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j,n=e.parquetfile_columnForFieldName(this.__wbg_ptr,_,r);return 4294967297===n?void 0:n}fields(t){const _=e.parquetfile_fields(this.__wbg_ptr,t);var r=s(_[0],_[1]).slice();return e.__wbindgen_free(_[0],4*_[1],4),r}rowGroups(){const t=e.parquetfile_rowGroups(this.__wbg_ptr);var _=s(t[0],t[1]).slice();return e.__wbindgen_free(t[0],4*t[1],4),_}updateChunkFields(r,n,i){_(r,pe);const s=S(n,e.__wbindgen_malloc),o=j;return e.parquetfile_updateChunkFields(this.__wbg_ptr,r.__wbg_ptr,s,o,z(i)?0:t(i))}createChunkPatch(_,r,n,i){const s=q(r,e.__wbindgen_malloc),o=j,a=S(n,e.__wbindgen_malloc),c=j;return e.parquetfile_createChunkPatch(this.__wbg_ptr,_,s,o,a,c,z(i)?0:t(i))}executeQuery(r,n){_(r,he);return e.parquetfile_executeQuery(this.__wbg_ptr,r.__wbg_ptr,z(n)?0:t(n))}readAttribute(t,_,r){return e.parquetfile_readAttribute(this.__wbg_ptr,t,_,r)}}Symbol.dispose&&(de.prototype[Symbol.dispose]=de.prototype.free);class fe{static __wrap(e){e>>>=0;const t=Object.create(fe.prototype);return t.__wbg_ptr=e,Q.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_parquetpatchchunk_free(t,0)}serialize(){const t=e.parquetpatchchunk_serialize(this.__wbg_ptr);var _=a(t[0],t[1]).slice();return e.__wbindgen_free(t[0],1*t[1],1),_}static deserialize(t){const _=x(t,e.__wbindgen_malloc),r=j,n=e.parquetpatchchunk_deserialize(_,r);return fe.__wrap(n)}}Symbol.dispose&&(fe.prototype[Symbol.dispose]=fe.prototype.free);class ye{static __wrap(e){e>>>=0;const t=Object.create(ye.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_quantizedgeometrybuffer_free(t,0)}static new(){const t=e.quantizedgeometrybuffer_new();return ye.__wrap(t)}readCoordsUnsafe(){return e.quantizedgeometrybuffer_readCoordsUnsafe(this.__wbg_ptr)}readLengthsUnsafe(){return e.quantizedgeometrybuffer_readLengthsUnsafe(this.__wbg_ptr)}}Symbol.dispose&&(ye.prototype[Symbol.dispose]=ye.prototype.free);class he{static __wrap(e){e>>>=0;const t=Object.create(he.prototype);return t.__wbg_ptr=e,J.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_query_free(t,0)}static new(){const t=e.query_new();return he.__wrap(t)}setExtent(t){e.query_setExtent(this.__wbg_ptr,t)}setIds(t){const _=q(t,e.__wbindgen_malloc),r=j;e.query_setIds(this.__wbg_ptr,_,r)}setOutFields(t){const _=S(t,e.__wbindgen_malloc),r=j;e.query_setOutFields(this.__wbg_ptr,_,r)}setOutSpatialReference(t){const _=e.query_setOutSpatialReference(this.__wbg_ptr,t);if(_[1])throw k(_[0])}setReturnGeometry(t){e.query_setReturnGeometry(this.__wbg_ptr,t)}setQuantizationTransform(t){e.query_setQuantizationTransform(this.__wbg_ptr,t)}setScale(t){e.query_setScale(this.__wbg_ptr,t)}setWhere(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j;e.query_setWhere(this.__wbg_ptr,_,r)}setWhereEvaluator(t){e.query_setWhereEvaluator(this.__wbg_ptr,t)}setWhereFields(t){const _=S(t,e.__wbindgen_malloc),r=j;e.query_setWhereFields(this.__wbg_ptr,_,r)}}Symbol.dispose&&(he.prototype[Symbol.dispose]=he.prototype.free);class me{static __wrap(e){e>>>=0;const t=Object.create(me.prototype);return t.__wbg_ptr=e,K.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_querystream_free(t,0)}next(_){return e.querystream_next(this.__wbg_ptr,z(_)?0:t(_))}}Symbol.dispose&&(me.prototype[Symbol.dispose]=me.prototype.free);class ze{static __wrap(e){e>>>=0;const t=Object.create(ze.prototype);return t.__wbg_ptr=e,ee.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rangeproviderjs_free(t,0)}static new(t,_){const r=e.rangeproviderjs_new(t,_);return ze.__wrap(r)}static withFetch(){const t=e.rangeproviderjs_withFetch();return ze.__wrap(t)}}Symbol.dispose&&(ze.prototype[Symbol.dispose]=ze.prototype.free);class Fe{static __wrap(e){e>>>=0;const t=Object.create(Fe.prototype);return t.__wbg_ptr=e,te.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rowgroup_free(t,0)}columnDescriptorForAttribute(t){const _=R(t,e.__wbindgen_malloc,e.__wbindgen_realloc),r=j,n=e.rowgroup_columnDescriptorForAttribute(this.__wbg_ptr,_,r);return re.__wrap(n)}}Symbol.dispose&&(Fe.prototype[Symbol.dispose]=Fe.prototype.free);class qe{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){const t=this.__destroy_into_raw();e.__wbg_rowgroupid_free(t,0)}}function xe(){e.enableTracing()}Symbol.dispose&&(qe.prototype[Symbol.dispose]=qe.prototype.free);const ve=new Set(["basic","cors","default"]);async function Se(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(_){if(!(e.ok&&ve.has(e.type))||"application/wasm"===e.headers.get("Content-Type"))throw _;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",_)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const _=await WebAssembly.instantiate(e,t);return _ instanceof WebAssembly.Instance?{instance:_,module:e}:_}}function Re(){const _={wbg:{}};return _.wbg.__wbg___wbindgen_is_function_8d400b8b1af978cd=function(e){return"function"==typeof e},_.wbg.__wbg___wbindgen_is_undefined_f6b95eab589e0269=function(e){return void 0===e},_.wbg.__wbg___wbindgen_number_get_9619185a74197f95=function(e,t){const _="number"==typeof t?t:void 0;g().setFloat64(e+8,z(_)?0:_,!0),g().setInt32(e+0,!z(_),!0)},_.wbg.__wbg___wbindgen_string_get_a2a31e16edf96e42=function(t,_){const r="string"==typeof _?_:void 0;var n=z(r)?0:R(r,e.__wbindgen_malloc,e.__wbindgen_realloc),i=j;g().setInt32(t+4,i,!0),g().setInt32(t+0,n,!0)},_.wbg.__wbg___wbindgen_throw_dd24417ed36fc46e=function(e,t){throw new Error(p(e,t))},_.wbg.__wbg__wbg_cb_unref_87dfb5aaa0cbcea7=function(e){e._wbg_cb_unref()},_.wbg.__wbg_aborted_2cb17c7dcb0e0509=function(e){return e.aborted},_.wbg.__wbg_apply_52e9ae668d017009=function(){return m(function(e,t,_){return e.apply(t,_)},arguments)},_.wbg.__wbg_call_3020136f7a2d6e44=function(){return m(function(e,t,_){return e.call(t,_)},arguments)},_.wbg.__wbg_call_abb4ff46ce38be40=function(){return m(function(e,t){return e.call(t)},arguments)},_.wbg.__wbg_call_c8baa5c5e72d274e=function(){return m(function(e,t,_,r){return e.call(t,_,r)},arguments)},_.wbg.__wbg_error_7534b8e9a36f1ab4=function(t,_){let r,n;try{r=t,n=_,console.error(p(t,_))}finally{e.__wbindgen_free(r,n,1)}},_.wbg.__wbg_fieldmetadata_new=function(e){return ce.__wrap(e)},_.wbg.__wbg_get_6b7bd52aca3f9671=function(e,t){return e[t>>>0]},_.wbg.__wbg_get_af9dab7e9603ea93=function(){return m(function(e,t){return Reflect.get(e,t)},arguments)},_.wbg.__wbg_length_22ac23eaec9d8053=function(e){return e.length},_.wbg.__wbg_new_6421f6084cc5bc5a=function(e){return new Uint8Array(e)},_.wbg.__wbg_new_7041ab116402aa97=function(e){return new Uint32Array(e)},_.wbg.__wbg_new_8a6f238a6ece86ea=function(){return new Error},_.wbg.__wbg_new_df1173567d5ff028=function(e,t){return new Error(p(e,t))},_.wbg.__wbg_new_ff12d2b041fb48f1=function(e,t){try{var _={a:e,b:t},r=(e,t)=>{const r=_.a;_.a=0;try{return L(r,_.b,e,t)}finally{_.a=r}};return new Promise(r)}finally{_.a=_.b=0}},_.wbg.__wbg_new_from_slice_4d703bec0a9a4603=function(e,t){return new Int16Array(i(e,t))},_.wbg.__wbg_new_from_slice_9a48ef80d2a51f94=function(e,t){return new Float64Array(n(e,t))},_.wbg.__wbg_new_no_args_cb138f77cf6151ee=function(e,t){return new Function(p(e,t))},_.wbg.__wbg_new_with_length_12c6de4fac33117a=function(e){return new Array(e>>>0)},_.wbg.__wbg_pageencodingdescriptor_new=function(e){return we.__wrap(e)},_.wbg.__wbg_parquetchunk_new=function(e){return pe.__wrap(e)},_.wbg.__wbg_parquetfile_new=function(e){return de.__wrap(e)},_.wbg.__wbg_parquetpatchchunk_new=function(e){return fe.__wrap(e)},_.wbg.__wbg_prototypesetcall_dfe9b766cdc1f1fd=function(e,t,_){Uint8Array.prototype.set.call(a(e,t),_)},_.wbg.__wbg_querystream_new=function(e){return me.__wrap(e)},_.wbg.__wbg_queueMicrotask_9b549dfce8865860=function(e){return e.queueMicrotask},_.wbg.__wbg_queueMicrotask_fca69f5bfad613a5=function(e){queueMicrotask(e)},_.wbg.__wbg_resolve_fd5bfbaa4ce36e1e=function(e){return Promise.resolve(e)},_.wbg.__wbg_rowgroup_new=function(e){return Fe.__wrap(e)},_.wbg.__wbg_set_7df433eea03a5c14=function(e,t,_){e[t>>>0]=_},_.wbg.__wbg_set_name_df69b75cb0b4de8a=function(e,t,_){e.name=p(t,_)},_.wbg.__wbg_stack_0ed75d68575b0f3c=function(t,_){const r=R(_.stack,e.__wbindgen_malloc,e.__wbindgen_realloc),n=j;g().setInt32(t+4,n,!0),g().setInt32(t+0,r,!0)},_.wbg.__wbg_static_accessor_GLOBAL_769e6b65d6557335=function(){const e="undefined"==typeof global?null:global;return z(e)?0:t(e)},_.wbg.__wbg_static_accessor_GLOBAL_THIS_60cf02db4de8e1c1=function(){const e="undefined"==typeof globalThis?null:globalThis;return z(e)?0:t(e)},_.wbg.__wbg_static_accessor_SELF_08f5a74c69739274=function(){const e="undefined"==typeof self?null:self;return z(e)?0:t(e)},_.wbg.__wbg_static_accessor_WINDOW_a8924b26aa92d024=function(){const e="undefined"==typeof window?null:window;return z(e)?0:t(e)},_.wbg.__wbg_then_429f7caf1026411d=function(e,t,_){return e.then(t,_)},_.wbg.__wbg_then_4f95312d68691235=function(e,t){return e.then(t)},_.wbg.__wbg_valueOf_1024b255fe545c31=function(e){return e.valueOf()},_.wbg.__wbg_valueOf_17c63ed1b225597a=function(e){return e.valueOf()},_.wbg.__wbindgen_cast_1e9af41a93765cab=function(t,_){return F(t,_,e.wasm_bindgen__closure__destroy__h67ae5870cc8ab750,I)},_.wbg.__wbindgen_cast_2241b6af4c4b2941=function(e,t){return p(e,t)},_.wbg.__wbindgen_cast_4af8e60a922bcf35=function(e,t){return n(e,t)},_.wbg.__wbindgen_cast_77bc3e92745e9a35=function(t,_){var r=a(t,_).slice();e.__wbindgen_free(t,1*_,1);return r},_.wbg.__wbindgen_cast_7c316abdc43840a3=function(e,t){return o(e,t)},_.wbg.__wbindgen_cast_9ae0607507abb057=function(e){return e},_.wbg.__wbindgen_cast_cb9088102bce6b30=function(e,t){return a(e,t)},_.wbg.__wbindgen_cast_d6cd19b81560fd6e=function(e){return e},_.wbg.__wbindgen_cast_e47ceb6027f5c92c=function(e,t){return i(e,t)},_.wbg.__wbindgen_init_externref_table=function(){const t=e.__wbindgen_externrefs,_=t.grow(4);t.set(0,void 0),t.set(_+0,void 0),t.set(_+1,null),t.set(_+2,!0),t.set(_+3,!1)},_}function ke(t,_){return e=t.exports,Te.__wbindgen_wasm_module=_,c=null,u=null,l=null,d=null,y=null,e.__wbindgen_start(),e}function Oe(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module:t}=t):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const _=Re();t instanceof WebAssembly.Module||(t=new WebAssembly.Module(t));return ke(new WebAssembly.Instance(t,_),t)}async function Te(t){if(void 0!==e)return e;void 0!==t&&(Object.getPrototypeOf(t)===Object.prototype?({module_or_path:t}=t):console.warn("using deprecated parameters for the initialization function; pass a single object instead"));const _=Re();("string"==typeof t||"function"==typeof Request&&t instanceof Request||"function"==typeof URL&&t instanceof URL)&&(t=fetch(t));const{instance:r,module:n}=await Se(await t,_);return ke(r,n)}export{re as ColumnDescriptor,ne as ColumnId,ie as DisplayEncoding,se as DisplayOptimizationXZBuilder,oe as DisplayOptimizationZBuilder,ae as Extent,ce as FieldMetadata,ge as GeometryField,ue as GeometryInfo,be as GeometryType,le as MultiscaleGeometryField,we as PageEncodingDescriptor,pe as ParquetChunk,de as ParquetFile,fe as ParquetPatchChunk,ye as QuantizedGeometryBuffer,he as Query,me as QueryStream,ze as RangeProviderJs,Fe as RowGroup,qe as RowGroupId,Te as default,xe as enableTracing,Oe as initSync};