ym-gis-2d 1.0.21 → 1.0.23
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/LegendControl.js +1 -1
- package/controls/LegendControl.js.map +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.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +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.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +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
|
-
|
|
1
|
+
const a75_0x526d9e=a75_0x4f78;(function(_0x91bde5,_0xbf300b){const _0x49de2c=a75_0x4f78,_0x2de947=_0x91bde5();while(!![]){try{const _0x3dc32a=parseInt(_0x49de2c(0x1ff))/0x1+-parseInt(_0x49de2c(0x213))/0x2*(-parseInt(_0x49de2c(0x1ed))/0x3)+parseInt(_0x49de2c(0x1e4))/0x4*(-parseInt(_0x49de2c(0x1fa))/0x5)+parseInt(_0x49de2c(0x216))/0x6*(parseInt(_0x49de2c(0x20e))/0x7)+-parseInt(_0x49de2c(0x20f))/0x8*(-parseInt(_0x49de2c(0x205))/0x9)+-parseInt(_0x49de2c(0x1e9))/0xa+-parseInt(_0x49de2c(0x209))/0xb;if(_0x3dc32a===_0xbf300b)break;else _0x2de947['push'](_0x2de947['shift']());}catch(_0x4569ee){_0x2de947['push'](_0x2de947['shift']());}}}(a75_0x1b1c,0x45830));import a75_0x14546d from'color';import a75_0x224c5e from'./writeTextToCanvas';function a75_0x4f78(_0x18364a,_0x2a6284){const _0x1b1c4c=a75_0x1b1c();return a75_0x4f78=function(_0x4f789e,_0x171430){_0x4f789e=_0x4f789e-0x1e4;let _0x56a775=_0x1b1c4c[_0x4f789e];return _0x56a775;},a75_0x4f78(_0x18364a,_0x2a6284);}import{Icon}from'ol/style';import a75_0x650e29 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x201e69=a75_0x4f78;this[_0x201e69(0x1ea)]={};}[a75_0x526d9e(0x217)](_0x3d0f0a,_0x6403a9){const _0x18d4a1=a75_0x526d9e;if(!_0x3d0f0a)throw new Error(_0x18d4a1(0x1e8));if(!_0x6403a9)throw new Error(_0x18d4a1(0x1f3));return createPin('','',_0x3d0f0a,_0x6403a9,this[_0x18d4a1(0x1ea)]);}[a75_0x526d9e(0x208)](_0x2f9dcc,_0x3ca547,_0x42d3a8){const _0x305c68=a75_0x526d9e;if(!_0x2f9dcc)throw new Error(_0x305c68(0x1f4));if(!_0x3ca547)throw new Error(_0x305c68(0x1e8));if(!_0x42d3a8)throw new Error(_0x305c68(0x1f3));return createPin(_0x2f9dcc,'',_0x3ca547,_0x42d3a8,this[_0x305c68(0x1ea)]);}[a75_0x526d9e(0x200)](_0x2415e1,_0x1f1c3a,_0x373104){const _0x2fc5d0=a75_0x526d9e;if(!_0x2415e1)throw new Error(_0x2fc5d0(0x1fc));if(!_0x1f1c3a)throw new Error(_0x2fc5d0(0x1e8));if(!_0x373104)throw new Error(_0x2fc5d0(0x1f3));return createPin(parseImage(_0x2415e1),'',_0x1f1c3a,_0x373104,this[_0x2fc5d0(0x1ea)]);}['fromText'](_0x578014,_0x11df50,_0x15dcd1){const _0x40c009=a75_0x526d9e;if(!_0x578014)throw new Error('text\x20is\x20required');if(!_0x11df50)throw new Error(_0x40c009(0x1e8));if(!_0x15dcd1)throw new Error(_0x40c009(0x1f3));return createPin('',_0x578014,_0x11df50,_0x15dcd1,this['_cache']);}}function a75_0x1b1c(){const _0x42cf5b=['stringify','destination-out','fromUrl','3348565SjhpGc','createElement','IDLE','lineWidth','load','91AxJTPP','3006232AdDTTy','lineTo','lighten','fill','776316sFuqDM','save','closePath','175194xEKijt','fromColor','bold\x20','28092IXQEZh','#000000','moveTo','canvas','color\x20is\x20required','4983170CTkKxX','_cache','target','destination-over','3yNgCbO','drawImage','fillStyle','listenImageChange','px\x20sans-serif','LOADED','size\x20is\x20required','url\x20is\x20required','height','width','#FFFFFF','fillRect','getImageState','375yzxisT','ERROR','id\x20is\x20required','round','scale','470653MwfLnX','fromMakiIconId','toDataURL','stroke','globalCompositeOperation','bezierCurveTo','9CMeQiW'];a75_0x1b1c=function(){return _0x42cf5b;};return a75_0x1b1c();}function drawPin(_0xda231e,_0x5b3859,_0x224178){const _0x58f6a1=a75_0x526d9e;_0xda231e[_0x58f6a1(0x214)](),_0xda231e[_0x58f6a1(0x1fe)](_0x224178/0x18,_0x224178/0x18),_0xda231e[_0x58f6a1(0x1ef)]=_0x5b3859,_0xda231e['strokeStyle']=a75_0x14546d(_0x5b3859)[_0x58f6a1(0x211)](0.6)['hexa'](),_0xda231e[_0x58f6a1(0x20c)]=0.846,_0xda231e['beginPath'](),_0xda231e[_0x58f6a1(0x1e6)](6.72,0.422),_0xda231e[_0x58f6a1(0x210)](17.28,0.422),_0xda231e[_0x58f6a1(0x204)](18.553,0.422,19.577,1.758,19.577,3.415),_0xda231e[_0x58f6a1(0x210)](19.577,10.973),_0xda231e[_0x58f6a1(0x204)](19.577,12.63,18.553,13.966,17.282,13.966),_0xda231e[_0x58f6a1(0x210)](14.386,14.008),_0xda231e[_0x58f6a1(0x210)](11.826,23.578),_0xda231e[_0x58f6a1(0x210)](9.614,14.008),_0xda231e[_0x58f6a1(0x210)](6.719,13.965),_0xda231e['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0xda231e[_0x58f6a1(0x210)](4.422,3.416),_0xda231e['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0xda231e[_0x58f6a1(0x215)](),_0xda231e[_0x58f6a1(0x212)](),_0xda231e[_0x58f6a1(0x202)](),_0xda231e['restore']();}function drawIcon(_0x55f687,_0x395a4e,_0x4ee13c){const _0x71354e=a75_0x526d9e,_0x202b17=_0x4ee13c/2.5;let _0x7a380e=_0x202b17,_0x1ac898=_0x202b17;if(_0x395a4e['width']>_0x395a4e[_0x71354e(0x1f5)])_0x1ac898=_0x202b17*(_0x395a4e[_0x71354e(0x1f5)]/_0x395a4e[_0x71354e(0x1f6)]);else _0x395a4e['width']<_0x395a4e[_0x71354e(0x1f5)]&&(_0x7a380e=_0x202b17*(_0x395a4e[_0x71354e(0x1f6)]/_0x395a4e[_0x71354e(0x1f5)]));const _0x3f161c=Math[_0x71354e(0x1fd)]((_0x4ee13c-_0x7a380e)/0x2),_0x265f24=Math[_0x71354e(0x1fd)](0x7/0x18*_0x4ee13c-_0x1ac898/0x2);_0x55f687['globalCompositeOperation']=_0x71354e(0x207),_0x55f687[_0x71354e(0x1ee)](_0x395a4e,_0x3f161c-0x1,_0x265f24,_0x7a380e,_0x1ac898),_0x55f687[_0x71354e(0x1ee)](_0x395a4e,_0x3f161c,_0x265f24-0x1,_0x7a380e,_0x1ac898),_0x55f687[_0x71354e(0x1ee)](_0x395a4e,_0x3f161c+0x1,_0x265f24,_0x7a380e,_0x1ac898),_0x55f687[_0x71354e(0x1ee)](_0x395a4e,_0x3f161c,_0x265f24+0x1,_0x7a380e,_0x1ac898),_0x55f687[_0x71354e(0x203)]=_0x71354e(0x1ec),_0x55f687[_0x71354e(0x1ef)]=_0x71354e(0x1e5),_0x55f687[_0x71354e(0x1f8)](_0x3f161c-0x1,_0x265f24-0x1,_0x7a380e+0x2,_0x1ac898+0x2),_0x55f687['globalCompositeOperation']=_0x71354e(0x207),_0x55f687[_0x71354e(0x1ee)](_0x395a4e,_0x3f161c,_0x265f24,_0x7a380e,_0x1ac898),_0x55f687[_0x71354e(0x203)]=_0x71354e(0x1ec),_0x55f687['fillStyle']=_0x71354e(0x1f7),_0x55f687['fillRect'](_0x3f161c-0x1,_0x265f24-0x2,_0x7a380e+0x2,_0x1ac898+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x35169a,_0x2840be,_0x168e06,_0x4190e2,_0x4a00c5){const _0x2e1826=a75_0x526d9e;stringifyScratch[0x0]=_0x35169a,stringifyScratch[0x1]=_0x2840be,stringifyScratch[0x2]=_0x168e06,stringifyScratch[0x3]=_0x4190e2;const _0x6755ed=JSON[_0x2e1826(0x206)](stringifyScratch),_0x22f5d5=_0x4a00c5[_0x6755ed];if(_0x22f5d5)return _0x22f5d5;const _0x6e0e59=document[_0x2e1826(0x20a)](_0x2e1826(0x1e7));_0x6e0e59['width']=_0x4190e2,_0x6e0e59[_0x2e1826(0x1f5)]=_0x4190e2;const _0x545902=_0x6e0e59['getContext']('2d');drawPin(_0x545902,_0x168e06,_0x4190e2);if(_0x35169a)return new Promise(_0x226067=>{const _0x45b177=_0x2e1826;let _0x239fbe=new Icon({'src':_0x35169a}),_0x73b3=_0x239fbe[_0x45b177(0x1f9)]();_0x73b3===a75_0x650e29[_0x45b177(0x1f2)]||_0x73b3===a75_0x650e29[_0x45b177(0x1fb)]?(drawIcon(_0x545902,_0x239fbe['getImage'](0x60),_0x4190e2),_0x4a00c5[_0x6755ed]=_0x6e0e59[_0x45b177(0x201)](),_0x226067(_0x6e0e59[_0x45b177(0x201)]())):(_0x73b3===a75_0x650e29[_0x45b177(0x20b)]&&_0x239fbe[_0x45b177(0x20d)](),_0x239fbe[_0x45b177(0x1f0)](_0x430b92=>{const _0x1934ff=_0x45b177;_0x73b3=_0x430b92[_0x1934ff(0x1eb)][_0x1934ff(0x1f9)](),(_0x73b3===a75_0x650e29[_0x1934ff(0x1f2)]||_0x73b3===a75_0x650e29[_0x1934ff(0x1fb)])&&(drawIcon(_0x545902,_0x239fbe['getImage'](0x60),_0x4190e2),_0x4a00c5[_0x6755ed]=_0x6e0e59[_0x1934ff(0x201)](),_0x226067(_0x6e0e59['toDataURL']()));}));});else{if(_0x2840be){const _0x3f5210=a75_0x224c5e(_0x2840be,{'font':_0x2e1826(0x218)+_0x4190e2+_0x2e1826(0x1f1)});drawIcon(_0x545902,_0x3f5210,_0x4190e2);}}return _0x4a00c5[_0x6755ed]=_0x6e0e59[_0x2e1826(0x201)](),_0x6e0e59[_0x2e1826(0x201)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a76_0x2f8445=a76_0x6d2a;(function(_0x17453f,_0xcb3757){const _0x3f5b8b=a76_0x6d2a,_0x4a8bd0=_0x17453f();while(!![]){try{const _0x47b6a8=parseInt(_0x3f5b8b(0x1b9))/0x1+parseInt(_0x3f5b8b(0x1c1))/0x2*(-parseInt(_0x3f5b8b(0x19f))/0x3)+parseInt(_0x3f5b8b(0x1c0))/0x4*(parseInt(_0x3f5b8b(0x19d))/0x5)+parseInt(_0x3f5b8b(0x1b2))/0x6+parseInt(_0x3f5b8b(0x1a9))/0x7*(parseInt(_0x3f5b8b(0x1b7))/0x8)+parseInt(_0x3f5b8b(0x1ae))/0x9*(-parseInt(_0x3f5b8b(0x1ba))/0xa)+parseInt(_0x3f5b8b(0x1a1))/0xb*(-parseInt(_0x3f5b8b(0x1bc))/0xc);if(_0x47b6a8===_0xcb3757)break;else _0x4a8bd0['push'](_0x4a8bd0['shift']());}catch(_0x55c394){_0x4a8bd0['push'](_0x4a8bd0['shift']());}}}(a76_0x2bab,0x21b12));import a76_0x1c9e96 from'./PinBuilder';function a76_0x2bab(){const _0xb8224a=['markerLabel','image','8qGHwdn','22HGKDrZ','344095eBsaDH','error','47001bPKmTD','getImage','11PmtMeG','listenImageChange','IDLE','get','then','options','resolve','fromText','7XRTulK','load','fromUrl','LOADED','markerColor','139140rjTxuP','loadIcon','dispatchEvent','target','1466880DIyjhN','ERROR','_imageState','getImageState','_listener','1221128bHGWkr','_icon','82301LMBdov','160ecOIsr','catch','712332aGjTMK','warn'];a76_0x2bab=function(){return _0xb8224a;};return a76_0x2bab();}import{Icon}from'ol/style';import a76_0x2ac85f from'ol/ImageState';import a76_0x69dddd from'ol/events/Event';function a76_0x6d2a(_0x31e908,_0x2d8cb7){const _0x2babbe=a76_0x2bab();return a76_0x6d2a=function(_0x6d2a46,_0x4435c5){_0x6d2a46=_0x6d2a46-0x19d;let _0x44e3b3=_0x2babbe[_0x6d2a46];return _0x44e3b3;},a76_0x6d2a(_0x31e908,_0x2d8cb7);}import{shared as a76_0x499206}from'./ImageCache';export default class PinIcon{constructor(_0x570d3e){const _0x261b2a=a76_0x6d2a;this['options']=_0x570d3e||{},this[_0x261b2a(0x1b4)]=a76_0x2ac85f[_0x261b2a(0x1a3)],this[_0x261b2a(0x1b8)]=a76_0x499206[_0x261b2a(0x1a4)](this['options']),this[_0x261b2a(0x1b8)]&&(this['_imageState']=a76_0x2ac85f[_0x261b2a(0x1ac)]);}['load'](){const _0x46605d=a76_0x6d2a;try{let _0x59dfb6,_0x571aa3=new a76_0x1c9e96();if(this[_0x46605d(0x1a6)][_0x46605d(0x1be)])_0x59dfb6=_0x571aa3[_0x46605d(0x1a8)](this[_0x46605d(0x1a6)][_0x46605d(0x1be)],this[_0x46605d(0x1a6)][_0x46605d(0x1ad)],this[_0x46605d(0x1a6)]['markerSize']||0x30);else this[_0x46605d(0x1a6)][_0x46605d(0x1bf)]&&(_0x59dfb6=_0x571aa3[_0x46605d(0x1ab)](this['options'][_0x46605d(0x1bf)],this[_0x46605d(0x1a6)][_0x46605d(0x1ad)],this['options']['markerSize']||0x30));Promise[_0x46605d(0x1a7)](_0x59dfb6)[_0x46605d(0x1a5)](_0x213c06=>{this['loadIcon'](_0x213c06);})[_0x46605d(0x1bb)](_0x205f11=>{const _0x5af8f1=_0x46605d;console[_0x5af8f1(0x1bd)](_0x205f11),this[_0x5af8f1(0x1b4)]=a76_0x2ac85f['ERROR'],this[_0x5af8f1(0x1b0)](_0x5af8f1(0x19e));});}catch(_0x1e2296){console['warn'](_0x1e2296),this[_0x46605d(0x1b4)]=a76_0x2ac85f[_0x46605d(0x1b3)],this['dispatchEvent'](_0x46605d(0x19e));}}[a76_0x2f8445(0x1af)](_0xfec10e){const _0x39d167=a76_0x2f8445;this[_0x39d167(0x1b8)]=new Icon({'src':_0xfec10e}),a76_0x499206['set'](this[_0x39d167(0x1a6)],this[_0x39d167(0x1b8)]);let _0x7f98c7=this[_0x39d167(0x1b8)]['getImageState']();_0x7f98c7===a76_0x2ac85f[_0x39d167(0x1ac)]||_0x7f98c7===a76_0x2ac85f[_0x39d167(0x1b3)]?(this[_0x39d167(0x1b4)]=this[_0x39d167(0x1b8)][_0x39d167(0x1b5)](),this[_0x39d167(0x1b0)](_0x39d167(0x1aa))):(_0x7f98c7===a76_0x2ac85f[_0x39d167(0x1a3)]&&this[_0x39d167(0x1b8)]['load'](),this['_icon'][_0x39d167(0x1a2)](_0xabcd8b=>{const _0x32d3b6=_0x39d167;_0x7f98c7=_0xabcd8b[_0x32d3b6(0x1b1)][_0x32d3b6(0x1b5)](),(_0x7f98c7===a76_0x2ac85f['LOADED']||_0x7f98c7===a76_0x2ac85f['ERROR'])&&(this[_0x32d3b6(0x1b4)]=this['_icon'][_0x32d3b6(0x1b5)](),this['dispatchEvent'](_0x32d3b6(0x1aa)));}));}[a76_0x2f8445(0x1b5)](){const _0x513dce=a76_0x2f8445;return this[_0x513dce(0x1b4)];}[a76_0x2f8445(0x1a0)](){const _0x546a20=a76_0x2f8445;var _0x2c0707;return(_0x2c0707=this[_0x546a20(0x1b8)])===null||_0x2c0707===void 0x0?void 0x0:_0x2c0707['getImage']();}[a76_0x2f8445(0x1a2)](_0x59da70){const _0x51bf7b=a76_0x2f8445;this[_0x51bf7b(0x1b6)]=_0x59da70;}[a76_0x2f8445(0x1b0)](_0x32505e){const _0x5bd325=a76_0x2f8445;if(this[_0x5bd325(0x1b6)]){let _0x31d606=new a76_0x69dddd(_0x32505e);_0x31d606[_0x5bd325(0x1b1)]=this,this[_0x5bd325(0x1b6)](_0x31d606);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a77_0x9fd9(){const _0x5b34ef=['strokeStyle','data','mozImageSmoothingEnabled','msImageSmoothingEnabled','text\x20is\x20required.','hidden','getPropertyValue','font','lineJoin','#000000','replace','1935YFNzEe','18636gfHvRi','ascent','125088LIrAQR','1485gFPLnd','test','getImageData','12678402bswoyS','52130hXBDlM','getContext','style','dimensions','#FFFFFF','defaultView','84rkPSOI','webkitImageSmoothingEnabled','ceil','appendChild','body','black','width','measureText','stroke','height','#00000000','fillStyle','2306858Kjragy','removeChild','lineWidth','canvas','fillRect','getComputedStyle','backgroundColor','143TuCega','imageSmoothingEnabled','minx','visibility','font-size','1Xktjao','18GoAWcw','833964BqYjhB','fillText','strokeText','createElement','120188irnhMb'];a77_0x9fd9=function(){return _0x5b34ef;};return a77_0x9fd9();}(function(_0x14f05d,_0x44598a){const _0x502173=a77_0x45cc,_0x70120=_0x14f05d();while(!![]){try{const _0x5623f1=-parseInt(_0x502173(0x1a4))/0x1*(parseInt(_0x502173(0x198))/0x2)+-parseInt(_0x502173(0x1a5))/0x3*(parseInt(_0x502173(0x1aa))/0x4)+parseInt(_0x502173(0x182))/0x5*(-parseInt(_0x502173(0x17f))/0x6)+-parseInt(_0x502173(0x18c))/0x7*(parseInt(_0x502173(0x181))/0x8)+parseInt(_0x502173(0x17e))/0x9*(parseInt(_0x502173(0x186))/0xa)+parseInt(_0x502173(0x185))/0xb+parseInt(_0x502173(0x1a6))/0xc*(parseInt(_0x502173(0x19f))/0xd);if(_0x5623f1===_0x44598a)break;else _0x70120['push'](_0x70120['shift']());}catch(_0x55aab5){_0x70120['push'](_0x70120['shift']());}}}(a77_0x9fd9,0x91063));function a77_0x45cc(_0x5252dc,_0x3e1c83){const _0x9fd9b4=a77_0x9fd9();return a77_0x45cc=function(_0x45ccd8,_0x4d0407){_0x45ccd8=_0x45ccd8-0x176;let _0x1ebee5=_0x9fd9b4[_0x45ccd8];return _0x1ebee5;},a77_0x45cc(_0x5252dc,_0x3e1c83);}function measureText(_0x2791f3,_0x5e3c66,_0x27d25f,_0x4135d2,_0x15c1b7){const _0x1dd5db=a77_0x45cc,_0x4127d0=_0x2791f3[_0x1dd5db(0x193)](_0x5e3c66),_0x39a545=!/\S/[_0x1dd5db(0x183)](_0x5e3c66);if(!_0x39a545&&document[_0x1dd5db(0x18b)]){const _0x570ee6=document[_0x1dd5db(0x18b)][_0x1dd5db(0x19d)](_0x2791f3[_0x1dd5db(0x19b)])[_0x1dd5db(0x179)](_0x1dd5db(0x1a3))[_0x1dd5db(0x17d)]('px',''),_0x1290df=document['createElement'](_0x1dd5db(0x19b)),_0x2da703=0x64,_0x6955e1=_0x4127d0['width']+_0x2da703|0x0,_0x16cbba=0x3*(_0x570ee6-0x0),_0x3210fa=_0x16cbba/0x2;_0x1290df[_0x1dd5db(0x192)]=_0x6955e1,_0x1290df[_0x1dd5db(0x195)]=_0x16cbba;const _0x112035=_0x1290df[_0x1dd5db(0x187)]('2d');if(!_0x112035)return{};_0x112035['font']=_0x27d25f,_0x112035[_0x1dd5db(0x197)]='white',_0x112035['fillRect'](0x0,0x0,_0x1290df[_0x1dd5db(0x192)]+0x1,_0x1290df[_0x1dd5db(0x195)]+0x1);_0x4135d2&&(_0x112035[_0x1dd5db(0x1ab)]=_0x1dd5db(0x191),_0x112035[_0x1dd5db(0x19a)]=_0x2791f3[_0x1dd5db(0x19a)],_0x112035[_0x1dd5db(0x1a8)](_0x5e3c66,_0x2da703/0x2,_0x3210fa));_0x15c1b7&&(_0x112035[_0x1dd5db(0x197)]=_0x1dd5db(0x191),_0x112035['fillText'](_0x5e3c66,_0x2da703/0x2,_0x3210fa));const _0x401397=_0x112035[_0x1dd5db(0x184)](0x0,0x0,_0x6955e1,_0x16cbba)[_0x1dd5db(0x1ac)],_0x363de3=_0x401397['length'],_0x1f40ab=_0x6955e1*0x4;let _0x7ebe62,_0x10dae4,_0x5f02ab=0x0,_0x39d6f1=0x0;for(_0x7ebe62=0x0;_0x7ebe62<_0x363de3;++_0x7ebe62){if(_0x401397[_0x7ebe62]!==0xff){_0x5f02ab=_0x7ebe62/_0x1f40ab|0x0;break;}}for(_0x7ebe62=_0x363de3-0x1;_0x7ebe62>=0x0;--_0x7ebe62){if(_0x401397[_0x7ebe62]!==0xff){_0x39d6f1=_0x7ebe62/_0x1f40ab|0x0;break;}}let _0x970620=-0x1;for(_0x7ebe62=0x0;_0x7ebe62<_0x6955e1&&_0x970620===-0x1;++_0x7ebe62){for(_0x10dae4=0x0;_0x10dae4<_0x16cbba;++_0x10dae4){const _0x10d760=_0x7ebe62*0x4+_0x10dae4*_0x1f40ab;if(_0x401397[_0x10d760]!==0xff||_0x401397[_0x10d760+0x1]!==0xff||_0x401397[_0x10d760+0x2]!==0xff||_0x401397[_0x10d760+0x3]!==0xff){_0x970620=_0x7ebe62;break;}}}return{'width':_0x4127d0[_0x1dd5db(0x192)],'height':_0x39d6f1-_0x5f02ab,'ascent':_0x3210fa-_0x5f02ab,'descent':_0x39d6f1-_0x3210fa,'minx':_0x970620-_0x2da703/0x2};}return{'width':_0x4127d0['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x1e02fd,_0x2911a1){const _0x35c5c2=a77_0x45cc;if(!_0x1e02fd)throw new Error(_0x35c5c2(0x177));if(_0x1e02fd==='')return undefined;_0x2911a1=defaultValue(_0x2911a1,{});const _0x2e6c6b=defaultValue(_0x2911a1[_0x35c5c2(0x17a)],'10px\x20sans-serif'),_0x3b15f0=defaultValue(_0x2911a1[_0x35c5c2(0x194)],![]),_0x3b5d8a=defaultValue(_0x2911a1['fill'],!![]),_0x6cf868=defaultValue(_0x2911a1['strokeWidth'],0x1),_0x59078a=defaultValue(_0x2911a1[_0x35c5c2(0x19e)],_0x35c5c2(0x196)),_0xd96d4e=defaultValue(_0x2911a1['padding'],0x0),_0x4f68b6=_0xd96d4e*0x2,_0x551de0=document[_0x35c5c2(0x1a9)](_0x35c5c2(0x19b));_0x551de0[_0x35c5c2(0x192)]=0x1,_0x551de0['height']=0x1,_0x551de0[_0x35c5c2(0x188)][_0x35c5c2(0x17a)]=_0x2e6c6b;const _0x15059b=_0x551de0[_0x35c5c2(0x187)]('2d');if(!imageSmoothingEnabledName&&_0x15059b){if(_0x15059b[_0x35c5c2(0x1a0)])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0x15059b[_0x35c5c2(0x1ad)])imageSmoothingEnabledName='mozImageSmoothingEnabled';else{if(_0x15059b[_0x35c5c2(0x18d)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x15059b[_0x35c5c2(0x176)]&&(imageSmoothingEnabledName=_0x35c5c2(0x176));}}}_0x15059b[_0x35c5c2(0x17a)]=_0x2e6c6b,_0x15059b['lineJoin']='round',_0x15059b['lineWidth']=_0x6cf868,_0x15059b[imageSmoothingEnabledName]=![],_0x551de0[_0x35c5c2(0x188)][_0x35c5c2(0x1a2)]=_0x35c5c2(0x178),document[_0x35c5c2(0x190)][_0x35c5c2(0x18f)](_0x551de0);const _0x35a058=measureText(_0x15059b,_0x1e02fd,_0x2e6c6b,_0x3b15f0,_0x3b5d8a);if(!_0x35a058)return;_0x551de0[_0x35c5c2(0x189)]=_0x35a058,document[_0x35c5c2(0x190)][_0x35c5c2(0x199)](_0x551de0),_0x551de0['style']['visibility']='';const _0x24154a=-(_0x35a058[_0x35c5c2(0x1a1)]?_0x35a058[_0x35c5c2(0x1a1)]:0x0),_0x5c2900=Math[_0x35c5c2(0x18e)](_0x35a058[_0x35c5c2(0x192)])+_0x24154a+_0x4f68b6,_0x4cfb5a=(_0x35a058[_0x35c5c2(0x195)]?_0x35a058[_0x35c5c2(0x195)]:0x0)+_0x4f68b6,_0x1eac34=_0x4cfb5a-(_0x35a058[_0x35c5c2(0x180)]?_0x35a058['ascent']:0x0)+_0xd96d4e,_0x3c3c21=_0x4cfb5a-_0x1eac34+_0x4f68b6;return _0x551de0['width']=_0x5c2900,_0x551de0[_0x35c5c2(0x195)]=_0x4cfb5a,_0x15059b[_0x35c5c2(0x17a)]=_0x2e6c6b,_0x15059b[_0x35c5c2(0x17b)]='round',_0x15059b[_0x35c5c2(0x19a)]=_0x6cf868,_0x15059b[imageSmoothingEnabledName]=![],_0x59078a!==_0x35c5c2(0x196)&&(_0x15059b[_0x35c5c2(0x197)]=_0x59078a,_0x15059b[_0x35c5c2(0x19c)](0x0,0x0,_0x551de0['width'],_0x551de0['height'])),_0x3b15f0&&(_0x15059b[_0x35c5c2(0x1ab)]=defaultValue(_0x2911a1['strokeColor'],_0x35c5c2(0x17c)),_0x15059b[_0x35c5c2(0x1a8)](_0x1e02fd,_0x24154a+_0xd96d4e,_0x3c3c21)),_0x3b5d8a&&(_0x15059b[_0x35c5c2(0x197)]=defaultValue(_0x2911a1['fillColor'],_0x35c5c2(0x18a)),_0x15059b[_0x35c5c2(0x1a7)](_0x1e02fd,_0x24154a+_0xd96d4e,_0x3c3c21)),_0x551de0;}function defaultValue(_0x23caf8,_0xde1eb){if(_0x23caf8!==undefined&&_0x23caf8!==null)return _0x23caf8;return _0xde1eb;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a82_0x57521c=a82_0x3314;(function(_0x4ba291,_0x2e3aae){const _0x530d86=a82_0x3314,_0x4d93b9=_0x4ba291();while(!![]){try{const _0x2408c8=parseInt(_0x530d86(0x1d0))/0x1+parseInt(_0x530d86(0x1d4))/0x2+-parseInt(_0x530d86(0x1e3))/0x3*(-parseInt(_0x530d86(0x1e1))/0x4)+-parseInt(_0x530d86(0x1cc))/0x5*(-parseInt(_0x530d86(0x1c7))/0x6)+-parseInt(_0x530d86(0x1e2))/0x7+parseInt(_0x530d86(0x1c9))/0x8*(-parseInt(_0x530d86(0x1d6))/0x9)+-parseInt(_0x530d86(0x1de))/0xa;if(_0x2408c8===_0x2e3aae)break;else _0x4d93b9['push'](_0x4d93b9['shift']());}catch(_0x40efee){_0x4d93b9['push'](_0x4d93b9['shift']());}}}(a82_0x38b7,0xabbb4));function a82_0x3314(_0x504c1b,_0x3a622c){const _0x38b734=a82_0x38b7();return a82_0x3314=function(_0x331437,_0x243cef){_0x331437=_0x331437-0x1c2;let _0x358f1b=_0x38b734[_0x331437];return _0x358f1b;},a82_0x3314(_0x504c1b,_0x3a622c);}import a82_0x3da2e1 from'ol/format/EsriJSON';import a82_0x2c3e20 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a82_0x3cc350 from'./Task';function a82_0x38b7(){const _0xb27464=['path','350zmMmNO','_setGeometryParams','returnZ','valueOf','1193026DFStoe','tolerance','writeGeometryObject','returnM','1923614IfgKar','getProjection','91737lWOLRX','getResolution','returnGeometry','time','mapExtent','url','getCenter','inSR','21155880fsszyT','getCode','layerDefs','4HwaLfk','6568954xUGruM','2744085qYphze','resolution','getType','getView','geojsonTypeToArcGIS','params','geometryType','getSize','104394FyeNAm','imageDisplay','416BLYAeL','layers'];a82_0x38b7=function(){return _0xb27464;};return a82_0x38b7();}import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x3cc350{constructor(_0x340954,_0x2e14a2,_0x57937d){const _0x3f556b=a82_0x3314;super(_0x340954,_0x2e14a2,_0x57937d),this[_0x3f556b(0x1cb)]='identify',this[_0x3f556b(0x1c4)]={'layers':'all','tolerance':0x0,'returnGeometry':!![]},this[_0x3f556b(0x1d1)]=0x3,this[_0x3f556b(0x1e4)]=0x0,this[_0x3f556b(0x1db)]=appendPath(this['url'],this[_0x3f556b(0x1cb)]),_0x2e14a2&&((_0x2e14a2[_0x3f556b(0x1d8)]===!![]||_0x2e14a2['returnGeometry']===![])&&(this[_0x3f556b(0x1c4)][_0x3f556b(0x1d8)]=_0x2e14a2[_0x3f556b(0x1d8)]),_0x2e14a2['layers']&&(this[_0x3f556b(0x1c4)][_0x3f556b(0x1ca)]=_0x2e14a2[_0x3f556b(0x1ca)]),_0x2e14a2['layerDefs']&&(this[_0x3f556b(0x1c4)][_0x3f556b(0x1e0)]=_0x2e14a2[_0x3f556b(0x1e0)]),(_0x2e14a2[_0x3f556b(0x1ce)]===!![]||_0x2e14a2[_0x3f556b(0x1ce)]===![])&&(this[_0x3f556b(0x1c4)][_0x3f556b(0x1ce)]=_0x2e14a2[_0x3f556b(0x1ce)]),(_0x2e14a2[_0x3f556b(0x1d3)]===!![]||_0x2e14a2[_0x3f556b(0x1d3)]===![])&&(this['params'][_0x3f556b(0x1d3)]=_0x2e14a2[_0x3f556b(0x1d3)]));}['at'](_0x202e0a,_0x50fbde){const _0x342560=a82_0x3314;let _0x45ad82,_0x39cc36;const _0x1d2a1f=new a82_0x2c3e20();_0x45ad82=_0x202e0a,_0x39cc36=getEsriSpatialReference(_0x50fbde[_0x342560(0x1c2)]()[_0x342560(0x1d5)]()[_0x342560(0x1df)]());const _0x33d5a2=_0x50fbde[_0x342560(0x1c6)]();_0x33d5a2&&(this[_0x342560(0x1c4)][_0x342560(0x1c8)]=[_0x33d5a2[0x0],_0x33d5a2[0x1],0x60]);this[_0x342560(0x1c4)]['sr']=_0x39cc36;const _0x2a5eec=_0x50fbde[_0x342560(0x1c2)]()['calculateExtent'](_0x50fbde[_0x342560(0x1c6)]());this[_0x342560(0x1c4)][_0x342560(0x1da)]={'xmin':_0x2a5eec[0x0],'ymin':_0x2a5eec[0x1],'xmax':_0x2a5eec[0x2],'ymax':_0x2a5eec[0x3],'spatialReference':_0x39cc36};const _0xd4cbe2=_0x50fbde[_0x342560(0x1c2)]()[_0x342560(0x1d7)](),_0x396a34=_0x50fbde[_0x342560(0x1c2)]()[_0x342560(0x1dc)]();return _0xd4cbe2&&_0x396a34&&(this['resolution']=getPointResolution(_0x50fbde[_0x342560(0x1c2)]()[_0x342560(0x1d5)](),_0xd4cbe2,_0x396a34)),this[_0x342560(0x1cd)](_0x45ad82,_0x50fbde[_0x342560(0x1c2)]()['getProjection']()[_0x342560(0x1df)]()),this;}['between'](_0x4c0bff,_0x4bc4a2){const _0x173f84=a82_0x3314;return this[_0x173f84(0x1c4)][_0x173f84(0x1d9)]=[_0x4c0bff[_0x173f84(0x1cf)](),_0x4bc4a2[_0x173f84(0x1cf)]()],this;}['run'](){this['request']();}[a82_0x57521c(0x1cd)](_0x3fff3c,_0x449255){const _0x13b059=a82_0x57521c;var _0x442fcb=new a82_0x3da2e1();const _0x4166c3=_0x442fcb[_0x13b059(0x1d2)](_0x3fff3c);this[_0x13b059(0x1c4)][_0x13b059(0x1dd)]=getEsriSpatialReference(_0x449255),this[_0x13b059(0x1c4)]['geometry']=_0x4166c3,this[_0x13b059(0x1c4)][_0x13b059(0x1c5)]=this[_0x13b059(0x1c3)](_0x3fff3c[_0x13b059(0x1e5)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a83_0x271e77=a83_0x2cba;(function(_0x4031b7,_0x4c1808){const _0x1e2f1d=a83_0x2cba,_0x54a291=_0x4031b7();while(!![]){try{const _0x32eb27=parseInt(_0x1e2f1d(0x13a))/0x1+-parseInt(_0x1e2f1d(0x13f))/0x2*(-parseInt(_0x1e2f1d(0x167))/0x3)+parseInt(_0x1e2f1d(0x156))/0x4+parseInt(_0x1e2f1d(0x135))/0x5*(-parseInt(_0x1e2f1d(0x166))/0x6)+parseInt(_0x1e2f1d(0x133))/0x7*(parseInt(_0x1e2f1d(0x149))/0x8)+parseInt(_0x1e2f1d(0x168))/0x9*(parseInt(_0x1e2f1d(0x159))/0xa)+-parseInt(_0x1e2f1d(0x136))/0xb;if(_0x32eb27===_0x4c1808)break;else _0x54a291['push'](_0x54a291['shift']());}catch(_0x12b5ca){_0x54a291['push'](_0x54a291['shift']());}}}(a83_0xe728,0x95284));import a83_0xaf7eff from'ol/format/EsriJSON';import a83_0x34ccde from'./Task';function a83_0xe728(){const _0x225ee1=['esriSRUnit_Meter','2428108XwhJLG','returnCountOnly','400','740UvCVpJ','abs','forEach','distinct','valueOf','1=1','returnGeometry','_cleanParams','join','distance','returnM','data','/query','373326XDnjPP','3561KXTSXn','52146aGUNdB','ASC','inSR','params','spatialRel','url','where','apply','readFeature','returnZ','features','warn','contains','push','returnDistinctValues','esriSpatialRelCrosses','overlaps','5011356XHzjaj','getType','5VFwvZg','34896301BwvnBA','simplify','indexIntersects','time','979276UVCvjN','status','intersects','returnExtentOnly','esriSpatialRelContains','1878lxtIDn','run','bboxIntersects','request','path','layer','code','length','nearby','esriSpatialRelOverlaps','8GTGyca','esriSpatialRelIndexIntersects','within','outSR','orderByFields','_trapSQLerrors','touches','_setGeometryParams','getExtent','getTime','esriSpatialRelWithin','returnIdsOnly'];a83_0xe728=function(){return _0x225ee1;};return a83_0xe728();}function a83_0x2cba(_0x4f4874,_0x1ac4a0){const _0xe728f3=a83_0xe728();return a83_0x2cba=function(_0x2cba64,_0x3d5887){_0x2cba64=_0x2cba64-0x129;let _0x59e94c=_0xe728f3[_0x2cba64];return _0x59e94c;},a83_0x2cba(_0x4f4874,_0x1ac4a0);}import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x34ccde{constructor(_0x43daef,_0x3b7bfd,_0x4c3745){const _0x5730e0=a83_0x2cba;super(_0x43daef,_0x3b7bfd,_0x4c3745),this['path']='query',this['params']={'returnGeometry':!![],'where':_0x5730e0(0x15e),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x5730e0(0x152)]()},this[_0x5730e0(0x16d)]=appendPath(this[_0x5730e0(0x16d)],this[_0x5730e0(0x143)]),_0x3b7bfd&&((_0x3b7bfd[_0x5730e0(0x15f)]===!![]||_0x3b7bfd[_0x5730e0(0x15f)]===![])&&(this[_0x5730e0(0x16b)][_0x5730e0(0x15f)]=_0x3b7bfd[_0x5730e0(0x15f)]),_0x3b7bfd[_0x5730e0(0x16e)]&&(this[_0x5730e0(0x16b)]['where']=_0x3b7bfd['where']),_0x3b7bfd[_0x5730e0(0x14c)]&&(this['params'][_0x5730e0(0x14c)]=getEsriSpatialReference(_0x3b7bfd['outSR'])),(_0x3b7bfd[_0x5730e0(0x12b)]===!![]||_0x3b7bfd[_0x5730e0(0x12b)]===![])&&(this['params'][_0x5730e0(0x12b)]=_0x3b7bfd[_0x5730e0(0x12b)]),(_0x3b7bfd[_0x5730e0(0x163)]===!![]||_0x3b7bfd[_0x5730e0(0x163)]===![])&&(this[_0x5730e0(0x16b)][_0x5730e0(0x163)]=_0x3b7bfd[_0x5730e0(0x163)]));}[a83_0x271e77(0x14b)](_0x5d92ca,_0xdd579){const _0x27fc90=a83_0x271e77;return this[_0x27fc90(0x150)](_0x5d92ca,_0xdd579),this[_0x27fc90(0x16b)][_0x27fc90(0x16c)]=_0x27fc90(0x13e),this;}[a83_0x271e77(0x13c)](_0x71a8b5,_0x5b6d15){const _0x5ae4bc=a83_0x271e77;return this[_0x5ae4bc(0x150)](_0x71a8b5,_0x5b6d15),this[_0x5ae4bc(0x16b)][_0x5ae4bc(0x16c)]='esriSpatialRelIntersects',this;}[a83_0x271e77(0x12e)](_0x2d0b3f,_0xb3e136){const _0x5afeb7=a83_0x271e77;return this[_0x5afeb7(0x150)](_0x2d0b3f,_0xb3e136),this[_0x5afeb7(0x16b)][_0x5afeb7(0x16c)]=_0x5afeb7(0x153),this;}['crosses'](_0x45ca58,_0x4ec3c9){const _0x8b5805=a83_0x271e77;return this[_0x8b5805(0x150)](_0x45ca58,_0x4ec3c9),this[_0x8b5805(0x16b)]['spatialRel']=_0x8b5805(0x131),this;}[a83_0x271e77(0x14f)](_0x1be7e2,_0x16c1be){const _0x1ed77b=a83_0x271e77;return this[_0x1ed77b(0x150)](_0x1be7e2,_0x16c1be),this[_0x1ed77b(0x16b)][_0x1ed77b(0x16c)]='esriSpatialRelTouches',this;}[a83_0x271e77(0x132)](_0x1605a3,_0x2777b8){const _0x5e5a26=a83_0x271e77;return this['_setGeometryParams'](_0x1605a3,_0x2777b8),this[_0x5e5a26(0x16b)][_0x5e5a26(0x16c)]=_0x5e5a26(0x148),this;}[a83_0x271e77(0x141)](_0x5ebf48,_0x436337){const _0x343fff=a83_0x271e77;return this['_setGeometryParams'](_0x5ebf48,_0x436337),this[_0x343fff(0x16b)][_0x343fff(0x16c)]='esriSpatialRelEnvelopeIntersects',this;}[a83_0x271e77(0x138)](_0x56d50e,_0x4c272d){const _0x3d709e=a83_0x271e77;return this[_0x3d709e(0x150)](_0x56d50e,_0x4c272d),this[_0x3d709e(0x16b)][_0x3d709e(0x16c)]=_0x3d709e(0x14a),this;}[a83_0x271e77(0x147)](_0x174da8,_0x3a519b,_0xebeeb0){const _0x24de15=a83_0x271e77;return this[_0x24de15(0x150)](_0x174da8,_0x3a519b),this[_0x24de15(0x16b)][_0x24de15(0x16c)]='esriSpatialRelIntersects',this[_0x24de15(0x16b)]['units']=_0x24de15(0x155),this['params'][_0x24de15(0x162)]=_0xebeeb0,this;}[a83_0x271e77(0x16e)](_0x5a60ce){const _0x526734=a83_0x271e77;return this[_0x526734(0x16b)][_0x526734(0x16e)]=_0x5a60ce,this;}['between'](_0x3be0c9,_0xab6430){const _0x1ef798=a83_0x271e77;return this[_0x1ef798(0x16b)][_0x1ef798(0x139)]=[_0x3be0c9[_0x1ef798(0x15d)](),_0xab6430[_0x1ef798(0x15d)]()],this;}[a83_0x271e77(0x137)](_0x744f6d,_0x371ebb){const _0x359326=a83_0x271e77,_0x35e48e=_0x744f6d[_0x359326(0x151)]();var _0x262e6b=Math[_0x359326(0x15a)](_0x35e48e[0x2]-_0x35e48e[0x0]);const _0x5180ae=_0x744f6d['getSize']();if(_0x5180ae)return this[_0x359326(0x16b)]['maxAllowableOffset']=_0x262e6b/_0x5180ae[0x1]*_0x371ebb,this;}['orderBy'](_0x15d3da,_0x29c4c5){const _0x140888=a83_0x271e77;return _0x29c4c5=_0x29c4c5||_0x140888(0x169),this[_0x140888(0x16b)][_0x140888(0x14d)]=this[_0x140888(0x16b)][_0x140888(0x14d)]?this[_0x140888(0x16b)]['orderByFields']+',':'',this[_0x140888(0x16b)]['orderByFields']+=[_0x15d3da,_0x29c4c5][_0x140888(0x161)]('\x20'),this;}async[a83_0x271e77(0x140)](){const _0x5976d9=a83_0x271e77;this[_0x5976d9(0x160)]();const _0x1083be=await this['request']()['catch'](_0x34fb46=>{throw new Error(_0x34fb46);});if(_0x1083be[_0x5976d9(0x13b)]!==0xc8)throw new Error('No\x20features\x20found');if(_0x1083be[_0x5976d9(0x164)]&&_0x1083be[_0x5976d9(0x164)][_0x5976d9(0x12c)]&&_0x1083be[_0x5976d9(0x164)][_0x5976d9(0x12c)][_0x5976d9(0x146)]>0x0){var _0x241cc2=new a83_0xaf7eff();let _0x383dce=[];return _0x1083be['data']['features'][_0x5976d9(0x15b)](_0x53f72e=>{const _0x120d4a=_0x5976d9,_0x238920=_0x241cc2[_0x120d4a(0x12a)](_0x53f72e);_0x383dce[_0x120d4a(0x12f)](_0x238920);}),_0x383dce;}return[];}['count'](){const _0x1e6932=a83_0x271e77;this[_0x1e6932(0x160)](),this[_0x1e6932(0x16b)][_0x1e6932(0x157)]=!![],this[_0x1e6932(0x142)]();}['ids'](){const _0x2de8b=a83_0x271e77;this[_0x2de8b(0x160)](),this[_0x2de8b(0x16b)][_0x2de8b(0x154)]=!![],this['request']();}[a83_0x271e77(0x15c)](){const _0x18fd2d=a83_0x271e77;return this[_0x18fd2d(0x16b)][_0x18fd2d(0x15f)]=![],this[_0x18fd2d(0x16b)][_0x18fd2d(0x130)]=!![],this;}[a83_0x271e77(0x144)](_0x3190cd){const _0x3cc139=a83_0x271e77;return this[_0x3cc139(0x143)]=_0x3190cd+_0x3cc139(0x165),this;}[a83_0x271e77(0x14e)](_0x4a357f){const _0x35458a=a83_0x271e77;_0x4a357f&&(_0x4a357f[_0x35458a(0x145)]===_0x35458a(0x158)&&console[_0x35458a(0x12d)][_0x35458a(0x129)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a83_0x271e77(0x160)](){const _0x24e0af=a83_0x271e77;delete this[_0x24e0af(0x16b)][_0x24e0af(0x154)],delete this['params'][_0x24e0af(0x13d)],delete this['params'][_0x24e0af(0x157)];}['_setGeometryParams'](_0x52640b,_0x233c63){const _0x5f4dfa=a83_0x271e77;var _0xfd7ee9=new a83_0xaf7eff();const _0x37dcd8=_0xfd7ee9['writeGeometryObject'](_0x52640b);this['params'][_0x5f4dfa(0x16a)]=getEsriSpatialReference(_0x233c63),this[_0x5f4dfa(0x16b)]['geometry']=_0x37dcd8,this[_0x5f4dfa(0x16b)]['geometryType']=this['geojsonTypeToArcGIS'](_0x52640b[_0x5f4dfa(0x134)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a84_0x19a35b=a84_0x5bdf;function a84_0x3a71(){var _0x17de78=['returnUnformattedValues','indexOf','format','esriGeometryPolygon','isArcgisOnline','valueOf','[object\x20Array]','params','esriGeometryPoint','18520BjeQJS','esriGeometryPolyline','esriGeometryMultipoint','toString','3432989IPAUNe','Point','join','get','8027672wOqiZH','Polygon','GET','[object\x20Date]','json','5809145qFKYbI','method','JSONP','url','serialize','prototype','2079976KDyLxj','22527XQJZDp','stringify','MultiLineString','665088OhRtZa','18FNumHL','test','length','post','MultiPolygon','call','984mRZtrW','MultiPoint','[object\x20Object]','81njcoVu'];a84_0x3a71=function(){return _0x17de78;};return a84_0x3a71();}(function(_0x1daa93,_0xdee2da){var _0x5b5510=a84_0x5bdf,_0x2ae6d3=_0x1daa93();while(!![]){try{var _0x4492d2=-parseInt(_0x5b5510(0x189))/0x1*(-parseInt(_0x5b5510(0x186))/0x2)+parseInt(_0x5b5510(0x17f))/0x3+-parseInt(_0x5b5510(0x17b))/0x4+-parseInt(_0x5b5510(0x175))/0x5+-parseInt(_0x5b5510(0x180))/0x6*(parseInt(_0x5b5510(0x197))/0x7)+-parseInt(_0x5b5510(0x170))/0x8+parseInt(_0x5b5510(0x17c))/0x9*(parseInt(_0x5b5510(0x193))/0xa);if(_0x4492d2===_0xdee2da)break;else _0x2ae6d3['push'](_0x2ae6d3['shift']());}catch(_0x23fd0c){_0x2ae6d3['push'](_0x2ae6d3['shift']());}}}(a84_0x3a71,0xb4cbd));import a84_0x3b647a from'../../AxiosUtil';function a84_0x5bdf(_0x51598b,_0x415daa){var _0x3a7180=a84_0x3a71();return a84_0x5bdf=function(_0x5bdff0,_0x16835a){_0x5bdff0=_0x5bdff0-0x16f;var _0x379947=_0x3a7180[_0x5bdff0];return _0x379947;},a84_0x5bdf(_0x51598b,_0x415daa);}import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x37f044,_0x495f79,_0xfb9f45){var _0x57f8c7=a84_0x5bdf;this[_0x57f8c7(0x178)]=_0x37f044,this[_0x57f8c7(0x191)]=_0x495f79||{},this[_0x57f8c7(0x176)]=!_0xfb9f45?_0x57f8c7(0x172):_0xfb9f45;}['geojsonTypeToArcGIS'](_0x11ce96){var _0xd33cfb=a84_0x5bdf,_0x2e1b36;switch(_0x11ce96){case _0xd33cfb(0x198):_0x2e1b36=_0xd33cfb(0x192);break;case _0xd33cfb(0x187):_0x2e1b36=_0xd33cfb(0x195);break;case'LineString':_0x2e1b36='esriGeometryPolyline';break;case _0xd33cfb(0x17e):_0x2e1b36=_0xd33cfb(0x194);break;case _0xd33cfb(0x171):_0x2e1b36=_0xd33cfb(0x18d);break;case _0xd33cfb(0x184):_0x2e1b36=_0xd33cfb(0x18d);break;}return _0x2e1b36;}[a84_0x19a35b(0x18e)](_0x5b7930){var _0x12b223=a84_0x19a35b;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x12b223(0x181)](_0x5b7930);}[a84_0x19a35b(0x179)](_0x1a9b28){var _0x1dcc6a=a84_0x19a35b,_0x402085='';_0x1a9b28['f']=_0x1a9b28['f']||_0x1dcc6a(0x174);for(var _0x561ab0 in _0x1a9b28){if(Object[_0x1dcc6a(0x17a)]['hasOwnProperty'][_0x1dcc6a(0x185)](_0x1a9b28,_0x561ab0)){var _0x5812c2=_0x1a9b28[_0x561ab0],_0x28c84f=Object[_0x1dcc6a(0x17a)][_0x1dcc6a(0x196)]['call'](_0x5812c2),_0x2bddd3;_0x402085[_0x1dcc6a(0x182)]&&(_0x402085+='&');if(_0x28c84f===_0x1dcc6a(0x190))_0x2bddd3=Object[_0x1dcc6a(0x17a)][_0x1dcc6a(0x196)][_0x1dcc6a(0x185)](_0x5812c2[0x0])===_0x1dcc6a(0x188)?JSON[_0x1dcc6a(0x17d)](_0x5812c2):_0x5812c2[_0x1dcc6a(0x199)](',');else{if(_0x28c84f==='[object\x20Object]')_0x2bddd3=JSON[_0x1dcc6a(0x17d)](_0x5812c2);else _0x28c84f===_0x1dcc6a(0x173)?_0x2bddd3=_0x5812c2[_0x1dcc6a(0x18f)]():_0x2bddd3=_0x5812c2;}_0x402085+=encodeURIComponent(_0x561ab0)+'='+encodeURIComponent(_0x2bddd3);}}return _0x402085;}[a84_0x19a35b(0x18c)](_0x252b95){var _0x11d982=a84_0x19a35b;return this[_0x11d982(0x191)][_0x11d982(0x18a)]=!_0x252b95,this;}async['request'](){var _0x562807=a84_0x19a35b,_0xa9501c=this[_0x562807(0x179)](this[_0x562807(0x191)]);const _0x2c3b4a=this[_0x562807(0x178)][_0x562807(0x18b)]('?')>-0x1?this['url']+'&'+_0xa9501c:this[_0x562807(0x178)]+'?'+_0xa9501c;if(this[_0x562807(0x176)]===_0x562807(0x172))return a84_0x3b647a[_0x562807(0x16f)](_0x2c3b4a);else{if(this[_0x562807(0x176)]===_0x562807(0x177))return jsonp(_0x2c3b4a);else{const _0x5f58a1=stringify(this[_0x562807(0x191)]);return a84_0x3b647a[_0x562807(0x183)](this['url'],_0x5f58a1);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a86_0x581e4b=a86_0x4b17;(function(_0x8eb0b7,_0x572b3d){const _0x195852=a86_0x4b17,_0x2cedaa=_0x8eb0b7();while(!![]){try{const _0xf82c92=-parseInt(_0x195852(0xbb))/0x1+-parseInt(_0x195852(0xb8))/0x2*(parseInt(_0x195852(0xcc))/0x3)+parseInt(_0x195852(0xb3))/0x4*(-parseInt(_0x195852(0xad))/0x5)+-parseInt(_0x195852(0xb5))/0x6*(-parseInt(_0x195852(0xb6))/0x7)+-parseInt(_0x195852(0xc0))/0x8*(parseInt(_0x195852(0xca))/0x9)+-parseInt(_0x195852(0xb4))/0xa*(parseInt(_0x195852(0xaf))/0xb)+parseInt(_0x195852(0xb9))/0xc*(parseInt(_0x195852(0xc9))/0xd);if(_0xf82c92===_0x572b3d)break;else _0x2cedaa['push'](_0x2cedaa['shift']());}catch(_0x3d77dc){_0x2cedaa['push'](_0x2cedaa['shift']());}}}(a86_0x4e34,0xafbce));import{and,intersects}from'ol/format/filter';import a86_0x548df4 from'../../format/CQL';import a86_0x3deff1 from'ol/format/WFS';import a86_0x535060 from'ol/format/GeoJSON';function a86_0x4b17(_0x12915d,_0x462826){const _0x4e3494=a86_0x4e34();return a86_0x4b17=function(_0x4b1706,_0x1af95e){_0x4b1706=_0x4b1706-0xab;let _0x51fc61=_0x4e3494[_0x4b1706];return _0x51fc61;},a86_0x4b17(_0x12915d,_0x462826);}function a86_0x4e34(){const _0x39ac13=['queryParameters','61679241Mdlotc','12403179JGrFSJ','json','2379rdIrHK','where','geometryName','39555SInonB','features','2425940quNvuX','the_geom','execute','srsName\x20is\x20required','364XvtzOP','50WnPXMe','390YCSqPE','54523xpQuMv','_geoserverQuery','2198geCKhS','12BwfoAF','serializeToString','458781BjVSRS','map','readFeature','application/json','read','8HrhJsL','writeGetFeature','error','geometry','POST','stringify','tableName','srsName'];a86_0x4e34=function(){return _0x39ac13;};return a86_0x4e34();}export default class QueryTask{constructor(_0x5b397f){const _0x20bdc2=a86_0x4b17;this[_0x20bdc2(0xc8)]={},this['url']=_0x5b397f;}async[a86_0x581e4b(0xb1)](_0x18e8a3){const _0x303a90=a86_0x581e4b;this['queryParameters']=_0x18e8a3||{};const _0x3ca72c=this[_0x303a90(0xc8)][_0x303a90(0xac)]||'the_geom';let _0x4693e9=this[_0x303a90(0xc8)][_0x303a90(0xab)],_0x78b154;_0x4693e9&&(_0x78b154=new a86_0x548df4()[_0x303a90(0xbf)](_0x4693e9));let _0x2ecb9e=_0x78b154;if(this[_0x303a90(0xc8)][_0x303a90(0xc3)]){if(!this[_0x303a90(0xc8)][_0x303a90(0xc7)])throw new Error(_0x303a90(0xb2));const _0x3dbe9d=intersects(_0x3ca72c,this[_0x303a90(0xc8)][_0x303a90(0xc3)]);_0x2ecb9e=_0x78b154?and(_0x78b154,_0x3dbe9d):_0x3dbe9d;}let _0xa5fa11=new a86_0x3deff1()[_0x303a90(0xc1)]({'srsName':this[_0x303a90(0xc8)][_0x303a90(0xc7)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x303a90(0xc8)][_0x303a90(0xc6)]],'outputFormat':_0x303a90(0xbe),'geometryName':_0x3ca72c,'filter':_0x2ecb9e});const _0x1e02e7=await fetch(this['url'],{'method':_0x303a90(0xc4),'body':new XMLSerializer()[_0x303a90(0xba)](_0xa5fa11)}),_0x2c6d1d=await _0x1e02e7[_0x303a90(0xcb)]();let _0x58a02e=[];const _0x3b7c58=new a86_0x535060();return _0x58a02e=_0x2c6d1d[_0x303a90(0xae)]['map'](_0x2396a0=>{const _0x1f1f21=_0x303a90;return _0x3b7c58['readFeature'](JSON[_0x1f1f21(0xc5)](_0x2396a0));}),_0x58a02e;}[a86_0x581e4b(0xb7)](){const _0x3914cb=a86_0x581e4b,_0x3732cd=this[_0x3914cb(0xc8)][_0x3914cb(0xac)]||_0x3914cb(0xb0);let _0x4be61a=this['queryParameters'][_0x3914cb(0xab)],_0x499a7a;_0x4be61a&&(_0x499a7a=new a86_0x548df4()[_0x3914cb(0xbf)](_0x4be61a));let _0xafe174=_0x499a7a;if(this[_0x3914cb(0xc8)][_0x3914cb(0xc3)]){const _0x3888b0=intersects(_0x3732cd,this['queryParameters'][_0x3914cb(0xc3)]);_0xafe174=_0x499a7a?and(_0x499a7a,_0x3888b0):_0x3888b0;}let _0x12d64a=new a86_0x3deff1()[_0x3914cb(0xc1)]({'srsName':this[_0x3914cb(0xc8)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3914cb(0xc8)][_0x3914cb(0xc6)]],'outputFormat':'application/json','geometryName':_0x3732cd,'filter':_0xafe174});return new Promise(_0x1c2d21=>{const _0x1948bd=_0x3914cb;fetch(this['url'],{'method':_0x1948bd(0xc4),'body':new XMLSerializer()[_0x1948bd(0xba)](_0x12d64a)})['then'](_0x23614c=>{const _0x489056=_0x1948bd;return _0x23614c[_0x489056(0xcb)]();})['then'](_0x475937=>{const _0x51aa70=_0x1948bd;let _0x4e059f=[];const _0x21ef5e=new a86_0x535060();_0x4e059f=_0x475937['features'][_0x51aa70(0xbc)](_0x3a5471=>{const _0x113ccf=_0x51aa70;return _0x21ef5e[_0x113ccf(0xbd)](JSON[_0x113ccf(0xc5)](_0x3a5471));}),_0x1c2d21(_0x4e059f);})['catch'](_0x18f876=>{const _0x13847b=_0x1948bd;_0x1c2d21([]),console[_0x13847b(0xc2)](_0x18f876);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0xbff50a,_0x2dfeee){const _0x8f9b7b=a87_0x8854,_0x5bc703=_0xbff50a();while(!![]){try{const _0x4228c5=-parseInt(_0x8f9b7b(0x13b))/0x1+-parseInt(_0x8f9b7b(0x139))/0x2*(-parseInt(_0x8f9b7b(0x13d))/0x3)+parseInt(_0x8f9b7b(0x137))/0x4*(parseInt(_0x8f9b7b(0x13e))/0x5)+parseInt(_0x8f9b7b(0x140))/0x6+parseInt(_0x8f9b7b(0x141))/0x7*(-parseInt(_0x8f9b7b(0x143))/0x8)+-parseInt(_0x8f9b7b(0x142))/0x9+-parseInt(_0x8f9b7b(0x138))/0xa*(parseInt(_0x8f9b7b(0x13c))/0xb);if(_0x4228c5===_0x2dfeee)break;else _0x5bc703['push'](_0x5bc703['shift']());}catch(_0x3d22d7){_0x5bc703['push'](_0x5bc703['shift']());}}}(a87_0xbcbf,0xe54df));function a87_0xbcbf(){const _0x14d24d=['geoserver-wms','3108trYBeU','320010oqihfr','1172ABvwEg','geoserver-wfs','647109tpbZrb','66HovtBf','7560IWhOyH','1615MKyQML','name','9870960cmrkkj','42BYzMqy','2711817liHzEl','1724256tevkfZ','arcgis-feature','layerFields','find'];a87_0xbcbf=function(){return _0x14d24d;};return a87_0xbcbf();}import{appendPath}from'../UrlUtil';import a87_0x2edf00 from'./esri/Query';import a87_0x36a351 from'./geoserver/QueryTask';function a87_0x8854(_0x417a8f,_0x52b658){const _0xbcbfc=a87_0xbcbf();return a87_0x8854=function(_0x88549a,_0x1f234b){_0x88549a=_0x88549a-0x137;let _0x181194=_0xbcbfc[_0x88549a];return _0x181194;},a87_0x8854(_0x417a8f,_0x52b658);}import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x5a7dc7,_0x93e591,_0x261c59,_0x3918cf,_0x333bd5,_0x5c6c60){const _0x45c27e=a87_0x8854;if(!_0x261c59||!_0x3918cf||!_0x333bd5||!_0x333bd5)return[];let _0x1bb190=[];try{if(_0x333bd5=='arcgis-dynamic'||_0x333bd5==_0x45c27e(0x144)){const _0xc26697=appendPath(_0x261c59,_0x3918cf),_0x354c0f=new a87_0x2edf00(_0xc26697,{'outSR':_0x93e591,'where':_0x5c6c60});_0x354c0f['intersects'](_0x5a7dc7,_0x93e591),_0x1bb190=await _0x354c0f['run']();}else{if(_0x333bd5==_0x45c27e(0x13a)||_0x333bd5==_0x45c27e(0x147)){const _0x2a8d80=new a87_0x36a351(_0x261c59),_0x2af653=await getWFSLayerCapabilities(_0x261c59,_0x3918cf),_0x2fe589=_0x2af653[_0x45c27e(0x145)][_0x45c27e(0x146)](_0x3054c0=>_0x3054c0['fieldType']==0x6);_0x1bb190=await _0x2a8d80['execute']({'geometry':_0x5a7dc7,'tableName':_0x3918cf,'geometryName':_0x2fe589?_0x2fe589[_0x45c27e(0x13f)]:'','srsName':_0x93e591,'where':_0x5c6c60});}}}catch(_0x1e3854){}return _0x1bb190;}
|