ym-gis-2d 1.0.6 → 1.0.8
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.js +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.d.ts +5 -0
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +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
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a67_0x3950dc=a67_0x3eb8;(function(_0x17dee6,_0x1ee4b6){const _0x35ec38=a67_0x3eb8,_0xaae1f3=_0x17dee6();while(!![]){try{const _0x406f58=parseInt(_0x35ec38(0x1ec))/0x1+parseInt(_0x35ec38(0x200))/0x2+parseInt(_0x35ec38(0x1e4))/0x3+-parseInt(_0x35ec38(0x1f1))/0x4*(parseInt(_0x35ec38(0x212))/0x5)+-parseInt(_0x35ec38(0x1fd))/0x6*(-parseInt(_0x35ec38(0x215))/0x7)+-parseInt(_0x35ec38(0x1f4))/0x8*(-parseInt(_0x35ec38(0x1f5))/0x9)+-parseInt(_0x35ec38(0x1ed))/0xa*(parseInt(_0x35ec38(0x205))/0xb);if(_0x406f58===_0x1ee4b6)break;else _0xaae1f3['push'](_0xaae1f3['shift']());}catch(_0x4eca5c){_0xaae1f3['push'](_0xaae1f3['shift']());}}}(a67_0xb9bb,0xea059));import a67_0x100a1b from'color';import a67_0x159036 from'./writeTextToCanvas';function a67_0x3eb8(_0x4d3293,_0x4b12fb){const _0xb9bbeb=a67_0xb9bb();return a67_0x3eb8=function(_0x3eb8ac,_0x4a2cc2){_0x3eb8ac=_0x3eb8ac-0x1e4;let _0x132555=_0xb9bbeb[_0x3eb8ac];return _0x132555;},a67_0x3eb8(_0x4d3293,_0x4b12fb);}import{Icon}from'ol/style';import a67_0x4a77ee from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';function a67_0xb9bb(){const _0x55bedf=['color\x20is\x20required','destination-out','beginPath','globalCompositeOperation','ERROR','fromColor','getImage','fromText','_cache','1959710bimRzD','stroke','getContext','7Xjebxe','createElement','fill','px\x20sans-serif','drawImage','687033gNawRu','LOADED','round','restore','IDLE','bold\x20','load','toDataURL','125834BzdcHc','20HYCgpq','moveTo','destination-over','bezierCurveTo','16jwVsaH','fillRect','fillStyle','8Dglpkj','8232534ZFsUHX','id\x20is\x20required','strokeStyle','size\x20is\x20required','text\x20is\x20required','target','fromMakiIconId','stringify','3485754tRCEZF','width','lighten','2240022eFGISk','getImageState','scale','save','height','2443210GnTXSL','lineTo','listenImageChange','canvas'];a67_0xb9bb=function(){return _0x55bedf;};return a67_0xb9bb();}class PinBuilder{constructor(){this['_cache']={};}[a67_0x3950dc(0x20e)](_0x1478a0,_0x23a83e){const _0x77235b=a67_0x3950dc;if(!_0x1478a0)throw new Error('color\x20is\x20required');if(!_0x23a83e)throw new Error(_0x77235b(0x1f8));return createPin('','',_0x1478a0,_0x23a83e,this[_0x77235b(0x211)]);}['fromUrl'](_0x5dec67,_0x370e48,_0x2180fe){const _0x4953a2=a67_0x3950dc;if(!_0x5dec67)throw new Error('url\x20is\x20required');if(!_0x370e48)throw new Error(_0x4953a2(0x209));if(!_0x2180fe)throw new Error(_0x4953a2(0x1f8));return createPin(_0x5dec67,'',_0x370e48,_0x2180fe,this[_0x4953a2(0x211)]);}[a67_0x3950dc(0x1fb)](_0x2700d3,_0x2e7364,_0x4557c1){const _0x52091c=a67_0x3950dc;if(!_0x2700d3)throw new Error(_0x52091c(0x1f6));if(!_0x2e7364)throw new Error(_0x52091c(0x209));if(!_0x4557c1)throw new Error(_0x52091c(0x1f8));return createPin(parseImage(_0x2700d3),'',_0x2e7364,_0x4557c1,this[_0x52091c(0x211)]);}[a67_0x3950dc(0x210)](_0x3e7932,_0x585821,_0x4f23f3){const _0x59ffc0=a67_0x3950dc;if(!_0x3e7932)throw new Error(_0x59ffc0(0x1f9));if(!_0x585821)throw new Error(_0x59ffc0(0x209));if(!_0x4f23f3)throw new Error(_0x59ffc0(0x1f8));return createPin('',_0x3e7932,_0x585821,_0x4f23f3,this[_0x59ffc0(0x211)]);}}function drawPin(_0x277ec3,_0x443813,_0x40b7ed){const _0xca0757=a67_0x3950dc;_0x277ec3[_0xca0757(0x203)](),_0x277ec3[_0xca0757(0x202)](_0x40b7ed/0x18,_0x40b7ed/0x18),_0x277ec3[_0xca0757(0x1f3)]=_0x443813,_0x277ec3[_0xca0757(0x1f7)]=a67_0x100a1b(_0x443813)[_0xca0757(0x1ff)](0.6)['hexa'](),_0x277ec3['lineWidth']=0.846,_0x277ec3[_0xca0757(0x20b)](),_0x277ec3[_0xca0757(0x1ee)](6.72,0.422),_0x277ec3[_0xca0757(0x206)](17.28,0.422),_0x277ec3[_0xca0757(0x1f0)](18.553,0.422,19.577,1.758,19.577,3.415),_0x277ec3[_0xca0757(0x206)](19.577,10.973),_0x277ec3['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x277ec3[_0xca0757(0x206)](14.386,14.008),_0x277ec3[_0xca0757(0x206)](11.826,23.578),_0x277ec3[_0xca0757(0x206)](9.614,14.008),_0x277ec3['lineTo'](6.719,13.965),_0x277ec3[_0xca0757(0x1f0)](5.446,13.983,4.422,12.629,4.422,10.972),_0x277ec3['lineTo'](4.422,3.416),_0x277ec3['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x277ec3['closePath'](),_0x277ec3[_0xca0757(0x217)](),_0x277ec3[_0xca0757(0x213)](),_0x277ec3[_0xca0757(0x1e7)]();}function drawIcon(_0x588c9d,_0x2b4996,_0xd274c5){const _0x4e84e2=a67_0x3950dc,_0x4f154a=_0xd274c5/2.5;let _0x33754d=_0x4f154a,_0x3acd63=_0x4f154a;if(_0x2b4996[_0x4e84e2(0x1fe)]>_0x2b4996[_0x4e84e2(0x204)])_0x3acd63=_0x4f154a*(_0x2b4996[_0x4e84e2(0x204)]/_0x2b4996['width']);else _0x2b4996['width']<_0x2b4996['height']&&(_0x33754d=_0x4f154a*(_0x2b4996[_0x4e84e2(0x1fe)]/_0x2b4996[_0x4e84e2(0x204)]));const _0x2a5132=Math[_0x4e84e2(0x1e6)]((_0xd274c5-_0x33754d)/0x2),_0x13a90f=Math[_0x4e84e2(0x1e6)](0x7/0x18*_0xd274c5-_0x3acd63/0x2);_0x588c9d[_0x4e84e2(0x20c)]=_0x4e84e2(0x20a),_0x588c9d[_0x4e84e2(0x219)](_0x2b4996,_0x2a5132-0x1,_0x13a90f,_0x33754d,_0x3acd63),_0x588c9d['drawImage'](_0x2b4996,_0x2a5132,_0x13a90f-0x1,_0x33754d,_0x3acd63),_0x588c9d['drawImage'](_0x2b4996,_0x2a5132+0x1,_0x13a90f,_0x33754d,_0x3acd63),_0x588c9d[_0x4e84e2(0x219)](_0x2b4996,_0x2a5132,_0x13a90f+0x1,_0x33754d,_0x3acd63),_0x588c9d[_0x4e84e2(0x20c)]=_0x4e84e2(0x1ef),_0x588c9d[_0x4e84e2(0x1f3)]='#000000',_0x588c9d[_0x4e84e2(0x1f2)](_0x2a5132-0x1,_0x13a90f-0x1,_0x33754d+0x2,_0x3acd63+0x2),_0x588c9d[_0x4e84e2(0x20c)]='destination-out',_0x588c9d[_0x4e84e2(0x219)](_0x2b4996,_0x2a5132,_0x13a90f,_0x33754d,_0x3acd63),_0x588c9d[_0x4e84e2(0x20c)]=_0x4e84e2(0x1ef),_0x588c9d[_0x4e84e2(0x1f3)]='#FFFFFF',_0x588c9d[_0x4e84e2(0x1f2)](_0x2a5132-0x1,_0x13a90f-0x2,_0x33754d+0x2,_0x3acd63+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x323964,_0x3157fe,_0x214eb6,_0xd0ef77,_0x4ddced){const _0x345d95=a67_0x3950dc;stringifyScratch[0x0]=_0x323964,stringifyScratch[0x1]=_0x3157fe,stringifyScratch[0x2]=_0x214eb6,stringifyScratch[0x3]=_0xd0ef77;const _0x3b35bc=JSON[_0x345d95(0x1fc)](stringifyScratch),_0x4a4e92=_0x4ddced[_0x3b35bc];if(_0x4a4e92)return _0x4a4e92;const _0x22a9c9=document[_0x345d95(0x216)](_0x345d95(0x208));_0x22a9c9[_0x345d95(0x1fe)]=_0xd0ef77,_0x22a9c9['height']=_0xd0ef77;const _0xb626d3=_0x22a9c9[_0x345d95(0x214)]('2d');drawPin(_0xb626d3,_0x214eb6,_0xd0ef77);if(_0x323964)return new Promise(_0x3e9165=>{const _0x266bbf=_0x345d95;let _0x5c5401=new Icon({'src':_0x323964}),_0x2356e=_0x5c5401['getImageState']();_0x2356e===a67_0x4a77ee[_0x266bbf(0x1e5)]||_0x2356e===a67_0x4a77ee['ERROR']?(drawIcon(_0xb626d3,_0x5c5401[_0x266bbf(0x20f)](0x60),_0xd0ef77),_0x4ddced[_0x3b35bc]=_0x22a9c9['toDataURL'](),_0x3e9165(_0x22a9c9[_0x266bbf(0x1eb)]())):(_0x2356e===a67_0x4a77ee[_0x266bbf(0x1e8)]&&_0x5c5401[_0x266bbf(0x1ea)](),_0x5c5401[_0x266bbf(0x207)](_0x519daf=>{const _0x5d5b03=_0x266bbf;_0x2356e=_0x519daf[_0x5d5b03(0x1fa)][_0x5d5b03(0x201)](),(_0x2356e===a67_0x4a77ee[_0x5d5b03(0x1e5)]||_0x2356e===a67_0x4a77ee[_0x5d5b03(0x20d)])&&(drawIcon(_0xb626d3,_0x5c5401['getImage'](0x60),_0xd0ef77),_0x4ddced[_0x3b35bc]=_0x22a9c9['toDataURL'](),_0x3e9165(_0x22a9c9[_0x5d5b03(0x1eb)]()));}));});else{if(_0x3157fe){const _0xda2b6=a67_0x159036(_0x3157fe,{'font':_0x345d95(0x1e9)+_0xd0ef77+_0x345d95(0x218)});drawIcon(_0xb626d3,_0xda2b6,_0xd0ef77);}}return _0x4ddced[_0x3b35bc]=_0x22a9c9[_0x345d95(0x1eb)](),_0x22a9c9[_0x345d95(0x1eb)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a68_0x136268=a68_0x203f;function a68_0x203f(_0xd566ba,_0xc05b9e){const _0xd601f=a68_0xd601();return a68_0x203f=function(_0x203f53,_0x14a993){_0x203f53=_0x203f53-0x1ab;let _0x4ae87a=_0xd601f[_0x203f53];return _0x4ae87a;},a68_0x203f(_0xd566ba,_0xc05b9e);}(function(_0x2816f5,_0x5b971e){const _0x469c5e=a68_0x203f,_0x378838=_0x2816f5();while(!![]){try{const _0x4993db=parseInt(_0x469c5e(0x1c6))/0x1+-parseInt(_0x469c5e(0x1b7))/0x2+parseInt(_0x469c5e(0x1b3))/0x3*(parseInt(_0x469c5e(0x1b4))/0x4)+-parseInt(_0x469c5e(0x1bf))/0x5*(parseInt(_0x469c5e(0x1b2))/0x6)+-parseInt(_0x469c5e(0x1af))/0x7*(-parseInt(_0x469c5e(0x1cc))/0x8)+-parseInt(_0x469c5e(0x1c3))/0x9+-parseInt(_0x469c5e(0x1c2))/0xa*(-parseInt(_0x469c5e(0x1be))/0xb);if(_0x4993db===_0x5b971e)break;else _0x378838['push'](_0x378838['shift']());}catch(_0x4eb49f){_0x378838['push'](_0x378838['shift']());}}}(a68_0xd601,0x3116b));import a68_0xcd2cb9 from'./PinBuilder';import{Icon}from'ol/style';import a68_0x353898 from'ol/ImageState';import a68_0x1fe0fd from'ol/events/Event';import{shared as a68_0x34e297}from'./ImageCache';function a68_0xd601(){const _0x57b832=['308458JKXJwU','_icon','options','error','target','markerLabel','8jNtqrv','fromUrl','loadIcon','getImageState','image','load','2446843kuKKkH','warn','LOADED','67974MwWblu','23937RGgdsr','12JPhkXu','set','get','25010cRIdZx','IDLE','ERROR','markerSize','getImage','listenImageChange','_listener','11fkwZRt','110NZPFRY','markerColor','dispatchEvent','274220IKZYUp','2219004OdHSUH','_imageState','fromText'];a68_0xd601=function(){return _0x57b832;};return a68_0xd601();}export default class PinIcon{constructor(_0x4d607e){const _0x5231a5=a68_0x203f;this[_0x5231a5(0x1c8)]=_0x4d607e||{},this[_0x5231a5(0x1c4)]=a68_0x353898[_0x5231a5(0x1b8)],this[_0x5231a5(0x1c7)]=a68_0x34e297[_0x5231a5(0x1b6)](this['options']),this[_0x5231a5(0x1c7)]&&(this[_0x5231a5(0x1c4)]=a68_0x353898[_0x5231a5(0x1b1)]);}[a68_0x136268(0x1ae)](){const _0x123659=a68_0x136268;try{let _0x18982b,_0x4f3ab1=new a68_0xcd2cb9();if(this[_0x123659(0x1c8)][_0x123659(0x1cb)])_0x18982b=_0x4f3ab1[_0x123659(0x1c5)](this[_0x123659(0x1c8)][_0x123659(0x1cb)],this[_0x123659(0x1c8)][_0x123659(0x1c0)],this[_0x123659(0x1c8)][_0x123659(0x1ba)]||0x30);else this[_0x123659(0x1c8)][_0x123659(0x1ad)]&&(_0x18982b=_0x4f3ab1[_0x123659(0x1cd)](this[_0x123659(0x1c8)][_0x123659(0x1ad)],this[_0x123659(0x1c8)][_0x123659(0x1c0)],this[_0x123659(0x1c8)][_0x123659(0x1ba)]||0x30));Promise['resolve'](_0x18982b)['then'](_0x2d2519=>{const _0x4aa199=_0x123659;this[_0x4aa199(0x1ab)](_0x2d2519);})['catch'](_0x359853=>{const _0x4ea583=_0x123659;console[_0x4ea583(0x1b0)](_0x359853),this[_0x4ea583(0x1c4)]=a68_0x353898[_0x4ea583(0x1b9)],this[_0x4ea583(0x1c1)]('error');});}catch(_0x4a35f6){console[_0x123659(0x1b0)](_0x4a35f6),this[_0x123659(0x1c4)]=a68_0x353898['ERROR'],this[_0x123659(0x1c1)](_0x123659(0x1c9));}}[a68_0x136268(0x1ab)](_0xd7d36f){const _0x3fb635=a68_0x136268;this[_0x3fb635(0x1c7)]=new Icon({'src':_0xd7d36f}),a68_0x34e297[_0x3fb635(0x1b5)](this[_0x3fb635(0x1c8)],this[_0x3fb635(0x1c7)]);let _0xfe903c=this[_0x3fb635(0x1c7)][_0x3fb635(0x1ac)]();_0xfe903c===a68_0x353898[_0x3fb635(0x1b1)]||_0xfe903c===a68_0x353898[_0x3fb635(0x1b9)]?(this[_0x3fb635(0x1c4)]=this[_0x3fb635(0x1c7)][_0x3fb635(0x1ac)](),this[_0x3fb635(0x1c1)](_0x3fb635(0x1ae))):(_0xfe903c===a68_0x353898[_0x3fb635(0x1b8)]&&this[_0x3fb635(0x1c7)]['load'](),this[_0x3fb635(0x1c7)][_0x3fb635(0x1bc)](_0x4e9fda=>{const _0x51c95d=_0x3fb635;_0xfe903c=_0x4e9fda[_0x51c95d(0x1ca)][_0x51c95d(0x1ac)](),(_0xfe903c===a68_0x353898['LOADED']||_0xfe903c===a68_0x353898[_0x51c95d(0x1b9)])&&(this[_0x51c95d(0x1c4)]=this[_0x51c95d(0x1c7)][_0x51c95d(0x1ac)](),this[_0x51c95d(0x1c1)](_0x51c95d(0x1ae)));}));}[a68_0x136268(0x1ac)](){const _0x1f1f8e=a68_0x136268;return this[_0x1f1f8e(0x1c4)];}[a68_0x136268(0x1bb)](){const _0x43a28b=a68_0x136268;var _0x4ea55b;return(_0x4ea55b=this[_0x43a28b(0x1c7)])===null||_0x4ea55b===void 0x0?void 0x0:_0x4ea55b[_0x43a28b(0x1bb)]();}['listenImageChange'](_0x56fef8){const _0x4fa851=a68_0x136268;this[_0x4fa851(0x1bd)]=_0x56fef8;}[a68_0x136268(0x1c1)](_0x476970){const _0x139394=a68_0x136268;if(this[_0x139394(0x1bd)]){let _0x464505=new a68_0x1fe0fd(_0x476970);_0x464505['target']=this,this[_0x139394(0x1bd)](_0x464505);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x45ee93,_0x482aea){const _0x2e1494=a69_0x5e81,_0x318a9b=_0x45ee93();while(!![]){try{const _0x476c45=parseInt(_0x2e1494(0x159))/0x1*(-parseInt(_0x2e1494(0x15a))/0x2)+-parseInt(_0x2e1494(0x154))/0x3*(-parseInt(_0x2e1494(0x152))/0x4)+-parseInt(_0x2e1494(0x16b))/0x5*(-parseInt(_0x2e1494(0x150))/0x6)+parseInt(_0x2e1494(0x158))/0x7*(-parseInt(_0x2e1494(0x170))/0x8)+-parseInt(_0x2e1494(0x15e))/0x9+-parseInt(_0x2e1494(0x141))/0xa*(parseInt(_0x2e1494(0x153))/0xb)+-parseInt(_0x2e1494(0x16e))/0xc*(-parseInt(_0x2e1494(0x140))/0xd);if(_0x476c45===_0x482aea)break;else _0x318a9b['push'](_0x318a9b['shift']());}catch(_0x2aff4a){_0x318a9b['push'](_0x318a9b['shift']());}}}(a69_0x4174,0xc58b3));function a69_0x5e81(_0x143ce8,_0x44328f){const _0x4174d=a69_0x4174();return a69_0x5e81=function(_0x5e811d,_0x25807f){_0x5e811d=_0x5e811d-0x140;let _0x14bdc0=_0x4174d[_0x5e811d];return _0x14bdc0;},a69_0x5e81(_0x143ce8,_0x44328f);}function measureText(_0x16be65,_0x298597,_0x3566f8,_0x59442e,_0x2eb798){const _0x550280=a69_0x5e81,_0x41d8f1=_0x16be65['measureText'](_0x298597),_0x145f6f=!/\S/[_0x550280(0x169)](_0x298597);if(!_0x145f6f&&document['defaultView']){const _0x1f66fe=document['defaultView']['getComputedStyle'](_0x16be65[_0x550280(0x166)])[_0x550280(0x162)]('font-size')['replace']('px',''),_0x16bb0c=document[_0x550280(0x155)](_0x550280(0x166)),_0x2034f7=0x64,_0x5a1b7e=_0x41d8f1['width']+_0x2034f7|0x0,_0x470532=0x3*(_0x1f66fe-0x0),_0x35f9c1=_0x470532/0x2;_0x16bb0c[_0x550280(0x163)]=_0x5a1b7e,_0x16bb0c['height']=_0x470532;const _0x125cbb=_0x16bb0c[_0x550280(0x160)]('2d');if(!_0x125cbb)return{};_0x125cbb[_0x550280(0x164)]=_0x3566f8,_0x125cbb[_0x550280(0x144)]=_0x550280(0x14b),_0x125cbb[_0x550280(0x167)](0x0,0x0,_0x16bb0c[_0x550280(0x163)]+0x1,_0x16bb0c['height']+0x1);_0x59442e&&(_0x125cbb[_0x550280(0x168)]=_0x550280(0x16a),_0x125cbb[_0x550280(0x14e)]=_0x16be65[_0x550280(0x14e)],_0x125cbb['strokeText'](_0x298597,_0x2034f7/0x2,_0x35f9c1));_0x2eb798&&(_0x125cbb[_0x550280(0x144)]=_0x550280(0x16a),_0x125cbb[_0x550280(0x174)](_0x298597,_0x2034f7/0x2,_0x35f9c1));const _0x337a99=_0x125cbb[_0x550280(0x161)](0x0,0x0,_0x5a1b7e,_0x470532)[_0x550280(0x145)],_0x31059c=_0x337a99[_0x550280(0x15f)],_0x10d466=_0x5a1b7e*0x4;let _0x4c61a0,_0x2dfc6b,_0x45d41a=0x0,_0x1e6ca2=0x0;for(_0x4c61a0=0x0;_0x4c61a0<_0x31059c;++_0x4c61a0){if(_0x337a99[_0x4c61a0]!==0xff){_0x45d41a=_0x4c61a0/_0x10d466|0x0;break;}}for(_0x4c61a0=_0x31059c-0x1;_0x4c61a0>=0x0;--_0x4c61a0){if(_0x337a99[_0x4c61a0]!==0xff){_0x1e6ca2=_0x4c61a0/_0x10d466|0x0;break;}}let _0x642c93=-0x1;for(_0x4c61a0=0x0;_0x4c61a0<_0x5a1b7e&&_0x642c93===-0x1;++_0x4c61a0){for(_0x2dfc6b=0x0;_0x2dfc6b<_0x470532;++_0x2dfc6b){const _0x183507=_0x4c61a0*0x4+_0x2dfc6b*_0x10d466;if(_0x337a99[_0x183507]!==0xff||_0x337a99[_0x183507+0x1]!==0xff||_0x337a99[_0x183507+0x2]!==0xff||_0x337a99[_0x183507+0x3]!==0xff){_0x642c93=_0x4c61a0;break;}}}return{'width':_0x41d8f1[_0x550280(0x163)],'height':_0x1e6ca2-_0x45d41a,'ascent':_0x35f9c1-_0x45d41a,'descent':_0x1e6ca2-_0x35f9c1,'minx':_0x642c93-_0x2034f7/0x2};}return{'width':_0x41d8f1[_0x550280(0x163)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x192122,_0x4230af){const _0x10158e=a69_0x5e81;if(!_0x192122)throw new Error(_0x10158e(0x165));if(_0x192122==='')return undefined;_0x4230af=defaultValue(_0x4230af,{});const _0x4d7ec8=defaultValue(_0x4230af[_0x10158e(0x164)],'10px\x20sans-serif'),_0x16685e=defaultValue(_0x4230af[_0x10158e(0x16f)],![]),_0x3f4637=defaultValue(_0x4230af[_0x10158e(0x14f)],!![]),_0x4199bf=defaultValue(_0x4230af[_0x10158e(0x16c)],0x1),_0x1c364d=defaultValue(_0x4230af[_0x10158e(0x15b)],_0x10158e(0x14d)),_0x1b432f=defaultValue(_0x4230af['padding'],0x0),_0x5c82ea=_0x1b432f*0x2,_0x4c7c3e=document[_0x10158e(0x155)]('canvas');_0x4c7c3e[_0x10158e(0x163)]=0x1,_0x4c7c3e[_0x10158e(0x151)]=0x1,_0x4c7c3e['style'][_0x10158e(0x164)]=_0x4d7ec8;const _0x3b185a=_0x4c7c3e[_0x10158e(0x160)]('2d');if(!imageSmoothingEnabledName&&_0x3b185a){if(_0x3b185a[_0x10158e(0x15c)])imageSmoothingEnabledName=_0x10158e(0x15c);else{if(_0x3b185a[_0x10158e(0x14a)])imageSmoothingEnabledName=_0x10158e(0x14a);else{if(_0x3b185a[_0x10158e(0x148)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x3b185a[_0x10158e(0x156)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x3b185a['font']=_0x4d7ec8,_0x3b185a[_0x10158e(0x149)]=_0x10158e(0x157),_0x3b185a[_0x10158e(0x14e)]=_0x4199bf,_0x3b185a[imageSmoothingEnabledName]=![],_0x4c7c3e[_0x10158e(0x15d)]['visibility']='hidden',document['body'][_0x10158e(0x172)](_0x4c7c3e);const _0x5df8ce=measureText(_0x3b185a,_0x192122,_0x4d7ec8,_0x16685e,_0x3f4637);if(!_0x5df8ce)return;_0x4c7c3e[_0x10158e(0x143)]=_0x5df8ce,document['body'][_0x10158e(0x173)](_0x4c7c3e),_0x4c7c3e[_0x10158e(0x15d)][_0x10158e(0x171)]='';const _0x5c87ba=-(_0x5df8ce['minx']?_0x5df8ce[_0x10158e(0x147)]:0x0),_0x3ab66f=Math[_0x10158e(0x146)](_0x5df8ce[_0x10158e(0x163)])+_0x5c87ba+_0x5c82ea,_0x581412=(_0x5df8ce[_0x10158e(0x151)]?_0x5df8ce[_0x10158e(0x151)]:0x0)+_0x5c82ea,_0x259e50=_0x581412-(_0x5df8ce[_0x10158e(0x14c)]?_0x5df8ce[_0x10158e(0x14c)]:0x0)+_0x1b432f,_0x448119=_0x581412-_0x259e50+_0x5c82ea;return _0x4c7c3e[_0x10158e(0x163)]=_0x3ab66f,_0x4c7c3e[_0x10158e(0x151)]=_0x581412,_0x3b185a[_0x10158e(0x164)]=_0x4d7ec8,_0x3b185a[_0x10158e(0x149)]=_0x10158e(0x157),_0x3b185a[_0x10158e(0x14e)]=_0x4199bf,_0x3b185a[imageSmoothingEnabledName]=![],_0x1c364d!==_0x10158e(0x14d)&&(_0x3b185a[_0x10158e(0x144)]=_0x1c364d,_0x3b185a[_0x10158e(0x167)](0x0,0x0,_0x4c7c3e[_0x10158e(0x163)],_0x4c7c3e[_0x10158e(0x151)])),_0x16685e&&(_0x3b185a[_0x10158e(0x168)]=defaultValue(_0x4230af[_0x10158e(0x16d)],'#000000'),_0x3b185a['strokeText'](_0x192122,_0x5c87ba+_0x1b432f,_0x448119)),_0x3f4637&&(_0x3b185a[_0x10158e(0x144)]=defaultValue(_0x4230af['fillColor'],_0x10158e(0x142)),_0x3b185a[_0x10158e(0x174)](_0x192122,_0x5c87ba+_0x1b432f,_0x448119)),_0x4c7c3e;}function a69_0x4174(){const _0x10a3cb=['dimensions','fillStyle','data','ceil','minx','webkitImageSmoothingEnabled','lineJoin','mozImageSmoothingEnabled','white','ascent','#00000000','lineWidth','fill','632748Axnhda','height','417244CDuqzJ','2531617hoZgcv','15ovIvLR','createElement','msImageSmoothingEnabled','round','4018qmHODQ','167jXdMUH','8988HuBkRv','backgroundColor','imageSmoothingEnabled','style','13260303cddKYG','length','getContext','getImageData','getPropertyValue','width','font','text\x20is\x20required.','canvas','fillRect','strokeStyle','test','black','55hnjMRA','strokeWidth','strokeColor','25266792MWesdj','stroke','888CDIJtH','visibility','appendChild','removeChild','fillText','13KTPFnS','30dPpvkZ','#FFFFFF'];a69_0x4174=function(){return _0x10a3cb;};return a69_0x4174();}function defaultValue(_0x755e53,_0x43feac){if(_0x755e53!==undefined&&_0x755e53!==null)return _0x755e53;return _0x43feac;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5ef779,_0x2e5e17){const _0x14cc97=a74_0x2ebf,_0x4ecbb3=_0x5ef779();while(!![]){try{const _0x191376=parseInt(_0x14cc97(0x87))/0x1+parseInt(_0x14cc97(0x89))/0x2*(-parseInt(_0x14cc97(0x9f))/0x3)+parseInt(_0x14cc97(0x80))/0x4+parseInt(_0x14cc97(0x9e))/0x5+-parseInt(_0x14cc97(0x8d))/0x6+-parseInt(_0x14cc97(0x97))/0x7*(parseInt(_0x14cc97(0xa3))/0x8)+parseInt(_0x14cc97(0x88))/0x9;if(_0x191376===_0x2e5e17)break;else _0x4ecbb3['push'](_0x4ecbb3['shift']());}catch(_0x489ed7){_0x4ecbb3['push'](_0x4ecbb3['shift']());}}}(a74_0x534f,0xa4426));import a74_0x5f4d78 from'ol/format/EsriJSON';function a74_0x534f(){const _0x4ec019=['getType','valueOf','getResolution','3578115umLFNc','3YiZcxs','imageDisplay','getCode','resolution','8tkVpXt','inSR','4418124iaTwgA','geometryType','path','returnGeometry','all','_setGeometryParams','getView','8131dDlSOi','10198692qdiuuJ','1261354WYutpo','url','getSize','geojsonTypeToArcGIS','2551530gDsTbp','returnZ','calculateExtent','time','params','request','geometry','getCenter','getProjection','layerDefs','8629145ItuoFK','returnM','layers','tolerance'];a74_0x534f=function(){return _0x4ec019;};return a74_0x534f();}function a74_0x2ebf(_0x3fb2e6,_0x17c14e){const _0x534f42=a74_0x534f();return a74_0x2ebf=function(_0x2ebf52,_0x1b5a74){_0x2ebf52=_0x2ebf52-0x80;let _0x28091c=_0x534f42[_0x2ebf52];return _0x28091c;},a74_0x2ebf(_0x3fb2e6,_0x17c14e);}import a74_0x328374 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a74_0x5543a9 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a74_0x5543a9{constructor(_0x36abaa,_0x443606,_0x4c48e7){const _0x16eaa7=a74_0x2ebf;super(_0x36abaa,_0x443606,_0x4c48e7),this[_0x16eaa7(0x82)]='identify',this[_0x16eaa7(0x91)]={'layers':_0x16eaa7(0x84),'tolerance':0x0,'returnGeometry':!![]},this[_0x16eaa7(0x9a)]=0x3,this[_0x16eaa7(0xa2)]=0x0,this[_0x16eaa7(0x8a)]=appendPath(this['url'],this[_0x16eaa7(0x82)]),_0x443606&&((_0x443606[_0x16eaa7(0x83)]===!![]||_0x443606['returnGeometry']===![])&&(this[_0x16eaa7(0x91)][_0x16eaa7(0x83)]=_0x443606[_0x16eaa7(0x83)]),_0x443606[_0x16eaa7(0x99)]&&(this[_0x16eaa7(0x91)]['layers']=_0x443606[_0x16eaa7(0x99)]),_0x443606[_0x16eaa7(0x96)]&&(this[_0x16eaa7(0x91)][_0x16eaa7(0x96)]=_0x443606[_0x16eaa7(0x96)]),(_0x443606[_0x16eaa7(0x8e)]===!![]||_0x443606[_0x16eaa7(0x8e)]===![])&&(this['params'][_0x16eaa7(0x8e)]=_0x443606[_0x16eaa7(0x8e)]),(_0x443606['returnM']===!![]||_0x443606[_0x16eaa7(0x98)]===![])&&(this['params'][_0x16eaa7(0x98)]=_0x443606['returnM']));}['at'](_0x507cb2,_0x35ec1e){const _0x3d083a=a74_0x2ebf;let _0x2702e6,_0x100c43;const _0x529f47=new a74_0x328374();_0x2702e6=_0x507cb2,_0x100c43=getEsriSpatialReference(_0x35ec1e[_0x3d083a(0x86)]()[_0x3d083a(0x95)]()[_0x3d083a(0xa1)]());const _0x881c51=_0x35ec1e[_0x3d083a(0x8b)]();_0x881c51&&(this[_0x3d083a(0x91)][_0x3d083a(0xa0)]=[_0x881c51[0x0],_0x881c51[0x1],0x60]);this[_0x3d083a(0x91)]['sr']=_0x100c43;const _0xc82740=_0x35ec1e[_0x3d083a(0x86)]()[_0x3d083a(0x8f)](_0x35ec1e['getSize']());this['params']['mapExtent']={'xmin':_0xc82740[0x0],'ymin':_0xc82740[0x1],'xmax':_0xc82740[0x2],'ymax':_0xc82740[0x3],'spatialReference':_0x100c43};const _0x567f81=_0x35ec1e['getView']()[_0x3d083a(0x9d)](),_0x154843=_0x35ec1e[_0x3d083a(0x86)]()[_0x3d083a(0x94)]();return _0x567f81&&_0x154843&&(this[_0x3d083a(0xa2)]=getPointResolution(_0x35ec1e[_0x3d083a(0x86)]()['getProjection'](),_0x567f81,_0x154843)),this[_0x3d083a(0x85)](_0x2702e6,_0x35ec1e[_0x3d083a(0x86)]()[_0x3d083a(0x95)]()[_0x3d083a(0xa1)]()),this;}['between'](_0x38fc3e,_0x33b505){const _0xcc1b92=a74_0x2ebf;return this['params'][_0xcc1b92(0x90)]=[_0x38fc3e[_0xcc1b92(0x9c)](),_0x33b505[_0xcc1b92(0x9c)]()],this;}['run'](){const _0x18d38a=a74_0x2ebf;this[_0x18d38a(0x92)]();}['_setGeometryParams'](_0x5216be,_0xe21ddf){const _0x60ebdb=a74_0x2ebf;var _0x5be995=new a74_0x5f4d78();const _0x58b9b2=_0x5be995['writeGeometryObject'](_0x5216be);this[_0x60ebdb(0x91)][_0x60ebdb(0xa4)]=getEsriSpatialReference(_0xe21ddf),this['params'][_0x60ebdb(0x93)]=_0x58b9b2,this[_0x60ebdb(0x91)][_0x60ebdb(0x81)]=this[_0x60ebdb(0x8c)](_0x5216be[_0x60ebdb(0x9b)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a75_0x526f1c=a75_0x1ad9;function a75_0x1ad9(_0x4df36b,_0x500d64){const _0x30e1c1=a75_0x30e1();return a75_0x1ad9=function(_0x1ad9a5,_0x3815db){_0x1ad9a5=_0x1ad9a5-0x1ca;let _0x385539=_0x30e1c1[_0x1ad9a5];return _0x385539;},a75_0x1ad9(_0x4df36b,_0x500d64);}(function(_0x125778,_0x4b97c1){const _0xe052aa=a75_0x1ad9,_0x5e0a05=_0x125778();while(!![]){try{const _0x521045=-parseInt(_0xe052aa(0x204))/0x1*(-parseInt(_0xe052aa(0x1cc))/0x2)+-parseInt(_0xe052aa(0x1e1))/0x3+-parseInt(_0xe052aa(0x200))/0x4+parseInt(_0xe052aa(0x1e4))/0x5+-parseInt(_0xe052aa(0x20a))/0x6+-parseInt(_0xe052aa(0x1e9))/0x7*(parseInt(_0xe052aa(0x1df))/0x8)+parseInt(_0xe052aa(0x1f2))/0x9;if(_0x521045===_0x4b97c1)break;else _0x5e0a05['push'](_0x5e0a05['shift']());}catch(_0xf75d37){_0x5e0a05['push'](_0x5e0a05['shift']());}}}(a75_0x30e1,0xeb3fc));import a75_0x3b7b67 from'ol/format/EsriJSON';import a75_0x13e712 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a75_0x13e712{constructor(_0x537cb4,_0x15d4fe,_0x277d9a){const _0x29e2bb=a75_0x1ad9;super(_0x537cb4,_0x15d4fe,_0x277d9a),this[_0x29e2bb(0x1d6)]='query',this[_0x29e2bb(0x1dd)]={'returnGeometry':!![],'where':_0x29e2bb(0x1fd),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x29e2bb(0x20d)]()},this[_0x29e2bb(0x1d2)]=appendPath(this['url'],this[_0x29e2bb(0x1d6)]),_0x15d4fe&&((_0x15d4fe[_0x29e2bb(0x207)]===!![]||_0x15d4fe[_0x29e2bb(0x207)]===![])&&(this[_0x29e2bb(0x1dd)][_0x29e2bb(0x207)]=_0x15d4fe[_0x29e2bb(0x207)]),_0x15d4fe[_0x29e2bb(0x1f1)]&&(this['params']['where']=_0x15d4fe[_0x29e2bb(0x1f1)]),_0x15d4fe['outSR']&&(this[_0x29e2bb(0x1dd)][_0x29e2bb(0x208)]=getEsriSpatialReference(_0x15d4fe[_0x29e2bb(0x208)])),(_0x15d4fe[_0x29e2bb(0x1e7)]===!![]||_0x15d4fe['returnZ']===![])&&(this[_0x29e2bb(0x1dd)][_0x29e2bb(0x1e7)]=_0x15d4fe[_0x29e2bb(0x1e7)]),(_0x15d4fe[_0x29e2bb(0x1d4)]===!![]||_0x15d4fe[_0x29e2bb(0x1d4)]===![])&&(this[_0x29e2bb(0x1dd)][_0x29e2bb(0x1d4)]=_0x15d4fe[_0x29e2bb(0x1d4)]));}[a75_0x526f1c(0x1db)](_0x542b27,_0x552194){const _0x2f4180=a75_0x526f1c;return this[_0x2f4180(0x202)](_0x542b27,_0x552194),this['params'][_0x2f4180(0x1f3)]='esriSpatialRelContains',this;}[a75_0x526f1c(0x1ed)](_0x551007,_0xc201e9){const _0x50c566=a75_0x526f1c;return this[_0x50c566(0x202)](_0x551007,_0xc201e9),this[_0x50c566(0x1dd)][_0x50c566(0x1f3)]=_0x50c566(0x1ce),this;}[a75_0x526f1c(0x1f6)](_0x2a617c,_0x4a5f29){const _0x894804=a75_0x526f1c;return this[_0x894804(0x202)](_0x2a617c,_0x4a5f29),this[_0x894804(0x1dd)]['spatialRel']=_0x894804(0x1de),this;}[a75_0x526f1c(0x1d8)](_0x2c851b,_0x44bc89){const _0x1725db=a75_0x526f1c;return this[_0x1725db(0x202)](_0x2c851b,_0x44bc89),this[_0x1725db(0x1dd)]['spatialRel']=_0x1725db(0x1d1),this;}['touches'](_0x43ce7f,_0x4da09e){const _0xadbf1d=a75_0x526f1c;return this['_setGeometryParams'](_0x43ce7f,_0x4da09e),this['params'][_0xadbf1d(0x1f3)]=_0xadbf1d(0x1fb),this;}['overlaps'](_0x37241a,_0x78ec58){const _0x410815=a75_0x526f1c;return this[_0x410815(0x202)](_0x37241a,_0x78ec58),this[_0x410815(0x1dd)][_0x410815(0x1f3)]='esriSpatialRelOverlaps',this;}[a75_0x526f1c(0x1f5)](_0xe13bbf,_0x22a4fa){const _0x52bc2e=a75_0x526f1c;return this[_0x52bc2e(0x202)](_0xe13bbf,_0x22a4fa),this['params']['spatialRel']=_0x52bc2e(0x1dc),this;}[a75_0x526f1c(0x1e2)](_0x1908d8,_0x8e25d5){const _0x48eed5=a75_0x526f1c;return this[_0x48eed5(0x202)](_0x1908d8,_0x8e25d5),this[_0x48eed5(0x1dd)][_0x48eed5(0x1f3)]=_0x48eed5(0x1eb),this;}[a75_0x526f1c(0x1ef)](_0x3cc2ed,_0x3b9544,_0x167607){const _0x29d960=a75_0x526f1c;return this[_0x29d960(0x202)](_0x3cc2ed,_0x3b9544),this[_0x29d960(0x1dd)][_0x29d960(0x1f3)]=_0x29d960(0x1ce),this[_0x29d960(0x1dd)][_0x29d960(0x203)]='esriSRUnit_Meter',this['params'][_0x29d960(0x1d0)]=_0x167607,this;}['where'](_0x101f2e){const _0x5933d4=a75_0x526f1c;return this[_0x5933d4(0x1dd)][_0x5933d4(0x1f1)]=_0x101f2e,this;}['between'](_0x3f74be,_0xebf4f6){const _0x220f22=a75_0x526f1c;return this[_0x220f22(0x1dd)][_0x220f22(0x1e5)]=[_0x3f74be[_0x220f22(0x1f0)](),_0xebf4f6[_0x220f22(0x1f0)]()],this;}['simplify'](_0x224ad7,_0x9623c2){const _0x227713=a75_0x526f1c,_0xbbe6ea=_0x224ad7[_0x227713(0x1cd)]();var _0x2257de=Math['abs'](_0xbbe6ea[0x2]-_0xbbe6ea[0x0]);const _0xe80996=_0x224ad7['getSize']();if(_0xe80996)return this[_0x227713(0x1dd)]['maxAllowableOffset']=_0x2257de/_0xe80996[0x1]*_0x9623c2,this;}[a75_0x526f1c(0x1fe)](_0x5109a2,_0x351bd4){const _0x2272b0=a75_0x526f1c;return _0x351bd4=_0x351bd4||_0x2272b0(0x1e8),this[_0x2272b0(0x1dd)][_0x2272b0(0x1f7)]=this[_0x2272b0(0x1dd)][_0x2272b0(0x1f7)]?this[_0x2272b0(0x1dd)][_0x2272b0(0x1f7)]+',':'',this['params'][_0x2272b0(0x1f7)]+=[_0x5109a2,_0x351bd4][_0x2272b0(0x20b)]('\x20'),this;}async[a75_0x526f1c(0x1cb)](){const _0x2c0263=a75_0x526f1c;this[_0x2c0263(0x1ca)]();const _0x5b10a5=await this[_0x2c0263(0x1f8)]()[_0x2c0263(0x1fc)](_0x112577=>{throw new Error(_0x112577);});if(_0x5b10a5[_0x2c0263(0x20c)]!==0xc8)throw new Error('No\x20features\x20found');if(_0x5b10a5[_0x2c0263(0x1e0)]&&_0x5b10a5[_0x2c0263(0x1e0)][_0x2c0263(0x1f4)]&&_0x5b10a5[_0x2c0263(0x1e0)][_0x2c0263(0x1f4)][_0x2c0263(0x1e3)]>0x0){var _0x9a8f5e=new a75_0x3b7b67();let _0x16e53b=[];return _0x5b10a5[_0x2c0263(0x1e0)][_0x2c0263(0x1f4)][_0x2c0263(0x1d7)](_0x28d7cf=>{const _0x189162=_0x2c0263,_0x190380=_0x9a8f5e[_0x189162(0x1da)](_0x28d7cf);_0x16e53b[_0x189162(0x205)](_0x190380);}),_0x16e53b;}return[];}[a75_0x526f1c(0x1ea)](){const _0x32ac5f=a75_0x526f1c;this[_0x32ac5f(0x1ca)](),this[_0x32ac5f(0x1dd)][_0x32ac5f(0x1d9)]=!![],this[_0x32ac5f(0x1f8)]();}['ids'](){const _0x5e18e2=a75_0x526f1c;this[_0x5e18e2(0x1ca)](),this[_0x5e18e2(0x1dd)][_0x5e18e2(0x201)]=!![],this[_0x5e18e2(0x1f8)]();}[a75_0x526f1c(0x1d3)](){const _0x592a6e=a75_0x526f1c;return this[_0x592a6e(0x1dd)][_0x592a6e(0x207)]=![],this[_0x592a6e(0x1dd)][_0x592a6e(0x20e)]=!![],this;}[a75_0x526f1c(0x1f9)](_0x319b17){const _0x5783cf=a75_0x526f1c;return this[_0x5783cf(0x1d6)]=_0x319b17+_0x5783cf(0x1ec),this;}[a75_0x526f1c(0x1e6)](_0x3fe6b2){const _0x5ab11e=a75_0x526f1c;_0x3fe6b2&&(_0x3fe6b2['code']==='400'&&console[_0x5ab11e(0x1ff)][_0x5ab11e(0x209)](_0x5ab11e(0x1ee)));}['_cleanParams'](){const _0x495bd4=a75_0x526f1c;delete this['params'][_0x495bd4(0x201)],delete this[_0x495bd4(0x1dd)][_0x495bd4(0x1fa)],delete this['params']['returnCountOnly'];}['_setGeometryParams'](_0x9af6e5,_0x94582a){const _0x2a5eda=a75_0x526f1c;var _0x5065af=new a75_0x3b7b67();const _0x157e58=_0x5065af[_0x2a5eda(0x1cf)](_0x9af6e5);this[_0x2a5eda(0x1dd)][_0x2a5eda(0x1d5)]=getEsriSpatialReference(_0x94582a),this[_0x2a5eda(0x1dd)]['geometry']=_0x157e58,this[_0x2a5eda(0x1dd)][_0x2a5eda(0x206)]=this['geojsonTypeToArcGIS'](_0x9af6e5['getType']());}}function a75_0x30e1(){const _0x192d83=['layer','returnExtentOnly','esriSpatialRelTouches','catch','1=1','orderBy','warn','6749812FKMdnE','returnIdsOnly','_setGeometryParams','units','4931DdyMjV','push','geometryType','returnGeometry','outSR','apply','7393140HLVtml','join','status','getTime','returnDistinctValues','_cleanParams','run','710FERFqA','getExtent','esriSpatialRelIntersects','writeGeometryObject','distance','esriSpatialRelCrosses','url','distinct','returnM','inSR','path','forEach','crosses','returnCountOnly','readFeature','within','esriSpatialRelEnvelopeIntersects','params','esriSpatialRelWithin','4054672ccVDQl','data','1046670ASzPOA','indexIntersects','length','1549845papalT','time','_trapSQLerrors','returnZ','ASC','21OFiBXY','count','esriSpatialRelIndexIntersects','/query','intersects','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','nearby','valueOf','where','33229269zVFLuY','spatialRel','features','bboxIntersects','contains','orderByFields','request'];a75_0x30e1=function(){return _0x192d83;};return a75_0x30e1();}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a76_0x148fff=a76_0x3c14;function a76_0x3c14(_0x53bc83,_0x1dfe8d){var _0x3d872b=a76_0x3d87();return a76_0x3c14=function(_0x3c14c6,_0x16495a){_0x3c14c6=_0x3c14c6-0x130;var _0x2d16df=_0x3d872b[_0x3c14c6];return _0x2d16df;},a76_0x3c14(_0x53bc83,_0x1dfe8d);}function a76_0x3d87(){var _0x341915=['[object\x20Object]','9HvWgUl','1330216bkTRlH','1386128JGVTro','get','GET','url','params','[object\x20Date]','6597432LDqzCh','[object\x20Array]','returnUnformattedValues','indexOf','serialize','40024721GsGXlx','stringify','5XjBjrn','9URRUHu','MultiLineString','esriGeometryPoint','isArcgisOnline','LineString','geojsonTypeToArcGIS','length','json','valueOf','MultiPoint','method','1596084DjnkYX','JSONP','format','request','call','toString','6186380iRVJKq','2UJCbOS','prototype','esriGeometryPolygon','esriGeometryPolyline','test','esriGeometryMultipoint','1088798qsDaqC'];a76_0x3d87=function(){return _0x341915;};return a76_0x3d87();}(function(_0x3ff517,_0x414019){var _0x1fa996=a76_0x3c14,_0x2efaf7=_0x3ff517();while(!![]){try{var _0x3c7e43=-parseInt(_0x1fa996(0x143))/0x1*(parseInt(_0x1fa996(0x149))/0x2)+-parseInt(_0x1fa996(0x131))/0x3*(parseInt(_0x1fa996(0x14c))/0x4)+parseInt(_0x1fa996(0x130))/0x5*(-parseInt(_0x1fa996(0x153))/0x6)+-parseInt(_0x1fa996(0x13c))/0x7+-parseInt(_0x1fa996(0x14d))/0x8+-parseInt(_0x1fa996(0x14b))/0x9*(-parseInt(_0x1fa996(0x142))/0xa)+parseInt(_0x1fa996(0x158))/0xb;if(_0x3c7e43===_0x414019)break;else _0x2efaf7['push'](_0x2efaf7['shift']());}catch(_0x3549cd){_0x2efaf7['push'](_0x2efaf7['shift']());}}}(a76_0x3d87,0xa38f3));import a76_0x391506 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x1dc2c9,_0x34c83c,_0x26487c){var _0x4c1e2f=a76_0x3c14;this[_0x4c1e2f(0x150)]=_0x1dc2c9,this[_0x4c1e2f(0x151)]=_0x34c83c||{},this[_0x4c1e2f(0x13b)]=!_0x26487c?'GET':_0x26487c;}[a76_0x148fff(0x136)](_0x2541c4){var _0x557bf1=a76_0x148fff,_0x3f1545;switch(_0x2541c4){case'Point':_0x3f1545=_0x557bf1(0x133);break;case _0x557bf1(0x13a):_0x3f1545=_0x557bf1(0x148);break;case _0x557bf1(0x135):_0x3f1545=_0x557bf1(0x146);break;case _0x557bf1(0x132):_0x3f1545='esriGeometryPolyline';break;case'Polygon':_0x3f1545=_0x557bf1(0x145);break;case'MultiPolygon':_0x3f1545=_0x557bf1(0x145);break;}return _0x3f1545;}[a76_0x148fff(0x134)](_0x3eb2d7){var _0x19e6c4=a76_0x148fff;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x19e6c4(0x147)](_0x3eb2d7);}[a76_0x148fff(0x157)](_0x311b06){var _0x3e5257=a76_0x148fff,_0x19e3a9='';_0x311b06['f']=_0x311b06['f']||_0x3e5257(0x138);for(var _0x28a2c1 in _0x311b06){if(Object[_0x3e5257(0x144)]['hasOwnProperty'][_0x3e5257(0x140)](_0x311b06,_0x28a2c1)){var _0x329a86=_0x311b06[_0x28a2c1],_0x4289ae=Object[_0x3e5257(0x144)][_0x3e5257(0x141)][_0x3e5257(0x140)](_0x329a86),_0x13865d;_0x19e3a9[_0x3e5257(0x137)]&&(_0x19e3a9+='&');if(_0x4289ae===_0x3e5257(0x154))_0x13865d=Object['prototype'][_0x3e5257(0x141)]['call'](_0x329a86[0x0])===_0x3e5257(0x14a)?JSON[_0x3e5257(0x159)](_0x329a86):_0x329a86['join'](',');else{if(_0x4289ae===_0x3e5257(0x14a))_0x13865d=JSON[_0x3e5257(0x159)](_0x329a86);else _0x4289ae===_0x3e5257(0x152)?_0x13865d=_0x329a86[_0x3e5257(0x139)]():_0x13865d=_0x329a86;}_0x19e3a9+=encodeURIComponent(_0x28a2c1)+'='+encodeURIComponent(_0x13865d);}}return _0x19e3a9;}[a76_0x148fff(0x13e)](_0x5549ed){var _0x3892c4=a76_0x148fff;return this[_0x3892c4(0x151)][_0x3892c4(0x155)]=!_0x5549ed,this;}async[a76_0x148fff(0x13f)](){var _0x39f5f9=a76_0x148fff,_0x584283=this['serialize'](this[_0x39f5f9(0x151)]);const _0x5c8a69=this[_0x39f5f9(0x150)][_0x39f5f9(0x156)]('?')>-0x1?this[_0x39f5f9(0x150)]+'&'+_0x584283:this[_0x39f5f9(0x150)]+'?'+_0x584283;if(this['method']===_0x39f5f9(0x14f))return a76_0x391506[_0x39f5f9(0x14e)](_0x5c8a69);else{if(this[_0x39f5f9(0x13b)]===_0x39f5f9(0x13d))return jsonp(_0x5c8a69);else{const _0x2e4845=stringify(this[_0x39f5f9(0x151)]);return a76_0x391506['post'](this[_0x39f5f9(0x150)],_0x2e4845);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a78_0x3d0c(){const _0x1241b3=['features','geometry','25264510coZADi','2115714glzIGN','2DWajFm','2721596qFMWoM','queryParameters','readFeature','stringify','1827270fsLAMJ','240dDmQNY','15kfwDMJ','serializeToString','url','writeGetFeature','map','where','732746MMHHCv','catch','geometryName','POST','268497sSvdbw','read','application/json','then','execute','srsName\x20is\x20required','288670OZNThN','srsName'];a78_0x3d0c=function(){return _0x1241b3;};return a78_0x3d0c();}const a78_0x11c4b2=a78_0x703f;(function(_0x4ef3f0,_0x52a4f9){const _0x2663f2=a78_0x703f,_0x2b8beb=_0x4ef3f0();while(!![]){try{const _0x35a134=parseInt(_0x2663f2(0x146))/0x1*(-parseInt(_0x2663f2(0x140))/0x2)+-parseInt(_0x2663f2(0x145))/0x3+-parseInt(_0x2663f2(0x147))/0x4+parseInt(_0x2663f2(0x14d))/0x5*(-parseInt(_0x2663f2(0x14b))/0x6)+-parseInt(_0x2663f2(0x153))/0x7+parseInt(_0x2663f2(0x14c))/0x8*(parseInt(_0x2663f2(0x157))/0x9)+parseInt(_0x2663f2(0x144))/0xa;if(_0x35a134===_0x52a4f9)break;else _0x2b8beb['push'](_0x2b8beb['shift']());}catch(_0x3244dc){_0x2b8beb['push'](_0x2b8beb['shift']());}}}(a78_0x3d0c,0xb1ef5));import{and,intersects}from'ol/format/filter';import a78_0x500331 from'../../format/CQL';import a78_0x14972d from'ol/format/WFS';function a78_0x703f(_0x24f0ca,_0x1d4b90){const _0x3d0cde=a78_0x3d0c();return a78_0x703f=function(_0x703fb8,_0x585e44){_0x703fb8=_0x703fb8-0x13d;let _0x38fc2a=_0x3d0cde[_0x703fb8];return _0x38fc2a;},a78_0x703f(_0x24f0ca,_0x1d4b90);}import a78_0x52d59d from'ol/format/GeoJSON';export default class QueryTask{constructor(_0xe8ebd0){const _0x5e240c=a78_0x703f;this[_0x5e240c(0x148)]={},this[_0x5e240c(0x14f)]=_0xe8ebd0;}async[a78_0x11c4b2(0x13e)](_0x39605d){const _0x33ac8e=a78_0x11c4b2;this[_0x33ac8e(0x148)]=_0x39605d||{};const _0x1a4146=this['queryParameters'][_0x33ac8e(0x155)]||'the_geom';let _0x40a1fd=this[_0x33ac8e(0x148)]['where'],_0x37601a;_0x40a1fd&&(_0x37601a=new a78_0x500331()[_0x33ac8e(0x158)](_0x40a1fd));let _0x2ec018=_0x37601a;if(this[_0x33ac8e(0x148)]['geometry']){if(!this[_0x33ac8e(0x148)][_0x33ac8e(0x141)])throw new Error(_0x33ac8e(0x13f));const _0x3d7f16=intersects(_0x1a4146,this[_0x33ac8e(0x148)][_0x33ac8e(0x143)]);_0x2ec018=_0x37601a?and(_0x37601a,_0x3d7f16):_0x3d7f16;}let _0x26a3c6=new a78_0x14972d()[_0x33ac8e(0x150)]({'srsName':this[_0x33ac8e(0x148)][_0x33ac8e(0x141)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters']['tableName']],'outputFormat':_0x33ac8e(0x159),'geometryName':_0x1a4146,'filter':_0x2ec018});const _0x50474e=await fetch(this[_0x33ac8e(0x14f)],{'method':'POST','body':new XMLSerializer()[_0x33ac8e(0x14e)](_0x26a3c6)}),_0x5d1683=await _0x50474e['json']();let _0x37f420=[];const _0x36039d=new a78_0x52d59d();return _0x37f420=_0x5d1683['features'][_0x33ac8e(0x151)](_0x5731fe=>{const _0xb5d6a6=_0x33ac8e;return _0x36039d[_0xb5d6a6(0x149)](JSON['stringify'](_0x5731fe));}),_0x37f420;}['_geoserverQuery'](){const _0x3f7cd3=a78_0x11c4b2,_0x434afd=this['queryParameters'][_0x3f7cd3(0x155)]||'the_geom';let _0x24c324=this['queryParameters'][_0x3f7cd3(0x152)],_0x56294a;_0x24c324&&(_0x56294a=new a78_0x500331()[_0x3f7cd3(0x158)](_0x24c324));let _0x311c2a=_0x56294a;if(this['queryParameters'][_0x3f7cd3(0x143)]){const _0x375d30=intersects(_0x434afd,this['queryParameters']['geometry']);_0x311c2a=_0x56294a?and(_0x56294a,_0x375d30):_0x375d30;}let _0x10c9b9=new a78_0x14972d()[_0x3f7cd3(0x150)]({'srsName':this[_0x3f7cd3(0x148)][_0x3f7cd3(0x141)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters']['tableName']],'outputFormat':_0x3f7cd3(0x159),'geometryName':_0x434afd,'filter':_0x311c2a});return new Promise(_0x792a3=>{const _0x3df6b6=_0x3f7cd3;fetch(this[_0x3df6b6(0x14f)],{'method':_0x3df6b6(0x156),'body':new XMLSerializer()[_0x3df6b6(0x14e)](_0x10c9b9)})[_0x3df6b6(0x13d)](_0x52f30b=>{return _0x52f30b['json']();})[_0x3df6b6(0x13d)](_0x30102a=>{const _0x2453e9=_0x3df6b6;let _0xee0861=[];const _0x972660=new a78_0x52d59d();_0xee0861=_0x30102a[_0x2453e9(0x142)][_0x2453e9(0x151)](_0x30aaff=>{const _0x4f49d2=_0x2453e9;return _0x972660['readFeature'](JSON[_0x4f49d2(0x14a)](_0x30aaff));}),_0x792a3(_0xee0861);})[_0x3df6b6(0x154)](_0x193a7c=>{_0x792a3([]),console['error'](_0x193a7c);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a79_0x2eec(){const _0x5dcd6a=['1120871HUeuhW','7526730KxMJJM','arcgis-feature','arcgis-dynamic','35dOEsbI','geoserver-wfs','fieldType','3TjWYJr','find','name','geoserver-wms','intersects','973602XRSmIz','301220INoshF','40Pzxfwn','execute','7211169AuyklO','711256VvZJwz','4333052nSicLM'];a79_0x2eec=function(){return _0x5dcd6a;};return a79_0x2eec();}function a79_0x8e64(_0x1e9029,_0x5090a4){const _0x2eeccd=a79_0x2eec();return a79_0x8e64=function(_0x8e641,_0x931f00){_0x8e641=_0x8e641-0x1b0;let _0x52d065=_0x2eeccd[_0x8e641];return _0x52d065;},a79_0x8e64(_0x1e9029,_0x5090a4);}(function(_0xd9aa6,_0x3b6cff){const _0x4ab3af=a79_0x8e64,_0x48ac1b=_0xd9aa6();while(!![]){try{const _0x4ed843=-parseInt(_0x4ab3af(0x1c1))/0x1+parseInt(_0x4ab3af(0x1bb))/0x2*(parseInt(_0x4ab3af(0x1b5))/0x3)+parseInt(_0x4ab3af(0x1c0))/0x4+-parseInt(_0x4ab3af(0x1b2))/0x5*(-parseInt(_0x4ab3af(0x1ba))/0x6)+parseInt(_0x4ab3af(0x1bf))/0x7*(-parseInt(_0x4ab3af(0x1bc))/0x8)+-parseInt(_0x4ab3af(0x1be))/0x9+parseInt(_0x4ab3af(0x1c2))/0xa;if(_0x4ed843===_0x3b6cff)break;else _0x48ac1b['push'](_0x48ac1b['shift']());}catch(_0x37270c){_0x48ac1b['push'](_0x48ac1b['shift']());}}}(a79_0x2eec,0xa9027));import{appendPath}from'../UrlUtil';import a79_0x3d7c9d from'./esri/Query';import a79_0x21a467 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x1421d2,_0x266cf3,_0x1ee4fb,_0x1c5351,_0x32561e,_0x7c86c){const _0x914248=a79_0x8e64;if(!_0x1ee4fb||!_0x1c5351||!_0x32561e||!_0x32561e)return[];let _0x19f75c=[];if(_0x32561e==_0x914248(0x1b1)||_0x32561e==_0x914248(0x1b0)){const _0x4417ef=appendPath(_0x1ee4fb,_0x1c5351),_0x3ac5e5=new a79_0x3d7c9d(_0x4417ef,{'outSR':_0x266cf3,'where':_0x7c86c});_0x3ac5e5[_0x914248(0x1b9)](_0x1421d2,_0x266cf3),_0x19f75c=await _0x3ac5e5['run']();}else{if(_0x32561e==_0x914248(0x1b3)||_0x32561e==_0x914248(0x1b8)){const _0x373d6b=new a79_0x21a467(_0x1ee4fb),_0x562f42=await getWFSLayerCapabilities(_0x1ee4fb,_0x1c5351),_0xef66b5=_0x562f42['layerFields'][_0x914248(0x1b6)](_0x48ed86=>_0x48ed86[_0x914248(0x1b4)]==0x6);_0x19f75c=await _0x373d6b[_0x914248(0x1bd)]({'geometry':_0x1421d2,'tableName':_0x1c5351,'geometryName':_0xef66b5?_0xef66b5[_0x914248(0x1b7)]:'','srsName':_0x266cf3,'where':_0x7c86c});}}return _0x19f75c;}
|