ym-gis-2d 1.0.26 → 1.0.28
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/assets/main.css +30 -3
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.d.ts +5 -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/DrawOptions.d.ts +1 -1
- package/entity/DrawOptions.d.ts.map +1 -1
- package/entity/Feature.d.ts +1 -1
- package/entity/Feature.d.ts.map +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/entity/IFont.d.ts +9 -0
- package/entity/IFont.d.ts.map +1 -1
- package/entity/legend/IColorMap.d.ts +6 -0
- package/entity/legend/IColorMap.d.ts.map +1 -0
- package/entity/legend/IColorMap.js.map +1 -0
- package/entity/legend/IColorSymbol.d.ts +6 -0
- package/entity/legend/IColorSymbol.d.ts.map +1 -0
- package/entity/legend/IColorSymbol.js +1 -0
- package/entity/legend/IColorSymbol.js.map +1 -0
- package/entity/legend/IRasterSymbol.d.ts +6 -0
- package/entity/legend/IRasterSymbol.d.ts.map +1 -0
- package/entity/legend/IRasterSymbol.js +1 -0
- package/entity/legend/IRasterSymbol.js.map +1 -0
- package/entity/legend/ISymbol.d.ts +2 -0
- package/entity/legend/ISymbol.d.ts.map +1 -1
- package/entity/measure/AreaMeasureUnits.d.ts +10 -0
- package/entity/measure/AreaMeasureUnits.d.ts.map +1 -0
- package/entity/measure/AreaMeasureUnits.js +1 -0
- package/entity/measure/AreaMeasureUnits.js.map +1 -0
- package/entity/style/ILabelStyle.d.ts +6 -0
- package/entity/style/ILabelStyle.d.ts.map +1 -0
- package/entity/style/ILabelStyle.js +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 -3
- 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 +64 -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 +5 -5
- 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 +11 -2
- package/interaction/Select.d.ts.map +1 -1
- package/interaction/Select.js +1 -1
- package/interaction/Select.js.map +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/Plot.js.map +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.d.ts.map +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js.map +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/style.css +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.d.ts +6 -0
- package/utils/GeometryUtil.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.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 → legend/IColorMap.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a85_0x3c29(){const _0x1530e1=['fillText','#FFFFFF','height','minx','7721765ZGCQgK','dimensions','getPropertyValue','ceil','hidden','fillRect','fill','white','msImageSmoothingEnabled','width','backgroundColor','visibility','strokeText','lineWidth','strokeWidth','defaultView','#00000000','56QYbfcq','style','font','ascent','strokeStyle','597HfDWPr','79030snPAbk','test','188GxzjYN','lineJoin','2251608gpSGNh','getContext','3113xyejEd','createElement','black','636601oLUxur','strokeColor','getImageData','fillColor','imageSmoothingEnabled','padding','body','data','replace','fillStyle','removeChild','mozImageSmoothingEnabled','webkitImageSmoothingEnabled','36DOWSwa','canvas','text\x20is\x20required.','1859517qsdcXy','measureText','1504008kmZogb'];a85_0x3c29=function(){return _0x1530e1;};return a85_0x3c29();}(function(_0x1ef6d0,_0x3baf8b){const _0x2d979d=a85_0x5a5a,_0xa0ba72=_0x1ef6d0();while(!![]){try{const _0x4c417e=-parseInt(_0x2d979d(0x1e0))/0x1+parseInt(_0x2d979d(0x1c7))/0x2*(-parseInt(_0x2d979d(0x1fb))/0x3)+-parseInt(_0x2d979d(0x1c9))/0x4+parseInt(_0x2d979d(0x1e5))/0x5+parseInt(_0x2d979d(0x1db))/0x6*(parseInt(_0x2d979d(0x1ce))/0x7)+-parseInt(_0x2d979d(0x1f6))/0x8*(parseInt(_0x2d979d(0x1de))/0x9)+-parseInt(_0x2d979d(0x1fc))/0xa*(-parseInt(_0x2d979d(0x1cb))/0xb);if(_0x4c417e===_0x3baf8b)break;else _0xa0ba72['push'](_0xa0ba72['shift']());}catch(_0x51cd07){_0xa0ba72['push'](_0xa0ba72['shift']());}}}(a85_0x3c29,0xc201d));function a85_0x5a5a(_0xff79bb,_0x55711b){const _0x3c2967=a85_0x3c29();return a85_0x5a5a=function(_0x5a5aa5,_0x508d50){_0x5a5aa5=_0x5a5aa5-0x1c6;let _0x4418a9=_0x3c2967[_0x5a5aa5];return _0x4418a9;},a85_0x5a5a(_0xff79bb,_0x55711b);}function measureText(_0x1c437b,_0x2808e5,_0x54ebd0,_0x1ee945,_0x389edb){const _0x858505=a85_0x5a5a,_0x566fad=_0x1c437b[_0x858505(0x1df)](_0x2808e5),_0x3b41a2=!/\S/[_0x858505(0x1c6)](_0x2808e5);if(!_0x3b41a2&&document[_0x858505(0x1f4)]){const _0x37fa2b=document['defaultView']['getComputedStyle'](_0x1c437b[_0x858505(0x1dc)])[_0x858505(0x1e7)]('font-size')[_0x858505(0x1d6)]('px',''),_0x65c7aa=document['createElement'](_0x858505(0x1dc)),_0x462db3=0x64,_0x3c225f=_0x566fad[_0x858505(0x1ee)]+_0x462db3|0x0,_0x295a78=0x3*(_0x37fa2b-0x0),_0x54c879=_0x295a78/0x2;_0x65c7aa[_0x858505(0x1ee)]=_0x3c225f,_0x65c7aa[_0x858505(0x1e3)]=_0x295a78;const _0x43fb6c=_0x65c7aa[_0x858505(0x1ca)]('2d');if(!_0x43fb6c)return{};_0x43fb6c['font']=_0x54ebd0,_0x43fb6c[_0x858505(0x1d7)]=_0x858505(0x1ec),_0x43fb6c[_0x858505(0x1ea)](0x0,0x0,_0x65c7aa[_0x858505(0x1ee)]+0x1,_0x65c7aa['height']+0x1);_0x1ee945&&(_0x43fb6c[_0x858505(0x1fa)]=_0x858505(0x1cd),_0x43fb6c[_0x858505(0x1f2)]=_0x1c437b[_0x858505(0x1f2)],_0x43fb6c[_0x858505(0x1f1)](_0x2808e5,_0x462db3/0x2,_0x54c879));_0x389edb&&(_0x43fb6c[_0x858505(0x1d7)]='black',_0x43fb6c[_0x858505(0x1e1)](_0x2808e5,_0x462db3/0x2,_0x54c879));const _0x5948b6=_0x43fb6c[_0x858505(0x1d0)](0x0,0x0,_0x3c225f,_0x295a78)[_0x858505(0x1d5)],_0x12aa53=_0x5948b6['length'],_0x2ce159=_0x3c225f*0x4;let _0x4d5333,_0x409106,_0x152878=0x0,_0x5abed8=0x0;for(_0x4d5333=0x0;_0x4d5333<_0x12aa53;++_0x4d5333){if(_0x5948b6[_0x4d5333]!==0xff){_0x152878=_0x4d5333/_0x2ce159|0x0;break;}}for(_0x4d5333=_0x12aa53-0x1;_0x4d5333>=0x0;--_0x4d5333){if(_0x5948b6[_0x4d5333]!==0xff){_0x5abed8=_0x4d5333/_0x2ce159|0x0;break;}}let _0x155d5d=-0x1;for(_0x4d5333=0x0;_0x4d5333<_0x3c225f&&_0x155d5d===-0x1;++_0x4d5333){for(_0x409106=0x0;_0x409106<_0x295a78;++_0x409106){const _0x660c=_0x4d5333*0x4+_0x409106*_0x2ce159;if(_0x5948b6[_0x660c]!==0xff||_0x5948b6[_0x660c+0x1]!==0xff||_0x5948b6[_0x660c+0x2]!==0xff||_0x5948b6[_0x660c+0x3]!==0xff){_0x155d5d=_0x4d5333;break;}}}return{'width':_0x566fad[_0x858505(0x1ee)],'height':_0x5abed8-_0x152878,'ascent':_0x54c879-_0x152878,'descent':_0x5abed8-_0x54c879,'minx':_0x155d5d-_0x462db3/0x2};}return{'width':_0x566fad[_0x858505(0x1ee)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x5761cb,_0x22c438){const _0x4c6404=a85_0x5a5a;if(!_0x5761cb)throw new Error(_0x4c6404(0x1dd));if(_0x5761cb==='')return undefined;_0x22c438=defaultValue(_0x22c438,{});const _0x3d1756=defaultValue(_0x22c438[_0x4c6404(0x1f8)],'10px\x20sans-serif'),_0x5c5431=defaultValue(_0x22c438['stroke'],![]),_0x4cea59=defaultValue(_0x22c438[_0x4c6404(0x1eb)],!![]),_0x5c44da=defaultValue(_0x22c438[_0x4c6404(0x1f3)],0x1),_0x5c1ded=defaultValue(_0x22c438[_0x4c6404(0x1ef)],'#00000000'),_0x1d8a9=defaultValue(_0x22c438[_0x4c6404(0x1d3)],0x0),_0x2cd32a=_0x1d8a9*0x2,_0x2e5274=document[_0x4c6404(0x1cc)](_0x4c6404(0x1dc));_0x2e5274[_0x4c6404(0x1ee)]=0x1,_0x2e5274[_0x4c6404(0x1e3)]=0x1,_0x2e5274[_0x4c6404(0x1f7)]['font']=_0x3d1756;const _0x42bd2a=_0x2e5274[_0x4c6404(0x1ca)]('2d');if(!imageSmoothingEnabledName&&_0x42bd2a){if(_0x42bd2a[_0x4c6404(0x1d2)])imageSmoothingEnabledName=_0x4c6404(0x1d2);else{if(_0x42bd2a[_0x4c6404(0x1d9)])imageSmoothingEnabledName=_0x4c6404(0x1d9);else{if(_0x42bd2a[_0x4c6404(0x1da)])imageSmoothingEnabledName=_0x4c6404(0x1da);else _0x42bd2a[_0x4c6404(0x1ed)]&&(imageSmoothingEnabledName=_0x4c6404(0x1ed));}}}_0x42bd2a[_0x4c6404(0x1f8)]=_0x3d1756,_0x42bd2a[_0x4c6404(0x1c8)]='round',_0x42bd2a[_0x4c6404(0x1f2)]=_0x5c44da,_0x42bd2a[imageSmoothingEnabledName]=![],_0x2e5274[_0x4c6404(0x1f7)][_0x4c6404(0x1f0)]=_0x4c6404(0x1e9),document[_0x4c6404(0x1d4)]['appendChild'](_0x2e5274);const _0x5285fd=measureText(_0x42bd2a,_0x5761cb,_0x3d1756,_0x5c5431,_0x4cea59);if(!_0x5285fd)return;_0x2e5274[_0x4c6404(0x1e6)]=_0x5285fd,document['body'][_0x4c6404(0x1d8)](_0x2e5274),_0x2e5274[_0x4c6404(0x1f7)][_0x4c6404(0x1f0)]='';const _0x373da0=-(_0x5285fd[_0x4c6404(0x1e4)]?_0x5285fd[_0x4c6404(0x1e4)]:0x0),_0x1314cd=Math[_0x4c6404(0x1e8)](_0x5285fd[_0x4c6404(0x1ee)])+_0x373da0+_0x2cd32a,_0x4d7a5c=(_0x5285fd[_0x4c6404(0x1e3)]?_0x5285fd[_0x4c6404(0x1e3)]:0x0)+_0x2cd32a,_0x5619de=_0x4d7a5c-(_0x5285fd[_0x4c6404(0x1f9)]?_0x5285fd['ascent']:0x0)+_0x1d8a9,_0x37c90b=_0x4d7a5c-_0x5619de+_0x2cd32a;return _0x2e5274[_0x4c6404(0x1ee)]=_0x1314cd,_0x2e5274['height']=_0x4d7a5c,_0x42bd2a[_0x4c6404(0x1f8)]=_0x3d1756,_0x42bd2a[_0x4c6404(0x1c8)]='round',_0x42bd2a['lineWidth']=_0x5c44da,_0x42bd2a[imageSmoothingEnabledName]=![],_0x5c1ded!==_0x4c6404(0x1f5)&&(_0x42bd2a[_0x4c6404(0x1d7)]=_0x5c1ded,_0x42bd2a[_0x4c6404(0x1ea)](0x0,0x0,_0x2e5274[_0x4c6404(0x1ee)],_0x2e5274[_0x4c6404(0x1e3)])),_0x5c5431&&(_0x42bd2a['strokeStyle']=defaultValue(_0x22c438[_0x4c6404(0x1cf)],'#000000'),_0x42bd2a[_0x4c6404(0x1f1)](_0x5761cb,_0x373da0+_0x1d8a9,_0x37c90b)),_0x4cea59&&(_0x42bd2a[_0x4c6404(0x1d7)]=defaultValue(_0x22c438[_0x4c6404(0x1d1)],_0x4c6404(0x1e2)),_0x42bd2a[_0x4c6404(0x1e1)](_0x5761cb,_0x373da0+_0x1d8a9,_0x37c90b)),_0x2e5274;}function defaultValue(_0x24a1b8,_0x1a65f7){if(_0x24a1b8!==undefined&&_0x24a1b8!==null)return _0x24a1b8;return _0x1a65f7;}export default writeTextToCanvas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a90_0x43f623=a90_0x3e40;(function(_0x4221ce,_0x973da6){const _0x3f189a=a90_0x3e40,_0x50c93f=_0x4221ce();while(!![]){try{const _0x2f8957=parseInt(_0x3f189a(0x7e))/0x1*(parseInt(_0x3f189a(0x83))/0x2)+parseInt(_0x3f189a(0x82))/0x3+-parseInt(_0x3f189a(0x7c))/0x4+parseInt(_0x3f189a(0x84))/0x5*(parseInt(_0x3f189a(0x7a))/0x6)+parseInt(_0x3f189a(0x89))/0x7*(-parseInt(_0x3f189a(0x8a))/0x8)+-parseInt(_0x3f189a(0x8b))/0x9*(parseInt(_0x3f189a(0x90))/0xa)+parseInt(_0x3f189a(0x81))/0xb;if(_0x2f8957===_0x973da6)break;else _0x50c93f['push'](_0x50c93f['shift']());}catch(_0xfdf787){_0x50c93f['push'](_0x50c93f['shift']());}}}(a90_0x38be,0x1ceb6));import a90_0x1909a4 from'ol/format/EsriJSON';import a90_0x1cbcaa from'ol/format/GeoJSON';function a90_0x38be(){const _0x14f36e=['identify','url','tolerance','layers','valueOf','returnGeometry','mapExtent','resolution','between','getProjection','returnM','6VGkQEE','inSR','407548RmsHkv','all','23887ElOUMH','layerDefs','getResolution','4594590OZyTHA','108546vdBCGo','12dAZkSq','299285PlhGwk','returnZ','path','params','geometry','1516305NsBiSY','8vshNTO','3285mCiuZw','getView','getCenter','getSize','time','6030ybxzNJ','getCode','run'];a90_0x38be=function(){return _0x14f36e;};return a90_0x38be();}function a90_0x3e40(_0x1b2ba8,_0x459b3d){const _0x38bece=a90_0x38be();return a90_0x3e40=function(_0x3e40f7,_0x497790){_0x3e40f7=_0x3e40f7-0x72;let _0x4cb582=_0x38bece[_0x3e40f7];return _0x4cb582;},a90_0x3e40(_0x1b2ba8,_0x459b3d);}import{getPointResolution}from'ol/proj';import a90_0x39f9d6 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a90_0x39f9d6{constructor(_0x5bd60d,_0x145266,_0x43a95b){const _0x3c651c=a90_0x3e40;super(_0x5bd60d,_0x145266,_0x43a95b),this['path']=_0x3c651c(0x93),this[_0x3c651c(0x87)]={'layers':_0x3c651c(0x7d),'tolerance':0x0,'returnGeometry':!![]},this[_0x3c651c(0x95)]=0x3,this[_0x3c651c(0x76)]=0x0,this[_0x3c651c(0x94)]=appendPath(this[_0x3c651c(0x94)],this[_0x3c651c(0x86)]),_0x145266&&((_0x145266[_0x3c651c(0x74)]===!![]||_0x145266[_0x3c651c(0x74)]===![])&&(this[_0x3c651c(0x87)][_0x3c651c(0x74)]=_0x145266['returnGeometry']),_0x145266[_0x3c651c(0x72)]&&(this[_0x3c651c(0x87)][_0x3c651c(0x72)]=_0x145266[_0x3c651c(0x72)]),_0x145266[_0x3c651c(0x7f)]&&(this['params'][_0x3c651c(0x7f)]=_0x145266[_0x3c651c(0x7f)]),(_0x145266['returnZ']===!![]||_0x145266[_0x3c651c(0x85)]===![])&&(this[_0x3c651c(0x87)][_0x3c651c(0x85)]=_0x145266['returnZ']),(_0x145266[_0x3c651c(0x79)]===!![]||_0x145266[_0x3c651c(0x79)]===![])&&(this[_0x3c651c(0x87)][_0x3c651c(0x79)]=_0x145266['returnM']));}['at'](_0x1c7b82,_0x14988c){const _0x1edcd5=a90_0x3e40;let _0x272722,_0x3f1876;const _0x2b2a02=new a90_0x1cbcaa();_0x272722=_0x1c7b82,_0x3f1876=getEsriSpatialReference(_0x14988c['getView']()[_0x1edcd5(0x78)]()[_0x1edcd5(0x91)]());const _0xe3a48b=_0x14988c[_0x1edcd5(0x8e)]();_0xe3a48b&&(this[_0x1edcd5(0x87)]['imageDisplay']=[_0xe3a48b[0x0],_0xe3a48b[0x1],0x60]);this[_0x1edcd5(0x87)]['sr']=_0x3f1876;const _0x339a30=_0x14988c[_0x1edcd5(0x8c)]()['calculateExtent'](_0x14988c[_0x1edcd5(0x8e)]());this[_0x1edcd5(0x87)][_0x1edcd5(0x75)]={'xmin':_0x339a30[0x0],'ymin':_0x339a30[0x1],'xmax':_0x339a30[0x2],'ymax':_0x339a30[0x3],'spatialReference':_0x3f1876};const _0x18283d=_0x14988c['getView']()[_0x1edcd5(0x80)](),_0x57e2c3=_0x14988c[_0x1edcd5(0x8c)]()[_0x1edcd5(0x8d)]();return _0x18283d&&_0x57e2c3&&(this[_0x1edcd5(0x76)]=getPointResolution(_0x14988c[_0x1edcd5(0x8c)]()['getProjection'](),_0x18283d,_0x57e2c3)),this['_setGeometryParams'](_0x272722,_0x14988c[_0x1edcd5(0x8c)]()[_0x1edcd5(0x78)]()['getCode']()),this;}[a90_0x43f623(0x77)](_0x38721e,_0x129b2a){const _0x1d63ca=a90_0x43f623;return this[_0x1d63ca(0x87)][_0x1d63ca(0x8f)]=[_0x38721e['valueOf'](),_0x129b2a[_0x1d63ca(0x73)]()],this;}[a90_0x43f623(0x92)](){this['request']();}['_setGeometryParams'](_0x5e8e27,_0x56cb67){const _0x25c54d=a90_0x43f623;var _0x94adcb=new a90_0x1909a4();const _0x46a627=_0x94adcb['writeGeometryObject'](_0x5e8e27);this['params'][_0x25c54d(0x7b)]=getEsriSpatialReference(_0x56cb67),this[_0x25c54d(0x87)][_0x25c54d(0x88)]=_0x46a627,this[_0x25c54d(0x87)]['geometryType']=this['geojsonTypeToArcGIS'](_0x5e8e27['getType']());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a91_0x3d5dbc=a91_0x4b1f;function a91_0x4b1f(_0x599da8,_0x1f2ec2){const _0x21a10f=a91_0x21a1();return a91_0x4b1f=function(_0x4b1f69,_0xd27f6b){_0x4b1f69=_0x4b1f69-0xb5;let _0x1cd647=_0x21a10f[_0x4b1f69];return _0x1cd647;},a91_0x4b1f(_0x599da8,_0x1f2ec2);}(function(_0x57d7cb,_0x295a75){const _0x4b13d1=a91_0x4b1f,_0x3ddb87=_0x57d7cb();while(!![]){try{const _0x2009f8=-parseInt(_0x4b13d1(0xcd))/0x1+-parseInt(_0x4b13d1(0xdb))/0x2+-parseInt(_0x4b13d1(0xbe))/0x3+-parseInt(_0x4b13d1(0xce))/0x4+-parseInt(_0x4b13d1(0xea))/0x5+-parseInt(_0x4b13d1(0xf3))/0x6*(-parseInt(_0x4b13d1(0xcc))/0x7)+-parseInt(_0x4b13d1(0xe8))/0x8*(-parseInt(_0x4b13d1(0xd2))/0x9);if(_0x2009f8===_0x295a75)break;else _0x3ddb87['push'](_0x3ddb87['shift']());}catch(_0x335705){_0x3ddb87['push'](_0x3ddb87['shift']());}}}(a91_0x21a1,0x22ebc));function a91_0x21a1(){const _0x41e2ee=['esriSpatialRelIndexIntersects','esriSpatialRelEnvelopeIntersects','abs','_cleanParams','returnM','210525ImQkOM','130972ryeVFg','918720WbJgjl','indexIntersects','esriSRUnit_Meter','path','473481UWzzPR','request','returnZ','forEach','spatialRel','push','getType','touches','length','344864iOXskg','join','ASC','No\x20features\x20found','crosses','returnCountOnly','esriSpatialRelOverlaps','1=1','simplify','returnDistinctValues','orderByFields','apply','data','104OLNXed','where','796205FuJKMH','getExtent','_trapSQLerrors','readFeature','overlaps','returnExtentOnly','returnIdsOnly','maxAllowableOffset','valueOf','54HZwEFO','nearby','returnGeometry','params','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','_setGeometryParams','query','outSR','getTime','code','distance','/query','time','400','url','geometryType','esriSpatialRelContains','features','357693SkgLel','esriSpatialRelIntersects','geometry','contains','esriSpatialRelWithin','between','intersects','inSR','catch'];a91_0x21a1=function(){return _0x41e2ee;};return a91_0x21a1();}import a91_0x2fc953 from'ol/format/EsriJSON';import a91_0x1aee99 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a91_0x1aee99{constructor(_0x236fc8,_0x4e683b,_0x33bc5f){const _0x2f6669=a91_0x4b1f;super(_0x236fc8,_0x4e683b,_0x33bc5f),this[_0x2f6669(0xd1)]=_0x2f6669(0xf9),this[_0x2f6669(0xf6)]={'returnGeometry':!![],'where':_0x2f6669(0xe2),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x2f6669(0xfb)]()},this['url']=appendPath(this[_0x2f6669(0xba)],this[_0x2f6669(0xd1)]),_0x4e683b&&((_0x4e683b[_0x2f6669(0xf5)]===!![]||_0x4e683b[_0x2f6669(0xf5)]===![])&&(this['params'][_0x2f6669(0xf5)]=_0x4e683b[_0x2f6669(0xf5)]),_0x4e683b[_0x2f6669(0xe9)]&&(this[_0x2f6669(0xf6)]['where']=_0x4e683b['where']),_0x4e683b['outSR']&&(this[_0x2f6669(0xf6)][_0x2f6669(0xfa)]=getEsriSpatialReference(_0x4e683b[_0x2f6669(0xfa)])),(_0x4e683b[_0x2f6669(0xd4)]===!![]||_0x4e683b[_0x2f6669(0xd4)]===![])&&(this['params'][_0x2f6669(0xd4)]=_0x4e683b['returnZ']),(_0x4e683b[_0x2f6669(0xcb)]===!![]||_0x4e683b['returnM']===![])&&(this[_0x2f6669(0xf6)][_0x2f6669(0xcb)]=_0x4e683b[_0x2f6669(0xcb)]));}['within'](_0x58c283,_0x3e0f52){const _0x1549d9=a91_0x4b1f;return this[_0x1549d9(0xf8)](_0x58c283,_0x3e0f52),this[_0x1549d9(0xf6)][_0x1549d9(0xd6)]=_0x1549d9(0xbc),this;}[a91_0x3d5dbc(0xc4)](_0x443ea4,_0x33194b){const _0x3bd598=a91_0x3d5dbc;return this[_0x3bd598(0xf8)](_0x443ea4,_0x33194b),this[_0x3bd598(0xf6)][_0x3bd598(0xd6)]=_0x3bd598(0xbf),this;}[a91_0x3d5dbc(0xc1)](_0x462e3f,_0x1c29b5){const _0x3a90d9=a91_0x3d5dbc;return this[_0x3a90d9(0xf8)](_0x462e3f,_0x1c29b5),this[_0x3a90d9(0xf6)][_0x3a90d9(0xd6)]=_0x3a90d9(0xc2),this;}[a91_0x3d5dbc(0xdf)](_0x2065a5,_0x577e30){const _0x3ae658=a91_0x3d5dbc;return this['_setGeometryParams'](_0x2065a5,_0x577e30),this[_0x3ae658(0xf6)][_0x3ae658(0xd6)]='esriSpatialRelCrosses',this;}[a91_0x3d5dbc(0xd9)](_0x23e7c5,_0xdc6eb3){const _0x5244ac=a91_0x3d5dbc;return this[_0x5244ac(0xf8)](_0x23e7c5,_0xdc6eb3),this['params'][_0x5244ac(0xd6)]='esriSpatialRelTouches',this;}[a91_0x3d5dbc(0xee)](_0x2d5ce3,_0x54e615){const _0x3a0f3d=a91_0x3d5dbc;return this[_0x3a0f3d(0xf8)](_0x2d5ce3,_0x54e615),this[_0x3a0f3d(0xf6)][_0x3a0f3d(0xd6)]=_0x3a0f3d(0xe1),this;}['bboxIntersects'](_0x37fdf9,_0x351058){const _0x177c21=a91_0x3d5dbc;return this[_0x177c21(0xf8)](_0x37fdf9,_0x351058),this['params'][_0x177c21(0xd6)]=_0x177c21(0xc8),this;}[a91_0x3d5dbc(0xcf)](_0x28b008,_0x514576){const _0x1b06bc=a91_0x3d5dbc;return this[_0x1b06bc(0xf8)](_0x28b008,_0x514576),this['params'][_0x1b06bc(0xd6)]=_0x1b06bc(0xc7),this;}[a91_0x3d5dbc(0xf4)](_0x1041ff,_0x53f584,_0x563de9){const _0x44d820=a91_0x3d5dbc;return this[_0x44d820(0xf8)](_0x1041ff,_0x53f584),this[_0x44d820(0xf6)][_0x44d820(0xd6)]=_0x44d820(0xbf),this[_0x44d820(0xf6)]['units']=_0x44d820(0xd0),this[_0x44d820(0xf6)][_0x44d820(0xb6)]=_0x563de9,this;}[a91_0x3d5dbc(0xe9)](_0x37748b){const _0x6d147f=a91_0x3d5dbc;return this[_0x6d147f(0xf6)][_0x6d147f(0xe9)]=_0x37748b,this;}[a91_0x3d5dbc(0xc3)](_0x344e93,_0x4138bb){const _0x555c95=a91_0x3d5dbc;return this[_0x555c95(0xf6)][_0x555c95(0xb8)]=[_0x344e93[_0x555c95(0xf2)](),_0x4138bb[_0x555c95(0xf2)]()],this;}[a91_0x3d5dbc(0xe3)](_0x36e3b6,_0xd1ec){const _0x108a4e=a91_0x3d5dbc,_0x3b36b6=_0x36e3b6[_0x108a4e(0xeb)]();var _0x3e7eb5=Math[_0x108a4e(0xc9)](_0x3b36b6[0x2]-_0x3b36b6[0x0]);const _0x4ddddd=_0x36e3b6['getSize']();if(_0x4ddddd)return this[_0x108a4e(0xf6)][_0x108a4e(0xf1)]=_0x3e7eb5/_0x4ddddd[0x1]*_0xd1ec,this;}['orderBy'](_0x26949e,_0x4b60c6){const _0x42286b=a91_0x3d5dbc;return _0x4b60c6=_0x4b60c6||_0x42286b(0xdd),this[_0x42286b(0xf6)][_0x42286b(0xe5)]=this[_0x42286b(0xf6)]['orderByFields']?this[_0x42286b(0xf6)][_0x42286b(0xe5)]+',':'',this[_0x42286b(0xf6)][_0x42286b(0xe5)]+=[_0x26949e,_0x4b60c6][_0x42286b(0xdc)]('\x20'),this;}async['run'](){const _0x4e31d2=a91_0x3d5dbc;this['_cleanParams']();const _0x5928f0=await this[_0x4e31d2(0xd3)]()[_0x4e31d2(0xc6)](_0x53fefc=>{throw new Error(_0x53fefc);});if(_0x5928f0['status']!==0xc8)throw new Error(_0x4e31d2(0xde));if(_0x5928f0[_0x4e31d2(0xe7)]&&_0x5928f0[_0x4e31d2(0xe7)][_0x4e31d2(0xbd)]&&_0x5928f0[_0x4e31d2(0xe7)][_0x4e31d2(0xbd)][_0x4e31d2(0xda)]>0x0){var _0x566374=new a91_0x2fc953();let _0xc70fd4=[];return _0x5928f0[_0x4e31d2(0xe7)][_0x4e31d2(0xbd)][_0x4e31d2(0xd5)](_0x3912ba=>{const _0x49ba76=_0x4e31d2,_0x568964=_0x566374[_0x49ba76(0xed)](_0x3912ba);_0xc70fd4[_0x49ba76(0xd7)](_0x568964);}),_0xc70fd4;}return[];}['count'](){const _0x4d7e70=a91_0x3d5dbc;this[_0x4d7e70(0xca)](),this['params'][_0x4d7e70(0xe0)]=!![],this[_0x4d7e70(0xd3)]();}['ids'](){const _0x23c76b=a91_0x3d5dbc;this[_0x23c76b(0xca)](),this[_0x23c76b(0xf6)][_0x23c76b(0xf0)]=!![],this['request']();}['distinct'](){const _0xf05a7f=a91_0x3d5dbc;return this[_0xf05a7f(0xf6)]['returnGeometry']=![],this[_0xf05a7f(0xf6)][_0xf05a7f(0xe4)]=!![],this;}['layer'](_0x290c69){const _0x3ed074=a91_0x3d5dbc;return this[_0x3ed074(0xd1)]=_0x290c69+_0x3ed074(0xb7),this;}[a91_0x3d5dbc(0xec)](_0x461238){const _0x18d286=a91_0x3d5dbc;_0x461238&&(_0x461238[_0x18d286(0xb5)]===_0x18d286(0xb9)&&console['warn'][_0x18d286(0xe6)](_0x18d286(0xf7)));}[a91_0x3d5dbc(0xca)](){const _0x9280bf=a91_0x3d5dbc;delete this[_0x9280bf(0xf6)]['returnIdsOnly'],delete this[_0x9280bf(0xf6)][_0x9280bf(0xef)],delete this[_0x9280bf(0xf6)][_0x9280bf(0xe0)];}[a91_0x3d5dbc(0xf8)](_0x5c7fa9,_0x28f4cb){const _0x316960=a91_0x3d5dbc;var _0x264b9b=new a91_0x2fc953();const _0x3f14ce=_0x264b9b['writeGeometryObject'](_0x5c7fa9);this['params'][_0x316960(0xc5)]=getEsriSpatialReference(_0x28f4cb),this[_0x316960(0xf6)][_0x316960(0xc0)]=_0x3f14ce,this[_0x316960(0xf6)][_0x316960(0xbb)]=this['geojsonTypeToArcGIS'](_0x5c7fa9[_0x316960(0xd8)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function a92_0x2dd0(){var _0x49f08f=['request','7roTHrB','indexOf','url','esriGeometryMultipoint','stringify','JSONP','2778qgookQ','prototype','params','get','[object\x20Date]','esriGeometryPoint','[object\x20Array]','isArcgisOnline','MultiPoint','13jKHjiJ','LineString','returnUnformattedValues','test','call','6983460nnvMjR','geojsonTypeToArcGIS','140090OsZJPZ','199XMvXQj','join','method','toString','MultiPolygon','esriGeometryPolyline','27726czbrHB','4hyrQgY','10408416UhdGAu','430qZfIKC','esriGeometryPolygon','json','4338856eKUMao','length','valueOf','serialize','27kKfqdn','MultiLineString','800973HqWJyU'];a92_0x2dd0=function(){return _0x49f08f;};return a92_0x2dd0();}var a92_0x3b81b7=a92_0x1b83;(function(_0x1e0ff2,_0x4c1500){var _0x2e727a=a92_0x1b83,_0x415c8b=_0x1e0ff2();while(!![]){try{var _0x28523c=parseInt(_0x2e727a(0xdb))/0x1*(-parseInt(_0x2e727a(0xf5))/0x2)+parseInt(_0x2e727a(0xed))/0x3*(parseInt(_0x2e727a(0xe2))/0x4)+parseInt(_0x2e727a(0xe4))/0x5*(-parseInt(_0x2e727a(0xe1))/0x6)+parseInt(_0x2e727a(0xef))/0x7*(-parseInt(_0x2e727a(0xe7))/0x8)+parseInt(_0x2e727a(0xeb))/0x9*(parseInt(_0x2e727a(0xda))/0xa)+parseInt(_0x2e727a(0xd8))/0xb+-parseInt(_0x2e727a(0xe3))/0xc*(-parseInt(_0x2e727a(0xfe))/0xd);if(_0x28523c===_0x4c1500)break;else _0x415c8b['push'](_0x415c8b['shift']());}catch(_0x2ac268){_0x415c8b['push'](_0x415c8b['shift']());}}}(a92_0x2dd0,0x91480));function a92_0x1b83(_0x5bf8ba,_0x39f42c){var _0x2dd02a=a92_0x2dd0();return a92_0x1b83=function(_0x1b83c1,_0x3ee7e7){_0x1b83c1=_0x1b83c1-0xd5;var _0x2a9182=_0x2dd02a[_0x1b83c1];return _0x2a9182;},a92_0x1b83(_0x5bf8ba,_0x39f42c);}import a92_0x3c21e8 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x478e84,_0x571fbf,_0x2423b3){var _0x2926a7=a92_0x1b83;this['url']=_0x478e84,this[_0x2926a7(0xf7)]=_0x571fbf||{},this[_0x2926a7(0xdd)]=!_0x2423b3?'GET':_0x2423b3;}[a92_0x3b81b7(0xd9)](_0x357762){var _0x2d8cd3=a92_0x3b81b7,_0x6af424;switch(_0x357762){case'Point':_0x6af424=_0x2d8cd3(0xfa);break;case _0x2d8cd3(0xfd):_0x6af424=_0x2d8cd3(0xf2);break;case _0x2d8cd3(0xff):_0x6af424='esriGeometryPolyline';break;case _0x2d8cd3(0xec):_0x6af424=_0x2d8cd3(0xe0);break;case'Polygon':_0x6af424=_0x2d8cd3(0xe5);break;case _0x2d8cd3(0xdf):_0x6af424=_0x2d8cd3(0xe5);break;}return _0x6af424;}[a92_0x3b81b7(0xfc)](_0x9ee614){var _0x4c07ae=a92_0x3b81b7;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x4c07ae(0xd6)](_0x9ee614);}[a92_0x3b81b7(0xea)](_0x1e6fc8){var _0xb6cc17=a92_0x3b81b7,_0x49b41e='';_0x1e6fc8['f']=_0x1e6fc8['f']||_0xb6cc17(0xe6);for(var _0x2f7c86 in _0x1e6fc8){if(Object[_0xb6cc17(0xf6)]['hasOwnProperty']['call'](_0x1e6fc8,_0x2f7c86)){var _0x5193c5=_0x1e6fc8[_0x2f7c86],_0x5e052c=Object[_0xb6cc17(0xf6)][_0xb6cc17(0xde)][_0xb6cc17(0xd7)](_0x5193c5),_0x3c888c;_0x49b41e[_0xb6cc17(0xe8)]&&(_0x49b41e+='&');if(_0x5e052c===_0xb6cc17(0xfb))_0x3c888c=Object[_0xb6cc17(0xf6)][_0xb6cc17(0xde)]['call'](_0x5193c5[0x0])==='[object\x20Object]'?JSON['stringify'](_0x5193c5):_0x5193c5[_0xb6cc17(0xdc)](',');else{if(_0x5e052c==='[object\x20Object]')_0x3c888c=JSON[_0xb6cc17(0xf3)](_0x5193c5);else _0x5e052c===_0xb6cc17(0xf9)?_0x3c888c=_0x5193c5[_0xb6cc17(0xe9)]():_0x3c888c=_0x5193c5;}_0x49b41e+=encodeURIComponent(_0x2f7c86)+'='+encodeURIComponent(_0x3c888c);}}return _0x49b41e;}['format'](_0x40cf9d){var _0x333ea5=a92_0x3b81b7;return this[_0x333ea5(0xf7)][_0x333ea5(0xd5)]=!_0x40cf9d,this;}async[a92_0x3b81b7(0xee)](){var _0x3510b2=a92_0x3b81b7,_0x1fe779=this[_0x3510b2(0xea)](this[_0x3510b2(0xf7)]);const _0x14977d=this['url'][_0x3510b2(0xf0)]('?')>-0x1?this[_0x3510b2(0xf1)]+'&'+_0x1fe779:this[_0x3510b2(0xf1)]+'?'+_0x1fe779;if(this[_0x3510b2(0xdd)]==='GET')return a92_0x3c21e8[_0x3510b2(0xf8)](_0x14977d);else{if(this[_0x3510b2(0xdd)]===_0x3510b2(0xf4))return jsonp(_0x14977d);else{const _0x254c71=stringify(this['params']);return a92_0x3c21e8['post'](this[_0x3510b2(0xf1)],_0x254c71);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a94_0x51ef(_0x3fab08,_0x173f91){const _0x222e57=a94_0x222e();return a94_0x51ef=function(_0x51ef34,_0x33832f){_0x51ef34=_0x51ef34-0x115;let _0x264b53=_0x222e57[_0x51ef34];return _0x264b53;},a94_0x51ef(_0x3fab08,_0x173f91);}const a94_0x4fc1ae=a94_0x51ef;(function(_0x17c4de,_0x2d6540){const _0x1ef45f=a94_0x51ef,_0x1aa580=_0x17c4de();while(!![]){try{const _0x106763=parseInt(_0x1ef45f(0x126))/0x1+parseInt(_0x1ef45f(0x132))/0x2+-parseInt(_0x1ef45f(0x11b))/0x3+-parseInt(_0x1ef45f(0x134))/0x4*(-parseInt(_0x1ef45f(0x119))/0x5)+parseInt(_0x1ef45f(0x116))/0x6*(-parseInt(_0x1ef45f(0x11c))/0x7)+parseInt(_0x1ef45f(0x11d))/0x8*(parseInt(_0x1ef45f(0x128))/0x9)+parseInt(_0x1ef45f(0x123))/0xa*(parseInt(_0x1ef45f(0x122))/0xb);if(_0x106763===_0x2d6540)break;else _0x1aa580['push'](_0x1aa580['shift']());}catch(_0x568b08){_0x1aa580['push'](_0x1aa580['shift']());}}}(a94_0x222e,0x2f5b2));import{and,intersects}from'ol/format/filter';import a94_0x39f930 from'../../format/CQL';import a94_0x2b35c2 from'ol/format/WFS';import a94_0x4c4dc8 from'ol/format/GeoJSON';function a94_0x222e(){const _0x2b50ac=['stringify','36882uabgDn','the_geom','41517PqTCux','json','map','then','geometry','where','srsName\x20is\x20required','geometryName','error','srsName','423842czXaIF','writeGetFeature','24CkYhOA','tableName','features','30hDUBWX','queryParameters','POST','219760uzyNQB','readFeature','398823BJMyII','444822roRWoc','176GEEMeC','url','serializeToString','_geoserverQuery','application/json','22CyNFLs','153200PLJjdC','read'];a94_0x222e=function(){return _0x2b50ac;};return a94_0x222e();}export default class QueryTask{constructor(_0x37eee7){const _0x4ec1b0=a94_0x51ef;this['queryParameters']={},this[_0x4ec1b0(0x11e)]=_0x37eee7;}async['execute'](_0x42fdb7){const _0x1206e2=a94_0x51ef;this['queryParameters']=_0x42fdb7||{};const _0x36923a=this[_0x1206e2(0x117)][_0x1206e2(0x12f)]||'the_geom';let _0x29592c=this[_0x1206e2(0x117)][_0x1206e2(0x12d)],_0x5eb957;_0x29592c&&(_0x5eb957=new a94_0x39f930()[_0x1206e2(0x124)](_0x29592c));let _0x39a6d6=_0x5eb957;if(this[_0x1206e2(0x117)][_0x1206e2(0x12c)]){if(!this[_0x1206e2(0x117)][_0x1206e2(0x131)])throw new Error(_0x1206e2(0x12e));const _0x4a0ef0=intersects(_0x36923a,this['queryParameters'][_0x1206e2(0x12c)]);_0x39a6d6=_0x5eb957?and(_0x5eb957,_0x4a0ef0):_0x4a0ef0;}let _0x1202a6=new a94_0x2b35c2()[_0x1206e2(0x133)]({'srsName':this[_0x1206e2(0x117)][_0x1206e2(0x131)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x1206e2(0x117)]['tableName']],'outputFormat':_0x1206e2(0x121),'geometryName':_0x36923a,'filter':_0x39a6d6});const _0x3c1c65=await fetch(this[_0x1206e2(0x11e)],{'method':_0x1206e2(0x118),'body':new XMLSerializer()['serializeToString'](_0x1202a6)}),_0x36f310=await _0x3c1c65[_0x1206e2(0x129)]();let _0x2747bf=[];const _0x445d77=new a94_0x4c4dc8();return _0x2747bf=_0x36f310[_0x1206e2(0x115)][_0x1206e2(0x12a)](_0x4df895=>{const _0x2fa178=_0x1206e2;return _0x445d77[_0x2fa178(0x11a)](JSON[_0x2fa178(0x125)](_0x4df895));}),_0x2747bf;}[a94_0x4fc1ae(0x120)](){const _0xbe0dfc=a94_0x4fc1ae,_0x3db2db=this[_0xbe0dfc(0x117)][_0xbe0dfc(0x12f)]||_0xbe0dfc(0x127);let _0x4b200e=this['queryParameters'][_0xbe0dfc(0x12d)],_0x2825dd;_0x4b200e&&(_0x2825dd=new a94_0x39f930()[_0xbe0dfc(0x124)](_0x4b200e));let _0x44937c=_0x2825dd;if(this['queryParameters']['geometry']){const _0x56b140=intersects(_0x3db2db,this[_0xbe0dfc(0x117)][_0xbe0dfc(0x12c)]);_0x44937c=_0x2825dd?and(_0x2825dd,_0x56b140):_0x56b140;}let _0x2900c4=new a94_0x2b35c2()['writeGetFeature']({'srsName':this[_0xbe0dfc(0x117)][_0xbe0dfc(0x131)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0xbe0dfc(0x135)]],'outputFormat':'application/json','geometryName':_0x3db2db,'filter':_0x44937c});return new Promise(_0x1e6f20=>{const _0x359561=_0xbe0dfc;fetch(this[_0x359561(0x11e)],{'method':_0x359561(0x118),'body':new XMLSerializer()[_0x359561(0x11f)](_0x2900c4)})[_0x359561(0x12b)](_0x3e1e3d=>{const _0x4df347=_0x359561;return _0x3e1e3d[_0x4df347(0x129)]();})[_0x359561(0x12b)](_0x2b6658=>{const _0x265f0b=_0x359561;let _0x17e1f9=[];const _0x27e272=new a94_0x4c4dc8();_0x17e1f9=_0x2b6658[_0x265f0b(0x115)]['map'](_0x1f826b=>{const _0x464d75=_0x265f0b;return _0x27e272[_0x464d75(0x11a)](JSON['stringify'](_0x1f826b));}),_0x1e6f20(_0x17e1f9);})['catch'](_0x27506a=>{const _0x370a26=_0x359561;_0x1e6f20([]),console[_0x370a26(0x130)](_0x27506a);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x345422,_0x34d52e){const _0x2410dc=a95_0x45d7,_0x481b33=_0x345422();while(!![]){try{const _0xa6d3eb=parseInt(_0x2410dc(0xd8))/0x1*(parseInt(_0x2410dc(0xd2))/0x2)+-parseInt(_0x2410dc(0xd7))/0x3+parseInt(_0x2410dc(0xd1))/0x4+parseInt(_0x2410dc(0xc6))/0x5+parseInt(_0x2410dc(0xd5))/0x6*(-parseInt(_0x2410dc(0xc9))/0x7)+parseInt(_0x2410dc(0xd6))/0x8*(parseInt(_0x2410dc(0xd4))/0x9)+parseInt(_0x2410dc(0xce))/0xa*(-parseInt(_0x2410dc(0xca))/0xb);if(_0xa6d3eb===_0x34d52e)break;else _0x481b33['push'](_0x481b33['shift']());}catch(_0x3dcdc9){_0x481b33['push'](_0x481b33['shift']());}}}(a95_0x1b62,0x6ed29));import{appendPath}from'../UrlUtil';import a95_0x41df52 from'./esri/Query';import a95_0x1cadaf from'./geoserver/QueryTask';function a95_0x45d7(_0x431eca,_0x490ff9){const _0x1b621f=a95_0x1b62();return a95_0x45d7=function(_0x45d7c1,_0x1b8731){_0x45d7c1=_0x45d7c1-0xc0;let _0x28cb68=_0x1b621f[_0x45d7c1];return _0x28cb68;},a95_0x45d7(_0x431eca,_0x490ff9);}function a95_0x1b62(){const _0x46c968=['find','fieldType','3493270AhlwRE','geoserver-wmts','wms','481201aGaekx','11BIwGyZ','name','arcgis-dynamic','execute','20677970PTibMk','geoserver-wfs','layerFields','2966556wSJeJS','1480902rGDlFX','arcgis-feature','32922SdaZNj','6DfaszR','1552DUTZbm','899781WUUWvT','1jShaOb','replace','gwc/service/wmts','run','geoserver-wms'];a95_0x1b62=function(){return _0x46c968;};return a95_0x1b62();}import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x1b420d,_0x5e5f6c,_0x57883f,_0x5ce175,_0x52e0d3,_0x365439){const _0xfc1535=a95_0x45d7;if(!_0x57883f||!_0x5ce175||!_0x52e0d3||!_0x52e0d3)return[];let _0x90094e=[];try{if(_0x52e0d3==_0xfc1535(0xcc)||_0x52e0d3==_0xfc1535(0xd3)){const _0x298036=appendPath(_0x57883f,_0x5ce175),_0x5494fc=new a95_0x41df52(_0x298036,{'outSR':_0x5e5f6c,'where':_0x365439});_0x5494fc['intersects'](_0x1b420d,_0x5e5f6c),_0x90094e=await _0x5494fc[_0xfc1535(0xc2)]();}else{if(_0x52e0d3==_0xfc1535(0xcf)||_0x52e0d3==_0xfc1535(0xc3)){const _0x1eb653=new a95_0x1cadaf(_0x57883f),_0x52308d=await getWFSLayerCapabilities(_0x57883f,_0x5ce175),_0x43fbb8=_0x52308d[_0xfc1535(0xd0)][_0xfc1535(0xc4)](_0xbd6916=>_0xbd6916[_0xfc1535(0xc5)]==0x6);_0x90094e=await _0x1eb653[_0xfc1535(0xcd)]({'geometry':_0x1b420d,'tableName':_0x5ce175,'geometryName':_0x43fbb8?_0x43fbb8[_0xfc1535(0xcb)]:'','srsName':_0x5e5f6c,'where':_0x365439});}else{if(_0x52e0d3==_0xfc1535(0xc7)){_0x57883f=_0x57883f[_0xfc1535(0xc0)](_0xfc1535(0xc1),_0xfc1535(0xc8));const _0x420d34=new a95_0x1cadaf(_0x57883f),_0x41a4a8=await getWFSLayerCapabilities(_0x57883f,_0x5ce175),_0x5db183=_0x41a4a8[_0xfc1535(0xd0)][_0xfc1535(0xc4)](_0x203ef9=>_0x203ef9[_0xfc1535(0xc5)]==0x6);_0x90094e=await _0x420d34[_0xfc1535(0xcd)]({'geometry':_0x1b420d,'tableName':_0x5ce175,'geometryName':_0x5db183?_0x5db183[_0xfc1535(0xcb)]:'','srsName':_0x5e5f6c,'where':_0x365439});}}}}catch(_0x296170){}return _0x90094e;}
|