ym-gis-2d 1.0.19 → 1.0.21
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.d.ts +1 -0
- package/controls/LegendControl.d.ts.map +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.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
|
+
function a75_0xb301(_0x2cae07,_0x5bfd42){const _0xc40dba=a75_0xc40d();return a75_0xb301=function(_0xb3013d,_0x2902ed){_0xb3013d=_0xb3013d-0xe0;let _0x11d501=_0xc40dba[_0xb3013d];return _0x11d501;},a75_0xb301(_0x2cae07,_0x5bfd42);}const a75_0x3f85be=a75_0xb301;(function(_0x4203c1,_0x3903a8){const _0x3d60ee=a75_0xb301,_0x1a126b=_0x4203c1();while(!![]){try{const _0x42d4a6=-parseInt(_0x3d60ee(0x101))/0x1*(parseInt(_0x3d60ee(0xfe))/0x2)+parseInt(_0x3d60ee(0xe0))/0x3*(-parseInt(_0x3d60ee(0xed))/0x4)+-parseInt(_0x3d60ee(0xee))/0x5+parseInt(_0x3d60ee(0x113))/0x6*(-parseInt(_0x3d60ee(0xea))/0x7)+parseInt(_0x3d60ee(0x10e))/0x8*(parseInt(_0x3d60ee(0xe4))/0x9)+parseInt(_0x3d60ee(0xe5))/0xa+parseInt(_0x3d60ee(0xf0))/0xb;if(_0x42d4a6===_0x3903a8)break;else _0x1a126b['push'](_0x1a126b['shift']());}catch(_0x15aa0f){_0x1a126b['push'](_0x1a126b['shift']());}}}(a75_0xc40d,0x3ac3c));import a75_0x365d63 from'color';import a75_0xfd1b26 from'./writeTextToCanvas';import{Icon}from'ol/style';import a75_0x36a604 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x53153d=a75_0xb301;this[_0x53153d(0x10d)]={};}[a75_0x3f85be(0xf5)](_0x1c2f8b,_0x533462){const _0x103440=a75_0x3f85be;if(!_0x1c2f8b)throw new Error(_0x103440(0x107));if(!_0x533462)throw new Error('size\x20is\x20required');return createPin('','',_0x1c2f8b,_0x533462,this[_0x103440(0x10d)]);}[a75_0x3f85be(0xf2)](_0x2d0191,_0x8b5ad4,_0x2c0e90){const _0x3df5f0=a75_0x3f85be;if(!_0x2d0191)throw new Error(_0x3df5f0(0xef));if(!_0x8b5ad4)throw new Error('color\x20is\x20required');if(!_0x2c0e90)throw new Error(_0x3df5f0(0x111));return createPin(_0x2d0191,'',_0x8b5ad4,_0x2c0e90,this[_0x3df5f0(0x10d)]);}[a75_0x3f85be(0x115)](_0x343c31,_0x110d93,_0x46be18){const _0x4decdc=a75_0x3f85be;if(!_0x343c31)throw new Error(_0x4decdc(0xfd));if(!_0x110d93)throw new Error(_0x4decdc(0x107));if(!_0x46be18)throw new Error('size\x20is\x20required');return createPin(parseImage(_0x343c31),'',_0x110d93,_0x46be18,this[_0x4decdc(0x10d)]);}['fromText'](_0x4344d5,_0x253257,_0x2803cb){const _0x2a6b19=a75_0x3f85be;if(!_0x4344d5)throw new Error(_0x2a6b19(0x109));if(!_0x253257)throw new Error(_0x2a6b19(0x107));if(!_0x2803cb)throw new Error('size\x20is\x20required');return createPin('',_0x4344d5,_0x253257,_0x2803cb,this['_cache']);}}function drawPin(_0x45bf36,_0x23e99f,_0x5ae3a1){const _0x257f57=a75_0x3f85be;_0x45bf36[_0x257f57(0x103)](),_0x45bf36['scale'](_0x5ae3a1/0x18,_0x5ae3a1/0x18),_0x45bf36[_0x257f57(0x114)]=_0x23e99f,_0x45bf36[_0x257f57(0xf1)]=a75_0x365d63(_0x23e99f)['lighten'](0.6)[_0x257f57(0x104)](),_0x45bf36[_0x257f57(0xe9)]=0.846,_0x45bf36[_0x257f57(0xe1)](),_0x45bf36[_0x257f57(0xff)](6.72,0.422),_0x45bf36[_0x257f57(0xf3)](17.28,0.422),_0x45bf36[_0x257f57(0xe7)](18.553,0.422,19.577,1.758,19.577,3.415),_0x45bf36[_0x257f57(0xf3)](19.577,10.973),_0x45bf36[_0x257f57(0xe7)](19.577,12.63,18.553,13.966,17.282,13.966),_0x45bf36[_0x257f57(0xf3)](14.386,14.008),_0x45bf36[_0x257f57(0xf3)](11.826,23.578),_0x45bf36[_0x257f57(0xf3)](9.614,14.008),_0x45bf36[_0x257f57(0xf3)](6.719,13.965),_0x45bf36['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0x45bf36[_0x257f57(0xf3)](4.422,3.416),_0x45bf36[_0x257f57(0xe7)](4.423,1.76,5.447,0.423,6.718,0.423),_0x45bf36[_0x257f57(0x100)](),_0x45bf36['fill'](),_0x45bf36[_0x257f57(0xe6)](),_0x45bf36[_0x257f57(0xf6)]();}function drawIcon(_0x1ebb66,_0x885234,_0x4e6753){const _0x1458ce=a75_0x3f85be,_0xaab6ca=_0x4e6753/2.5;let _0x2bcaa0=_0xaab6ca,_0x6ea479=_0xaab6ca;if(_0x885234[_0x1458ce(0x10b)]>_0x885234[_0x1458ce(0x10f)])_0x6ea479=_0xaab6ca*(_0x885234[_0x1458ce(0x10f)]/_0x885234[_0x1458ce(0x10b)]);else _0x885234[_0x1458ce(0x10b)]<_0x885234[_0x1458ce(0x10f)]&&(_0x2bcaa0=_0xaab6ca*(_0x885234[_0x1458ce(0x10b)]/_0x885234[_0x1458ce(0x10f)]));const _0x6c01b4=Math[_0x1458ce(0xe8)]((_0x4e6753-_0x2bcaa0)/0x2),_0x3ae85b=Math[_0x1458ce(0xe8)](0x7/0x18*_0x4e6753-_0x6ea479/0x2);_0x1ebb66['globalCompositeOperation']=_0x1458ce(0xfa),_0x1ebb66[_0x1458ce(0xfb)](_0x885234,_0x6c01b4-0x1,_0x3ae85b,_0x2bcaa0,_0x6ea479),_0x1ebb66[_0x1458ce(0xfb)](_0x885234,_0x6c01b4,_0x3ae85b-0x1,_0x2bcaa0,_0x6ea479),_0x1ebb66['drawImage'](_0x885234,_0x6c01b4+0x1,_0x3ae85b,_0x2bcaa0,_0x6ea479),_0x1ebb66['drawImage'](_0x885234,_0x6c01b4,_0x3ae85b+0x1,_0x2bcaa0,_0x6ea479),_0x1ebb66['globalCompositeOperation']=_0x1458ce(0xf9),_0x1ebb66[_0x1458ce(0x114)]=_0x1458ce(0xf8),_0x1ebb66['fillRect'](_0x6c01b4-0x1,_0x3ae85b-0x1,_0x2bcaa0+0x2,_0x6ea479+0x2),_0x1ebb66[_0x1458ce(0xf4)]=_0x1458ce(0xfa),_0x1ebb66['drawImage'](_0x885234,_0x6c01b4,_0x3ae85b,_0x2bcaa0,_0x6ea479),_0x1ebb66[_0x1458ce(0xf4)]=_0x1458ce(0xf9),_0x1ebb66[_0x1458ce(0x114)]=_0x1458ce(0x110),_0x1ebb66[_0x1458ce(0xec)](_0x6c01b4-0x1,_0x3ae85b-0x2,_0x2bcaa0+0x2,_0x6ea479+0x2);}function a75_0xc40d(){const _0x3df131=['beginPath','LOADED','px\x20sans-serif','2106AjMuAM','1682780jxXNgc','stroke','bezierCurveTo','round','lineWidth','7LeUwvW','IDLE','fillRect','92668ZShlOW','907085ITHqII','url\x20is\x20required','10669362TqVsWW','strokeStyle','fromUrl','lineTo','globalCompositeOperation','fromColor','restore','getImage','#000000','destination-over','destination-out','drawImage','getImageState','id\x20is\x20required','90wxhWyY','moveTo','closePath','7563EdJTLC','target','save','hexa','load','getContext','color\x20is\x20required','stringify','text\x20is\x20required','canvas','width','createElement','_cache','6456iZWeFr','height','#FFFFFF','size\x20is\x20required','toDataURL','1858614tRYsnn','fillStyle','fromMakiIconId','ERROR','33iTnwox'];a75_0xc40d=function(){return _0x3df131;};return a75_0xc40d();}const stringifyScratch=new Array(0x4);function createPin(_0x3c8da7,_0x2188c6,_0x1bc37f,_0x207194,_0xfeb438){const _0x2da8e8=a75_0x3f85be;stringifyScratch[0x0]=_0x3c8da7,stringifyScratch[0x1]=_0x2188c6,stringifyScratch[0x2]=_0x1bc37f,stringifyScratch[0x3]=_0x207194;const _0x46e00f=JSON[_0x2da8e8(0x108)](stringifyScratch),_0x2e2d32=_0xfeb438[_0x46e00f];if(_0x2e2d32)return _0x2e2d32;const _0x3f2091=document[_0x2da8e8(0x10c)](_0x2da8e8(0x10a));_0x3f2091[_0x2da8e8(0x10b)]=_0x207194,_0x3f2091['height']=_0x207194;const _0x1edb55=_0x3f2091[_0x2da8e8(0x106)]('2d');drawPin(_0x1edb55,_0x1bc37f,_0x207194);if(_0x3c8da7)return new Promise(_0x1671c5=>{const _0x41828a=_0x2da8e8;let _0x22e030=new Icon({'src':_0x3c8da7}),_0x2547c2=_0x22e030[_0x41828a(0xfc)]();_0x2547c2===a75_0x36a604[_0x41828a(0xe2)]||_0x2547c2===a75_0x36a604[_0x41828a(0x116)]?(drawIcon(_0x1edb55,_0x22e030['getImage'](0x60),_0x207194),_0xfeb438[_0x46e00f]=_0x3f2091[_0x41828a(0x112)](),_0x1671c5(_0x3f2091[_0x41828a(0x112)]())):(_0x2547c2===a75_0x36a604[_0x41828a(0xeb)]&&_0x22e030[_0x41828a(0x105)](),_0x22e030['listenImageChange'](_0xab9fb3=>{const _0x5d5b99=_0x41828a;_0x2547c2=_0xab9fb3[_0x5d5b99(0x102)][_0x5d5b99(0xfc)](),(_0x2547c2===a75_0x36a604[_0x5d5b99(0xe2)]||_0x2547c2===a75_0x36a604[_0x5d5b99(0x116)])&&(drawIcon(_0x1edb55,_0x22e030[_0x5d5b99(0xf7)](0x60),_0x207194),_0xfeb438[_0x46e00f]=_0x3f2091[_0x5d5b99(0x112)](),_0x1671c5(_0x3f2091[_0x5d5b99(0x112)]()));}));});else{if(_0x2188c6){const _0x21b95c=a75_0xfd1b26(_0x2188c6,{'font':'bold\x20'+_0x207194+_0x2da8e8(0xe3)});drawIcon(_0x1edb55,_0x21b95c,_0x207194);}}return _0xfeb438[_0x46e00f]=_0x3f2091['toDataURL'](),_0x3f2091[_0x2da8e8(0x112)]();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a76_0x39a1ba=a76_0x138d;(function(_0x1ae1b5,_0x5a4288){const _0x7e5322=a76_0x138d,_0x11e980=_0x1ae1b5();while(!![]){try{const _0x438105=-parseInt(_0x7e5322(0x195))/0x1*(parseInt(_0x7e5322(0x19d))/0x2)+-parseInt(_0x7e5322(0x1b3))/0x3+parseInt(_0x7e5322(0x1b1))/0x4*(-parseInt(_0x7e5322(0x19f))/0x5)+-parseInt(_0x7e5322(0x19c))/0x6*(-parseInt(_0x7e5322(0x19a))/0x7)+parseInt(_0x7e5322(0x198))/0x8+parseInt(_0x7e5322(0x1a8))/0x9*(parseInt(_0x7e5322(0x1a1))/0xa)+parseInt(_0x7e5322(0x1a2))/0xb;if(_0x438105===_0x5a4288)break;else _0x11e980['push'](_0x11e980['shift']());}catch(_0xeb62ee){_0x11e980['push'](_0x11e980['shift']());}}}(a76_0x3a83,0x5e62e));import a76_0x262518 from'./PinBuilder';import{Icon}from'ol/style';import a76_0x3c6480 from'ol/ImageState';import a76_0x5d5c7b from'ol/events/Event';function a76_0x138d(_0x1e8371,_0x471c7b){const _0x3a8390=a76_0x3a83();return a76_0x138d=function(_0x138de0,_0x1bd60d){_0x138de0=_0x138de0-0x194;let _0x37a40e=_0x3a8390[_0x138de0];return _0x37a40e;},a76_0x138d(_0x1e8371,_0x471c7b);}function a76_0x3a83(){const _0x402ad3=['getImage','getImageState','markerSize','_listener','then','209557LfwkVf','IDLE','_icon','5428704sGYhWs','catch','8134EaJRTe','ERROR','3810kKJhpB','6ZRFsYi','dispatchEvent','288895xKUdKi','fromText','904790DYPVnV','5039540DICZhe','image','resolve','options','load','target','45RBGdeV','loadIcon','LOADED','error','set','markerColor','_imageState','markerLabel','warn','48KhubgC','listenImageChange','1855104sMHRDy'];a76_0x3a83=function(){return _0x402ad3;};return a76_0x3a83();}import{shared as a76_0x22d234}from'./ImageCache';export default class PinIcon{constructor(_0x2e8eaf){const _0x4866b1=a76_0x138d;this[_0x4866b1(0x1a5)]=_0x2e8eaf||{},this['_imageState']=a76_0x3c6480[_0x4866b1(0x196)],this[_0x4866b1(0x197)]=a76_0x22d234['get'](this[_0x4866b1(0x1a5)]),this[_0x4866b1(0x197)]&&(this[_0x4866b1(0x1ae)]=a76_0x3c6480[_0x4866b1(0x1aa)]);}['load'](){const _0xcf5c1a=a76_0x138d;try{let _0x170d23,_0x3bd0fc=new a76_0x262518();if(this[_0xcf5c1a(0x1a5)]['markerLabel'])_0x170d23=_0x3bd0fc[_0xcf5c1a(0x1a0)](this[_0xcf5c1a(0x1a5)][_0xcf5c1a(0x1af)],this[_0xcf5c1a(0x1a5)][_0xcf5c1a(0x1ad)],this[_0xcf5c1a(0x1a5)][_0xcf5c1a(0x1b6)]||0x30);else this[_0xcf5c1a(0x1a5)]['image']&&(_0x170d23=_0x3bd0fc['fromUrl'](this['options'][_0xcf5c1a(0x1a3)],this[_0xcf5c1a(0x1a5)][_0xcf5c1a(0x1ad)],this[_0xcf5c1a(0x1a5)][_0xcf5c1a(0x1b6)]||0x30));Promise[_0xcf5c1a(0x1a4)](_0x170d23)[_0xcf5c1a(0x194)](_0x5088a3=>{const _0x1c93ba=_0xcf5c1a;this[_0x1c93ba(0x1a9)](_0x5088a3);})[_0xcf5c1a(0x199)](_0x539617=>{const _0x37cb7c=_0xcf5c1a;console[_0x37cb7c(0x1b0)](_0x539617),this['_imageState']=a76_0x3c6480[_0x37cb7c(0x19b)],this['dispatchEvent'](_0x37cb7c(0x1ab));});}catch(_0x70709c){console[_0xcf5c1a(0x1b0)](_0x70709c),this[_0xcf5c1a(0x1ae)]=a76_0x3c6480[_0xcf5c1a(0x19b)],this['dispatchEvent'](_0xcf5c1a(0x1ab));}}[a76_0x39a1ba(0x1a9)](_0x48d985){const _0x160dad=a76_0x39a1ba;this[_0x160dad(0x197)]=new Icon({'src':_0x48d985}),a76_0x22d234[_0x160dad(0x1ac)](this[_0x160dad(0x1a5)],this[_0x160dad(0x197)]);let _0x12ef44=this[_0x160dad(0x197)][_0x160dad(0x1b5)]();_0x12ef44===a76_0x3c6480[_0x160dad(0x1aa)]||_0x12ef44===a76_0x3c6480[_0x160dad(0x19b)]?(this[_0x160dad(0x1ae)]=this[_0x160dad(0x197)][_0x160dad(0x1b5)](),this[_0x160dad(0x19e)]('load')):(_0x12ef44===a76_0x3c6480[_0x160dad(0x196)]&&this[_0x160dad(0x197)]['load'](),this[_0x160dad(0x197)]['listenImageChange'](_0x4caa58=>{const _0x1f75a2=_0x160dad;_0x12ef44=_0x4caa58[_0x1f75a2(0x1a7)][_0x1f75a2(0x1b5)](),(_0x12ef44===a76_0x3c6480[_0x1f75a2(0x1aa)]||_0x12ef44===a76_0x3c6480['ERROR'])&&(this[_0x1f75a2(0x1ae)]=this[_0x1f75a2(0x197)][_0x1f75a2(0x1b5)](),this['dispatchEvent'](_0x1f75a2(0x1a6)));}));}['getImageState'](){const _0x298906=a76_0x39a1ba;return this[_0x298906(0x1ae)];}[a76_0x39a1ba(0x1b4)](){const _0x35dce3=a76_0x39a1ba;var _0x4e9988;return(_0x4e9988=this[_0x35dce3(0x197)])===null||_0x4e9988===void 0x0?void 0x0:_0x4e9988[_0x35dce3(0x1b4)]();}[a76_0x39a1ba(0x1b2)](_0x3ac60b){this['_listener']=_0x3ac60b;}[a76_0x39a1ba(0x19e)](_0x39e67c){const _0x362706=a76_0x39a1ba;if(this[_0x362706(0x1b7)]){let _0x189746=new a76_0x5d5c7b(_0x39e67c);_0x189746[_0x362706(0x1a7)]=this,this['_listener'](_0x189746);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a77_0x2502(){const _0x37b999=['fillColor','minx','19642mGUIlm','font','defaultView','fillText','10px\x20sans-serif','getComputedStyle','style','fillRect','232345nOWetw','strokeWidth','appendChild','lineWidth','visibility','white','strokeStyle','webkitImageSmoothingEnabled','ascent','backgroundColor','removeChild','black','height','replace','594396GKPgYB','126uEbzAZ','strokeColor','7066760sLmhAl','canvas','fillStyle','test','imageSmoothingEnabled','body','createElement','padding','#000000','#00000000','hidden','9NhWXXp','385914tYXbhy','68RcLJNq','11503019EwSxSv','font-size','71BiPxqQ','fill','getContext','5118832PqFELA','ceil','mozImageSmoothingEnabled','msImageSmoothingEnabled','lineJoin','measureText','text\x20is\x20required.','round','stroke','width','data'];a77_0x2502=function(){return _0x37b999;};return a77_0x2502();}function a77_0x19bd(_0x421e55,_0x368a65){const _0x250245=a77_0x2502();return a77_0x19bd=function(_0x19bd5c,_0x148920){_0x19bd5c=_0x19bd5c-0x97;let _0x2ed091=_0x250245[_0x19bd5c];return _0x2ed091;},a77_0x19bd(_0x421e55,_0x368a65);}(function(_0x297c74,_0x1504f6){const _0x25364c=a77_0x19bd,_0x448f4b=_0x297c74();while(!![]){try{const _0x49c258=parseInt(_0x25364c(0xb1))/0x1*(parseInt(_0x25364c(0xc1))/0x2)+-parseInt(_0x25364c(0x9e))/0x3+parseInt(_0x25364c(0xae))/0x4*(-parseInt(_0x25364c(0xc9))/0x5)+parseInt(_0x25364c(0xad))/0x6*(-parseInt(_0x25364c(0x9f))/0x7)+-parseInt(_0x25364c(0xb4))/0x8*(-parseInt(_0x25364c(0xac))/0x9)+parseInt(_0x25364c(0xa1))/0xa+parseInt(_0x25364c(0xaf))/0xb;if(_0x49c258===_0x1504f6)break;else _0x448f4b['push'](_0x448f4b['shift']());}catch(_0x1c02b0){_0x448f4b['push'](_0x448f4b['shift']());}}}(a77_0x2502,0xe6657));function measureText(_0x2c3575,_0x3deec9,_0x6ec604,_0xe05700,_0x560cc9){const _0x228ce9=a77_0x19bd,_0x959561=_0x2c3575[_0x228ce9(0xb9)](_0x3deec9),_0x18fb4a=!/\S/[_0x228ce9(0xa4)](_0x3deec9);if(!_0x18fb4a&&document[_0x228ce9(0xc3)]){const _0x18bc09=document[_0x228ce9(0xc3)][_0x228ce9(0xc6)](_0x2c3575[_0x228ce9(0xa2)])['getPropertyValue'](_0x228ce9(0xb0))[_0x228ce9(0x9d)]('px',''),_0x363274=document['createElement'](_0x228ce9(0xa2)),_0x3f3e71=0x64,_0x1f6c3c=_0x959561['width']+_0x3f3e71|0x0,_0x44b5c2=0x3*(_0x18bc09-0x0),_0x1d6cd3=_0x44b5c2/0x2;_0x363274['width']=_0x1f6c3c,_0x363274[_0x228ce9(0x9c)]=_0x44b5c2;const _0x55be44=_0x363274['getContext']('2d');if(!_0x55be44)return{};_0x55be44['font']=_0x6ec604,_0x55be44[_0x228ce9(0xa3)]=_0x228ce9(0xce),_0x55be44[_0x228ce9(0xc8)](0x0,0x0,_0x363274[_0x228ce9(0xbd)]+0x1,_0x363274[_0x228ce9(0x9c)]+0x1);_0xe05700&&(_0x55be44[_0x228ce9(0xcf)]=_0x228ce9(0x9b),_0x55be44['lineWidth']=_0x2c3575[_0x228ce9(0xcc)],_0x55be44['strokeText'](_0x3deec9,_0x3f3e71/0x2,_0x1d6cd3));_0x560cc9&&(_0x55be44[_0x228ce9(0xa3)]=_0x228ce9(0x9b),_0x55be44[_0x228ce9(0xc4)](_0x3deec9,_0x3f3e71/0x2,_0x1d6cd3));const _0xce1f16=_0x55be44['getImageData'](0x0,0x0,_0x1f6c3c,_0x44b5c2)[_0x228ce9(0xbe)],_0xbf27a2=_0xce1f16['length'],_0x5f30d2=_0x1f6c3c*0x4;let _0x2b047e,_0x5d54d3,_0x23e6fc=0x0,_0x12940f=0x0;for(_0x2b047e=0x0;_0x2b047e<_0xbf27a2;++_0x2b047e){if(_0xce1f16[_0x2b047e]!==0xff){_0x23e6fc=_0x2b047e/_0x5f30d2|0x0;break;}}for(_0x2b047e=_0xbf27a2-0x1;_0x2b047e>=0x0;--_0x2b047e){if(_0xce1f16[_0x2b047e]!==0xff){_0x12940f=_0x2b047e/_0x5f30d2|0x0;break;}}let _0x3fd286=-0x1;for(_0x2b047e=0x0;_0x2b047e<_0x1f6c3c&&_0x3fd286===-0x1;++_0x2b047e){for(_0x5d54d3=0x0;_0x5d54d3<_0x44b5c2;++_0x5d54d3){const _0x3d73b4=_0x2b047e*0x4+_0x5d54d3*_0x5f30d2;if(_0xce1f16[_0x3d73b4]!==0xff||_0xce1f16[_0x3d73b4+0x1]!==0xff||_0xce1f16[_0x3d73b4+0x2]!==0xff||_0xce1f16[_0x3d73b4+0x3]!==0xff){_0x3fd286=_0x2b047e;break;}}}return{'width':_0x959561[_0x228ce9(0xbd)],'height':_0x12940f-_0x23e6fc,'ascent':_0x1d6cd3-_0x23e6fc,'descent':_0x12940f-_0x1d6cd3,'minx':_0x3fd286-_0x3f3e71/0x2};}return{'width':_0x959561[_0x228ce9(0xbd)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x3af254,_0x5b7d03){const _0x29506a=a77_0x19bd;if(!_0x3af254)throw new Error(_0x29506a(0xba));if(_0x3af254==='')return undefined;_0x5b7d03=defaultValue(_0x5b7d03,{});const _0x2520ba=defaultValue(_0x5b7d03[_0x29506a(0xc2)],_0x29506a(0xc5)),_0x3dfbce=defaultValue(_0x5b7d03[_0x29506a(0xbc)],![]),_0x4b4ebd=defaultValue(_0x5b7d03[_0x29506a(0xb2)],!![]),_0x516fc4=defaultValue(_0x5b7d03[_0x29506a(0xca)],0x1),_0x57cec4=defaultValue(_0x5b7d03[_0x29506a(0x99)],_0x29506a(0xaa)),_0x13f789=defaultValue(_0x5b7d03[_0x29506a(0xa8)],0x0),_0x3274c7=_0x13f789*0x2,_0x16054a=document[_0x29506a(0xa7)]('canvas');_0x16054a[_0x29506a(0xbd)]=0x1,_0x16054a[_0x29506a(0x9c)]=0x1,_0x16054a['style']['font']=_0x2520ba;const _0x3fd924=_0x16054a[_0x29506a(0xb3)]('2d');if(!imageSmoothingEnabledName&&_0x3fd924){if(_0x3fd924['imageSmoothingEnabled'])imageSmoothingEnabledName=_0x29506a(0xa5);else{if(_0x3fd924[_0x29506a(0xb6)])imageSmoothingEnabledName='mozImageSmoothingEnabled';else{if(_0x3fd924[_0x29506a(0x97)])imageSmoothingEnabledName=_0x29506a(0x97);else _0x3fd924[_0x29506a(0xb7)]&&(imageSmoothingEnabledName=_0x29506a(0xb7));}}}_0x3fd924['font']=_0x2520ba,_0x3fd924[_0x29506a(0xb8)]=_0x29506a(0xbb),_0x3fd924[_0x29506a(0xcc)]=_0x516fc4,_0x3fd924[imageSmoothingEnabledName]=![],_0x16054a[_0x29506a(0xc7)][_0x29506a(0xcd)]=_0x29506a(0xab),document[_0x29506a(0xa6)][_0x29506a(0xcb)](_0x16054a);const _0x361b15=measureText(_0x3fd924,_0x3af254,_0x2520ba,_0x3dfbce,_0x4b4ebd);if(!_0x361b15)return;_0x16054a['dimensions']=_0x361b15,document[_0x29506a(0xa6)][_0x29506a(0x9a)](_0x16054a),_0x16054a['style'][_0x29506a(0xcd)]='';const _0x2eeb58=-(_0x361b15[_0x29506a(0xc0)]?_0x361b15[_0x29506a(0xc0)]:0x0),_0x12f601=Math[_0x29506a(0xb5)](_0x361b15[_0x29506a(0xbd)])+_0x2eeb58+_0x3274c7,_0x67b967=(_0x361b15['height']?_0x361b15[_0x29506a(0x9c)]:0x0)+_0x3274c7,_0x498d75=_0x67b967-(_0x361b15[_0x29506a(0x98)]?_0x361b15[_0x29506a(0x98)]:0x0)+_0x13f789,_0x42a3bb=_0x67b967-_0x498d75+_0x3274c7;return _0x16054a[_0x29506a(0xbd)]=_0x12f601,_0x16054a[_0x29506a(0x9c)]=_0x67b967,_0x3fd924['font']=_0x2520ba,_0x3fd924['lineJoin']=_0x29506a(0xbb),_0x3fd924[_0x29506a(0xcc)]=_0x516fc4,_0x3fd924[imageSmoothingEnabledName]=![],_0x57cec4!==_0x29506a(0xaa)&&(_0x3fd924[_0x29506a(0xa3)]=_0x57cec4,_0x3fd924[_0x29506a(0xc8)](0x0,0x0,_0x16054a[_0x29506a(0xbd)],_0x16054a[_0x29506a(0x9c)])),_0x3dfbce&&(_0x3fd924['strokeStyle']=defaultValue(_0x5b7d03[_0x29506a(0xa0)],_0x29506a(0xa9)),_0x3fd924['strokeText'](_0x3af254,_0x2eeb58+_0x13f789,_0x42a3bb)),_0x4b4ebd&&(_0x3fd924[_0x29506a(0xa3)]=defaultValue(_0x5b7d03[_0x29506a(0xbf)],'#FFFFFF'),_0x3fd924[_0x29506a(0xc4)](_0x3af254,_0x2eeb58+_0x13f789,_0x42a3bb)),_0x16054a;}function defaultValue(_0x3b7c7e,_0xfd4e52){if(_0x3b7c7e!==undefined&&_0x3b7c7e!==null)return _0x3b7c7e;return _0xfd4e52;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a82_0x409c(_0x48250d,_0x24065b){const _0x25e767=a82_0x25e7();return a82_0x409c=function(_0x409cc6,_0x339a65){_0x409cc6=_0x409cc6-0x193;let _0x449355=_0x25e767[_0x409cc6];return _0x449355;},a82_0x409c(_0x48250d,_0x24065b);}const a82_0x3f57d5=a82_0x409c;(function(_0x1a00a9,_0x53b2d3){const _0x416c14=a82_0x409c,_0x5380a2=_0x1a00a9();while(!![]){try{const _0x15a85c=parseInt(_0x416c14(0x1b1))/0x1+-parseInt(_0x416c14(0x195))/0x2+parseInt(_0x416c14(0x1b0))/0x3+-parseInt(_0x416c14(0x1a1))/0x4+-parseInt(_0x416c14(0x1b2))/0x5+-parseInt(_0x416c14(0x196))/0x6+parseInt(_0x416c14(0x1ac))/0x7;if(_0x15a85c===_0x53b2d3)break;else _0x5380a2['push'](_0x5380a2['shift']());}catch(_0x34ac7d){_0x5380a2['push'](_0x5380a2['shift']());}}}(a82_0x25e7,0x7142e));import a82_0x38011f from'ol/format/EsriJSON';import a82_0x115773 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';function a82_0x25e7(){const _0x41fc88=['getView','getSize','60046kZxmgc','4310538Ovspcw','calculateExtent','params','url','path','mapExtent','geojsonTypeToArcGIS','getProjection','all','layers','identify','3076592nlVugv','valueOf','resolution','run','getCenter','returnZ','time','layerDefs','inSR','getType','returnM','17163755odvEwc','getResolution','_setGeometryParams','geometry','696522DYvhEN','18458tlxlDA','3605425srcrKD','returnGeometry','geometryType'];a82_0x25e7=function(){return _0x41fc88;};return a82_0x25e7();}import a82_0x417781 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x417781{constructor(_0x54f852,_0x10ed22,_0xf433bc){const _0x5b6673=a82_0x409c;super(_0x54f852,_0x10ed22,_0xf433bc),this['path']=_0x5b6673(0x1a0),this['params']={'layers':_0x5b6673(0x19e),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this['resolution']=0x0,this['url']=appendPath(this[_0x5b6673(0x199)],this[_0x5b6673(0x19a)]),_0x10ed22&&((_0x10ed22[_0x5b6673(0x1b3)]===!![]||_0x10ed22[_0x5b6673(0x1b3)]===![])&&(this[_0x5b6673(0x198)][_0x5b6673(0x1b3)]=_0x10ed22[_0x5b6673(0x1b3)]),_0x10ed22[_0x5b6673(0x19f)]&&(this[_0x5b6673(0x198)]['layers']=_0x10ed22[_0x5b6673(0x19f)]),_0x10ed22['layerDefs']&&(this[_0x5b6673(0x198)][_0x5b6673(0x1a8)]=_0x10ed22[_0x5b6673(0x1a8)]),(_0x10ed22[_0x5b6673(0x1a6)]===!![]||_0x10ed22['returnZ']===![])&&(this[_0x5b6673(0x198)][_0x5b6673(0x1a6)]=_0x10ed22[_0x5b6673(0x1a6)]),(_0x10ed22[_0x5b6673(0x1ab)]===!![]||_0x10ed22[_0x5b6673(0x1ab)]===![])&&(this[_0x5b6673(0x198)][_0x5b6673(0x1ab)]=_0x10ed22[_0x5b6673(0x1ab)]));}['at'](_0x28f306,_0x3c16b1){const _0x32a1c8=a82_0x409c;let _0x4f551e,_0x8ce30a;const _0x2193ed=new a82_0x115773();_0x4f551e=_0x28f306,_0x8ce30a=getEsriSpatialReference(_0x3c16b1[_0x32a1c8(0x193)]()[_0x32a1c8(0x19d)]()['getCode']());const _0xd98923=_0x3c16b1['getSize']();_0xd98923&&(this['params']['imageDisplay']=[_0xd98923[0x0],_0xd98923[0x1],0x60]);this[_0x32a1c8(0x198)]['sr']=_0x8ce30a;const _0x577273=_0x3c16b1[_0x32a1c8(0x193)]()[_0x32a1c8(0x197)](_0x3c16b1[_0x32a1c8(0x194)]());this[_0x32a1c8(0x198)][_0x32a1c8(0x19b)]={'xmin':_0x577273[0x0],'ymin':_0x577273[0x1],'xmax':_0x577273[0x2],'ymax':_0x577273[0x3],'spatialReference':_0x8ce30a};const _0x214469=_0x3c16b1['getView']()[_0x32a1c8(0x1ad)](),_0x1beb0e=_0x3c16b1[_0x32a1c8(0x193)]()[_0x32a1c8(0x1a5)]();return _0x214469&&_0x1beb0e&&(this[_0x32a1c8(0x1a3)]=getPointResolution(_0x3c16b1['getView']()['getProjection'](),_0x214469,_0x1beb0e)),this[_0x32a1c8(0x1ae)](_0x4f551e,_0x3c16b1[_0x32a1c8(0x193)]()[_0x32a1c8(0x19d)]()['getCode']()),this;}['between'](_0x557c7e,_0x41e398){const _0x4d298d=a82_0x409c;return this[_0x4d298d(0x198)][_0x4d298d(0x1a7)]=[_0x557c7e[_0x4d298d(0x1a2)](),_0x41e398[_0x4d298d(0x1a2)]()],this;}[a82_0x3f57d5(0x1a4)](){this['request']();}[a82_0x3f57d5(0x1ae)](_0x59aad,_0x43ba54){const _0x14ad21=a82_0x3f57d5;var _0x3c7e57=new a82_0x38011f();const _0x15d6fe=_0x3c7e57['writeGeometryObject'](_0x59aad);this[_0x14ad21(0x198)][_0x14ad21(0x1a9)]=getEsriSpatialReference(_0x43ba54),this[_0x14ad21(0x198)][_0x14ad21(0x1af)]=_0x15d6fe,this[_0x14ad21(0x198)][_0x14ad21(0x1b4)]=this[_0x14ad21(0x19c)](_0x59aad[_0x14ad21(0x1aa)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a83_0x4e35(_0x3bfaa7,_0x1cf3cd){const _0x264a79=a83_0x264a();return a83_0x4e35=function(_0x4e3591,_0x6ee16){_0x4e3591=_0x4e3591-0xb3;let _0x2ce791=_0x264a79[_0x4e3591];return _0x2ce791;},a83_0x4e35(_0x3bfaa7,_0x1cf3cd);}const a83_0x2bb0a0=a83_0x4e35;function a83_0x264a(){const _0x4727d0=['returnZ','esriSpatialRelContains','distance','outSR','warn','esriSpatialRelIntersects','run','getType','returnGeometry','maxAllowableOffset','params','getExtent','_cleanParams','data','2885624qQWLBu','overlaps','bboxIntersects','8Scykgk','esriSRUnit_Meter','returnDistinctValues','esriSpatialRelTouches','within','_trapSQLerrors','geometryType','time','query','apply','where','spatialRel','408633wMYWeO','6860178AEtQAq','touches','nearby','units','esriSpatialRelCrosses','42ToXDKo','status','_setGeometryParams','catch','geojsonTypeToArcGIS','count','returnIdsOnly','ids','esriSpatialRelEnvelopeIntersects','distinct','esriSpatialRelIndexIntersects','url','2024680MfvtRS','between','intersects','features','360515gOiCbK','orderByFields','writeGeometryObject','ASC','/query','esriSpatialRelOverlaps','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','code','returnM','crosses','request','439749ekyHUr','orderBy','contains','path','returnCountOnly','forEach','263964LDcSIc','join'];a83_0x264a=function(){return _0x4727d0;};return a83_0x264a();}(function(_0x5ea364,_0x20db1b){const _0x12df5e=a83_0x4e35,_0x1109a3=_0x5ea364();while(!![]){try{const _0x1e2236=parseInt(_0x12df5e(0xd8))/0x1+-parseInt(_0x12df5e(0xde))/0x2+parseInt(_0x12df5e(0xb7))/0x3+parseInt(_0x12df5e(0xc9))/0x4+parseInt(_0x12df5e(0xcd))/0x5*(parseInt(_0x12df5e(0xbd))/0x6)+-parseInt(_0x12df5e(0xee))/0x7+parseInt(_0x12df5e(0xf1))/0x8*(-parseInt(_0x12df5e(0xb8))/0x9);if(_0x1e2236===_0x20db1b)break;else _0x1109a3['push'](_0x1109a3['shift']());}catch(_0x8ad5a7){_0x1109a3['push'](_0x1109a3['shift']());}}}(a83_0x264a,0x4474b));import a83_0x53cf78 from'ol/format/EsriJSON';import a83_0x2e8bcf from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x2e8bcf{constructor(_0x4f9d0d,_0x178aa3,_0xad2031){const _0x139223=a83_0x4e35;super(_0x4f9d0d,_0x178aa3,_0xad2031),this[_0x139223(0xdb)]=_0x139223(0xb3),this[_0x139223(0xea)]={'returnGeometry':!![],'where':'1=1','outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x139223(0xc8)]=appendPath(this[_0x139223(0xc8)],this[_0x139223(0xdb)]),_0x178aa3&&((_0x178aa3[_0x139223(0xe8)]===!![]||_0x178aa3['returnGeometry']===![])&&(this[_0x139223(0xea)]['returnGeometry']=_0x178aa3[_0x139223(0xe8)]),_0x178aa3[_0x139223(0xb5)]&&(this['params'][_0x139223(0xb5)]=_0x178aa3['where']),_0x178aa3[_0x139223(0xe3)]&&(this[_0x139223(0xea)][_0x139223(0xe3)]=getEsriSpatialReference(_0x178aa3[_0x139223(0xe3)])),(_0x178aa3['returnZ']===!![]||_0x178aa3['returnZ']===![])&&(this[_0x139223(0xea)][_0x139223(0xe0)]=_0x178aa3[_0x139223(0xe0)]),(_0x178aa3[_0x139223(0xd5)]===!![]||_0x178aa3[_0x139223(0xd5)]===![])&&(this[_0x139223(0xea)][_0x139223(0xd5)]=_0x178aa3[_0x139223(0xd5)]));}[a83_0x2bb0a0(0xf5)](_0x173c40,_0x14c0b8){const _0xe59401=a83_0x2bb0a0;return this['_setGeometryParams'](_0x173c40,_0x14c0b8),this['params'][_0xe59401(0xb6)]=_0xe59401(0xe1),this;}[a83_0x2bb0a0(0xcb)](_0x2df258,_0x1212c3){const _0x4612ec=a83_0x2bb0a0;return this[_0x4612ec(0xbf)](_0x2df258,_0x1212c3),this['params'][_0x4612ec(0xb6)]=_0x4612ec(0xe5),this;}[a83_0x2bb0a0(0xda)](_0x520db3,_0x2be2d4){const _0x141e59=a83_0x2bb0a0;return this['_setGeometryParams'](_0x520db3,_0x2be2d4),this[_0x141e59(0xea)]['spatialRel']='esriSpatialRelWithin',this;}[a83_0x2bb0a0(0xd6)](_0x2b2da1,_0x10fca9){const _0x111c29=a83_0x2bb0a0;return this[_0x111c29(0xbf)](_0x2b2da1,_0x10fca9),this[_0x111c29(0xea)][_0x111c29(0xb6)]=_0x111c29(0xbc),this;}[a83_0x2bb0a0(0xb9)](_0xd240cc,_0x512db3){const _0x7dc535=a83_0x2bb0a0;return this[_0x7dc535(0xbf)](_0xd240cc,_0x512db3),this[_0x7dc535(0xea)][_0x7dc535(0xb6)]=_0x7dc535(0xf4),this;}[a83_0x2bb0a0(0xef)](_0x3c29d5,_0x4bd37a){const _0x1381ab=a83_0x2bb0a0;return this[_0x1381ab(0xbf)](_0x3c29d5,_0x4bd37a),this['params'][_0x1381ab(0xb6)]=_0x1381ab(0xd2),this;}[a83_0x2bb0a0(0xf0)](_0x4cc0e5,_0x15fcf1){const _0x291940=a83_0x2bb0a0;return this[_0x291940(0xbf)](_0x4cc0e5,_0x15fcf1),this['params'][_0x291940(0xb6)]=_0x291940(0xc5),this;}['indexIntersects'](_0x4f0317,_0x3903c3){const _0x3b8d2a=a83_0x2bb0a0;return this[_0x3b8d2a(0xbf)](_0x4f0317,_0x3903c3),this[_0x3b8d2a(0xea)][_0x3b8d2a(0xb6)]=_0x3b8d2a(0xc7),this;}[a83_0x2bb0a0(0xba)](_0x14a9e2,_0xf76814,_0x9dec1b){const _0x2653a1=a83_0x2bb0a0;return this[_0x2653a1(0xbf)](_0x14a9e2,_0xf76814),this[_0x2653a1(0xea)]['spatialRel']=_0x2653a1(0xe5),this[_0x2653a1(0xea)][_0x2653a1(0xbb)]=_0x2653a1(0xf2),this['params'][_0x2653a1(0xe2)]=_0x9dec1b,this;}[a83_0x2bb0a0(0xb5)](_0x25d538){return this['params']['where']=_0x25d538,this;}[a83_0x2bb0a0(0xca)](_0x3008bf,_0x3cc437){const _0x5031fb=a83_0x2bb0a0;return this['params'][_0x5031fb(0xf8)]=[_0x3008bf['valueOf'](),_0x3cc437['valueOf']()],this;}['simplify'](_0x255211,_0x472206){const _0x4faa4d=a83_0x2bb0a0,_0x5ce6e2=_0x255211[_0x4faa4d(0xeb)]();var _0x2b8ce2=Math['abs'](_0x5ce6e2[0x2]-_0x5ce6e2[0x0]);const _0x49a494=_0x255211['getSize']();if(_0x49a494)return this['params'][_0x4faa4d(0xe9)]=_0x2b8ce2/_0x49a494[0x1]*_0x472206,this;}[a83_0x2bb0a0(0xd9)](_0x2e75e2,_0x1af1fc){const _0x29b901=a83_0x2bb0a0;return _0x1af1fc=_0x1af1fc||_0x29b901(0xd0),this[_0x29b901(0xea)][_0x29b901(0xce)]=this[_0x29b901(0xea)][_0x29b901(0xce)]?this[_0x29b901(0xea)][_0x29b901(0xce)]+',':'',this[_0x29b901(0xea)][_0x29b901(0xce)]+=[_0x2e75e2,_0x1af1fc][_0x29b901(0xdf)]('\x20'),this;}async[a83_0x2bb0a0(0xe6)](){const _0x5b41f4=a83_0x2bb0a0;this['_cleanParams']();const _0x59949f=await this['request']()[_0x5b41f4(0xc0)](_0x16ddd7=>{throw new Error(_0x16ddd7);});if(_0x59949f[_0x5b41f4(0xbe)]!==0xc8)throw new Error('No\x20features\x20found');if(_0x59949f['data']&&_0x59949f[_0x5b41f4(0xed)]['features']&&_0x59949f[_0x5b41f4(0xed)]['features']['length']>0x0){var _0x23093b=new a83_0x53cf78();let _0x19e12d=[];return _0x59949f[_0x5b41f4(0xed)][_0x5b41f4(0xcc)][_0x5b41f4(0xdd)](_0x4d2598=>{const _0x25f02a=_0x23093b['readFeature'](_0x4d2598);_0x19e12d['push'](_0x25f02a);}),_0x19e12d;}return[];}[a83_0x2bb0a0(0xc2)](){const _0x300d75=a83_0x2bb0a0;this[_0x300d75(0xec)](),this[_0x300d75(0xea)][_0x300d75(0xdc)]=!![],this[_0x300d75(0xd7)]();}[a83_0x2bb0a0(0xc4)](){const _0x2283d4=a83_0x2bb0a0;this[_0x2283d4(0xec)](),this[_0x2283d4(0xea)]['returnIdsOnly']=!![],this[_0x2283d4(0xd7)]();}[a83_0x2bb0a0(0xc6)](){const _0x101146=a83_0x2bb0a0;return this['params']['returnGeometry']=![],this['params'][_0x101146(0xf3)]=!![],this;}['layer'](_0x16f4c5){const _0x535367=a83_0x2bb0a0;return this[_0x535367(0xdb)]=_0x16f4c5+_0x535367(0xd1),this;}[a83_0x2bb0a0(0xf6)](_0x39d680){const _0x275be6=a83_0x2bb0a0;_0x39d680&&(_0x39d680[_0x275be6(0xd4)]==='400'&&console[_0x275be6(0xe4)][_0x275be6(0xb4)](_0x275be6(0xd3)));}[a83_0x2bb0a0(0xec)](){const _0x418cc6=a83_0x2bb0a0;delete this[_0x418cc6(0xea)][_0x418cc6(0xc3)],delete this[_0x418cc6(0xea)]['returnExtentOnly'],delete this[_0x418cc6(0xea)]['returnCountOnly'];}['_setGeometryParams'](_0xa24478,_0x24a74d){const _0x5d78ce=a83_0x2bb0a0;var _0x4ea78f=new a83_0x53cf78();const _0x380a1b=_0x4ea78f[_0x5d78ce(0xcf)](_0xa24478);this['params']['inSR']=getEsriSpatialReference(_0x24a74d),this[_0x5d78ce(0xea)]['geometry']=_0x380a1b,this[_0x5d78ce(0xea)][_0x5d78ce(0xf7)]=this[_0x5d78ce(0xc1)](_0xa24478[_0x5d78ce(0xe7)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a84_0xe892ee=a84_0x39d9;function a84_0x2729(){var _0x25f2da=['554250gzFQOZ','43686iGAARs','MultiPoint','JSONP','prototype','url','123530ikkQUu','1788584XRpUVl','geojsonTypeToArcGIS','params','length','[object\x20Object]','returnUnformattedValues','json','esriGeometryMultipoint','esriGeometryPoint','Point','stringify','post','1051701kRjXjR','32dSSNdS','test','MultiLineString','esriGeometryPolyline','6UCVkOZ','MultiPolygon','9149211HpTwNH','hasOwnProperty','toString','LineString','515mYloDY','serialize','method','valueOf','1460vODeTL','indexOf','GET','2187700kNDZKr','[object\x20Date]','format','get','join','call'];a84_0x2729=function(){return _0x25f2da;};return a84_0x2729();}(function(_0x57f770,_0x53f3fa){var _0x2cf9fa=a84_0x39d9,_0x29aea0=_0x57f770();while(!![]){try{var _0x3d75e9=-parseInt(_0x2cf9fa(0x210))/0x1+parseInt(_0x2cf9fa(0x1fd))/0x2+-parseInt(_0x2cf9fa(0x1ea))/0x3*(-parseInt(_0x2cf9fa(0x1f7))/0x4)+parseInt(_0x2cf9fa(0x1f0))/0x5*(parseInt(_0x2cf9fa(0x1fe))/0x6)+parseInt(_0x2cf9fa(0x204))/0x7*(-parseInt(_0x2cf9fa(0x211))/0x8)+-parseInt(_0x2cf9fa(0x1ec))/0x9+parseInt(_0x2cf9fa(0x1f4))/0xa*(parseInt(_0x2cf9fa(0x203))/0xb);if(_0x3d75e9===_0x53f3fa)break;else _0x29aea0['push'](_0x29aea0['shift']());}catch(_0x37ee6d){_0x29aea0['push'](_0x29aea0['shift']());}}}(a84_0x2729,0xa39da));function a84_0x39d9(_0x82d176,_0x2d7a96){var _0x27299e=a84_0x2729();return a84_0x39d9=function(_0x39d958,_0x2d14d6){_0x39d958=_0x39d958-0x1e7;var _0x3e89f2=_0x27299e[_0x39d958];return _0x3e89f2;},a84_0x39d9(_0x82d176,_0x2d7a96);}import a84_0x546d1a from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x29bc18,_0x337911,_0x440f8f){var _0x25739f=a84_0x39d9;this['url']=_0x29bc18,this[_0x25739f(0x206)]=_0x337911||{},this[_0x25739f(0x1f2)]=!_0x440f8f?_0x25739f(0x1f6):_0x440f8f;}[a84_0xe892ee(0x205)](_0x4995a1){var _0x195859=a84_0xe892ee,_0x4ed2d5;switch(_0x4995a1){case _0x195859(0x20d):_0x4ed2d5=_0x195859(0x20c);break;case _0x195859(0x1ff):_0x4ed2d5=_0x195859(0x20b);break;case _0x195859(0x1ef):_0x4ed2d5=_0x195859(0x1e9);break;case _0x195859(0x1e8):_0x4ed2d5=_0x195859(0x1e9);break;case'Polygon':_0x4ed2d5='esriGeometryPolygon';break;case _0x195859(0x1eb):_0x4ed2d5='esriGeometryPolygon';break;}return _0x4ed2d5;}['isArcgisOnline'](_0x1fc32d){var _0x3cc5cf=a84_0xe892ee;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x3cc5cf(0x1e7)](_0x1fc32d);}[a84_0xe892ee(0x1f1)](_0x2fbf29){var _0x301581=a84_0xe892ee,_0x2eba7c='';_0x2fbf29['f']=_0x2fbf29['f']||_0x301581(0x20a);for(var _0xdffc5d in _0x2fbf29){if(Object[_0x301581(0x201)][_0x301581(0x1ed)]['call'](_0x2fbf29,_0xdffc5d)){var _0x3aad82=_0x2fbf29[_0xdffc5d],_0x763f18=Object['prototype'][_0x301581(0x1ee)][_0x301581(0x1fc)](_0x3aad82),_0x42754b;_0x2eba7c[_0x301581(0x207)]&&(_0x2eba7c+='&');if(_0x763f18==='[object\x20Array]')_0x42754b=Object[_0x301581(0x201)][_0x301581(0x1ee)][_0x301581(0x1fc)](_0x3aad82[0x0])===_0x301581(0x208)?JSON[_0x301581(0x20e)](_0x3aad82):_0x3aad82[_0x301581(0x1fb)](',');else{if(_0x763f18===_0x301581(0x208))_0x42754b=JSON['stringify'](_0x3aad82);else _0x763f18===_0x301581(0x1f8)?_0x42754b=_0x3aad82[_0x301581(0x1f3)]():_0x42754b=_0x3aad82;}_0x2eba7c+=encodeURIComponent(_0xdffc5d)+'='+encodeURIComponent(_0x42754b);}}return _0x2eba7c;}[a84_0xe892ee(0x1f9)](_0x460247){var _0x59a317=a84_0xe892ee;return this[_0x59a317(0x206)][_0x59a317(0x209)]=!_0x460247,this;}async['request'](){var _0x434ada=a84_0xe892ee,_0x3edb66=this[_0x434ada(0x1f1)](this['params']);const _0x3117d7=this[_0x434ada(0x202)][_0x434ada(0x1f5)]('?')>-0x1?this[_0x434ada(0x202)]+'&'+_0x3edb66:this[_0x434ada(0x202)]+'?'+_0x3edb66;if(this[_0x434ada(0x1f2)]==='GET')return a84_0x546d1a[_0x434ada(0x1fa)](_0x3117d7);else{if(this[_0x434ada(0x1f2)]===_0x434ada(0x200))return jsonp(_0x3117d7);else{const _0x2db7a7=stringify(this[_0x434ada(0x206)]);return a84_0x546d1a[_0x434ada(0x20f)](this[_0x434ada(0x202)],_0x2db7a7);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a86_0xf5ec(){const _0x2bb47d=['then','queryParameters','serializeToString','2058NkuLhB','json','application/json','where','_geoserverQuery','catch','234289ythZiE','tableName','36780apKvQD','map','stringify','379008oxPdzo','4LfrLSs','315ChPTQw','srsName','655iusbHg','145318BXXRMs','7MmdpfB','features','POST','geometry','1394488jnmuCH','440316SaCDXv','writeGetFeature','execute','srsName\x20is\x20required','read','geometryName','url'];a86_0xf5ec=function(){return _0x2bb47d;};return a86_0xf5ec();}function a86_0x32c7(_0x2b12e6,_0x1f6c53){const _0xf5ecb3=a86_0xf5ec();return a86_0x32c7=function(_0x32c7a4,_0x1ddb21){_0x32c7a4=_0x32c7a4-0x132;let _0x36b172=_0xf5ecb3[_0x32c7a4];return _0x36b172;},a86_0x32c7(_0x2b12e6,_0x1f6c53);}const a86_0x1a55f5=a86_0x32c7;(function(_0x3da286,_0x49fbf5){const _0x4e8fe8=a86_0x32c7,_0x10bd0c=_0x3da286();while(!![]){try{const _0x37a3cc=-parseInt(_0x4e8fe8(0x13d))/0x1*(-parseInt(_0x4e8fe8(0x141))/0x2)+-parseInt(_0x4e8fe8(0x13c))/0x3+parseInt(_0x4e8fe8(0x147))/0x4+-parseInt(_0x4e8fe8(0x140))/0x5*(parseInt(_0x4e8fe8(0x151))/0x6)+parseInt(_0x4e8fe8(0x142))/0x7*(-parseInt(_0x4e8fe8(0x146))/0x8)+parseInt(_0x4e8fe8(0x13e))/0x9*(parseInt(_0x4e8fe8(0x139))/0xa)+-parseInt(_0x4e8fe8(0x137))/0xb;if(_0x37a3cc===_0x49fbf5)break;else _0x10bd0c['push'](_0x10bd0c['shift']());}catch(_0x225609){_0x10bd0c['push'](_0x10bd0c['shift']());}}}(a86_0xf5ec,0x27b06));import{and,intersects}from'ol/format/filter';import a86_0x27cfdd from'../../format/CQL';import a86_0x15b7c1 from'ol/format/WFS';import a86_0x309701 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x5c223b){const _0x7e64d0=a86_0x32c7;this[_0x7e64d0(0x14f)]={},this[_0x7e64d0(0x14d)]=_0x5c223b;}async[a86_0x1a55f5(0x149)](_0x522ab2){const _0x342373=a86_0x1a55f5;this['queryParameters']=_0x522ab2||{};const _0x20b82c=this[_0x342373(0x14f)][_0x342373(0x14c)]||'the_geom';let _0x4cdf74=this[_0x342373(0x14f)][_0x342373(0x134)],_0x290b13;_0x4cdf74&&(_0x290b13=new a86_0x27cfdd()[_0x342373(0x14b)](_0x4cdf74));let _0x5e0f14=_0x290b13;if(this['queryParameters'][_0x342373(0x145)]){if(!this[_0x342373(0x14f)][_0x342373(0x13f)])throw new Error(_0x342373(0x14a));const _0x27b07c=intersects(_0x20b82c,this[_0x342373(0x14f)][_0x342373(0x145)]);_0x5e0f14=_0x290b13?and(_0x290b13,_0x27b07c):_0x27b07c;}let _0x1c7496=new a86_0x15b7c1()['writeGetFeature']({'srsName':this[_0x342373(0x14f)][_0x342373(0x13f)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x342373(0x14f)][_0x342373(0x138)]],'outputFormat':'application/json','geometryName':_0x20b82c,'filter':_0x5e0f14});const _0x340300=await fetch(this[_0x342373(0x14d)],{'method':_0x342373(0x144),'body':new XMLSerializer()[_0x342373(0x150)](_0x1c7496)}),_0x2e09da=await _0x340300[_0x342373(0x132)]();let _0x567864=[];const _0x4e1b9d=new a86_0x309701();return _0x567864=_0x2e09da['features'][_0x342373(0x13a)](_0x356ee3=>{const _0x212ecd=_0x342373;return _0x4e1b9d['readFeature'](JSON[_0x212ecd(0x13b)](_0x356ee3));}),_0x567864;}[a86_0x1a55f5(0x135)](){const _0x3f4cba=a86_0x1a55f5,_0x5253dc=this['queryParameters'][_0x3f4cba(0x14c)]||'the_geom';let _0x4996a2=this[_0x3f4cba(0x14f)][_0x3f4cba(0x134)],_0x2807df;_0x4996a2&&(_0x2807df=new a86_0x27cfdd()[_0x3f4cba(0x14b)](_0x4996a2));let _0x3283b3=_0x2807df;if(this['queryParameters'][_0x3f4cba(0x145)]){const _0x53e3b5=intersects(_0x5253dc,this[_0x3f4cba(0x14f)][_0x3f4cba(0x145)]);_0x3283b3=_0x2807df?and(_0x2807df,_0x53e3b5):_0x53e3b5;}let _0xe5c8b0=new a86_0x15b7c1()[_0x3f4cba(0x148)]({'srsName':this[_0x3f4cba(0x14f)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3f4cba(0x14f)][_0x3f4cba(0x138)]],'outputFormat':_0x3f4cba(0x133),'geometryName':_0x5253dc,'filter':_0x3283b3});return new Promise(_0x4d48e4=>{const _0x145787=_0x3f4cba;fetch(this[_0x145787(0x14d)],{'method':_0x145787(0x144),'body':new XMLSerializer()[_0x145787(0x150)](_0xe5c8b0)})[_0x145787(0x14e)](_0x44aa71=>{return _0x44aa71['json']();})['then'](_0x35d8c6=>{const _0x53b213=_0x145787;let _0x2c2340=[];const _0x5a25b6=new a86_0x309701();_0x2c2340=_0x35d8c6[_0x53b213(0x143)]['map'](_0x5c93fd=>{return _0x5a25b6['readFeature'](JSON['stringify'](_0x5c93fd));}),_0x4d48e4(_0x2c2340);})[_0x145787(0x136)](_0x2f16d4=>{_0x4d48e4([]),console['error'](_0x2f16d4);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a87_0x174f(_0x40775a,_0x4ca099){const _0x2282cd=a87_0x2282();return a87_0x174f=function(_0x174fc8,_0x33307c){_0x174fc8=_0x174fc8-0x112;let _0x50a6b1=_0x2282cd[_0x174fc8];return _0x50a6b1;},a87_0x174f(_0x40775a,_0x4ca099);}(function(_0x89eb3e,_0x4c9a8c){const _0x2b6285=a87_0x174f,_0x3638b1=_0x89eb3e();while(!![]){try{const _0x384b6a=parseInt(_0x2b6285(0x122))/0x1*(parseInt(_0x2b6285(0x11c))/0x2)+-parseInt(_0x2b6285(0x114))/0x3+parseInt(_0x2b6285(0x11b))/0x4*(parseInt(_0x2b6285(0x11e))/0x5)+parseInt(_0x2b6285(0x120))/0x6+-parseInt(_0x2b6285(0x11f))/0x7*(-parseInt(_0x2b6285(0x124))/0x8)+parseInt(_0x2b6285(0x113))/0x9*(parseInt(_0x2b6285(0x123))/0xa)+-parseInt(_0x2b6285(0x119))/0xb*(parseInt(_0x2b6285(0x115))/0xc);if(_0x384b6a===_0x4c9a8c)break;else _0x3638b1['push'](_0x3638b1['shift']());}catch(_0x301309){_0x3638b1['push'](_0x3638b1['shift']());}}}(a87_0x2282,0xcd8df));function a87_0x2282(){const _0x27b80e=['2840871NKyRXv','17619756ZZkScw','layerFields','name','arcgis-dynamic','22SQXqyE','geoserver-wms','4383080fwlotp','63016ximWzG','execute','5upGwlh','14uhEhHr','6351468pXJqWg','fieldType','47TXggXo','117440IZAYqz','2764056SgAvqu','find','run','306FnBGOS'];a87_0x2282=function(){return _0x27b80e;};return a87_0x2282();}import{appendPath}from'../UrlUtil';import a87_0x2a135c from'./esri/Query';import a87_0x3ad560 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x4a402f,_0x404151,_0x31308b,_0x3ac8c3,_0x5d6fa7,_0x191bf0){const _0x474f65=a87_0x174f;if(!_0x31308b||!_0x3ac8c3||!_0x5d6fa7||!_0x5d6fa7)return[];let _0x1a14fe=[];try{if(_0x5d6fa7==_0x474f65(0x118)||_0x5d6fa7=='arcgis-feature'){const _0x103d39=appendPath(_0x31308b,_0x3ac8c3),_0x133f02=new a87_0x2a135c(_0x103d39,{'outSR':_0x404151,'where':_0x191bf0});_0x133f02['intersects'](_0x4a402f,_0x404151),_0x1a14fe=await _0x133f02[_0x474f65(0x112)]();}else{if(_0x5d6fa7=='geoserver-wfs'||_0x5d6fa7==_0x474f65(0x11a)){const _0x3c0c74=new a87_0x3ad560(_0x31308b),_0x502202=await getWFSLayerCapabilities(_0x31308b,_0x3ac8c3),_0x34866d=_0x502202[_0x474f65(0x116)][_0x474f65(0x125)](_0xb775ed=>_0xb775ed[_0x474f65(0x121)]==0x6);_0x1a14fe=await _0x3c0c74[_0x474f65(0x11d)]({'geometry':_0x4a402f,'tableName':_0x3ac8c3,'geometryName':_0x34866d?_0x34866d[_0x474f65(0x117)]:'','srsName':_0x404151,'where':_0x191bf0});}}}catch(_0x240b0f){}return _0x1a14fe;}
|