ym-gis-2d 1.0.14 → 1.0.15

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 (68) 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.map +1 -1
  47. package/utils/GeometryUtil.js +1 -1
  48. package/utils/GeometryUtil.js.map +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.js +1 -1
  67. package/ym-gis-2d.es.js +1 -1
  68. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a37_0x4fb69d=a37_0xac02;(function(_0x47e719,_0xc831a1){const _0x16511f=a37_0xac02,_0x56be5a=_0x47e719();while(!![]){try{const _0x436f3e=parseInt(_0x16511f(0x164))/0x1*(-parseInt(_0x16511f(0x152))/0x2)+-parseInt(_0x16511f(0x129))/0x3*(-parseInt(_0x16511f(0x166))/0x4)+-parseInt(_0x16511f(0x120))/0x5+-parseInt(_0x16511f(0x163))/0x6*(parseInt(_0x16511f(0x10d))/0x7)+parseInt(_0x16511f(0x151))/0x8+-parseInt(_0x16511f(0x16b))/0x9+parseInt(_0x16511f(0x134))/0xa*(parseInt(_0x16511f(0x137))/0xb);if(_0x436f3e===_0xc831a1)break;else _0x56be5a['push'](_0x56be5a['shift']());}catch(_0x3b9c68){_0x56be5a['push'](_0x56be5a['shift']());}}}(a37_0x1a9f,0x8c7d8));import a37_0x1647b4 from'ol/events/Event';import a37_0x48453a from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a37_0x3a1ea9 from'ol/Feature';import a37_0x27c0d8,{createEditingStyle}from'ol/style/Style';import a37_0x1eeecb from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x51146e from'ol/style/Text';import a37_0x4d6091 from'ol/style/Fill';import a37_0x4aab68 from'ol/interaction/Property';function a37_0xac02(_0x114e97,_0x360ffc){const _0x1a9fe6=a37_0x1a9f();return a37_0xac02=function(_0xac0206,_0x3f006d){_0xac0206=_0xac0206-0x106;let _0x3e416b=_0x1a9fe6[_0xac0206];return _0x3e416b;},a37_0xac02(_0x114e97,_0x360ffc);}import a37_0x193eaf from'ol/layer/Vector';import a37_0xd0f4eb from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':'drawend','DRAWABORT':a37_0x4fb69d(0x15a),'DRAWADDPOINT':a37_0x4fb69d(0x16a),'DRAWMOVING':a37_0x4fb69d(0x144)};export class DrawEvent extends a37_0x1647b4{constructor(_0x457a96,_0x12c13d,_0x224f68){const _0x4acb14=a37_0x4fb69d;super(_0x457a96),this[_0x4acb14(0x150)]=_0x12c13d,this['coordinates']=_0x224f68;}}export class ShEvent extends a37_0x1647b4{constructor(_0xdb7023,_0x38364c,_0x41452f,_0x205218,_0x213327){const _0x3d469e=a37_0x4fb69d;super(_0xdb7023),this[_0x3d469e(0x131)]=_0x213327,this[_0x3d469e(0x155)]=_0x38364c,this[_0x3d469e(0x12d)]=_0x41452f,this[_0x3d469e(0x116)]=_0x205218;}}function a37_0x1a9f(){const _0x5aea48=['type','push','dispatchEvent','sqrt','getText','drawabort','createMultiPointFeature','showTip','pop','getCode','addFeature','setStyle','handleUpEvent','wrapX','2208dLDeBw','826599bzWykR','getSource','603956lHgscU','getPixelFromCoordinate','getGeometry','_fixPoint','drawaddpoint','9708471Xswvrh','DRAWMOVING','setText','indexOf','单击结束绘制,右击删除点','_showTip','DRAWABORT','stopDown','rectangle','setGeometry','_minPoints','16177aYOLnR','_tipStyle','_tipOverlay','handleDragEvent','clear','单击增加点,右击删除点双击完成绘制','addChangeListener','_style','ACTIVE','coordinates','unInternal','revert','updateSketchFeatures_','_drawingCoordinates','DRAWEND','_overlay','pointermove','_features','updateTip_','3338380RGfVIB','Rectangle','MAX_VALUE','Ellipse','12px\x20Calibre,sans-serif','atFinish_','_snapTolerance','_tipFeature','onceInternal','3rCRObd','_sketchFeature','getProjection','features','coordinate','finishDrawing','startDrawing_','source','projection','originalEvent','Ellipsoid','30380010YtfWhf','getMap','DRAWADDPOINT','11mrdJqp','buildDrawingFeature','setMap','Circle','preventDefault','abortDrawing_','单击拖动绘制','left','onInternal','_isStayDraw','getView','getType','updateState_','drawmoving','minPoint','handleMoveEvent','snapTolerance','单击增加点,右击删除点','_type','单击开始绘制','addPoint','fixPoint','button','length','tipText','feature','6479200cRkUkc','2zFxiPH','_source','abortDrawing'];a37_0x1a9f=function(){return _0x5aea48;};return a37_0x1a9f();}export default class Draw extends a37_0x48453a{constructor(_0x3a036c,_0x58caff){const _0x57a9eb=a37_0x4fb69d,_0x2e8d1b=_0x58caff?_0x58caff:{};!_0x2e8d1b[_0x57a9eb(0x109)]&&(_0x2e8d1b[_0x57a9eb(0x109)]=![]);super(_0x58caff),this['on']=this[_0x57a9eb(0x13f)],this['once']=this[_0x57a9eb(0x128)],this['un']=this[_0x57a9eb(0x117)],this[_0x57a9eb(0x140)]=![],this[_0x57a9eb(0x149)]=_0x3a036c,this[_0x57a9eb(0x114)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff['style'],this[_0x57a9eb(0x153)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x130)],this['_features']=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x12c)];const _0x5d4316=getPlotCount(this[_0x57a9eb(0x149)]);this['_minPoints']=_0x5d4316[_0x57a9eb(0x145)],this[_0x57a9eb(0x169)]=_0x5d4316[_0x57a9eb(0x14c)],this[_0x57a9eb(0x14f)]=_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x14f)],this[_0x57a9eb(0x107)]=(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x15c)])==![]?![]:!![],this[_0x57a9eb(0x126)]=_0x2e8d1b[_0x57a9eb(0x147)]?_0x2e8d1b[_0x57a9eb(0x147)]:0x6,this['_tipFeature']=new a37_0x3a1ea9(),this[_0x57a9eb(0x10e)]=new a37_0x27c0d8({'text':new a37_0x51146e({'font':_0x57a9eb(0x124),'fill':new a37_0x4d6091({'color':'rgba(255,\x20255,\x20255,\x201)'}),'backgroundFill':new a37_0x4d6091({'color':'rgba(0,\x200,\x200,\x200.4)'}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x57a9eb(0x13e),'offsetX':0xf})}),this[_0x57a9eb(0x11a)]=[],this['_tipOverlay']=new a37_0x193eaf({'source':new a37_0x1eeecb({'useSpatialIndex':![],'wrapX':(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x162)])?_0x58caff[_0x57a9eb(0x162)]:![]})}),this[_0x57a9eb(0x11c)]=new a37_0x193eaf({'source':new a37_0x1eeecb({'useSpatialIndex':![],'wrapX':(_0x58caff===null||_0x58caff===void 0x0?void 0x0:_0x58caff[_0x57a9eb(0x162)])?_0x58caff[_0x57a9eb(0x162)]:![]}),'updateWhileInteracting':!![]}),this[_0x57a9eb(0x113)](a37_0x4aab68[_0x57a9eb(0x115)],this[_0x57a9eb(0x143)]);}[a37_0x4fb69d(0x143)](){const _0x122388=a37_0x4fb69d,_0x258009=this[_0x122388(0x135)](),_0x59105a=this['getActive']();(!_0x258009||!_0x59105a)&&this[_0x122388(0x154)](),this[_0x122388(0x11c)]['setMap'](_0x59105a?_0x258009:null),this[_0x122388(0x10f)][_0x122388(0x139)](_0x59105a?_0x258009:null);}[a37_0x4fb69d(0x139)](_0x5a43e7){const _0x4f6b6b=a37_0x4fb69d;super[_0x4f6b6b(0x139)](_0x5a43e7),this[_0x4f6b6b(0x143)]();}['setStyle'](_0x31a2f4){this['_style']=_0x31a2f4?_0x31a2f4:{};}['getOverlay'](){const _0x16eba9=a37_0x4fb69d;return this[_0x16eba9(0x11c)];}['handleDownEvent'](_0x1cb876){const _0x49f1ff=a37_0x4fb69d;if(_0x1cb876['originalEvent'][_0x49f1ff(0x14d)]===0x2)return _0x1cb876[_0x49f1ff(0x132)][_0x49f1ff(0x13b)](),this[_0x49f1ff(0x118)](),this[_0x49f1ff(0x146)](_0x1cb876),![];return!![];}[a37_0x4fb69d(0x161)](_0x2c6375){const _0x5d9193=a37_0x4fb69d;var _0x17a046,_0x411e48;if(this['_type']=='rectangle'&&this[_0x5d9193(0x11a)]['length']<0x1)return this['dispatchEvent'](new DrawEvent(DrawEventType[_0x5d9193(0x11b)],undefined,[_0x2c6375[_0x5d9193(0x12d)]])),![];if(!this[_0x5d9193(0x140)])this[_0x5d9193(0x12f)](_0x2c6375[_0x5d9193(0x12d)]),this[_0x5d9193(0x157)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x5d9193(0x149)],_0x2c6375[_0x5d9193(0x12d)],this[_0x5d9193(0x11a)],(_0x17a046=this['getMap']())===null||_0x17a046===void 0x0?void 0x0:_0x17a046[_0x5d9193(0x141)]()[_0x5d9193(0x12b)]()['getCode']())),this[_0x5d9193(0x149)]=='point'&&this[_0x5d9193(0x12e)]();else{if(this[_0x5d9193(0x11a)]&&this[_0x5d9193(0x11a)][_0x5d9193(0x14e)]>0x0){if(this[_0x5d9193(0x125)](_0x2c6375['pixel']))return this[_0x5d9193(0x12e)](),_0x2c6375[_0x5d9193(0x13b)](),![];let _0x2e37e8=this[_0x5d9193(0x11a)][_0x5d9193(0x14e)]+0x1;_0x2e37e8<=this['_fixPoint']&&this[_0x5d9193(0x14b)](_0x2c6375[_0x5d9193(0x12d)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x5d9193(0x136)],this['_type'],_0x2c6375[_0x5d9193(0x12d)],this[_0x5d9193(0x11a)],(_0x411e48=this['getMap']())===null||_0x411e48===void 0x0?void 0x0:_0x411e48[_0x5d9193(0x141)]()[_0x5d9193(0x12b)]()[_0x5d9193(0x15e)]())),_0x2e37e8>=this[_0x5d9193(0x10c)]&&this[_0x5d9193(0x138)](this['_drawingCoordinates']),_0x2e37e8===this['_fixPoint']&&this['finishDrawing']();}}return _0x2c6375[_0x5d9193(0x13b)](),![];}[a37_0x4fb69d(0x110)](_0x26aea7){const _0x21c16e=a37_0x4fb69d;var _0x2dca05;if(this[_0x21c16e(0x149)]==_0x21c16e(0x10a)&&_0x26aea7[_0x21c16e(0x132)][_0x21c16e(0x155)]=='pointermove'){if(!this[_0x21c16e(0x140)]){this[_0x21c16e(0x12f)](_0x26aea7['coordinate']),this[_0x21c16e(0x157)](new ShEvent(DrawEventType[_0x21c16e(0x136)],this[_0x21c16e(0x149)],_0x26aea7[_0x21c16e(0x12d)],this[_0x21c16e(0x11a)],(_0x2dca05=this[_0x21c16e(0x135)]())===null||_0x2dca05===void 0x0?void 0x0:_0x2dca05[_0x21c16e(0x141)]()[_0x21c16e(0x12b)]()[_0x21c16e(0x15e)]()));return;}let _0x54ee44=[...this[_0x21c16e(0x11a)],_0x26aea7[_0x21c16e(0x12d)]];this['buildDrawingFeature'](_0x54ee44),this[_0x21c16e(0x157)](new DrawEvent(DrawEventType['DRAWMOVING'],this[_0x21c16e(0x12a)],this['_drawingCoordinates']));}}[a37_0x4fb69d(0x146)](_0x4d294f){const _0x3c3120=a37_0x4fb69d;var _0x5268a5,_0x3797e9,_0x172032;let _0x39c8df='';this['_type']==_0x3c3120(0x11d)&&(this[_0x3c3120(0x12f)](_0x4d294f[_0x3c3120(0x12d)]),this[_0x3c3120(0x157)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x3c3120(0x149)],_0x4d294f[_0x3c3120(0x12d)],this[_0x3c3120(0x11a)],(_0x5268a5=this[_0x3c3120(0x135)]())===null||_0x5268a5===void 0x0?void 0x0:_0x5268a5[_0x3c3120(0x141)]()[_0x3c3120(0x12b)]()[_0x3c3120(0x15e)]())),this[_0x3c3120(0x12e)]());!this['_isStayDraw']?_0x39c8df=this[_0x3c3120(0x149)]==_0x3c3120(0x10a)?_0x3c3120(0x13d):_0x3c3120(0x14a):(_0x39c8df=_0x3c3120(0x148),((_0x3797e9=this[_0x3c3120(0x11a)])===null||_0x3797e9===void 0x0?void 0x0:_0x3797e9[_0x3c3120(0x14e)])===this[_0x3c3120(0x169)]-0x1&&(_0x39c8df=_0x3c3120(0x106)),((_0x172032=this[_0x3c3120(0x11a)])===null||_0x172032===void 0x0?void 0x0:_0x172032[_0x3c3120(0x14e)])>=this[_0x3c3120(0x10c)]&&this[_0x3c3120(0x169)]===Number['MAX_VALUE']&&(_0x39c8df=_0x3c3120(0x112)));this[_0x3c3120(0x14f)]!=undefined&&(_0x39c8df=this['tipText']);this[_0x3c3120(0x11f)](_0x4d294f[_0x3c3120(0x12d)],_0x39c8df);if(this['_isStayDraw']&&this[_0x3c3120(0x149)]!='rectangle'){let _0x496c67=[...this[_0x3c3120(0x11a)],_0x4d294f[_0x3c3120(0x12d)]];this[_0x3c3120(0x138)](_0x496c67),this[_0x3c3120(0x157)](new DrawEvent(DrawEventType[_0x3c3120(0x16c)],this[_0x3c3120(0x12a)],this[_0x3c3120(0x11a)]));}}[a37_0x4fb69d(0x125)](_0x16a227){const _0x1f8623=a37_0x4fb69d;var _0x3510f4;let _0x12c090=![],_0x393dcb=this[_0x1f8623(0x11a)][_0x1f8623(0x14e)];if(_0x393dcb>this[_0x1f8623(0x10c)]&&this[_0x1f8623(0x169)]===Number[_0x1f8623(0x122)]){const _0x5c889c=this[_0x1f8623(0x11a)][this[_0x1f8623(0x11a)][_0x1f8623(0x14e)]-0x1],_0x51e55c=(_0x3510f4=this['getMap']())===null||_0x3510f4===void 0x0?void 0x0:_0x3510f4[_0x1f8623(0x167)](_0x5c889c),_0x2404b5=_0x16a227[0x0]-(_0x51e55c?_0x51e55c[0x0]:0x0),_0x12e369=_0x16a227[0x1]-(_0x51e55c?_0x51e55c[0x1]:0x0);_0x12c090=Math[_0x1f8623(0x158)](_0x2404b5*_0x2404b5+_0x12e369*_0x12e369)<=this['_snapTolerance'];}return _0x12c090;}['startDrawing_'](_0x5096b2){const _0x27ff72=a37_0x4fb69d;this[_0x27ff72(0x140)]=!![],this[_0x27ff72(0x11a)]=[_0x5096b2['slice']()],this['_sketchFeature']=this[_0x27ff72(0x15b)](),this[_0x27ff72(0x119)](),this['dispatchEvent'](new DrawEvent(DrawEventType['DRAWSTART'],this['_sketchFeature'],this[_0x27ff72(0x11a)]));}['finishDrawing'](){const _0x11e462=a37_0x4fb69d;if(this[_0x11e462(0x11a)][_0x11e462(0x14e)]>this[_0x11e462(0x10c)]){this[_0x11e462(0x138)](this[_0x11e462(0x11a)]);let _0x52a7bf=this['_drawingCoordinates'];const _0x10bb76=this[_0x11e462(0x13c)]();if(!_0x10bb76)return;this[_0x11e462(0x157)](new DrawEvent(DrawEventType[_0x11e462(0x11b)],_0x10bb76,_0x52a7bf)),this[_0x11e462(0x11e)]&&this['_features'][_0x11e462(0x156)](_0x10bb76),this[_0x11e462(0x153)]&&this['_source']['addFeature'](_0x10bb76);}}[a37_0x4fb69d(0x14b)](_0x5a3a03){const _0xc92155=a37_0x4fb69d;this[_0xc92155(0x11a)][_0xc92155(0x156)](_0x5a3a03),this[_0xc92155(0x12a)]=this[_0xc92155(0x15b)](),this[_0xc92155(0x119)]();}['createMultiPointFeature'](){const _0x153c77=a37_0x4fb69d,_0xa38959=new MultiPoint(this['_drawingCoordinates']);let _0x195a1c=new a37_0x3a1ea9();return _0x195a1c[_0x153c77(0x10b)](_0xa38959),_0x195a1c;}['abortDrawing_'](){const _0xdd1aa7=a37_0x4fb69d;var _0x27d902,_0xb102a5;this[_0xdd1aa7(0x140)]=![];const _0x273da1=this[_0xdd1aa7(0x12a)];return this[_0xdd1aa7(0x12a)]=undefined,this[_0xdd1aa7(0x11a)]=[],(_0x27d902=this[_0xdd1aa7(0x11c)][_0xdd1aa7(0x165)]())===null||_0x27d902===void 0x0?void 0x0:_0x27d902['clear'](!![]),(_0xb102a5=this['_tipOverlay']['getSource']())===null||_0xb102a5===void 0x0?void 0x0:_0xb102a5[_0xdd1aa7(0x111)](!![]),_0x273da1;}['abortDrawing'](){const _0x2b1c7f=a37_0x4fb69d,_0xe86e15=this[_0x2b1c7f(0x13c)]();_0xe86e15&&this[_0x2b1c7f(0x157)](new DrawEvent(DrawEventType[_0x2b1c7f(0x108)],_0xe86e15,this['_drawingCoordinates']));}['buildDrawingFeature'](_0x16682e){const _0x43c702=a37_0x4fb69d;this['_sketchFeature']=new a37_0x3a1ea9();let _0x194b44=createPlot(this[_0x43c702(0x149)],_0x16682e);if(!_0x194b44)return;this[_0x43c702(0x12a)]['setGeometry'](_0x194b44);let _0x21c786=[a37_0xd0f4eb[_0x43c702(0x13a)],a37_0xd0f4eb[_0x43c702(0x133)],a37_0xd0f4eb[_0x43c702(0x123)]];if(_0x21c786[_0x43c702(0x16e)](this[_0x43c702(0x149)])>-0x1&&this[_0x43c702(0x114)]){}const _0x27bd55=this[_0x43c702(0x135)]();this[_0x43c702(0x12a)][_0x43c702(0x160)](getStyle(this['_type'],this['_style'],this['getMap']())),this['updateSketchFeatures_']();}[a37_0x4fb69d(0x119)](){const _0x4caccc=a37_0x4fb69d,_0x22d0b0=this[_0x4caccc(0x11c)][_0x4caccc(0x165)]();_0x22d0b0&&this['_sketchFeature']&&(_0x22d0b0[_0x4caccc(0x111)](!![]),_0x22d0b0[_0x4caccc(0x15f)](this[_0x4caccc(0x12a)]));}['revert'](){const _0x3d6482=a37_0x4fb69d;if(this['_isStayDraw']){if(this[_0x3d6482(0x11a)]&&this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]>0x0){const _0x540244=this[_0x3d6482(0x11c)][_0x3d6482(0x165)]();_0x540244===null||_0x540244===void 0x0?void 0x0:_0x540244[_0x3d6482(0x111)](!![]),this[_0x3d6482(0x11a)][_0x3d6482(0x15d)](),this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]>=this[_0x3d6482(0x10c)]&&this[_0x3d6482(0x138)](this[_0x3d6482(0x11a)]),this[_0x3d6482(0x11a)][_0x3d6482(0x14e)]===0x0&&(this[_0x3d6482(0x140)]=![]);}}}[a37_0x4fb69d(0x11f)](_0x3019bf,_0xefc510){const _0x2ab6db=a37_0x4fb69d;var _0x5c5712,_0x13b843,_0x3f1429,_0x37b9f5;if(!this['_showTip'])return;const _0x377dc8=this[_0x2ab6db(0x10f)][_0x2ab6db(0x165)]();_0x377dc8===null||_0x377dc8===void 0x0?void 0x0:_0x377dc8[_0x2ab6db(0x111)](!![]),(_0x5c5712=this[_0x2ab6db(0x127)])===null||_0x5c5712===void 0x0?void 0x0:_0x5c5712[_0x2ab6db(0x10b)](new Point(_0x3019bf)),(_0x3f1429=(_0x13b843=this[_0x2ab6db(0x10e)])===null||_0x13b843===void 0x0?void 0x0:_0x13b843[_0x2ab6db(0x159)]())===null||_0x3f1429===void 0x0?void 0x0:_0x3f1429[_0x2ab6db(0x16d)](_0xefc510),(_0x37b9f5=this[_0x2ab6db(0x127)])===null||_0x37b9f5===void 0x0?void 0x0:_0x37b9f5[_0x2ab6db(0x160)](this[_0x2ab6db(0x10e)]),this[_0x2ab6db(0x127)]&&(_0x377dc8===null||_0x377dc8===void 0x0?void 0x0:_0x377dc8['addFeature'](this['_tipFeature']));}}function getDefaultStyleFunction(){const _0x26fdf0=createEditingStyle();return function(_0x18db33,_0xd4395f){const _0xc02d51=a37_0xac02,_0x6a1b39=_0x26fdf0[_0x18db33[_0xc02d51(0x168)]()['getType']()];if(_0x6a1b39&&_0xc02d51(0x121)==_0x18db33['getGeometry']()[_0xc02d51(0x142)]()){}};}
1
+ const a37_0x3a0ba6=a37_0x1470;(function(_0x3a47f9,_0x464c5b){const _0x1fced7=a37_0x1470,_0x1c0518=_0x3a47f9();while(!![]){try{const _0x176dde=parseInt(_0x1fced7(0xee))/0x1+parseInt(_0x1fced7(0xe6))/0x2+parseInt(_0x1fced7(0xe5))/0x3+parseInt(_0x1fced7(0x113))/0x4+-parseInt(_0x1fced7(0x136))/0x5+parseInt(_0x1fced7(0x105))/0x6+parseInt(_0x1fced7(0x12c))/0x7*(parseInt(_0x1fced7(0x123))/0x8);if(_0x176dde===_0x464c5b)break;else _0x1c0518['push'](_0x1c0518['shift']());}catch(_0x3bd02c){_0x1c0518['push'](_0x1c0518['shift']());}}}(a37_0x335b,0xc4331));import a37_0x24d5bf from'ol/events/Event';import a37_0x11c7a2 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';function a37_0x1470(_0x4f331d,_0x114c30){const _0x335b28=a37_0x335b();return a37_0x1470=function(_0x1470c8,_0x20bb3b){_0x1470c8=_0x1470c8-0xe0;let _0x3d1017=_0x335b28[_0x1470c8];return _0x3d1017;},a37_0x1470(_0x4f331d,_0x114c30);}import a37_0x2ceed0 from'ol/Feature';import a37_0x472052,{createEditingStyle}from'ol/style/Style';import a37_0x432151 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x511165 from'ol/style/Text';import a37_0xfdf786 from'ol/style/Fill';import a37_0x566ae4 from'ol/interaction/Property';import a37_0x3891b3 from'ol/layer/Vector';import a37_0x366744 from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':a37_0x3a0ba6(0x126),'DRAWABORT':a37_0x3a0ba6(0x103),'DRAWADDPOINT':a37_0x3a0ba6(0x130),'DRAWMOVING':a37_0x3a0ba6(0x11c)};export class DrawEvent extends a37_0x24d5bf{constructor(_0x1638de,_0x12c75d,_0x53d23d){const _0x116380=a37_0x3a0ba6;super(_0x1638de),this[_0x116380(0x121)]=_0x12c75d,this['coordinates']=_0x53d23d;}}export class ShEvent extends a37_0x24d5bf{constructor(_0x4e7f9e,_0x2d992d,_0x483973,_0x354b97,_0xba2d38){const _0x5c957e=a37_0x3a0ba6;super(_0x4e7f9e),this['projection']=_0xba2d38,this[_0x5c957e(0x10b)]=_0x2d992d,this[_0x5c957e(0x12a)]=_0x483973,this[_0x5c957e(0xe7)]=_0x354b97;}}export default class Draw extends a37_0x11c7a2{constructor(_0x330c30,_0x26b821){const _0x50ae9c=a37_0x3a0ba6,_0x239af1=_0x26b821?_0x26b821:{};!_0x239af1[_0x50ae9c(0xf8)]&&(_0x239af1[_0x50ae9c(0xf8)]=![]);super(_0x26b821),this['on']=this['onInternal'],this[_0x50ae9c(0xf4)]=this[_0x50ae9c(0x139)],this['un']=this['unInternal'],this[_0x50ae9c(0x143)]=![],this[_0x50ae9c(0x12b)]=_0x330c30,this[_0x50ae9c(0x133)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x109)],this[_0x50ae9c(0x115)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x13b)],this[_0x50ae9c(0x12f)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0xff)];const _0x232520=getPlotCount(this[_0x50ae9c(0x12b)]);this[_0x50ae9c(0x13a)]=_0x232520[_0x50ae9c(0x12e)],this[_0x50ae9c(0xf6)]=_0x232520[_0x50ae9c(0x134)],this[_0x50ae9c(0x11a)]=_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['tipText'],this['_showTip']=(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['showTip'])==![]?![]:!![],this[_0x50ae9c(0x119)]=_0x239af1['snapTolerance']?_0x239af1[_0x50ae9c(0x13d)]:0x6,this[_0x50ae9c(0x10d)]=new a37_0x2ceed0(),this[_0x50ae9c(0xe0)]=new a37_0x472052({'text':new a37_0x511165({'font':_0x50ae9c(0x141),'fill':new a37_0xfdf786({'color':_0x50ae9c(0xed)}),'backgroundFill':new a37_0xfdf786({'color':_0x50ae9c(0x122)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x50ae9c(0xf9),'offsetX':0xf})}),this[_0x50ae9c(0xe1)]=[],this[_0x50ae9c(0x132)]=new a37_0x3891b3({'source':new a37_0x432151({'useSpatialIndex':![],'wrapX':(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821['wrapX'])?_0x26b821[_0x50ae9c(0x11b)]:![]})}),this[_0x50ae9c(0x110)]=new a37_0x3891b3({'source':new a37_0x432151({'useSpatialIndex':![],'wrapX':(_0x26b821===null||_0x26b821===void 0x0?void 0x0:_0x26b821[_0x50ae9c(0x11b)])?_0x26b821['wrapX']:![]}),'updateWhileInteracting':!![]}),this[_0x50ae9c(0x13f)](a37_0x566ae4[_0x50ae9c(0xfc)],this['updateState_']);}[a37_0x3a0ba6(0xfa)](){const _0x1ddb71=a37_0x3a0ba6,_0x48c821=this[_0x1ddb71(0x131)](),_0x101e4c=this[_0x1ddb71(0x116)]();(!_0x48c821||!_0x101e4c)&&this[_0x1ddb71(0x10f)](),this[_0x1ddb71(0x110)][_0x1ddb71(0xe3)](_0x101e4c?_0x48c821:null),this[_0x1ddb71(0x132)][_0x1ddb71(0xe3)](_0x101e4c?_0x48c821:null);}[a37_0x3a0ba6(0xe3)](_0x5387a7){const _0xe0f149=a37_0x3a0ba6;super[_0xe0f149(0xe3)](_0x5387a7),this[_0xe0f149(0xfa)]();}[a37_0x3a0ba6(0xf5)](_0x3325f9){const _0x5d9af4=a37_0x3a0ba6;this[_0x5d9af4(0x133)]=_0x3325f9?_0x3325f9:{};}[a37_0x3a0ba6(0x140)](){return this['_overlay'];}['handleDownEvent'](_0x4378d2){const _0xe05d1c=a37_0x3a0ba6;if(_0x4378d2[_0xe05d1c(0xe9)][_0xe05d1c(0x108)]===0x2)return _0x4378d2[_0xe05d1c(0xe9)]['preventDefault'](),this['revert'](),this[_0xe05d1c(0xe8)](_0x4378d2),![];return!![];}['handleUpEvent'](_0x29c8f4){const _0x125949=a37_0x3a0ba6;var _0x2582eb,_0x49a2e9;if(this['_type']=='rectangle'&&this[_0x125949(0xe1)]['length']<0x1)return this[_0x125949(0xef)](new DrawEvent(DrawEventType[_0x125949(0x10c)],undefined,[_0x29c8f4[_0x125949(0x12a)]])),![];if(!this[_0x125949(0x143)])this[_0x125949(0x124)](_0x29c8f4['coordinate']),this[_0x125949(0xef)](new ShEvent(DrawEventType[_0x125949(0x112)],this[_0x125949(0x12b)],_0x29c8f4[_0x125949(0x12a)],this[_0x125949(0xe1)],(_0x2582eb=this[_0x125949(0x131)]())===null||_0x2582eb===void 0x0?void 0x0:_0x2582eb['getView']()[_0x125949(0x142)]()[_0x125949(0xfd)]())),this[_0x125949(0x12b)]==_0x125949(0x138)&&this[_0x125949(0x114)]();else{if(this[_0x125949(0xe1)]&&this[_0x125949(0xe1)][_0x125949(0xfe)]>0x0){if(this[_0x125949(0x11d)](_0x29c8f4[_0x125949(0xf7)]))return this['finishDrawing'](),_0x29c8f4[_0x125949(0x128)](),![];let _0x55a406=this[_0x125949(0xe1)][_0x125949(0xfe)]+0x1;_0x55a406<=this[_0x125949(0xf6)]&&this[_0x125949(0x106)](_0x29c8f4['coordinate']),this[_0x125949(0xef)](new ShEvent(DrawEventType[_0x125949(0x112)],this[_0x125949(0x12b)],_0x29c8f4[_0x125949(0x12a)],this[_0x125949(0xe1)],(_0x49a2e9=this[_0x125949(0x131)]())===null||_0x49a2e9===void 0x0?void 0x0:_0x49a2e9[_0x125949(0x127)]()[_0x125949(0x142)]()[_0x125949(0xfd)]())),_0x55a406>=this['_minPoints']&&this[_0x125949(0xe4)](this['_drawingCoordinates']),_0x55a406===this[_0x125949(0xf6)]&&this[_0x125949(0x114)]();}}return _0x29c8f4['preventDefault'](),![];}[a37_0x3a0ba6(0x102)](_0x1a44e0){const _0xf1bcf3=a37_0x3a0ba6;var _0x51cda2;if(this['_type']=='rectangle'&&_0x1a44e0['originalEvent']['type']=='pointermove'){if(!this[_0xf1bcf3(0x143)]){this[_0xf1bcf3(0x124)](_0x1a44e0[_0xf1bcf3(0x12a)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0xf1bcf3(0x112)],this['_type'],_0x1a44e0[_0xf1bcf3(0x12a)],this[_0xf1bcf3(0xe1)],(_0x51cda2=this['getMap']())===null||_0x51cda2===void 0x0?void 0x0:_0x51cda2[_0xf1bcf3(0x127)]()['getProjection']()['getCode']()));return;}let _0x4d7625=[...this['_drawingCoordinates'],_0x1a44e0[_0xf1bcf3(0x12a)]];this[_0xf1bcf3(0xe4)](_0x4d7625),this[_0xf1bcf3(0xef)](new DrawEvent(DrawEventType[_0xf1bcf3(0x104)],this[_0xf1bcf3(0x135)],this['_drawingCoordinates']));}}[a37_0x3a0ba6(0xe8)](_0xadadbe){const _0x466003=a37_0x3a0ba6;var _0x39a951,_0x524234,_0x521a6d;let _0x130dc0='';this[_0x466003(0x12b)]==_0x466003(0xf2)&&(this[_0x466003(0x124)](_0xadadbe[_0x466003(0x12a)]),this[_0x466003(0xef)](new ShEvent(DrawEventType[_0x466003(0x112)],this[_0x466003(0x12b)],_0xadadbe[_0x466003(0x12a)],this[_0x466003(0xe1)],(_0x39a951=this[_0x466003(0x131)]())===null||_0x39a951===void 0x0?void 0x0:_0x39a951[_0x466003(0x127)]()['getProjection']()['getCode']())),this['finishDrawing']());!this['_isStayDraw']?_0x130dc0=this['_type']==_0x466003(0x117)?'单击拖动绘制':_0x466003(0x120):(_0x130dc0='单击增加点,右击删除点',((_0x524234=this[_0x466003(0xe1)])===null||_0x524234===void 0x0?void 0x0:_0x524234['length'])===this['_fixPoint']-0x1&&(_0x130dc0='单击结束绘制,右击删除点'),((_0x521a6d=this['_drawingCoordinates'])===null||_0x521a6d===void 0x0?void 0x0:_0x521a6d[_0x466003(0xfe)])>=this[_0x466003(0x13a)]&&this[_0x466003(0xf6)]===Number[_0x466003(0x11e)]&&(_0x130dc0=_0x466003(0x137)));this[_0x466003(0x11a)]!=undefined&&(_0x130dc0=this[_0x466003(0x11a)]);this[_0x466003(0x11f)](_0xadadbe['coordinate'],_0x130dc0);if(this['_isStayDraw']&&this[_0x466003(0x12b)]!=_0x466003(0x117)){let _0xd0a950=[...this[_0x466003(0xe1)],_0xadadbe[_0x466003(0x12a)]];this[_0x466003(0xe4)](_0xd0a950),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x466003(0x104)],this[_0x466003(0x135)],this['_drawingCoordinates']));}}[a37_0x3a0ba6(0x11d)](_0x49a8ac){const _0x20c446=a37_0x3a0ba6;var _0x1b1e4b;let _0xd21894=![],_0x1ec490=this['_drawingCoordinates']['length'];if(_0x1ec490>this['_minPoints']&&this[_0x20c446(0xf6)]===Number[_0x20c446(0x11e)]){const _0x40ac38=this[_0x20c446(0xe1)][this['_drawingCoordinates'][_0x20c446(0xfe)]-0x1],_0x4c159d=(_0x1b1e4b=this[_0x20c446(0x131)]())===null||_0x1b1e4b===void 0x0?void 0x0:_0x1b1e4b['getPixelFromCoordinate'](_0x40ac38),_0x516671=_0x49a8ac[0x0]-(_0x4c159d?_0x4c159d[0x0]:0x0),_0x3940d7=_0x49a8ac[0x1]-(_0x4c159d?_0x4c159d[0x1]:0x0);_0xd21894=Math[_0x20c446(0x101)](_0x516671*_0x516671+_0x3940d7*_0x3940d7)<=this['_snapTolerance'];}return _0xd21894;}[a37_0x3a0ba6(0x124)](_0x536032){const _0x10da00=a37_0x3a0ba6;this[_0x10da00(0x143)]=!![],this['_drawingCoordinates']=[_0x536032['slice']()],this[_0x10da00(0x135)]=this[_0x10da00(0xf1)](),this['updateSketchFeatures_'](),this[_0x10da00(0xef)](new DrawEvent(DrawEventType[_0x10da00(0x107)],this['_sketchFeature'],this['_drawingCoordinates']));}['finishDrawing'](){const _0x1c7f1a=a37_0x3a0ba6;if(this[_0x1c7f1a(0xe1)][_0x1c7f1a(0xfe)]>this['_minPoints']){this[_0x1c7f1a(0xe4)](this[_0x1c7f1a(0xe1)]);let _0x4aa70c=this[_0x1c7f1a(0xe1)];const _0x47b981=this[_0x1c7f1a(0x13e)]();if(!_0x47b981)return;this[_0x1c7f1a(0xef)](new DrawEvent(DrawEventType[_0x1c7f1a(0x10c)],_0x47b981,_0x4aa70c)),this[_0x1c7f1a(0x12f)]&&this[_0x1c7f1a(0x12f)]['push'](_0x47b981),this[_0x1c7f1a(0x115)]&&this['_source'][_0x1c7f1a(0x129)](_0x47b981);}}[a37_0x3a0ba6(0x106)](_0x5a8f70){const _0x5e38fe=a37_0x3a0ba6;this['_drawingCoordinates'][_0x5e38fe(0x13c)](_0x5a8f70),this['_sketchFeature']=this[_0x5e38fe(0xf1)](),this[_0x5e38fe(0xec)]();}[a37_0x3a0ba6(0xf1)](){const _0x5af631=a37_0x3a0ba6,_0x1f7678=new MultiPoint(this[_0x5af631(0xe1)]);let _0xedcd27=new a37_0x2ceed0();return _0xedcd27['setGeometry'](_0x1f7678),_0xedcd27;}[a37_0x3a0ba6(0x13e)](){const _0x5dfb15=a37_0x3a0ba6;var _0x219253,_0x4b2548;this['_isStayDraw']=![];const _0x5baf79=this[_0x5dfb15(0x135)];return this[_0x5dfb15(0x135)]=undefined,this[_0x5dfb15(0xe1)]=[],(_0x219253=this[_0x5dfb15(0x110)]['getSource']())===null||_0x219253===void 0x0?void 0x0:_0x219253[_0x5dfb15(0x125)](!![]),(_0x4b2548=this[_0x5dfb15(0x132)]['getSource']())===null||_0x4b2548===void 0x0?void 0x0:_0x4b2548['clear'](!![]),_0x5baf79;}[a37_0x3a0ba6(0x10f)](){const _0x22e3eb=a37_0x3a0ba6,_0x48289c=this[_0x22e3eb(0x13e)]();_0x48289c&&this[_0x22e3eb(0xef)](new DrawEvent(DrawEventType['DRAWABORT'],_0x48289c,this[_0x22e3eb(0xe1)]));}[a37_0x3a0ba6(0xe4)](_0x45af5d){const _0x35b34e=a37_0x3a0ba6;this[_0x35b34e(0x135)]=new a37_0x2ceed0();let _0xe3be85=createPlot(this[_0x35b34e(0x12b)],_0x45af5d);if(!_0xe3be85)return;this[_0x35b34e(0x135)]['setGeometry'](_0xe3be85);let _0x376d6a=[a37_0x366744['Circle'],a37_0x366744[_0x35b34e(0x100)],a37_0x366744[_0x35b34e(0x111)]];if(_0x376d6a[_0x35b34e(0xea)](this['_type'])>-0x1&&this[_0x35b34e(0x133)]){}const _0x4da9eb=this[_0x35b34e(0x131)]();this[_0x35b34e(0x135)][_0x35b34e(0xf5)](getStyle(this[_0x35b34e(0x12b)],this[_0x35b34e(0x133)],this['getMap']())),this[_0x35b34e(0xec)]();}[a37_0x3a0ba6(0xec)](){const _0x29a003=a37_0x3a0ba6,_0x233049=this[_0x29a003(0x110)]['getSource']();_0x233049&&this['_sketchFeature']&&(_0x233049['clear'](!![]),_0x233049[_0x29a003(0x129)](this['_sketchFeature']));}[a37_0x3a0ba6(0xfb)](){const _0x30c0ec=a37_0x3a0ba6;if(this[_0x30c0ec(0x143)]){if(this[_0x30c0ec(0xe1)]&&this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]>0x0){const _0x1efd8b=this[_0x30c0ec(0x110)][_0x30c0ec(0x10a)]();_0x1efd8b===null||_0x1efd8b===void 0x0?void 0x0:_0x1efd8b[_0x30c0ec(0x125)](!![]),this[_0x30c0ec(0xe1)][_0x30c0ec(0xe2)](),this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]>=this['_minPoints']&&this['buildDrawingFeature'](this[_0x30c0ec(0xe1)]),this[_0x30c0ec(0xe1)][_0x30c0ec(0xfe)]===0x0&&(this['_isStayDraw']=![]);}}}[a37_0x3a0ba6(0x11f)](_0x2be45a,_0x19a334){const _0x1e46dc=a37_0x3a0ba6;var _0x553bd1,_0x151e91,_0x3007f2,_0x5c501c;if(!this[_0x1e46dc(0xeb)])return;const _0x138d67=this[_0x1e46dc(0x132)][_0x1e46dc(0x10a)]();_0x138d67===null||_0x138d67===void 0x0?void 0x0:_0x138d67[_0x1e46dc(0x125)](!![]),(_0x553bd1=this[_0x1e46dc(0x10d)])===null||_0x553bd1===void 0x0?void 0x0:_0x553bd1[_0x1e46dc(0x12d)](new Point(_0x2be45a)),(_0x3007f2=(_0x151e91=this[_0x1e46dc(0xe0)])===null||_0x151e91===void 0x0?void 0x0:_0x151e91['getText']())===null||_0x3007f2===void 0x0?void 0x0:_0x3007f2[_0x1e46dc(0xf0)](_0x19a334),(_0x5c501c=this[_0x1e46dc(0x10d)])===null||_0x5c501c===void 0x0?void 0x0:_0x5c501c[_0x1e46dc(0xf5)](this[_0x1e46dc(0xe0)]),this[_0x1e46dc(0x10d)]&&(_0x138d67===null||_0x138d67===void 0x0?void 0x0:_0x138d67['addFeature'](this[_0x1e46dc(0x10d)]));}}function a37_0x335b(){const _0x35bee1=['rectangle','getType','_snapTolerance','tipText','wrapX','drawmoving','atFinish_','MAX_VALUE','updateTip_','单击开始绘制','feature','rgba(0,\x200,\x200,\x200.4)','8WICMuw','startDrawing_','clear','drawend','getView','preventDefault','addFeature','coordinate','_type','566062vjYLDs','setGeometry','minPoint','_features','drawaddpoint','getMap','_tipOverlay','_style','fixPoint','_sketchFeature','3767455pjktyz','单击增加点,右击删除点双击完成绘制','point','onceInternal','_minPoints','source','push','snapTolerance','abortDrawing_','addChangeListener','getOverlay','12px\x20Calibre,sans-serif','getProjection','_isStayDraw','_tipStyle','_drawingCoordinates','pop','setMap','buildDrawingFeature','1283115Qzppvi','320532ysjLwI','coordinates','handleMoveEvent','originalEvent','indexOf','_showTip','updateSketchFeatures_','rgba(255,\x20255,\x20255,\x201)','239019AUrVRu','dispatchEvent','setText','createMultiPointFeature','pointermove','Rectangle','once','setStyle','_fixPoint','pixel','stopDown','left','updateState_','revert','ACTIVE','getCode','length','features','Ellipsoid','sqrt','handleDragEvent','drawabort','DRAWMOVING','535482nJNRri','addPoint','DRAWSTART','button','style','getSource','type','DRAWEND','_tipFeature','getGeometry','abortDrawing','_overlay','Ellipse','DRAWADDPOINT','2240084qiHTyX','finishDrawing','_source','getActive'];a37_0x335b=function(){return _0x35bee1;};return a37_0x335b();}function getDefaultStyleFunction(){const _0x2ab551=createEditingStyle();return function(_0x5d1ec0,_0x292412){const _0x2194b4=a37_0x1470,_0x30e9ee=_0x2ab551[_0x5d1ec0[_0x2194b4(0x10e)]()['getType']()];if(_0x30e9ee&&_0x2194b4(0xf3)==_0x5d1ec0[_0x2194b4(0x10e)]()[_0x2194b4(0x118)]()){}};}
@@ -1 +1 @@
1
- const a38_0x1eafbd=a38_0x4eb0;function a38_0xaba6(){const _0x2e0f8a=['6969150oelkbA','464SDLCwE','31052781OPlVCe','getInteraction','423204EWdAZM','91966TvmDRd','set','get','forEach','3092344DhMhov','2XhoGfq','interactions','has','map','removeInteraction','505427SSMjBy','addInteraction','delete','5170755oEibLx'];a38_0xaba6=function(){return _0x2e0f8a;};return a38_0xaba6();}function a38_0x4eb0(_0x494ff1,_0x280270){const _0xaba62f=a38_0xaba6();return a38_0x4eb0=function(_0x4eb0e6,_0xd1a420){_0x4eb0e6=_0x4eb0e6-0xa8;let _0x2d2083=_0xaba62f[_0x4eb0e6];return _0x2d2083;},a38_0x4eb0(_0x494ff1,_0x280270);}(function(_0x583c47,_0x48f1c2){const _0x20f1be=a38_0x4eb0,_0x51ef25=_0x583c47();while(!![]){try{const _0x316f92=-parseInt(_0x20f1be(0xb6))/0x1*(-parseInt(_0x20f1be(0xb1))/0x2)+-parseInt(_0x20f1be(0xab))/0x3+parseInt(_0x20f1be(0xb0))/0x4+parseInt(_0x20f1be(0xb9))/0x5+parseInt(_0x20f1be(0xba))/0x6+parseInt(_0x20f1be(0xac))/0x7*(parseInt(_0x20f1be(0xa8))/0x8)+-parseInt(_0x20f1be(0xa9))/0x9;if(_0x316f92===_0x48f1c2)break;else _0x51ef25['push'](_0x51ef25['shift']());}catch(_0x3f85b8){_0x51ef25['push'](_0x51ef25['shift']());}}}(a38_0xaba6,0x9d6d0));export default class InteractionManager{constructor(_0x21093a){const _0x49c8e1=a38_0x4eb0;this[_0x49c8e1(0xb4)]=_0x21093a,this['interactions']=new Map();}['addInteraction'](_0xfc7c11,_0x15c8f5){const _0x4cc8b5=a38_0x4eb0;this[_0x4cc8b5(0xb2)][_0x4cc8b5(0xb3)](_0xfc7c11)&&this[_0x4cc8b5(0xb5)](_0xfc7c11),_0x15c8f5[_0x4cc8b5(0xad)]('name',_0xfc7c11),this[_0x4cc8b5(0xb2)]['set'](_0xfc7c11,_0x15c8f5),this[_0x4cc8b5(0xb4)][_0x4cc8b5(0xb7)](_0x15c8f5);}[a38_0x1eafbd(0xb5)](_0x816e7b){const _0x214175=a38_0x1eafbd,_0x25cceb=this['interactions']['get'](_0x816e7b);_0x25cceb&&(this[_0x214175(0xb4)][_0x214175(0xb5)](_0x25cceb),this[_0x214175(0xb2)][_0x214175(0xb8)](_0x816e7b));}['removeAllInteractions'](){const _0x452529=a38_0x1eafbd;this[_0x452529(0xb2)][_0x452529(0xaf)](_0xe37b0f=>{const _0xa53ba0=_0x452529;this['map'][_0xa53ba0(0xb5)](_0xe37b0f);}),this[_0x452529(0xb2)]['clear']();}[a38_0x1eafbd(0xaa)](_0x1d6a38){const _0x5e3c1f=a38_0x1eafbd;return this[_0x5e3c1f(0xb2)][_0x5e3c1f(0xae)](_0x1d6a38);}}
1
+ const a38_0x518daa=a38_0x3f29;(function(_0x22b962,_0x546808){const _0x42e02e=a38_0x3f29,_0x3b7792=_0x22b962();while(!![]){try{const _0x4a95b2=-parseInt(_0x42e02e(0x12e))/0x1*(parseInt(_0x42e02e(0x12a))/0x2)+-parseInt(_0x42e02e(0x131))/0x3*(-parseInt(_0x42e02e(0x128))/0x4)+-parseInt(_0x42e02e(0x122))/0x5+-parseInt(_0x42e02e(0x139))/0x6+-parseInt(_0x42e02e(0x137))/0x7*(-parseInt(_0x42e02e(0x123))/0x8)+parseInt(_0x42e02e(0x132))/0x9*(parseInt(_0x42e02e(0x130))/0xa)+parseInt(_0x42e02e(0x135))/0xb*(-parseInt(_0x42e02e(0x133))/0xc);if(_0x4a95b2===_0x546808)break;else _0x3b7792['push'](_0x3b7792['shift']());}catch(_0x1bced5){_0x3b7792['push'](_0x3b7792['shift']());}}}(a38_0xebd7,0x980f0));function a38_0x3f29(_0x951c28,_0x350089){const _0xebd776=a38_0xebd7();return a38_0x3f29=function(_0x3f29d3,_0x57d529){_0x3f29d3=_0x3f29d3-0x122;let _0x38ac26=_0xebd776[_0x3f29d3];return _0x38ac26;},a38_0x3f29(_0x951c28,_0x350089);}export default class InteractionManager{constructor(_0x48fbba){const _0x4e2985=a38_0x3f29;this[_0x4e2985(0x12d)]=_0x48fbba,this[_0x4e2985(0x125)]=new Map();}['addInteraction'](_0x4dfe0c,_0x500a43){const _0x5e3470=a38_0x3f29;this[_0x5e3470(0x125)][_0x5e3470(0x134)](_0x4dfe0c)&&this[_0x5e3470(0x12b)](_0x4dfe0c),_0x500a43[_0x5e3470(0x12c)](_0x5e3470(0x127),_0x4dfe0c),this[_0x5e3470(0x125)][_0x5e3470(0x12c)](_0x4dfe0c,_0x500a43),this[_0x5e3470(0x12d)][_0x5e3470(0x129)](_0x500a43);}[a38_0x518daa(0x12b)](_0x2c711f){const _0x77b74b=a38_0x518daa,_0x4be045=this[_0x77b74b(0x125)]['get'](_0x2c711f);_0x4be045&&(this[_0x77b74b(0x12d)][_0x77b74b(0x12b)](_0x4be045),this[_0x77b74b(0x125)][_0x77b74b(0x138)](_0x2c711f));}[a38_0x518daa(0x124)](){const _0x504bab=a38_0x518daa;this[_0x504bab(0x125)][_0x504bab(0x12f)](_0x3e0d16=>{const _0x50099a=_0x504bab;this[_0x50099a(0x12d)][_0x50099a(0x12b)](_0x3e0d16);}),this['interactions'][_0x504bab(0x136)]();}[a38_0x518daa(0x126)](_0x48970f){const _0x12c116=a38_0x518daa;return this[_0x12c116(0x125)]['get'](_0x48970f);}}function a38_0xebd7(){const _0x3a7300=['16BQieur','addInteraction','333054uqBBEU','removeInteraction','set','map','1jnkLkS','forEach','839430PirEQe','736215YUKmHH','18qZoVWU','11544ClIuaF','has','1243UKfkdI','clear','203hYHBHj','delete','5056368kGHoaA','1046870yJDJBo','220872blQFHB','removeAllInteractions','interactions','getInteraction','name'];a38_0xebd7=function(){return _0x3a7300;};return a38_0xebd7();}
@@ -1 +1 @@
1
- const a39_0x12ebb1=a39_0x5995;(function(_0x54f4f9,_0x28506b){const _0x3a9e38=a39_0x5995,_0x118110=_0x54f4f9();while(!![]){try{const _0x21e00b=-parseInt(_0x3a9e38(0x215))/0x1*(parseInt(_0x3a9e38(0x219))/0x2)+-parseInt(_0x3a9e38(0x1f5))/0x3*(parseInt(_0x3a9e38(0x242))/0x4)+-parseInt(_0x3a9e38(0x201))/0x5*(parseInt(_0x3a9e38(0x20a))/0x6)+parseInt(_0x3a9e38(0x227))/0x7+parseInt(_0x3a9e38(0x23c))/0x8+-parseInt(_0x3a9e38(0x220))/0x9*(parseInt(_0x3a9e38(0x234))/0xa)+parseInt(_0x3a9e38(0x1fd))/0xb;if(_0x21e00b===_0x28506b)break;else _0x118110['push'](_0x118110['shift']());}catch(_0x1f9074){_0x118110['push'](_0x118110['shift']());}}}(a39_0xa3c9,0xb9516));import a39_0x547bac from'./Draw';import a39_0x59a18e from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';function a39_0x5995(_0x26e244,_0x1745f2){const _0xa3c910=a39_0xa3c9();return a39_0x5995=function(_0x5995d0,_0x437d8c){_0x5995d0=_0x5995d0-0x1f4;let _0x25d2b7=_0xa3c910[_0x5995d0];return _0x25d2b7;},a39_0x5995(_0x26e244,_0x1745f2);}import{Point}from'ol/geom';function a39_0xa3c9(){const _0x22c322=['cut','getSelectedFeatures','getView','currentLayers','722392bNBXaT','draw','cancePolygonStyle','holdCtrl','getCode','lineFeatures','4sknfDk','polygonFeatures','polygonStyle','push','selectLayers','Point','3303141BkYPnl','tipText','ctrlKey','selectGeom','layerId','selectstart','layerInfo','message','35986500ugcLkM','selectedPolygonFeatures','selectedLineFeatures','canceLineStyle','15nQNfBs','drawstart','MultiPolygon','layerType','pixelDistance','map','selectTempLayer','coordinates','copy','795510kmmfMJ','getGeometry','length','import','addEventListener','seletctEditeFeature','keyup','keydown','drawend','selectedPointFeatures','SELECTED','269CwSZpF','getMap','onInternal','setSelectLayers','4302MEfNix','selectLayer','pointFeatures','allFeatures','dispatchEvent','getLayers','lineStyle','196812fSeNRN','getPointTempLayer','SELECTSTART','loadFilter','MultiPoint','selectIndex','cancePointStyle','2905056sIKIUS','LineString','MultiLineString','feature','getType','getPolygonTempLayer','getLineTempLayer','pointStyle','Polygon','error','allSelectedFeatures','addTempLayer','forEach','430xEXPlH','getVisible','fromType','drawmoving'];a39_0xa3c9=function(){return _0x22c322;};return a39_0xa3c9();}import a39_0x5a7dc5 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x12ebb1(0x202),'DRAWEND':a39_0x12ebb1(0x212),'DRAWABORT':'drawabort','DRAWADDPOINT':'drawaddpoint','DRAWMOVING':a39_0x12ebb1(0x237),'SELECTSTART':a39_0x12ebb1(0x1fa),'SELECTED':'selected'};export class SelectEvent extends a39_0x59a18e{constructor(_0x411ca3,_0x1e12fb,_0x44bbd0,_0x5343d8,_0x153274,_0x38868b,_0x98b966,_0x84d67a,_0x1d915f){const _0x4a14b8=a39_0x12ebb1;super(_0x411ca3),this[_0x4a14b8(0x1f8)]=_0x44bbd0,this[_0x4a14b8(0x208)]=_0x5343d8,this[_0x4a14b8(0x21b)]=_0x153274,this[_0x4a14b8(0x241)]=_0x38868b,this[_0x4a14b8(0x243)]=_0x98b966,this[_0x4a14b8(0x21c)]=_0x84d67a,this[_0x4a14b8(0x230)]=_0x1d915f,this['holdCtrl']=_0x1e12fb;}}export default class Select extends a39_0x547bac{constructor(_0x5b1a82,_0x5b427f){const _0xbe02f1=a39_0x12ebb1;super(_0x5b1a82,{'tipText':_0x5b427f===null||_0x5b427f===void 0x0?void 0x0:_0x5b427f[_0xbe02f1(0x1f6)]}),this[_0xbe02f1(0x213)]=[],this[_0xbe02f1(0x1ff)]=[],this[_0xbe02f1(0x1fe)]=[],this['allSelectedFeatures']=[];const _0x1f2d0e=_0x5b427f||{};this[_0xbe02f1(0x232)]=_0x1f2d0e[_0xbe02f1(0x232)]||![],this[_0xbe02f1(0x23b)]=_0x1f2d0e[_0xbe02f1(0x246)],this[_0xbe02f1(0x207)]=_0x1f2d0e[_0xbe02f1(0x207)]===undefined?!![]:_0x1f2d0e[_0xbe02f1(0x207)],this[_0xbe02f1(0x205)]=_0x1f2d0e[_0xbe02f1(0x205)]===undefined?0x5:_0x1f2d0e[_0xbe02f1(0x205)],this[_0xbe02f1(0x22e)]=_0x1f2d0e['pointStyle']?getStyle(_0x1f2d0e[_0xbe02f1(0x22e)]):getSelectPointStyle(),this[_0xbe02f1(0x226)]=_0x1f2d0e[_0xbe02f1(0x226)]?getStyle(_0x1f2d0e[_0xbe02f1(0x226)]):getSelectCancePointStyle(),this[_0xbe02f1(0x21f)]=_0x1f2d0e[_0xbe02f1(0x21f)]?getStyle(_0x1f2d0e['lineStyle']):getSelectLineStyle(),this['canceLineStyle']=_0x1f2d0e[_0xbe02f1(0x200)]?getStyle(_0x1f2d0e['canceLineStyle']):getSelectCancelLineStyle(),this[_0xbe02f1(0x244)]=_0x1f2d0e[_0xbe02f1(0x244)]?getStyle(_0x1f2d0e['polygonStyle']):getSelectPolygonStyle(),this['cancePolygonStyle']=_0x1f2d0e[_0xbe02f1(0x23e)]?getStyle(_0x1f2d0e[_0xbe02f1(0x23e)]):getSelectCancelPolygonStyle(),this[_0xbe02f1(0x23f)]=![];let _0x325cb5;this['on']=this[_0xbe02f1(0x217)],this['on'](_0xbe02f1(0x212),async _0x453c4a=>{const _0x1311e8=_0xbe02f1,_0x7b65b1=this[_0x1311e8(0x23f)],_0x29faf0=this[_0x1311e8(0x216)]();if(!_0x29faf0)return;try{let _0x3688d7=undefined;if(!_0x453c4a[_0x1311e8(0x22a)]&&_0x453c4a[_0x1311e8(0x208)]&&_0x453c4a[_0x1311e8(0x208)][_0x1311e8(0x20c)]==0x1)_0x3688d7=bufferPixel(new Point(_0x453c4a['coordinates'][0x0]),this[_0x1311e8(0x205)],_0x29faf0);else _0x453c4a[_0x1311e8(0x22a)]&&(_0x3688d7=_0x453c4a[_0x1311e8(0x22a)][_0x1311e8(0x20b)]());if(!_0x3688d7)throw new Error('未获取到几何');this[_0x1311e8(0x21d)](new SelectEvent(SelectEventType[_0x1311e8(0x222)],_0x7b65b1,_0x3688d7)),this['selectedPointFeatures']=[],this[_0x1311e8(0x1ff)]=[],this[_0x1311e8(0x1fe)]=[],this[_0x1311e8(0x231)]=[],this[_0x1311e8(0x207)]&&this[_0x1311e8(0x20f)](_0x3688d7),_0x325cb5&&clearTimeout(_0x325cb5),_0x325cb5=setTimeout(async()=>{const _0x2259f3=_0x1311e8;await this[_0x2259f3(0x21a)](_0x3688d7),this[_0x2259f3(0x21d)](new SelectEvent(SelectEventType[_0x2259f3(0x214)],_0x7b65b1,_0x3688d7,_0x453c4a[_0x2259f3(0x208)],this['selectedPointFeatures'],this[_0x2259f3(0x1ff)],this[_0x2259f3(0x1fe)],this[_0x2259f3(0x231)]));},0x46);}catch(_0x1002a2){this[_0x1311e8(0x21d)](new SelectEvent(SelectEventType[_0x1311e8(0x214)],_0x7b65b1,undefined,_0x453c4a['coordinates'],this[_0x1311e8(0x213)],this[_0x1311e8(0x1ff)],this[_0x1311e8(0x1fe)],this[_0x1311e8(0x231)],_0x1002a2[_0x1311e8(0x1fc)]));}}),window[_0xbe02f1(0x20e)](_0xbe02f1(0x211),_0xa30026=>{const _0x1b264a=_0xbe02f1;_0xa30026[_0x1b264a(0x1f7)]&&(this[_0x1b264a(0x23f)]=!![]);}),window['addEventListener'](_0xbe02f1(0x210),_0x2196d7=>{const _0x273be4=_0xbe02f1;this[_0x273be4(0x23f)]=![];});}[a39_0x12ebb1(0x218)](_0x1ca300){const _0x3caf47=a39_0x12ebb1;this[_0x3caf47(0x23b)]=_0x1ca300;}async['selectLayer'](_0x46f71b){const _0x20750c=a39_0x12ebb1;var _0x59c904;const _0x47545f=this[_0x20750c(0x216)]();let _0xd820d2=[];if(this[_0x20750c(0x23b)]&&this['currentLayers'][_0x20750c(0x20c)]>0x0)_0xd820d2=this[_0x20750c(0x23b)];else{let _0x1809ba=_0x47545f[_0x20750c(0x21e)]()['getArray']();_0x1809ba=_0x1809ba['filter'](_0x3871a6=>{const _0x2e0fea=_0x20750c,_0x157ef4=_0x3871a6[_0x2e0fea(0x1fb)];if(!_0x157ef4)return![];return _0x3871a6[_0x2e0fea(0x235)]()==!![]&&_0x157ef4['selectIndex']!=undefined&&_0x157ef4[_0x2e0fea(0x225)]!='';}),_0xd820d2=_0x1809ba[_0x20750c(0x206)](_0x4a29bc=>{const _0x5db2b3=_0x20750c;return _0x4a29bc[_0x5db2b3(0x1fb)];});}if(!_0xd820d2||_0xd820d2[_0x20750c(0x20c)]==0x0)return;const _0x5abdc1=_0x47545f[_0x20750c(0x23a)]()['getProjection']()[_0x20750c(0x240)]();for(let _0x1420a6=0x0,_0x205315=_0xd820d2[_0x20750c(0x20c)];_0x1420a6<_0x205315;_0x1420a6++){const _0x478279=_0xd820d2[_0x1420a6];if(!_0x478279||!_0x478279['url']||!_0x478279[_0x20750c(0x225)])continue;let _0x4982b3=await selectFeaturesByGeo(_0x46f71b,_0x5abdc1,_0x478279['url'],_0x478279[_0x20750c(0x225)],_0x478279[_0x20750c(0x204)],_0x478279[_0x20750c(0x223)]);if(_0x4982b3[_0x20750c(0x20c)]>0x0){this[_0x20750c(0x231)][_0x20750c(0x245)](..._0x4982b3);let _0x6de623=_0x47545f[_0x20750c(0x22c)](),_0x2941c7=this[_0x20750c(0x244)];switch((_0x59c904=_0x4982b3[0x0][_0x20750c(0x20b)]())===null||_0x59c904===void 0x0?void 0x0:_0x59c904[_0x20750c(0x22b)]()){case'Point':case'MultiPoint':this[_0x20750c(0x213)][_0x20750c(0x245)](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x221)](),_0x2941c7=this[_0x20750c(0x22e)];break;case _0x20750c(0x228):case'MultiLineString':this[_0x20750c(0x1ff)][_0x20750c(0x245)](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x22d)](),_0x2941c7=this['lineStyle'];break;case _0x20750c(0x22f):case _0x20750c(0x203):this[_0x20750c(0x1fe)]['push'](..._0x4982b3),_0x6de623=_0x47545f[_0x20750c(0x22c)](),_0x2941c7=this[_0x20750c(0x244)];break;default:break;}const _0x1960d8=_0x6de623['getSource']();_0x1960d8&&(_0x4982b3[_0x20750c(0x233)](_0x3830d6=>{const _0x2bafba=_0x20750c;_0x3830d6[_0x2bafba(0x1f9)]=_0x478279['id'],_0x3830d6['tempLayer']=_0x6de623,_0x3830d6['setStyle'](_0x2941c7);}),this[_0x20750c(0x232)]&&_0x1960d8['addFeatures'](_0x4982b3));}}}[a39_0x12ebb1(0x20f)](_0x259e1b){const _0x5b4add=a39_0x12ebb1,_0x34efac=new a39_0x5a7dc5(this[_0x5b4add(0x216)]()),_0x23655d=_0x34efac[_0x5b4add(0x239)]();if(!_0x23655d||_0x23655d['length']===0x0)return[];const _0x9c56c4=[_0x5b4add(0x209),_0x5b4add(0x238),_0x5b4add(0x23d),_0x5b4add(0x20d),'union'],_0x509225=[];for(const _0x6e7f8f of _0x23655d){if(!_0x6e7f8f||!_0x6e7f8f[_0x5b4add(0x236)]||!_0x9c56c4['includes'](_0x6e7f8f[_0x5b4add(0x236)]))continue;const _0x64288=_0x6e7f8f[_0x5b4add(0x20b)]();if(!_0x64288)continue;if(!intersects(_0x64288,_0x259e1b))continue;let _0x31f428=this['polygonStyle'];this[_0x5b4add(0x231)]['push'](_0x6e7f8f);switch(_0x64288[_0x5b4add(0x22b)]()){case _0x5b4add(0x1f4):case _0x5b4add(0x224):this['selectedPointFeatures'][_0x5b4add(0x245)](_0x6e7f8f),_0x31f428=this['pointStyle'];break;case _0x5b4add(0x228):case _0x5b4add(0x229):this[_0x5b4add(0x1ff)][_0x5b4add(0x245)](_0x6e7f8f),_0x31f428=this[_0x5b4add(0x21f)];break;case _0x5b4add(0x22f):case _0x5b4add(0x203):this[_0x5b4add(0x1fe)]['push'](_0x6e7f8f),_0x31f428=this[_0x5b4add(0x244)];break;default:break;}_0x6e7f8f['setStyle'](_0x31f428);}return _0x509225;}}
1
+ const a39_0x2a213c=a39_0x23e4;(function(_0x19ec5c,_0x108bce){const _0x139839=a39_0x23e4,_0x3f25f3=_0x19ec5c();while(!![]){try{const _0x5c4202=parseInt(_0x139839(0x23c))/0x1*(-parseInt(_0x139839(0x1ff))/0x2)+parseInt(_0x139839(0x21d))/0x3*(parseInt(_0x139839(0x212))/0x4)+-parseInt(_0x139839(0x22c))/0x5+parseInt(_0x139839(0x220))/0x6*(-parseInt(_0x139839(0x221))/0x7)+-parseInt(_0x139839(0x21b))/0x8+-parseInt(_0x139839(0x204))/0x9*(parseInt(_0x139839(0x20c))/0xa)+parseInt(_0x139839(0x1f8))/0xb;if(_0x5c4202===_0x108bce)break;else _0x3f25f3['push'](_0x3f25f3['shift']());}catch(_0xa9b93d){_0x3f25f3['push'](_0x3f25f3['shift']());}}}(a39_0x4b7e,0xc69ba));import a39_0x28d901 from'./Draw';import a39_0x1c8a04 from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a39_0x1b3ae1 from'../feature/FeatureManager';function a39_0x23e4(_0x1d5ed2,_0x386a51){const _0x4b7e66=a39_0x4b7e();return a39_0x23e4=function(_0x23e48f,_0x26e585){_0x23e48f=_0x23e48f-0x1ed;let _0x499c5d=_0x4b7e66[_0x23e48f];return _0x499c5d;},a39_0x23e4(_0x1d5ed2,_0x386a51);}import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';function a39_0x4b7e(){const _0x9eb89a=['MultiPolygon','39036426BNNKjC','url','addFeatures','fromType','canceLineStyle','getType','layerType','6XYCeIP','getGeometry','getMap','lineStyle','cancePointStyle','2306943etpami','allSelectedFeatures','push','keyup','selectedLineFeatures','import','selectTempLayer','layerId','40dzWeiT','keydown','selectIndex','onInternal','dispatchEvent','selectedPolygonFeatures','3092yAdbsQ','addTempLayer','SELECTED','polygonStyle','MultiPoint','includes','map','length','currentLayers','6008144DzqhHm','SELECTSTART','1791gUYmCM','MultiLineString','Point','38094rVATqe','889BaOIDa','selectLayer','lineFeatures','pointFeatures','selectGeom','setStyle','pixelDistance','message','getCode','selectstart','layerInfo','2987670saGecS','setSelectLayers','draw','drawaddpoint','LineString','getVisible','getPolygonTempLayer','seletctEditeFeature','pointStyle','filter','polygonFeatures','cancePolygonStyle','tempLayer','getSelectedFeatures','forEach','Polygon','5522cHqfwl','error','feature','drawabort','holdCtrl','union','getLineTempLayer','selectedPointFeatures','coordinates','getView','未获取到几何','drawend'];a39_0x4b7e=function(){return _0x9eb89a;};return a39_0x4b7e();}const SelectEventType={'DRAWSTART':'drawstart','DRAWEND':a39_0x2a213c(0x1f6),'DRAWABORT':a39_0x2a213c(0x1ee),'DRAWADDPOINT':a39_0x2a213c(0x22f),'DRAWMOVING':'drawmoving','SELECTSTART':a39_0x2a213c(0x22a),'SELECTED':'selected'};export class SelectEvent extends a39_0x1c8a04{constructor(_0x282245,_0x57e850,_0x32c579,_0x3f19ff,_0x57c672,_0x4bafc8,_0x3bc8b1,_0x35fb20,_0x692ab){const _0x5d087b=a39_0x2a213c;super(_0x282245),this[_0x5d087b(0x225)]=_0x32c579,this[_0x5d087b(0x1f3)]=_0x3f19ff,this[_0x5d087b(0x224)]=_0x57c672,this[_0x5d087b(0x223)]=_0x4bafc8,this[_0x5d087b(0x236)]=_0x3bc8b1,this['allFeatures']=_0x35fb20,this[_0x5d087b(0x23d)]=_0x692ab,this['holdCtrl']=_0x57e850;}}export default class Select extends a39_0x28d901{constructor(_0x5c75cd,_0x523941){const _0x176f36=a39_0x2a213c;super(_0x5c75cd,{'tipText':_0x523941===null||_0x523941===void 0x0?void 0x0:_0x523941['tipText']}),this[_0x176f36(0x1f2)]=[],this[_0x176f36(0x208)]=[],this[_0x176f36(0x211)]=[],this[_0x176f36(0x205)]=[];const _0x3fc3e7=_0x523941||{};this[_0x176f36(0x213)]=_0x3fc3e7[_0x176f36(0x213)]||![],this[_0x176f36(0x21a)]=_0x3fc3e7['selectLayers'],this[_0x176f36(0x20a)]=_0x3fc3e7[_0x176f36(0x20a)]===undefined?!![]:_0x3fc3e7[_0x176f36(0x20a)],this['pixelDistance']=_0x3fc3e7['pixelDistance']===undefined?0x5:_0x3fc3e7[_0x176f36(0x227)],this[_0x176f36(0x234)]=_0x3fc3e7[_0x176f36(0x234)]?getStyle(_0x3fc3e7[_0x176f36(0x234)]):getSelectPointStyle(),this[_0x176f36(0x203)]=_0x3fc3e7[_0x176f36(0x203)]?getStyle(_0x3fc3e7[_0x176f36(0x203)]):getSelectCancePointStyle(),this['lineStyle']=_0x3fc3e7[_0x176f36(0x202)]?getStyle(_0x3fc3e7['lineStyle']):getSelectLineStyle(),this[_0x176f36(0x1fc)]=_0x3fc3e7[_0x176f36(0x1fc)]?getStyle(_0x3fc3e7['canceLineStyle']):getSelectCancelLineStyle(),this['polygonStyle']=_0x3fc3e7['polygonStyle']?getStyle(_0x3fc3e7[_0x176f36(0x215)]):getSelectPolygonStyle(),this['cancePolygonStyle']=_0x3fc3e7[_0x176f36(0x237)]?getStyle(_0x3fc3e7[_0x176f36(0x237)]):getSelectCancelPolygonStyle(),this['holdCtrl']=![];let _0x270750;this['on']=this[_0x176f36(0x20f)],this['on'](_0x176f36(0x1f6),async _0x4f02f7=>{const _0x5d7e8a=_0x176f36,_0x668d55=this[_0x5d7e8a(0x1ef)],_0xa6daaa=this['getMap']();if(!_0xa6daaa)return;try{let _0x1be447=undefined;if(!_0x4f02f7[_0x5d7e8a(0x1ed)]&&_0x4f02f7[_0x5d7e8a(0x1f3)]&&_0x4f02f7['coordinates'][_0x5d7e8a(0x219)]==0x1)_0x1be447=bufferPixel(new Point(_0x4f02f7[_0x5d7e8a(0x1f3)][0x0]),this[_0x5d7e8a(0x227)],_0xa6daaa);else _0x4f02f7[_0x5d7e8a(0x1ed)]&&(_0x1be447=_0x4f02f7['feature'][_0x5d7e8a(0x200)]());if(!_0x1be447)throw new Error(_0x5d7e8a(0x1f5));this['dispatchEvent'](new SelectEvent(SelectEventType[_0x5d7e8a(0x21c)],_0x668d55,_0x1be447)),this[_0x5d7e8a(0x1f2)]=[],this[_0x5d7e8a(0x208)]=[],this[_0x5d7e8a(0x211)]=[],this['allSelectedFeatures']=[],this['selectTempLayer']&&this[_0x5d7e8a(0x233)](_0x1be447),_0x270750&&clearTimeout(_0x270750),_0x270750=setTimeout(async()=>{const _0x44d14e=_0x5d7e8a;await this['selectLayer'](_0x1be447),this[_0x44d14e(0x210)](new SelectEvent(SelectEventType[_0x44d14e(0x214)],_0x668d55,_0x1be447,_0x4f02f7[_0x44d14e(0x1f3)],this[_0x44d14e(0x1f2)],this[_0x44d14e(0x208)],this[_0x44d14e(0x211)],this[_0x44d14e(0x205)]));},0x46);}catch(_0x1400ed){this['dispatchEvent'](new SelectEvent(SelectEventType[_0x5d7e8a(0x214)],_0x668d55,undefined,_0x4f02f7['coordinates'],this[_0x5d7e8a(0x1f2)],this[_0x5d7e8a(0x208)],this[_0x5d7e8a(0x211)],this['allSelectedFeatures'],_0x1400ed[_0x5d7e8a(0x228)]));}}),window['addEventListener'](_0x176f36(0x20d),_0x118e9a=>{_0x118e9a['ctrlKey']&&(this['holdCtrl']=!![]);}),window['addEventListener'](_0x176f36(0x207),_0x28eb1b=>{this['holdCtrl']=![];});}[a39_0x2a213c(0x22d)](_0x5e63ff){const _0x44ec44=a39_0x2a213c;this[_0x44ec44(0x21a)]=_0x5e63ff;}async[a39_0x2a213c(0x222)](_0x11e4d1){const _0x1aebe8=a39_0x2a213c;var _0x4cddf2;const _0x37918f=this[_0x1aebe8(0x201)]();let _0x3f0440=[];if(this[_0x1aebe8(0x21a)]&&this[_0x1aebe8(0x21a)]['length']>0x0)_0x3f0440=this[_0x1aebe8(0x21a)];else{let _0x31fd3e=_0x37918f['getLayers']()['getArray']();_0x31fd3e=_0x31fd3e[_0x1aebe8(0x235)](_0x1b143f=>{const _0x3f3bc4=_0x1aebe8,_0x12f268=_0x1b143f[_0x3f3bc4(0x22b)];if(!_0x12f268)return![];return _0x1b143f[_0x3f3bc4(0x231)]()==!![]&&_0x12f268[_0x3f3bc4(0x20e)]!=undefined&&_0x12f268['selectIndex']!='';}),_0x3f0440=_0x31fd3e[_0x1aebe8(0x218)](_0x1cc510=>{const _0x4b4837=_0x1aebe8;return _0x1cc510[_0x4b4837(0x22b)];});}if(!_0x3f0440||_0x3f0440[_0x1aebe8(0x219)]==0x0)return;const _0xdf57e8=_0x37918f[_0x1aebe8(0x1f4)]()['getProjection']()[_0x1aebe8(0x229)]();for(let _0x181fc7=0x0,_0x2a75a2=_0x3f0440[_0x1aebe8(0x219)];_0x181fc7<_0x2a75a2;_0x181fc7++){const _0xb18acf=_0x3f0440[_0x181fc7];if(!_0xb18acf||!_0xb18acf[_0x1aebe8(0x1f9)]||!_0xb18acf[_0x1aebe8(0x20e)])continue;let _0x5f1fcc=await selectFeaturesByGeo(_0x11e4d1,_0xdf57e8,_0xb18acf[_0x1aebe8(0x1f9)],_0xb18acf[_0x1aebe8(0x20e)],_0xb18acf[_0x1aebe8(0x1fe)],_0xb18acf['loadFilter']);if(_0x5f1fcc['length']>0x0){this[_0x1aebe8(0x205)][_0x1aebe8(0x206)](..._0x5f1fcc);let _0x414fd1=_0x37918f[_0x1aebe8(0x232)](),_0xa22cd7=this['polygonStyle'];switch((_0x4cddf2=_0x5f1fcc[0x0][_0x1aebe8(0x200)]())===null||_0x4cddf2===void 0x0?void 0x0:_0x4cddf2[_0x1aebe8(0x1fd)]()){case _0x1aebe8(0x21f):case _0x1aebe8(0x216):this[_0x1aebe8(0x1f2)][_0x1aebe8(0x206)](..._0x5f1fcc),_0x414fd1=_0x37918f['getPointTempLayer'](),_0xa22cd7=this[_0x1aebe8(0x234)];break;case _0x1aebe8(0x230):case _0x1aebe8(0x21e):this[_0x1aebe8(0x208)]['push'](..._0x5f1fcc),_0x414fd1=_0x37918f[_0x1aebe8(0x1f1)](),_0xa22cd7=this[_0x1aebe8(0x202)];break;case'Polygon':case _0x1aebe8(0x1f7):this[_0x1aebe8(0x211)][_0x1aebe8(0x206)](..._0x5f1fcc),_0x414fd1=_0x37918f[_0x1aebe8(0x232)](),_0xa22cd7=this[_0x1aebe8(0x215)];break;default:break;}const _0x117eb9=_0x414fd1['getSource']();_0x117eb9&&(_0x5f1fcc[_0x1aebe8(0x23a)](_0x478dc8=>{const _0x37a2c3=_0x1aebe8;_0x478dc8[_0x37a2c3(0x20b)]=_0xb18acf['id'],_0x478dc8[_0x37a2c3(0x238)]=_0x414fd1,_0x478dc8[_0x37a2c3(0x226)](_0xa22cd7);}),this['addTempLayer']&&_0x117eb9[_0x1aebe8(0x1fa)](_0x5f1fcc));}}}[a39_0x2a213c(0x233)](_0x43a4ed){const _0x192043=a39_0x2a213c,_0x45838a=new a39_0x1b3ae1(this['getMap']()),_0xaa0985=_0x45838a[_0x192043(0x239)]();if(!_0xaa0985||_0xaa0985[_0x192043(0x219)]===0x0)return[];const _0x952707=['copy','cut',_0x192043(0x22e),_0x192043(0x209),_0x192043(0x1f0)],_0x20cff9=[];for(const _0x57518b of _0xaa0985){if(!_0x57518b||!_0x57518b[_0x192043(0x1fb)]||!_0x952707[_0x192043(0x217)](_0x57518b[_0x192043(0x1fb)]))continue;const _0x216c52=_0x57518b[_0x192043(0x200)]();if(!_0x216c52)continue;if(!intersects(_0x216c52,_0x43a4ed))continue;let _0x1c30a9=this[_0x192043(0x215)];this[_0x192043(0x205)][_0x192043(0x206)](_0x57518b);switch(_0x216c52[_0x192043(0x1fd)]()){case _0x192043(0x21f):case _0x192043(0x216):this[_0x192043(0x1f2)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x234)];break;case _0x192043(0x230):case _0x192043(0x21e):this[_0x192043(0x208)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x202)];break;case _0x192043(0x23b):case _0x192043(0x1f7):this[_0x192043(0x211)][_0x192043(0x206)](_0x57518b),_0x1c30a9=this[_0x192043(0x215)];break;default:break;}_0x57518b[_0x192043(0x226)](_0x1c30a9);}return _0x20cff9;}}
@@ -1 +1 @@
1
- const a40_0x3d2824=a40_0x4042;(function(_0x5866ce,_0x5cc033){const _0x30313e=a40_0x4042,_0x117f4a=_0x5866ce();while(!![]){try{const _0x9e617b=-parseInt(_0x30313e(0x18b))/0x1+-parseInt(_0x30313e(0x1a0))/0x2+-parseInt(_0x30313e(0x19c))/0x3+-parseInt(_0x30313e(0x18e))/0x4*(-parseInt(_0x30313e(0x194))/0x5)+parseInt(_0x30313e(0x184))/0x6*(-parseInt(_0x30313e(0x195))/0x7)+parseInt(_0x30313e(0x186))/0x8*(-parseInt(_0x30313e(0x188))/0x9)+-parseInt(_0x30313e(0x19f))/0xa*(-parseInt(_0x30313e(0x193))/0xb);if(_0x9e617b===_0x5cc033)break;else _0x117f4a['push'](_0x117f4a['shift']());}catch(_0x4fe8d1){_0x117f4a['push'](_0x117f4a['shift']());}}}(a40_0x59e5,0xdfcbb));import a40_0x30a693 from'ol/source/ImageArcGISRest';function a40_0x59e5(){const _0x4ac283=['EPSG:','wkid','stringify','projection','43856747RtEZdn','320OwMiFo','595VdsmXK','setFilter','xmin','ymax','show:','anonymous','wkt','2012148TLnGkd','sublayers','fullExtent','10JlWizc','2069934CGmIGs','initialExtent','selectIndex','getSource','73848gEuPzV','ymin','380552JphJxT','layerInfo','234yWoIHE','xmax','url','494709rkoMKv','loadFilter','spatialReference','88316BWawCr'];a40_0x59e5=function(){return _0x4ac283;};return a40_0x59e5();}import{Image as a40_0x3547b8}from'ol/layer';function a40_0x4042(_0x58ad2c,_0x15a911){const _0x59e516=a40_0x59e5();return a40_0x4042=function(_0x4042ea,_0x4c16fa){_0x4042ea=_0x4042ea-0x184;let _0x27be4c=_0x59e516[_0x4042ea];return _0x27be4c;},a40_0x4042(_0x58ad2c,_0x15a911);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a40_0x3547b8{constructor(_0x24fb93,_0x357e69){const _0x50fda0=a40_0x4042;var _0x360e0c;let _0x4bf42a={'LAYERS':_0x50fda0(0x199)+((_0x360e0c=_0x24fb93[_0x50fda0(0x19d)])===null||_0x360e0c===void 0x0?void 0x0:_0x360e0c['join'](','))};if(_0x24fb93['loadFilter']&&_0x24fb93[_0x50fda0(0x1a2)]){const _0x44dc8d={};_0x44dc8d[_0x24fb93[_0x50fda0(0x1a2)]]=_0x24fb93[_0x50fda0(0x18c)],_0x4bf42a['layerDefs']=JSON[_0x50fda0(0x191)](_0x44dc8d);}const _0x41de98=[_0x357e69[_0x50fda0(0x1a1)]['xmin'],_0x357e69['initialExtent'][_0x50fda0(0x185)],_0x357e69[_0x50fda0(0x1a1)][_0x50fda0(0x189)],_0x357e69[_0x50fda0(0x1a1)]['ymax']],_0x2127f6=[_0x357e69[_0x50fda0(0x19e)][_0x50fda0(0x197)],_0x357e69[_0x50fda0(0x19e)]['ymin'],_0x357e69['fullExtent']['xmax'],_0x357e69[_0x50fda0(0x19e)][_0x50fda0(0x198)]];let _0x45b969;_0x357e69[_0x50fda0(0x18d)]['wkid']?_0x45b969=registerProj(_0x50fda0(0x18f)+_0x357e69[_0x50fda0(0x18d)][_0x50fda0(0x190)],_0x2127f6):_0x45b969=registerProj(_0x357e69['spatialReference'][_0x50fda0(0x19b)],_0x2127f6),super({'opacity':_0x24fb93['opacity'],'zIndex':_0x24fb93['mapIndex'],'source':new a40_0x30a693({'crossOrigin':_0x50fda0(0x19a),'projection':_0x45b969,'ratio':0x1,'url':_0x24fb93[_0x50fda0(0x18a)],'params':_0x4bf42a})}),this['id']=_0x24fb93['id'],this['initialExtent']=_0x41de98,this[_0x50fda0(0x192)]=_0x45b969,this[_0x50fda0(0x187)]=_0x24fb93;}[a40_0x3d2824(0x196)](_0x32e397){const _0x1a6397=a40_0x3d2824;var _0x503758;const _0x571617={};this['layerInfo'][_0x1a6397(0x1a2)]&&(_0x571617[this[_0x1a6397(0x187)][_0x1a6397(0x1a2)]]=_0x32e397),(_0x503758=this[_0x1a6397(0x1a3)]())===null||_0x503758===void 0x0?void 0x0:_0x503758['updateParams']({'layerDefs':JSON[_0x1a6397(0x191)](_0x32e397)});}}
1
+ const a40_0x127e38=a40_0x3d0c;(function(_0x5231fc,_0x1ed1d5){const _0x42b274=a40_0x3d0c,_0x17acee=_0x5231fc();while(!![]){try{const _0x44d99c=parseInt(_0x42b274(0xfb))/0x1+parseInt(_0x42b274(0xf3))/0x2*(parseInt(_0x42b274(0x102))/0x3)+parseInt(_0x42b274(0x101))/0x4+parseInt(_0x42b274(0x10b))/0x5*(parseInt(_0x42b274(0xf0))/0x6)+parseInt(_0x42b274(0xf8))/0x7*(parseInt(_0x42b274(0x108))/0x8)+parseInt(_0x42b274(0xef))/0x9+parseInt(_0x42b274(0xf5))/0xa*(-parseInt(_0x42b274(0xfc))/0xb);if(_0x44d99c===_0x1ed1d5)break;else _0x17acee['push'](_0x17acee['shift']());}catch(_0x138de0){_0x17acee['push'](_0x17acee['shift']());}}}(a40_0x2b8f,0x296e4));import a40_0x3bb798 from'ol/source/ImageArcGISRest';import{Image as a40_0x3f871c}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a40_0x3d0c(_0x3c076e,_0xe4d348){const _0x2b8f0a=a40_0x2b8f();return a40_0x3d0c=function(_0x3d0cc8,_0x36231d){_0x3d0cc8=_0x3d0cc8-0xec;let _0x5c5380=_0x2b8f0a[_0x3d0cc8];return _0x5c5380;},a40_0x3d0c(_0x3c076e,_0xe4d348);}function a40_0x2b8f(){const _0x19ae2b=['fullExtent','setFilter','141355UHLWZU','ymax','xmax','stringify','570654HPjNvU','6VgLbxp','xmin','join','70ayqqqv','spatialReference','3442930FcjvJN','wkid','mapIndex','28vAAXmp','layerInfo','getSource','35265yOHgDW','11HQhFWM','anonymous','show:','initialExtent','loadFilter','72992jBTnvd','3303whGoLv','ymin','sublayers','selectIndex','EPSG:','opacity','660536PTUtsB'];a40_0x2b8f=function(){return _0x19ae2b;};return a40_0x2b8f();}export default class ArcgisDynamicLayer extends a40_0x3f871c{constructor(_0x3b2255,_0x598d95){const _0x1b5109=a40_0x3d0c;var _0x285bca;let _0x43be08={'LAYERS':_0x1b5109(0xfe)+((_0x285bca=_0x3b2255[_0x1b5109(0x104)])===null||_0x285bca===void 0x0?void 0x0:_0x285bca[_0x1b5109(0xf2)](','))};if(_0x3b2255[_0x1b5109(0x100)]&&_0x3b2255[_0x1b5109(0x105)]){const _0x40058b={};_0x40058b[_0x3b2255[_0x1b5109(0x105)]]=_0x3b2255[_0x1b5109(0x100)],_0x43be08['layerDefs']=JSON[_0x1b5109(0xee)](_0x40058b);}const _0x2a6242=[_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xf1)],_0x598d95['initialExtent'][_0x1b5109(0x103)],_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xed)],_0x598d95[_0x1b5109(0xff)][_0x1b5109(0xec)]],_0x2c04c1=[_0x598d95[_0x1b5109(0x109)]['xmin'],_0x598d95[_0x1b5109(0x109)][_0x1b5109(0x103)],_0x598d95[_0x1b5109(0x109)][_0x1b5109(0xed)],_0x598d95['fullExtent']['ymax']];let _0x38e5a9;_0x598d95['spatialReference']['wkid']?_0x38e5a9=registerProj(_0x1b5109(0x106)+_0x598d95[_0x1b5109(0xf4)][_0x1b5109(0xf6)],_0x2c04c1):_0x38e5a9=registerProj(_0x598d95['spatialReference']['wkt'],_0x2c04c1),super({'opacity':_0x3b2255[_0x1b5109(0x107)],'zIndex':_0x3b2255[_0x1b5109(0xf7)],'source':new a40_0x3bb798({'crossOrigin':_0x1b5109(0xfd),'projection':_0x38e5a9,'ratio':0x1,'url':_0x3b2255['url'],'params':_0x43be08})}),this['id']=_0x3b2255['id'],this[_0x1b5109(0xff)]=_0x2a6242,this['projection']=_0x38e5a9,this[_0x1b5109(0xf9)]=_0x3b2255;}[a40_0x127e38(0x10a)](_0x1bb23d){const _0x32e0f8=a40_0x127e38;var _0x135033;const _0x245771={};this[_0x32e0f8(0xf9)][_0x32e0f8(0x105)]&&(_0x245771[this['layerInfo'][_0x32e0f8(0x105)]]=_0x1bb23d),(_0x135033=this[_0x32e0f8(0xfa)]())===null||_0x135033===void 0x0?void 0x0:_0x135033['updateParams']({'layerDefs':JSON[_0x32e0f8(0xee)](_0x1bb23d)});}}
@@ -1 +1 @@
1
- const a41_0x334dfb=a41_0x5e7b;(function(_0x56a63d,_0x394fd5){const _0x280d85=a41_0x5e7b,_0x48e81d=_0x56a63d();while(!![]){try{const _0x353cdd=-parseInt(_0x280d85(0x108))/0x1+-parseInt(_0x280d85(0x104))/0x2+-parseInt(_0x280d85(0x116))/0x3+parseInt(_0x280d85(0x118))/0x4*(-parseInt(_0x280d85(0xfb))/0x5)+-parseInt(_0x280d85(0xfd))/0x6+parseInt(_0x280d85(0x115))/0x7*(-parseInt(_0x280d85(0x107))/0x8)+parseInt(_0x280d85(0x10d))/0x9;if(_0x353cdd===_0x394fd5)break;else _0x48e81d['push'](_0x48e81d['shift']());}catch(_0x2164b2){_0x48e81d['push'](_0x48e81d['shift']());}}}(a41_0x97d8,0x66b8c));function a41_0x5e7b(_0x11ee05,_0x592658){const _0x97d83e=a41_0x97d8();return a41_0x5e7b=function(_0x5e7b9c,_0x776094){_0x5e7b9c=_0x5e7b9c-0xe7;let _0x559cfd=_0x97d83e[_0x5e7b9c];return _0x559cfd;},a41_0x5e7b(_0x11ee05,_0x592658);}import a41_0xfe9f3e from'ol/format/EsriJSON';import a41_0x465440 from'ol/source/Vector';import{Vector as a41_0x4edd93}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x500abd}from'ol/loadingstrategy';import a41_0x115ab9 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0xfcb1bf from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x115ab9{constructor(_0x540e9d,_0x11ed56,_0x4f7c3a){const _0x3e012b=a41_0x5e7b,_0x3a088d=[_0x11ed56[_0x3e012b(0x100)][_0x3e012b(0xec)],_0x11ed56['initialExtent'][_0x3e012b(0xfa)],_0x11ed56[_0x3e012b(0x100)][_0x3e012b(0x111)],_0x11ed56[_0x3e012b(0x100)]['ymax']],_0xd88668=[_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0xec)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0xfa)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0x111)],_0x11ed56[_0x3e012b(0x103)][_0x3e012b(0x10c)]];let _0x4d2497;_0x11ed56[_0x3e012b(0xf6)][_0x3e012b(0x119)]?_0x4d2497=registerProj(_0x3e012b(0x10f)+_0x11ed56[_0x3e012b(0xf6)]['wkid'],_0xd88668):_0x4d2497=registerProj(_0x11ed56[_0x3e012b(0xf6)][_0x3e012b(0x113)],_0xd88668);let _0x9a98ed=[];super({'zIndex':_0x540e9d[_0x3e012b(0xf3)]});for(let _0x1eb902 of _0x4f7c3a){let _0x4b3955=this[_0x3e012b(0xeb)](_0x540e9d,_0x1eb902);_0x9a98ed[_0x3e012b(0xf5)](_0x4b3955);}this['setLayers'](new a41_0xfcb1bf(_0x9a98ed)),this['id']=_0x540e9d['id'],this['initialExtent']=_0x3a088d,this['projection']=_0x4d2497,this[_0x3e012b(0xf4)]=_0x540e9d;}[a41_0x334dfb(0xeb)](_0xd60982,_0xd41555){const _0x4472ae=a41_0x334dfb;var _0x3b968a=new a41_0xfe9f3e();let _0x960102=new a41_0x465440({'loader':function(_0x179a9e,_0xd76652,_0xad1dd2){const _0x2b6235=a41_0x5e7b;let _0x3a4ea9='1=1';_0xd60982[_0x2b6235(0x101)]&&(_0x3a4ea9=typeof _0xd60982[_0x2b6235(0x101)]===_0x2b6235(0xe7)?_0xd60982[_0x2b6235(0x101)]:JSON['stringify'](_0xd60982[_0x2b6235(0x101)]));let _0x1b0e24=_0xad1dd2['getCode'](),_0x5c8733=_0x1b0e24[_0x2b6235(0x11a)](':')[0x1];var _0x5ee2d9=appendPath(_0xd41555[_0x2b6235(0xfc)],_0x2b6235(0x11b));_0x5ee2d9=appendParam(_0x5ee2d9,_0x2b6235(0x106)+_0x2b6235(0xf1)+encodeURIComponent(_0x3a4ea9)+_0x2b6235(0xfe)+encodeURIComponent(_0x2b6235(0x10e)+_0x179a9e[0x0]+_0x2b6235(0xe9)+_0x179a9e[0x1]+',\x22xmax\x22:'+_0x179a9e[0x2]+_0x2b6235(0xf7)+_0x179a9e[0x3]+_0x2b6235(0x105)+_0x5c8733+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x5c8733+'&outFields=*'+'&outSR='+_0x5c8733),jsonp(_0x5ee2d9)['then'](_0x1f7c14=>{const _0x106008=_0x2b6235;if(_0x1f7c14[_0x106008(0x10a)])console[_0x106008(0x114)](_0x1f7c14);else{var _0x1d81fd=_0x3b968a[_0x106008(0xf8)](_0x1f7c14,{'featureProjection':_0xad1dd2});_0x1d81fd['length']>0x0&&(_0xd41555['drawingInfo'][_0x106008(0xf0)][_0x106008(0xff)]=='uniqueValue'&&_0x1d81fd[_0x106008(0xea)](function(_0x239b47){const _0x15b648=_0x106008;var _0x319f90=_0x239b47[_0x15b648(0x110)](_0xd41555['drawingInfo'][_0x15b648(0xf0)][_0x15b648(0xf9)]);const _0x2596e0=_0xd41555[_0x15b648(0xed)]['renderer']['uniqueValueInfos'][_0x15b648(0x10b)](_0x99d8f5=>_0x99d8f5[_0x15b648(0x109)]==_0x319f90);let _0x2ee430;_0x2596e0?_0x2ee430=transformedEsriStyle(_0x2596e0[_0x15b648(0xe8)]):_0x2ee430=transformedEsriStyle(_0xd41555['drawingInfo'][_0x15b648(0xf0)][_0x15b648(0xee)]),_0x239b47[_0x15b648(0x112)](_0x2ee430);}),_0x960102[_0x106008(0xef)](_0x1d81fd));}});},'strategy':a41_0x500abd(createXYZ({'tileSize':0x200}))}),_0x2d28ad=new a41_0x4edd93({'source':_0x960102,'zIndex':_0xd60982[_0x4472ae(0xf2)]});if(_0xd41555[_0x4472ae(0xed)][_0x4472ae(0xf0)][_0x4472ae(0xff)]==_0x4472ae(0x117)&&_0xd41555['drawingInfo'][_0x4472ae(0xf0)][_0x4472ae(0xe8)]){let _0x246a46=transformedEsriStyle(_0xd41555[_0x4472ae(0xed)][_0x4472ae(0xf0)][_0x4472ae(0xe8)]);_0x2d28ad['setStyle'](_0x246a46);}return _0x2d28ad;}[a41_0x334dfb(0x102)](_0x529dd8){const _0x4650d2=a41_0x334dfb;this[_0x4650d2(0xf4)]['loadFilter']=_0x529dd8;}}function a41_0x97d8(){const _0x214a3e=['drawingInfo','defaultSymbol','addFeatures','renderer','where=','showIndex','mapIndex','layerInfo','push','spatialReference',',\x22ymax\x22:','readFeatures','field1','ymin','3962140JSdgez','url','4150092bnrjyS','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','type','initialExtent','loadFilter','setFilter','fullExtent','380786YregRF',',\x22spatialReference\x22:{\x22wkid\x22:','f\x20=\x20json\x20&\x20','32tdXcMk','760248kVmUJr','value','error','find','ymax','37998009tRstmd','{\x22xmin\x22:','EPSG:','get','xmax','setStyle','wkt','log','1417969FsYKae','1668702aWvPyT','simple','4DQjiEt','wkid','split','/query','string','symbol',',\x22ymin\x22:','forEach','createArcGISFeatureLayer','xmin'];a41_0x97d8=function(){return _0x214a3e;};return a41_0x97d8();}
1
+ const a41_0x437c11=a41_0x26ad;(function(_0x2fb2cd,_0x1867b1){const _0x32eaa3=a41_0x26ad,_0x45ce24=_0x2fb2cd();while(!![]){try{const _0x45201d=parseInt(_0x32eaa3(0x115))/0x1+-parseInt(_0x32eaa3(0x116))/0x2+parseInt(_0x32eaa3(0x107))/0x3*(-parseInt(_0x32eaa3(0x12f))/0x4)+parseInt(_0x32eaa3(0x117))/0x5*(parseInt(_0x32eaa3(0x122))/0x6)+-parseInt(_0x32eaa3(0x10a))/0x7*(-parseInt(_0x32eaa3(0xfe))/0x8)+-parseInt(_0x32eaa3(0x12c))/0x9*(-parseInt(_0x32eaa3(0x10e))/0xa)+parseInt(_0x32eaa3(0x11a))/0xb*(-parseInt(_0x32eaa3(0x105))/0xc);if(_0x45201d===_0x1867b1)break;else _0x45ce24['push'](_0x45ce24['shift']());}catch(_0x199fbd){_0x45ce24['push'](_0x45ce24['shift']());}}}(a41_0x2490,0x6c989));import a41_0x32c915 from'ol/format/EsriJSON';import a41_0x142bc0 from'ol/source/Vector';import{Vector as a41_0x4cc667}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';function a41_0x26ad(_0x5cf94c,_0x498fb8){const _0x249028=a41_0x2490();return a41_0x26ad=function(_0x26ad45,_0x49add8){_0x26ad45=_0x26ad45-0xfc;let _0x1f80e5=_0x249028[_0x26ad45];return _0x1f80e5;},a41_0x26ad(_0x5cf94c,_0x498fb8);}import{tile as a41_0x4421e5}from'ol/loadingstrategy';import a41_0xd47a08 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';function a41_0x2490(){const _0x262359=['forEach','wkt','showIndex',',\x22ymax\x22:','6369588thGkrU','ymax','3RffVJs','setStyle','defaultSymbol','1510873cmbEfa','setLayers','drawingInfo','EPSG:','11150dYrdnv','string','f\x20=\x20json\x20&\x20','uniqueValue','/query',',\x22ymin\x22:','wkid','635543itFuMG','439980nkUPdj','568780HCmnAs','simple','length','11xNThnc','ymin','where=','getCode','renderer','symbol','uniqueValueInfos','spatialReference','6YUoZis','xmax','value','1=1','log','createArcGISFeatureLayer','addFeatures','layerInfo','loadFilter','fullExtent','5337HLWERr','setFilter','get','2586296rYonLr','type','initialExtent','find','mapIndex','16IgoOXg','&outSR=','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry='];a41_0x2490=function(){return _0x262359;};return a41_0x2490();}import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x2acf93 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0xd47a08{constructor(_0x2eb68c,_0xa79e8d,_0xe4f1cd){const _0xf06bb7=a41_0x26ad,_0x24b382=[_0xa79e8d[_0xf06bb7(0x131)]['xmin'],_0xa79e8d[_0xf06bb7(0x131)][_0xf06bb7(0x11b)],_0xa79e8d[_0xf06bb7(0x131)][_0xf06bb7(0x123)],_0xa79e8d['initialExtent'][_0xf06bb7(0x106)]],_0x2286bd=[_0xa79e8d[_0xf06bb7(0x12b)]['xmin'],_0xa79e8d[_0xf06bb7(0x12b)][_0xf06bb7(0x11b)],_0xa79e8d['fullExtent'][_0xf06bb7(0x123)],_0xa79e8d[_0xf06bb7(0x12b)][_0xf06bb7(0x106)]];let _0x4a8da3;_0xa79e8d[_0xf06bb7(0x121)][_0xf06bb7(0x114)]?_0x4a8da3=registerProj(_0xf06bb7(0x10d)+_0xa79e8d['spatialReference'][_0xf06bb7(0x114)],_0x2286bd):_0x4a8da3=registerProj(_0xa79e8d['spatialReference'][_0xf06bb7(0x102)],_0x2286bd);let _0x435103=[];super({'zIndex':_0x2eb68c[_0xf06bb7(0xfd)]});for(let _0x5941e3 of _0xe4f1cd){let _0x5e667c=this[_0xf06bb7(0x127)](_0x2eb68c,_0x5941e3);_0x435103['push'](_0x5e667c);}this[_0xf06bb7(0x10b)](new a41_0x2acf93(_0x435103)),this['id']=_0x2eb68c['id'],this['initialExtent']=_0x24b382,this['projection']=_0x4a8da3,this['layerInfo']=_0x2eb68c;}['createArcGISFeatureLayer'](_0x17010c,_0x27d86b){const _0x3ec1eb=a41_0x26ad;var _0x238917=new a41_0x32c915();let _0x370ba9=new a41_0x142bc0({'loader':function(_0x32a50e,_0x557a8b,_0x32e5c2){const _0x51c5d7=a41_0x26ad;let _0x50ab2d=_0x51c5d7(0x125);_0x17010c[_0x51c5d7(0x12a)]&&(_0x50ab2d=typeof _0x17010c['loadFilter']===_0x51c5d7(0x10f)?_0x17010c[_0x51c5d7(0x12a)]:JSON['stringify'](_0x17010c['loadFilter']));let _0x19044b=_0x32e5c2[_0x51c5d7(0x11d)](),_0x330e02=_0x19044b['split'](':')[0x1];var _0x1d0073=appendPath(_0x27d86b['url'],_0x51c5d7(0x112));_0x1d0073=appendParam(_0x1d0073,_0x51c5d7(0x110)+_0x51c5d7(0x11c)+encodeURIComponent(_0x50ab2d)+_0x51c5d7(0x100)+encodeURIComponent('{\x22xmin\x22:'+_0x32a50e[0x0]+_0x51c5d7(0x113)+_0x32a50e[0x1]+',\x22xmax\x22:'+_0x32a50e[0x2]+_0x51c5d7(0x104)+_0x32a50e[0x3]+',\x22spatialReference\x22:{\x22wkid\x22:'+_0x330e02+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x330e02+'&outFields=*'+_0x51c5d7(0xff)+_0x330e02),jsonp(_0x1d0073)['then'](_0x3f14b2=>{const _0xd0d910=_0x51c5d7;if(_0x3f14b2['error'])console[_0xd0d910(0x126)](_0x3f14b2);else{var _0xfc854c=_0x238917['readFeatures'](_0x3f14b2,{'featureProjection':_0x32e5c2});_0xfc854c[_0xd0d910(0x119)]>0x0&&(_0x27d86b[_0xd0d910(0x10c)][_0xd0d910(0x11e)][_0xd0d910(0x130)]==_0xd0d910(0x111)&&_0xfc854c[_0xd0d910(0x101)](function(_0x35d879){const _0x2fc60e=_0xd0d910;var _0x3edb75=_0x35d879[_0x2fc60e(0x12e)](_0x27d86b[_0x2fc60e(0x10c)]['renderer']['field1']);const _0x1b6ca6=_0x27d86b[_0x2fc60e(0x10c)][_0x2fc60e(0x11e)][_0x2fc60e(0x120)][_0x2fc60e(0xfc)](_0x4bb61e=>_0x4bb61e[_0x2fc60e(0x124)]==_0x3edb75);let _0x45e18e;_0x1b6ca6?_0x45e18e=transformedEsriStyle(_0x1b6ca6[_0x2fc60e(0x11f)]):_0x45e18e=transformedEsriStyle(_0x27d86b[_0x2fc60e(0x10c)][_0x2fc60e(0x11e)][_0x2fc60e(0x109)]),_0x35d879[_0x2fc60e(0x108)](_0x45e18e);}),_0x370ba9[_0xd0d910(0x128)](_0xfc854c));}});},'strategy':a41_0x4421e5(createXYZ({'tileSize':0x200}))}),_0x5f3e56=new a41_0x4cc667({'source':_0x370ba9,'zIndex':_0x17010c[_0x3ec1eb(0x103)]});if(_0x27d86b['drawingInfo'][_0x3ec1eb(0x11e)][_0x3ec1eb(0x130)]==_0x3ec1eb(0x118)&&_0x27d86b[_0x3ec1eb(0x10c)][_0x3ec1eb(0x11e)][_0x3ec1eb(0x11f)]){let _0x293a74=transformedEsriStyle(_0x27d86b[_0x3ec1eb(0x10c)][_0x3ec1eb(0x11e)]['symbol']);_0x5f3e56[_0x3ec1eb(0x108)](_0x293a74);}return _0x5f3e56;}[a41_0x437c11(0x12d)](_0x40605c){const _0x3b6944=a41_0x437c11;this[_0x3b6944(0x129)][_0x3b6944(0x12a)]=_0x40605c;}}
@@ -1 +1 @@
1
- function a42_0x1c6e(_0x5df0cb,_0x34d873){const _0x240fa5=a42_0x240f();return a42_0x1c6e=function(_0x1c6ed5,_0x45f821){_0x1c6ed5=_0x1c6ed5-0x192;let _0x55a3d2=_0x240fa5[_0x1c6ed5];return _0x55a3d2;},a42_0x1c6e(_0x5df0cb,_0x34d873);}(function(_0xf21687,_0x2ae0e6){const _0x2ba46e=a42_0x1c6e,_0x3cbda4=_0xf21687();while(!![]){try{const _0x3ac44c=-parseInt(_0x2ba46e(0x1ab))/0x1+-parseInt(_0x2ba46e(0x1a9))/0x2*(parseInt(_0x2ba46e(0x1a1))/0x3)+parseInt(_0x2ba46e(0x1a7))/0x4+parseInt(_0x2ba46e(0x1a3))/0x5*(parseInt(_0x2ba46e(0x194))/0x6)+parseInt(_0x2ba46e(0x1a4))/0x7+parseInt(_0x2ba46e(0x197))/0x8*(-parseInt(_0x2ba46e(0x1a0))/0x9)+parseInt(_0x2ba46e(0x1ae))/0xa;if(_0x3ac44c===_0x2ae0e6)break;else _0x3cbda4['push'](_0x3cbda4['shift']());}catch(_0x588c42){_0x3cbda4['push'](_0x3cbda4['shift']());}}}(a42_0x240f,0xc1ebc));import a42_0x8824da from'ol/layer/Tile';import a42_0x29e333 from'ol/source/XYZ';import a42_0x1aa427 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';function a42_0x240f(){const _0x4f7913=['wkt','resolution','24662840sxSrFa','origin','layerInfo','cols','3794394UXnKKU','url','initialExtent','8exnyaz','xmax','length','wkid','ymin','/tile/{z}/{y}/{x}','mapIndex','anonymous','tileInfo','13901697dpKFxw','93cgrfQH','xmin','5Qhoirm','1296687mSOWZt','ymax','fullExtent','724768DFKRSq','EPSG:','31706oYNIYe','spatialReference','634740VMVUIM'];a42_0x240f=function(){return _0x4f7913;};return a42_0x240f();}export default class ArcgisTileLayer extends a42_0x8824da{constructor(_0x23fc8b,_0x253049){const _0x4acb83=a42_0x1c6e,_0x350b5d=_0x23fc8b[_0x4acb83(0x195)]?_0x23fc8b[_0x4acb83(0x195)]:'',_0x31bd73=appendPath(_0x350b5d,_0x4acb83(0x19c)),_0x30c14c=[_0x253049[_0x4acb83(0x196)][_0x4acb83(0x1a2)],_0x253049[_0x4acb83(0x196)][_0x4acb83(0x19b)],_0x253049[_0x4acb83(0x196)][_0x4acb83(0x198)],_0x253049[_0x4acb83(0x196)]['ymax']],_0x2baea2=[_0x253049[_0x4acb83(0x1a6)][_0x4acb83(0x1a2)],_0x253049[_0x4acb83(0x1a6)]['ymin'],_0x253049[_0x4acb83(0x1a6)]['xmax'],_0x253049[_0x4acb83(0x1a6)][_0x4acb83(0x1a5)]];let _0x36b0e2;_0x253049[_0x4acb83(0x1aa)]['wkid']?_0x36b0e2=registerProj(_0x4acb83(0x1a8)+_0x253049[_0x4acb83(0x1aa)][_0x4acb83(0x19a)],_0x2baea2):_0x36b0e2=registerProj(_0x253049['spatialReference'][_0x4acb83(0x1ac)],_0x2baea2);let _0x31141f=[];for(let _0x32ff74=0x0,_0x41386c=_0x253049[_0x4acb83(0x19f)]['lods'][_0x4acb83(0x199)];_0x32ff74<_0x41386c;_0x32ff74++){_0x31141f['push'](_0x253049[_0x4acb83(0x19f)]['lods'][_0x32ff74][_0x4acb83(0x1ad)]);}super({'opacity':_0x23fc8b['opacity'],'zIndex':_0x23fc8b[_0x4acb83(0x19d)],'maxResolution':_0x31141f[0x0]*0x2,'source':new a42_0x29e333({'url':_0x31bd73,'projection':_0x36b0e2,'crossOrigin':_0x4acb83(0x19e),'tileGrid':new a42_0x1aa427({'extent':_0x2baea2,'origin':[_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x1af)]['x'],_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x1af)]['y']],'resolutions':_0x31141f,'tileSize':[_0x253049['tileInfo']['rows'],_0x253049[_0x4acb83(0x19f)][_0x4acb83(0x193)]]})})}),this['id']=_0x23fc8b['id'],this[_0x4acb83(0x196)]=_0x30c14c,this['projection']=_0x36b0e2,this[_0x4acb83(0x192)]=_0x23fc8b;}}
1
+ (function(_0x4a2eb5,_0x4a44c4){const _0x2bf90c=a42_0x4869,_0x25b5b3=_0x4a2eb5();while(!![]){try{const _0x49ed27=-parseInt(_0x2bf90c(0x79))/0x1*(parseInt(_0x2bf90c(0x8c))/0x2)+parseInt(_0x2bf90c(0x80))/0x3+parseInt(_0x2bf90c(0x7b))/0x4*(parseInt(_0x2bf90c(0x71))/0x5)+parseInt(_0x2bf90c(0x8d))/0x6+parseInt(_0x2bf90c(0x7e))/0x7*(parseInt(_0x2bf90c(0x7d))/0x8)+-parseInt(_0x2bf90c(0x77))/0x9+-parseInt(_0x2bf90c(0x7a))/0xa*(-parseInt(_0x2bf90c(0x85))/0xb);if(_0x49ed27===_0x4a44c4)break;else _0x25b5b3['push'](_0x25b5b3['shift']());}catch(_0x3f93c8){_0x25b5b3['push'](_0x25b5b3['shift']());}}}(a42_0x1961,0x6ee95));import a42_0x5da9de from'ol/layer/Tile';import a42_0xa1cc48 from'ol/source/XYZ';import a42_0xeb0f91 from'ol/tilegrid/TileGrid';function a42_0x1961(){const _0xfa61d6=['95zJJqxz','spatialReference','initialExtent','anonymous','opacity','wkid','4404960nyZrvh','ymax','3BXkzTa','910OXrdDV','160232WktAUy','xmin','4419016EXkRnK','7nsJxZb','url','305592AqFfTL','layerInfo','origin','length','ymin','9647edWVoh','xmax','tileInfo','projection','resolution','push','lods','483680HTcPMt','1044618LNPxOa','fullExtent'];a42_0x1961=function(){return _0xfa61d6;};return a42_0x1961();}function a42_0x4869(_0x259104,_0x16000d){const _0x196137=a42_0x1961();return a42_0x4869=function(_0x4869e9,_0x2e50c0){_0x4869e9=_0x4869e9-0x70;let _0x324c90=_0x196137[_0x4869e9];return _0x324c90;},a42_0x4869(_0x259104,_0x16000d);}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x5da9de{constructor(_0x3c5dd7,_0x42ffbd){const _0x2019ef=a42_0x4869,_0x57293b=_0x3c5dd7[_0x2019ef(0x7f)]?_0x3c5dd7['url']:'',_0x192d7a=appendPath(_0x57293b,'/tile/{z}/{y}/{x}'),_0x26bd07=[_0x42ffbd['initialExtent'][_0x2019ef(0x7c)],_0x42ffbd[_0x2019ef(0x73)]['ymin'],_0x42ffbd[_0x2019ef(0x73)][_0x2019ef(0x86)],_0x42ffbd[_0x2019ef(0x73)][_0x2019ef(0x78)]],_0x4d9625=[_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x7c)],_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x84)],_0x42ffbd['fullExtent'][_0x2019ef(0x86)],_0x42ffbd[_0x2019ef(0x70)][_0x2019ef(0x78)]];let _0x58bff1;_0x42ffbd['spatialReference'][_0x2019ef(0x76)]?_0x58bff1=registerProj('EPSG:'+_0x42ffbd['spatialReference'][_0x2019ef(0x76)],_0x4d9625):_0x58bff1=registerProj(_0x42ffbd[_0x2019ef(0x72)]['wkt'],_0x4d9625);let _0x4caac4=[];for(let _0x53a870=0x0,_0x495d6a=_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x8b)][_0x2019ef(0x83)];_0x53a870<_0x495d6a;_0x53a870++){_0x4caac4[_0x2019ef(0x8a)](_0x42ffbd['tileInfo'][_0x2019ef(0x8b)][_0x53a870][_0x2019ef(0x89)]);}super({'opacity':_0x3c5dd7[_0x2019ef(0x75)],'zIndex':_0x3c5dd7['mapIndex'],'maxResolution':_0x4caac4[0x0]*0x2,'source':new a42_0xa1cc48({'url':_0x192d7a,'projection':_0x58bff1,'crossOrigin':_0x2019ef(0x74),'tileGrid':new a42_0xeb0f91({'extent':_0x4d9625,'origin':[_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x82)]['x'],_0x42ffbd[_0x2019ef(0x87)][_0x2019ef(0x82)]['y']],'resolutions':_0x4caac4,'tileSize':[_0x42ffbd[_0x2019ef(0x87)]['rows'],_0x42ffbd['tileInfo']['cols']]})})}),this['id']=_0x3c5dd7['id'],this[_0x2019ef(0x73)]=_0x26bd07,this[_0x2019ef(0x88)]=_0x58bff1,this[_0x2019ef(0x81)]=_0x3c5dd7;}}
@@ -1 +1 @@
1
- const a43_0x4810da=a43_0x3914;(function(_0x554de6,_0x25c19b){const _0x36d890=a43_0x3914,_0x54cb64=_0x554de6();while(!![]){try{const _0x3e50b2=-parseInt(_0x36d890(0x185))/0x1*(-parseInt(_0x36d890(0x184))/0x2)+parseInt(_0x36d890(0x192))/0x3+parseInt(_0x36d890(0x19b))/0x4*(-parseInt(_0x36d890(0x18f))/0x5)+parseInt(_0x36d890(0x18e))/0x6+-parseInt(_0x36d890(0x186))/0x7+parseInt(_0x36d890(0x187))/0x8*(-parseInt(_0x36d890(0x18c))/0x9)+parseInt(_0x36d890(0x183))/0xa*(-parseInt(_0x36d890(0x193))/0xb);if(_0x3e50b2===_0x25c19b)break;else _0x54cb64['push'](_0x54cb64['shift']());}catch(_0x20d0c4){_0x54cb64['push'](_0x54cb64['shift']());}}}(a43_0x1daf,0xc360a));import{ImageWMS as a43_0x2cfb4e}from'ol/source';import{Image as a43_0x2932cc}from'ol/layer';function a43_0x3914(_0xc4e329,_0x59ece3){const _0x1daff9=a43_0x1daf();return a43_0x3914=function(_0x3914d7,_0x4939e7){_0x3914d7=_0x3914d7-0x183;let _0x2c4a5a=_0x1daff9[_0x3914d7];return _0x2c4a5a;},a43_0x3914(_0xc4e329,_0x59ece3);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x2932cc{constructor(_0x5a4f97,_0x43566e){const _0x17ef8f=a43_0x3914;var _0xe7239c;let _0x17c460=registerProj(_0x17ef8f(0x194)+_0x43566e['wkid'],undefined),_0x369048={'LAYERS':(_0xe7239c=_0x5a4f97[_0x17ef8f(0x189)])===null||_0xe7239c===void 0x0?void 0x0:_0xe7239c[_0x17ef8f(0x195)](','),'VERSION':_0x17ef8f(0x18a)};_0x5a4f97['loadFilter']&&(_0x369048[_0x17ef8f(0x199)]=_0x5a4f97[_0x17ef8f(0x18b)]),super({'opacity':_0x5a4f97[_0x17ef8f(0x198)],'zIndex':_0x5a4f97[_0x17ef8f(0x188)],'source':new a43_0x2cfb4e({'crossOrigin':_0x17ef8f(0x196),'url':_0x5a4f97['url'],'params':_0x369048})}),this['id']=_0x5a4f97['id'],this[_0x17ef8f(0x191)]=_0x43566e['initExtent'],this['projection']=_0x17c460,this[_0x17ef8f(0x19a)]=_0x5a4f97;}[a43_0x4810da(0x190)](){}[a43_0x4810da(0x18d)](_0x2b4c3c){const _0x13732f=a43_0x4810da;var _0x4816ea;(_0x4816ea=this['getSource']())===null||_0x4816ea===void 0x0?void 0x0:_0x4816ea[_0x13732f(0x197)]({'CQL_FILTER':_0x2b4c3c});}}function a43_0x1daf(){const _0x31f9c9=['refresh','initialExtent','3542838mAHevy','4794449mTryJY','EPSG:','join','anonymous','updateParams','opacity','CQL_FILTER','layerInfo','276424vWwEMs','20qtqjbp','6tMRmFH','287789NkRbRG','3836945hYXXSU','167392ksaaxS','mapIndex','sublayers','1.1.0','loadFilter','144LfucFK','setFilter','4722084CEJhvO','20RaLTaW'];a43_0x1daf=function(){return _0x31f9c9;};return a43_0x1daf();}
1
+ const a43_0x6b1f6=a43_0x2f59;function a43_0x2980(){const _0x3245e8=['refresh','join','10117220eKKfrw','loadFilter','1wFACPa','368336KkcilO','opacity','mapIndex','68383IrYQFp','layerInfo','4146740zbzsgb','wkid','anonymous','18BEbWOy','200692SrDpun','296fWxAuh','url','updateParams','1109526azWKia','getSource','initExtent','CQL_FILTER','1.1.0','2421108vAhiiT','sublayers','projection','EPSG:','initialExtent'];a43_0x2980=function(){return _0x3245e8;};return a43_0x2980();}(function(_0x5f47c4,_0x365db6){const _0x26905e=a43_0x2f59,_0x2a0f8c=_0x5f47c4();while(!![]){try{const _0x4cbf0d=parseInt(_0x26905e(0xde))/0x1*(parseInt(_0x26905e(0xdf))/0x2)+-parseInt(_0x26905e(0xf1))/0x3+parseInt(_0x26905e(0xe8))/0x4+-parseInt(_0x26905e(0xe4))/0x5+parseInt(_0x26905e(0xec))/0x6+parseInt(_0x26905e(0xe2))/0x7*(-parseInt(_0x26905e(0xe9))/0x8)+parseInt(_0x26905e(0xe7))/0x9*(parseInt(_0x26905e(0xdc))/0xa);if(_0x4cbf0d===_0x365db6)break;else _0x2a0f8c['push'](_0x2a0f8c['shift']());}catch(_0x32d01d){_0x2a0f8c['push'](_0x2a0f8c['shift']());}}}(a43_0x2980,0x6c9c5));import{ImageWMS as a43_0x23572d}from'ol/source';import{Image as a43_0x375278}from'ol/layer';function a43_0x2f59(_0x5c5ee9,_0x28a805){const _0x29804e=a43_0x2980();return a43_0x2f59=function(_0x2f5998,_0x333b4f){_0x2f5998=_0x2f5998-0xd7;let _0x77959=_0x29804e[_0x2f5998];return _0x77959;},a43_0x2f59(_0x5c5ee9,_0x28a805);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x375278{constructor(_0xcc874d,_0x398784){const _0x47b2cf=a43_0x2f59;var _0x30ba25;let _0x474219=registerProj(_0x47b2cf(0xd8)+_0x398784[_0x47b2cf(0xe5)],undefined),_0x4f23cb={'LAYERS':(_0x30ba25=_0xcc874d[_0x47b2cf(0xf2)])===null||_0x30ba25===void 0x0?void 0x0:_0x30ba25[_0x47b2cf(0xdb)](','),'VERSION':_0x47b2cf(0xf0)};_0xcc874d[_0x47b2cf(0xdd)]&&(_0x4f23cb[_0x47b2cf(0xef)]=_0xcc874d[_0x47b2cf(0xdd)]),super({'opacity':_0xcc874d[_0x47b2cf(0xe0)],'zIndex':_0xcc874d[_0x47b2cf(0xe1)],'source':new a43_0x23572d({'crossOrigin':_0x47b2cf(0xe6),'url':_0xcc874d[_0x47b2cf(0xea)],'params':_0x4f23cb})}),this['id']=_0xcc874d['id'],this[_0x47b2cf(0xd9)]=_0x398784[_0x47b2cf(0xee)],this[_0x47b2cf(0xd7)]=_0x474219,this[_0x47b2cf(0xe3)]=_0xcc874d;}[a43_0x6b1f6(0xda)](){}['setFilter'](_0x2d4c86){const _0x4db6aa=a43_0x6b1f6;var _0x5d308f;(_0x5d308f=this[_0x4db6aa(0xed)]())===null||_0x5d308f===void 0x0?void 0x0:_0x5d308f[_0x4db6aa(0xeb)]({'CQL_FILTER':_0x2d4c86});}}
@@ -1 +1 @@
1
- (function(_0x2179c8,_0x3a4b5c){const _0x2094eb=a44_0x12b3,_0xf3044b=_0x2179c8();while(!![]){try{const _0x1f965d=-parseInt(_0x2094eb(0xe2))/0x1*(parseInt(_0x2094eb(0xda))/0x2)+-parseInt(_0x2094eb(0xdf))/0x3*(-parseInt(_0x2094eb(0xf5))/0x4)+-parseInt(_0x2094eb(0xf6))/0x5+-parseInt(_0x2094eb(0xd4))/0x6+parseInt(_0x2094eb(0xe3))/0x7*(parseInt(_0x2094eb(0xd9))/0x8)+parseInt(_0x2094eb(0xee))/0x9*(parseInt(_0x2094eb(0xd5))/0xa)+parseInt(_0x2094eb(0xd7))/0xb*(parseInt(_0x2094eb(0xf7))/0xc);if(_0x1f965d===_0x3a4b5c)break;else _0xf3044b['push'](_0xf3044b['shift']());}catch(_0xf02c0){_0xf3044b['push'](_0xf3044b['shift']());}}}(a44_0x2bd4,0x8e2f6));import a44_0x4b3ceb from'ol/layer/Tile';import a44_0x2dc4f7,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x4632eb from'ol/tilegrid/WMTS';function a44_0x2bd4(){const _0x1d9175=['sublayers','boundingBoxExtent','4168UJIaiV','1175625lqsNOz','139764nLtYoj','matrixSet','value','src','4823058qPRMAa','8904190wdAaRa','format','242hxbCHB','wkid','3016txxYXG','2FMGTLq','image/png','layer','getResolutions','name','222eVPwTR','length','url','587881uKnnDw','18298aNHwHn','initialExtent','replace','projection','EPSG:','tileMatrixSet','origins_','sourceXml','indexOf','getImage','?http','9YWjSZw','requestEncoding','tileGrid','token','join'];a44_0x2bd4=function(){return _0x1d9175;};return a44_0x2bd4();}function a44_0x12b3(_0x37510f,_0x20803a){const _0x2bd4fd=a44_0x2bd4();return a44_0x12b3=function(_0x12b32e,_0x9b8a0e){_0x12b32e=_0x12b32e-0xd4;let _0x2b53d8=_0x2bd4fd[_0x12b32e];return _0x2b53d8;},a44_0x12b3(_0x37510f,_0x20803a);}import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x4b3ceb{constructor(_0x24355a,_0x1fae76){const _0x5729a0=a44_0x12b3;var _0x500db8;let _0x58917d='';_0x24355a[_0x5729a0(0xf3)]&&_0x24355a[_0x5729a0(0xf3)][_0x5729a0(0xe0)]>0x0&&(_0x58917d=_0x24355a['sublayers'][_0x5729a0(0xf2)](','));const _0x358536=_0x5729a0(0xe7)+_0x1fae76[_0x5729a0(0xd8)];let _0x226b85=registerProj(_0x358536);const _0x454f09=optionsFromCapabilities(_0x1fae76[_0x5729a0(0xea)],{'layer':(_0x500db8=_0x24355a[_0x5729a0(0xf3)])===null||_0x500db8===void 0x0?void 0x0:_0x500db8[0x0],'matrixSet':_0x1fae76[_0x5729a0(0xe8)],'format':_0x5729a0(0xdb)});let _0x37ceee=_0x454f09[_0x5729a0(0xf0)][_0x5729a0(0xe9)][0x0];_0x37ceee[0x0]===0x5a&&_0x37ceee[0x1]===-0xb4&&(_0x37ceee=[_0x37ceee[0x1],_0x37ceee[0x0]]),super({'opacity':_0x24355a['opacity'],'zIndex':_0x24355a['mapIndex'],'source':new a44_0x2dc4f7({'urls':_0x454f09['urls'],'requestEncoding':_0x454f09[_0x5729a0(0xef)],'layer':_0x454f09[_0x5729a0(0xdc)],'tileLoadFunction':function(_0x970120,_0x4dbe59){const _0x3ed3c9=_0x5729a0,_0x56cdee=_0x24355a[_0x3ed3c9(0xe1)]?_0x24355a[_0x3ed3c9(0xe1)]:'';let _0xa38d9a=getUrlParams(_0x56cdee);if((_0xa38d9a===null||_0xa38d9a===void 0x0?void 0x0:_0xa38d9a['length'])>0x0)for(let _0x3c25cb of _0xa38d9a){_0x4dbe59=addArgument(_0x4dbe59,_0x3c25cb[_0x3ed3c9(0xde)],_0x3c25cb[_0x3ed3c9(0xf9)]);}let _0x1927a1=_0x4dbe59[_0x3ed3c9(0xeb)](_0x3ed3c9(0xed));_0x1927a1!==-0x1?_0x4dbe59[_0x3ed3c9(0xeb)](_0x3ed3c9(0xf1))===-0x1&&_0x4dbe59['indexOf']('tk')===-0x1?_0x970120[_0x3ed3c9(0xec)]()[_0x3ed3c9(0xfa)]=_0x4dbe59[_0x3ed3c9(0xe5)]('&','?'):_0x970120['getImage']()[_0x3ed3c9(0xfa)]=_0x4dbe59:_0x970120[_0x3ed3c9(0xec)]()[_0x3ed3c9(0xfa)]=_0x4dbe59;},'matrixSet':_0x454f09[_0x5729a0(0xf8)],'format':_0x454f09[_0x5729a0(0xd6)],'projection':_0x454f09['projection'],'tileGrid':new a44_0x4632eb({'origin':_0x37ceee,'resolutions':_0x454f09[_0x5729a0(0xf0)][_0x5729a0(0xdd)](),'matrixIds':_0x454f09[_0x5729a0(0xf0)]['getMatrixIds'](),'extent':_0x1fae76[_0x5729a0(0xf4)]}),'style':_0x1fae76['style'],'wrapX':!![]})}),this['id']=_0x24355a['id'],this[_0x5729a0(0xe4)]=_0x1fae76['boundingBoxExtent'],this[_0x5729a0(0xe6)]=_0x226b85,this['layerInfo']=_0x24355a;}}
1
+ function a44_0x5d3f(){const _0x2b31c9=['11092AQLgnG','10KTZJbQ','EPSG:','indexOf','7800903ZzBJwE','projection','length','158vkBANV','50jZbxeE','tileMatrixSet','396654hcDFcE','src','1131305ZsacQU','style','origins_','getMatrixIds','name','5453768QZjuaE','getImage','?http','format','524WYRTfn','value','sublayers','urls','7494453kKyydE','replace','wkid','url','matrixSet','image/png','initialExtent','token','6582JeKvZz','boundingBoxExtent','tileGrid'];a44_0x5d3f=function(){return _0x2b31c9;};return a44_0x5d3f();}(function(_0x96d8d6,_0x5b7f2c){const _0x659092=a44_0x1efb,_0x4f95e9=_0x96d8d6();while(!![]){try{const _0x293b52=parseInt(_0x659092(0xab))/0x1*(parseInt(_0x659092(0xb2))/0x2)+parseInt(_0x659092(0xa8))/0x3*(-parseInt(_0x659092(0x9c))/0x4)+parseInt(_0x659092(0xb3))/0x5*(-parseInt(_0x659092(0x91))/0x6)+parseInt(_0x659092(0x93))/0x7+parseInt(_0x659092(0x98))/0x8+parseInt(_0x659092(0xa0))/0x9*(parseInt(_0x659092(0xac))/0xa)+-parseInt(_0x659092(0xaf))/0xb;if(_0x293b52===_0x5b7f2c)break;else _0x4f95e9['push'](_0x4f95e9['shift']());}catch(_0xb2c8c4){_0x4f95e9['push'](_0x4f95e9['shift']());}}}(a44_0x5d3f,0xda6b4));import a44_0x267ee5 from'ol/layer/Tile';import a44_0x5b0f49,{optionsFromCapabilities}from'ol/source/WMTS.js';function a44_0x1efb(_0x362d16,_0xb20021){const _0x5d3fd7=a44_0x5d3f();return a44_0x1efb=function(_0x1efbc0,_0x167264){_0x1efbc0=_0x1efbc0-0x91;let _0xe5a8d4=_0x5d3fd7[_0x1efbc0];return _0xe5a8d4;},a44_0x1efb(_0x362d16,_0xb20021);}import a44_0x18f8f4 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x267ee5{constructor(_0x4bd22f,_0x5d0a82){const _0x377fd4=a44_0x1efb;var _0x164de1;let _0x20d08e='';_0x4bd22f['sublayers']&&_0x4bd22f[_0x377fd4(0x9e)][_0x377fd4(0xb1)]>0x0&&(_0x20d08e=_0x4bd22f['sublayers']['join'](','));const _0x165a12=_0x377fd4(0xad)+_0x5d0a82[_0x377fd4(0xa2)];let _0x4264c0=registerProj(_0x165a12);const _0x3d2c59=optionsFromCapabilities(_0x5d0a82['sourceXml'],{'layer':(_0x164de1=_0x4bd22f['sublayers'])===null||_0x164de1===void 0x0?void 0x0:_0x164de1[0x0],'matrixSet':_0x5d0a82[_0x377fd4(0xb4)],'format':_0x377fd4(0xa5)});let _0x2db716=_0x3d2c59[_0x377fd4(0xaa)][_0x377fd4(0x95)][0x0];_0x2db716[0x0]===0x5a&&_0x2db716[0x1]===-0xb4&&(_0x2db716=[_0x2db716[0x1],_0x2db716[0x0]]),super({'opacity':_0x4bd22f['opacity'],'zIndex':_0x4bd22f['mapIndex'],'source':new a44_0x5b0f49({'urls':_0x3d2c59[_0x377fd4(0x9f)],'requestEncoding':_0x3d2c59['requestEncoding'],'layer':_0x3d2c59['layer'],'tileLoadFunction':function(_0x5b7869,_0x2879d8){const _0x144e82=_0x377fd4,_0x372df1=_0x4bd22f[_0x144e82(0xa3)]?_0x4bd22f[_0x144e82(0xa3)]:'';let _0x5b9b7a=getUrlParams(_0x372df1);if((_0x5b9b7a===null||_0x5b9b7a===void 0x0?void 0x0:_0x5b9b7a[_0x144e82(0xb1)])>0x0)for(let _0x46f875 of _0x5b9b7a){_0x2879d8=addArgument(_0x2879d8,_0x46f875[_0x144e82(0x97)],_0x46f875[_0x144e82(0x9d)]);}let _0x288bd4=_0x2879d8[_0x144e82(0xae)](_0x144e82(0x9a));_0x288bd4!==-0x1?_0x2879d8['indexOf'](_0x144e82(0xa7))===-0x1&&_0x2879d8[_0x144e82(0xae)]('tk')===-0x1?_0x5b7869[_0x144e82(0x99)]()[_0x144e82(0x92)]=_0x2879d8[_0x144e82(0xa1)]('&','?'):_0x5b7869[_0x144e82(0x99)]()[_0x144e82(0x92)]=_0x2879d8:_0x5b7869[_0x144e82(0x99)]()['src']=_0x2879d8;},'matrixSet':_0x3d2c59[_0x377fd4(0xa4)],'format':_0x3d2c59[_0x377fd4(0x9b)],'projection':_0x3d2c59[_0x377fd4(0xb0)],'tileGrid':new a44_0x18f8f4({'origin':_0x2db716,'resolutions':_0x3d2c59['tileGrid']['getResolutions'](),'matrixIds':_0x3d2c59['tileGrid'][_0x377fd4(0x96)](),'extent':_0x5d0a82[_0x377fd4(0xa9)]}),'style':_0x5d0a82[_0x377fd4(0x94)],'wrapX':!![]})}),this['id']=_0x4bd22f['id'],this[_0x377fd4(0xa6)]=_0x5d0a82[_0x377fd4(0xa9)],this[_0x377fd4(0xb0)]=_0x4264c0,this['layerInfo']=_0x4bd22f;}}
@@ -1 +1 @@
1
- (function(_0x30fccb,_0x22acb4){const _0xb4fc12=a45_0x1d88,_0x50327e=_0x30fccb();while(!![]){try{const _0x153752=-parseInt(_0xb4fc12(0x147))/0x1*(parseInt(_0xb4fc12(0x12e))/0x2)+parseInt(_0xb4fc12(0x131))/0x3*(-parseInt(_0xb4fc12(0x138))/0x4)+-parseInt(_0xb4fc12(0x135))/0x5+parseInt(_0xb4fc12(0x133))/0x6+-parseInt(_0xb4fc12(0x142))/0x7+parseInt(_0xb4fc12(0x146))/0x8*(-parseInt(_0xb4fc12(0x13c))/0x9)+parseInt(_0xb4fc12(0x129))/0xa;if(_0x153752===_0x22acb4)break;else _0x50327e['push'](_0x50327e['shift']());}catch(_0xd2929b){_0x50327e['push'](_0x50327e['shift']());}}}(a45_0x1fa6,0xea58c));import a45_0x20477c from'ol/layer/VectorTile';import a45_0x1fcc18 from'ol/source/VectorTile';import a45_0x1e7f0e from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';function a45_0x1d88(_0x14c091,_0x372842){const _0x1fa6b2=a45_0x1fa6();return a45_0x1d88=function(_0x1d88cb,_0x1aa512){_0x1d88cb=_0x1d88cb-0x128;let _0x590ed3=_0x1fa6b2[_0x1d88cb];return _0x590ed3;},a45_0x1d88(_0x14c091,_0x372842);}import a45_0x1c5e14 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';function a45_0x1fa6(){const _0x4fdc8f=['origins_','getResolutions','application/vnd.mapbox-vector-tile','sourceXml','2QOrbIR','wkid','{y}','84GbtOXH','getMatrixIds','9760446qXqwku','tileSizes_','4811525Umbido','layerInfo','length','48352pCOXJm','toString','style','1.0.0','9TScrBA','initialExtent','boundingBoxExtent','opacity','GetTile','tileGrid','4273143RockDL',':{z}','projection','EPSG:','2403096HeVtCf','483661RIxJNQ','tileMatrixSet','sublayers','url','20284090eWDBoZ'];a45_0x1fa6=function(){return _0x4fdc8f;};return a45_0x1fa6();}export default class GeoserverVectorTileLayer extends a45_0x20477c{constructor(_0x46a1f7,_0x4ab163){const _0x1b3afe=a45_0x1d88;var _0x4619ba;let _0x2eef41=registerProj(_0x1b3afe(0x145)+_0x4ab163['wkid']);const _0x5d21f8=optionsFromCapabilities(_0x4ab163[_0x1b3afe(0x12d)],{'layer':(_0x4619ba=_0x46a1f7[_0x1b3afe(0x149)])===null||_0x4619ba===void 0x0?void 0x0:_0x4619ba[0x0],'matrixSet':_0x4ab163['tileMatrixSet'],'format':'image/png'});let _0x40f3a5=_0x46a1f7['sublayers']&&_0x46a1f7['sublayers'][_0x1b3afe(0x137)]>0x0?_0x46a1f7['sublayers'][0x0]:'';const _0x583847={'REQUEST':_0x1b3afe(0x140),'SERVICE':'WMTS','VERSION':_0x1b3afe(0x13b),'LAYER':_0x40f3a5,'STYLE':_0x4ab163[_0x1b3afe(0x13a)][_0x1b3afe(0x139)](),'TILEMATRIX':_0x4ab163['tileMatrixSet']+_0x1b3afe(0x143),'TILEMATRIXSET':_0x4ab163[_0x1b3afe(0x148)][_0x1b3afe(0x139)](),'FORMAT':_0x1b3afe(0x12c),'TILECOL':'{x}','TILEROW':_0x1b3afe(0x130)};let _0x4f4f47=_0x46a1f7[_0x1b3afe(0x128)]?_0x46a1f7[_0x1b3afe(0x128)]:'';for(const _0x30e46c in _0x583847){_0x4f4f47=addArgument(_0x4f4f47,_0x30e46c,_0x583847[_0x30e46c]);}super({'opacity':_0x46a1f7[_0x1b3afe(0x13f)],'zIndex':_0x46a1f7['mapIndex'],'declutter':!![],'source':new a45_0x1fcc18({'projection':_0x1b3afe(0x145)+_0x4ab163[_0x1b3afe(0x12f)],'format':new a45_0x1e7f0e(),'wrapX':!![],'extent':_0x4ab163[_0x1b3afe(0x13e)],'tileGrid':new a45_0x1c5e14({'tileSize':_0x5d21f8[_0x1b3afe(0x141)][_0x1b3afe(0x134)][0x0],'origin':_0x5d21f8['tileGrid'][_0x1b3afe(0x12a)][0x0],'resolutions':_0x5d21f8['tileGrid'][_0x1b3afe(0x12b)](),'matrixIds':_0x5d21f8[_0x1b3afe(0x141)][_0x1b3afe(0x132)]()}),'url':_0x4f4f47})}),this['id']=_0x46a1f7['id'],this[_0x1b3afe(0x13d)]=_0x4ab163[_0x1b3afe(0x13e)],this[_0x1b3afe(0x144)]=_0x2eef41,this[_0x1b3afe(0x136)]=_0x46a1f7;}}
1
+ (function(_0x4f3419,_0x40abcd){const _0x3937af=a45_0x79d8,_0xf39447=_0x4f3419();while(!![]){try{const _0x3fc09c=-parseInt(_0x3937af(0x16f))/0x1+-parseInt(_0x3937af(0x176))/0x2+-parseInt(_0x3937af(0x163))/0x3*(parseInt(_0x3937af(0x171))/0x4)+parseInt(_0x3937af(0x166))/0x5+-parseInt(_0x3937af(0x162))/0x6+-parseInt(_0x3937af(0x175))/0x7+parseInt(_0x3937af(0x17c))/0x8*(parseInt(_0x3937af(0x17e))/0x9);if(_0x3fc09c===_0x40abcd)break;else _0xf39447['push'](_0xf39447['shift']());}catch(_0xca9707){_0xf39447['push'](_0xf39447['shift']());}}}(a45_0x56c1,0x2edb4));import a45_0xf3df9f from'ol/layer/VectorTile';import a45_0x1ecde4 from'ol/source/VectorTile';import a45_0xea5042 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x74a92a from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';function a45_0x79d8(_0x582faf,_0x2fc27a){const _0x56c1dc=a45_0x56c1();return a45_0x79d8=function(_0x79d879,_0x985851){_0x79d879=_0x79d879-0x15e;let _0x545cb5=_0x56c1dc[_0x79d879];return _0x545cb5;},a45_0x79d8(_0x582faf,_0x2fc27a);}import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0xf3df9f{constructor(_0x3a58c6,_0x214dc6){const _0x23f2e2=a45_0x79d8;var _0x24d12d;let _0x4a9134=registerProj(_0x23f2e2(0x169)+_0x214dc6[_0x23f2e2(0x160)]);const _0x2a64e1=optionsFromCapabilities(_0x214dc6[_0x23f2e2(0x17b)],{'layer':(_0x24d12d=_0x3a58c6['sublayers'])===null||_0x24d12d===void 0x0?void 0x0:_0x24d12d[0x0],'matrixSet':_0x214dc6[_0x23f2e2(0x170)],'format':_0x23f2e2(0x177)});let _0x4e907=_0x3a58c6[_0x23f2e2(0x161)]&&_0x3a58c6[_0x23f2e2(0x161)][_0x23f2e2(0x17f)]>0x0?_0x3a58c6[_0x23f2e2(0x161)][0x0]:'';const _0x4a535e={'REQUEST':'GetTile','SERVICE':_0x23f2e2(0x16b),'VERSION':_0x23f2e2(0x178),'LAYER':_0x4e907,'STYLE':_0x214dc6[_0x23f2e2(0x173)]['toString'](),'TILEMATRIX':_0x214dc6[_0x23f2e2(0x170)]+_0x23f2e2(0x172),'TILEMATRIXSET':_0x214dc6[_0x23f2e2(0x170)][_0x23f2e2(0x15f)](),'FORMAT':_0x23f2e2(0x164),'TILECOL':_0x23f2e2(0x16c),'TILEROW':_0x23f2e2(0x16d)};let _0x3e87e8=_0x3a58c6[_0x23f2e2(0x16e)]?_0x3a58c6[_0x23f2e2(0x16e)]:'';for(const _0x2a2016 in _0x4a535e){_0x3e87e8=addArgument(_0x3e87e8,_0x2a2016,_0x4a535e[_0x2a2016]);}super({'opacity':_0x3a58c6[_0x23f2e2(0x15e)],'zIndex':_0x3a58c6['mapIndex'],'declutter':!![],'source':new a45_0x1ecde4({'projection':_0x23f2e2(0x169)+_0x214dc6[_0x23f2e2(0x160)],'format':new a45_0xea5042(),'wrapX':!![],'extent':_0x214dc6[_0x23f2e2(0x17d)],'tileGrid':new a45_0x74a92a({'tileSize':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x17a)][0x0],'origin':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x168)][0x0],'resolutions':_0x2a64e1['tileGrid']['getResolutions'](),'matrixIds':_0x2a64e1[_0x23f2e2(0x179)][_0x23f2e2(0x174)]()}),'url':_0x3e87e8})}),this['id']=_0x3a58c6['id'],this[_0x23f2e2(0x167)]=_0x214dc6[_0x23f2e2(0x17d)],this[_0x23f2e2(0x165)]=_0x4a9134,this[_0x23f2e2(0x16a)]=_0x3a58c6;}}function a45_0x56c1(){const _0x5338a6=['boundingBoxExtent','18sPhpWM','length','opacity','toString','wkid','sublayers','1183524uJZVpm','28446AwmJEH','application/vnd.mapbox-vector-tile','projection','654400ffISpW','initialExtent','origins_','EPSG:','layerInfo','WMTS','{x}','{y}','url','276830gNRlMG','tileMatrixSet','148CauGNx',':{z}','style','getMatrixIds','1830745pkqJGD','79406pfbmed','image/png','1.0.0','tileGrid','tileSizes_','sourceXml','4748800edNpWU'];a45_0x56c1=function(){return _0x5338a6;};return a45_0x56c1();}
@@ -1 +1 @@
1
- function a46_0x5b8d(_0x4963ed,_0x486881){const _0x71a054=a46_0x71a0();return a46_0x5b8d=function(_0x5b8db8,_0x250838){_0x5b8db8=_0x5b8db8-0xc9;let _0x4a825b=_0x71a054[_0x5b8db8];return _0x4a825b;},a46_0x5b8d(_0x4963ed,_0x486881);}const a46_0x677a19=a46_0x5b8d;(function(_0x40c898,_0x16f430){const _0x33fe6c=a46_0x5b8d,_0x356051=_0x40c898();while(!![]){try{const _0x43b4a2=-parseInt(_0x33fe6c(0xf3))/0x1+-parseInt(_0x33fe6c(0xe2))/0x2+parseInt(_0x33fe6c(0xe1))/0x3*(-parseInt(_0x33fe6c(0xe5))/0x4)+-parseInt(_0x33fe6c(0xdb))/0x5*(-parseInt(_0x33fe6c(0xca))/0x6)+-parseInt(_0x33fe6c(0xf2))/0x7+-parseInt(_0x33fe6c(0xde))/0x8+parseInt(_0x33fe6c(0xe6))/0x9;if(_0x43b4a2===_0x16f430)break;else _0x356051['push'](_0x356051['shift']());}catch(_0x111285){_0x356051['push'](_0x356051['shift']());}}}(a46_0x71a0,0xc8b08));function a46_0x71a0(){const _0x5d20e7=['49392270CyzBIu','between','lessThanOrEqualTo','writeGetFeature','serializeToString','catch','warn','readFeatures','find','string','mapIndex','and','3007760IlsAPN','1481876qtXnYt','layerInfo','param','toLowerCase','parseFilter','layerFields','removeLoadedExtent','name','sublayers','getCode','150PNrSZi','initExtent','then','apply','projection','push','application/json','greaterThanOrEqualTo','getSource','type','url','loadFilter','type字段不存在','param字段不存在','!==','EPSG:','fieldType','52700JaChAW','greaterThan','read','12599584WJfuZr','equalTo','length','11769xETQim','1497262THRCEO','filter','json','708RTaNPG'];a46_0x71a0=function(){return _0x5d20e7;};return a46_0x71a0();}import a46_0x54bffd from'ol/source/Vector';import a46_0x2831f8 from'ol/format/GeoJSON';import{Vector as a46_0x4ff623}from'ol/layer';import a46_0x18136a from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x5c33c0 from'../utils/format/CQL';import*as a46_0x4b7a2a from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x4ff623{constructor(_0x5677e8,_0x3a6432){const _0x41da26=a46_0x5b8d;let _0x553939=registerProj(_0x41da26(0xd9)+_0x3a6432['wkid']);const _0x17d7e5=_0x3a6432[_0x41da26(0xf8)][_0x41da26(0xee)](_0x4f86c6=>_0x4f86c6[_0x41da26(0xda)]==0x6);super({'zIndex':_0x5677e8[_0x41da26(0xf0)],'source':new a46_0x54bffd({'format':new a46_0x2831f8(),'loader':(_0x3bd4da,_0x2e28ed,_0x458925,_0x4e5c47,_0x2cbdc1)=>{const _0x2aee70=_0x41da26;let _0x19c20e=_0x5677e8[_0x2aee70(0xd5)],_0x250909={'srsName':_0x458925[_0x2aee70(0xc9)](),'featureTypes':_0x5677e8[_0x2aee70(0xfb)],'bbox':_0x3bd4da,'geometryName':_0x17d7e5?_0x17d7e5[_0x2aee70(0xfa)]:'','outputFormat':_0x2aee70(0xd0)};_0x19c20e&&(typeof _0x19c20e===_0x2aee70(0xef)?_0x250909[_0x2aee70(0xe3)]=new a46_0x5c33c0()[_0x2aee70(0xdd)](_0x19c20e):_0x250909[_0x2aee70(0xe3)]=this[_0x2aee70(0xf7)](_0x19c20e));var _0x14614b=new a46_0x18136a()[_0x2aee70(0xe9)](_0x250909);let _0x4b3b7c=_0x5677e8[_0x2aee70(0xd4)]?_0x5677e8[_0x2aee70(0xd4)]:'';fetch(_0x4b3b7c,{'method':'POST','body':new XMLSerializer()[_0x2aee70(0xea)](_0x14614b)})['then'](_0x111e76=>{const _0x20056c=_0x2aee70;return _0x111e76[_0x20056c(0xe4)]();})[_0x2aee70(0xcc)](_0x3f7308=>{const _0x353fe2=_0x2aee70,_0x565655=new a46_0x2831f8()[_0x353fe2(0xed)](_0x3f7308);let _0x46bb6a=this[_0x353fe2(0xd2)]();_0x46bb6a&&_0x46bb6a['addFeatures'](_0x565655);if(_0x4e5c47)_0x4e5c47(_0x565655);})[_0x2aee70(0xeb)](()=>{const _0x35b063=_0x2aee70;let _0x1f1670=this[_0x35b063(0xd2)]();_0x1f1670&&_0x1f1670[_0x35b063(0xf9)](_0x3bd4da);if(_0x2cbdc1)_0x2cbdc1();});},'strategy':bbox})}),this['id']=_0x5677e8['id'],this['initialExtent']=_0x3a6432[_0x41da26(0xcb)],this[_0x41da26(0xce)]=_0x553939,this[_0x41da26(0xf4)]=_0x5677e8;}[a46_0x677a19(0xf7)](_0x3c27c8){const _0x3beda6=a46_0x677a19;if(!_0x3c27c8[_0x3beda6(0xd3)]){console['warn'](_0x3beda6(0xd6));return;}if(!_0x3c27c8[_0x3beda6(0xf5)]){console[_0x3beda6(0xec)](_0x3beda6(0xd7));return;}let _0x227216=[];switch(_0x3c27c8[_0x3beda6(0xd3)][_0x3beda6(0xf6)]()){case _0x3beda6(0xf1):for(let _0x1f0895=0x0;_0x1f0895<_0x3c27c8[_0x3beda6(0xf5)][_0x3beda6(0xe0)];_0x1f0895++){let _0x575567=this['parseFilter'](_0x3c27c8[_0x3beda6(0xf5)][_0x1f0895]);_0x227216[_0x3beda6(0xcf)](_0x575567);}return a46_0x4b7a2a['and'][_0x3beda6(0xcd)](null,_0x227216);case'or':for(let _0x91a22a=0x0;_0x91a22a<_0x3c27c8[_0x3beda6(0xf5)][_0x3beda6(0xe0)];_0x91a22a++){let _0x154e23=this['parseFilter'](_0x3c27c8[_0x3beda6(0xf5)][_0x91a22a]);_0x227216[_0x3beda6(0xcf)](_0x154e23);}return a46_0x4b7a2a['or']['apply'](null,_0x227216);case'not':for(let _0x1c61fc=0x0;_0x1c61fc<_0x3c27c8['param'][_0x3beda6(0xe0)];_0x1c61fc++){let _0x54af1a=this[_0x3beda6(0xf7)](_0x3c27c8[_0x3beda6(0xf5)][_0x1c61fc]);_0x227216[_0x3beda6(0xcf)](_0x54af1a);}return a46_0x4b7a2a['not'][_0x3beda6(0xcd)](null,_0x227216);case'=':return a46_0x4b7a2a[_0x3beda6(0xdf)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case _0x3beda6(0xd8):return a46_0x4b7a2a['notEqualTo'](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'>':return a46_0x4b7a2a[_0x3beda6(0xdc)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'<':return a46_0x4b7a2a['lessThan'](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case'>=':return a46_0x4b7a2a[_0x3beda6(0xd1)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8['param'][0x1]);case'<=':return a46_0x4b7a2a[_0x3beda6(0xe8)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8[_0x3beda6(0xf5)][0x1]);case _0x3beda6(0xe7):return a46_0x4b7a2a[_0x3beda6(0xe7)](_0x3c27c8[_0x3beda6(0xf5)][0x0],_0x3c27c8['param'][0x1],_0x3c27c8[_0x3beda6(0xf5)][0x2]);}}}
1
+ const a46_0x36f924=a46_0xb604;(function(_0x108b62,_0x4677c9){const _0x342219=a46_0xb604,_0x22650c=_0x108b62();while(!![]){try{const _0x1b94ec=-parseInt(_0x342219(0x208))/0x1+-parseInt(_0x342219(0x1fe))/0x2+-parseInt(_0x342219(0x206))/0x3+parseInt(_0x342219(0x20a))/0x4+parseInt(_0x342219(0x205))/0x5+-parseInt(_0x342219(0x200))/0x6+-parseInt(_0x342219(0x1f0))/0x7*(-parseInt(_0x342219(0x1ee))/0x8);if(_0x1b94ec===_0x4677c9)break;else _0x22650c['push'](_0x22650c['shift']());}catch(_0x49cbe1){_0x22650c['push'](_0x22650c['shift']());}}}(a46_0x4bff,0x268cb));import a46_0x4a53db from'ol/source/Vector';function a46_0xb604(_0x1017de,_0x313fe4){const _0x4bfffb=a46_0x4bff();return a46_0xb604=function(_0xb6049f,_0x4f7fb0){_0xb6049f=_0xb6049f-0x1e1;let _0x443806=_0x4bfffb[_0xb6049f];return _0x443806;},a46_0xb604(_0x1017de,_0x313fe4);}import a46_0x31f3d9 from'ol/format/GeoJSON';import{Vector as a46_0x21af74}from'ol/layer';import a46_0x216559 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x39753c from'../utils/format/CQL';function a46_0x4bff(){const _0x3658b8=['wkid','mapIndex','readFeatures','layerInfo','toLowerCase','between','EPSG:','read','length','writeGetFeature','removeLoadedExtent','33136hpdwdY','and','595alRila','POST','loadFilter','parseFilter','filter','name','lessThan','warn','addFeatures','sublayers','not','param字段不存在','apply','application/json','303282scMZrz','getCode','357960mSySUt','getSource','url','type字段不存在','fieldType','67785TZSpuk','474387GfeRLo','param','91633Nxgisn','string','1013340AtYQdb','serializeToString','push','equalTo','notEqualTo','type','lessThanOrEqualTo'];a46_0x4bff=function(){return _0x3658b8;};return a46_0x4bff();}import*as a46_0x4592d2 from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x21af74{constructor(_0x5f4640,_0x31e673){const _0xbfeaa4=a46_0xb604;let _0x42d2ff=registerProj(_0xbfeaa4(0x1e9)+_0x31e673[_0xbfeaa4(0x1e3)]);const _0x21b9b1=_0x31e673['layerFields']['find'](_0x3a447d=>_0x3a447d[_0xbfeaa4(0x204)]==0x6);super({'zIndex':_0x5f4640[_0xbfeaa4(0x1e4)],'source':new a46_0x4a53db({'format':new a46_0x31f3d9(),'loader':(_0x140827,_0x25dc57,_0x31d7fe,_0x1afd22,_0xb74521)=>{const _0x58476c=_0xbfeaa4;let _0x102136=_0x5f4640[_0x58476c(0x1f2)],_0x4f12a5={'srsName':_0x31d7fe[_0x58476c(0x1ff)](),'featureTypes':_0x5f4640[_0x58476c(0x1f9)],'bbox':_0x140827,'geometryName':_0x21b9b1?_0x21b9b1[_0x58476c(0x1f5)]:'','outputFormat':_0x58476c(0x1fd)};_0x102136&&(typeof _0x102136===_0x58476c(0x209)?_0x4f12a5['filter']=new a46_0x39753c()[_0x58476c(0x1ea)](_0x102136):_0x4f12a5[_0x58476c(0x1f4)]=this[_0x58476c(0x1f3)](_0x102136));var _0x1ad861=new a46_0x216559()[_0x58476c(0x1ec)](_0x4f12a5);let _0x40fef6=_0x5f4640['url']?_0x5f4640[_0x58476c(0x202)]:'';fetch(_0x40fef6,{'method':_0x58476c(0x1f1),'body':new XMLSerializer()[_0x58476c(0x20b)](_0x1ad861)})['then'](_0x4ff108=>{return _0x4ff108['json']();})['then'](_0x350f7c=>{const _0x4cbb55=_0x58476c,_0x571924=new a46_0x31f3d9()[_0x4cbb55(0x1e5)](_0x350f7c);let _0x330629=this[_0x4cbb55(0x201)]();_0x330629&&_0x330629[_0x4cbb55(0x1f8)](_0x571924);if(_0x1afd22)_0x1afd22(_0x571924);})['catch'](()=>{const _0x219c59=_0x58476c;let _0x11ebcf=this[_0x219c59(0x201)]();_0x11ebcf&&_0x11ebcf[_0x219c59(0x1ed)](_0x140827);if(_0xb74521)_0xb74521();});},'strategy':bbox})}),this['id']=_0x5f4640['id'],this['initialExtent']=_0x31e673['initExtent'],this['projection']=_0x42d2ff,this[_0xbfeaa4(0x1e6)]=_0x5f4640;}[a46_0x36f924(0x1f3)](_0x1256ed){const _0xe36e56=a46_0x36f924;if(!_0x1256ed[_0xe36e56(0x1e1)]){console[_0xe36e56(0x1f7)](_0xe36e56(0x203));return;}if(!_0x1256ed[_0xe36e56(0x207)]){console[_0xe36e56(0x1f7)](_0xe36e56(0x1fb));return;}let _0x5c1b9d=[];switch(_0x1256ed['type'][_0xe36e56(0x1e7)]()){case'and':for(let _0x138969=0x0;_0x138969<_0x1256ed[_0xe36e56(0x207)]['length'];_0x138969++){let _0x47814a=this[_0xe36e56(0x1f3)](_0x1256ed['param'][_0x138969]);_0x5c1b9d[_0xe36e56(0x20c)](_0x47814a);}return a46_0x4592d2[_0xe36e56(0x1ef)]['apply'](null,_0x5c1b9d);case'or':for(let _0x583124=0x0;_0x583124<_0x1256ed[_0xe36e56(0x207)][_0xe36e56(0x1eb)];_0x583124++){let _0x581b22=this[_0xe36e56(0x1f3)](_0x1256ed[_0xe36e56(0x207)][_0x583124]);_0x5c1b9d[_0xe36e56(0x20c)](_0x581b22);}return a46_0x4592d2['or'][_0xe36e56(0x1fc)](null,_0x5c1b9d);case _0xe36e56(0x1fa):for(let _0xb021ff=0x0;_0xb021ff<_0x1256ed['param']['length'];_0xb021ff++){let _0x4b86d4=this[_0xe36e56(0x1f3)](_0x1256ed[_0xe36e56(0x207)][_0xb021ff]);_0x5c1b9d[_0xe36e56(0x20c)](_0x4b86d4);}return a46_0x4592d2[_0xe36e56(0x1fa)][_0xe36e56(0x1fc)](null,_0x5c1b9d);case'=':return a46_0x4592d2[_0xe36e56(0x20d)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'!==':return a46_0x4592d2[_0xe36e56(0x20e)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'>':return a46_0x4592d2['greaterThan'](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed['param'][0x1]);case'<':return a46_0x4592d2[_0xe36e56(0x1f6)](_0x1256ed['param'][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case'>=':return a46_0x4592d2['greaterThanOrEqualTo'](_0x1256ed['param'][0x0],_0x1256ed['param'][0x1]);case'<=':return a46_0x4592d2[_0xe36e56(0x1e2)](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed[_0xe36e56(0x207)][0x1]);case _0xe36e56(0x1e8):return a46_0x4592d2['between'](_0x1256ed[_0xe36e56(0x207)][0x0],_0x1256ed['param'][0x1],_0x1256ed[_0xe36e56(0x207)][0x2]);}}}
@@ -1 +1 @@
1
- const a47_0x132621=a47_0x3a03;(function(_0x327c0f,_0x3c7503){const _0xcead1b=a47_0x3a03,_0x59a105=_0x327c0f();while(!![]){try{const _0x1d62e2=-parseInt(_0xcead1b(0xbd))/0x1*(-parseInt(_0xcead1b(0xc5))/0x2)+parseInt(_0xcead1b(0xc3))/0x3+-parseInt(_0xcead1b(0xc9))/0x4*(parseInt(_0xcead1b(0xbb))/0x5)+parseInt(_0xcead1b(0xc1))/0x6*(-parseInt(_0xcead1b(0xb3))/0x7)+parseInt(_0xcead1b(0xc8))/0x8*(-parseInt(_0xcead1b(0xc6))/0x9)+-parseInt(_0xcead1b(0xb4))/0xa*(parseInt(_0xcead1b(0xc7))/0xb)+parseInt(_0xcead1b(0xc2))/0xc;if(_0x1d62e2===_0x3c7503)break;else _0x59a105['push'](_0x59a105['shift']());}catch(_0x4e263c){_0x59a105['push'](_0x59a105['shift']());}}}(a47_0xb809,0x1badb));import{ImageWMS as a47_0x504599}from'ol/source';function a47_0x3a03(_0x34102e,_0x47b505){const _0xb809f4=a47_0xb809();return a47_0x3a03=function(_0x3a030c,_0x3c3feb){_0x3a030c=_0x3a030c-0xb0;let _0x12a4ab=_0xb809f4[_0x3a030c];return _0x12a4ab;},a47_0x3a03(_0x34102e,_0x47b505);}import{Image as a47_0x1120bc}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x1120bc{constructor(_0x11a8d8,_0x75bb0f){const _0x4751f8=a47_0x3a03;var _0x5a8ba4;let _0x2cab36=registerProj('EPSG:'+_0x75bb0f[_0x4751f8(0xbf)]),_0x53e52a={'LAYERS':(_0x5a8ba4=_0x11a8d8[_0x4751f8(0xb7)])===null||_0x5a8ba4===void 0x0?void 0x0:_0x5a8ba4[_0x4751f8(0xbe)](','),'VERSION':'1.1.0'};_0x11a8d8[_0x4751f8(0xc4)]&&(_0x53e52a[_0x4751f8(0xb6)]=_0x11a8d8['loadFilter']),super({'opacity':_0x11a8d8['opacity'],'zIndex':_0x11a8d8[_0x4751f8(0xb2)],'source':new a47_0x504599({'crossOrigin':_0x4751f8(0xb1),'url':_0x11a8d8[_0x4751f8(0xca)],'params':_0x53e52a})}),this['id']=_0x11a8d8['id'],this[_0x4751f8(0xb0)]=_0x75bb0f[_0x4751f8(0xbc)],this[_0x4751f8(0xb8)]=_0x2cab36,this[_0x4751f8(0xba)]=_0x11a8d8;}[a47_0x132621(0xc0)](){}['setFilter'](_0x3af766){const _0x30961e=a47_0x132621;var _0x475efa;(_0x475efa=this[_0x30961e(0xb5)]())===null||_0x475efa===void 0x0?void 0x0:_0x475efa[_0x30961e(0xb9)]({'CQL_FILTER':_0x3af766});}}function a47_0xb809(){const _0x424c9f=['sublayers','projection','updateParams','layerInfo','5UqSpIj','initExtent','426KcWHwB','join','wkid','refresh','48972WoNfBf','4040652SccDeA','350529ceopAQ','loadFilter','206itZAuy','18xJDurh','8008CtoRBH','522000byNkEX','38708lWPhQS','url','initialExtent','anonymous','mapIndex','133KpwidW','1220KMbkff','getSource','CQL_FILTER'];a47_0xb809=function(){return _0x424c9f;};return a47_0xb809();}
1
+ function a47_0x45aa(_0xce4103,_0x524763){const _0x5cb0ca=a47_0x5cb0();return a47_0x45aa=function(_0x45aa57,_0x37009d){_0x45aa57=_0x45aa57-0x6e;let _0x2c185c=_0x5cb0ca[_0x45aa57];return _0x2c185c;},a47_0x45aa(_0xce4103,_0x524763);}const a47_0x239614=a47_0x45aa;(function(_0x4f7f41,_0xb74791){const _0x4ab828=a47_0x45aa,_0x28d041=_0x4f7f41();while(!![]){try{const _0x1cd24e=parseInt(_0x4ab828(0x74))/0x1*(-parseInt(_0x4ab828(0x71))/0x2)+-parseInt(_0x4ab828(0x73))/0x3+parseInt(_0x4ab828(0x7f))/0x4+parseInt(_0x4ab828(0x79))/0x5+parseInt(_0x4ab828(0x78))/0x6+-parseInt(_0x4ab828(0x75))/0x7+-parseInt(_0x4ab828(0x72))/0x8;if(_0x1cd24e===_0xb74791)break;else _0x28d041['push'](_0x28d041['shift']());}catch(_0x1cf3ec){_0x28d041['push'](_0x28d041['shift']());}}}(a47_0x5cb0,0xc357d));import{ImageWMS as a47_0x1ba29b}from'ol/source';function a47_0x5cb0(){const _0x17d7e4=['1aAAKEN','3488604DMbXhf','opacity','refresh','7133526EWRTyG','4677890cFBXER','1.1.0','projection','EPSG:','mapIndex','setFilter','3654036QZRDnN','wkid','getSource','url','sublayers','initExtent','loadFilter','363338MnZwtn','2902096WJhyKY','3585240sBeKAs'];a47_0x5cb0=function(){return _0x17d7e4;};return a47_0x5cb0();}import{Image as a47_0x567d2f}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x567d2f{constructor(_0x19575c,_0x1a18be){const _0x61a95f=a47_0x45aa;var _0x14b478;let _0x40f32b=registerProj(_0x61a95f(0x7c)+_0x1a18be[_0x61a95f(0x80)]),_0x5345a9={'LAYERS':(_0x14b478=_0x19575c[_0x61a95f(0x6e)])===null||_0x14b478===void 0x0?void 0x0:_0x14b478['join'](','),'VERSION':_0x61a95f(0x7a)};_0x19575c['loadFilter']&&(_0x5345a9['CQL_FILTER']=_0x19575c[_0x61a95f(0x70)]),super({'opacity':_0x19575c[_0x61a95f(0x76)],'zIndex':_0x19575c[_0x61a95f(0x7d)],'source':new a47_0x1ba29b({'crossOrigin':'anonymous','url':_0x19575c[_0x61a95f(0x82)],'params':_0x5345a9})}),this['id']=_0x19575c['id'],this['initialExtent']=_0x1a18be[_0x61a95f(0x6f)],this[_0x61a95f(0x7b)]=_0x40f32b,this['layerInfo']=_0x19575c;}[a47_0x239614(0x77)](){}[a47_0x239614(0x7e)](_0x51bb07){const _0x305569=a47_0x239614;var _0x15c3bb;(_0x15c3bb=this[_0x305569(0x81)]())===null||_0x15c3bb===void 0x0?void 0x0:_0x15c3bb['updateParams']({'CQL_FILTER':_0x51bb07});}}
@@ -1 +1 @@
1
- function a48_0x25a1(_0xac79f9,_0x17a273){const _0x34f2b0=a48_0x34f2();return a48_0x25a1=function(_0x25a1a4,_0x411622){_0x25a1a4=_0x25a1a4-0x99;let _0x1967b9=_0x34f2b0[_0x25a1a4];return _0x1967b9;},a48_0x25a1(_0xac79f9,_0x17a273);}(function(_0x6ba531,_0xc12912){const _0x546430=a48_0x25a1,_0x449f39=_0x6ba531();while(!![]){try{const _0x2e6138=parseInt(_0x546430(0xa2))/0x1+-parseInt(_0x546430(0xa8))/0x2*(parseInt(_0x546430(0xa5))/0x3)+parseInt(_0x546430(0xa9))/0x4*(-parseInt(_0x546430(0x9f))/0x5)+parseInt(_0x546430(0xa4))/0x6*(parseInt(_0x546430(0x9d))/0x7)+parseInt(_0x546430(0xac))/0x8+-parseInt(_0x546430(0xa6))/0x9+parseInt(_0x546430(0xaa))/0xa*(parseInt(_0x546430(0x9e))/0xb);if(_0x2e6138===_0xc12912)break;else _0x449f39['push'](_0x449f39['shift']());}catch(_0x469b45){_0x449f39['push'](_0x449f39['shift']());}}}(a48_0x34f2,0xdc06b));import a48_0x435dc8 from'ol/layer/Tile';import a48_0x51f4d9,{optionsFromCapabilities}from'ol/source/WMTS.js';function a48_0x34f2(){const _0x40a71f=['解析元数据失败','335428CPTXIv','boundingBoxExtent','6UrrnTD','2326854HPQVWh','4107429UjDxXK','sublayers','2AnlJsJ','2733268BtWAJj','420860BTSFOG','mapIndex','5231424ovzjtu','EPSG:','image/png','tileMatrixSet','sourceXml','1006229gxlJza','440okSrbN','5bhDfQl','wkid'];a48_0x34f2=function(){return _0x40a71f;};return a48_0x34f2();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a48_0x435dc8{constructor(_0x44c4cb,_0x504835){const _0x5afd18=a48_0x25a1;var _0x3e3c39;const _0x12c9ad=_0x5afd18(0x99)+_0x504835[_0x5afd18(0xa0)];let _0x3ca0e2=registerProj(_0x12c9ad);if(!_0x3ca0e2)throw new Error('未找到投影信息');const _0x24f16b=optionsFromCapabilities(_0x504835[_0x5afd18(0x9c)],{'layer':(_0x3e3c39=_0x44c4cb[_0x5afd18(0xa7)])===null||_0x3e3c39===void 0x0?void 0x0:_0x3e3c39[0x0],'matrixSet':_0x504835[_0x5afd18(0x9b)],'format':_0x5afd18(0x9a)});if(!_0x24f16b)throw new Error(_0x5afd18(0xa1));super({'opacity':_0x44c4cb['opacity'],'zIndex':_0x44c4cb[_0x5afd18(0xab)],'source':new a48_0x51f4d9(_0x24f16b)}),this['id']=_0x44c4cb['id'],this['initialExtent']=_0x504835[_0x5afd18(0xa3)],this['projection']=_0x3ca0e2,this['layerInfo']=_0x44c4cb;}}
1
+ (function(_0x48fadc,_0x504b02){const _0x2a2ce1=a48_0x4395,_0x41a930=_0x48fadc();while(!![]){try{const _0x172daf=parseInt(_0x2a2ce1(0xfd))/0x1+-parseInt(_0x2a2ce1(0x107))/0x2*(parseInt(_0x2a2ce1(0x102))/0x3)+parseInt(_0x2a2ce1(0xfe))/0x4*(parseInt(_0x2a2ce1(0xfa))/0x5)+parseInt(_0x2a2ce1(0x106))/0x6*(-parseInt(_0x2a2ce1(0xff))/0x7)+-parseInt(_0x2a2ce1(0xf9))/0x8+-parseInt(_0x2a2ce1(0xf8))/0x9*(parseInt(_0x2a2ce1(0xf6))/0xa)+parseInt(_0x2a2ce1(0xf7))/0xb;if(_0x172daf===_0x504b02)break;else _0x41a930['push'](_0x41a930['shift']());}catch(_0x1af170){_0x41a930['push'](_0x41a930['shift']());}}}(a48_0x2277,0x19f8a));import a48_0x45b328 from'ol/layer/Tile';import a48_0x18c258,{optionsFromCapabilities}from'ol/source/WMTS.js';function a48_0x2277(){const _0x520277=['43470kZyLFN','4dsOHfc','287rGwiYl','sublayers','解析元数据失败','3DXYSdM','image/png','projection','mapIndex','16770rewJoF','81214FHyhKe','layerInfo','未找到投影信息','669490GIuzNW','4480388DidJpy','18iuFEON','611896cmohbK','105935rTgSuB','EPSG:','boundingBoxExtent'];a48_0x2277=function(){return _0x520277;};return a48_0x2277();}import{registerProj}from'../utils/RegisterProjUtil';function a48_0x4395(_0x565864,_0x315960){const _0x227722=a48_0x2277();return a48_0x4395=function(_0x43952e,_0x471bd8){_0x43952e=_0x43952e-0xf5;let _0x36827e=_0x227722[_0x43952e];return _0x36827e;},a48_0x4395(_0x565864,_0x315960);}export default class GeoserverWMTSLayer extends a48_0x45b328{constructor(_0x1f570c,_0xad6950){const _0x3e191b=a48_0x4395;var _0x3f6237;const _0x45bd8a=_0x3e191b(0xfb)+_0xad6950['wkid'];let _0x2fe89f=registerProj(_0x45bd8a);if(!_0x2fe89f)throw new Error(_0x3e191b(0xf5));const _0x23a8b7=optionsFromCapabilities(_0xad6950['sourceXml'],{'layer':(_0x3f6237=_0x1f570c[_0x3e191b(0x100)])===null||_0x3f6237===void 0x0?void 0x0:_0x3f6237[0x0],'matrixSet':_0xad6950['tileMatrixSet'],'format':_0x3e191b(0x103)});if(!_0x23a8b7)throw new Error(_0x3e191b(0x101));super({'opacity':_0x1f570c['opacity'],'zIndex':_0x1f570c[_0x3e191b(0x105)],'source':new a48_0x18c258(_0x23a8b7)}),this['id']=_0x1f570c['id'],this['initialExtent']=_0xad6950[_0x3e191b(0xfc)],this[_0x3e191b(0x104)]=_0x2fe89f,this[_0x3e191b(0x108)]=_0x1f570c;}}
@@ -1 +1 @@
1
- const a50_0x1ad8be=a50_0x3cd4;function a50_0x6cac(){const _0x37d696=['getGeoserverWFSLayer','9616720ZDvXqF','getArcgisFeatureLayer','getArcgisWmsLayer','1VVSwwL','1096125MSNFaB','url','push','length','sublayers','getGeoserverWmsLayer','getGeoserverVectorTileLayer','583962VxdBSv','3726331nANQhx','getDynamicLayer','4952tafnlL','30pvfjFA','getTDTLayer','144yvONOP','1049652YPNPgV','getArcgisWMTSLayer','298495eoXtWk'];a50_0x6cac=function(){return _0x37d696;};return a50_0x6cac();}(function(_0x12b6f5,_0x5e0b01){const _0x43eb67=a50_0x3cd4,_0x45c52e=_0x12b6f5();while(!![]){try{const _0x2b65eb=-parseInt(_0x43eb67(0xb8))/0x1*(-parseInt(_0x43eb67(0xc0))/0x2)+-parseInt(_0x43eb67(0xb9))/0x3+parseInt(_0x43eb67(0xb1))/0x4+parseInt(_0x43eb67(0xb3))/0x5*(-parseInt(_0x43eb67(0xc4))/0x6)+-parseInt(_0x43eb67(0xc1))/0x7+parseInt(_0x43eb67(0xc3))/0x8*(-parseInt(_0x43eb67(0xb0))/0x9)+parseInt(_0x43eb67(0xb5))/0xa;if(_0x2b65eb===_0x5e0b01)break;else _0x45c52e['push'](_0x45c52e['shift']());}catch(_0xbb8007){_0x45c52e['push'](_0x45c52e['shift']());}}}(a50_0x6cac,0x4bac7));import a50_0x56da4e from'./ArcgisDynamicLayer';import a50_0x2f8c81 from'./ArcgisFeatureLayer';function a50_0x3cd4(_0xe5b6f7,_0x1f4497){const _0x6cacd=a50_0x6cac();return a50_0x3cd4=function(_0x3cd44c,_0x1c3743){_0x3cd44c=_0x3cd44c-0xaf;let _0x9342c4=_0x6cacd[_0x3cd44c];return _0x9342c4;},a50_0x3cd4(_0xe5b6f7,_0x1f4497);}import a50_0x15b17b from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x100696 from'./ArcgisTileLayer';import a50_0x10354b from'./GeoserverWMSLayer';import a50_0x57b402 from'./GeoserverWMTSLayer';import a50_0x52ce4b from'./ArcgisWMSLayer';import a50_0x402884 from'./ArcgisWMTSLayer';import a50_0x536109 from'./GeoserverWFSLayer';import a50_0x3e56db from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x1ad8be(0xc2)](_0x97f25f){const _0x3758d6=a50_0x1ad8be,_0x2a02cf=await getDynamicLayerInfo(_0x97f25f[_0x3758d6(0xba)]?_0x97f25f[_0x3758d6(0xba)]:'');let _0x3191e5=new a50_0x56da4e(_0x97f25f,_0x2a02cf);return _0x3191e5;}static async['getArcgisTileLayer'](_0x59dd36){const _0x21aa33=a50_0x1ad8be,_0x2fb9f2=await getDynamicLayerInfo(_0x59dd36['url']?_0x59dd36[_0x21aa33(0xba)]:'');let _0x15a02f=new a50_0x100696(_0x59dd36,_0x2fb9f2);return _0x15a02f;}static async[a50_0x1ad8be(0xb6)](_0x2893d8){const _0x4dacd5=a50_0x1ad8be,_0x4fd155=await getDynamicLayerInfo(_0x2893d8[_0x4dacd5(0xba)]?_0x2893d8[_0x4dacd5(0xba)]:'');let _0x3db273=[];if(_0x2893d8[_0x4dacd5(0xbd)])for(let _0x1b8a4f=0x0;_0x1b8a4f<_0x2893d8[_0x4dacd5(0xbd)][_0x4dacd5(0xbc)];_0x1b8a4f++){const _0x4c2a0e=_0x2893d8[_0x4dacd5(0xbd)][_0x1b8a4f];_0x3db273[_0x4dacd5(0xbb)](await getFeatureLayerInfo(_0x2893d8[_0x4dacd5(0xba)]?_0x2893d8[_0x4dacd5(0xba)]:'',_0x4c2a0e));}let _0x3d8b6b=new a50_0x2f8c81(_0x2893d8,_0x4fd155,_0x3db273);return _0x3d8b6b;}static async[a50_0x1ad8be(0xb7)](_0x14906a){const _0x3940ff=a50_0x1ad8be;var _0x42e006;const _0x49b86b=(_0x42e006=_0x14906a[_0x3940ff(0xbd)])===null||_0x42e006===void 0x0?void 0x0:_0x42e006[0x0],_0x1baf26=await getWMSLayerCapabilities(_0x14906a[_0x3940ff(0xba)]?_0x14906a[_0x3940ff(0xba)]:'',_0x49b86b==null?'':_0x49b86b);let _0x14d19e=new a50_0x52ce4b(_0x14906a,_0x1baf26);return _0x14d19e;}static async[a50_0x1ad8be(0xb2)](_0x3a3901){const _0x4060e3=a50_0x1ad8be;var _0x554be0;const _0x5ea02a=(_0x554be0=_0x3a3901[_0x4060e3(0xbd)])===null||_0x554be0===void 0x0?void 0x0:_0x554be0[0x0],_0x2c9be9=await getWMTSLayerCapabilities(_0x3a3901['url']?_0x3a3901['url']:'',_0x5ea02a==null?'':_0x5ea02a);let _0x1e2367=new a50_0x402884(_0x3a3901,_0x2c9be9);return _0x1e2367;}static async[a50_0x1ad8be(0xbe)](_0x34f510){const _0x193e5a=a50_0x1ad8be;var _0x2a37f8;const _0x29f7b3=(_0x2a37f8=_0x34f510[_0x193e5a(0xbd)])===null||_0x2a37f8===void 0x0?void 0x0:_0x2a37f8[0x0],_0x4e5128=await getWMSLayerCapabilities(_0x34f510[_0x193e5a(0xba)]?_0x34f510[_0x193e5a(0xba)]:'',_0x29f7b3==null?'':_0x29f7b3);let _0x5a73cb=new a50_0x10354b(_0x34f510,_0x4e5128);return _0x5a73cb;}static async['getGeoserverWMTSLayer'](_0xb4e235){const _0x34d57f=a50_0x1ad8be;var _0x4c6cae;const _0x2e6096=(_0x4c6cae=_0xb4e235[_0x34d57f(0xbd)])===null||_0x4c6cae===void 0x0?void 0x0:_0x4c6cae[0x0],_0x1c5de9=await getWMTSLayerCapabilities(_0xb4e235[_0x34d57f(0xba)]?_0xb4e235[_0x34d57f(0xba)]:'',_0x2e6096==null?'':_0x2e6096);let _0x214a02=new a50_0x57b402(_0xb4e235,_0x1c5de9);return _0x214a02;}static async[a50_0x1ad8be(0xb4)](_0x47e3ed){const _0xb430d4=a50_0x1ad8be;var _0x58ad22;const _0x3a1027=(_0x58ad22=_0x47e3ed[_0xb430d4(0xbd)])===null||_0x58ad22===void 0x0?void 0x0:_0x58ad22[0x0],_0x2c0d8d=await getWFSLayerCapabilities(_0x47e3ed[_0xb430d4(0xba)]?_0x47e3ed[_0xb430d4(0xba)]:'',_0x3a1027==null?'':_0x3a1027);let _0x2cc112=new a50_0x536109(_0x47e3ed,_0x2c0d8d);return _0x2cc112;}static async[a50_0x1ad8be(0xbf)](_0x5a1c99){const _0x4a2554=a50_0x1ad8be;var _0x33b4a3;const _0x3cf68b=(_0x33b4a3=_0x5a1c99['sublayers'])===null||_0x33b4a3===void 0x0?void 0x0:_0x33b4a3[0x0],_0x18596e=await getWMTSLayerCapabilities(_0x5a1c99[_0x4a2554(0xba)]?_0x5a1c99[_0x4a2554(0xba)]:'',_0x3cf68b==null?'':_0x3cf68b);let _0x1f1081=new a50_0x3e56db(_0x5a1c99,_0x18596e);return _0x1f1081;}static async[a50_0x1ad8be(0xaf)](_0x34b788){const _0x366187=a50_0x1ad8be;var _0x2df6b9;const _0x36e360=(_0x2df6b9=_0x34b788['sublayers'])===null||_0x2df6b9===void 0x0?void 0x0:_0x2df6b9[0x0],_0xbb6fdd=await getWMTSLayerCapabilities(_0x34b788['url']?_0x34b788[_0x366187(0xba)]:'',_0x36e360==null?'':_0x36e360);let _0x39dc9a=new a50_0x15b17b(_0x34b788,_0xbb6fdd);return _0x39dc9a;}}
1
+ const a50_0x2ce6fc=a50_0x1737;(function(_0x28a518,_0x2c98ac){const _0x250032=a50_0x1737,_0x13ce4d=_0x28a518();while(!![]){try{const _0x11e0a5=parseInt(_0x250032(0x119))/0x1+-parseInt(_0x250032(0x10f))/0x2+-parseInt(_0x250032(0x118))/0x3+parseInt(_0x250032(0x120))/0x4*(-parseInt(_0x250032(0x11f))/0x5)+-parseInt(_0x250032(0x116))/0x6*(parseInt(_0x250032(0x114))/0x7)+parseInt(_0x250032(0x11b))/0x8+parseInt(_0x250032(0x11c))/0x9;if(_0x11e0a5===_0x2c98ac)break;else _0x13ce4d['push'](_0x13ce4d['shift']());}catch(_0x34c73b){_0x13ce4d['push'](_0x13ce4d['shift']());}}}(a50_0x2d55,0x6a2bc));import a50_0x88e8dc from'./ArcgisDynamicLayer';import a50_0x451d07 from'./ArcgisFeatureLayer';import a50_0x271b5d from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0xefaaef from'./ArcgisTileLayer';import a50_0x3ede4f from'./GeoserverWMSLayer';import a50_0x29bf26 from'./GeoserverWMTSLayer';function a50_0x1737(_0x27e79c,_0x48087c){const _0x2d553b=a50_0x2d55();return a50_0x1737=function(_0x1737ba,_0x4031fb){_0x1737ba=_0x1737ba-0x10e;let _0x513be3=_0x2d553b[_0x1737ba];return _0x513be3;},a50_0x1737(_0x27e79c,_0x48087c);}import a50_0x4b0b7e from'./ArcgisWMSLayer';import a50_0x416f16 from'./ArcgisWMTSLayer';import a50_0x22d550 from'./GeoserverWFSLayer';import a50_0x4e7fd8 from'./GeoserverVectorTile';export default class LayerManagement{static async[a50_0x2ce6fc(0x11d)](_0x320843){const _0x27fcc3=a50_0x2ce6fc,_0x566910=await getDynamicLayerInfo(_0x320843[_0x27fcc3(0x113)]?_0x320843[_0x27fcc3(0x113)]:'');let _0x4ea117=new a50_0x88e8dc(_0x320843,_0x566910);return _0x4ea117;}static async[a50_0x2ce6fc(0x117)](_0x249965){const _0x56b96b=a50_0x2ce6fc,_0x4685f7=await getDynamicLayerInfo(_0x249965[_0x56b96b(0x113)]?_0x249965[_0x56b96b(0x113)]:'');let _0x1cb9fb=new a50_0xefaaef(_0x249965,_0x4685f7);return _0x1cb9fb;}static async[a50_0x2ce6fc(0x111)](_0x557436){const _0x3dba74=a50_0x2ce6fc,_0x362d58=await getDynamicLayerInfo(_0x557436['url']?_0x557436[_0x3dba74(0x113)]:'');let _0x843387=[];if(_0x557436[_0x3dba74(0x110)])for(let _0x559529=0x0;_0x559529<_0x557436[_0x3dba74(0x110)]['length'];_0x559529++){const _0x9f8cd8=_0x557436[_0x3dba74(0x110)][_0x559529];_0x843387['push'](await getFeatureLayerInfo(_0x557436['url']?_0x557436[_0x3dba74(0x113)]:'',_0x9f8cd8));}let _0x293076=new a50_0x451d07(_0x557436,_0x362d58,_0x843387);return _0x293076;}static async[a50_0x2ce6fc(0x11a)](_0x225844){const _0x3cc304=a50_0x2ce6fc;var _0x4b0be2;const _0x159457=(_0x4b0be2=_0x225844[_0x3cc304(0x110)])===null||_0x4b0be2===void 0x0?void 0x0:_0x4b0be2[0x0],_0x1a36bc=await getWMSLayerCapabilities(_0x225844[_0x3cc304(0x113)]?_0x225844[_0x3cc304(0x113)]:'',_0x159457==null?'':_0x159457);let _0x49507c=new a50_0x4b0b7e(_0x225844,_0x1a36bc);return _0x49507c;}static async[a50_0x2ce6fc(0x11e)](_0x38c952){const _0x5113e0=a50_0x2ce6fc;var _0x42ed56;const _0x5205a8=(_0x42ed56=_0x38c952[_0x5113e0(0x110)])===null||_0x42ed56===void 0x0?void 0x0:_0x42ed56[0x0],_0x1f1ef3=await getWMTSLayerCapabilities(_0x38c952[_0x5113e0(0x113)]?_0x38c952[_0x5113e0(0x113)]:'',_0x5205a8==null?'':_0x5205a8);let _0x44958e=new a50_0x416f16(_0x38c952,_0x1f1ef3);return _0x44958e;}static async[a50_0x2ce6fc(0x10e)](_0xeaa214){const _0x5f2b6f=a50_0x2ce6fc;var _0xb4786c;const _0x2a1f66=(_0xb4786c=_0xeaa214[_0x5f2b6f(0x110)])===null||_0xb4786c===void 0x0?void 0x0:_0xb4786c[0x0],_0x285cf3=await getWMSLayerCapabilities(_0xeaa214[_0x5f2b6f(0x113)]?_0xeaa214[_0x5f2b6f(0x113)]:'',_0x2a1f66==null?'':_0x2a1f66);let _0x59a179=new a50_0x3ede4f(_0xeaa214,_0x285cf3);return _0x59a179;}static async[a50_0x2ce6fc(0x112)](_0x553987){const _0x3cdec3=a50_0x2ce6fc;var _0x437c40;const _0x1e79d8=(_0x437c40=_0x553987['sublayers'])===null||_0x437c40===void 0x0?void 0x0:_0x437c40[0x0],_0x388441=await getWMTSLayerCapabilities(_0x553987[_0x3cdec3(0x113)]?_0x553987['url']:'',_0x1e79d8==null?'':_0x1e79d8);let _0x518c89=new a50_0x29bf26(_0x553987,_0x388441);return _0x518c89;}static async['getGeoserverWFSLayer'](_0x3c2695){const _0x250e0e=a50_0x2ce6fc;var _0x33be41;const _0x532dc1=(_0x33be41=_0x3c2695[_0x250e0e(0x110)])===null||_0x33be41===void 0x0?void 0x0:_0x33be41[0x0],_0x5cd6c9=await getWFSLayerCapabilities(_0x3c2695[_0x250e0e(0x113)]?_0x3c2695['url']:'',_0x532dc1==null?'':_0x532dc1);let _0x3e2bac=new a50_0x22d550(_0x3c2695,_0x5cd6c9);return _0x3e2bac;}static async[a50_0x2ce6fc(0x115)](_0xdffbd8){const _0x211a74=a50_0x2ce6fc;var _0x2a8021;const _0x34ab97=(_0x2a8021=_0xdffbd8[_0x211a74(0x110)])===null||_0x2a8021===void 0x0?void 0x0:_0x2a8021[0x0],_0x3320e0=await getWMTSLayerCapabilities(_0xdffbd8[_0x211a74(0x113)]?_0xdffbd8[_0x211a74(0x113)]:'',_0x34ab97==null?'':_0x34ab97);let _0x271b0f=new a50_0x4e7fd8(_0xdffbd8,_0x3320e0);return _0x271b0f;}static async['getTDTLayer'](_0x219773){const _0x2c0e79=a50_0x2ce6fc;var _0x5e22df;const _0x15c315=(_0x5e22df=_0x219773[_0x2c0e79(0x110)])===null||_0x5e22df===void 0x0?void 0x0:_0x5e22df[0x0],_0x20bb4a=await getWMTSLayerCapabilities(_0x219773[_0x2c0e79(0x113)]?_0x219773[_0x2c0e79(0x113)]:'',_0x15c315==null?'':_0x15c315);let _0x372632=new a50_0x271b5d(_0x219773,_0x20bb4a);return _0x372632;}}function a50_0x2d55(){const _0x4894ec=['5335YuDZGz','1196ZtMoZV','getGeoserverWmsLayer','656708RpoYZY','sublayers','getArcgisFeatureLayer','getGeoserverWMTSLayer','url','2275301GJkBFR','getGeoserverVectorTileLayer','6rMhdnG','getArcgisTileLayer','1273839PgWktr','242942vhElPK','getArcgisWmsLayer','3128768gZlpHw','10780929ggtpjd','getDynamicLayer','getArcgisWMTSLayer'];a50_0x2d55=function(){return _0x4894ec;};return a50_0x2d55();}
@@ -1 +1 @@
1
- (function(_0x41364b,_0xee9a7a){const _0x96271a=a51_0x6824,_0x3375f7=_0x41364b();while(!![]){try{const _0x2b8962=-parseInt(_0x96271a(0x1db))/0x1+-parseInt(_0x96271a(0x1e2))/0x2*(parseInt(_0x96271a(0x1cd))/0x3)+parseInt(_0x96271a(0x1de))/0x4+-parseInt(_0x96271a(0x1ce))/0x5+-parseInt(_0x96271a(0x1e0))/0x6*(-parseInt(_0x96271a(0x1d8))/0x7)+-parseInt(_0x96271a(0x1d5))/0x8*(parseInt(_0x96271a(0x1d2))/0x9)+-parseInt(_0x96271a(0x1e3))/0xa*(-parseInt(_0x96271a(0x1dd))/0xb);if(_0x2b8962===_0xee9a7a)break;else _0x3375f7['push'](_0x3375f7['shift']());}catch(_0x1d6b17){_0x3375f7['push'](_0x3375f7['shift']());}}}(a51_0x5092,0xdce44));import a51_0x490f11 from'ol/layer/Tile';function a51_0x6824(_0x317536,_0x48d059){const _0x5092e8=a51_0x5092();return a51_0x6824=function(_0x6824b4,_0x33618e){_0x6824b4=_0x6824b4-0x1cd;let _0x21a80d=_0x5092e8[_0x6824b4];return _0x21a80d;},a51_0x6824(_0x317536,_0x48d059);}import{WMTS as a51_0x160ff5}from'ol/source';function a51_0x5092(){const _0xa2865d=['format','8872803OoUkoy','style','1.0.0','8OicgPd','initialExtent','boundingBoxExtent','21AbXixQ','EPSG:4490','pow','797931IAAxHc','KVP','11OvLghe','5355912epolBK','mapIndex','69366SXMytI','layerInfo','500036yKRarG','37144410HkztvX','tileMatrixSet','15HQzxSE','5747210KAYNAm','sublayers','length'];a51_0x5092=function(){return _0xa2865d;};return a51_0x5092();}import a51_0x109333 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x490f11{constructor(_0x49c4f0,_0x10d02b){const _0x443875=a51_0x6824;let _0x15a6cf='';_0x49c4f0[_0x443875(0x1cf)]&&_0x49c4f0[_0x443875(0x1cf)][_0x443875(0x1d0)]>0x0&&(_0x15a6cf=_0x49c4f0[_0x443875(0x1cf)]['join'](','));const _0xb66de3=_0x443875(0x1d9);let _0x49c989=registerProj(_0xb66de3);const _0x2b0a84=[],_0x3f1584=[];for(let _0x8dbac3=0x1;_0x8dbac3<0x13;_0x8dbac3++){_0x2b0a84[_0x8dbac3]=getWidth(_0x10d02b[_0x443875(0x1d7)])/(0x100*Math[_0x443875(0x1da)](0x2,_0x8dbac3)),_0x3f1584[_0x8dbac3]=_0x8dbac3+'';}super({'opacity':_0x49c4f0['opacity'],'zIndex':_0x49c4f0[_0x443875(0x1df)],'source':new a51_0x160ff5({'style':_0x10d02b[_0x443875(0x1d3)],'url':_0x49c4f0['url'],'tileGrid':new a51_0x109333({'origin':getTopLeft(_0x10d02b['boundingBoxExtent']),'resolutions':_0x2b0a84,'matrixIds':_0x3f1584}),'layer':_0x15a6cf,'matrixSet':_0x10d02b[_0x443875(0x1e4)],'version':_0x443875(0x1d4),'format':_0x10d02b[_0x443875(0x1d1)][0x0],'projection':_0xb66de3,'requestEncoding':_0x443875(0x1dc)})}),this['id']=_0x49c4f0['id'],this[_0x443875(0x1d6)]=_0x10d02b['boundingBoxExtent'],this['projection']=_0x49c989,this[_0x443875(0x1e1)]=_0x49c4f0;}}
1
+ function a51_0x4e59(_0x17fa92,_0x348865){const _0x38e8bb=a51_0x38e8();return a51_0x4e59=function(_0x4e59ec,_0x179371){_0x4e59ec=_0x4e59ec-0x1db;let _0xfb898e=_0x38e8bb[_0x4e59ec];return _0xfb898e;},a51_0x4e59(_0x17fa92,_0x348865);}(function(_0x578047,_0x59a4b0){const _0x47429f=a51_0x4e59,_0x27c85d=_0x578047();while(!![]){try{const _0x1406b1=-parseInt(_0x47429f(0x1dc))/0x1*(parseInt(_0x47429f(0x1e8))/0x2)+-parseInt(_0x47429f(0x1e2))/0x3*(parseInt(_0x47429f(0x1e3))/0x4)+-parseInt(_0x47429f(0x1eb))/0x5+-parseInt(_0x47429f(0x1ef))/0x6+parseInt(_0x47429f(0x1f1))/0x7*(parseInt(_0x47429f(0x1dd))/0x8)+-parseInt(_0x47429f(0x1e5))/0x9+-parseInt(_0x47429f(0x1ed))/0xa*(-parseInt(_0x47429f(0x1ec))/0xb);if(_0x1406b1===_0x59a4b0)break;else _0x27c85d['push'](_0x27c85d['shift']());}catch(_0x973eca){_0x27c85d['push'](_0x27c85d['shift']());}}}(a51_0x38e8,0xbdb21));import a51_0xd7a8fe from'ol/layer/Tile';import{WMTS as a51_0x170bed}from'ol/source';import a51_0x2da4b2 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a51_0x38e8(){const _0xf17b3c=['KVP','length','4380357BxlmPc','4kIYIbb','style','167040FzPoNq','url','join','194edVtNh','sublayers','1.0.0','3869110fwwqUU','5027SMCAZA','91750pLxnyr','EPSG:4490','1464456HarjzY','opacity','14uUPUak','pow','format','14259DowJJh','1854872snhHev','boundingBoxExtent','projection'];a51_0x38e8=function(){return _0xf17b3c;};return a51_0x38e8();}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0xd7a8fe{constructor(_0x58af7a,_0x38b1fa){const _0x16ceeb=a51_0x4e59;let _0x28f3b8='';_0x58af7a[_0x16ceeb(0x1e9)]&&_0x58af7a[_0x16ceeb(0x1e9)][_0x16ceeb(0x1e1)]>0x0&&(_0x28f3b8=_0x58af7a[_0x16ceeb(0x1e9)][_0x16ceeb(0x1e7)](','));const _0x551253=_0x16ceeb(0x1ee);let _0x244a4c=registerProj(_0x551253);const _0x71a3f0=[],_0x1b209f=[];for(let _0x46c8f3=0x1;_0x46c8f3<0x13;_0x46c8f3++){_0x71a3f0[_0x46c8f3]=getWidth(_0x38b1fa[_0x16ceeb(0x1de)])/(0x100*Math[_0x16ceeb(0x1f2)](0x2,_0x46c8f3)),_0x1b209f[_0x46c8f3]=_0x46c8f3+'';}super({'opacity':_0x58af7a[_0x16ceeb(0x1f0)],'zIndex':_0x58af7a['mapIndex'],'source':new a51_0x170bed({'style':_0x38b1fa[_0x16ceeb(0x1e4)],'url':_0x58af7a[_0x16ceeb(0x1e6)],'tileGrid':new a51_0x2da4b2({'origin':getTopLeft(_0x38b1fa[_0x16ceeb(0x1de)]),'resolutions':_0x71a3f0,'matrixIds':_0x1b209f}),'layer':_0x28f3b8,'matrixSet':_0x38b1fa['tileMatrixSet'],'version':_0x16ceeb(0x1ea),'format':_0x38b1fa[_0x16ceeb(0x1db)][0x0],'projection':_0x551253,'requestEncoding':_0x16ceeb(0x1e0)})}),this['id']=_0x58af7a['id'],this['initialExtent']=_0x38b1fa[_0x16ceeb(0x1de)],this[_0x16ceeb(0x1df)]=_0x244a4c,this['layerInfo']=_0x58af7a;}}