ym-gis-2d 1.0.15 → 1.0.16
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/feature/FeatureManager.d.ts +6 -0
- package/feature/FeatureManager.d.ts.map +1 -1
- package/feature/FeatureManager.js +1 -1
- package/feature/FeatureManager.js.map +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.d.ts +11 -0
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.d.ts +0 -11
- package/mapView/View.d.ts.map +1 -1
- package/mapView/View.js +1 -1
- package/mapView/View.js.map +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.d.ts +1 -0
- package/style/StyleManager.d.ts.map +1 -1
- package/style/StyleManager.js +1 -1
- package/style/StyleManager.js.map +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
|
-
|
|
1
|
+
const a75_0x3e7baa=a75_0x4a3d;(function(_0x6fb0a4,_0x306482){const _0x584b64=a75_0x4a3d,_0x1500f3=_0x6fb0a4();while(!![]){try{const _0x13bba2=-parseInt(_0x584b64(0x1ff))/0x1*(-parseInt(_0x584b64(0x1da))/0x2)+-parseInt(_0x584b64(0x1d7))/0x3*(-parseInt(_0x584b64(0x1f7))/0x4)+-parseInt(_0x584b64(0x1dc))/0x5+-parseInt(_0x584b64(0x1e1))/0x6*(-parseInt(_0x584b64(0x1d9))/0x7)+-parseInt(_0x584b64(0x200))/0x8*(-parseInt(_0x584b64(0x1f8))/0x9)+-parseInt(_0x584b64(0x1e4))/0xa+-parseInt(_0x584b64(0x1e9))/0xb;if(_0x13bba2===_0x306482)break;else _0x1500f3['push'](_0x1500f3['shift']());}catch(_0xbab04){_0x1500f3['push'](_0x1500f3['shift']());}}}(a75_0x1ccf,0x324fa));import a75_0x4c2328 from'color';import a75_0x527c2f from'./writeTextToCanvas';import{Icon}from'ol/style';import a75_0x260fe8 from'ol/ImageState';function a75_0x4a3d(_0x599b23,_0x57d502){const _0x1ccff8=a75_0x1ccf();return a75_0x4a3d=function(_0x4a3d4b,_0x559fb5){_0x4a3d4b=_0x4a3d4b-0x1d3;let _0x1804a1=_0x1ccff8[_0x4a3d4b];return _0x1804a1;},a75_0x4a3d(_0x599b23,_0x57d502);}import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x5f0a2b=a75_0x4a3d;this[_0x5f0a2b(0x1fc)]={};}[a75_0x3e7baa(0x1f3)](_0x4b8b5b,_0x42c3fa){const _0x1f3eff=a75_0x3e7baa;if(!_0x4b8b5b)throw new Error('color\x20is\x20required');if(!_0x42c3fa)throw new Error('size\x20is\x20required');return createPin('','',_0x4b8b5b,_0x42c3fa,this[_0x1f3eff(0x1fc)]);}[a75_0x3e7baa(0x1f6)](_0x2c8d1f,_0x431632,_0x31d936){const _0x3ae101=a75_0x3e7baa;if(!_0x2c8d1f)throw new Error('url\x20is\x20required');if(!_0x431632)throw new Error(_0x3ae101(0x1d4));if(!_0x31d936)throw new Error(_0x3ae101(0x1fd));return createPin(_0x2c8d1f,'',_0x431632,_0x31d936,this['_cache']);}['fromMakiIconId'](_0x4cc884,_0x97816,_0x292aac){const _0x2d4fee=a75_0x3e7baa;if(!_0x4cc884)throw new Error(_0x2d4fee(0x1f2));if(!_0x97816)throw new Error(_0x2d4fee(0x1d4));if(!_0x292aac)throw new Error(_0x2d4fee(0x1fd));return createPin(parseImage(_0x4cc884),'',_0x97816,_0x292aac,this[_0x2d4fee(0x1fc)]);}[a75_0x3e7baa(0x1de)](_0x226806,_0x3463cc,_0xe2d154){const _0x251a05=a75_0x3e7baa;if(!_0x226806)throw new Error(_0x251a05(0x1f0));if(!_0x3463cc)throw new Error(_0x251a05(0x1d4));if(!_0xe2d154)throw new Error(_0x251a05(0x1fd));return createPin('',_0x226806,_0x3463cc,_0xe2d154,this[_0x251a05(0x1fc)]);}}function drawPin(_0x53c168,_0x1371f9,_0x516a8f){const _0x65ffb5=a75_0x3e7baa;_0x53c168[_0x65ffb5(0x1dd)](),_0x53c168[_0x65ffb5(0x204)](_0x516a8f/0x18,_0x516a8f/0x18),_0x53c168[_0x65ffb5(0x1ea)]=_0x1371f9,_0x53c168[_0x65ffb5(0x1e8)]=a75_0x4c2328(_0x1371f9)[_0x65ffb5(0x1f1)](0.6)[_0x65ffb5(0x202)](),_0x53c168[_0x65ffb5(0x1e7)]=0.846,_0x53c168[_0x65ffb5(0x1f4)](),_0x53c168[_0x65ffb5(0x1d3)](6.72,0.422),_0x53c168[_0x65ffb5(0x1e3)](17.28,0.422),_0x53c168[_0x65ffb5(0x1df)](18.553,0.422,19.577,1.758,19.577,3.415),_0x53c168[_0x65ffb5(0x1e3)](19.577,10.973),_0x53c168['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x53c168[_0x65ffb5(0x1e3)](14.386,14.008),_0x53c168[_0x65ffb5(0x1e3)](11.826,23.578),_0x53c168[_0x65ffb5(0x1e3)](9.614,14.008),_0x53c168[_0x65ffb5(0x1e3)](6.719,13.965),_0x53c168[_0x65ffb5(0x1df)](5.446,13.983,4.422,12.629,4.422,10.972),_0x53c168[_0x65ffb5(0x1e3)](4.422,3.416),_0x53c168['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x53c168[_0x65ffb5(0x203)](),_0x53c168[_0x65ffb5(0x1db)](),_0x53c168['stroke'](),_0x53c168['restore']();}function drawIcon(_0x474437,_0x10d105,_0xa99ad8){const _0x3604d1=a75_0x3e7baa,_0x56de43=_0xa99ad8/2.5;let _0x45f6d5=_0x56de43,_0x1b49a2=_0x56de43;if(_0x10d105[_0x3604d1(0x1e5)]>_0x10d105[_0x3604d1(0x205)])_0x1b49a2=_0x56de43*(_0x10d105[_0x3604d1(0x205)]/_0x10d105[_0x3604d1(0x1e5)]);else _0x10d105['width']<_0x10d105['height']&&(_0x45f6d5=_0x56de43*(_0x10d105[_0x3604d1(0x1e5)]/_0x10d105[_0x3604d1(0x205)]));const _0x12bb38=Math['round']((_0xa99ad8-_0x45f6d5)/0x2),_0x13c83b=Math['round'](0x7/0x18*_0xa99ad8-_0x1b49a2/0x2);_0x474437[_0x3604d1(0x1eb)]=_0x3604d1(0x1f9),_0x474437[_0x3604d1(0x1f5)](_0x10d105,_0x12bb38-0x1,_0x13c83b,_0x45f6d5,_0x1b49a2),_0x474437['drawImage'](_0x10d105,_0x12bb38,_0x13c83b-0x1,_0x45f6d5,_0x1b49a2),_0x474437[_0x3604d1(0x1f5)](_0x10d105,_0x12bb38+0x1,_0x13c83b,_0x45f6d5,_0x1b49a2),_0x474437[_0x3604d1(0x1f5)](_0x10d105,_0x12bb38,_0x13c83b+0x1,_0x45f6d5,_0x1b49a2),_0x474437[_0x3604d1(0x1eb)]=_0x3604d1(0x1fe),_0x474437[_0x3604d1(0x1ea)]=_0x3604d1(0x207),_0x474437['fillRect'](_0x12bb38-0x1,_0x13c83b-0x1,_0x45f6d5+0x2,_0x1b49a2+0x2),_0x474437[_0x3604d1(0x1eb)]=_0x3604d1(0x1f9),_0x474437[_0x3604d1(0x1f5)](_0x10d105,_0x12bb38,_0x13c83b,_0x45f6d5,_0x1b49a2),_0x474437[_0x3604d1(0x1eb)]=_0x3604d1(0x1fe),_0x474437[_0x3604d1(0x1ea)]=_0x3604d1(0x1e2),_0x474437['fillRect'](_0x12bb38-0x1,_0x13c83b-0x2,_0x45f6d5+0x2,_0x1b49a2+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x461cf8,_0x48e923,_0x5661cb,_0x3228e1,_0x441936){const _0x13a2ad=a75_0x3e7baa;stringifyScratch[0x0]=_0x461cf8,stringifyScratch[0x1]=_0x48e923,stringifyScratch[0x2]=_0x5661cb,stringifyScratch[0x3]=_0x3228e1;const _0x2eb582=JSON[_0x13a2ad(0x1ef)](stringifyScratch),_0x291b48=_0x441936[_0x2eb582];if(_0x291b48)return _0x291b48;const _0x329a08=document[_0x13a2ad(0x1e6)]('canvas');_0x329a08['width']=_0x3228e1,_0x329a08[_0x13a2ad(0x205)]=_0x3228e1;const _0x5a4e61=_0x329a08[_0x13a2ad(0x1e0)]('2d');drawPin(_0x5a4e61,_0x5661cb,_0x3228e1);if(_0x461cf8)return new Promise(_0xfb8d74=>{const _0x28b0b7=_0x13a2ad;let _0x38fdbf=new Icon({'src':_0x461cf8}),_0xe244b4=_0x38fdbf['getImageState']();_0xe244b4===a75_0x260fe8[_0x28b0b7(0x1ed)]||_0xe244b4===a75_0x260fe8[_0x28b0b7(0x1d6)]?(drawIcon(_0x5a4e61,_0x38fdbf['getImage'](0x60),_0x3228e1),_0x441936[_0x2eb582]=_0x329a08[_0x28b0b7(0x1fb)](),_0xfb8d74(_0x329a08[_0x28b0b7(0x1fb)]())):(_0xe244b4===a75_0x260fe8[_0x28b0b7(0x1d8)]&&_0x38fdbf['load'](),_0x38fdbf[_0x28b0b7(0x1d5)](_0x124ba4=>{const _0x3299eb=_0x28b0b7;_0xe244b4=_0x124ba4[_0x3299eb(0x1ec)][_0x3299eb(0x206)](),(_0xe244b4===a75_0x260fe8['LOADED']||_0xe244b4===a75_0x260fe8[_0x3299eb(0x1d6)])&&(drawIcon(_0x5a4e61,_0x38fdbf[_0x3299eb(0x201)](0x60),_0x3228e1),_0x441936[_0x2eb582]=_0x329a08['toDataURL'](),_0xfb8d74(_0x329a08[_0x3299eb(0x1fb)]()));}));});else{if(_0x48e923){const _0x4ee4f6=a75_0x527c2f(_0x48e923,{'font':_0x13a2ad(0x1ee)+_0x3228e1+_0x13a2ad(0x1fa)});drawIcon(_0x5a4e61,_0x4ee4f6,_0x3228e1);}}return _0x441936[_0x2eb582]=_0x329a08[_0x13a2ad(0x1fb)](),_0x329a08[_0x13a2ad(0x1fb)]();}function a75_0x1ccf(){const _0x33f947=['fill','1290380hnYdHk','save','fromText','bezierCurveTo','getContext','1653990VSgOuP','#FFFFFF','lineTo','1688100kXtfre','width','createElement','lineWidth','strokeStyle','1392765OLaaHX','fillStyle','globalCompositeOperation','target','LOADED','bold\x20','stringify','text\x20is\x20required','lighten','id\x20is\x20required','fromColor','beginPath','drawImage','fromUrl','1296384zWUjFt','72018qrCPyF','destination-out','px\x20sans-serif','toDataURL','_cache','size\x20is\x20required','destination-over','151812MvOvFN','8SDQxwb','getImage','hexa','closePath','scale','height','getImageState','#000000','moveTo','color\x20is\x20required','listenImageChange','ERROR','3XRAtWU','IDLE','7QCfuGX','2FANqZU'];a75_0x1ccf=function(){return _0x33f947;};return a75_0x1ccf();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a76_0xebbc(_0xac936d,_0x40690c){const _0x25accb=a76_0x25ac();return a76_0xebbc=function(_0xebbcbe,_0x1c5c20){_0xebbcbe=_0xebbcbe-0x70;let _0x2e441e=_0x25accb[_0xebbcbe];return _0x2e441e;},a76_0xebbc(_0xac936d,_0x40690c);}const a76_0x51221f=a76_0xebbc;(function(_0x7829de,_0x4c30f6){const _0xce348a=a76_0xebbc,_0xa7834c=_0x7829de();while(!![]){try{const _0x29cadf=-parseInt(_0xce348a(0x7a))/0x1+parseInt(_0xce348a(0x70))/0x2*(parseInt(_0xce348a(0x7f))/0x3)+parseInt(_0xce348a(0x88))/0x4*(parseInt(_0xce348a(0x91))/0x5)+-parseInt(_0xce348a(0x76))/0x6+-parseInt(_0xce348a(0x71))/0x7*(parseInt(_0xce348a(0x87))/0x8)+parseInt(_0xce348a(0x83))/0x9*(-parseInt(_0xce348a(0x8d))/0xa)+parseInt(_0xce348a(0x85))/0xb*(parseInt(_0xce348a(0x8c))/0xc);if(_0x29cadf===_0x4c30f6)break;else _0xa7834c['push'](_0xa7834c['shift']());}catch(_0x10f4ff){_0xa7834c['push'](_0xa7834c['shift']());}}}(a76_0x25ac,0x81f93));import a76_0x4c95b6 from'./PinBuilder';import{Icon}from'ol/style';import a76_0x589afe from'ol/ImageState';import a76_0x403ced from'ol/events/Event';import{shared as a76_0x4e7471}from'./ImageCache';export default class PinIcon{constructor(_0x1d37bd){const _0x2747f7=a76_0xebbc;this['options']=_0x1d37bd||{},this[_0x2747f7(0x78)]=a76_0x589afe[_0x2747f7(0x95)],this[_0x2747f7(0x94)]=a76_0x4e7471[_0x2747f7(0x72)](this[_0x2747f7(0x8f)]),this['_icon']&&(this[_0x2747f7(0x78)]=a76_0x589afe[_0x2747f7(0x92)]);}[a76_0x51221f(0x77)](){const _0x48c05f=a76_0x51221f;try{let _0x83592b,_0x175ab6=new a76_0x4c95b6();if(this['options'][_0x48c05f(0x7c)])_0x83592b=_0x175ab6[_0x48c05f(0x93)](this[_0x48c05f(0x8f)][_0x48c05f(0x7c)],this[_0x48c05f(0x8f)][_0x48c05f(0x8e)],this[_0x48c05f(0x8f)][_0x48c05f(0x7d)]||0x30);else this['options'][_0x48c05f(0x73)]&&(_0x83592b=_0x175ab6[_0x48c05f(0x84)](this[_0x48c05f(0x8f)]['image'],this['options'][_0x48c05f(0x8e)],this[_0x48c05f(0x8f)][_0x48c05f(0x7d)]||0x30));Promise[_0x48c05f(0x8a)](_0x83592b)[_0x48c05f(0x8b)](_0xfc2006=>{const _0x299940=_0x48c05f;this[_0x299940(0x80)](_0xfc2006);})[_0x48c05f(0x90)](_0x1159b1=>{const _0x5e845c=_0x48c05f;console[_0x5e845c(0x7b)](_0x1159b1),this[_0x5e845c(0x78)]=a76_0x589afe[_0x5e845c(0x86)],this[_0x5e845c(0x82)](_0x5e845c(0x75));});}catch(_0x3a6aec){console[_0x48c05f(0x7b)](_0x3a6aec),this[_0x48c05f(0x78)]=a76_0x589afe[_0x48c05f(0x86)],this[_0x48c05f(0x82)](_0x48c05f(0x75));}}[a76_0x51221f(0x80)](_0x447e0b){const _0x2a1a77=a76_0x51221f;this[_0x2a1a77(0x94)]=new Icon({'src':_0x447e0b}),a76_0x4e7471[_0x2a1a77(0x81)](this[_0x2a1a77(0x8f)],this['_icon']);let _0x447793=this[_0x2a1a77(0x94)]['getImageState']();_0x447793===a76_0x589afe[_0x2a1a77(0x92)]||_0x447793===a76_0x589afe[_0x2a1a77(0x86)]?(this[_0x2a1a77(0x78)]=this[_0x2a1a77(0x94)]['getImageState'](),this[_0x2a1a77(0x82)](_0x2a1a77(0x77))):(_0x447793===a76_0x589afe['IDLE']&&this[_0x2a1a77(0x94)][_0x2a1a77(0x77)](),this[_0x2a1a77(0x94)]['listenImageChange'](_0x3ae302=>{const _0x27296b=_0x2a1a77;_0x447793=_0x3ae302[_0x27296b(0x79)][_0x27296b(0x7e)](),(_0x447793===a76_0x589afe[_0x27296b(0x92)]||_0x447793===a76_0x589afe[_0x27296b(0x86)])&&(this[_0x27296b(0x78)]=this[_0x27296b(0x94)][_0x27296b(0x7e)](),this['dispatchEvent'](_0x27296b(0x77)));}));}[a76_0x51221f(0x7e)](){return this['_imageState'];}['getImage'](){const _0x3904bb=a76_0x51221f;var _0x90ac25;return(_0x90ac25=this[_0x3904bb(0x94)])===null||_0x90ac25===void 0x0?void 0x0:_0x90ac25[_0x3904bb(0x89)]();}['listenImageChange'](_0x2ba9a8){const _0x58bdc0=a76_0x51221f;this[_0x58bdc0(0x74)]=_0x2ba9a8;}[a76_0x51221f(0x82)](_0x2ed8ef){const _0x25399d=a76_0x51221f;if(this['_listener']){let _0x4c147f=new a76_0x403ced(_0x2ed8ef);_0x4c147f[_0x25399d(0x79)]=this,this[_0x25399d(0x74)](_0x4c147f);}}}function a76_0x25ac(){const _0x10cf62=['markerLabel','markerSize','getImageState','3unLkop','loadIcon','set','dispatchEvent','4284ejISiO','fromUrl','11sBFfTs','ERROR','6776392sanKvH','144wHoRGG','getImage','resolve','then','17424420hkHyVY','9050DoMjkB','markerColor','options','catch','27415FYioiX','LOADED','fromText','_icon','IDLE','1555954lbAmgv','7xuxJqb','get','image','_listener','error','653958sMZwLX','load','_imageState','target','508207EdGuri','warn'];a76_0x25ac=function(){return _0x10cf62;};return a76_0x25ac();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x3e9d69,_0x4382be){const _0xa45281=a77_0x3819,_0x597f0e=_0x3e9d69();while(!![]){try{const _0x3b2551=-parseInt(_0xa45281(0x12a))/0x1*(-parseInt(_0xa45281(0x12c))/0x2)+parseInt(_0xa45281(0xfd))/0x3*(-parseInt(_0xa45281(0x10e))/0x4)+-parseInt(_0xa45281(0x11c))/0x5+parseInt(_0xa45281(0x111))/0x6+-parseInt(_0xa45281(0x114))/0x7+parseInt(_0xa45281(0x100))/0x8*(-parseInt(_0xa45281(0x10b))/0x9)+parseInt(_0xa45281(0x11e))/0xa*(parseInt(_0xa45281(0x106))/0xb);if(_0x3b2551===_0x4382be)break;else _0x597f0e['push'](_0x597f0e['shift']());}catch(_0x49a591){_0x597f0e['push'](_0x597f0e['shift']());}}}(a77_0x1c7b,0xadb62));function a77_0x3819(_0x1367f8,_0x1d8d53){const _0x1c7b2b=a77_0x1c7b();return a77_0x3819=function(_0x381947,_0x5cf7e1){_0x381947=_0x381947-0xfd;let _0x36b978=_0x1c7b2b[_0x381947];return _0x36b978;},a77_0x3819(_0x1367f8,_0x1d8d53);}function measureText(_0x448d57,_0x417a7a,_0x3c007f,_0x108bdf,_0x3b6943){const _0x5de501=a77_0x3819,_0x4c691e=_0x448d57[_0x5de501(0x131)](_0x417a7a),_0x59ca5=!/\S/[_0x5de501(0x12b)](_0x417a7a);if(!_0x59ca5&&document[_0x5de501(0x118)]){const _0x1ce209=document['defaultView'][_0x5de501(0x101)](_0x448d57[_0x5de501(0x137)])[_0x5de501(0x109)](_0x5de501(0x135))[_0x5de501(0x129)]('px',''),_0x97c50e=document['createElement'](_0x5de501(0x137)),_0x206eb5=0x64,_0x16df1a=_0x4c691e[_0x5de501(0x125)]+_0x206eb5|0x0,_0x1f3dbe=0x3*(_0x1ce209-0x0),_0x89deef=_0x1f3dbe/0x2;_0x97c50e[_0x5de501(0x125)]=_0x16df1a,_0x97c50e[_0x5de501(0xfe)]=_0x1f3dbe;const _0x28bd20=_0x97c50e[_0x5de501(0x117)]('2d');if(!_0x28bd20)return{};_0x28bd20['font']=_0x3c007f,_0x28bd20[_0x5de501(0x13a)]=_0x5de501(0x119),_0x28bd20[_0x5de501(0x10f)](0x0,0x0,_0x97c50e['width']+0x1,_0x97c50e[_0x5de501(0xfe)]+0x1);_0x108bdf&&(_0x28bd20[_0x5de501(0x136)]=_0x5de501(0x105),_0x28bd20[_0x5de501(0x11d)]=_0x448d57[_0x5de501(0x11d)],_0x28bd20[_0x5de501(0x10a)](_0x417a7a,_0x206eb5/0x2,_0x89deef));_0x3b6943&&(_0x28bd20['fillStyle']=_0x5de501(0x105),_0x28bd20[_0x5de501(0x128)](_0x417a7a,_0x206eb5/0x2,_0x89deef));const _0xfb63a4=_0x28bd20[_0x5de501(0x115)](0x0,0x0,_0x16df1a,_0x1f3dbe)[_0x5de501(0xff)],_0x19a527=_0xfb63a4[_0x5de501(0x108)],_0x2d93b0=_0x16df1a*0x4;let _0x336b3b,_0x352bc0,_0x2f06e8=0x0,_0x38c534=0x0;for(_0x336b3b=0x0;_0x336b3b<_0x19a527;++_0x336b3b){if(_0xfb63a4[_0x336b3b]!==0xff){_0x2f06e8=_0x336b3b/_0x2d93b0|0x0;break;}}for(_0x336b3b=_0x19a527-0x1;_0x336b3b>=0x0;--_0x336b3b){if(_0xfb63a4[_0x336b3b]!==0xff){_0x38c534=_0x336b3b/_0x2d93b0|0x0;break;}}let _0x1aade7=-0x1;for(_0x336b3b=0x0;_0x336b3b<_0x16df1a&&_0x1aade7===-0x1;++_0x336b3b){for(_0x352bc0=0x0;_0x352bc0<_0x1f3dbe;++_0x352bc0){const _0x409f03=_0x336b3b*0x4+_0x352bc0*_0x2d93b0;if(_0xfb63a4[_0x409f03]!==0xff||_0xfb63a4[_0x409f03+0x1]!==0xff||_0xfb63a4[_0x409f03+0x2]!==0xff||_0xfb63a4[_0x409f03+0x3]!==0xff){_0x1aade7=_0x336b3b;break;}}}return{'width':_0x4c691e[_0x5de501(0x125)],'height':_0x38c534-_0x2f06e8,'ascent':_0x89deef-_0x2f06e8,'descent':_0x38c534-_0x89deef,'minx':_0x1aade7-_0x206eb5/0x2};}return{'width':_0x4c691e[_0x5de501(0x125)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x3f0915,_0x72a190){const _0x32ab5c=a77_0x3819;if(!_0x3f0915)throw new Error(_0x32ab5c(0x126));if(_0x3f0915==='')return undefined;_0x72a190=defaultValue(_0x72a190,{});const _0x2c4209=defaultValue(_0x72a190[_0x32ab5c(0x121)],_0x32ab5c(0x12f)),_0x1b34d6=defaultValue(_0x72a190[_0x32ab5c(0x10d)],![]),_0x3cca29=defaultValue(_0x72a190[_0x32ab5c(0x120)],!![]),_0x29c9c4=defaultValue(_0x72a190[_0x32ab5c(0x116)],0x1),_0x514fc5=defaultValue(_0x72a190[_0x32ab5c(0x124)],_0x32ab5c(0x122)),_0x595a1b=defaultValue(_0x72a190[_0x32ab5c(0x11a)],0x0),_0x2e1be6=_0x595a1b*0x2,_0xfdf191=document[_0x32ab5c(0x113)](_0x32ab5c(0x137));_0xfdf191[_0x32ab5c(0x125)]=0x1,_0xfdf191[_0x32ab5c(0xfe)]=0x1,_0xfdf191['style'][_0x32ab5c(0x121)]=_0x2c4209;const _0x49dbe2=_0xfdf191[_0x32ab5c(0x117)]('2d');if(!imageSmoothingEnabledName&&_0x49dbe2){if(_0x49dbe2['imageSmoothingEnabled'])imageSmoothingEnabledName=_0x32ab5c(0x104);else{if(_0x49dbe2['mozImageSmoothingEnabled'])imageSmoothingEnabledName=_0x32ab5c(0x12d);else{if(_0x49dbe2[_0x32ab5c(0x110)])imageSmoothingEnabledName=_0x32ab5c(0x110);else _0x49dbe2[_0x32ab5c(0x138)]&&(imageSmoothingEnabledName=_0x32ab5c(0x138));}}}_0x49dbe2[_0x32ab5c(0x121)]=_0x2c4209,_0x49dbe2['lineJoin']='round',_0x49dbe2[_0x32ab5c(0x11d)]=_0x29c9c4,_0x49dbe2[imageSmoothingEnabledName]=![],_0xfdf191[_0x32ab5c(0x112)]['visibility']=_0x32ab5c(0x11b),document[_0x32ab5c(0x123)][_0x32ab5c(0x139)](_0xfdf191);const _0x1bc5bc=measureText(_0x49dbe2,_0x3f0915,_0x2c4209,_0x1b34d6,_0x3cca29);if(!_0x1bc5bc)return;_0xfdf191[_0x32ab5c(0x134)]=_0x1bc5bc,document['body'][_0x32ab5c(0x12e)](_0xfdf191),_0xfdf191[_0x32ab5c(0x112)][_0x32ab5c(0x132)]='';const _0x5eeb3c=-(_0x1bc5bc[_0x32ab5c(0x127)]?_0x1bc5bc[_0x32ab5c(0x127)]:0x0),_0x5b4e5f=Math[_0x32ab5c(0x10c)](_0x1bc5bc['width'])+_0x5eeb3c+_0x2e1be6,_0x3100ea=(_0x1bc5bc[_0x32ab5c(0xfe)]?_0x1bc5bc['height']:0x0)+_0x2e1be6,_0x4c9fae=_0x3100ea-(_0x1bc5bc[_0x32ab5c(0x130)]?_0x1bc5bc[_0x32ab5c(0x130)]:0x0)+_0x595a1b,_0x17f845=_0x3100ea-_0x4c9fae+_0x2e1be6;return _0xfdf191[_0x32ab5c(0x125)]=_0x5b4e5f,_0xfdf191['height']=_0x3100ea,_0x49dbe2[_0x32ab5c(0x121)]=_0x2c4209,_0x49dbe2[_0x32ab5c(0x102)]=_0x32ab5c(0x11f),_0x49dbe2[_0x32ab5c(0x11d)]=_0x29c9c4,_0x49dbe2[imageSmoothingEnabledName]=![],_0x514fc5!==_0x32ab5c(0x122)&&(_0x49dbe2[_0x32ab5c(0x13a)]=_0x514fc5,_0x49dbe2['fillRect'](0x0,0x0,_0xfdf191[_0x32ab5c(0x125)],_0xfdf191[_0x32ab5c(0xfe)])),_0x1b34d6&&(_0x49dbe2[_0x32ab5c(0x136)]=defaultValue(_0x72a190[_0x32ab5c(0x103)],_0x32ab5c(0x107)),_0x49dbe2[_0x32ab5c(0x10a)](_0x3f0915,_0x5eeb3c+_0x595a1b,_0x17f845)),_0x3cca29&&(_0x49dbe2[_0x32ab5c(0x13a)]=defaultValue(_0x72a190['fillColor'],_0x32ab5c(0x133)),_0x49dbe2[_0x32ab5c(0x128)](_0x3f0915,_0x5eeb3c+_0x595a1b,_0x17f845)),_0xfdf191;}function defaultValue(_0xbd4aa6,_0x46d9db){if(_0xbd4aa6!==undefined&&_0xbd4aa6!==null)return _0xbd4aa6;return _0x46d9db;}function a77_0x1c7b(){const _0x421538=['height','data','56cCXLuf','getComputedStyle','lineJoin','strokeColor','imageSmoothingEnabled','black','11smQKaE','#000000','length','getPropertyValue','strokeText','402741ZRZIvf','ceil','stroke','58728IdAMDu','fillRect','webkitImageSmoothingEnabled','4217970UYpVHt','style','createElement','749175drkiJi','getImageData','strokeWidth','getContext','defaultView','white','padding','hidden','4247300NhlOVV','lineWidth','1584490mZJGhI','round','fill','font','#00000000','body','backgroundColor','width','text\x20is\x20required.','minx','fillText','replace','4sZMvnK','test','684700JhAWtV','mozImageSmoothingEnabled','removeChild','10px\x20sans-serif','ascent','measureText','visibility','#FFFFFF','dimensions','font-size','strokeStyle','canvas','msImageSmoothingEnabled','appendChild','fillStyle','51wlwuBA'];a77_0x1c7b=function(){return _0x421538;};return a77_0x1c7b();}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x1a38d3=a82_0x23a6;function a82_0x384c(){const _0x4c5f62=['180GpBBGR','url','121UkHYqg','params','1087005Pngdxr','imageDisplay','time','getCenter','208yOmzsR','833028AfWMHT','mapExtent','4846rJiwTe','returnM','getResolution','path','getProjection','run','layerDefs','inSR','1280700DMKdBX','26710jsbuAO','returnGeometry','all','identify','24yeMCJx','2400927mQUiwU','tolerance','valueOf','geometry','between','55433DBQCFc','getType','returnZ','_setGeometryParams','getSize','getView','resolution','getCode','layers','geojsonTypeToArcGIS','84cKBTWa'];a82_0x384c=function(){return _0x4c5f62;};return a82_0x384c();}(function(_0x58d732,_0x25719c){const _0x2339e3=a82_0x23a6,_0x5c0b70=_0x58d732();while(!![]){try{const _0xddece=-parseInt(_0x2339e3(0xd0))/0x1*(-parseInt(_0x2339e3(0xb3))/0x2)+parseInt(_0x2339e3(0xc1))/0x3+-parseInt(_0x2339e3(0xc0))/0x4*(parseInt(_0x2339e3(0xd5))/0x5)+parseInt(_0x2339e3(0xbb))/0x6+parseInt(_0x2339e3(0xc6))/0x7*(parseInt(_0x2339e3(0xb0))/0x8)+-parseInt(_0x2339e3(0xd1))/0x9*(-parseInt(_0x2339e3(0xbc))/0xa)+-parseInt(_0x2339e3(0xd3))/0xb*(-parseInt(_0x2339e3(0xb1))/0xc);if(_0xddece===_0x25719c)break;else _0x5c0b70['push'](_0x5c0b70['shift']());}catch(_0x5e7a2e){_0x5c0b70['push'](_0x5c0b70['shift']());}}}(a82_0x384c,0xe4780));import a82_0x20ec8b from'ol/format/EsriJSON';import a82_0x2db72b from'ol/format/GeoJSON';function a82_0x23a6(_0x152779,_0x56b454){const _0x384cfc=a82_0x384c();return a82_0x23a6=function(_0x23a6f0,_0x613e62){_0x23a6f0=_0x23a6f0-0xae;let _0x33890f=_0x384cfc[_0x23a6f0];return _0x33890f;},a82_0x23a6(_0x152779,_0x56b454);}import{getPointResolution}from'ol/proj';import a82_0x53b208 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a82_0x53b208{constructor(_0x4171e2,_0x4d56f3,_0x4f2db6){const _0x1b8577=a82_0x23a6;super(_0x4171e2,_0x4d56f3,_0x4f2db6),this['path']=_0x1b8577(0xbf),this[_0x1b8577(0xd4)]={'layers':_0x1b8577(0xbe),'tolerance':0x0,'returnGeometry':!![]},this[_0x1b8577(0xc2)]=0x3,this['resolution']=0x0,this[_0x1b8577(0xd2)]=appendPath(this[_0x1b8577(0xd2)],this[_0x1b8577(0xb6)]),_0x4d56f3&&((_0x4d56f3[_0x1b8577(0xbd)]===!![]||_0x4d56f3[_0x1b8577(0xbd)]===![])&&(this[_0x1b8577(0xd4)][_0x1b8577(0xbd)]=_0x4d56f3[_0x1b8577(0xbd)]),_0x4d56f3[_0x1b8577(0xce)]&&(this[_0x1b8577(0xd4)]['layers']=_0x4d56f3['layers']),_0x4d56f3[_0x1b8577(0xb9)]&&(this[_0x1b8577(0xd4)][_0x1b8577(0xb9)]=_0x4d56f3['layerDefs']),(_0x4d56f3['returnZ']===!![]||_0x4d56f3[_0x1b8577(0xc8)]===![])&&(this['params']['returnZ']=_0x4d56f3[_0x1b8577(0xc8)]),(_0x4d56f3[_0x1b8577(0xb4)]===!![]||_0x4d56f3[_0x1b8577(0xb4)]===![])&&(this[_0x1b8577(0xd4)][_0x1b8577(0xb4)]=_0x4d56f3[_0x1b8577(0xb4)]));}['at'](_0x450646,_0x4070b0){const _0x590096=a82_0x23a6;let _0x550aca,_0x1b8872;const _0x89265c=new a82_0x2db72b();_0x550aca=_0x450646,_0x1b8872=getEsriSpatialReference(_0x4070b0['getView']()[_0x590096(0xb7)]()[_0x590096(0xcd)]());const _0x1613b5=_0x4070b0[_0x590096(0xca)]();_0x1613b5&&(this[_0x590096(0xd4)][_0x590096(0xd6)]=[_0x1613b5[0x0],_0x1613b5[0x1],0x60]);this[_0x590096(0xd4)]['sr']=_0x1b8872;const _0xd83621=_0x4070b0['getView']()['calculateExtent'](_0x4070b0[_0x590096(0xca)]());this[_0x590096(0xd4)][_0x590096(0xb2)]={'xmin':_0xd83621[0x0],'ymin':_0xd83621[0x1],'xmax':_0xd83621[0x2],'ymax':_0xd83621[0x3],'spatialReference':_0x1b8872};const _0xb0314=_0x4070b0[_0x590096(0xcb)]()[_0x590096(0xb5)](),_0xf713ed=_0x4070b0['getView']()[_0x590096(0xaf)]();return _0xb0314&&_0xf713ed&&(this[_0x590096(0xcc)]=getPointResolution(_0x4070b0['getView']()[_0x590096(0xb7)](),_0xb0314,_0xf713ed)),this[_0x590096(0xc9)](_0x550aca,_0x4070b0['getView']()['getProjection']()[_0x590096(0xcd)]()),this;}[a82_0x1a38d3(0xc5)](_0x3de259,_0x26e3b5){const _0x3c7a37=a82_0x1a38d3;return this[_0x3c7a37(0xd4)][_0x3c7a37(0xae)]=[_0x3de259['valueOf'](),_0x26e3b5[_0x3c7a37(0xc3)]()],this;}[a82_0x1a38d3(0xb8)](){this['request']();}[a82_0x1a38d3(0xc9)](_0x5eada7,_0x54d905){const _0x3f999b=a82_0x1a38d3;var _0x3785e0=new a82_0x20ec8b();const _0x333c3b=_0x3785e0['writeGeometryObject'](_0x5eada7);this[_0x3f999b(0xd4)][_0x3f999b(0xba)]=getEsriSpatialReference(_0x54d905),this['params'][_0x3f999b(0xc4)]=_0x333c3b,this[_0x3f999b(0xd4)]['geometryType']=this[_0x3f999b(0xcf)](_0x5eada7[_0x3f999b(0xc7)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0xa217d3=a83_0x3a5a;function a83_0x2fda(){const _0x8e5646=['outSR','/query','esriSpatialRelTouches','where','returnM','returnDistinctValues','query','getExtent','918725JNqVwP','returnZ','inSR','_trapSQLerrors','url','length','returnCountOnly','1452SMrYMr','apply','status','16nmuXMf','valueOf','features','nearby','between','esriSpatialRelCrosses','ASC','request','400','crosses','overlaps','2EMlDMb','path','esriSRUnit_Meter','readFeature','distinct','count','run','forEach','join','geometry','1848488YDDkgM','push','getTime','layer','2232SAkfLI','time','esriSpatialRelWithin','contains','params','code','getSize','1064676rjxGST','350xhAvKf','87258jgTemG','91069GcaAaJ','_setGeometryParams','orderByFields','data','spatialRel','esriSpatialRelEnvelopeIntersects','esriSpatialRelContains','within','1=1','returnGeometry','intersects','637PjsRry','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','distance','esriSpatialRelOverlaps','returnExtentOnly','789617EpmNGS','warn','_cleanParams','maxAllowableOffset','units','abs','orderBy'];a83_0x2fda=function(){return _0x8e5646;};return a83_0x2fda();}(function(_0x3691c4,_0x527c4e){const _0x3bd3b5=a83_0x3a5a,_0x266f81=_0x3691c4();while(!![]){try{const _0x4f44fe=parseInt(_0x3bd3b5(0x154))/0x1*(-parseInt(_0x3bd3b5(0x178))/0x2)+parseInt(_0x3bd3b5(0x18d))/0x3+parseInt(_0x3bd3b5(0x16d))/0x4*(parseInt(_0x3bd3b5(0x163))/0x5)+-parseInt(_0x3bd3b5(0x143))/0x6*(-parseInt(_0x3bd3b5(0x14f))/0x7)+parseInt(_0x3bd3b5(0x182))/0x8+parseInt(_0x3bd3b5(0x186))/0x9*(-parseInt(_0x3bd3b5(0x142))/0xa)+parseInt(_0x3bd3b5(0x144))/0xb*(-parseInt(_0x3bd3b5(0x16a))/0xc);if(_0x4f44fe===_0x527c4e)break;else _0x266f81['push'](_0x266f81['shift']());}catch(_0x38129c){_0x266f81['push'](_0x266f81['shift']());}}}(a83_0x2fda,0xce202));import a83_0x406836 from'ol/format/EsriJSON';import a83_0x49bb57 from'./Task';function a83_0x3a5a(_0x5dc7db,_0x731c97){const _0x2fdaad=a83_0x2fda();return a83_0x3a5a=function(_0x3a5a8f,_0x185513){_0x3a5a8f=_0x3a5a8f-0x142;let _0x467193=_0x2fdaad[_0x3a5a8f];return _0x467193;},a83_0x3a5a(_0x5dc7db,_0x731c97);}import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a83_0x49bb57{constructor(_0x46af76,_0x11735e,_0x9e848){const _0x4854a1=a83_0x3a5a;super(_0x46af76,_0x11735e,_0x9e848),this['path']=_0x4854a1(0x161),this[_0x4854a1(0x18a)]={'returnGeometry':!![],'where':_0x4854a1(0x14c),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x4854a1(0x184)]()},this[_0x4854a1(0x167)]=appendPath(this[_0x4854a1(0x167)],this[_0x4854a1(0x179)]),_0x11735e&&((_0x11735e[_0x4854a1(0x14d)]===!![]||_0x11735e['returnGeometry']===![])&&(this['params'][_0x4854a1(0x14d)]=_0x11735e[_0x4854a1(0x14d)]),_0x11735e['where']&&(this[_0x4854a1(0x18a)][_0x4854a1(0x15e)]=_0x11735e['where']),_0x11735e[_0x4854a1(0x15b)]&&(this[_0x4854a1(0x18a)]['outSR']=getEsriSpatialReference(_0x11735e[_0x4854a1(0x15b)])),(_0x11735e[_0x4854a1(0x164)]===!![]||_0x11735e['returnZ']===![])&&(this[_0x4854a1(0x18a)]['returnZ']=_0x11735e['returnZ']),(_0x11735e[_0x4854a1(0x15f)]===!![]||_0x11735e[_0x4854a1(0x15f)]===![])&&(this[_0x4854a1(0x18a)][_0x4854a1(0x15f)]=_0x11735e[_0x4854a1(0x15f)]));}[a83_0xa217d3(0x14b)](_0x56a20e,_0x3d7543){const _0x3c819a=a83_0xa217d3;return this[_0x3c819a(0x145)](_0x56a20e,_0x3d7543),this[_0x3c819a(0x18a)]['spatialRel']=_0x3c819a(0x14a),this;}[a83_0xa217d3(0x14e)](_0xb3b5da,_0x6d78d4){const _0x1a3c43=a83_0xa217d3;return this['_setGeometryParams'](_0xb3b5da,_0x6d78d4),this[_0x1a3c43(0x18a)][_0x1a3c43(0x148)]='esriSpatialRelIntersects',this;}[a83_0xa217d3(0x189)](_0x1d9332,_0x3249eb){const _0x2ed206=a83_0xa217d3;return this[_0x2ed206(0x145)](_0x1d9332,_0x3249eb),this[_0x2ed206(0x18a)][_0x2ed206(0x148)]=_0x2ed206(0x188),this;}[a83_0xa217d3(0x176)](_0x1af0b9,_0x23e3a8){const _0x469917=a83_0xa217d3;return this['_setGeometryParams'](_0x1af0b9,_0x23e3a8),this['params']['spatialRel']=_0x469917(0x172),this;}['touches'](_0x5d8db2,_0x125934){const _0x4c28f3=a83_0xa217d3;return this['_setGeometryParams'](_0x5d8db2,_0x125934),this['params'][_0x4c28f3(0x148)]=_0x4c28f3(0x15d),this;}[a83_0xa217d3(0x177)](_0x206bb2,_0x35230a){const _0x299038=a83_0xa217d3;return this['_setGeometryParams'](_0x206bb2,_0x35230a),this[_0x299038(0x18a)][_0x299038(0x148)]=_0x299038(0x152),this;}['bboxIntersects'](_0x5eaeda,_0x10d011){const _0x592d55=a83_0xa217d3;return this['_setGeometryParams'](_0x5eaeda,_0x10d011),this[_0x592d55(0x18a)][_0x592d55(0x148)]=_0x592d55(0x149),this;}['indexIntersects'](_0x49e7bd,_0x1f94a7){const _0x3c7a0e=a83_0xa217d3;return this[_0x3c7a0e(0x145)](_0x49e7bd,_0x1f94a7),this[_0x3c7a0e(0x18a)][_0x3c7a0e(0x148)]='esriSpatialRelIndexIntersects',this;}[a83_0xa217d3(0x170)](_0x15dd43,_0x116fa1,_0x16ff72){const _0x396304=a83_0xa217d3;return this['_setGeometryParams'](_0x15dd43,_0x116fa1),this[_0x396304(0x18a)]['spatialRel']='esriSpatialRelIntersects',this[_0x396304(0x18a)][_0x396304(0x158)]=_0x396304(0x17a),this[_0x396304(0x18a)][_0x396304(0x151)]=_0x16ff72,this;}[a83_0xa217d3(0x15e)](_0x2502cb){const _0x4fb27d=a83_0xa217d3;return this[_0x4fb27d(0x18a)][_0x4fb27d(0x15e)]=_0x2502cb,this;}[a83_0xa217d3(0x171)](_0x3ab07b,_0x166a79){const _0x3d0d8e=a83_0xa217d3;return this[_0x3d0d8e(0x18a)][_0x3d0d8e(0x187)]=[_0x3ab07b[_0x3d0d8e(0x16e)](),_0x166a79[_0x3d0d8e(0x16e)]()],this;}['simplify'](_0x9eef4e,_0x8538f2){const _0x107b15=a83_0xa217d3,_0x248142=_0x9eef4e[_0x107b15(0x162)]();var _0x293663=Math[_0x107b15(0x159)](_0x248142[0x2]-_0x248142[0x0]);const _0x5a9c52=_0x9eef4e[_0x107b15(0x18c)]();if(_0x5a9c52)return this['params'][_0x107b15(0x157)]=_0x293663/_0x5a9c52[0x1]*_0x8538f2,this;}[a83_0xa217d3(0x15a)](_0x3b0920,_0x12faaf){const _0x43bf57=a83_0xa217d3;return _0x12faaf=_0x12faaf||_0x43bf57(0x173),this[_0x43bf57(0x18a)][_0x43bf57(0x146)]=this[_0x43bf57(0x18a)][_0x43bf57(0x146)]?this['params'][_0x43bf57(0x146)]+',':'',this['params'][_0x43bf57(0x146)]+=[_0x3b0920,_0x12faaf][_0x43bf57(0x180)]('\x20'),this;}async[a83_0xa217d3(0x17e)](){const _0x356566=a83_0xa217d3;this[_0x356566(0x156)]();const _0xec56b1=await this[_0x356566(0x174)]()['catch'](_0x3f2b7f=>{throw new Error(_0x3f2b7f);});if(_0xec56b1[_0x356566(0x16c)]!==0xc8)throw new Error('No\x20features\x20found');if(_0xec56b1['data']&&_0xec56b1[_0x356566(0x147)][_0x356566(0x16f)]&&_0xec56b1[_0x356566(0x147)][_0x356566(0x16f)][_0x356566(0x168)]>0x0){var _0x5c3533=new a83_0x406836();let _0x4a2e6b=[];return _0xec56b1[_0x356566(0x147)][_0x356566(0x16f)][_0x356566(0x17f)](_0xdf2f4c=>{const _0x557ce5=_0x356566,_0x5b805a=_0x5c3533[_0x557ce5(0x17b)](_0xdf2f4c);_0x4a2e6b[_0x557ce5(0x183)](_0x5b805a);}),_0x4a2e6b;}return[];}[a83_0xa217d3(0x17d)](){const _0x4e68d6=a83_0xa217d3;this[_0x4e68d6(0x156)](),this[_0x4e68d6(0x18a)][_0x4e68d6(0x169)]=!![],this['request']();}['ids'](){const _0x4adda6=a83_0xa217d3;this['_cleanParams'](),this[_0x4adda6(0x18a)]['returnIdsOnly']=!![],this[_0x4adda6(0x174)]();}[a83_0xa217d3(0x17c)](){const _0xe0e772=a83_0xa217d3;return this[_0xe0e772(0x18a)][_0xe0e772(0x14d)]=![],this[_0xe0e772(0x18a)][_0xe0e772(0x160)]=!![],this;}[a83_0xa217d3(0x185)](_0x5eb8b6){const _0x174c65=a83_0xa217d3;return this[_0x174c65(0x179)]=_0x5eb8b6+_0x174c65(0x15c),this;}[a83_0xa217d3(0x166)](_0x53dda7){const _0x1a880e=a83_0xa217d3;_0x53dda7&&(_0x53dda7[_0x1a880e(0x18b)]===_0x1a880e(0x175)&&console[_0x1a880e(0x155)][_0x1a880e(0x16b)](_0x1a880e(0x150)));}['_cleanParams'](){const _0xbb6821=a83_0xa217d3;delete this['params']['returnIdsOnly'],delete this[_0xbb6821(0x18a)][_0xbb6821(0x153)],delete this[_0xbb6821(0x18a)][_0xbb6821(0x169)];}['_setGeometryParams'](_0x78d747,_0x293d8e){const _0x3c44a4=a83_0xa217d3;var _0x25b380=new a83_0x406836();const _0x11b940=_0x25b380['writeGeometryObject'](_0x78d747);this['params'][_0x3c44a4(0x165)]=getEsriSpatialReference(_0x293d8e),this[_0x3c44a4(0x18a)][_0x3c44a4(0x181)]=_0x11b940,this['params']['geometryType']=this['geojsonTypeToArcGIS'](_0x78d747['getType']());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a84_0xa5df(_0x26af79,_0x369116){var _0x2e6c4a=a84_0x2e6c();return a84_0xa5df=function(_0xa5df0c,_0x13ef95){_0xa5df0c=_0xa5df0c-0x1a0;var _0x8d309c=_0x2e6c4a[_0xa5df0c];return _0x8d309c;},a84_0xa5df(_0x26af79,_0x369116);}var a84_0x3bd695=a84_0xa5df;function a84_0x2e6c(){var _0x1a4264=['JSONP','Polygon','json','serialize','format','prototype','9IrNMOY','4534574pTBdcF','1MiSRos','esriGeometryPolyline','get','24elzmmu','method','toString','geojsonTypeToArcGIS','1511040xeIJAw','507513Cilczc','returnUnformattedValues','post','324QUYUze','251282tWkDUO','hasOwnProperty','test','isArcgisOnline','LineString','29071XCBBgm','GET','esriGeometryPolygon','url','stringify','params','[object\x20Object]','length','[object\x20Date]','8VeBFSL','MultiLineString','2811550YjJaof','call','1454712BKePnf','valueOf','esriGeometryMultipoint','indexOf'];a84_0x2e6c=function(){return _0x1a4264;};return a84_0x2e6c();}(function(_0x3e6a12,_0x59948c){var _0x2053c5=a84_0xa5df,_0x57fc04=_0x3e6a12();while(!![]){try{var _0x328361=-parseInt(_0x2053c5(0x1b0))/0x1*(-parseInt(_0x2053c5(0x1bc))/0x2)+-parseInt(_0x2053c5(0x1b8))/0x3*(-parseInt(_0x2053c5(0x1a0))/0x4)+parseInt(_0x2053c5(0x1b7))/0x5+parseInt(_0x2053c5(0x1bb))/0x6*(-parseInt(_0x2053c5(0x1c1))/0x7)+parseInt(_0x2053c5(0x1a4))/0x8+-parseInt(_0x2053c5(0x1ae))/0x9*(-parseInt(_0x2053c5(0x1a2))/0xa)+-parseInt(_0x2053c5(0x1af))/0xb*(parseInt(_0x2053c5(0x1b3))/0xc);if(_0x328361===_0x59948c)break;else _0x57fc04['push'](_0x57fc04['shift']());}catch(_0x8e6341){_0x57fc04['push'](_0x57fc04['shift']());}}}(a84_0x2e6c,0x2c0e7));import a84_0x256a81 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x46f2bf,_0x5a41ed,_0x3a6cad){var _0x4be745=a84_0xa5df;this[_0x4be745(0x1c4)]=_0x46f2bf,this[_0x4be745(0x1c6)]=_0x5a41ed||{},this['method']=!_0x3a6cad?'GET':_0x3a6cad;}[a84_0x3bd695(0x1b6)](_0x6237de){var _0x2f2577=a84_0x3bd695,_0x465d1d;switch(_0x6237de){case'Point':_0x465d1d='esriGeometryPoint';break;case'MultiPoint':_0x465d1d=_0x2f2577(0x1a6);break;case _0x2f2577(0x1c0):_0x465d1d=_0x2f2577(0x1b1);break;case _0x2f2577(0x1a1):_0x465d1d=_0x2f2577(0x1b1);break;case _0x2f2577(0x1a9):_0x465d1d='esriGeometryPolygon';break;case'MultiPolygon':_0x465d1d=_0x2f2577(0x1c3);break;}return _0x465d1d;}[a84_0x3bd695(0x1bf)](_0x480ec2){var _0xcd6912=a84_0x3bd695;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0xcd6912(0x1be)](_0x480ec2);}['serialize'](_0x18a528){var _0x567bae=a84_0x3bd695,_0x26d141='';_0x18a528['f']=_0x18a528['f']||_0x567bae(0x1aa);for(var _0x268cfd in _0x18a528){if(Object[_0x567bae(0x1ad)][_0x567bae(0x1bd)][_0x567bae(0x1a3)](_0x18a528,_0x268cfd)){var _0x1c7ab0=_0x18a528[_0x268cfd],_0x4ce6c8=Object[_0x567bae(0x1ad)][_0x567bae(0x1b5)][_0x567bae(0x1a3)](_0x1c7ab0),_0x5a57ea;_0x26d141[_0x567bae(0x1c8)]&&(_0x26d141+='&');if(_0x4ce6c8==='[object\x20Array]')_0x5a57ea=Object[_0x567bae(0x1ad)][_0x567bae(0x1b5)][_0x567bae(0x1a3)](_0x1c7ab0[0x0])===_0x567bae(0x1c7)?JSON['stringify'](_0x1c7ab0):_0x1c7ab0['join'](',');else{if(_0x4ce6c8===_0x567bae(0x1c7))_0x5a57ea=JSON[_0x567bae(0x1c5)](_0x1c7ab0);else _0x4ce6c8===_0x567bae(0x1c9)?_0x5a57ea=_0x1c7ab0[_0x567bae(0x1a5)]():_0x5a57ea=_0x1c7ab0;}_0x26d141+=encodeURIComponent(_0x268cfd)+'='+encodeURIComponent(_0x5a57ea);}}return _0x26d141;}[a84_0x3bd695(0x1ac)](_0x481343){var _0x18f0c5=a84_0x3bd695;return this[_0x18f0c5(0x1c6)][_0x18f0c5(0x1b9)]=!_0x481343,this;}async['request'](){var _0x43b3a4=a84_0x3bd695,_0x14a4f5=this[_0x43b3a4(0x1ab)](this[_0x43b3a4(0x1c6)]);const _0x4aae6b=this['url'][_0x43b3a4(0x1a7)]('?')>-0x1?this[_0x43b3a4(0x1c4)]+'&'+_0x14a4f5:this[_0x43b3a4(0x1c4)]+'?'+_0x14a4f5;if(this[_0x43b3a4(0x1b4)]===_0x43b3a4(0x1c2))return a84_0x256a81[_0x43b3a4(0x1b2)](_0x4aae6b);else{if(this[_0x43b3a4(0x1b4)]===_0x43b3a4(0x1a8))return jsonp(_0x4aae6b);else{const _0x141621=stringify(this[_0x43b3a4(0x1c6)]);return a84_0x256a81[_0x43b3a4(0x1ba)](this[_0x43b3a4(0x1c4)],_0x141621);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a86_0x1230e2=a86_0x2380;(function(_0x25de99,_0x2ca2fb){const _0x395d4f=a86_0x2380,_0x390d43=_0x25de99();while(!![]){try{const _0x5a96b3=-parseInt(_0x395d4f(0x100))/0x1+parseInt(_0x395d4f(0x108))/0x2+parseInt(_0x395d4f(0xfa))/0x3*(parseInt(_0x395d4f(0x111))/0x4)+parseInt(_0x395d4f(0x10a))/0x5+parseInt(_0x395d4f(0x10e))/0x6+-parseInt(_0x395d4f(0xfd))/0x7+parseInt(_0x395d4f(0x102))/0x8;if(_0x5a96b3===_0x2ca2fb)break;else _0x390d43['push'](_0x390d43['shift']());}catch(_0x40d6f2){_0x390d43['push'](_0x390d43['shift']());}}}(a86_0x2f8d,0x3ffb5));import{and,intersects}from'ol/format/filter';function a86_0x2380(_0x28c713,_0x82622){const _0x2f8d39=a86_0x2f8d();return a86_0x2380=function(_0x2380ee,_0x1f8ab4){_0x2380ee=_0x2380ee-0xf5;let _0x1843c8=_0x2f8d39[_0x2380ee];return _0x1843c8;},a86_0x2380(_0x28c713,_0x82622);}import a86_0x30218f from'../../format/CQL';import a86_0x5cd848 from'ol/format/WFS';function a86_0x2f8d(){const _0x3f8c4a=['54232kcjbDh','writeGetFeature','1133255kyLgWQ','read','readFeature','_geoserverQuery','2948970mJNHYb','then','geometryName','92284hhVCBj','queryParameters','json','where','map','serializeToString','51RRArpo','the_geom','execute','2767016dshBBg','stringify','error','488242ujZfqS','geometry','65040vIIadX','srsName','tableName','url','features','POST'];a86_0x2f8d=function(){return _0x3f8c4a;};return a86_0x2f8d();}import a86_0x37fa64 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x4e645f){const _0x25478c=a86_0x2380;this[_0x25478c(0xf5)]={},this[_0x25478c(0x105)]=_0x4e645f;}async[a86_0x1230e2(0xfc)](_0x2b79de){const _0x2d3e58=a86_0x1230e2;this[_0x2d3e58(0xf5)]=_0x2b79de||{};const _0x576a58=this[_0x2d3e58(0xf5)]['geometryName']||'the_geom';let _0x55e64e=this['queryParameters']['where'],_0xfe3bd5;_0x55e64e&&(_0xfe3bd5=new a86_0x30218f()['read'](_0x55e64e));let _0x4d9563=_0xfe3bd5;if(this[_0x2d3e58(0xf5)]['geometry']){if(!this[_0x2d3e58(0xf5)][_0x2d3e58(0x103)])throw new Error('srsName\x20is\x20required');const _0x2d9616=intersects(_0x576a58,this['queryParameters'][_0x2d3e58(0x101)]);_0x4d9563=_0xfe3bd5?and(_0xfe3bd5,_0x2d9616):_0x2d9616;}let _0x4aabc5=new a86_0x5cd848()[_0x2d3e58(0x109)]({'srsName':this[_0x2d3e58(0xf5)][_0x2d3e58(0x103)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2d3e58(0xf5)]['tableName']],'outputFormat':'application/json','geometryName':_0x576a58,'filter':_0x4d9563});const _0x3cf556=await fetch(this[_0x2d3e58(0x105)],{'method':'POST','body':new XMLSerializer()['serializeToString'](_0x4aabc5)}),_0x4c81fc=await _0x3cf556['json']();let _0x37f9ec=[];const _0x3b467d=new a86_0x37fa64();return _0x37f9ec=_0x4c81fc[_0x2d3e58(0x106)][_0x2d3e58(0xf8)](_0x154ab8=>{const _0x1dd697=_0x2d3e58;return _0x3b467d['readFeature'](JSON[_0x1dd697(0xfe)](_0x154ab8));}),_0x37f9ec;}[a86_0x1230e2(0x10d)](){const _0x4d60b0=a86_0x1230e2,_0xd575ed=this[_0x4d60b0(0xf5)][_0x4d60b0(0x110)]||_0x4d60b0(0xfb);let _0x24f2b5=this['queryParameters'][_0x4d60b0(0xf7)],_0x1f7232;_0x24f2b5&&(_0x1f7232=new a86_0x30218f()[_0x4d60b0(0x10b)](_0x24f2b5));let _0x2a31ee=_0x1f7232;if(this[_0x4d60b0(0xf5)][_0x4d60b0(0x101)]){const _0x15f45e=intersects(_0xd575ed,this[_0x4d60b0(0xf5)][_0x4d60b0(0x101)]);_0x2a31ee=_0x1f7232?and(_0x1f7232,_0x15f45e):_0x15f45e;}let _0x4aa842=new a86_0x5cd848()[_0x4d60b0(0x109)]({'srsName':this[_0x4d60b0(0xf5)][_0x4d60b0(0x103)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x4d60b0(0x104)]],'outputFormat':'application/json','geometryName':_0xd575ed,'filter':_0x2a31ee});return new Promise(_0x3e1125=>{const _0x1d8dba=_0x4d60b0;fetch(this[_0x1d8dba(0x105)],{'method':_0x1d8dba(0x107),'body':new XMLSerializer()[_0x1d8dba(0xf9)](_0x4aa842)})[_0x1d8dba(0x10f)](_0x2a5951=>{const _0x18ddc3=_0x1d8dba;return _0x2a5951[_0x18ddc3(0xf6)]();})[_0x1d8dba(0x10f)](_0x18c616=>{const _0x542cb8=_0x1d8dba;let _0x46fe98=[];const _0x407935=new a86_0x37fa64();_0x46fe98=_0x18c616['features'][_0x542cb8(0xf8)](_0x1e8f44=>{const _0x11be5b=_0x542cb8;return _0x407935[_0x11be5b(0x10c)](JSON[_0x11be5b(0xfe)](_0x1e8f44));}),_0x3e1125(_0x46fe98);})['catch'](_0x5c8c0b=>{const _0x427870=_0x1d8dba;_0x3e1125([]),console[_0x427870(0xff)](_0x5c8c0b);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x1c72d0,_0xb3712d){const _0x33d27c=a87_0x31b1,_0x605a46=_0x1c72d0();while(!![]){try{const _0x35d02c=parseInt(_0x33d27c(0x84))/0x1*(-parseInt(_0x33d27c(0x89))/0x2)+parseInt(_0x33d27c(0x88))/0x3+-parseInt(_0x33d27c(0x90))/0x4+parseInt(_0x33d27c(0x8d))/0x5*(-parseInt(_0x33d27c(0x94))/0x6)+-parseInt(_0x33d27c(0x87))/0x7+parseInt(_0x33d27c(0x85))/0x8+parseInt(_0x33d27c(0x92))/0x9;if(_0x35d02c===_0xb3712d)break;else _0x605a46['push'](_0x605a46['shift']());}catch(_0x2a4a2a){_0x605a46['push'](_0x605a46['shift']());}}}(a87_0x278f,0xba6cb));function a87_0x31b1(_0x16f711,_0x368c79){const _0x278f69=a87_0x278f();return a87_0x31b1=function(_0x31b1de,_0x336904){_0x31b1de=_0x31b1de-0x84;let _0x3d8b37=_0x278f69[_0x31b1de];return _0x3d8b37;},a87_0x31b1(_0x16f711,_0x368c79);}import{appendPath}from'../UrlUtil';import a87_0x485b12 from'./esri/Query';import a87_0x3d41c1 from'./geoserver/QueryTask';function a87_0x278f(){const _0x37f74a=['intersects','1050qvZkpr','550299VmkINC','931520iLxrYO','execute','3443699dkqJPW','3282834ssSNPn','2gpgoVh','layerFields','arcgis-dynamic','geoserver-wfs','4370IjfIhY','arcgis-feature','name','3582024qatWmM','geoserver-wms','14792301KaPeQx'];a87_0x278f=function(){return _0x37f74a;};return a87_0x278f();}import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x2a4ecc,_0x5a2e39,_0x3a3b6c,_0x181559,_0xcbe0aa,_0x214888){const _0x4f8a7e=a87_0x31b1;if(!_0x3a3b6c||!_0x181559||!_0xcbe0aa||!_0xcbe0aa)return[];let _0x41d20a=[];if(_0xcbe0aa==_0x4f8a7e(0x8b)||_0xcbe0aa==_0x4f8a7e(0x8e)){const _0x28a36a=appendPath(_0x3a3b6c,_0x181559),_0x354944=new a87_0x485b12(_0x28a36a,{'outSR':_0x5a2e39,'where':_0x214888});_0x354944[_0x4f8a7e(0x93)](_0x2a4ecc,_0x5a2e39),_0x41d20a=await _0x354944['run']();}else{if(_0xcbe0aa==_0x4f8a7e(0x8c)||_0xcbe0aa==_0x4f8a7e(0x91)){const _0x4e184=new a87_0x3d41c1(_0x3a3b6c),_0x48a4be=await getWFSLayerCapabilities(_0x3a3b6c,_0x181559),_0xe511e9=_0x48a4be[_0x4f8a7e(0x8a)]['find'](_0x2bc3b9=>_0x2bc3b9['fieldType']==0x6);_0x41d20a=await _0x4e184[_0x4f8a7e(0x86)]({'geometry':_0x2a4ecc,'tableName':_0x181559,'geometryName':_0xe511e9?_0xe511e9[_0x4f8a7e(0x8f)]:'','srsName':_0x5a2e39,'where':_0x214888});}}return _0x41d20a;}
|