ym-gis-2d 1.0.26 → 1.0.27
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/DrawOptions.d.ts +1 -1
- package/entity/DrawOptions.d.ts.map +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/entity/IFont.d.ts +1 -0
- package/entity/IFont.d.ts.map +1 -1
- package/entity/style/ILabelStyle.d.ts +6 -0
- package/entity/style/ILabelStyle.d.ts.map +1 -0
- package/entity/style/ILabelStyle.js.map +1 -0
- package/entity/style/ILineStyle.d.ts +7 -0
- package/entity/style/ILineStyle.d.ts.map +1 -0
- package/entity/style/ILineStyle.js +1 -0
- package/entity/style/ILineStyle.js.map +1 -0
- package/entity/style/IPolygonStyle.d.ts +11 -0
- package/entity/style/IPolygonStyle.d.ts.map +1 -0
- package/entity/style/IPolygonStyle.js +1 -0
- package/entity/style/IPolygonStyle.js.map +1 -0
- package/entity/{IStyle.d.ts → style/IStyle.d.ts} +1 -1
- package/entity/style/IStyle.d.ts.map +1 -0
- package/entity/style/IStyle.js +1 -0
- package/entity/style/IStyle.js.map +1 -0
- package/feature/FeatureManager.js +1 -1
- package/index.js +1 -1
- package/interaction/AreaMeasure.d.ts +51 -0
- package/interaction/AreaMeasure.d.ts.map +1 -0
- package/interaction/AreaMeasure.js +1 -0
- package/interaction/AreaMeasure.js.map +1 -0
- package/interaction/Draw.d.ts +3 -3
- package/interaction/Draw.d.ts.map +1 -1
- package/interaction/Draw.js +1 -1
- package/interaction/Draw.js.map +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.d.ts +2 -2
- package/interaction/Select.d.ts.map +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 +2 -2
- package/mapView/Map.d.ts.map +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/Map.js.map +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.d.ts +1 -1
- package/plot/geometry/point/Point.d.ts.map +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.d.ts +1 -1
- package/plot/geometry/polygon/BasePolygon.d.ts.map +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.d.ts +1 -1
- package/plot/geometry/polyline/BaseLine.d.ts.map +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.d.ts +1 -1
- package/plot/geometry/polyline/Polyline.d.ts.map +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 -1
- package/style/StyleManager.d.ts.map +1 -1
- package/style/StyleManager.js +1 -1
- package/style/StyleManager.js.map +1 -1
- package/style/common.d.ts +1 -1
- package/style/common.d.ts.map +1 -1
- package/style/common.js +1 -1
- package/style/common.js.map +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.d.ts.map +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/RegisterProjUtil.js.map +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
- package/entity/IStyle.d.ts.map +0 -1
- package/entity/IStyle.js.map +0 -1
- /package/entity/{IStyle.js → style/ILabelStyle.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a81_0x3f5a(_0x3d43fd,_0xf4f641){const _0x5d22a2=a81_0x5d22();return a81_0x3f5a=function(_0x3f5a60,_0x58b25b){_0x3f5a60=_0x3f5a60-0x11a;let _0x4c9fd3=_0x5d22a2[_0x3f5a60];return _0x4c9fd3;},a81_0x3f5a(_0x3d43fd,_0xf4f641);}(function(_0x554cea,_0x1a4a1c){const _0x5d6b8a=a81_0x3f5a,_0x137733=_0x554cea();while(!![]){try{const _0x317f49=parseInt(_0x5d6b8a(0x12d))/0x1+parseInt(_0x5d6b8a(0x12f))/0x2*(-parseInt(_0x5d6b8a(0x134))/0x3)+parseInt(_0x5d6b8a(0x13f))/0x4*(parseInt(_0x5d6b8a(0x144))/0x5)+parseInt(_0x5d6b8a(0x11b))/0x6*(-parseInt(_0x5d6b8a(0x11f))/0x7)+-parseInt(_0x5d6b8a(0x128))/0x8+-parseInt(_0x5d6b8a(0x11e))/0x9*(parseInt(_0x5d6b8a(0x142))/0xa)+parseInt(_0x5d6b8a(0x151))/0xb;if(_0x317f49===_0x1a4a1c)break;else _0x137733['push'](_0x137733['shift']());}catch(_0xa4bb0){_0x137733['push'](_0x137733['shift']());}}}(a81_0x5d22,0x4458e));function measureText(_0x577df8,_0x593f63,_0x50afaf,_0x1993a7,_0x314196){const _0x539f11=a81_0x3f5a,_0x4753d7=_0x577df8[_0x539f11(0x12e)](_0x593f63),_0x554e3b=!/\S/[_0x539f11(0x148)](_0x593f63);if(!_0x554e3b&&document['defaultView']){const _0x4942c5=document[_0x539f11(0x149)][_0x539f11(0x13a)](_0x577df8['canvas'])['getPropertyValue'](_0x539f11(0x130))['replace']('px',''),_0x77f5a=document[_0x539f11(0x124)](_0x539f11(0x14b)),_0x1328b9=0x64,_0x549200=_0x4753d7[_0x539f11(0x12c)]+_0x1328b9|0x0,_0x33ad51=0x3*(_0x4942c5-0x0),_0x28260f=_0x33ad51/0x2;_0x77f5a[_0x539f11(0x12c)]=_0x549200,_0x77f5a[_0x539f11(0x14c)]=_0x33ad51;const _0x119407=_0x77f5a[_0x539f11(0x123)]('2d');if(!_0x119407)return{};_0x119407[_0x539f11(0x13e)]=_0x50afaf,_0x119407[_0x539f11(0x135)]=_0x539f11(0x14f),_0x119407['fillRect'](0x0,0x0,_0x77f5a[_0x539f11(0x12c)]+0x1,_0x77f5a[_0x539f11(0x14c)]+0x1);_0x1993a7&&(_0x119407[_0x539f11(0x13c)]=_0x539f11(0x143),_0x119407[_0x539f11(0x14a)]=_0x577df8[_0x539f11(0x14a)],_0x119407['strokeText'](_0x593f63,_0x1328b9/0x2,_0x28260f));_0x314196&&(_0x119407[_0x539f11(0x135)]=_0x539f11(0x143),_0x119407['fillText'](_0x593f63,_0x1328b9/0x2,_0x28260f));const _0x24f791=_0x119407[_0x539f11(0x11d)](0x0,0x0,_0x549200,_0x33ad51)[_0x539f11(0x131)],_0x322b14=_0x24f791[_0x539f11(0x138)],_0xd33246=_0x549200*0x4;let _0x4c3b88,_0x37bf35,_0x2ce80f=0x0,_0x53e74b=0x0;for(_0x4c3b88=0x0;_0x4c3b88<_0x322b14;++_0x4c3b88){if(_0x24f791[_0x4c3b88]!==0xff){_0x2ce80f=_0x4c3b88/_0xd33246|0x0;break;}}for(_0x4c3b88=_0x322b14-0x1;_0x4c3b88>=0x0;--_0x4c3b88){if(_0x24f791[_0x4c3b88]!==0xff){_0x53e74b=_0x4c3b88/_0xd33246|0x0;break;}}let _0x3e22c2=-0x1;for(_0x4c3b88=0x0;_0x4c3b88<_0x549200&&_0x3e22c2===-0x1;++_0x4c3b88){for(_0x37bf35=0x0;_0x37bf35<_0x33ad51;++_0x37bf35){const _0x48677a=_0x4c3b88*0x4+_0x37bf35*_0xd33246;if(_0x24f791[_0x48677a]!==0xff||_0x24f791[_0x48677a+0x1]!==0xff||_0x24f791[_0x48677a+0x2]!==0xff||_0x24f791[_0x48677a+0x3]!==0xff){_0x3e22c2=_0x4c3b88;break;}}}return{'width':_0x4753d7[_0x539f11(0x12c)],'height':_0x53e74b-_0x2ce80f,'ascent':_0x28260f-_0x2ce80f,'descent':_0x53e74b-_0x28260f,'minx':_0x3e22c2-_0x1328b9/0x2};}return{'width':_0x4753d7[_0x539f11(0x12c)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x5cb4d7,_0x58f0eb){const _0x1d0ed3=a81_0x3f5a;if(!_0x5cb4d7)throw new Error(_0x1d0ed3(0x13d));if(_0x5cb4d7==='')return undefined;_0x58f0eb=defaultValue(_0x58f0eb,{});const _0x161215=defaultValue(_0x58f0eb[_0x1d0ed3(0x13e)],_0x1d0ed3(0x137)),_0x1dc898=defaultValue(_0x58f0eb[_0x1d0ed3(0x132)],![]),_0x256ed6=defaultValue(_0x58f0eb[_0x1d0ed3(0x150)],!![]),_0x4a08a7=defaultValue(_0x58f0eb['strokeWidth'],0x1),_0x2f4935=defaultValue(_0x58f0eb[_0x1d0ed3(0x122)],_0x1d0ed3(0x152)),_0x13e930=defaultValue(_0x58f0eb[_0x1d0ed3(0x11a)],0x0),_0x4b1b62=_0x13e930*0x2,_0x271094=document['createElement'](_0x1d0ed3(0x14b));_0x271094[_0x1d0ed3(0x12c)]=0x1,_0x271094[_0x1d0ed3(0x14c)]=0x1,_0x271094[_0x1d0ed3(0x120)][_0x1d0ed3(0x13e)]=_0x161215;const _0xe82e39=_0x271094['getContext']('2d');if(!imageSmoothingEnabledName&&_0xe82e39){if(_0xe82e39['imageSmoothingEnabled'])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0xe82e39[_0x1d0ed3(0x136)])imageSmoothingEnabledName='mozImageSmoothingEnabled';else{if(_0xe82e39[_0x1d0ed3(0x140)])imageSmoothingEnabledName=_0x1d0ed3(0x140);else _0xe82e39[_0x1d0ed3(0x127)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0xe82e39[_0x1d0ed3(0x13e)]=_0x161215,_0xe82e39['lineJoin']=_0x1d0ed3(0x11c),_0xe82e39[_0x1d0ed3(0x14a)]=_0x4a08a7,_0xe82e39[imageSmoothingEnabledName]=![],_0x271094[_0x1d0ed3(0x120)]['visibility']='hidden',document[_0x1d0ed3(0x126)][_0x1d0ed3(0x14e)](_0x271094);const _0x24f4fd=measureText(_0xe82e39,_0x5cb4d7,_0x161215,_0x1dc898,_0x256ed6);if(!_0x24f4fd)return;_0x271094[_0x1d0ed3(0x141)]=_0x24f4fd,document[_0x1d0ed3(0x126)][_0x1d0ed3(0x129)](_0x271094),_0x271094['style'][_0x1d0ed3(0x125)]='';const _0x3fc2a2=-(_0x24f4fd[_0x1d0ed3(0x12b)]?_0x24f4fd[_0x1d0ed3(0x12b)]:0x0),_0x3b094b=Math[_0x1d0ed3(0x146)](_0x24f4fd[_0x1d0ed3(0x12c)])+_0x3fc2a2+_0x4b1b62,_0x1a65dd=(_0x24f4fd[_0x1d0ed3(0x14c)]?_0x24f4fd[_0x1d0ed3(0x14c)]:0x0)+_0x4b1b62,_0x70b23b=_0x1a65dd-(_0x24f4fd[_0x1d0ed3(0x133)]?_0x24f4fd['ascent']:0x0)+_0x13e930,_0x4f11ca=_0x1a65dd-_0x70b23b+_0x4b1b62;return _0x271094['width']=_0x3b094b,_0x271094['height']=_0x1a65dd,_0xe82e39[_0x1d0ed3(0x13e)]=_0x161215,_0xe82e39[_0x1d0ed3(0x13b)]=_0x1d0ed3(0x11c),_0xe82e39[_0x1d0ed3(0x14a)]=_0x4a08a7,_0xe82e39[imageSmoothingEnabledName]=![],_0x2f4935!=='#00000000'&&(_0xe82e39[_0x1d0ed3(0x135)]=_0x2f4935,_0xe82e39['fillRect'](0x0,0x0,_0x271094[_0x1d0ed3(0x12c)],_0x271094[_0x1d0ed3(0x14c)])),_0x1dc898&&(_0xe82e39[_0x1d0ed3(0x13c)]=defaultValue(_0x58f0eb[_0x1d0ed3(0x12a)],_0x1d0ed3(0x147)),_0xe82e39[_0x1d0ed3(0x145)](_0x5cb4d7,_0x3fc2a2+_0x13e930,_0x4f11ca)),_0x256ed6&&(_0xe82e39[_0x1d0ed3(0x135)]=defaultValue(_0x58f0eb[_0x1d0ed3(0x121)],_0x1d0ed3(0x14d)),_0xe82e39[_0x1d0ed3(0x139)](_0x5cb4d7,_0x3fc2a2+_0x13e930,_0x4f11ca)),_0x271094;}function defaultValue(_0x4b339e,_0x30226d){if(_0x4b339e!==undefined&&_0x4b339e!==null)return _0x4b339e;return _0x30226d;}export default writeTextToCanvas;function a81_0x5d22(){const _0x1db932=['fillColor','backgroundColor','getContext','createElement','visibility','body','msImageSmoothingEnabled','1031272BXQNlw','removeChild','strokeColor','minx','width','507024NNoXes','measureText','114DYZlCI','font-size','data','stroke','ascent','336aLSYPZ','fillStyle','mozImageSmoothingEnabled','10px\x20sans-serif','length','fillText','getComputedStyle','lineJoin','strokeStyle','text\x20is\x20required.','font','1892yGOTaR','webkitImageSmoothingEnabled','dimensions','1090ctOGyb','black','4885QljEpD','strokeText','ceil','#000000','test','defaultView','lineWidth','canvas','height','#FFFFFF','appendChild','white','fill','884488egntfX','#00000000','padding','183090SwuKpJ','round','getImageData','17100ARZTLo','98GFzhIT','style'];a81_0x5d22=function(){return _0x1db932;};return a81_0x5d22();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a86_0x1dd8(_0x578054,_0x5ec43b){const _0x4e8d8a=a86_0x4e8d();return a86_0x1dd8=function(_0x1dd8c4,_0x4965fa){_0x1dd8c4=_0x1dd8c4-0x83;let _0x26876f=_0x4e8d8a[_0x1dd8c4];return _0x26876f;},a86_0x1dd8(_0x578054,_0x5ec43b);}const a86_0x5e3fd0=a86_0x1dd8;function a86_0x4e8d(){const _0x4d4598=['getCode','mapExtent','url','6318367NGqgEq','213736QpjXtU','geojsonTypeToArcGIS','params','1680mtJCRm','imageDisplay','layerDefs','path','returnGeometry','time','calculateExtent','request','10CQoMMP','6CPUmOh','getType','run','4BkhXWs','resolution','returnZ','getProjection','30582ULGeKA','_setGeometryParams','4018090KWTFBd','tolerance','all','4NOflhU','valueOf','41686956fhQScg','layers','identify','getCenter','getView','geometry','2829576HFCzoi','writeGeometryObject','6136872Uuzvys','getSize','returnM'];a86_0x4e8d=function(){return _0x4d4598;};return a86_0x4e8d();}(function(_0x5d5d56,_0x5818fb){const _0x1ecc71=a86_0x1dd8,_0x28ff70=_0x5d5d56();while(!![]){try{const _0x461ac0=-parseInt(_0x1ecc71(0xa0))/0x1*(parseInt(_0x1ecc71(0x88))/0x2)+-parseInt(_0x1ecc71(0xa8))/0x3+parseInt(_0x1ecc71(0x97))/0x4*(parseInt(_0x1ecc71(0x9d))/0x5)+parseInt(_0x1ecc71(0x94))/0x6*(-parseInt(_0x1ecc71(0xaa))/0x7)+parseInt(_0x1ecc71(0x8b))/0x8*(-parseInt(_0x1ecc71(0x9b))/0x9)+parseInt(_0x1ecc71(0x93))/0xa*(-parseInt(_0x1ecc71(0x87))/0xb)+parseInt(_0x1ecc71(0xa2))/0xc;if(_0x461ac0===_0x5818fb)break;else _0x28ff70['push'](_0x28ff70['shift']());}catch(_0x2bc4e8){_0x28ff70['push'](_0x28ff70['shift']());}}}(a86_0x4e8d,0xb5332));import a86_0x2c3cea from'ol/format/EsriJSON';import a86_0x43ddcf from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a86_0x26e99c from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a86_0x26e99c{constructor(_0x1524d1,_0x210d1a,_0x36b6af){const _0x137df1=a86_0x1dd8;super(_0x1524d1,_0x210d1a,_0x36b6af),this[_0x137df1(0x8e)]=_0x137df1(0xa4),this[_0x137df1(0x8a)]={'layers':_0x137df1(0x9f),'tolerance':0x0,'returnGeometry':!![]},this[_0x137df1(0x9e)]=0x3,this[_0x137df1(0x98)]=0x0,this[_0x137df1(0x86)]=appendPath(this['url'],this['path']),_0x210d1a&&((_0x210d1a[_0x137df1(0x8f)]===!![]||_0x210d1a[_0x137df1(0x8f)]===![])&&(this['params'][_0x137df1(0x8f)]=_0x210d1a[_0x137df1(0x8f)]),_0x210d1a[_0x137df1(0xa3)]&&(this['params'][_0x137df1(0xa3)]=_0x210d1a[_0x137df1(0xa3)]),_0x210d1a[_0x137df1(0x8d)]&&(this[_0x137df1(0x8a)][_0x137df1(0x8d)]=_0x210d1a['layerDefs']),(_0x210d1a[_0x137df1(0x99)]===!![]||_0x210d1a[_0x137df1(0x99)]===![])&&(this['params'][_0x137df1(0x99)]=_0x210d1a[_0x137df1(0x99)]),(_0x210d1a[_0x137df1(0x83)]===!![]||_0x210d1a['returnM']===![])&&(this[_0x137df1(0x8a)][_0x137df1(0x83)]=_0x210d1a[_0x137df1(0x83)]));}['at'](_0x29f651,_0x27cb3c){const _0x1b46ba=a86_0x1dd8;let _0xa87ab1,_0x5a456a;const _0x117eaf=new a86_0x43ddcf();_0xa87ab1=_0x29f651,_0x5a456a=getEsriSpatialReference(_0x27cb3c[_0x1b46ba(0xa6)]()[_0x1b46ba(0x9a)]()[_0x1b46ba(0x84)]());const _0x2ccdcb=_0x27cb3c[_0x1b46ba(0xab)]();_0x2ccdcb&&(this[_0x1b46ba(0x8a)][_0x1b46ba(0x8c)]=[_0x2ccdcb[0x0],_0x2ccdcb[0x1],0x60]);this[_0x1b46ba(0x8a)]['sr']=_0x5a456a;const _0x4a1fca=_0x27cb3c[_0x1b46ba(0xa6)]()[_0x1b46ba(0x91)](_0x27cb3c['getSize']());this[_0x1b46ba(0x8a)][_0x1b46ba(0x85)]={'xmin':_0x4a1fca[0x0],'ymin':_0x4a1fca[0x1],'xmax':_0x4a1fca[0x2],'ymax':_0x4a1fca[0x3],'spatialReference':_0x5a456a};const _0x19e57b=_0x27cb3c[_0x1b46ba(0xa6)]()['getResolution'](),_0x3171b2=_0x27cb3c[_0x1b46ba(0xa6)]()[_0x1b46ba(0xa5)]();return _0x19e57b&&_0x3171b2&&(this[_0x1b46ba(0x98)]=getPointResolution(_0x27cb3c[_0x1b46ba(0xa6)]()[_0x1b46ba(0x9a)](),_0x19e57b,_0x3171b2)),this[_0x1b46ba(0x9c)](_0xa87ab1,_0x27cb3c[_0x1b46ba(0xa6)]()[_0x1b46ba(0x9a)]()[_0x1b46ba(0x84)]()),this;}['between'](_0x2e8492,_0x3aebe2){const _0x3e5a7b=a86_0x1dd8;return this[_0x3e5a7b(0x8a)][_0x3e5a7b(0x90)]=[_0x2e8492[_0x3e5a7b(0xa1)](),_0x3aebe2[_0x3e5a7b(0xa1)]()],this;}[a86_0x5e3fd0(0x96)](){const _0x1a82c1=a86_0x5e3fd0;this[_0x1a82c1(0x92)]();}['_setGeometryParams'](_0x3c80fe,_0x4c5879){const _0x470f49=a86_0x5e3fd0;var _0x38406a=new a86_0x2c3cea();const _0x3598fe=_0x38406a[_0x470f49(0xa9)](_0x3c80fe);this[_0x470f49(0x8a)]['inSR']=getEsriSpatialReference(_0x4c5879),this['params'][_0x470f49(0xa7)]=_0x3598fe,this[_0x470f49(0x8a)]['geometryType']=this[_0x470f49(0x89)](_0x3c80fe[_0x470f49(0x95)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87_0x107b1c=a87_0x1bd3;function a87_0x192c(){const _0x464e9f=['orderByFields','_cleanParams','returnM','365184CrPBOh','within','esriSpatialRelWithin','spatialRel','68456PcaTKz','touches','where','forEach','1298AVJuqQ','features','query','1373naPwVU','14670YdENes','ids','url','getExtent','515325ujMyVp','valueOf','warn','code','indexIntersects','esriSpatialRelIntersects','400','run','overlaps','697986PACTUL','180sFuJqg','returnExtentOnly','_trapSQLerrors','orderBy','writeGeometryObject','readFeature','esriSpatialRelEnvelopeIntersects','catch','No\x20features\x20found','esriSpatialRelTouches','142XXRwSC','request','ASC','abs','count','outSR','distinct','esriSpatialRelContains','geometryType','esriSpatialRelOverlaps','1=1','push','apply','returnGeometry','crosses','layer','esriSpatialRelCrosses','returnCountOnly','status','geometry','returnZ','distance','path','inSR','params','esriSRUnit_Meter','637KYgqKL','bboxIntersects','43480XBLLCD','join','_setGeometryParams','returnIdsOnly','data'];a87_0x192c=function(){return _0x464e9f;};return a87_0x192c();}function a87_0x1bd3(_0x3848ec,_0x1a1c15){const _0x192c34=a87_0x192c();return a87_0x1bd3=function(_0x1bd340,_0x8fc992){_0x1bd340=_0x1bd340-0x1c0;let _0x112009=_0x192c34[_0x1bd340];return _0x112009;},a87_0x1bd3(_0x3848ec,_0x1a1c15);}(function(_0x2fa8df,_0x56c27f){const _0x3ceb57=a87_0x1bd3,_0x5d9840=_0x2fa8df();while(!![]){try{const _0x3e60db=parseInt(_0x3ceb57(0x1eb))/0x1*(-parseInt(_0x3ceb57(0x204))/0x2)+-parseInt(_0x3ceb57(0x1f9))/0x3+parseInt(_0x3ceb57(0x1e0))/0x4+-parseInt(_0x3ceb57(0x1f0))/0x5+-parseInt(_0x3ceb57(0x1ec))/0x6*(parseInt(_0x3ceb57(0x1d6))/0x7)+-parseInt(_0x3ceb57(0x1e4))/0x8*(-parseInt(_0x3ceb57(0x1fa))/0x9)+parseInt(_0x3ceb57(0x1d8))/0xa*(parseInt(_0x3ceb57(0x1e8))/0xb);if(_0x3e60db===_0x56c27f)break;else _0x5d9840['push'](_0x5d9840['shift']());}catch(_0x251e5b){_0x5d9840['push'](_0x5d9840['shift']());}}}(a87_0x192c,0x1d3f3));import a87_0x905870 from'ol/format/EsriJSON';import a87_0x2ab2e5 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a87_0x2ab2e5{constructor(_0x5664f8,_0x53dff8,_0x18b183){const _0x39e9a6=a87_0x1bd3;super(_0x5664f8,_0x53dff8,_0x18b183),this[_0x39e9a6(0x1d2)]=_0x39e9a6(0x1ea),this['params']={'returnGeometry':!![],'where':_0x39e9a6(0x1c6),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x39e9a6(0x1ee)]=appendPath(this[_0x39e9a6(0x1ee)],this[_0x39e9a6(0x1d2)]),_0x53dff8&&((_0x53dff8[_0x39e9a6(0x1c9)]===!![]||_0x53dff8['returnGeometry']===![])&&(this[_0x39e9a6(0x1d4)][_0x39e9a6(0x1c9)]=_0x53dff8[_0x39e9a6(0x1c9)]),_0x53dff8[_0x39e9a6(0x1e6)]&&(this['params'][_0x39e9a6(0x1e6)]=_0x53dff8[_0x39e9a6(0x1e6)]),_0x53dff8[_0x39e9a6(0x1c1)]&&(this[_0x39e9a6(0x1d4)]['outSR']=getEsriSpatialReference(_0x53dff8[_0x39e9a6(0x1c1)])),(_0x53dff8['returnZ']===!![]||_0x53dff8[_0x39e9a6(0x1d0)]===![])&&(this[_0x39e9a6(0x1d4)]['returnZ']=_0x53dff8[_0x39e9a6(0x1d0)]),(_0x53dff8[_0x39e9a6(0x1df)]===!![]||_0x53dff8[_0x39e9a6(0x1df)]===![])&&(this['params'][_0x39e9a6(0x1df)]=_0x53dff8[_0x39e9a6(0x1df)]));}[a87_0x107b1c(0x1e1)](_0x39a6b1,_0x143c21){const _0x5388bc=a87_0x107b1c;return this[_0x5388bc(0x1da)](_0x39a6b1,_0x143c21),this[_0x5388bc(0x1d4)][_0x5388bc(0x1e3)]=_0x5388bc(0x1c3),this;}['intersects'](_0x457c47,_0x4ff369){const _0x51dd7a=a87_0x107b1c;return this[_0x51dd7a(0x1da)](_0x457c47,_0x4ff369),this[_0x51dd7a(0x1d4)][_0x51dd7a(0x1e3)]=_0x51dd7a(0x1f5),this;}['contains'](_0x434be6,_0x2fd817){const _0xa3ec84=a87_0x107b1c;return this[_0xa3ec84(0x1da)](_0x434be6,_0x2fd817),this[_0xa3ec84(0x1d4)][_0xa3ec84(0x1e3)]=_0xa3ec84(0x1e2),this;}[a87_0x107b1c(0x1ca)](_0x29460d,_0x34c559){const _0x434625=a87_0x107b1c;return this[_0x434625(0x1da)](_0x29460d,_0x34c559),this['params'][_0x434625(0x1e3)]=_0x434625(0x1cc),this;}[a87_0x107b1c(0x1e5)](_0x3c5e11,_0x12a1f9){const _0x4cdaa0=a87_0x107b1c;return this['_setGeometryParams'](_0x3c5e11,_0x12a1f9),this['params'][_0x4cdaa0(0x1e3)]=_0x4cdaa0(0x203),this;}[a87_0x107b1c(0x1f8)](_0x3c1b97,_0x296f4d){const _0xc52e7b=a87_0x107b1c;return this['_setGeometryParams'](_0x3c1b97,_0x296f4d),this[_0xc52e7b(0x1d4)]['spatialRel']=_0xc52e7b(0x1c5),this;}[a87_0x107b1c(0x1d7)](_0xc49951,_0x1d69ba){const _0xdeebb4=a87_0x107b1c;return this[_0xdeebb4(0x1da)](_0xc49951,_0x1d69ba),this[_0xdeebb4(0x1d4)][_0xdeebb4(0x1e3)]=_0xdeebb4(0x200),this;}[a87_0x107b1c(0x1f4)](_0x370e69,_0x5584eb){const _0x1c27fa=a87_0x107b1c;return this[_0x1c27fa(0x1da)](_0x370e69,_0x5584eb),this[_0x1c27fa(0x1d4)][_0x1c27fa(0x1e3)]='esriSpatialRelIndexIntersects',this;}['nearby'](_0x15fc8e,_0xbd28ee,_0x167946){const _0x332b24=a87_0x107b1c;return this['_setGeometryParams'](_0x15fc8e,_0xbd28ee),this[_0x332b24(0x1d4)]['spatialRel']=_0x332b24(0x1f5),this[_0x332b24(0x1d4)]['units']=_0x332b24(0x1d5),this[_0x332b24(0x1d4)][_0x332b24(0x1d1)]=_0x167946,this;}[a87_0x107b1c(0x1e6)](_0x2eec0b){const _0x54670c=a87_0x107b1c;return this[_0x54670c(0x1d4)]['where']=_0x2eec0b,this;}['between'](_0x31e44b,_0x32aafd){const _0x4b8488=a87_0x107b1c;return this[_0x4b8488(0x1d4)]['time']=[_0x31e44b[_0x4b8488(0x1f1)](),_0x32aafd[_0x4b8488(0x1f1)]()],this;}['simplify'](_0x2eac5a,_0x1e7199){const _0x3a9700=a87_0x107b1c,_0x1bd013=_0x2eac5a[_0x3a9700(0x1ef)]();var _0x4e9123=Math[_0x3a9700(0x207)](_0x1bd013[0x2]-_0x1bd013[0x0]);const _0x1ffe7f=_0x2eac5a['getSize']();if(_0x1ffe7f)return this[_0x3a9700(0x1d4)]['maxAllowableOffset']=_0x4e9123/_0x1ffe7f[0x1]*_0x1e7199,this;}[a87_0x107b1c(0x1fd)](_0x246b55,_0x42cacd){const _0x12d8fe=a87_0x107b1c;return _0x42cacd=_0x42cacd||_0x12d8fe(0x206),this['params']['orderByFields']=this['params'][_0x12d8fe(0x1dd)]?this[_0x12d8fe(0x1d4)]['orderByFields']+',':'',this[_0x12d8fe(0x1d4)][_0x12d8fe(0x1dd)]+=[_0x246b55,_0x42cacd][_0x12d8fe(0x1d9)]('\x20'),this;}async[a87_0x107b1c(0x1f7)](){const _0x4852d3=a87_0x107b1c;this[_0x4852d3(0x1de)]();const _0xc517f3=await this[_0x4852d3(0x205)]()[_0x4852d3(0x201)](_0x12acf7=>{throw new Error(_0x12acf7);});if(_0xc517f3[_0x4852d3(0x1ce)]!==0xc8)throw new Error(_0x4852d3(0x202));if(_0xc517f3['data']&&_0xc517f3[_0x4852d3(0x1dc)][_0x4852d3(0x1e9)]&&_0xc517f3[_0x4852d3(0x1dc)][_0x4852d3(0x1e9)]['length']>0x0){var _0x574471=new a87_0x905870();let _0xcb5c75=[];return _0xc517f3[_0x4852d3(0x1dc)]['features'][_0x4852d3(0x1e7)](_0x10f97e=>{const _0x2ecf8d=_0x4852d3,_0x576382=_0x574471[_0x2ecf8d(0x1ff)](_0x10f97e);_0xcb5c75[_0x2ecf8d(0x1c7)](_0x576382);}),_0xcb5c75;}return[];}[a87_0x107b1c(0x1c0)](){const _0x1b18af=a87_0x107b1c;this[_0x1b18af(0x1de)](),this[_0x1b18af(0x1d4)][_0x1b18af(0x1cd)]=!![],this['request']();}[a87_0x107b1c(0x1ed)](){const _0x2c70d5=a87_0x107b1c;this[_0x2c70d5(0x1de)](),this[_0x2c70d5(0x1d4)]['returnIdsOnly']=!![],this[_0x2c70d5(0x205)]();}[a87_0x107b1c(0x1c2)](){const _0x1710f3=a87_0x107b1c;return this['params'][_0x1710f3(0x1c9)]=![],this[_0x1710f3(0x1d4)]['returnDistinctValues']=!![],this;}[a87_0x107b1c(0x1cb)](_0xeacb96){return this['path']=_0xeacb96+'/query',this;}[a87_0x107b1c(0x1fc)](_0x111208){const _0xc90e4a=a87_0x107b1c;_0x111208&&(_0x111208[_0xc90e4a(0x1f3)]===_0xc90e4a(0x1f6)&&console[_0xc90e4a(0x1f2)][_0xc90e4a(0x1c8)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}['_cleanParams'](){const _0x558543=a87_0x107b1c;delete this['params'][_0x558543(0x1db)],delete this[_0x558543(0x1d4)][_0x558543(0x1fb)],delete this[_0x558543(0x1d4)][_0x558543(0x1cd)];}[a87_0x107b1c(0x1da)](_0x3eef8e,_0x405bee){const _0xf755d5=a87_0x107b1c;var _0x14674f=new a87_0x905870();const _0x49fe5b=_0x14674f[_0xf755d5(0x1fe)](_0x3eef8e);this['params'][_0xf755d5(0x1d3)]=getEsriSpatialReference(_0x405bee),this[_0xf755d5(0x1d4)][_0xf755d5(0x1cf)]=_0x49fe5b,this['params'][_0xf755d5(0x1c4)]=this['geojsonTypeToArcGIS'](_0x3eef8e['getType']());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a88_0x2046(){var _0x1fffd3=['test','MultiPolygon','indexOf','MultiPoint','1800351fNtAEX','5717808ZvFohr','JSONP','LineString','195Gowoxy','esriGeometryPolygon','stringify','[object\x20Object]','MultiLineString','esriGeometryPolyline','post','esriGeometryMultipoint','282291XiclHE','GET','method','9RUNwBG','toString','format','6UgxMQd','params','serialize','url','468398DXrydD','valueOf','58788CtVZnZ','get','call','returnUnformattedValues','3024350oFJfVL','isArcgisOnline','request','prototype','3193866bMatHz','[object\x20Array]'];a88_0x2046=function(){return _0x1fffd3;};return a88_0x2046();}var a88_0x1acbed=a88_0x5ade;(function(_0x8697a0,_0x2af70b){var _0x30ed7d=a88_0x5ade,_0x4fda9d=_0x8697a0();while(!![]){try{var _0x547f5f=parseInt(_0x30ed7d(0x183))/0x1+-parseInt(_0x30ed7d(0x17f))/0x2*(parseInt(_0x30ed7d(0x179))/0x3)+parseInt(_0x30ed7d(0x15f))/0x4*(parseInt(_0x30ed7d(0x171))/0x5)+-parseInt(_0x30ed7d(0x167))/0x6+-parseInt(_0x30ed7d(0x16d))/0x7+parseInt(_0x30ed7d(0x16e))/0x8*(parseInt(_0x30ed7d(0x17c))/0x9)+-parseInt(_0x30ed7d(0x163))/0xa;if(_0x547f5f===_0x2af70b)break;else _0x4fda9d['push'](_0x4fda9d['shift']());}catch(_0x59c534){_0x4fda9d['push'](_0x4fda9d['shift']());}}}(a88_0x2046,0x5d47d));import a88_0x900aee from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';function a88_0x5ade(_0x59a4e0,_0x31c31f){var _0x2046af=a88_0x2046();return a88_0x5ade=function(_0x5adeb0,_0x2e18d7){_0x5adeb0=_0x5adeb0-0x15f;var _0x440152=_0x2046af[_0x5adeb0];return _0x440152;},a88_0x5ade(_0x59a4e0,_0x31c31f);}export default class Task{constructor(_0x12895d,_0x399c89,_0x640b15){var _0x20fcb7=a88_0x5ade;this[_0x20fcb7(0x182)]=_0x12895d,this['params']=_0x399c89||{},this[_0x20fcb7(0x17b)]=!_0x640b15?_0x20fcb7(0x17a):_0x640b15;}['geojsonTypeToArcGIS'](_0x9ab118){var _0x53b4eb=a88_0x5ade,_0x32c6bf;switch(_0x9ab118){case'Point':_0x32c6bf='esriGeometryPoint';break;case _0x53b4eb(0x16c):_0x32c6bf=_0x53b4eb(0x178);break;case _0x53b4eb(0x170):_0x32c6bf=_0x53b4eb(0x176);break;case _0x53b4eb(0x175):_0x32c6bf=_0x53b4eb(0x176);break;case'Polygon':_0x32c6bf=_0x53b4eb(0x172);break;case _0x53b4eb(0x16a):_0x32c6bf=_0x53b4eb(0x172);break;}return _0x32c6bf;}[a88_0x1acbed(0x164)](_0x2ba14f){var _0x269d2d=a88_0x1acbed;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x269d2d(0x169)](_0x2ba14f);}[a88_0x1acbed(0x181)](_0x2680b3){var _0x1e79ac=a88_0x1acbed,_0x307a2e='';_0x2680b3['f']=_0x2680b3['f']||'json';for(var _0x1707c1 in _0x2680b3){if(Object[_0x1e79ac(0x166)]['hasOwnProperty'][_0x1e79ac(0x161)](_0x2680b3,_0x1707c1)){var _0x29036e=_0x2680b3[_0x1707c1],_0x1ba64b=Object[_0x1e79ac(0x166)][_0x1e79ac(0x17d)][_0x1e79ac(0x161)](_0x29036e),_0x54e38c;_0x307a2e['length']&&(_0x307a2e+='&');if(_0x1ba64b===_0x1e79ac(0x168))_0x54e38c=Object[_0x1e79ac(0x166)]['toString'][_0x1e79ac(0x161)](_0x29036e[0x0])==='[object\x20Object]'?JSON[_0x1e79ac(0x173)](_0x29036e):_0x29036e['join'](',');else{if(_0x1ba64b===_0x1e79ac(0x174))_0x54e38c=JSON[_0x1e79ac(0x173)](_0x29036e);else _0x1ba64b==='[object\x20Date]'?_0x54e38c=_0x29036e[_0x1e79ac(0x184)]():_0x54e38c=_0x29036e;}_0x307a2e+=encodeURIComponent(_0x1707c1)+'='+encodeURIComponent(_0x54e38c);}}return _0x307a2e;}[a88_0x1acbed(0x17e)](_0x509aa8){var _0xdbb7c6=a88_0x1acbed;return this[_0xdbb7c6(0x180)][_0xdbb7c6(0x162)]=!_0x509aa8,this;}async[a88_0x1acbed(0x165)](){var _0x2689bd=a88_0x1acbed,_0xce69e5=this['serialize'](this[_0x2689bd(0x180)]);const _0x35a7ac=this['url'][_0x2689bd(0x16b)]('?')>-0x1?this[_0x2689bd(0x182)]+'&'+_0xce69e5:this['url']+'?'+_0xce69e5;if(this['method']===_0x2689bd(0x17a))return a88_0x900aee[_0x2689bd(0x160)](_0x35a7ac);else{if(this[_0x2689bd(0x17b)]===_0x2689bd(0x16f))return jsonp(_0x35a7ac);else{const _0x3639a0=stringify(this['params']);return a88_0x900aee[_0x2689bd(0x177)](this['url'],_0x3639a0);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90_0x3eb385=a90_0x3788;(function(_0x2ea36c,_0x1a5424){const _0x2650d6=a90_0x3788,_0x1f0748=_0x2ea36c();while(!![]){try{const _0x274e39=-parseInt(_0x2650d6(0x1aa))/0x1+parseInt(_0x2650d6(0x1a9))/0x2*(-parseInt(_0x2650d6(0x1b4))/0x3)+-parseInt(_0x2650d6(0x1ae))/0x4+parseInt(_0x2650d6(0x1b3))/0x5+-parseInt(_0x2650d6(0x1b2))/0x6+parseInt(_0x2650d6(0x1af))/0x7+parseInt(_0x2650d6(0x1a4))/0x8*(parseInt(_0x2650d6(0x1c2))/0x9);if(_0x274e39===_0x1a5424)break;else _0x1f0748['push'](_0x1f0748['shift']());}catch(_0x2ea13c){_0x1f0748['push'](_0x1f0748['shift']());}}}(a90_0x282a,0x2bdd9));import{and,intersects}from'ol/format/filter';function a90_0x3788(_0x1a1830,_0x45972d){const _0x282ae9=a90_0x282a();return a90_0x3788=function(_0x3788bd,_0x84e661){_0x3788bd=_0x3788bd-0x1a3;let _0x55f462=_0x282ae9[_0x3788bd];return _0x55f462;},a90_0x3788(_0x1a1830,_0x45972d);}import a90_0x553e65 from'../../format/CQL';import a90_0x46aaf8 from'ol/format/WFS';import a90_0x257eb8 from'ol/format/GeoJSON';function a90_0x282a(){const _0xc0d08e=['957184ZpdldW','_geoserverQuery','where','json','application/json','7250aDJbll','337342TLDkwZ','then','read','geometry','656648SKGXHX','2107749eJTnzb','catch','execute','1658880jtmXpb','816945IdgyEi','285hrgjny','srsName\x20is\x20required','serializeToString','the_geom','url','readFeature','stringify','srsName','POST','queryParameters','error','features','map','tableName','63xWkCBi','geometryName','writeGetFeature'];a90_0x282a=function(){return _0xc0d08e;};return a90_0x282a();}export default class QueryTask{constructor(_0x545482){const _0x5b70b8=a90_0x3788;this[_0x5b70b8(0x1bd)]={},this[_0x5b70b8(0x1b8)]=_0x545482;}async[a90_0x3eb385(0x1b1)](_0x33ff46){const _0x130fa9=a90_0x3eb385;this['queryParameters']=_0x33ff46||{};const _0x51c7e3=this[_0x130fa9(0x1bd)][_0x130fa9(0x1c3)]||_0x130fa9(0x1b7);let _0x429e54=this[_0x130fa9(0x1bd)]['where'],_0x55183d;_0x429e54&&(_0x55183d=new a90_0x553e65()[_0x130fa9(0x1ac)](_0x429e54));let _0x3c1c89=_0x55183d;if(this[_0x130fa9(0x1bd)]['geometry']){if(!this[_0x130fa9(0x1bd)]['srsName'])throw new Error(_0x130fa9(0x1b5));const _0x587fbd=intersects(_0x51c7e3,this[_0x130fa9(0x1bd)]['geometry']);_0x3c1c89=_0x55183d?and(_0x55183d,_0x587fbd):_0x587fbd;}let _0x183b5e=new a90_0x46aaf8()[_0x130fa9(0x1a3)]({'srsName':this[_0x130fa9(0x1bd)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x130fa9(0x1bd)][_0x130fa9(0x1c1)]],'outputFormat':_0x130fa9(0x1a8),'geometryName':_0x51c7e3,'filter':_0x3c1c89});const _0x510a38=await fetch(this['url'],{'method':_0x130fa9(0x1bc),'body':new XMLSerializer()[_0x130fa9(0x1b6)](_0x183b5e)}),_0x273f4a=await _0x510a38[_0x130fa9(0x1a7)]();let _0x34fef5=[];const _0x27a2e1=new a90_0x257eb8();return _0x34fef5=_0x273f4a[_0x130fa9(0x1bf)][_0x130fa9(0x1c0)](_0x1ee80e=>{const _0x31a14c=_0x130fa9;return _0x27a2e1[_0x31a14c(0x1b9)](JSON[_0x31a14c(0x1ba)](_0x1ee80e));}),_0x34fef5;}[a90_0x3eb385(0x1a5)](){const _0x4a2283=a90_0x3eb385,_0x1a269f=this['queryParameters'][_0x4a2283(0x1c3)]||_0x4a2283(0x1b7);let _0x12241b=this['queryParameters'][_0x4a2283(0x1a6)],_0x56c857;_0x12241b&&(_0x56c857=new a90_0x553e65()['read'](_0x12241b));let _0x50d426=_0x56c857;if(this[_0x4a2283(0x1bd)][_0x4a2283(0x1ad)]){const _0x29a710=intersects(_0x1a269f,this[_0x4a2283(0x1bd)][_0x4a2283(0x1ad)]);_0x50d426=_0x56c857?and(_0x56c857,_0x29a710):_0x29a710;}let _0x1a6308=new a90_0x46aaf8()['writeGetFeature']({'srsName':this[_0x4a2283(0x1bd)][_0x4a2283(0x1bb)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x4a2283(0x1bd)][_0x4a2283(0x1c1)]],'outputFormat':_0x4a2283(0x1a8),'geometryName':_0x1a269f,'filter':_0x50d426});return new Promise(_0x226b01=>{const _0x4cc9fc=_0x4a2283;fetch(this[_0x4cc9fc(0x1b8)],{'method':_0x4cc9fc(0x1bc),'body':new XMLSerializer()[_0x4cc9fc(0x1b6)](_0x1a6308)})['then'](_0x18d420=>{const _0x43cbba=_0x4cc9fc;return _0x18d420[_0x43cbba(0x1a7)]();})[_0x4cc9fc(0x1ab)](_0x355050=>{const _0x1c3fb9=_0x4cc9fc;let _0x26f90e=[];const _0x3ca14a=new a90_0x257eb8();_0x26f90e=_0x355050[_0x1c3fb9(0x1bf)]['map'](_0x42bd77=>{const _0x1f0aae=_0x1c3fb9;return _0x3ca14a[_0x1f0aae(0x1b9)](JSON[_0x1f0aae(0x1ba)](_0x42bd77));}),_0x226b01(_0x26f90e);})[_0x4cc9fc(0x1b0)](_0x31b96a=>{const _0x3d3af3=_0x4cc9fc;_0x226b01([]),console[_0x3d3af3(0x1be)](_0x31b96a);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4084d2,_0x4c11ce){const _0x3957eb=a91_0xa56e,_0x2d4825=_0x4084d2();while(!![]){try{const _0x36bb4b=parseInt(_0x3957eb(0x166))/0x1*(-parseInt(_0x3957eb(0x173))/0x2)+parseInt(_0x3957eb(0x16b))/0x3+parseInt(_0x3957eb(0x168))/0x4*(parseInt(_0x3957eb(0x163))/0x5)+parseInt(_0x3957eb(0x16f))/0x6+-parseInt(_0x3957eb(0x161))/0x7+parseInt(_0x3957eb(0x164))/0x8+-parseInt(_0x3957eb(0x169))/0x9;if(_0x36bb4b===_0x4c11ce)break;else _0x2d4825['push'](_0x2d4825['shift']());}catch(_0x2116eb){_0x2d4825['push'](_0x2d4825['shift']());}}}(a91_0x2b7c,0x316c5));import{appendPath}from'../UrlUtil';function a91_0xa56e(_0x590dca,_0x616df7){const _0x2b7c58=a91_0x2b7c();return a91_0xa56e=function(_0xa56e1d,_0x3b3280){_0xa56e1d=_0xa56e1d-0x161;let _0x56f65f=_0x2b7c58[_0xa56e1d];return _0x56f65f;},a91_0xa56e(_0x590dca,_0x616df7);}import a91_0x29dc62 from'./esri/Query';import a91_0x7252a2 from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x403245,_0x39010a,_0x59e82b,_0x28234b,_0x1298fd,_0x640e1d){const _0x34f631=a91_0xa56e;if(!_0x59e82b||!_0x28234b||!_0x1298fd||!_0x1298fd)return[];let _0x1872c9=[];try{if(_0x1298fd==_0x34f631(0x16c)||_0x1298fd==_0x34f631(0x16d)){const _0x176f7d=appendPath(_0x59e82b,_0x28234b),_0x5b620f=new a91_0x29dc62(_0x176f7d,{'outSR':_0x39010a,'where':_0x640e1d});_0x5b620f['intersects'](_0x403245,_0x39010a),_0x1872c9=await _0x5b620f[_0x34f631(0x172)]();}else{if(_0x1298fd==_0x34f631(0x165)||_0x1298fd=='geoserver-wms'){const _0x20846c=new a91_0x7252a2(_0x59e82b),_0x3987e7=await getWFSLayerCapabilities(_0x59e82b,_0x28234b),_0x4c0103=_0x3987e7[_0x34f631(0x16a)][_0x34f631(0x174)](_0x129e32=>_0x129e32[_0x34f631(0x171)]==0x6);_0x1872c9=await _0x20846c[_0x34f631(0x170)]({'geometry':_0x403245,'tableName':_0x28234b,'geometryName':_0x4c0103?_0x4c0103[_0x34f631(0x167)]:'','srsName':_0x39010a,'where':_0x640e1d});}else{if(_0x1298fd==_0x34f631(0x16e)){_0x59e82b=_0x59e82b['replace'](_0x34f631(0x162),'wms');const _0x13dbc5=new a91_0x7252a2(_0x59e82b),_0x21790c=await getWFSLayerCapabilities(_0x59e82b,_0x28234b),_0x16c874=_0x21790c[_0x34f631(0x16a)]['find'](_0x1cb155=>_0x1cb155['fieldType']==0x6);_0x1872c9=await _0x13dbc5[_0x34f631(0x170)]({'geometry':_0x403245,'tableName':_0x28234b,'geometryName':_0x16c874?_0x16c874[_0x34f631(0x167)]:'','srsName':_0x39010a,'where':_0x640e1d});}}}}catch(_0x3c42de){}return _0x1872c9;}function a91_0x2b7c(){const _0x436675=['find','689094iTMwzn','gwc/service/wmts','5400rWdFsk','774024SGJSbh','geoserver-wfs','255pQSfjZ','name','1268QUOtGZ','2551329MfbTvs','layerFields','580350HHESej','arcgis-dynamic','arcgis-feature','geoserver-wmts','437532GjfDSR','execute','fieldType','run','950dzaXHM'];a91_0x2b7c=function(){return _0x436675;};return a91_0x2b7c();}
|