UNPKG

@arcgis/core

Version:

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

3 lines (2 loc) • 45.1 kB
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */ async function t(t={}){var e,o=t,r="./this.program",_="",p="";function n(t){return o.locateFile?o.locateFile(t,p):p+t}try{p=new URL(".",_).href}catch{}e=async t=>{var e=await fetch(t,{credentials:"same-origin"});if(e.ok)return e.arrayBuffer();throw new Error(e.status+" : "+e.url)};var i,c,a,y,s,P,g,u,f,b,E,d=console.log.bind(console),T=console.error.bind(console),O=!1;function m(t,e){t||v(e)}var h,S=!1;function N(){var t=dr.buffer;y=new Int8Array(t),P=new Int16Array(t),s=new Uint8Array(t),g=new Int32Array(t),u=new Uint32Array(t),f=new Float32Array(t),b=new Float64Array(t),E=new BigInt64Array(t),new BigUint64Array(t)}function l(){S=!0,I(Sr),lr.t()}function v(t){T(t="Aborted("+t+")"),O=!0,t+=". Build with -sASSERTIONS for more info.";var e=new WebAssembly.RuntimeError(t);throw a?.(e),e}function M(){return o.locateFile?n("pe-wasm.wasm"):new URL("pe-wasm.wasm","").href}function j(t){throw"both async and sync fetching of the wasm failed"}async function D(t){try{var o=await e(t);return new Uint8Array(o)}catch{}return j()}async function A(t,e){try{var o=await D(t);return await WebAssembly.instantiate(o,e)}catch(r){T(`failed to asynchronously prepare wasm: ${r}`),v(r)}}async function R(t,e,o){try{var r=fetch(e,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(r,o)}catch(_){T(`wasm streaming compile failed: ${_}`),T("falling back to ArrayBuffer instantiation")}return A(e,o)}function G(){return{a:vr}}async function C(){function t(t,e){return Nr(lr=t.exports),N(),lr}function e(e){return t(e.instance)}var o=G();return h??=M(),e(await R(i,h,o))}var I=t=>{for(;t.length>0;)t.shift()(o)};function L(t,e="i8"){switch(e.endsWith("*")&&(e="*"),e){case"i1":case"i8":return y[t];case"i16":return P[t>>1];case"i32":return g[t>>2];case"i64":return E[t>>3];case"float":return f[t>>2];case"double":return b[t>>3];case"*":return u[t>>2];default:v(`invalid type for getValue: ${e}`)}}var U=globalThis.TextDecoder&&new TextDecoder,w=(t,e,o,r)=>{var _=e+o;if(r)return _;for(;t[e]&&!(e>=_);)++e;return e},F=(t,e=0,o,r)=>{var _=w(t,e,o,r);if(_-e>16&&t.buffer&&U)return U.decode(t.subarray(e,_));for(var p="";e<_;){var n=t[e++];if(128&n){var i=63&t[e++];if(192!=(224&n)){var c=63&t[e++];if((n=224==(240&n)?(15&n)<<12|i<<6|c:(7&n)<<18|i<<12|c<<6|63&t[e++])<65536)p+=String.fromCharCode(n);else{var a=n-65536;p+=String.fromCharCode(55296|a>>10,56320|1023&a)}}else p+=String.fromCharCode((31&n)<<6|i)}else p+=String.fromCharCode(n)}return p},Y=(t,e,o)=>t?F(s,t,e,o):"";function X(t,e,o){return 0}var x=(t,e,o)=>{};function H(t,e,o){return 0}function z(t,e,o,r){}var Z=t=>{},W=(t,e)=>{},B=(t,e,o)=>{},q=()=>v(""),K=t=>t%4==0&&(t%100!=0||t%400==0),V=[0,31,60,91,121,152,182,213,244,274,305,335],k=[0,31,59,90,120,151,181,212,243,273,304,334],$=t=>(K(t.getFullYear())?V:k)[t.getMonth()]+t.getDate()-1,J=9007199254740992,Q=-9007199254740992,tt=t=>t<Q||t>J?NaN:Number(t);function et(t,e){t=tt(t);var o=new Date(1e3*t);g[e>>2]=o.getSeconds(),g[e+4>>2]=o.getMinutes(),g[e+8>>2]=o.getHours(),g[e+12>>2]=o.getDate(),g[e+16>>2]=o.getMonth(),g[e+20>>2]=o.getFullYear()-1900,g[e+24>>2]=o.getDay();var r=0|$(o);g[e+28>>2]=r,g[e+36>>2]=-60*o.getTimezoneOffset();var _=new Date(o.getFullYear(),0,1),p=new Date(o.getFullYear(),6,1).getTimezoneOffset(),n=_.getTimezoneOffset(),i=0|(p!=n&&o.getTimezoneOffset()==Math.min(n,p));g[e+32>>2]=i}var ot=(t,e,o,r)=>{if(!(r>0))return 0;for(var _=o,p=o+r-1,n=0;n<t.length;++n){var i=t.codePointAt(n);if(i<=127){if(o>=p)break;e[o++]=i}else if(i<=2047){if(o+1>=p)break;e[o++]=192|i>>6,e[o++]=128|63&i}else if(i<=65535){if(o+2>=p)break;e[o++]=224|i>>12,e[o++]=128|i>>6&63,e[o++]=128|63&i}else{if(o+3>=p)break;e[o++]=240|i>>18,e[o++]=128|i>>12&63,e[o++]=128|i>>6&63,e[o++]=128|63&i,n++}}return e[o]=0,o-_},rt=(t,e,o)=>ot(t,s,e,o),_t=(t,e,o,r)=>{var _=(new Date).getFullYear(),p=new Date(_,0,1),n=new Date(_,6,1),i=p.getTimezoneOffset(),c=n.getTimezoneOffset(),a=Math.max(i,c);u[t>>2]=60*a,g[e>>2]=Number(i!=c);var y=t=>{var e=t>=0?"-":"+",o=Math.abs(t);return`UTC${e}${String(Math.floor(o/60)).padStart(2,"0")}${String(o%60).padStart(2,"0")}`},s=y(i),P=y(c);c<i?(rt(s,o,17),rt(P,r,17)):(rt(s,r,17),rt(P,o,17))},pt=()=>Date.now(),nt=()=>2147483648,it=(t,e)=>Math.ceil(t/e)*e,ct=t=>{var e=(t-dr.buffer.byteLength+65535)/65536|0;try{return dr.grow(e),N(),1}catch(o){}},at=t=>{var e=s.length;t>>>=0;var o=nt();if(t>o)return!1;for(var r=1;r<=4;r*=2){var _=e*(1+.2/r);_=Math.min(_,t+100663296);var p=Math.min(o,it(Math.max(t,_),65536));if(ct(p))return!0}return!1},yt={},st=()=>r,Pt=()=>{if(!Pt.strings){var t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(globalThis.navigator?.language??"C").replace("-","_")+".UTF-8",_:st()};for(var e in yt)void 0===yt[e]?delete t[e]:t[e]=yt[e];var o=[];for(var e in t)o.push(`${e}=${t[e]}`);Pt.strings=o}return Pt.strings},gt=(t,e)=>{var o=0,r=0;for(var _ of Pt()){var p=e+o;u[t+r>>2]=p,o+=rt(_,p,1/0)+1,r+=4}return 0},ut=t=>{for(var e=0,o=0;o<t.length;++o){var r=t.charCodeAt(o);r<=127?e++:r<=2047?e+=2:r>=55296&&r<=57343?(e+=4,++o):e+=3}return e},ft=(t,e)=>{var o=Pt();u[t>>2]=o.length;var r=0;for(var _ of o)r+=ut(_)+1;return u[e>>2]=r,0},bt=t=>52,Et=(t,e,o,r)=>52;function dt(t,e,o,r){return 70}var Tt,Ot,mt,ht,St,Nt,lt,vt,Mt,jt,Dt,At,Rt,Gt,Ct,It,Lt,Ut,wt,Ft,Yt,Xt,xt,Ht,zt,Zt,Wt,Bt,qt,Kt,Vt,kt,$t,Jt,Qt,te,ee,oe,re,_e,pe,ne,ie,ce,ae,ye,se,Pe,ge,ue,fe,be,Ee,de,Te,Oe,me,he,Se,Ne,le,ve,Me,je,De,Ae,Re,Ge,Ce,Ie,Le,Ue,we,Fe,Ye,Xe,xe,He,ze,Ze,We,Be,qe,Ke,Ve,ke,$e,Je,Qe,to,eo,oo,ro,_o,po,no,io,co,ao,yo,so,Po,go,uo,fo,bo,Eo,To,Oo,mo,ho,So,No,lo,vo,Mo,jo,Do,Ao,Ro,Go,Co,Io,Lo,Uo,wo,Fo,Yo,Xo,xo,Ho,zo,Zo,Wo,Bo,qo,Ko,Vo,ko,$o,Jo,Qo,tr,er,or,rr,_r,pr,nr,ir,cr,ar,yr,sr,Pr,gr,ur,fr,br,Er,dr,Tr=[null,[],[]],Or=(t,e)=>{var o=Tr[t];0===e||10===e?((1===t?d:T)(F(o)),o.length=0):o.push(e)},mr=(t,e,o,r)=>{for(var _=0,p=0;p<o;p++){var n=u[e>>2],i=u[e+4>>2];e+=8;for(var c=0;c<i;c++)Or(t,s[n+c]);_+=i}return u[r>>2]=_,0},hr=(t,e,o)=>{var r=ut(t)+1,_=new Array(r);return ot(t,_,0,_.length),_},Sr=[];function Nr(t){o._webidl_free=t.u,o._webidl_malloc=t.v,Tt=o._emscripten_bind_PeObject_getCode_0=t.w,Ot=o._emscripten_bind_PeObject_getName_1=t.x,mt=o._emscripten_bind_PeObject_getType_0=t.y,ht=o._emscripten_bind_PeCoordsys_isEqual_1=t.z,St=o._emscripten_bind_PeCoordsys_getCode_0=t.A,Nt=o._emscripten_bind_PeCoordsys_getName_1=t.B,lt=o._emscripten_bind_PeCoordsys_getType_0=t.C,vt=o._emscripten_bind_PeUnit_getUnitFactor_0=t.D,Mt=o._emscripten_bind_PeUnit_getCode_0=t.E,jt=o._emscripten_bind_PeUnit_getName_1=t.F,Dt=o._emscripten_bind_PeUnit_getType_0=t.G,At=o._emscripten_bind_VoidPtr___destroy___0=t.H,Rt=o._emscripten_bind_PeAngunit_getCode_0=t.I,Gt=o._emscripten_bind_PeAngunit_getName_1=t.J,Ct=o._emscripten_bind_PeAngunit_getType_0=t.K,It=o._emscripten_bind_PeAngunit_getUnitFactor_0=t.L,Lt=o._emscripten_bind_PeDatum_getSpheroid_0=t.M,Ut=o._emscripten_bind_PeDatum_getCode_0=t.N,wt=o._emscripten_bind_PeDatum_getName_1=t.O,Ft=o._emscripten_bind_PeDatum_getType_0=t.P,Yt=o._emscripten_bind_PeDefs_get_PE_BUFFER_MAX_0=t.Q,Xt=o._emscripten_bind_PeDefs_get_PE_NAME_MAX_0=t.R,xt=o._emscripten_bind_PeDefs_get_PE_MGRS_MAX_0=t.S,Ht=o._emscripten_bind_PeDefs_get_PE_USNG_MAX_0=t.T,zt=o._emscripten_bind_PeDefs_get_PE_DD_MAX_0=t.U,Zt=o._emscripten_bind_PeDefs_get_PE_DMS_MAX_0=t.V,Wt=o._emscripten_bind_PeDefs_get_PE_DDM_MAX_0=t.W,Bt=o._emscripten_bind_PeDefs_get_PE_UTM_MAX_0=t.X,qt=o._emscripten_bind_PeDefs_get_PE_PARM_MAX_0=t.Y,Kt=o._emscripten_bind_PeDefs_get_PE_TYPE_NONE_0=t.Z,Vt=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGCS_0=t._,kt=o._emscripten_bind_PeDefs_get_PE_TYPE_PROJCS_0=t.$,$t=o._emscripten_bind_PeDefs_get_PE_TYPE_GEOGTRAN_0=t.aa,Jt=o._emscripten_bind_PeDefs_get_PE_TYPE_COORDSYS_0=t.ba,Qt=o._emscripten_bind_PeDefs_get_PE_TYPE_UNIT_0=t.ca,te=o._emscripten_bind_PeDefs_get_PE_TYPE_LINUNIT_0=t.da,ee=o._emscripten_bind_PeDefs_get_PE_STR_OPTS_NONE_0=t.ea,oe=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_NONE_0=t.fa,re=o._emscripten_bind_PeDefs_get_PE_STR_AUTH_TOP_0=t.ga,_e=o._emscripten_bind_PeDefs_get_PE_STR_NAME_CANON_0=t.ha,pe=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT_0=t.ia,ne=o._emscripten_bind_PeDefs_get_PE_STR_FMT_WKT2_0=t.ja,ie=o._emscripten_bind_PeDefs_get_PE_PARM_X0_0=t.ka,ce=o._emscripten_bind_PeDefs_get_PE_PARM_ND_0=t.la,ae=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_1_TO_2_0=t.ma,ye=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_2_TO_1_0=t.na,se=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_P_TO_G_0=t.oa,Pe=o._emscripten_bind_PeDefs_get_PE_TRANSFORM_G_TO_P_0=t.pa,ge=o._emscripten_bind_PeDefs_get_PE_HORIZON_RECT_0=t.qa,ue=o._emscripten_bind_PeDefs_get_PE_HORIZON_POLY_0=t.ra,fe=o._emscripten_bind_PeDefs_get_PE_HORIZON_LINE_0=t.sa,be=o._emscripten_bind_PeDefs_get_PE_HORIZON_DELTA_0=t.ta,Ee=o._emscripten_bind_PeDouble_PeDouble_1=t.ua,de=o._emscripten_bind_PeDouble_get_val_0=t.va,Te=o._emscripten_bind_PeDouble_set_val_1=t.wa,Oe=o._emscripten_bind_PeDouble___destroy___0=t.xa,me=o._emscripten_bind_PeFactory_initialize_1=t.ya,he=o._emscripten_bind_PeFactory_factoryByType_2=t.za,Se=o._emscripten_bind_PeFactory_fromString_2=t.Aa,Ne=o._emscripten_bind_PeFactory_getCode_1=t.Ba,le=o._emscripten_bind_PeGCSExtent_PeGCSExtent_6=t.Ca,ve=o._emscripten_bind_PeGCSExtent_getLLon_0=t.Da,Me=o._emscripten_bind_PeGCSExtent_getSLat_0=t.Ea,je=o._emscripten_bind_PeGCSExtent_getRLon_0=t.Fa,De=o._emscripten_bind_PeGCSExtent_getNLat_0=t.Ga,Ae=o._emscripten_bind_PeGCSExtent___destroy___0=t.Ha,Re=o._emscripten_bind_PeGeogcs_Delete_0=t.Ia,Ge=o._emscripten_bind_PeGeogcs_cloneAlterUnits_1=t.Ja,Ce=o._emscripten_bind_PeGeogcs_getDatum_0=t.Ka,Ie=o._emscripten_bind_PeGeogcs_getPrimem_0=t.La,Le=o._emscripten_bind_PeGeogcs_getUnit_0=t.Ma,Ue=o._emscripten_bind_PeGeogcs_isEqual_1=t.Na,we=o._emscripten_bind_PeGeogcs_getCode_0=t.Oa,Fe=o._emscripten_bind_PeGeogcs_getName_1=t.Pa,Ye=o._emscripten_bind_PeGeogcs_getType_0=t.Qa,Xe=o._emscripten_bind_PeGeogtran_isEqual_1=t.Ra,xe=o._emscripten_bind_PeGeogtran_getGeogcs1_0=t.Sa,He=o._emscripten_bind_PeGeogtran_getGeogcs2_0=t.Ta,ze=o._emscripten_bind_PeGeogtran_getParameters_0=t.Ua,Ze=o._emscripten_bind_PeGeogtran_loadConstants_0=t.Va,We=o._emscripten_bind_PeGeogtran_getCode_0=t.Wa,Be=o._emscripten_bind_PeGeogtran_getName_1=t.Xa,qe=o._emscripten_bind_PeGeogtran_getType_0=t.Ya,Ke=o._emscripten_bind_PeGTlistExtended_getGTlist_6=t.Za,Ve=o._emscripten_bind_PeGTlistExtended_get_PE_GTLIST_OPTS_COMMON_0=t._a,ke=o._emscripten_bind_PeGTlistExtendedEntry_getEntries_0=t.$a,$e=o._emscripten_bind_PeGTlistExtendedEntry_getSteps_0=t.ab,Je=o._emscripten_bind_PeGTlistExtendedEntry_Delete_1=t.bb,Qe=o._emscripten_bind_PeGTlistExtendedGTs_getDirection_0=t.cb,to=o._emscripten_bind_PeGTlistExtendedGTs_getGeogtran_0=t.db,eo=o._emscripten_bind_PeHorizon_getNump_0=t.eb,oo=o._emscripten_bind_PeHorizon_getKind_0=t.fb,ro=o._emscripten_bind_PeHorizon_getInclusive_0=t.gb,_o=o._emscripten_bind_PeHorizon_getSize_0=t.hb,po=o._emscripten_bind_PeHorizon_getCoord_0=t.ib,no=o._emscripten_bind_PeInteger_PeInteger_1=t.jb,io=o._emscripten_bind_PeInteger_get_val_0=t.kb,co=o._emscripten_bind_PeInteger_set_val_1=t.lb,ao=o._emscripten_bind_PeInteger___destroy___0=t.mb,yo=o._emscripten_bind_PeLineType_geodetic_distance_10=t.nb,so=o._emscripten_bind_PeLineType_geodetic_coordinate_9=t.ob,Po=o._emscripten_bind_PeLineType_geodesic_coordinate_8=t.pb,go=o._emscripten_bind_PeLineType_great_elliptic_distance_9=t.qb,uo=o._emscripten_bind_PeMath_phi_to_eta_2=t.rb,fo=o._emscripten_bind_PeMath_eta_to_phi_2=t.sb,bo=o._emscripten_bind_PeMath_phi_to_phig_2=t.tb,Eo=o._emscripten_bind_PeMath_q_3=t.ub,To=o._emscripten_bind_PeMath_q90_2=t.vb,Oo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_NEW_0=t.wb,mo=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_OLD_0=t.xb,ho=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_STYLE_AUTO_0=t.yb,So=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_180_ZONE_1_PLUS_0=t.zb,No=o._emscripten_bind_PeNotationMgrs_get_PE_MGRS_ADD_SPACES_0=t.Ab,lo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NONE_0=t.Bb,vo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_0=t.Cb,Mo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_NS_STRICT_0=t.Db,jo=o._emscripten_bind_PeNotationUtm_get_PE_UTM_OPTS_ADD_SPACES_0=t.Eb,Do=o._emscripten_bind_PeParameter_getValue_0=t.Fb,Ao=o._emscripten_bind_PeParameter_getCode_0=t.Gb,Ro=o._emscripten_bind_PeParameter_getName_1=t.Hb,Go=o._emscripten_bind_PeParameter_getType_0=t.Ib,Co=o._emscripten_bind_PePCSInfo_getCentralMeridian_0=t.Jb,Io=o._emscripten_bind_PePCSInfo_getDomainMinx_0=t.Kb,Lo=o._emscripten_bind_PePCSInfo_getDomainMiny_0=t.Lb,Uo=o._emscripten_bind_PePCSInfo_getDomainMaxx_0=t.Mb,wo=o._emscripten_bind_PePCSInfo_getDomainMaxy_0=t.Nb,Fo=o._emscripten_bind_PePCSInfo_getNorthPoleLocation_0=t.Ob,Yo=o._emscripten_bind_PePCSInfo_getNorthPoleGeometry_0=t.Pb,Xo=o._emscripten_bind_PePCSInfo_getSouthPoleLocation_0=t.Qb,xo=o._emscripten_bind_PePCSInfo_getSouthPoleGeometry_0=t.Rb,Ho=o._emscripten_bind_PePCSInfo_isDensificationNeeded_0=t.Sb,zo=o._emscripten_bind_PePCSInfo_isGcsHorizonMultiOverlap_0=t.Tb,Zo=o._emscripten_bind_PePCSInfo_isPannableRectangle_0=t.Ub,Wo=o._emscripten_bind_PePCSInfo_generate_2=t.Vb,Bo=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_NONE_0=t.Wb,qo=o._emscripten_bind_PePCSInfo_get_PE_PCSINFO_OPTION_DOMAIN_0=t.Xb,Ko=o._emscripten_bind_PePCSInfo_get_PE_POLE_OUTSIDE_BOUNDARY_0=t.Yb,Vo=o._emscripten_bind_PePCSInfo_get_PE_POLE_POINT_0=t.Zb,ko=o._emscripten_bind_PePrimem_getLongitude_0=t._b,$o=o._emscripten_bind_PePrimem_getCode_0=t.$b,Jo=o._emscripten_bind_PePrimem_getName_1=t.ac,Qo=o._emscripten_bind_PePrimem_getType_0=t.bc,tr=o._emscripten_bind_PeProjcs_Delete_0=t.cc,er=o._emscripten_bind_PeProjcs_getGeogcs_0=t.dc,or=o._emscripten_bind_PeProjcs_getProjection_0=t.ec,rr=o._emscripten_bind_PeProjcs_getParameters_0=t.fc,_r=o._emscripten_bind_PeProjcs_getUnit_0=t.gc,pr=o._emscripten_bind_PeProjcs_loadConstants_0=t.hc,nr=o._emscripten_bind_PeProjcs_horizonGcsGenerate_0=t.ic,ir=o._emscripten_bind_PeProjcs_horizonPcsGenerate_0=t.jc,cr=o._emscripten_bind_PeProjcs_isEqual_1=t.kc,ar=o._emscripten_bind_PeProjcs_getCode_0=t.lc,yr=o._emscripten_bind_PeProjcs_getName_1=t.mc,sr=o._emscripten_bind_PeProjcs_getType_0=t.nc,Pr=o._emscripten_bind_PeSpheroid_getAxis_0=t.oc,gr=o._emscripten_bind_PeSpheroid_getFlattening_0=t.pc,ur=o._emscripten_bind_PeSpheroid_getCode_0=t.qc,fr=o._emscripten_bind_PeSpheroid_getName_1=t.rc,br=o._emscripten_bind_PeSpheroid_getType_0=t.sc,Er=o._emscripten_bind_PeVersion_version_string_0=t.tc,o._pe_getPeGTlistExtendedEntrySize=t.uc,o._pe_getPeGTlistExtendedGTsSize=t.vc,o._pe_getPeHorizonSize=t.wc,o._pe_geog_to_geog=t.xc,o._pe_geog_to_proj=t.yc,o._pe_geog_to_dd=t.zc,o._pe_dd_to_geog=t.Ac,o._pe_geog_to_ddm=t.Bc,o._pe_ddm_to_geog=t.Cc,o._pe_geog_to_dms=t.Dc,o._pe_dms_to_geog=t.Ec,o._pe_geog_to_mgrs_extended=t.Fc,o._pe_mgrs_to_geog_extended=t.Gc,o._pe_geog_to_usng=t.Hc,o._pe_usng_to_geog=t.Ic,o._pe_geog_to_utm=t.Jc,o._pe_utm_to_geog=t.Kc,o._pe_object_to_string_ext=t.Lc,o._pe_object_is_wkt2_needed=t.Mc,o._pe_proj_to_geog_center=t.Nc,dr=t.s,t.__indirect_function_table}o.getValue=L,o.UTF8ToString=Y;var lr,vr={c:X,o:x,i:H,d:z,m:Z,l:W,n:B,j:q,p:et,q:_t,r:pt,k:at,f:gt,g:ft,a:bt,h:Et,e:dt,b:mr};function Mr(){function t(){o.calledRun=!0,O||(l(),c?.(o))}t()}function jr(){}function Dr(t){return(t||jr).__cache__}function Ar(t,e){var o=Dr(e),r=o[t];return r||((r=Object.create((e||jr).prototype)).ptr=t,o[t]=r)}function Rr(t,e){return Ar(t.ptr,e)}function Gr(t){if(!t.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";t.__destroy__(),delete Dr(t.__class__)[t.ptr]}function Cr(t,e){return t.ptr===e.ptr}function Ir(t){return t.ptr}function Lr(t){return t.__class__}lr=await C(),Mr(),jr.prototype=Object.create(jr.prototype),jr.prototype.constructor=jr,jr.prototype.__class__=jr,jr.__cache__={},o.WrapperObject=jr,o.getCache=Dr,o.wrapPointer=Ar,o.castObject=Rr,o.NULL=Ar(0),o.destroy=Gr,o.compare=Cr,o.getPointer=Ir,o.getClass=Lr;var Ur={buffer:0,size:0,pos:0,temps:[],needed:0,prepare(){if(Ur.needed){for(var t=0;t<Ur.temps.length;t++)o._webidl_free(Ur.temps[t]);Ur.temps.length=0,o._webidl_free(Ur.buffer),Ur.buffer=0,Ur.size+=Ur.needed,Ur.needed=0}Ur.buffer||(Ur.size+=128,Ur.buffer=o._webidl_malloc(Ur.size),m(Ur.buffer)),Ur.pos=0},alloc(t,e){m(Ur.buffer);var r,_=e.BYTES_PER_ELEMENT,p=t.length*_;return p=it(p,8),Ur.pos+p>=Ur.size?(m(p>0),Ur.needed+=p,r=o._webidl_malloc(p),Ur.temps.push(r)):(r=Ur.buffer+Ur.pos,Ur.pos+=p),r}};function wr(t){if("string"==typeof t){for(var e=hr(t),o=Ur.alloc(e,y),r=0;r<e.length;r++)y[o+r]=e[r];return o}return t}function Fr(t){if("object"==typeof t){for(var e=Ur.alloc(t,y),o=0;o<t.length;o++)y[e+o]=t[o];return e}return t}function Yr(t){if("object"==typeof t){for(var e=Ur.alloc(t,P),o=e/2,r=0;r<t.length;r++)P[o+r]=t[r];return e}return t}function Xr(t){if("object"==typeof t){for(var e=Ur.alloc(t,g),o=e/4,r=0;r<t.length;r++)g[o+r]=t[r];return e}return t}function xr(t){if("object"==typeof t){for(var e=Ur.alloc(t,f),o=e/4,r=0;r<t.length;r++)f[o+r]=t[r];return e}return t}function Hr(t){if("object"==typeof t){for(var e=Ur.alloc(t,b),o=e/8,r=0;r<t.length;r++)b[o+r]=t[r];return e}return t}function zr(){throw"cannot construct a PeObject, no constructor in IDL"}function Zr(){throw"cannot construct a PeCoordsys, no constructor in IDL"}function Wr(){throw"cannot construct a PeUnit, no constructor in IDL"}function Br(){throw"cannot construct a VoidPtr, no constructor in IDL"}function qr(){throw"cannot construct a PeAngunit, no constructor in IDL"}function Kr(){throw"cannot construct a PeDatum, no constructor in IDL"}function Vr(){throw"cannot construct a PeDefs, no constructor in IDL"}function kr(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=Ee(t),Dr(kr)[this.ptr]=this}function $r(){throw"cannot construct a PeFactory, no constructor in IDL"}function Jr(t,e,o,r,_,p){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),this.ptr=le(t,e,o,r,_,p),Dr(Jr)[this.ptr]=this}function Qr(){throw"cannot construct a PeGeogcs, no constructor in IDL"}function t_(){throw"cannot construct a PeGeogtran, no constructor in IDL"}function e_(){throw"cannot construct a PeGTlistExtended, no constructor in IDL"}function o_(){throw"cannot construct a PeGTlistExtendedEntry, no constructor in IDL"}function r_(){throw"cannot construct a PeGTlistExtendedGTs, no constructor in IDL"}function __(){throw"cannot construct a PeHorizon, no constructor in IDL"}function p_(t){t&&"object"==typeof t&&(t=t.ptr),this.ptr=no(t),Dr(p_)[this.ptr]=this}function n_(){throw"cannot construct a PeLineType, no constructor in IDL"}function i_(){throw"cannot construct a PeMath, no constructor in IDL"}function c_(){throw"cannot construct a PeNotationMgrs, no constructor in IDL"}function a_(){throw"cannot construct a PeNotationUtm, no constructor in IDL"}function y_(){throw"cannot construct a PeParameter, no constructor in IDL"}function s_(){throw"cannot construct a PePCSInfo, no constructor in IDL"}function P_(){throw"cannot construct a PePrimem, no constructor in IDL"}function g_(){throw"cannot construct a PeProjcs, no constructor in IDL"}function u_(){throw"cannot construct a PeSpheroid, no constructor in IDL"}function f_(){throw"cannot construct a PeVersion, no constructor in IDL"}return zr.prototype=Object.create(jr.prototype),zr.prototype.constructor=zr,zr.prototype.__class__=zr,zr.__cache__={},o.PeObject=zr,zr.prototype.getCode=zr.prototype.getCode=function(){var t=this.ptr;return Tt(t)},zr.prototype.getName=zr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Ot(e,t))},zr.prototype.getType=zr.prototype.getType=function(){var t=this.ptr;return mt(t)},Zr.prototype=Object.create(zr.prototype),Zr.prototype.constructor=Zr,Zr.prototype.__class__=Zr,Zr.__cache__={},o.PeCoordsys=Zr,Zr.prototype.isEqual=Zr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!ht(e,t)},Zr.prototype.getCode=Zr.prototype.getCode=function(){var t=this.ptr;return St(t)},Zr.prototype.getName=Zr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Nt(e,t))},Zr.prototype.getType=Zr.prototype.getType=function(){var t=this.ptr;return lt(t)},Wr.prototype=Object.create(zr.prototype),Wr.prototype.constructor=Wr,Wr.prototype.__class__=Wr,Wr.__cache__={},o.PeUnit=Wr,Wr.prototype.getUnitFactor=Wr.prototype.getUnitFactor=function(){var t=this.ptr;return vt(t)},Wr.prototype.getCode=Wr.prototype.getCode=function(){var t=this.ptr;return Mt(t)},Wr.prototype.getName=Wr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(jt(e,t))},Wr.prototype.getType=Wr.prototype.getType=function(){var t=this.ptr;return Dt(t)},Br.prototype=Object.create(jr.prototype),Br.prototype.constructor=Br,Br.prototype.__class__=Br,Br.__cache__={},o.VoidPtr=Br,Br.prototype.__destroy__=Br.prototype.__destroy__=function(){var t=this.ptr;At(t)},qr.prototype=Object.create(Wr.prototype),qr.prototype.constructor=qr,qr.prototype.__class__=qr,qr.__cache__={},o.PeAngunit=qr,qr.prototype.getCode=qr.prototype.getCode=function(){var t=this.ptr;return Rt(t)},qr.prototype.getName=qr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Gt(e,t))},qr.prototype.getType=qr.prototype.getType=function(){var t=this.ptr;return Ct(t)},qr.prototype.getUnitFactor=qr.prototype.getUnitFactor=function(){var t=this.ptr;return It(t)},Kr.prototype=Object.create(zr.prototype),Kr.prototype.constructor=Kr,Kr.prototype.__class__=Kr,Kr.__cache__={},o.PeDatum=Kr,Kr.prototype.getSpheroid=Kr.prototype.getSpheroid=function(){var t=this.ptr;return Ar(Lt(t),u_)},Kr.prototype.getCode=Kr.prototype.getCode=function(){var t=this.ptr;return Ut(t)},Kr.prototype.getName=Kr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(wt(e,t))},Kr.prototype.getType=Kr.prototype.getType=function(){var t=this.ptr;return Ft(t)},Vr.prototype=Object.create(jr.prototype),Vr.prototype.constructor=Vr,Vr.prototype.__class__=Vr,Vr.__cache__={},o.PeDefs=Vr,Vr.prototype.get_PE_BUFFER_MAX=Vr.prototype.get_PE_BUFFER_MAX=function(){var t=this.ptr;return Yt(t)},Object.defineProperty(Vr.prototype,"PE_BUFFER_MAX",{get:Vr.prototype.get_PE_BUFFER_MAX}),Vr.prototype.get_PE_NAME_MAX=Vr.prototype.get_PE_NAME_MAX=function(){var t=this.ptr;return Xt(t)},Object.defineProperty(Vr.prototype,"PE_NAME_MAX",{get:Vr.prototype.get_PE_NAME_MAX}),Vr.prototype.get_PE_MGRS_MAX=Vr.prototype.get_PE_MGRS_MAX=function(){var t=this.ptr;return xt(t)},Object.defineProperty(Vr.prototype,"PE_MGRS_MAX",{get:Vr.prototype.get_PE_MGRS_MAX}),Vr.prototype.get_PE_USNG_MAX=Vr.prototype.get_PE_USNG_MAX=function(){var t=this.ptr;return Ht(t)},Object.defineProperty(Vr.prototype,"PE_USNG_MAX",{get:Vr.prototype.get_PE_USNG_MAX}),Vr.prototype.get_PE_DD_MAX=Vr.prototype.get_PE_DD_MAX=function(){var t=this.ptr;return zt(t)},Object.defineProperty(Vr.prototype,"PE_DD_MAX",{get:Vr.prototype.get_PE_DD_MAX}),Vr.prototype.get_PE_DMS_MAX=Vr.prototype.get_PE_DMS_MAX=function(){var t=this.ptr;return Zt(t)},Object.defineProperty(Vr.prototype,"PE_DMS_MAX",{get:Vr.prototype.get_PE_DMS_MAX}),Vr.prototype.get_PE_DDM_MAX=Vr.prototype.get_PE_DDM_MAX=function(){var t=this.ptr;return Wt(t)},Object.defineProperty(Vr.prototype,"PE_DDM_MAX",{get:Vr.prototype.get_PE_DDM_MAX}),Vr.prototype.get_PE_UTM_MAX=Vr.prototype.get_PE_UTM_MAX=function(){var t=this.ptr;return Bt(t)},Object.defineProperty(Vr.prototype,"PE_UTM_MAX",{get:Vr.prototype.get_PE_UTM_MAX}),Vr.prototype.get_PE_PARM_MAX=Vr.prototype.get_PE_PARM_MAX=function(){var t=this.ptr;return qt(t)},Object.defineProperty(Vr.prototype,"PE_PARM_MAX",{get:Vr.prototype.get_PE_PARM_MAX}),Vr.prototype.get_PE_TYPE_NONE=Vr.prototype.get_PE_TYPE_NONE=function(){var t=this.ptr;return Kt(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_NONE",{get:Vr.prototype.get_PE_TYPE_NONE}),Vr.prototype.get_PE_TYPE_GEOGCS=Vr.prototype.get_PE_TYPE_GEOGCS=function(){var t=this.ptr;return Vt(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_GEOGCS",{get:Vr.prototype.get_PE_TYPE_GEOGCS}),Vr.prototype.get_PE_TYPE_PROJCS=Vr.prototype.get_PE_TYPE_PROJCS=function(){var t=this.ptr;return kt(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_PROJCS",{get:Vr.prototype.get_PE_TYPE_PROJCS}),Vr.prototype.get_PE_TYPE_GEOGTRAN=Vr.prototype.get_PE_TYPE_GEOGTRAN=function(){var t=this.ptr;return $t(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_GEOGTRAN",{get:Vr.prototype.get_PE_TYPE_GEOGTRAN}),Vr.prototype.get_PE_TYPE_COORDSYS=Vr.prototype.get_PE_TYPE_COORDSYS=function(){var t=this.ptr;return Jt(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_COORDSYS",{get:Vr.prototype.get_PE_TYPE_COORDSYS}),Vr.prototype.get_PE_TYPE_UNIT=Vr.prototype.get_PE_TYPE_UNIT=function(){var t=this.ptr;return Qt(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_UNIT",{get:Vr.prototype.get_PE_TYPE_UNIT}),Vr.prototype.get_PE_TYPE_LINUNIT=Vr.prototype.get_PE_TYPE_LINUNIT=function(){var t=this.ptr;return te(t)},Object.defineProperty(Vr.prototype,"PE_TYPE_LINUNIT",{get:Vr.prototype.get_PE_TYPE_LINUNIT}),Vr.prototype.get_PE_STR_OPTS_NONE=Vr.prototype.get_PE_STR_OPTS_NONE=function(){var t=this.ptr;return ee(t)},Object.defineProperty(Vr.prototype,"PE_STR_OPTS_NONE",{get:Vr.prototype.get_PE_STR_OPTS_NONE}),Vr.prototype.get_PE_STR_AUTH_NONE=Vr.prototype.get_PE_STR_AUTH_NONE=function(){var t=this.ptr;return oe(t)},Object.defineProperty(Vr.prototype,"PE_STR_AUTH_NONE",{get:Vr.prototype.get_PE_STR_AUTH_NONE}),Vr.prototype.get_PE_STR_AUTH_TOP=Vr.prototype.get_PE_STR_AUTH_TOP=function(){var t=this.ptr;return re(t)},Object.defineProperty(Vr.prototype,"PE_STR_AUTH_TOP",{get:Vr.prototype.get_PE_STR_AUTH_TOP}),Vr.prototype.get_PE_STR_NAME_CANON=Vr.prototype.get_PE_STR_NAME_CANON=function(){var t=this.ptr;return _e(t)},Object.defineProperty(Vr.prototype,"PE_STR_NAME_CANON",{get:Vr.prototype.get_PE_STR_NAME_CANON}),Vr.prototype.get_PE_STR_FMT_WKT=Vr.prototype.get_PE_STR_FMT_WKT=function(){var t=this.ptr;return pe(t)},Object.defineProperty(Vr.prototype,"PE_STR_FMT_WKT",{get:Vr.prototype.get_PE_STR_FMT_WKT}),Vr.prototype.get_PE_STR_FMT_WKT2=Vr.prototype.get_PE_STR_FMT_WKT2=function(){var t=this.ptr;return ne(t)},Object.defineProperty(Vr.prototype,"PE_STR_FMT_WKT2",{get:Vr.prototype.get_PE_STR_FMT_WKT2}),Vr.prototype.get_PE_PARM_X0=Vr.prototype.get_PE_PARM_X0=function(){var t=this.ptr;return ie(t)},Object.defineProperty(Vr.prototype,"PE_PARM_X0",{get:Vr.prototype.get_PE_PARM_X0}),Vr.prototype.get_PE_PARM_ND=Vr.prototype.get_PE_PARM_ND=function(){var t=this.ptr;return ce(t)},Object.defineProperty(Vr.prototype,"PE_PARM_ND",{get:Vr.prototype.get_PE_PARM_ND}),Vr.prototype.get_PE_TRANSFORM_1_TO_2=Vr.prototype.get_PE_TRANSFORM_1_TO_2=function(){var t=this.ptr;return ae(t)},Object.defineProperty(Vr.prototype,"PE_TRANSFORM_1_TO_2",{get:Vr.prototype.get_PE_TRANSFORM_1_TO_2}),Vr.prototype.get_PE_TRANSFORM_2_TO_1=Vr.prototype.get_PE_TRANSFORM_2_TO_1=function(){var t=this.ptr;return ye(t)},Object.defineProperty(Vr.prototype,"PE_TRANSFORM_2_TO_1",{get:Vr.prototype.get_PE_TRANSFORM_2_TO_1}),Vr.prototype.get_PE_TRANSFORM_P_TO_G=Vr.prototype.get_PE_TRANSFORM_P_TO_G=function(){var t=this.ptr;return se(t)},Object.defineProperty(Vr.prototype,"PE_TRANSFORM_P_TO_G",{get:Vr.prototype.get_PE_TRANSFORM_P_TO_G}),Vr.prototype.get_PE_TRANSFORM_G_TO_P=Vr.prototype.get_PE_TRANSFORM_G_TO_P=function(){var t=this.ptr;return Pe(t)},Object.defineProperty(Vr.prototype,"PE_TRANSFORM_G_TO_P",{get:Vr.prototype.get_PE_TRANSFORM_G_TO_P}),Vr.prototype.get_PE_HORIZON_RECT=Vr.prototype.get_PE_HORIZON_RECT=function(){var t=this.ptr;return ge(t)},Object.defineProperty(Vr.prototype,"PE_HORIZON_RECT",{get:Vr.prototype.get_PE_HORIZON_RECT}),Vr.prototype.get_PE_HORIZON_POLY=Vr.prototype.get_PE_HORIZON_POLY=function(){var t=this.ptr;return ue(t)},Object.defineProperty(Vr.prototype,"PE_HORIZON_POLY",{get:Vr.prototype.get_PE_HORIZON_POLY}),Vr.prototype.get_PE_HORIZON_LINE=Vr.prototype.get_PE_HORIZON_LINE=function(){var t=this.ptr;return fe(t)},Object.defineProperty(Vr.prototype,"PE_HORIZON_LINE",{get:Vr.prototype.get_PE_HORIZON_LINE}),Vr.prototype.get_PE_HORIZON_DELTA=Vr.prototype.get_PE_HORIZON_DELTA=function(){var t=this.ptr;return be(t)},Object.defineProperty(Vr.prototype,"PE_HORIZON_DELTA",{get:Vr.prototype.get_PE_HORIZON_DELTA}),kr.prototype=Object.create(jr.prototype),kr.prototype.constructor=kr,kr.prototype.__class__=kr,kr.__cache__={},o.PeDouble=kr,kr.prototype.get_val=kr.prototype.get_val=function(){var t=this.ptr;return de(t)},kr.prototype.set_val=kr.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),Te(e,t)},Object.defineProperty(kr.prototype,"val",{get:kr.prototype.get_val,set:kr.prototype.set_val}),kr.prototype.__destroy__=kr.prototype.__destroy__=function(){var t=this.ptr;Oe(t)},$r.prototype=Object.create(jr.prototype),$r.prototype.constructor=$r,$r.prototype.__class__=$r,$r.__cache__={},o.PeFactory=$r,$r.prototype.initialize=$r.prototype.initialize=function(t){Ur.prepare(),t=t&&"object"==typeof t?t.ptr:wr(t),me(t)},$r.prototype.factoryByType=$r.prototype.factoryByType=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ar(he(t,e),zr)},$r.prototype.fromString=$r.prototype.fromString=function(t,e){return Ur.prepare(),t&&"object"==typeof t&&(t=t.ptr),e=e&&"object"==typeof e?e.ptr:wr(e),Ar(Se(t,e),zr)},$r.prototype.getCode=$r.prototype.getCode=function(t){return t&&"object"==typeof t&&(t=t.ptr),Ne(t)},Jr.prototype=Object.create(jr.prototype),Jr.prototype.constructor=Jr,Jr.prototype.__class__=Jr,Jr.__cache__={},o.PeGCSExtent=Jr,Jr.prototype.getLLon=Jr.prototype.getLLon=function(){var t=this.ptr;return ve(t)},Jr.prototype.getSLat=Jr.prototype.getSLat=function(){var t=this.ptr;return Me(t)},Jr.prototype.getRLon=Jr.prototype.getRLon=function(){var t=this.ptr;return je(t)},Jr.prototype.getNLat=Jr.prototype.getNLat=function(){var t=this.ptr;return De(t)},Jr.prototype.__destroy__=Jr.prototype.__destroy__=function(){var t=this.ptr;Ae(t)},Qr.prototype=Object.create(Zr.prototype),Qr.prototype.constructor=Qr,Qr.prototype.__class__=Qr,Qr.__cache__={},o.PeGeogcs=Qr,Qr.prototype.Delete=Qr.prototype.Delete=function(){var t=this.ptr;Re(t)},Qr.prototype.cloneAlterUnits=Qr.prototype.cloneAlterUnits=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),Ar(Ge(e,t),Qr)},Qr.prototype.getDatum=Qr.prototype.getDatum=function(){var t=this.ptr;return Ar(Ce(t),Kr)},Qr.prototype.getPrimem=Qr.prototype.getPrimem=function(){var t=this.ptr;return Ar(Ie(t),P_)},Qr.prototype.getUnit=Qr.prototype.getUnit=function(){var t=this.ptr;return Ar(Le(t),qr)},Qr.prototype.isEqual=Qr.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Ue(e,t)},Qr.prototype.getCode=Qr.prototype.getCode=function(){var t=this.ptr;return we(t)},Qr.prototype.getName=Qr.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Fe(e,t))},Qr.prototype.getType=Qr.prototype.getType=function(){var t=this.ptr;return Ye(t)},t_.prototype=Object.create(zr.prototype),t_.prototype.constructor=t_,t_.prototype.__class__=t_,t_.__cache__={},o.PeGeogtran=t_,t_.prototype.isEqual=t_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!Xe(e,t)},t_.prototype.getGeogcs1=t_.prototype.getGeogcs1=function(){var t=this.ptr;return Ar(xe(t),Qr)},t_.prototype.getGeogcs2=t_.prototype.getGeogcs2=function(){var t=this.ptr;return Ar(He(t),Qr)},t_.prototype.getParameters=t_.prototype.getParameters=function(){var t=this.ptr;return ze(t)},t_.prototype.loadConstants=t_.prototype.loadConstants=function(){var t=this.ptr;return!!Ze(t)},t_.prototype.getCode=t_.prototype.getCode=function(){var t=this.ptr;return We(t)},t_.prototype.getName=t_.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Be(e,t))},t_.prototype.getType=t_.prototype.getType=function(){var t=this.ptr;return qe(t)},e_.prototype=Object.create(jr.prototype),e_.prototype.constructor=e_,e_.prototype.__class__=e_,e_.__cache__={},o.PeGTlistExtended=e_,e_.prototype.getGTlist=e_.prototype.getGTlist=function(t,e,o,r,_,p){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),Ar(Ke(t,e,o,r,_,p),o_)},e_.prototype.get_PE_GTLIST_OPTS_COMMON=e_.prototype.get_PE_GTLIST_OPTS_COMMON=function(){var t=this.ptr;return Ve(t)},Object.defineProperty(e_.prototype,"PE_GTLIST_OPTS_COMMON",{get:e_.prototype.get_PE_GTLIST_OPTS_COMMON}),o_.prototype=Object.create(jr.prototype),o_.prototype.constructor=o_,o_.prototype.__class__=o_,o_.__cache__={},o.PeGTlistExtendedEntry=o_,o_.prototype.getEntries=o_.prototype.getEntries=function(){var t=this.ptr;return Ar(ke(t),r_)},o_.prototype.getSteps=o_.prototype.getSteps=function(){var t=this.ptr;return $e(t)},o_.prototype.Delete=o_.prototype.Delete=function(t){t&&"object"==typeof t&&(t=t.ptr),Je(t)},r_.prototype=Object.create(jr.prototype),r_.prototype.constructor=r_,r_.prototype.__class__=r_,r_.__cache__={},o.PeGTlistExtendedGTs=r_,r_.prototype.getDirection=r_.prototype.getDirection=function(){var t=this.ptr;return Qe(t)},r_.prototype.getGeogtran=r_.prototype.getGeogtran=function(){var t=this.ptr;return Ar(to(t),t_)},__.prototype=Object.create(jr.prototype),__.prototype.constructor=__,__.prototype.__class__=__,__.__cache__={},o.PeHorizon=__,__.prototype.getNump=__.prototype.getNump=function(){var t=this.ptr;return eo(t)},__.prototype.getKind=__.prototype.getKind=function(){var t=this.ptr;return oo(t)},__.prototype.getInclusive=__.prototype.getInclusive=function(){var t=this.ptr;return ro(t)},__.prototype.getSize=__.prototype.getSize=function(){var t=this.ptr;return _o(t)},__.prototype.getCoord=__.prototype.getCoord=function(){var t=this.ptr;return po(t)},p_.prototype=Object.create(jr.prototype),p_.prototype.constructor=p_,p_.prototype.__class__=p_,p_.__cache__={},o.PeInteger=p_,p_.prototype.get_val=p_.prototype.get_val=function(){var t=this.ptr;return io(t)},p_.prototype.set_val=p_.prototype.set_val=function(t){var e=this.ptr;t&&"object"==typeof t&&(t=t.ptr),co(e,t)},Object.defineProperty(p_.prototype,"val",{get:p_.prototype.get_val,set:p_.prototype.set_val}),p_.prototype.__destroy__=p_.prototype.__destroy__=function(){var t=this.ptr;ao(t)},n_.prototype=Object.create(jr.prototype),n_.prototype.constructor=n_,n_.prototype.__class__=n_,n_.__cache__={},o.PeLineType=n_,n_.prototype.geodetic_distance=n_.prototype.geodetic_distance=function(t,e,o,r,_,p,n,i,c,a){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),a&&"object"==typeof a&&(a=a.ptr),yo(t,e,o,r,_,p,n,i,c,a)},n_.prototype.geodetic_coordinate=n_.prototype.geodetic_coordinate=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),so(t,e,o,r,_,p,n,i,c)},n_.prototype.geodesic_coordinate=n_.prototype.geodesic_coordinate=function(t,e,o,r,_,p,n,i){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),Po(t,e,o,r,_,p,n,i)},n_.prototype.great_elliptic_distance=n_.prototype.great_elliptic_distance=function(t,e,o,r,_,p,n,i,c){t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),r&&"object"==typeof r&&(r=r.ptr),_&&"object"==typeof _&&(_=_.ptr),p&&"object"==typeof p&&(p=p.ptr),n&&"object"==typeof n&&(n=n.ptr),i&&"object"==typeof i&&(i=i.ptr),c&&"object"==typeof c&&(c=c.ptr),go(t,e,o,r,_,p,n,i,c)},i_.prototype=Object.create(jr.prototype),i_.prototype.constructor=i_,i_.prototype.__class__=i_,i_.__cache__={},o.PeMath=i_,i_.prototype.phi_to_eta=i_.prototype.phi_to_eta=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),uo(t,e)},i_.prototype.eta_to_phi=i_.prototype.eta_to_phi=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),fo(t,e)},i_.prototype.phi_to_phig=i_.prototype.phi_to_phig=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),bo(t,e)},i_.prototype.q=i_.prototype.q=function(t,e,o){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),o&&"object"==typeof o&&(o=o.ptr),Eo(t,e,o)},i_.prototype.q90=i_.prototype.q90=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),To(t,e)},c_.prototype=Object.create(jr.prototype),c_.prototype.constructor=c_,c_.prototype.__class__=c_,c_.__cache__={},o.PeNotationMgrs=c_,c_.prototype.get_PE_MGRS_STYLE_NEW=c_.prototype.get_PE_MGRS_STYLE_NEW=function(){var t=this.ptr;return Oo(t)},Object.defineProperty(c_.prototype,"PE_MGRS_STYLE_NEW",{get:c_.prototype.get_PE_MGRS_STYLE_NEW}),c_.prototype.get_PE_MGRS_STYLE_OLD=c_.prototype.get_PE_MGRS_STYLE_OLD=function(){var t=this.ptr;return mo(t)},Object.defineProperty(c_.prototype,"PE_MGRS_STYLE_OLD",{get:c_.prototype.get_PE_MGRS_STYLE_OLD}),c_.prototype.get_PE_MGRS_STYLE_AUTO=c_.prototype.get_PE_MGRS_STYLE_AUTO=function(){var t=this.ptr;return ho(t)},Object.defineProperty(c_.prototype,"PE_MGRS_STYLE_AUTO",{get:c_.prototype.get_PE_MGRS_STYLE_AUTO}),c_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=c_.prototype.get_PE_MGRS_180_ZONE_1_PLUS=function(){var t=this.ptr;return So(t)},Object.defineProperty(c_.prototype,"PE_MGRS_180_ZONE_1_PLUS",{get:c_.prototype.get_PE_MGRS_180_ZONE_1_PLUS}),c_.prototype.get_PE_MGRS_ADD_SPACES=c_.prototype.get_PE_MGRS_ADD_SPACES=function(){var t=this.ptr;return No(t)},Object.defineProperty(c_.prototype,"PE_MGRS_ADD_SPACES",{get:c_.prototype.get_PE_MGRS_ADD_SPACES}),a_.prototype=Object.create(jr.prototype),a_.prototype.constructor=a_,a_.prototype.__class__=a_,a_.__cache__={},o.PeNotationUtm=a_,a_.prototype.get_PE_UTM_OPTS_NONE=a_.prototype.get_PE_UTM_OPTS_NONE=function(){var t=this.ptr;return lo(t)},Object.defineProperty(a_.prototype,"PE_UTM_OPTS_NONE",{get:a_.prototype.get_PE_UTM_OPTS_NONE}),a_.prototype.get_PE_UTM_OPTS_NS=a_.prototype.get_PE_UTM_OPTS_NS=function(){var t=this.ptr;return vo(t)},Object.defineProperty(a_.prototype,"PE_UTM_OPTS_NS",{get:a_.prototype.get_PE_UTM_OPTS_NS}),a_.prototype.get_PE_UTM_OPTS_NS_STRICT=a_.prototype.get_PE_UTM_OPTS_NS_STRICT=function(){var t=this.ptr;return Mo(t)},Object.defineProperty(a_.prototype,"PE_UTM_OPTS_NS_STRICT",{get:a_.prototype.get_PE_UTM_OPTS_NS_STRICT}),a_.prototype.get_PE_UTM_OPTS_ADD_SPACES=a_.prototype.get_PE_UTM_OPTS_ADD_SPACES=function(){var t=this.ptr;return jo(t)},Object.defineProperty(a_.prototype,"PE_UTM_OPTS_ADD_SPACES",{get:a_.prototype.get_PE_UTM_OPTS_ADD_SPACES}),y_.prototype=Object.create(zr.prototype),y_.prototype.constructor=y_,y_.prototype.__class__=y_,y_.__cache__={},o.PeParameter=y_,y_.prototype.getValue=y_.prototype.getValue=function(){var t=this.ptr;return Do(t)},y_.prototype.getCode=y_.prototype.getCode=function(){var t=this.ptr;return Ao(t)},y_.prototype.getName=y_.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Ro(e,t))},y_.prototype.getType=y_.prototype.getType=function(){var t=this.ptr;return Go(t)},s_.prototype=Object.create(jr.prototype),s_.prototype.constructor=s_,s_.prototype.__class__=s_,s_.__cache__={},o.PePCSInfo=s_,s_.prototype.getCentralMeridian=s_.prototype.getCentralMeridian=function(){var t=this.ptr;return Co(t)},s_.prototype.getDomainMinx=s_.prototype.getDomainMinx=function(){var t=this.ptr;return Io(t)},s_.prototype.getDomainMiny=s_.prototype.getDomainMiny=function(){var t=this.ptr;return Lo(t)},s_.prototype.getDomainMaxx=s_.prototype.getDomainMaxx=function(){var t=this.ptr;return Uo(t)},s_.prototype.getDomainMaxy=s_.prototype.getDomainMaxy=function(){var t=this.ptr;return wo(t)},s_.prototype.getNorthPoleLocation=s_.prototype.getNorthPoleLocation=function(){var t=this.ptr;return Fo(t)},s_.prototype.getNorthPoleGeometry=s_.prototype.getNorthPoleGeometry=function(){var t=this.ptr;return Yo(t)},s_.prototype.getSouthPoleLocation=s_.prototype.getSouthPoleLocation=function(){var t=this.ptr;return Xo(t)},s_.prototype.getSouthPoleGeometry=s_.prototype.getSouthPoleGeometry=function(){var t=this.ptr;return xo(t)},s_.prototype.isDensificationNeeded=s_.prototype.isDensificationNeeded=function(){var t=this.ptr;return!!Ho(t)},s_.prototype.isGcsHorizonMultiOverlap=s_.prototype.isGcsHorizonMultiOverlap=function(){var t=this.ptr;return!!zo(t)},s_.prototype.isPannableRectangle=s_.prototype.isPannableRectangle=function(){var t=this.ptr;return!!Zo(t)},s_.prototype.generate=s_.prototype.generate=function(t,e){return t&&"object"==typeof t&&(t=t.ptr),e&&"object"==typeof e&&(e=e.ptr),Ar(Wo(t,e),s_)},s_.prototype.get_PE_PCSINFO_OPTION_NONE=s_.prototype.get_PE_PCSINFO_OPTION_NONE=function(){var t=this.ptr;return Bo(t)},Object.defineProperty(s_.prototype,"PE_PCSINFO_OPTION_NONE",{get:s_.prototype.get_PE_PCSINFO_OPTION_NONE}),s_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=s_.prototype.get_PE_PCSINFO_OPTION_DOMAIN=function(){var t=this.ptr;return qo(t)},Object.defineProperty(s_.prototype,"PE_PCSINFO_OPTION_DOMAIN",{get:s_.prototype.get_PE_PCSINFO_OPTION_DOMAIN}),s_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=s_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY=function(){var t=this.ptr;return Ko(t)},Object.defineProperty(s_.prototype,"PE_POLE_OUTSIDE_BOUNDARY",{get:s_.prototype.get_PE_POLE_OUTSIDE_BOUNDARY}),s_.prototype.get_PE_POLE_POINT=s_.prototype.get_PE_POLE_POINT=function(){var t=this.ptr;return Vo(t)},Object.defineProperty(s_.prototype,"PE_POLE_POINT",{get:s_.prototype.get_PE_POLE_POINT}),P_.prototype=Object.create(zr.prototype),P_.prototype.constructor=P_,P_.prototype.__class__=P_,P_.__cache__={},o.PePrimem=P_,P_.prototype.getLongitude=P_.prototype.getLongitude=function(){var t=this.ptr;return ko(t)},P_.prototype.getCode=P_.prototype.getCode=function(){var t=this.ptr;return $o(t)},P_.prototype.getName=P_.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(Jo(e,t))},P_.prototype.getType=P_.prototype.getType=function(){var t=this.ptr;return Qo(t)},g_.prototype=Object.create(Zr.prototype),g_.prototype.constructor=g_,g_.prototype.__class__=g_,g_.__cache__={},o.PeProjcs=g_,g_.prototype.Delete=g_.prototype.Delete=function(){var t=this.ptr;tr(t)},g_.prototype.getGeogcs=g_.prototype.getGeogcs=function(){var t=this.ptr;return Ar(er(t),Qr)},g_.prototype.getProjection=g_.prototype.getProjection=function(){var t=this.ptr;return Ar(or(t),zr)},g_.prototype.getParameters=g_.prototype.getParameters=function(){var t=this.ptr;return rr(t)},g_.prototype.getUnit=g_.prototype.getUnit=function(){var t=this.ptr;return Ar(_r(t),Wr)},g_.prototype.loadConstants=g_.prototype.loadConstants=function(){var t=this.ptr;return!!pr(t)},g_.prototype.horizonGcsGenerate=g_.prototype.horizonGcsGenerate=function(){var t=this.ptr;return Ar(nr(t),__)},g_.prototype.horizonPcsGenerate=g_.prototype.horizonPcsGenerate=function(){var t=this.ptr;return Ar(ir(t),__)},g_.prototype.isEqual=g_.prototype.isEqual=function(t){var e=this.ptr;return t&&"object"==typeof t&&(t=t.ptr),!!cr(e,t)},g_.prototype.getCode=g_.prototype.getCode=function(){var t=this.ptr;return ar(t)},g_.prototype.getName=g_.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(yr(e,t))},g_.prototype.getType=g_.prototype.getType=function(){var t=this.ptr;return sr(t)},u_.prototype=Object.create(zr.prototype),u_.prototype.constructor=u_,u_.prototype.__class__=u_,u_.__cache__={},o.PeSpheroid=u_,u_.prototype.getAxis=u_.prototype.getAxis=function(){var t=this.ptr;return Pr(t)},u_.prototype.getFlattening=u_.prototype.getFlattening=function(){var t=this.ptr;return gr(t)},u_.prototype.getCode=u_.prototype.getCode=function(){var t=this.ptr;return ur(t)},u_.prototype.getName=u_.prototype.getName=function(t){var e=this.ptr;return Ur.prepare(),"object"==typeof t&&(t=Fr(t)),Y(fr(e,t))},u_.prototype.getType=u_.prototype.getType=function(){var t=this.ptr;return br(t)},f_.prototype=Object.create(jr.prototype),f_.prototype.constructor=f_,f_.prototype.__class__=f_,f_.__cache__={},o.PeVersion=f_,f_.prototype.version_string=f_.prototype.version_string=function(){var t=this.ptr;return Y(Er(t))},o.ensureCache=Ur,o.ensureString=wr,o.ensureInt8=Fr,o.ensureInt16=Yr,o.ensureInt32=Xr,o.ensureFloat32=xr,o.ensureFloat64=Hr,S?o:new Promise((t,e)=>{c=t,a=e})}export{t as default};