ym-gis-2d 1.0.34 → 1.0.35
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/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/entity/measure/AreaMeasureUnits.js +1 -1
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/AreaMeasure.js +1 -1
- package/interaction/Difference.js +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Modify.d.ts +15 -0
- package/interaction/Modify.d.ts.map +1 -0
- package/interaction/Modify.js +1 -0
- package/interaction/Modify.js.map +1 -0
- package/interaction/Select.js +1 -1
- package/interaction/Split.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.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 a87_0x3cc1fa=a87_0x2321;(function(_0x45de25,_0x15fe5f){const _0x58e219=a87_0x2321,_0xcae7be=_0x45de25();while(!![]){try{const _0x2a4fb2=parseInt(_0x58e219(0x1f2))/0x1*(parseInt(_0x58e219(0x1ea))/0x2)+parseInt(_0x58e219(0x1dc))/0x3+parseInt(_0x58e219(0x1d7))/0x4+-parseInt(_0x58e219(0x1fb))/0x5+-parseInt(_0x58e219(0x1d2))/0x6+-parseInt(_0x58e219(0x1da))/0x7+-parseInt(_0x58e219(0x1eb))/0x8*(-parseInt(_0x58e219(0x1d6))/0x9);if(_0x2a4fb2===_0x15fe5f)break;else _0xcae7be['push'](_0xcae7be['shift']());}catch(_0x42485e){_0xcae7be['push'](_0xcae7be['shift']());}}}(a87_0x5280,0xf3d92));import a87_0x1c13f1 from'color';function a87_0x2321(_0x40e569,_0x548b4d){const _0x52804a=a87_0x5280();return a87_0x2321=function(_0x2321ae,_0x12ecef){_0x2321ae=_0x2321ae-0x1cb;let _0x448802=_0x52804a[_0x2321ae];return _0x448802;},a87_0x2321(_0x40e569,_0x548b4d);}import a87_0x517092 from'./writeTextToCanvas';import{Icon}from'ol/style';import a87_0x459109 from'ol/ImageState';function a87_0x5280(){const _0x487d74=['fromMakiIconId','listenImageChange','bold\x20','fill','toDataURL','getImage','4222830IhCUph','beginPath','stroke','bezierCurveTo','5807304gQzLFq','3079024ZbDaDM','createElement','globalCompositeOperation','7091770gbKVcc','ERROR','1496664XsRlCL','width','getImageState','lineTo','fillRect','fillStyle','save','closePath','getContext','destination-over','drawImage','LOADED','#000000','height','6yWVUjz','24DAUVPa','_cache','size\x20is\x20required','round','stringify','lighten','load','43103ANgvlH','url\x20is\x20required','canvas','hexa','color\x20is\x20required','lineWidth','IDLE','px\x20sans-serif','strokeStyle','3090020EidbsI','fromColor'];a87_0x5280=function(){return _0x487d74;};return a87_0x5280();}import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x121d23=a87_0x2321;this[_0x121d23(0x1ec)]={};}[a87_0x3cc1fa(0x1cb)](_0x353d2a,_0x11d6dd){const _0x474065=a87_0x3cc1fa;if(!_0x353d2a)throw new Error(_0x474065(0x1f6));if(!_0x11d6dd)throw new Error(_0x474065(0x1ed));return createPin('','',_0x353d2a,_0x11d6dd,this[_0x474065(0x1ec)]);}['fromUrl'](_0x4bcdd4,_0x1e37c0,_0x3486b5){const _0xeaa9f5=a87_0x3cc1fa;if(!_0x4bcdd4)throw new Error(_0xeaa9f5(0x1f3));if(!_0x1e37c0)throw new Error('color\x20is\x20required');if(!_0x3486b5)throw new Error('size\x20is\x20required');return createPin(_0x4bcdd4,'',_0x1e37c0,_0x3486b5,this[_0xeaa9f5(0x1ec)]);}[a87_0x3cc1fa(0x1cc)](_0x4b1e3a,_0x2823c1,_0x2245b0){const _0x25499e=a87_0x3cc1fa;if(!_0x4b1e3a)throw new Error('id\x20is\x20required');if(!_0x2823c1)throw new Error(_0x25499e(0x1f6));if(!_0x2245b0)throw new Error(_0x25499e(0x1ed));return createPin(parseImage(_0x4b1e3a),'',_0x2823c1,_0x2245b0,this[_0x25499e(0x1ec)]);}['fromText'](_0x1405b9,_0x4a7512,_0x14b89a){const _0x14d47b=a87_0x3cc1fa;if(!_0x1405b9)throw new Error('text\x20is\x20required');if(!_0x4a7512)throw new Error(_0x14d47b(0x1f6));if(!_0x14b89a)throw new Error(_0x14d47b(0x1ed));return createPin('',_0x1405b9,_0x4a7512,_0x14b89a,this[_0x14d47b(0x1ec)]);}}function drawPin(_0x46a4c5,_0x59005b,_0x23252c){const _0x111b3c=a87_0x3cc1fa;_0x46a4c5[_0x111b3c(0x1e2)](),_0x46a4c5['scale'](_0x23252c/0x18,_0x23252c/0x18),_0x46a4c5[_0x111b3c(0x1e1)]=_0x59005b,_0x46a4c5[_0x111b3c(0x1fa)]=a87_0x1c13f1(_0x59005b)[_0x111b3c(0x1f0)](0.6)[_0x111b3c(0x1f5)](),_0x46a4c5[_0x111b3c(0x1f7)]=0.846,_0x46a4c5[_0x111b3c(0x1d3)](),_0x46a4c5['moveTo'](6.72,0.422),_0x46a4c5[_0x111b3c(0x1df)](17.28,0.422),_0x46a4c5[_0x111b3c(0x1d5)](18.553,0.422,19.577,1.758,19.577,3.415),_0x46a4c5[_0x111b3c(0x1df)](19.577,10.973),_0x46a4c5[_0x111b3c(0x1d5)](19.577,12.63,18.553,13.966,17.282,13.966),_0x46a4c5[_0x111b3c(0x1df)](14.386,14.008),_0x46a4c5[_0x111b3c(0x1df)](11.826,23.578),_0x46a4c5[_0x111b3c(0x1df)](9.614,14.008),_0x46a4c5['lineTo'](6.719,13.965),_0x46a4c5[_0x111b3c(0x1d5)](5.446,13.983,4.422,12.629,4.422,10.972),_0x46a4c5[_0x111b3c(0x1df)](4.422,3.416),_0x46a4c5[_0x111b3c(0x1d5)](4.423,1.76,5.447,0.423,6.718,0.423),_0x46a4c5[_0x111b3c(0x1e3)](),_0x46a4c5[_0x111b3c(0x1cf)](),_0x46a4c5[_0x111b3c(0x1d4)](),_0x46a4c5['restore']();}function drawIcon(_0x13f105,_0x326196,_0x2a2dbb){const _0x14bb14=a87_0x3cc1fa,_0x52e447=_0x2a2dbb/2.5;let _0x5857bc=_0x52e447,_0x486498=_0x52e447;if(_0x326196[_0x14bb14(0x1dd)]>_0x326196['height'])_0x486498=_0x52e447*(_0x326196[_0x14bb14(0x1e9)]/_0x326196[_0x14bb14(0x1dd)]);else _0x326196['width']<_0x326196[_0x14bb14(0x1e9)]&&(_0x5857bc=_0x52e447*(_0x326196[_0x14bb14(0x1dd)]/_0x326196[_0x14bb14(0x1e9)]));const _0x3b276a=Math['round']((_0x2a2dbb-_0x5857bc)/0x2),_0x302411=Math[_0x14bb14(0x1ee)](0x7/0x18*_0x2a2dbb-_0x486498/0x2);_0x13f105[_0x14bb14(0x1d9)]='destination-out',_0x13f105[_0x14bb14(0x1e6)](_0x326196,_0x3b276a-0x1,_0x302411,_0x5857bc,_0x486498),_0x13f105[_0x14bb14(0x1e6)](_0x326196,_0x3b276a,_0x302411-0x1,_0x5857bc,_0x486498),_0x13f105[_0x14bb14(0x1e6)](_0x326196,_0x3b276a+0x1,_0x302411,_0x5857bc,_0x486498),_0x13f105['drawImage'](_0x326196,_0x3b276a,_0x302411+0x1,_0x5857bc,_0x486498),_0x13f105[_0x14bb14(0x1d9)]='destination-over',_0x13f105[_0x14bb14(0x1e1)]=_0x14bb14(0x1e8),_0x13f105[_0x14bb14(0x1e0)](_0x3b276a-0x1,_0x302411-0x1,_0x5857bc+0x2,_0x486498+0x2),_0x13f105['globalCompositeOperation']='destination-out',_0x13f105[_0x14bb14(0x1e6)](_0x326196,_0x3b276a,_0x302411,_0x5857bc,_0x486498),_0x13f105['globalCompositeOperation']=_0x14bb14(0x1e5),_0x13f105[_0x14bb14(0x1e1)]='#FFFFFF',_0x13f105['fillRect'](_0x3b276a-0x1,_0x302411-0x2,_0x5857bc+0x2,_0x486498+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x2707f8,_0x13969d,_0x13059b,_0x1e6a1e,_0x5533b9){const _0x93a973=a87_0x3cc1fa;stringifyScratch[0x0]=_0x2707f8,stringifyScratch[0x1]=_0x13969d,stringifyScratch[0x2]=_0x13059b,stringifyScratch[0x3]=_0x1e6a1e;const _0x3d698c=JSON[_0x93a973(0x1ef)](stringifyScratch),_0x285d08=_0x5533b9[_0x3d698c];if(_0x285d08)return _0x285d08;const _0x21c172=document[_0x93a973(0x1d8)](_0x93a973(0x1f4));_0x21c172['width']=_0x1e6a1e,_0x21c172['height']=_0x1e6a1e;const _0x5758f5=_0x21c172[_0x93a973(0x1e4)]('2d');drawPin(_0x5758f5,_0x13059b,_0x1e6a1e);if(_0x2707f8)return new Promise(_0x16c040=>{const _0x2e2bdf=_0x93a973;let _0x28f336=new Icon({'src':_0x2707f8}),_0x1cc304=_0x28f336[_0x2e2bdf(0x1de)]();_0x1cc304===a87_0x459109[_0x2e2bdf(0x1e7)]||_0x1cc304===a87_0x459109[_0x2e2bdf(0x1db)]?(drawIcon(_0x5758f5,_0x28f336['getImage'](0x60),_0x1e6a1e),_0x5533b9[_0x3d698c]=_0x21c172[_0x2e2bdf(0x1d0)](),_0x16c040(_0x21c172[_0x2e2bdf(0x1d0)]())):(_0x1cc304===a87_0x459109[_0x2e2bdf(0x1f8)]&&_0x28f336[_0x2e2bdf(0x1f1)](),_0x28f336[_0x2e2bdf(0x1cd)](_0xb750cc=>{const _0x575db4=_0x2e2bdf;_0x1cc304=_0xb750cc['target']['getImageState'](),(_0x1cc304===a87_0x459109[_0x575db4(0x1e7)]||_0x1cc304===a87_0x459109[_0x575db4(0x1db)])&&(drawIcon(_0x5758f5,_0x28f336[_0x575db4(0x1d1)](0x60),_0x1e6a1e),_0x5533b9[_0x3d698c]=_0x21c172[_0x575db4(0x1d0)](),_0x16c040(_0x21c172['toDataURL']()));}));});else{if(_0x13969d){const _0x541c98=a87_0x517092(_0x13969d,{'font':_0x93a973(0x1ce)+_0x1e6a1e+_0x93a973(0x1f9)});drawIcon(_0x5758f5,_0x541c98,_0x1e6a1e);}}return _0x5533b9[_0x3d698c]=_0x21c172[_0x93a973(0x1d0)](),_0x21c172[_0x93a973(0x1d0)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a88_0x4f8eba=a88_0x50ea;(function(_0x25a4a9,_0x4e3908){const _0x104673=a88_0x50ea,_0x3de9a8=_0x25a4a9();while(!![]){try{const _0x21ab51=-parseInt(_0x104673(0x13c))/0x1*(-parseInt(_0x104673(0x139))/0x2)+-parseInt(_0x104673(0x128))/0x3+parseInt(_0x104673(0x137))/0x4+parseInt(_0x104673(0x11f))/0x5*(parseInt(_0x104673(0x125))/0x6)+parseInt(_0x104673(0x133))/0x7+parseInt(_0x104673(0x126))/0x8+-parseInt(_0x104673(0x138))/0x9;if(_0x21ab51===_0x4e3908)break;else _0x3de9a8['push'](_0x3de9a8['shift']());}catch(_0x449b3c){_0x3de9a8['push'](_0x3de9a8['shift']());}}}(a88_0x201d,0x62cd2));import a88_0x2a2810 from'./PinBuilder';import{Icon}from'ol/style';import a88_0x40a507 from'ol/ImageState';function a88_0x201d(){const _0x3bf55d=['options','2054736YrXozy','error','load','markerSize','fromText','target','loadIcon','listenImageChange','resolve','markerLabel','get','344162IhEIBp','then','getImage','ERROR','1098776dKRNIt','2226177KPizWB','17656AWeFPn','catch','LOADED','2CUdqVl','getImageState','_imageState','1290IpFgBM','IDLE','_icon','image','dispatchEvent','_listener','12162YYkjcs','3779784vxwcGR'];a88_0x201d=function(){return _0x3bf55d;};return a88_0x201d();}import a88_0x3c65a7 from'ol/events/Event';function a88_0x50ea(_0x398db1,_0x36966b){const _0x201d7a=a88_0x201d();return a88_0x50ea=function(_0x50eac2,_0x364813){_0x50eac2=_0x50eac2-0x11d;let _0xf49142=_0x201d7a[_0x50eac2];return _0xf49142;},a88_0x50ea(_0x398db1,_0x36966b);}import{shared as a88_0x613f81}from'./ImageCache';export default class PinIcon{constructor(_0x38a6e8){const _0x3e3a57=a88_0x50ea;this[_0x3e3a57(0x127)]=_0x38a6e8||{},this['_imageState']=a88_0x40a507[_0x3e3a57(0x120)],this[_0x3e3a57(0x121)]=a88_0x613f81[_0x3e3a57(0x132)](this[_0x3e3a57(0x127)]),this[_0x3e3a57(0x121)]&&(this['_imageState']=a88_0x40a507['LOADED']);}[a88_0x4f8eba(0x12a)](){const _0x1fce3e=a88_0x4f8eba;try{let _0x328b01,_0x40ecd6=new a88_0x2a2810();if(this[_0x1fce3e(0x127)][_0x1fce3e(0x131)])_0x328b01=_0x40ecd6[_0x1fce3e(0x12c)](this[_0x1fce3e(0x127)]['markerLabel'],this[_0x1fce3e(0x127)]['markerColor'],this[_0x1fce3e(0x127)][_0x1fce3e(0x12b)]||0x30);else this[_0x1fce3e(0x127)][_0x1fce3e(0x122)]&&(_0x328b01=_0x40ecd6['fromUrl'](this[_0x1fce3e(0x127)]['image'],this['options']['markerColor'],this['options'][_0x1fce3e(0x12b)]||0x30));Promise[_0x1fce3e(0x130)](_0x328b01)[_0x1fce3e(0x134)](_0x1d13e1=>{const _0x4f57c8=_0x1fce3e;this[_0x4f57c8(0x12e)](_0x1d13e1);})[_0x1fce3e(0x13a)](_0x499b78=>{const _0x119921=_0x1fce3e;console['warn'](_0x499b78),this[_0x119921(0x11e)]=a88_0x40a507[_0x119921(0x136)],this[_0x119921(0x123)](_0x119921(0x129));});}catch(_0x7b214f){console['warn'](_0x7b214f),this[_0x1fce3e(0x11e)]=a88_0x40a507[_0x1fce3e(0x136)],this[_0x1fce3e(0x123)](_0x1fce3e(0x129));}}['loadIcon'](_0x9eaa8d){const _0x123c9b=a88_0x4f8eba;this[_0x123c9b(0x121)]=new Icon({'src':_0x9eaa8d}),a88_0x613f81['set'](this[_0x123c9b(0x127)],this[_0x123c9b(0x121)]);let _0x4c6577=this[_0x123c9b(0x121)][_0x123c9b(0x11d)]();_0x4c6577===a88_0x40a507[_0x123c9b(0x13b)]||_0x4c6577===a88_0x40a507[_0x123c9b(0x136)]?(this[_0x123c9b(0x11e)]=this[_0x123c9b(0x121)][_0x123c9b(0x11d)](),this[_0x123c9b(0x123)](_0x123c9b(0x12a))):(_0x4c6577===a88_0x40a507[_0x123c9b(0x120)]&&this['_icon'][_0x123c9b(0x12a)](),this[_0x123c9b(0x121)][_0x123c9b(0x12f)](_0x2dc375=>{const _0x56128b=_0x123c9b;_0x4c6577=_0x2dc375[_0x56128b(0x12d)]['getImageState'](),(_0x4c6577===a88_0x40a507[_0x56128b(0x13b)]||_0x4c6577===a88_0x40a507[_0x56128b(0x136)])&&(this[_0x56128b(0x11e)]=this['_icon'][_0x56128b(0x11d)](),this['dispatchEvent'](_0x56128b(0x12a)));}));}[a88_0x4f8eba(0x11d)](){const _0x9e1e01=a88_0x4f8eba;return this[_0x9e1e01(0x11e)];}[a88_0x4f8eba(0x135)](){const _0x46bb34=a88_0x4f8eba;var _0x4719a9;return(_0x4719a9=this['_icon'])===null||_0x4719a9===void 0x0?void 0x0:_0x4719a9[_0x46bb34(0x135)]();}[a88_0x4f8eba(0x12f)](_0x45e34e){const _0x3510a0=a88_0x4f8eba;this[_0x3510a0(0x124)]=_0x45e34e;}[a88_0x4f8eba(0x123)](_0x2e52c0){const _0x4f204a=a88_0x4f8eba;if(this[_0x4f204a(0x124)]){let _0x3e8ae7=new a88_0x3c65a7(_0x2e52c0);_0x3e8ae7[_0x4f204a(0x12d)]=this,this[_0x4f204a(0x124)](_0x3e8ae7);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a89_0x140c(){const _0x552952=['canvas','data','strokeWidth','minx','2200xMwjMQ','getPropertyValue','#000000','fillColor','ascent','style','strokeStyle','backgroundColor','1599BDjZDx','getComputedStyle','1110807mJviWL','10469239nbHbpe','fillStyle','fill','25496Zlgtyf','measureText','getImageData','strokeText','removeChild','length','3198dNKvhX','fillText','height','fillRect','mozImageSmoothingEnabled','defaultView','createElement','msImageSmoothingEnabled','font','round','568OiDmgo','hidden','lineJoin','imageSmoothingEnabled','body','webkitImageSmoothingEnabled','1396170fCdAwh','test','#FFFFFF','padding','getContext','dimensions','lineWidth','text\x20is\x20required.','width','font-size','201SxdBdB','2316WgJHAT','stroke','replace','#00000000','427kfuFQi','appendChild','white','visibility'];a89_0x140c=function(){return _0x552952;};return a89_0x140c();}(function(_0x3e294e,_0x4f9ac9){const _0x42108f=a89_0x20cc,_0x5e74d8=_0x3e294e();while(!![]){try{const _0x48e06b=-parseInt(_0x42108f(0x137))/0x1*(parseInt(_0x42108f(0x127))/0x2)+-parseInt(_0x42108f(0x14c))/0x3*(parseInt(_0x42108f(0x138))/0x4)+-parseInt(_0x42108f(0x144))/0x5*(parseInt(_0x42108f(0x11d))/0x6)+parseInt(_0x42108f(0x13c))/0x7*(-parseInt(_0x42108f(0x152))/0x8)+-parseInt(_0x42108f(0x14e))/0x9+parseInt(_0x42108f(0x12d))/0xa+parseInt(_0x42108f(0x14f))/0xb;if(_0x48e06b===_0x4f9ac9)break;else _0x5e74d8['push'](_0x5e74d8['shift']());}catch(_0x2c8a7b){_0x5e74d8['push'](_0x5e74d8['shift']());}}}(a89_0x140c,0x2a50d));function measureText(_0x4872a6,_0x2dc553,_0x5df291,_0x3e5906,_0x1cc3e2){const _0x56dc63=a89_0x20cc,_0x54c1e9=_0x4872a6[_0x56dc63(0x153)](_0x2dc553),_0x334e3b=!/\S/[_0x56dc63(0x12e)](_0x2dc553);if(!_0x334e3b&&document[_0x56dc63(0x122)]){const _0x588fb4=document[_0x56dc63(0x122)][_0x56dc63(0x14d)](_0x4872a6['canvas'])[_0x56dc63(0x145)](_0x56dc63(0x136))[_0x56dc63(0x13a)]('px',''),_0x500d1a=document[_0x56dc63(0x123)](_0x56dc63(0x140)),_0x4875=0x64,_0x222e4b=_0x54c1e9[_0x56dc63(0x135)]+_0x4875|0x0,_0x150393=0x3*(_0x588fb4-0x0),_0x538df0=_0x150393/0x2;_0x500d1a['width']=_0x222e4b,_0x500d1a[_0x56dc63(0x11f)]=_0x150393;const _0x45577b=_0x500d1a[_0x56dc63(0x131)]('2d');if(!_0x45577b)return{};_0x45577b[_0x56dc63(0x125)]=_0x5df291,_0x45577b['fillStyle']=_0x56dc63(0x13e),_0x45577b[_0x56dc63(0x120)](0x0,0x0,_0x500d1a[_0x56dc63(0x135)]+0x1,_0x500d1a[_0x56dc63(0x11f)]+0x1);_0x3e5906&&(_0x45577b[_0x56dc63(0x14a)]='black',_0x45577b[_0x56dc63(0x133)]=_0x4872a6[_0x56dc63(0x133)],_0x45577b[_0x56dc63(0x11a)](_0x2dc553,_0x4875/0x2,_0x538df0));_0x1cc3e2&&(_0x45577b[_0x56dc63(0x150)]='black',_0x45577b[_0x56dc63(0x11e)](_0x2dc553,_0x4875/0x2,_0x538df0));const _0x16a0e7=_0x45577b[_0x56dc63(0x154)](0x0,0x0,_0x222e4b,_0x150393)[_0x56dc63(0x141)],_0x1245f9=_0x16a0e7[_0x56dc63(0x11c)],_0x2a57ca=_0x222e4b*0x4;let _0x5d836e,_0x1fbab0,_0x5dd864=0x0,_0x3816ae=0x0;for(_0x5d836e=0x0;_0x5d836e<_0x1245f9;++_0x5d836e){if(_0x16a0e7[_0x5d836e]!==0xff){_0x5dd864=_0x5d836e/_0x2a57ca|0x0;break;}}for(_0x5d836e=_0x1245f9-0x1;_0x5d836e>=0x0;--_0x5d836e){if(_0x16a0e7[_0x5d836e]!==0xff){_0x3816ae=_0x5d836e/_0x2a57ca|0x0;break;}}let _0x5b675e=-0x1;for(_0x5d836e=0x0;_0x5d836e<_0x222e4b&&_0x5b675e===-0x1;++_0x5d836e){for(_0x1fbab0=0x0;_0x1fbab0<_0x150393;++_0x1fbab0){const _0x4ab51e=_0x5d836e*0x4+_0x1fbab0*_0x2a57ca;if(_0x16a0e7[_0x4ab51e]!==0xff||_0x16a0e7[_0x4ab51e+0x1]!==0xff||_0x16a0e7[_0x4ab51e+0x2]!==0xff||_0x16a0e7[_0x4ab51e+0x3]!==0xff){_0x5b675e=_0x5d836e;break;}}}return{'width':_0x54c1e9[_0x56dc63(0x135)],'height':_0x3816ae-_0x5dd864,'ascent':_0x538df0-_0x5dd864,'descent':_0x3816ae-_0x538df0,'minx':_0x5b675e-_0x4875/0x2};}return{'width':_0x54c1e9['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a89_0x20cc(_0x39f486,_0x3ef85a){const _0x140c59=a89_0x140c();return a89_0x20cc=function(_0x20cc62,_0x38d5ff){_0x20cc62=_0x20cc62-0x11a;let _0x59ef91=_0x140c59[_0x20cc62];return _0x59ef91;},a89_0x20cc(_0x39f486,_0x3ef85a);}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x307ac8,_0x198f8c){const _0x2d74da=a89_0x20cc;if(!_0x307ac8)throw new Error(_0x2d74da(0x134));if(_0x307ac8==='')return undefined;_0x198f8c=defaultValue(_0x198f8c,{});const _0x11a23b=defaultValue(_0x198f8c['font'],'10px\x20sans-serif'),_0x3e1f4b=defaultValue(_0x198f8c[_0x2d74da(0x139)],![]),_0x2fa5cc=defaultValue(_0x198f8c[_0x2d74da(0x151)],!![]),_0x376bc1=defaultValue(_0x198f8c[_0x2d74da(0x142)],0x1),_0x4830f8=defaultValue(_0x198f8c[_0x2d74da(0x14b)],_0x2d74da(0x13b)),_0x9624c7=defaultValue(_0x198f8c[_0x2d74da(0x130)],0x0),_0x3046e2=_0x9624c7*0x2,_0x186b85=document[_0x2d74da(0x123)](_0x2d74da(0x140));_0x186b85[_0x2d74da(0x135)]=0x1,_0x186b85['height']=0x1,_0x186b85[_0x2d74da(0x149)]['font']=_0x11a23b;const _0x43eb16=_0x186b85[_0x2d74da(0x131)]('2d');if(!imageSmoothingEnabledName&&_0x43eb16){if(_0x43eb16[_0x2d74da(0x12a)])imageSmoothingEnabledName=_0x2d74da(0x12a);else{if(_0x43eb16[_0x2d74da(0x121)])imageSmoothingEnabledName=_0x2d74da(0x121);else{if(_0x43eb16['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x2d74da(0x12c);else _0x43eb16[_0x2d74da(0x124)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x43eb16[_0x2d74da(0x125)]=_0x11a23b,_0x43eb16[_0x2d74da(0x129)]=_0x2d74da(0x126),_0x43eb16[_0x2d74da(0x133)]=_0x376bc1,_0x43eb16[imageSmoothingEnabledName]=![],_0x186b85[_0x2d74da(0x149)]['visibility']=_0x2d74da(0x128),document[_0x2d74da(0x12b)][_0x2d74da(0x13d)](_0x186b85);const _0x2f8bcd=measureText(_0x43eb16,_0x307ac8,_0x11a23b,_0x3e1f4b,_0x2fa5cc);if(!_0x2f8bcd)return;_0x186b85[_0x2d74da(0x132)]=_0x2f8bcd,document['body'][_0x2d74da(0x11b)](_0x186b85),_0x186b85[_0x2d74da(0x149)][_0x2d74da(0x13f)]='';const _0x344cdd=-(_0x2f8bcd[_0x2d74da(0x143)]?_0x2f8bcd['minx']:0x0),_0xa7ba7a=Math['ceil'](_0x2f8bcd[_0x2d74da(0x135)])+_0x344cdd+_0x3046e2,_0x316f93=(_0x2f8bcd[_0x2d74da(0x11f)]?_0x2f8bcd['height']:0x0)+_0x3046e2,_0x88be77=_0x316f93-(_0x2f8bcd[_0x2d74da(0x148)]?_0x2f8bcd[_0x2d74da(0x148)]:0x0)+_0x9624c7,_0x154fd1=_0x316f93-_0x88be77+_0x3046e2;return _0x186b85[_0x2d74da(0x135)]=_0xa7ba7a,_0x186b85[_0x2d74da(0x11f)]=_0x316f93,_0x43eb16['font']=_0x11a23b,_0x43eb16[_0x2d74da(0x129)]='round',_0x43eb16[_0x2d74da(0x133)]=_0x376bc1,_0x43eb16[imageSmoothingEnabledName]=![],_0x4830f8!=='#00000000'&&(_0x43eb16[_0x2d74da(0x150)]=_0x4830f8,_0x43eb16['fillRect'](0x0,0x0,_0x186b85[_0x2d74da(0x135)],_0x186b85[_0x2d74da(0x11f)])),_0x3e1f4b&&(_0x43eb16['strokeStyle']=defaultValue(_0x198f8c['strokeColor'],_0x2d74da(0x146)),_0x43eb16[_0x2d74da(0x11a)](_0x307ac8,_0x344cdd+_0x9624c7,_0x154fd1)),_0x2fa5cc&&(_0x43eb16[_0x2d74da(0x150)]=defaultValue(_0x198f8c[_0x2d74da(0x147)],_0x2d74da(0x12f)),_0x43eb16[_0x2d74da(0x11e)](_0x307ac8,_0x344cdd+_0x9624c7,_0x154fd1)),_0x186b85;}function defaultValue(_0xf98fae,_0x1eddec){if(_0xf98fae!==undefined&&_0xf98fae!==null)return _0xf98fae;return _0x1eddec;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a94_0xa246(_0x2d697d,_0x47e8ad){const _0x59e63b=a94_0x59e6();return a94_0xa246=function(_0xa2462c,_0x1ebb64){_0xa2462c=_0xa2462c-0xe9;let _0x23eeaa=_0x59e63b[_0xa2462c];return _0x23eeaa;},a94_0xa246(_0x2d697d,_0x47e8ad);}const a94_0xa001ec=a94_0xa246;(function(_0xcb85bc,_0x5d1e6f){const _0x24fb37=a94_0xa246,_0x35470c=_0xcb85bc();while(!![]){try{const _0x5805b7=-parseInt(_0x24fb37(0xef))/0x1+parseInt(_0x24fb37(0xea))/0x2*(parseInt(_0x24fb37(0xf7))/0x3)+parseInt(_0x24fb37(0xfa))/0x4*(parseInt(_0x24fb37(0x105))/0x5)+parseInt(_0x24fb37(0xf2))/0x6*(-parseInt(_0x24fb37(0xee))/0x7)+parseInt(_0x24fb37(0x10d))/0x8*(-parseInt(_0x24fb37(0xf1))/0x9)+-parseInt(_0x24fb37(0x103))/0xa*(-parseInt(_0x24fb37(0x10c))/0xb)+-parseInt(_0x24fb37(0xf6))/0xc*(-parseInt(_0x24fb37(0xeb))/0xd);if(_0x5805b7===_0x5d1e6f)break;else _0x35470c['push'](_0x35470c['shift']());}catch(_0x30ad34){_0x35470c['push'](_0x35470c['shift']());}}}(a94_0x59e6,0x558fb));import a94_0x511ed8 from'ol/format/EsriJSON';import a94_0x116751 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a94_0x4861c8 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a94_0x4861c8{constructor(_0x47437b,_0x1eb7a0,_0x5428a1){const _0x421608=a94_0xa246;super(_0x47437b,_0x1eb7a0,_0x5428a1),this[_0x421608(0x109)]='identify',this[_0x421608(0x106)]={'layers':_0x421608(0xfc),'tolerance':0x0,'returnGeometry':!![]},this[_0x421608(0xfe)]=0x3,this['resolution']=0x0,this[_0x421608(0x104)]=appendPath(this[_0x421608(0x104)],this[_0x421608(0x109)]),_0x1eb7a0&&((_0x1eb7a0['returnGeometry']===!![]||_0x1eb7a0[_0x421608(0x100)]===![])&&(this['params'][_0x421608(0x100)]=_0x1eb7a0[_0x421608(0x100)]),_0x1eb7a0['layers']&&(this['params'][_0x421608(0x102)]=_0x1eb7a0['layers']),_0x1eb7a0[_0x421608(0xf5)]&&(this[_0x421608(0x106)][_0x421608(0xf5)]=_0x1eb7a0[_0x421608(0xf5)]),(_0x1eb7a0[_0x421608(0x10f)]===!![]||_0x1eb7a0[_0x421608(0x10f)]===![])&&(this[_0x421608(0x106)][_0x421608(0x10f)]=_0x1eb7a0[_0x421608(0x10f)]),(_0x1eb7a0[_0x421608(0xff)]===!![]||_0x1eb7a0['returnM']===![])&&(this[_0x421608(0x106)][_0x421608(0xff)]=_0x1eb7a0[_0x421608(0xff)]));}['at'](_0x410bb9,_0x1631b8){const _0x33267d=a94_0xa246;let _0x5b9c7b,_0x352eed;const _0x5dcd3b=new a94_0x116751();_0x5b9c7b=_0x410bb9,_0x352eed=getEsriSpatialReference(_0x1631b8[_0x33267d(0xf4)]()[_0x33267d(0x108)]()['getCode']());const _0x11e066=_0x1631b8['getSize']();_0x11e066&&(this[_0x33267d(0x106)]['imageDisplay']=[_0x11e066[0x0],_0x11e066[0x1],0x60]);this[_0x33267d(0x106)]['sr']=_0x352eed;const _0x14565b=_0x1631b8[_0x33267d(0xf4)]()[_0x33267d(0xf0)](_0x1631b8['getSize']());this['params'][_0x33267d(0xec)]={'xmin':_0x14565b[0x0],'ymin':_0x14565b[0x1],'xmax':_0x14565b[0x2],'ymax':_0x14565b[0x3],'spatialReference':_0x352eed};const _0x40dc7f=_0x1631b8['getView']()[_0x33267d(0xfd)](),_0x1672b7=_0x1631b8['getView']()['getCenter']();return _0x40dc7f&&_0x1672b7&&(this[_0x33267d(0xfb)]=getPointResolution(_0x1631b8[_0x33267d(0xf4)]()['getProjection'](),_0x40dc7f,_0x1672b7)),this['_setGeometryParams'](_0x5b9c7b,_0x1631b8[_0x33267d(0xf4)]()['getProjection']()[_0x33267d(0xf3)]()),this;}[a94_0xa001ec(0xf8)](_0x5f51bc,_0x6b6b0d){const _0x2c879e=a94_0xa001ec;return this[_0x2c879e(0x106)]['time']=[_0x5f51bc[_0x2c879e(0x10b)](),_0x6b6b0d[_0x2c879e(0x10b)]()],this;}['run'](){const _0x337483=a94_0xa001ec;this[_0x337483(0x10e)]();}[a94_0xa001ec(0xf9)](_0x49ed72,_0x1ea2d4){const _0x37ec86=a94_0xa001ec;var _0x57d337=new a94_0x511ed8();const _0x1b1585=_0x57d337[_0x37ec86(0xe9)](_0x49ed72);this[_0x37ec86(0x106)][_0x37ec86(0x101)]=getEsriSpatialReference(_0x1ea2d4),this[_0x37ec86(0x106)][_0x37ec86(0x10a)]=_0x1b1585,this['params'][_0x37ec86(0xed)]=this[_0x37ec86(0x107)](_0x49ed72['getType']());}}function a94_0x59e6(){const _0x5df6de=['url','5wATReH','params','geojsonTypeToArcGIS','getProjection','path','geometry','valueOf','649DWyzHA','17328KQuJqw','request','returnZ','writeGeometryObject','4822KZkuPQ','2898701HXRBze','mapExtent','geometryType','159243RqffVn','467163jRVjpM','calculateExtent','729anupXv','6cuvWcp','getCode','getView','layerDefs','12xgkZZL','144BwErIk','between','_setGeometryParams','2515400JboFiH','resolution','all','getResolution','tolerance','returnM','returnGeometry','inSR','layers','8180ltoxNR'];a94_0x59e6=function(){return _0x5df6de;};return a94_0x59e6();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a95_0x445d7c=a95_0x1b47;function a95_0x1b47(_0x46c9ee,_0x456908){const _0x3bd317=a95_0x3bd3();return a95_0x1b47=function(_0x1b47a2,_0x1ab188){_0x1b47a2=_0x1b47a2-0xec;let _0x4a3fa0=_0x3bd317[_0x1b47a2];return _0x4a3fa0;},a95_0x1b47(_0x46c9ee,_0x456908);}(function(_0x33640d,_0x1cf7f8){const _0x4e69f5=a95_0x1b47,_0x325b39=_0x33640d();while(!![]){try{const _0x26977b=parseInt(_0x4e69f5(0x109))/0x1+-parseInt(_0x4e69f5(0xfa))/0x2*(-parseInt(_0x4e69f5(0xfb))/0x3)+parseInt(_0x4e69f5(0xee))/0x4*(-parseInt(_0x4e69f5(0x12d))/0x5)+parseInt(_0x4e69f5(0xf1))/0x6+parseInt(_0x4e69f5(0x121))/0x7+-parseInt(_0x4e69f5(0x137))/0x8*(-parseInt(_0x4e69f5(0x111))/0x9)+-parseInt(_0x4e69f5(0x10d))/0xa;if(_0x26977b===_0x1cf7f8)break;else _0x325b39['push'](_0x325b39['shift']());}catch(_0x2dcb5b){_0x325b39['push'](_0x325b39['shift']());}}}(a95_0x3bd3,0x4aac7));import a95_0x4bf4d4 from'ol/format/EsriJSON';import a95_0xef7f37 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a95_0x3bd3(){const _0xd831f1=['data','contains','getExtent','ASC','readFeature','returnCountOnly','query','warn','orderByFields','length','5sWhQBv','nearby','forEach','returnGeometry','spatialRel','geometryType','crosses','esriSpatialRelEnvelopeIntersects','esriSpatialRelWithin','_trapSQLerrors','104SXWMjI','intersects','returnZ','965296ZelZRW','simplify','touches','2611074gNMqhu','No\x20features\x20found','getSize','returnM','valueOf','_setGeometryParams','layer','count','/query','35424XYjNLL','45Nltcmy','maxAllowableOffset','returnDistinctValues','1=1','getTime','esriSpatialRelTouches','writeGeometryObject','time','esriSpatialRelIntersects','geometry','abs','distance','esriSRUnit_Meter','catch','723JWgWKb','outSR','url','_cleanParams','4163500YMcJUG','units','within','esriSpatialRelOverlaps','63333kIyDmF','returnIdsOnly','esriSpatialRelContains','request','between','path','distinct','inSR','join','orderBy','status','where','features','params','bboxIntersects','push','1193318wOQfFT','esriSpatialRelIndexIntersects'];a95_0x3bd3=function(){return _0xd831f1;};return a95_0x3bd3();}import{appendPath}from'../../UrlUtil';export default class Query extends a95_0xef7f37{constructor(_0x2a096a,_0x226ebe,_0x3dc546){const _0x518fe9=a95_0x1b47;super(_0x2a096a,_0x226ebe,_0x3dc546),this[_0x518fe9(0x116)]=_0x518fe9(0x129),this[_0x518fe9(0x11e)]={'returnGeometry':!![],'where':_0x518fe9(0xfe),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x518fe9(0xff)]()},this[_0x518fe9(0x10b)]=appendPath(this['url'],this[_0x518fe9(0x116)]),_0x226ebe&&((_0x226ebe[_0x518fe9(0x130)]===!![]||_0x226ebe[_0x518fe9(0x130)]===![])&&(this['params'][_0x518fe9(0x130)]=_0x226ebe['returnGeometry']),_0x226ebe['where']&&(this[_0x518fe9(0x11e)][_0x518fe9(0x11c)]=_0x226ebe[_0x518fe9(0x11c)]),_0x226ebe[_0x518fe9(0x10a)]&&(this[_0x518fe9(0x11e)][_0x518fe9(0x10a)]=getEsriSpatialReference(_0x226ebe['outSR'])),(_0x226ebe[_0x518fe9(0xed)]===!![]||_0x226ebe['returnZ']===![])&&(this[_0x518fe9(0x11e)][_0x518fe9(0xed)]=_0x226ebe[_0x518fe9(0xed)]),(_0x226ebe['returnM']===!![]||_0x226ebe[_0x518fe9(0xf4)]===![])&&(this[_0x518fe9(0x11e)]['returnM']=_0x226ebe['returnM']));}[a95_0x445d7c(0x10f)](_0x21745f,_0x4b909c){const _0x484da3=a95_0x445d7c;return this[_0x484da3(0xf6)](_0x21745f,_0x4b909c),this[_0x484da3(0x11e)][_0x484da3(0x131)]=_0x484da3(0x113),this;}[a95_0x445d7c(0xec)](_0x393070,_0x58e7e7){const _0x57954e=a95_0x445d7c;return this[_0x57954e(0xf6)](_0x393070,_0x58e7e7),this[_0x57954e(0x11e)][_0x57954e(0x131)]=_0x57954e(0x103),this;}[a95_0x445d7c(0x124)](_0x5ae594,_0x51a0c6){const _0x4d2080=a95_0x445d7c;return this[_0x4d2080(0xf6)](_0x5ae594,_0x51a0c6),this[_0x4d2080(0x11e)][_0x4d2080(0x131)]=_0x4d2080(0x135),this;}[a95_0x445d7c(0x133)](_0x331a44,_0x108a4b){const _0xe06974=a95_0x445d7c;return this[_0xe06974(0xf6)](_0x331a44,_0x108a4b),this[_0xe06974(0x11e)]['spatialRel']='esriSpatialRelCrosses',this;}[a95_0x445d7c(0xf0)](_0x5d9a1c,_0x100fb4){const _0x3eab09=a95_0x445d7c;return this[_0x3eab09(0xf6)](_0x5d9a1c,_0x100fb4),this[_0x3eab09(0x11e)]['spatialRel']=_0x3eab09(0x100),this;}['overlaps'](_0x551dab,_0x5ba283){const _0x9d442d=a95_0x445d7c;return this[_0x9d442d(0xf6)](_0x551dab,_0x5ba283),this['params']['spatialRel']=_0x9d442d(0x110),this;}[a95_0x445d7c(0x11f)](_0x4cab4c,_0x11f00a){const _0x52b031=a95_0x445d7c;return this[_0x52b031(0xf6)](_0x4cab4c,_0x11f00a),this[_0x52b031(0x11e)][_0x52b031(0x131)]=_0x52b031(0x134),this;}['indexIntersects'](_0x46438b,_0xa49377){const _0x174225=a95_0x445d7c;return this[_0x174225(0xf6)](_0x46438b,_0xa49377),this[_0x174225(0x11e)]['spatialRel']=_0x174225(0x122),this;}[a95_0x445d7c(0x12e)](_0x47ec92,_0x1d997e,_0x28d53c){const _0x43e357=a95_0x445d7c;return this['_setGeometryParams'](_0x47ec92,_0x1d997e),this[_0x43e357(0x11e)]['spatialRel']=_0x43e357(0x103),this['params'][_0x43e357(0x10e)]=_0x43e357(0x107),this[_0x43e357(0x11e)][_0x43e357(0x106)]=_0x28d53c,this;}[a95_0x445d7c(0x11c)](_0x3787e9){const _0x407854=a95_0x445d7c;return this[_0x407854(0x11e)]['where']=_0x3787e9,this;}[a95_0x445d7c(0x115)](_0x1288ae,_0x3fc56e){const _0x5370df=a95_0x445d7c;return this[_0x5370df(0x11e)][_0x5370df(0x102)]=[_0x1288ae[_0x5370df(0xf5)](),_0x3fc56e[_0x5370df(0xf5)]()],this;}[a95_0x445d7c(0xef)](_0x40103f,_0x1beb46){const _0x575263=a95_0x445d7c,_0x41c6eb=_0x40103f[_0x575263(0x125)]();var _0x1d833c=Math[_0x575263(0x105)](_0x41c6eb[0x2]-_0x41c6eb[0x0]);const _0x3e3fcb=_0x40103f[_0x575263(0xf3)]();if(_0x3e3fcb)return this[_0x575263(0x11e)][_0x575263(0xfc)]=_0x1d833c/_0x3e3fcb[0x1]*_0x1beb46,this;}[a95_0x445d7c(0x11a)](_0x6e967e,_0x12623e){const _0x2bfbdd=a95_0x445d7c;return _0x12623e=_0x12623e||_0x2bfbdd(0x126),this['params'][_0x2bfbdd(0x12b)]=this['params'][_0x2bfbdd(0x12b)]?this[_0x2bfbdd(0x11e)][_0x2bfbdd(0x12b)]+',':'',this['params']['orderByFields']+=[_0x6e967e,_0x12623e][_0x2bfbdd(0x119)]('\x20'),this;}async['run'](){const _0x247512=a95_0x445d7c;this[_0x247512(0x10c)]();const _0xa95bc6=await this[_0x247512(0x114)]()[_0x247512(0x108)](_0x37621c=>{throw new Error(_0x37621c);});if(_0xa95bc6[_0x247512(0x11b)]!==0xc8)throw new Error(_0x247512(0xf2));if(_0xa95bc6[_0x247512(0x123)]&&_0xa95bc6[_0x247512(0x123)][_0x247512(0x11d)]&&_0xa95bc6[_0x247512(0x123)][_0x247512(0x11d)][_0x247512(0x12c)]>0x0){var _0x12154f=new a95_0x4bf4d4();let _0xecfeaf=[];return _0xa95bc6[_0x247512(0x123)][_0x247512(0x11d)][_0x247512(0x12f)](_0x481ba4=>{const _0x42c5d8=_0x247512,_0x2c1c62=_0x12154f[_0x42c5d8(0x127)](_0x481ba4);_0xecfeaf[_0x42c5d8(0x120)](_0x2c1c62);}),_0xecfeaf;}return[];}[a95_0x445d7c(0xf8)](){const _0x1f994d=a95_0x445d7c;this[_0x1f994d(0x10c)](),this[_0x1f994d(0x11e)][_0x1f994d(0x128)]=!![],this[_0x1f994d(0x114)]();}['ids'](){const _0x1e7eb1=a95_0x445d7c;this[_0x1e7eb1(0x10c)](),this['params'][_0x1e7eb1(0x112)]=!![],this[_0x1e7eb1(0x114)]();}[a95_0x445d7c(0x117)](){const _0x58448d=a95_0x445d7c;return this[_0x58448d(0x11e)][_0x58448d(0x130)]=![],this[_0x58448d(0x11e)][_0x58448d(0xfd)]=!![],this;}[a95_0x445d7c(0xf7)](_0x3688df){const _0x1b6687=a95_0x445d7c;return this[_0x1b6687(0x116)]=_0x3688df+_0x1b6687(0xf9),this;}[a95_0x445d7c(0x136)](_0x5b0fbf){const _0x47b77b=a95_0x445d7c;_0x5b0fbf&&(_0x5b0fbf['code']==='400'&&console[_0x47b77b(0x12a)]['apply']('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a95_0x445d7c(0x10c)](){const _0x304a73=a95_0x445d7c;delete this['params'][_0x304a73(0x112)],delete this[_0x304a73(0x11e)]['returnExtentOnly'],delete this[_0x304a73(0x11e)]['returnCountOnly'];}[a95_0x445d7c(0xf6)](_0x32668c,_0x493fc7){const _0x1573eb=a95_0x445d7c;var _0x3ca3cc=new a95_0x4bf4d4();const _0x1d7cb6=_0x3ca3cc[_0x1573eb(0x101)](_0x32668c);this[_0x1573eb(0x11e)][_0x1573eb(0x118)]=getEsriSpatialReference(_0x493fc7),this[_0x1573eb(0x11e)][_0x1573eb(0x104)]=_0x1d7cb6,this['params'][_0x1573eb(0x132)]=this['geojsonTypeToArcGIS'](_0x32668c['getType']());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a96_0x1b79(){var _0x3fd7a8=['1288260Klrbcw','returnUnformattedValues','MultiLineString','length','5027gtKDnR','4664646asgAKz','test','get','stringify','format','esriGeometryPolyline','51pViODS','esriGeometryMultipoint','esriGeometryPolygon','8110JIIpxI','MultiPoint','8EjpfzW','52530PbIBQG','serialize','method','[object\x20Array]','225gGYxOM','call','JSONP','toString','334927iEJlJC','url','2425584LVpsVr','json','geojsonTypeToArcGIS','prototype','[object\x20Object]','207484catoau','2RrhOZb','params','valueOf','request','esriGeometryPoint','MultiPolygon'];a96_0x1b79=function(){return _0x3fd7a8;};return a96_0x1b79();}var a96_0x23cf3f=a96_0x478c;(function(_0x1ed528,_0xbb71c4){var _0x3f896d=a96_0x478c,_0x95d8f3=_0x1ed528();while(!![]){try{var _0x153f2e=-parseInt(_0x3f896d(0x1d0))/0x1*(-parseInt(_0x3f896d(0x1d8))/0x2)+-parseInt(_0x3f896d(0x1e9))/0x3*(-parseInt(_0x3f896d(0x1d7))/0x4)+parseInt(_0x3f896d(0x1cc))/0x5*(-parseInt(_0x3f896d(0x1ef))/0x6)+parseInt(_0x3f896d(0x1d2))/0x7*(-parseInt(_0x3f896d(0x1ee))/0x8)+parseInt(_0x3f896d(0x1e3))/0x9+parseInt(_0x3f896d(0x1ec))/0xa*(-parseInt(_0x3f896d(0x1e2))/0xb)+-parseInt(_0x3f896d(0x1de))/0xc;if(_0x153f2e===_0xbb71c4)break;else _0x95d8f3['push'](_0x95d8f3['shift']());}catch(_0x14b4ec){_0x95d8f3['push'](_0x95d8f3['shift']());}}}(a96_0x1b79,0x7e1cf));function a96_0x478c(_0x3ae623,_0x2c5470){var _0x1b79cd=a96_0x1b79();return a96_0x478c=function(_0x478c51,_0x4bf89b){_0x478c51=_0x478c51-0x1cb;var _0x3e15ec=_0x1b79cd[_0x478c51];return _0x3e15ec;},a96_0x478c(_0x3ae623,_0x2c5470);}import a96_0xd3a853 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x374e4f,_0x297f31,_0x34589a){var _0x272538=a96_0x478c;this['url']=_0x374e4f,this[_0x272538(0x1d9)]=_0x297f31||{},this[_0x272538(0x1f1)]=!_0x34589a?'GET':_0x34589a;}[a96_0x23cf3f(0x1d4)](_0x4da902){var _0x3cf260=a96_0x23cf3f,_0x1cd700;switch(_0x4da902){case'Point':_0x1cd700=_0x3cf260(0x1dc);break;case _0x3cf260(0x1ed):_0x1cd700=_0x3cf260(0x1ea);break;case'LineString':_0x1cd700=_0x3cf260(0x1e8);break;case _0x3cf260(0x1e0):_0x1cd700='esriGeometryPolyline';break;case'Polygon':_0x1cd700=_0x3cf260(0x1eb);break;case _0x3cf260(0x1dd):_0x1cd700=_0x3cf260(0x1eb);break;}return _0x1cd700;}['isArcgisOnline'](_0x56f1bc){var _0x215215=a96_0x23cf3f;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x215215(0x1e4)](_0x56f1bc);}[a96_0x23cf3f(0x1f0)](_0x26b2a3){var _0x19d3d4=a96_0x23cf3f,_0x21797c='';_0x26b2a3['f']=_0x26b2a3['f']||_0x19d3d4(0x1d3);for(var _0x309e0c in _0x26b2a3){if(Object[_0x19d3d4(0x1d5)]['hasOwnProperty'][_0x19d3d4(0x1cd)](_0x26b2a3,_0x309e0c)){var _0x4e67b5=_0x26b2a3[_0x309e0c],_0x45dbed=Object['prototype'][_0x19d3d4(0x1cf)][_0x19d3d4(0x1cd)](_0x4e67b5),_0xccb66;_0x21797c[_0x19d3d4(0x1e1)]&&(_0x21797c+='&');if(_0x45dbed===_0x19d3d4(0x1cb))_0xccb66=Object['prototype'][_0x19d3d4(0x1cf)][_0x19d3d4(0x1cd)](_0x4e67b5[0x0])===_0x19d3d4(0x1d6)?JSON[_0x19d3d4(0x1e6)](_0x4e67b5):_0x4e67b5['join'](',');else{if(_0x45dbed===_0x19d3d4(0x1d6))_0xccb66=JSON[_0x19d3d4(0x1e6)](_0x4e67b5);else _0x45dbed==='[object\x20Date]'?_0xccb66=_0x4e67b5[_0x19d3d4(0x1da)]():_0xccb66=_0x4e67b5;}_0x21797c+=encodeURIComponent(_0x309e0c)+'='+encodeURIComponent(_0xccb66);}}return _0x21797c;}[a96_0x23cf3f(0x1e7)](_0x339717){var _0x25bac1=a96_0x23cf3f;return this['params'][_0x25bac1(0x1df)]=!_0x339717,this;}async[a96_0x23cf3f(0x1db)](){var _0x143915=a96_0x23cf3f,_0x4ff651=this[_0x143915(0x1f0)](this[_0x143915(0x1d9)]);const _0x2ae189=this[_0x143915(0x1d1)]['indexOf']('?')>-0x1?this[_0x143915(0x1d1)]+'&'+_0x4ff651:this[_0x143915(0x1d1)]+'?'+_0x4ff651;if(this['method']==='GET')return a96_0xd3a853[_0x143915(0x1e5)](_0x2ae189);else{if(this['method']===_0x143915(0x1ce))return jsonp(_0x2ae189);else{const _0x4ae9f2=stringify(this['params']);return a96_0xd3a853['post'](this['url'],_0x4ae9f2);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a98_0x4b589b=a98_0x4970;(function(_0x4dac7a,_0x2dd012){const _0x3f66d6=a98_0x4970,_0x1a7955=_0x4dac7a();while(!![]){try{const _0x5c74cc=-parseInt(_0x3f66d6(0x8f))/0x1+parseInt(_0x3f66d6(0x96))/0x2*(parseInt(_0x3f66d6(0x89))/0x3)+-parseInt(_0x3f66d6(0xa1))/0x4*(-parseInt(_0x3f66d6(0x9a))/0x5)+parseInt(_0x3f66d6(0x9b))/0x6*(parseInt(_0x3f66d6(0x94))/0x7)+parseInt(_0x3f66d6(0x9f))/0x8+-parseInt(_0x3f66d6(0x83))/0x9+-parseInt(_0x3f66d6(0x8b))/0xa;if(_0x5c74cc===_0x2dd012)break;else _0x1a7955['push'](_0x1a7955['shift']());}catch(_0x4bf46e){_0x1a7955['push'](_0x1a7955['shift']());}}}(a98_0x3022,0xeecf3));function a98_0x4970(_0x515b4e,_0x82be3){const _0x302250=a98_0x3022();return a98_0x4970=function(_0x49703e,_0x5532cb){_0x49703e=_0x49703e-0x81;let _0x2b800e=_0x302250[_0x49703e];return _0x2b800e;},a98_0x4970(_0x515b4e,_0x82be3);}import{and,intersects}from'ol/format/filter';import a98_0x16ceff from'../../format/CQL';import a98_0xabbacd from'ol/format/WFS';import a98_0x300943 from'ol/format/GeoJSON';import a98_0x48cfc4 from'ol/source/TileWMS';function a98_0x3022(){const _0x2e7789=['1.1.1','getFeatureInfoUrl','623HYykwk','POST','1202402qdYeQD','writeGetFeature','tableName','application/json','402850fNCNyU','105318DRZXfK','then','queryParameters','serializeToString','6477400FgjZmV','map','64EhriBg','url','geometry','anonymous','geometryName','error','srsName','where','resolution','features','srsName\x20is\x20required','1630431gGmfQS','executeRaster','execute','getCoordinates','the_geom','readFeature','6KGWkHD','read','30916460ttixcK','stringify','geometry\x20is\x20invalid','geoserver','612446NKOnbK','json','_geoserverQuery'];a98_0x3022=function(){return _0x2e7789;};return a98_0x3022();}import{getGeometryCenter}from'../../GeometryUtil';export default class QueryTask{constructor(_0x28fab2){const _0x483d9f=a98_0x4970;this[_0x483d9f(0x9d)]={},this[_0x483d9f(0xa2)]=_0x28fab2;}async[a98_0x4b589b(0x84)](_0x109401){const _0x50d2cd=a98_0x4b589b,_0x31a358=new a98_0x48cfc4({'url':this[_0x50d2cd(0xa2)],'params':{'LAYERS':_0x109401['tableName'],'TILED':!![],'VERSION':_0x50d2cd(0x92)},'serverType':_0x50d2cd(0x8e),'crossOrigin':_0x50d2cd(0xa4)}),_0x2846ac=_0x109401[_0x50d2cd(0xa9)]||0.001,_0x2fa89a=_0x109401[_0x50d2cd(0xa3)];if(!_0x2fa89a)throw new Error('geometry\x20is\x20required');let _0x164fd3=getGeometryCenter(_0x2fa89a);if(!_0x164fd3)throw new Error(_0x50d2cd(0x8d));const _0x1dbbfb=_0x31a358[_0x50d2cd(0x93)](_0x164fd3[_0x50d2cd(0x86)](),_0x2846ac,'EPSG:4326',{'INFO_FORMAT':'application/json'}),_0x21149f=await fetch(_0x1dbbfb,{'method':_0x50d2cd(0x95)}),_0x739652=await _0x21149f['json']();let _0x26b2c5=[];const _0x2d6221=new a98_0x300943();return _0x26b2c5=_0x739652[_0x50d2cd(0x81)][_0x50d2cd(0xa0)](_0x538efc=>{const _0x5e4954=_0x50d2cd;return _0x2d6221['readFeature'](JSON[_0x5e4954(0x8c)](_0x538efc));}),_0x26b2c5;}async[a98_0x4b589b(0x85)](_0x26571b){const _0x3a1fb7=a98_0x4b589b;this[_0x3a1fb7(0x9d)]=_0x26571b||{};const _0x9babb0=this[_0x3a1fb7(0x9d)]['geometryName']||_0x3a1fb7(0x87);let _0x4d6c00=this[_0x3a1fb7(0x9d)][_0x3a1fb7(0xa8)],_0x3e463f;_0x4d6c00&&(_0x3e463f=new a98_0x16ceff()[_0x3a1fb7(0x8a)](_0x4d6c00));let _0x197c46=_0x3e463f;if(this[_0x3a1fb7(0x9d)]['geometry']){if(!this[_0x3a1fb7(0x9d)][_0x3a1fb7(0xa7)])throw new Error(_0x3a1fb7(0x82));const _0x4c5e81=intersects(_0x9babb0,this[_0x3a1fb7(0x9d)][_0x3a1fb7(0xa3)]);_0x197c46=_0x3e463f?and(_0x3e463f,_0x4c5e81):_0x4c5e81;}let _0x290fa0=new a98_0xabbacd()[_0x3a1fb7(0x97)]({'srsName':this[_0x3a1fb7(0x9d)][_0x3a1fb7(0xa7)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3a1fb7(0x9d)]['tableName']],'outputFormat':_0x3a1fb7(0x99),'geometryName':_0x9babb0,'filter':_0x197c46});const _0x58851f=await fetch(this['url'],{'method':_0x3a1fb7(0x95),'body':new XMLSerializer()[_0x3a1fb7(0x9e)](_0x290fa0)}),_0x14176a=await _0x58851f[_0x3a1fb7(0x90)]();let _0x3d20c1=[];const _0x1c5b9f=new a98_0x300943();return _0x3d20c1=_0x14176a[_0x3a1fb7(0x81)][_0x3a1fb7(0xa0)](_0x275a0a=>{const _0x13ad5d=_0x3a1fb7;return _0x1c5b9f[_0x13ad5d(0x88)](JSON[_0x13ad5d(0x8c)](_0x275a0a));}),_0x3d20c1;}[a98_0x4b589b(0x91)](){const _0x2d84bb=a98_0x4b589b,_0x4f89a1=this[_0x2d84bb(0x9d)][_0x2d84bb(0xa5)]||_0x2d84bb(0x87);let _0x49b966=this['queryParameters'][_0x2d84bb(0xa8)],_0x2ad3b2;_0x49b966&&(_0x2ad3b2=new a98_0x16ceff()['read'](_0x49b966));let _0x168779=_0x2ad3b2;if(this['queryParameters']['geometry']){const _0x4f77f8=intersects(_0x4f89a1,this[_0x2d84bb(0x9d)]['geometry']);_0x168779=_0x2ad3b2?and(_0x2ad3b2,_0x4f77f8):_0x4f77f8;}let _0x396bc5=new a98_0xabbacd()[_0x2d84bb(0x97)]({'srsName':this['queryParameters'][_0x2d84bb(0xa7)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x2d84bb(0x98)]],'outputFormat':'application/json','geometryName':_0x4f89a1,'filter':_0x168779});return new Promise(_0xa991c=>{const _0x214d2a=_0x2d84bb;fetch(this['url'],{'method':_0x214d2a(0x95),'body':new XMLSerializer()[_0x214d2a(0x9e)](_0x396bc5)})['then'](_0x9ade90=>{const _0x28881e=_0x214d2a;return _0x9ade90[_0x28881e(0x90)]();})[_0x214d2a(0x9c)](_0x4b0b7d=>{const _0x1092ad=_0x214d2a;let _0x21ff9f=[];const _0x410729=new a98_0x300943();_0x21ff9f=_0x4b0b7d[_0x1092ad(0x81)][_0x1092ad(0xa0)](_0x43ba10=>{const _0x2506b8=_0x1092ad;return _0x410729[_0x2506b8(0x88)](JSON[_0x2506b8(0x8c)](_0x43ba10));}),_0xa991c(_0x21ff9f);})['catch'](_0x19e173=>{const _0x3ebae2=_0x214d2a;_0xa991c([]),console[_0x3ebae2(0xa6)](_0x19e173);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a99_0x4558(){const _0x2d93bc=['name','49sVEulC','7849188inqIpw','layerFields','6855006kVWggn','intersects','wms','execute','3025735pnkHqa','gwc/service/wmts','find','fieldType','arcgis-feature','geoserver-wmts','replace','arcgis-dynamic','612ptfzjB','323096BKDUwk','33MrJwKN','17176jmWliv','696zyDKAf','12223wJWKAL','210300CRZYzM','210PCHQcd','run','geoserver-wms'];a99_0x4558=function(){return _0x2d93bc;};return a99_0x4558();}function a99_0x498e(_0x4c668e,_0x23081a){const _0x45589a=a99_0x4558();return a99_0x498e=function(_0x498ed4,_0x2c3446){_0x498ed4=_0x498ed4-0xf8;let _0x2f4698=_0x45589a[_0x498ed4];return _0x2f4698;},a99_0x498e(_0x4c668e,_0x23081a);}(function(_0x45b267,_0x271014){const _0x1b5deb=a99_0x498e,_0x165717=_0x45b267();while(!![]){try{const _0x25f15d=parseInt(_0x1b5deb(0xfc))/0x1*(parseInt(_0x1b5deb(0xfe))/0x2)+-parseInt(_0x1b5deb(0xfb))/0x3*(-parseInt(_0x1b5deb(0xfa))/0x4)+parseInt(_0x1b5deb(0x109))/0x5+-parseInt(_0x1b5deb(0x105))/0x6+-parseInt(_0x1b5deb(0x102))/0x7*(parseInt(_0x1b5deb(0xf8))/0x8)+-parseInt(_0x1b5deb(0x111))/0x9*(-parseInt(_0x1b5deb(0xfd))/0xa)+-parseInt(_0x1b5deb(0xf9))/0xb*(parseInt(_0x1b5deb(0x103))/0xc);if(_0x25f15d===_0x271014)break;else _0x165717['push'](_0x165717['shift']());}catch(_0x33bb13){_0x165717['push'](_0x165717['shift']());}}}(a99_0x4558,0xe2647));import{appendPath}from'../UrlUtil';import a99_0x19f233 from'./esri/Query';import a99_0x2be580 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x268472,_0x24b1ee,_0x28ee02,_0x27b65c,_0x421a5f,_0x3c1bde,_0x46620a){const _0x58e956=a99_0x498e;if(!_0x28ee02||!_0x27b65c||!_0x421a5f||!_0x421a5f)return[];let _0x5201fc=[];try{if(_0x421a5f==_0x58e956(0x110)||_0x421a5f==_0x58e956(0x10d)){const _0x397897=appendPath(_0x28ee02,_0x27b65c),_0x33135c=new a99_0x19f233(_0x397897,{'outSR':_0x24b1ee,'where':_0x3c1bde});_0x33135c[_0x58e956(0x106)](_0x268472,_0x24b1ee),_0x5201fc=await _0x33135c[_0x58e956(0xff)]();}else{if(_0x421a5f=='geoserver-wfs'||_0x421a5f==_0x58e956(0x100)){const _0x258199=new a99_0x2be580(_0x28ee02),_0x38aa4f=await getWFSLayerCapabilities(_0x28ee02,_0x27b65c);if(_0x38aa4f&&_0x38aa4f[_0x58e956(0x104)]){const _0x4449aa=_0x38aa4f[_0x58e956(0x104)]['find'](_0x3567a1=>_0x3567a1[_0x58e956(0x10c)]==0x6);_0x5201fc=await _0x258199[_0x58e956(0x108)]({'geometry':_0x268472,'tableName':_0x27b65c,'geometryName':_0x4449aa?_0x4449aa[_0x58e956(0x101)]:'','srsName':_0x24b1ee,'where':_0x3c1bde});}else _0x5201fc=await _0x258199['executeRaster']({'geometry':_0x268472,'tableName':_0x27b65c,'geometryName':'','srsName':_0x24b1ee,'where':_0x3c1bde,'resolution':_0x46620a});}else{if(_0x421a5f==_0x58e956(0x10e)){_0x28ee02=_0x28ee02[_0x58e956(0x10f)](_0x58e956(0x10a),_0x58e956(0x107));const _0x1977fe=new a99_0x2be580(_0x28ee02),_0xa9b64e=await getWFSLayerCapabilities(_0x28ee02,_0x27b65c);if(_0xa9b64e&&_0xa9b64e[_0x58e956(0x104)]){let _0xb2516d=_0xa9b64e[_0x58e956(0x104)][_0x58e956(0x10b)](_0x447e63=>_0x447e63['fieldType']==0x6);_0x5201fc=await _0x1977fe[_0x58e956(0x108)]({'geometry':_0x268472,'tableName':_0x27b65c,'geometryName':_0xb2516d?_0xb2516d[_0x58e956(0x101)]:'','srsName':_0x24b1ee,'where':_0x3c1bde});}else _0x5201fc=await _0x1977fe['executeRaster']({'geometry':_0x268472,'tableName':_0x27b65c,'geometryName':'','srsName':_0x24b1ee,'where':_0x3c1bde,'resolution':_0x46620a});}}}}catch(_0x34e7f4){}return _0x5201fc;}
|