ym-gis-2d 1.0.8 → 1.0.10

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 (69) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/MousePositionControl.js +1 -1
  4. package/controls/SwipeLayerControl.js +1 -1
  5. package/conver/kml/geoJSONToKml.js +1 -1
  6. package/conver/kml/index.js +1 -1
  7. package/conver/kml/kmlToGeoJSON.js +1 -1
  8. package/entity/Feature.js +1 -1
  9. package/entity/GeometryType.js +1 -1
  10. package/feature/FeatureManager.js +1 -1
  11. package/index.js +1 -1
  12. package/interaction/Draw.js +1 -1
  13. package/interaction/InteractionManager.js +1 -1
  14. package/interaction/Select.js +1 -1
  15. package/layers/ArcgisDynamicLayer.js +1 -1
  16. package/layers/ArcgisFeatureLayer.js +1 -1
  17. package/layers/ArcgisTileLayer.js +1 -1
  18. package/layers/ArcgisWMSLayer.js +1 -1
  19. package/layers/ArcgisWMTSLayer.js +1 -1
  20. package/layers/GeoserverVectorTile.js +1 -1
  21. package/layers/GeoserverWFSLayer.js +1 -1
  22. package/layers/GeoserverWMSLayer.js +1 -1
  23. package/layers/GeoserverWMTSLayer.js +1 -1
  24. package/layers/LayerManager.js +1 -1
  25. package/layers/TDTLayer.js +1 -1
  26. package/mapView/Map.js +1 -1
  27. package/mapView/Map.js.map +1 -1
  28. package/mapView/View.d.ts +1 -0
  29. package/mapView/View.d.ts.map +1 -1
  30. package/mapView/View.js +1 -1
  31. package/mapView/View.js.map +1 -1
  32. package/package.json +1 -1
  33. package/plot/Plot.js +1 -1
  34. package/plot/geometry/point/Point.js +1 -1
  35. package/plot/geometry/polygon/BasePolygon.js +1 -1
  36. package/plot/geometry/polygon/Circle.js +1 -1
  37. package/plot/geometry/polygon/Polygon.js +1 -1
  38. package/plot/geometry/polygon/RectAngle.js +1 -1
  39. package/plot/geometry/polyline/BaseLine.js +1 -1
  40. package/plot/geometry/polyline/Polyline.js +1 -1
  41. package/style/PointStyleFormat.js +1 -1
  42. package/style/PolygonStyleFormat.js +1 -1
  43. package/style/PolylineStyleFormat.js +1 -1
  44. package/style/StyleManager.js +1 -1
  45. package/style/common.js +1 -1
  46. package/utils/ArrayUtil.js +1 -1
  47. package/utils/AxiosUtil.js +1 -1
  48. package/utils/EsriUtil.js +1 -1
  49. package/utils/GeometryUtil.js +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a29_0x50d589=a29_0x3f33;(function(_0x2f8f6d,_0x111cef){const _0x29074b=a29_0x3f33,_0x4e167f=_0x2f8f6d();while(!![]){try{const _0x388869=parseInt(_0x29074b(0xfb))/0x1*(parseInt(_0x29074b(0x10c))/0x2)+-parseInt(_0x29074b(0xc6))/0x3*(-parseInt(_0x29074b(0xcf))/0x4)+parseInt(_0x29074b(0x10b))/0x5*(-parseInt(_0x29074b(0xbb))/0x6)+parseInt(_0x29074b(0xbd))/0x7*(parseInt(_0x29074b(0xaf))/0x8)+-parseInt(_0x29074b(0xd7))/0x9*(parseInt(_0x29074b(0xef))/0xa)+parseInt(_0x29074b(0xd6))/0xb+parseInt(_0x29074b(0xff))/0xc*(-parseInt(_0x29074b(0xe6))/0xd);if(_0x388869===_0x111cef)break;else _0x4e167f['push'](_0x4e167f['shift']());}catch(_0x57edb6){_0x4e167f['push'](_0x4e167f['shift']());}}}(a29_0x2872,0xc19cd));function a29_0x2872(){const _0x4bdfb2=['ACTIVE','getCode','drawend','abortDrawing_','_type','240dOSEyP','MAX_VALUE','DRAWABORT','_overlay','getPixelFromCoordinate','drawabort','updateTip_','type','_tipOverlay','DRAWEND','tipText','addFeature','2259528hLzsxp','onInternal','358169PkRfUO','getType','push','coordinates','_style','handleUpEvent','fixPoint','drawmoving','getMap','3aFSfRT','_tipStyle','style','dispatchEvent','pop','DRAWMOVING','left','单击拖动绘制','12px\x20Calibre,sans-serif','3790712EDAxbr','getText','rectangle','preventDefault','handleDownEvent','_minPoints','updateState_','16884197WVjTIp','9qUTbcr','handleDragEvent','revert','setMap','_tipFeature','updateSketchFeatures_','createMultiPointFeature','startDrawing_','getView','slice','setText','_source','Ellipse','once','setStyle','582829wftoKc','rgba(255,\x20255,\x20255,\x201)','length','getGeometry','_drawingCoordinates','handleMoveEvent','_showTip','DRAWADDPOINT','_fixPoint','11655620rZfcxH','setGeometry','Ellipsoid','wrapX','单击增加点,右击删除点双击完成绘制','drawaddpoint','getProjection','_features','_sketchFeature','_isStayDraw','pointermove','minPoint','300143MPsdMX','originalEvent','abortDrawing','projection','852DnCSJu','drawstart','sqrt','clear','coordinate','addPoint','features','addChangeListener','Circle','source','pixel','unInternal','5uirYNe','10ULdTDm','snapTolerance','finishDrawing','getSource','buildDrawingFeature','_snapTolerance','rgba(0,\x200,\x200,\x200.4)'];a29_0x2872=function(){return _0x4bdfb2;};return a29_0x2872();}function a29_0x3f33(_0x119ab6,_0x404af7){const _0x28722a=a29_0x2872();return a29_0x3f33=function(_0x3f33fd,_0x18f23d){_0x3f33fd=_0x3f33fd-0xaa;let _0x508765=_0x28722a[_0x3f33fd];return _0x508765;},a29_0x3f33(_0x119ab6,_0x404af7);}import a29_0x27751b from'ol/events/Event';import a29_0x4fa5a0 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a29_0x4d3100 from'ol/Feature';import a29_0x39d12b,{createEditingStyle}from'ol/style/Style';import a29_0x3607b6 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a29_0x48f74b from'ol/style/Text';import a29_0x9a442 from'ol/style/Fill';import a29_0x4ee61d from'ol/interaction/Property';import a29_0x169cd2 from'ol/layer/Vector';import a29_0x11d879 from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a29_0x50d589(0x100),'DRAWEND':a29_0x50d589(0xac),'DRAWABORT':a29_0x50d589(0xb4),'DRAWADDPOINT':a29_0x50d589(0xf4),'DRAWMOVING':a29_0x50d589(0xc4)};export class DrawEvent extends a29_0x27751b{constructor(_0x1eeb84,_0x1db29a,_0x437c15){const _0x16e15e=a29_0x50d589;super(_0x1eeb84),this['feature']=_0x1db29a,this[_0x16e15e(0xc0)]=_0x437c15;}}export class ShEvent extends a29_0x27751b{constructor(_0x26420d,_0x4a16e9,_0x90ef1c,_0x1bde77,_0x239eb7){const _0x45f06b=a29_0x50d589;super(_0x26420d),this[_0x45f06b(0xfe)]=_0x239eb7,this[_0x45f06b(0xb6)]=_0x4a16e9,this[_0x45f06b(0x103)]=_0x90ef1c,this[_0x45f06b(0xc0)]=_0x1bde77;}}export default class Draw extends a29_0x4fa5a0{constructor(_0x48a975,_0x5822d1){const _0x479950=a29_0x50d589,_0x2d850e=_0x5822d1?_0x5822d1:{};!_0x2d850e['stopDown']&&(_0x2d850e['stopDown']=![]);super(_0x5822d1),this['on']=this[_0x479950(0xbc)],this[_0x479950(0xe4)]=this['onceInternal'],this['un']=this[_0x479950(0x10a)],this[_0x479950(0xf8)]=![],this[_0x479950(0xae)]=_0x48a975,this[_0x479950(0xc1)]=_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0xc8)],this[_0x479950(0xe2)]=_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0x108)],this[_0x479950(0xf6)]=_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0x105)];const _0x52da6d=getPlotCount(this[_0x479950(0xae)]);this[_0x479950(0xd4)]=_0x52da6d[_0x479950(0xfa)],this[_0x479950(0xee)]=_0x52da6d[_0x479950(0xc3)],this[_0x479950(0xb9)]=_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0xb9)],this[_0x479950(0xec)]=(_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1['showTip'])==![]?![]:!![],this[_0x479950(0x111)]=_0x2d850e[_0x479950(0x10d)]?_0x2d850e['snapTolerance']:0x6,this[_0x479950(0xdb)]=new a29_0x4d3100(),this['_tipStyle']=new a29_0x39d12b({'text':new a29_0x48f74b({'font':_0x479950(0xce),'fill':new a29_0x9a442({'color':_0x479950(0xe7)}),'backgroundFill':new a29_0x9a442({'color':_0x479950(0x112)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x479950(0xcc),'offsetX':0xf})}),this['_drawingCoordinates']=[],this[_0x479950(0xb7)]=new a29_0x169cd2({'source':new a29_0x3607b6({'useSpatialIndex':![],'wrapX':(_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0xf2)])?_0x5822d1[_0x479950(0xf2)]:![]})}),this[_0x479950(0xb2)]=new a29_0x169cd2({'source':new a29_0x3607b6({'useSpatialIndex':![],'wrapX':(_0x5822d1===null||_0x5822d1===void 0x0?void 0x0:_0x5822d1[_0x479950(0xf2)])?_0x5822d1[_0x479950(0xf2)]:![]}),'updateWhileInteracting':!![]}),this[_0x479950(0x106)](a29_0x4ee61d[_0x479950(0xaa)],this['updateState_']);}['updateState_'](){const _0x7a4333=a29_0x50d589,_0x52c1cf=this[_0x7a4333(0xc5)](),_0x34eaf4=this['getActive']();(!_0x52c1cf||!_0x34eaf4)&&this[_0x7a4333(0xfd)](),this[_0x7a4333(0xb2)][_0x7a4333(0xda)](_0x34eaf4?_0x52c1cf:null),this[_0x7a4333(0xb7)][_0x7a4333(0xda)](_0x34eaf4?_0x52c1cf:null);}[a29_0x50d589(0xda)](_0x1b980e){const _0xfd7d67=a29_0x50d589;super['setMap'](_0x1b980e),this[_0xfd7d67(0xd5)]();}[a29_0x50d589(0xe5)](_0xa13279){const _0x4cb587=a29_0x50d589;this[_0x4cb587(0xc1)]=_0xa13279?_0xa13279:{};}['getOverlay'](){const _0x5c5a48=a29_0x50d589;return this[_0x5c5a48(0xb2)];}[a29_0x50d589(0xd3)](_0x32c749){const _0x37114c=a29_0x50d589;if(_0x32c749[_0x37114c(0xfc)]['button']===0x2)return _0x32c749['originalEvent']['preventDefault'](),this[_0x37114c(0xd9)](),this[_0x37114c(0xeb)](_0x32c749),![];return!![];}[a29_0x50d589(0xc2)](_0x2bb1f5){const _0x5565d5=a29_0x50d589;var _0x49bf56,_0x4dd167;if(this['_type']==_0x5565d5(0xd1)&&this['_drawingCoordinates'][_0x5565d5(0xe8)]<0x1)return this[_0x5565d5(0xc9)](new DrawEvent(DrawEventType[_0x5565d5(0xb8)],undefined,[_0x2bb1f5[_0x5565d5(0x103)]])),![];if(!this[_0x5565d5(0xf8)])this[_0x5565d5(0xde)](_0x2bb1f5[_0x5565d5(0x103)]),this[_0x5565d5(0xc9)](new ShEvent(DrawEventType[_0x5565d5(0xed)],this['_type'],_0x2bb1f5[_0x5565d5(0x103)],this[_0x5565d5(0xea)],(_0x49bf56=this[_0x5565d5(0xc5)]())===null||_0x49bf56===void 0x0?void 0x0:_0x49bf56['getView']()[_0x5565d5(0xf5)]()[_0x5565d5(0xab)]())),this[_0x5565d5(0xae)]=='point'&&this[_0x5565d5(0x10e)]();else{if(this[_0x5565d5(0xea)]&&this[_0x5565d5(0xea)][_0x5565d5(0xe8)]>0x0){if(this['atFinish_'](_0x2bb1f5[_0x5565d5(0x109)]))return this['finishDrawing'](),_0x2bb1f5[_0x5565d5(0xd2)](),![];let _0xade193=this['_drawingCoordinates'][_0x5565d5(0xe8)]+0x1;_0xade193<=this[_0x5565d5(0xee)]&&this[_0x5565d5(0x104)](_0x2bb1f5[_0x5565d5(0x103)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x5565d5(0xed)],this[_0x5565d5(0xae)],_0x2bb1f5['coordinate'],this['_drawingCoordinates'],(_0x4dd167=this[_0x5565d5(0xc5)]())===null||_0x4dd167===void 0x0?void 0x0:_0x4dd167[_0x5565d5(0xdf)]()[_0x5565d5(0xf5)]()['getCode']())),_0xade193>=this[_0x5565d5(0xd4)]&&this[_0x5565d5(0x110)](this[_0x5565d5(0xea)]),_0xade193===this[_0x5565d5(0xee)]&&this['finishDrawing']();}}return _0x2bb1f5[_0x5565d5(0xd2)](),![];}[a29_0x50d589(0xd8)](_0x47940e){const _0x29c730=a29_0x50d589;var _0x42ac1d;if(this['_type']=='rectangle'&&_0x47940e[_0x29c730(0xfc)][_0x29c730(0xb6)]==_0x29c730(0xf9)){if(!this[_0x29c730(0xf8)]){this[_0x29c730(0xde)](_0x47940e[_0x29c730(0x103)]),this[_0x29c730(0xc9)](new ShEvent(DrawEventType[_0x29c730(0xed)],this[_0x29c730(0xae)],_0x47940e[_0x29c730(0x103)],this[_0x29c730(0xea)],(_0x42ac1d=this[_0x29c730(0xc5)]())===null||_0x42ac1d===void 0x0?void 0x0:_0x42ac1d[_0x29c730(0xdf)]()[_0x29c730(0xf5)]()[_0x29c730(0xab)]()));return;}let _0x345a49=[...this[_0x29c730(0xea)],_0x47940e[_0x29c730(0x103)]];this[_0x29c730(0x110)](_0x345a49),this[_0x29c730(0xc9)](new DrawEvent(DrawEventType[_0x29c730(0xcb)],this[_0x29c730(0xf7)],this[_0x29c730(0xea)]));}}[a29_0x50d589(0xeb)](_0x34b2c9){const _0xd64b1b=a29_0x50d589;var _0x280a4c,_0x158c31,_0x350fa8;let _0x4d0f44='';this[_0xd64b1b(0xae)]==_0xd64b1b(0xf9)&&(this[_0xd64b1b(0xde)](_0x34b2c9[_0xd64b1b(0x103)]),this[_0xd64b1b(0xc9)](new ShEvent(DrawEventType[_0xd64b1b(0xed)],this[_0xd64b1b(0xae)],_0x34b2c9[_0xd64b1b(0x103)],this[_0xd64b1b(0xea)],(_0x280a4c=this[_0xd64b1b(0xc5)]())===null||_0x280a4c===void 0x0?void 0x0:_0x280a4c[_0xd64b1b(0xdf)]()[_0xd64b1b(0xf5)]()['getCode']())),this[_0xd64b1b(0x10e)]());!this[_0xd64b1b(0xf8)]?_0x4d0f44=this['_type']=='rectangle'?_0xd64b1b(0xcd):'单击开始绘制':(_0x4d0f44='单击增加点,右击删除点',((_0x158c31=this['_drawingCoordinates'])===null||_0x158c31===void 0x0?void 0x0:_0x158c31[_0xd64b1b(0xe8)])===this['_fixPoint']-0x1&&(_0x4d0f44='单击结束绘制,右击删除点'),((_0x350fa8=this[_0xd64b1b(0xea)])===null||_0x350fa8===void 0x0?void 0x0:_0x350fa8[_0xd64b1b(0xe8)])>=this[_0xd64b1b(0xd4)]&&this[_0xd64b1b(0xee)]===Number[_0xd64b1b(0xb0)]&&(_0x4d0f44=_0xd64b1b(0xf3)));this[_0xd64b1b(0xb9)]!=undefined&&(_0x4d0f44=this['tipText']);this[_0xd64b1b(0xb5)](_0x34b2c9['coordinate'],_0x4d0f44);if(this[_0xd64b1b(0xf8)]&&this['_type']!=_0xd64b1b(0xd1)){let _0x1549ca=[...this[_0xd64b1b(0xea)],_0x34b2c9[_0xd64b1b(0x103)]];this[_0xd64b1b(0x110)](_0x1549ca),this[_0xd64b1b(0xc9)](new DrawEvent(DrawEventType[_0xd64b1b(0xcb)],this['_sketchFeature'],this[_0xd64b1b(0xea)]));}}['atFinish_'](_0x291b54){const _0xa713ae=a29_0x50d589;var _0x512d55;let _0x4f168c=![],_0x35ad92=this[_0xa713ae(0xea)]['length'];if(_0x35ad92>this['_minPoints']&&this[_0xa713ae(0xee)]===Number['MAX_VALUE']){const _0x4b2304=this[_0xa713ae(0xea)][this[_0xa713ae(0xea)]['length']-0x1],_0x1b9952=(_0x512d55=this[_0xa713ae(0xc5)]())===null||_0x512d55===void 0x0?void 0x0:_0x512d55[_0xa713ae(0xb3)](_0x4b2304),_0x4a2b07=_0x291b54[0x0]-(_0x1b9952?_0x1b9952[0x0]:0x0),_0x2e6e8a=_0x291b54[0x1]-(_0x1b9952?_0x1b9952[0x1]:0x0);_0x4f168c=Math[_0xa713ae(0x101)](_0x4a2b07*_0x4a2b07+_0x2e6e8a*_0x2e6e8a)<=this['_snapTolerance'];}return _0x4f168c;}['startDrawing_'](_0x43a431){const _0x752500=a29_0x50d589;this[_0x752500(0xf8)]=!![],this[_0x752500(0xea)]=[_0x43a431[_0x752500(0xe0)]()],this[_0x752500(0xf7)]=this[_0x752500(0xdd)](),this[_0x752500(0xdc)](),this[_0x752500(0xc9)](new DrawEvent(DrawEventType['DRAWSTART'],this[_0x752500(0xf7)],this[_0x752500(0xea)]));}[a29_0x50d589(0x10e)](){const _0x1eb375=a29_0x50d589;if(this[_0x1eb375(0xea)][_0x1eb375(0xe8)]>this[_0x1eb375(0xd4)]){this[_0x1eb375(0x110)](this[_0x1eb375(0xea)]);let _0x2b2514=this['_drawingCoordinates'];const _0x5c4f4b=this[_0x1eb375(0xad)]();if(!_0x5c4f4b)return;this['dispatchEvent'](new DrawEvent(DrawEventType[_0x1eb375(0xb8)],_0x5c4f4b,_0x2b2514)),this[_0x1eb375(0xf6)]&&this[_0x1eb375(0xf6)][_0x1eb375(0xbf)](_0x5c4f4b),this[_0x1eb375(0xe2)]&&this[_0x1eb375(0xe2)][_0x1eb375(0xba)](_0x5c4f4b);}}['addPoint'](_0x526ea8){const _0x4a0253=a29_0x50d589;this['_drawingCoordinates']['push'](_0x526ea8),this[_0x4a0253(0xf7)]=this[_0x4a0253(0xdd)](),this[_0x4a0253(0xdc)]();}[a29_0x50d589(0xdd)](){const _0x522411=a29_0x50d589,_0x2c980d=new MultiPoint(this[_0x522411(0xea)]);let _0x2b5e5f=new a29_0x4d3100();return _0x2b5e5f[_0x522411(0xf0)](_0x2c980d),_0x2b5e5f;}[a29_0x50d589(0xad)](){const _0x3b051d=a29_0x50d589;var _0xc9942f,_0x13f85c;this[_0x3b051d(0xf8)]=![];const _0x3837dc=this['_sketchFeature'];return this['_sketchFeature']=undefined,this['_drawingCoordinates']=[],(_0xc9942f=this[_0x3b051d(0xb2)]['getSource']())===null||_0xc9942f===void 0x0?void 0x0:_0xc9942f[_0x3b051d(0x102)](!![]),(_0x13f85c=this[_0x3b051d(0xb7)][_0x3b051d(0x10f)]())===null||_0x13f85c===void 0x0?void 0x0:_0x13f85c[_0x3b051d(0x102)](!![]),_0x3837dc;}[a29_0x50d589(0xfd)](){const _0x2cde4e=a29_0x50d589,_0x12140d=this[_0x2cde4e(0xad)]();_0x12140d&&this[_0x2cde4e(0xc9)](new DrawEvent(DrawEventType[_0x2cde4e(0xb1)],_0x12140d,this['_drawingCoordinates']));}['buildDrawingFeature'](_0x15c128){const _0x51a68d=a29_0x50d589;this['_sketchFeature']=new a29_0x4d3100();let _0x13be18=createPlot(this[_0x51a68d(0xae)],_0x15c128);if(!_0x13be18)return;this[_0x51a68d(0xf7)][_0x51a68d(0xf0)](_0x13be18);let _0x373221=[a29_0x11d879[_0x51a68d(0x107)],a29_0x11d879[_0x51a68d(0xf1)],a29_0x11d879[_0x51a68d(0xe3)]];if(_0x373221['indexOf'](this[_0x51a68d(0xae)])>-0x1&&this[_0x51a68d(0xc1)]){}const _0x2e0add=this['getMap']();this['_sketchFeature'][_0x51a68d(0xe5)](getStyle(this['_type'],this[_0x51a68d(0xc1)],this['getMap']())),this['updateSketchFeatures_']();}[a29_0x50d589(0xdc)](){const _0x18b172=a29_0x50d589,_0xa67336=this['_overlay'][_0x18b172(0x10f)]();_0xa67336&&this[_0x18b172(0xf7)]&&(_0xa67336[_0x18b172(0x102)](!![]),_0xa67336[_0x18b172(0xba)](this[_0x18b172(0xf7)]));}[a29_0x50d589(0xd9)](){const _0x22fa19=a29_0x50d589;if(this[_0x22fa19(0xf8)]){if(this[_0x22fa19(0xea)]&&this['_drawingCoordinates']['length']>0x0){const _0x41da02=this[_0x22fa19(0xb2)]['getSource']();_0x41da02===null||_0x41da02===void 0x0?void 0x0:_0x41da02[_0x22fa19(0x102)](!![]),this[_0x22fa19(0xea)][_0x22fa19(0xca)](),this[_0x22fa19(0xea)]['length']>=this[_0x22fa19(0xd4)]&&this[_0x22fa19(0x110)](this[_0x22fa19(0xea)]),this[_0x22fa19(0xea)][_0x22fa19(0xe8)]===0x0&&(this[_0x22fa19(0xf8)]=![]);}}}['updateTip_'](_0x5b4747,_0x137f1e){const _0x8601e1=a29_0x50d589;var _0x26e6f3,_0x4bf03f,_0x409684,_0x4eb0bb;if(!this[_0x8601e1(0xec)])return;const _0x38d9e4=this[_0x8601e1(0xb7)][_0x8601e1(0x10f)]();_0x38d9e4===null||_0x38d9e4===void 0x0?void 0x0:_0x38d9e4[_0x8601e1(0x102)](!![]),(_0x26e6f3=this[_0x8601e1(0xdb)])===null||_0x26e6f3===void 0x0?void 0x0:_0x26e6f3['setGeometry'](new Point(_0x5b4747)),(_0x409684=(_0x4bf03f=this[_0x8601e1(0xc7)])===null||_0x4bf03f===void 0x0?void 0x0:_0x4bf03f[_0x8601e1(0xd0)]())===null||_0x409684===void 0x0?void 0x0:_0x409684[_0x8601e1(0xe1)](_0x137f1e),(_0x4eb0bb=this['_tipFeature'])===null||_0x4eb0bb===void 0x0?void 0x0:_0x4eb0bb[_0x8601e1(0xe5)](this['_tipStyle']),this[_0x8601e1(0xdb)]&&(_0x38d9e4===null||_0x38d9e4===void 0x0?void 0x0:_0x38d9e4[_0x8601e1(0xba)](this['_tipFeature']));}}function getDefaultStyleFunction(){const _0x3a2751=createEditingStyle();return function(_0x28d490,_0x2b933f){const _0x4e1f03=a29_0x3f33,_0x40aac2=_0x3a2751[_0x28d490[_0x4e1f03(0xe9)]()[_0x4e1f03(0xbe)]()];if(_0x40aac2&&'Rectangle'==_0x28d490[_0x4e1f03(0xe9)]()[_0x4e1f03(0xbe)]()){}};}
1
+ const a29_0x5e0ee5=a29_0x2fbc;(function(_0x12d93a,_0xbbd8db){const _0x3ffb0b=a29_0x2fbc,_0x506402=_0x12d93a();while(!![]){try{const _0x252b34=-parseInt(_0x3ffb0b(0x1a1))/0x1*(-parseInt(_0x3ffb0b(0x1e7))/0x2)+-parseInt(_0x3ffb0b(0x1c9))/0x3*(parseInt(_0x3ffb0b(0x1ce))/0x4)+-parseInt(_0x3ffb0b(0x18e))/0x5*(-parseInt(_0x3ffb0b(0x17d))/0x6)+parseInt(_0x3ffb0b(0x1a0))/0x7*(parseInt(_0x3ffb0b(0x1d4))/0x8)+parseInt(_0x3ffb0b(0x1b8))/0x9*(-parseInt(_0x3ffb0b(0x18b))/0xa)+-parseInt(_0x3ffb0b(0x1dd))/0xb*(parseInt(_0x3ffb0b(0x1a4))/0xc)+-parseInt(_0x3ffb0b(0x1ba))/0xd;if(_0x252b34===_0xbbd8db)break;else _0x506402['push'](_0x506402['shift']());}catch(_0x4383d0){_0x506402['push'](_0x506402['shift']());}}}(a29_0x37a9,0xd8194));import a29_0x36ed30 from'ol/events/Event';import a29_0x3b8e33 from'ol/interaction/Pointer';function a29_0x37a9(){const _0x12cf28=['_sketchFeature','70zdNLhC','671855KUSKNh','drawaddpoint','wrapX','1326444nRhNEg','updateSketchFeatures_','getGeometry','clear','_features','_fixPoint','updateState_','setMap','单击结束绘制,右击删除点','preventDefault','slice','getText','features','getPixelFromCoordinate','style','addPoint','coordinates','Rectangle','showTip','atFinish_','562041BWBJLO','rectangle','5387213JhZjxn','DRAWABORT','DRAWADDPOINT','stopDown','abortDrawing','getProjection','getSource','setGeometry','onInternal','setText','createMultiPointFeature','DRAWSTART','单击增加点,右击删除点双击完成绘制','_tipStyle','_source','9174EXyZtM','type','revert','unInternal','pixel','104oPnUyn','_minPoints','handleDragEvent','snapTolerance','handleUpEvent','length','1001240mcIUOJ','MAX_VALUE','handleDownEvent','_style','addChangeListener','drawend','_showTip','Ellipse','sqrt','11bacWYa','单击开始绘制','_isStayDraw','left','_overlay','pop','DRAWMOVING','pointermove','updateTip_','getMap','2wvCCHQ','push','abortDrawing_','25572QPtjMX','Ellipsoid','indexOf','Circle','coordinate','addFeature','fixPoint','_drawingCoordinates','drawmoving','rgba(255,\x20255,\x20255,\x201)','12px\x20Calibre,sans-serif','_snapTolerance','getOverlay','rgba(0,\x200,\x200,\x200.4)','150HKlBgF','finishDrawing','DRAWEND','590FFCpWR','drawabort','_type','originalEvent','startDrawing_','getView','buildDrawingFeature','setStyle','minPoint','_tipFeature','dispatchEvent','_tipOverlay','getActive','getCode','tipText','projection','handleMoveEvent'];a29_0x37a9=function(){return _0x12cf28;};return a29_0x37a9();}import{MultiPoint,Point}from'ol/geom';import a29_0x3d0f70 from'ol/Feature';import a29_0x5f0f8b,{createEditingStyle}from'ol/style/Style';import a29_0x2045f6 from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a29_0x4ebc86 from'ol/style/Text';import a29_0x4559d6 from'ol/style/Fill';import a29_0x175e8d from'ol/interaction/Property';import a29_0x3deac7 from'ol/layer/Vector';function a29_0x2fbc(_0x121365,_0x5bbc0b){const _0x37a972=a29_0x37a9();return a29_0x2fbc=function(_0x2fbc0c,_0x2e9d09){_0x2fbc0c=_0x2fbc0c-0x17c;let _0x245753=_0x37a972[_0x2fbc0c];return _0x245753;},a29_0x2fbc(_0x121365,_0x5bbc0b);}import a29_0x2fa36e from'../entity/GeometryType';const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':a29_0x5e0ee5(0x1d9),'DRAWABORT':a29_0x5e0ee5(0x18f),'DRAWADDPOINT':a29_0x5e0ee5(0x1a2),'DRAWMOVING':a29_0x5e0ee5(0x185)};export class DrawEvent extends a29_0x36ed30{constructor(_0x5bd4b0,_0x23242d,_0x3cb1c0){super(_0x5bd4b0),this['feature']=_0x23242d,this['coordinates']=_0x3cb1c0;}}export class ShEvent extends a29_0x36ed30{constructor(_0x5c0893,_0x2a1c67,_0x2cb8c7,_0xafd27f,_0x111c5b){const _0x4697c3=a29_0x5e0ee5;super(_0x5c0893),this[_0x4697c3(0x19d)]=_0x111c5b,this[_0x4697c3(0x1ca)]=_0x2a1c67,this['coordinate']=_0x2cb8c7,this[_0x4697c3(0x1b4)]=_0xafd27f;}}export default class Draw extends a29_0x3b8e33{constructor(_0x2ecab3,_0x24cea6){const _0x375692=a29_0x5e0ee5,_0x286c1=_0x24cea6?_0x24cea6:{};!_0x286c1[_0x375692(0x1bd)]&&(_0x286c1['stopDown']=![]);super(_0x24cea6),this['on']=this[_0x375692(0x1c2)],this['once']=this['onceInternal'],this['un']=this[_0x375692(0x1cc)],this['_isStayDraw']=![],this[_0x375692(0x190)]=_0x2ecab3,this[_0x375692(0x1d7)]=_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6[_0x375692(0x1b2)],this['_source']=_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6['source'],this['_features']=_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6[_0x375692(0x1b0)];const _0x1d324b=getPlotCount(this[_0x375692(0x190)]);this[_0x375692(0x1cf)]=_0x1d324b[_0x375692(0x196)],this[_0x375692(0x1a9)]=_0x1d324b[_0x375692(0x183)],this[_0x375692(0x19c)]=_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6['tipText'],this[_0x375692(0x1da)]=(_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6[_0x375692(0x1b6)])==![]?![]:!![],this[_0x375692(0x188)]=_0x286c1[_0x375692(0x1d1)]?_0x286c1[_0x375692(0x1d1)]:0x6,this[_0x375692(0x197)]=new a29_0x3d0f70(),this['_tipStyle']=new a29_0x5f0f8b({'text':new a29_0x4ebc86({'font':_0x375692(0x187),'fill':new a29_0x4559d6({'color':_0x375692(0x186)}),'backgroundFill':new a29_0x4559d6({'color':_0x375692(0x18a)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x375692(0x1e0),'offsetX':0xf})}),this[_0x375692(0x184)]=[],this[_0x375692(0x199)]=new a29_0x3deac7({'source':new a29_0x2045f6({'useSpatialIndex':![],'wrapX':(_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6[_0x375692(0x1a3)])?_0x24cea6[_0x375692(0x1a3)]:![]})}),this[_0x375692(0x1e1)]=new a29_0x3deac7({'source':new a29_0x2045f6({'useSpatialIndex':![],'wrapX':(_0x24cea6===null||_0x24cea6===void 0x0?void 0x0:_0x24cea6[_0x375692(0x1a3)])?_0x24cea6[_0x375692(0x1a3)]:![]}),'updateWhileInteracting':!![]}),this[_0x375692(0x1d8)](a29_0x175e8d['ACTIVE'],this['updateState_']);}[a29_0x5e0ee5(0x1aa)](){const _0x26e597=a29_0x5e0ee5,_0x8be9c9=this[_0x26e597(0x1e6)](),_0x53a0d4=this[_0x26e597(0x19a)]();(!_0x8be9c9||!_0x53a0d4)&&this['abortDrawing'](),this[_0x26e597(0x1e1)]['setMap'](_0x53a0d4?_0x8be9c9:null),this[_0x26e597(0x199)][_0x26e597(0x1ab)](_0x53a0d4?_0x8be9c9:null);}[a29_0x5e0ee5(0x1ab)](_0xfd2d0b){const _0x7694e9=a29_0x5e0ee5;super[_0x7694e9(0x1ab)](_0xfd2d0b),this[_0x7694e9(0x1aa)]();}['setStyle'](_0x199d96){const _0x35f93e=a29_0x5e0ee5;this[_0x35f93e(0x1d7)]=_0x199d96?_0x199d96:{};}[a29_0x5e0ee5(0x189)](){const _0x2aa4da=a29_0x5e0ee5;return this[_0x2aa4da(0x1e1)];}[a29_0x5e0ee5(0x1d6)](_0x555e04){const _0x217a50=a29_0x5e0ee5;if(_0x555e04[_0x217a50(0x191)]['button']===0x2)return _0x555e04[_0x217a50(0x191)][_0x217a50(0x1ad)](),this[_0x217a50(0x1cb)](),this['handleMoveEvent'](_0x555e04),![];return!![];}[a29_0x5e0ee5(0x1d2)](_0x2ff566){const _0x1fdb54=a29_0x5e0ee5;var _0x433ed0,_0x3f5814;if(this[_0x1fdb54(0x190)]==_0x1fdb54(0x1b9)&&this[_0x1fdb54(0x184)][_0x1fdb54(0x1d3)]<0x1)return this[_0x1fdb54(0x198)](new DrawEvent(DrawEventType[_0x1fdb54(0x18d)],undefined,[_0x2ff566[_0x1fdb54(0x181)]])),![];if(!this[_0x1fdb54(0x1df)])this['startDrawing_'](_0x2ff566[_0x1fdb54(0x181)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x1fdb54(0x1bc)],this[_0x1fdb54(0x190)],_0x2ff566['coordinate'],this[_0x1fdb54(0x184)],(_0x433ed0=this[_0x1fdb54(0x1e6)]())===null||_0x433ed0===void 0x0?void 0x0:_0x433ed0[_0x1fdb54(0x193)]()[_0x1fdb54(0x1bf)]()[_0x1fdb54(0x19b)]())),this[_0x1fdb54(0x190)]=='point'&&this[_0x1fdb54(0x18c)]();else{if(this[_0x1fdb54(0x184)]&&this[_0x1fdb54(0x184)][_0x1fdb54(0x1d3)]>0x0){if(this['atFinish_'](_0x2ff566[_0x1fdb54(0x1cd)]))return this[_0x1fdb54(0x18c)](),_0x2ff566[_0x1fdb54(0x1ad)](),![];let _0xe03425=this[_0x1fdb54(0x184)][_0x1fdb54(0x1d3)]+0x1;_0xe03425<=this[_0x1fdb54(0x1a9)]&&this[_0x1fdb54(0x1b3)](_0x2ff566['coordinate']),this[_0x1fdb54(0x198)](new ShEvent(DrawEventType[_0x1fdb54(0x1bc)],this[_0x1fdb54(0x190)],_0x2ff566[_0x1fdb54(0x181)],this['_drawingCoordinates'],(_0x3f5814=this[_0x1fdb54(0x1e6)]())===null||_0x3f5814===void 0x0?void 0x0:_0x3f5814[_0x1fdb54(0x193)]()[_0x1fdb54(0x1bf)]()[_0x1fdb54(0x19b)]())),_0xe03425>=this[_0x1fdb54(0x1cf)]&&this['buildDrawingFeature'](this[_0x1fdb54(0x184)]),_0xe03425===this[_0x1fdb54(0x1a9)]&&this['finishDrawing']();}}return _0x2ff566[_0x1fdb54(0x1ad)](),![];}[a29_0x5e0ee5(0x1d0)](_0x267206){const _0x1f67dd=a29_0x5e0ee5;var _0x2fe5a9;if(this[_0x1f67dd(0x190)]==_0x1f67dd(0x1b9)&&_0x267206[_0x1f67dd(0x191)][_0x1f67dd(0x1ca)]==_0x1f67dd(0x1e4)){if(!this[_0x1f67dd(0x1df)]){this[_0x1f67dd(0x192)](_0x267206[_0x1f67dd(0x181)]),this[_0x1f67dd(0x198)](new ShEvent(DrawEventType[_0x1f67dd(0x1bc)],this[_0x1f67dd(0x190)],_0x267206[_0x1f67dd(0x181)],this[_0x1f67dd(0x184)],(_0x2fe5a9=this[_0x1f67dd(0x1e6)]())===null||_0x2fe5a9===void 0x0?void 0x0:_0x2fe5a9[_0x1f67dd(0x193)]()[_0x1f67dd(0x1bf)]()[_0x1f67dd(0x19b)]()));return;}let _0x3c302e=[...this[_0x1f67dd(0x184)],_0x267206['coordinate']];this[_0x1f67dd(0x194)](_0x3c302e),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x1f67dd(0x1e3)],this[_0x1f67dd(0x19f)],this[_0x1f67dd(0x184)]));}}[a29_0x5e0ee5(0x19e)](_0x3e6d42){const _0x1e89c7=a29_0x5e0ee5;var _0x2ebc23,_0x5e9138,_0x48353c;let _0x52701a='';this[_0x1e89c7(0x190)]==_0x1e89c7(0x1e4)&&(this['startDrawing_'](_0x3e6d42['coordinate']),this['dispatchEvent'](new ShEvent(DrawEventType[_0x1e89c7(0x1bc)],this[_0x1e89c7(0x190)],_0x3e6d42[_0x1e89c7(0x181)],this['_drawingCoordinates'],(_0x2ebc23=this[_0x1e89c7(0x1e6)]())===null||_0x2ebc23===void 0x0?void 0x0:_0x2ebc23['getView']()[_0x1e89c7(0x1bf)]()[_0x1e89c7(0x19b)]())),this['finishDrawing']());!this['_isStayDraw']?_0x52701a=this[_0x1e89c7(0x190)]==_0x1e89c7(0x1b9)?'单击拖动绘制':_0x1e89c7(0x1de):(_0x52701a='单击增加点,右击删除点',((_0x5e9138=this[_0x1e89c7(0x184)])===null||_0x5e9138===void 0x0?void 0x0:_0x5e9138[_0x1e89c7(0x1d3)])===this[_0x1e89c7(0x1a9)]-0x1&&(_0x52701a=_0x1e89c7(0x1ac)),((_0x48353c=this[_0x1e89c7(0x184)])===null||_0x48353c===void 0x0?void 0x0:_0x48353c['length'])>=this[_0x1e89c7(0x1cf)]&&this[_0x1e89c7(0x1a9)]===Number[_0x1e89c7(0x1d5)]&&(_0x52701a=_0x1e89c7(0x1c6)));this['tipText']!=undefined&&(_0x52701a=this['tipText']);this['updateTip_'](_0x3e6d42[_0x1e89c7(0x181)],_0x52701a);if(this[_0x1e89c7(0x1df)]&&this['_type']!='rectangle'){let _0x3d38f8=[...this['_drawingCoordinates'],_0x3e6d42[_0x1e89c7(0x181)]];this[_0x1e89c7(0x194)](_0x3d38f8),this[_0x1e89c7(0x198)](new DrawEvent(DrawEventType['DRAWMOVING'],this['_sketchFeature'],this[_0x1e89c7(0x184)]));}}[a29_0x5e0ee5(0x1b7)](_0x2d4087){const _0x40fbe6=a29_0x5e0ee5;var _0x3aa6ae;let _0xb60999=![],_0x3a4b83=this[_0x40fbe6(0x184)][_0x40fbe6(0x1d3)];if(_0x3a4b83>this[_0x40fbe6(0x1cf)]&&this[_0x40fbe6(0x1a9)]===Number[_0x40fbe6(0x1d5)]){const _0x59417a=this[_0x40fbe6(0x184)][this[_0x40fbe6(0x184)][_0x40fbe6(0x1d3)]-0x1],_0x24ff64=(_0x3aa6ae=this[_0x40fbe6(0x1e6)]())===null||_0x3aa6ae===void 0x0?void 0x0:_0x3aa6ae[_0x40fbe6(0x1b1)](_0x59417a),_0x674a87=_0x2d4087[0x0]-(_0x24ff64?_0x24ff64[0x0]:0x0),_0x2f96c8=_0x2d4087[0x1]-(_0x24ff64?_0x24ff64[0x1]:0x0);_0xb60999=Math[_0x40fbe6(0x1dc)](_0x674a87*_0x674a87+_0x2f96c8*_0x2f96c8)<=this[_0x40fbe6(0x188)];}return _0xb60999;}['startDrawing_'](_0x1295b0){const _0x4f1c78=a29_0x5e0ee5;this[_0x4f1c78(0x1df)]=!![],this[_0x4f1c78(0x184)]=[_0x1295b0[_0x4f1c78(0x1ae)]()],this[_0x4f1c78(0x19f)]=this['createMultiPointFeature'](),this[_0x4f1c78(0x1a5)](),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x4f1c78(0x1c5)],this['_sketchFeature'],this['_drawingCoordinates']));}[a29_0x5e0ee5(0x18c)](){const _0x45b8f7=a29_0x5e0ee5;if(this[_0x45b8f7(0x184)]['length']>this['_minPoints']){this['buildDrawingFeature'](this[_0x45b8f7(0x184)]);let _0xd06980=this[_0x45b8f7(0x184)];const _0x58fe07=this['abortDrawing_']();if(!_0x58fe07)return;this['dispatchEvent'](new DrawEvent(DrawEventType['DRAWEND'],_0x58fe07,_0xd06980)),this[_0x45b8f7(0x1a8)]&&this[_0x45b8f7(0x1a8)]['push'](_0x58fe07),this['_source']&&this[_0x45b8f7(0x1c8)]['addFeature'](_0x58fe07);}}[a29_0x5e0ee5(0x1b3)](_0x1e2e5d){const _0x305cb2=a29_0x5e0ee5;this['_drawingCoordinates'][_0x305cb2(0x1e8)](_0x1e2e5d),this[_0x305cb2(0x19f)]=this[_0x305cb2(0x1c4)](),this[_0x305cb2(0x1a5)]();}[a29_0x5e0ee5(0x1c4)](){const _0x3fe08c=a29_0x5e0ee5,_0xb8a22e=new MultiPoint(this[_0x3fe08c(0x184)]);let _0x1050e9=new a29_0x3d0f70();return _0x1050e9[_0x3fe08c(0x1c1)](_0xb8a22e),_0x1050e9;}['abortDrawing_'](){const _0x596528=a29_0x5e0ee5;var _0x2fb069,_0x5d8f64;this[_0x596528(0x1df)]=![];const _0x4b9bff=this['_sketchFeature'];return this['_sketchFeature']=undefined,this[_0x596528(0x184)]=[],(_0x2fb069=this[_0x596528(0x1e1)][_0x596528(0x1c0)]())===null||_0x2fb069===void 0x0?void 0x0:_0x2fb069[_0x596528(0x1a7)](!![]),(_0x5d8f64=this[_0x596528(0x199)][_0x596528(0x1c0)]())===null||_0x5d8f64===void 0x0?void 0x0:_0x5d8f64[_0x596528(0x1a7)](!![]),_0x4b9bff;}[a29_0x5e0ee5(0x1be)](){const _0x47d46a=a29_0x5e0ee5,_0x5defac=this[_0x47d46a(0x17c)]();_0x5defac&&this[_0x47d46a(0x198)](new DrawEvent(DrawEventType[_0x47d46a(0x1bb)],_0x5defac,this[_0x47d46a(0x184)]));}['buildDrawingFeature'](_0x491d9c){const _0xf6d1e9=a29_0x5e0ee5;this[_0xf6d1e9(0x19f)]=new a29_0x3d0f70();let _0x2217df=createPlot(this[_0xf6d1e9(0x190)],_0x491d9c);if(!_0x2217df)return;this[_0xf6d1e9(0x19f)][_0xf6d1e9(0x1c1)](_0x2217df);let _0x56d9c6=[a29_0x2fa36e[_0xf6d1e9(0x180)],a29_0x2fa36e[_0xf6d1e9(0x17e)],a29_0x2fa36e[_0xf6d1e9(0x1db)]];if(_0x56d9c6[_0xf6d1e9(0x17f)](this[_0xf6d1e9(0x190)])>-0x1&&this[_0xf6d1e9(0x1d7)]){}const _0x19fd80=this['getMap']();this[_0xf6d1e9(0x19f)][_0xf6d1e9(0x195)](getStyle(this[_0xf6d1e9(0x190)],this[_0xf6d1e9(0x1d7)],this['getMap']())),this['updateSketchFeatures_']();}[a29_0x5e0ee5(0x1a5)](){const _0x4af36f=a29_0x5e0ee5,_0x57508f=this[_0x4af36f(0x1e1)]['getSource']();_0x57508f&&this[_0x4af36f(0x19f)]&&(_0x57508f['clear'](!![]),_0x57508f[_0x4af36f(0x182)](this[_0x4af36f(0x19f)]));}[a29_0x5e0ee5(0x1cb)](){const _0x16e7bb=a29_0x5e0ee5;if(this[_0x16e7bb(0x1df)]){if(this[_0x16e7bb(0x184)]&&this['_drawingCoordinates']['length']>0x0){const _0x201c6b=this['_overlay']['getSource']();_0x201c6b===null||_0x201c6b===void 0x0?void 0x0:_0x201c6b['clear'](!![]),this[_0x16e7bb(0x184)][_0x16e7bb(0x1e2)](),this[_0x16e7bb(0x184)][_0x16e7bb(0x1d3)]>=this['_minPoints']&&this[_0x16e7bb(0x194)](this[_0x16e7bb(0x184)]),this['_drawingCoordinates'][_0x16e7bb(0x1d3)]===0x0&&(this[_0x16e7bb(0x1df)]=![]);}}}[a29_0x5e0ee5(0x1e5)](_0x23598a,_0x1ea44d){const _0x54bf5a=a29_0x5e0ee5;var _0x428b84,_0xe28f11,_0x2340b4,_0x37613a;if(!this['_showTip'])return;const _0x40b270=this[_0x54bf5a(0x199)]['getSource']();_0x40b270===null||_0x40b270===void 0x0?void 0x0:_0x40b270[_0x54bf5a(0x1a7)](!![]),(_0x428b84=this[_0x54bf5a(0x197)])===null||_0x428b84===void 0x0?void 0x0:_0x428b84[_0x54bf5a(0x1c1)](new Point(_0x23598a)),(_0x2340b4=(_0xe28f11=this[_0x54bf5a(0x1c7)])===null||_0xe28f11===void 0x0?void 0x0:_0xe28f11[_0x54bf5a(0x1af)]())===null||_0x2340b4===void 0x0?void 0x0:_0x2340b4[_0x54bf5a(0x1c3)](_0x1ea44d),(_0x37613a=this[_0x54bf5a(0x197)])===null||_0x37613a===void 0x0?void 0x0:_0x37613a[_0x54bf5a(0x195)](this['_tipStyle']),this['_tipFeature']&&(_0x40b270===null||_0x40b270===void 0x0?void 0x0:_0x40b270[_0x54bf5a(0x182)](this[_0x54bf5a(0x197)]));}}function getDefaultStyleFunction(){const _0xd6cd54=createEditingStyle();return function(_0x4987d0,_0x10de81){const _0x5186ad=a29_0x2fbc,_0x5265aa=_0xd6cd54[_0x4987d0['getGeometry']()['getType']()];if(_0x5265aa&&_0x5186ad(0x1b5)==_0x4987d0[_0x5186ad(0x1a6)]()['getType']()){}};}
@@ -1 +1 @@
1
- const a30_0x4d8088=a30_0x16a8;function a30_0x2fd0(){const _0x6e7be9=['map','66319YuUhAD','set','removeAllInteractions','removeInteraction','7XahRrD','472JHuSba','delete','27906MrMPep','get','18GAOIap','14uvQYXr','has','addInteraction','1275831hLDDjZ','forEach','name','4202640RVVigi','465890nxXyOL','interactions','8030fVXXgD','21511853GyntYg'];a30_0x2fd0=function(){return _0x6e7be9;};return a30_0x2fd0();}(function(_0x584f56,_0xdda611){const _0x5852c6=a30_0x16a8,_0x463d74=_0x584f56();while(!![]){try{const _0x1e4bc7=parseInt(_0x5852c6(0x18d))/0x1*(-parseInt(_0x5852c6(0x197))/0x2)+-parseInt(_0x5852c6(0x184))/0x3+-parseInt(_0x5852c6(0x192))/0x4*(parseInt(_0x5852c6(0x18a))/0x5)+parseInt(_0x5852c6(0x194))/0x6*(parseInt(_0x5852c6(0x191))/0x7)+-parseInt(_0x5852c6(0x187))/0x8+parseInt(_0x5852c6(0x196))/0x9*(-parseInt(_0x5852c6(0x188))/0xa)+parseInt(_0x5852c6(0x18b))/0xb;if(_0x1e4bc7===_0xdda611)break;else _0x463d74['push'](_0x463d74['shift']());}catch(_0x46eb6f){_0x463d74['push'](_0x463d74['shift']());}}}(a30_0x2fd0,0x4025c));function a30_0x16a8(_0x361090,_0x4f6f71){const _0x2fd0b3=a30_0x2fd0();return a30_0x16a8=function(_0x16a88e,_0x307f7b){_0x16a88e=_0x16a88e-0x182;let _0x72c8=_0x2fd0b3[_0x16a88e];return _0x72c8;},a30_0x16a8(_0x361090,_0x4f6f71);}export default class InteractionManager{constructor(_0x1e6edc){this['map']=_0x1e6edc,this['interactions']=new Map();}[a30_0x4d8088(0x183)](_0x2ecf44,_0x4e9a0f){const _0x50d182=a30_0x4d8088;this['interactions'][_0x50d182(0x182)](_0x2ecf44)&&this[_0x50d182(0x190)](_0x2ecf44),_0x4e9a0f[_0x50d182(0x18e)](_0x50d182(0x186),_0x2ecf44),this[_0x50d182(0x189)]['set'](_0x2ecf44,_0x4e9a0f),this[_0x50d182(0x18c)][_0x50d182(0x183)](_0x4e9a0f);}['removeInteraction'](_0x172202){const _0x1c1f86=a30_0x4d8088,_0x1f156a=this[_0x1c1f86(0x189)][_0x1c1f86(0x195)](_0x172202);_0x1f156a&&(this[_0x1c1f86(0x18c)][_0x1c1f86(0x190)](_0x1f156a),this[_0x1c1f86(0x189)][_0x1c1f86(0x193)](_0x172202));}[a30_0x4d8088(0x18f)](){const _0x59d371=a30_0x4d8088;this[_0x59d371(0x189)][_0x59d371(0x185)](_0x5b0fc3=>{const _0x4ca5dc=_0x59d371;this[_0x4ca5dc(0x18c)][_0x4ca5dc(0x190)](_0x5b0fc3);}),this[_0x59d371(0x189)]['clear']();}['getInteraction'](_0x1aeb3c){const _0x4d31b3=a30_0x4d8088;return this[_0x4d31b3(0x189)][_0x4d31b3(0x195)](_0x1aeb3c);}}
1
+ function a30_0xd759(_0x1a68ab,_0x10fb84){const _0xc1915e=a30_0xc191();return a30_0xd759=function(_0xd7592a,_0x2823ec){_0xd7592a=_0xd7592a-0x1a1;let _0x23fc52=_0xc1915e[_0xd7592a];return _0x23fc52;},a30_0xd759(_0x1a68ab,_0x10fb84);}const a30_0x115c59=a30_0xd759;(function(_0x521489,_0x2908d2){const _0x4a8bc4=a30_0xd759,_0x27a6bc=_0x521489();while(!![]){try{const _0x5dce6c=parseInt(_0x4a8bc4(0x1b4))/0x1*(parseInt(_0x4a8bc4(0x1a3))/0x2)+parseInt(_0x4a8bc4(0x1a4))/0x3*(-parseInt(_0x4a8bc4(0x1b1))/0x4)+-parseInt(_0x4a8bc4(0x1ab))/0x5*(-parseInt(_0x4a8bc4(0x1a1))/0x6)+parseInt(_0x4a8bc4(0x1a2))/0x7+-parseInt(_0x4a8bc4(0x1ae))/0x8+parseInt(_0x4a8bc4(0x1b5))/0x9+-parseInt(_0x4a8bc4(0x1a9))/0xa*(-parseInt(_0x4a8bc4(0x1b3))/0xb);if(_0x5dce6c===_0x2908d2)break;else _0x27a6bc['push'](_0x27a6bc['shift']());}catch(_0x37c6f7){_0x27a6bc['push'](_0x27a6bc['shift']());}}}(a30_0xc191,0x35a12));function a30_0xc191(){const _0x275fb5=['set','delete','3223960dpCBJm','get','has','76cnJmNA','addInteraction','2079NpPDHY','142waWayn','1423026OtPiWN','1074KQGJSe','1292158rosvKt','1000ndeoNo','44793BixYku','removeInteraction','name','map','getInteraction','16860BHXSuu','interactions','4860WgqnZZ'];a30_0xc191=function(){return _0x275fb5;};return a30_0xc191();}export default class InteractionManager{constructor(_0x3a817f){const _0x51e517=a30_0xd759;this[_0x51e517(0x1a7)]=_0x3a817f,this['interactions']=new Map();}[a30_0x115c59(0x1b2)](_0x3dff44,_0x3ac94b){const _0x4524fb=a30_0x115c59;this[_0x4524fb(0x1aa)][_0x4524fb(0x1b0)](_0x3dff44)&&this['removeInteraction'](_0x3dff44),_0x3ac94b[_0x4524fb(0x1ac)](_0x4524fb(0x1a6),_0x3dff44),this[_0x4524fb(0x1aa)][_0x4524fb(0x1ac)](_0x3dff44,_0x3ac94b),this[_0x4524fb(0x1a7)][_0x4524fb(0x1b2)](_0x3ac94b);}['removeInteraction'](_0x384d43){const _0x79332e=a30_0x115c59,_0x1186b9=this[_0x79332e(0x1aa)][_0x79332e(0x1af)](_0x384d43);_0x1186b9&&(this[_0x79332e(0x1a7)]['removeInteraction'](_0x1186b9),this[_0x79332e(0x1aa)][_0x79332e(0x1ad)](_0x384d43));}['removeAllInteractions'](){const _0x24eb1b=a30_0x115c59;this[_0x24eb1b(0x1aa)]['forEach'](_0x23b8f4=>{const _0x194327=_0x24eb1b;this[_0x194327(0x1a7)][_0x194327(0x1a5)](_0x23b8f4);}),this[_0x24eb1b(0x1aa)]['clear']();}[a30_0x115c59(0x1a8)](_0x8e5d53){const _0x17122b=a30_0x115c59;return this[_0x17122b(0x1aa)][_0x17122b(0x1af)](_0x8e5d53);}}
@@ -1 +1 @@
1
- const a31_0x1b3cc9=a31_0x1d64;(function(_0xdf5b1e,_0x34cc51){const _0x56621e=a31_0x1d64,_0x2a909e=_0xdf5b1e();while(!![]){try{const _0x4e03d7=-parseInt(_0x56621e(0x203))/0x1+parseInt(_0x56621e(0x213))/0x2*(-parseInt(_0x56621e(0x1dc))/0x3)+parseInt(_0x56621e(0x208))/0x4+parseInt(_0x56621e(0x216))/0x5*(-parseInt(_0x56621e(0x211))/0x6)+-parseInt(_0x56621e(0x1dd))/0x7+parseInt(_0x56621e(0x1e4))/0x8+parseInt(_0x56621e(0x207))/0x9;if(_0x4e03d7===_0x34cc51)break;else _0x2a909e['push'](_0x2a909e['shift']());}catch(_0xe9c4){_0x2a909e['push'](_0x2a909e['shift']());}}}(a31_0x1c1c,0x546e9));function a31_0x1c1c(){const _0x56dd36=['getMap','push','onInternal','includes','allFeatures','draw','SELECTED','selectedPolygonFeatures','454092CVJiEC','ctrlKey','layerType','addEventListener','10899873WWGtWY','2119728TEqLye','getPointTempLayer','layerInfo','getView','filter','allSelectedFeatures','selectLayers','selectGeom','MultiLineString','9840eJcbBZ','selectedPointFeatures','2oCEkcG','getType','polygonStyle','245FphOCF','getArray','addTempLayer','fromType','holdCtrl','dispatchEvent','getCode','Point','cancePointStyle','getLineTempLayer','cancePolygonStyle','pointStyle','cut','message','drawend','未获取到几何','selectstart','selectedLineFeatures','Polygon','drawstart','currentLayers','LineString','selectLayer','drawabort','coordinates','853269ysvzNY','4781504RuTMAJ','keyup','selected','selectTempLayer','selectIndex','getSelectedFeatures','pixelDistance','854008GRjmoK','polygonFeatures','keydown','MultiPoint','import','lineStyle','tipText','getGeometry','seletctEditeFeature','length','union','addFeatures','lineFeatures','getLayers','tempLayer','url','feature','layerId','canceLineStyle','error','loadFilter','map','copy'];a31_0x1c1c=function(){return _0x56dd36;};return a31_0x1c1c();}import a31_0x4e6f82 from'./Draw';import a31_0x489b9a from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a31_0x4e8e2c from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';function a31_0x1d64(_0x451ae1,_0x400c11){const _0x1c1c56=a31_0x1c1c();return a31_0x1d64=function(_0x1d64ab,_0x19fd70){_0x1d64ab=_0x1d64ab-0x1d2;let _0x311b6f=_0x1c1c56[_0x1d64ab];return _0x311b6f;},a31_0x1d64(_0x451ae1,_0x400c11);}import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a31_0x1b3cc9(0x1d6),'DRAWEND':a31_0x1b3cc9(0x224),'DRAWABORT':a31_0x1b3cc9(0x1da),'DRAWADDPOINT':'drawaddpoint','DRAWMOVING':'drawmoving','SELECTSTART':a31_0x1b3cc9(0x1d3),'SELECTED':a31_0x1b3cc9(0x1df)};export class SelectEvent extends a31_0x489b9a{constructor(_0x5eff13,_0x542b9e,_0x1e97e9,_0x57a574,_0x423e42,_0xaaef60,_0x32a5d0,_0x564b52,_0x43a585){const _0xcbf192=a31_0x1b3cc9;super(_0x5eff13),this[_0xcbf192(0x20f)]=_0x1e97e9,this[_0xcbf192(0x1db)]=_0x57a574,this['pointFeatures']=_0x423e42,this[_0xcbf192(0x1f0)]=_0xaaef60,this[_0xcbf192(0x1e5)]=_0x32a5d0,this[_0xcbf192(0x1ff)]=_0x564b52,this[_0xcbf192(0x1f7)]=_0x43a585,this[_0xcbf192(0x21a)]=_0x542b9e;}}export default class Select extends a31_0x4e6f82{constructor(_0x4a7b11,_0xec46e5){const _0x5c9b85=a31_0x1b3cc9;super(_0x4a7b11,{'tipText':_0xec46e5===null||_0xec46e5===void 0x0?void 0x0:_0xec46e5[_0x5c9b85(0x1ea)]}),this[_0x5c9b85(0x212)]=[],this[_0x5c9b85(0x1d4)]=[],this[_0x5c9b85(0x202)]=[],this['allSelectedFeatures']=[];const _0x4142ad=_0xec46e5||{};this[_0x5c9b85(0x218)]=_0x4142ad[_0x5c9b85(0x218)]||![],this[_0x5c9b85(0x1d7)]=_0x4142ad[_0x5c9b85(0x20e)],this['selectTempLayer']=_0x4142ad[_0x5c9b85(0x1e0)]===undefined?!![]:_0x4142ad[_0x5c9b85(0x1e0)],this[_0x5c9b85(0x1e3)]=_0x4142ad[_0x5c9b85(0x1e3)]===undefined?0x5:_0x4142ad['pixelDistance'],this['pointStyle']=_0x4142ad[_0x5c9b85(0x221)]?getStyle(_0x4142ad[_0x5c9b85(0x221)]):getSelectPointStyle(),this[_0x5c9b85(0x21e)]=_0x4142ad[_0x5c9b85(0x21e)]?getStyle(_0x4142ad[_0x5c9b85(0x21e)]):getSelectCancePointStyle(),this['lineStyle']=_0x4142ad['lineStyle']?getStyle(_0x4142ad[_0x5c9b85(0x1e9)]):getSelectLineStyle(),this[_0x5c9b85(0x1f6)]=_0x4142ad[_0x5c9b85(0x1f6)]?getStyle(_0x4142ad['canceLineStyle']):getSelectCancelLineStyle(),this['polygonStyle']=_0x4142ad[_0x5c9b85(0x215)]?getStyle(_0x4142ad['polygonStyle']):getSelectPolygonStyle(),this[_0x5c9b85(0x220)]=_0x4142ad[_0x5c9b85(0x220)]?getStyle(_0x4142ad['cancePolygonStyle']):getSelectCancelPolygonStyle(),this[_0x5c9b85(0x21a)]=![];let _0x1b8cf8;this['on']=this[_0x5c9b85(0x1fd)],this['on'](_0x5c9b85(0x224),async _0x32614a=>{const _0xdd8bdf=_0x5c9b85,_0x1d5dc7=this[_0xdd8bdf(0x21a)],_0x528da4=this['getMap']();if(!_0x528da4)return;try{let _0x54f6fa=undefined;if(!_0x32614a[_0xdd8bdf(0x1f4)]&&_0x32614a[_0xdd8bdf(0x1db)]&&_0x32614a[_0xdd8bdf(0x1db)]['length']==0x1)_0x54f6fa=bufferPixel(new Point(_0x32614a[_0xdd8bdf(0x1db)][0x0]),this[_0xdd8bdf(0x1e3)],_0x528da4);else _0x32614a[_0xdd8bdf(0x1f4)]&&(_0x54f6fa=_0x32614a[_0xdd8bdf(0x1f4)][_0xdd8bdf(0x1eb)]());if(!_0x54f6fa)throw new Error(_0xdd8bdf(0x1d2));this[_0xdd8bdf(0x21b)](new SelectEvent(SelectEventType['SELECTSTART'],_0x1d5dc7,_0x54f6fa)),this[_0xdd8bdf(0x212)]=[],this['selectedLineFeatures']=[],this['selectedPolygonFeatures']=[],this['allSelectedFeatures']=[],this['selectTempLayer']&&this['seletctEditeFeature'](_0x54f6fa),_0x1b8cf8&&clearTimeout(_0x1b8cf8),_0x1b8cf8=setTimeout(async()=>{const _0x2fc585=_0xdd8bdf;await this[_0x2fc585(0x1d9)](_0x54f6fa),this[_0x2fc585(0x21b)](new SelectEvent(SelectEventType['SELECTED'],_0x1d5dc7,_0x54f6fa,_0x32614a[_0x2fc585(0x1db)],this[_0x2fc585(0x212)],this['selectedLineFeatures'],this['selectedPolygonFeatures'],this['allSelectedFeatures']));},0x46);}catch(_0x38754f){this[_0xdd8bdf(0x21b)](new SelectEvent(SelectEventType[_0xdd8bdf(0x201)],_0x1d5dc7,undefined,_0x32614a[_0xdd8bdf(0x1db)],this['selectedPointFeatures'],this[_0xdd8bdf(0x1d4)],this[_0xdd8bdf(0x202)],this[_0xdd8bdf(0x20d)],_0x38754f[_0xdd8bdf(0x223)]));}}),window[_0x5c9b85(0x206)](_0x5c9b85(0x1e6),_0x269be8=>{const _0x1c1a18=_0x5c9b85;_0x269be8[_0x1c1a18(0x204)]&&(this['holdCtrl']=!![]);}),window[_0x5c9b85(0x206)](_0x5c9b85(0x1de),_0x425b8b=>{const _0x2705dd=_0x5c9b85;this[_0x2705dd(0x21a)]=![];});}['setSelectLayers'](_0x37c4d4){const _0x16eaa6=a31_0x1b3cc9;this[_0x16eaa6(0x1d7)]=_0x37c4d4;}async[a31_0x1b3cc9(0x1d9)](_0x5b1cbf){const _0x116f0b=a31_0x1b3cc9;var _0x170079;const _0x2b9ae3=this[_0x116f0b(0x1fb)]();let _0x572f6b=[];if(this[_0x116f0b(0x1d7)]&&this[_0x116f0b(0x1d7)][_0x116f0b(0x1ed)]>0x0)_0x572f6b=this[_0x116f0b(0x1d7)];else{let _0x31393b=_0x2b9ae3[_0x116f0b(0x1f1)]()[_0x116f0b(0x217)]();_0x31393b=_0x31393b[_0x116f0b(0x20c)](_0x5c8a36=>{const _0x5425ca=_0x5c8a36['layerInfo'];if(!_0x5425ca)return![];return _0x5c8a36['getVisible']()==!![]&&_0x5425ca['selectIndex']!=undefined&&_0x5425ca['selectIndex']!='';}),_0x572f6b=_0x31393b[_0x116f0b(0x1f9)](_0x516884=>{const _0x1d6dac=_0x116f0b;return _0x516884[_0x1d6dac(0x20a)];});}if(!_0x572f6b||_0x572f6b['length']==0x0)return;const _0x5aea87=_0x2b9ae3[_0x116f0b(0x20b)]()['getProjection']()[_0x116f0b(0x21c)]();for(let _0x32ec15=0x0,_0x3106b7=_0x572f6b[_0x116f0b(0x1ed)];_0x32ec15<_0x3106b7;_0x32ec15++){const _0x1170f1=_0x572f6b[_0x32ec15];if(!_0x1170f1||!_0x1170f1['url']||!_0x1170f1[_0x116f0b(0x1e1)])continue;let _0x4cdb11=await selectFeaturesByGeo(_0x5b1cbf,_0x5aea87,_0x1170f1[_0x116f0b(0x1f3)],_0x1170f1[_0x116f0b(0x1e1)],_0x1170f1[_0x116f0b(0x205)],_0x1170f1[_0x116f0b(0x1f8)]);if(_0x4cdb11[_0x116f0b(0x1ed)]>0x0){this['allSelectedFeatures'][_0x116f0b(0x1fc)](..._0x4cdb11);let _0x41dbbf=_0x2b9ae3['getPolygonTempLayer'](),_0x530b08=this[_0x116f0b(0x215)];switch((_0x170079=_0x4cdb11[0x0]['getGeometry']())===null||_0x170079===void 0x0?void 0x0:_0x170079[_0x116f0b(0x214)]()){case'Point':case'MultiPoint':this[_0x116f0b(0x212)][_0x116f0b(0x1fc)](..._0x4cdb11),_0x41dbbf=_0x2b9ae3[_0x116f0b(0x209)](),_0x530b08=this[_0x116f0b(0x221)];break;case _0x116f0b(0x1d8):case'MultiLineString':this[_0x116f0b(0x1d4)][_0x116f0b(0x1fc)](..._0x4cdb11),_0x41dbbf=_0x2b9ae3[_0x116f0b(0x21f)](),_0x530b08=this[_0x116f0b(0x1e9)];break;case _0x116f0b(0x1d5):case'MultiPolygon':this[_0x116f0b(0x202)][_0x116f0b(0x1fc)](..._0x4cdb11),_0x41dbbf=_0x2b9ae3['getPolygonTempLayer'](),_0x530b08=this[_0x116f0b(0x215)];break;default:break;}const _0x4bc7a9=_0x41dbbf['getSource']();_0x4bc7a9&&(_0x4cdb11['forEach'](_0x507869=>{const _0x491770=_0x116f0b;_0x507869[_0x491770(0x1f5)]=_0x1170f1['id'],_0x507869[_0x491770(0x1f2)]=_0x41dbbf,_0x507869['setStyle'](_0x530b08);}),this[_0x116f0b(0x218)]&&_0x4bc7a9[_0x116f0b(0x1ef)](_0x4cdb11));}}}[a31_0x1b3cc9(0x1ec)](_0x4559f0){const _0x179e9d=a31_0x1b3cc9,_0x19744a=new a31_0x4e8e2c(this[_0x179e9d(0x1fb)]()),_0x559432=_0x19744a[_0x179e9d(0x1e2)]();if(!_0x559432||_0x559432[_0x179e9d(0x1ed)]===0x0)return[];const _0x2c1b33=[_0x179e9d(0x1fa),_0x179e9d(0x222),_0x179e9d(0x200),_0x179e9d(0x1e8),_0x179e9d(0x1ee)],_0x55519c=[];for(const _0x272a53 of _0x559432){if(!_0x272a53||!_0x272a53[_0x179e9d(0x219)]||!_0x2c1b33[_0x179e9d(0x1fe)](_0x272a53[_0x179e9d(0x219)]))continue;const _0x36e5d3=_0x272a53[_0x179e9d(0x1eb)]();if(!_0x36e5d3)continue;if(!intersects(_0x36e5d3,_0x4559f0))continue;let _0xe65401=this[_0x179e9d(0x215)];this[_0x179e9d(0x20d)][_0x179e9d(0x1fc)](_0x272a53);switch(_0x36e5d3[_0x179e9d(0x214)]()){case _0x179e9d(0x21d):case _0x179e9d(0x1e7):this[_0x179e9d(0x212)][_0x179e9d(0x1fc)](_0x272a53),_0xe65401=this[_0x179e9d(0x221)];break;case _0x179e9d(0x1d8):case _0x179e9d(0x210):this[_0x179e9d(0x1d4)]['push'](_0x272a53),_0xe65401=this[_0x179e9d(0x1e9)];break;case _0x179e9d(0x1d5):case'MultiPolygon':this[_0x179e9d(0x202)]['push'](_0x272a53),_0xe65401=this[_0x179e9d(0x215)];break;default:break;}_0x272a53['setStyle'](_0xe65401);}return _0x55519c;}}
1
+ const a31_0xb02d7e=a31_0x35a2;(function(_0x43a0c6,_0x5811bb){const _0x55a66e=a31_0x35a2,_0x222361=_0x43a0c6();while(!![]){try{const _0x5f5951=-parseInt(_0x55a66e(0x181))/0x1+-parseInt(_0x55a66e(0x189))/0x2*(parseInt(_0x55a66e(0x176))/0x3)+parseInt(_0x55a66e(0x17f))/0x4*(parseInt(_0x55a66e(0x166))/0x5)+parseInt(_0x55a66e(0x150))/0x6*(-parseInt(_0x55a66e(0x172))/0x7)+parseInt(_0x55a66e(0x190))/0x8+parseInt(_0x55a66e(0x15c))/0x9+parseInt(_0x55a66e(0x168))/0xa;if(_0x5f5951===_0x5811bb)break;else _0x222361['push'](_0x222361['shift']());}catch(_0x5e96cb){_0x222361['push'](_0x222361['shift']());}}}(a31_0x1fc4,0xd594f));import a31_0x569d8f from'./Draw';import a31_0x22461f from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';function a31_0x35a2(_0xd94000,_0x10ba1b){const _0x1fc424=a31_0x1fc4();return a31_0x35a2=function(_0x35a29c,_0x313727){_0x35a29c=_0x35a29c-0x14b;let _0x4d2fd4=_0x1fc424[_0x35a29c];return _0x4d2fd4;},a31_0x35a2(_0xd94000,_0x10ba1b);}import{Point}from'ol/geom';import a31_0xac87b2 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a31_0xb02d7e(0x170),'DRAWEND':'drawend','DRAWABORT':'drawabort','DRAWADDPOINT':a31_0xb02d7e(0x19c),'DRAWMOVING':a31_0xb02d7e(0x158),'SELECTSTART':a31_0xb02d7e(0x196),'SELECTED':'selected'};export class SelectEvent extends a31_0x22461f{constructor(_0xdfa2fe,_0x276a09,_0x40699b,_0x31a765,_0x125b58,_0x5403ad,_0x5f4ad4,_0x3f2727,_0x4abfb0){const _0x7111e8=a31_0xb02d7e;super(_0xdfa2fe),this[_0x7111e8(0x177)]=_0x40699b,this['coordinates']=_0x31a765,this[_0x7111e8(0x183)]=_0x125b58,this[_0x7111e8(0x152)]=_0x5403ad,this[_0x7111e8(0x16c)]=_0x5f4ad4,this[_0x7111e8(0x14d)]=_0x3f2727,this[_0x7111e8(0x164)]=_0x4abfb0,this[_0x7111e8(0x15a)]=_0x276a09;}}function a31_0x1fc4(){const _0x3190b2=['12376935gnmoNY','import','coordinates','Polygon','MultiPoint','LineString','keydown','getSelectedFeatures','error','allSelectedFeatures','740705QJDWRA','addFeatures','2327330yZYAZM','cancePolygonStyle','cut','includes','polygonFeatures','getPointTempLayer','addEventListener','getView','drawstart','selectTempLayer','78757IVTyXZ','getLayers','url','tempLayer','2122887FJIkXi','selectGeom','forEach','getMap','layerId','length','selectedPointFeatures','getCode','getPolygonTempLayer','28QzkTqQ','selectedLineFeatures','1506186JApLgk','getArray','pointFeatures','onInternal','未获取到几何','MultiLineString','filter','pointStyle','2jFJdRr','addTempLayer','push','layerType','keyup','SELECTED','setSelectLayers','13270552HnStLK','getType','selectedPolygonFeatures','getVisible','selectIndex','fromType','selectstart','feature','dispatchEvent','getLineTempLayer','getSource','copy','drawaddpoint','drawend','canceLineStyle','map','loadFilter','Point','layerInfo','ctrlKey','allFeatures','setStyle','pixelDistance','648OpyUHk','union','lineFeatures','getGeometry','cancePointStyle','currentLayers','lineStyle','seletctEditeFeature','drawmoving','MultiPolygon','holdCtrl','polygonStyle'];a31_0x1fc4=function(){return _0x3190b2;};return a31_0x1fc4();}export default class Select extends a31_0x569d8f{constructor(_0x132e79,_0x53f66a){const _0x1a8d89=a31_0xb02d7e;super(_0x132e79,{'tipText':_0x53f66a===null||_0x53f66a===void 0x0?void 0x0:_0x53f66a['tipText']}),this[_0x1a8d89(0x17c)]=[],this[_0x1a8d89(0x180)]=[],this[_0x1a8d89(0x192)]=[],this[_0x1a8d89(0x165)]=[];const _0x595c22=_0x53f66a||{};this[_0x1a8d89(0x18a)]=_0x595c22[_0x1a8d89(0x18a)]||![],this[_0x1a8d89(0x155)]=_0x595c22['selectLayers'],this['selectTempLayer']=_0x595c22[_0x1a8d89(0x171)]===undefined?!![]:_0x595c22[_0x1a8d89(0x171)],this[_0x1a8d89(0x14f)]=_0x595c22[_0x1a8d89(0x14f)]===undefined?0x5:_0x595c22['pixelDistance'],this['pointStyle']=_0x595c22[_0x1a8d89(0x188)]?getStyle(_0x595c22[_0x1a8d89(0x188)]):getSelectPointStyle(),this[_0x1a8d89(0x154)]=_0x595c22[_0x1a8d89(0x154)]?getStyle(_0x595c22[_0x1a8d89(0x154)]):getSelectCancePointStyle(),this['lineStyle']=_0x595c22[_0x1a8d89(0x156)]?getStyle(_0x595c22['lineStyle']):getSelectLineStyle(),this[_0x1a8d89(0x19e)]=_0x595c22[_0x1a8d89(0x19e)]?getStyle(_0x595c22[_0x1a8d89(0x19e)]):getSelectCancelLineStyle(),this[_0x1a8d89(0x15b)]=_0x595c22[_0x1a8d89(0x15b)]?getStyle(_0x595c22[_0x1a8d89(0x15b)]):getSelectPolygonStyle(),this[_0x1a8d89(0x169)]=_0x595c22[_0x1a8d89(0x169)]?getStyle(_0x595c22['cancePolygonStyle']):getSelectCancelPolygonStyle(),this['holdCtrl']=![];let _0x5dd7fc;this['on']=this[_0x1a8d89(0x184)],this['on'](_0x1a8d89(0x19d),async _0x31b69d=>{const _0xd57a59=_0x1a8d89,_0x3ddcc0=this[_0xd57a59(0x15a)],_0x57b05b=this[_0xd57a59(0x179)]();if(!_0x57b05b)return;try{let _0x15058d=undefined;if(!_0x31b69d[_0xd57a59(0x197)]&&_0x31b69d[_0xd57a59(0x15e)]&&_0x31b69d[_0xd57a59(0x15e)][_0xd57a59(0x17b)]==0x1)_0x15058d=bufferPixel(new Point(_0x31b69d['coordinates'][0x0]),this['pixelDistance'],_0x57b05b);else _0x31b69d['feature']&&(_0x15058d=_0x31b69d['feature'][_0xd57a59(0x153)]());if(!_0x15058d)throw new Error(_0xd57a59(0x185));this[_0xd57a59(0x198)](new SelectEvent(SelectEventType['SELECTSTART'],_0x3ddcc0,_0x15058d)),this['selectedPointFeatures']=[],this[_0xd57a59(0x180)]=[],this[_0xd57a59(0x192)]=[],this[_0xd57a59(0x165)]=[],this['selectTempLayer']&&this['seletctEditeFeature'](_0x15058d),_0x5dd7fc&&clearTimeout(_0x5dd7fc),_0x5dd7fc=setTimeout(async()=>{const _0x19899b=_0xd57a59;await this['selectLayer'](_0x15058d),this[_0x19899b(0x198)](new SelectEvent(SelectEventType[_0x19899b(0x18e)],_0x3ddcc0,_0x15058d,_0x31b69d[_0x19899b(0x15e)],this[_0x19899b(0x17c)],this[_0x19899b(0x180)],this[_0x19899b(0x192)],this['allSelectedFeatures']));},0x46);}catch(_0x51443d){this[_0xd57a59(0x198)](new SelectEvent(SelectEventType['SELECTED'],_0x3ddcc0,undefined,_0x31b69d['coordinates'],this['selectedPointFeatures'],this[_0xd57a59(0x180)],this[_0xd57a59(0x192)],this['allSelectedFeatures'],_0x51443d['message']));}}),window[_0x1a8d89(0x16e)](_0x1a8d89(0x162),_0x9b94d7=>{const _0x652e29=_0x1a8d89;_0x9b94d7[_0x652e29(0x14c)]&&(this['holdCtrl']=!![]);}),window[_0x1a8d89(0x16e)](_0x1a8d89(0x18d),_0x53ceb8=>{const _0x51ba39=_0x1a8d89;this[_0x51ba39(0x15a)]=![];});}[a31_0xb02d7e(0x18f)](_0x50f915){const _0x17472e=a31_0xb02d7e;this[_0x17472e(0x155)]=_0x50f915;}async['selectLayer'](_0x1eb04e){const _0x4f3f5f=a31_0xb02d7e;var _0x5ae296;const _0x6918ed=this[_0x4f3f5f(0x179)]();let _0x5d3085=[];if(this[_0x4f3f5f(0x155)]&&this[_0x4f3f5f(0x155)][_0x4f3f5f(0x17b)]>0x0)_0x5d3085=this[_0x4f3f5f(0x155)];else{let _0x1848d8=_0x6918ed[_0x4f3f5f(0x173)]()[_0x4f3f5f(0x182)]();_0x1848d8=_0x1848d8[_0x4f3f5f(0x187)](_0x5251f2=>{const _0x15983d=_0x4f3f5f,_0xcf83a3=_0x5251f2['layerInfo'];if(!_0xcf83a3)return![];return _0x5251f2[_0x15983d(0x193)]()==!![]&&_0xcf83a3[_0x15983d(0x194)]!=undefined&&_0xcf83a3[_0x15983d(0x194)]!='';}),_0x5d3085=_0x1848d8[_0x4f3f5f(0x19f)](_0x34c855=>{const _0x4ef77f=_0x4f3f5f;return _0x34c855[_0x4ef77f(0x14b)];});}if(!_0x5d3085||_0x5d3085[_0x4f3f5f(0x17b)]==0x0)return;const _0x5d61db=_0x6918ed[_0x4f3f5f(0x16f)]()['getProjection']()[_0x4f3f5f(0x17d)]();for(let _0x4b6352=0x0,_0x7ee671=_0x5d3085[_0x4f3f5f(0x17b)];_0x4b6352<_0x7ee671;_0x4b6352++){const _0x32aeb0=_0x5d3085[_0x4b6352];if(!_0x32aeb0||!_0x32aeb0['url']||!_0x32aeb0[_0x4f3f5f(0x194)])continue;let _0x365f59=await selectFeaturesByGeo(_0x1eb04e,_0x5d61db,_0x32aeb0[_0x4f3f5f(0x174)],_0x32aeb0[_0x4f3f5f(0x194)],_0x32aeb0[_0x4f3f5f(0x18c)],_0x32aeb0[_0x4f3f5f(0x1a0)]);if(_0x365f59['length']>0x0){this[_0x4f3f5f(0x165)][_0x4f3f5f(0x18b)](..._0x365f59);let _0x1633dc=_0x6918ed[_0x4f3f5f(0x17e)](),_0x2b7970=this[_0x4f3f5f(0x15b)];switch((_0x5ae296=_0x365f59[0x0][_0x4f3f5f(0x153)]())===null||_0x5ae296===void 0x0?void 0x0:_0x5ae296[_0x4f3f5f(0x191)]()){case _0x4f3f5f(0x1a1):case'MultiPoint':this[_0x4f3f5f(0x17c)]['push'](..._0x365f59),_0x1633dc=_0x6918ed[_0x4f3f5f(0x16d)](),_0x2b7970=this[_0x4f3f5f(0x188)];break;case _0x4f3f5f(0x161):case _0x4f3f5f(0x186):this[_0x4f3f5f(0x180)]['push'](..._0x365f59),_0x1633dc=_0x6918ed[_0x4f3f5f(0x199)](),_0x2b7970=this[_0x4f3f5f(0x156)];break;case'Polygon':case _0x4f3f5f(0x159):this[_0x4f3f5f(0x192)][_0x4f3f5f(0x18b)](..._0x365f59),_0x1633dc=_0x6918ed['getPolygonTempLayer'](),_0x2b7970=this[_0x4f3f5f(0x15b)];break;default:break;}const _0x15b7e5=_0x1633dc[_0x4f3f5f(0x19a)]();_0x15b7e5&&(_0x365f59[_0x4f3f5f(0x178)](_0x49efe7=>{const _0x5af315=_0x4f3f5f;_0x49efe7[_0x5af315(0x17a)]=_0x32aeb0['id'],_0x49efe7[_0x5af315(0x175)]=_0x1633dc,_0x49efe7[_0x5af315(0x14e)](_0x2b7970);}),this['addTempLayer']&&_0x15b7e5[_0x4f3f5f(0x167)](_0x365f59));}}}[a31_0xb02d7e(0x157)](_0x2694f7){const _0x7d2afd=a31_0xb02d7e,_0x4b2ef3=new a31_0xac87b2(this['getMap']()),_0x383b3a=_0x4b2ef3[_0x7d2afd(0x163)]();if(!_0x383b3a||_0x383b3a['length']===0x0)return[];const _0x82b5a2=[_0x7d2afd(0x19b),_0x7d2afd(0x16a),'draw',_0x7d2afd(0x15d),_0x7d2afd(0x151)],_0xe6f5da=[];for(const _0x8e843a of _0x383b3a){if(!_0x8e843a||!_0x8e843a[_0x7d2afd(0x195)]||!_0x82b5a2[_0x7d2afd(0x16b)](_0x8e843a[_0x7d2afd(0x195)]))continue;const _0x223adb=_0x8e843a['getGeometry']();if(!_0x223adb)continue;if(!intersects(_0x223adb,_0x2694f7))continue;let _0x2029f0=this[_0x7d2afd(0x15b)];this[_0x7d2afd(0x165)][_0x7d2afd(0x18b)](_0x8e843a);switch(_0x223adb[_0x7d2afd(0x191)]()){case'Point':case _0x7d2afd(0x160):this[_0x7d2afd(0x17c)]['push'](_0x8e843a),_0x2029f0=this[_0x7d2afd(0x188)];break;case _0x7d2afd(0x161):case _0x7d2afd(0x186):this[_0x7d2afd(0x180)]['push'](_0x8e843a),_0x2029f0=this[_0x7d2afd(0x156)];break;case _0x7d2afd(0x15f):case _0x7d2afd(0x159):this['selectedPolygonFeatures'][_0x7d2afd(0x18b)](_0x8e843a),_0x2029f0=this[_0x7d2afd(0x15b)];break;default:break;}_0x8e843a[_0x7d2afd(0x14e)](_0x2029f0);}return _0xe6f5da;}}
@@ -1 +1 @@
1
- function a32_0x32bb(_0x11025e,_0x4d5696){const _0x8fe370=a32_0x8fe3();return a32_0x32bb=function(_0x32bb3a,_0x4cd9ad){_0x32bb3a=_0x32bb3a-0xde;let _0x57b8dd=_0x8fe370[_0x32bb3a];return _0x57b8dd;},a32_0x32bb(_0x11025e,_0x4d5696);}const a32_0xd176b5=a32_0x32bb;(function(_0x1cc7a1,_0x266f64){const _0x3383eb=a32_0x32bb,_0x5f021f=_0x1cc7a1();while(!![]){try{const _0x140377=parseInt(_0x3383eb(0xe4))/0x1+-parseInt(_0x3383eb(0xee))/0x2+-parseInt(_0x3383eb(0xe2))/0x3*(-parseInt(_0x3383eb(0xfa))/0x4)+parseInt(_0x3383eb(0xe1))/0x5+-parseInt(_0x3383eb(0xf1))/0x6*(parseInt(_0x3383eb(0xf5))/0x7)+parseInt(_0x3383eb(0xfb))/0x8*(parseInt(_0x3383eb(0xec))/0x9)+parseInt(_0x3383eb(0xf9))/0xa;if(_0x140377===_0x266f64)break;else _0x5f021f['push'](_0x5f021f['shift']());}catch(_0x2387e3){_0x5f021f['push'](_0x5f021f['shift']());}}}(a32_0x8fe3,0xe3fbb));import a32_0x3adcd4 from'ol/source/ImageArcGISRest';function a32_0x8fe3(){const _0x102e48=['anonymous','6zaffyE','layerInfo','spatialReference','selectIndex','9687839ofwKZX','updateParams','projection','sublayers','28212370XSKTjH','76aJGRYD','8NwCLkC','ymax','initialExtent','setFilter','wkt','996230bHKbwS','44937FAGwbX','xmin','3475dKUhqR','EPSG:','ymin','show:','fullExtent','getSource','wkid','loadFilter','4252761jhhxVS','opacity','2926584HUHWmg','stringify'];a32_0x8fe3=function(){return _0x102e48;};return a32_0x8fe3();}import{Image as a32_0x44b1d0}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a32_0x44b1d0{constructor(_0x17e23e,_0x5d9317){const _0x4c3383=a32_0x32bb;var _0x2f8a78;let _0x2d4412={'LAYERS':_0x4c3383(0xe7)+((_0x2f8a78=_0x17e23e[_0x4c3383(0xf8)])===null||_0x2f8a78===void 0x0?void 0x0:_0x2f8a78['join'](','))};if(_0x17e23e[_0x4c3383(0xeb)]&&_0x17e23e[_0x4c3383(0xf4)]){const _0x4d227a={};_0x4d227a[_0x17e23e[_0x4c3383(0xf4)]]=_0x17e23e['loadFilter'],_0x2d4412['layerDefs']=JSON['stringify'](_0x4d227a);}const _0x102455=[_0x5d9317['initialExtent'][_0x4c3383(0xe3)],_0x5d9317[_0x4c3383(0xde)][_0x4c3383(0xe6)],_0x5d9317['initialExtent']['xmax'],_0x5d9317['initialExtent'][_0x4c3383(0xfc)]],_0x3d00a4=[_0x5d9317[_0x4c3383(0xe8)][_0x4c3383(0xe3)],_0x5d9317['fullExtent'][_0x4c3383(0xe6)],_0x5d9317['fullExtent']['xmax'],_0x5d9317[_0x4c3383(0xe8)][_0x4c3383(0xfc)]];let _0x4d4be9;_0x5d9317[_0x4c3383(0xf3)][_0x4c3383(0xea)]?_0x4d4be9=registerProj(_0x4c3383(0xe5)+_0x5d9317[_0x4c3383(0xf3)]['wkid'],_0x3d00a4):_0x4d4be9=registerProj(_0x5d9317[_0x4c3383(0xf3)][_0x4c3383(0xe0)],_0x3d00a4),super({'opacity':_0x17e23e[_0x4c3383(0xed)],'zIndex':_0x17e23e['mapIndex'],'source':new a32_0x3adcd4({'crossOrigin':_0x4c3383(0xf0),'projection':_0x4d4be9,'ratio':0x1,'url':_0x17e23e['url'],'params':_0x2d4412})}),this['id']=_0x17e23e['id'],this[_0x4c3383(0xde)]=_0x102455,this[_0x4c3383(0xf7)]=_0x4d4be9,this[_0x4c3383(0xf2)]=_0x17e23e;}[a32_0xd176b5(0xdf)](_0x55f38e){const _0x15d4ed=a32_0xd176b5;var _0x47ff93;const _0x320769={};this['layerInfo'][_0x15d4ed(0xf4)]&&(_0x320769[this[_0x15d4ed(0xf2)][_0x15d4ed(0xf4)]]=_0x55f38e),(_0x47ff93=this[_0x15d4ed(0xe9)]())===null||_0x47ff93===void 0x0?void 0x0:_0x47ff93[_0x15d4ed(0xf6)]({'layerDefs':JSON[_0x15d4ed(0xef)](_0x55f38e)});}}
1
+ function a32_0x271c(){const _0x15d64d=['wkid','xmin','url','EPSG:','xmax','stringify','wkt','join','12335120IPGXOt','116LZYCnO','getSource','4320441qyhiBR','mapIndex','7869jIBfWc','3066580eGqeCB','ymax','selectIndex','198456Wpxgtx','projection','setFilter','layerInfo','fullExtent','1072778fbrpxn','layerDefs','spatialReference','2394910SsZBPC','updateParams','ymin','initialExtent','6OcPEuC','loadFilter'];a32_0x271c=function(){return _0x15d64d;};return a32_0x271c();}const a32_0x33b5e3=a32_0x413c;(function(_0x8e6c12,_0x3ff485){const _0x24bccf=a32_0x413c,_0x1da3a4=_0x8e6c12();while(!![]){try{const _0x2bc435=parseInt(_0x24bccf(0x11b))/0x1+parseInt(_0x24bccf(0x113))/0x2*(parseInt(_0x24bccf(0x117))/0x3)+-parseInt(_0x24bccf(0x118))/0x4+parseInt(_0x24bccf(0x123))/0x5*(parseInt(_0x24bccf(0x108))/0x6)+-parseInt(_0x24bccf(0x120))/0x7+parseInt(_0x24bccf(0x112))/0x8+-parseInt(_0x24bccf(0x115))/0x9;if(_0x2bc435===_0x3ff485)break;else _0x1da3a4['push'](_0x1da3a4['shift']());}catch(_0x29763a){_0x1da3a4['push'](_0x1da3a4['shift']());}}}(a32_0x271c,0xed2fa));import a32_0x252569 from'ol/source/ImageArcGISRest';function a32_0x413c(_0x225749,_0x585f34){const _0x271c8a=a32_0x271c();return a32_0x413c=function(_0x413c8a,_0xe7bdf1){_0x413c8a=_0x413c8a-0x106;let _0xa926ba=_0x271c8a[_0x413c8a];return _0xa926ba;},a32_0x413c(_0x225749,_0x585f34);}import{Image as a32_0x347ca7}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a32_0x347ca7{constructor(_0xa837c,_0x3423c0){const _0x16c3f4=a32_0x413c;var _0x406bef;let _0x1e0678={'LAYERS':'show:'+((_0x406bef=_0xa837c['sublayers'])===null||_0x406bef===void 0x0?void 0x0:_0x406bef[_0x16c3f4(0x111)](','))};if(_0xa837c[_0x16c3f4(0x109)]&&_0xa837c[_0x16c3f4(0x11a)]){const _0x4e6ae0={};_0x4e6ae0[_0xa837c[_0x16c3f4(0x11a)]]=_0xa837c[_0x16c3f4(0x109)],_0x1e0678[_0x16c3f4(0x121)]=JSON[_0x16c3f4(0x10f)](_0x4e6ae0);}const _0x59147c=[_0x3423c0['initialExtent'][_0x16c3f4(0x10b)],_0x3423c0['initialExtent'][_0x16c3f4(0x106)],_0x3423c0[_0x16c3f4(0x107)][_0x16c3f4(0x10e)],_0x3423c0[_0x16c3f4(0x107)][_0x16c3f4(0x119)]],_0x1c96dc=[_0x3423c0[_0x16c3f4(0x11f)][_0x16c3f4(0x10b)],_0x3423c0['fullExtent'][_0x16c3f4(0x106)],_0x3423c0[_0x16c3f4(0x11f)][_0x16c3f4(0x10e)],_0x3423c0[_0x16c3f4(0x11f)]['ymax']];let _0x5690fa;_0x3423c0[_0x16c3f4(0x122)][_0x16c3f4(0x10a)]?_0x5690fa=registerProj(_0x16c3f4(0x10d)+_0x3423c0[_0x16c3f4(0x122)][_0x16c3f4(0x10a)],_0x1c96dc):_0x5690fa=registerProj(_0x3423c0[_0x16c3f4(0x122)][_0x16c3f4(0x110)],_0x1c96dc),super({'opacity':_0xa837c['opacity'],'zIndex':_0xa837c[_0x16c3f4(0x116)],'source':new a32_0x252569({'crossOrigin':'anonymous','projection':_0x5690fa,'ratio':0x1,'url':_0xa837c[_0x16c3f4(0x10c)],'params':_0x1e0678})}),this['id']=_0xa837c['id'],this[_0x16c3f4(0x107)]=_0x59147c,this[_0x16c3f4(0x11c)]=_0x5690fa,this[_0x16c3f4(0x11e)]=_0xa837c;}[a32_0x33b5e3(0x11d)](_0x4aac80){const _0x573110=a32_0x33b5e3;var _0x656b2e;const _0x56527d={};this[_0x573110(0x11e)][_0x573110(0x11a)]&&(_0x56527d[this[_0x573110(0x11e)]['selectIndex']]=_0x4aac80),(_0x656b2e=this[_0x573110(0x114)]())===null||_0x656b2e===void 0x0?void 0x0:_0x656b2e[_0x573110(0x124)]({'layerDefs':JSON['stringify'](_0x4aac80)});}}
@@ -1 +1 @@
1
- const a33_0x3582d0=a33_0x50b7;(function(_0x2aa73c,_0x33c5dc){const _0x1cfa08=a33_0x50b7,_0x336612=_0x2aa73c();while(!![]){try{const _0x4c78f3=-parseInt(_0x1cfa08(0x1b1))/0x1+parseInt(_0x1cfa08(0x1aa))/0x2+parseInt(_0x1cfa08(0x1be))/0x3*(parseInt(_0x1cfa08(0x1c8))/0x4)+parseInt(_0x1cfa08(0x1c5))/0x5+-parseInt(_0x1cfa08(0x1b5))/0x6*(-parseInt(_0x1cfa08(0x1b9))/0x7)+-parseInt(_0x1cfa08(0x19d))/0x8*(parseInt(_0x1cfa08(0x1ad))/0x9)+-parseInt(_0x1cfa08(0x1b3))/0xa*(parseInt(_0x1cfa08(0x1bb))/0xb);if(_0x4c78f3===_0x33c5dc)break;else _0x336612['push'](_0x336612['shift']());}catch(_0x45b517){_0x336612['push'](_0x336612['shift']());}}}(a33_0x535c,0xc35ae));import a33_0x3ce4c9 from'ol/format/EsriJSON';import a33_0x233415 from'ol/source/Vector';function a33_0x50b7(_0x270326,_0x5d7286){const _0x535c32=a33_0x535c();return a33_0x50b7=function(_0x50b76e,_0x3cab09){_0x50b76e=_0x50b76e-0x19d;let _0x4ac410=_0x535c32[_0x50b76e];return _0x4ac410;},a33_0x50b7(_0x270326,_0x5d7286);}import{Vector as a33_0x31a4cb}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';function a33_0x535c(){const _0x199912=['showIndex','field1','xmax','error','drawingInfo','spatialReference','6149345pEhtAl','wkt','readFeatures','76kmbRIU','projection','mapIndex','split','addFeatures','defaultSymbol','forEach',',\x22spatialReference\x22:{\x22wkid\x22:','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','layerInfo','ymin','renderer','ymax','value','8bhFgjl','initialExtent','xmin','uniqueValue','createArcGISFeatureLayer','get','fullExtent','wkid','setFilter','string','push','symbol','&outFields=*','372890tNOlbk','then','where=','4802931nXCyUa','uniqueValueInfos','setStyle','f\x20=\x20json\x20&\x20','260122QCugAT','length','150XNSruE','url','30XBjGNW','loadFilter','type','/query','1847181GqnvWV','setLayers','1182555zOOQsq','1=1','EPSG:','74337yistRp'];a33_0x535c=function(){return _0x199912;};return a33_0x535c();}import{tile as a33_0x31c673}from'ol/loadingstrategy';import a33_0xbd1e14 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a33_0x5c9936 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a33_0xbd1e14{constructor(_0xb4269c,_0x4c345a,_0x1d3966){const _0x23ca52=a33_0x50b7,_0x22de53=[_0x4c345a[_0x23ca52(0x19e)][_0x23ca52(0x19f)],_0x4c345a[_0x23ca52(0x19e)]['ymin'],_0x4c345a[_0x23ca52(0x19e)][_0x23ca52(0x1c1)],_0x4c345a[_0x23ca52(0x19e)][_0x23ca52(0x1d4)]],_0x5bb5c0=[_0x4c345a['fullExtent']['xmin'],_0x4c345a[_0x23ca52(0x1a3)][_0x23ca52(0x1d2)],_0x4c345a[_0x23ca52(0x1a3)][_0x23ca52(0x1c1)],_0x4c345a[_0x23ca52(0x1a3)][_0x23ca52(0x1d4)]];let _0x1fcedd;_0x4c345a[_0x23ca52(0x1c4)][_0x23ca52(0x1a4)]?_0x1fcedd=registerProj(_0x23ca52(0x1bd)+_0x4c345a[_0x23ca52(0x1c4)][_0x23ca52(0x1a4)],_0x5bb5c0):_0x1fcedd=registerProj(_0x4c345a[_0x23ca52(0x1c4)][_0x23ca52(0x1c6)],_0x5bb5c0);let _0x32f29e=[];super({'zIndex':_0xb4269c[_0x23ca52(0x1ca)]});for(let _0x452c7a of _0x1d3966){let _0x51903e=this['createArcGISFeatureLayer'](_0xb4269c,_0x452c7a);_0x32f29e[_0x23ca52(0x1a7)](_0x51903e);}this[_0x23ca52(0x1ba)](new a33_0x5c9936(_0x32f29e)),this['id']=_0xb4269c['id'],this['initialExtent']=_0x22de53,this[_0x23ca52(0x1c9)]=_0x1fcedd,this[_0x23ca52(0x1d1)]=_0xb4269c;}[a33_0x3582d0(0x1a1)](_0x480eaf,_0x3b745e){const _0x25a2d3=a33_0x3582d0;var _0xa852d2=new a33_0x3ce4c9();let _0x29e73f=new a33_0x233415({'loader':function(_0xca8884,_0x1a6cee,_0xdac0a){const _0x3d450=a33_0x50b7;let _0x232d27=_0x3d450(0x1bc);_0x480eaf['loadFilter']&&(_0x232d27=typeof _0x480eaf[_0x3d450(0x1b6)]===_0x3d450(0x1a6)?_0x480eaf['loadFilter']:JSON['stringify'](_0x480eaf[_0x3d450(0x1b6)]));let _0x1bf12b=_0xdac0a['getCode'](),_0x3d8e67=_0x1bf12b[_0x3d450(0x1cb)](':')[0x1];var _0x5df7e2=appendPath(_0x3b745e[_0x3d450(0x1b4)],_0x3d450(0x1b8));_0x5df7e2=appendParam(_0x5df7e2,_0x3d450(0x1b0)+_0x3d450(0x1ac)+encodeURIComponent(_0x232d27)+_0x3d450(0x1d0)+encodeURIComponent('{\x22xmin\x22:'+_0xca8884[0x0]+',\x22ymin\x22:'+_0xca8884[0x1]+',\x22xmax\x22:'+_0xca8884[0x2]+',\x22ymax\x22:'+_0xca8884[0x3]+_0x3d450(0x1cf)+_0x3d8e67+'}}')+'&geometryType=esriGeometryEnvelope&inSR='+_0x3d8e67+_0x3d450(0x1a9)+'&outSR='+_0x3d8e67),jsonp(_0x5df7e2)[_0x3d450(0x1ab)](_0x351c6a=>{const _0x3ca828=_0x3d450;if(_0x351c6a[_0x3ca828(0x1c2)])console['log'](_0x351c6a);else{var _0x2a8219=_0xa852d2[_0x3ca828(0x1c7)](_0x351c6a,{'featureProjection':_0xdac0a});_0x2a8219[_0x3ca828(0x1b2)]>0x0&&(_0x3b745e['drawingInfo'][_0x3ca828(0x1d3)][_0x3ca828(0x1b7)]==_0x3ca828(0x1a0)&&_0x2a8219[_0x3ca828(0x1ce)](function(_0x3e7b0b){const _0x1c65ee=_0x3ca828;var _0x424499=_0x3e7b0b[_0x1c65ee(0x1a2)](_0x3b745e[_0x1c65ee(0x1c3)][_0x1c65ee(0x1d3)][_0x1c65ee(0x1c0)]);const _0x2ca0bd=_0x3b745e['drawingInfo']['renderer'][_0x1c65ee(0x1ae)]['find'](_0x3d0418=>_0x3d0418[_0x1c65ee(0x1d5)]==_0x424499);let _0x22a473;_0x2ca0bd?_0x22a473=transformedEsriStyle(_0x2ca0bd['symbol']):_0x22a473=transformedEsriStyle(_0x3b745e[_0x1c65ee(0x1c3)][_0x1c65ee(0x1d3)][_0x1c65ee(0x1cd)]),_0x3e7b0b[_0x1c65ee(0x1af)](_0x22a473);}),_0x29e73f[_0x3ca828(0x1cc)](_0x2a8219));}});},'strategy':a33_0x31c673(createXYZ({'tileSize':0x200}))}),_0x1a0885=new a33_0x31a4cb({'source':_0x29e73f,'zIndex':_0x480eaf[_0x25a2d3(0x1bf)]});if(_0x3b745e[_0x25a2d3(0x1c3)][_0x25a2d3(0x1d3)][_0x25a2d3(0x1b7)]=='simple'&&_0x3b745e[_0x25a2d3(0x1c3)]['renderer'][_0x25a2d3(0x1a8)]){let _0x1ee317=transformedEsriStyle(_0x3b745e['drawingInfo']['renderer'][_0x25a2d3(0x1a8)]);_0x1a0885[_0x25a2d3(0x1af)](_0x1ee317);}return _0x1a0885;}[a33_0x3582d0(0x1a5)](_0xe48212){const _0x1b2c73=a33_0x3582d0;this[_0x1b2c73(0x1d1)]['loadFilter']=_0xe48212;}}
1
+ const a33_0x23c586=a33_0xb67e;(function(_0x29edf7,_0x355d89){const _0x4b628e=a33_0xb67e,_0x150b28=_0x29edf7();while(!![]){try{const _0x567c46=-parseInt(_0x4b628e(0x1b7))/0x1*(parseInt(_0x4b628e(0x1b5))/0x2)+parseInt(_0x4b628e(0x1cf))/0x3*(-parseInt(_0x4b628e(0x1d1))/0x4)+parseInt(_0x4b628e(0x1aa))/0x5*(-parseInt(_0x4b628e(0x1c7))/0x6)+-parseInt(_0x4b628e(0x1c3))/0x7*(-parseInt(_0x4b628e(0x1cb))/0x8)+parseInt(_0x4b628e(0x1b4))/0x9+-parseInt(_0x4b628e(0x1d8))/0xa*(parseInt(_0x4b628e(0x1ab))/0xb)+parseInt(_0x4b628e(0x1c1))/0xc;if(_0x567c46===_0x355d89)break;else _0x150b28['push'](_0x150b28['shift']());}catch(_0x375d7c){_0x150b28['push'](_0x150b28['shift']());}}}(a33_0x2feb,0xb06b0));function a33_0xb67e(_0x2bdb43,_0x47a184){const _0x2febe7=a33_0x2feb();return a33_0xb67e=function(_0xb67e95,_0x4db6b4){_0xb67e95=_0xb67e95-0x1a1;let _0x38626d=_0x2febe7[_0xb67e95];return _0x38626d;},a33_0xb67e(_0x2bdb43,_0x47a184);}import a33_0x10f07f from'ol/format/EsriJSON';import a33_0x4ed804 from'ol/source/Vector';import{Vector as a33_0x228bf8}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a33_0x1b92cb}from'ol/loadingstrategy';import a33_0x2e674b from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a33_0x32ca90 from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';function a33_0x2feb(){const _0x35f1a7=[',\x22ymax\x22:','10068048wbzFjT','2133418hJBbtQ','then','1doBfLf','where=','layerInfo','spatialReference','EPSG:','setFilter','url','setStyle','length','fullExtent','36155148QCdoPo','xmin','21882DGuLwv','addFeatures','1=1','uniqueValueInfos','6HpXigK','find','split','get','1040LOoimc','showIndex',',\x22spatialReference\x22:{\x22wkid\x22:','symbol','366QINwUO','log','42184qmrrJv','push','string','defaultSymbol','createArcGISFeatureLayer','loadFilter',',\x22ymin\x22:','2405630rodnSK','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','ymax','&outFields=*','value','ymin','type','drawingInfo','{\x22xmin\x22:','f\x20=\x20json\x20&\x20',',\x22xmax\x22:','renderer','6107445xgFkfL','11GogBrD','&geometryType=esriGeometryEnvelope&inSR=','projection','initialExtent','setLayers','error','xmax','wkid'];a33_0x2feb=function(){return _0x35f1a7;};return a33_0x2feb();}export default class ArcgisFeatureLayer extends a33_0x2e674b{constructor(_0x102ded,_0x14dcb6,_0x164b13){const _0x4f8960=a33_0xb67e,_0x47ec21=[_0x14dcb6[_0x4f8960(0x1ae)][_0x4f8960(0x1c2)],_0x14dcb6[_0x4f8960(0x1ae)][_0x4f8960(0x1a3)],_0x14dcb6[_0x4f8960(0x1ae)]['xmax'],_0x14dcb6[_0x4f8960(0x1ae)][_0x4f8960(0x1da)]],_0x27bc57=[_0x14dcb6[_0x4f8960(0x1c0)][_0x4f8960(0x1c2)],_0x14dcb6[_0x4f8960(0x1c0)][_0x4f8960(0x1a3)],_0x14dcb6[_0x4f8960(0x1c0)][_0x4f8960(0x1b1)],_0x14dcb6[_0x4f8960(0x1c0)][_0x4f8960(0x1da)]];let _0x279744;_0x14dcb6['spatialReference'][_0x4f8960(0x1b2)]?_0x279744=registerProj(_0x4f8960(0x1bb)+_0x14dcb6[_0x4f8960(0x1ba)]['wkid'],_0x27bc57):_0x279744=registerProj(_0x14dcb6[_0x4f8960(0x1ba)]['wkt'],_0x27bc57);let _0x25eef6=[];super({'zIndex':_0x102ded['mapIndex']});for(let _0x584311 of _0x164b13){let _0x371c00=this[_0x4f8960(0x1d5)](_0x102ded,_0x584311);_0x25eef6[_0x4f8960(0x1d2)](_0x371c00);}this[_0x4f8960(0x1af)](new a33_0x32ca90(_0x25eef6)),this['id']=_0x102ded['id'],this['initialExtent']=_0x47ec21,this[_0x4f8960(0x1ad)]=_0x279744,this[_0x4f8960(0x1b9)]=_0x102ded;}[a33_0x23c586(0x1d5)](_0x2cea8c,_0x3dcbac){const _0x2dc0c2=a33_0x23c586;var _0x2fab60=new a33_0x10f07f();let _0x5d3ff9=new a33_0x4ed804({'loader':function(_0x44818f,_0x1ea611,_0x3c9800){const _0x3062ff=a33_0xb67e;let _0x3b6c7e=_0x3062ff(0x1c5);_0x2cea8c['loadFilter']&&(_0x3b6c7e=typeof _0x2cea8c[_0x3062ff(0x1d6)]===_0x3062ff(0x1d3)?_0x2cea8c[_0x3062ff(0x1d6)]:JSON['stringify'](_0x2cea8c[_0x3062ff(0x1d6)]));let _0x50e20e=_0x3c9800['getCode'](),_0x52b13c=_0x50e20e[_0x3062ff(0x1c9)](':')[0x1];var _0x271550=appendPath(_0x3dcbac[_0x3062ff(0x1bd)],'/query');_0x271550=appendParam(_0x271550,_0x3062ff(0x1a7)+_0x3062ff(0x1b8)+encodeURIComponent(_0x3b6c7e)+_0x3062ff(0x1d9)+encodeURIComponent(_0x3062ff(0x1a6)+_0x44818f[0x0]+_0x3062ff(0x1d7)+_0x44818f[0x1]+_0x3062ff(0x1a8)+_0x44818f[0x2]+_0x3062ff(0x1b3)+_0x44818f[0x3]+_0x3062ff(0x1cd)+_0x52b13c+'}}')+_0x3062ff(0x1ac)+_0x52b13c+_0x3062ff(0x1a1)+'&outSR='+_0x52b13c),jsonp(_0x271550)[_0x3062ff(0x1b6)](_0x56c54b=>{const _0x10a97f=_0x3062ff;if(_0x56c54b[_0x10a97f(0x1b0)])console[_0x10a97f(0x1d0)](_0x56c54b);else{var _0x264ae5=_0x2fab60['readFeatures'](_0x56c54b,{'featureProjection':_0x3c9800});_0x264ae5[_0x10a97f(0x1bf)]>0x0&&(_0x3dcbac[_0x10a97f(0x1a5)][_0x10a97f(0x1a9)][_0x10a97f(0x1a4)]=='uniqueValue'&&_0x264ae5['forEach'](function(_0x58964f){const _0x172893=_0x10a97f;var _0x28a589=_0x58964f[_0x172893(0x1ca)](_0x3dcbac[_0x172893(0x1a5)][_0x172893(0x1a9)]['field1']);const _0x5b708a=_0x3dcbac[_0x172893(0x1a5)][_0x172893(0x1a9)][_0x172893(0x1c6)][_0x172893(0x1c8)](_0x160a5c=>_0x160a5c[_0x172893(0x1a2)]==_0x28a589);let _0x56c52e;_0x5b708a?_0x56c52e=transformedEsriStyle(_0x5b708a[_0x172893(0x1ce)]):_0x56c52e=transformedEsriStyle(_0x3dcbac[_0x172893(0x1a5)][_0x172893(0x1a9)][_0x172893(0x1d4)]),_0x58964f[_0x172893(0x1be)](_0x56c52e);}),_0x5d3ff9[_0x10a97f(0x1c4)](_0x264ae5));}});},'strategy':a33_0x1b92cb(createXYZ({'tileSize':0x200}))}),_0x53f3d5=new a33_0x228bf8({'source':_0x5d3ff9,'zIndex':_0x2cea8c[_0x2dc0c2(0x1cc)]});if(_0x3dcbac[_0x2dc0c2(0x1a5)]['renderer'][_0x2dc0c2(0x1a4)]=='simple'&&_0x3dcbac[_0x2dc0c2(0x1a5)][_0x2dc0c2(0x1a9)][_0x2dc0c2(0x1ce)]){let _0x171d26=transformedEsriStyle(_0x3dcbac[_0x2dc0c2(0x1a5)][_0x2dc0c2(0x1a9)][_0x2dc0c2(0x1ce)]);_0x53f3d5[_0x2dc0c2(0x1be)](_0x171d26);}return _0x53f3d5;}[a33_0x23c586(0x1bc)](_0x1b67ca){const _0x26dfe6=a33_0x23c586;this[_0x26dfe6(0x1b9)][_0x26dfe6(0x1d6)]=_0x1b67ca;}}
@@ -1 +1 @@
1
- function a34_0x2c2f(_0x589be7,_0xc0f9a2){const _0x1f01ef=a34_0x1f01();return a34_0x2c2f=function(_0x2c2f2f,_0x284d30){_0x2c2f2f=_0x2c2f2f-0xda;let _0x26db19=_0x1f01ef[_0x2c2f2f];return _0x26db19;},a34_0x2c2f(_0x589be7,_0xc0f9a2);}function a34_0x1f01(){const _0x541581=['origin','push','294389LnwfZR','3vhLzeg','4703106PpfQpx','wkt','xmax','url','resolution','1188275hhLfDk','opacity','projection','anonymous','lods','5417576uWgKGE','EPSG:','initialExtent','908224koaDzc','xmin','fullExtent','tileInfo','spatialReference','rows','cols','mapIndex','/tile/{z}/{y}/{x}','wkid','ymin','21860955ervXtN','187412ymDfcI','7OQmuFF'];a34_0x1f01=function(){return _0x541581;};return a34_0x1f01();}(function(_0x547384,_0x19d1a4){const _0x464c91=a34_0x2c2f,_0x51e02c=_0x547384();while(!![]){try{const _0x112de8=-parseInt(_0x464c91(0xe3))/0x1+-parseInt(_0x464c91(0xf2))/0x2+parseInt(_0x464c91(0xe4))/0x3*(-parseInt(_0x464c91(0xdf))/0x4)+parseInt(_0x464c91(0xea))/0x5+-parseInt(_0x464c91(0xe5))/0x6+parseInt(_0x464c91(0xe0))/0x7*(-parseInt(_0x464c91(0xef))/0x8)+parseInt(_0x464c91(0xde))/0x9;if(_0x112de8===_0x19d1a4)break;else _0x51e02c['push'](_0x51e02c['shift']());}catch(_0x3655ef){_0x51e02c['push'](_0x51e02c['shift']());}}}(a34_0x1f01,0x64288));import a34_0x1f1348 from'ol/layer/Tile';import a34_0x113c8d from'ol/source/XYZ';import a34_0x27dbee from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a34_0x1f1348{constructor(_0x539d60,_0x4afe5a){const _0x314942=a34_0x2c2f,_0x19e30e=_0x539d60['url']?_0x539d60[_0x314942(0xe8)]:'',_0x20ba22=appendPath(_0x19e30e,_0x314942(0xdb)),_0x2dd4c8=[_0x4afe5a[_0x314942(0xf1)]['xmin'],_0x4afe5a[_0x314942(0xf1)][_0x314942(0xdd)],_0x4afe5a[_0x314942(0xf1)][_0x314942(0xe7)],_0x4afe5a['initialExtent']['ymax']],_0x13d6d4=[_0x4afe5a[_0x314942(0xf4)][_0x314942(0xf3)],_0x4afe5a['fullExtent'][_0x314942(0xdd)],_0x4afe5a[_0x314942(0xf4)][_0x314942(0xe7)],_0x4afe5a[_0x314942(0xf4)]['ymax']];let _0x3315ff;_0x4afe5a[_0x314942(0xf6)][_0x314942(0xdc)]?_0x3315ff=registerProj(_0x314942(0xf0)+_0x4afe5a[_0x314942(0xf6)][_0x314942(0xdc)],_0x13d6d4):_0x3315ff=registerProj(_0x4afe5a[_0x314942(0xf6)][_0x314942(0xe6)],_0x13d6d4);let _0x3a450a=[];for(let _0x133c16=0x0,_0x3ef66b=_0x4afe5a[_0x314942(0xf5)][_0x314942(0xee)]['length'];_0x133c16<_0x3ef66b;_0x133c16++){_0x3a450a[_0x314942(0xe2)](_0x4afe5a['tileInfo'][_0x314942(0xee)][_0x133c16][_0x314942(0xe9)]);}super({'opacity':_0x539d60[_0x314942(0xeb)],'zIndex':_0x539d60[_0x314942(0xda)],'maxResolution':_0x3a450a[0x0]*0x2,'source':new a34_0x113c8d({'url':_0x20ba22,'projection':_0x3315ff,'crossOrigin':_0x314942(0xed),'tileGrid':new a34_0x27dbee({'extent':_0x13d6d4,'origin':[_0x4afe5a[_0x314942(0xf5)][_0x314942(0xe1)]['x'],_0x4afe5a[_0x314942(0xf5)][_0x314942(0xe1)]['y']],'resolutions':_0x3a450a,'tileSize':[_0x4afe5a[_0x314942(0xf5)][_0x314942(0xf7)],_0x4afe5a['tileInfo'][_0x314942(0xf8)]]})})}),this['id']=_0x539d60['id'],this['initialExtent']=_0x2dd4c8,this[_0x314942(0xec)]=_0x3315ff,this['layerInfo']=_0x539d60;}}
1
+ (function(_0x54788b,_0x4a7e10){const _0x46d3b4=a34_0x2f58,_0x3551de=_0x54788b();while(!![]){try{const _0x4ebb76=parseInt(_0x46d3b4(0x8d))/0x1+parseInt(_0x46d3b4(0x97))/0x2+-parseInt(_0x46d3b4(0x8c))/0x3+-parseInt(_0x46d3b4(0x9f))/0x4*(parseInt(_0x46d3b4(0xa3))/0x5)+-parseInt(_0x46d3b4(0x95))/0x6+-parseInt(_0x46d3b4(0x8e))/0x7*(parseInt(_0x46d3b4(0x98))/0x8)+-parseInt(_0x46d3b4(0x9b))/0x9*(-parseInt(_0x46d3b4(0x93))/0xa);if(_0x4ebb76===_0x4a7e10)break;else _0x3551de['push'](_0x3551de['shift']());}catch(_0x5913e7){_0x3551de['push'](_0x3551de['shift']());}}}(a34_0x5736,0x5741c));function a34_0x5736(){const _0x36c93e=['initialExtent','24297wGsujW','85088ahBclH','14XLWtXm','ymin','ymax','origin','xmax','290TsgnSM','projection','1919910XGVrBQ','url','1355208kjBxDj','2686312LIvPnR','EPSG:','xmin','310770NkURJB','wkid','cols','tileInfo','8pxbMbz','layerInfo','fullExtent','/tile/{z}/{y}/{x}','1017490QPFYVo','resolution','spatialReference','anonymous','opacity','mapIndex','lods'];a34_0x5736=function(){return _0x36c93e;};return a34_0x5736();}function a34_0x2f58(_0x32b08a,_0x39e2cd){const _0x5736bd=a34_0x5736();return a34_0x2f58=function(_0x2f585c,_0x7e91ad){_0x2f585c=_0x2f585c-0x88;let _0x4c865f=_0x5736bd[_0x2f585c];return _0x4c865f;},a34_0x2f58(_0x32b08a,_0x39e2cd);}import a34_0x5ab094 from'ol/layer/Tile';import a34_0x1fe38d from'ol/source/XYZ';import a34_0xe39275 from'ol/tilegrid/TileGrid';import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a34_0x5ab094{constructor(_0x351adb,_0x685787){const _0x41fe74=a34_0x2f58,_0x1d910b=_0x351adb[_0x41fe74(0x96)]?_0x351adb[_0x41fe74(0x96)]:'',_0xeb5d3c=appendPath(_0x1d910b,_0x41fe74(0xa2)),_0x594f2d=[_0x685787['initialExtent'][_0x41fe74(0x9a)],_0x685787[_0x41fe74(0x8b)][_0x41fe74(0x8f)],_0x685787[_0x41fe74(0x8b)][_0x41fe74(0x92)],_0x685787['initialExtent'][_0x41fe74(0x90)]],_0x59b6fb=[_0x685787['fullExtent'][_0x41fe74(0x9a)],_0x685787[_0x41fe74(0xa1)][_0x41fe74(0x8f)],_0x685787[_0x41fe74(0xa1)]['xmax'],_0x685787['fullExtent'][_0x41fe74(0x90)]];let _0x5cc1f5;_0x685787['spatialReference'][_0x41fe74(0x9c)]?_0x5cc1f5=registerProj(_0x41fe74(0x99)+_0x685787[_0x41fe74(0xa5)][_0x41fe74(0x9c)],_0x59b6fb):_0x5cc1f5=registerProj(_0x685787[_0x41fe74(0xa5)]['wkt'],_0x59b6fb);let _0x334ac9=[];for(let _0x5ba744=0x0,_0x133eb8=_0x685787[_0x41fe74(0x9e)][_0x41fe74(0x8a)]['length'];_0x5ba744<_0x133eb8;_0x5ba744++){_0x334ac9['push'](_0x685787[_0x41fe74(0x9e)][_0x41fe74(0x8a)][_0x5ba744][_0x41fe74(0xa4)]);}super({'opacity':_0x351adb[_0x41fe74(0x88)],'zIndex':_0x351adb[_0x41fe74(0x89)],'maxResolution':_0x334ac9[0x0]*0x2,'source':new a34_0x1fe38d({'url':_0xeb5d3c,'projection':_0x5cc1f5,'crossOrigin':_0x41fe74(0xa6),'tileGrid':new a34_0xe39275({'extent':_0x59b6fb,'origin':[_0x685787[_0x41fe74(0x9e)][_0x41fe74(0x91)]['x'],_0x685787[_0x41fe74(0x9e)]['origin']['y']],'resolutions':_0x334ac9,'tileSize':[_0x685787['tileInfo']['rows'],_0x685787[_0x41fe74(0x9e)][_0x41fe74(0x9d)]]})})}),this['id']=_0x351adb['id'],this[_0x41fe74(0x8b)]=_0x594f2d,this[_0x41fe74(0x94)]=_0x5cc1f5,this[_0x41fe74(0xa0)]=_0x351adb;}}
@@ -1 +1 @@
1
- const a35_0x2d39eb=a35_0x5045;(function(_0x17caed,_0xe49c2b){const _0x4ef958=a35_0x5045,_0x199a1a=_0x17caed();while(!![]){try{const _0x23cc73=parseInt(_0x4ef958(0x86))/0x1+parseInt(_0x4ef958(0x94))/0x2+-parseInt(_0x4ef958(0x88))/0x3+parseInt(_0x4ef958(0x8d))/0x4+-parseInt(_0x4ef958(0x81))/0x5*(parseInt(_0x4ef958(0x87))/0x6)+-parseInt(_0x4ef958(0x7f))/0x7+-parseInt(_0x4ef958(0x7e))/0x8;if(_0x23cc73===_0xe49c2b)break;else _0x199a1a['push'](_0x199a1a['shift']());}catch(_0x2455c4){_0x199a1a['push'](_0x199a1a['shift']());}}}(a35_0x5f47,0x8f58f));function a35_0x5f47(){const _0x1f5b76=['projection','refresh','updateParams','url','1886238gQOzSq','1.1.0','2563952zSMViL','6889463xhmpIx','initialExtent','89215xDYlPj','join','EPSG:','loadFilter','initExtent','1074272OcMjyu','318PvkwpK','677973txScXK','wkid','mapIndex','CQL_FILTER','opacity','4184532ohkbuL','sublayers','layerInfo'];a35_0x5f47=function(){return _0x1f5b76;};return a35_0x5f47();}function a35_0x5045(_0x3b4465,_0x205163){const _0x5f4727=a35_0x5f47();return a35_0x5045=function(_0x504515,_0x22d81b){_0x504515=_0x504515-0x7e;let _0x353c20=_0x5f4727[_0x504515];return _0x353c20;},a35_0x5045(_0x3b4465,_0x205163);}import{ImageWMS as a35_0x506b25}from'ol/source';import{Image as a35_0x56ff84}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a35_0x56ff84{constructor(_0x599fd5,_0x5654fe){const _0xdcb053=a35_0x5045;var _0x44f4b1;let _0x402b9a=registerProj(_0xdcb053(0x83)+_0x5654fe[_0xdcb053(0x89)],undefined),_0x325894={'LAYERS':(_0x44f4b1=_0x599fd5[_0xdcb053(0x8e)])===null||_0x44f4b1===void 0x0?void 0x0:_0x44f4b1[_0xdcb053(0x82)](','),'VERSION':_0xdcb053(0x95)};_0x599fd5[_0xdcb053(0x84)]&&(_0x325894[_0xdcb053(0x8b)]=_0x599fd5[_0xdcb053(0x84)]),super({'opacity':_0x599fd5[_0xdcb053(0x8c)],'zIndex':_0x599fd5[_0xdcb053(0x8a)],'source':new a35_0x506b25({'crossOrigin':'anonymous','url':_0x599fd5[_0xdcb053(0x93)],'params':_0x325894})}),this['id']=_0x599fd5['id'],this[_0xdcb053(0x80)]=_0x5654fe[_0xdcb053(0x85)],this[_0xdcb053(0x90)]=_0x402b9a,this[_0xdcb053(0x8f)]=_0x599fd5;}[a35_0x2d39eb(0x91)](){}['setFilter'](_0xc6659){const _0x4c00ef=a35_0x2d39eb;var _0x2356a1;(_0x2356a1=this['getSource']())===null||_0x2356a1===void 0x0?void 0x0:_0x2356a1[_0x4c00ef(0x92)]({'CQL_FILTER':_0xc6659});}}
1
+ const a35_0x2cea5d=a35_0x2ad8;(function(_0x311e20,_0x5ace42){const _0x40f709=a35_0x2ad8,_0x55f656=_0x311e20();while(!![]){try{const _0x1eb2e7=-parseInt(_0x40f709(0x103))/0x1+-parseInt(_0x40f709(0x105))/0x2+parseInt(_0x40f709(0x111))/0x3*(parseInt(_0x40f709(0xff))/0x4)+parseInt(_0x40f709(0x107))/0x5+parseInt(_0x40f709(0xfe))/0x6+parseInt(_0x40f709(0x106))/0x7+-parseInt(_0x40f709(0x10e))/0x8*(parseInt(_0x40f709(0x109))/0x9);if(_0x1eb2e7===_0x5ace42)break;else _0x55f656['push'](_0x55f656['shift']());}catch(_0x5b8ef2){_0x55f656['push'](_0x55f656['shift']());}}}(a35_0x11d0,0xcfd2c));function a35_0x2ad8(_0x49633c,_0x130d68){const _0x11d062=a35_0x11d0();return a35_0x2ad8=function(_0x2ad80f,_0x822d){_0x2ad80f=_0x2ad80f-0xfe;let _0x579551=_0x11d062[_0x2ad80f];return _0x579551;},a35_0x2ad8(_0x49633c,_0x130d68);}import{ImageWMS as a35_0x3e4cf9}from'ol/source';function a35_0x11d0(){const _0x3d35e9=['847406dRPFQf','8931146Nugtjd','3355495YDIZDZ','initialExtent','58770azPtui','mapIndex','CQL_FILTER','join','wkid','2064YFUaXy','url','opacity','105444NdNAny','7727298EHYGJO','84DQuhjO','getSource','loadFilter','setFilter','1013281iQHQDE','initExtent'];a35_0x11d0=function(){return _0x3d35e9;};return a35_0x11d0();}import{Image as a35_0x12e5df}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a35_0x12e5df{constructor(_0x435115,_0x238d6c){const _0x4b76e3=a35_0x2ad8;var _0x49a30d;let _0x47a63c=registerProj('EPSG:'+_0x238d6c[_0x4b76e3(0x10d)],undefined),_0x21043b={'LAYERS':(_0x49a30d=_0x435115['sublayers'])===null||_0x49a30d===void 0x0?void 0x0:_0x49a30d[_0x4b76e3(0x10c)](','),'VERSION':'1.1.0'};_0x435115[_0x4b76e3(0x101)]&&(_0x21043b[_0x4b76e3(0x10b)]=_0x435115[_0x4b76e3(0x101)]),super({'opacity':_0x435115[_0x4b76e3(0x110)],'zIndex':_0x435115[_0x4b76e3(0x10a)],'source':new a35_0x3e4cf9({'crossOrigin':'anonymous','url':_0x435115[_0x4b76e3(0x10f)],'params':_0x21043b})}),this['id']=_0x435115['id'],this[_0x4b76e3(0x108)]=_0x238d6c[_0x4b76e3(0x104)],this['projection']=_0x47a63c,this['layerInfo']=_0x435115;}['refresh'](){}[a35_0x2cea5d(0x102)](_0x75ebbf){const _0x4fa07c=a35_0x2cea5d;var _0x27428a;(_0x27428a=this[_0x4fa07c(0x100)]())===null||_0x27428a===void 0x0?void 0x0:_0x27428a['updateParams']({'CQL_FILTER':_0x75ebbf});}}
@@ -1 +1 @@
1
- (function(_0x48db49,_0x2262ce){const _0x324bee=a36_0x457e,_0x555096=_0x48db49();while(!![]){try{const _0x4f8b37=parseInt(_0x324bee(0x18e))/0x1+parseInt(_0x324bee(0x17d))/0x2*(parseInt(_0x324bee(0x195))/0x3)+parseInt(_0x324bee(0x180))/0x4+-parseInt(_0x324bee(0x18d))/0x5+-parseInt(_0x324bee(0x193))/0x6*(parseInt(_0x324bee(0x19d))/0x7)+-parseInt(_0x324bee(0x191))/0x8*(-parseInt(_0x324bee(0x17c))/0x9)+-parseInt(_0x324bee(0x187))/0xa;if(_0x4f8b37===_0x2262ce)break;else _0x555096['push'](_0x555096['shift']());}catch(_0x3c1cb1){_0x555096['push'](_0x555096['shift']());}}}(a36_0x2ccf,0xd3099));import a36_0x194966 from'ol/layer/Tile';import a36_0x49577a,{optionsFromCapabilities}from'ol/source/WMTS.js';import a36_0xb1b667 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a36_0x194966{constructor(_0x1cf405,_0x540010){const _0x5627ad=a36_0x457e;var _0x4cd0d1;let _0x3d4376='';_0x1cf405[_0x5627ad(0x184)]&&_0x1cf405[_0x5627ad(0x184)][_0x5627ad(0x19b)]>0x0&&(_0x3d4376=_0x1cf405[_0x5627ad(0x184)][_0x5627ad(0x18f)](','));const _0x3e61f0=_0x5627ad(0x197)+_0x540010['wkid'];let _0x4ba841=registerProj(_0x3e61f0);const _0x563665=optionsFromCapabilities(_0x540010[_0x5627ad(0x185)],{'layer':(_0x4cd0d1=_0x1cf405[_0x5627ad(0x184)])===null||_0x4cd0d1===void 0x0?void 0x0:_0x4cd0d1[0x0],'matrixSet':_0x540010[_0x5627ad(0x189)],'format':_0x5627ad(0x199)});let _0x57d381=_0x563665['tileGrid']['origins_'][0x0];_0x57d381[0x0]===0x5a&&_0x57d381[0x1]===-0xb4&&(_0x57d381=[_0x57d381[0x1],_0x57d381[0x0]]),super({'opacity':_0x1cf405[_0x5627ad(0x19c)],'zIndex':_0x1cf405['mapIndex'],'source':new a36_0x49577a({'urls':_0x563665[_0x5627ad(0x179)],'requestEncoding':_0x563665[_0x5627ad(0x194)],'layer':_0x563665[_0x5627ad(0x192)],'tileLoadFunction':function(_0x566448,_0x331a62){const _0x5163f3=_0x5627ad,_0x4ed84e=_0x1cf405[_0x5163f3(0x17e)]?_0x1cf405[_0x5163f3(0x17e)]:'';let _0x2bc555=getUrlParams(_0x4ed84e);if((_0x2bc555===null||_0x2bc555===void 0x0?void 0x0:_0x2bc555[_0x5163f3(0x19b)])>0x0)for(let _0x4673d7 of _0x2bc555){_0x331a62=addArgument(_0x331a62,_0x4673d7[_0x5163f3(0x17b)],_0x4673d7[_0x5163f3(0x18c)]);}let _0x47fb92=_0x331a62[_0x5163f3(0x182)](_0x5163f3(0x198));_0x47fb92!==-0x1?_0x331a62[_0x5163f3(0x182)](_0x5163f3(0x188))===-0x1&&_0x331a62[_0x5163f3(0x182)]('tk')===-0x1?_0x566448[_0x5163f3(0x19e)]()[_0x5163f3(0x190)]=_0x331a62[_0x5163f3(0x186)]('&','?'):_0x566448[_0x5163f3(0x19e)]()[_0x5163f3(0x190)]=_0x331a62:_0x566448[_0x5163f3(0x19e)]()[_0x5163f3(0x190)]=_0x331a62;},'matrixSet':_0x563665[_0x5627ad(0x17f)],'format':_0x563665['format'],'projection':_0x563665[_0x5627ad(0x18a)],'tileGrid':new a36_0xb1b667({'origin':_0x57d381,'resolutions':_0x563665[_0x5627ad(0x19a)][_0x5627ad(0x196)](),'matrixIds':_0x563665[_0x5627ad(0x19a)][_0x5627ad(0x18b)](),'extent':_0x540010[_0x5627ad(0x181)]}),'style':_0x540010[_0x5627ad(0x183)],'wrapX':!![]})}),this['id']=_0x1cf405['id'],this[_0x5627ad(0x17a)]=_0x540010[_0x5627ad(0x181)],this['projection']=_0x4ba841,this['layerInfo']=_0x1cf405;}}function a36_0x457e(_0xf46623,_0x414d16){const _0x2ccfa0=a36_0x2ccf();return a36_0x457e=function(_0x457efb,_0x2735dd){_0x457efb=_0x457efb-0x179;let _0x4179a8=_0x2ccfa0[_0x457efb];return _0x4179a8;},a36_0x457e(_0xf46623,_0x414d16);}function a36_0x2ccf(){const _0x376989=['boundingBoxExtent','indexOf','style','sublayers','sourceXml','replace','4752020vqfsRX','token','tileMatrixSet','projection','getMatrixIds','value','846595NyUDDv','1092282uQyrBL','join','src','537296KHuYMA','layer','184578bPgsno','requestEncoding','30579aHFRRV','getResolutions','EPSG:','?http','image/png','tileGrid','length','opacity','329xTFYde','getImage','urls','initialExtent','name','90vPJflA','200ltMknM','url','matrixSet','686356eMtrKm'];a36_0x2ccf=function(){return _0x376989;};return a36_0x2ccf();}
1
+ function a36_0x391e(){const _0x297902=['projection','src','getMatrixIds','972756Eolsld','312cXEtPY','layer','11880RQaDOO','6186jCygBJ','requestEncoding','replace','length','token','layerInfo','140270jWJuHd','wkid','?http','opacity','join','boundingBoxExtent','indexOf','format','4711608cGLcwG','4XXtzqE','url','sublayers','getImage','mapIndex','name','52lKsHpp','11ZsBFGl','origins_','46151FBpOPU','4735190LanlkT','urls','tileGrid'];a36_0x391e=function(){return _0x297902;};return a36_0x391e();}(function(_0xc69b0,_0x3c2812){const _0x7fc736=a36_0x58b1,_0x46a526=_0xc69b0();while(!![]){try{const _0x151eea=-parseInt(_0x7fc736(0xfe))/0x1*(-parseInt(_0x7fc736(0xef))/0x2)+parseInt(_0x7fc736(0xeb))/0x3+parseInt(_0x7fc736(0xe1))/0x4*(-parseInt(_0x7fc736(0xf5))/0x5)+-parseInt(_0x7fc736(0xee))/0x6+parseInt(_0x7fc736(0xe4))/0x7*(parseInt(_0x7fc736(0xec))/0x8)+parseInt(_0x7fc736(0xfd))/0x9+parseInt(_0x7fc736(0xe5))/0xa*(-parseInt(_0x7fc736(0xe2))/0xb);if(_0x151eea===_0x3c2812)break;else _0x46a526['push'](_0x46a526['shift']());}catch(_0x402a3e){_0x46a526['push'](_0x46a526['shift']());}}}(a36_0x391e,0x43a46));import a36_0x4922de from'ol/layer/Tile';function a36_0x58b1(_0x425620,_0x3c49dd){const _0x391e75=a36_0x391e();return a36_0x58b1=function(_0x58b1ab,_0x3445f2){_0x58b1ab=_0x58b1ab-0xdc;let _0x3cbd6f=_0x391e75[_0x58b1ab];return _0x3cbd6f;},a36_0x58b1(_0x425620,_0x3c49dd);}import a36_0x28ae18,{optionsFromCapabilities}from'ol/source/WMTS.js';import a36_0x2af1f7 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a36_0x4922de{constructor(_0x5ce7dd,_0x1409ad){const _0x3e4f4c=a36_0x58b1;var _0x203f44;let _0x490db1='';_0x5ce7dd[_0x3e4f4c(0xdd)]&&_0x5ce7dd[_0x3e4f4c(0xdd)][_0x3e4f4c(0xf2)]>0x0&&(_0x490db1=_0x5ce7dd[_0x3e4f4c(0xdd)][_0x3e4f4c(0xf9)](','));const _0xba62db='EPSG:'+_0x1409ad[_0x3e4f4c(0xf6)];let _0x382190=registerProj(_0xba62db);const _0x572e07=optionsFromCapabilities(_0x1409ad['sourceXml'],{'layer':(_0x203f44=_0x5ce7dd[_0x3e4f4c(0xdd)])===null||_0x203f44===void 0x0?void 0x0:_0x203f44[0x0],'matrixSet':_0x1409ad['tileMatrixSet'],'format':'image/png'});let _0x128dea=_0x572e07[_0x3e4f4c(0xe7)][_0x3e4f4c(0xe3)][0x0];_0x128dea[0x0]===0x5a&&_0x128dea[0x1]===-0xb4&&(_0x128dea=[_0x128dea[0x1],_0x128dea[0x0]]),super({'opacity':_0x5ce7dd[_0x3e4f4c(0xf8)],'zIndex':_0x5ce7dd[_0x3e4f4c(0xdf)],'source':new a36_0x28ae18({'urls':_0x572e07[_0x3e4f4c(0xe6)],'requestEncoding':_0x572e07[_0x3e4f4c(0xf0)],'layer':_0x572e07[_0x3e4f4c(0xed)],'tileLoadFunction':function(_0x26f8af,_0x1a554a){const _0x31ad96=_0x3e4f4c,_0xab095b=_0x5ce7dd[_0x31ad96(0xdc)]?_0x5ce7dd[_0x31ad96(0xdc)]:'';let _0x59f052=getUrlParams(_0xab095b);if((_0x59f052===null||_0x59f052===void 0x0?void 0x0:_0x59f052['length'])>0x0)for(let _0x11e581 of _0x59f052){_0x1a554a=addArgument(_0x1a554a,_0x11e581[_0x31ad96(0xe0)],_0x11e581['value']);}let _0x37d958=_0x1a554a[_0x31ad96(0xfb)](_0x31ad96(0xf7));_0x37d958!==-0x1?_0x1a554a[_0x31ad96(0xfb)](_0x31ad96(0xf3))===-0x1&&_0x1a554a[_0x31ad96(0xfb)]('tk')===-0x1?_0x26f8af[_0x31ad96(0xde)]()['src']=_0x1a554a[_0x31ad96(0xf1)]('&','?'):_0x26f8af[_0x31ad96(0xde)]()[_0x31ad96(0xe9)]=_0x1a554a:_0x26f8af[_0x31ad96(0xde)]()['src']=_0x1a554a;},'matrixSet':_0x572e07['matrixSet'],'format':_0x572e07[_0x3e4f4c(0xfc)],'projection':_0x572e07['projection'],'tileGrid':new a36_0x2af1f7({'origin':_0x128dea,'resolutions':_0x572e07[_0x3e4f4c(0xe7)]['getResolutions'](),'matrixIds':_0x572e07[_0x3e4f4c(0xe7)][_0x3e4f4c(0xea)](),'extent':_0x1409ad[_0x3e4f4c(0xfa)]}),'style':_0x1409ad['style'],'wrapX':!![]})}),this['id']=_0x5ce7dd['id'],this['initialExtent']=_0x1409ad[_0x3e4f4c(0xfa)],this[_0x3e4f4c(0xe8)]=_0x382190,this[_0x3e4f4c(0xf4)]=_0x5ce7dd;}}
@@ -1 +1 @@
1
- (function(_0x158cc6,_0x1f6aea){const _0x9a8007=a37_0x2f97,_0x2774f2=_0x158cc6();while(!![]){try{const _0x3ac15b=-parseInt(_0x9a8007(0x169))/0x1+-parseInt(_0x9a8007(0x16f))/0x2+-parseInt(_0x9a8007(0x17b))/0x3*(-parseInt(_0x9a8007(0x177))/0x4)+parseInt(_0x9a8007(0x168))/0x5*(parseInt(_0x9a8007(0x167))/0x6)+-parseInt(_0x9a8007(0x176))/0x7*(parseInt(_0x9a8007(0x16d))/0x8)+-parseInt(_0x9a8007(0x17a))/0x9*(-parseInt(_0x9a8007(0x174))/0xa)+-parseInt(_0x9a8007(0x16a))/0xb*(parseInt(_0x9a8007(0x17d))/0xc);if(_0x3ac15b===_0x1f6aea)break;else _0x2774f2['push'](_0x2774f2['shift']());}catch(_0x52d28d){_0x2774f2['push'](_0x2774f2['shift']());}}}(a37_0x31df,0xa9a19));function a37_0x2f97(_0xea2f90,_0x40ada4){const _0x31df19=a37_0x31df();return a37_0x2f97=function(_0x2f97f8,_0x1684ae){_0x2f97f8=_0x2f97f8-0x166;let _0x508a2d=_0x31df19[_0x2f97f8];return _0x508a2d;},a37_0x2f97(_0xea2f90,_0x40ada4);}import a37_0x558757 from'ol/layer/VectorTile';import a37_0x105e26 from'ol/source/VectorTile';import a37_0x59ce6b from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a37_0x28f4b1 from'ol/tilegrid/WMTS';function a37_0x31df(){const _0x2861be=['tileMatrixSet','mapIndex','9DBzpIs','117uNzWil','origins_','1994628bteFZE','WMTS','GetTile','style','tileSizes_','{x}','getMatrixIds','opacity','url','toString','length','3879654XfLySp','10WassYT','721094mELTuW','55vPjHoC','tileGrid','wkid','88ROYWdl','sublayers','2702866IPnBmj','boundingBoxExtent','getResolutions','initialExtent','layerInfo','10657670iFbBUx','projection','46319zbOfzn','134588XbhFOW'];a37_0x31df=function(){return _0x2861be;};return a37_0x31df();}import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a37_0x558757{constructor(_0x20394e,_0x5cca80){const _0x2448d8=a37_0x2f97;var _0x415ce6;let _0x1543f0=registerProj('EPSG:'+_0x5cca80[_0x2448d8(0x16c)]);const _0x5173cc=optionsFromCapabilities(_0x5cca80['sourceXml'],{'layer':(_0x415ce6=_0x20394e['sublayers'])===null||_0x415ce6===void 0x0?void 0x0:_0x415ce6[0x0],'matrixSet':_0x5cca80[_0x2448d8(0x178)],'format':'image/png'});let _0x250d0f=_0x20394e['sublayers']&&_0x20394e[_0x2448d8(0x16e)][_0x2448d8(0x166)]>0x0?_0x20394e['sublayers'][0x0]:'';const _0x51ee10={'REQUEST':_0x2448d8(0x17f),'SERVICE':_0x2448d8(0x17e),'VERSION':'1.0.0','LAYER':_0x250d0f,'STYLE':_0x5cca80[_0x2448d8(0x180)][_0x2448d8(0x186)](),'TILEMATRIX':_0x5cca80[_0x2448d8(0x178)]+':{z}','TILEMATRIXSET':_0x5cca80['tileMatrixSet'][_0x2448d8(0x186)](),'FORMAT':'application/vnd.mapbox-vector-tile','TILECOL':_0x2448d8(0x182),'TILEROW':'{y}'};let _0x19f034=_0x20394e[_0x2448d8(0x185)]?_0x20394e[_0x2448d8(0x185)]:'';for(const _0x38d4ba in _0x51ee10){_0x19f034=addArgument(_0x19f034,_0x38d4ba,_0x51ee10[_0x38d4ba]);}super({'opacity':_0x20394e[_0x2448d8(0x184)],'zIndex':_0x20394e[_0x2448d8(0x179)],'declutter':!![],'source':new a37_0x105e26({'projection':'EPSG:'+_0x5cca80[_0x2448d8(0x16c)],'format':new a37_0x59ce6b(),'wrapX':!![],'extent':_0x5cca80['boundingBoxExtent'],'tileGrid':new a37_0x28f4b1({'tileSize':_0x5173cc['tileGrid'][_0x2448d8(0x181)][0x0],'origin':_0x5173cc[_0x2448d8(0x16b)][_0x2448d8(0x17c)][0x0],'resolutions':_0x5173cc['tileGrid'][_0x2448d8(0x171)](),'matrixIds':_0x5173cc['tileGrid'][_0x2448d8(0x183)]()}),'url':_0x19f034})}),this['id']=_0x20394e['id'],this[_0x2448d8(0x172)]=_0x5cca80[_0x2448d8(0x170)],this[_0x2448d8(0x175)]=_0x1543f0,this[_0x2448d8(0x173)]=_0x20394e;}}
1
+ (function(_0x1c4dc6,_0x223cae){const _0x30450a=a37_0xfdfa,_0x21be38=_0x1c4dc6();while(!![]){try{const _0x1be546=-parseInt(_0x30450a(0x1a6))/0x1+-parseInt(_0x30450a(0x194))/0x2*(parseInt(_0x30450a(0x1a8))/0x3)+-parseInt(_0x30450a(0x18c))/0x4*(-parseInt(_0x30450a(0x19e))/0x5)+-parseInt(_0x30450a(0x1a9))/0x6*(-parseInt(_0x30450a(0x1ac))/0x7)+-parseInt(_0x30450a(0x191))/0x8+parseInt(_0x30450a(0x192))/0x9*(parseInt(_0x30450a(0x1ad))/0xa)+parseInt(_0x30450a(0x18f))/0xb*(parseInt(_0x30450a(0x197))/0xc);if(_0x1be546===_0x223cae)break;else _0x21be38['push'](_0x21be38['shift']());}catch(_0x2d84fc){_0x21be38['push'](_0x21be38['shift']());}}}(a37_0x34ae,0xa434b));import a37_0x5c1de9 from'ol/layer/VectorTile';import a37_0x4d4787 from'ol/source/VectorTile';import a37_0x20b3f4 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';function a37_0xfdfa(_0xd65e69,_0x441405){const _0x34ae07=a37_0x34ae();return a37_0xfdfa=function(_0xfdfa0b,_0x4c3a8f){_0xfdfa0b=_0xfdfa0b-0x18b;let _0x22695b=_0x34ae07[_0xfdfa0b];return _0x22695b;},a37_0xfdfa(_0xd65e69,_0x441405);}import a37_0x793aa0 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a37_0x5c1de9{constructor(_0x1b4ace,_0xa96364){const _0x124568=a37_0xfdfa;var _0x43adcc;let _0x1c4ecd=registerProj(_0x124568(0x195)+_0xa96364[_0x124568(0x1ab)]);const _0x5be4a9=optionsFromCapabilities(_0xa96364[_0x124568(0x190)],{'layer':(_0x43adcc=_0x1b4ace[_0x124568(0x1a5)])===null||_0x43adcc===void 0x0?void 0x0:_0x43adcc[0x0],'matrixSet':_0xa96364[_0x124568(0x18b)],'format':_0x124568(0x1a2)});let _0x57e567=_0x1b4ace['sublayers']&&_0x1b4ace[_0x124568(0x1a5)]['length']>0x0?_0x1b4ace[_0x124568(0x1a5)][0x0]:'';const _0xc89c9={'REQUEST':_0x124568(0x19b),'SERVICE':'WMTS','VERSION':_0x124568(0x1a0),'LAYER':_0x57e567,'STYLE':_0xa96364[_0x124568(0x19d)][_0x124568(0x19f)](),'TILEMATRIX':_0xa96364[_0x124568(0x18b)]+_0x124568(0x19a),'TILEMATRIXSET':_0xa96364[_0x124568(0x18b)]['toString'](),'FORMAT':_0x124568(0x18e),'TILECOL':_0x124568(0x198),'TILEROW':_0x124568(0x1a1)};let _0xa60e71=_0x1b4ace[_0x124568(0x19c)]?_0x1b4ace[_0x124568(0x19c)]:'';for(const _0x51cc34 in _0xc89c9){_0xa60e71=addArgument(_0xa60e71,_0x51cc34,_0xc89c9[_0x51cc34]);}super({'opacity':_0x1b4ace[_0x124568(0x1a7)],'zIndex':_0x1b4ace[_0x124568(0x193)],'declutter':!![],'source':new a37_0x4d4787({'projection':_0x124568(0x195)+_0xa96364[_0x124568(0x1ab)],'format':new a37_0x20b3f4(),'wrapX':!![],'extent':_0xa96364['boundingBoxExtent'],'tileGrid':new a37_0x793aa0({'tileSize':_0x5be4a9[_0x124568(0x196)]['tileSizes_'][0x0],'origin':_0x5be4a9[_0x124568(0x196)][_0x124568(0x1aa)][0x0],'resolutions':_0x5be4a9[_0x124568(0x196)]['getResolutions'](),'matrixIds':_0x5be4a9[_0x124568(0x196)][_0x124568(0x18d)]()}),'url':_0xa60e71})}),this['id']=_0x1b4ace['id'],this[_0x124568(0x1a4)]=_0xa96364['boundingBoxExtent'],this[_0x124568(0x199)]=_0x1c4ecd,this[_0x124568(0x1a3)]=_0x1b4ace;}}function a37_0x34ae(){const _0x1aa23b=['application/vnd.mapbox-vector-tile','33ncFtTp','sourceXml','1151848hZoUpC','216549pSKGUC','mapIndex','101794BwxqZb','EPSG:','tileGrid','5465352QZPpEA','{x}','projection',':{z}','GetTile','url','style','271515aFKtgj','toString','1.0.0','{y}','image/png','layerInfo','initialExtent','sublayers','645038hCaMoU','opacity','66SjxlqA','384mOJdru','origins_','wkid','5677ufLLMh','190QwCOUd','tileMatrixSet','52kaJkey','getMatrixIds'];a37_0x34ae=function(){return _0x1aa23b;};return a37_0x34ae();}
@@ -1 +1 @@
1
- const a38_0x568d9e=a38_0x3d59;function a38_0x3d59(_0x4b630c,_0x4b6ae0){const _0x3a78d6=a38_0x3a78();return a38_0x3d59=function(_0x3d5980,_0x38001c){_0x3d5980=_0x3d5980-0x190;let _0x16abb0=_0x3a78d6[_0x3d5980];return _0x16abb0;},a38_0x3d59(_0x4b630c,_0x4b6ae0);}function a38_0x3a78(){const _0x16a19e=['apply','greaterThanOrEqualTo','warn','find','initialExtent','2CDdGNw','406350RulAou','mapIndex','filter','553890zVKecS','504855DjVKwv','layerFields','5bLKCgd','fieldType','serializeToString','lessThanOrEqualTo','addFeatures','getSource','readFeatures','json','11AIMzRj','parseFilter','type字段不存在','30uFODOr','6668488uhTdwY','projection','type','EPSG:','between','notEqualTo','push','9280884hsgcWV','length','url','equalTo','param','7SbofNR','not','then','layerInfo','writeGetFeature','initExtent','toLowerCase','2493588uYMVeN','removeLoadedExtent','POST','524756azfdDM','string','lessThan'];a38_0x3a78=function(){return _0x16a19e;};return a38_0x3a78();}(function(_0x118944,_0x5b5a84){const _0x564701=a38_0x3d59,_0x1d1a30=_0x118944();while(!![]){try{const _0x5c3393=-parseInt(_0x564701(0x1a1))/0x1*(-parseInt(_0x564701(0x1a9))/0x2)+-parseInt(_0x564701(0x1aa))/0x3+parseInt(_0x564701(0x19e))/0x4+-parseInt(_0x564701(0x1b0))/0x5*(parseInt(_0x564701(0x1ad))/0x6)+-parseInt(_0x564701(0x197))/0x7*(-parseInt(_0x564701(0x1bc))/0x8)+parseInt(_0x564701(0x1ae))/0x9*(-parseInt(_0x564701(0x1bb))/0xa)+parseInt(_0x564701(0x1b8))/0xb*(-parseInt(_0x564701(0x192))/0xc);if(_0x5c3393===_0x5b5a84)break;else _0x1d1a30['push'](_0x1d1a30['shift']());}catch(_0x5429e7){_0x1d1a30['push'](_0x1d1a30['shift']());}}}(a38_0x3a78,0xc64e1));import a38_0x5ce853 from'ol/source/Vector';import a38_0xd2e9d1 from'ol/format/GeoJSON';import{Vector as a38_0x482eed}from'ol/layer';import a38_0x50cb04 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a38_0x1f4186 from'../utils/format/CQL';import*as a38_0x314216 from'ol/format/filter';export default class GeoserverWFSLayer extends a38_0x482eed{constructor(_0x1fb56c,_0x4cb814){const _0x56ba4e=a38_0x3d59;let _0x45e4bc=registerProj(_0x56ba4e(0x1bf)+_0x4cb814['wkid']);const _0x10b537=_0x4cb814[_0x56ba4e(0x1af)][_0x56ba4e(0x1a7)](_0x12a807=>_0x12a807[_0x56ba4e(0x1b1)]==0x6);super({'zIndex':_0x1fb56c[_0x56ba4e(0x1ab)],'source':new a38_0x5ce853({'format':new a38_0xd2e9d1(),'loader':(_0x934428,_0x2bb521,_0x2aee9f,_0xdd7c7d,_0x2f11b7)=>{const _0x575c5a=_0x56ba4e;let _0x39bd13=_0x1fb56c['loadFilter'],_0x1760bc={'srsName':_0x2aee9f['getCode'](),'featureTypes':_0x1fb56c['sublayers'],'bbox':_0x934428,'geometryName':_0x10b537?_0x10b537['name']:'','outputFormat':'application/json'};_0x39bd13&&(typeof _0x39bd13===_0x575c5a(0x1a2)?_0x1760bc[_0x575c5a(0x1ac)]=new a38_0x1f4186()['read'](_0x39bd13):_0x1760bc[_0x575c5a(0x1ac)]=this['parseFilter'](_0x39bd13));var _0x1d549b=new a38_0x50cb04()[_0x575c5a(0x19b)](_0x1760bc);let _0x3f74d2=_0x1fb56c[_0x575c5a(0x194)]?_0x1fb56c['url']:'';fetch(_0x3f74d2,{'method':_0x575c5a(0x1a0),'body':new XMLSerializer()[_0x575c5a(0x1b2)](_0x1d549b)})[_0x575c5a(0x199)](_0x3746e0=>{const _0x35ca68=_0x575c5a;return _0x3746e0[_0x35ca68(0x1b7)]();})[_0x575c5a(0x199)](_0x1908cd=>{const _0x3f7c79=_0x575c5a,_0xfb9428=new a38_0xd2e9d1()[_0x3f7c79(0x1b6)](_0x1908cd);let _0x58ba9d=this[_0x3f7c79(0x1b5)]();_0x58ba9d&&_0x58ba9d[_0x3f7c79(0x1b4)](_0xfb9428);if(_0xdd7c7d)_0xdd7c7d(_0xfb9428);})['catch'](()=>{const _0x21e310=_0x575c5a;let _0x370f5f=this[_0x21e310(0x1b5)]();_0x370f5f&&_0x370f5f[_0x21e310(0x19f)](_0x934428);if(_0x2f11b7)_0x2f11b7();});},'strategy':bbox})}),this['id']=_0x1fb56c['id'],this[_0x56ba4e(0x1a8)]=_0x4cb814[_0x56ba4e(0x19c)],this[_0x56ba4e(0x1bd)]=_0x45e4bc,this[_0x56ba4e(0x19a)]=_0x1fb56c;}[a38_0x568d9e(0x1b9)](_0x28178b){const _0x30f080=a38_0x568d9e;if(!_0x28178b['type']){console[_0x30f080(0x1a6)](_0x30f080(0x1ba));return;}if(!_0x28178b[_0x30f080(0x196)]){console[_0x30f080(0x1a6)]('param字段不存在');return;}let _0x2c91ed=[];switch(_0x28178b[_0x30f080(0x1be)][_0x30f080(0x19d)]()){case'and':for(let _0x239998=0x0;_0x239998<_0x28178b[_0x30f080(0x196)][_0x30f080(0x193)];_0x239998++){let _0x1497a5=this[_0x30f080(0x1b9)](_0x28178b[_0x30f080(0x196)][_0x239998]);_0x2c91ed[_0x30f080(0x191)](_0x1497a5);}return a38_0x314216['and'][_0x30f080(0x1a4)](null,_0x2c91ed);case'or':for(let _0x862c7a=0x0;_0x862c7a<_0x28178b[_0x30f080(0x196)]['length'];_0x862c7a++){let _0x17ef85=this['parseFilter'](_0x28178b[_0x30f080(0x196)][_0x862c7a]);_0x2c91ed['push'](_0x17ef85);}return a38_0x314216['or'][_0x30f080(0x1a4)](null,_0x2c91ed);case _0x30f080(0x198):for(let _0x3eb016=0x0;_0x3eb016<_0x28178b[_0x30f080(0x196)][_0x30f080(0x193)];_0x3eb016++){let _0x35c689=this['parseFilter'](_0x28178b[_0x30f080(0x196)][_0x3eb016]);_0x2c91ed['push'](_0x35c689);}return a38_0x314216[_0x30f080(0x198)][_0x30f080(0x1a4)](null,_0x2c91ed);case'=':return a38_0x314216[_0x30f080(0x195)](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case'!==':return a38_0x314216[_0x30f080(0x190)](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case'>':return a38_0x314216['greaterThan'](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case'<':return a38_0x314216[_0x30f080(0x1a3)](_0x28178b['param'][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case'>=':return a38_0x314216[_0x30f080(0x1a5)](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case'<=':return a38_0x314216[_0x30f080(0x1b3)](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1]);case _0x30f080(0x1c0):return a38_0x314216[_0x30f080(0x1c0)](_0x28178b[_0x30f080(0x196)][0x0],_0x28178b[_0x30f080(0x196)][0x1],_0x28178b[_0x30f080(0x196)][0x2]);}}}
1
+ function a38_0x9d5d(_0x535b3f,_0x13afd6){const _0x51cf3b=a38_0x51cf();return a38_0x9d5d=function(_0x9d5db5,_0x31ac5b){_0x9d5db5=_0x9d5db5-0xd4;let _0x165785=_0x51cf3b[_0x9d5db5];return _0x165785;},a38_0x9d5d(_0x535b3f,_0x13afd6);}const a38_0x37d323=a38_0x9d5d;function a38_0x51cf(){const _0x3e1d26=['781FKrhrQ','serializeToString','type','catch','POST','3868479VzZZYc','not','between','2799643WrxVSI','warn','param','303ZxfCXj','string','lessThan','length','initExtent','1744520JcBkgz','sublayers','222380CaOOnj','parseFilter','read','readFeatures','17932XqvoZZ','param字段不存在','382812lqqpMh','filter','loadFilter','writeGetFeature','then','push','type字段不存在','toLowerCase','application/json','!==','409186xrWgbD','getSource','removeLoadedExtent','notEqualTo','EPSG:','projection','name','greaterThanOrEqualTo','and','url','apply','getCode','initialExtent','equalTo','json','6MmDYQs','lessThanOrEqualTo','8FTEdQh'];a38_0x51cf=function(){return _0x3e1d26;};return a38_0x51cf();}(function(_0x279774,_0x37940e){const _0xbeb8d3=a38_0x9d5d,_0x4aa358=_0x279774();while(!![]){try{const _0xa2d5cd=parseInt(_0xbeb8d3(0xee))/0x1+-parseInt(_0xbeb8d3(0xf8))/0x2+parseInt(_0xbeb8d3(0xe1))/0x3*(parseInt(_0xbeb8d3(0xec))/0x4)+parseInt(_0xbeb8d3(0xe6))/0x5+-parseInt(_0xbeb8d3(0x107))/0x6*(-parseInt(_0xbeb8d3(0xde))/0x7)+-parseInt(_0xbeb8d3(0xd5))/0x8*(-parseInt(_0xbeb8d3(0xdb))/0x9)+-parseInt(_0xbeb8d3(0xe8))/0xa*(parseInt(_0xbeb8d3(0xd6))/0xb);if(_0xa2d5cd===_0x37940e)break;else _0x4aa358['push'](_0x4aa358['shift']());}catch(_0x5a57ca){_0x4aa358['push'](_0x4aa358['shift']());}}}(a38_0x51cf,0x38584));import a38_0x37eb49 from'ol/source/Vector';import a38_0xc1a3ed from'ol/format/GeoJSON';import{Vector as a38_0x132a99}from'ol/layer';import a38_0x349268 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a38_0x28017b from'../utils/format/CQL';import*as a38_0x5b06b1 from'ol/format/filter';export default class GeoserverWFSLayer extends a38_0x132a99{constructor(_0x2c7257,_0x138e24){const _0x394813=a38_0x9d5d;let _0x38fe9a=registerProj(_0x394813(0xfc)+_0x138e24['wkid']);const _0x10bfae=_0x138e24['layerFields']['find'](_0x45b54b=>_0x45b54b['fieldType']==0x6);super({'zIndex':_0x2c7257['mapIndex'],'source':new a38_0x37eb49({'format':new a38_0xc1a3ed(),'loader':(_0x1d4bca,_0x309cfe,_0x457aa1,_0xee4e98,_0x2404f3)=>{const _0xf4577b=_0x394813;let _0x21ab73=_0x2c7257[_0xf4577b(0xf0)],_0x1714cd={'srsName':_0x457aa1[_0xf4577b(0x103)](),'featureTypes':_0x2c7257[_0xf4577b(0xe7)],'bbox':_0x1d4bca,'geometryName':_0x10bfae?_0x10bfae[_0xf4577b(0xfe)]:'','outputFormat':_0xf4577b(0xf6)};_0x21ab73&&(typeof _0x21ab73===_0xf4577b(0xe2)?_0x1714cd[_0xf4577b(0xef)]=new a38_0x28017b()[_0xf4577b(0xea)](_0x21ab73):_0x1714cd[_0xf4577b(0xef)]=this[_0xf4577b(0xe9)](_0x21ab73));var _0x247139=new a38_0x349268()[_0xf4577b(0xf1)](_0x1714cd);let _0xa01629=_0x2c7257[_0xf4577b(0x101)]?_0x2c7257[_0xf4577b(0x101)]:'';fetch(_0xa01629,{'method':_0xf4577b(0xda),'body':new XMLSerializer()[_0xf4577b(0xd7)](_0x247139)})['then'](_0x4bf4c6=>{const _0x3fa72d=_0xf4577b;return _0x4bf4c6[_0x3fa72d(0x106)]();})[_0xf4577b(0xf2)](_0x4a1f8e=>{const _0x10af10=_0xf4577b,_0x215bd3=new a38_0xc1a3ed()[_0x10af10(0xeb)](_0x4a1f8e);let _0x4d0db2=this[_0x10af10(0xf9)]();_0x4d0db2&&_0x4d0db2['addFeatures'](_0x215bd3);if(_0xee4e98)_0xee4e98(_0x215bd3);})[_0xf4577b(0xd9)](()=>{const _0x2d89ce=_0xf4577b;let _0x28f78a=this[_0x2d89ce(0xf9)]();_0x28f78a&&_0x28f78a[_0x2d89ce(0xfa)](_0x1d4bca);if(_0x2404f3)_0x2404f3();});},'strategy':bbox})}),this['id']=_0x2c7257['id'],this[_0x394813(0x104)]=_0x138e24[_0x394813(0xe5)],this[_0x394813(0xfd)]=_0x38fe9a,this['layerInfo']=_0x2c7257;}[a38_0x37d323(0xe9)](_0x21d56a){const _0x482a23=a38_0x37d323;if(!_0x21d56a[_0x482a23(0xd8)]){console[_0x482a23(0xdf)](_0x482a23(0xf4));return;}if(!_0x21d56a[_0x482a23(0xe0)]){console[_0x482a23(0xdf)](_0x482a23(0xed));return;}let _0xc3094=[];switch(_0x21d56a[_0x482a23(0xd8)][_0x482a23(0xf5)]()){case _0x482a23(0x100):for(let _0x4fe2d9=0x0;_0x4fe2d9<_0x21d56a[_0x482a23(0xe0)]['length'];_0x4fe2d9++){let _0x2f2272=this['parseFilter'](_0x21d56a[_0x482a23(0xe0)][_0x4fe2d9]);_0xc3094[_0x482a23(0xf3)](_0x2f2272);}return a38_0x5b06b1[_0x482a23(0x100)][_0x482a23(0x102)](null,_0xc3094);case'or':for(let _0x6784ca=0x0;_0x6784ca<_0x21d56a[_0x482a23(0xe0)][_0x482a23(0xe4)];_0x6784ca++){let _0x53bd28=this[_0x482a23(0xe9)](_0x21d56a[_0x482a23(0xe0)][_0x6784ca]);_0xc3094['push'](_0x53bd28);}return a38_0x5b06b1['or'][_0x482a23(0x102)](null,_0xc3094);case _0x482a23(0xdc):for(let _0x299f50=0x0;_0x299f50<_0x21d56a[_0x482a23(0xe0)][_0x482a23(0xe4)];_0x299f50++){let _0x1100dc=this[_0x482a23(0xe9)](_0x21d56a[_0x482a23(0xe0)][_0x299f50]);_0xc3094['push'](_0x1100dc);}return a38_0x5b06b1['not'][_0x482a23(0x102)](null,_0xc3094);case'=':return a38_0x5b06b1[_0x482a23(0x105)](_0x21d56a[_0x482a23(0xe0)][0x0],_0x21d56a[_0x482a23(0xe0)][0x1]);case _0x482a23(0xf7):return a38_0x5b06b1[_0x482a23(0xfb)](_0x21d56a['param'][0x0],_0x21d56a[_0x482a23(0xe0)][0x1]);case'>':return a38_0x5b06b1['greaterThan'](_0x21d56a[_0x482a23(0xe0)][0x0],_0x21d56a[_0x482a23(0xe0)][0x1]);case'<':return a38_0x5b06b1[_0x482a23(0xe3)](_0x21d56a[_0x482a23(0xe0)][0x0],_0x21d56a['param'][0x1]);case'>=':return a38_0x5b06b1[_0x482a23(0xff)](_0x21d56a[_0x482a23(0xe0)][0x0],_0x21d56a['param'][0x1]);case'<=':return a38_0x5b06b1[_0x482a23(0xd4)](_0x21d56a[_0x482a23(0xe0)][0x0],_0x21d56a[_0x482a23(0xe0)][0x1]);case'between':return a38_0x5b06b1[_0x482a23(0xdd)](_0x21d56a['param'][0x0],_0x21d56a[_0x482a23(0xe0)][0x1],_0x21d56a[_0x482a23(0xe0)][0x2]);}}}
@@ -1 +1 @@
1
- (function(_0x47a616,_0x41710d){const _0x1399dc=a39_0x7d5a,_0x1296fa=_0x47a616();while(!![]){try{const _0x3b1ab8=parseInt(_0x1399dc(0x180))/0x1+parseInt(_0x1399dc(0x18b))/0x2*(parseInt(_0x1399dc(0x182))/0x3)+parseInt(_0x1399dc(0x18a))/0x4*(-parseInt(_0x1399dc(0x185))/0x5)+-parseInt(_0x1399dc(0x193))/0x6+parseInt(_0x1399dc(0x181))/0x7+parseInt(_0x1399dc(0x18c))/0x8*(-parseInt(_0x1399dc(0x17f))/0x9)+parseInt(_0x1399dc(0x194))/0xa*(parseInt(_0x1399dc(0x190))/0xb);if(_0x3b1ab8===_0x41710d)break;else _0x1296fa['push'](_0x1296fa['shift']());}catch(_0x2310d9){_0x1296fa['push'](_0x1296fa['shift']());}}}(a39_0x1269,0xe2f2e));function a39_0x7d5a(_0x1c0cca,_0x37cea8){const _0x1269d9=a39_0x1269();return a39_0x7d5a=function(_0x7d5a99,_0x13a3b1){_0x7d5a99=_0x7d5a99-0x17f;let _0x587c90=_0x1269d9[_0x7d5a99];return _0x587c90;},a39_0x7d5a(_0x1c0cca,_0x37cea8);}function a39_0x1269(){const _0x13967a=['5875EZydsN','url','loadFilter','mapIndex','join','1492puHDeh','6OxcAqV','16408LVIfkt','EPSG:','CQL_FILTER','updateParams','13573461YrHeKP','anonymous','opacity','2954412RNnAKI','10keZGJE','2331eIBVUE','570809NQdRIo','1786393MQhjrf','331509miaoFQ','initialExtent','wkid'];a39_0x1269=function(){return _0x13967a;};return a39_0x1269();}import{ImageWMS as a39_0x4396af}from'ol/source';import{Image as a39_0x206912}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a39_0x206912{constructor(_0x137a85,_0x39b87b){const _0x22c8e7=a39_0x7d5a;var _0x1c9b5d;let _0x3e3c8b=registerProj(_0x22c8e7(0x18d)+_0x39b87b[_0x22c8e7(0x184)]),_0x2e2ede={'LAYERS':(_0x1c9b5d=_0x137a85['sublayers'])===null||_0x1c9b5d===void 0x0?void 0x0:_0x1c9b5d[_0x22c8e7(0x189)](','),'VERSION':'1.1.0'};_0x137a85[_0x22c8e7(0x187)]&&(_0x2e2ede[_0x22c8e7(0x18e)]=_0x137a85[_0x22c8e7(0x187)]),super({'opacity':_0x137a85[_0x22c8e7(0x192)],'zIndex':_0x137a85[_0x22c8e7(0x188)],'source':new a39_0x4396af({'crossOrigin':_0x22c8e7(0x191),'url':_0x137a85[_0x22c8e7(0x186)],'params':_0x2e2ede})}),this['id']=_0x137a85['id'],this[_0x22c8e7(0x183)]=_0x39b87b['initExtent'],this['projection']=_0x3e3c8b,this['layerInfo']=_0x137a85;}['refresh'](){}['setFilter'](_0x321a6c){const _0x2af510=a39_0x7d5a;var _0x26629f;(_0x26629f=this['getSource']())===null||_0x26629f===void 0x0?void 0x0:_0x26629f[_0x2af510(0x18f)]({'CQL_FILTER':_0x321a6c});}}
1
+ const a39_0x3ec2be=a39_0x1f78;(function(_0x1ba42c,_0x431df8){const _0xd24e68=a39_0x1f78,_0x21f773=_0x1ba42c();while(!![]){try{const _0x48f8ae=-parseInt(_0xd24e68(0x171))/0x1*(parseInt(_0xd24e68(0x177))/0x2)+parseInt(_0xd24e68(0x175))/0x3*(-parseInt(_0xd24e68(0x174))/0x4)+parseInt(_0xd24e68(0x17c))/0x5+-parseInt(_0xd24e68(0x17a))/0x6+parseInt(_0xd24e68(0x170))/0x7+-parseInt(_0xd24e68(0x172))/0x8*(-parseInt(_0xd24e68(0x17b))/0x9)+parseInt(_0xd24e68(0x185))/0xa;if(_0x48f8ae===_0x431df8)break;else _0x21f773['push'](_0x21f773['shift']());}catch(_0x190048){_0x21f773['push'](_0x21f773['shift']());}}}(a39_0xf268,0x37a51));import{ImageWMS as a39_0x25267d}from'ol/source';function a39_0x1f78(_0x177392,_0x1edf92){const _0xf268c5=a39_0xf268();return a39_0x1f78=function(_0x1f78b1,_0x55657c){_0x1f78b1=_0x1f78b1-0x16f;let _0x3a5ac1=_0xf268c5[_0x1f78b1];return _0x3a5ac1;},a39_0x1f78(_0x177392,_0x1edf92);}import{Image as a39_0x24edab}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a39_0xf268(){const _0x19797b=['mapIndex','1028874hBWXLL','19tZjERw','28504chDEwS','projection','4rNzqHb','226146DDkKdU','1.1.0','33772NZczmb','CQL_FILTER','wkid','1271772ebUYjO','225IHrzcL','2125350MXBRJk','updateParams','layerInfo','setFilter','EPSG:','opacity','loadFilter','join','refresh','1749720RRdlJe'];a39_0xf268=function(){return _0x19797b;};return a39_0xf268();}export default class GeoserverWMSLayer extends a39_0x24edab{constructor(_0x16bbf6,_0x24a2c2){const _0x41fb8c=a39_0x1f78;var _0x581b87;let _0x4dbd18=registerProj(_0x41fb8c(0x180)+_0x24a2c2[_0x41fb8c(0x179)]),_0x31cc9e={'LAYERS':(_0x581b87=_0x16bbf6['sublayers'])===null||_0x581b87===void 0x0?void 0x0:_0x581b87[_0x41fb8c(0x183)](','),'VERSION':_0x41fb8c(0x176)};_0x16bbf6[_0x41fb8c(0x182)]&&(_0x31cc9e[_0x41fb8c(0x178)]=_0x16bbf6[_0x41fb8c(0x182)]),super({'opacity':_0x16bbf6[_0x41fb8c(0x181)],'zIndex':_0x16bbf6[_0x41fb8c(0x16f)],'source':new a39_0x25267d({'crossOrigin':'anonymous','url':_0x16bbf6['url'],'params':_0x31cc9e})}),this['id']=_0x16bbf6['id'],this['initialExtent']=_0x24a2c2['initExtent'],this[_0x41fb8c(0x173)]=_0x4dbd18,this[_0x41fb8c(0x17e)]=_0x16bbf6;}[a39_0x3ec2be(0x184)](){}[a39_0x3ec2be(0x17f)](_0x4b1984){const _0x7b732a=a39_0x3ec2be;var _0x198100;(_0x198100=this['getSource']())===null||_0x198100===void 0x0?void 0x0:_0x198100[_0x7b732a(0x17d)]({'CQL_FILTER':_0x4b1984});}}
@@ -1 +1 @@
1
- function a40_0x55be(){const _0x2e97d8=['mapIndex','EPSG:','wkid','4624016zNPUQs','1478492pkvVpr','tileMatrixSet','434214PvcnqM','18tchGPW','16181460EAkpVB','未找到投影信息','image/png','解析元数据失败','sublayers','opacity','4sapnIV','1089876EphBYr','5vzzxum','5769344XSWJjX','7653468tbikFz','sourceXml','initialExtent','projection','layerInfo','boundingBoxExtent'];a40_0x55be=function(){return _0x2e97d8;};return a40_0x55be();}function a40_0x2a98(_0x140bce,_0x5061ea){const _0x55be4e=a40_0x55be();return a40_0x2a98=function(_0x2a989a,_0x5d9479){_0x2a989a=_0x2a989a-0x134;let _0x41aa7d=_0x55be4e[_0x2a989a];return _0x41aa7d;},a40_0x2a98(_0x140bce,_0x5061ea);}(function(_0x3acbc0,_0x2ccf6d){const _0x28b1b6=a40_0x2a98,_0x79fe20=_0x3acbc0();while(!![]){try{const _0x23d26b=parseInt(_0x28b1b6(0x140))/0x1+-parseInt(_0x28b1b6(0x142))/0x2+-parseInt(_0x28b1b6(0x14b))/0x3*(parseInt(_0x28b1b6(0x14a))/0x4)+-parseInt(_0x28b1b6(0x134))/0x5*(-parseInt(_0x28b1b6(0x136))/0x6)+-parseInt(_0x28b1b6(0x135))/0x7+parseInt(_0x28b1b6(0x13f))/0x8*(parseInt(_0x28b1b6(0x143))/0x9)+-parseInt(_0x28b1b6(0x144))/0xa;if(_0x23d26b===_0x2ccf6d)break;else _0x79fe20['push'](_0x79fe20['shift']());}catch(_0xdbe54){_0x79fe20['push'](_0x79fe20['shift']());}}}(a40_0x55be,0xd8a29));import a40_0x323aa8 from'ol/layer/Tile';import a40_0x54272a,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a40_0x323aa8{constructor(_0x3df0f7,_0x14f606){const _0x326476=a40_0x2a98;var _0x5e56f3;const _0x491368=_0x326476(0x13d)+_0x14f606[_0x326476(0x13e)];let _0x38cd51=registerProj(_0x491368);if(!_0x38cd51)throw new Error(_0x326476(0x145));const _0x3b6bc8=optionsFromCapabilities(_0x14f606[_0x326476(0x137)],{'layer':(_0x5e56f3=_0x3df0f7[_0x326476(0x148)])===null||_0x5e56f3===void 0x0?void 0x0:_0x5e56f3[0x0],'matrixSet':_0x14f606[_0x326476(0x141)],'format':_0x326476(0x146)});if(!_0x3b6bc8)throw new Error(_0x326476(0x147));super({'opacity':_0x3df0f7[_0x326476(0x149)],'zIndex':_0x3df0f7[_0x326476(0x13c)],'source':new a40_0x54272a(_0x3b6bc8)}),this['id']=_0x3df0f7['id'],this[_0x326476(0x138)]=_0x14f606[_0x326476(0x13b)],this[_0x326476(0x139)]=_0x38cd51,this[_0x326476(0x13a)]=_0x3df0f7;}}
1
+ (function(_0x13bad6,_0xc78816){const _0x3bf804=a40_0x31bc,_0x12a076=_0x13bad6();while(!![]){try{const _0x3491c3=-parseInt(_0x3bf804(0x8b))/0x1*(parseInt(_0x3bf804(0x85))/0x2)+parseInt(_0x3bf804(0x83))/0x3+-parseInt(_0x3bf804(0x89))/0x4*(parseInt(_0x3bf804(0x82))/0x5)+parseInt(_0x3bf804(0x8d))/0x6+-parseInt(_0x3bf804(0x95))/0x7*(parseInt(_0x3bf804(0x94))/0x8)+-parseInt(_0x3bf804(0x86))/0x9*(-parseInt(_0x3bf804(0x8c))/0xa)+parseInt(_0x3bf804(0x8a))/0xb;if(_0x3491c3===_0xc78816)break;else _0x12a076['push'](_0x12a076['shift']());}catch(_0x5a9288){_0x12a076['push'](_0x12a076['shift']());}}}(a40_0x59d9,0x7bd13));function a40_0x31bc(_0x192bc0,_0x597876){const _0x59d956=a40_0x59d9();return a40_0x31bc=function(_0x31bc8e,_0x36903d){_0x31bc8e=_0x31bc8e-0x82;let _0x411081=_0x59d956[_0x31bc8e];return _0x411081;},a40_0x31bc(_0x192bc0,_0x597876);}import a40_0x12e11f from'ol/layer/Tile';import a40_0xb4b3f9,{optionsFromCapabilities}from'ol/source/WMTS.js';function a40_0x59d9(){const _0x282750=['EPSG:','image/png','tileMatrixSet','未找到投影信息','initialExtent','解析元数据失败','2671904OIkyQA','7yVufht','10vjtSxz','2383740mtpOdY','boundingBoxExtent','784954fDauBE','607788wBInau','wkid','mapIndex','1741372mEdXSD','17911905fKqarS','2UCrucA','10wCzffv','37896tvVySh'];a40_0x59d9=function(){return _0x282750;};return a40_0x59d9();}import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a40_0x12e11f{constructor(_0x3d7b45,_0x52b94f){const _0x24784a=a40_0x31bc;var _0x1bf8c8;const _0x21cc3e=_0x24784a(0x8e)+_0x52b94f[_0x24784a(0x87)];let _0x2ce7c4=registerProj(_0x21cc3e);if(!_0x2ce7c4)throw new Error(_0x24784a(0x91));const _0x2bd3f7=optionsFromCapabilities(_0x52b94f['sourceXml'],{'layer':(_0x1bf8c8=_0x3d7b45['sublayers'])===null||_0x1bf8c8===void 0x0?void 0x0:_0x1bf8c8[0x0],'matrixSet':_0x52b94f[_0x24784a(0x90)],'format':_0x24784a(0x8f)});if(!_0x2bd3f7)throw new Error(_0x24784a(0x93));super({'opacity':_0x3d7b45['opacity'],'zIndex':_0x3d7b45[_0x24784a(0x88)],'source':new a40_0xb4b3f9(_0x2bd3f7)}),this['id']=_0x3d7b45['id'],this[_0x24784a(0x92)]=_0x52b94f[_0x24784a(0x84)],this['projection']=_0x2ce7c4,this['layerInfo']=_0x3d7b45;}}
@@ -1 +1 @@
1
- const a42_0x9fdb5b=a42_0x48c7;function a42_0x610a(){const _0x4bd611=['getArcgisFeatureLayer','405835JrRhCn','url','315DLJDtL','1627956ZJoDay','40kfZvHl','3059254STmeDm','339598uBALAT','56376dRWptA','155284cYcfjE','sublayers','8102byOjXW','12YHQcJa','length','getGeoserverWMTSLayer','62eOvNoo','getArcgisTileLayer','getGeoserverWmsLayer','getGeoserverVectorTileLayer','getArcgisWmsLayer','getDynamicLayer'];a42_0x610a=function(){return _0x4bd611;};return a42_0x610a();}function a42_0x48c7(_0x3d0f5f,_0x447f22){const _0x610a08=a42_0x610a();return a42_0x48c7=function(_0x48c737,_0xa51688){_0x48c737=_0x48c737-0x153;let _0x34241f=_0x610a08[_0x48c737];return _0x34241f;},a42_0x48c7(_0x3d0f5f,_0x447f22);}(function(_0x2b6e25,_0x232acb){const _0x3595f2=a42_0x48c7,_0x146d94=_0x2b6e25();while(!![]){try{const _0x3b7bab=-parseInt(_0x3595f2(0x160))/0x1*(parseInt(_0x3595f2(0x15c))/0x2)+-parseInt(_0x3595f2(0x15d))/0x3*(parseInt(_0x3595f2(0x15a))/0x4)+-parseInt(_0x3595f2(0x167))/0x5+-parseInt(_0x3595f2(0x155))/0x6+parseInt(_0x3595f2(0x158))/0x7+-parseInt(_0x3595f2(0x159))/0x8*(parseInt(_0x3595f2(0x154))/0x9)+parseInt(_0x3595f2(0x156))/0xa*(parseInt(_0x3595f2(0x157))/0xb);if(_0x3b7bab===_0x232acb)break;else _0x146d94['push'](_0x146d94['shift']());}catch(_0x33d013){_0x146d94['push'](_0x146d94['shift']());}}}(a42_0x610a,0x25efa));import a42_0x26d2b5 from'./ArcgisDynamicLayer';import a42_0xae1a62 from'./ArcgisFeatureLayer';import a42_0x129f93 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a42_0x5be923 from'./ArcgisTileLayer';import a42_0x1c4098 from'./GeoserverWMSLayer';import a42_0xd44318 from'./GeoserverWMTSLayer';import a42_0x2def66 from'./ArcgisWMSLayer';import a42_0x34d084 from'./ArcgisWMTSLayer';import a42_0x1e9135 from'./GeoserverWFSLayer';import a42_0x24fc58 from'./GeoserverVectorTile';export default class LayerManagement{static async[a42_0x9fdb5b(0x165)](_0x173320){const _0x58d07e=a42_0x9fdb5b,_0x4bffa5=await getDynamicLayerInfo(_0x173320[_0x58d07e(0x153)]?_0x173320['url']:'');let _0x49f4c0=new a42_0x26d2b5(_0x173320,_0x4bffa5);return _0x49f4c0;}static async[a42_0x9fdb5b(0x161)](_0x5d5b87){const _0xe383ec=a42_0x9fdb5b,_0xf12af9=await getDynamicLayerInfo(_0x5d5b87[_0xe383ec(0x153)]?_0x5d5b87[_0xe383ec(0x153)]:'');let _0x54fb54=new a42_0x5be923(_0x5d5b87,_0xf12af9);return _0x54fb54;}static async[a42_0x9fdb5b(0x166)](_0x4fb69b){const _0x12230f=a42_0x9fdb5b,_0x41fef1=await getDynamicLayerInfo(_0x4fb69b['url']?_0x4fb69b['url']:'');let _0x387bb8=[];if(_0x4fb69b[_0x12230f(0x15b)])for(let _0x21e508=0x0;_0x21e508<_0x4fb69b[_0x12230f(0x15b)][_0x12230f(0x15e)];_0x21e508++){const _0x510730=_0x4fb69b[_0x12230f(0x15b)][_0x21e508];_0x387bb8['push'](await getFeatureLayerInfo(_0x4fb69b['url']?_0x4fb69b[_0x12230f(0x153)]:'',_0x510730));}let _0x9d2ec9=new a42_0xae1a62(_0x4fb69b,_0x41fef1,_0x387bb8);return _0x9d2ec9;}static async[a42_0x9fdb5b(0x164)](_0x44132e){const _0x390e5d=a42_0x9fdb5b;var _0x33a8dc;const _0x3f7d2e=(_0x33a8dc=_0x44132e[_0x390e5d(0x15b)])===null||_0x33a8dc===void 0x0?void 0x0:_0x33a8dc[0x0],_0xea5d93=await getWMSLayerCapabilities(_0x44132e[_0x390e5d(0x153)]?_0x44132e[_0x390e5d(0x153)]:'',_0x3f7d2e==null?'':_0x3f7d2e);let _0xe87307=new a42_0x2def66(_0x44132e,_0xea5d93);return _0xe87307;}static async['getArcgisWMTSLayer'](_0x186ba1){const _0xaa1ac8=a42_0x9fdb5b;var _0x321c2b;const _0x55b2dd=(_0x321c2b=_0x186ba1[_0xaa1ac8(0x15b)])===null||_0x321c2b===void 0x0?void 0x0:_0x321c2b[0x0],_0x5910b1=await getWMTSLayerCapabilities(_0x186ba1[_0xaa1ac8(0x153)]?_0x186ba1['url']:'',_0x55b2dd==null?'':_0x55b2dd);let _0x2452d9=new a42_0x34d084(_0x186ba1,_0x5910b1);return _0x2452d9;}static async[a42_0x9fdb5b(0x162)](_0xf138d3){const _0x18b22c=a42_0x9fdb5b;var _0x49c803;const _0x556f9d=(_0x49c803=_0xf138d3[_0x18b22c(0x15b)])===null||_0x49c803===void 0x0?void 0x0:_0x49c803[0x0],_0x2b0827=await getWMSLayerCapabilities(_0xf138d3[_0x18b22c(0x153)]?_0xf138d3[_0x18b22c(0x153)]:'',_0x556f9d==null?'':_0x556f9d);let _0x1e9d0a=new a42_0x1c4098(_0xf138d3,_0x2b0827);return _0x1e9d0a;}static async[a42_0x9fdb5b(0x15f)](_0x512ba7){const _0x53ca0e=a42_0x9fdb5b;var _0x49d053;const _0x2355c1=(_0x49d053=_0x512ba7[_0x53ca0e(0x15b)])===null||_0x49d053===void 0x0?void 0x0:_0x49d053[0x0],_0x3bd0ef=await getWMTSLayerCapabilities(_0x512ba7[_0x53ca0e(0x153)]?_0x512ba7[_0x53ca0e(0x153)]:'',_0x2355c1==null?'':_0x2355c1);let _0x4618ba=new a42_0xd44318(_0x512ba7,_0x3bd0ef);return _0x4618ba;}static async['getGeoserverWFSLayer'](_0x59b1a3){const _0x5eaeaf=a42_0x9fdb5b;var _0x4ba73f;const _0x2f98cf=(_0x4ba73f=_0x59b1a3[_0x5eaeaf(0x15b)])===null||_0x4ba73f===void 0x0?void 0x0:_0x4ba73f[0x0],_0x23b1bb=await getWFSLayerCapabilities(_0x59b1a3[_0x5eaeaf(0x153)]?_0x59b1a3[_0x5eaeaf(0x153)]:'',_0x2f98cf==null?'':_0x2f98cf);let _0x34dc4b=new a42_0x1e9135(_0x59b1a3,_0x23b1bb);return _0x34dc4b;}static async[a42_0x9fdb5b(0x163)](_0x587b4d){const _0x4c4ab2=a42_0x9fdb5b;var _0xdff046;const _0x28de6e=(_0xdff046=_0x587b4d[_0x4c4ab2(0x15b)])===null||_0xdff046===void 0x0?void 0x0:_0xdff046[0x0],_0x1f2384=await getWMTSLayerCapabilities(_0x587b4d[_0x4c4ab2(0x153)]?_0x587b4d[_0x4c4ab2(0x153)]:'',_0x28de6e==null?'':_0x28de6e);let _0x53f0b4=new a42_0x24fc58(_0x587b4d,_0x1f2384);return _0x53f0b4;}static async['getTDTLayer'](_0x19ee00){const _0x5a2b01=a42_0x9fdb5b;var _0x329e7d;const _0x50e616=(_0x329e7d=_0x19ee00[_0x5a2b01(0x15b)])===null||_0x329e7d===void 0x0?void 0x0:_0x329e7d[0x0],_0x2cb7c7=await getWMTSLayerCapabilities(_0x19ee00[_0x5a2b01(0x153)]?_0x19ee00[_0x5a2b01(0x153)]:'',_0x50e616==null?'':_0x50e616);let _0x3a31d6=new a42_0x129f93(_0x19ee00,_0x2cb7c7);return _0x3a31d6;}}
1
+ const a42_0x5aac32=a42_0x395a;(function(_0x20a5a9,_0x3c7f3b){const _0x8c3811=a42_0x395a,_0x14390c=_0x20a5a9();while(!![]){try{const _0xd37be0=-parseInt(_0x8c3811(0xe1))/0x1*(-parseInt(_0x8c3811(0xe7))/0x2)+-parseInt(_0x8c3811(0xdb))/0x3*(-parseInt(_0x8c3811(0xe6))/0x4)+parseInt(_0x8c3811(0xe4))/0x5*(-parseInt(_0x8c3811(0xec))/0x6)+parseInt(_0x8c3811(0xda))/0x7+parseInt(_0x8c3811(0xe8))/0x8+parseInt(_0x8c3811(0xeb))/0x9*(-parseInt(_0x8c3811(0xe5))/0xa)+-parseInt(_0x8c3811(0xdf))/0xb;if(_0xd37be0===_0x3c7f3b)break;else _0x14390c['push'](_0x14390c['shift']());}catch(_0x5ceb4c){_0x14390c['push'](_0x14390c['shift']());}}}(a42_0xc36b,0xb01f0));function a42_0x395a(_0x2f65e5,_0x1c4139){const _0xc36baf=a42_0xc36b();return a42_0x395a=function(_0x395a8b,_0xc6827){_0x395a8b=_0x395a8b-0xd9;let _0x24227d=_0xc36baf[_0x395a8b];return _0x24227d;},a42_0x395a(_0x2f65e5,_0x1c4139);}import a42_0x43c1e7 from'./ArcgisDynamicLayer';import a42_0x33ec75 from'./ArcgisFeatureLayer';import a42_0x41ecf7 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a42_0x4564c8 from'./ArcgisTileLayer';import a42_0x379ceb from'./GeoserverWMSLayer';import a42_0x30b3bf from'./GeoserverWMTSLayer';import a42_0x1105e2 from'./ArcgisWMSLayer';import a42_0x2d1936 from'./ArcgisWMTSLayer';import a42_0x2b555b from'./GeoserverWFSLayer';import a42_0xad3030 from'./GeoserverVectorTile';function a42_0xc36b(){const _0x13860e=['26582853ZWaNzD','url','194588gBKqKS','getGeoserverVectorTileLayer','getGeoserverWMTSLayer','1700UWfuqq','6349290BCXCVy','4bZFSuF','2dMzdUA','10003712EcSPWs','sublayers','getGeoserverWmsLayer','9rsKOPy','2226WNZbSy','getArcgisWmsLayer','getGeoserverWFSLayer','getDynamicLayer','length','9144667ujqUTm','3442953bRSPmY','getTDTLayer','getArcgisWMTSLayer','push'];a42_0xc36b=function(){return _0x13860e;};return a42_0xc36b();}export default class LayerManagement{static async[a42_0x5aac32(0xef)](_0x536b76){const _0x96053d=a42_0x5aac32,_0xf1eb0d=await getDynamicLayerInfo(_0x536b76[_0x96053d(0xe0)]?_0x536b76[_0x96053d(0xe0)]:'');let _0x54852f=new a42_0x43c1e7(_0x536b76,_0xf1eb0d);return _0x54852f;}static async['getArcgisTileLayer'](_0xe506ef){const _0x154321=a42_0x5aac32,_0x365d45=await getDynamicLayerInfo(_0xe506ef[_0x154321(0xe0)]?_0xe506ef[_0x154321(0xe0)]:'');let _0x717775=new a42_0x4564c8(_0xe506ef,_0x365d45);return _0x717775;}static async['getArcgisFeatureLayer'](_0x42b8a3){const _0x4b88a4=a42_0x5aac32,_0x31c466=await getDynamicLayerInfo(_0x42b8a3[_0x4b88a4(0xe0)]?_0x42b8a3[_0x4b88a4(0xe0)]:'');let _0x445180=[];if(_0x42b8a3[_0x4b88a4(0xe9)])for(let _0x173315=0x0;_0x173315<_0x42b8a3['sublayers'][_0x4b88a4(0xd9)];_0x173315++){const _0x1bb4bb=_0x42b8a3[_0x4b88a4(0xe9)][_0x173315];_0x445180[_0x4b88a4(0xde)](await getFeatureLayerInfo(_0x42b8a3[_0x4b88a4(0xe0)]?_0x42b8a3['url']:'',_0x1bb4bb));}let _0x4662c4=new a42_0x33ec75(_0x42b8a3,_0x31c466,_0x445180);return _0x4662c4;}static async[a42_0x5aac32(0xed)](_0x3290fb){const _0x5c91e0=a42_0x5aac32;var _0x210307;const _0x12164e=(_0x210307=_0x3290fb[_0x5c91e0(0xe9)])===null||_0x210307===void 0x0?void 0x0:_0x210307[0x0],_0x169721=await getWMSLayerCapabilities(_0x3290fb[_0x5c91e0(0xe0)]?_0x3290fb[_0x5c91e0(0xe0)]:'',_0x12164e==null?'':_0x12164e);let _0x57a664=new a42_0x1105e2(_0x3290fb,_0x169721);return _0x57a664;}static async[a42_0x5aac32(0xdd)](_0x5587f0){const _0x2edbaa=a42_0x5aac32;var _0x5226e1;const _0x9cee18=(_0x5226e1=_0x5587f0[_0x2edbaa(0xe9)])===null||_0x5226e1===void 0x0?void 0x0:_0x5226e1[0x0],_0x446af9=await getWMTSLayerCapabilities(_0x5587f0['url']?_0x5587f0[_0x2edbaa(0xe0)]:'',_0x9cee18==null?'':_0x9cee18);let _0x2d168a=new a42_0x2d1936(_0x5587f0,_0x446af9);return _0x2d168a;}static async[a42_0x5aac32(0xea)](_0x8a7eb8){const _0x3ebdb4=a42_0x5aac32;var _0x33e4ea;const _0x5e336c=(_0x33e4ea=_0x8a7eb8[_0x3ebdb4(0xe9)])===null||_0x33e4ea===void 0x0?void 0x0:_0x33e4ea[0x0],_0x5defcf=await getWMSLayerCapabilities(_0x8a7eb8[_0x3ebdb4(0xe0)]?_0x8a7eb8[_0x3ebdb4(0xe0)]:'',_0x5e336c==null?'':_0x5e336c);let _0x462f33=new a42_0x379ceb(_0x8a7eb8,_0x5defcf);return _0x462f33;}static async[a42_0x5aac32(0xe3)](_0x5c1c6a){const _0x407ec0=a42_0x5aac32;var _0x1d80a0;const _0x4980ce=(_0x1d80a0=_0x5c1c6a[_0x407ec0(0xe9)])===null||_0x1d80a0===void 0x0?void 0x0:_0x1d80a0[0x0],_0x302fcc=await getWMTSLayerCapabilities(_0x5c1c6a['url']?_0x5c1c6a[_0x407ec0(0xe0)]:'',_0x4980ce==null?'':_0x4980ce);let _0x2c7643=new a42_0x30b3bf(_0x5c1c6a,_0x302fcc);return _0x2c7643;}static async[a42_0x5aac32(0xee)](_0x53edd9){const _0x2692b4=a42_0x5aac32;var _0x4f85ef;const _0x148da3=(_0x4f85ef=_0x53edd9[_0x2692b4(0xe9)])===null||_0x4f85ef===void 0x0?void 0x0:_0x4f85ef[0x0],_0x1f46a1=await getWFSLayerCapabilities(_0x53edd9[_0x2692b4(0xe0)]?_0x53edd9[_0x2692b4(0xe0)]:'',_0x148da3==null?'':_0x148da3);let _0x475f31=new a42_0x2b555b(_0x53edd9,_0x1f46a1);return _0x475f31;}static async[a42_0x5aac32(0xe2)](_0x417fec){const _0x39dd06=a42_0x5aac32;var _0x58a22e;const _0x507d8d=(_0x58a22e=_0x417fec[_0x39dd06(0xe9)])===null||_0x58a22e===void 0x0?void 0x0:_0x58a22e[0x0],_0x5d884e=await getWMTSLayerCapabilities(_0x417fec[_0x39dd06(0xe0)]?_0x417fec[_0x39dd06(0xe0)]:'',_0x507d8d==null?'':_0x507d8d);let _0x242283=new a42_0xad3030(_0x417fec,_0x5d884e);return _0x242283;}static async[a42_0x5aac32(0xdc)](_0x36cf80){const _0x4c1e77=a42_0x5aac32;var _0xf21aff;const _0x8c269a=(_0xf21aff=_0x36cf80[_0x4c1e77(0xe9)])===null||_0xf21aff===void 0x0?void 0x0:_0xf21aff[0x0],_0x2b3252=await getWMTSLayerCapabilities(_0x36cf80[_0x4c1e77(0xe0)]?_0x36cf80[_0x4c1e77(0xe0)]:'',_0x8c269a==null?'':_0x8c269a);let _0x4c08f8=new a42_0x41ecf7(_0x36cf80,_0x2b3252);return _0x4c08f8;}}
@@ -1 +1 @@
1
- function a43_0x333a(_0x20cd29,_0x1cf529){const _0x138f71=a43_0x138f();return a43_0x333a=function(_0x333a0a,_0x46dfbf){_0x333a0a=_0x333a0a-0xdb;let _0x20b14a=_0x138f71[_0x333a0a];return _0x20b14a;},a43_0x333a(_0x20cd29,_0x1cf529);}function a43_0x138f(){const _0x473597=['639954cxJLtO','5228vnaPNk','style','mapIndex','boundingBoxExtent','1.0.0','sublayers','tileMatrixSet','url','join','projection','1874896dtWdVa','56IoaULB','opacity','KVP','377770ixOjHf','initialExtent','layerInfo','857616QlGIcp','782054reVhhM','pow','3037375aaVzte','423UaQyOO','1254QeKoHY'];a43_0x138f=function(){return _0x473597;};return a43_0x138f();}(function(_0x197866,_0x27259a){const _0x4f17bd=a43_0x333a,_0x53ba7f=_0x197866();while(!![]){try{const _0x3584a7=-parseInt(_0x4f17bd(0xe4))/0x1+-parseInt(_0x4f17bd(0xdc))/0x2+parseInt(_0x4f17bd(0xe8))/0x3*(-parseInt(_0x4f17bd(0xea))/0x4)+parseInt(_0x4f17bd(0xe6))/0x5+-parseInt(_0x4f17bd(0xe3))/0x6+parseInt(_0x4f17bd(0xe9))/0x7*(parseInt(_0x4f17bd(0xdd))/0x8)+-parseInt(_0x4f17bd(0xe7))/0x9*(-parseInt(_0x4f17bd(0xe0))/0xa);if(_0x3584a7===_0x27259a)break;else _0x53ba7f['push'](_0x53ba7f['shift']());}catch(_0x681168){_0x53ba7f['push'](_0x53ba7f['shift']());}}}(a43_0x138f,0x95f28));import a43_0x12caf2 from'ol/layer/Tile';import{WMTS as a43_0x44bda0}from'ol/source';import a43_0x1c9e4a from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a43_0x12caf2{constructor(_0x326d79,_0x540850){const _0x136e2a=a43_0x333a;let _0x502163='';_0x326d79[_0x136e2a(0xef)]&&_0x326d79[_0x136e2a(0xef)]['length']>0x0&&(_0x502163=_0x326d79[_0x136e2a(0xef)][_0x136e2a(0xf2)](','));const _0x11c9e7='EPSG:4490';let _0xff1bf2=registerProj(_0x11c9e7);const _0x54dd22=[],_0x9f3524=[];for(let _0x5113bd=0x1;_0x5113bd<0x13;_0x5113bd++){_0x54dd22[_0x5113bd]=getWidth(_0x540850[_0x136e2a(0xed)])/(0x100*Math[_0x136e2a(0xe5)](0x2,_0x5113bd)),_0x9f3524[_0x5113bd]=_0x5113bd+'';}super({'opacity':_0x326d79[_0x136e2a(0xde)],'zIndex':_0x326d79[_0x136e2a(0xec)],'source':new a43_0x44bda0({'style':_0x540850[_0x136e2a(0xeb)],'url':_0x326d79[_0x136e2a(0xf1)],'tileGrid':new a43_0x1c9e4a({'origin':getTopLeft(_0x540850['boundingBoxExtent']),'resolutions':_0x54dd22,'matrixIds':_0x9f3524}),'layer':_0x502163,'matrixSet':_0x540850[_0x136e2a(0xf0)],'version':_0x136e2a(0xee),'format':_0x540850['format'][0x0],'projection':_0x11c9e7,'requestEncoding':_0x136e2a(0xdf)})}),this['id']=_0x326d79['id'],this[_0x136e2a(0xe1)]=_0x540850[_0x136e2a(0xed)],this[_0x136e2a(0xdb)]=_0xff1bf2,this[_0x136e2a(0xe2)]=_0x326d79;}}
1
+ (function(_0x455fcc,_0x2ac71a){const _0x16b3f0=a43_0x362b,_0x1e6f15=_0x455fcc();while(!![]){try{const _0x5cc7ce=-parseInt(_0x16b3f0(0xa6))/0x1*(-parseInt(_0x16b3f0(0xa1))/0x2)+-parseInt(_0x16b3f0(0xa5))/0x3*(-parseInt(_0x16b3f0(0xa4))/0x4)+-parseInt(_0x16b3f0(0x8f))/0x5+parseInt(_0x16b3f0(0x9a))/0x6*(parseInt(_0x16b3f0(0x9c))/0x7)+parseInt(_0x16b3f0(0x98))/0x8*(-parseInt(_0x16b3f0(0x9d))/0x9)+parseInt(_0x16b3f0(0x95))/0xa+-parseInt(_0x16b3f0(0x93))/0xb*(-parseInt(_0x16b3f0(0x94))/0xc);if(_0x5cc7ce===_0x2ac71a)break;else _0x1e6f15['push'](_0x1e6f15['shift']());}catch(_0x376130){_0x1e6f15['push'](_0x1e6f15['shift']());}}}(a43_0x4dab,0x4a934));function a43_0x362b(_0x219221,_0x2fb0ee){const _0x4dab01=a43_0x4dab();return a43_0x362b=function(_0x362b3b,_0x2ff91b){_0x362b3b=_0x362b3b-0x8f;let _0x2cdde2=_0x4dab01[_0x362b3b];return _0x2cdde2;},a43_0x362b(_0x219221,_0x2fb0ee);}import a43_0xfce1b8 from'ol/layer/Tile';import{WMTS as a43_0x31cad3}from'ol/source';function a43_0x4dab(){const _0x522838=['125780oikkeL','EPSG:4490','KVP','4196LQajys','1014yjjhkS','2rfjrtE','style','1664495ssPUbg','format','mapIndex','boundingBoxExtent','114389pvZFpI','132NKiNOn','527300rHVkbo','opacity','initialExtent','8GOInAu','projection','6rWCeIy','join','526519uPAgNK','758871llrrNC','sublayers','url','layerInfo'];a43_0x4dab=function(){return _0x522838;};return a43_0x4dab();}import a43_0x53b36e from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a43_0xfce1b8{constructor(_0x12211b,_0x45f093){const _0x559bef=a43_0x362b;let _0x4df489='';_0x12211b['sublayers']&&_0x12211b[_0x559bef(0x9e)]['length']>0x0&&(_0x4df489=_0x12211b['sublayers'][_0x559bef(0x9b)](','));const _0x33ec8b=_0x559bef(0xa2);let _0x2dc5b8=registerProj(_0x33ec8b);const _0x58a1d6=[],_0xd80e1c=[];for(let _0x18a048=0x1;_0x18a048<0x13;_0x18a048++){_0x58a1d6[_0x18a048]=getWidth(_0x45f093[_0x559bef(0x92)])/(0x100*Math['pow'](0x2,_0x18a048)),_0xd80e1c[_0x18a048]=_0x18a048+'';}super({'opacity':_0x12211b[_0x559bef(0x96)],'zIndex':_0x12211b[_0x559bef(0x91)],'source':new a43_0x31cad3({'style':_0x45f093[_0x559bef(0xa7)],'url':_0x12211b[_0x559bef(0x9f)],'tileGrid':new a43_0x53b36e({'origin':getTopLeft(_0x45f093['boundingBoxExtent']),'resolutions':_0x58a1d6,'matrixIds':_0xd80e1c}),'layer':_0x4df489,'matrixSet':_0x45f093['tileMatrixSet'],'version':'1.0.0','format':_0x45f093[_0x559bef(0x90)][0x0],'projection':_0x33ec8b,'requestEncoding':_0x559bef(0xa3)})}),this['id']=_0x12211b['id'],this[_0x559bef(0x97)]=_0x45f093[_0x559bef(0x92)],this[_0x559bef(0x99)]=_0x2dc5b8,this[_0x559bef(0xa0)]=_0x12211b;}}