ym-gis-2d 1.0.5 → 1.0.7
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/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +1 -1
- package/interaction/Select.js.map +1 -1
- package/layers/ArcgisDynamicLayer.d.ts +1 -0
- package/layers/ArcgisDynamicLayer.d.ts.map +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisDynamicLayer.js.map +1 -1
- package/layers/ArcgisFeatureLayer.d.ts +1 -0
- package/layers/ArcgisFeatureLayer.d.ts.map +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js.map +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.d.ts +2 -0
- package/layers/ArcgisWMSLayer.d.ts.map +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js.map +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.d.ts +1 -0
- package/layers/GeoserverWFSLayer.d.ts.map +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWFSLayer.js.map +1 -1
- package/layers/GeoserverWMSLayer.d.ts +2 -0
- package/layers/GeoserverWMSLayer.d.ts.map +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js.map +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/utils/ResolutionUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export function calculateResolution(
|
|
1
|
+
export function calculateResolution(_0x28af02,_0x3aed9b){const _0x6d7e05=25.4/0.28,_0x43e434=0x3e8/25.4;return _0x28af02/_0x6d7e05/_0x43e434/_0x3aed9b;}
|
package/utils/StringUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x11e168,_0x3b1098){const _0x458a3d=a72_0x1c9e,_0x4b298e=_0x11e168();while(!![]){try{const _0x86e7b1=-parseInt(_0x458a3d(0xfe))/0x1+-parseInt(_0x458a3d(0x101))/0x2*(-parseInt(_0x458a3d(0xfd))/0x3)+parseInt(_0x458a3d(0x103))/0x4*(parseInt(_0x458a3d(0x107))/0x5)+parseInt(_0x458a3d(0x100))/0x6+parseInt(_0x458a3d(0x106))/0x7+-parseInt(_0x458a3d(0xff))/0x8*(parseInt(_0x458a3d(0x104))/0x9)+-parseInt(_0x458a3d(0xfc))/0xa;if(_0x86e7b1===_0x3b1098)break;else _0x4b298e['push'](_0x4b298e['shift']());}catch(_0x3c3195){_0x4b298e['push'](_0x4b298e['shift']());}}}(a72_0x39f1,0x7d903));function a72_0x1c9e(_0x4db482,_0x3757b8){const _0x39f13c=a72_0x39f1();return a72_0x1c9e=function(_0x1c9e82,_0x53b135){_0x1c9e82=_0x1c9e82-0xfc;let _0x579b59=_0x39f13c[_0x1c9e82];return _0x579b59;},a72_0x1c9e(_0x4db482,_0x3757b8);}function a72_0x39f1(){const _0x15265d=['309085clihVQ','字符串为空','charCodeAt','length','18739150hEfHnL','3053901hOIalh','813025jKygEE','92144LJGLnj','5773560YzgyKq','2OYAyBV','atob','56Luguof','27bAkTdh','floor','2730952XsVMXo'];a72_0x39f1=function(){return _0x15265d;};return a72_0x39f1();}import{modulo,toFixed}from'ol/math';import{padNumber}from'ol/string';export function transformedToNumber(_0x514961){const _0x5a5d9f=a72_0x1c9e;if(_0x514961)return parseFloat(_0x514961['replace'](/[^\d]/g,''));throw new Error(_0x5a5d9f(0x108));}export function base64ToBlob(_0x4fa2d4){const _0x112fe5=a72_0x1c9e;let _0x4cf586=window[_0x112fe5(0x102)](_0x4fa2d4),_0x439680=_0x4cf586[_0x112fe5(0x10a)],_0x538f47=new Uint8Array(_0x439680);while(_0x439680--){_0x538f47[_0x439680]=_0x4cf586[_0x112fe5(0x109)](_0x439680);}return new Blob([_0x538f47],{'type':_0x4fa2d4});}export function degreesToStringHDMS(_0x24fb1d,_0x254e0a){const _0x224bde=a72_0x1c9e,_0x17ad9d=modulo(_0x24fb1d+0xb4,0x168)-0xb4,_0x4c8043=Math['abs'](0xe10*_0x17ad9d),_0x3a17d0=_0x254e0a||0x0;let _0x1588a6=Math[_0x224bde(0x105)](_0x4c8043/0xe10),_0x297eb1=Math['floor']((_0x4c8043-_0x1588a6*0xe10)/0x3c),_0x31d13b=toFixed(_0x4c8043-_0x1588a6*0xe10-_0x297eb1*0x3c,_0x3a17d0);_0x31d13b>=0x3c&&(_0x31d13b=0x0,_0x297eb1+=0x1);_0x297eb1>=0x3c&&(_0x297eb1=0x0,_0x1588a6+=0x1);let _0x24408f=_0x1588a6+'°';return(_0x297eb1!==0x0||_0x31d13b!==0x0)&&(_0x24408f+='\x20'+padNumber(_0x297eb1,0x2)+'′'),_0x31d13b!==0x0&&(_0x24408f+='\x20'+padNumber(_0x31d13b,0x2,_0x3a17d0)+'″'),_0x24408f;}
|
package/utils/StyleUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5b8ece,_0x3a44b5){const _0x172eca=a73_0x4e39,_0x3f28de=_0x5b8ece();while(!![]){try{const _0x47f210=parseInt(_0x172eca(0xf4))/0x1*(-parseInt(_0x172eca(0xf3))/0x2)+parseInt(_0x172eca(0xea))/0x3*(-parseInt(_0x172eca(0xee))/0x4)+parseInt(_0x172eca(0xed))/0x5+-parseInt(_0x172eca(0xe6))/0x6*(parseInt(_0x172eca(0xe8))/0x7)+-parseInt(_0x172eca(0xe5))/0x8+parseInt(_0x172eca(0xf7))/0x9+-parseInt(_0x172eca(0xf1))/0xa*(-parseInt(_0x172eca(0xf6))/0xb);if(_0x47f210===_0x3a44b5)break;else _0x3f28de['push'](_0x3f28de['shift']());}catch(_0x377d11){_0x3f28de['push'](_0x3f28de['shift']());}}}(a73_0x24db,0xaf71d));import{Style,Fill,Circle,Stroke}from'ol/style';export function transformedEsriStyle(_0x13cbea){const _0x1caac7=a73_0x4e39;let _0x8c4586=new Style();switch(_0x13cbea[_0x1caac7(0xe4)]){case _0x1caac7(0xec):_0x8c4586=new Style({'image':new Circle({'fill':new Fill({'color':'rgba('+_0x13cbea[_0x1caac7(0xe9)][0x0]+',\x20'+_0x13cbea['color'][0x1]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x2]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x3]+')'}),'stroke':new Stroke({'color':_0x1caac7(0xf5)+_0x13cbea[_0x1caac7(0xf0)]['color'][0x0]+',\x20'+_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe9)][0x1]+',\x20'+_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe9)][0x2]+',\x20'+_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe9)][0x3]+')','width':_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe7)]}),'radius':_0x13cbea['size']/0x2+0x1})});break;case'esriSLSSolid':_0x8c4586=new Style({'stroke':new Stroke({'color':_0x1caac7(0xf5)+_0x13cbea[_0x1caac7(0xe9)][0x0]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x1]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x2]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x3]+')','width':_0x13cbea[_0x1caac7(0xe7)]})});break;case _0x1caac7(0xeb):_0x8c4586=new Style({'fill':new Fill({'color':_0x1caac7(0xf5)+_0x13cbea[_0x1caac7(0xe9)][0x0]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x1]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x2]+',\x20'+_0x13cbea[_0x1caac7(0xe9)][0x3]+')'}),'stroke':new Stroke({'color':_0x1caac7(0xf5)+_0x13cbea['outline'][_0x1caac7(0xe9)][0x0]+',\x20'+_0x13cbea['outline'][_0x1caac7(0xe9)][0x1]+',\x20'+_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe9)][0x2]+',\x20'+_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe9)][0x3]+')','width':_0x13cbea[_0x1caac7(0xf0)][_0x1caac7(0xe7)]})});break;default:break;}return _0x8c4586;}function a73_0x24db(){const _0x20f9fd=['4tUmHsf','rgba(','1725416remGIY','3476754OQwKjk','rgba(214,28,28,0.4)','style','8942992SHJGUk','12dZPZKc','width','3821426UizUzx','color','9isvoDO','esriSFSSolid','esriSMSCircle','2146740sDmxta','347924prWuKc','#3399CC','outline','160MinBbP','Polygon','68038AjiEWX'];a73_0x24db=function(){return _0x20f9fd;};return a73_0x24db();}function a73_0x4e39(_0x18c313,_0x5f08aa){const _0x24db71=a73_0x24db();return a73_0x4e39=function(_0x4e390c,_0x34a0e6){_0x4e390c=_0x4e390c-0xe4;let _0x4d3e80=_0x24db71[_0x4e390c];return _0x4d3e80;},a73_0x4e39(_0x18c313,_0x5f08aa);}export function highLightSymbol(_0xc27de2){const _0x434d3e=a73_0x4e39;let _0x3a11b3;if(_0xc27de2==_0x434d3e(0xf2))_0x3a11b3=new Style({'fill':new Fill({'color':_0x434d3e(0xf8)}),'stroke':new Stroke({'color':_0x434d3e(0xef),'width':2.5})});else{if(_0xc27de2=='LineString')_0x3a11b3=new Style({'stroke':new Stroke({'color':'#3399CC','width':2.5})});else _0xc27de2=='Point'&&(_0x3a11b3=new Style({'image':new Circle({'radius':0x5,'fill':new Fill({'color':_0x434d3e(0xf8)}),'stroke':new Stroke({'color':_0x434d3e(0xef),'width':2.5})})}));}return _0x3a11b3;}
|
package/utils/UrlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x49be1d,_0x1a8306){const _0x109463=a80_0x5ec7,_0x76d423=_0x49be1d();while(!![]){try{const _0x3b1a85=parseInt(_0x109463(0xfd))/0x1*(-parseInt(_0x109463(0xe7))/0x2)+-parseInt(_0x109463(0xf3))/0x3+-parseInt(_0x109463(0xe6))/0x4*(-parseInt(_0x109463(0xf8))/0x5)+-parseInt(_0x109463(0xf2))/0x6+parseInt(_0x109463(0xf5))/0x7*(-parseInt(_0x109463(0xfe))/0x8)+-parseInt(_0x109463(0xf6))/0x9*(-parseInt(_0x109463(0xf9))/0xa)+parseInt(_0x109463(0xfc))/0xb;if(_0x3b1a85===_0x1a8306)break;else _0x76d423['push'](_0x76d423['shift']());}catch(_0x54327b){_0x76d423['push'](_0x76d423['shift']());}}}(a80_0x25a1,0xac411));export function addArgument(_0x4dfd17,_0x1e29b1,_0x240950){const _0xbebc92=a80_0x5ec7,_0x19185c=new RegExp(_0xbebc92(0xfb)+_0x1e29b1+_0xbebc92(0xe5),'gi');if(_0x4dfd17[_0xbebc92(0x100)](_0x19185c))_0x4dfd17=_0x4dfd17[_0xbebc92(0xed)](_0x19185c,_0x22c139=>_0x22c139[0x0]+_0x1e29b1+'='+_0x240950);else{var _0x2a21a4=_0x1e29b1+'='+_0x240950,_0x285f33=_0x4dfd17[_0xbebc92(0xf0)]('?');let _0x596a3b=_0x4dfd17;_0x285f33>-0x1&&_0x4dfd17['indexOf']('?http')>-0x1&&(_0x596a3b=_0x4dfd17[_0xbebc92(0xf4)](_0x285f33+0x1),_0x285f33=_0x596a3b['indexOf']('?'));if(_0x285f33<0x0)_0x4dfd17+='?';else _0x285f33>=0x0&&_0x285f33!==_0x596a3b[_0xbebc92(0x102)]-0x1&&(_0x4dfd17+='&');_0x4dfd17=_0x4dfd17+_0x2a21a4;}return _0x4dfd17;}export function appendParam(_0x3f5272,_0x26b1a9){const _0x3144f5=a80_0x5ec7;var _0x16a320=_0x3f5272[_0x3144f5(0xf0)]('?');let _0x4fed09=_0x3f5272;if(_0x16a320>-0x1&&_0x3f5272[_0x3144f5(0xf0)]('?http')>-0x1){let _0x4f9ad7=_0x16a320+0x1;_0x4fed09=_0x3f5272[_0x3144f5(0xf4)](_0x16a320+0x1),_0x16a320=_0x4fed09[_0x3144f5(0xf0)]('?');}return _0x16a320>-0x1?_0x3f5272+'&'+_0x26b1a9:_0x3f5272+'?'+_0x26b1a9;}export function appendPath(_0xc5583d,_0x5c5c1e){const _0x2427c8=a80_0x5ec7;var _0x239dbe=_0xc5583d[_0x2427c8(0xf0)]('?');let _0x3fbc13=_0xc5583d;if(_0x239dbe>-0x1&&_0xc5583d[_0x2427c8(0xf0)](_0x2427c8(0xf1))>-0x1){let _0x2003fd=_0x239dbe+0x1;_0x3fbc13=_0xc5583d[_0x2427c8(0xf4)](_0x239dbe+0x1),_0x239dbe=_0x3fbc13[_0x2427c8(0xf0)]('?'),_0x239dbe>-0x1&&(_0x239dbe+=_0x2003fd);}return _0x239dbe>-0x1?_0xc5583d[_0x2427c8(0xf4)](0x0,_0x239dbe)+'/'+_0x5c5c1e+_0xc5583d[_0x2427c8(0xf4)](_0x239dbe):_0xc5583d+'/'+_0x5c5c1e;}export function getUrlParams(_0x5ea974){const _0x439e07=a80_0x5ec7;var _0x54796a,_0x427143;let _0x42f2bf=_0x5ea974[_0x439e07(0xf0)]('?http'),_0x5caf83;_0x42f2bf>-0x1?_0x5ea974[_0x439e07(0xf0)]('?',_0x42f2bf+0x3)>-0x1&&(_0x5caf83=(_0x54796a=_0x5ea974[_0x439e07(0xff)]('?'))===null||_0x54796a===void 0x0?void 0x0:_0x54796a[0x2]):_0x5ea974[_0x439e07(0xf0)]('?')>-0x1&&(_0x5caf83=(_0x427143=_0x5ea974[_0x439e07(0xff)]('?'))===null||_0x427143===void 0x0?void 0x0:_0x427143[0x1]);if(_0x5caf83)return createParamByQuery(_0x5caf83);return[];}function createParamByQuery(_0x4d0265){const _0x1fa11a=a80_0x5ec7;let _0x2fedc5=_0x4d0265[_0x1fa11a(0xff)]('&');return _0x2fedc5[_0x1fa11a(0xf7)](_0x30734d=>{var _0x41128d=_0x30734d['split']('=');return{'name':_0x41128d[0x0],'value':_0x41128d[0x1]};});}function a80_0x25a1(){const _0x38b5ad=['[\x5c?&](','14457047GsvnIs','5yVsCxt','424ESTaOw','split','match','target','length','=)([^&]*)','14448MaxzBG','177264BwSWVi','click','download','setAttribute','createElement','revokeObjectURL','replace','_blank','body','indexOf','?http','270744ewjHri','1265880WIiRzW','substring','135429hampfx','1361187qOATve','map','790WXTVZS','50FmbJDy','href'];a80_0x25a1=function(){return _0x38b5ad;};return a80_0x25a1();}function a80_0x5ec7(_0x58943b,_0x2e2271){const _0x25a16e=a80_0x25a1();return a80_0x5ec7=function(_0x5ec73c,_0x5cf466){_0x5ec73c=_0x5ec73c-0xe5;let _0xa12fb9=_0x25a16e[_0x5ec73c];return _0xa12fb9;},a80_0x5ec7(_0x58943b,_0x2e2271);}export function parseImage(_0x2aab2b,_0x308a8e){const _0x4cb592=a80_0x5ec7;let _0x3981ca='';if(_0x2aab2b){if(_0x2aab2b[_0x4cb592(0x100)](/^(data|http|https)/))_0x3981ca=_0x2aab2b;else{if(_0x2aab2b[_0x4cb592(0x100)](/Assets/))_0x3981ca=_0x2aab2b;else{}}}return _0x3981ca;}export function downloadBlob(_0x29a284,_0x4e8a36){const _0x2400cc=a80_0x5ec7,_0x58d99a=URL['createObjectURL'](_0x29a284);var _0x12bbce=document[_0x2400cc(0xeb)]('a');_0x12bbce[_0x2400cc(0xea)](_0x2400cc(0xfa),_0x58d99a),_0x12bbce['setAttribute'](_0x2400cc(0x101),_0x2400cc(0xee)),_0x12bbce[_0x2400cc(0xea)](_0x2400cc(0xe9),_0x4e8a36),document[_0x2400cc(0xef)]['appendChild'](_0x12bbce),_0x12bbce[_0x2400cc(0xe8)](),document[_0x2400cc(0xef)]['removeChild'](_0x12bbce),URL[_0x2400cc(0xec)](_0x58d99a);}
|
package/utils/XmlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x495832,_0x4c993e){const _0x43dbea=a81_0x45cb,_0x111b3d=_0x495832();while(!![]){try{const _0xde6902=-parseInt(_0x43dbea(0x6d))/0x1*(parseInt(_0x43dbea(0x6f))/0x2)+-parseInt(_0x43dbea(0x68))/0x3+-parseInt(_0x43dbea(0x67))/0x4+parseInt(_0x43dbea(0x72))/0x5+parseInt(_0x43dbea(0x74))/0x6*(-parseInt(_0x43dbea(0x70))/0x7)+-parseInt(_0x43dbea(0x6c))/0x8+-parseInt(_0x43dbea(0x6a))/0x9*(-parseInt(_0x43dbea(0x71))/0xa);if(_0xde6902===_0x4c993e)break;else _0x111b3d['push'](_0x111b3d['shift']());}catch(_0x2ea436){_0x111b3d['push'](_0x111b3d['shift']());}}}(a81_0x4494,0x8bfb2));export function readXml(_0x1e81b){const _0x1852ea=a81_0x45cb;let _0x4eb1d1;return window[_0x1852ea(0x6e)]?_0x4eb1d1=new DOMParser()['parseFromString'](_0x1e81b,'text/xml'):(_0x4eb1d1=new ActiveXObject(_0x1852ea(0x69)),_0x4eb1d1[_0x1852ea(0x6b)]='false',_0x4eb1d1[_0x1852ea(0x73)](_0x1e81b)),_0x4eb1d1;}function a81_0x45cb(_0x11e28f,_0x83a5b){const _0x44941d=a81_0x4494();return a81_0x45cb=function(_0x45cb0b,_0x4b8d74){_0x45cb0b=_0x45cb0b-0x67;let _0x39dd54=_0x44941d[_0x45cb0b];return _0x39dd54;},a81_0x45cb(_0x11e28f,_0x83a5b);}function a81_0x4494(){const _0x16d803=['9662DkNYuQ','43330gWicty','10maqmFg','2345395yHmtXW','loadXML','972FVdCHe','691376cQvsog','293958ANIABi','Microsoft.XMLDOM','16797069tRERPF','async','1008984zUcHbx','75tsBudw','DOMParser'];a81_0x4494=function(){return _0x16d803;};return a81_0x4494();}
|
package/utils/format/CQL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x50760c=a62_0x6aed;(function(_0x3766e5,_0x379d2){const _0x740f86=a62_0x6aed,_0x57b6f8=_0x3766e5();while(!![]){try{const _0x5209f4=parseInt(_0x740f86(0x18d))/0x1+-parseInt(_0x740f86(0x1c5))/0x2+parseInt(_0x740f86(0x1c7))/0x3+-parseInt(_0x740f86(0x18f))/0x4*(parseInt(_0x740f86(0x1ce))/0x5)+parseInt(_0x740f86(0x1c4))/0x6*(-parseInt(_0x740f86(0x1b2))/0x7)+-parseInt(_0x740f86(0x1c0))/0x8*(-parseInt(_0x740f86(0x1a0))/0x9)+-parseInt(_0x740f86(0x1c2))/0xa*(-parseInt(_0x740f86(0x1b3))/0xb);if(_0x5209f4===_0x379d2)break;else _0x57b6f8['push'](_0x57b6f8['shift']());}catch(_0x3ed192){_0x57b6f8['push'](_0x57b6f8['shift']());}}}(a62_0x5d92,0xc4a87));function a62_0x5d92(){const _0x172118=['PropertyIsLessThan','CONTAINS','WITHIN(','lowerBoundary','VALUE','\x20BETWEEN\x20','NOT','propertyName','],\x20expected\x20one\x20of:\x20','patterns','charAt','write','lessThan','toLowerCase','replaceAll','string','length','\x20AND\x20','LPAREN','remainder','between','PropertyIsNotEqualTo','follows','IS\x20NULL','upperBoundary','substring','END','IS_NULL','BBOX','SPATIAL','push','nextToken','1340092QNmsko','GEOMETRY','112408mrgYrj','tokens','inPatterns','No\x20follows\x20list\x20for\x20','greaterThanOrEqualTo','warn','tryToken','CONTAINS(','join','PropertyIsNull','indexOf','tagName_','COMPARISON','split','PropertyIsLike','COMMA','match','45QuLmkc','buildAst','text','Within','PropertyIsLessThanOrEqualTo','WITHIN','parseInToOr','BBOX(','tokenize','replace','intersects','geometry','property','Not','And','readGeometry','PropertyIsBetween','PROPERTY','7NwYCJG','107767IYLLRI','writeGeometry','extent','CLASS_NAME','not','condition','like','Contains','isNull','greaterThan','NOT\x20(','LIKE','contains','306616jBEQAW','exec','2300lxKmsx','logicals','7438350JhoBpf','2670818prNUeI','operatorReverse','1990452oaNLQE','pop','RPAREN','operators','toUpperCase','bbox','剩余的节点无法解析:\x20\x0a','190DevKEK','expression','Intersects','PropertyIsGreaterThan','BETWEEN','LOGICAL','Can\x27t\x20encode:\x20','conditions','number','equalTo','geometryName','type','shift','srsName','\x20or\x20'];a62_0x5d92=function(){return _0x172118;};return a62_0x5d92();}function a62_0x6aed(_0x38e2b2,_0x9de82){const _0x5d92af=a62_0x5d92();return a62_0x6aed=function(_0x6aede1,_0x2b7680){_0x6aede1=_0x6aede1-0x176;let _0x1844c9=_0x5d92af[_0x6aede1];return _0x1844c9;},a62_0x6aed(_0x38e2b2,_0x9de82);}import*as a62_0x3da6ef from'ol/format/filter';import{WKT}from'ol/format';import a62_0x20addf from'ol/geom/Geometry';export default class CQL{constructor(){const _0x3e6106=a62_0x6aed;this[_0x3e6106(0x191)]=/ (IN) /i,this[_0x3e6106(0x190)]=['PROPERTY',_0x3e6106(0x19b),_0x3e6106(0x1e1),_0x3e6106(0x1d3)],this[_0x3e6106(0x176)]={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0x43f936){const _0x2208cd=_0x3e6106;let _0x5a5fec=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x2208cd(0x1c1)](_0x43f936);if(_0x5a5fec){let _0x108abf=_0x43f936[_0x2208cd(0x17d)],_0x55571e=_0x43f936[_0x2208cd(0x199)]('(',_0x5a5fec[0x0][_0x2208cd(0x17d)]);if(_0x55571e>-0x1){let _0x5ac36b=0x1;while(_0x55571e<_0x108abf&&_0x5ac36b>0x0){_0x55571e++;switch(_0x43f936[_0x2208cd(0x177)](_0x55571e)){case'(':_0x5ac36b++;break;case')':_0x5ac36b--;break;default:}}}return[_0x43f936[_0x2208cd(0x186)](0x0,_0x55571e+0x1)];}},'END':/^$/},this[_0x3e6106(0x183)]={'LPAREN':[_0x3e6106(0x18e),_0x3e6106(0x18a),_0x3e6106(0x1b1),_0x3e6106(0x1e1),_0x3e6106(0x17f)],'RPAREN':[_0x3e6106(0x1e3),_0x3e6106(0x1d3),_0x3e6106(0x187),_0x3e6106(0x1c9)],'PROPERTY':[_0x3e6106(0x19b),_0x3e6106(0x1d2),_0x3e6106(0x19e),_0x3e6106(0x188)],'BETWEEN':[_0x3e6106(0x1e1)],'IS_NULL':[_0x3e6106(0x187)],'COMPARISON':[_0x3e6106(0x1e1)],'COMMA':['GEOMETRY',_0x3e6106(0x1e1),_0x3e6106(0x1b1)],'VALUE':[_0x3e6106(0x1d3),_0x3e6106(0x19e),_0x3e6106(0x1c9),_0x3e6106(0x187)],'SPATIAL':[_0x3e6106(0x17f)],'LOGICAL':[_0x3e6106(0x1e3),'VALUE',_0x3e6106(0x18a),'PROPERTY',_0x3e6106(0x17f)],'NOT':[_0x3e6106(0x1b1),_0x3e6106(0x17f)],'GEOMETRY':['COMMA',_0x3e6106(0x1c9)]},this[_0x3e6106(0x1ca)]={'=':a62_0x3da6ef[_0x3e6106(0x1d7)],'<>':a62_0x3da6ef['notEqualTo'],'<':a62_0x3da6ef[_0x3e6106(0x179)],'<=':a62_0x3da6ef['lessThanOrEqualTo'],'>':a62_0x3da6ef[_0x3e6106(0x1bc)],'>=':a62_0x3da6ef[_0x3e6106(0x193)],'LIKE':a62_0x3da6ef[_0x3e6106(0x1b9)],'BETWEEN':a62_0x3da6ef[_0x3e6106(0x181)],'IS\x20NULL':a62_0x3da6ef[_0x3e6106(0x1bb)]},this[_0x3e6106(0x1c6)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x3e6106(0x1be),'PropertyIsNull':_0x3e6106(0x184),'PropertyIsBetween':'BETWEEN'},this['logicals']={'AND':a62_0x3da6ef['and'],'OR':a62_0x3da6ef['or']},this['precedence']={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a62_0x50760c(0x195)](_0x1e28b0,_0x224aff){const _0x4d1d1f=a62_0x50760c;return _0x224aff instanceof RegExp?_0x224aff[_0x4d1d1f(0x1c1)](_0x1e28b0):_0x224aff(_0x1e28b0);}[a62_0x50760c(0x18c)](_0x1fbc38,_0x571881){const _0x10e9c5=a62_0x50760c;let _0x56836e,_0x470a8e,_0x2c8f86=_0x571881[_0x10e9c5(0x17d)];for(_0x56836e=0x0;_0x56836e<_0x2c8f86;_0x56836e++){_0x470a8e=_0x571881[_0x56836e];let _0x1279b8=this[_0x10e9c5(0x176)][_0x470a8e],_0x5e5c3b=this['tryToken'](_0x1fbc38,_0x1279b8);if(_0x5e5c3b){let _0x12ae21=_0x5e5c3b[0x0],_0x2781b3=_0x1fbc38[_0x10e9c5(0x186)](_0x12ae21[_0x10e9c5(0x17d)])[_0x10e9c5(0x1a9)](/^\s*/,'');return{'type':_0x470a8e,'text':_0x12ae21,'remainder':_0x2781b3};}}let _0x1ce1ff='ERROR:\x20In\x20parsing:\x20['+_0x1fbc38+_0x10e9c5(0x1e5);for(_0x56836e=0x0;_0x56836e<_0x2c8f86;_0x56836e++){_0x470a8e=_0x571881[_0x56836e],_0x1ce1ff+='\x0a\x20\x20\x20\x20'+_0x470a8e+':\x20'+this[_0x10e9c5(0x176)][_0x470a8e];}throw new Error(_0x1ce1ff);}[a62_0x50760c(0x1a8)](_0x2a158c){const _0x7988eb=a62_0x50760c;_0x2a158c=_0x2a158c[_0x7988eb(0x17b)]('[','')[_0x7988eb(0x17b)](']','');let _0x2da791=this[_0x7988eb(0x195)](_0x2a158c,this[_0x7988eb(0x191)]);_0x2da791&&(_0x2a158c=this[_0x7988eb(0x1a6)](_0x2a158c,_0x2da791));let _0x2f4143=[],_0xd250c,_0x233872=[_0x7988eb(0x1e3),_0x7988eb(0x18e),'SPATIAL',_0x7988eb(0x1b1),_0x7988eb(0x17f)];do{_0xd250c=this[_0x7988eb(0x18c)](_0x2a158c,_0x233872),_0x2a158c=_0xd250c[_0x7988eb(0x180)],_0x233872=this['follows'][_0xd250c['type']];if(_0xd250c[_0x7988eb(0x1d9)]!==_0x7988eb(0x187)&&!_0x233872)throw new Error(_0x7988eb(0x192)+_0xd250c['type']);_0x2f4143[_0x7988eb(0x18b)](_0xd250c);}while(_0xd250c['type']!==_0x7988eb(0x187));return _0x2f4143;}['parseInToOr'](_0x534d0b,_0xd6ae01){const _0x23b063=a62_0x50760c;let _0x5ea23e=this[_0x23b063(0x195)](_0x534d0b,/\((.+?)\)/g);if(_0x5ea23e){let _0x2a80f0=_0x534d0b['substring'](0x0,_0xd6ae01['index']),_0x5ca5c3=_0x5ea23e[0x1],_0x29b77=_0x5ca5c3[_0x23b063(0x17b)]('\x20','')[_0x23b063(0x19c)](','),_0x19ceba='',_0x475d58='';if(_0x2a80f0[_0x23b063(0x199)]('\x20')>-0x1){let _0x35d183=_0x2a80f0['lastIndexOf']('\x20');_0x475d58=_0x2a80f0[_0x23b063(0x186)](0x0,_0x35d183+0x1),_0x19ceba=_0x2a80f0[_0x23b063(0x186)](_0x35d183+0x1,_0x2a80f0[_0x23b063(0x17d)]);}else _0x19ceba=_0x2a80f0;let _0x52b727=_0x475d58;for(let _0x36255e=0x0;_0x36255e<_0x29b77[_0x23b063(0x17d)];_0x36255e++){let _0xc8fabb=_0x29b77[_0x36255e];_0x52b727+=_0x19ceba+'='+_0xc8fabb,_0x36255e<_0x29b77[_0x23b063(0x17d)]-0x1&&(_0x52b727+=_0x23b063(0x1dc));}return _0x52b727;}return _0x534d0b;}[a62_0x50760c(0x1a1)](_0x39bf97){const _0x3b8f2c=a62_0x50760c;let _0x3a03b0=this,_0x528f0f=[],_0x165f49=[];while(_0x39bf97['length']){let _0x35e03=_0x39bf97[_0x3b8f2c(0x1da)]();switch(_0x35e03[_0x3b8f2c(0x1d9)]){case _0x3b8f2c(0x1b1):case _0x3b8f2c(0x18e):case _0x3b8f2c(0x1e1):_0x165f49[_0x3b8f2c(0x18b)](_0x35e03);break;case _0x3b8f2c(0x19b):case _0x3b8f2c(0x1d2):case'IS_NULL':case _0x3b8f2c(0x1d3):{let _0x688148=this['precedence'][_0x35e03[_0x3b8f2c(0x1d9)]];while(_0x528f0f['length']>0x0&&this['precedence'][_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1]['type']]<=_0x688148){_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f[_0x3b8f2c(0x1c8)]());}_0x528f0f[_0x3b8f2c(0x18b)](_0x35e03);break;}case'SPATIAL':case _0x3b8f2c(0x1e3):case _0x3b8f2c(0x17f):_0x528f0f[_0x3b8f2c(0x18b)](_0x35e03);break;case _0x3b8f2c(0x1c9):while(_0x528f0f[_0x3b8f2c(0x17d)]>0x0&&_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1][_0x3b8f2c(0x1d9)]!==_0x3b8f2c(0x17f)){_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f[_0x3b8f2c(0x1c8)]());}_0x528f0f[_0x3b8f2c(0x1c8)]();_0x528f0f[_0x3b8f2c(0x17d)]>0x0&&(_0x528f0f[_0x528f0f['length']-0x1][_0x3b8f2c(0x1d9)]==='SPATIAL'||_0x528f0f[_0x528f0f[_0x3b8f2c(0x17d)]-0x1][_0x3b8f2c(0x1d9)]==='NOT')&&_0x165f49[_0x3b8f2c(0x18b)](_0x528f0f['pop']());break;case'COMMA':case _0x3b8f2c(0x187):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x35e03[_0x3b8f2c(0x1d9)]);}}while(_0x528f0f[_0x3b8f2c(0x17d)]>0x0){_0x165f49['push'](_0x528f0f[_0x3b8f2c(0x1c8)]());}function _0x2dbc20(){const _0x117dbb=_0x3b8f2c;let _0x2d2cb0,_0x715d45,_0x40eb99=_0x165f49[_0x117dbb(0x1c8)]();switch(_0x40eb99['type']){case'LOGICAL':{let _0x5b012f=_0x2dbc20(),_0x1c8597=_0x2dbc20();return new _0x3a03b0[(_0x117dbb(0x1c3))][(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]())](_0x1c8597,_0x5b012f);}case'NOT':{let _0x3d9ccb=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1b7)](_0x3d9ccb);}case _0x117dbb(0x1d2):{let _0x236f7d,_0x49351c;return _0x165f49[_0x117dbb(0x1c8)](),_0x49351c=_0x2dbc20(),_0x236f7d=_0x2dbc20(),_0x715d45=_0x2dbc20(),a62_0x3da6ef[_0x117dbb(0x181)](_0x715d45,_0x236f7d,_0x49351c);}case _0x117dbb(0x19b):{return _0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20(),new _0x3a03b0[(_0x117dbb(0x1ca))][(_0x40eb99[_0x117dbb(0x1a2)]['toUpperCase']())](_0x715d45,_0x2d2cb0);}case _0x117dbb(0x188):_0x715d45=_0x2dbc20();return new _0x3a03b0['operators'][(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]())](_0x715d45);case'VALUE':{let _0x371f0e=_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x19f)](/^'(.*)'$/);return _0x371f0e?_0x371f0e[0x1][_0x117dbb(0x1a9)](/''/g,'\x27'):Number(_0x40eb99['text']);}case _0x117dbb(0x18a):switch(_0x40eb99[_0x117dbb(0x1a2)][_0x117dbb(0x1cb)]()){case _0x117dbb(0x189):{let _0x2e4fe0=_0x2dbc20(),_0x4da5ed=_0x2dbc20(),_0x450fd9=_0x2dbc20(),_0x576e4a=_0x2dbc20(),_0x5e19ef=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1cc)](_0x5e19ef,[_0x576e4a,_0x450fd9,_0x4da5ed,_0x2e4fe0]);}case'INTERSECTS':_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1aa)](_0x715d45,_0x2d2cb0);case _0x117dbb(0x1a5):_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef['within'](_0x715d45,_0x2d2cb0);case _0x117dbb(0x1de):_0x2d2cb0=_0x2dbc20(),_0x715d45=_0x2dbc20();return a62_0x3da6ef[_0x117dbb(0x1bf)](_0x715d45,_0x2d2cb0);}break;case _0x117dbb(0x18e):return new WKT()[_0x117dbb(0x1af)](_0x40eb99[_0x117dbb(0x1a2)],{});default:return _0x40eb99[_0x117dbb(0x1a2)];}}let _0xb5ef9b=_0x2dbc20();if(_0x165f49[_0x3b8f2c(0x17d)]>0x0){let _0x22fb1c=_0x3b8f2c(0x1cd);for(let _0x1f82ed=_0x165f49[_0x3b8f2c(0x17d)]-0x1;_0x1f82ed>=0x0;_0x1f82ed--){_0x22fb1c+=_0x165f49[_0x1f82ed][_0x3b8f2c(0x1d9)]+':\x20'+_0x165f49[_0x1f82ed][_0x3b8f2c(0x1a2)]+'\x0a';}throw new Error(_0x22fb1c);}return _0xb5ef9b;}['read'](_0x4f23f9){const _0x32846f=a62_0x50760c;try{return this[_0x32846f(0x1a1)](this[_0x32846f(0x1a8)](_0x4f23f9));}catch(_0x34d555){console['warn']('CQL解析失败:'+_0x4f23f9),console[_0x32846f(0x194)](_0x34d555);}}[a62_0x50760c(0x178)](_0x164158){const _0x584c4f=a62_0x50760c;switch(_0x164158['tagName_']){case _0x584c4f(0x189):return _0x584c4f(0x1a7)+_0x164158[_0x584c4f(0x1d8)]+','+_0x164158[_0x584c4f(0x1b5)][_0x584c4f(0x197)](',')+','+_0x164158[_0x584c4f(0x1db)]+')';case _0x584c4f(0x1a3):return _0x584c4f(0x1df)+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1d0):return'INTERSECTS('+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1ba):return _0x584c4f(0x196)+_0x164158['geometryName']+',\x20'+this[_0x584c4f(0x1af)](_0x164158[_0x584c4f(0x1ab)])+')';case _0x584c4f(0x1ad):return _0x584c4f(0x1bd)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1b8)])+')';case _0x584c4f(0x1ae):case'Or':{let _0x4b50e5='(',_0x3ffd3a=!![];for(let _0x46db87=0x0;_0x46db87<_0x164158['conditions'][_0x584c4f(0x17d)];_0x46db87++){_0x3ffd3a?_0x3ffd3a=![]:_0x4b50e5+=')\x20'+_0x164158['tagName_'][_0x584c4f(0x17a)]()+'\x20(',_0x4b50e5+=this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1d5)][_0x46db87]);}return _0x4b50e5+')';}case _0x584c4f(0x1b0):return _0x164158[_0x584c4f(0x1ac)]+_0x584c4f(0x1e2)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x1e0)])+_0x584c4f(0x17e)+this[_0x584c4f(0x178)](_0x164158[_0x584c4f(0x185)]);case'PropertyIsEqualTo':case _0x584c4f(0x182):case _0x584c4f(0x1dd):case _0x584c4f(0x1a4):case _0x584c4f(0x1d1):case'PropertyIsGreaterThanOrEqualTo':case _0x584c4f(0x19d):case _0x584c4f(0x198):{return _0x164158[_0x584c4f(0x1cf)]!==null?_0x164158[_0x584c4f(0x1e4)]+'\x20'+this[_0x584c4f(0x1c6)][_0x164158[_0x584c4f(0x19a)]]+'\x20'+this['write'](_0x164158[_0x584c4f(0x1cf)]):_0x164158['propertyName']+'\x20'+this['operatorReverse'][_0x164158[_0x584c4f(0x19a)]];}case undefined:if(typeof _0x164158===_0x584c4f(0x17c))return'\x27'+_0x164158[_0x584c4f(0x1a9)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x164158===_0x584c4f(0x1d6))return String(_0x164158);}break;default:throw new Error(_0x584c4f(0x1d4)+_0x164158[_0x584c4f(0x1b6)]+'\x20'+_0x164158);}}[a62_0x50760c(0x1af)](_0x525082){const _0x330d2f=a62_0x50760c;if(_0x525082 instanceof a62_0x20addf)return new WKT()[_0x330d2f(0x1b4)](_0x525082);}}
|
|
1
|
+
const a62_0x1332be=a62_0x54a9;(function(_0x43f3e7,_0x4b3156){const _0x3d5249=a62_0x54a9,_0x232af3=_0x43f3e7();while(!![]){try{const _0x4928e0=parseInt(_0x3d5249(0x113))/0x1*(-parseInt(_0x3d5249(0x108))/0x2)+parseInt(_0x3d5249(0xf8))/0x3*(parseInt(_0x3d5249(0x114))/0x4)+parseInt(_0x3d5249(0x117))/0x5+-parseInt(_0x3d5249(0x104))/0x6*(-parseInt(_0x3d5249(0x11f))/0x7)+-parseInt(_0x3d5249(0x12e))/0x8*(parseInt(_0x3d5249(0xde))/0x9)+-parseInt(_0x3d5249(0xf9))/0xa+parseInt(_0x3d5249(0xe9))/0xb;if(_0x4928e0===_0x4b3156)break;else _0x232af3['push'](_0x232af3['shift']());}catch(_0x6eb501){_0x232af3['push'](_0x232af3['shift']());}}}(a62_0x4f8e,0xc00bc));function a62_0x54a9(_0x30628c,_0x2fae3e){const _0x4f8e3f=a62_0x4f8e();return a62_0x54a9=function(_0x54a9cf,_0x2f70fd){_0x54a9cf=_0x54a9cf-0xdb;let _0x37d6e0=_0x4f8e3f[_0x54a9cf];return _0x37d6e0;},a62_0x54a9(_0x30628c,_0x2fae3e);}import*as a62_0x156155 from'ol/format/filter';import{WKT}from'ol/format';import a62_0x55382c from'ol/geom/Geometry';function a62_0x4f8e(){const _0x18a6a3=['VALUE','LOGICAL','2625260znRiOU','geometryName','nextToken','follows','replace','push','Intersects','tokenize','7OUhErB','Within','COMPARISON','srsName','isNull','CQL解析失败:','like','write','string','toLowerCase','not','BETWEEN','Unknown\x20token\x20type\x20','conditions','lessThanOrEqualTo','11416KUQZDY','readGeometry','PropertyIsLike','length','And','BBOX','substring','PROPERTY','replaceAll','toUpperCase','inPatterns','greaterThanOrEqualTo','bbox','and','WITHIN(','upperBoundary','extent','lastIndexOf','NOT\x20(','pop','index','RPAREN','END','type','INTERSECTS(','tokens','\x20AND\x20','PropertyIsNull','text','patterns','3789KwJxTJ','\x20BETWEEN\x20','IS\x20NULL','CONTAINS','Contains','PropertyIsBetween','within','expression','buildAst','SPATIAL','LIKE','26720210gwdrfP','operators','indexOf','operatorReverse','between','PropertyIsLessThanOrEqualTo','剩余的节点无法解析:\x20\x0a','BBOX(','NOT','GEOMETRY','intersects','\x0a\x20\x20\x20\x20','COMMA','property','shift','4410knOGsA','15041950AICgLE','\x20or\x20','IS_NULL','PropertyIsGreaterThan','ERROR:\x20In\x20parsing:\x20[','],\x20expected\x20one\x20of:\x20','contains','Not','tryToken','precedence','exec','841332QujxoP','Can\x27t\x20encode:\x20','warn','tagName_','8meVeIW','geometry','split','notEqualTo','PropertyIsNotEqualTo','PropertyIsLessThan','condition','INTERSECTS','lessThan','lowerBoundary','LPAREN','54008qeiBwh','36CfKxRB'];a62_0x4f8e=function(){return _0x18a6a3;};return a62_0x4f8e();}export default class CQL{constructor(){const _0x3423ef=a62_0x54a9;this[_0x3423ef(0x138)]=/ (IN) /i,this[_0x3423ef(0x147)]=[_0x3423ef(0x135),_0x3423ef(0x121),_0x3423ef(0x115),_0x3423ef(0x116)],this['patterns']={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0x5ac34e){const _0x3992f1=_0x3423ef;let _0x445717=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/['exec'](_0x5ac34e);if(_0x445717){let _0x303bdf=_0x5ac34e['length'],_0x51d76f=_0x5ac34e[_0x3992f1(0xeb)]('(',_0x445717[0x0][_0x3992f1(0x131)]);if(_0x51d76f>-0x1){let _0x3b22e2=0x1;while(_0x51d76f<_0x303bdf&&_0x3b22e2>0x0){_0x51d76f++;switch(_0x5ac34e['charAt'](_0x51d76f)){case'(':_0x3b22e2++;break;case')':_0x3b22e2--;break;default:}}}return[_0x5ac34e[_0x3992f1(0x134)](0x0,_0x51d76f+0x1)];}},'END':/^$/},this['follows']={'LPAREN':[_0x3423ef(0xf2),_0x3423ef(0xe7),_0x3423ef(0x135),_0x3423ef(0x115),'LPAREN'],'RPAREN':[_0x3423ef(0xf1),'LOGICAL',_0x3423ef(0x144),'RPAREN'],'PROPERTY':[_0x3423ef(0x121),_0x3423ef(0x12a),'COMMA',_0x3423ef(0xfb)],'BETWEEN':[_0x3423ef(0x115)],'IS_NULL':[_0x3423ef(0x144)],'COMPARISON':[_0x3423ef(0x115)],'COMMA':[_0x3423ef(0xf2),_0x3423ef(0x115),_0x3423ef(0x135)],'VALUE':['LOGICAL',_0x3423ef(0xf5),_0x3423ef(0x143),_0x3423ef(0x144)],'SPATIAL':[_0x3423ef(0x112)],'LOGICAL':['NOT','VALUE',_0x3423ef(0xe7),_0x3423ef(0x135),_0x3423ef(0x112)],'NOT':[_0x3423ef(0x135),'LPAREN'],'GEOMETRY':[_0x3423ef(0xf5),'RPAREN']},this['operators']={'=':a62_0x156155['equalTo'],'<>':a62_0x156155[_0x3423ef(0x10b)],'<':a62_0x156155[_0x3423ef(0x110)],'<=':a62_0x156155[_0x3423ef(0x12d)],'>':a62_0x156155['greaterThan'],'>=':a62_0x156155[_0x3423ef(0x139)],'LIKE':a62_0x156155[_0x3423ef(0x125)],'BETWEEN':a62_0x156155[_0x3423ef(0xed)],'IS\x20NULL':a62_0x156155[_0x3423ef(0x123)]},this[_0x3423ef(0xec)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x3423ef(0xe8),'PropertyIsNull':_0x3423ef(0xe0),'PropertyIsBetween':'BETWEEN'},this['logicals']={'AND':a62_0x156155[_0x3423ef(0x13b)],'OR':a62_0x156155['or']},this[_0x3423ef(0x102)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x41c81f,_0x334a32){const _0x39809a=a62_0x54a9;return _0x334a32 instanceof RegExp?_0x334a32[_0x39809a(0x103)](_0x41c81f):_0x334a32(_0x41c81f);}[a62_0x1332be(0x119)](_0x317f4b,_0x11a551){const _0x2094a3=a62_0x1332be;let _0x538bc6,_0x4967a1,_0x40cbe6=_0x11a551[_0x2094a3(0x131)];for(_0x538bc6=0x0;_0x538bc6<_0x40cbe6;_0x538bc6++){_0x4967a1=_0x11a551[_0x538bc6];let _0x1a4b64=this[_0x2094a3(0xdd)][_0x4967a1],_0x4c4c65=this[_0x2094a3(0x101)](_0x317f4b,_0x1a4b64);if(_0x4c4c65){let _0x54aebf=_0x4c4c65[0x0],_0x5d238e=_0x317f4b['substring'](_0x54aebf['length'])[_0x2094a3(0x11b)](/^\s*/,'');return{'type':_0x4967a1,'text':_0x54aebf,'remainder':_0x5d238e};}}let _0x1c7789=_0x2094a3(0xfd)+_0x317f4b+_0x2094a3(0xfe);for(_0x538bc6=0x0;_0x538bc6<_0x40cbe6;_0x538bc6++){_0x4967a1=_0x11a551[_0x538bc6],_0x1c7789+=_0x2094a3(0xf4)+_0x4967a1+':\x20'+this[_0x2094a3(0xdd)][_0x4967a1];}throw new Error(_0x1c7789);}[a62_0x1332be(0x11e)](_0x30d740){const _0x25a27c=a62_0x1332be;_0x30d740=_0x30d740[_0x25a27c(0x136)]('[','')['replaceAll'](']','');let _0x1a89a3=this[_0x25a27c(0x101)](_0x30d740,this[_0x25a27c(0x138)]);_0x1a89a3&&(_0x30d740=this['parseInToOr'](_0x30d740,_0x1a89a3));let _0x50bdc6=[],_0x36d310,_0x891ec4=[_0x25a27c(0xf1),_0x25a27c(0xf2),_0x25a27c(0xe7),_0x25a27c(0x135),_0x25a27c(0x112)];do{_0x36d310=this[_0x25a27c(0x119)](_0x30d740,_0x891ec4),_0x30d740=_0x36d310['remainder'],_0x891ec4=this[_0x25a27c(0x11a)][_0x36d310[_0x25a27c(0x145)]];if(_0x36d310[_0x25a27c(0x145)]!==_0x25a27c(0x144)&&!_0x891ec4)throw new Error('No\x20follows\x20list\x20for\x20'+_0x36d310[_0x25a27c(0x145)]);_0x50bdc6[_0x25a27c(0x11c)](_0x36d310);}while(_0x36d310[_0x25a27c(0x145)]!==_0x25a27c(0x144));return _0x50bdc6;}['parseInToOr'](_0x481ddd,_0x54b7c0){const _0x4efc7c=a62_0x1332be;let _0x5d1c94=this[_0x4efc7c(0x101)](_0x481ddd,/\((.+?)\)/g);if(_0x5d1c94){let _0x9ab3d8=_0x481ddd[_0x4efc7c(0x134)](0x0,_0x54b7c0[_0x4efc7c(0x142)]),_0xcc9f71=_0x5d1c94[0x1],_0x9ca5f8=_0xcc9f71['replaceAll']('\x20','')[_0x4efc7c(0x10a)](','),_0x2fa952='',_0x4493f7='';if(_0x9ab3d8[_0x4efc7c(0xeb)]('\x20')>-0x1){let _0xe2e410=_0x9ab3d8[_0x4efc7c(0x13f)]('\x20');_0x4493f7=_0x9ab3d8[_0x4efc7c(0x134)](0x0,_0xe2e410+0x1),_0x2fa952=_0x9ab3d8[_0x4efc7c(0x134)](_0xe2e410+0x1,_0x9ab3d8[_0x4efc7c(0x131)]);}else _0x2fa952=_0x9ab3d8;let _0x213370=_0x4493f7;for(let _0x48a90a=0x0;_0x48a90a<_0x9ca5f8['length'];_0x48a90a++){let _0x57b501=_0x9ca5f8[_0x48a90a];_0x213370+=_0x2fa952+'='+_0x57b501,_0x48a90a<_0x9ca5f8['length']-0x1&&(_0x213370+=_0x4efc7c(0xfa));}return _0x213370;}return _0x481ddd;}[a62_0x1332be(0xe6)](_0x4db8e8){const _0x1849b8=a62_0x1332be;let _0x32d18c=this,_0x37256a=[],_0x337c6d=[];while(_0x4db8e8[_0x1849b8(0x131)]){let _0x31bf67=_0x4db8e8[_0x1849b8(0xf7)]();switch(_0x31bf67[_0x1849b8(0x145)]){case _0x1849b8(0x135):case _0x1849b8(0xf2):case'VALUE':_0x337c6d[_0x1849b8(0x11c)](_0x31bf67);break;case _0x1849b8(0x121):case _0x1849b8(0x12a):case'IS_NULL':case _0x1849b8(0x116):{let _0x4f8467=this[_0x1849b8(0x102)][_0x31bf67[_0x1849b8(0x145)]];while(_0x37256a[_0x1849b8(0x131)]>0x0&&this[_0x1849b8(0x102)][_0x37256a[_0x37256a[_0x1849b8(0x131)]-0x1]['type']]<=_0x4f8467){_0x337c6d[_0x1849b8(0x11c)](_0x37256a[_0x1849b8(0x141)]());}_0x37256a[_0x1849b8(0x11c)](_0x31bf67);break;}case _0x1849b8(0xe7):case _0x1849b8(0xf1):case'LPAREN':_0x37256a[_0x1849b8(0x11c)](_0x31bf67);break;case'RPAREN':while(_0x37256a[_0x1849b8(0x131)]>0x0&&_0x37256a[_0x37256a['length']-0x1][_0x1849b8(0x145)]!=='LPAREN'){_0x337c6d[_0x1849b8(0x11c)](_0x37256a[_0x1849b8(0x141)]());}_0x37256a[_0x1849b8(0x141)]();_0x37256a[_0x1849b8(0x131)]>0x0&&(_0x37256a[_0x37256a[_0x1849b8(0x131)]-0x1][_0x1849b8(0x145)]==='SPATIAL'||_0x37256a[_0x37256a[_0x1849b8(0x131)]-0x1][_0x1849b8(0x145)]===_0x1849b8(0xf1))&&_0x337c6d[_0x1849b8(0x11c)](_0x37256a[_0x1849b8(0x141)]());break;case _0x1849b8(0xf5):case _0x1849b8(0x144):break;default:throw new Error(_0x1849b8(0x12b)+_0x31bf67[_0x1849b8(0x145)]);}}while(_0x37256a[_0x1849b8(0x131)]>0x0){_0x337c6d[_0x1849b8(0x11c)](_0x37256a['pop']());}function _0x58b7b0(){const _0x9a0125=_0x1849b8;let _0x1542d0,_0x49503e,_0x4aadc5=_0x337c6d['pop']();switch(_0x4aadc5[_0x9a0125(0x145)]){case _0x9a0125(0x116):{let _0x56f701=_0x58b7b0(),_0x20c52c=_0x58b7b0();return new _0x32d18c['logicals'][(_0x4aadc5['text'][_0x9a0125(0x137)]())](_0x20c52c,_0x56f701);}case _0x9a0125(0xf1):{let _0x3b04c6=_0x58b7b0();return a62_0x156155[_0x9a0125(0x129)](_0x3b04c6);}case'BETWEEN':{let _0x1ac733,_0x3bfa87;return _0x337c6d[_0x9a0125(0x141)](),_0x3bfa87=_0x58b7b0(),_0x1ac733=_0x58b7b0(),_0x49503e=_0x58b7b0(),a62_0x156155[_0x9a0125(0xed)](_0x49503e,_0x1ac733,_0x3bfa87);}case _0x9a0125(0x121):{return _0x1542d0=_0x58b7b0(),_0x49503e=_0x58b7b0(),new _0x32d18c[(_0x9a0125(0xea))][(_0x4aadc5['text'][_0x9a0125(0x137)]())](_0x49503e,_0x1542d0);}case'IS_NULL':_0x49503e=_0x58b7b0();return new _0x32d18c[(_0x9a0125(0xea))][(_0x4aadc5[_0x9a0125(0xdc)][_0x9a0125(0x137)]())](_0x49503e);case _0x9a0125(0x115):{let _0xf0f2eb=_0x4aadc5[_0x9a0125(0xdc)]['match'](/^'(.*)'$/);return _0xf0f2eb?_0xf0f2eb[0x1]['replace'](/''/g,'\x27'):Number(_0x4aadc5[_0x9a0125(0xdc)]);}case'SPATIAL':switch(_0x4aadc5[_0x9a0125(0xdc)][_0x9a0125(0x137)]()){case _0x9a0125(0x133):{let _0xc43c49=_0x58b7b0(),_0x2cbd1=_0x58b7b0(),_0x32ad4f=_0x58b7b0(),_0xf9ca8d=_0x58b7b0(),_0x16d8ae=_0x58b7b0();return a62_0x156155[_0x9a0125(0x13a)](_0x16d8ae,[_0xf9ca8d,_0x32ad4f,_0x2cbd1,_0xc43c49]);}case _0x9a0125(0x10f):_0x1542d0=_0x58b7b0(),_0x49503e=_0x58b7b0();return a62_0x156155[_0x9a0125(0xf3)](_0x49503e,_0x1542d0);case'WITHIN':_0x1542d0=_0x58b7b0(),_0x49503e=_0x58b7b0();return a62_0x156155[_0x9a0125(0xe4)](_0x49503e,_0x1542d0);case _0x9a0125(0xe1):_0x1542d0=_0x58b7b0(),_0x49503e=_0x58b7b0();return a62_0x156155[_0x9a0125(0xff)](_0x49503e,_0x1542d0);}break;case _0x9a0125(0xf2):return new WKT()['readGeometry'](_0x4aadc5['text'],{});default:return _0x4aadc5['text'];}}let _0x2082b2=_0x58b7b0();if(_0x337c6d['length']>0x0){let _0x9f7f2f=_0x1849b8(0xef);for(let _0x2bfc27=_0x337c6d[_0x1849b8(0x131)]-0x1;_0x2bfc27>=0x0;_0x2bfc27--){_0x9f7f2f+=_0x337c6d[_0x2bfc27][_0x1849b8(0x145)]+':\x20'+_0x337c6d[_0x2bfc27][_0x1849b8(0xdc)]+'\x0a';}throw new Error(_0x9f7f2f);}return _0x2082b2;}['read'](_0x1b0195){const _0x13d20d=a62_0x1332be;try{return this[_0x13d20d(0xe6)](this[_0x13d20d(0x11e)](_0x1b0195));}catch(_0x1a195e){console['warn'](_0x13d20d(0x124)+_0x1b0195),console[_0x13d20d(0x106)](_0x1a195e);}}[a62_0x1332be(0x126)](_0x432718){const _0xad0602=a62_0x1332be;switch(_0x432718[_0xad0602(0x107)]){case'BBOX':return _0xad0602(0xf0)+_0x432718[_0xad0602(0x118)]+','+_0x432718[_0xad0602(0x13e)]['join'](',')+','+_0x432718[_0xad0602(0x122)]+')';case _0xad0602(0x120):return _0xad0602(0x13c)+_0x432718[_0xad0602(0x118)]+',\x20'+this[_0xad0602(0x12f)](_0x432718[_0xad0602(0x109)])+')';case _0xad0602(0x11d):return _0xad0602(0x146)+_0x432718[_0xad0602(0x118)]+',\x20'+this[_0xad0602(0x12f)](_0x432718[_0xad0602(0x109)])+')';case _0xad0602(0xe2):return'CONTAINS('+_0x432718[_0xad0602(0x118)]+',\x20'+this[_0xad0602(0x12f)](_0x432718[_0xad0602(0x109)])+')';case _0xad0602(0x100):return _0xad0602(0x140)+this[_0xad0602(0x126)](_0x432718[_0xad0602(0x10e)])+')';case _0xad0602(0x132):case'Or':{let _0x50482c='(',_0x198859=!![];for(let _0x7c0058=0x0;_0x7c0058<_0x432718[_0xad0602(0x12c)][_0xad0602(0x131)];_0x7c0058++){_0x198859?_0x198859=![]:_0x50482c+=')\x20'+_0x432718['tagName_'][_0xad0602(0x128)]()+'\x20(',_0x50482c+=this['write'](_0x432718[_0xad0602(0x12c)][_0x7c0058]);}return _0x50482c+')';}case _0xad0602(0xe3):return _0x432718[_0xad0602(0xf6)]+_0xad0602(0xdf)+this[_0xad0602(0x126)](_0x432718[_0xad0602(0x111)])+_0xad0602(0x148)+this[_0xad0602(0x126)](_0x432718[_0xad0602(0x13d)]);case'PropertyIsEqualTo':case _0xad0602(0x10c):case _0xad0602(0x10d):case _0xad0602(0xee):case _0xad0602(0xfc):case'PropertyIsGreaterThanOrEqualTo':case _0xad0602(0x130):case _0xad0602(0xdb):{return _0x432718['expression']!==null?_0x432718['propertyName']+'\x20'+this['operatorReverse'][_0x432718[_0xad0602(0x107)]]+'\x20'+this[_0xad0602(0x126)](_0x432718[_0xad0602(0xe5)]):_0x432718['propertyName']+'\x20'+this[_0xad0602(0xec)][_0x432718[_0xad0602(0x107)]];}case undefined:if(typeof _0x432718===_0xad0602(0x127))return'\x27'+_0x432718[_0xad0602(0x11b)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x432718==='number')return String(_0x432718);}break;default:throw new Error(_0xad0602(0x105)+_0x432718['CLASS_NAME']+'\x20'+_0x432718);}}[a62_0x1332be(0x12f)](_0x2cd528){if(_0x2cd528 instanceof a62_0x55382c)return new WKT()['writeGeometry'](_0x2cd528);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1f0836,_0x3c8b25){const _0x10efbd=a63_0x145c,_0x236548=_0x1f0836();while(!![]){try{const _0x49d0ca=parseInt(_0x10efbd(0x118))/0x1*(-parseInt(_0x10efbd(0x13a))/0x2)+-parseInt(_0x10efbd(0x125))/0x3*(parseInt(_0x10efbd(0x12f))/0x4)+-parseInt(_0x10efbd(0x13b))/0x5*(parseInt(_0x10efbd(0x120))/0x6)+-parseInt(_0x10efbd(0x127))/0x7*(-parseInt(_0x10efbd(0x131))/0x8)+-parseInt(_0x10efbd(0x128))/0x9*(parseInt(_0x10efbd(0x117))/0xa)+parseInt(_0x10efbd(0x129))/0xb*(-parseInt(_0x10efbd(0x122))/0xc)+-parseInt(_0x10efbd(0x11e))/0xd*(-parseInt(_0x10efbd(0x119))/0xe);if(_0x49d0ca===_0x3c8b25)break;else _0x236548['push'](_0x236548['shift']());}catch(_0x392dad){_0x236548['push'](_0x236548['shift']());}}}(a63_0x4876,0x77422));function a63_0x145c(_0x526be4,_0x2f04b2){const _0x48764d=a63_0x4876();return a63_0x145c=function(_0x145c6e,_0x786566){_0x145c6e=_0x145c6e-0x117;let _0x115cf5=_0x48764d[_0x145c6e];return _0x115cf5;},a63_0x145c(_0x526be4,_0x2f04b2);}import a63_0x5f102c from'./CQL';export function isMatchCql(_0x3bba38,_0x29f39c){let _0x1c8a70=new a63_0x5f102c()['read'](_0x29f39c);return isMatchFilter(_0x3bba38,_0x1c8a70);}export function isMatchFilter(_0x47b9a4,_0x9e6909){const _0x5d6b23=a63_0x145c;switch(_0x9e6909[_0x5d6b23(0x11b)]){case _0x5d6b23(0x12e):return!isMatchFilter(_0x47b9a4,_0x9e6909[_0x5d6b23(0x123)]);case _0x5d6b23(0x130):{let _0x45ae8d=!![];for(let _0x286365=0x0;_0x286365<_0x9e6909[_0x5d6b23(0x134)]['length'];_0x286365++){_0x45ae8d=_0x45ae8d&&isMatchFilter(_0x47b9a4,_0x9e6909['conditions'][_0x286365]);}return _0x45ae8d;}case'Or':{let _0x106506=![];for(let _0x2d0a75=0x0;_0x2d0a75<_0x9e6909[_0x5d6b23(0x134)][_0x5d6b23(0x138)];_0x2d0a75++){_0x106506=_0x106506||isMatchFilter(_0x47b9a4,_0x9e6909[_0x5d6b23(0x134)][_0x2d0a75]);}return _0x106506;}case _0x5d6b23(0x12b):return _0x47b9a4[_0x9e6909[_0x5d6b23(0x11a)]]>_0x9e6909[_0x5d6b23(0x126)]&&_0x47b9a4[_0x9e6909['property']]<_0x9e6909[_0x5d6b23(0x12a)];case'PropertyIsEqualTo':return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]]===_0x9e6909[_0x5d6b23(0x12d)];case _0x5d6b23(0x132):return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]]!==_0x9e6909[_0x5d6b23(0x12d)];case _0x5d6b23(0x137):return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]]<_0x9e6909[_0x5d6b23(0x12d)];case'PropertyIsLessThanOrEqualTo':return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]]<=_0x9e6909[_0x5d6b23(0x12d)];case'PropertyIsGreaterThan':return _0x47b9a4[_0x9e6909['propertyName']]>_0x9e6909[_0x5d6b23(0x12d)];case _0x5d6b23(0x11f):return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]]>=_0x9e6909['expression'];case'PropertyIsLike':return _0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]][_0x5d6b23(0x139)](_0x9e6909[_0x5d6b23(0x12d)])>-0x1;case _0x5d6b23(0x133):{return!_0x47b9a4[_0x9e6909[_0x5d6b23(0x135)]];}default:return![];}}function a63_0x4876(){const _0x490b83=['PropertyIsGreaterThanOrEqualTo','312rKabsW','push','7192740vCdhMw','condition','idMapLength','12069UgLRoZ','lowerBoundary','128051rYqVrN','315837DYaGVa','11VwPkEF','upperBoundary','PropertyIsBetween','idMap','expression','Not','508eUTOkM','And','104GERGgT','PropertyIsNotEqualTo','PropertyIsNull','conditions','propertyName','PropertyIsGreaterThan','PropertyIsLessThan','length','indexOf','864436pQwBRo','37545akqJDP','70dsLAYI','2BxLJSy','588IrdHRS','property','tagName_','join','PropertyIsEqualTo','885716gaBDBj'];a63_0x4876=function(){return _0x490b83;};return a63_0x4876();}export function isEqualFilter(_0x4ae2d5,_0x59c2a7){const _0x1d1aea=a63_0x145c;switch(_0x4ae2d5['tagName_']){case _0x1d1aea(0x12e):return _0x4ae2d5[_0x1d1aea(0x11b)]===_0x59c2a7[_0x1d1aea(0x11b)]&&isEqualFilter(_0x4ae2d5[_0x1d1aea(0x123)],_0x59c2a7[_0x1d1aea(0x123)]);case'Or':case _0x1d1aea(0x130):{let _0x3c655f=_0x4ae2d5['tagName_']===_0x59c2a7[_0x1d1aea(0x11b)]&&_0x4ae2d5[_0x1d1aea(0x134)][_0x1d1aea(0x138)]===_0x59c2a7[_0x1d1aea(0x134)][_0x1d1aea(0x138)];for(let _0x2184c1=0x0;_0x2184c1<_0x4ae2d5[_0x1d1aea(0x134)][_0x1d1aea(0x138)];_0x2184c1++){_0x3c655f=_0x3c655f&&isEqualFilter(_0x4ae2d5[_0x1d1aea(0x134)][_0x2184c1],_0x59c2a7[_0x1d1aea(0x134)][_0x2184c1]);}return _0x3c655f;}case _0x1d1aea(0x12b):return _0x4ae2d5[_0x1d1aea(0x11b)]===_0x59c2a7[_0x1d1aea(0x11b)]&&_0x4ae2d5[_0x1d1aea(0x11a)]===_0x59c2a7[_0x1d1aea(0x11a)];case'PropertyIsEqualTo':case _0x1d1aea(0x132):case'PropertyIsLessThan':case'PropertyIsLessThanOrEqualTo':case _0x1d1aea(0x136):case _0x1d1aea(0x11f):case'PropertyIsLike':case'PropertyIsNull':return _0x4ae2d5[_0x1d1aea(0x11b)]===_0x59c2a7[_0x1d1aea(0x11b)]&&_0x4ae2d5[_0x1d1aea(0x135)]===_0x59c2a7[_0x1d1aea(0x135)];default:return![];}}export function indexOfFilter(_0x10db21,_0x4a871b){let _0x1f4418=-0x1;if((_0x10db21===null||_0x10db21===void 0x0?void 0x0:_0x10db21['length'])>0x0)for(let _0x28ff3b in _0x10db21){if(isEqualFilter(_0x10db21[_0x28ff3b]['template'],_0x4a871b))return _0x28ff3b;}return _0x1f4418;}export function getIndexByTemplate(_0x4a6b5e,_0x57ca64){const _0x364cdb=a63_0x145c;let _0x5e8c5f=_0x57ca64['template'];if(_0x57ca64[_0x364cdb(0x124)]>0x0){let _0xd8c6d=getKeyByTemplate(_0x4a6b5e,_0x5e8c5f);if(_0xd8c6d instanceof Array)for(let _0x3c3d28 in _0xd8c6d){let _0x58e447=_0x57ca64[_0x364cdb(0x12c)][_0xd8c6d[_0x3c3d28]+'_'+_0x3c3d28];if(_0x58e447)return _0x58e447;}else return _0x57ca64['idMap'][_0xd8c6d];}return null;}export function getKeyByTemplate(_0x3dfeb,_0x9afc73){const _0xbc4054=a63_0x145c;switch(_0x9afc73[_0xbc4054(0x11b)]){case _0xbc4054(0x11d):{return _0x3dfeb[_0x9afc73[_0xbc4054(0x135)]];}case _0xbc4054(0x130):{let _0x25e3c7=[];for(let _0x558ae5=0x0;_0x558ae5<_0x9afc73['conditions']['length'];_0x558ae5++){let _0x1a08dd=getKeyByTemplate(_0x3dfeb,_0x9afc73[_0xbc4054(0x134)][_0x558ae5]);_0x1a08dd&&_0x25e3c7[_0xbc4054(0x121)](_0x1a08dd);}return _0x25e3c7[_0xbc4054(0x11c)](',');}case'Or':{let _0x4db72b=[];for(let _0x45134d=0x0;_0x45134d<_0x9afc73[_0xbc4054(0x134)][_0xbc4054(0x138)];_0x45134d++){let _0x42498b=getKeyByTemplate(_0x3dfeb,_0x9afc73[_0xbc4054(0x134)][_0x45134d]);_0x42498b&&_0x4db72b[_0xbc4054(0x121)](_0x42498b);}return _0x4db72b;}default:return null;}}export function createKeyFromFilter(_0x264b3f){const _0x566a46=a63_0x145c;switch(_0x264b3f[_0x566a46(0x11b)]){case _0x566a46(0x11d):return _0x264b3f[_0x566a46(0x12d)];case _0x566a46(0x130):{let _0x372e0d=[];for(let _0x494722=0x0;_0x494722<_0x264b3f[_0x566a46(0x134)][_0x566a46(0x138)];_0x494722++){let _0x3310f2=createKeyFromFilter(_0x264b3f[_0x566a46(0x134)][_0x494722]);if(_0x3310f2)_0x372e0d[_0x566a46(0x121)](_0x3310f2);else return null;}return _0x372e0d['join'](',');}case'Or':{let _0x4bdca2=[];for(let _0x2d42e9=0x0;_0x2d42e9<_0x264b3f[_0x566a46(0x134)]['length'];_0x2d42e9++){let _0x262553=createKeyFromFilter(_0x264b3f[_0x566a46(0x134)][_0x2d42e9]);_0x262553&&_0x4bdca2[_0x566a46(0x121)](_0x262553);}return _0x4bdca2;}default:return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a66_0x6467ef=a66_0x2bf5;(function(_0x1bd764,_0x10084e){const _0x54ca87=a66_0x2bf5,_0x1dfa61=_0x1bd764();while(!![]){try{const _0x456ece=-parseInt(_0x54ca87(0x1be))/0x1*(parseInt(_0x54ca87(0x1b0))/0x2)+parseInt(_0x54ca87(0x1b9))/0x3*(parseInt(_0x54ca87(0x1ae))/0x4)+parseInt(_0x54ca87(0x1ad))/0x5+-parseInt(_0x54ca87(0x1b4))/0x6*(-parseInt(_0x54ca87(0x1b1))/0x7)+parseInt(_0x54ca87(0x1b6))/0x8+-parseInt(_0x54ca87(0x1b7))/0x9+-parseInt(_0x54ca87(0x1bb))/0xa*(parseInt(_0x54ca87(0x1af))/0xb);if(_0x456ece===_0x10084e)break;else _0x1dfa61['push'](_0x1dfa61['shift']());}catch(_0x2540a6){_0x1dfa61['push'](_0x1dfa61['shift']());}}}(a66_0x181d,0xc674e));function a66_0x181d(){const _0x1ab450=['1735041FtpRuN','340954OmdoPG','21jbezxv','image','cacheSize_','2900988smvmrp','markerLabel','4203872MfpnYG','2565459tTDhOV','clear','96MgEPMK','cache_','140gMJEVi','markerSize','get','2MvQGsv','markerColor','1486095hrxdOY','171740XZXwBb'];a66_0x181d=function(){return _0x1ab450;};return a66_0x181d();}import{asString}from'ol/color';class ImageCache{constructor(){const _0x9ddfa=a66_0x2bf5;this[_0x9ddfa(0x1ba)]={},this[_0x9ddfa(0x1b3)]=0x0;}[a66_0x6467ef(0x1b8)](){const _0x2c6ca6=a66_0x6467ef;this[_0x2c6ca6(0x1ba)]={},this['cacheSize_']=0x0;}[a66_0x6467ef(0x1bd)](_0x5c0643){const _0x4fdbef=a66_0x6467ef,_0x3cf689=getKey(_0x5c0643[_0x4fdbef(0x1b5)],_0x5c0643[_0x4fdbef(0x1bc)],_0x5c0643[_0x4fdbef(0x1ac)],_0x5c0643[_0x4fdbef(0x1b2)]);return _0x3cf689 in this[_0x4fdbef(0x1ba)]?this[_0x4fdbef(0x1ba)][_0x3cf689]:null;}['set'](_0x371147,_0x460b6c){const _0x4b9316=a66_0x6467ef,_0x559107=getKey(_0x371147[_0x4b9316(0x1b5)],_0x371147[_0x4b9316(0x1bc)],_0x371147[_0x4b9316(0x1ac)],_0x371147['image']);this[_0x4b9316(0x1ba)][_0x559107]=_0x460b6c,++this['cacheSize_'];}}function getKey(_0x35fde6,_0x257f70,_0x2b046f,_0x42d886){const _0x6b7d7e=_0x2b046f?asString(_0x2b046f):'null';return _0x35fde6+':'+_0x42d886+':'+_0x6b7d7e+':'+_0x257f70;}export default ImageCache;function a66_0x2bf5(_0x3ff1b3,_0x1a7d0e){const _0x181d6c=a66_0x181d();return a66_0x2bf5=function(_0x2bf5a7,_0x36d5c1){_0x2bf5a7=_0x2bf5a7-0x1ac;let _0x2a0823=_0x181d6c[_0x2bf5a7];return _0x2a0823;},a66_0x2bf5(_0x3ff1b3,_0x1a7d0e);}export const shared=new ImageCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x3a5428=a67_0x12f2;(function(_0xbe07f6,_0x13db81){const _0x1a2910=a67_0x12f2,_0x3fe520=_0xbe07f6();while(!![]){try{const _0x253912=parseInt(_0x1a2910(0x135))/0x1+-parseInt(_0x1a2910(0x110))/0x2+-parseInt(_0x1a2910(0x10a))/0x3*(parseInt(_0x1a2910(0x129))/0x4)+parseInt(_0x1a2910(0x111))/0x5+parseInt(_0x1a2910(0x11a))/0x6*(-parseInt(_0x1a2910(0x114))/0x7)+-parseInt(_0x1a2910(0x109))/0x8+-parseInt(_0x1a2910(0x12a))/0x9*(-parseInt(_0x1a2910(0x12c))/0xa);if(_0x253912===_0x13db81)break;else _0x3fe520['push'](_0x3fe520['shift']());}catch(_0xbece7f){_0x3fe520['push'](_0x3fe520['shift']());}}}(a67_0x4172,0x6b2dc));import a67_0x4ce8a1 from'color';import a67_0x19cd9f from'./writeTextToCanvas';import{Icon}from'ol/style';function a67_0x4172(){const _0x42ede0=['fillStyle','fill','6fHhFfh','#000000','_cache','target','drawImage','canvas','save','IDLE','hexa','bezierCurveTo','size\x20is\x20required','stringify','color\x20is\x20required','text\x20is\x20required','destination-out','2550972SbNiMy','26606727HPKGHm','closePath','10yKBQiz','fromMakiIconId','lineWidth','bold\x20','fromColor','lighten','scale','getImage','round','313019wpNxvZ','strokeStyle','lineTo','listenImageChange','fillRect','restore','6410712RqfFOd','3cDvzVX','globalCompositeOperation','toDataURL','height','getImageState','ERROR','1433662OkdOMv','5960gNtiov','width','beginPath','4729179KVjxBU','moveTo','LOADED','stroke'];a67_0x4172=function(){return _0x42ede0;};return a67_0x4172();}import a67_0x660e76 from'ol/ImageState';function a67_0x12f2(_0x15c303,_0x1c4e01){const _0x4172b8=a67_0x4172();return a67_0x12f2=function(_0x12f2dc,_0x447077){_0x12f2dc=_0x12f2dc-0x105;let _0x295c59=_0x4172b8[_0x12f2dc];return _0x295c59;},a67_0x12f2(_0x15c303,_0x1c4e01);}import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}[a67_0x3a5428(0x130)](_0x3353ac,_0x384ab9){const _0x187df6=a67_0x3a5428;if(!_0x3353ac)throw new Error(_0x187df6(0x126));if(!_0x384ab9)throw new Error(_0x187df6(0x124));return createPin('','',_0x3353ac,_0x384ab9,this[_0x187df6(0x11c)]);}['fromUrl'](_0x4bfada,_0x2945d2,_0x5545ac){const _0x3b398b=a67_0x3a5428;if(!_0x4bfada)throw new Error('url\x20is\x20required');if(!_0x2945d2)throw new Error(_0x3b398b(0x126));if(!_0x5545ac)throw new Error(_0x3b398b(0x124));return createPin(_0x4bfada,'',_0x2945d2,_0x5545ac,this['_cache']);}[a67_0x3a5428(0x12d)](_0x1e5a4c,_0x119316,_0x5632e1){const _0x51e6e2=a67_0x3a5428;if(!_0x1e5a4c)throw new Error('id\x20is\x20required');if(!_0x119316)throw new Error(_0x51e6e2(0x126));if(!_0x5632e1)throw new Error(_0x51e6e2(0x124));return createPin(parseImage(_0x1e5a4c),'',_0x119316,_0x5632e1,this[_0x51e6e2(0x11c)]);}['fromText'](_0x162a43,_0x4ebdbd,_0x5f54f1){const _0x8ebe73=a67_0x3a5428;if(!_0x162a43)throw new Error(_0x8ebe73(0x127));if(!_0x4ebdbd)throw new Error(_0x8ebe73(0x126));if(!_0x5f54f1)throw new Error(_0x8ebe73(0x124));return createPin('',_0x162a43,_0x4ebdbd,_0x5f54f1,this['_cache']);}}function drawPin(_0xce32dc,_0x5763bb,_0x4f03e8){const _0x493b18=a67_0x3a5428;_0xce32dc[_0x493b18(0x120)](),_0xce32dc[_0x493b18(0x132)](_0x4f03e8/0x18,_0x4f03e8/0x18),_0xce32dc['fillStyle']=_0x5763bb,_0xce32dc[_0x493b18(0x136)]=a67_0x4ce8a1(_0x5763bb)[_0x493b18(0x131)](0.6)[_0x493b18(0x122)](),_0xce32dc[_0x493b18(0x12e)]=0.846,_0xce32dc[_0x493b18(0x113)](),_0xce32dc[_0x493b18(0x115)](6.72,0.422),_0xce32dc[_0x493b18(0x105)](17.28,0.422),_0xce32dc[_0x493b18(0x123)](18.553,0.422,19.577,1.758,19.577,3.415),_0xce32dc['lineTo'](19.577,10.973),_0xce32dc['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0xce32dc[_0x493b18(0x105)](14.386,14.008),_0xce32dc[_0x493b18(0x105)](11.826,23.578),_0xce32dc['lineTo'](9.614,14.008),_0xce32dc['lineTo'](6.719,13.965),_0xce32dc[_0x493b18(0x123)](5.446,13.983,4.422,12.629,4.422,10.972),_0xce32dc[_0x493b18(0x105)](4.422,3.416),_0xce32dc[_0x493b18(0x123)](4.423,1.76,5.447,0.423,6.718,0.423),_0xce32dc[_0x493b18(0x12b)](),_0xce32dc[_0x493b18(0x119)](),_0xce32dc[_0x493b18(0x117)](),_0xce32dc[_0x493b18(0x108)]();}function drawIcon(_0x306701,_0x32dfe6,_0x46ad4){const _0x40d786=a67_0x3a5428,_0x66824e=_0x46ad4/2.5;let _0x291546=_0x66824e,_0x55f7bb=_0x66824e;if(_0x32dfe6[_0x40d786(0x112)]>_0x32dfe6['height'])_0x55f7bb=_0x66824e*(_0x32dfe6[_0x40d786(0x10d)]/_0x32dfe6[_0x40d786(0x112)]);else _0x32dfe6[_0x40d786(0x112)]<_0x32dfe6[_0x40d786(0x10d)]&&(_0x291546=_0x66824e*(_0x32dfe6[_0x40d786(0x112)]/_0x32dfe6['height']));const _0x698aa5=Math[_0x40d786(0x134)]((_0x46ad4-_0x291546)/0x2),_0x32b35c=Math[_0x40d786(0x134)](0x7/0x18*_0x46ad4-_0x55f7bb/0x2);_0x306701[_0x40d786(0x10b)]='destination-out',_0x306701[_0x40d786(0x11e)](_0x32dfe6,_0x698aa5-0x1,_0x32b35c,_0x291546,_0x55f7bb),_0x306701['drawImage'](_0x32dfe6,_0x698aa5,_0x32b35c-0x1,_0x291546,_0x55f7bb),_0x306701[_0x40d786(0x11e)](_0x32dfe6,_0x698aa5+0x1,_0x32b35c,_0x291546,_0x55f7bb),_0x306701[_0x40d786(0x11e)](_0x32dfe6,_0x698aa5,_0x32b35c+0x1,_0x291546,_0x55f7bb),_0x306701['globalCompositeOperation']='destination-over',_0x306701['fillStyle']=_0x40d786(0x11b),_0x306701[_0x40d786(0x107)](_0x698aa5-0x1,_0x32b35c-0x1,_0x291546+0x2,_0x55f7bb+0x2),_0x306701['globalCompositeOperation']=_0x40d786(0x128),_0x306701['drawImage'](_0x32dfe6,_0x698aa5,_0x32b35c,_0x291546,_0x55f7bb),_0x306701['globalCompositeOperation']='destination-over',_0x306701[_0x40d786(0x118)]='#FFFFFF',_0x306701[_0x40d786(0x107)](_0x698aa5-0x1,_0x32b35c-0x2,_0x291546+0x2,_0x55f7bb+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x203c87,_0x1f9f97,_0x1fc24c,_0x12d1ed,_0x294324){const _0x531ef6=a67_0x3a5428;stringifyScratch[0x0]=_0x203c87,stringifyScratch[0x1]=_0x1f9f97,stringifyScratch[0x2]=_0x1fc24c,stringifyScratch[0x3]=_0x12d1ed;const _0x1c0e33=JSON[_0x531ef6(0x125)](stringifyScratch),_0x135658=_0x294324[_0x1c0e33];if(_0x135658)return _0x135658;const _0x3b9276=document['createElement'](_0x531ef6(0x11f));_0x3b9276['width']=_0x12d1ed,_0x3b9276[_0x531ef6(0x10d)]=_0x12d1ed;const _0x4cf16e=_0x3b9276['getContext']('2d');drawPin(_0x4cf16e,_0x1fc24c,_0x12d1ed);if(_0x203c87)return new Promise(_0x5e2092=>{const _0xf61747=_0x531ef6;let _0x3bf679=new Icon({'src':_0x203c87}),_0x46ee1d=_0x3bf679[_0xf61747(0x10e)]();_0x46ee1d===a67_0x660e76[_0xf61747(0x116)]||_0x46ee1d===a67_0x660e76[_0xf61747(0x10f)]?(drawIcon(_0x4cf16e,_0x3bf679['getImage'](0x60),_0x12d1ed),_0x294324[_0x1c0e33]=_0x3b9276[_0xf61747(0x10c)](),_0x5e2092(_0x3b9276[_0xf61747(0x10c)]())):(_0x46ee1d===a67_0x660e76[_0xf61747(0x121)]&&_0x3bf679['load'](),_0x3bf679[_0xf61747(0x106)](_0x36eaff=>{const _0x2f9334=_0xf61747;_0x46ee1d=_0x36eaff[_0x2f9334(0x11d)][_0x2f9334(0x10e)](),(_0x46ee1d===a67_0x660e76[_0x2f9334(0x116)]||_0x46ee1d===a67_0x660e76['ERROR'])&&(drawIcon(_0x4cf16e,_0x3bf679[_0x2f9334(0x133)](0x60),_0x12d1ed),_0x294324[_0x1c0e33]=_0x3b9276['toDataURL'](),_0x5e2092(_0x3b9276[_0x2f9334(0x10c)]()));}));});else{if(_0x1f9f97){const _0x3cdc09=a67_0x19cd9f(_0x1f9f97,{'font':_0x531ef6(0x12f)+_0x12d1ed+'px\x20sans-serif'});drawIcon(_0x4cf16e,_0x3cdc09,_0x12d1ed);}}return _0x294324[_0x1c0e33]=_0x3b9276[_0x531ef6(0x10c)](),_0x3b9276[_0x531ef6(0x10c)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x1367c9=a68_0x4476;(function(_0x13759e,_0x1bb567){const _0x3b134d=a68_0x4476,_0x5999f3=_0x13759e();while(!![]){try{const _0x1ad10d=parseInt(_0x3b134d(0x16d))/0x1+-parseInt(_0x3b134d(0x17b))/0x2+parseInt(_0x3b134d(0x17c))/0x3+parseInt(_0x3b134d(0x179))/0x4+parseInt(_0x3b134d(0x170))/0x5*(parseInt(_0x3b134d(0x16e))/0x6)+-parseInt(_0x3b134d(0x17d))/0x7+-parseInt(_0x3b134d(0x16c))/0x8;if(_0x1ad10d===_0x1bb567)break;else _0x5999f3['push'](_0x5999f3['shift']());}catch(_0x564fcb){_0x5999f3['push'](_0x5999f3['shift']());}}}(a68_0x4c18,0x22069));import a68_0x535847 from'./PinBuilder';function a68_0x4476(_0x137ba9,_0x15f367){const _0x4c18f3=a68_0x4c18();return a68_0x4476=function(_0x447661,_0x11d3fb){_0x447661=_0x447661-0x16a;let _0xc29529=_0x4c18f3[_0x447661];return _0xc29529;},a68_0x4476(_0x137ba9,_0x15f367);}import{Icon}from'ol/style';import a68_0x4013b9 from'ol/ImageState';function a68_0x4c18(){const _0x4fda4c=['271056HPhMgc','target','90066duLYRE','212022bbxyoc','250271MukZMP','image','load','catch','_icon','ERROR','markerColor','LOADED','listenImageChange','get','getImageState','_listener','_imageState','fromText','2187184pKwGTU','88653JQYKBw','42CTmtnY','markerSize','190330cZuMua','IDLE','options','markerLabel','dispatchEvent','warn','set','error','getImage'];a68_0x4c18=function(){return _0x4fda4c;};return a68_0x4c18();}import a68_0x4c1cd6 from'ol/events/Event';import{shared as a68_0x321364}from'./ImageCache';export default class PinIcon{constructor(_0x4ae4d0){const _0x1b088d=a68_0x4476;this[_0x1b088d(0x172)]=_0x4ae4d0||{},this[_0x1b088d(0x16a)]=a68_0x4013b9['IDLE'],this[_0x1b088d(0x181)]=a68_0x321364[_0x1b088d(0x186)](this[_0x1b088d(0x172)]),this['_icon']&&(this[_0x1b088d(0x16a)]=a68_0x4013b9[_0x1b088d(0x184)]);}[a68_0x1367c9(0x17f)](){const _0x12f3bd=a68_0x1367c9;try{let _0x5280d7,_0x438597=new a68_0x535847();if(this['options'][_0x12f3bd(0x173)])_0x5280d7=_0x438597[_0x12f3bd(0x16b)](this[_0x12f3bd(0x172)][_0x12f3bd(0x173)],this['options'][_0x12f3bd(0x183)],this['options'][_0x12f3bd(0x16f)]||0x30);else this['options']['image']&&(_0x5280d7=_0x438597['fromUrl'](this[_0x12f3bd(0x172)][_0x12f3bd(0x17e)],this[_0x12f3bd(0x172)][_0x12f3bd(0x183)],this[_0x12f3bd(0x172)][_0x12f3bd(0x16f)]||0x30));Promise['resolve'](_0x5280d7)['then'](_0x567989=>{this['loadIcon'](_0x567989);})[_0x12f3bd(0x180)](_0x311371=>{const _0x19f97a=_0x12f3bd;console[_0x19f97a(0x175)](_0x311371),this[_0x19f97a(0x16a)]=a68_0x4013b9['ERROR'],this[_0x19f97a(0x174)](_0x19f97a(0x177));});}catch(_0x376e1){console['warn'](_0x376e1),this[_0x12f3bd(0x16a)]=a68_0x4013b9['ERROR'],this[_0x12f3bd(0x174)](_0x12f3bd(0x177));}}['loadIcon'](_0x3892f4){const _0x58c9db=a68_0x1367c9;this[_0x58c9db(0x181)]=new Icon({'src':_0x3892f4}),a68_0x321364[_0x58c9db(0x176)](this['options'],this[_0x58c9db(0x181)]);let _0x39d3ba=this[_0x58c9db(0x181)][_0x58c9db(0x187)]();_0x39d3ba===a68_0x4013b9[_0x58c9db(0x184)]||_0x39d3ba===a68_0x4013b9[_0x58c9db(0x182)]?(this['_imageState']=this[_0x58c9db(0x181)][_0x58c9db(0x187)](),this[_0x58c9db(0x174)](_0x58c9db(0x17f))):(_0x39d3ba===a68_0x4013b9[_0x58c9db(0x171)]&&this[_0x58c9db(0x181)][_0x58c9db(0x17f)](),this[_0x58c9db(0x181)][_0x58c9db(0x185)](_0x34f9c1=>{const _0x405606=_0x58c9db;_0x39d3ba=_0x34f9c1[_0x405606(0x17a)][_0x405606(0x187)](),(_0x39d3ba===a68_0x4013b9[_0x405606(0x184)]||_0x39d3ba===a68_0x4013b9[_0x405606(0x182)])&&(this[_0x405606(0x16a)]=this[_0x405606(0x181)][_0x405606(0x187)](),this[_0x405606(0x174)]('load'));}));}[a68_0x1367c9(0x187)](){const _0xa624fb=a68_0x1367c9;return this[_0xa624fb(0x16a)];}[a68_0x1367c9(0x178)](){const _0x312352=a68_0x1367c9;var _0x2a253d;return(_0x2a253d=this['_icon'])===null||_0x2a253d===void 0x0?void 0x0:_0x2a253d[_0x312352(0x178)]();}[a68_0x1367c9(0x185)](_0x39f432){const _0x2e34d1=a68_0x1367c9;this[_0x2e34d1(0x188)]=_0x39f432;}[a68_0x1367c9(0x174)](_0x11fe67){const _0x5aa849=a68_0x1367c9;if(this[_0x5aa849(0x188)]){let _0xf56ce9=new a68_0x4c1cd6(_0x11fe67);_0xf56ce9['target']=this,this[_0x5aa849(0x188)](_0xf56ce9);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x4a9c2a,_0x1466ec){const _0x1ae6c0=a69_0x4eb4,_0x5c876e=_0x4a9c2a();while(!![]){try{const _0x3ecf9d=-parseInt(_0x1ae6c0(0xea))/0x1+-parseInt(_0x1ae6c0(0xd8))/0x2*(-parseInt(_0x1ae6c0(0xf1))/0x3)+parseInt(_0x1ae6c0(0xdd))/0x4+parseInt(_0x1ae6c0(0xf3))/0x5*(parseInt(_0x1ae6c0(0xd7))/0x6)+-parseInt(_0x1ae6c0(0xe1))/0x7*(parseInt(_0x1ae6c0(0xd3))/0x8)+-parseInt(_0x1ae6c0(0xdb))/0x9+parseInt(_0x1ae6c0(0xf5))/0xa*(parseInt(_0x1ae6c0(0xe8))/0xb);if(_0x3ecf9d===_0x1466ec)break;else _0x5c876e['push'](_0x5c876e['shift']());}catch(_0x4f3c91){_0x5c876e['push'](_0x5c876e['shift']());}}}(a69_0x3ad8,0xeda25));function measureText(_0xf7d903,_0x2a7795,_0x10d021,_0x3c1f16,_0x185786){const _0x223222=a69_0x4eb4,_0x51ab86=_0xf7d903['measureText'](_0x2a7795),_0x3cc14b=!/\S/[_0x223222(0xd4)](_0x2a7795);if(!_0x3cc14b&&document['defaultView']){const _0x45aa5f=document[_0x223222(0xd2)][_0x223222(0xf6)](_0xf7d903['canvas'])[_0x223222(0xd1)](_0x223222(0xed))['replace']('px',''),_0x4d5375=document['createElement'](_0x223222(0xe6)),_0x12923e=0x64,_0x18ad33=_0x51ab86['width']+_0x12923e|0x0,_0x16c8b0=0x3*(_0x45aa5f-0x0),_0x38f11d=_0x16c8b0/0x2;_0x4d5375[_0x223222(0xdf)]=_0x18ad33,_0x4d5375[_0x223222(0xe9)]=_0x16c8b0;const _0x327d69=_0x4d5375['getContext']('2d');if(!_0x327d69)return{};_0x327d69[_0x223222(0xf4)]=_0x10d021,_0x327d69[_0x223222(0xd6)]=_0x223222(0xde),_0x327d69[_0x223222(0xf9)](0x0,0x0,_0x4d5375['width']+0x1,_0x4d5375['height']+0x1);_0x3c1f16&&(_0x327d69[_0x223222(0xf8)]=_0x223222(0xe2),_0x327d69[_0x223222(0xfe)]=_0xf7d903[_0x223222(0xfe)],_0x327d69[_0x223222(0xf7)](_0x2a7795,_0x12923e/0x2,_0x38f11d));_0x185786&&(_0x327d69[_0x223222(0xd6)]=_0x223222(0xe2),_0x327d69[_0x223222(0xec)](_0x2a7795,_0x12923e/0x2,_0x38f11d));const _0x389817=_0x327d69['getImageData'](0x0,0x0,_0x18ad33,_0x16c8b0)[_0x223222(0xdc)],_0x1311ba=_0x389817[_0x223222(0xfd)],_0x51cbe1=_0x18ad33*0x4;let _0x3ca73c,_0x2cb87c,_0x8a8d4c=0x0,_0x42a380=0x0;for(_0x3ca73c=0x0;_0x3ca73c<_0x1311ba;++_0x3ca73c){if(_0x389817[_0x3ca73c]!==0xff){_0x8a8d4c=_0x3ca73c/_0x51cbe1|0x0;break;}}for(_0x3ca73c=_0x1311ba-0x1;_0x3ca73c>=0x0;--_0x3ca73c){if(_0x389817[_0x3ca73c]!==0xff){_0x42a380=_0x3ca73c/_0x51cbe1|0x0;break;}}let _0x2ed1fb=-0x1;for(_0x3ca73c=0x0;_0x3ca73c<_0x18ad33&&_0x2ed1fb===-0x1;++_0x3ca73c){for(_0x2cb87c=0x0;_0x2cb87c<_0x16c8b0;++_0x2cb87c){const _0x12babb=_0x3ca73c*0x4+_0x2cb87c*_0x51cbe1;if(_0x389817[_0x12babb]!==0xff||_0x389817[_0x12babb+0x1]!==0xff||_0x389817[_0x12babb+0x2]!==0xff||_0x389817[_0x12babb+0x3]!==0xff){_0x2ed1fb=_0x3ca73c;break;}}}return{'width':_0x51ab86[_0x223222(0xdf)],'height':_0x42a380-_0x8a8d4c,'ascent':_0x38f11d-_0x8a8d4c,'descent':_0x42a380-_0x38f11d,'minx':_0x2ed1fb-_0x12923e/0x2};}return{'width':_0x51ab86[_0x223222(0xdf)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a69_0x4eb4(_0x452026,_0x58389a){const _0x3ad80d=a69_0x3ad8();return a69_0x4eb4=function(_0x4eb405,_0x3a1885){_0x4eb405=_0x4eb405-0xcd;let _0xa47449=_0x3ad80d[_0x4eb405];return _0xa47449;},a69_0x4eb4(_0x452026,_0x58389a);}let imageSmoothingEnabledName='';function a69_0x3ad8(){const _0x4b2220=['style','3652amizhb','height','810055taTrAL','fill','fillText','font-size','getContext','mozImageSmoothingEnabled','backgroundColor','3993EeZJDr','dimensions','8284135JlVDbo','font','40640malGoZ','getComputedStyle','strokeText','strokeStyle','fillRect','#00000000','lineJoin','ascent','length','lineWidth','#FFFFFF','round','strokeColor','msImageSmoothingEnabled','body','getPropertyValue','defaultView','13515728ubRfqp','test','imageSmoothingEnabled','fillStyle','6iDwBPo','1662DgmtXi','strokeWidth','visibility','6750279iCfnKJ','data','443060FeTexx','white','width','webkitImageSmoothingEnabled','7aqMCNd','black','ceil','removeChild','#000000','canvas'];a69_0x3ad8=function(){return _0x4b2220;};return a69_0x3ad8();}function writeTextToCanvas(_0x4b61e5,_0x3e0290){const _0xeb053f=a69_0x4eb4;if(!_0x4b61e5)throw new Error('text\x20is\x20required.');if(_0x4b61e5==='')return undefined;_0x3e0290=defaultValue(_0x3e0290,{});const _0x45928e=defaultValue(_0x3e0290[_0xeb053f(0xf4)],'10px\x20sans-serif'),_0x32ef0d=defaultValue(_0x3e0290['stroke'],![]),_0x2ba80d=defaultValue(_0x3e0290[_0xeb053f(0xeb)],!![]),_0x45bb11=defaultValue(_0x3e0290[_0xeb053f(0xd9)],0x1),_0xd8073=defaultValue(_0x3e0290[_0xeb053f(0xf0)],'#00000000'),_0x19a904=defaultValue(_0x3e0290['padding'],0x0),_0x1878fb=_0x19a904*0x2,_0x3edf2e=document['createElement'](_0xeb053f(0xe6));_0x3edf2e[_0xeb053f(0xdf)]=0x1,_0x3edf2e[_0xeb053f(0xe9)]=0x1,_0x3edf2e[_0xeb053f(0xe7)]['font']=_0x45928e;const _0x58f88d=_0x3edf2e[_0xeb053f(0xee)]('2d');if(!imageSmoothingEnabledName&&_0x58f88d){if(_0x58f88d['imageSmoothingEnabled'])imageSmoothingEnabledName=_0xeb053f(0xd5);else{if(_0x58f88d[_0xeb053f(0xef)])imageSmoothingEnabledName=_0xeb053f(0xef);else{if(_0x58f88d[_0xeb053f(0xe0)])imageSmoothingEnabledName=_0xeb053f(0xe0);else _0x58f88d['msImageSmoothingEnabled']&&(imageSmoothingEnabledName=_0xeb053f(0xcf));}}}_0x58f88d[_0xeb053f(0xf4)]=_0x45928e,_0x58f88d[_0xeb053f(0xfb)]=_0xeb053f(0xcd),_0x58f88d[_0xeb053f(0xfe)]=_0x45bb11,_0x58f88d[imageSmoothingEnabledName]=![],_0x3edf2e[_0xeb053f(0xe7)]['visibility']='hidden',document[_0xeb053f(0xd0)]['appendChild'](_0x3edf2e);const _0x4206f7=measureText(_0x58f88d,_0x4b61e5,_0x45928e,_0x32ef0d,_0x2ba80d);if(!_0x4206f7)return;_0x3edf2e[_0xeb053f(0xf2)]=_0x4206f7,document[_0xeb053f(0xd0)][_0xeb053f(0xe4)](_0x3edf2e),_0x3edf2e[_0xeb053f(0xe7)][_0xeb053f(0xda)]='';const _0xe12c48=-(_0x4206f7['minx']?_0x4206f7['minx']:0x0),_0x1d2102=Math[_0xeb053f(0xe3)](_0x4206f7[_0xeb053f(0xdf)])+_0xe12c48+_0x1878fb,_0xf10d9a=(_0x4206f7['height']?_0x4206f7[_0xeb053f(0xe9)]:0x0)+_0x1878fb,_0x549bde=_0xf10d9a-(_0x4206f7[_0xeb053f(0xfc)]?_0x4206f7['ascent']:0x0)+_0x19a904,_0x168852=_0xf10d9a-_0x549bde+_0x1878fb;return _0x3edf2e[_0xeb053f(0xdf)]=_0x1d2102,_0x3edf2e[_0xeb053f(0xe9)]=_0xf10d9a,_0x58f88d[_0xeb053f(0xf4)]=_0x45928e,_0x58f88d[_0xeb053f(0xfb)]=_0xeb053f(0xcd),_0x58f88d[_0xeb053f(0xfe)]=_0x45bb11,_0x58f88d[imageSmoothingEnabledName]=![],_0xd8073!==_0xeb053f(0xfa)&&(_0x58f88d[_0xeb053f(0xd6)]=_0xd8073,_0x58f88d[_0xeb053f(0xf9)](0x0,0x0,_0x3edf2e[_0xeb053f(0xdf)],_0x3edf2e[_0xeb053f(0xe9)])),_0x32ef0d&&(_0x58f88d[_0xeb053f(0xf8)]=defaultValue(_0x3e0290[_0xeb053f(0xce)],_0xeb053f(0xe5)),_0x58f88d[_0xeb053f(0xf7)](_0x4b61e5,_0xe12c48+_0x19a904,_0x168852)),_0x2ba80d&&(_0x58f88d[_0xeb053f(0xd6)]=defaultValue(_0x3e0290['fillColor'],_0xeb053f(0xff)),_0x58f88d[_0xeb053f(0xec)](_0x4b61e5,_0xe12c48+_0x19a904,_0x168852)),_0x3edf2e;}function defaultValue(_0x4331d3,_0x3bf185){if(_0x4331d3!==undefined&&_0x4331d3!==null)return _0x4331d3;return _0x3bf185;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a74_0x4a2663=a74_0x5c8d;(function(_0x4f8cf5,_0x116f23){const _0x114db3=a74_0x5c8d,_0x2c072b=_0x4f8cf5();while(!![]){try{const _0x433e98=parseInt(_0x114db3(0x1f5))/0x1*(parseInt(_0x114db3(0x1ea))/0x2)+-parseInt(_0x114db3(0x1ed))/0x3+parseInt(_0x114db3(0x1f4))/0x4+-parseInt(_0x114db3(0x1fd))/0x5*(parseInt(_0x114db3(0x1fa))/0x6)+parseInt(_0x114db3(0x1e2))/0x7+parseInt(_0x114db3(0x202))/0x8*(parseInt(_0x114db3(0x1fe))/0x9)+-parseInt(_0x114db3(0x1f8))/0xa;if(_0x433e98===_0x116f23)break;else _0x2c072b['push'](_0x2c072b['shift']());}catch(_0x10c377){_0x2c072b['push'](_0x2c072b['shift']());}}}(a74_0x3f04,0x7c1e2));import a74_0x20c777 from'ol/format/EsriJSON';import a74_0x1fdf72 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a74_0x20aff5 from'./Task';import{appendPath}from'../../UrlUtil';function a74_0x3f04(){const _0x439da7=['getSize','_setGeometryParams','getType','layers','getView','3242232IxVnby','returnZ','resolution','returnGeometry','inSR','params','getCenter','mapExtent','2028yJESRj','path','run','634518GZMsiK','tolerance','calculateExtent','time','between','layerDefs','geojsonTypeToArcGIS','2787508vxVVnw','702akQiNh','returnM','valueOf','5993710jYUzIq','imageDisplay','1143864YEHpFt','writeGeometryObject','getResolution','25WwlboW','9xjpVzr','geometryType','url','request','3204816eCvFoB','getProjection','getCode','all'];a74_0x3f04=function(){return _0x439da7;};return a74_0x3f04();}import{getEsriSpatialReference}from'../../EsriUtil';function a74_0x5c8d(_0x171c0d,_0x289db8){const _0x3f04bb=a74_0x3f04();return a74_0x5c8d=function(_0x5c8d5c,_0x113f47){_0x5c8d5c=_0x5c8d5c-0x1e2;let _0x53863a=_0x3f04bb[_0x5c8d5c];return _0x53863a;},a74_0x5c8d(_0x171c0d,_0x289db8);}export default class Identify extends a74_0x20aff5{constructor(_0x333be2,_0x12b39b,_0xb6759d){const _0x283f26=a74_0x5c8d;super(_0x333be2,_0x12b39b,_0xb6759d),this[_0x283f26(0x1eb)]='identify',this[_0x283f26(0x1e7)]={'layers':_0x283f26(0x205),'tolerance':0x0,'returnGeometry':!![]},this[_0x283f26(0x1ee)]=0x3,this['resolution']=0x0,this[_0x283f26(0x200)]=appendPath(this[_0x283f26(0x200)],this[_0x283f26(0x1eb)]),_0x12b39b&&((_0x12b39b[_0x283f26(0x1e5)]===!![]||_0x12b39b[_0x283f26(0x1e5)]===![])&&(this[_0x283f26(0x1e7)][_0x283f26(0x1e5)]=_0x12b39b[_0x283f26(0x1e5)]),_0x12b39b[_0x283f26(0x209)]&&(this[_0x283f26(0x1e7)]['layers']=_0x12b39b[_0x283f26(0x209)]),_0x12b39b[_0x283f26(0x1f2)]&&(this['params'][_0x283f26(0x1f2)]=_0x12b39b[_0x283f26(0x1f2)]),(_0x12b39b[_0x283f26(0x1e3)]===!![]||_0x12b39b['returnZ']===![])&&(this[_0x283f26(0x1e7)][_0x283f26(0x1e3)]=_0x12b39b[_0x283f26(0x1e3)]),(_0x12b39b[_0x283f26(0x1f6)]===!![]||_0x12b39b[_0x283f26(0x1f6)]===![])&&(this[_0x283f26(0x1e7)][_0x283f26(0x1f6)]=_0x12b39b[_0x283f26(0x1f6)]));}['at'](_0x4352e1,_0x2a1302){const _0x9e525e=a74_0x5c8d;let _0x3edead,_0x1a9f06;const _0x18e0dd=new a74_0x1fdf72();_0x3edead=_0x4352e1,_0x1a9f06=getEsriSpatialReference(_0x2a1302[_0x9e525e(0x20a)]()['getProjection']()[_0x9e525e(0x204)]());const _0x40e839=_0x2a1302[_0x9e525e(0x206)]();_0x40e839&&(this[_0x9e525e(0x1e7)][_0x9e525e(0x1f9)]=[_0x40e839[0x0],_0x40e839[0x1],0x60]);this[_0x9e525e(0x1e7)]['sr']=_0x1a9f06;const _0x1bbd6c=_0x2a1302[_0x9e525e(0x20a)]()[_0x9e525e(0x1ef)](_0x2a1302[_0x9e525e(0x206)]());this['params'][_0x9e525e(0x1e9)]={'xmin':_0x1bbd6c[0x0],'ymin':_0x1bbd6c[0x1],'xmax':_0x1bbd6c[0x2],'ymax':_0x1bbd6c[0x3],'spatialReference':_0x1a9f06};const _0x4500e6=_0x2a1302[_0x9e525e(0x20a)]()[_0x9e525e(0x1fc)](),_0x6d781f=_0x2a1302[_0x9e525e(0x20a)]()[_0x9e525e(0x1e8)]();return _0x4500e6&&_0x6d781f&&(this[_0x9e525e(0x1e4)]=getPointResolution(_0x2a1302[_0x9e525e(0x20a)]()['getProjection'](),_0x4500e6,_0x6d781f)),this[_0x9e525e(0x207)](_0x3edead,_0x2a1302['getView']()[_0x9e525e(0x203)]()[_0x9e525e(0x204)]()),this;}[a74_0x4a2663(0x1f1)](_0x29db45,_0xd5e57d){const _0x5908c5=a74_0x4a2663;return this['params'][_0x5908c5(0x1f0)]=[_0x29db45[_0x5908c5(0x1f7)](),_0xd5e57d[_0x5908c5(0x1f7)]()],this;}[a74_0x4a2663(0x1ec)](){const _0x199ac0=a74_0x4a2663;this[_0x199ac0(0x201)]();}[a74_0x4a2663(0x207)](_0xb918cc,_0x198553){const _0x20d6c9=a74_0x4a2663;var _0x5b829e=new a74_0x20c777();const _0x22035c=_0x5b829e[_0x20d6c9(0x1fb)](_0xb918cc);this[_0x20d6c9(0x1e7)][_0x20d6c9(0x1e6)]=getEsriSpatialReference(_0x198553),this[_0x20d6c9(0x1e7)]['geometry']=_0x22035c,this[_0x20d6c9(0x1e7)][_0x20d6c9(0x1ff)]=this[_0x20d6c9(0x1f3)](_0xb918cc[_0x20d6c9(0x208)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75_0x4c5ddd=a75_0x4a2e;function a75_0x4a2e(_0x321fd8,_0x28a122){const _0x7359cc=a75_0x7359();return a75_0x4a2e=function(_0x4a2edf,_0x54b74d){_0x4a2edf=_0x4a2edf-0x1cd;let _0x280354=_0x7359cc[_0x4a2edf];return _0x280354;},a75_0x4a2e(_0x321fd8,_0x28a122);}(function(_0x2f74b5,_0x415aad){const _0xb332=a75_0x4a2e,_0x1dd1de=_0x2f74b5();while(!![]){try{const _0x2588db=-parseInt(_0xb332(0x20d))/0x1+-parseInt(_0xb332(0x1de))/0x2+parseInt(_0xb332(0x1ee))/0x3*(-parseInt(_0xb332(0x1cf))/0x4)+parseInt(_0xb332(0x1db))/0x5+-parseInt(_0xb332(0x1fc))/0x6+parseInt(_0xb332(0x1dc))/0x7*(parseInt(_0xb332(0x1d3))/0x8)+parseInt(_0xb332(0x1fe))/0x9;if(_0x2588db===_0x415aad)break;else _0x1dd1de['push'](_0x1dd1de['shift']());}catch(_0x566e25){_0x1dd1de['push'](_0x1dd1de['shift']());}}}(a75_0x7359,0xad2e2));import a75_0x3b8221 from'ol/format/EsriJSON';import a75_0x2d8f4d from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';function a75_0x7359(){const _0x27bbf9=['ASC','getExtent','ids','_setGeometryParams','features','1=1','run','4926DntIfJ','esriSpatialRelIntersects','between','geometry','where','overlaps','esriSpatialRelIndexIntersects','returnGeometry','getType','maxAllowableOffset','query','returnExtentOnly','returnM','join','2163456GPxSNM','orderBy','13608567wrXcxv','returnDistinctValues','readFeature','outSR','esriSpatialRelCrosses','catch','esriSpatialRelContains','url','units','getTime','bboxIntersects','indexIntersects','path','layer','orderByFields','497623dSSdpM','esriSpatialRelOverlaps','geometryType','intersects','params','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','inSR','esriSpatialRelWithin','abs','2788ShUniN','returnCountOnly','valueOf','code','1068432YXzKOL','returnIdsOnly','simplify','_trapSQLerrors','time','_cleanParams','request','returnZ','3997090gDEzlP','28sDxDDl','crosses','267356HfGbli','writeGeometryObject','data','forEach','apply','nearby','getSize','spatialRel','push'];a75_0x7359=function(){return _0x27bbf9;};return a75_0x7359();}export default class Query extends a75_0x2d8f4d{constructor(_0x47ef2e,_0x347758,_0x966a21){const _0x2331a0=a75_0x4a2e;super(_0x47ef2e,_0x347758,_0x966a21),this[_0x2331a0(0x20a)]=_0x2331a0(0x1f8),this['params']={'returnGeometry':!![],'where':_0x2331a0(0x1ec),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x2331a0(0x207)]()},this[_0x2331a0(0x205)]=appendPath(this[_0x2331a0(0x205)],this[_0x2331a0(0x20a)]),_0x347758&&((_0x347758['returnGeometry']===!![]||_0x347758[_0x2331a0(0x1f5)]===![])&&(this[_0x2331a0(0x211)][_0x2331a0(0x1f5)]=_0x347758[_0x2331a0(0x1f5)]),_0x347758[_0x2331a0(0x1f2)]&&(this[_0x2331a0(0x211)]['where']=_0x347758[_0x2331a0(0x1f2)]),_0x347758[_0x2331a0(0x201)]&&(this[_0x2331a0(0x211)][_0x2331a0(0x201)]=getEsriSpatialReference(_0x347758[_0x2331a0(0x201)])),(_0x347758[_0x2331a0(0x1da)]===!![]||_0x347758[_0x2331a0(0x1da)]===![])&&(this[_0x2331a0(0x211)][_0x2331a0(0x1da)]=_0x347758[_0x2331a0(0x1da)]),(_0x347758[_0x2331a0(0x1fa)]===!![]||_0x347758['returnM']===![])&&(this[_0x2331a0(0x211)][_0x2331a0(0x1fa)]=_0x347758['returnM']));}['within'](_0x2f688,_0x2a557a){const _0x3ab934=a75_0x4a2e;return this[_0x3ab934(0x1ea)](_0x2f688,_0x2a557a),this[_0x3ab934(0x211)]['spatialRel']=_0x3ab934(0x204),this;}[a75_0x4c5ddd(0x210)](_0x12955b,_0x3b5e2f){const _0x2bfc5e=a75_0x4c5ddd;return this['_setGeometryParams'](_0x12955b,_0x3b5e2f),this[_0x2bfc5e(0x211)][_0x2bfc5e(0x1e5)]='esriSpatialRelIntersects',this;}['contains'](_0x284ad8,_0x1654ec){const _0x80f087=a75_0x4c5ddd;return this[_0x80f087(0x1ea)](_0x284ad8,_0x1654ec),this[_0x80f087(0x211)]['spatialRel']=_0x80f087(0x1cd),this;}[a75_0x4c5ddd(0x1dd)](_0x56d6e1,_0x5a39a1){const _0x36f5d3=a75_0x4c5ddd;return this[_0x36f5d3(0x1ea)](_0x56d6e1,_0x5a39a1),this['params'][_0x36f5d3(0x1e5)]=_0x36f5d3(0x202),this;}['touches'](_0x10920c,_0x5a08cf){const _0x1eba54=a75_0x4c5ddd;return this[_0x1eba54(0x1ea)](_0x10920c,_0x5a08cf),this[_0x1eba54(0x211)][_0x1eba54(0x1e5)]='esriSpatialRelTouches',this;}[a75_0x4c5ddd(0x1f3)](_0x3fe422,_0x3677d8){const _0x25cb28=a75_0x4c5ddd;return this['_setGeometryParams'](_0x3fe422,_0x3677d8),this[_0x25cb28(0x211)]['spatialRel']=_0x25cb28(0x20e),this;}[a75_0x4c5ddd(0x208)](_0x2aa41e,_0x54fe40){const _0x4c35c0=a75_0x4c5ddd;return this['_setGeometryParams'](_0x2aa41e,_0x54fe40),this[_0x4c35c0(0x211)][_0x4c35c0(0x1e5)]='esriSpatialRelEnvelopeIntersects',this;}[a75_0x4c5ddd(0x209)](_0x3badae,_0x487b70){const _0x422254=a75_0x4c5ddd;return this['_setGeometryParams'](_0x3badae,_0x487b70),this[_0x422254(0x211)][_0x422254(0x1e5)]=_0x422254(0x1f4),this;}[a75_0x4c5ddd(0x1e3)](_0x377180,_0x4123b5,_0x16445c){const _0x175bcb=a75_0x4c5ddd;return this[_0x175bcb(0x1ea)](_0x377180,_0x4123b5),this['params']['spatialRel']=_0x175bcb(0x1ef),this[_0x175bcb(0x211)][_0x175bcb(0x206)]='esriSRUnit_Meter',this[_0x175bcb(0x211)]['distance']=_0x16445c,this;}[a75_0x4c5ddd(0x1f2)](_0x1b5501){const _0x52568b=a75_0x4c5ddd;return this[_0x52568b(0x211)][_0x52568b(0x1f2)]=_0x1b5501,this;}[a75_0x4c5ddd(0x1f0)](_0x1c1d1f,_0x5978bc){const _0x183c8f=a75_0x4c5ddd;return this['params'][_0x183c8f(0x1d7)]=[_0x1c1d1f[_0x183c8f(0x1d1)](),_0x5978bc[_0x183c8f(0x1d1)]()],this;}[a75_0x4c5ddd(0x1d5)](_0x3ea874,_0x1c5de7){const _0x2390c5=a75_0x4c5ddd,_0x3f79a3=_0x3ea874[_0x2390c5(0x1e8)]();var _0x19b427=Math[_0x2390c5(0x1ce)](_0x3f79a3[0x2]-_0x3f79a3[0x0]);const _0x5c5295=_0x3ea874[_0x2390c5(0x1e4)]();if(_0x5c5295)return this[_0x2390c5(0x211)][_0x2390c5(0x1f7)]=_0x19b427/_0x5c5295[0x1]*_0x1c5de7,this;}[a75_0x4c5ddd(0x1fd)](_0x3835cc,_0x1fce00){const _0x68bc3b=a75_0x4c5ddd;return _0x1fce00=_0x1fce00||_0x68bc3b(0x1e7),this[_0x68bc3b(0x211)][_0x68bc3b(0x20c)]=this['params'][_0x68bc3b(0x20c)]?this[_0x68bc3b(0x211)]['orderByFields']+',':'',this[_0x68bc3b(0x211)][_0x68bc3b(0x20c)]+=[_0x3835cc,_0x1fce00][_0x68bc3b(0x1fb)]('\x20'),this;}async[a75_0x4c5ddd(0x1ed)](){const _0x4eb6a0=a75_0x4c5ddd;this[_0x4eb6a0(0x1d8)]();const _0x2eacb2=await this['request']()[_0x4eb6a0(0x203)](_0x56ba5e=>{throw new Error(_0x56ba5e);});if(_0x2eacb2['status']!==0xc8)throw new Error('No\x20features\x20found');if(_0x2eacb2[_0x4eb6a0(0x1e0)]&&_0x2eacb2[_0x4eb6a0(0x1e0)]['features']&&_0x2eacb2[_0x4eb6a0(0x1e0)]['features']['length']>0x0){var _0x230d6b=new a75_0x3b8221();let _0x511235=[];return _0x2eacb2[_0x4eb6a0(0x1e0)][_0x4eb6a0(0x1eb)][_0x4eb6a0(0x1e1)](_0x4ba76b=>{const _0x48be05=_0x4eb6a0,_0x2aa108=_0x230d6b[_0x48be05(0x200)](_0x4ba76b);_0x511235[_0x48be05(0x1e6)](_0x2aa108);}),_0x511235;}return[];}['count'](){const _0x4aef42=a75_0x4c5ddd;this[_0x4aef42(0x1d8)](),this[_0x4aef42(0x211)][_0x4aef42(0x1d0)]=!![],this[_0x4aef42(0x1d9)]();}[a75_0x4c5ddd(0x1e9)](){const _0x48aac9=a75_0x4c5ddd;this[_0x48aac9(0x1d8)](),this['params'][_0x48aac9(0x1d4)]=!![],this[_0x48aac9(0x1d9)]();}['distinct'](){const _0x54017d=a75_0x4c5ddd;return this['params'][_0x54017d(0x1f5)]=![],this[_0x54017d(0x211)][_0x54017d(0x1ff)]=!![],this;}[a75_0x4c5ddd(0x20b)](_0x234d52){const _0x143274=a75_0x4c5ddd;return this[_0x143274(0x20a)]=_0x234d52+'/query',this;}[a75_0x4c5ddd(0x1d6)](_0x439874){const _0x192aac=a75_0x4c5ddd;_0x439874&&(_0x439874[_0x192aac(0x1d2)]==='400'&&console['warn'][_0x192aac(0x1e2)](_0x192aac(0x212)));}[a75_0x4c5ddd(0x1d8)](){const _0x26a94a=a75_0x4c5ddd;delete this[_0x26a94a(0x211)][_0x26a94a(0x1d4)],delete this[_0x26a94a(0x211)][_0x26a94a(0x1f9)],delete this[_0x26a94a(0x211)][_0x26a94a(0x1d0)];}[a75_0x4c5ddd(0x1ea)](_0x3a22fe,_0x4a0080){const _0x38e3d7=a75_0x4c5ddd;var _0x2efced=new a75_0x3b8221();const _0x2cf5f5=_0x2efced[_0x38e3d7(0x1df)](_0x3a22fe);this[_0x38e3d7(0x211)][_0x38e3d7(0x213)]=getEsriSpatialReference(_0x4a0080),this[_0x38e3d7(0x211)][_0x38e3d7(0x1f1)]=_0x2cf5f5,this['params'][_0x38e3d7(0x20f)]=this['geojsonTypeToArcGIS'](_0x3a22fe[_0x38e3d7(0x1f6)]());}}
|