ym-gis-2d 1.0.25 → 1.0.26

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.
Files changed (71) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.js +1 -1
  28. package/mapView/View.js +1 -1
  29. package/package.json +1 -1
  30. package/plot/Plot.js +1 -1
  31. package/plot/geometry/point/Point.js +1 -1
  32. package/plot/geometry/polygon/BasePolygon.js +1 -1
  33. package/plot/geometry/polygon/Circle.js +1 -1
  34. package/plot/geometry/polygon/Polygon.js +1 -1
  35. package/plot/geometry/polygon/RectAngle.js +1 -1
  36. package/plot/geometry/polyline/BaseLine.js +1 -1
  37. package/plot/geometry/polyline/Polyline.js +1 -1
  38. package/style/PointStyleFormat.js +1 -1
  39. package/style/PolygonStyleFormat.js +1 -1
  40. package/style/PolylineStyleFormat.js +1 -1
  41. package/style/StyleManager.js +1 -1
  42. package/style/common.js +1 -1
  43. package/utils/ArrayUtil.js +1 -1
  44. package/utils/AxiosUtil.js +1 -1
  45. package/utils/EsriUtil.js +1 -1
  46. package/utils/GeometryUtil.d.ts +11 -3
  47. package/utils/GeometryUtil.d.ts.map +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/GeometryUtil.js.map +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.d.ts.map +1 -1
  68. package/utils/tasks/index.js +1 -1
  69. package/utils/tasks/index.js.map +1 -1
  70. package/ym-gis-2d.es.js +1 -1
  71. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a37_0x2d6008=a37_0x3ff7;function a37_0x1b64(){const _0x44db=['getActive','_snapTolerance','features','_overlay','updateState_','preventDefault','12px\x20Calibre,sans-serif','968qGurlt','getText','slice','setMap','358750mnrXsd','Ellipse','drawmoving','DRAWABORT','pixel','rgba(0,\x200,\x200,\x200.4)','push','drawabort','_type','DRAWEND','setText','startDrawing_','单击结束绘制,右击删除点','getSource','addFeature','dispatchEvent','onInternal','handleMoveEvent','tipText','drawend','snapTolerance','revert','abortDrawing','once','getOverlay','addChangeListener','rectangle','_source','type','updateTip_','单击拖动绘制','fixPoint','atFinish_','MAX_VALUE','getType','_showTip','originalEvent','finishDrawing','abortDrawing_','source','890262PQLJXd','单击增加点,右击删除点','_drawingCoordinates','length','_features','unInternal','_minPoints','getCode','170wjqJXR','getPixelFromCoordinate','setGeometry','sqrt','getProjection','left','clear','setStyle','3110iHmllc','feature','DRAWADDPOINT','coordinates','1557531fYUnbc','drawstart','createMultiPointFeature','stopDown','getMap','单击增加点,右击删除点双击完成绘制','_tipOverlay','DRAWMOVING','getView','_tipFeature','showTip','wrapX','_isStayDraw','addPoint','_fixPoint','updateSketchFeatures_','7JaFdli','button','drawaddpoint','style','getGeometry','_sketchFeature','rgba(255,\x20255,\x20255,\x201)','handleDragEvent','buildDrawingFeature','279433XLeWag','8lkEBJh','projection','Circle','211599CXMutB','pointermove','coordinate','_style','1220580WyhdiC','_tipStyle'];a37_0x1b64=function(){return _0x44db;};return a37_0x1b64();}(function(_0x581212,_0x5d1be1){const _0x339073=a37_0x3ff7,_0x3eb79d=_0x581212();while(!![]){try{const _0x3231da=-parseInt(_0x339073(0x1d4))/0x1+-parseInt(_0x339073(0x1e5))/0x2+parseInt(_0x339073(0x20d))/0x3+-parseInt(_0x339073(0x1e1))/0x4*(parseInt(_0x339073(0x21d))/0x5)+parseInt(_0x339073(0x1d8))/0x6*(-parseInt(_0x339073(0x1c7))/0x7)+-parseInt(_0x339073(0x1d1))/0x8*(-parseInt(_0x339073(0x1b7))/0x9)+parseInt(_0x339073(0x215))/0xa*(parseInt(_0x339073(0x1d0))/0xb);if(_0x3231da===_0x5d1be1)break;else _0x3eb79d['push'](_0x3eb79d['shift']());}catch(_0x2a85f9){_0x3eb79d['push'](_0x3eb79d['shift']());}}}(a37_0x1b64,0x26440));import a37_0x563ed2 from'ol/events/Event';import a37_0x27fdd2 from'ol/interaction/Pointer';function a37_0x3ff7(_0x32cc39,_0x12246e){const _0x1b64ae=a37_0x1b64();return a37_0x3ff7=function(_0x3ff7e6,_0x2c529e){_0x3ff7e6=_0x3ff7e6-0x1b6;let _0x27f567=_0x1b64ae[_0x3ff7e6];return _0x27f567;},a37_0x3ff7(_0x32cc39,_0x12246e);}import{MultiPoint,Point}from'ol/geom';import a37_0x521d95 from'ol/Feature';import a37_0x14de00,{createEditingStyle}from'ol/style/Style';import a37_0x22848b from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x4fbff1 from'ol/style/Text';import a37_0x2e3250 from'ol/style/Fill';import a37_0xaad4e3 from'ol/interaction/Property';import a37_0x597c2a from'ol/layer/Vector';import a37_0x5bf60e from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a37_0x2d6008(0x1b8),'DRAWEND':a37_0x2d6008(0x1f8),'DRAWABORT':a37_0x2d6008(0x1ec),'DRAWADDPOINT':a37_0x2d6008(0x1c9),'DRAWMOVING':a37_0x2d6008(0x1e7)};export class DrawEvent extends a37_0x563ed2{constructor(_0x151779,_0xdf5539,_0x3d979b){const _0x1f746c=a37_0x2d6008;super(_0x151779),this[_0x1f746c(0x21e)]=_0xdf5539,this[_0x1f746c(0x1b6)]=_0x3d979b;}}export class ShEvent extends a37_0x563ed2{constructor(_0x355375,_0x1506e0,_0x744bdc,_0x27c5b3,_0x299b0c){const _0x18d712=a37_0x2d6008;super(_0x355375),this[_0x18d712(0x1d2)]=_0x299b0c,this[_0x18d712(0x201)]=_0x1506e0,this[_0x18d712(0x1d6)]=_0x744bdc,this[_0x18d712(0x1b6)]=_0x27c5b3;}}export default class Draw extends a37_0x27fdd2{constructor(_0x1ee312,_0x567af1){const _0xa95d4e=a37_0x2d6008,_0x117c84=_0x567af1?_0x567af1:{};!_0x117c84[_0xa95d4e(0x1ba)]&&(_0x117c84[_0xa95d4e(0x1ba)]=![]);super(_0x567af1),this['on']=this[_0xa95d4e(0x1f5)],this[_0xa95d4e(0x1fc)]=this['onceInternal'],this['un']=this[_0xa95d4e(0x212)],this['_isStayDraw']=![],this[_0xa95d4e(0x1ed)]=_0x1ee312,this['_style']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1ca)],this['_source']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x20c)],this[_0xa95d4e(0x211)]=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1dc)];const _0x35c88b=getPlotCount(this[_0xa95d4e(0x1ed)]);this[_0xa95d4e(0x213)]=_0x35c88b['minPoint'],this['_fixPoint']=_0x35c88b[_0xa95d4e(0x204)],this['tipText']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1f7)],this[_0xa95d4e(0x208)]=(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c1)])==![]?![]:!![],this[_0xa95d4e(0x1db)]=_0x117c84[_0xa95d4e(0x1f9)]?_0x117c84[_0xa95d4e(0x1f9)]:0x6,this['_tipFeature']=new a37_0x521d95(),this[_0xa95d4e(0x1d9)]=new a37_0x14de00({'text':new a37_0x4fbff1({'font':_0xa95d4e(0x1e0),'fill':new a37_0x2e3250({'color':_0xa95d4e(0x1cd)}),'backgroundFill':new a37_0x2e3250({'color':_0xa95d4e(0x1ea)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0xa95d4e(0x21a),'offsetX':0xf})}),this['_drawingCoordinates']=[],this['_tipOverlay']=new a37_0x597c2a({'source':new a37_0x22848b({'useSpatialIndex':![],'wrapX':(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c2)])?_0x567af1[_0xa95d4e(0x1c2)]:![]})}),this[_0xa95d4e(0x1dd)]=new a37_0x597c2a({'source':new a37_0x22848b({'useSpatialIndex':![],'wrapX':(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c2)])?_0x567af1['wrapX']:![]}),'updateWhileInteracting':!![]}),this[_0xa95d4e(0x1fe)](a37_0xaad4e3['ACTIVE'],this[_0xa95d4e(0x1de)]);}['updateState_'](){const _0x6f0d09=a37_0x2d6008,_0x3b274e=this[_0x6f0d09(0x1bb)](),_0x5de681=this[_0x6f0d09(0x1da)]();(!_0x3b274e||!_0x5de681)&&this[_0x6f0d09(0x1fb)](),this[_0x6f0d09(0x1dd)][_0x6f0d09(0x1e4)](_0x5de681?_0x3b274e:null),this['_tipOverlay']['setMap'](_0x5de681?_0x3b274e:null);}[a37_0x2d6008(0x1e4)](_0x428722){const _0xb3522=a37_0x2d6008;super[_0xb3522(0x1e4)](_0x428722),this[_0xb3522(0x1de)]();}[a37_0x2d6008(0x21c)](_0x337233){const _0x5db573=a37_0x2d6008;this[_0x5db573(0x1d7)]=_0x337233?_0x337233:{};}[a37_0x2d6008(0x1fd)](){const _0x33969a=a37_0x2d6008;return this[_0x33969a(0x1dd)];}['handleDownEvent'](_0x53ebad){const _0x3cf8b8=a37_0x2d6008;if(_0x53ebad['originalEvent'][_0x3cf8b8(0x1c8)]===0x2)return _0x53ebad[_0x3cf8b8(0x209)][_0x3cf8b8(0x1df)](),this[_0x3cf8b8(0x1fa)](),this[_0x3cf8b8(0x1f6)](_0x53ebad),![];return!![];}['handleUpEvent'](_0x4ff89c){const _0x59edb2=a37_0x2d6008;var _0x3eb9e6,_0x20c26a;if(this[_0x59edb2(0x1ed)]=='rectangle'&&this[_0x59edb2(0x20f)][_0x59edb2(0x210)]<0x1)return this[_0x59edb2(0x1f4)](new DrawEvent(DrawEventType[_0x59edb2(0x1ee)],undefined,[_0x4ff89c['coordinate']])),![];if(!this['_isStayDraw'])this[_0x59edb2(0x1f0)](_0x4ff89c[_0x59edb2(0x1d6)]),this[_0x59edb2(0x1f4)](new ShEvent(DrawEventType[_0x59edb2(0x21f)],this['_type'],_0x4ff89c[_0x59edb2(0x1d6)],this['_drawingCoordinates'],(_0x3eb9e6=this[_0x59edb2(0x1bb)]())===null||_0x3eb9e6===void 0x0?void 0x0:_0x3eb9e6[_0x59edb2(0x1bf)]()[_0x59edb2(0x219)]()[_0x59edb2(0x214)]())),this[_0x59edb2(0x1ed)]=='point'&&this[_0x59edb2(0x20a)]();else{if(this[_0x59edb2(0x20f)]&&this[_0x59edb2(0x20f)][_0x59edb2(0x210)]>0x0){if(this['atFinish_'](_0x4ff89c[_0x59edb2(0x1e9)]))return this[_0x59edb2(0x20a)](),_0x4ff89c[_0x59edb2(0x1df)](),![];let _0x5f2706=this[_0x59edb2(0x20f)]['length']+0x1;_0x5f2706<=this[_0x59edb2(0x1c5)]&&this[_0x59edb2(0x1c4)](_0x4ff89c[_0x59edb2(0x1d6)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x59edb2(0x21f)],this[_0x59edb2(0x1ed)],_0x4ff89c[_0x59edb2(0x1d6)],this[_0x59edb2(0x20f)],(_0x20c26a=this['getMap']())===null||_0x20c26a===void 0x0?void 0x0:_0x20c26a[_0x59edb2(0x1bf)]()['getProjection']()[_0x59edb2(0x214)]())),_0x5f2706>=this[_0x59edb2(0x213)]&&this[_0x59edb2(0x1cf)](this['_drawingCoordinates']),_0x5f2706===this[_0x59edb2(0x1c5)]&&this['finishDrawing']();}}return _0x4ff89c[_0x59edb2(0x1df)](),![];}[a37_0x2d6008(0x1ce)](_0x391a5a){const _0x2ddf5b=a37_0x2d6008;var _0x48e4ae;if(this[_0x2ddf5b(0x1ed)]==_0x2ddf5b(0x1ff)&&_0x391a5a[_0x2ddf5b(0x209)][_0x2ddf5b(0x201)]==_0x2ddf5b(0x1d5)){if(!this[_0x2ddf5b(0x1c3)]){this[_0x2ddf5b(0x1f0)](_0x391a5a[_0x2ddf5b(0x1d6)]),this[_0x2ddf5b(0x1f4)](new ShEvent(DrawEventType[_0x2ddf5b(0x21f)],this['_type'],_0x391a5a[_0x2ddf5b(0x1d6)],this[_0x2ddf5b(0x20f)],(_0x48e4ae=this['getMap']())===null||_0x48e4ae===void 0x0?void 0x0:_0x48e4ae[_0x2ddf5b(0x1bf)]()['getProjection']()[_0x2ddf5b(0x214)]()));return;}let _0x1c66d0=[...this['_drawingCoordinates'],_0x391a5a[_0x2ddf5b(0x1d6)]];this['buildDrawingFeature'](_0x1c66d0),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x2ddf5b(0x1be)],this[_0x2ddf5b(0x1cc)],this[_0x2ddf5b(0x20f)]));}}[a37_0x2d6008(0x1f6)](_0x1310e3){const _0x43af5b=a37_0x2d6008;var _0x5d61a9,_0x4366c7,_0x55ff5f;let _0xb34e84='';this[_0x43af5b(0x1ed)]==_0x43af5b(0x1d5)&&(this['startDrawing_'](_0x1310e3[_0x43af5b(0x1d6)]),this[_0x43af5b(0x1f4)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x43af5b(0x1ed)],_0x1310e3[_0x43af5b(0x1d6)],this[_0x43af5b(0x20f)],(_0x5d61a9=this[_0x43af5b(0x1bb)]())===null||_0x5d61a9===void 0x0?void 0x0:_0x5d61a9['getView']()['getProjection']()[_0x43af5b(0x214)]())),this['finishDrawing']());!this[_0x43af5b(0x1c3)]?_0xb34e84=this[_0x43af5b(0x1ed)]==_0x43af5b(0x1ff)?_0x43af5b(0x203):'单击开始绘制':(_0xb34e84=_0x43af5b(0x20e),((_0x4366c7=this[_0x43af5b(0x20f)])===null||_0x4366c7===void 0x0?void 0x0:_0x4366c7['length'])===this[_0x43af5b(0x1c5)]-0x1&&(_0xb34e84=_0x43af5b(0x1f1)),((_0x55ff5f=this[_0x43af5b(0x20f)])===null||_0x55ff5f===void 0x0?void 0x0:_0x55ff5f['length'])>=this['_minPoints']&&this[_0x43af5b(0x1c5)]===Number[_0x43af5b(0x206)]&&(_0xb34e84=_0x43af5b(0x1bc)));this[_0x43af5b(0x1f7)]!=undefined&&(_0xb34e84=this['tipText']);this['updateTip_'](_0x1310e3[_0x43af5b(0x1d6)],_0xb34e84);if(this[_0x43af5b(0x1c3)]&&this[_0x43af5b(0x1ed)]!=_0x43af5b(0x1ff)){let _0x294d29=[...this[_0x43af5b(0x20f)],_0x1310e3[_0x43af5b(0x1d6)]];this['buildDrawingFeature'](_0x294d29),this[_0x43af5b(0x1f4)](new DrawEvent(DrawEventType['DRAWMOVING'],this[_0x43af5b(0x1cc)],this[_0x43af5b(0x20f)]));}}[a37_0x2d6008(0x205)](_0x52294f){const _0x51138d=a37_0x2d6008;var _0x1303b0;let _0xd0d92d=![],_0x1b9944=this[_0x51138d(0x20f)]['length'];if(_0x1b9944>this['_minPoints']&&this[_0x51138d(0x1c5)]===Number[_0x51138d(0x206)]){const _0x4fcae5=this[_0x51138d(0x20f)][this[_0x51138d(0x20f)]['length']-0x1],_0x527db1=(_0x1303b0=this[_0x51138d(0x1bb)]())===null||_0x1303b0===void 0x0?void 0x0:_0x1303b0[_0x51138d(0x216)](_0x4fcae5),_0x1340ff=_0x52294f[0x0]-(_0x527db1?_0x527db1[0x0]:0x0),_0x21782b=_0x52294f[0x1]-(_0x527db1?_0x527db1[0x1]:0x0);_0xd0d92d=Math[_0x51138d(0x218)](_0x1340ff*_0x1340ff+_0x21782b*_0x21782b)<=this[_0x51138d(0x1db)];}return _0xd0d92d;}[a37_0x2d6008(0x1f0)](_0x11d3d9){const _0x5822ed=a37_0x2d6008;this[_0x5822ed(0x1c3)]=!![],this[_0x5822ed(0x20f)]=[_0x11d3d9[_0x5822ed(0x1e3)]()],this[_0x5822ed(0x1cc)]=this[_0x5822ed(0x1b9)](),this[_0x5822ed(0x1c6)](),this[_0x5822ed(0x1f4)](new DrawEvent(DrawEventType['DRAWSTART'],this[_0x5822ed(0x1cc)],this[_0x5822ed(0x20f)]));}['finishDrawing'](){const _0x3dba01=a37_0x2d6008;if(this['_drawingCoordinates'][_0x3dba01(0x210)]>this['_minPoints']){this[_0x3dba01(0x1cf)](this[_0x3dba01(0x20f)]);let _0x45533e=this[_0x3dba01(0x20f)];const _0x202944=this[_0x3dba01(0x20b)]();if(!_0x202944)return;this['dispatchEvent'](new DrawEvent(DrawEventType[_0x3dba01(0x1ee)],_0x202944,_0x45533e)),this[_0x3dba01(0x211)]&&this[_0x3dba01(0x211)][_0x3dba01(0x1eb)](_0x202944),this[_0x3dba01(0x200)]&&this[_0x3dba01(0x200)][_0x3dba01(0x1f3)](_0x202944);}}[a37_0x2d6008(0x1c4)](_0x2c2796){const _0x145526=a37_0x2d6008;this[_0x145526(0x20f)][_0x145526(0x1eb)](_0x2c2796),this[_0x145526(0x1cc)]=this[_0x145526(0x1b9)](),this['updateSketchFeatures_']();}['createMultiPointFeature'](){const _0x5f4c72=a37_0x2d6008,_0x27ed8a=new MultiPoint(this[_0x5f4c72(0x20f)]);let _0x475eea=new a37_0x521d95();return _0x475eea['setGeometry'](_0x27ed8a),_0x475eea;}[a37_0x2d6008(0x20b)](){const _0x41a008=a37_0x2d6008;var _0x18cb39,_0x1158cb;this[_0x41a008(0x1c3)]=![];const _0x583ab0=this[_0x41a008(0x1cc)];return this[_0x41a008(0x1cc)]=undefined,this[_0x41a008(0x20f)]=[],(_0x18cb39=this[_0x41a008(0x1dd)][_0x41a008(0x1f2)]())===null||_0x18cb39===void 0x0?void 0x0:_0x18cb39[_0x41a008(0x21b)](!![]),(_0x1158cb=this[_0x41a008(0x1bd)][_0x41a008(0x1f2)]())===null||_0x1158cb===void 0x0?void 0x0:_0x1158cb[_0x41a008(0x21b)](!![]),_0x583ab0;}[a37_0x2d6008(0x1fb)](){const _0x9b85d5=a37_0x2d6008,_0x3c7049=this['abortDrawing_']();_0x3c7049&&this[_0x9b85d5(0x1f4)](new DrawEvent(DrawEventType[_0x9b85d5(0x1e8)],_0x3c7049,this[_0x9b85d5(0x20f)]));}[a37_0x2d6008(0x1cf)](_0x3c4e4b){const _0x379b6f=a37_0x2d6008;this['_sketchFeature']=new a37_0x521d95();let _0x922faf=createPlot(this[_0x379b6f(0x1ed)],_0x3c4e4b);if(!_0x922faf)return;this[_0x379b6f(0x1cc)][_0x379b6f(0x217)](_0x922faf);let _0xa09d31=[a37_0x5bf60e[_0x379b6f(0x1d3)],a37_0x5bf60e['Ellipsoid'],a37_0x5bf60e[_0x379b6f(0x1e6)]];if(_0xa09d31['indexOf'](this[_0x379b6f(0x1ed)])>-0x1&&this[_0x379b6f(0x1d7)]){}const _0x1066ee=this[_0x379b6f(0x1bb)]();this[_0x379b6f(0x1cc)]['setStyle'](getStyle(this[_0x379b6f(0x1ed)],this[_0x379b6f(0x1d7)],this[_0x379b6f(0x1bb)]())),this[_0x379b6f(0x1c6)]();}[a37_0x2d6008(0x1c6)](){const _0xa140cc=a37_0x2d6008,_0x40d9ec=this[_0xa140cc(0x1dd)][_0xa140cc(0x1f2)]();_0x40d9ec&&this[_0xa140cc(0x1cc)]&&(_0x40d9ec[_0xa140cc(0x21b)](!![]),_0x40d9ec[_0xa140cc(0x1f3)](this[_0xa140cc(0x1cc)]));}[a37_0x2d6008(0x1fa)](){const _0x2098c9=a37_0x2d6008;if(this['_isStayDraw']){if(this[_0x2098c9(0x20f)]&&this[_0x2098c9(0x20f)][_0x2098c9(0x210)]>0x0){const _0x2ae68e=this['_overlay']['getSource']();_0x2ae68e===null||_0x2ae68e===void 0x0?void 0x0:_0x2ae68e['clear'](!![]),this[_0x2098c9(0x20f)]['pop'](),this[_0x2098c9(0x20f)][_0x2098c9(0x210)]>=this[_0x2098c9(0x213)]&&this[_0x2098c9(0x1cf)](this['_drawingCoordinates']),this[_0x2098c9(0x20f)][_0x2098c9(0x210)]===0x0&&(this[_0x2098c9(0x1c3)]=![]);}}}[a37_0x2d6008(0x202)](_0x489750,_0x51148e){const _0x523351=a37_0x2d6008;var _0x56ab75,_0x12b2d2,_0x1b0311,_0x50407c;if(!this[_0x523351(0x208)])return;const _0x29ac86=this[_0x523351(0x1bd)]['getSource']();_0x29ac86===null||_0x29ac86===void 0x0?void 0x0:_0x29ac86[_0x523351(0x21b)](!![]),(_0x56ab75=this[_0x523351(0x1c0)])===null||_0x56ab75===void 0x0?void 0x0:_0x56ab75[_0x523351(0x217)](new Point(_0x489750)),(_0x1b0311=(_0x12b2d2=this[_0x523351(0x1d9)])===null||_0x12b2d2===void 0x0?void 0x0:_0x12b2d2[_0x523351(0x1e2)]())===null||_0x1b0311===void 0x0?void 0x0:_0x1b0311[_0x523351(0x1ef)](_0x51148e),(_0x50407c=this['_tipFeature'])===null||_0x50407c===void 0x0?void 0x0:_0x50407c[_0x523351(0x21c)](this['_tipStyle']),this[_0x523351(0x1c0)]&&(_0x29ac86===null||_0x29ac86===void 0x0?void 0x0:_0x29ac86['addFeature'](this[_0x523351(0x1c0)]));}}function getDefaultStyleFunction(){const _0x59dc39=createEditingStyle();return function(_0x2e2b82,_0x432700){const _0xb8a2ca=a37_0x3ff7,_0x5f35d4=_0x59dc39[_0x2e2b82['getGeometry']()['getType']()];if(_0x5f35d4&&'Rectangle'==_0x2e2b82[_0xb8a2ca(0x1cb)]()[_0xb8a2ca(0x207)]()){}};}
1
+ const a37_0x21d46f=a37_0x31b8;function a37_0x31b8(_0x84bc5d,_0x3c53d){const _0x2b6f67=a37_0x2b6f();return a37_0x31b8=function(_0x31b8ec,_0x3fe6a6){_0x31b8ec=_0x31b8ec-0x87;let _0x13e5bf=_0x2b6f67[_0x31b8ec];return _0x13e5bf;},a37_0x31b8(_0x84bc5d,_0x3c53d);}(function(_0x2a8f2f,_0x206bf0){const _0x479dcc=a37_0x31b8,_0x188cf8=_0x2a8f2f();while(!![]){try{const _0x33f0ed=-parseInt(_0x479dcc(0xe8))/0x1+parseInt(_0x479dcc(0xc4))/0x2+parseInt(_0x479dcc(0x8a))/0x3*(-parseInt(_0x479dcc(0xd7))/0x4)+parseInt(_0x479dcc(0xd2))/0x5+-parseInt(_0x479dcc(0x8e))/0x6+parseInt(_0x479dcc(0xbd))/0x7*(parseInt(_0x479dcc(0xd1))/0x8)+parseInt(_0x479dcc(0xeb))/0x9*(parseInt(_0x479dcc(0xd8))/0xa);if(_0x33f0ed===_0x206bf0)break;else _0x188cf8['push'](_0x188cf8['shift']());}catch(_0x185011){_0x188cf8['push'](_0x188cf8['shift']());}}}(a37_0x2b6f,0xdc468));import a37_0x410fa1 from'ol/events/Event';import a37_0x9e5d7a from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a37_0x47cbe9 from'ol/Feature';import a37_0x4cf135,{createEditingStyle}from'ol/style/Style';import a37_0x280f82 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0xa1654f from'ol/style/Text';import a37_0x116357 from'ol/style/Fill';import a37_0x3b850f from'ol/interaction/Property';import a37_0x471241 from'ol/layer/Vector';import a37_0x6a3bf9 from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':a37_0x21d46f(0xbc),'DRAWABORT':a37_0x21d46f(0xa1),'DRAWADDPOINT':a37_0x21d46f(0x88),'DRAWMOVING':'drawmoving'};export class DrawEvent extends a37_0x410fa1{constructor(_0x22a6bf,_0x42275b,_0x324380){const _0x3c6153=a37_0x21d46f;super(_0x22a6bf),this[_0x3c6153(0x9a)]=_0x42275b,this[_0x3c6153(0x8b)]=_0x324380;}}export class ShEvent extends a37_0x410fa1{constructor(_0x14751d,_0x3fbb92,_0x529d7d,_0x139903,_0x5b922f){const _0x15c4f0=a37_0x21d46f;super(_0x14751d),this['projection']=_0x5b922f,this[_0x15c4f0(0xb6)]=_0x3fbb92,this['coordinate']=_0x529d7d,this[_0x15c4f0(0x8b)]=_0x139903;}}export default class Draw extends a37_0x9e5d7a{constructor(_0xdd782e,_0x4899a3){const _0x27fe36=a37_0x21d46f,_0x26859f=_0x4899a3?_0x4899a3:{};!_0x26859f['stopDown']&&(_0x26859f[_0x27fe36(0xb8)]=![]);super(_0x4899a3),this['on']=this[_0x27fe36(0x9d)],this[_0x27fe36(0xb3)]=this[_0x27fe36(0xc5)],this['un']=this['unInternal'],this[_0x27fe36(0xe4)]=![],this[_0x27fe36(0xe0)]=_0xdd782e,this['_style']=_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xb7)],this[_0x27fe36(0xa2)]=_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xca)],this[_0x27fe36(0x97)]=_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xcd)];const _0x4755c4=getPlotCount(this[_0x27fe36(0xe0)]);this['_minPoints']=_0x4755c4[_0x27fe36(0x95)],this[_0x27fe36(0xc2)]=_0x4755c4[_0x27fe36(0xda)],this[_0x27fe36(0x87)]=_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0x87)],this[_0x27fe36(0xb0)]=(_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xd3)])==![]?![]:!![],this[_0x27fe36(0x9f)]=_0x26859f[_0x27fe36(0xaa)]?_0x26859f[_0x27fe36(0xaa)]:0x6,this['_tipFeature']=new a37_0x47cbe9(),this['_tipStyle']=new a37_0x4cf135({'text':new a37_0xa1654f({'font':'12px\x20Calibre,sans-serif','fill':new a37_0x116357({'color':_0x27fe36(0xbe)}),'backgroundFill':new a37_0x116357({'color':_0x27fe36(0x93)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x27fe36(0xd0),'offsetX':0xf})}),this['_drawingCoordinates']=[],this[_0x27fe36(0xc0)]=new a37_0x471241({'source':new a37_0x280f82({'useSpatialIndex':![],'wrapX':(_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xb9)])?_0x4899a3['wrapX']:![]})}),this[_0x27fe36(0xb1)]=new a37_0x471241({'source':new a37_0x280f82({'useSpatialIndex':![],'wrapX':(_0x4899a3===null||_0x4899a3===void 0x0?void 0x0:_0x4899a3[_0x27fe36(0xb9)])?_0x4899a3['wrapX']:![]}),'updateWhileInteracting':!![]}),this[_0x27fe36(0xb4)](a37_0x3b850f[_0x27fe36(0xc1)],this[_0x27fe36(0xb5)]);}[a37_0x21d46f(0xb5)](){const _0xdc0066=a37_0x21d46f,_0x173b31=this[_0xdc0066(0x98)](),_0xe2cec2=this[_0xdc0066(0xcb)]();(!_0x173b31||!_0xe2cec2)&&this[_0xdc0066(0x8f)](),this[_0xdc0066(0xb1)][_0xdc0066(0xcc)](_0xe2cec2?_0x173b31:null),this[_0xdc0066(0xc0)][_0xdc0066(0xcc)](_0xe2cec2?_0x173b31:null);}[a37_0x21d46f(0xcc)](_0x3446ff){const _0x5105d8=a37_0x21d46f;super[_0x5105d8(0xcc)](_0x3446ff),this[_0x5105d8(0xb5)]();}[a37_0x21d46f(0xad)](_0x4becf0){const _0x5967a6=a37_0x21d46f;this[_0x5967a6(0xc3)]=_0x4becf0?_0x4becf0:{};}['getOverlay'](){const _0x4d66b8=a37_0x21d46f;return this[_0x4d66b8(0xb1)];}[a37_0x21d46f(0xa4)](_0x55bf20){const _0x5e87c6=a37_0x21d46f;if(_0x55bf20[_0x5e87c6(0x92)][_0x5e87c6(0xd6)]===0x2)return _0x55bf20[_0x5e87c6(0x92)]['preventDefault'](),this['revert'](),this[_0x5e87c6(0xa3)](_0x55bf20),![];return!![];}[a37_0x21d46f(0xe2)](_0x3ea999){const _0x5840c3=a37_0x21d46f;var _0x2456c5,_0x14d5b0;if(this[_0x5840c3(0xe0)]==_0x5840c3(0xbf)&&this['_drawingCoordinates']['length']<0x1)return this[_0x5840c3(0x99)](new DrawEvent(DrawEventType[_0x5840c3(0x9b)],undefined,[_0x3ea999[_0x5840c3(0xce)]])),![];if(!this[_0x5840c3(0xe4)])this[_0x5840c3(0x91)](_0x3ea999[_0x5840c3(0xce)]),this[_0x5840c3(0x99)](new ShEvent(DrawEventType[_0x5840c3(0x9c)],this[_0x5840c3(0xe0)],_0x3ea999[_0x5840c3(0xce)],this['_drawingCoordinates'],(_0x2456c5=this['getMap']())===null||_0x2456c5===void 0x0?void 0x0:_0x2456c5[_0x5840c3(0xde)]()[_0x5840c3(0x8d)]()['getCode']())),this[_0x5840c3(0xe0)]==_0x5840c3(0x89)&&this[_0x5840c3(0xa6)]();else{if(this[_0x5840c3(0xc6)]&&this[_0x5840c3(0xc6)][_0x5840c3(0x9e)]>0x0){if(this[_0x5840c3(0xaf)](_0x3ea999['pixel']))return this[_0x5840c3(0xa6)](),_0x3ea999[_0x5840c3(0xba)](),![];let _0x58617a=this[_0x5840c3(0xc6)][_0x5840c3(0x9e)]+0x1;_0x58617a<=this[_0x5840c3(0xc2)]&&this[_0x5840c3(0xac)](_0x3ea999['coordinate']),this[_0x5840c3(0x99)](new ShEvent(DrawEventType[_0x5840c3(0x9c)],this[_0x5840c3(0xe0)],_0x3ea999[_0x5840c3(0xce)],this['_drawingCoordinates'],(_0x14d5b0=this[_0x5840c3(0x98)]())===null||_0x14d5b0===void 0x0?void 0x0:_0x14d5b0['getView']()[_0x5840c3(0x8d)]()[_0x5840c3(0xe1)]())),_0x58617a>=this['_minPoints']&&this[_0x5840c3(0xd9)](this['_drawingCoordinates']),_0x58617a===this[_0x5840c3(0xc2)]&&this[_0x5840c3(0xa6)]();}}return _0x3ea999[_0x5840c3(0xba)](),![];}[a37_0x21d46f(0x90)](_0x18267e){const _0x8ff2a3=a37_0x21d46f;var _0x98f715;if(this['_type']=='rectangle'&&_0x18267e[_0x8ff2a3(0x92)][_0x8ff2a3(0xb6)]==_0x8ff2a3(0xed)){if(!this['_isStayDraw']){this[_0x8ff2a3(0x91)](_0x18267e[_0x8ff2a3(0xce)]),this[_0x8ff2a3(0x99)](new ShEvent(DrawEventType[_0x8ff2a3(0x9c)],this[_0x8ff2a3(0xe0)],_0x18267e[_0x8ff2a3(0xce)],this['_drawingCoordinates'],(_0x98f715=this[_0x8ff2a3(0x98)]())===null||_0x98f715===void 0x0?void 0x0:_0x98f715[_0x8ff2a3(0xde)]()[_0x8ff2a3(0x8d)]()[_0x8ff2a3(0xe1)]()));return;}let _0xfa6239=[...this[_0x8ff2a3(0xc6)],_0x18267e[_0x8ff2a3(0xce)]];this['buildDrawingFeature'](_0xfa6239),this[_0x8ff2a3(0x99)](new DrawEvent(DrawEventType[_0x8ff2a3(0xc7)],this[_0x8ff2a3(0xdc)],this[_0x8ff2a3(0xc6)]));}}[a37_0x21d46f(0xa3)](_0x5d04af){const _0x2d1e9a=a37_0x21d46f;var _0x445139,_0x4e3be0,_0x3afd8b;let _0x93932d='';this[_0x2d1e9a(0xe0)]=='pointermove'&&(this[_0x2d1e9a(0x91)](_0x5d04af[_0x2d1e9a(0xce)]),this[_0x2d1e9a(0x99)](new ShEvent(DrawEventType[_0x2d1e9a(0x9c)],this[_0x2d1e9a(0xe0)],_0x5d04af[_0x2d1e9a(0xce)],this[_0x2d1e9a(0xc6)],(_0x445139=this[_0x2d1e9a(0x98)]())===null||_0x445139===void 0x0?void 0x0:_0x445139[_0x2d1e9a(0xde)]()['getProjection']()[_0x2d1e9a(0xe1)]())),this[_0x2d1e9a(0xa6)]());!this['_isStayDraw']?_0x93932d=this[_0x2d1e9a(0xe0)]=='rectangle'?_0x2d1e9a(0xa5):_0x2d1e9a(0xbb):(_0x93932d='单击增加点,右击删除点',((_0x4e3be0=this[_0x2d1e9a(0xc6)])===null||_0x4e3be0===void 0x0?void 0x0:_0x4e3be0['length'])===this[_0x2d1e9a(0xc2)]-0x1&&(_0x93932d='单击结束绘制,右击删除点'),((_0x3afd8b=this[_0x2d1e9a(0xc6)])===null||_0x3afd8b===void 0x0?void 0x0:_0x3afd8b['length'])>=this[_0x2d1e9a(0xef)]&&this[_0x2d1e9a(0xc2)]===Number['MAX_VALUE']&&(_0x93932d=_0x2d1e9a(0xc8)));this[_0x2d1e9a(0x87)]!=undefined&&(_0x93932d=this[_0x2d1e9a(0x87)]);this[_0x2d1e9a(0xe7)](_0x5d04af[_0x2d1e9a(0xce)],_0x93932d);if(this['_isStayDraw']&&this[_0x2d1e9a(0xe0)]!=_0x2d1e9a(0xbf)){let _0x1d6427=[...this[_0x2d1e9a(0xc6)],_0x5d04af[_0x2d1e9a(0xce)]];this[_0x2d1e9a(0xd9)](_0x1d6427),this[_0x2d1e9a(0x99)](new DrawEvent(DrawEventType[_0x2d1e9a(0xc7)],this['_sketchFeature'],this[_0x2d1e9a(0xc6)]));}}['atFinish_'](_0x4339e3){const _0xfe955=a37_0x21d46f;var _0x5abadb;let _0x315ba2=![],_0xdea8f2=this['_drawingCoordinates'][_0xfe955(0x9e)];if(_0xdea8f2>this['_minPoints']&&this[_0xfe955(0xc2)]===Number[_0xfe955(0xa0)]){const _0x1bb0d9=this['_drawingCoordinates'][this[_0xfe955(0xc6)][_0xfe955(0x9e)]-0x1],_0x5766eb=(_0x5abadb=this[_0xfe955(0x98)]())===null||_0x5abadb===void 0x0?void 0x0:_0x5abadb[_0xfe955(0xe5)](_0x1bb0d9),_0x388fe9=_0x4339e3[0x0]-(_0x5766eb?_0x5766eb[0x0]:0x0),_0x4c75df=_0x4339e3[0x1]-(_0x5766eb?_0x5766eb[0x1]:0x0);_0x315ba2=Math['sqrt'](_0x388fe9*_0x388fe9+_0x4c75df*_0x4c75df)<=this[_0xfe955(0x9f)];}return _0x315ba2;}['startDrawing_'](_0x2983d9){const _0x233284=a37_0x21d46f;this[_0x233284(0xe4)]=!![],this[_0x233284(0xc6)]=[_0x2983d9[_0x233284(0x8c)]()],this[_0x233284(0xdc)]=this['createMultiPointFeature'](),this[_0x233284(0xae)](),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x233284(0xe9)],this['_sketchFeature'],this['_drawingCoordinates']));}[a37_0x21d46f(0xa6)](){const _0x1e9503=a37_0x21d46f;if(this[_0x1e9503(0xc6)][_0x1e9503(0x9e)]>this[_0x1e9503(0xef)]){this[_0x1e9503(0xd9)](this[_0x1e9503(0xc6)]);let _0x4ffc69=this[_0x1e9503(0xc6)];const _0x3098a8=this[_0x1e9503(0xe3)]();if(!_0x3098a8)return;this[_0x1e9503(0x99)](new DrawEvent(DrawEventType[_0x1e9503(0x9b)],_0x3098a8,_0x4ffc69)),this[_0x1e9503(0x97)]&&this[_0x1e9503(0x97)]['push'](_0x3098a8),this['_source']&&this[_0x1e9503(0xa2)][_0x1e9503(0xee)](_0x3098a8);}}['addPoint'](_0x3ddfad){const _0x1b220b=a37_0x21d46f;this[_0x1b220b(0xc6)][_0x1b220b(0xb2)](_0x3ddfad),this[_0x1b220b(0xdc)]=this[_0x1b220b(0xdb)](),this['updateSketchFeatures_']();}['createMultiPointFeature'](){const _0x5e0e9a=a37_0x21d46f,_0x13a744=new MultiPoint(this[_0x5e0e9a(0xc6)]);let _0x4923dd=new a37_0x47cbe9();return _0x4923dd['setGeometry'](_0x13a744),_0x4923dd;}['abortDrawing_'](){const _0x3bfa1a=a37_0x21d46f;var _0x593176,_0x149bf4;this[_0x3bfa1a(0xe4)]=![];const _0x5359e1=this[_0x3bfa1a(0xdc)];return this[_0x3bfa1a(0xdc)]=undefined,this[_0x3bfa1a(0xc6)]=[],(_0x593176=this['_overlay']['getSource']())===null||_0x593176===void 0x0?void 0x0:_0x593176[_0x3bfa1a(0xab)](!![]),(_0x149bf4=this['_tipOverlay'][_0x3bfa1a(0xd5)]())===null||_0x149bf4===void 0x0?void 0x0:_0x149bf4[_0x3bfa1a(0xab)](!![]),_0x5359e1;}[a37_0x21d46f(0x8f)](){const _0x5a8977=a37_0x21d46f,_0x4a47af=this[_0x5a8977(0xe3)]();_0x4a47af&&this[_0x5a8977(0x99)](new DrawEvent(DrawEventType['DRAWABORT'],_0x4a47af,this[_0x5a8977(0xc6)]));}[a37_0x21d46f(0xd9)](_0x5befa1){const _0x5b8c95=a37_0x21d46f;this[_0x5b8c95(0xdc)]=new a37_0x47cbe9();let _0x30c2b7=createPlot(this[_0x5b8c95(0xe0)],_0x5befa1);if(!_0x30c2b7)return;this[_0x5b8c95(0xdc)][_0x5b8c95(0xdd)](_0x30c2b7);let _0x33687e=[a37_0x6a3bf9['Circle'],a37_0x6a3bf9[_0x5b8c95(0xa7)],a37_0x6a3bf9[_0x5b8c95(0xa8)]];if(_0x33687e[_0x5b8c95(0x96)](this[_0x5b8c95(0xe0)])>-0x1&&this[_0x5b8c95(0xc3)]){}const _0x1fcfa2=this[_0x5b8c95(0x98)]();this[_0x5b8c95(0xdc)][_0x5b8c95(0xad)](getStyle(this[_0x5b8c95(0xe0)],this[_0x5b8c95(0xc3)],this[_0x5b8c95(0x98)]())),this['updateSketchFeatures_']();}[a37_0x21d46f(0xae)](){const _0x390c9d=a37_0x21d46f,_0x5bf8bf=this['_overlay'][_0x390c9d(0xd5)]();_0x5bf8bf&&this[_0x390c9d(0xdc)]&&(_0x5bf8bf[_0x390c9d(0xab)](!![]),_0x5bf8bf[_0x390c9d(0xee)](this['_sketchFeature']));}[a37_0x21d46f(0xa9)](){const _0x5e8df9=a37_0x21d46f;if(this[_0x5e8df9(0xe4)]){if(this['_drawingCoordinates']&&this['_drawingCoordinates'][_0x5e8df9(0x9e)]>0x0){const _0x1cf2fa=this[_0x5e8df9(0xb1)][_0x5e8df9(0xd5)]();_0x1cf2fa===null||_0x1cf2fa===void 0x0?void 0x0:_0x1cf2fa[_0x5e8df9(0xab)](!![]),this['_drawingCoordinates'][_0x5e8df9(0xe6)](),this[_0x5e8df9(0xc6)][_0x5e8df9(0x9e)]>=this[_0x5e8df9(0xef)]&&this[_0x5e8df9(0xd9)](this[_0x5e8df9(0xc6)]),this[_0x5e8df9(0xc6)][_0x5e8df9(0x9e)]===0x0&&(this['_isStayDraw']=![]);}}}[a37_0x21d46f(0xe7)](_0x578950,_0x474121){const _0x2b0354=a37_0x21d46f;var _0x432a41,_0x30ca81,_0x165873,_0x506c71;if(!this[_0x2b0354(0xb0)])return;const _0x18b038=this[_0x2b0354(0xc0)]['getSource']();_0x18b038===null||_0x18b038===void 0x0?void 0x0:_0x18b038[_0x2b0354(0xab)](!![]),(_0x432a41=this[_0x2b0354(0xd4)])===null||_0x432a41===void 0x0?void 0x0:_0x432a41[_0x2b0354(0xdd)](new Point(_0x578950)),(_0x165873=(_0x30ca81=this[_0x2b0354(0xcf)])===null||_0x30ca81===void 0x0?void 0x0:_0x30ca81[_0x2b0354(0xec)]())===null||_0x165873===void 0x0?void 0x0:_0x165873[_0x2b0354(0xdf)](_0x474121),(_0x506c71=this[_0x2b0354(0xd4)])===null||_0x506c71===void 0x0?void 0x0:_0x506c71['setStyle'](this[_0x2b0354(0xcf)]),this['_tipFeature']&&(_0x18b038===null||_0x18b038===void 0x0?void 0x0:_0x18b038['addFeature'](this[_0x2b0354(0xd4)]));}}function getDefaultStyleFunction(){const _0x518c12=createEditingStyle();return function(_0x411b2a,_0x4995fc){const _0x2428aa=a37_0x31b8,_0x46e9e3=_0x518c12[_0x411b2a['getGeometry']()[_0x2428aa(0x94)]()];if(_0x46e9e3&&_0x2428aa(0xc9)==_0x411b2a[_0x2428aa(0xea)]()['getType']()){}};}function a37_0x2b6f(){const _0x6cb4ac=['type','style','stopDown','wrapX','preventDefault','单击开始绘制','drawend','7ONaWfN','rgba(255,\x20255,\x20255,\x201)','rectangle','_tipOverlay','ACTIVE','_fixPoint','_style','3277712aprFDr','onceInternal','_drawingCoordinates','DRAWMOVING','单击增加点,右击删除点双击完成绘制','Rectangle','source','getActive','setMap','features','coordinate','_tipStyle','left','10844128ODtsTh','1793725HvmdEm','showTip','_tipFeature','getSource','button','4RlRNoK','70GCgndu','buildDrawingFeature','fixPoint','createMultiPointFeature','_sketchFeature','setGeometry','getView','setText','_type','getCode','handleUpEvent','abortDrawing_','_isStayDraw','getPixelFromCoordinate','pop','updateTip_','954379kgJLcj','DRAWSTART','getGeometry','855999uzQQWl','getText','pointermove','addFeature','_minPoints','tipText','drawaddpoint','point','3204282ljrCVE','coordinates','slice','getProjection','6565038gIrMYt','abortDrawing','handleDragEvent','startDrawing_','originalEvent','rgba(0,\x200,\x200,\x200.4)','getType','minPoint','indexOf','_features','getMap','dispatchEvent','feature','DRAWEND','DRAWADDPOINT','onInternal','length','_snapTolerance','MAX_VALUE','drawabort','_source','handleMoveEvent','handleDownEvent','单击拖动绘制','finishDrawing','Ellipsoid','Ellipse','revert','snapTolerance','clear','addPoint','setStyle','updateSketchFeatures_','atFinish_','_showTip','_overlay','push','once','addChangeListener','updateState_'];a37_0x2b6f=function(){return _0x6cb4ac;};return a37_0x2b6f();}
@@ -1 +1 @@
1
- const a38_0x535205=a38_0x2301;function a38_0x2301(_0x3f257e,_0x4a169a){const _0x4924a8=a38_0x4924();return a38_0x2301=function(_0x230129,_0x390d85){_0x230129=_0x230129-0x8f;let _0x28bb69=_0x4924a8[_0x230129];return _0x28bb69;},a38_0x2301(_0x3f257e,_0x4a169a);}function a38_0x4924(){const _0x524af7=['addInteraction','1511482EOVFqj','getInteraction','9inzpLk','7195235nKALiN','get','forEach','has','map','6546RXvrJu','516DQZuSK','interactions','18HFOPnF','422LORBPi','delete','set','52292427lkgjys','6687040ElShsS','removeInteraction','5202808YXsSAf','4312jmBJVO'];a38_0x4924=function(){return _0x524af7;};return a38_0x4924();}(function(_0x399871,_0x80a39d){const _0x285b5a=a38_0x2301,_0x35302e=_0x399871();while(!![]){try{const _0x23a9d3=-parseInt(_0x285b5a(0x9c))/0x1*(parseInt(_0x285b5a(0xa3))/0x2)+parseInt(_0x285b5a(0x98))/0x3*(parseInt(_0x285b5a(0x99))/0x4)+-parseInt(_0x285b5a(0x93))/0x5+-parseInt(_0x285b5a(0x9b))/0x6*(parseInt(_0x285b5a(0x90))/0x7)+-parseInt(_0x285b5a(0xa2))/0x8*(parseInt(_0x285b5a(0x92))/0x9)+-parseInt(_0x285b5a(0xa0))/0xa+parseInt(_0x285b5a(0x9f))/0xb;if(_0x23a9d3===_0x80a39d)break;else _0x35302e['push'](_0x35302e['shift']());}catch(_0x206898){_0x35302e['push'](_0x35302e['shift']());}}}(a38_0x4924,0xafb07));export default class InteractionManager{constructor(_0x3453f0){const _0x2545c6=a38_0x2301;this[_0x2545c6(0x97)]=_0x3453f0,this[_0x2545c6(0x9a)]=new Map();}['addInteraction'](_0x52e304,_0x3fab2e){const _0x133623=a38_0x2301;this[_0x133623(0x9a)][_0x133623(0x96)](_0x52e304)&&this['removeInteraction'](_0x52e304),_0x3fab2e[_0x133623(0x9e)]('name',_0x52e304),this[_0x133623(0x9a)][_0x133623(0x9e)](_0x52e304,_0x3fab2e),this[_0x133623(0x97)][_0x133623(0x8f)](_0x3fab2e);}['removeInteraction'](_0x3ee906){const _0xe849fd=a38_0x2301,_0x954351=this[_0xe849fd(0x9a)][_0xe849fd(0x94)](_0x3ee906);_0x954351&&(this[_0xe849fd(0x97)]['removeInteraction'](_0x954351),this[_0xe849fd(0x9a)][_0xe849fd(0x9d)](_0x3ee906));}['removeAllInteractions'](){const _0x34796a=a38_0x2301;this[_0x34796a(0x9a)][_0x34796a(0x95)](_0x34ddf6=>{const _0x19c180=_0x34796a;this[_0x19c180(0x97)][_0x19c180(0xa1)](_0x34ddf6);}),this[_0x34796a(0x9a)]['clear']();}[a38_0x535205(0x91)](_0x20c61a){const _0x1abec1=a38_0x535205;return this[_0x1abec1(0x9a)][_0x1abec1(0x94)](_0x20c61a);}}
1
+ function a38_0x1450(_0x24ddb6,_0x328aa2){const _0x16052b=a38_0x1605();return a38_0x1450=function(_0x14509c,_0x3d32bf){_0x14509c=_0x14509c-0xc5;let _0x4d15f9=_0x16052b[_0x14509c];return _0x4d15f9;},a38_0x1450(_0x24ddb6,_0x328aa2);}function a38_0x1605(){const _0x40837e=['813861JyoiQU','get','clear','3669105BYBwOl','6FVCGKd','12650790hjfDyc','getInteraction','11235091eyZIMG','9Aywnjs','1391640iihSTf','forEach','28McpzTA','1396425aUfnEs','addInteraction','map','delete','has','removeInteraction','555081mLWntb','2pzXqAw','interactions','removeAllInteractions','set','name'];a38_0x1605=function(){return _0x40837e;};return a38_0x1605();}const a38_0xf89436=a38_0x1450;(function(_0x45bd3e,_0x1b9e1c){const _0x162ea6=a38_0x1450,_0x1ee51a=_0x45bd3e();while(!![]){try{const _0x13f090=-parseInt(_0x162ea6(0xd8))/0x1*(parseInt(_0x162ea6(0xd3))/0x2)+parseInt(_0x162ea6(0xd2))/0x3*(-parseInt(_0x162ea6(0xcb))/0x4)+parseInt(_0x162ea6(0xcc))/0x5+-parseInt(_0x162ea6(0xdc))/0x6*(-parseInt(_0x162ea6(0xc7))/0x7)+-parseInt(_0x162ea6(0xc9))/0x8*(-parseInt(_0x162ea6(0xc8))/0x9)+parseInt(_0x162ea6(0xc5))/0xa+-parseInt(_0x162ea6(0xdb))/0xb;if(_0x13f090===_0x1b9e1c)break;else _0x1ee51a['push'](_0x1ee51a['shift']());}catch(_0x28f71d){_0x1ee51a['push'](_0x1ee51a['shift']());}}}(a38_0x1605,0xd7057));export default class InteractionManager{constructor(_0x59d395){const _0x17d155=a38_0x1450;this[_0x17d155(0xce)]=_0x59d395,this[_0x17d155(0xd4)]=new Map();}['addInteraction'](_0x3ade5a,_0x583ead){const _0x3d56c3=a38_0x1450;this['interactions'][_0x3d56c3(0xd0)](_0x3ade5a)&&this['removeInteraction'](_0x3ade5a),_0x583ead[_0x3d56c3(0xd6)](_0x3d56c3(0xd7),_0x3ade5a),this['interactions'][_0x3d56c3(0xd6)](_0x3ade5a,_0x583ead),this[_0x3d56c3(0xce)][_0x3d56c3(0xcd)](_0x583ead);}['removeInteraction'](_0x3bf797){const _0x2da5d1=a38_0x1450,_0xf3c26b=this[_0x2da5d1(0xd4)]['get'](_0x3bf797);_0xf3c26b&&(this['map'][_0x2da5d1(0xd1)](_0xf3c26b),this['interactions'][_0x2da5d1(0xcf)](_0x3bf797));}[a38_0xf89436(0xd5)](){const _0x147d9d=a38_0xf89436;this['interactions'][_0x147d9d(0xca)](_0x3f99f5=>{const _0x1ad3c1=_0x147d9d;this[_0x1ad3c1(0xce)][_0x1ad3c1(0xd1)](_0x3f99f5);}),this[_0x147d9d(0xd4)][_0x147d9d(0xda)]();}[a38_0xf89436(0xc6)](_0x4c6bc2){const _0x2763ce=a38_0xf89436;return this[_0x2763ce(0xd4)][_0x2763ce(0xd9)](_0x4c6bc2);}}
@@ -1 +1 @@
1
- const a39_0x5b29d7=a39_0x5ebf;(function(_0x1b8ed9,_0x1411aa){const _0x518ab3=a39_0x5ebf,_0x32e6bb=_0x1b8ed9();while(!![]){try{const _0x42d65d=-parseInt(_0x518ab3(0x1c7))/0x1*(parseInt(_0x518ab3(0x1be))/0x2)+-parseInt(_0x518ab3(0x1fd))/0x3*(parseInt(_0x518ab3(0x1bd))/0x4)+-parseInt(_0x518ab3(0x1e9))/0x5*(-parseInt(_0x518ab3(0x205))/0x6)+-parseInt(_0x518ab3(0x1d2))/0x7+-parseInt(_0x518ab3(0x1f0))/0x8*(parseInt(_0x518ab3(0x1da))/0x9)+-parseInt(_0x518ab3(0x1c3))/0xa+parseInt(_0x518ab3(0x1ce))/0xb;if(_0x42d65d===_0x1411aa)break;else _0x32e6bb['push'](_0x32e6bb['shift']());}catch(_0x3192f7){_0x32e6bb['push'](_0x32e6bb['shift']());}}}(a39_0x3a05,0xca0a7));import a39_0x419a7a from'./Draw';function a39_0x5ebf(_0x48d851,_0x50c010){const _0x3a0509=a39_0x3a05();return a39_0x5ebf=function(_0x5ebf5b,_0x5804d2){_0x5ebf5b=_0x5ebf5b-0x1bb;let _0x23bd4d=_0x3a0509[_0x5ebf5b];return _0x23bd4d;},a39_0x5ebf(_0x48d851,_0x50c010);}import a39_0x6cdfcb from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a39_0x52bf1d from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';function a39_0x3a05(){const _0x15ea50=['includes','addTempLayer','selectLayers','loadFilter','getSelectedFeatures','selectTempLayer','66978TxybYk','pointFeatures','SELECTED','drawaddpoint','drawend','lineFeatures','selectIndex','Point','4VVeVPe','13010SBvKyw','lineStyle','filter','getMap','seletctEditeFeature','1996870NHBElg','canceLineStyle','push','import','172ErlNDX','MultiPolygon','drawstart','getView','getGeometry','tempLayer','drawmoving','35690083MKeyTt','onInternal','getVisible','selectLayer','5438461mJVUJO','keydown','dispatchEvent','LineString','selectedPointFeatures','layerInfo','getCode','Polygon','11389527MgHdHe','drawabort','url','selectedPolygonFeatures','length','selectedLineFeatures','fromType','allSelectedFeatures','holdCtrl','MultiPoint','keyup','setStyle','coordinates','feature','未获取到几何','730EKPGWK','addEventListener','map','cancePointStyle','layerType','pixelDistance','pointStyle','8kNxpNG','SELECTSTART','draw','getPolygonTempLayer','selectstart','message','polygonFeatures','getSource','selectGeom','cancePolygonStyle','polygonStyle','getPointTempLayer','currentLayers','2057457yCoeRg','getArray'];a39_0x3a05=function(){return _0x15ea50;};return a39_0x3a05();}import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x5b29d7(0x1c9),'DRAWEND':a39_0x5b29d7(0x209),'DRAWABORT':a39_0x5b29d7(0x1db),'DRAWADDPOINT':a39_0x5b29d7(0x208),'DRAWMOVING':a39_0x5b29d7(0x1cd),'SELECTSTART':a39_0x5b29d7(0x1f4),'SELECTED':'selected'};export class SelectEvent extends a39_0x6cdfcb{constructor(_0x347205,_0x692337,_0x4749d7,_0x1ffd77,_0x15a503,_0x4c3d57,_0x2f1322,_0x555728,_0x589c24){const _0x2cfc72=a39_0x5b29d7;super(_0x347205),this[_0x2cfc72(0x1f8)]=_0x4749d7,this['coordinates']=_0x1ffd77,this[_0x2cfc72(0x206)]=_0x15a503,this[_0x2cfc72(0x20a)]=_0x4c3d57,this[_0x2cfc72(0x1f6)]=_0x2f1322,this['allFeatures']=_0x555728,this['error']=_0x589c24,this[_0x2cfc72(0x1e2)]=_0x692337;}}export default class Select extends a39_0x419a7a{constructor(_0x12261b,_0x222b26){const _0x43cc2e=a39_0x5b29d7;super(_0x12261b,{'tipText':_0x222b26===null||_0x222b26===void 0x0?void 0x0:_0x222b26['tipText']}),this['selectedPointFeatures']=[],this['selectedLineFeatures']=[],this[_0x43cc2e(0x1dd)]=[],this[_0x43cc2e(0x1e1)]=[];const _0xb72551=_0x222b26||{};this[_0x43cc2e(0x200)]=_0xb72551[_0x43cc2e(0x200)]||![],this[_0x43cc2e(0x1fc)]=_0xb72551[_0x43cc2e(0x201)],this[_0x43cc2e(0x204)]=_0xb72551['selectTempLayer']===undefined?!![]:_0xb72551[_0x43cc2e(0x204)],this[_0x43cc2e(0x1ee)]=_0xb72551[_0x43cc2e(0x1ee)]===undefined?0x5:_0xb72551[_0x43cc2e(0x1ee)],this['pointStyle']=_0xb72551[_0x43cc2e(0x1ef)]?getStyle(_0xb72551[_0x43cc2e(0x1ef)]):getSelectPointStyle(),this[_0x43cc2e(0x1ec)]=_0xb72551[_0x43cc2e(0x1ec)]?getStyle(_0xb72551[_0x43cc2e(0x1ec)]):getSelectCancePointStyle(),this[_0x43cc2e(0x1bf)]=_0xb72551[_0x43cc2e(0x1bf)]?getStyle(_0xb72551[_0x43cc2e(0x1bf)]):getSelectLineStyle(),this[_0x43cc2e(0x1c4)]=_0xb72551[_0x43cc2e(0x1c4)]?getStyle(_0xb72551[_0x43cc2e(0x1c4)]):getSelectCancelLineStyle(),this[_0x43cc2e(0x1fa)]=_0xb72551[_0x43cc2e(0x1fa)]?getStyle(_0xb72551['polygonStyle']):getSelectPolygonStyle(),this['cancePolygonStyle']=_0xb72551['cancePolygonStyle']?getStyle(_0xb72551[_0x43cc2e(0x1f9)]):getSelectCancelPolygonStyle(),this[_0x43cc2e(0x1e2)]=![];let _0x553928;this['on']=this[_0x43cc2e(0x1cf)],this['on'](_0x43cc2e(0x209),async _0x1d76ba=>{const _0x5113d7=_0x43cc2e,_0x450239=this[_0x5113d7(0x1e2)],_0xb5a0d7=this[_0x5113d7(0x1c1)]();if(!_0xb5a0d7)return;try{let _0x44bfd9=undefined;if(!_0x1d76ba[_0x5113d7(0x1e7)]&&_0x1d76ba[_0x5113d7(0x1e6)]&&_0x1d76ba[_0x5113d7(0x1e6)]['length']==0x1)_0x44bfd9=bufferPixel(new Point(_0x1d76ba[_0x5113d7(0x1e6)][0x0]),this['pixelDistance'],_0xb5a0d7);else _0x1d76ba[_0x5113d7(0x1e7)]&&(_0x44bfd9=_0x1d76ba[_0x5113d7(0x1e7)][_0x5113d7(0x1cb)]());if(!_0x44bfd9)throw new Error(_0x5113d7(0x1e8));this[_0x5113d7(0x1d4)](new SelectEvent(SelectEventType[_0x5113d7(0x1f1)],_0x450239,_0x44bfd9)),this['selectedPointFeatures']=[],this[_0x5113d7(0x1df)]=[],this['selectedPolygonFeatures']=[],this['allSelectedFeatures']=[],this[_0x5113d7(0x204)]&&this[_0x5113d7(0x1c2)](_0x44bfd9),_0x553928&&clearTimeout(_0x553928),_0x553928=setTimeout(async()=>{const _0xc4bfbb=_0x5113d7;await this['selectLayer'](_0x44bfd9),this[_0xc4bfbb(0x1d4)](new SelectEvent(SelectEventType['SELECTED'],_0x450239,_0x44bfd9,_0x1d76ba[_0xc4bfbb(0x1e6)],this[_0xc4bfbb(0x1d6)],this[_0xc4bfbb(0x1df)],this[_0xc4bfbb(0x1dd)],this[_0xc4bfbb(0x1e1)]));},0x46);}catch(_0x335f0a){this[_0x5113d7(0x1d4)](new SelectEvent(SelectEventType[_0x5113d7(0x207)],_0x450239,undefined,_0x1d76ba[_0x5113d7(0x1e6)],this[_0x5113d7(0x1d6)],this[_0x5113d7(0x1df)],this[_0x5113d7(0x1dd)],this['allSelectedFeatures'],_0x335f0a[_0x5113d7(0x1f5)]));}}),window[_0x43cc2e(0x1ea)](_0x43cc2e(0x1d3),_0x32118f=>{const _0x47f45f=_0x43cc2e;_0x32118f['ctrlKey']&&(this[_0x47f45f(0x1e2)]=!![]);}),window[_0x43cc2e(0x1ea)](_0x43cc2e(0x1e4),_0x26da43=>{this['holdCtrl']=![];});}['setSelectLayers'](_0x33a39c){const _0x22c4ac=a39_0x5b29d7;this[_0x22c4ac(0x1fc)]=_0x33a39c;}async[a39_0x5b29d7(0x1d1)](_0x22656e){const _0x379155=a39_0x5b29d7;var _0x403fdf;const _0x52d0e1=this[_0x379155(0x1c1)]();let _0x51a7f8=[];if(this[_0x379155(0x1fc)]&&this[_0x379155(0x1fc)][_0x379155(0x1de)]>0x0)_0x51a7f8=this[_0x379155(0x1fc)];else{let _0x129b2e=_0x52d0e1['getLayers']()[_0x379155(0x1fe)]();_0x129b2e=_0x129b2e[_0x379155(0x1c0)](_0x5e8bd8=>{const _0x200823=_0x379155,_0x64fa9a=_0x5e8bd8[_0x200823(0x1d7)];if(!_0x64fa9a)return![];return _0x5e8bd8['getVisible']()==!![]&&_0x64fa9a[_0x200823(0x1bb)]!=undefined&&_0x64fa9a[_0x200823(0x1bb)]!='';}),_0x51a7f8=_0x129b2e[_0x379155(0x1eb)](_0x45d76b=>{return _0x45d76b['layerInfo'];});}if(!_0x51a7f8||_0x51a7f8['length']==0x0)return;const _0xfc76dd=_0x52d0e1[_0x379155(0x1ca)]()['getProjection']()[_0x379155(0x1d8)]();for(let _0xaa069e=0x0,_0x4418ab=_0x51a7f8[_0x379155(0x1de)];_0xaa069e<_0x4418ab;_0xaa069e++){const _0x5c3f64=_0x51a7f8[_0xaa069e],_0x3b183c=_0x52d0e1['getLayerById'](_0x5c3f64['id']);if(!_0x3b183c||_0x3b183c[_0x379155(0x1d0)]()==![]||!_0x5c3f64||!_0x5c3f64[_0x379155(0x1dc)]||!_0x5c3f64[_0x379155(0x1bb)])continue;let _0x581b50=await selectFeaturesByGeo(_0x22656e,_0xfc76dd,_0x5c3f64[_0x379155(0x1dc)],_0x5c3f64[_0x379155(0x1bb)],_0x5c3f64[_0x379155(0x1ed)],_0x5c3f64[_0x379155(0x202)]);if(_0x581b50[_0x379155(0x1de)]>0x0){this[_0x379155(0x1e1)][_0x379155(0x1c5)](..._0x581b50);let _0x3dc183=_0x52d0e1[_0x379155(0x1f3)](),_0x3e52fb=this['polygonStyle'];switch((_0x403fdf=_0x581b50[0x0][_0x379155(0x1cb)]())===null||_0x403fdf===void 0x0?void 0x0:_0x403fdf['getType']()){case _0x379155(0x1bc):case _0x379155(0x1e3):this['selectedPointFeatures']['push'](..._0x581b50),_0x3dc183=_0x52d0e1[_0x379155(0x1fb)](),_0x3e52fb=this[_0x379155(0x1ef)];break;case _0x379155(0x1d5):case'MultiLineString':this['selectedLineFeatures'][_0x379155(0x1c5)](..._0x581b50),_0x3dc183=_0x52d0e1['getLineTempLayer'](),_0x3e52fb=this[_0x379155(0x1bf)];break;case _0x379155(0x1d9):case _0x379155(0x1c8):this[_0x379155(0x1dd)][_0x379155(0x1c5)](..._0x581b50),_0x3dc183=_0x52d0e1[_0x379155(0x1f3)](),_0x3e52fb=this[_0x379155(0x1fa)];break;default:break;}const _0x435a53=_0x3dc183[_0x379155(0x1f7)]();_0x435a53&&(_0x581b50['forEach'](_0x389fe5=>{const _0x544c22=_0x379155;_0x389fe5['layerId']=_0x5c3f64['id'],_0x389fe5[_0x544c22(0x1cc)]=_0x3dc183,_0x389fe5[_0x544c22(0x1e5)](_0x3e52fb);}),this[_0x379155(0x200)]&&_0x435a53['addFeatures'](_0x581b50));}}}[a39_0x5b29d7(0x1c2)](_0xa211eb){const _0x331334=a39_0x5b29d7,_0x35b914=new a39_0x52bf1d(this['getMap']()),_0x1fdcd5=_0x35b914[_0x331334(0x203)]();if(!_0x1fdcd5||_0x1fdcd5[_0x331334(0x1de)]===0x0)return[];const _0x3423e5=['copy','cut',_0x331334(0x1f2),_0x331334(0x1c6),'union'],_0x4979bc=[];for(const _0x57c0d8 of _0x1fdcd5){if(!_0x57c0d8||!_0x57c0d8[_0x331334(0x1e0)]||!_0x3423e5[_0x331334(0x1ff)](_0x57c0d8['fromType']))continue;const _0xdd43f9=_0x57c0d8[_0x331334(0x1cb)]();if(!_0xdd43f9)continue;if(!intersects(_0xdd43f9,_0xa211eb))continue;let _0x3b2ede=this[_0x331334(0x1fa)];this[_0x331334(0x1e1)][_0x331334(0x1c5)](_0x57c0d8);switch(_0xdd43f9['getType']()){case _0x331334(0x1bc):case _0x331334(0x1e3):this[_0x331334(0x1d6)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this['pointStyle'];break;case _0x331334(0x1d5):case'MultiLineString':this[_0x331334(0x1df)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this[_0x331334(0x1bf)];break;case'Polygon':case _0x331334(0x1c8):this[_0x331334(0x1dd)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this[_0x331334(0x1fa)];break;default:break;}_0x57c0d8[_0x331334(0x1e5)](_0x3b2ede);}return _0x4979bc;}}
1
+ const a39_0x45aef6=a39_0x20d8;(function(_0x364151,_0x21f0a5){const _0x775be9=a39_0x20d8,_0x52b5af=_0x364151();while(!![]){try{const _0x104eff=parseInt(_0x775be9(0x132))/0x1+parseInt(_0x775be9(0x165))/0x2*(-parseInt(_0x775be9(0x143))/0x3)+-parseInt(_0x775be9(0x169))/0x4*(parseInt(_0x775be9(0x15f))/0x5)+parseInt(_0x775be9(0x166))/0x6*(-parseInt(_0x775be9(0x130))/0x7)+parseInt(_0x775be9(0x13b))/0x8*(parseInt(_0x775be9(0x14f))/0x9)+-parseInt(_0x775be9(0x150))/0xa+-parseInt(_0x775be9(0x14b))/0xb*(-parseInt(_0x775be9(0x126))/0xc);if(_0x104eff===_0x21f0a5)break;else _0x52b5af['push'](_0x52b5af['shift']());}catch(_0x110ef5){_0x52b5af['push'](_0x52b5af['shift']());}}}(a39_0x2518,0x67ba9));import a39_0x2a4bc8 from'./Draw';import a39_0x979d51 from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';function a39_0x20d8(_0xeddc38,_0x148129){const _0x2518aa=a39_0x2518();return a39_0x20d8=function(_0x20d857,_0x2b9231){_0x20d857=_0x20d857-0x11b;let _0x2d6c35=_0x2518aa[_0x20d857];return _0x2d6c35;},a39_0x20d8(_0xeddc38,_0x148129);}import{Point}from'ol/geom';function a39_0x2518(){const _0x585ae9=['selectIndex','tipText','getGeometry','selectGeom','getProjection','6431144kQYGoT','loadFilter','import','getCode','selectTempLayer','selectedPolygonFeatures','lineFeatures','Polygon','8262JIhPSD','MultiPolygon','tempLayer','selectedLineFeatures','addTempLayer','drawaddpoint','length','selected','5517523UDTrQf','addFeatures','MultiLineString','MultiPoint','9EviYqQ','495850UBUQUJ','filter','getMap','drawend','includes','message','layerInfo','setSelectLayers','polygonStyle','cancePolygonStyle','selectstart','coordinates','getPolygonTempLayer','url','currentLayers','2909230zlJjKR','Point','onInternal','canceLineStyle','selectedPointFeatures','forEach','430eljEcG','44586MTZica','selectLayer','keyup','4FIWZgW','allSelectedFeatures','drawmoving','getLayers','copy','cancePointStyle','getLayerById','getVisible','push','getSource','fromType','pointStyle','setStyle','lineStyle','getSelectedFeatures','map','36iFphJx','selectLayers','getArray','seletctEditeFeature','未获取到几何','holdCtrl','pixelDistance','keydown','LineString','draw','721hpyqso','addEventListener','105135mzsYNs','SELECTED','feature','dispatchEvent'];a39_0x2518=function(){return _0x585ae9;};return a39_0x2518();}import a39_0x5eddea from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':'drawstart','DRAWEND':a39_0x45aef6(0x153),'DRAWABORT':'drawabort','DRAWADDPOINT':a39_0x45aef6(0x148),'DRAWMOVING':a39_0x45aef6(0x16b),'SELECTSTART':a39_0x45aef6(0x15a),'SELECTED':a39_0x45aef6(0x14a)};export class SelectEvent extends a39_0x979d51{constructor(_0x5c9f5d,_0x248dba,_0x543160,_0x2854fd,_0x205ffc,_0x2c2918,_0x359d28,_0x4deeb6,_0x55f1fe){const _0x358b24=a39_0x45aef6;super(_0x5c9f5d),this[_0x358b24(0x139)]=_0x543160,this['coordinates']=_0x2854fd,this['pointFeatures']=_0x205ffc,this[_0x358b24(0x141)]=_0x2c2918,this['polygonFeatures']=_0x359d28,this['allFeatures']=_0x4deeb6,this['error']=_0x55f1fe,this['holdCtrl']=_0x248dba;}}export default class Select extends a39_0x2a4bc8{constructor(_0x485653,_0x5e2ad5){const _0x43898f=a39_0x45aef6;super(_0x485653,{'tipText':_0x5e2ad5===null||_0x5e2ad5===void 0x0?void 0x0:_0x5e2ad5[_0x43898f(0x137)]}),this[_0x43898f(0x163)]=[],this[_0x43898f(0x146)]=[],this[_0x43898f(0x140)]=[],this[_0x43898f(0x16a)]=[];const _0x2a647b=_0x5e2ad5||{};this[_0x43898f(0x147)]=_0x2a647b['addTempLayer']||![],this[_0x43898f(0x15e)]=_0x2a647b[_0x43898f(0x127)],this[_0x43898f(0x13f)]=_0x2a647b['selectTempLayer']===undefined?!![]:_0x2a647b[_0x43898f(0x13f)],this['pixelDistance']=_0x2a647b[_0x43898f(0x12c)]===undefined?0x5:_0x2a647b[_0x43898f(0x12c)],this[_0x43898f(0x121)]=_0x2a647b[_0x43898f(0x121)]?getStyle(_0x2a647b[_0x43898f(0x121)]):getSelectPointStyle(),this['cancePointStyle']=_0x2a647b['cancePointStyle']?getStyle(_0x2a647b[_0x43898f(0x11b)]):getSelectCancePointStyle(),this['lineStyle']=_0x2a647b[_0x43898f(0x123)]?getStyle(_0x2a647b[_0x43898f(0x123)]):getSelectLineStyle(),this[_0x43898f(0x162)]=_0x2a647b[_0x43898f(0x162)]?getStyle(_0x2a647b[_0x43898f(0x162)]):getSelectCancelLineStyle(),this[_0x43898f(0x158)]=_0x2a647b[_0x43898f(0x158)]?getStyle(_0x2a647b['polygonStyle']):getSelectPolygonStyle(),this[_0x43898f(0x159)]=_0x2a647b[_0x43898f(0x159)]?getStyle(_0x2a647b[_0x43898f(0x159)]):getSelectCancelPolygonStyle(),this[_0x43898f(0x12b)]=![];let _0x4d9dd2;this['on']=this[_0x43898f(0x161)],this['on'](_0x43898f(0x153),async _0x17f246=>{const _0x188e9f=_0x43898f,_0x23540d=this[_0x188e9f(0x12b)],_0xf37f2=this[_0x188e9f(0x152)]();if(!_0xf37f2)return;try{let _0x3c0f92=undefined;if(!_0x17f246[_0x188e9f(0x134)]&&_0x17f246[_0x188e9f(0x15b)]&&_0x17f246[_0x188e9f(0x15b)]['length']==0x1)_0x3c0f92=bufferPixel(new Point(_0x17f246[_0x188e9f(0x15b)][0x0]),this[_0x188e9f(0x12c)],_0xf37f2);else _0x17f246[_0x188e9f(0x134)]&&(_0x3c0f92=_0x17f246[_0x188e9f(0x134)][_0x188e9f(0x138)]());if(!_0x3c0f92)throw new Error(_0x188e9f(0x12a));this[_0x188e9f(0x135)](new SelectEvent(SelectEventType['SELECTSTART'],_0x23540d,_0x3c0f92)),this[_0x188e9f(0x163)]=[],this[_0x188e9f(0x146)]=[],this[_0x188e9f(0x140)]=[],this['allSelectedFeatures']=[],this['selectTempLayer']&&this['seletctEditeFeature'](_0x3c0f92),_0x4d9dd2&&clearTimeout(_0x4d9dd2),_0x4d9dd2=setTimeout(async()=>{const _0xd5fdcf=_0x188e9f;await this['selectLayer'](_0x3c0f92),this[_0xd5fdcf(0x135)](new SelectEvent(SelectEventType[_0xd5fdcf(0x133)],_0x23540d,_0x3c0f92,_0x17f246[_0xd5fdcf(0x15b)],this['selectedPointFeatures'],this[_0xd5fdcf(0x146)],this['selectedPolygonFeatures'],this[_0xd5fdcf(0x16a)]));},0x46);}catch(_0x2e43c4){this[_0x188e9f(0x135)](new SelectEvent(SelectEventType['SELECTED'],_0x23540d,undefined,_0x17f246['coordinates'],this[_0x188e9f(0x163)],this['selectedLineFeatures'],this[_0x188e9f(0x140)],this[_0x188e9f(0x16a)],_0x2e43c4[_0x188e9f(0x155)]));}}),window[_0x43898f(0x131)](_0x43898f(0x12d),_0x2f7b46=>{const _0x478a12=_0x43898f;_0x2f7b46['ctrlKey']&&(this[_0x478a12(0x12b)]=!![]);}),window[_0x43898f(0x131)](_0x43898f(0x168),_0x40b765=>{this['holdCtrl']=![];});}[a39_0x45aef6(0x157)](_0x47f921){const _0x370173=a39_0x45aef6;this[_0x370173(0x15e)]=_0x47f921;}async[a39_0x45aef6(0x167)](_0x569a32){const _0x386613=a39_0x45aef6;var _0x17d60d;const _0x17f8c0=this[_0x386613(0x152)]();let _0x703569=[];if(this['currentLayers']&&this[_0x386613(0x15e)][_0x386613(0x149)]>0x0)_0x703569=this[_0x386613(0x15e)];else{let _0x4a9ee0=_0x17f8c0[_0x386613(0x16c)]()[_0x386613(0x128)]();_0x4a9ee0=_0x4a9ee0[_0x386613(0x151)](_0x5182fa=>{const _0x2bee57=_0x386613,_0x3a33c3=_0x5182fa[_0x2bee57(0x156)];if(!_0x3a33c3)return![];return _0x5182fa[_0x2bee57(0x11d)]()==!![]&&_0x3a33c3['selectIndex']!=undefined&&_0x3a33c3[_0x2bee57(0x136)]!='';}),_0x703569=_0x4a9ee0[_0x386613(0x125)](_0x41d85e=>{return _0x41d85e['layerInfo'];});}if(!_0x703569||_0x703569[_0x386613(0x149)]==0x0)return;const _0x13f2e1=_0x17f8c0['getView']()[_0x386613(0x13a)]()[_0x386613(0x13e)]();for(let _0x5a6987=0x0,_0xc3a829=_0x703569[_0x386613(0x149)];_0x5a6987<_0xc3a829;_0x5a6987++){const _0x216b98=_0x703569[_0x5a6987],_0x555be7=_0x17f8c0[_0x386613(0x11c)](_0x216b98['id']);if(!_0x555be7||_0x555be7[_0x386613(0x11d)]()==![]||!_0x216b98||!_0x216b98['url']||!_0x216b98[_0x386613(0x136)])continue;let _0x12bdc6=await selectFeaturesByGeo(_0x569a32,_0x13f2e1,_0x216b98[_0x386613(0x15d)],_0x216b98[_0x386613(0x136)],_0x216b98['layerType'],_0x216b98[_0x386613(0x13c)]);if(_0x12bdc6[_0x386613(0x149)]>0x0){this['allSelectedFeatures'][_0x386613(0x11e)](..._0x12bdc6);let _0x5561f0=_0x17f8c0[_0x386613(0x15c)](),_0x23df83=this[_0x386613(0x158)];switch((_0x17d60d=_0x12bdc6[0x0][_0x386613(0x138)]())===null||_0x17d60d===void 0x0?void 0x0:_0x17d60d['getType']()){case _0x386613(0x160):case _0x386613(0x14e):this['selectedPointFeatures'][_0x386613(0x11e)](..._0x12bdc6),_0x5561f0=_0x17f8c0['getPointTempLayer'](),_0x23df83=this[_0x386613(0x121)];break;case _0x386613(0x12e):case _0x386613(0x14d):this['selectedLineFeatures'][_0x386613(0x11e)](..._0x12bdc6),_0x5561f0=_0x17f8c0['getLineTempLayer'](),_0x23df83=this[_0x386613(0x123)];break;case _0x386613(0x142):case _0x386613(0x144):this[_0x386613(0x140)]['push'](..._0x12bdc6),_0x5561f0=_0x17f8c0['getPolygonTempLayer'](),_0x23df83=this['polygonStyle'];break;default:break;}const _0x4d3034=_0x5561f0[_0x386613(0x11f)]();_0x4d3034&&(_0x12bdc6[_0x386613(0x164)](_0x23d57a=>{const _0x263853=_0x386613;_0x23d57a['layerId']=_0x216b98['id'],_0x23d57a[_0x263853(0x145)]=_0x5561f0,_0x23d57a[_0x263853(0x122)](_0x23df83);}),this[_0x386613(0x147)]&&_0x4d3034[_0x386613(0x14c)](_0x12bdc6));}}}[a39_0x45aef6(0x129)](_0x22d63c){const _0x5bd21d=a39_0x45aef6,_0x3f5c84=new a39_0x5eddea(this[_0x5bd21d(0x152)]()),_0x4ae3fe=_0x3f5c84[_0x5bd21d(0x124)]();if(!_0x4ae3fe||_0x4ae3fe[_0x5bd21d(0x149)]===0x0)return[];const _0x7ec7=[_0x5bd21d(0x16d),'cut',_0x5bd21d(0x12f),_0x5bd21d(0x13d),'union'],_0x4dc32f=[];for(const _0x453718 of _0x4ae3fe){if(!_0x453718||!_0x453718['fromType']||!_0x7ec7[_0x5bd21d(0x154)](_0x453718[_0x5bd21d(0x120)]))continue;const _0x343be5=_0x453718['getGeometry']();if(!_0x343be5)continue;if(!intersects(_0x343be5,_0x22d63c))continue;let _0x4ae133=this['polygonStyle'];this[_0x5bd21d(0x16a)][_0x5bd21d(0x11e)](_0x453718);switch(_0x343be5['getType']()){case _0x5bd21d(0x160):case _0x5bd21d(0x14e):this[_0x5bd21d(0x163)][_0x5bd21d(0x11e)](_0x453718),_0x4ae133=this['pointStyle'];break;case _0x5bd21d(0x12e):case'MultiLineString':this[_0x5bd21d(0x146)][_0x5bd21d(0x11e)](_0x453718),_0x4ae133=this[_0x5bd21d(0x123)];break;case _0x5bd21d(0x142):case _0x5bd21d(0x144):this['selectedPolygonFeatures']['push'](_0x453718),_0x4ae133=this[_0x5bd21d(0x158)];break;default:break;}_0x453718['setStyle'](_0x4ae133);}return _0x4dc32f;}}
@@ -1 +1 @@
1
- const a40_0x287175=a40_0x1865;(function(_0xa1b485,_0x132a2b){const _0x58b5e2=a40_0x1865,_0x2f12b5=_0xa1b485();while(!![]){try{const _0x41977f=parseInt(_0x58b5e2(0xac))/0x1*(parseInt(_0x58b5e2(0xae))/0x2)+-parseInt(_0x58b5e2(0xc5))/0x3*(-parseInt(_0x58b5e2(0xbe))/0x4)+parseInt(_0x58b5e2(0xb6))/0x5*(-parseInt(_0x58b5e2(0xc2))/0x6)+-parseInt(_0x58b5e2(0xb8))/0x7*(parseInt(_0x58b5e2(0xb3))/0x8)+parseInt(_0x58b5e2(0xc3))/0x9*(-parseInt(_0x58b5e2(0xba))/0xa)+-parseInt(_0x58b5e2(0xb5))/0xb*(parseInt(_0x58b5e2(0xad))/0xc)+parseInt(_0x58b5e2(0xbd))/0xd;if(_0x41977f===_0x132a2b)break;else _0x2f12b5['push'](_0x2f12b5['shift']());}catch(_0x2f9e0a){_0x2f12b5['push'](_0x2f12b5['shift']());}}}(a40_0x48db,0xd0697));import a40_0x145610 from'ol/source/ImageArcGISRest';import{Image as a40_0x5b52ad}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a40_0x1865(_0x3985ec,_0x5020b5){const _0x48dbeb=a40_0x48db();return a40_0x1865=function(_0x18659,_0x4dbe7b){_0x18659=_0x18659-0xaa;let _0x444b7e=_0x48dbeb[_0x18659];return _0x444b7e;},a40_0x1865(_0x3985ec,_0x5020b5);}export default class ArcgisDynamicLayer extends a40_0x5b52ad{constructor(_0x1efd46,_0x2ab778){const _0x5c1fd4=a40_0x1865;var _0x2668cc;let _0x5d1f63={'LAYERS':_0x5c1fd4(0xbb)+((_0x2668cc=_0x1efd46[_0x5c1fd4(0xc6)])===null||_0x2668cc===void 0x0?void 0x0:_0x2668cc['join'](','))};if(_0x1efd46['loadFilter']&&_0x1efd46[_0x5c1fd4(0xc9)]){const _0x535d18={};_0x535d18[_0x1efd46[_0x5c1fd4(0xc9)]]=_0x1efd46['loadFilter'],_0x5d1f63['layerDefs']=JSON[_0x5c1fd4(0xb7)](_0x535d18);}const _0x219274=[_0x2ab778['initialExtent'][_0x5c1fd4(0xbc)],_0x2ab778[_0x5c1fd4(0xb9)]['ymin'],_0x2ab778['initialExtent'][_0x5c1fd4(0xb2)],_0x2ab778[_0x5c1fd4(0xb9)][_0x5c1fd4(0xb4)]],_0x5ebebc=[_0x2ab778['fullExtent'][_0x5c1fd4(0xbc)],_0x2ab778[_0x5c1fd4(0xc1)]['ymin'],_0x2ab778[_0x5c1fd4(0xc1)][_0x5c1fd4(0xb2)],_0x2ab778[_0x5c1fd4(0xc1)][_0x5c1fd4(0xb4)]];let _0x1d0bd9;_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xb0)]?_0x1d0bd9=registerProj(_0x5c1fd4(0xbf)+_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xb0)],_0x5ebebc):_0x1d0bd9=registerProj(_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xab)],_0x5ebebc),super({'opacity':_0x1efd46['opacity'],'zIndex':_0x1efd46[_0x5c1fd4(0xc7)],'source':new a40_0x145610({'crossOrigin':'anonymous','projection':_0x1d0bd9,'ratio':0x1,'url':_0x1efd46[_0x5c1fd4(0xaf)],'params':_0x5d1f63})}),this['id']=_0x1efd46['id'],this[_0x5c1fd4(0xb9)]=_0x219274,this[_0x5c1fd4(0xc4)]=_0x1d0bd9,this['layerInfo']=_0x1efd46;}[a40_0x287175(0xb1)](_0x3b0a37){const _0x394efc=a40_0x287175;var _0x483b94;const _0x143d52={};this[_0x394efc(0xc0)]['selectIndex']&&(_0x143d52[this[_0x394efc(0xc0)][_0x394efc(0xc9)]]=_0x3b0a37),(_0x483b94=this[_0x394efc(0xc8)]())===null||_0x483b94===void 0x0?void 0x0:_0x483b94['updateParams']({'layerDefs':JSON[_0x394efc(0xb7)](_0x3b0a37)});}}function a40_0x48db(){const _0x2a0040=['spatialReference','wkt','2fCzdpn','636NFdTlf','158788OOyeOd','url','wkid','setFilter','xmax','928nbIZNi','ymax','62183giesGP','5qHPoNN','stringify','39403TACfYw','initialExtent','1357000TwjvrP','show:','xmin','41257762DDoNqC','4USMkzQ','EPSG:','layerInfo','fullExtent','9073182qHotFM','90eDToeZ','projection','4028889jswXGD','sublayers','mapIndex','getSource','selectIndex'];a40_0x48db=function(){return _0x2a0040;};return a40_0x48db();}
1
+ function a40_0x5ed1(){const _0x53ea41=['wkt','12uEJMSA','9cDdFMU','updateParams','stringify','ymin','3770ArHgWu','url','xmax','wkid','projection','opacity','xmin','getSource','initialExtent','3620WHxJEw','selectIndex','fullExtent','115493kJOJEv','layerDefs','EPSG:','460880SVztot','449086DbbyCa','layerInfo','setFilter','loadFilter','2486104UcYyzo','sublayers','ymax','1830610ngMVuh','mapIndex','6145290GtFqcD','spatialReference','join'];a40_0x5ed1=function(){return _0x53ea41;};return a40_0x5ed1();}const a40_0x36e425=a40_0x1c4d;(function(_0x5c541b,_0x3e9e69){const _0x2620cd=a40_0x1c4d,_0x4669c5=_0x5c541b();while(!![]){try{const _0xfc515=-parseInt(_0x2620cd(0xe2))/0x1+parseInt(_0x2620cd(0xe3))/0x2*(parseInt(_0x2620cd(0xcf))/0x3)+-parseInt(_0x2620cd(0xdc))/0x4*(-parseInt(_0x2620cd(0xd3))/0x5)+parseInt(_0x2620cd(0xce))/0x6*(parseInt(_0x2620cd(0xdf))/0x7)+parseInt(_0x2620cd(0xc5))/0x8+-parseInt(_0x2620cd(0xca))/0x9+-parseInt(_0x2620cd(0xc8))/0xa;if(_0xfc515===_0x3e9e69)break;else _0x4669c5['push'](_0x4669c5['shift']());}catch(_0x1f74bc){_0x4669c5['push'](_0x4669c5['shift']());}}}(a40_0x5ed1,0x5b111));import a40_0x29ad20 from'ol/source/ImageArcGISRest';import{Image as a40_0x2ef872}from'ol/layer';function a40_0x1c4d(_0x3070fd,_0x42914e){const _0x5ed126=a40_0x5ed1();return a40_0x1c4d=function(_0x1c4dd6,_0x34b15d){_0x1c4dd6=_0x1c4dd6-0xc2;let _0x1c2750=_0x5ed126[_0x1c4dd6];return _0x1c2750;},a40_0x1c4d(_0x3070fd,_0x42914e);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a40_0x2ef872{constructor(_0x43326f,_0xd81b65){const _0xdc7398=a40_0x1c4d;var _0x43ca20;let _0x443e4e={'LAYERS':'show:'+((_0x43ca20=_0x43326f[_0xdc7398(0xc6)])===null||_0x43ca20===void 0x0?void 0x0:_0x43ca20[_0xdc7398(0xcc)](','))};if(_0x43326f[_0xdc7398(0xc4)]&&_0x43326f['selectIndex']){const _0x174121={};_0x174121[_0x43326f[_0xdc7398(0xdd)]]=_0x43326f['loadFilter'],_0x443e4e[_0xdc7398(0xe0)]=JSON[_0xdc7398(0xd1)](_0x174121);}const _0x8b2cf4=[_0xd81b65['initialExtent'][_0xdc7398(0xd9)],_0xd81b65[_0xdc7398(0xdb)][_0xdc7398(0xd2)],_0xd81b65[_0xdc7398(0xdb)][_0xdc7398(0xd5)],_0xd81b65['initialExtent']['ymax']],_0x272ee1=[_0xd81b65[_0xdc7398(0xde)][_0xdc7398(0xd9)],_0xd81b65['fullExtent']['ymin'],_0xd81b65[_0xdc7398(0xde)][_0xdc7398(0xd5)],_0xd81b65[_0xdc7398(0xde)][_0xdc7398(0xc7)]];let _0x30017e;_0xd81b65[_0xdc7398(0xcb)][_0xdc7398(0xd6)]?_0x30017e=registerProj(_0xdc7398(0xe1)+_0xd81b65['spatialReference']['wkid'],_0x272ee1):_0x30017e=registerProj(_0xd81b65[_0xdc7398(0xcb)][_0xdc7398(0xcd)],_0x272ee1),super({'opacity':_0x43326f[_0xdc7398(0xd8)],'zIndex':_0x43326f[_0xdc7398(0xc9)],'source':new a40_0x29ad20({'crossOrigin':'anonymous','projection':_0x30017e,'ratio':0x1,'url':_0x43326f[_0xdc7398(0xd4)],'params':_0x443e4e})}),this['id']=_0x43326f['id'],this[_0xdc7398(0xdb)]=_0x8b2cf4,this[_0xdc7398(0xd7)]=_0x30017e,this[_0xdc7398(0xc2)]=_0x43326f;}[a40_0x36e425(0xc3)](_0x423dba){const _0x49c2d1=a40_0x36e425;var _0x3c01c7;const _0x2f0cf0={};this[_0x49c2d1(0xc2)]['selectIndex']&&(_0x2f0cf0[this[_0x49c2d1(0xc2)]['selectIndex']]=_0x423dba),(_0x3c01c7=this[_0x49c2d1(0xda)]())===null||_0x3c01c7===void 0x0?void 0x0:_0x3c01c7[_0x49c2d1(0xd0)]({'layerDefs':JSON[_0x49c2d1(0xd1)](_0x423dba)});}}
@@ -1 +1 @@
1
- const a41_0x1aae84=a41_0x2521;function a41_0x4829(){const _0x2f54bc=['setStyle','2795639ZAAGsS','mapIndex','loadFilter','type','uniqueValueInfos','spatialReference','11049jBaIpp','then','1=1','stringify',',\x22spatialReference\x22:{\x22wkid\x22:','setFilter','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','push','length','log','wkt','xmax','simple','2466310bnjsUf','url','getCode','value','split','defaultSymbol','94171loSbNL','forEach','find','readFeatures','createArcGISFeatureLayer','ymax','projection','{\x22xmin\x22:','string','f\x20=\x20json\x20&\x20','initialExtent','setLayers','addFeatures','renderer','showIndex','1096782TVeptZ','/query','5vzlNAF','118vOEELf','ymin',',\x22ymin\x22:','xmin','symbol','get','fullExtent','257400arEkry','1380IOpPXh','424xmBBbe','field1','&geometryType=esriGeometryEnvelope&inSR=','120ZjdXJE','layerInfo','uniqueValue','7263EClpVs','drawingInfo'];a41_0x4829=function(){return _0x2f54bc;};return a41_0x4829();}(function(_0x5c358d,_0x3e8aae){const _0x4d410a=a41_0x2521,_0x439a06=_0x5c358d();while(!![]){try{const _0x1a7114=-parseInt(_0x4d410a(0x13f))/0x1*(parseInt(_0x4d410a(0x130))/0x2)+parseInt(_0x4d410a(0x10b))/0x3*(parseInt(_0x4d410a(0x139))/0x4)+-parseInt(_0x4d410a(0x12f))/0x5*(-parseInt(_0x4d410a(0x12d))/0x6)+parseInt(_0x4d410a(0x105))/0x7+-parseInt(_0x4d410a(0x13c))/0x8*(-parseInt(_0x4d410a(0x137))/0x9)+parseInt(_0x4d410a(0x118))/0xa+-parseInt(_0x4d410a(0x11e))/0xb*(parseInt(_0x4d410a(0x138))/0xc);if(_0x1a7114===_0x3e8aae)break;else _0x439a06['push'](_0x439a06['shift']());}catch(_0x3c615a){_0x439a06['push'](_0x439a06['shift']());}}}(a41_0x4829,0x396a3));import a41_0x3dad82 from'ol/format/EsriJSON';import a41_0x46717f from'ol/source/Vector';import{Vector as a41_0x3f737d}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x18f3db}from'ol/loadingstrategy';import a41_0x4a20f4 from'ol/layer/Group';function a41_0x2521(_0x315a72,_0x454f80){const _0x4829a6=a41_0x4829();return a41_0x2521=function(_0x2521dc,_0x1632a3){_0x2521dc=_0x2521dc-0x103;let _0xcf2a8c=_0x4829a6[_0x2521dc];return _0xcf2a8c;},a41_0x2521(_0x315a72,_0x454f80);}import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x1b581f from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x4a20f4{constructor(_0xf28e92,_0x4dc46b,_0x272034){const _0x264de4=a41_0x2521,_0x24b4d1=[_0x4dc46b[_0x264de4(0x128)]['xmin'],_0x4dc46b[_0x264de4(0x128)][_0x264de4(0x131)],_0x4dc46b['initialExtent'][_0x264de4(0x116)],_0x4dc46b[_0x264de4(0x128)][_0x264de4(0x123)]],_0x31f5fb=[_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x133)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x131)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x116)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x123)]];let _0x54fad8;_0x4dc46b['spatialReference']['wkid']?_0x54fad8=registerProj('EPSG:'+_0x4dc46b[_0x264de4(0x10a)]['wkid'],_0x31f5fb):_0x54fad8=registerProj(_0x4dc46b[_0x264de4(0x10a)][_0x264de4(0x115)],_0x31f5fb);let _0xd59e70=[];super({'zIndex':_0xf28e92[_0x264de4(0x106)]});for(let _0x5e65eb of _0x272034){let _0x416724=this[_0x264de4(0x122)](_0xf28e92,_0x5e65eb);_0xd59e70[_0x264de4(0x112)](_0x416724);}this[_0x264de4(0x129)](new a41_0x1b581f(_0xd59e70)),this['id']=_0xf28e92['id'],this['initialExtent']=_0x24b4d1,this[_0x264de4(0x124)]=_0x54fad8,this[_0x264de4(0x13d)]=_0xf28e92;}[a41_0x1aae84(0x122)](_0x19af97,_0x16c52d){const _0x53b480=a41_0x1aae84;var _0xb1de27=new a41_0x3dad82();let _0x128ed1=new a41_0x46717f({'loader':function(_0x3a728f,_0xac6311,_0x16b5e3){const _0x8dad53=a41_0x2521;let _0x3f9588=_0x8dad53(0x10d);_0x19af97[_0x8dad53(0x107)]&&(_0x3f9588=typeof _0x19af97[_0x8dad53(0x107)]===_0x8dad53(0x126)?_0x19af97[_0x8dad53(0x107)]:JSON[_0x8dad53(0x10e)](_0x19af97['loadFilter']));let _0x3bbc45=_0x16b5e3[_0x8dad53(0x11a)](),_0x552d3b=_0x3bbc45[_0x8dad53(0x11c)](':')[0x1];var _0x59e6fc=appendPath(_0x16c52d[_0x8dad53(0x119)],_0x8dad53(0x12e));_0x59e6fc=appendParam(_0x59e6fc,_0x8dad53(0x127)+'where='+encodeURIComponent(_0x3f9588)+_0x8dad53(0x111)+encodeURIComponent(_0x8dad53(0x125)+_0x3a728f[0x0]+_0x8dad53(0x132)+_0x3a728f[0x1]+',\x22xmax\x22:'+_0x3a728f[0x2]+',\x22ymax\x22:'+_0x3a728f[0x3]+_0x8dad53(0x10f)+_0x552d3b+'}}')+_0x8dad53(0x13b)+_0x552d3b+'&outFields=*'+'&outSR='+_0x552d3b),jsonp(_0x59e6fc)[_0x8dad53(0x10c)](_0x12a878=>{const _0x414560=_0x8dad53;if(_0x12a878['error'])console[_0x414560(0x114)](_0x12a878);else{var _0x22f5f4=_0xb1de27[_0x414560(0x121)](_0x12a878,{'featureProjection':_0x16b5e3});_0x22f5f4[_0x414560(0x113)]>0x0&&(_0x16c52d['drawingInfo'][_0x414560(0x12b)][_0x414560(0x108)]==_0x414560(0x13e)&&_0x22f5f4[_0x414560(0x11f)](function(_0x32f261){const _0x1bd025=_0x414560;var _0x1fc2c1=_0x32f261[_0x1bd025(0x135)](_0x16c52d[_0x1bd025(0x103)][_0x1bd025(0x12b)][_0x1bd025(0x13a)]);const _0x18f1b1=_0x16c52d[_0x1bd025(0x103)]['renderer'][_0x1bd025(0x109)][_0x1bd025(0x120)](_0x34955b=>_0x34955b[_0x1bd025(0x11b)]==_0x1fc2c1);let _0x25ecc5;_0x18f1b1?_0x25ecc5=transformedEsriStyle(_0x18f1b1[_0x1bd025(0x134)]):_0x25ecc5=transformedEsriStyle(_0x16c52d[_0x1bd025(0x103)][_0x1bd025(0x12b)][_0x1bd025(0x11d)]),_0x32f261['setStyle'](_0x25ecc5);}),_0x128ed1[_0x414560(0x12a)](_0x22f5f4));}});},'strategy':a41_0x18f3db(createXYZ({'tileSize':0x200}))}),_0x1e3b87=new a41_0x3f737d({'source':_0x128ed1,'zIndex':_0x19af97[_0x53b480(0x12c)]});if(_0x16c52d[_0x53b480(0x103)]['renderer'][_0x53b480(0x108)]==_0x53b480(0x117)&&_0x16c52d[_0x53b480(0x103)][_0x53b480(0x12b)]['symbol']){let _0x13f0af=transformedEsriStyle(_0x16c52d[_0x53b480(0x103)][_0x53b480(0x12b)][_0x53b480(0x134)]);_0x1e3b87[_0x53b480(0x104)](_0x13f0af);}return _0x1e3b87;}[a41_0x1aae84(0x110)](_0x40e089){this['layerInfo']['loadFilter']=_0x40e089;}}
1
+ const a41_0x192a14=a41_0x1c4f;(function(_0x25bf92,_0x4624e6){const _0x498131=a41_0x1c4f,_0x3b25ff=_0x25bf92();while(!![]){try{const _0x1bbf6d=-parseInt(_0x498131(0xaa))/0x1+-parseInt(_0x498131(0x93))/0x2+-parseInt(_0x498131(0x98))/0x3+parseInt(_0x498131(0x92))/0x4*(parseInt(_0x498131(0xb0))/0x5)+parseInt(_0x498131(0x8c))/0x6*(parseInt(_0x498131(0x8a))/0x7)+parseInt(_0x498131(0x84))/0x8+parseInt(_0x498131(0x7f))/0x9*(parseInt(_0x498131(0x81))/0xa);if(_0x1bbf6d===_0x4624e6)break;else _0x3b25ff['push'](_0x3b25ff['shift']());}catch(_0x50b0ba){_0x3b25ff['push'](_0x3b25ff['shift']());}}}(a41_0x42b5,0x4931f));import a41_0x1466f7 from'ol/format/EsriJSON';import a41_0x29afb5 from'ol/source/Vector';import{Vector as a41_0x16197c}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x2c1c5b}from'ol/loadingstrategy';import a41_0x5cab68 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';function a41_0x42b5(){const _0x292d32=['36Mdsbpc','projection','573510eDEMCV','setFilter','find','4648680zXBrxA','fullExtent','/query','ymin','&geometryType=esriGeometryEnvelope&inSR=','ymax','875VGmuYa','drawingInfo','12450VDZrAa','uniqueValueInfos','split','createArcGISFeatureLayer','push','defaultSymbol','1489604BPjIbX','449448ZMFTld','initialExtent','showIndex','error','wkt','1323342sibXdy','f\x20=\x20json\x20&\x20','&outSR=','xmin','field1',',\x22ymin\x22:',',\x22xmax\x22:','spatialReference','wkid','simple','{\x22xmin\x22:','xmax','setStyle','symbol','&outFields=*','1=1','uniqueValue','renderer','476620jmVjGi','layerInfo','log','readFeatures','loadFilter','value','5oitUIG','string','EPSG:','url',',\x22ymax\x22:'];a41_0x42b5=function(){return _0x292d32;};return a41_0x42b5();}function a41_0x1c4f(_0x2775ce,_0x23861d){const _0x42b5f6=a41_0x42b5();return a41_0x1c4f=function(_0x1c4fe1,_0x13c923){_0x1c4fe1=_0x1c4fe1-0x7f;let _0x1d812a=_0x42b5f6[_0x1c4fe1];return _0x1d812a;},a41_0x1c4f(_0x2775ce,_0x23861d);}import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x4fe052 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x5cab68{constructor(_0x2d05c8,_0x3e8fdf,_0x1581d){const _0x37437b=a41_0x1c4f,_0x2c25ac=[_0x3e8fdf[_0x37437b(0x94)][_0x37437b(0x9b)],_0x3e8fdf[_0x37437b(0x94)][_0x37437b(0x87)],_0x3e8fdf[_0x37437b(0x94)]['xmax'],_0x3e8fdf[_0x37437b(0x94)][_0x37437b(0x89)]],_0xeed507=[_0x3e8fdf[_0x37437b(0x85)][_0x37437b(0x9b)],_0x3e8fdf['fullExtent'][_0x37437b(0x87)],_0x3e8fdf['fullExtent'][_0x37437b(0xa3)],_0x3e8fdf[_0x37437b(0x85)][_0x37437b(0x89)]];let _0x4a24b2;_0x3e8fdf[_0x37437b(0x9f)][_0x37437b(0xa0)]?_0x4a24b2=registerProj(_0x37437b(0xb2)+_0x3e8fdf['spatialReference'][_0x37437b(0xa0)],_0xeed507):_0x4a24b2=registerProj(_0x3e8fdf[_0x37437b(0x9f)][_0x37437b(0x97)],_0xeed507);let _0xe9fe58=[];super({'zIndex':_0x2d05c8['mapIndex']});for(let _0x1a16e3 of _0x1581d){let _0x28b98e=this[_0x37437b(0x8f)](_0x2d05c8,_0x1a16e3);_0xe9fe58[_0x37437b(0x90)](_0x28b98e);}this['setLayers'](new a41_0x4fe052(_0xe9fe58)),this['id']=_0x2d05c8['id'],this[_0x37437b(0x94)]=_0x2c25ac,this[_0x37437b(0x80)]=_0x4a24b2,this['layerInfo']=_0x2d05c8;}[a41_0x192a14(0x8f)](_0x3e66ba,_0x5b12ed){const _0x59738e=a41_0x192a14;var _0x26491c=new a41_0x1466f7();let _0x13e1d2=new a41_0x29afb5({'loader':function(_0x542dd9,_0x5f265f,_0x33b820){const _0x1fcc7f=a41_0x1c4f;let _0x1e0750=_0x1fcc7f(0xa7);_0x3e66ba[_0x1fcc7f(0xae)]&&(_0x1e0750=typeof _0x3e66ba[_0x1fcc7f(0xae)]===_0x1fcc7f(0xb1)?_0x3e66ba[_0x1fcc7f(0xae)]:JSON['stringify'](_0x3e66ba[_0x1fcc7f(0xae)]));let _0xe89577=_0x33b820['getCode'](),_0x297474=_0xe89577[_0x1fcc7f(0x8e)](':')[0x1];var _0x325e76=appendPath(_0x5b12ed[_0x1fcc7f(0xb3)],_0x1fcc7f(0x86));_0x325e76=appendParam(_0x325e76,_0x1fcc7f(0x99)+'where='+encodeURIComponent(_0x1e0750)+'returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry='+encodeURIComponent(_0x1fcc7f(0xa2)+_0x542dd9[0x0]+_0x1fcc7f(0x9d)+_0x542dd9[0x1]+_0x1fcc7f(0x9e)+_0x542dd9[0x2]+_0x1fcc7f(0xb4)+_0x542dd9[0x3]+',\x22spatialReference\x22:{\x22wkid\x22:'+_0x297474+'}}')+_0x1fcc7f(0x88)+_0x297474+_0x1fcc7f(0xa6)+_0x1fcc7f(0x9a)+_0x297474),jsonp(_0x325e76)['then'](_0x1836a1=>{const _0x5dc27c=_0x1fcc7f;if(_0x1836a1[_0x5dc27c(0x96)])console[_0x5dc27c(0xac)](_0x1836a1);else{var _0x576354=_0x26491c[_0x5dc27c(0xad)](_0x1836a1,{'featureProjection':_0x33b820});_0x576354['length']>0x0&&(_0x5b12ed[_0x5dc27c(0x8b)][_0x5dc27c(0xa9)]['type']==_0x5dc27c(0xa8)&&_0x576354['forEach'](function(_0x3ae64e){const _0x11bacb=_0x5dc27c;var _0x3966a3=_0x3ae64e['get'](_0x5b12ed[_0x11bacb(0x8b)]['renderer'][_0x11bacb(0x9c)]);const _0x5ca00c=_0x5b12ed['drawingInfo']['renderer'][_0x11bacb(0x8d)][_0x11bacb(0x83)](_0x5cb766=>_0x5cb766[_0x11bacb(0xaf)]==_0x3966a3);let _0x197ec3;_0x5ca00c?_0x197ec3=transformedEsriStyle(_0x5ca00c[_0x11bacb(0xa5)]):_0x197ec3=transformedEsriStyle(_0x5b12ed[_0x11bacb(0x8b)]['renderer'][_0x11bacb(0x91)]),_0x3ae64e[_0x11bacb(0xa4)](_0x197ec3);}),_0x13e1d2['addFeatures'](_0x576354));}});},'strategy':a41_0x2c1c5b(createXYZ({'tileSize':0x200}))}),_0x2a05c2=new a41_0x16197c({'source':_0x13e1d2,'zIndex':_0x3e66ba[_0x59738e(0x95)]});if(_0x5b12ed[_0x59738e(0x8b)][_0x59738e(0xa9)]['type']==_0x59738e(0xa1)&&_0x5b12ed[_0x59738e(0x8b)][_0x59738e(0xa9)][_0x59738e(0xa5)]){let _0x3919e4=transformedEsriStyle(_0x5b12ed[_0x59738e(0x8b)][_0x59738e(0xa9)][_0x59738e(0xa5)]);_0x2a05c2[_0x59738e(0xa4)](_0x3919e4);}return _0x2a05c2;}[a41_0x192a14(0x82)](_0x546c03){const _0x5d6460=a41_0x192a14;this[_0x5d6460(0xab)][_0x5d6460(0xae)]=_0x546c03;}}
@@ -1 +1 @@
1
- (function(_0x59ae89,_0x42143e){const _0x25cbd4=a42_0x3e56,_0x16b3be=_0x59ae89();while(!![]){try{const _0x167d40=parseInt(_0x25cbd4(0x178))/0x1*(parseInt(_0x25cbd4(0x176))/0x2)+-parseInt(_0x25cbd4(0x190))/0x3*(-parseInt(_0x25cbd4(0x181))/0x4)+-parseInt(_0x25cbd4(0x182))/0x5*(-parseInt(_0x25cbd4(0x18b))/0x6)+-parseInt(_0x25cbd4(0x187))/0x7+parseInt(_0x25cbd4(0x186))/0x8+-parseInt(_0x25cbd4(0x183))/0x9+parseInt(_0x25cbd4(0x193))/0xa;if(_0x167d40===_0x42143e)break;else _0x16b3be['push'](_0x16b3be['shift']());}catch(_0x3914ba){_0x16b3be['push'](_0x16b3be['shift']());}}}(a42_0x434e,0xc80fa));import a42_0x185fd0 from'ol/layer/Tile';import a42_0x21df88 from'ol/source/XYZ';import a42_0x433e05 from'ol/tilegrid/TileGrid';function a42_0x434e(){const _0x157c36=['396FDsufD','123665GZhmSC','12422214ojDBks','mapIndex','layerInfo','2487040hgbheM','9596643UwRHtz','projection','xmin','initialExtent','36VQdTEj','tileInfo','xmax','wkid','length','32328OIEHeI','rows','anonymous','11324190XuFCPu','resolution','lods','origin','49304czfPIv','ymax','37TigLZm','fullExtent','/tile/{z}/{y}/{x}','url','spatialReference','cols','push','ymin','wkt'];a42_0x434e=function(){return _0x157c36;};return a42_0x434e();}function a42_0x3e56(_0x310da8,_0x32f6dc){const _0x434efc=a42_0x434e();return a42_0x3e56=function(_0x3e56f1,_0x44b6bf){_0x3e56f1=_0x3e56f1-0x175;let _0x165c3b=_0x434efc[_0x3e56f1];return _0x165c3b;},a42_0x3e56(_0x310da8,_0x32f6dc);}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x185fd0{constructor(_0x45c5b8,_0x39bc9d){const _0xcd34be=a42_0x3e56,_0x123ec7=_0x45c5b8[_0xcd34be(0x17b)]?_0x45c5b8[_0xcd34be(0x17b)]:'',_0x72148c=appendPath(_0x123ec7,_0xcd34be(0x17a)),_0x3c9cb9=[_0x39bc9d[_0xcd34be(0x18a)][_0xcd34be(0x189)],_0x39bc9d[_0xcd34be(0x18a)][_0xcd34be(0x17f)],_0x39bc9d[_0xcd34be(0x18a)]['xmax'],_0x39bc9d['initialExtent']['ymax']],_0x853c05=[_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x189)],_0x39bc9d['fullExtent']['ymin'],_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x18d)],_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x177)]];let _0x4c854f;_0x39bc9d[_0xcd34be(0x17c)][_0xcd34be(0x18e)]?_0x4c854f=registerProj('EPSG:'+_0x39bc9d[_0xcd34be(0x17c)]['wkid'],_0x853c05):_0x4c854f=registerProj(_0x39bc9d[_0xcd34be(0x17c)][_0xcd34be(0x180)],_0x853c05);let _0x5c709c=[];for(let _0x55ce88=0x0,_0x5bcee1=_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x195)][_0xcd34be(0x18f)];_0x55ce88<_0x5bcee1;_0x55ce88++){_0x5c709c[_0xcd34be(0x17e)](_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x195)][_0x55ce88][_0xcd34be(0x194)]);}super({'opacity':_0x45c5b8['opacity'],'zIndex':_0x45c5b8[_0xcd34be(0x184)],'maxResolution':_0x5c709c[0x0]*0x2,'source':new a42_0x21df88({'url':_0x72148c,'projection':_0x4c854f,'crossOrigin':_0xcd34be(0x192),'tileGrid':new a42_0x433e05({'extent':_0x853c05,'origin':[_0x39bc9d['tileInfo'][_0xcd34be(0x175)]['x'],_0x39bc9d[_0xcd34be(0x18c)]['origin']['y']],'resolutions':_0x5c709c,'tileSize':[_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x191)],_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x17d)]]})})}),this['id']=_0x45c5b8['id'],this[_0xcd34be(0x18a)]=_0x3c9cb9,this[_0xcd34be(0x188)]=_0x4c854f,this[_0xcd34be(0x185)]=_0x45c5b8;}}
1
+ (function(_0x56792b,_0x4fe88f){const _0x1a7a0c=a42_0x24f5,_0x389baa=_0x56792b();while(!![]){try{const _0x381970=parseInt(_0x1a7a0c(0x18e))/0x1*(parseInt(_0x1a7a0c(0x1a3))/0x2)+parseInt(_0x1a7a0c(0x18a))/0x3*(-parseInt(_0x1a7a0c(0x194))/0x4)+parseInt(_0x1a7a0c(0x193))/0x5+-parseInt(_0x1a7a0c(0x195))/0x6*(-parseInt(_0x1a7a0c(0x1a5))/0x7)+parseInt(_0x1a7a0c(0x19e))/0x8*(parseInt(_0x1a7a0c(0x1a4))/0x9)+-parseInt(_0x1a7a0c(0x199))/0xa*(-parseInt(_0x1a7a0c(0x188))/0xb)+-parseInt(_0x1a7a0c(0x19a))/0xc;if(_0x381970===_0x4fe88f)break;else _0x389baa['push'](_0x389baa['shift']());}catch(_0x16494c){_0x389baa['push'](_0x389baa['shift']());}}}(a42_0x1682,0xce822));import a42_0x5876b9 from'ol/layer/Tile';import a42_0x387bc3 from'ol/source/XYZ';import a42_0x24bf8e from'ol/tilegrid/TileGrid';function a42_0x24f5(_0x357a05,_0x16e015){const _0x16826f=a42_0x1682();return a42_0x24f5=function(_0x24f5a9,_0xb49c62){_0x24f5a9=_0x24f5a9-0x188;let _0x4c7122=_0x16826f[_0x24f5a9];return _0x4c7122;},a42_0x24f5(_0x357a05,_0x16e015);}function a42_0x1682(){const _0x295115=['lods','mapIndex','ymax','10EUbfLi','24926064SIroID','layerInfo','cols','EPSG:','658024mIdLJo','wkid','url','spatialReference','anonymous','296546XfiZeE','9lQzeWu','10690484GJRIbz','wkt','12919489InMaeC','initialExtent','15CUMPCc','tileInfo','xmax','xmin','5rLPGOk','fullExtent','opacity','length','resolution','1738280efynQi','759964oCPCVM','6BEmrwj'];a42_0x1682=function(){return _0x295115;};return a42_0x1682();}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x5876b9{constructor(_0x1e5683,_0x1e6f9c){const _0x2d4084=a42_0x24f5,_0x8a3bd5=_0x1e5683[_0x2d4084(0x1a0)]?_0x1e5683[_0x2d4084(0x1a0)]:'',_0x13338a=appendPath(_0x8a3bd5,'/tile/{z}/{y}/{x}'),_0x3c9825=[_0x1e6f9c[_0x2d4084(0x189)][_0x2d4084(0x18d)],_0x1e6f9c['initialExtent']['ymin'],_0x1e6f9c[_0x2d4084(0x189)][_0x2d4084(0x18c)],_0x1e6f9c[_0x2d4084(0x189)]['ymax']],_0x1b1575=[_0x1e6f9c[_0x2d4084(0x18f)][_0x2d4084(0x18d)],_0x1e6f9c[_0x2d4084(0x18f)]['ymin'],_0x1e6f9c[_0x2d4084(0x18f)][_0x2d4084(0x18c)],_0x1e6f9c[_0x2d4084(0x18f)][_0x2d4084(0x198)]];let _0x4d6704;_0x1e6f9c[_0x2d4084(0x1a1)][_0x2d4084(0x19f)]?_0x4d6704=registerProj(_0x2d4084(0x19d)+_0x1e6f9c[_0x2d4084(0x1a1)][_0x2d4084(0x19f)],_0x1b1575):_0x4d6704=registerProj(_0x1e6f9c[_0x2d4084(0x1a1)][_0x2d4084(0x1a6)],_0x1b1575);let _0x2b8e1c=[];for(let _0x37be7f=0x0,_0x29bedc=_0x1e6f9c['tileInfo'][_0x2d4084(0x196)][_0x2d4084(0x191)];_0x37be7f<_0x29bedc;_0x37be7f++){_0x2b8e1c['push'](_0x1e6f9c['tileInfo'][_0x2d4084(0x196)][_0x37be7f][_0x2d4084(0x192)]);}super({'opacity':_0x1e5683[_0x2d4084(0x190)],'zIndex':_0x1e5683[_0x2d4084(0x197)],'maxResolution':_0x2b8e1c[0x0]*0x2,'source':new a42_0x387bc3({'url':_0x13338a,'projection':_0x4d6704,'crossOrigin':_0x2d4084(0x1a2),'tileGrid':new a42_0x24bf8e({'extent':_0x1b1575,'origin':[_0x1e6f9c[_0x2d4084(0x18b)]['origin']['x'],_0x1e6f9c['tileInfo']['origin']['y']],'resolutions':_0x2b8e1c,'tileSize':[_0x1e6f9c['tileInfo']['rows'],_0x1e6f9c[_0x2d4084(0x18b)][_0x2d4084(0x19c)]]})})}),this['id']=_0x1e5683['id'],this['initialExtent']=_0x3c9825,this['projection']=_0x4d6704,this[_0x2d4084(0x19b)]=_0x1e5683;}}
@@ -1 +1 @@
1
- const a43_0x26bc3c=a43_0x1c62;function a43_0x1c62(_0x2f7c45,_0x33dd82){const _0x1f2b66=a43_0x1f2b();return a43_0x1c62=function(_0x1c620d,_0x4e096e){_0x1c620d=_0x1c620d-0x158;let _0x5d264c=_0x1f2b66[_0x1c620d];return _0x5d264c;},a43_0x1c62(_0x2f7c45,_0x33dd82);}(function(_0x29c866,_0x39a800){const _0x290a25=a43_0x1c62,_0x234e6b=_0x29c866();while(!![]){try{const _0x446ca7=-parseInt(_0x290a25(0x15d))/0x1*(-parseInt(_0x290a25(0x15a))/0x2)+parseInt(_0x290a25(0x165))/0x3+-parseInt(_0x290a25(0x16d))/0x4+-parseInt(_0x290a25(0x16a))/0x5*(parseInt(_0x290a25(0x167))/0x6)+-parseInt(_0x290a25(0x16c))/0x7+parseInt(_0x290a25(0x164))/0x8*(-parseInt(_0x290a25(0x159))/0x9)+parseInt(_0x290a25(0x160))/0xa;if(_0x446ca7===_0x39a800)break;else _0x234e6b['push'](_0x234e6b['shift']());}catch(_0xaad853){_0x234e6b['push'](_0x234e6b['shift']());}}}(a43_0x1f2b,0x233fe));import{ImageWMS as a43_0x47879b}from'ol/source';import{Image as a43_0x742de3}from'ol/layer';function a43_0x1f2b(){const _0x571e69=['15TkiMFH','sublayers','updateParams','3165680SHRJkU','refresh','wkid','initExtent','16eYtUqN','35790DBDuAG','url','1182ApmthH','join','opacity','1810WpGBhB','layerInfo','134302hXcnmg','387152syioAe','setFilter','593091ZQshQv','17996DyOuyQ','EPSG:','anonymous'];a43_0x1f2b=function(){return _0x571e69;};return a43_0x1f2b();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x742de3{constructor(_0x5df364,_0x2136e6){const _0x17e2ea=a43_0x1c62;var _0x3a6930;let _0x2649f5=registerProj(_0x17e2ea(0x15b)+_0x2136e6[_0x17e2ea(0x162)],undefined),_0x570ab5={'LAYERS':(_0x3a6930=_0x5df364[_0x17e2ea(0x15e)])===null||_0x3a6930===void 0x0?void 0x0:_0x3a6930[_0x17e2ea(0x168)](','),'VERSION':'1.1.0'};_0x5df364['loadFilter']&&(_0x570ab5['CQL_FILTER']=_0x5df364['loadFilter']),super({'opacity':_0x5df364[_0x17e2ea(0x169)],'zIndex':_0x5df364['mapIndex'],'source':new a43_0x47879b({'crossOrigin':_0x17e2ea(0x15c),'url':_0x5df364[_0x17e2ea(0x166)],'params':_0x570ab5})}),this['id']=_0x5df364['id'],this['initialExtent']=_0x2136e6[_0x17e2ea(0x163)],this['projection']=_0x2649f5,this[_0x17e2ea(0x16b)]=_0x5df364;}[a43_0x26bc3c(0x161)](){}[a43_0x26bc3c(0x158)](_0x17abaf){const _0x3f29e0=a43_0x26bc3c;var _0x448d6f;(_0x448d6f=this['getSource']())===null||_0x448d6f===void 0x0?void 0x0:_0x448d6f[_0x3f29e0(0x15f)]({'CQL_FILTER':_0x17abaf});}}
1
+ const a43_0x2d7503=a43_0x32ac;(function(_0x184878,_0x311fe3){const _0xa74773=a43_0x32ac,_0x2ff773=_0x184878();while(!![]){try{const _0x53e0a5=parseInt(_0xa74773(0x12f))/0x1+-parseInt(_0xa74773(0x12e))/0x2*(-parseInt(_0xa74773(0x12a))/0x3)+-parseInt(_0xa74773(0x13b))/0x4+-parseInt(_0xa74773(0x131))/0x5*(-parseInt(_0xa74773(0x13a))/0x6)+parseInt(_0xa74773(0x135))/0x7*(parseInt(_0xa74773(0x137))/0x8)+parseInt(_0xa74773(0x127))/0x9*(parseInt(_0xa74773(0x134))/0xa)+-parseInt(_0xa74773(0x125))/0xb;if(_0x53e0a5===_0x311fe3)break;else _0x2ff773['push'](_0x2ff773['shift']());}catch(_0x49feee){_0x2ff773['push'](_0x2ff773['shift']());}}}(a43_0x11af,0x8749a));function a43_0x32ac(_0x1a18eb,_0x22976f){const _0x11af04=a43_0x11af();return a43_0x32ac=function(_0x32acc4,_0x21102b){_0x32acc4=_0x32acc4-0x125;let _0x17a023=_0x11af04[_0x32acc4];return _0x17a023;},a43_0x32ac(_0x1a18eb,_0x22976f);}import{ImageWMS as a43_0x3a2261}from'ol/source';import{Image as a43_0x581e91}from'ol/layer';function a43_0x11af(){const _0xf79330=['EPSG:','224223OaWBjq','mapIndex','layerInfo','url','6NwKRFC','351277hToDkK','sublayers','25STTUGJ','wkid','CQL_FILTER','160ZBIumv','14BaWQca','getSource','960184KYmJlz','opacity','projection','1007166wSNero','810740npnlYW','11160116AyCXsj','setFilter','65547OROFUo','refresh'];a43_0x11af=function(){return _0xf79330;};return a43_0x11af();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x581e91{constructor(_0x244be0,_0x506ae4){const _0x3c568f=a43_0x32ac;var _0x1f8ef4;let _0x369dae=registerProj(_0x3c568f(0x129)+_0x506ae4[_0x3c568f(0x132)],undefined),_0xee644c={'LAYERS':(_0x1f8ef4=_0x244be0[_0x3c568f(0x130)])===null||_0x1f8ef4===void 0x0?void 0x0:_0x1f8ef4['join'](','),'VERSION':'1.1.0'};_0x244be0['loadFilter']&&(_0xee644c[_0x3c568f(0x133)]=_0x244be0['loadFilter']),super({'opacity':_0x244be0[_0x3c568f(0x138)],'zIndex':_0x244be0[_0x3c568f(0x12b)],'source':new a43_0x3a2261({'crossOrigin':'anonymous','url':_0x244be0[_0x3c568f(0x12d)],'params':_0xee644c})}),this['id']=_0x244be0['id'],this['initialExtent']=_0x506ae4['initExtent'],this[_0x3c568f(0x139)]=_0x369dae,this[_0x3c568f(0x12c)]=_0x244be0;}[a43_0x2d7503(0x128)](){}[a43_0x2d7503(0x126)](_0x3dedeb){const _0x441df8=a43_0x2d7503;var _0x43a9d5;(_0x43a9d5=this[_0x441df8(0x136)]())===null||_0x43a9d5===void 0x0?void 0x0:_0x43a9d5['updateParams']({'CQL_FILTER':_0x3dedeb});}}
@@ -1 +1 @@
1
- (function(_0x5b650d,_0x338c5c){const _0x456fb9=a44_0x3cf2,_0x39eda6=_0x5b650d();while(!![]){try{const _0x294310=-parseInt(_0x456fb9(0x1df))/0x1+parseInt(_0x456fb9(0x1cd))/0x2+-parseInt(_0x456fb9(0x1e5))/0x3+parseInt(_0x456fb9(0x1d5))/0x4*(parseInt(_0x456fb9(0x1cb))/0x5)+parseInt(_0x456fb9(0x1d4))/0x6*(parseInt(_0x456fb9(0x1d1))/0x7)+parseInt(_0x456fb9(0x1dc))/0x8+-parseInt(_0x456fb9(0x1cf))/0x9;if(_0x294310===_0x338c5c)break;else _0x39eda6['push'](_0x39eda6['shift']());}catch(_0x4338fa){_0x39eda6['push'](_0x39eda6['shift']());}}}(a44_0xd5a8,0xb23e0));import a44_0x2482bc from'ol/layer/Tile';function a44_0xd5a8(){const _0xd3e2e6=['101392ZrPoyJ','token','url','tileGrid','wkid','src','tileMatrixSet','9999104XchxQD','?http','getResolutions','871367OQipFZ','value','sublayers','layer','layerInfo','mapIndex','2730570gXFFde','boundingBoxExtent','length','matrixSet','replace','initialExtent','EPSG:','requestEncoding','105DGvelK','getImage','650814crQxha','indexOf','8654310MMLBRc','opacity','9559368VDVKOG','projection','origins_','6ZfefDd'];a44_0xd5a8=function(){return _0xd3e2e6;};return a44_0xd5a8();}import a44_0x26c1ea,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x5d05f3 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a44_0x3cf2(_0x2231b4,_0x39e3d6){const _0xd5a87b=a44_0xd5a8();return a44_0x3cf2=function(_0x3cf2b5,_0x55ba3d){_0x3cf2b5=_0x3cf2b5-0x1c6;let _0x331b2f=_0xd5a87b[_0x3cf2b5];return _0x331b2f;},a44_0x3cf2(_0x2231b4,_0x39e3d6);}import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x2482bc{constructor(_0x3fb3a1,_0x489c7f){const _0x125a1e=a44_0x3cf2;var _0x10bbac;let _0x81a423='';_0x3fb3a1['sublayers']&&_0x3fb3a1[_0x125a1e(0x1e1)][_0x125a1e(0x1e7)]>0x0&&(_0x81a423=_0x3fb3a1['sublayers']['join'](','));const _0x481820=_0x125a1e(0x1c9)+_0x489c7f[_0x125a1e(0x1d9)];let _0x39b6f6=registerProj(_0x481820);const _0x1c660d=optionsFromCapabilities(_0x489c7f['sourceXml'],{'layer':(_0x10bbac=_0x3fb3a1['sublayers'])===null||_0x10bbac===void 0x0?void 0x0:_0x10bbac[0x0],'matrixSet':_0x489c7f[_0x125a1e(0x1db)],'format':'image/png'});let _0x3b6748=_0x1c660d[_0x125a1e(0x1d8)][_0x125a1e(0x1d3)][0x0];_0x3b6748[0x0]===0x5a&&_0x3b6748[0x1]===-0xb4&&(_0x3b6748=[_0x3b6748[0x1],_0x3b6748[0x0]]),super({'opacity':_0x3fb3a1[_0x125a1e(0x1d0)],'zIndex':_0x3fb3a1[_0x125a1e(0x1e4)],'source':new a44_0x26c1ea({'urls':_0x1c660d['urls'],'requestEncoding':_0x1c660d[_0x125a1e(0x1ca)],'layer':_0x1c660d[_0x125a1e(0x1e2)],'tileLoadFunction':function(_0x590346,_0x5cb4aa){const _0x9635f2=_0x125a1e,_0x3e3d81=_0x3fb3a1[_0x9635f2(0x1d7)]?_0x3fb3a1[_0x9635f2(0x1d7)]:'';let _0x4b54ed=getUrlParams(_0x3e3d81);if((_0x4b54ed===null||_0x4b54ed===void 0x0?void 0x0:_0x4b54ed[_0x9635f2(0x1e7)])>0x0)for(let _0x413af2 of _0x4b54ed){_0x5cb4aa=addArgument(_0x5cb4aa,_0x413af2['name'],_0x413af2[_0x9635f2(0x1e0)]);}let _0x435317=_0x5cb4aa[_0x9635f2(0x1ce)](_0x9635f2(0x1dd));_0x435317!==-0x1?_0x5cb4aa[_0x9635f2(0x1ce)](_0x9635f2(0x1d6))===-0x1&&_0x5cb4aa['indexOf']('tk')===-0x1?_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa[_0x9635f2(0x1c7)]('&','?'):_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa:_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa;},'matrixSet':_0x1c660d[_0x125a1e(0x1c6)],'format':_0x1c660d['format'],'projection':_0x1c660d[_0x125a1e(0x1d2)],'tileGrid':new a44_0x5d05f3({'origin':_0x3b6748,'resolutions':_0x1c660d[_0x125a1e(0x1d8)][_0x125a1e(0x1de)](),'matrixIds':_0x1c660d[_0x125a1e(0x1d8)]['getMatrixIds'](),'extent':_0x489c7f[_0x125a1e(0x1e6)]}),'style':_0x489c7f['style'],'wrapX':!![]})}),this['id']=_0x3fb3a1['id'],this[_0x125a1e(0x1c8)]=_0x489c7f['boundingBoxExtent'],this['projection']=_0x39b6f6,this[_0x125a1e(0x1e3)]=_0x3fb3a1;}}
1
+ function a44_0x23c2(){const _0x5371f6=['replace','sourceXml','301nIHjrI','1049964JbKlqP','4637585nhIKrz','12xzZWkp','layerInfo','getMatrixIds','image/png','token','initialExtent','matrixSet','tileGrid','projection','requestEncoding','join','EPSG:','indexOf','getResolutions','tileMatrixSet','wkid','length','urls','2182248vFZIUf','getImage','name','7637139NXuIfk','115592BcAxeM','549296lSZNfg','url','format','7221048qWossH','src','sublayers'];a44_0x23c2=function(){return _0x5371f6;};return a44_0x23c2();}(function(_0x2417e3,_0x1d08ef){const _0x2fea19=a44_0x5156,_0x555893=_0x2417e3();while(!![]){try{const _0x4931b8=-parseInt(_0x2fea19(0x1ba))/0x1+-parseInt(_0x2fea19(0x1b5))/0x2+-parseInt(_0x2fea19(0x1a1))/0x3*(-parseInt(_0x2fea19(0x1a3))/0x4)+parseInt(_0x2fea19(0x1a2))/0x5+-parseInt(_0x2fea19(0x1bd))/0x6+-parseInt(_0x2fea19(0x1a0))/0x7*(-parseInt(_0x2fea19(0x1b9))/0x8)+parseInt(_0x2fea19(0x1b8))/0x9;if(_0x4931b8===_0x1d08ef)break;else _0x555893['push'](_0x555893['shift']());}catch(_0x1e2cd9){_0x555893['push'](_0x555893['shift']());}}}(a44_0x23c2,0x93527));import a44_0x485092 from'ol/layer/Tile';import a44_0x394533,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x3b5581 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';function a44_0x5156(_0xe763e3,_0x240649){const _0x23c27f=a44_0x23c2();return a44_0x5156=function(_0x515614,_0x39a831){_0x515614=_0x515614-0x19d;let _0x32eebe=_0x23c27f[_0x515614];return _0x32eebe;},a44_0x5156(_0xe763e3,_0x240649);}export default class ArcgisWMTSLayer extends a44_0x485092{constructor(_0x992e6a,_0x18e586){const _0x2bf3b7=a44_0x5156;var _0x469e9f;let _0x527aa5='';_0x992e6a['sublayers']&&_0x992e6a['sublayers'][_0x2bf3b7(0x1b3)]>0x0&&(_0x527aa5=_0x992e6a[_0x2bf3b7(0x19d)][_0x2bf3b7(0x1ad)](','));const _0xbea389=_0x2bf3b7(0x1ae)+_0x18e586[_0x2bf3b7(0x1b2)];let _0x2142d6=registerProj(_0xbea389);const _0x49a8a5=optionsFromCapabilities(_0x18e586[_0x2bf3b7(0x19f)],{'layer':(_0x469e9f=_0x992e6a[_0x2bf3b7(0x19d)])===null||_0x469e9f===void 0x0?void 0x0:_0x469e9f[0x0],'matrixSet':_0x18e586[_0x2bf3b7(0x1b1)],'format':_0x2bf3b7(0x1a6)});let _0x41c490=_0x49a8a5['tileGrid']['origins_'][0x0];_0x41c490[0x0]===0x5a&&_0x41c490[0x1]===-0xb4&&(_0x41c490=[_0x41c490[0x1],_0x41c490[0x0]]),super({'opacity':_0x992e6a['opacity'],'zIndex':_0x992e6a['mapIndex'],'source':new a44_0x394533({'urls':_0x49a8a5[_0x2bf3b7(0x1b4)],'requestEncoding':_0x49a8a5[_0x2bf3b7(0x1ac)],'layer':_0x49a8a5['layer'],'tileLoadFunction':function(_0x2a4a25,_0x143c7a){const _0x48bf78=_0x2bf3b7,_0x3ff74f=_0x992e6a[_0x48bf78(0x1bb)]?_0x992e6a[_0x48bf78(0x1bb)]:'';let _0x2a04f0=getUrlParams(_0x3ff74f);if((_0x2a04f0===null||_0x2a04f0===void 0x0?void 0x0:_0x2a04f0[_0x48bf78(0x1b3)])>0x0)for(let _0x3d49de of _0x2a04f0){_0x143c7a=addArgument(_0x143c7a,_0x3d49de[_0x48bf78(0x1b7)],_0x3d49de['value']);}let _0x1fc842=_0x143c7a[_0x48bf78(0x1af)]('?http');_0x1fc842!==-0x1?_0x143c7a[_0x48bf78(0x1af)](_0x48bf78(0x1a7))===-0x1&&_0x143c7a['indexOf']('tk')===-0x1?_0x2a4a25[_0x48bf78(0x1b6)]()[_0x48bf78(0x1be)]=_0x143c7a[_0x48bf78(0x19e)]('&','?'):_0x2a4a25[_0x48bf78(0x1b6)]()[_0x48bf78(0x1be)]=_0x143c7a:_0x2a4a25['getImage']()[_0x48bf78(0x1be)]=_0x143c7a;},'matrixSet':_0x49a8a5[_0x2bf3b7(0x1a9)],'format':_0x49a8a5[_0x2bf3b7(0x1bc)],'projection':_0x49a8a5[_0x2bf3b7(0x1ab)],'tileGrid':new a44_0x3b5581({'origin':_0x41c490,'resolutions':_0x49a8a5[_0x2bf3b7(0x1aa)][_0x2bf3b7(0x1b0)](),'matrixIds':_0x49a8a5[_0x2bf3b7(0x1aa)][_0x2bf3b7(0x1a5)](),'extent':_0x18e586['boundingBoxExtent']}),'style':_0x18e586['style'],'wrapX':!![]})}),this['id']=_0x992e6a['id'],this[_0x2bf3b7(0x1a8)]=_0x18e586['boundingBoxExtent'],this[_0x2bf3b7(0x1ab)]=_0x2142d6,this[_0x2bf3b7(0x1a4)]=_0x992e6a;}}
@@ -1 +1 @@
1
- function a45_0x3b1e(){const _0x106edb=['mapIndex','origins_','tileMatrixSet','url','getResolutions','EPSG:','7788eIogsi','258jlkZCc','style','3384056GnKEKh','459TLPxZI','{y}','layerInfo','WMTS','opacity','6216231IpWkJs','241736ijOMDj','1.0.0','1045jmHnMK','length','boundingBoxExtent','wkid','initialExtent','210040fGxeDk','{x}','projection','68652uIcTgt','sourceXml',':{z}','sublayers','tileGrid','9109RtmLJD','application/vnd.mapbox-vector-tile','toString','165lfQROG','24ppKNNL'];a45_0x3b1e=function(){return _0x106edb;};return a45_0x3b1e();}(function(_0x21ad1b,_0x380a7e){const _0x566e82=a45_0x1a78,_0x184158=_0x21ad1b();while(!![]){try{const _0x5ba835=parseInt(_0x566e82(0x169))/0x1*(parseInt(_0x566e82(0x151))/0x2)+parseInt(_0x566e82(0x16d))/0x3*(parseInt(_0x566e82(0x15a))/0x4)+parseInt(_0x566e82(0x16c))/0x5*(-parseInt(_0x566e82(0x164))/0x6)+parseInt(_0x566e82(0x159))/0x7+-parseInt(_0x566e82(0x153))/0x8+parseInt(_0x566e82(0x154))/0x9*(-parseInt(_0x566e82(0x161))/0xa)+-parseInt(_0x566e82(0x15c))/0xb*(parseInt(_0x566e82(0x150))/0xc);if(_0x5ba835===_0x380a7e)break;else _0x184158['push'](_0x184158['shift']());}catch(_0x80bbbd){_0x184158['push'](_0x184158['shift']());}}}(a45_0x3b1e,0x95afa));import a45_0x511629 from'ol/layer/VectorTile';import a45_0x4b27b4 from'ol/source/VectorTile';function a45_0x1a78(_0x51ef74,_0xc57e7d){const _0x3b1e45=a45_0x3b1e();return a45_0x1a78=function(_0x1a7863,_0x1a75c9){_0x1a7863=_0x1a7863-0x14d;let _0x1fc5b2=_0x3b1e45[_0x1a7863];return _0x1fc5b2;},a45_0x1a78(_0x51ef74,_0xc57e7d);}import a45_0x6ff717 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x2bc487 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0x511629{constructor(_0x4503d2,_0x2414b6){const _0x5a560d=a45_0x1a78;var _0x3187d8;let _0x1b6108=registerProj(_0x5a560d(0x14f)+_0x2414b6[_0x5a560d(0x15f)]);const _0x17b658=optionsFromCapabilities(_0x2414b6[_0x5a560d(0x165)],{'layer':(_0x3187d8=_0x4503d2['sublayers'])===null||_0x3187d8===void 0x0?void 0x0:_0x3187d8[0x0],'matrixSet':_0x2414b6[_0x5a560d(0x170)],'format':'image/png'});let _0x88895e=_0x4503d2[_0x5a560d(0x167)]&&_0x4503d2[_0x5a560d(0x167)][_0x5a560d(0x15d)]>0x0?_0x4503d2[_0x5a560d(0x167)][0x0]:'';const _0x1f5955={'REQUEST':'GetTile','SERVICE':_0x5a560d(0x157),'VERSION':_0x5a560d(0x15b),'LAYER':_0x88895e,'STYLE':_0x2414b6[_0x5a560d(0x152)][_0x5a560d(0x16b)](),'TILEMATRIX':_0x2414b6['tileMatrixSet']+_0x5a560d(0x166),'TILEMATRIXSET':_0x2414b6['tileMatrixSet'][_0x5a560d(0x16b)](),'FORMAT':_0x5a560d(0x16a),'TILECOL':_0x5a560d(0x162),'TILEROW':_0x5a560d(0x155)};let _0x7b10b9=_0x4503d2[_0x5a560d(0x14d)]?_0x4503d2[_0x5a560d(0x14d)]:'';for(const _0x363250 in _0x1f5955){_0x7b10b9=addArgument(_0x7b10b9,_0x363250,_0x1f5955[_0x363250]);}super({'opacity':_0x4503d2[_0x5a560d(0x158)],'zIndex':_0x4503d2[_0x5a560d(0x16e)],'declutter':!![],'source':new a45_0x4b27b4({'projection':_0x5a560d(0x14f)+_0x2414b6[_0x5a560d(0x15f)],'format':new a45_0x6ff717(),'wrapX':!![],'extent':_0x2414b6[_0x5a560d(0x15e)],'tileGrid':new a45_0x2bc487({'tileSize':_0x17b658[_0x5a560d(0x168)]['tileSizes_'][0x0],'origin':_0x17b658[_0x5a560d(0x168)][_0x5a560d(0x16f)][0x0],'resolutions':_0x17b658[_0x5a560d(0x168)][_0x5a560d(0x14e)](),'matrixIds':_0x17b658['tileGrid']['getMatrixIds']()}),'url':_0x7b10b9})}),this['id']=_0x4503d2['id'],this[_0x5a560d(0x160)]=_0x2414b6[_0x5a560d(0x15e)],this[_0x5a560d(0x163)]=_0x1b6108,this[_0x5a560d(0x156)]=_0x4503d2;}}
1
+ (function(_0x343048,_0x596bd5){const _0x1aec9c=a45_0x37fe,_0x129782=_0x343048();while(!![]){try{const _0x48c2bb=parseInt(_0x1aec9c(0x1fc))/0x1+-parseInt(_0x1aec9c(0x1fa))/0x2+-parseInt(_0x1aec9c(0x207))/0x3+-parseInt(_0x1aec9c(0x205))/0x4+-parseInt(_0x1aec9c(0x202))/0x5+-parseInt(_0x1aec9c(0x1f4))/0x6+parseInt(_0x1aec9c(0x1f0))/0x7;if(_0x48c2bb===_0x596bd5)break;else _0x129782['push'](_0x129782['shift']());}catch(_0x43a774){_0x129782['push'](_0x129782['shift']());}}}(a45_0x2bfb,0x4ea04));function a45_0x37fe(_0x6ad875,_0x5aa7d3){const _0x2bfbe6=a45_0x2bfb();return a45_0x37fe=function(_0x37fe49,_0x3078fe){_0x37fe49=_0x37fe49-0x1ef;let _0x31175c=_0x2bfbe6[_0x37fe49];return _0x31175c;},a45_0x37fe(_0x6ad875,_0x5aa7d3);}import a45_0x2bad98 from'ol/layer/VectorTile';import a45_0x1a7f68 from'ol/source/VectorTile';function a45_0x2bfb(){const _0x3bc3be=['3040512EWiruG','style','sourceXml','opacity','getResolutions','layerInfo','208202CpiCid','tileGrid','49475sneHVp','EPSG:','length','WMTS','url','image/png','2412985uwEhBQ','GetTile','sublayers','131832CihLBO','tileMatrixSet','957552XJYwbr','{x}','toString','wkid','12027183ftVtHC','{y}','boundingBoxExtent','1.0.0'];a45_0x2bfb=function(){return _0x3bc3be;};return a45_0x2bfb();}import a45_0x38f296 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x511150 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0x2bad98{constructor(_0x18b735,_0x410512){const _0x4d099d=a45_0x37fe;var _0x3c8076;let _0x5daed5=registerProj(_0x4d099d(0x1fd)+_0x410512[_0x4d099d(0x1ef)]);const _0x284585=optionsFromCapabilities(_0x410512[_0x4d099d(0x1f6)],{'layer':(_0x3c8076=_0x18b735['sublayers'])===null||_0x3c8076===void 0x0?void 0x0:_0x3c8076[0x0],'matrixSet':_0x410512['tileMatrixSet'],'format':_0x4d099d(0x201)});let _0x2460cf=_0x18b735[_0x4d099d(0x204)]&&_0x18b735['sublayers'][_0x4d099d(0x1fe)]>0x0?_0x18b735[_0x4d099d(0x204)][0x0]:'';const _0x12e4f2={'REQUEST':_0x4d099d(0x203),'SERVICE':_0x4d099d(0x1ff),'VERSION':_0x4d099d(0x1f3),'LAYER':_0x2460cf,'STYLE':_0x410512[_0x4d099d(0x1f5)][_0x4d099d(0x209)](),'TILEMATRIX':_0x410512[_0x4d099d(0x206)]+':{z}','TILEMATRIXSET':_0x410512[_0x4d099d(0x206)][_0x4d099d(0x209)](),'FORMAT':'application/vnd.mapbox-vector-tile','TILECOL':_0x4d099d(0x208),'TILEROW':_0x4d099d(0x1f1)};let _0x243f93=_0x18b735[_0x4d099d(0x200)]?_0x18b735[_0x4d099d(0x200)]:'';for(const _0x2f18c5 in _0x12e4f2){_0x243f93=addArgument(_0x243f93,_0x2f18c5,_0x12e4f2[_0x2f18c5]);}super({'opacity':_0x18b735[_0x4d099d(0x1f7)],'zIndex':_0x18b735['mapIndex'],'declutter':!![],'source':new a45_0x1a7f68({'projection':_0x4d099d(0x1fd)+_0x410512[_0x4d099d(0x1ef)],'format':new a45_0x38f296(),'wrapX':!![],'extent':_0x410512[_0x4d099d(0x1f2)],'tileGrid':new a45_0x511150({'tileSize':_0x284585[_0x4d099d(0x1fb)]['tileSizes_'][0x0],'origin':_0x284585[_0x4d099d(0x1fb)]['origins_'][0x0],'resolutions':_0x284585['tileGrid'][_0x4d099d(0x1f8)](),'matrixIds':_0x284585[_0x4d099d(0x1fb)]['getMatrixIds']()}),'url':_0x243f93})}),this['id']=_0x18b735['id'],this['initialExtent']=_0x410512[_0x4d099d(0x1f2)],this['projection']=_0x5daed5,this[_0x4d099d(0x1f9)]=_0x18b735;}}
@@ -1 +1 @@
1
- const a46_0x4e7a22=a46_0x43e5;(function(_0x530231,_0x268ed1){const _0x44a2bc=a46_0x43e5,_0x58c45d=_0x530231();while(!![]){try{const _0x1541aa=parseInt(_0x44a2bc(0x1fb))/0x1+-parseInt(_0x44a2bc(0x1da))/0x2*(-parseInt(_0x44a2bc(0x1d2))/0x3)+-parseInt(_0x44a2bc(0x1ff))/0x4*(parseInt(_0x44a2bc(0x1e6))/0x5)+parseInt(_0x44a2bc(0x1eb))/0x6*(parseInt(_0x44a2bc(0x1f4))/0x7)+-parseInt(_0x44a2bc(0x1fe))/0x8*(-parseInt(_0x44a2bc(0x1df))/0x9)+parseInt(_0x44a2bc(0x202))/0xa+-parseInt(_0x44a2bc(0x1de))/0xb*(parseInt(_0x44a2bc(0x1dd))/0xc);if(_0x1541aa===_0x268ed1)break;else _0x58c45d['push'](_0x58c45d['shift']());}catch(_0x3e9ae4){_0x58c45d['push'](_0x58c45d['shift']());}}}(a46_0x1203,0x19a1b));import a46_0x4585af from'ol/source/Vector';import a46_0x3f0334 from'ol/format/GeoJSON';import{Vector as a46_0x3a5a83}from'ol/layer';function a46_0x1203(){const _0x4de790=['toLowerCase','serializeToString','mapIndex','41882fSEwGH','lessThan','and','2090412EFbVmO','33fiHwSJ','1049562fwOTeW','between','apply','notEqualTo','layerInfo','lessThanOrEqualTo','!==','208740FYJMPs','POST','param','wkid','readFeatures','629478vqjqNA','EPSG:','filter','catch','getSource','getCode','push','layerFields','fieldType','7LJEvQR','writeGetFeature','length','projection','url','addFeatures','string','160048eRWvcs','read','initialExtent','8iakvia','12EtLAFV','greaterThanOrEqualTo','json','1618450uHUhmZ','then','parseFilter','param字段不存在','30wYbMeI','not','initExtent','type','type字段不存在'];a46_0x1203=function(){return _0x4de790;};return a46_0x1203();}import a46_0x4505fb from'ol/format/WFS';function a46_0x43e5(_0x35f19e,_0x149315){const _0x120356=a46_0x1203();return a46_0x43e5=function(_0x43e5bf,_0x220a83){_0x43e5bf=_0x43e5bf-0x1d2;let _0xed069a=_0x120356[_0x43e5bf];return _0xed069a;},a46_0x43e5(_0x35f19e,_0x149315);}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x1a93f9 from'../utils/format/CQL';import*as a46_0x58e9a9 from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x3a5a83{constructor(_0x245078,_0x2fe4dc){const _0x3618af=a46_0x43e5;let _0x2792d5=registerProj(_0x3618af(0x1ec)+_0x2fe4dc[_0x3618af(0x1e9)]);const _0x1c3e85=_0x2fe4dc[_0x3618af(0x1f2)]['find'](_0x347b43=>_0x347b43[_0x3618af(0x1f3)]==0x6);super({'zIndex':_0x245078[_0x3618af(0x1d9)],'source':new a46_0x4585af({'format':new a46_0x3f0334(),'loader':(_0x430939,_0x10592e,_0x4ae942,_0x3f543b,_0x4d5972)=>{const _0xda073=_0x3618af;let _0x595c22=_0x245078['loadFilter'],_0x184196={'srsName':_0x4ae942[_0xda073(0x1f0)](),'featureTypes':_0x245078['sublayers'],'bbox':_0x430939,'geometryName':_0x1c3e85?_0x1c3e85['name']:'','outputFormat':'application/json'};_0x595c22&&(typeof _0x595c22===_0xda073(0x1fa)?_0x184196[_0xda073(0x1ed)]=new a46_0x1a93f9()[_0xda073(0x1fc)](_0x595c22):_0x184196['filter']=this['parseFilter'](_0x595c22));var _0x33981e=new a46_0x4505fb()[_0xda073(0x1f5)](_0x184196);let _0x3a7f86=_0x245078[_0xda073(0x1f8)]?_0x245078[_0xda073(0x1f8)]:'';fetch(_0x3a7f86,{'method':_0xda073(0x1e7),'body':new XMLSerializer()[_0xda073(0x1d8)](_0x33981e)})[_0xda073(0x203)](_0x48144c=>{const _0x5392c4=_0xda073;return _0x48144c[_0x5392c4(0x201)]();})[_0xda073(0x203)](_0x201918=>{const _0x2c9008=_0xda073,_0x1332ae=new a46_0x3f0334()[_0x2c9008(0x1ea)](_0x201918);let _0x243f59=this[_0x2c9008(0x1ef)]();_0x243f59&&_0x243f59[_0x2c9008(0x1f9)](_0x1332ae);if(_0x3f543b)_0x3f543b(_0x1332ae);})[_0xda073(0x1ee)](()=>{const _0x2a1245=_0xda073;let _0x3a9a3d=this[_0x2a1245(0x1ef)]();_0x3a9a3d&&_0x3a9a3d['removeLoadedExtent'](_0x430939);if(_0x4d5972)_0x4d5972();});},'strategy':bbox})}),this['id']=_0x245078['id'],this[_0x3618af(0x1fd)]=_0x2fe4dc[_0x3618af(0x1d4)],this[_0x3618af(0x1f7)]=_0x2792d5,this[_0x3618af(0x1e3)]=_0x245078;}[a46_0x4e7a22(0x204)](_0x416c10){const _0x53937e=a46_0x4e7a22;if(!_0x416c10[_0x53937e(0x1d5)]){console['warn'](_0x53937e(0x1d6));return;}if(!_0x416c10[_0x53937e(0x1e8)]){console['warn'](_0x53937e(0x205));return;}let _0x48c070=[];switch(_0x416c10[_0x53937e(0x1d5)][_0x53937e(0x1d7)]()){case _0x53937e(0x1dc):for(let _0x9f4a94=0x0;_0x9f4a94<_0x416c10['param'][_0x53937e(0x1f6)];_0x9f4a94++){let _0x183506=this[_0x53937e(0x204)](_0x416c10[_0x53937e(0x1e8)][_0x9f4a94]);_0x48c070[_0x53937e(0x1f1)](_0x183506);}return a46_0x58e9a9[_0x53937e(0x1dc)][_0x53937e(0x1e1)](null,_0x48c070);case'or':for(let _0x1b75ec=0x0;_0x1b75ec<_0x416c10[_0x53937e(0x1e8)][_0x53937e(0x1f6)];_0x1b75ec++){let _0x9bc8e4=this[_0x53937e(0x204)](_0x416c10[_0x53937e(0x1e8)][_0x1b75ec]);_0x48c070[_0x53937e(0x1f1)](_0x9bc8e4);}return a46_0x58e9a9['or'][_0x53937e(0x1e1)](null,_0x48c070);case _0x53937e(0x1d3):for(let _0x32bf53=0x0;_0x32bf53<_0x416c10[_0x53937e(0x1e8)][_0x53937e(0x1f6)];_0x32bf53++){let _0x51d1fd=this['parseFilter'](_0x416c10[_0x53937e(0x1e8)][_0x32bf53]);_0x48c070[_0x53937e(0x1f1)](_0x51d1fd);}return a46_0x58e9a9[_0x53937e(0x1d3)][_0x53937e(0x1e1)](null,_0x48c070);case'=':return a46_0x58e9a9['equalTo'](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10['param'][0x1]);case _0x53937e(0x1e5):return a46_0x58e9a9[_0x53937e(0x1e2)](_0x416c10['param'][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'>':return a46_0x58e9a9['greaterThan'](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10['param'][0x1]);case'<':return a46_0x58e9a9[_0x53937e(0x1db)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'>=':return a46_0x58e9a9[_0x53937e(0x200)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'<=':return a46_0x58e9a9[_0x53937e(0x1e4)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'between':return a46_0x58e9a9[_0x53937e(0x1e0)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1],_0x416c10[_0x53937e(0x1e8)][0x2]);}}}
1
+ const a46_0x7c8fa9=a46_0x387c;(function(_0x49b857,_0x36edb5){const _0x45747c=a46_0x387c,_0x5479cf=_0x49b857();while(!![]){try{const _0x2caff9=-parseInt(_0x45747c(0x1b6))/0x1*(-parseInt(_0x45747c(0x1a4))/0x2)+-parseInt(_0x45747c(0x1c9))/0x3*(parseInt(_0x45747c(0x1c3))/0x4)+-parseInt(_0x45747c(0x1c6))/0x5*(parseInt(_0x45747c(0x1af))/0x6)+-parseInt(_0x45747c(0x1c0))/0x7+-parseInt(_0x45747c(0x1cb))/0x8*(-parseInt(_0x45747c(0x1ac))/0x9)+parseInt(_0x45747c(0x1ad))/0xa*(parseInt(_0x45747c(0x1a2))/0xb)+parseInt(_0x45747c(0x1a5))/0xc*(parseInt(_0x45747c(0x1ae))/0xd);if(_0x2caff9===_0x36edb5)break;else _0x5479cf['push'](_0x5479cf['shift']());}catch(_0x2cd102){_0x5479cf['push'](_0x5479cf['shift']());}}}(a46_0x403d,0xa3438));import a46_0x3af0bb from'ol/source/Vector';import a46_0x2629a3 from'ol/format/GeoJSON';import{Vector as a46_0x50edae}from'ol/layer';import a46_0x45c38b from'ol/format/WFS';function a46_0x387c(_0x3b90b0,_0x55a6e1){const _0x403d7b=a46_0x403d();return a46_0x387c=function(_0x387c71,_0x2790c0){_0x387c71=_0x387c71-0x19f;let _0x1c1b0b=_0x403d7b[_0x387c71];return _0x1c1b0b;},a46_0x387c(_0x3b90b0,_0x55a6e1);}function a46_0x403d(){const _0x59b090=['then','988374mamMjg','apply','15448UyXUuL','sublayers','layerFields','warn','equalTo','1606nweTWs','param','50ICHUlh','14613324pVVlbF','not','and','type字段不存在','name','fieldType','url','4869yhEVfa','58270vcwSFM','13XTNAWs','6hbOnVN','removeLoadedExtent','lessThan','filter','greaterThanOrEqualTo','writeGetFeature','length','25171ILyoyl','parseFilter','find','!==','mapIndex','lessThanOrEqualTo','push','projection','readFeatures','initialExtent','8101933eHKisI','POST','greaterThan','16hLuazu','param字段不存在','between','2992430OLNwNC','type'];a46_0x403d=function(){return _0x59b090;};return a46_0x403d();}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x56ff97 from'../utils/format/CQL';import*as a46_0x3d8c4e from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x50edae{constructor(_0x4ef14b,_0x53f9b9){const _0x5c6c52=a46_0x387c;let _0x7bd600=registerProj('EPSG:'+_0x53f9b9['wkid']);const _0x101b24=_0x53f9b9[_0x5c6c52(0x19f)][_0x5c6c52(0x1b8)](_0x56cba7=>_0x56cba7[_0x5c6c52(0x1aa)]==0x6);super({'zIndex':_0x4ef14b[_0x5c6c52(0x1ba)],'source':new a46_0x3af0bb({'format':new a46_0x2629a3(),'loader':(_0x565235,_0x5675b1,_0x1e643f,_0xa9ddb7,_0x5d1921)=>{const _0x25923d=_0x5c6c52;let _0x1dffd3=_0x4ef14b['loadFilter'],_0x439085={'srsName':_0x1e643f['getCode'](),'featureTypes':_0x4ef14b[_0x25923d(0x1cc)],'bbox':_0x565235,'geometryName':_0x101b24?_0x101b24[_0x25923d(0x1a9)]:'','outputFormat':'application/json'};_0x1dffd3&&(typeof _0x1dffd3==='string'?_0x439085[_0x25923d(0x1b2)]=new a46_0x56ff97()['read'](_0x1dffd3):_0x439085[_0x25923d(0x1b2)]=this[_0x25923d(0x1b7)](_0x1dffd3));var _0x214158=new a46_0x45c38b()[_0x25923d(0x1b4)](_0x439085);let _0x3db11a=_0x4ef14b['url']?_0x4ef14b[_0x25923d(0x1ab)]:'';fetch(_0x3db11a,{'method':_0x25923d(0x1c1),'body':new XMLSerializer()['serializeToString'](_0x214158)})[_0x25923d(0x1c8)](_0x47cac4=>{return _0x47cac4['json']();})['then'](_0x6a4cac=>{const _0x53c488=_0x25923d,_0x47992a=new a46_0x2629a3()[_0x53c488(0x1be)](_0x6a4cac);let _0x23983b=this['getSource']();_0x23983b&&_0x23983b['addFeatures'](_0x47992a);if(_0xa9ddb7)_0xa9ddb7(_0x47992a);})['catch'](()=>{const _0x24b707=_0x25923d;let _0x5ebbc2=this['getSource']();_0x5ebbc2&&_0x5ebbc2[_0x24b707(0x1b0)](_0x565235);if(_0x5d1921)_0x5d1921();});},'strategy':bbox})}),this['id']=_0x4ef14b['id'],this[_0x5c6c52(0x1bf)]=_0x53f9b9['initExtent'],this[_0x5c6c52(0x1bd)]=_0x7bd600,this['layerInfo']=_0x4ef14b;}[a46_0x7c8fa9(0x1b7)](_0x177bf5){const _0x24de72=a46_0x7c8fa9;if(!_0x177bf5['type']){console['warn'](_0x24de72(0x1a8));return;}if(!_0x177bf5['param']){console[_0x24de72(0x1a0)](_0x24de72(0x1c4));return;}let _0x50236e=[];switch(_0x177bf5[_0x24de72(0x1c7)]['toLowerCase']()){case _0x24de72(0x1a7):for(let _0x81b197=0x0;_0x81b197<_0x177bf5['param'][_0x24de72(0x1b5)];_0x81b197++){let _0x8a8951=this[_0x24de72(0x1b7)](_0x177bf5[_0x24de72(0x1a3)][_0x81b197]);_0x50236e[_0x24de72(0x1bc)](_0x8a8951);}return a46_0x3d8c4e[_0x24de72(0x1a7)][_0x24de72(0x1ca)](null,_0x50236e);case'or':for(let _0x372093=0x0;_0x372093<_0x177bf5[_0x24de72(0x1a3)][_0x24de72(0x1b5)];_0x372093++){let _0x5b3ee6=this['parseFilter'](_0x177bf5[_0x24de72(0x1a3)][_0x372093]);_0x50236e[_0x24de72(0x1bc)](_0x5b3ee6);}return a46_0x3d8c4e['or'][_0x24de72(0x1ca)](null,_0x50236e);case _0x24de72(0x1a6):for(let _0x243ee4=0x0;_0x243ee4<_0x177bf5['param'][_0x24de72(0x1b5)];_0x243ee4++){let _0x5e345b=this[_0x24de72(0x1b7)](_0x177bf5['param'][_0x243ee4]);_0x50236e['push'](_0x5e345b);}return a46_0x3d8c4e[_0x24de72(0x1a6)]['apply'](null,_0x50236e);case'=':return a46_0x3d8c4e[_0x24de72(0x1a1)](_0x177bf5[_0x24de72(0x1a3)][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1]);case _0x24de72(0x1b9):return a46_0x3d8c4e['notEqualTo'](_0x177bf5['param'][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1]);case'>':return a46_0x3d8c4e[_0x24de72(0x1c2)](_0x177bf5['param'][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1]);case'<':return a46_0x3d8c4e[_0x24de72(0x1b1)](_0x177bf5[_0x24de72(0x1a3)][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1]);case'>=':return a46_0x3d8c4e[_0x24de72(0x1b3)](_0x177bf5['param'][0x0],_0x177bf5['param'][0x1]);case'<=':return a46_0x3d8c4e[_0x24de72(0x1bb)](_0x177bf5[_0x24de72(0x1a3)][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1]);case'between':return a46_0x3d8c4e[_0x24de72(0x1c5)](_0x177bf5[_0x24de72(0x1a3)][0x0],_0x177bf5[_0x24de72(0x1a3)][0x1],_0x177bf5[_0x24de72(0x1a3)][0x2]);}}}
@@ -1 +1 @@
1
- function a47_0x1dd4(_0x537176,_0x161d9b){const _0x5e36cf=a47_0x5e36();return a47_0x1dd4=function(_0x1dd4ab,_0x3d4cd7){_0x1dd4ab=_0x1dd4ab-0x1ab;let _0x450750=_0x5e36cf[_0x1dd4ab];return _0x450750;},a47_0x1dd4(_0x537176,_0x161d9b);}const a47_0x514224=a47_0x1dd4;function a47_0x5e36(){const _0x32fd3d=['49512PNmtPG','2926LmiYAs','loadFilter','2186555GGzCav','2fBLBsI','380pUJjgN','sublayers','667590MShQGx','join','416hGbFJY','486898QYMdYC','anonymous','layerInfo','updateParams','3WNXRQQ','EPSG:','wkid','url','CQL_FILTER','setFilter','refresh','initExtent','6QKqENZ','23824tsJqvZ','3039728cnxlXG','268101AkWtIy'];a47_0x5e36=function(){return _0x32fd3d;};return a47_0x5e36();}(function(_0x3a378a,_0x1fac93){const _0x58952d=a47_0x1dd4,_0x370a76=_0x3a378a();while(!![]){try{const _0x531a34=parseInt(_0x58952d(0x1b6))/0x1*(-parseInt(_0x58952d(0x1b0))/0x2)+parseInt(_0x58952d(0x1ba))/0x3*(parseInt(_0x58952d(0x1c4))/0x4)+parseInt(_0x58952d(0x1af))/0x5*(parseInt(_0x58952d(0x1c2))/0x6)+parseInt(_0x58952d(0x1ad))/0x7*(-parseInt(_0x58952d(0x1c3))/0x8)+parseInt(_0x58952d(0x1ab))/0x9*(parseInt(_0x58952d(0x1b1))/0xa)+parseInt(_0x58952d(0x1b3))/0xb+parseInt(_0x58952d(0x1ac))/0xc*(parseInt(_0x58952d(0x1b5))/0xd);if(_0x531a34===_0x1fac93)break;else _0x370a76['push'](_0x370a76['shift']());}catch(_0x22343c){_0x370a76['push'](_0x370a76['shift']());}}}(a47_0x5e36,0xc0ee5));import{ImageWMS as a47_0xba4550}from'ol/source';import{Image as a47_0x47683d}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x47683d{constructor(_0x1d8915,_0x1cb6a8){const _0x5159ac=a47_0x1dd4;var _0x41c392;let _0x19b781=registerProj(_0x5159ac(0x1bb)+_0x1cb6a8[_0x5159ac(0x1bc)]),_0x7dbc14={'LAYERS':(_0x41c392=_0x1d8915[_0x5159ac(0x1b2)])===null||_0x41c392===void 0x0?void 0x0:_0x41c392[_0x5159ac(0x1b4)](','),'VERSION':'1.1.0'};_0x1d8915[_0x5159ac(0x1ae)]&&(_0x7dbc14[_0x5159ac(0x1be)]=_0x1d8915['loadFilter']),super({'opacity':_0x1d8915['opacity'],'zIndex':_0x1d8915['mapIndex'],'source':new a47_0xba4550({'crossOrigin':_0x5159ac(0x1b7),'url':_0x1d8915[_0x5159ac(0x1bd)],'params':_0x7dbc14})}),this['id']=_0x1d8915['id'],this['initialExtent']=_0x1cb6a8[_0x5159ac(0x1c1)],this['projection']=_0x19b781,this[_0x5159ac(0x1b8)]=_0x1d8915;}[a47_0x514224(0x1c0)](){}[a47_0x514224(0x1bf)](_0x5919c5){const _0x54358c=a47_0x514224;var _0x3770eb;(_0x3770eb=this['getSource']())===null||_0x3770eb===void 0x0?void 0x0:_0x3770eb[_0x54358c(0x1b9)]({'CQL_FILTER':_0x5919c5});}}
1
+ function a47_0x478d(){const _0x560f87=['updateParams','EPSG:','initialExtent','sublayers','layerInfo','609890EeSwci','1.1.0','180755ckfncf','url','12309HpKsbd','refresh','CQL_FILTER','89230aSXBUI','anonymous','mapIndex','6AYDUdX','getSource','8NbPpzb','setFilter','1711843TWZhHk','initExtent','148JREOUs','2377035pqBqIC','243381YjMlyO','loadFilter','projection'];a47_0x478d=function(){return _0x560f87;};return a47_0x478d();}const a47_0x1fb483=a47_0x1d88;(function(_0x228941,_0xbca7e9){const _0x9a7854=a47_0x1d88,_0x3f959d=_0x228941();while(!![]){try{const _0x26accf=-parseInt(_0x9a7854(0x153))/0x1+parseInt(_0x9a7854(0x148))/0x2+-parseInt(_0x9a7854(0x145))/0x3*(parseInt(_0x9a7854(0x151))/0x4)+-parseInt(_0x9a7854(0x143))/0x5*(parseInt(_0x9a7854(0x14b))/0x6)+parseInt(_0x9a7854(0x14f))/0x7+parseInt(_0x9a7854(0x14d))/0x8*(parseInt(_0x9a7854(0x152))/0x9)+parseInt(_0x9a7854(0x141))/0xa;if(_0x26accf===_0xbca7e9)break;else _0x3f959d['push'](_0x3f959d['shift']());}catch(_0x1c1c28){_0x3f959d['push'](_0x3f959d['shift']());}}}(a47_0x478d,0x2ca8d));import{ImageWMS as a47_0x5e9dda}from'ol/source';import{Image as a47_0x50493d}from'ol/layer';function a47_0x1d88(_0x1b1396,_0x4d8942){const _0x478dc0=a47_0x478d();return a47_0x1d88=function(_0x1d88ec,_0x56e15a){_0x1d88ec=_0x1d88ec-0x13c;let _0x31316f=_0x478dc0[_0x1d88ec];return _0x31316f;},a47_0x1d88(_0x1b1396,_0x4d8942);}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x50493d{constructor(_0x36783d,_0x4924c5){const _0x477899=a47_0x1d88;var _0x4a6bb8;let _0x50a667=registerProj(_0x477899(0x13d)+_0x4924c5['wkid']),_0x430eb6={'LAYERS':(_0x4a6bb8=_0x36783d[_0x477899(0x13f)])===null||_0x4a6bb8===void 0x0?void 0x0:_0x4a6bb8['join'](','),'VERSION':_0x477899(0x142)};_0x36783d[_0x477899(0x154)]&&(_0x430eb6[_0x477899(0x147)]=_0x36783d['loadFilter']),super({'opacity':_0x36783d['opacity'],'zIndex':_0x36783d[_0x477899(0x14a)],'source':new a47_0x5e9dda({'crossOrigin':_0x477899(0x149),'url':_0x36783d[_0x477899(0x144)],'params':_0x430eb6})}),this['id']=_0x36783d['id'],this[_0x477899(0x13e)]=_0x4924c5[_0x477899(0x150)],this[_0x477899(0x155)]=_0x50a667,this[_0x477899(0x140)]=_0x36783d;}[a47_0x1fb483(0x146)](){}[a47_0x1fb483(0x14e)](_0x26874a){const _0x588533=a47_0x1fb483;var _0x3abdb0;(_0x3abdb0=this[_0x588533(0x14c)]())===null||_0x3abdb0===void 0x0?void 0x0:_0x3abdb0[_0x588533(0x13c)]({'CQL_FILTER':_0x26874a});}}
@@ -1 +1 @@
1
- function a48_0x5110(_0xa3316f,_0x12a775){const _0x5ef6e8=a48_0x5ef6();return a48_0x5110=function(_0x511062,_0x1054f4){_0x511062=_0x511062-0x163;let _0x56af5a=_0x5ef6e8[_0x511062];return _0x56af5a;},a48_0x5110(_0xa3316f,_0x12a775);}(function(_0x4c0ff3,_0x321420){const _0x441c8c=a48_0x5110,_0x15d4b6=_0x4c0ff3();while(!![]){try{const _0x5cd3b1=parseInt(_0x441c8c(0x16d))/0x1*(-parseInt(_0x441c8c(0x179))/0x2)+parseInt(_0x441c8c(0x175))/0x3+-parseInt(_0x441c8c(0x176))/0x4*(parseInt(_0x441c8c(0x16c))/0x5)+parseInt(_0x441c8c(0x16e))/0x6*(-parseInt(_0x441c8c(0x163))/0x7)+parseInt(_0x441c8c(0x177))/0x8*(parseInt(_0x441c8c(0x167))/0x9)+-parseInt(_0x441c8c(0x170))/0xa+parseInt(_0x441c8c(0x16f))/0xb;if(_0x5cd3b1===_0x321420)break;else _0x15d4b6['push'](_0x15d4b6['shift']());}catch(_0x9082f5){_0x15d4b6['push'](_0x15d4b6['shift']());}}}(a48_0x5ef6,0x41df5));import a48_0x52fa79 from'ol/layer/Tile';import a48_0x5510fa,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a48_0x52fa79{constructor(_0x43cd81,_0x4365fb){const _0x316d9c=a48_0x5110;var _0x5af925;const _0x3e79d2=_0x316d9c(0x164)+_0x4365fb[_0x316d9c(0x16b)];let _0x1b0a61=registerProj(_0x3e79d2);if(!_0x1b0a61)throw new Error(_0x316d9c(0x174));const _0x5648ce=optionsFromCapabilities(_0x4365fb[_0x316d9c(0x17a)],{'layer':(_0x5af925=_0x43cd81[_0x316d9c(0x169)])===null||_0x5af925===void 0x0?void 0x0:_0x5af925[0x0],'matrixSet':_0x4365fb[_0x316d9c(0x178)],'format':_0x316d9c(0x173)});if(!_0x5648ce)throw new Error(_0x316d9c(0x172));super({'opacity':_0x43cd81[_0x316d9c(0x168)],'zIndex':_0x43cd81[_0x316d9c(0x171)],'source':new a48_0x5510fa(_0x5648ce)}),this['id']=_0x43cd81['id'],this[_0x316d9c(0x16a)]=_0x4365fb[_0x316d9c(0x166)],this['projection']=_0x1b0a61,this[_0x316d9c(0x165)]=_0x43cd81;}}function a48_0x5ef6(){const _0x4e626a=['41992QqoUBB','tileMatrixSet','2jhXJph','sourceXml','1911nJhoUp','EPSG:','layerInfo','boundingBoxExtent','423pGZgjc','opacity','sublayers','initialExtent','wkid','10RrSIWr','526254GDcuZZ','7926giskWv','12846218ofnyAx','3068910RPdZUz','mapIndex','解析元数据失败','image/png','未找到投影信息','1289028nQzGdU','761252bWqtCk'];a48_0x5ef6=function(){return _0x4e626a;};return a48_0x5ef6();}
1
+ (function(_0x5a67d1,_0x1e0242){const _0x9d75af=a48_0x3511,_0x5cfda7=_0x5a67d1();while(!![]){try{const _0xbb07e1=parseInt(_0x9d75af(0x13f))/0x1*(parseInt(_0x9d75af(0x135))/0x2)+parseInt(_0x9d75af(0x144))/0x3+-parseInt(_0x9d75af(0x13c))/0x4*(-parseInt(_0x9d75af(0x137))/0x5)+-parseInt(_0x9d75af(0x136))/0x6*(parseInt(_0x9d75af(0x13a))/0x7)+-parseInt(_0x9d75af(0x143))/0x8*(parseInt(_0x9d75af(0x131))/0x9)+parseInt(_0x9d75af(0x138))/0xa*(-parseInt(_0x9d75af(0x13e))/0xb)+parseInt(_0x9d75af(0x133))/0xc*(parseInt(_0x9d75af(0x140))/0xd);if(_0xbb07e1===_0x1e0242)break;else _0x5cfda7['push'](_0x5cfda7['shift']());}catch(_0x220593){_0x5cfda7['push'](_0x5cfda7['shift']());}}}(a48_0x4307,0xce7d4));import a48_0x216cc2 from'ol/layer/Tile';import a48_0x3016ae,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';function a48_0x4307(){const _0xc32544=['16172foUZlN','initialExtent','55OoFifq','7817MUSwgw','52trhBXg','EPSG:','tileMatrixSet','8zmddQs','1166076ORDKLJ','12362877niMKax','layerInfo','9095208gMJCai','sourceXml','34tJjCwA','78RPTVxq','370gLDVxy','2539510EukVJj','image/png','195629MbTdLu','解析元数据失败'];a48_0x4307=function(){return _0xc32544;};return a48_0x4307();}function a48_0x3511(_0x4c7772,_0x31934d){const _0x430794=a48_0x4307();return a48_0x3511=function(_0x351172,_0x4db9e6){_0x351172=_0x351172-0x131;let _0x24a08a=_0x430794[_0x351172];return _0x24a08a;},a48_0x3511(_0x4c7772,_0x31934d);}export default class GeoserverWMTSLayer extends a48_0x216cc2{constructor(_0x3e9cb9,_0x4fb6a5){const _0x4df702=a48_0x3511;var _0x23e0a1;const _0x1b43ee=_0x4df702(0x141)+_0x4fb6a5['wkid'];let _0xb2b12a=registerProj(_0x1b43ee);if(!_0xb2b12a)throw new Error('未找到投影信息');const _0x5b3f12=optionsFromCapabilities(_0x4fb6a5[_0x4df702(0x134)],{'layer':(_0x23e0a1=_0x3e9cb9['sublayers'])===null||_0x23e0a1===void 0x0?void 0x0:_0x23e0a1[0x0],'matrixSet':_0x4fb6a5[_0x4df702(0x142)],'format':_0x4df702(0x139)});if(!_0x5b3f12)throw new Error(_0x4df702(0x13b));super({'opacity':_0x3e9cb9['opacity'],'zIndex':_0x3e9cb9['mapIndex'],'source':new a48_0x3016ae(_0x5b3f12)}),this['id']=_0x3e9cb9['id'],this[_0x4df702(0x13d)]=_0x4fb6a5['boundingBoxExtent'],this['projection']=_0xb2b12a,this[_0x4df702(0x132)]=_0x3e9cb9;}}
@@ -1 +1 @@
1
- const a50_0x3b05d5=a50_0x28d3;(function(_0x56ec51,_0x926810){const _0x4839dc=a50_0x28d3,_0x31146c=_0x56ec51();while(!![]){try{const _0x38f77f=parseInt(_0x4839dc(0x158))/0x1*(parseInt(_0x4839dc(0x160))/0x2)+parseInt(_0x4839dc(0x152))/0x3*(-parseInt(_0x4839dc(0x151))/0x4)+parseInt(_0x4839dc(0x150))/0x5*(parseInt(_0x4839dc(0x15e))/0x6)+-parseInt(_0x4839dc(0x164))/0x7+-parseInt(_0x4839dc(0x15c))/0x8+-parseInt(_0x4839dc(0x165))/0x9+parseInt(_0x4839dc(0x157))/0xa;if(_0x38f77f===_0x926810)break;else _0x31146c['push'](_0x31146c['shift']());}catch(_0x1e3928){_0x31146c['push'](_0x31146c['shift']());}}}(a50_0x42f0,0x685ed));import a50_0x55487a from'./ArcgisDynamicLayer';import a50_0x38e104 from'./ArcgisFeatureLayer';import a50_0x35ee22 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x2e579c from'./ArcgisTileLayer';import a50_0x38196a from'./GeoserverWMSLayer';import a50_0x2c8325 from'./GeoserverWMTSLayer';import a50_0x2ec78d from'./ArcgisWMSLayer';function a50_0x42f0(){const _0x5925ba=['length','sublayers','14444640kuixpL','12VSNQvd','getGeoserverVectorTileLayer','getGeoserverWMTSLayer','getGeoserverWmsLayer','3820608KLlmKP','getDynamicLayer','5538nLlWWN','getArcgisFeatureLayer','68396MbMOfD','getArcgisWmsLayer','getGeoserverWFSLayer','getArcgisWMTSLayer','1646078DWgdIF','1353879pBhjtC','getTDTLayer','970WyKBXn','340vLwRML','26232hDdTbu','url','getArcgisTileLayer'];a50_0x42f0=function(){return _0x5925ba;};return a50_0x42f0();}import a50_0x6c00f4 from'./ArcgisWMTSLayer';import a50_0x45743e from'./GeoserverWFSLayer';function a50_0x28d3(_0x36e626,_0x111af4){const _0x42f060=a50_0x42f0();return a50_0x28d3=function(_0x28d301,_0x414d24){_0x28d301=_0x28d301-0x14f;let _0x4e3968=_0x42f060[_0x28d301];return _0x4e3968;},a50_0x28d3(_0x36e626,_0x111af4);}import a50_0x2a2df7 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x3b05d5(0x15d)](_0x26535a){const _0x1d8f14=a50_0x3b05d5,_0x250c04=await getDynamicLayerInfo(_0x26535a[_0x1d8f14(0x153)]?_0x26535a['url']:'');let _0xe37c62=new a50_0x55487a(_0x26535a,_0x250c04);return _0xe37c62;}static async[a50_0x3b05d5(0x154)](_0x3e9dd0){const _0x504c78=a50_0x3b05d5,_0x182ebd=await getDynamicLayerInfo(_0x3e9dd0[_0x504c78(0x153)]?_0x3e9dd0['url']:'');let _0xb71091=new a50_0x2e579c(_0x3e9dd0,_0x182ebd);return _0xb71091;}static async[a50_0x3b05d5(0x15f)](_0x5d05ab){const _0x29be59=a50_0x3b05d5,_0x52b854=await getDynamicLayerInfo(_0x5d05ab[_0x29be59(0x153)]?_0x5d05ab[_0x29be59(0x153)]:'');let _0xf8ad1b=[];if(_0x5d05ab[_0x29be59(0x156)])for(let _0x12e366=0x0;_0x12e366<_0x5d05ab[_0x29be59(0x156)][_0x29be59(0x155)];_0x12e366++){const _0x46985f=_0x5d05ab[_0x29be59(0x156)][_0x12e366];_0xf8ad1b['push'](await getFeatureLayerInfo(_0x5d05ab[_0x29be59(0x153)]?_0x5d05ab['url']:'',_0x46985f));}let _0x48ab86=new a50_0x38e104(_0x5d05ab,_0x52b854,_0xf8ad1b);return _0x48ab86;}static async[a50_0x3b05d5(0x161)](_0x54d3c7){const _0x50ac78=a50_0x3b05d5;var _0x118e4c;const _0x50d289=(_0x118e4c=_0x54d3c7['sublayers'])===null||_0x118e4c===void 0x0?void 0x0:_0x118e4c[0x0],_0x588224=await getWMSLayerCapabilities(_0x54d3c7[_0x50ac78(0x153)]?_0x54d3c7[_0x50ac78(0x153)]:'',_0x50d289==null?'':_0x50d289);let _0x3c2c86=new a50_0x2ec78d(_0x54d3c7,_0x588224);return _0x3c2c86;}static async[a50_0x3b05d5(0x163)](_0x4a1e68){const _0xefcd63=a50_0x3b05d5;var _0x49fed3;const _0x3dba06=(_0x49fed3=_0x4a1e68[_0xefcd63(0x156)])===null||_0x49fed3===void 0x0?void 0x0:_0x49fed3[0x0],_0x37b824=await getWMTSLayerCapabilities(_0x4a1e68[_0xefcd63(0x153)]?_0x4a1e68['url']:'',_0x3dba06==null?'':_0x3dba06);let _0x43fefc=new a50_0x6c00f4(_0x4a1e68,_0x37b824);return _0x43fefc;}static async[a50_0x3b05d5(0x15b)](_0x3397bd){const _0x5ad181=a50_0x3b05d5;var _0xef9bb4;const _0x365221=(_0xef9bb4=_0x3397bd['sublayers'])===null||_0xef9bb4===void 0x0?void 0x0:_0xef9bb4[0x0],_0x2663c7=await getWMSLayerCapabilities(_0x3397bd[_0x5ad181(0x153)]?_0x3397bd[_0x5ad181(0x153)]:'',_0x365221==null?'':_0x365221);let _0x1ca1be=new a50_0x38196a(_0x3397bd,_0x2663c7);return _0x1ca1be;}static async[a50_0x3b05d5(0x15a)](_0x4653ea){const _0x384398=a50_0x3b05d5;var _0x2cba1b;const _0x57409f=(_0x2cba1b=_0x4653ea[_0x384398(0x156)])===null||_0x2cba1b===void 0x0?void 0x0:_0x2cba1b[0x0],_0x51f055=await getWMTSLayerCapabilities(_0x4653ea[_0x384398(0x153)]?_0x4653ea['url']:'',_0x57409f==null?'':_0x57409f);let _0xd274c3=new a50_0x2c8325(_0x4653ea,_0x51f055);return _0xd274c3;}static async[a50_0x3b05d5(0x162)](_0x532b4c){const _0x50feb8=a50_0x3b05d5;var _0x353c06;const _0x2448b0=(_0x353c06=_0x532b4c[_0x50feb8(0x156)])===null||_0x353c06===void 0x0?void 0x0:_0x353c06[0x0],_0xc68e91=await getWFSLayerCapabilities(_0x532b4c[_0x50feb8(0x153)]?_0x532b4c[_0x50feb8(0x153)]:'',_0x2448b0==null?'':_0x2448b0);let _0x50b2ab=new a50_0x45743e(_0x532b4c,_0xc68e91);return _0x50b2ab;}static async[a50_0x3b05d5(0x159)](_0x312b01){const _0x316ec8=a50_0x3b05d5;var _0x3a9b8e;const _0x295615=(_0x3a9b8e=_0x312b01[_0x316ec8(0x156)])===null||_0x3a9b8e===void 0x0?void 0x0:_0x3a9b8e[0x0],_0x57ca45=await getWMTSLayerCapabilities(_0x312b01[_0x316ec8(0x153)]?_0x312b01['url']:'',_0x295615==null?'':_0x295615);let _0x1f42d9=new a50_0x2a2df7(_0x312b01,_0x57ca45);return _0x1f42d9;}static async[a50_0x3b05d5(0x14f)](_0x394141){const _0xd381ab=a50_0x3b05d5;var _0x1ed37b;const _0x587bd7=(_0x1ed37b=_0x394141[_0xd381ab(0x156)])===null||_0x1ed37b===void 0x0?void 0x0:_0x1ed37b[0x0],_0x352356=await getWMTSLayerCapabilities(_0x394141['url']?_0x394141[_0xd381ab(0x153)]:'',_0x587bd7==null?'':_0x587bd7);let _0x30932e=new a50_0x35ee22(_0x394141,_0x352356);return _0x30932e;}}
1
+ const a50_0x59236c=a50_0x3049;(function(_0x2b6095,_0x39f4eb){const _0x12c154=a50_0x3049,_0x3d920b=_0x2b6095();while(!![]){try{const _0x50e8d2=-parseInt(_0x12c154(0x1d5))/0x1*(parseInt(_0x12c154(0x1e3))/0x2)+-parseInt(_0x12c154(0x1d6))/0x3+parseInt(_0x12c154(0x1d0))/0x4+-parseInt(_0x12c154(0x1e2))/0x5*(-parseInt(_0x12c154(0x1e1))/0x6)+-parseInt(_0x12c154(0x1d1))/0x7*(parseInt(_0x12c154(0x1da))/0x8)+-parseInt(_0x12c154(0x1dd))/0x9+-parseInt(_0x12c154(0x1df))/0xa*(-parseInt(_0x12c154(0x1d3))/0xb);if(_0x50e8d2===_0x39f4eb)break;else _0x3d920b['push'](_0x3d920b['shift']());}catch(_0x33d270){_0x3d920b['push'](_0x3d920b['shift']());}}}(a50_0x1d75,0xae5e5));import a50_0x48812f from'./ArcgisDynamicLayer';function a50_0x1d75(){const _0x107683=['getGeoserverWFSLayer','2165884lFREJU','154cCDiQt','getGeoserverWMTSLayer','40987397cmSACw','push','3927IJuHvp','758628hytElG','getDynamicLayer','getGeoserverVectorTileLayer','sublayers','514392ruWVRu','getArcgisWMTSLayer','url','6091191pupkOJ','getArcgisFeatureLayer','10eEPhMW','getArcgisWmsLayer','234JgUCeN','3070yoCMYV','628kBhbrb','getGeoserverWmsLayer'];a50_0x1d75=function(){return _0x107683;};return a50_0x1d75();}import a50_0x5f3c63 from'./ArcgisFeatureLayer';import a50_0x396b02 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x413041 from'./ArcgisTileLayer';function a50_0x3049(_0x1b4bfc,_0xb9bbe0){const _0x1d75d0=a50_0x1d75();return a50_0x3049=function(_0x304981,_0x14a440){_0x304981=_0x304981-0x1ce;let _0x2527cc=_0x1d75d0[_0x304981];return _0x2527cc;},a50_0x3049(_0x1b4bfc,_0xb9bbe0);}import a50_0x30dc73 from'./GeoserverWMSLayer';import a50_0xa6d65a from'./GeoserverWMTSLayer';import a50_0x46643b from'./ArcgisWMSLayer';import a50_0x470d04 from'./ArcgisWMTSLayer';import a50_0x4b0c7b from'./GeoserverWFSLayer';import a50_0x381e83 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x59236c(0x1d7)](_0x2ff474){const _0x1b33ed=a50_0x59236c,_0x4dc5ca=await getDynamicLayerInfo(_0x2ff474['url']?_0x2ff474[_0x1b33ed(0x1dc)]:'');let _0x42f5b9=new a50_0x48812f(_0x2ff474,_0x4dc5ca);return _0x42f5b9;}static async['getArcgisTileLayer'](_0x58d396){const _0x2e8db7=a50_0x59236c,_0x33f6b1=await getDynamicLayerInfo(_0x58d396[_0x2e8db7(0x1dc)]?_0x58d396['url']:'');let _0x1b591d=new a50_0x413041(_0x58d396,_0x33f6b1);return _0x1b591d;}static async[a50_0x59236c(0x1de)](_0x13b4ea){const _0x223634=a50_0x59236c,_0x54ece0=await getDynamicLayerInfo(_0x13b4ea[_0x223634(0x1dc)]?_0x13b4ea['url']:'');let _0x51fc7d=[];if(_0x13b4ea[_0x223634(0x1d9)])for(let _0x370002=0x0;_0x370002<_0x13b4ea[_0x223634(0x1d9)]['length'];_0x370002++){const _0x2d5920=_0x13b4ea[_0x223634(0x1d9)][_0x370002];_0x51fc7d[_0x223634(0x1d4)](await getFeatureLayerInfo(_0x13b4ea[_0x223634(0x1dc)]?_0x13b4ea[_0x223634(0x1dc)]:'',_0x2d5920));}let _0x2b27ff=new a50_0x5f3c63(_0x13b4ea,_0x54ece0,_0x51fc7d);return _0x2b27ff;}static async[a50_0x59236c(0x1e0)](_0x2ad8c3){const _0x9052fe=a50_0x59236c;var _0x5df5c4;const _0x1c9a95=(_0x5df5c4=_0x2ad8c3['sublayers'])===null||_0x5df5c4===void 0x0?void 0x0:_0x5df5c4[0x0],_0x5c28b7=await getWMSLayerCapabilities(_0x2ad8c3[_0x9052fe(0x1dc)]?_0x2ad8c3['url']:'',_0x1c9a95==null?'':_0x1c9a95);let _0xf460b7=new a50_0x46643b(_0x2ad8c3,_0x5c28b7);return _0xf460b7;}static async[a50_0x59236c(0x1db)](_0x58fb3a){const _0x48f6b9=a50_0x59236c;var _0x3c30d4;const _0x10f7ea=(_0x3c30d4=_0x58fb3a[_0x48f6b9(0x1d9)])===null||_0x3c30d4===void 0x0?void 0x0:_0x3c30d4[0x0],_0x4629a0=await getWMTSLayerCapabilities(_0x58fb3a['url']?_0x58fb3a['url']:'',_0x10f7ea==null?'':_0x10f7ea);let _0x1f8bf3=new a50_0x470d04(_0x58fb3a,_0x4629a0);return _0x1f8bf3;}static async[a50_0x59236c(0x1ce)](_0x501fef){const _0x24ca5c=a50_0x59236c;var _0x29a6b9;const _0x1db060=(_0x29a6b9=_0x501fef[_0x24ca5c(0x1d9)])===null||_0x29a6b9===void 0x0?void 0x0:_0x29a6b9[0x0],_0x202a90=await getWMSLayerCapabilities(_0x501fef[_0x24ca5c(0x1dc)]?_0x501fef[_0x24ca5c(0x1dc)]:'',_0x1db060==null?'':_0x1db060);let _0xd9b575=new a50_0x30dc73(_0x501fef,_0x202a90);return _0xd9b575;}static async[a50_0x59236c(0x1d2)](_0x4aed53){const _0x5cc3cd=a50_0x59236c;var _0x4d1648;const _0x5b23c9=(_0x4d1648=_0x4aed53[_0x5cc3cd(0x1d9)])===null||_0x4d1648===void 0x0?void 0x0:_0x4d1648[0x0],_0x1ba6a6=await getWMTSLayerCapabilities(_0x4aed53[_0x5cc3cd(0x1dc)]?_0x4aed53[_0x5cc3cd(0x1dc)]:'',_0x5b23c9==null?'':_0x5b23c9);let _0x143e06=new a50_0xa6d65a(_0x4aed53,_0x1ba6a6);return _0x143e06;}static async[a50_0x59236c(0x1cf)](_0x2de324){const _0x533684=a50_0x59236c;var _0x1c4df2;const _0x48e5a7=(_0x1c4df2=_0x2de324[_0x533684(0x1d9)])===null||_0x1c4df2===void 0x0?void 0x0:_0x1c4df2[0x0],_0x12d8c5=await getWFSLayerCapabilities(_0x2de324['url']?_0x2de324[_0x533684(0x1dc)]:'',_0x48e5a7==null?'':_0x48e5a7);let _0x306a06=new a50_0x4b0c7b(_0x2de324,_0x12d8c5);return _0x306a06;}static async[a50_0x59236c(0x1d8)](_0x585521){const _0x3958d6=a50_0x59236c;var _0x486947;const _0x16af4b=(_0x486947=_0x585521['sublayers'])===null||_0x486947===void 0x0?void 0x0:_0x486947[0x0],_0x3b8c3a=await getWMTSLayerCapabilities(_0x585521['url']?_0x585521[_0x3958d6(0x1dc)]:'',_0x16af4b==null?'':_0x16af4b);let _0x5b4789=new a50_0x381e83(_0x585521,_0x3b8c3a);return _0x5b4789;}static async['getTDTLayer'](_0x5dc68a){const _0x477f76=a50_0x59236c;var _0x4d5af5;const _0x2b378c=(_0x4d5af5=_0x5dc68a[_0x477f76(0x1d9)])===null||_0x4d5af5===void 0x0?void 0x0:_0x4d5af5[0x0],_0x2d56f1=await getWMTSLayerCapabilities(_0x5dc68a[_0x477f76(0x1dc)]?_0x5dc68a['url']:'',_0x2b378c==null?'':_0x2b378c);let _0x5071e8=new a50_0x396b02(_0x5dc68a,_0x2d56f1);return _0x5071e8;}}
@@ -1 +1 @@
1
- (function(_0xd65f00,_0x58b653){const _0x5e619b=a51_0x4eab,_0x27058e=_0xd65f00();while(!![]){try{const _0x543b02=-parseInt(_0x5e619b(0xd3))/0x1+parseInt(_0x5e619b(0xd5))/0x2*(-parseInt(_0x5e619b(0xd8))/0x3)+parseInt(_0x5e619b(0xcd))/0x4*(parseInt(_0x5e619b(0xcf))/0x5)+parseInt(_0x5e619b(0xd6))/0x6*(parseInt(_0x5e619b(0xde))/0x7)+parseInt(_0x5e619b(0xda))/0x8+-parseInt(_0x5e619b(0xd7))/0x9*(parseInt(_0x5e619b(0xce))/0xa)+parseInt(_0x5e619b(0xd0))/0xb*(-parseInt(_0x5e619b(0xdf))/0xc);if(_0x543b02===_0x58b653)break;else _0x27058e['push'](_0x27058e['shift']());}catch(_0x218120){_0x27058e['push'](_0x27058e['shift']());}}}(a51_0x4d8e,0x9e96b));import a51_0x5c54ea from'ol/layer/Tile';import{WMTS as a51_0x141fd2}from'ol/source';import a51_0x390d36 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a51_0x4d8e(){const _0x3016dd=['492ZcvxEb','KVP','8423288ZirINb','projection','initialExtent','url','36533FSHCeS','6231096kwIiax','layerInfo','length','format','boundingBoxExtent','sublayers','style','tileMatrixSet','EPSG:4490','3975472vMNWfd','10ddsTqt','5eYoUnq','22wyPgsZ','opacity','1.0.0','1072950vhIowe','join','3034lRRiby','1416ButoZX','2417670JWiakW'];a51_0x4d8e=function(){return _0x3016dd;};return a51_0x4d8e();}function a51_0x4eab(_0x330c89,_0x489664){const _0x4d8ea0=a51_0x4d8e();return a51_0x4eab=function(_0x4eabef,_0x26fd36){_0x4eabef=_0x4eabef-0xca;let _0x2ac716=_0x4d8ea0[_0x4eabef];return _0x2ac716;},a51_0x4eab(_0x330c89,_0x489664);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x5c54ea{constructor(_0x3d23b5,_0x2f3297){const _0x4bb15e=a51_0x4eab;let _0x575875='';_0x3d23b5['sublayers']&&_0x3d23b5[_0x4bb15e(0xe4)][_0x4bb15e(0xe1)]>0x0&&(_0x575875=_0x3d23b5[_0x4bb15e(0xe4)][_0x4bb15e(0xd4)](','));const _0x435a40=_0x4bb15e(0xcc);let _0x12a9d8=registerProj(_0x435a40);const _0x1a823c=[],_0x12fb62=[];for(let _0xc30a2d=0x1;_0xc30a2d<0x13;_0xc30a2d++){_0x1a823c[_0xc30a2d]=getWidth(_0x2f3297['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0xc30a2d)),_0x12fb62[_0xc30a2d]=_0xc30a2d+'';}super({'opacity':_0x3d23b5[_0x4bb15e(0xd1)],'zIndex':_0x3d23b5['mapIndex'],'source':new a51_0x141fd2({'style':_0x2f3297[_0x4bb15e(0xca)],'url':_0x3d23b5[_0x4bb15e(0xdd)],'tileGrid':new a51_0x390d36({'origin':getTopLeft(_0x2f3297[_0x4bb15e(0xe3)]),'resolutions':_0x1a823c,'matrixIds':_0x12fb62}),'layer':_0x575875,'matrixSet':_0x2f3297[_0x4bb15e(0xcb)],'version':_0x4bb15e(0xd2),'format':_0x2f3297[_0x4bb15e(0xe2)][0x0],'projection':_0x435a40,'requestEncoding':_0x4bb15e(0xd9)})}),this['id']=_0x3d23b5['id'],this[_0x4bb15e(0xdc)]=_0x2f3297[_0x4bb15e(0xe3)],this[_0x4bb15e(0xdb)]=_0x12a9d8,this[_0x4bb15e(0xe0)]=_0x3d23b5;}}
1
+ (function(_0x53680c,_0x476795){const _0x514a43=a51_0x5ad2,_0x3c516d=_0x53680c();while(!![]){try{const _0x3c42b8=-parseInt(_0x514a43(0x1f9))/0x1+-parseInt(_0x514a43(0x1ee))/0x2*(-parseInt(_0x514a43(0x1f2))/0x3)+parseInt(_0x514a43(0x1ed))/0x4+parseInt(_0x514a43(0x1f8))/0x5+-parseInt(_0x514a43(0x1ea))/0x6+-parseInt(_0x514a43(0x1f1))/0x7*(-parseInt(_0x514a43(0x201))/0x8)+parseInt(_0x514a43(0x1ec))/0x9*(parseInt(_0x514a43(0x1fe))/0xa);if(_0x3c42b8===_0x476795)break;else _0x3c516d['push'](_0x3c516d['shift']());}catch(_0xc5b0f){_0x3c516d['push'](_0x3c516d['shift']());}}}(a51_0x221a,0xf0d1c));import a51_0x372a68 from'ol/layer/Tile';import{WMTS as a51_0x2e2ffc}from'ol/source';import a51_0x4a3ead from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x372a68{constructor(_0x22e86a,_0x1469e6){const _0x34d3e2=a51_0x5ad2;let _0x96b103='';_0x22e86a['sublayers']&&_0x22e86a[_0x34d3e2(0x1f4)][_0x34d3e2(0x1ef)]>0x0&&(_0x96b103=_0x22e86a[_0x34d3e2(0x1f4)][_0x34d3e2(0x1fa)](','));const _0x247c24=_0x34d3e2(0x1fb);let _0x3d7fed=registerProj(_0x247c24);const _0x3a8f10=[],_0x28731e=[];for(let _0x12ceca=0x1;_0x12ceca<0x13;_0x12ceca++){_0x3a8f10[_0x12ceca]=getWidth(_0x1469e6['boundingBoxExtent'])/(0x100*Math[_0x34d3e2(0x1fd)](0x2,_0x12ceca)),_0x28731e[_0x12ceca]=_0x12ceca+'';}super({'opacity':_0x22e86a[_0x34d3e2(0x1f7)],'zIndex':_0x22e86a[_0x34d3e2(0x1fc)],'source':new a51_0x2e2ffc({'style':_0x1469e6[_0x34d3e2(0x1f5)],'url':_0x22e86a[_0x34d3e2(0x200)],'tileGrid':new a51_0x4a3ead({'origin':getTopLeft(_0x1469e6['boundingBoxExtent']),'resolutions':_0x3a8f10,'matrixIds':_0x28731e}),'layer':_0x96b103,'matrixSet':_0x1469e6['tileMatrixSet'],'version':_0x34d3e2(0x1e9),'format':_0x1469e6[_0x34d3e2(0x1eb)][0x0],'projection':_0x247c24,'requestEncoding':_0x34d3e2(0x1f3)})}),this['id']=_0x22e86a['id'],this[_0x34d3e2(0x1f0)]=_0x1469e6[_0x34d3e2(0x1e8)],this[_0x34d3e2(0x1ff)]=_0x3d7fed,this[_0x34d3e2(0x1f6)]=_0x22e86a;}}function a51_0x5ad2(_0x70234e,_0x14664e){const _0x221a54=a51_0x221a();return a51_0x5ad2=function(_0x5ad2c6,_0x432cac){_0x5ad2c6=_0x5ad2c6-0x1e8;let _0x42b702=_0x221a54[_0x5ad2c6];return _0x42b702;},a51_0x5ad2(_0x70234e,_0x14664e);}function a51_0x221a(){const _0x1920e2=['join','EPSG:4490','mapIndex','pow','112650NooblJ','projection','url','40EZJCbG','boundingBoxExtent','1.0.0','11347854SvPgBI','format','477XzSxqk','620296SfRNyC','39818SsXpmW','length','initialExtent','2419970wOrlsI','207VcyYcL','KVP','sublayers','style','layerInfo','opacity','4913320omisQa','1959349FOgqZz'];a51_0x221a=function(){return _0x1920e2;};return a51_0x221a();}