ym-gis-2d 1.0.34 → 1.0.36

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 (75) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/feature/FeatureManager.js.map +1 -1
  14. package/index.js +1 -1
  15. package/interaction/AreaMeasure.js +1 -1
  16. package/interaction/Difference.js +1 -1
  17. package/interaction/Draw.js +1 -1
  18. package/interaction/InteractionManager.js +1 -1
  19. package/interaction/Modify.d.ts +15 -0
  20. package/interaction/Modify.d.ts.map +1 -0
  21. package/interaction/Modify.js +1 -0
  22. package/interaction/Modify.js.map +1 -0
  23. package/interaction/Select.js +1 -1
  24. package/interaction/Split.js +1 -1
  25. package/layers/ArcgisDynamicLayer.js +1 -1
  26. package/layers/ArcgisFeatureLayer.js +1 -1
  27. package/layers/ArcgisTileLayer.js +1 -1
  28. package/layers/ArcgisWMSLayer.js +1 -1
  29. package/layers/ArcgisWMTSLayer.js +1 -1
  30. package/layers/GeoserverVectorTile.js +1 -1
  31. package/layers/GeoserverWFSLayer.js +1 -1
  32. package/layers/GeoserverWMSLayer.js +1 -1
  33. package/layers/GeoserverWMTSLayer.js +1 -1
  34. package/layers/LayerManager.js +1 -1
  35. package/layers/TDTLayer.js +1 -1
  36. package/mapView/Map.js +1 -1
  37. package/mapView/View.js +1 -1
  38. package/package.json +1 -1
  39. package/plot/Plot.js +1 -1
  40. package/plot/geometry/point/Point.js +1 -1
  41. package/plot/geometry/polygon/BasePolygon.js +1 -1
  42. package/plot/geometry/polygon/Circle.js +1 -1
  43. package/plot/geometry/polygon/Polygon.js +1 -1
  44. package/plot/geometry/polygon/RectAngle.js +1 -1
  45. package/plot/geometry/polyline/BaseLine.js +1 -1
  46. package/plot/geometry/polyline/Polyline.js +1 -1
  47. package/style/PointStyleFormat.js +1 -1
  48. package/style/PolygonStyleFormat.js +1 -1
  49. package/style/PolylineStyleFormat.js +1 -1
  50. package/style/StyleManager.js +1 -1
  51. package/style/common.js +1 -1
  52. package/utils/ArrayUtil.js +1 -1
  53. package/utils/AxiosUtil.js +1 -1
  54. package/utils/EsriUtil.js +1 -1
  55. package/utils/GeometryUtil.js +1 -1
  56. package/utils/LayerUtil.js +1 -1
  57. package/utils/RegisterProjUtil.js +1 -1
  58. package/utils/ResolutionUtil.js +1 -1
  59. package/utils/StringUtil.js +1 -1
  60. package/utils/StyleUtil.js +1 -1
  61. package/utils/UrlUtil.js +1 -1
  62. package/utils/XmlUtil.js +1 -1
  63. package/utils/format/CQL.js +1 -1
  64. package/utils/format/IsMatchCql.js +1 -1
  65. package/utils/plug/canvas/ImageCache.js +1 -1
  66. package/utils/plug/canvas/PinBuilder.js +1 -1
  67. package/utils/plug/canvas/PinIcon.js +1 -1
  68. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  69. package/utils/tasks/esri/Identify.js +1 -1
  70. package/utils/tasks/esri/Query.js +1 -1
  71. package/utils/tasks/esri/Task.js +1 -1
  72. package/utils/tasks/geoserver/QueryTask.js +1 -1
  73. package/utils/tasks/index.js +1 -1
  74. package/ym-gis-2d.es.js +1 -1
  75. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a68_0x38d4e8=a68_0x2ed9;(function(_0x973105,_0x3e765b){const _0x4657e0=a68_0x2ed9,_0x50d06a=_0x973105();while(!![]){try{const _0x527363=parseInt(_0x4657e0(0x113))/0x1*(-parseInt(_0x4657e0(0x10c))/0x2)+-parseInt(_0x4657e0(0x110))/0x3*(parseInt(_0x4657e0(0x103))/0x4)+parseInt(_0x4657e0(0x10a))/0x5+-parseInt(_0x4657e0(0x116))/0x6+parseInt(_0x4657e0(0xff))/0x7*(-parseInt(_0x4657e0(0x10d))/0x8)+-parseInt(_0x4657e0(0x102))/0x9*(parseInt(_0x4657e0(0x111))/0xa)+parseInt(_0x4657e0(0x105))/0xb*(parseInt(_0x4657e0(0x114))/0xc);if(_0x527363===_0x3e765b)break;else _0x50d06a['push'](_0x50d06a['shift']());}catch(_0x1f2cb1){_0x50d06a['push'](_0x50d06a['shift']());}}}(a68_0x5970,0xad1b7));import a68_0x510fce from'./BasePolygon';function a68_0x5970(){const _0x1dd565=['parse','2bRAHVB','10704LspnyC','getPointCount','4102482yrekhj','updatePoint','78337hbulYv','generate','points','4105485nwUuSV','148fMFFHU','setPoints','26576DziGwK','type','length','Polygon','stringify','1434595nrnWuN','updateLastPoint','126704xVZltL','8aQEBxA','setCoordinates','isPlot','36903SMzXGg','10gtngIA'];a68_0x5970=function(){return _0x1dd565;};return a68_0x5970();}import{getDeepth}from'../../../utils/ArrayUtil';function a68_0x2ed9(_0x2306c7,_0x3a01fa){const _0x5970ea=a68_0x5970();return a68_0x2ed9=function(_0x2ed962,_0x4d16f1){_0x2ed962=_0x2ed962-0xfe;let _0xf860d4=_0x5970ea[_0x2ed962];return _0xf860d4;},a68_0x2ed9(_0x2306c7,_0x3a01fa);}class Polygon extends a68_0x510fce{constructor(_0x219632){const _0x2948ca=a68_0x2ed9;super(),this[_0x2948ca(0x106)]=_0x2948ca(0x108),_0x219632&&_0x219632[_0x2948ca(0x107)]>0x0&&getDeepth(_0x219632)==0x2?this[_0x2948ca(0x104)](_0x219632):this[_0x2948ca(0x10e)](_0x219632);}['_closed'](_0x102148){const _0x25664a=a68_0x2ed9;let _0x26ddbf=_0x102148[0x0],_0x256958=_0x102148[_0x102148[_0x25664a(0x107)]-0x1];return _0x26ddbf[0x0]===_0x256958[0x0]&&_0x26ddbf[0x1]===_0x256958[0x1]&&_0x26ddbf[0x2]===_0x256958[0x2];}[a68_0x38d4e8(0x100)](){const _0xd51881=a68_0x38d4e8;let _0x56fc8d=this[_0xd51881(0x115)]();if(_0x56fc8d<0x2)return![];else{let _0x47b937=JSON[_0xd51881(0x112)](JSON[_0xd51881(0x109)](this[_0xd51881(0x101)]));_0x56fc8d>=0x3&&(!this['_closed'](_0x47b937)&&_0x47b937['push'](_0x47b937[0x0])),this[_0xd51881(0x10e)]([_0x47b937]);}}[a68_0x38d4e8(0xfe)](_0x114a47,_0x4f22b5){const _0x2300bc=a68_0x38d4e8;_0x4f22b5>=0x0&&_0x4f22b5<this['points'][_0x2300bc(0x107)]&&(this[_0x2300bc(0x101)][_0x4f22b5]=_0x114a47,this['generate']());}[a68_0x38d4e8(0x10f)](){return![];}[a68_0x38d4e8(0x10b)](_0x29787f){const _0x135b12=a68_0x38d4e8;this['updatePoint'](_0x29787f,this[_0x135b12(0x101)]['length']-0x1);}}export default Polygon;
1
+ const a69_0x5929bd=a69_0x49aa;(function(_0x1d904d,_0x17b43d){const _0x882e05=a69_0x49aa,_0x109d77=_0x1d904d();while(!![]){try{const _0x106157=-parseInt(_0x882e05(0x1c6))/0x1+-parseInt(_0x882e05(0x1d8))/0x2*(parseInt(_0x882e05(0x1d2))/0x3)+parseInt(_0x882e05(0x1c5))/0x4+parseInt(_0x882e05(0x1c4))/0x5+parseInt(_0x882e05(0x1cd))/0x6+parseInt(_0x882e05(0x1c9))/0x7*(-parseInt(_0x882e05(0x1d3))/0x8)+parseInt(_0x882e05(0x1c7))/0x9;if(_0x106157===_0x17b43d)break;else _0x109d77['push'](_0x109d77['shift']());}catch(_0x13309){_0x109d77['push'](_0x109d77['shift']());}}}(a69_0x4975,0x48f68));import a69_0x5f162a from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a69_0x49aa(_0xeff0be,_0x1676e5){const _0x4975c2=a69_0x4975();return a69_0x49aa=function(_0x49aa54,_0x4fa8a2){_0x49aa54=_0x49aa54-0x1c4;let _0x36e234=_0x4975c2[_0x49aa54];return _0x36e234;},a69_0x49aa(_0xeff0be,_0x1676e5);}class Polygon extends a69_0x5f162a{constructor(_0x333f52){const _0x5f7ce=a69_0x49aa;super(),this[_0x5f7ce(0x1d5)]=_0x5f7ce(0x1cf),_0x333f52&&_0x333f52['length']>0x0&&getDeepth(_0x333f52)==0x2?this[_0x5f7ce(0x1c8)](_0x333f52):this[_0x5f7ce(0x1ca)](_0x333f52);}[a69_0x5929bd(0x1ce)](_0x1a59bb){const _0x1c84e2=a69_0x5929bd;let _0xf7f3bd=_0x1a59bb[0x0],_0x4f8cce=_0x1a59bb[_0x1a59bb[_0x1c84e2(0x1d6)]-0x1];return _0xf7f3bd[0x0]===_0x4f8cce[0x0]&&_0xf7f3bd[0x1]===_0x4f8cce[0x1]&&_0xf7f3bd[0x2]===_0x4f8cce[0x2];}['generate'](){const _0x335a3f=a69_0x5929bd;let _0x1756a7=this['getPointCount']();if(_0x1756a7<0x2)return![];else{let _0x4de792=JSON[_0x335a3f(0x1d4)](JSON['stringify'](this[_0x335a3f(0x1cc)]));_0x1756a7>=0x3&&(!this[_0x335a3f(0x1ce)](_0x4de792)&&_0x4de792[_0x335a3f(0x1d7)](_0x4de792[0x0])),this['setCoordinates']([_0x4de792]);}}[a69_0x5929bd(0x1d1)](_0x47e011,_0x4c1c2b){const _0x180b71=a69_0x5929bd;_0x4c1c2b>=0x0&&_0x4c1c2b<this[_0x180b71(0x1cc)][_0x180b71(0x1d6)]&&(this[_0x180b71(0x1cc)][_0x4c1c2b]=_0x47e011,this[_0x180b71(0x1d0)]());}[a69_0x5929bd(0x1d9)](){return![];}[a69_0x5929bd(0x1cb)](_0xb5fe93){const _0x24600f=a69_0x5929bd;this[_0x24600f(0x1d1)](_0xb5fe93,this[_0x24600f(0x1cc)][_0x24600f(0x1d6)]-0x1);}}export default Polygon;function a69_0x4975(){const _0x483573=['updateLastPoint','points','1976250MPSTiI','_closed','Polygon','generate','updatePoint','19932squztt','327192SYaMkP','parse','type','length','push','40XJPgrS','isPlot','1220440LOEjlF','1401072xFOcmV','116080UFoLlH','297675bAmKHv','setPoints','70nKLUCm','setCoordinates'];a69_0x4975=function(){return _0x483573;};return a69_0x4975();}
@@ -1 +1 @@
1
- (function(_0x3ce1b4,_0x255d6e){const _0x5aef54=a69_0x27a7,_0x4800a7=_0x3ce1b4();while(!![]){try{const _0x4875f2=parseInt(_0x5aef54(0x1da))/0x1+parseInt(_0x5aef54(0x1d0))/0x2+-parseInt(_0x5aef54(0x1d5))/0x3*(-parseInt(_0x5aef54(0x1de))/0x4)+-parseInt(_0x5aef54(0x1d7))/0x5*(-parseInt(_0x5aef54(0x1cf))/0x6)+parseInt(_0x5aef54(0x1dd))/0x7*(parseInt(_0x5aef54(0x1dc))/0x8)+parseInt(_0x5aef54(0x1d8))/0x9*(parseInt(_0x5aef54(0x1df))/0xa)+-parseInt(_0x5aef54(0x1cd))/0xb;if(_0x4875f2===_0x255d6e)break;else _0x4800a7['push'](_0x4800a7['shift']());}catch(_0x5cf5c4){_0x4800a7['push'](_0x4800a7['shift']());}}}(a69_0x437d,0x52e2b));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a69_0x329e0c from'./BasePolygon';function a69_0x27a7(_0x46b8ae,_0x2767ac){const _0x437d24=a69_0x437d();return a69_0x27a7=function(_0x27a7ab,_0x4ab6aa){_0x27a7ab=_0x27a7ab-0x1cd;let _0x377611=_0x437d24[_0x27a7ab];return _0x377611;},a69_0x27a7(_0x46b8ae,_0x2767ac);}import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a69_0x329e0c{constructor(_0x4c2a32){const _0x351105=a69_0x27a7;super(),this[_0x351105(0x1d4)]=_0x351105(0x1d9),_0x4c2a32&&_0x4c2a32['length']>0x0&&getDeepth(_0x4c2a32)==0x2?this[_0x351105(0x1e0)](_0x4c2a32):this[_0x351105(0x1d6)](_0x4c2a32);}['generate'](){const _0x56e563=a69_0x27a7;if(this[_0x56e563(0x1d3)]['length']===0x2){let _0x59c8de=[],_0x2df2c1=boundingExtent(this[_0x56e563(0x1d3)]),_0x3b3f45=fromExtent(_0x2df2c1);_0x59c8de=_0x3b3f45[_0x56e563(0x1db)](),this[_0x56e563(0x1d6)](_0x59c8de);}}['updatePoint'](_0x9b1f41,_0x4bce72){const _0x1c05c0=a69_0x27a7;_0x4bce72>=0x0&&_0x4bce72<this[_0x1c05c0(0x1d3)][_0x1c05c0(0x1d1)]&&(this[_0x1c05c0(0x1d3)][_0x4bce72]=_0x9b1f41,this[_0x1c05c0(0x1d2)]());}['updateLastPoint'](_0xcd47a2){const _0x30cd2a=a69_0x27a7;this[_0x30cd2a(0x1ce)](_0xcd47a2,this[_0x30cd2a(0x1d3)]['length']-0x1);}}export default RectAngle;function a69_0x437d(){const _0x3d8dd0=['updatePoint','7518hMOMea','780668YhTRrT','length','generate','points','type','3pvHmhW','setCoordinates','975fPcTiG','5085tBUTvJ','Polygon','392959tbKJHO','getCoordinates','19016JnHiaq','1673saQzKX','1633144feYmLm','5630lAEPHC','setPoints','21808743PfgCfQ'];a69_0x437d=function(){return _0x3d8dd0;};return a69_0x437d();}
1
+ const a70_0x409817=a70_0x2f20;function a70_0x5ced(){const _0x3626c1=['141972zxQjNO','44UiKLpN','95805ZmtmjN','type','16IlBNne','39374iIrCvC','1ZCqiQv','Polygon','503080ldvUUa','45YnxFex','802944FqLSCe','points','setPoints','3256603GAOTZT','updateLastPoint','setCoordinates','171528yQsrwt','generate','updatePoint','length'];a70_0x5ced=function(){return _0x3626c1;};return a70_0x5ced();}(function(_0x6ecbf4,_0x137ca2){const _0x5bf9d6=a70_0x2f20,_0x45ae90=_0x6ecbf4();while(!![]){try{const _0x1cd1ac=-parseInt(_0x5bf9d6(0x1ac))/0x1*(parseInt(_0x5bf9d6(0x1ab))/0x2)+parseInt(_0x5bf9d6(0x19c))/0x3+parseInt(_0x5bf9d6(0x1a2))/0x4+-parseInt(_0x5bf9d6(0x19b))/0x5*(-parseInt(_0x5bf9d6(0x1a6))/0x6)+-parseInt(_0x5bf9d6(0x19f))/0x7+parseInt(_0x5bf9d6(0x1aa))/0x8*(parseInt(_0x5bf9d6(0x1a8))/0x9)+-parseInt(_0x5bf9d6(0x1ae))/0xa*(-parseInt(_0x5bf9d6(0x1a7))/0xb);if(_0x1cd1ac===_0x137ca2)break;else _0x45ae90['push'](_0x45ae90['shift']());}catch(_0x1fe611){_0x45ae90['push'](_0x45ae90['shift']());}}}(a70_0x5ced,0x3fbe6));function a70_0x2f20(_0x1af009,_0x75d74a){const _0x5ced89=a70_0x5ced();return a70_0x2f20=function(_0x2f20d0,_0x19e0c8){_0x2f20d0=_0x2f20d0-0x19b;let _0x274d69=_0x5ced89[_0x2f20d0];return _0x274d69;},a70_0x2f20(_0x1af009,_0x75d74a);}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a70_0x9fcf3e from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a70_0x9fcf3e{constructor(_0x2c5710){const _0x1b9a16=a70_0x2f20;super(),this[_0x1b9a16(0x1a9)]=_0x1b9a16(0x1ad),_0x2c5710&&_0x2c5710[_0x1b9a16(0x1a5)]>0x0&&getDeepth(_0x2c5710)==0x2?this[_0x1b9a16(0x19e)](_0x2c5710):this['setCoordinates'](_0x2c5710);}[a70_0x409817(0x1a3)](){const _0x29af54=a70_0x409817;if(this[_0x29af54(0x19d)]['length']===0x2){let _0x596d32=[],_0x5b3fc6=boundingExtent(this['points']),_0x345414=fromExtent(_0x5b3fc6);_0x596d32=_0x345414['getCoordinates'](),this[_0x29af54(0x1a1)](_0x596d32);}}[a70_0x409817(0x1a4)](_0x415064,_0x2d7acf){const _0x531dc9=a70_0x409817;_0x2d7acf>=0x0&&_0x2d7acf<this['points'][_0x531dc9(0x1a5)]&&(this[_0x531dc9(0x19d)][_0x2d7acf]=_0x415064,this[_0x531dc9(0x1a3)]());}[a70_0x409817(0x1a0)](_0x13f024){const _0x1d3fac=a70_0x409817;this[_0x1d3fac(0x1a4)](_0x13f024,this[_0x1d3fac(0x19d)]['length']-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- function a70_0x1b97(){var _0x4cfcf5=['338602CmCISJ','7WCifqc','2751750VUmTyy','type','points','isPlot','3237228lGXnZf','21480WZYEfk','length','600045UvafYK','generate','传入的不是地图对象!','getGeoJson','setStyle','getMap','45NWRYZY','writeGeometryObject','getPlotType','41812axnspk','setMap','map','2890864kIXhcF','setPoints','2CDOEht','3905chczYM','finishDrawing','getPointCount','getPoints'];a70_0x1b97=function(){return _0x4cfcf5;};return a70_0x1b97();}var a70_0x43c831=a70_0x1bba;(function(_0x4b14d4,_0x1114e9){var _0x4ad79c=a70_0x1bba,_0x3b4377=_0x4b14d4();while(!![]){try{var _0x15c4fe=parseInt(_0x4ad79c(0x154))/0x1*(-parseInt(_0x4ad79c(0x159))/0x2)+-parseInt(_0x4ad79c(0x168))/0x3*(parseInt(_0x4ad79c(0x14f))/0x4)+-parseInt(_0x4ad79c(0x162))/0x5+-parseInt(_0x4ad79c(0x15f))/0x6+parseInt(_0x4ad79c(0x15a))/0x7*(parseInt(_0x4ad79c(0x152))/0x8)+parseInt(_0x4ad79c(0x15b))/0x9+parseInt(_0x4ad79c(0x160))/0xa*(parseInt(_0x4ad79c(0x155))/0xb);if(_0x15c4fe===_0x1114e9)break;else _0x3b4377['push'](_0x3b4377['shift']());}catch(_0xf391a){_0x3b4377['push'](_0x3b4377['shift']());}}}(a70_0x1b97,0x43110));import{LineString}from'ol/geom';function a70_0x1bba(_0x349219,_0x493ff3){var _0x1b97f8=a70_0x1b97();return a70_0x1bba=function(_0x1bbacf,_0x5f01aa){_0x1bbacf=_0x1bbacf-0x14e;var _0x264ddc=_0x1b97f8[_0x1bbacf];return _0x264ddc;},a70_0x1bba(_0x349219,_0x493ff3);}import a70_0x393fa2 from'ol/format/GeoJSON';import a70_0x507183 from'../../../mapView/Map';class Plot extends LineString{constructor(){super([]),this['points']=[];}[a70_0x43c831(0x14e)](){var _0x2fba3f=a70_0x43c831;return this[_0x2fba3f(0x15c)];}[a70_0x43c831(0x165)](){var _0x2235cc=a70_0x43c831;return new a70_0x393fa2()[_0x2235cc(0x169)](this);}[a70_0x43c831(0x166)](_0x5e83b2){this['style']=JSON['parse'](JSON['stringify'](_0x5e83b2));}[a70_0x43c831(0x150)](_0x1cc25b){var _0x2a02b1=a70_0x43c831;if(_0x1cc25b&&_0x1cc25b instanceof a70_0x507183)this[_0x2a02b1(0x151)]=_0x1cc25b;else throw new Error(_0x2a02b1(0x164));}[a70_0x43c831(0x167)](){var _0x41d519=a70_0x43c831;return this[_0x41d519(0x151)];}[a70_0x43c831(0x15e)](){return!![];}[a70_0x43c831(0x153)](_0x451e8e){var _0x4144d9=a70_0x43c831;this[_0x4144d9(0x15d)]=!_0x451e8e?[]:_0x451e8e,this[_0x4144d9(0x15d)]['length']>=0x1&&(this['generate']&&this[_0x4144d9(0x163)]());}['generate'](){}[a70_0x43c831(0x158)](){var _0x744080=a70_0x43c831;return this[_0x744080(0x15d)]['slice'](0x0);}[a70_0x43c831(0x157)](){var _0x5e2ad8=a70_0x43c831;return this[_0x5e2ad8(0x15d)][_0x5e2ad8(0x161)];}[a70_0x43c831(0x156)](){}}export default Plot;
1
+ var a71_0x22843f=a71_0xb3c0;(function(_0x31111f,_0x35c091){var _0x203094=a71_0xb3c0,_0x22ab5b=_0x31111f();while(!![]){try{var _0x34bfdd=parseInt(_0x203094(0x1de))/0x1+parseInt(_0x203094(0x1ed))/0x2*(parseInt(_0x203094(0x1e9))/0x3)+parseInt(_0x203094(0x1dd))/0x4+-parseInt(_0x203094(0x1e1))/0x5+-parseInt(_0x203094(0x1d9))/0x6+parseInt(_0x203094(0x1e6))/0x7*(-parseInt(_0x203094(0x1e3))/0x8)+-parseInt(_0x203094(0x1e4))/0x9;if(_0x34bfdd===_0x35c091)break;else _0x22ab5b['push'](_0x22ab5b['shift']());}catch(_0x255d1b){_0x22ab5b['push'](_0x22ab5b['shift']());}}}(a71_0x29b7,0x468e6));function a71_0x29b7(){var _0x136c2f=['points','setPoints','2631gTXmRs','getPointCount','length','getGeoJson','786vsQWWB','parse','getMap','slice','2629206yqQWYj','writeGeometryObject','style','generate','1759816RFNSKK','547520xSjqri','type','setMap','16890ctnrhH','map','125104Bcsnzr','5273280OEjQAd','getPlotType','7YgCqVR'];a71_0x29b7=function(){return _0x136c2f;};return a71_0x29b7();}import{LineString}from'ol/geom';import a71_0x45f2b5 from'ol/format/GeoJSON';import a71_0x390410 from'../../../mapView/Map';function a71_0xb3c0(_0x2b28e3,_0x4f5ed6){var _0x29b787=a71_0x29b7();return a71_0xb3c0=function(_0xb3c01a,_0x1764b7){_0xb3c01a=_0xb3c01a-0x1d9;var _0x4113e7=_0x29b787[_0xb3c01a];return _0x4113e7;},a71_0xb3c0(_0x2b28e3,_0x4f5ed6);}class Plot extends LineString{constructor(){var _0x517376=a71_0xb3c0;super([]),this[_0x517376(0x1e7)]=[];}[a71_0x22843f(0x1e5)](){var _0x5a9696=a71_0x22843f;return this[_0x5a9696(0x1df)];}[a71_0x22843f(0x1ec)](){var _0x3f81f4=a71_0x22843f;return new a71_0x45f2b5()[_0x3f81f4(0x1da)](this);}['setStyle'](_0x3106de){var _0xa676f=a71_0x22843f;this[_0xa676f(0x1db)]=JSON[_0xa676f(0x1ee)](JSON['stringify'](_0x3106de));}[a71_0x22843f(0x1e0)](_0x87c9ce){var _0x3f785a=a71_0x22843f;if(_0x87c9ce&&_0x87c9ce instanceof a71_0x390410)this[_0x3f785a(0x1e2)]=_0x87c9ce;else throw new Error('传入的不是地图对象!');}[a71_0x22843f(0x1ef)](){var _0x428da1=a71_0x22843f;return this[_0x428da1(0x1e2)];}['isPlot'](){return!![];}[a71_0x22843f(0x1e8)](_0x2c8415){var _0x1d6a75=a71_0x22843f;this[_0x1d6a75(0x1e7)]=!_0x2c8415?[]:_0x2c8415,this[_0x1d6a75(0x1e7)][_0x1d6a75(0x1eb)]>=0x1&&(this[_0x1d6a75(0x1dc)]&&this[_0x1d6a75(0x1dc)]());}[a71_0x22843f(0x1dc)](){}['getPoints'](){var _0x102946=a71_0x22843f;return this[_0x102946(0x1e7)][_0x102946(0x1f0)](0x0);}[a71_0x22843f(0x1ea)](){var _0x4d9083=a71_0x22843f;return this[_0x4d9083(0x1e7)][_0x4d9083(0x1eb)];}['finishDrawing'](){}}export default Plot;
@@ -1 +1 @@
1
- function a71_0x5986(_0x2f03e6,_0x3f1945){var _0x2275f3=a71_0x2275();return a71_0x5986=function(_0x598642,_0x33d657){_0x598642=_0x598642-0x138;var _0x5a6b68=_0x2275f3[_0x598642];return _0x5a6b68;},a71_0x5986(_0x2f03e6,_0x3f1945);}var a71_0x4bed00=a71_0x5986;(function(_0x4eb2f1,_0x2cfdb1){var _0x1498e9=a71_0x5986,_0x42d652=_0x4eb2f1();while(!![]){try{var _0x5c6c8b=parseInt(_0x1498e9(0x13d))/0x1+parseInt(_0x1498e9(0x13c))/0x2*(parseInt(_0x1498e9(0x14d))/0x3)+parseInt(_0x1498e9(0x140))/0x4*(parseInt(_0x1498e9(0x147))/0x5)+-parseInt(_0x1498e9(0x144))/0x6*(-parseInt(_0x1498e9(0x14c))/0x7)+parseInt(_0x1498e9(0x13f))/0x8+parseInt(_0x1498e9(0x14e))/0x9*(parseInt(_0x1498e9(0x13a))/0xa)+-parseInt(_0x1498e9(0x146))/0xb*(parseInt(_0x1498e9(0x14b))/0xc);if(_0x5c6c8b===_0x2cfdb1)break;else _0x42d652['push'](_0x42d652['shift']());}catch(_0x35791d){_0x42d652['push'](_0x42d652['shift']());}}}(a71_0x2275,0xe5eb9));import a71_0x58d24d from'./BaseLine';class Polyline extends a71_0x58d24d{constructor(_0x4a61a0){var _0x1021fc=a71_0x5986;super(),this[_0x1021fc(0x139)]=_0x1021fc(0x14a),this['setCoordinates'](_0x4a61a0);}[a71_0x4bed00(0x141)](){var _0x112c2a=a71_0x4bed00;this['setCoordinates'](this[_0x112c2a(0x145)]);}[a71_0x4bed00(0x13e)](_0x36afa3,_0x2dc77f){var _0x484c1d=a71_0x4bed00;_0x2dc77f>=0x0&&_0x2dc77f<this[_0x484c1d(0x145)][_0x484c1d(0x138)]&&(this['points'][_0x2dc77f]=_0x36afa3,this['generate']());}[a71_0x4bed00(0x13b)](_0x35ef8d){var _0x2c7f31=a71_0x4bed00;this[_0x2c7f31(0x13e)](_0x35ef8d,this[_0x2c7f31(0x145)][_0x2c7f31(0x138)]-0x1);}[a71_0x4bed00(0x149)](){return![];}[a71_0x4bed00(0x143)](_0x3771a0){var _0x1c207f=a71_0x4bed00;this[_0x1c207f(0x142)]=JSON[_0x1c207f(0x14f)](JSON[_0x1c207f(0x148)](_0x3771a0));}}export default Polyline;function a71_0x2275(){var _0x136e00=['94FIKJYH','1007114pJEqVE','updatePoint','8466904rbDmat','236rJAkPO','generate','style','setStyle','600swKZXI','points','58155922UvPNCK','103915ZUHDxL','stringify','isPlot','LineString','12QhCGeo','40383hUjRIa','52041zPObiR','20844pgKzhD','parse','length','type','6670eWbrSz','updateLastPoint'];a71_0x2275=function(){return _0x136e00;};return a71_0x2275();}
1
+ var a72_0x88b1fd=a72_0x9fc4;function a72_0x18b3(){var _0xff126b=['10806460rzgkxt','length','300MyRHJd','parse','points','1223550JrvENP','3920805Icmtmy','setCoordinates','isPlot','11rHsuXH','LineString','updatePoint','stringify','30055hbMKLP','2487513wshDkA','generate','2qaMHPF','setStyle','143437pkZrFF','16cleXOL','6074754BbphSe','updateLastPoint'];a72_0x18b3=function(){return _0xff126b;};return a72_0x18b3();}(function(_0x343a56,_0x3a19bb){var _0xd36d1=a72_0x9fc4,_0x579bff=_0x343a56();while(!![]){try{var _0x3d5f0c=-parseInt(_0xd36d1(0x12a))/0x1+parseInt(_0xd36d1(0x128))/0x2*(parseInt(_0xd36d1(0x11d))/0x3)+parseInt(_0xd36d1(0x130))/0x4*(parseInt(_0xd36d1(0x125))/0x5)+-parseInt(_0xd36d1(0x12c))/0x6+parseInt(_0xd36d1(0x126))/0x7*(-parseInt(_0xd36d1(0x12b))/0x8)+parseInt(_0xd36d1(0x11e))/0x9+parseInt(_0xd36d1(0x12e))/0xa*(parseInt(_0xd36d1(0x121))/0xb);if(_0x3d5f0c===_0x3a19bb)break;else _0x579bff['push'](_0x579bff['shift']());}catch(_0x2a420a){_0x579bff['push'](_0x579bff['shift']());}}}(a72_0x18b3,0x7c1c0));function a72_0x9fc4(_0x5c8771,_0x3b2f95){var _0x18b3ae=a72_0x18b3();return a72_0x9fc4=function(_0x9fc475,_0x1e5393){_0x9fc475=_0x9fc475-0x11c;var _0x26c454=_0x18b3ae[_0x9fc475];return _0x26c454;},a72_0x9fc4(_0x5c8771,_0x3b2f95);}import a72_0x746d9a from'./BaseLine';class Polyline extends a72_0x746d9a{constructor(_0x2ec77d){var _0x559ac1=a72_0x9fc4;super(),this['type']=_0x559ac1(0x122),this[_0x559ac1(0x11f)](_0x2ec77d);}['generate'](){var _0x48f07c=a72_0x9fc4;this[_0x48f07c(0x11f)](this[_0x48f07c(0x11c)]);}[a72_0x88b1fd(0x123)](_0x180d0d,_0x32a246){var _0x428063=a72_0x88b1fd;_0x32a246>=0x0&&_0x32a246<this['points'][_0x428063(0x12f)]&&(this[_0x428063(0x11c)][_0x32a246]=_0x180d0d,this[_0x428063(0x127)]());}[a72_0x88b1fd(0x12d)](_0x44a40e){var _0x304055=a72_0x88b1fd;this[_0x304055(0x123)](_0x44a40e,this[_0x304055(0x11c)][_0x304055(0x12f)]-0x1);}[a72_0x88b1fd(0x120)](){return![];}[a72_0x88b1fd(0x129)](_0xb8fc46){var _0x129a89=a72_0x88b1fd;this['style']=JSON[_0x129a89(0x131)](JSON[_0x129a89(0x124)](_0xb8fc46));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x4b0c2a,_0x448ea3){const _0x26bd22=a74_0x3ed1,_0x32aa8d=_0x4b0c2a();while(!![]){try{const _0x186273=parseInt(_0x26bd22(0xc8))/0x1*(-parseInt(_0x26bd22(0xb2))/0x2)+parseInt(_0x26bd22(0xdd))/0x3*(-parseInt(_0x26bd22(0xe0))/0x4)+-parseInt(_0x26bd22(0xbf))/0x5+-parseInt(_0x26bd22(0xdb))/0x6+parseInt(_0x26bd22(0xaf))/0x7*(-parseInt(_0x26bd22(0xde))/0x8)+-parseInt(_0x26bd22(0xd6))/0x9*(parseInt(_0x26bd22(0xea))/0xa)+parseInt(_0x26bd22(0xf0))/0xb*(parseInt(_0x26bd22(0xbd))/0xc);if(_0x186273===_0x448ea3)break;else _0x32aa8d['push'](_0x32aa8d['shift']());}catch(_0x3a6055){_0x32aa8d['push'](_0x32aa8d['shift']());}}}(a74_0x84a2,0x49cb5));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a74_0x3f7055 from'ol/style/Style';import a74_0x534761 from'ol/style/Circle';function a74_0x3ed1(_0x5673df,_0x58bb8e){const _0x84a23c=a74_0x84a2();return a74_0x3ed1=function(_0x3ed1cb,_0x4e7a58){_0x3ed1cb=_0x3ed1cb-0xab;let _0x32a49c=_0x84a23c[_0x3ed1cb];return _0x32a49c;},a74_0x3ed1(_0x5673df,_0x58bb8e);}import a74_0x2ac1b2 from'ol/style/Fill';import a74_0x12df26 from'ol/style/Stroke';function getMainStyle(_0x4c0dca,_0x1f1dfb=0x0,_0x40d607){const _0x1a2e22=a74_0x3ed1;let _0x40815b;return _0x4c0dca[_0x1a2e22(0xd8)]||_0x4c0dca[_0x1a2e22(0xf5)]?_0x40815b=new a74_0x3f7055({'renderer':(_0x5eb49e,_0x12cee4)=>{preLoadImageRenderFunction(_0x4c0dca,_0x5eb49e,_0x12cee4,_0x40d607,_rendererFunction);},'zIndex':Number(_0x1f1dfb)}):_0x40815b=new a74_0x3f7055({'image':new a74_0x534761({'radius':_0x4c0dca[_0x1a2e22(0xe8)]?_0x4c0dca['radius']:_0x4c0dca[_0x1a2e22(0xf1)],'fill':new a74_0x2ac1b2({'color':getColor(_0x4c0dca['color'],_0x4c0dca[_0x1a2e22(0xe3)])}),'stroke':_0x4c0dca[_0x1a2e22(0xd2)]&&_0x4c0dca['outlineColor']?new a74_0x12df26({'color':getColor(_0x4c0dca[_0x1a2e22(0xe7)],_0x4c0dca[_0x1a2e22(0xdf)]),'width':_0x4c0dca['outlineWidth']}):undefined}),'zIndex':Number(_0x1f1dfb)}),_0x40815b;}function _rendererFunction(_0x4bd59a,_0x2db95d,_0x4c9228,_0x330f74,_0x11930b){const _0x4751fe=a74_0x3ed1;if(!_0x11930b||_0x11930b[_0x4751fe(0xac)]===0x0){let _0x5c9ec9=new Image();_0x5c9ec9['src']=_0x4bd59a['image'];}if(_0x4bd59a[_0x4751fe(0xc2)]&&_0x4bd59a[_0x4751fe(0xc7)]!==''){let _0x42e6a1=_0x4bd59a['scale']||0x1,_0xd41d2a=_0x4bd59a[_0x4751fe(0xac)]||_0x11930b[_0x4751fe(0xac)]*_0x42e6a1,_0x60023e=_0x4bd59a[_0x4751fe(0xe4)]||_0x11930b[_0x4751fe(0xe4)]*_0x42e6a1;_0xd41d2a=_0xd41d2a*_0x4c9228[_0x4751fe(0xb7)],_0x60023e=_0x60023e*_0x4c9228[_0x4751fe(0xb7)];const _0x41ec11=document['createElement'](_0x4751fe(0xb9));_0x41ec11[_0x4751fe(0xac)]=_0xd41d2a,_0x41ec11[_0x4751fe(0xe4)]=_0x60023e;const _0x28c63c=_0x41ec11['getContext']('2d');_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xe5)](_0x11930b,0x0,0x0,_0xd41d2a,_0x60023e);let _0x3d3431=_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xeb)](0x0,0x0,_0xd41d2a,_0x60023e),_0x2ac74c=_0x3d3431===null||_0x3d3431===void 0x0?void 0x0:_0x3d3431['data'];_0x11930b=_0x41ec11;let _0x41c887=HexToRgb(_0x4bd59a[_0x4751fe(0xc7)]);if(_0x2ac74c&&_0x41c887)for(var _0x43354e=0x0;_0x43354e<_0x2ac74c[_0x4751fe(0xc4)];_0x43354e+=0x4){_0x2ac74c[_0x43354e]=_0x41c887[0x0],_0x2ac74c[_0x43354e+0x1]=_0x41c887[0x1],_0x2ac74c[_0x43354e+0x2]=_0x41c887[0x2];}_0x3d3431&&(_0x28c63c===null||_0x28c63c===void 0x0?void 0x0:_0x28c63c[_0x4751fe(0xf4)](_0x3d3431,0x0,0x0));}let _0x5bfe40=_0x4c9228[_0x4751fe(0xc6)],_0xd83a3c=_0x4c9228[_0x4751fe(0xb7)],_0x163cf7=_0x5bfe40[_0x4751fe(0xc0)](),_0x327885=_0x5bfe40[_0x4751fe(0xe6)](),_0x18bccd=[];switch(_0x327885){case _0x4751fe(0xc9):_0x18bccd=_0x5bfe40[_0x4751fe(0xba)]();break;case _0x4751fe(0xf3):_0x18bccd=_0x5bfe40[_0x4751fe(0xbb)](),_0x163cf7=0x2;break;case'Polygon':_0x18bccd=_0x5bfe40[_0x4751fe(0xb8)](),_0x163cf7=0x3;break;case _0x4751fe(0xd3):{let _0x104a1e=_0x5bfe40[_0x4751fe(0xb5)]();_0x18bccd=[];for(let _0x1826e5=0x0,_0x2017b7=_0x104a1e['length'];_0x1826e5<_0x2017b7;_0x1826e5+=0x3){_0x18bccd['push'](_0x104a1e[_0x1826e5],_0x104a1e[_0x1826e5+0x1]);}if(_0x18bccd['length']===0x0)return;_0x163cf7=0x2;break;}}if(_0x18bccd[_0x4751fe(0xc4)]>0x0&&_0x330f74)for(let _0x8e1ee1=0x0,_0x59d9e4=_0x18bccd[_0x4751fe(0xc4)];_0x8e1ee1<_0x59d9e4;_0x8e1ee1+=_0x163cf7){let _0x5deef3=[_0x18bccd[_0x8e1ee1],_0x18bccd[_0x8e1ee1+0x1]],_0x533fa5=_0x330f74[_0x4751fe(0xd4)](_0x5deef3);_0x533fa5=[_0x533fa5[0x0]*_0xd83a3c,_0x533fa5[0x1]*_0xd83a3c],drawImage(_0x4bd59a,_0x533fa5,_0x4c9228,_0x11930b);}else{if(_0x327885==='MultiPoint')for(let _0x7c22e6 of _0x2db95d){drawImage(_0x4bd59a,_0x7c22e6,_0x4c9228,_0x11930b);}else drawImage(_0x4bd59a,_0x2db95d,_0x4c9228,_0x11930b);}}function HexToRgb(_0xe8a0f8){const _0x16572a=a74_0x3ed1;_0xe8a0f8=_0xe8a0f8[_0x16572a(0xcb)]('#','');let _0x13966d=_0xe8a0f8[_0x16572a(0xc1)](/../g);if(_0x13966d){for(let _0x2bdb49=0x0;_0x2bdb49<0x3;_0x2bdb49++)_0x13966d[_0x2bdb49]=parseInt(_0x13966d[_0x2bdb49],0x10);}return _0x13966d;}export function getImageOlStyle(_0x3e688c,_0x4e1082,_0x20da1b,_0x16ad4f){const _0x408f06=a74_0x3ed1;var _0xf0f7d2;if(_0x3e688c&&_0x3e688c[_0x408f06(0xce)]!==![]){_0x3e688c=JSON['parse'](JSON[_0x408f06(0xe1)](_0x3e688c)),_0x4e1082=(_0xf0f7d2=_0x3e688c[_0x408f06(0xae)])!==null&&_0xf0f7d2!==void 0x0?_0xf0f7d2:_0x4e1082;let _0x485869=isShowStyle(_0x3e688c,_0x20da1b,_0x16ad4f);if(_0x485869)return _0x3e688c['image']=parseImage(_0x3e688c[_0x408f06(0xd8)]),getMainStyle(_0x3e688c,_0x4e1082,_0x16ad4f);}}export function getPointStyle(_0x134295,_0x3155ee,_0x36f290,_0x1897e9){const _0x65db6f=a74_0x3ed1;var _0x5ec2be,_0x56179f;_0x134295=JSON[_0x65db6f(0xed)](JSON['stringify'](_0x134295));let _0x2d6b28=(_0x5ec2be=_0x134295[_0x65db6f(0xae)])!==null&&_0x5ec2be!==void 0x0?_0x5ec2be:0x0,_0x32a779=[],_0x1f2c28=getImageOlStyle(_0x134295,_0x2d6b28,_0x36f290,_0x1897e9);_0x1f2c28&&_0x32a779[_0x65db6f(0xd0)](_0x1f2c28);let _0x360d4e=getImageOlStyle(_0x134295[_0x65db6f(0xf6)],_0x2d6b28,_0x36f290,_0x1897e9);_0x360d4e&&_0x32a779[_0x65db6f(0xd0)](_0x360d4e);if(_0x134295[_0x65db6f(0xef)]&&_0x134295[_0x65db6f(0xef)][_0x65db6f(0xce)]!==![]){let _0x35c7bb=isShowStyle(_0x134295[_0x65db6f(0xef)],_0x36f290,_0x1897e9);if(_0x35c7bb){let _0x250dba=(_0x56179f=_0x134295['model']['zIndex'])!==null&&_0x56179f!==void 0x0?_0x56179f:_0x2d6b28,_0x17861b=_0x134295[_0x65db6f(0xef)][_0x65db6f(0xb0)]||_0x65db6f(0xd9)+_0x134295[_0x65db6f(0xef)][_0x65db6f(0xd1)]+_0x65db6f(0xd5);_0x134295[_0x65db6f(0xb4)]=0x1,_0x134295[_0x65db6f(0xac)]=0x30,_0x134295['height']=0x30,_0x134295[_0x65db6f(0xcc)]=_0x65db6f(0xca),_0x32a779[_0x65db6f(0xd0)](getMainStyle(_0x134295[_0x65db6f(0xef)],_0x250dba,_0x1897e9));}}if(_0x134295['label']&&_0x134295[_0x65db6f(0xbc)][_0x65db6f(0xce)]!==![]){let _0x2e18fa=new a74_0x3f7055({'text':createTextStyle(_0x134295[_0x65db6f(0xbc)],_0x3155ee,_0x36f290,_0x1897e9),'zIndex':Number(_0x2d6b28)+0x1});_0x32a779[_0x65db6f(0xd0)](_0x2e18fa);}return _0x32a779;}export function getPointSingleStyle(_0x38f3fe,_0x1de7f7,_0x3da7ef,_0x4f3028){const _0x1097c9=a74_0x3ed1;_0x1de7f7=JSON[_0x1097c9(0xed)](JSON[_0x1097c9(0xe1)](_0x1de7f7));let _0x503995=_0x1de7f7[_0x1097c9(0xbc)],_0x292922;_0x503995&&(_0x292922=_0x503995[_0x1097c9(0xe9)]?_0x503995[_0x1097c9(0xe9)]:'');if(_0x38f3fe===_0x1097c9(0xf6))return _0x1de7f7[_0x1097c9(0xd8)]=parseImage(_0x1de7f7[_0x1097c9(0xd8)]),getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else{if(_0x38f3fe===_0x1097c9(0xef)){let _0x10a90c=_0x1de7f7[_0x1097c9(0xb0)]||_0x1097c9(0xd9)+_0x1de7f7[_0x1097c9(0xd1)]+_0x1097c9(0xd5);return _0x1de7f7['scale']=0x1,_0x1de7f7[_0x1097c9(0xac)]=0x30,_0x1de7f7[_0x1097c9(0xe4)]=0x30,_0x1de7f7[_0x1097c9(0xcc)]=_0x1097c9(0xca),getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);}else{if(_0x38f3fe==='cloud')return getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else{if(_0x38f3fe===_0x1097c9(0xcd))return getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);else return _0x38f3fe==='label'?new a74_0x3f7055({'text':createTextStyle(_0x1de7f7,_0x1de7f7[_0x1097c9(0xe9)],_0x3da7ef,_0x4f3028),'zIndex':_0x1de7f7[_0x1097c9(0xae)]}):getPointStyle(_0x1de7f7,_0x292922,_0x3da7ef,_0x4f3028);}}}}function a74_0x84a2(){const _0x391548=['markerColor','billboard','BOTTOM','width','context','zIndex','161hKdloQ','imgUrl','horizontalOrigin','10RhFAbC','pixelOffset','scale','getFlatInteriorPoints','pixelOffsetY','pixelRatio','getFlatInteriorPoint','canvas','getFlatMidpoint','getFlatMidpoints','label','2292WFGcHx','pixelOffsetX','2466685YSxxRV','getStride','match','changeColor','globalAlpha','length','toUpperCase','geometry','color','20714gAfVWY','LineString','CENTER','replace','verticalOrigin','point','show','rotation','push','modelKind','outline','MultiPolygon','getPixelFromCoordinate','.png','683001sMviNN','restore','image','model/','save','412446OWVzgc','warn','45HHPwPQ','142624Pffiep','outlineOpacity','59012MoUvBf','stringify','TOP','opacity','height','drawImage','getType','outlineColor','radius','text','30SQnFNb','getImageData','LEFT','parse','translate','model','105215bgUIPx','pixelSize','rotate','MultiLineString','putImageData'];a74_0x84a2=function(){return _0x391548;};return a74_0x84a2();}function drawImage(_0x30138c,_0x1ebba6,_0x445dfa,_0x2158a8){const _0x1695ce=a74_0x3ed1;var _0x2b3fd1,_0x355104,_0x427556,_0x34441b;let _0x2a93a4=_0x445dfa[_0x1695ce(0xad)];try{_0x2a93a4[_0x1695ce(0xda)]();let _0x4d674c=Number(_0x30138c[_0x1695ce(0xbe)]||((_0x2b3fd1=_0x30138c[_0x1695ce(0xb3)])===null||_0x2b3fd1===void 0x0?void 0x0:_0x2b3fd1[0x0])||0x0),_0x4524e0=Number(_0x30138c[_0x1695ce(0xb6)]||((_0x355104=_0x30138c[_0x1695ce(0xb3)])===null||_0x355104===void 0x0?void 0x0:_0x355104[0x1])||0x0);_0x2a93a4[_0x1695ce(0xee)](_0x1ebba6[0x0]+_0x4d674c,_0x1ebba6[0x1]+_0x4524e0);if(_0x30138c[_0x1695ce(0xcf)])_0x2a93a4[_0x1695ce(0xf2)](toRadians(_0x30138c[_0x1695ce(0xcf)]));_0x2a93a4[_0x1695ce(0xc3)]=_0x30138c['opacity']!=null?_0x30138c[_0x1695ce(0xe3)]:0x1;if(_0x2158a8[_0x1695ce(0xac)]>0x0){let _0x380596=_0x30138c[_0x1695ce(0xb4)]||0x1,_0x1f47c0=_0x30138c[_0x1695ce(0xac)]||_0x2158a8[_0x1695ce(0xac)]*_0x380596,_0x2f2282=_0x30138c[_0x1695ce(0xe4)]||_0x2158a8[_0x1695ce(0xe4)]*_0x380596;_0x1f47c0=_0x1f47c0*_0x445dfa[_0x1695ce(0xb7)],_0x2f2282=_0x2f2282*_0x445dfa['pixelRatio'];_0x30138c[_0x1695ce(0xc2)]&&(_0x1f47c0=_0x2158a8[_0x1695ce(0xac)],_0x2f2282=_0x2158a8[_0x1695ce(0xe4)]);let _0x4194df;switch((_0x427556=_0x30138c[_0x1695ce(0xb1)])===null||_0x427556===void 0x0?void 0x0:_0x427556[_0x1695ce(0xc5)]()){default:case _0x1695ce(0xca):_0x4194df=-_0x1f47c0/0x2;break;case _0x1695ce(0xec):_0x4194df=0x0;break;case'RIGHT':_0x4194df=-_0x1f47c0;break;}let _0x4b0c1b;switch((_0x34441b=_0x30138c[_0x1695ce(0xcc)])===null||_0x34441b===void 0x0?void 0x0:_0x34441b[_0x1695ce(0xc5)]()){default:case _0x1695ce(0xab):_0x4b0c1b=-_0x2f2282;break;case _0x1695ce(0xca):_0x4b0c1b=-_0x2f2282/0x2;break;case _0x1695ce(0xe2):_0x4b0c1b=0x0;break;}_0x2a93a4[_0x1695ce(0xe5)](_0x2158a8,_0x4194df,_0x4b0c1b,_0x1f47c0,_0x2f2282);}else _0x2a93a4[_0x1695ce(0xe5)](_0x2158a8,0x0,0x0);_0x2a93a4['restore']();}catch(_0x374aaa){_0x2a93a4[_0x1695ce(0xd7)](),console[_0x1695ce(0xdc)](_0x374aaa);}}
1
+ (function(_0x249b55,_0x40f36a){const _0x3a63f6=a75_0x1fed,_0x115320=_0x249b55();while(!![]){try{const _0x585153=-parseInt(_0x3a63f6(0x1b3))/0x1+parseInt(_0x3a63f6(0x1af))/0x2+-parseInt(_0x3a63f6(0x1be))/0x3+parseInt(_0x3a63f6(0x1ca))/0x4*(-parseInt(_0x3a63f6(0x1c0))/0x5)+parseInt(_0x3a63f6(0x1ad))/0x6+parseInt(_0x3a63f6(0x1ba))/0x7*(-parseInt(_0x3a63f6(0x1b8))/0x8)+parseInt(_0x3a63f6(0x1a6))/0x9;if(_0x585153===_0x40f36a)break;else _0x115320['push'](_0x115320['shift']());}catch(_0x3e570f){_0x115320['push'](_0x115320['shift']());}}}(a75_0x43d9,0x42088));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a75_0x4a38ed from'ol/style/Style';import a75_0x4c5755 from'ol/style/Circle';import a75_0x251f8b from'ol/style/Fill';import a75_0x152726 from'ol/style/Stroke';function getMainStyle(_0x22babb,_0x31bdaf=0x0,_0x39895e){const _0x2f36dd=a75_0x1fed;let _0x1ee5ad;return _0x22babb[_0x2f36dd(0x18f)]||_0x22babb[_0x2f36dd(0x19e)]?_0x1ee5ad=new a75_0x4a38ed({'renderer':(_0x2db977,_0x14da02)=>{preLoadImageRenderFunction(_0x22babb,_0x2db977,_0x14da02,_0x39895e,_rendererFunction);},'zIndex':Number(_0x31bdaf)}):_0x1ee5ad=new a75_0x4a38ed({'image':new a75_0x4c5755({'radius':_0x22babb[_0x2f36dd(0x1a5)]?_0x22babb['radius']:_0x22babb['pixelSize'],'fill':new a75_0x251f8b({'color':getColor(_0x22babb[_0x2f36dd(0x1a3)],_0x22babb[_0x2f36dd(0x19c)])}),'stroke':_0x22babb[_0x2f36dd(0x1ae)]&&_0x22babb[_0x2f36dd(0x191)]?new a75_0x152726({'color':getColor(_0x22babb[_0x2f36dd(0x191)],_0x22babb[_0x2f36dd(0x18d)]),'width':_0x22babb['outlineWidth']}):undefined}),'zIndex':Number(_0x31bdaf)}),_0x1ee5ad;}function _rendererFunction(_0xca26f7,_0x177a18,_0x3d1d50,_0x2c6a97,_0xc03e41){const _0x4d0883=a75_0x1fed;if(!_0xc03e41||_0xc03e41['width']===0x0){let _0x24743b=new Image();_0x24743b[_0x4d0883(0x19a)]=_0xca26f7['image'];}if(_0xca26f7[_0x4d0883(0x1bb)]&&_0xca26f7[_0x4d0883(0x1a3)]!==''){let _0x467fdf=_0xca26f7['scale']||0x1,_0x33932b=_0xca26f7[_0x4d0883(0x195)]||_0xc03e41[_0x4d0883(0x195)]*_0x467fdf,_0x4d44b4=_0xca26f7[_0x4d0883(0x19b)]||_0xc03e41['height']*_0x467fdf;_0x33932b=_0x33932b*_0x3d1d50[_0x4d0883(0x1b1)],_0x4d44b4=_0x4d44b4*_0x3d1d50[_0x4d0883(0x1b1)];const _0x46e6d5=document[_0x4d0883(0x194)](_0x4d0883(0x196));_0x46e6d5[_0x4d0883(0x195)]=_0x33932b,_0x46e6d5[_0x4d0883(0x19b)]=_0x4d44b4;const _0x417cc0=_0x46e6d5[_0x4d0883(0x1b9)]('2d');_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1a1)](_0xc03e41,0x0,0x0,_0x33932b,_0x4d44b4);let _0x3ef783=_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c6)](0x0,0x0,_0x33932b,_0x4d44b4),_0x6e7ce=_0x3ef783===null||_0x3ef783===void 0x0?void 0x0:_0x3ef783[_0x4d0883(0x18c)];_0xc03e41=_0x46e6d5;let _0x2f03e2=HexToRgb(_0xca26f7[_0x4d0883(0x1a3)]);if(_0x6e7ce&&_0x2f03e2)for(var _0xff0ea0=0x0;_0xff0ea0<_0x6e7ce[_0x4d0883(0x1cb)];_0xff0ea0+=0x4){_0x6e7ce[_0xff0ea0]=_0x2f03e2[0x0],_0x6e7ce[_0xff0ea0+0x1]=_0x2f03e2[0x1],_0x6e7ce[_0xff0ea0+0x2]=_0x2f03e2[0x2];}_0x3ef783&&(_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c5)](_0x3ef783,0x0,0x0));}let _0x1423bb=_0x3d1d50[_0x4d0883(0x1ac)],_0x5d1d28=_0x3d1d50[_0x4d0883(0x1b1)],_0x3057a9=_0x1423bb['getStride'](),_0x3abd5e=_0x1423bb['getType'](),_0x51a107=[];switch(_0x3abd5e){case'LineString':_0x51a107=_0x1423bb[_0x4d0883(0x1c3)]();break;case _0x4d0883(0x1a8):_0x51a107=_0x1423bb[_0x4d0883(0x18e)](),_0x3057a9=0x2;break;case _0x4d0883(0x1b7):_0x51a107=_0x1423bb[_0x4d0883(0x19f)](),_0x3057a9=0x3;break;case _0x4d0883(0x1bc):{let _0x3ce807=_0x1423bb['getFlatInteriorPoints']();_0x51a107=[];for(let _0x1bde54=0x0,_0x442ae3=_0x3ce807[_0x4d0883(0x1cb)];_0x1bde54<_0x442ae3;_0x1bde54+=0x3){_0x51a107[_0x4d0883(0x190)](_0x3ce807[_0x1bde54],_0x3ce807[_0x1bde54+0x1]);}if(_0x51a107[_0x4d0883(0x1cb)]===0x0)return;_0x3057a9=0x2;break;}}if(_0x51a107[_0x4d0883(0x1cb)]>0x0&&_0x2c6a97)for(let _0x1257cb=0x0,_0x30c2fb=_0x51a107[_0x4d0883(0x1cb)];_0x1257cb<_0x30c2fb;_0x1257cb+=_0x3057a9){let _0x43038c=[_0x51a107[_0x1257cb],_0x51a107[_0x1257cb+0x1]],_0x363247=_0x2c6a97[_0x4d0883(0x1cc)](_0x43038c);_0x363247=[_0x363247[0x0]*_0x5d1d28,_0x363247[0x1]*_0x5d1d28],drawImage(_0xca26f7,_0x363247,_0x3d1d50,_0xc03e41);}else{if(_0x3abd5e===_0x4d0883(0x18b))for(let _0x28120b of _0x177a18){drawImage(_0xca26f7,_0x28120b,_0x3d1d50,_0xc03e41);}else drawImage(_0xca26f7,_0x177a18,_0x3d1d50,_0xc03e41);}}function a75_0x43d9(){const _0x14f587=['stringify','src','height','opacity','point','markerColor','getFlatInteriorPoint','replace','drawImage','verticalOrigin','color','zIndex','radius','10106694nnLQpP','translate','MultiLineString','BOTTOM','rotate','pixelOffset','geometry','2120292dDoVMY','outline','155256hisIwl','model/','pixelRatio','RIGHT','310611ZzkOyk','text','show','warn','Polygon','2199096kVpfgp','getContext','7CAvGCP','changeColor','MultiPolygon','parse','1121547NBvMYO','globalAlpha','5MFfnri','toUpperCase','rotation','getFlatMidpoint','cloud','putImageData','getImageData','modelKind','TOP','CENTER','1296628NJFfke','length','getPixelFromCoordinate','billboard','model','context','imgUrl','scale','label','.png','MultiPoint','data','outlineOpacity','getFlatMidpoints','image','push','outlineColor','restore','LEFT','createElement','width','canvas','horizontalOrigin','save'];a75_0x43d9=function(){return _0x14f587;};return a75_0x43d9();}function HexToRgb(_0x363df3){const _0x147951=a75_0x1fed;_0x363df3=_0x363df3[_0x147951(0x1a0)]('#','');let _0x1c80d1=_0x363df3['match'](/../g);if(_0x1c80d1){for(let _0xd4b66=0x0;_0xd4b66<0x3;_0xd4b66++)_0x1c80d1[_0xd4b66]=parseInt(_0x1c80d1[_0xd4b66],0x10);}return _0x1c80d1;}export function getImageOlStyle(_0x4042ef,_0x2fe55f,_0x83316f,_0x418f01){const _0x49386d=a75_0x1fed;var _0x28b6b9;if(_0x4042ef&&_0x4042ef[_0x49386d(0x1b5)]!==![]){_0x4042ef=JSON[_0x49386d(0x1bd)](JSON[_0x49386d(0x199)](_0x4042ef)),_0x2fe55f=(_0x28b6b9=_0x4042ef[_0x49386d(0x1a4)])!==null&&_0x28b6b9!==void 0x0?_0x28b6b9:_0x2fe55f;let _0x264906=isShowStyle(_0x4042ef,_0x83316f,_0x418f01);if(_0x264906)return _0x4042ef[_0x49386d(0x18f)]=parseImage(_0x4042ef[_0x49386d(0x18f)]),getMainStyle(_0x4042ef,_0x2fe55f,_0x418f01);}}export function getPointStyle(_0x7acdbc,_0x3f6f74,_0x3ce84c,_0x140cdf){const _0xafa16c=a75_0x1fed;var _0xa5d222,_0x49202e;_0x7acdbc=JSON[_0xafa16c(0x1bd)](JSON[_0xafa16c(0x199)](_0x7acdbc));let _0x1140d4=(_0xa5d222=_0x7acdbc[_0xafa16c(0x1a4)])!==null&&_0xa5d222!==void 0x0?_0xa5d222:0x0,_0x584d11=[],_0x1dcff7=getImageOlStyle(_0x7acdbc,_0x1140d4,_0x3ce84c,_0x140cdf);_0x1dcff7&&_0x584d11[_0xafa16c(0x190)](_0x1dcff7);let _0x2f4ca3=getImageOlStyle(_0x7acdbc[_0xafa16c(0x184)],_0x1140d4,_0x3ce84c,_0x140cdf);_0x2f4ca3&&_0x584d11[_0xafa16c(0x190)](_0x2f4ca3);if(_0x7acdbc[_0xafa16c(0x185)]&&_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1b5)]!==![]){let _0x58805f=isShowStyle(_0x7acdbc['model'],_0x3ce84c,_0x140cdf);if(_0x58805f){let _0x3b0690=(_0x49202e=_0x7acdbc[_0xafa16c(0x185)]['zIndex'])!==null&&_0x49202e!==void 0x0?_0x49202e:_0x1140d4,_0x5a1f6e=_0x7acdbc['model'][_0xafa16c(0x187)]||_0xafa16c(0x1b0)+_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1c7)]+_0xafa16c(0x18a);_0x7acdbc[_0xafa16c(0x188)]=0x1,_0x7acdbc['width']=0x30,_0x7acdbc[_0xafa16c(0x19b)]=0x30,_0x7acdbc['verticalOrigin']=_0xafa16c(0x1c9),_0x584d11[_0xafa16c(0x190)](getMainStyle(_0x7acdbc[_0xafa16c(0x185)],_0x3b0690,_0x140cdf));}}if(_0x7acdbc[_0xafa16c(0x189)]&&_0x7acdbc['label'][_0xafa16c(0x1b5)]!==![]){let _0x2050d2=new a75_0x4a38ed({'text':createTextStyle(_0x7acdbc[_0xafa16c(0x189)],_0x3f6f74,_0x3ce84c,_0x140cdf),'zIndex':Number(_0x1140d4)+0x1});_0x584d11[_0xafa16c(0x190)](_0x2050d2);}return _0x584d11;}export function getPointSingleStyle(_0x33348d,_0x93c37,_0x1daa68,_0x24bbcb){const _0x523c44=a75_0x1fed;_0x93c37=JSON[_0x523c44(0x1bd)](JSON['stringify'](_0x93c37));let _0xd10b6f=_0x93c37[_0x523c44(0x189)],_0x3e1a84;_0xd10b6f&&(_0x3e1a84=_0xd10b6f[_0x523c44(0x1b4)]?_0xd10b6f['text']:'');if(_0x33348d===_0x523c44(0x184))return _0x93c37['image']=parseImage(_0x93c37['image']),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d==='model'){let _0x297709=_0x93c37['imgUrl']||_0x523c44(0x1b0)+_0x93c37['modelKind']+'.png';return _0x93c37[_0x523c44(0x188)]=0x1,_0x93c37['width']=0x30,_0x93c37[_0x523c44(0x19b)]=0x30,_0x93c37[_0x523c44(0x1a2)]=_0x523c44(0x1c9),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}else{if(_0x33348d===_0x523c44(0x1c4))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d===_0x523c44(0x19d))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else return _0x33348d===_0x523c44(0x189)?new a75_0x4a38ed({'text':createTextStyle(_0x93c37,_0x93c37[_0x523c44(0x1b4)],_0x1daa68,_0x24bbcb),'zIndex':_0x93c37['zIndex']}):getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}}}}function a75_0x1fed(_0x1aabfe,_0x502a4b){const _0x43d986=a75_0x43d9();return a75_0x1fed=function(_0x1fedad,_0x28ebd3){_0x1fedad=_0x1fedad-0x184;let _0x9e2fe2=_0x43d986[_0x1fedad];return _0x9e2fe2;},a75_0x1fed(_0x1aabfe,_0x502a4b);}function drawImage(_0x3b2189,_0x57f8b6,_0x2b39a8,_0xb7a029){const _0x3c270f=a75_0x1fed;var _0x2ac51d,_0x32df28,_0x50c503,_0x103386;let _0x4c82f8=_0x2b39a8[_0x3c270f(0x186)];try{_0x4c82f8[_0x3c270f(0x198)]();let _0x2bdb62=Number(_0x3b2189['pixelOffsetX']||((_0x2ac51d=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x2ac51d===void 0x0?void 0x0:_0x2ac51d[0x0])||0x0),_0x206d16=Number(_0x3b2189['pixelOffsetY']||((_0x32df28=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x32df28===void 0x0?void 0x0:_0x32df28[0x1])||0x0);_0x4c82f8[_0x3c270f(0x1a7)](_0x57f8b6[0x0]+_0x2bdb62,_0x57f8b6[0x1]+_0x206d16);if(_0x3b2189[_0x3c270f(0x1c2)])_0x4c82f8[_0x3c270f(0x1aa)](toRadians(_0x3b2189[_0x3c270f(0x1c2)]));_0x4c82f8[_0x3c270f(0x1bf)]=_0x3b2189[_0x3c270f(0x19c)]!=null?_0x3b2189['opacity']:0x1;if(_0xb7a029[_0x3c270f(0x195)]>0x0){let _0x2bfe4d=_0x3b2189[_0x3c270f(0x188)]||0x1,_0x47fa85=_0x3b2189[_0x3c270f(0x195)]||_0xb7a029[_0x3c270f(0x195)]*_0x2bfe4d,_0x48b025=_0x3b2189[_0x3c270f(0x19b)]||_0xb7a029['height']*_0x2bfe4d;_0x47fa85=_0x47fa85*_0x2b39a8[_0x3c270f(0x1b1)],_0x48b025=_0x48b025*_0x2b39a8[_0x3c270f(0x1b1)];_0x3b2189[_0x3c270f(0x1bb)]&&(_0x47fa85=_0xb7a029[_0x3c270f(0x195)],_0x48b025=_0xb7a029[_0x3c270f(0x19b)]);let _0x3409a2;switch((_0x50c503=_0x3b2189[_0x3c270f(0x197)])===null||_0x50c503===void 0x0?void 0x0:_0x50c503[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1c9):_0x3409a2=-_0x47fa85/0x2;break;case _0x3c270f(0x193):_0x3409a2=0x0;break;case _0x3c270f(0x1b2):_0x3409a2=-_0x47fa85;break;}let _0xdfad46;switch((_0x103386=_0x3b2189[_0x3c270f(0x1a2)])===null||_0x103386===void 0x0?void 0x0:_0x103386[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1a9):_0xdfad46=-_0x48b025;break;case'CENTER':_0xdfad46=-_0x48b025/0x2;break;case _0x3c270f(0x1c8):_0xdfad46=0x0;break;}_0x4c82f8['drawImage'](_0xb7a029,_0x3409a2,_0xdfad46,_0x47fa85,_0x48b025);}else _0x4c82f8[_0x3c270f(0x1a1)](_0xb7a029,0x0,0x0);_0x4c82f8[_0x3c270f(0x192)]();}catch(_0x27df37){_0x4c82f8['restore'](),console[_0x3c270f(0x1b6)](_0x27df37);}}
@@ -1 +1 @@
1
- (function(_0x8f02a7,_0x369710){var _0x2324e0=a75_0x354f,_0x4bd6e8=_0x8f02a7();while(!![]){try{var _0x381944=-parseInt(_0x2324e0(0xee))/0x1+parseInt(_0x2324e0(0x10f))/0x2+parseInt(_0x2324e0(0xe7))/0x3*(-parseInt(_0x2324e0(0x10c))/0x4)+parseInt(_0x2324e0(0xff))/0x5+parseInt(_0x2324e0(0xf3))/0x6*(-parseInt(_0x2324e0(0xed))/0x7)+-parseInt(_0x2324e0(0xf8))/0x8*(parseInt(_0x2324e0(0xf7))/0x9)+-parseInt(_0x2324e0(0x112))/0xa*(-parseInt(_0x2324e0(0xdd))/0xb);if(_0x381944===_0x369710)break;else _0x4bd6e8['push'](_0x4bd6e8['shift']());}catch(_0x1e1992){_0x4bd6e8['push'](_0x4bd6e8['shift']());}}}(a75_0x24bb,0xea960));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';function a75_0x24bb(){var _0x56271d=['opacity','color','stripe','translate','setZIndex','rgba(0,0,0,0.01)','beginPath','restore','canvas','3660151FUkIOz','repeat','fillType','setStroke','length','stroke','drawImage','moveTo','setText','repeatX','3IyqIcX','createPattern','rgba(0,0,0,0.0)','width','rgba(0,0,0,0)','repeatY','8827FeWNFA','748882xrVMdU','zIndex','outlineColor','CENTER','max','5322fQvHGo','oddColor','fillStyle','setRenderer','9tmPBAt','8110528Vjhyhq','stripe_oddcolor','createElement','verticalOrigin','grid','fill','height','6716730haqaeX','outlineOpacity','outlineWidth','billboard','grid_lineThickness','setFill','outline','globalAlpha','stripe_repeat','checkerboard_repeat','image','grid_lineCount','closePath','3685172EkUNyN','getContext','lineWidth','1516176ygPXRs','lineTo','src','80YMvgdz','strokeStyle','checkerboard'];a75_0x24bb=function(){return _0x56271d;};return a75_0x24bb();}function a75_0x354f(_0x22c8a,_0x4dd8d0){var _0x24bb4f=a75_0x24bb();return a75_0x354f=function(_0x354f08,_0x14388f){_0x354f08=_0x354f08-0xd6;var _0x18f308=_0x24bb4f[_0x354f08];return _0x18f308;},a75_0x354f(_0x22c8a,_0x4dd8d0);}import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x126c55,_0x300d6e,_0x52b709,_0x2d4779){var _0x500a66=a75_0x354f,_0x3e1806;let _0xa3a726=(_0x3e1806=_0x126c55[_0x500a66(0xef)])!==null&&_0x3e1806!==void 0x0?_0x3e1806:0x0,_0x41ece1=new Style();_0x41ece1[_0x500a66(0xd8)](_0xa3a726),_0x41ece1[_0x500a66(0x104)](new Fill({'color':_0x500a66(0xeb)}));if(_0x126c55[_0x500a66(0xfd)]!==![]){if(!_0x126c55[_0x500a66(0xdf)]||_0x126c55[_0x500a66(0xdf)]==='color')_0x41ece1['setFill'](new Fill({'color':getColor(_0x126c55[_0x500a66(0x116)],_0x126c55[_0x500a66(0x115)])}));else{if(_0x126c55['fillType']===_0x500a66(0x109))_0x41ece1[_0x500a66(0xf6)]((_0x16f676,_0x4cacec)=>{preLoadImageRenderFunction(_0x126c55,_0x16f676,_0x4cacec,_0x2d4779,_rendererFunction);});else _0x126c55[_0x500a66(0xdf)]==='grid'||_0x126c55[_0x500a66(0xdf)]==='stripe'||_0x126c55[_0x500a66(0xdf)]==='checkerboard'?_0x41ece1[_0x500a66(0xf6)]((_0x570fb9,_0x54c4c4)=>{_rendererFunction(_0x126c55,_0x570fb9,_0x54c4c4,_0x2d4779,null);}):_0x41ece1[_0x500a66(0x104)](new Fill({'color':getColor(_0x126c55[_0x500a66(0x116)],_0x126c55['opacity'])}));}}_0x126c55[_0x500a66(0x105)]!==![]&&_0x41ece1[_0x500a66(0xe0)](new Stroke({'color':getColor(_0x126c55[_0x500a66(0xf0)],_0x126c55['outlineOpacity']),'width':_0x126c55['outlineWidth']}));let _0x103187=[_0x41ece1];_0x126c55['billboard']&&!_0x126c55[_0x500a66(0x102)][_0x500a66(0xfb)]&&(_0x126c55['billboard'][_0x500a66(0xfb)]=_0x500a66(0xf1));let _0x4af249=getImageOlStyle(_0x126c55['billboard'],_0xa3a726,_0x52b709,_0x2d4779);_0x4af249&&_0x103187['push'](_0x4af249);if(_0x300d6e){const _0x1872e7=createTextStyle(_0x126c55,_0x300d6e,_0x52b709,_0x2d4779);_0x1872e7&&(_0x41ece1[_0x500a66(0xe5)](_0x1872e7),_0x41ece1['setZIndex'](Number(_0xa3a726)+0x1));}return _0x103187;}function _rendererFunction(_0x2965c8,_0xef113a,_0x34af9f,_0x3db8cd,_0x41192c){var _0x391b55=a75_0x354f;try{var _0x33f6a4=_0x34af9f['context'];for(var _0x218c6d=0x0,_0x35f272=_0xef113a[_0x391b55(0xe1)];_0x218c6d<_0x35f272;_0x218c6d++){_0x33f6a4['save'](),_0x33f6a4[_0x391b55(0xda)]();var _0x2c1c69=_0xef113a[_0x218c6d];let _0x41c85c=boundingExtent(_0x2c1c69);_0x33f6a4[_0x391b55(0xd7)](_0x41c85c[0x0],_0x41c85c[0x1]);let _0x5c5665;switch(_0x2965c8[_0x391b55(0xdf)]){case _0x391b55(0x109):_0x5c5665=_getImagePattern(_0x33f6a4,_0x41c85c,_0x2965c8,_0x41192c);break;case _0x391b55(0xfc):_0x5c5665=_getGridPattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;case _0x391b55(0xd6):_0x5c5665=_getStripePattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;case _0x391b55(0x114):_0x5c5665=_getCheckerBoardPattern(_0x33f6a4,_0x41c85c,_0x2965c8);break;default:_0x5c5665=_0x391b55(0xd9);break;}for(var _0x2ff82a=0x0,_0x2a86ac=_0x2c1c69[_0x391b55(0xe1)];_0x2ff82a<_0x2a86ac;_0x2ff82a++){var _0xb94cd8=_0x2c1c69[_0x2ff82a];_0x2ff82a===0x0?_0x33f6a4[_0x391b55(0xe4)](_0xb94cd8[0x0]-_0x41c85c[0x0],_0xb94cd8[0x1]-_0x41c85c[0x1]):_0x33f6a4[_0x391b55(0x110)](_0xb94cd8[0x0]-_0x41c85c[0x0],_0xb94cd8[0x1]-_0x41c85c[0x1]);}_0x33f6a4[_0x391b55(0x10b)](),_0x33f6a4[_0x391b55(0xf5)]=_0x391b55(0xd9),_0x33f6a4[_0x391b55(0xfd)](),_0x33f6a4[_0x391b55(0xf5)]=_0x5c5665,_0x33f6a4[_0x391b55(0xfd)](),_0x2965c8[_0x391b55(0x105)]?(_0x33f6a4[_0x391b55(0x113)]=getColor(_0x2965c8['outlineColor'],_0x2965c8[_0x391b55(0x100)]),_0x33f6a4[_0x391b55(0x10e)]=_0x2965c8[_0x391b55(0x101)]):_0x33f6a4[_0x391b55(0x113)]=_0x391b55(0xe9),_0x33f6a4[_0x391b55(0xe2)](),_0x33f6a4[_0x391b55(0xdb)]();}}catch(_0x5e72eb){_0x33f6a4[_0x391b55(0xdb)](),console['warn'](_0x5e72eb);}}function _getImagePattern(_0x21076a,_0x132645,_0x4636a2,_0x5246f4){var _0x5a0632=a75_0x354f;if(!_0x5246f4||_0x5246f4['width']===0x0){let _0x125cc3=new Image();_0x125cc3[_0x5a0632(0x111)]=_0x4636a2[_0x5a0632(0x109)];}var _0xe32c72=getSize(_0x132645);const _0x2c3e63=document[_0x5a0632(0xfa)]('canvas'),_0x31a4cf=_0x2c3e63[_0x5a0632(0x10d)]('2d');return _0x2c3e63['width']=Math[_0x5a0632(0xf2)](_0xe32c72[0x0]/_0x4636a2[_0x5a0632(0xe6)],0x1),_0x2c3e63['height']=Math[_0x5a0632(0xf2)](_0xe32c72[0x1]/_0x4636a2[_0x5a0632(0xec)],0x1),_0x31a4cf&&(_0x31a4cf[_0x5a0632(0x106)]=_0x4636a2[_0x5a0632(0x115)],_0x31a4cf[_0x5a0632(0xe3)](_0x5246f4,0x0,0x0,_0x2c3e63['width'],_0x2c3e63['height'])),_0x21076a[_0x5a0632(0xe8)](_0x2c3e63,_0x5a0632(0xde));}function _getGridPattern(_0x3e617b,_0x2270dd,_0x525075){var _0x3519a9=a75_0x354f,_0x3aa763=getSize(_0x2270dd);const _0x14d19f=document[_0x3519a9(0xfa)]('canvas'),_0x336f15=_0x14d19f['getContext']('2d');return _0x14d19f['width']=Math[_0x3519a9(0xf2)](_0x3aa763[0x0]/_0x525075[_0x3519a9(0x10a)],0x1),_0x14d19f[_0x3519a9(0xfe)]=Math[_0x3519a9(0xf2)](_0x3aa763[0x1]/_0x525075[_0x3519a9(0x10a)],0x1),_0x336f15&&(_0x336f15[_0x3519a9(0x113)]=getColor(_0x525075[_0x3519a9(0x116)],_0x525075['opacity']),_0x336f15[_0x3519a9(0x10e)]=_0x525075[_0x3519a9(0x103)]*0x4,_0x336f15[_0x3519a9(0xda)](),_0x336f15[_0x3519a9(0xe4)](0x0,_0x14d19f[_0x3519a9(0xfe)]),_0x336f15[_0x3519a9(0x110)](_0x14d19f[_0x3519a9(0xea)],_0x14d19f['height']),_0x336f15[_0x3519a9(0xe4)](_0x14d19f['width'],0x0),_0x336f15[_0x3519a9(0x110)](_0x14d19f[_0x3519a9(0xea)],_0x14d19f[_0x3519a9(0xfe)]),_0x336f15['stroke']()),_0x3e617b['createPattern'](_0x14d19f,'repeat');}function _getStripePattern(_0x210592,_0x2c120c,_0x3df551){var _0x76b173=a75_0x354f,_0x17a7ac=getSize(_0x2c120c);const _0xf52e93=document['createElement']('canvas'),_0x231498=_0xf52e93[_0x76b173(0x10d)]('2d');let _0x24dbfa=Math['max'](_0x17a7ac[0x1]/_0x3df551[_0x76b173(0x107)],0x1);return _0xf52e93[_0x76b173(0xea)]=_0x17a7ac[0x0],_0xf52e93['height']=_0x24dbfa*0x2,_0x231498&&(_0x231498[_0x76b173(0xda)](),_0x231498[_0x76b173(0xe4)](0x0,0x0),_0x231498[_0x76b173(0x110)](_0xf52e93['width'],0x0),_0x231498[_0x76b173(0x110)](_0xf52e93[_0x76b173(0xea)],_0x24dbfa),_0x231498[_0x76b173(0x110)](0x0,_0x24dbfa),_0x231498['closePath'](),_0x231498[_0x76b173(0xf5)]=getColor(_0x3df551[_0x76b173(0xf9)],_0x3df551[_0x76b173(0x115)]),_0x231498[_0x76b173(0xfd)](),_0x231498[_0x76b173(0xda)](),_0x231498[_0x76b173(0xe4)](0x0,_0x24dbfa),_0x231498['lineTo'](_0xf52e93[_0x76b173(0xea)],_0x24dbfa),_0x231498[_0x76b173(0x110)](_0xf52e93[_0x76b173(0xea)],_0x24dbfa*0x2),_0x231498[_0x76b173(0x110)](0x0,_0x24dbfa*0x2),_0x231498['closePath'](),_0x231498[_0x76b173(0xf5)]=getColor(_0x3df551['color'],_0x3df551[_0x76b173(0x115)]),_0x231498['fill']()),_0x210592[_0x76b173(0xe8)](_0xf52e93,_0x76b173(0xde));}function _getCheckerBoardPattern(_0x495a7a,_0x806354,_0x413ad4){var _0x187afd=a75_0x354f,_0x10089a=getSize(_0x806354);const _0x149d50=document[_0x187afd(0xfa)](_0x187afd(0xdc)),_0xf0a58c=_0x149d50['getContext']('2d');let _0x13d86f=Math['max'](_0x10089a[0x0]/_0x413ad4[_0x187afd(0x108)],0x1),_0x4376ff=Math[_0x187afd(0xf2)](_0x10089a[0x1]/_0x413ad4[_0x187afd(0x108)],0x1);return _0x149d50['width']=_0x13d86f*0x2,_0x149d50[_0x187afd(0xfe)]=_0x4376ff*0x2,_0xf0a58c&&(_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c[_0x187afd(0xe4)](0x0,0x0),_0xf0a58c['lineTo'](_0x13d86f,0x0),_0xf0a58c['lineTo'](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](0x0,_0x4376ff),_0xf0a58c['closePath'](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0xf4)],_0x413ad4[_0x187afd(0x115)]),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c['moveTo'](_0x13d86f,0x0),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],0x0),_0xf0a58c[_0x187afd(0x110)](_0x149d50['width'],_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4['color'],_0x413ad4['opacity']),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c['moveTo'](0x0,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x149d50['height']),_0xf0a58c[_0x187afd(0x110)](0x0,_0x149d50[_0x187afd(0xfe)]),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0x116)],_0x413ad4[_0x187afd(0x115)]),_0xf0a58c[_0x187afd(0xfd)](),_0xf0a58c[_0x187afd(0xda)](),_0xf0a58c[_0x187afd(0xe4)](_0x13d86f,_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],_0x4376ff),_0xf0a58c[_0x187afd(0x110)](_0x149d50[_0x187afd(0xea)],_0x149d50['height']),_0xf0a58c[_0x187afd(0x110)](_0x13d86f,_0x149d50[_0x187afd(0xfe)]),_0xf0a58c[_0x187afd(0x10b)](),_0xf0a58c[_0x187afd(0xf5)]=getColor(_0x413ad4[_0x187afd(0xf4)],_0x413ad4['opacity']),_0xf0a58c[_0x187afd(0xfd)]()),_0x495a7a[_0x187afd(0xe8)](_0x149d50,'repeat');}
1
+ function a76_0x39b6(){var _0x2ab04f=['fillType','warn','max','verticalOrigin','opacity','stripe_oddcolor','lineTo','stripe','27wTKGyO','checkerboard','outlineWidth','save','rgba(0,0,0,0.0)','translate','context','setZIndex','21UyhPZB','globalAlpha','length','grid','6565188bPjUOA','fill','restore','zIndex','44188870bfIWDy','height','rgba(0,0,0,0.01)','grid_lineCount','width','outlineColor','beginPath','568432ASuuIZ','setText','canvas','stroke','closePath','setStroke','image','stripe_repeat','src','strokeStyle','getContext','color','grid_lineThickness','drawImage','5208520yWuNJj','fillStyle','532308SWEMjF','repeat','lineWidth','createPattern','createElement','rgba(0,0,0,0)','32462EMlkOo','push','103158UKjSAn','moveTo','69HUpssy','billboard','setRenderer','outline','setFill','oddColor','checkerboard_repeat','295kqcJEP'];a76_0x39b6=function(){return _0x2ab04f;};return a76_0x39b6();}(function(_0x4648f2,_0x22ac30){var _0x163a1e=a76_0x2215,_0x142636=_0x4648f2();while(!![]){try{var _0x589b12=parseInt(_0x163a1e(0x89))/0x1*(-parseInt(_0x163a1e(0x85))/0x2)+parseInt(_0x163a1e(0xa1))/0x3*(-parseInt(_0x163a1e(0x7f))/0x4)+parseInt(_0x163a1e(0x90))/0x5*(-parseInt(_0x163a1e(0x87))/0x6)+-parseInt(_0x163a1e(0xa5))/0x7+-parseInt(_0x163a1e(0xb0))/0x8*(-parseInt(_0x163a1e(0x99))/0x9)+parseInt(_0x163a1e(0x7d))/0xa+parseInt(_0x163a1e(0xa9))/0xb;if(_0x589b12===_0x22ac30)break;else _0x142636['push'](_0x142636['shift']());}catch(_0x43af80){_0x142636['push'](_0x142636['shift']());}}}(a76_0x39b6,0xb67ab));function a76_0x2215(_0x46a9d8,_0x1afbe2){var _0x39b6f6=a76_0x39b6();return a76_0x2215=function(_0x221555,_0x33b748){_0x221555=_0x221555-0x77;var _0x4c429b=_0x39b6f6[_0x221555];return _0x4c429b;},a76_0x2215(_0x46a9d8,_0x1afbe2);}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e){var _0x4a72b9=a76_0x2215,_0x1335f3;let _0x532ed7=(_0x1335f3=_0x132f4c[_0x4a72b9(0xa8)])!==null&&_0x1335f3!==void 0x0?_0x1335f3:0x0,_0x1e5818=new Style();_0x1e5818['setZIndex'](_0x532ed7),_0x1e5818['setFill'](new Fill({'color':_0x4a72b9(0x84)}));if(_0x132f4c[_0x4a72b9(0xa6)]!==![]){if(!_0x132f4c['fillType']||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x7a))_0x1e5818['setFill'](new Fill({'color':getColor(_0x132f4c['color'],_0x132f4c[_0x4a72b9(0x95)])}));else{if(_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xb6))_0x1e5818[_0x4a72b9(0x8b)]((_0x4903a5,_0x12ac2a)=>{preLoadImageRenderFunction(_0x132f4c,_0x4903a5,_0x12ac2a,_0x2bbb8e,_rendererFunction);});else _0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xa4)||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x98)||_0x132f4c['fillType']===_0x4a72b9(0x9a)?_0x1e5818[_0x4a72b9(0x8b)]((_0x5ca99b,_0x5eda07)=>{_rendererFunction(_0x132f4c,_0x5ca99b,_0x5eda07,_0x2bbb8e,null);}):_0x1e5818[_0x4a72b9(0x8d)](new Fill({'color':getColor(_0x132f4c[_0x4a72b9(0x7a)],_0x132f4c['opacity'])}));}}_0x132f4c[_0x4a72b9(0x8c)]!==![]&&_0x1e5818[_0x4a72b9(0xb5)](new Stroke({'color':getColor(_0x132f4c[_0x4a72b9(0xae)],_0x132f4c['outlineOpacity']),'width':_0x132f4c[_0x4a72b9(0x9b)]}));let _0x27dcdd=[_0x1e5818];_0x132f4c['billboard']&&!_0x132f4c[_0x4a72b9(0x8a)][_0x4a72b9(0x94)]&&(_0x132f4c['billboard'][_0x4a72b9(0x94)]='CENTER');let _0x217355=getImageOlStyle(_0x132f4c[_0x4a72b9(0x8a)],_0x532ed7,_0x8a2ec0,_0x2bbb8e);_0x217355&&_0x27dcdd[_0x4a72b9(0x86)](_0x217355);if(_0x1f83db){const _0x4411cc=createTextStyle(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e);_0x4411cc&&(_0x1e5818[_0x4a72b9(0xb1)](_0x4411cc),_0x1e5818[_0x4a72b9(0xa0)](Number(_0x532ed7)+0x1));}return _0x27dcdd;}function _rendererFunction(_0x36338c,_0x35b868,_0x5c9bf5,_0x22238f,_0x2eb253){var _0x1acfc7=a76_0x2215;try{var _0x35114d=_0x5c9bf5[_0x1acfc7(0x9f)];for(var _0x182859=0x0,_0x5ec2ab=_0x35b868[_0x1acfc7(0xa3)];_0x182859<_0x5ec2ab;_0x182859++){_0x35114d[_0x1acfc7(0x9c)](),_0x35114d[_0x1acfc7(0xaf)]();var _0x36b69d=_0x35b868[_0x182859];let _0x55a1d8=boundingExtent(_0x36b69d);_0x35114d[_0x1acfc7(0x9e)](_0x55a1d8[0x0],_0x55a1d8[0x1]);let _0x526907;switch(_0x36338c[_0x1acfc7(0x91)]){case _0x1acfc7(0xb6):_0x526907=_getImagePattern(_0x35114d,_0x55a1d8,_0x36338c,_0x2eb253);break;case _0x1acfc7(0xa4):_0x526907=_getGridPattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x98):_0x526907=_getStripePattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x9a):_0x526907=_getCheckerBoardPattern(_0x35114d,_0x55a1d8,_0x36338c);break;default:_0x526907=_0x1acfc7(0xab);break;}for(var _0x12bec8=0x0,_0x249d9b=_0x36b69d[_0x1acfc7(0xa3)];_0x12bec8<_0x249d9b;_0x12bec8++){var _0x8fec5b=_0x36b69d[_0x12bec8];_0x12bec8===0x0?_0x35114d[_0x1acfc7(0x88)](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]):_0x35114d['lineTo'](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]);}_0x35114d[_0x1acfc7(0xb4)](),_0x35114d['fillStyle']='rgba(0,0,0,0.01)',_0x35114d['fill'](),_0x35114d['fillStyle']=_0x526907,_0x35114d['fill'](),_0x36338c[_0x1acfc7(0x8c)]?(_0x35114d['strokeStyle']=getColor(_0x36338c[_0x1acfc7(0xae)],_0x36338c['outlineOpacity']),_0x35114d[_0x1acfc7(0x81)]=_0x36338c[_0x1acfc7(0x9b)]):_0x35114d[_0x1acfc7(0x78)]=_0x1acfc7(0x9d),_0x35114d['stroke'](),_0x35114d[_0x1acfc7(0xa7)]();}}catch(_0x1cd063){_0x35114d[_0x1acfc7(0xa7)](),console[_0x1acfc7(0x92)](_0x1cd063);}}function _getImagePattern(_0x91942b,_0x7dca5c,_0x160ee8,_0x46a81f){var _0xd1bacf=a76_0x2215;if(!_0x46a81f||_0x46a81f[_0xd1bacf(0xad)]===0x0){let _0x18c345=new Image();_0x18c345[_0xd1bacf(0x77)]=_0x160ee8[_0xd1bacf(0xb6)];}var _0x5617e9=getSize(_0x7dca5c);const _0x469ffd=document[_0xd1bacf(0x83)](_0xd1bacf(0xb2)),_0x4f6bc0=_0x469ffd['getContext']('2d');return _0x469ffd[_0xd1bacf(0xad)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x0]/_0x160ee8['repeatX'],0x1),_0x469ffd[_0xd1bacf(0xaa)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x1]/_0x160ee8['repeatY'],0x1),_0x4f6bc0&&(_0x4f6bc0[_0xd1bacf(0xa2)]=_0x160ee8[_0xd1bacf(0x95)],_0x4f6bc0[_0xd1bacf(0x7c)](_0x46a81f,0x0,0x0,_0x469ffd[_0xd1bacf(0xad)],_0x469ffd[_0xd1bacf(0xaa)])),_0x91942b[_0xd1bacf(0x82)](_0x469ffd,_0xd1bacf(0x80));}function _getGridPattern(_0x4f905a,_0x7494e8,_0x956ff9){var _0x3c28dd=a76_0x2215,_0x21216a=getSize(_0x7494e8);const _0x2a190f=document[_0x3c28dd(0x83)](_0x3c28dd(0xb2)),_0x3653da=_0x2a190f[_0x3c28dd(0x79)]('2d');return _0x2a190f[_0x3c28dd(0xad)]=Math[_0x3c28dd(0x93)](_0x21216a[0x0]/_0x956ff9[_0x3c28dd(0xac)],0x1),_0x2a190f[_0x3c28dd(0xaa)]=Math[_0x3c28dd(0x93)](_0x21216a[0x1]/_0x956ff9['grid_lineCount'],0x1),_0x3653da&&(_0x3653da[_0x3c28dd(0x78)]=getColor(_0x956ff9[_0x3c28dd(0x7a)],_0x956ff9[_0x3c28dd(0x95)]),_0x3653da[_0x3c28dd(0x81)]=_0x956ff9[_0x3c28dd(0x7b)]*0x4,_0x3653da['beginPath'](),_0x3653da[_0x3c28dd(0x88)](0x0,_0x2a190f['height']),_0x3653da['lineTo'](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f['height']),_0x3653da[_0x3c28dd(0x88)](_0x2a190f['width'],0x0),_0x3653da[_0x3c28dd(0x97)](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f[_0x3c28dd(0xaa)]),_0x3653da[_0x3c28dd(0xb3)]()),_0x4f905a[_0x3c28dd(0x82)](_0x2a190f,'repeat');}function _getStripePattern(_0x46884f,_0x561489,_0x57556a){var _0x26a29a=a76_0x2215,_0x5e5a82=getSize(_0x561489);const _0x56bb75=document[_0x26a29a(0x83)]('canvas'),_0x2caf09=_0x56bb75[_0x26a29a(0x79)]('2d');let _0x2a1b43=Math[_0x26a29a(0x93)](_0x5e5a82[0x1]/_0x57556a[_0x26a29a(0xb7)],0x1);return _0x56bb75[_0x26a29a(0xad)]=_0x5e5a82[0x0],_0x56bb75[_0x26a29a(0xaa)]=_0x2a1b43*0x2,_0x2caf09&&(_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09['fillStyle']=getColor(_0x57556a[_0x26a29a(0x96)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09[_0x26a29a(0xa6)](),_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,_0x2a1b43),_0x2caf09['lineTo'](_0x56bb75['width'],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09[_0x26a29a(0x7e)]=getColor(_0x57556a[_0x26a29a(0x7a)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09['fill']()),_0x46884f[_0x26a29a(0x82)](_0x56bb75,_0x26a29a(0x80));}function _getCheckerBoardPattern(_0x157625,_0x8686ea,_0x46f2ed){var _0x4a1713=a76_0x2215,_0x4ae285=getSize(_0x8686ea);const _0x2c6842=document[_0x4a1713(0x83)]('canvas'),_0x5b650e=_0x2c6842[_0x4a1713(0x79)]('2d');let _0x4405db=Math[_0x4a1713(0x93)](_0x4ae285[0x0]/_0x46f2ed[_0x4a1713(0x8f)],0x1),_0x5cf48d=Math['max'](_0x4ae285[0x1]/_0x46f2ed[_0x4a1713(0x8f)],0x1);return _0x2c6842[_0x4a1713(0xad)]=_0x4405db*0x2,_0x2c6842['height']=_0x5cf48d*0x2,_0x5b650e&&(_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,0x0),_0x5b650e['lineTo'](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill'](),_0x5b650e['beginPath'](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed['color'],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](0x0,_0x2c6842['height']),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x7a)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842[_0x4a1713(0xaa)]),_0x5b650e['closePath'](),_0x5b650e['fillStyle']=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill']()),_0x157625[_0x4a1713(0x82)](_0x2c6842,_0x4a1713(0x80));}
@@ -1 +1 @@
1
- (function(_0x5c0397,_0x5d716b){const _0x5b7aa9=a76_0x4589,_0x374954=_0x5c0397();while(!![]){try{const _0x4baa21=-parseInt(_0x5b7aa9(0xb1))/0x1*(parseInt(_0x5b7aa9(0x8c))/0x2)+parseInt(_0x5b7aa9(0x97))/0x3*(-parseInt(_0x5b7aa9(0xa6))/0x4)+parseInt(_0x5b7aa9(0x83))/0x5*(-parseInt(_0x5b7aa9(0x9b))/0x6)+-parseInt(_0x5b7aa9(0x86))/0x7+-parseInt(_0x5b7aa9(0x93))/0x8*(parseInt(_0x5b7aa9(0xb5))/0x9)+-parseInt(_0x5b7aa9(0xa5))/0xa+parseInt(_0x5b7aa9(0xb6))/0xb*(parseInt(_0x5b7aa9(0x8d))/0xc);if(_0x4baa21===_0x5d716b)break;else _0x374954['push'](_0x374954['shift']());}catch(_0x17a768){_0x374954['push'](_0x374954['shift']());}}}(a76_0xc21e,0x34db4));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a76_0x4589(_0x17a0ed,_0x1807c5){const _0xc21eb5=a76_0xc21e();return a76_0x4589=function(_0x458900,_0x15c6a8){_0x458900=_0x458900-0x82;let _0x3be46b=_0xc21eb5[_0x458900];return _0x3be46b;},a76_0x4589(_0x17a0ed,_0x1807c5);}function a76_0xc21e(){const _0x2531a4=['getCoordinates','color','opacity','toString','getGeometry','getFirstCoordinate','lineType','248804xsDaip','stroke','outline','moveTo','12537pmlzsa','11bxUDwW','lineTo','save','448520AKpBte','setRenderer','butt','435666lVeOcg','width','pow','dash','outlineOpacity','length','2XKQNMD','11784768Gbczsx','zIndex','beginPath','outlineColor','label','glowPower','112dnDLGb','lineWidth','atan2','sin','6iJjYEk','strokeStyle','setGeometry','restore','6JUqLOr','push','getFlatMidpoints','getType','sqrt','lineCap','arrow','context','LineString','white','2853040BEnesb','120024kCrWou','outlineWidth','cos','shadowBlur'];a76_0xc21e=function(){return _0x2531a4;};return a76_0xc21e();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x2ffd4f,_0x22aca5,_0x48440a,_0xcd230d){const _0x5bf69f=a76_0x4589;var _0x53c702,_0x554c78,_0x55bff9;let _0x3a37a9=(_0x53c702=_0x2ffd4f[_0x5bf69f(0x8e)])!==null&&_0x53c702!==void 0x0?_0x53c702:0x0;const _0x5a8a3e=_0x9dc042=>{var _0x227b39=_0x9dc042['getGeometry']();if(_0x227b39)return _getRealPolyline(_0x227b39,_0x2ffd4f);return _0x227b39;},_0x24fa83=_0x4b1381=>{const _0x19742d=_0x5bf69f;var _0x4da05f=_0x4b1381[_0x19742d(0xae)]();let _0x103293=_0x4da05f;_0x4da05f&&(_0x103293=_getRealPolyline(_0x4da05f,_0x2ffd4f));if(_0x103293&&_0x103293[_0x19742d(0x9e)]()===_0x19742d(0xa3))return new Point(_0x103293['getFlatMidpoint']());else{let _0x58067b=_0x103293[_0x19742d(0x9d)](),_0x5c0d5a=0x2,_0x496b9b=[];for(let _0x54590b=0x0,_0xcf16d8=_0x58067b['length'];_0x54590b<_0xcf16d8;_0x54590b+=_0x5c0d5a){let _0x112c86=[_0x58067b[_0x54590b],_0x58067b[_0x54590b+0x1]];_0x496b9b['push'](_0x112c86);}return new MultiPoint(_0x496b9b);}};let _0xca0ece=new Style({'geometry':_0x5a8a3e,'stroke':new Stroke({'color':getColor(_0x2ffd4f[_0x5bf69f(0x90)],_0x2ffd4f[_0x5bf69f(0x8a)]),'width':_0x2ffd4f[_0x5bf69f(0xa7)]}),'zIndex':_0x3a37a9}),_0x5db9c2=[_0xca0ece];if(_0x2ffd4f[_0x5bf69f(0xb0)]===_0x5bf69f(0x89)){let _0x333b64=_0x2ffd4f['outlineWidth']/0x2,_0x5ec24e=new Style({'geometry':_0x5a8a3e,'zIndex':_0x3a37a9,'stroke':new Stroke({'color':getColor(_0x2ffd4f['color'],_0x2ffd4f[_0x5bf69f(0xac)]),'width':_0x2ffd4f[_0x5bf69f(0x87)],'lineCap':'butt','lineDash':[_0x333b64,_0x333b64]})}),_0x57f119=new Style({'geometry':_0x5a8a3e,'zIndex':_0x3a37a9+0.5,'stroke':new Stroke({'color':getColor(_0x2ffd4f[_0x5bf69f(0x90)],Number((_0x55bff9=(_0x554c78=_0x2ffd4f[_0x5bf69f(0x8a)])!==null&&_0x554c78!==void 0x0?_0x554c78:_0x2ffd4f[_0x5bf69f(0xac)])!==null&&_0x55bff9!==void 0x0?_0x55bff9:0x1)),'width':_0x2ffd4f[_0x5bf69f(0x87)],'lineCap':_0x5bf69f(0x85),'lineDash':[_0x333b64,_0x333b64],'lineDashOffset':_0x333b64})});_0x5db9c2=[_0x5ec24e,_0x57f119];}_0x2ffd4f['lineType']===_0x5bf69f(0xa1)&&_0xca0ece[_0x5bf69f(0x84)]((_0x391e81,_0x5cf984)=>{const _0x16e18b=_0x5bf69f;let _0x21d19e=_0x5cf984[_0x16e18b(0xa2)],_0xf0a921=parseInt((_0x2ffd4f[_0x16e18b(0x87)]/0x4)[_0x16e18b(0xad)]()),_0x33976e=0xa,_0x45b220=Math[_0x16e18b(0x9f)](Math['pow'](_0x33976e,0x2)+Math[_0x16e18b(0x88)](_0x2ffd4f[_0x16e18b(0x87)]/0x2,0x2)),_0x44d5b8=0x2d,_0x14a13f=_0x391e81[_0x391e81[_0x16e18b(0x8b)]-0x2][0x0],_0x1df993=_0x391e81[_0x391e81[_0x16e18b(0x8b)]-0x2][0x1],_0x47c6fe=_0x391e81[_0x391e81['length']-0x1][0x0],_0xb5b605=_0x391e81[_0x391e81['length']-0x1][0x1],_0xe50bf4=Math[_0x16e18b(0x95)](_0x1df993-_0xb5b605,_0x14a13f-_0x47c6fe)*0xb4/Math['PI'],_0x4825c0=(_0xe50bf4+_0x44d5b8)*Math['PI']/0xb4,_0x300710=(_0xe50bf4-_0x44d5b8)*Math['PI']/0xb4,_0x244b4c=_0x45b220*Math[_0x16e18b(0xa8)](_0x4825c0),_0x18fa4e=_0x45b220*Math[_0x16e18b(0x96)](_0x4825c0),_0x1d7283=_0x45b220*Math['cos'](_0x300710),_0x86b34=_0x45b220*Math[_0x16e18b(0x96)](_0x300710);_0x21d19e[_0x16e18b(0x82)](),_0x21d19e[_0x16e18b(0x8f)]();let _0x4f50af,_0x205569;for(let _0x25e014=0x0;_0x25e014<_0x391e81[_0x16e18b(0x8b)];_0x25e014++){_0x25e014===0x0?_0x21d19e[_0x16e18b(0xb4)](_0x391e81[_0x25e014][0x0],_0x391e81[_0x25e014][0x1]):_0x21d19e['lineTo'](_0x391e81[_0x25e014][0x0],_0x391e81[_0x25e014][0x1]);}_0x21d19e[_0x16e18b(0x98)]=getColor(_0x2ffd4f[_0x16e18b(0xab)],_0x2ffd4f[_0x16e18b(0xac)]),_0x21d19e[_0x16e18b(0x94)]=_0xf0a921,_0x21d19e[_0x16e18b(0xa0)]=_0x16e18b(0x85),_0x21d19e[_0x16e18b(0xb2)](),_0x4f50af=_0x47c6fe+_0x244b4c,_0x205569=_0xb5b605+_0x18fa4e,_0x21d19e['moveTo'](_0x4f50af,_0x205569),_0x21d19e[_0x16e18b(0xb7)](_0x47c6fe,_0xb5b605),_0x4f50af=_0x47c6fe+_0x1d7283,_0x205569=_0xb5b605+_0x86b34,_0x21d19e[_0x16e18b(0xb7)](_0x4f50af,_0x205569),_0x21d19e[_0x16e18b(0xa0)]=_0x16e18b(0x85),_0x21d19e[_0x16e18b(0xb2)](),_0x21d19e[_0x16e18b(0x9a)]();});_0x2ffd4f[_0x5bf69f(0xb0)]==='glow'&&_0xca0ece[_0x5bf69f(0x84)]((_0x3f351f,_0x4db31b)=>{const _0x5c0e67=_0x5bf69f;let _0x22b1cc=_0x4db31b[_0x5c0e67(0xa2)];_0x22b1cc[_0x5c0e67(0x82)]();for(let _0x1825b2=0x0;_0x1825b2<0x4;_0x1825b2++){let _0x42d565=_0x2ffd4f['width']/0xa*(_0x2ffd4f[_0x5c0e67(0x92)]===0x0?0x1:_0x2ffd4f['glowPower']);_0x22b1cc['shadowColor']=getColor(_0x2ffd4f['color'],_0x2ffd4f['opacity']),_0x22b1cc[_0x5c0e67(0xa9)]=_0x2ffd4f[_0x5c0e67(0x87)]/0x5*0x2,_0x22b1cc['beginPath']();for(let _0xf5b00b=0x0;_0xf5b00b<_0x3f351f[_0x5c0e67(0x8b)];_0xf5b00b++){_0xf5b00b===0x0?_0x22b1cc[_0x5c0e67(0xb4)](_0x3f351f[_0xf5b00b][0x0],_0x3f351f[_0xf5b00b][0x1]):_0x22b1cc[_0x5c0e67(0xb7)](_0x3f351f[_0xf5b00b][0x0],_0x3f351f[_0xf5b00b][0x1]);}_0x22b1cc[_0x5c0e67(0xa0)]=_0x5c0e67(0x85),_0x22b1cc[_0x5c0e67(0x94)]=_0x42d565,_0x22b1cc['strokeStyle']=getColor(_0x5c0e67(0xa4),_0x2ffd4f[_0x5c0e67(0xac)]),_0x22b1cc[_0x5c0e67(0xb2)]();}_0x22b1cc[_0x5c0e67(0x9a)]();});_0x2ffd4f[_0x5bf69f(0xb0)]===_0x5bf69f(0xb3)&&_0xca0ece['setRenderer']((_0x55c66c,_0x1e8d6c)=>{const _0x1fe149=_0x5bf69f;let _0x3151c9=_0x1e8d6c['context'];_0x3151c9[_0x1fe149(0x82)](),_0x3151c9[_0x1fe149(0x8f)]();for(let _0x195029=0x0;_0x195029<_0x55c66c[_0x1fe149(0x8b)];_0x195029++){_0x195029===0x0?_0x3151c9[_0x1fe149(0xb4)](_0x55c66c[_0x195029][0x0],_0x55c66c[_0x195029][0x1]):_0x3151c9['lineTo'](_0x55c66c[_0x195029][0x0],_0x55c66c[_0x195029][0x1]);}_0x3151c9[_0x1fe149(0xa0)]=_0x1fe149(0x85),_0x3151c9['lineWidth']=_0x2ffd4f[_0x1fe149(0x87)],_0x3151c9['strokeStyle']=getColor(_0x2ffd4f['outlineColor'],_0x2ffd4f['opacity']),_0x3151c9[_0x1fe149(0xb2)](),_0x3151c9[_0x1fe149(0x8f)]();for(let _0x1d418a=0x0;_0x1d418a<_0x55c66c[_0x1fe149(0x8b)];_0x1d418a++){_0x1d418a===0x0?_0x3151c9[_0x1fe149(0xb4)](_0x55c66c[_0x1d418a][0x0],_0x55c66c[_0x1d418a][0x1]):_0x3151c9[_0x1fe149(0xb7)](_0x55c66c[_0x1d418a][0x0],_0x55c66c[_0x1d418a][0x1]);}_0x3151c9[_0x1fe149(0xa0)]=_0x1fe149(0x85),_0x2ffd4f[_0x1fe149(0xa7)]>=_0x2ffd4f[_0x1fe149(0x87)]&&(_0x2ffd4f['outlineWidth']=_0x2ffd4f[_0x1fe149(0x87)]-0x1),_0x3151c9['lineWidth']=_0x2ffd4f[_0x1fe149(0x87)]-_0x2ffd4f[_0x1fe149(0xa7)],_0x3151c9['strokeStyle']=getColor(_0x2ffd4f[_0x1fe149(0xab)],_0x2ffd4f['opacity']),_0x3151c9[_0x1fe149(0xb2)](),_0x3151c9[_0x1fe149(0x9a)]();});let _0x1d9407=getImageOlStyle(_0x2ffd4f['billboard'],_0x3a37a9,_0x48440a,_0xcd230d);_0x1d9407&&(_0x1d9407[_0x5bf69f(0x99)](_0x24fa83),_0x5db9c2['push'](_0x1d9407));if(_0x2ffd4f['label']&&_0x2ffd4f[_0x5bf69f(0x91)]['show']!==![]){let _0x4827b3=new Style({'geometry':_0x24fa83,'text':createTextStyle(_0x2ffd4f[_0x5bf69f(0x91)],_0x22aca5,_0x48440a,_0xcd230d),'zIndex':Number(_0x3a37a9)+0x1});_0x5db9c2[_0x5bf69f(0x9c)](_0x4827b3);}return _0x5db9c2;}function _getRealPolyline(_0x9075de,_0x323368){const _0x57cd7f=a76_0x4589;if(!(_0x323368===null||_0x323368===void 0x0?void 0x0:_0x323368['closed']))return _0x9075de;else{if(_0x9075de['getType']()==='MultiLineString'){let _0x2d4e2b=_0x9075de[_0x57cd7f(0xaa)]();for(let _0x656d61 in _0x2d4e2b){let _0x473b27=_0x2d4e2b[_0x656d61];_0x2d4e2b[_0x656d61]=_0x473b27['concat']([_0x473b27[0x0]]);}return new MultiLineString(_0x2d4e2b);}else return new LineString(_0x9075de[_0x57cd7f(0xaa)]()['concat']([_0x9075de[_0x57cd7f(0xaf)]()]));}}
1
+ (function(_0xe4fd08,_0x2c2d89){const _0x4d9ea9=a77_0x4eb1,_0x308941=_0xe4fd08();while(!![]){try{const _0x4536b6=-parseInt(_0x4d9ea9(0x7f))/0x1+-parseInt(_0x4d9ea9(0x89))/0x2*(parseInt(_0x4d9ea9(0x87))/0x3)+parseInt(_0x4d9ea9(0x96))/0x4+parseInt(_0x4d9ea9(0x8e))/0x5+-parseInt(_0x4d9ea9(0x99))/0x6*(parseInt(_0x4d9ea9(0x7b))/0x7)+-parseInt(_0x4d9ea9(0x7c))/0x8+parseInt(_0x4d9ea9(0x8d))/0x9;if(_0x4536b6===_0x2c2d89)break;else _0x308941['push'](_0x308941['shift']());}catch(_0x31aa72){_0x308941['push'](_0x308941['shift']());}}}(a77_0x4db6,0xb2e2b));function a77_0x4db6(){const _0x550506=['billboard','push','save','butt','zIndex','sin','opacity','3908456ZQjXoc','stroke','getFirstCoordinate','90618GqSYZc','getCoordinates','getFlatMidpoint','label','show','outlineWidth','lineCap','glowPower','outlineColor','strokeStyle','cos','concat','outline','restore','width','getType','sqrt','lineWidth','pow','moveTo','length','beginPath','MultiLineString','287yjpxRr','7023464XUTEJg','setRenderer','color','1374249wKSKVi','setGeometry','outlineOpacity','closed','lineTo','lineType','getFlatMidpoints','LineString','1243371fFRGLI','dash','6WekhPE','context','toString','white','33536367EepdXK','720570zkDfZg'];a77_0x4db6=function(){return _0x550506;};return a77_0x4db6();}function a77_0x4eb1(_0x2e1df4,_0x2c516c){const _0x4db67c=a77_0x4db6();return a77_0x4eb1=function(_0x4eb1e2,_0x595999){_0x4eb1e2=_0x4eb1e2-0x73;let _0x46967d=_0x4db67c[_0x4eb1e2];return _0x46967d;},a77_0x4eb1(_0x2e1df4,_0x2c516c);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x343b5c,_0x53c6b7,_0x108225,_0x13947d){const _0xef1e7d=a77_0x4eb1;var _0xaf8ab,_0x152a4a,_0x4fc29c;let _0x310e63=(_0xaf8ab=_0x343b5c[_0xef1e7d(0x93)])!==null&&_0xaf8ab!==void 0x0?_0xaf8ab:0x0;const _0x25e411=_0x4d4004=>{var _0x4e3455=_0x4d4004['getGeometry']();if(_0x4e3455)return _getRealPolyline(_0x4e3455,_0x343b5c);return _0x4e3455;},_0x2e8d1c=_0x1f8f9f=>{const _0x50a29f=_0xef1e7d;var _0x44e806=_0x1f8f9f['getGeometry']();let _0x53eb47=_0x44e806;_0x44e806&&(_0x53eb47=_getRealPolyline(_0x44e806,_0x343b5c));if(_0x53eb47&&_0x53eb47[_0x50a29f(0x73)]()===_0x50a29f(0x86))return new Point(_0x53eb47[_0x50a29f(0x9b)]());else{let _0x38ace0=_0x53eb47[_0x50a29f(0x85)](),_0x33b671=0x2,_0x43d946=[];for(let _0x2ca4a8=0x0,_0x1345c8=_0x38ace0[_0x50a29f(0x78)];_0x2ca4a8<_0x1345c8;_0x2ca4a8+=_0x33b671){let _0x5b7f92=[_0x38ace0[_0x2ca4a8],_0x38ace0[_0x2ca4a8+0x1]];_0x43d946[_0x50a29f(0x90)](_0x5b7f92);}return new MultiPoint(_0x43d946);}};let _0x11bff8=new Style({'geometry':_0x25e411,'stroke':new Stroke({'color':getColor(_0x343b5c['outlineColor'],_0x343b5c[_0xef1e7d(0x81)]),'width':_0x343b5c['outlineWidth']}),'zIndex':_0x310e63}),_0x4ccbfa=[_0x11bff8];if(_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0x88)){let _0x13df5b=_0x343b5c['outlineWidth']/0x2,_0x41758c=new Style({'geometry':_0x25e411,'zIndex':_0x310e63,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0x7e)],_0x343b5c['opacity']),'width':_0x343b5c[_0xef1e7d(0xa7)],'lineCap':'butt','lineDash':[_0x13df5b,_0x13df5b]})}),_0x5bb745=new Style({'geometry':_0x25e411,'zIndex':_0x310e63+0.5,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0xa1)],Number((_0x4fc29c=(_0x152a4a=_0x343b5c[_0xef1e7d(0x81)])!==null&&_0x152a4a!==void 0x0?_0x152a4a:_0x343b5c['opacity'])!==null&&_0x4fc29c!==void 0x0?_0x4fc29c:0x1)),'width':_0x343b5c['width'],'lineCap':_0xef1e7d(0x92),'lineDash':[_0x13df5b,_0x13df5b],'lineDashOffset':_0x13df5b})});_0x4ccbfa=[_0x41758c,_0x5bb745];}_0x343b5c[_0xef1e7d(0x84)]==='arrow'&&_0x11bff8[_0xef1e7d(0x7d)]((_0x212bf9,_0xbfe2c2)=>{const _0xc50882=_0xef1e7d;let _0x407af1=_0xbfe2c2['context'],_0x462b9e=parseInt((_0x343b5c['width']/0x4)[_0xc50882(0x8b)]()),_0x3d8f4e=0xa,_0x2aefe7=Math[_0xc50882(0x74)](Math['pow'](_0x3d8f4e,0x2)+Math[_0xc50882(0x76)](_0x343b5c[_0xc50882(0xa7)]/0x2,0x2)),_0x2c200f=0x2d,_0x5519f1=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x0],_0x439a8c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x1],_0x2fd67f=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x0],_0x4c4c3c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x1],_0x17cc49=Math['atan2'](_0x439a8c-_0x4c4c3c,_0x5519f1-_0x2fd67f)*0xb4/Math['PI'],_0x53aa7b=(_0x17cc49+_0x2c200f)*Math['PI']/0xb4,_0x1964d1=(_0x17cc49-_0x2c200f)*Math['PI']/0xb4,_0x5be4b4=_0x2aefe7*Math['cos'](_0x53aa7b),_0x490f3e=_0x2aefe7*Math[_0xc50882(0x94)](_0x53aa7b),_0xf54240=_0x2aefe7*Math[_0xc50882(0xa3)](_0x1964d1),_0x573452=_0x2aefe7*Math[_0xc50882(0x94)](_0x1964d1);_0x407af1[_0xc50882(0x91)](),_0x407af1[_0xc50882(0x79)]();let _0x4123dc,_0x428304;for(let _0x21736a=0x0;_0x21736a<_0x212bf9[_0xc50882(0x78)];_0x21736a++){_0x21736a===0x0?_0x407af1['moveTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]):_0x407af1['lineTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]);}_0x407af1[_0xc50882(0xa2)]=getColor(_0x343b5c[_0xc50882(0x7e)],_0x343b5c[_0xc50882(0x95)]),_0x407af1['lineWidth']=_0x462b9e,_0x407af1[_0xc50882(0x9f)]=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x4123dc=_0x2fd67f+_0x5be4b4,_0x428304=_0x4c4c3c+_0x490f3e,_0x407af1[_0xc50882(0x77)](_0x4123dc,_0x428304),_0x407af1[_0xc50882(0x83)](_0x2fd67f,_0x4c4c3c),_0x4123dc=_0x2fd67f+_0xf54240,_0x428304=_0x4c4c3c+_0x573452,_0x407af1[_0xc50882(0x83)](_0x4123dc,_0x428304),_0x407af1['lineCap']=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x407af1[_0xc50882(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]==='glow'&&_0x11bff8['setRenderer']((_0x2a45b,_0x18118e)=>{const _0x293fd8=_0xef1e7d;let _0x4d8e62=_0x18118e[_0x293fd8(0x8a)];_0x4d8e62[_0x293fd8(0x91)]();for(let _0x39a358=0x0;_0x39a358<0x4;_0x39a358++){let _0x962aad=_0x343b5c['width']/0xa*(_0x343b5c[_0x293fd8(0xa0)]===0x0?0x1:_0x343b5c[_0x293fd8(0xa0)]);_0x4d8e62['shadowColor']=getColor(_0x343b5c[_0x293fd8(0x7e)],_0x343b5c['opacity']),_0x4d8e62['shadowBlur']=_0x343b5c['width']/0x5*0x2,_0x4d8e62['beginPath']();for(let _0x4df23f=0x0;_0x4df23f<_0x2a45b[_0x293fd8(0x78)];_0x4df23f++){_0x4df23f===0x0?_0x4d8e62[_0x293fd8(0x77)](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]):_0x4d8e62['lineTo'](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]);}_0x4d8e62[_0x293fd8(0x9f)]=_0x293fd8(0x92),_0x4d8e62[_0x293fd8(0x75)]=_0x962aad,_0x4d8e62[_0x293fd8(0xa2)]=getColor(_0x293fd8(0x8c),_0x343b5c[_0x293fd8(0x95)]),_0x4d8e62[_0x293fd8(0x97)]();}_0x4d8e62[_0x293fd8(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0xa5)&&_0x11bff8[_0xef1e7d(0x7d)]((_0x53b727,_0x29800e)=>{const _0x454221=_0xef1e7d;let _0x5adc50=_0x29800e[_0x454221(0x8a)];_0x5adc50[_0x454221(0x91)](),_0x5adc50[_0x454221(0x79)]();for(let _0x3412ba=0x0;_0x3412ba<_0x53b727[_0x454221(0x78)];_0x3412ba++){_0x3412ba===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]):_0x5adc50[_0x454221(0x83)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x5adc50[_0x454221(0x75)]=_0x343b5c['width'],_0x5adc50['strokeStyle']=getColor(_0x343b5c[_0x454221(0xa1)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50[_0x454221(0x79)]();for(let _0x480b2d=0x0;_0x480b2d<_0x53b727[_0x454221(0x78)];_0x480b2d++){_0x480b2d===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]):_0x5adc50['lineTo'](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x343b5c['outlineWidth']>=_0x343b5c[_0x454221(0xa7)]&&(_0x343b5c[_0x454221(0x9e)]=_0x343b5c[_0x454221(0xa7)]-0x1),_0x5adc50['lineWidth']=_0x343b5c[_0x454221(0xa7)]-_0x343b5c[_0x454221(0x9e)],_0x5adc50[_0x454221(0xa2)]=getColor(_0x343b5c[_0x454221(0x7e)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50['restore']();});let _0x3d1dcd=getImageOlStyle(_0x343b5c[_0xef1e7d(0x8f)],_0x310e63,_0x108225,_0x13947d);_0x3d1dcd&&(_0x3d1dcd[_0xef1e7d(0x80)](_0x2e8d1c),_0x4ccbfa[_0xef1e7d(0x90)](_0x3d1dcd));if(_0x343b5c[_0xef1e7d(0x9c)]&&_0x343b5c[_0xef1e7d(0x9c)][_0xef1e7d(0x9d)]!==![]){let _0x3a5c18=new Style({'geometry':_0x2e8d1c,'text':createTextStyle(_0x343b5c[_0xef1e7d(0x9c)],_0x53c6b7,_0x108225,_0x13947d),'zIndex':Number(_0x310e63)+0x1});_0x4ccbfa[_0xef1e7d(0x90)](_0x3a5c18);}return _0x4ccbfa;}function _getRealPolyline(_0xe9fdad,_0x11eb5e){const _0x5a3a15=a77_0x4eb1;if(!(_0x11eb5e===null||_0x11eb5e===void 0x0?void 0x0:_0x11eb5e[_0x5a3a15(0x82)]))return _0xe9fdad;else{if(_0xe9fdad[_0x5a3a15(0x73)]()===_0x5a3a15(0x7a)){let _0xd0f92=_0xe9fdad[_0x5a3a15(0x9a)]();for(let _0x589649 in _0xd0f92){let _0x1c9063=_0xd0f92[_0x589649];_0xd0f92[_0x589649]=_0x1c9063['concat']([_0x1c9063[0x0]]);}return new MultiLineString(_0xd0f92);}else return new LineString(_0xe9fdad[_0x5a3a15(0x9a)]()[_0x5a3a15(0xa4)]([_0xe9fdad[_0x5a3a15(0x98)]()]));}}
@@ -1 +1 @@
1
- (function(_0x5892ea,_0x1e4027){const _0x3e29ad=a77_0x5b18,_0xb2b137=_0x5892ea();while(!![]){try{const _0x1ae80a=-parseInt(_0x3e29ad(0x1b9))/0x1*(-parseInt(_0x3e29ad(0x1c2))/0x2)+parseInt(_0x3e29ad(0x1c8))/0x3+parseInt(_0x3e29ad(0x1b5))/0x4+parseInt(_0x3e29ad(0x1be))/0x5+parseInt(_0x3e29ad(0x1cb))/0x6+parseInt(_0x3e29ad(0x1ce))/0x7*(parseInt(_0x3e29ad(0x1cd))/0x8)+parseInt(_0x3e29ad(0x1c3))/0x9*(-parseInt(_0x3e29ad(0x1ca))/0xa);if(_0x1ae80a===_0x1e4027)break;else _0xb2b137['push'](_0xb2b137['shift']());}catch(_0x11e27b){_0xb2b137['push'](_0xb2b137['shift']());}}}(a77_0x1bc4,0xe7487));import a77_0x5767a1 from'ol/style/Circle';import a77_0x3d94d5 from'ol/style/Fill';import a77_0x519045 from'ol/style/Stroke';import a77_0x5210ff from'ol/style/Style';function a77_0x5b18(_0x1e091b,_0x3a939d){const _0x1bc413=a77_0x1bc4();return a77_0x5b18=function(_0x5b1887,_0x5d862f){_0x5b1887=_0x5b1887-0x1b4;let _0x31c4dc=_0x1bc413[_0x5b1887];return _0x31c4dc;},a77_0x5b18(_0x1e091b,_0x3a939d);}import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x4c2ba5=a77_0x5b18;return new a77_0x5210ff({'image':new a77_0x5767a1({'radius':0x5,'fill':new a77_0x3d94d5({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a77_0x519045({'color':_0x4c2ba5(0x1c1),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x1eab4d=a77_0x5b18;return new a77_0x5210ff({'image':new a77_0x5767a1({'radius':0x5,'fill':new a77_0x3d94d5({'color':_0x1eab4d(0x1c5)}),'stroke':new a77_0x519045({'color':_0x1eab4d(0x1c1),'width':0x1})})});}export function getSelectLineStyle(){const _0x52b2f9=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x52b2f9(0x1c1),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x47b180=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x47b180(0x1c6),'width':0x2})});}export function getSelectPolygonStyle(){const _0x212447=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x212447(0x1c1),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x212447(0x1b7)})});}export function getSelectCancelPolygonStyle(){const _0x78c134=a77_0x5b18;return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x78c134(0x1c6),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x78c134(0x1c7)})});}export function getStyle(_0x13bdcb){const _0x495348=a77_0x5b18;if(_0x13bdcb){const _0x2d8d6b=new a77_0x5210ff();if(_0x13bdcb[_0x495348(0x1ba)]){const _0x133348=createTextStyle(_0x13bdcb,_0x13bdcb[_0x495348(0x1ba)]);_0x133348&&_0x2d8d6b[_0x495348(0x1cf)](_0x133348),_0x2d8d6b[_0x495348(0x1c9)](0x1);}return _0x13bdcb['outlineColor']&&_0x2d8d6b[_0x495348(0x1d0)](new a77_0x519045({'color':getColor(_0x13bdcb['outlineColor'],_0x13bdcb[_0x495348(0x1d2)]),'width':_0x13bdcb[_0x495348(0x1c0)]||0x1})),_0x13bdcb['color']&&_0x2d8d6b[_0x495348(0x1b4)](new a77_0x3d94d5({'color':getColor(_0x13bdcb['color'],_0x13bdcb[_0x495348(0x1c4)])})),_0x13bdcb[_0x495348(0x1d3)]=='circle'&&_0x2d8d6b[_0x495348(0x1bd)](new a77_0x5767a1({'radius':_0x13bdcb[_0x495348(0x1b8)]||0x5,'fill':new a77_0x3d94d5({'color':getColor(_0x13bdcb['color'],_0x13bdcb['opacity'])})})),(_0x13bdcb['pointType']=='icon'||_0x13bdcb['imgurl'])&&_0x2d8d6b[_0x495348(0x1bd)](new Icon({'src':_0x13bdcb['imgurl'],'anchor':_0x13bdcb[_0x495348(0x1bb)]||[0.5,0.5],'scale':_0x13bdcb[_0x495348(0x1bf)]||0x1,'rotation':_0x13bdcb[_0x495348(0x1b6)]||0x0})),_0x2d8d6b;}return new a77_0x5210ff({'stroke':new a77_0x519045({'color':_0x495348(0x1c1),'width':0x2}),'fill':new a77_0x3d94d5({'color':_0x495348(0x1b7)})});}function a77_0x1bc4(){const _0x170530=['Polygon','MultiPoint','setFill','7103928pWwAUM','rotation','rgba(121,\x20243,\x20238,\x200.3)','radius','59618boWNcF','text','anchor','MultiPolygon','setImage','6031220yyOFqX','scale','outlineWidth','rgba(121,\x20243,\x20238,\x201)','6QEAwfH','55724616EhIBjZ','opacity','rgba(121,\x20243,\x20238,\x200)','rgba(0,\x20255,0,\x201)','rgba(0,\x20255,0,\x200)','2092104NbURJV','setZIndex','10YXJPrc','9354894oBhzAH','MultiLineString','8NhJVkt','12049534rIOZhz','setText','setStroke','LineString','outlineOpacity','pointType'];a77_0x1bc4=function(){return _0x170530;};return a77_0x1bc4();}export function getSelectStyle(_0x1264a9){const _0x25be43=a77_0x5b18;let _0x9fe15c=getSelectPolygonStyle();switch(_0x1264a9){case _0x25be43(0x1bc):case _0x25be43(0x1d4):_0x9fe15c=getSelectPolygonStyle();break;case _0x25be43(0x1cc):case _0x25be43(0x1d1):_0x9fe15c=getSelectLineStyle();break;case _0x25be43(0x1d5):case'Point':_0x9fe15c=getSelectPointStyle();break;default:break;}return _0x9fe15c;}
1
+ (function(_0x25afce,_0x32c68a){const _0x4cdd7d=a78_0x329c,_0x44143a=_0x25afce();while(!![]){try{const _0x588827=-parseInt(_0x4cdd7d(0x76))/0x1+-parseInt(_0x4cdd7d(0x8f))/0x2*(-parseInt(_0x4cdd7d(0x97))/0x3)+-parseInt(_0x4cdd7d(0x87))/0x4*(parseInt(_0x4cdd7d(0x84))/0x5)+parseInt(_0x4cdd7d(0x94))/0x6*(-parseInt(_0x4cdd7d(0x83))/0x7)+-parseInt(_0x4cdd7d(0x82))/0x8*(-parseInt(_0x4cdd7d(0x96))/0x9)+-parseInt(_0x4cdd7d(0x86))/0xa*(-parseInt(_0x4cdd7d(0x7b))/0xb)+-parseInt(_0x4cdd7d(0x88))/0xc*(-parseInt(_0x4cdd7d(0x91))/0xd);if(_0x588827===_0x32c68a)break;else _0x44143a['push'](_0x44143a['shift']());}catch(_0x5619d1){_0x44143a['push'](_0x44143a['shift']());}}}(a78_0x557a,0xcce92));import a78_0xdd68ce from'ol/style/Circle';function a78_0x557a(){const _0x36c722=['80dbLFnx','224182Stzgxs','7499955DPqvJB','rgba(0,\x20255,0,\x201)','24740faFftw','4LzAgQe','384fNGHdc','color','radius','pointType','Point','circle','imgurl','4Nnzxei','MultiPoint','176488LKgafI','setImage','rgba(0,\x20255,0,\x200)','30IpqlAE','setStroke','1456227shUeUa','1197363nFWmNM','setZIndex','rgba(121,\x20243,\x20238,\x200.3)','1103365cwaJtb','LineString','rotation','text','rgba(121,\x20243,\x20238,\x201)','3344yANnnF','outlineColor','MultiPolygon','MultiLineString','setText','setFill','outlineOpacity'];a78_0x557a=function(){return _0x36c722;};return a78_0x557a();}import a78_0x50b679 from'ol/style/Fill';import a78_0x586de6 from'ol/style/Stroke';import a78_0x192937 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x24d6ba=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':_0x24d6ba(0x7a)}),'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x2b530c=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200)'}),'stroke':new a78_0x586de6({'color':_0x2b530c(0x7a),'width':0x1})})});}export function getSelectLineStyle(){return new a78_0x192937({'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}function a78_0x329c(_0x47b070,_0x127d4d){const _0x557a0f=a78_0x557a();return a78_0x329c=function(_0x329c20,_0x4ad4b5){_0x329c20=_0x329c20-0x74;let _0x53260d=_0x557a0f[_0x329c20];return _0x53260d;},a78_0x329c(_0x47b070,_0x127d4d);}export function getSelectCancelLineStyle(){const _0x57ffec=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x57ffec(0x85),'width':0x2})});}export function getSelectPolygonStyle(){const _0x33fd32=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x33fd32(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectCancelPolygonStyle(){const _0x1720f7=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x1720f7(0x85),'width':0x2}),'fill':new a78_0x50b679({'color':_0x1720f7(0x93)})});}export function getStyle(_0x1bcdb7){const _0x408220=a78_0x329c;if(_0x1bcdb7){const _0x11266e=new a78_0x192937();if(_0x1bcdb7[_0x408220(0x79)]){const _0x54e025=createTextStyle(_0x1bcdb7,_0x1bcdb7[_0x408220(0x79)]);_0x54e025&&_0x11266e[_0x408220(0x7f)](_0x54e025),_0x11266e[_0x408220(0x74)](0x1);}return _0x1bcdb7['outlineColor']&&_0x11266e[_0x408220(0x95)](new a78_0x586de6({'color':getColor(_0x1bcdb7[_0x408220(0x7c)],_0x1bcdb7[_0x408220(0x81)]),'width':_0x1bcdb7['outlineWidth']||0x1})),_0x1bcdb7[_0x408220(0x89)]&&_0x11266e[_0x408220(0x80)](new a78_0x50b679({'color':getColor(_0x1bcdb7[_0x408220(0x89)],_0x1bcdb7['opacity'])})),_0x1bcdb7[_0x408220(0x8b)]==_0x408220(0x8d)&&_0x11266e[_0x408220(0x92)](new a78_0xdd68ce({'radius':_0x1bcdb7[_0x408220(0x8a)]||0x5,'fill':new a78_0x50b679({'color':getColor(_0x1bcdb7['color'],_0x1bcdb7['opacity'])})})),(_0x1bcdb7[_0x408220(0x8b)]=='icon'||_0x1bcdb7[_0x408220(0x8e)])&&_0x11266e[_0x408220(0x92)](new Icon({'src':_0x1bcdb7[_0x408220(0x8e)],'anchor':_0x1bcdb7['anchor']||[0.5,0.5],'scale':_0x1bcdb7['scale']||0x1,'rotation':_0x1bcdb7[_0x408220(0x78)]||0x0})),_0x11266e;}return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x408220(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':_0x408220(0x75)})});}export function getSelectStyle(_0x32545b){const _0xa51301=a78_0x329c;let _0x3edec8=getSelectPolygonStyle();switch(_0x32545b){case _0xa51301(0x7d):case'Polygon':_0x3edec8=getSelectPolygonStyle();break;case _0xa51301(0x7e):case _0xa51301(0x77):_0x3edec8=getSelectLineStyle();break;case _0xa51301(0x90):case _0xa51301(0x8c):_0x3edec8=getSelectPointStyle();break;default:break;}return _0x3edec8;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x136084,_0x559e75){const _0x1bf58a=a73_0x4895,_0x48eb04=_0x136084();while(!![]){try{const _0x451449=-parseInt(_0x1bf58a(0xc5))/0x1+parseInt(_0x1bf58a(0xba))/0x2*(-parseInt(_0x1bf58a(0xac))/0x3)+-parseInt(_0x1bf58a(0xb4))/0x4+-parseInt(_0x1bf58a(0xc4))/0x5+-parseInt(_0x1bf58a(0xc8))/0x6*(-parseInt(_0x1bf58a(0xa1))/0x7)+-parseInt(_0x1bf58a(0xb0))/0x8+parseInt(_0x1bf58a(0xa7))/0x9;if(_0x451449===_0x559e75)break;else _0x48eb04['push'](_0x48eb04['shift']());}catch(_0x2a4477){_0x48eb04['push'](_0x48eb04['shift']());}}}(a73_0x1d2d,0xe90ef));import a73_0x507239 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a73_0xbdce9f from'../utils/plug/canvas/PinIcon';import a73_0x4d69e4 from'ol/ImageState';export function isShowStyle(_0x2c4902,_0x3db9f8,_0x39abd7){const _0x2ec2fa=a73_0x4895;let _0x158ab9=!![];if(_0x3db9f8==undefined||_0x39abd7==undefined)return _0x158ab9;if(_0x2c4902&&typeof _0x2c4902['distanceDisplayFar']!=undefined&&typeof _0x2c4902[_0x2ec2fa(0xb9)]!=undefined){if(_0x2c4902[_0x2ec2fa(0xc3)]&&_0x39abd7){_0x158ab9=![];let _0x534d94=getLevel(_0x2c4902[_0x2ec2fa(0xc3)]),_0x1a2556=_0x39abd7[_0x2ec2fa(0xc6)]()[_0x2ec2fa(0xa9)](_0x534d94);_0x3db9f8<_0x1a2556&&(_0x158ab9=!![]);}if(_0x158ab9&&_0x2c4902[_0x2ec2fa(0xb9)]&&_0x39abd7){_0x158ab9=![];let _0x48ccbd=getLevel(_0x2c4902[_0x2ec2fa(0xb9)]),_0x252349=_0x39abd7[_0x2ec2fa(0xc6)]()[_0x2ec2fa(0xa9)](_0x48ccbd);_0x3db9f8>_0x252349&&(_0x158ab9=!![]);}}return _0x158ab9;}function a73_0x1d2d(){const _0x1f385d=['762078caVwSa','haloColor','#2A2A2A','IDLE','10489448AfOFMB','listenImageChange','bold','middle','2688900NEPoqS','font','normal','backgroundColor','borderLineColor','distanceDisplayNear','12iyFfob','LOADED','size','markerColor','load','offsetY','textBaseline','family','getImage','distanceDisplayFar','8888445UofMjU','1749237poFScw','getView','alpha','10182tIhPQJ','haloWidth','italic','borderLineWidth','ERROR','3829QfQjpu','offsetX','image','pow','center','#000000','63547524kuYlWt','textAlign','getResolutionForZoom','opacity','weight'];a73_0x1d2d=function(){return _0x1f385d;};return a73_0x1d2d();}export function getLevel(_0x5e5862){const _0x5ec754=a73_0x4895,_0x5dde16=3252.745,_0x4edbc3=0.0009198301,_0x2a9bd9=52977.61,_0x277d51=-3228.107;return _0x277d51+(_0x5dde16-_0x277d51)/(0x1+Math[_0x5ec754(0xa4)](_0x5e5862/_0x2a9bd9,_0x4edbc3));}export function toRadians(_0x39a3d2){if(_0x39a3d2)return-(_0x39a3d2*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x5e6337,_0x32fb8c,_0x27e7aa,_0x383ee6){const _0x845324=a73_0x4895;var _0x5b5340,_0x13f608,_0x40af12,_0x4d7467,_0x3d9bff,_0x269a13,_0x5a369e,_0x30c6b7;if(_0x5e6337){let _0x4e506c=isShowStyle(_0x5e6337,_0x27e7aa,_0x383ee6);if(_0x4e506c===![])return undefined;else{const _0x559fa2=_0x5e6337[_0x845324(0xb5)],_0x1ea9e4=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2['italic'])?_0x845324(0xca):_0x845324(0xb6),_0x1b9843=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xab)])?_0x845324(0xb2):_0x845324(0xb6),_0x2dabb3=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xbc)])||'25',_0x51c276=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xc1)])||'楷体';let _0x337516=_0x1ea9e4+'\x20normal\x20'+_0x1b9843+'\x20'+_0x2dabb3+'px\x20'+_0x51c276,_0x45421a=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xa2)])||0x0,_0x5a81f0=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xbf)])||0x0,_0x29f50e=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xc0)])||_0x845324(0xb3),_0x5c4545=(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2[_0x845324(0xa8)])||_0x845324(0xa5);const _0x24720e=_0x5e6337[_0x845324(0xaa)]||0x1;let _0x479634=undefined;return(_0x559fa2===null||_0x559fa2===void 0x0?void 0x0:_0x559fa2['haloColor'])&&(_0x479634=_getStroke(_0x559fa2[_0x845324(0xad)],_0x559fa2['haloOpacity'],_0x559fa2[_0x845324(0xc9)])),new Text({'overflow':!![],'text':_0x32fb8c,'font':_0x337516,'offsetX':_0x45421a,'offsetY':_0x5a81f0,'textAlign':_0x5c4545,'textBaseline':_0x29f50e,'fill':new Fill({'color':getColor(((_0x5b5340=_0x5e6337['font'])===null||_0x5b5340===void 0x0?void 0x0:_0x5b5340['color'])||_0x845324(0xa6),_0x24720e)}),'stroke':_0x479634,'backgroundFill':((_0x13f608=_0x5e6337[_0x845324(0xb5)])===null||_0x13f608===void 0x0?void 0x0:_0x13f608[_0x845324(0xb7)])?new Fill({'color':getColor(((_0x40af12=_0x5e6337[_0x845324(0xb5)])===null||_0x40af12===void 0x0?void 0x0:_0x40af12['backgroundColor'])||_0x845324(0xae),((_0x4d7467=_0x5e6337[_0x845324(0xb5)])===null||_0x4d7467===void 0x0?void 0x0:_0x4d7467['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x3d9bff=_0x5e6337[_0x845324(0xb5)])===null||_0x3d9bff===void 0x0?void 0x0:_0x3d9bff[_0x845324(0xb8)])?_getStroke((_0x269a13=_0x5e6337[_0x845324(0xb5)])===null||_0x269a13===void 0x0?void 0x0:_0x269a13['borderLineColor'],((_0x5a369e=_0x5e6337[_0x845324(0xb5)])===null||_0x5a369e===void 0x0?void 0x0:_0x5a369e['borderLineOpacity'])||0x1,((_0x30c6b7=_0x5e6337[_0x845324(0xb5)])===null||_0x30c6b7===void 0x0?void 0x0:_0x30c6b7[_0x845324(0x9f)])||0x1):undefined});}}else return undefined;}export function getColor(_0x48c6f7,_0x512a59){const _0x4e4afc=a73_0x4895;return a73_0x507239(_0x48c6f7)[_0x4e4afc(0xc7)](_0x512a59!=undefined?_0x512a59:0x1)['hexa']();}function a73_0x4895(_0x34f441,_0x399516){const _0x1d2da0=a73_0x1d2d();return a73_0x4895=function(_0x4895f7,_0xba0c12){_0x4895f7=_0x4895f7-0x9f;let _0x1422c6=_0x1d2da0[_0x4895f7];return _0x1422c6;},a73_0x4895(_0x34f441,_0x399516);}function _getStroke(_0x4f6e35,_0x2f2b18,_0x59cadb){return new Stroke({'color':getColor(_0x4f6e35,_0x2f2b18),'width':_0x59cadb==undefined?0x1:_0x59cadb});}export function preLoadImageRenderFunction(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x1ee3a2){const _0x4b9046=a73_0x4895;let _0x3e0d19;_0x2457f5[_0x4b9046(0xbd)]?_0x3e0d19=new a73_0xbdce9f(_0x2457f5):_0x3e0d19=new Icon({'src':_0x2457f5[_0x4b9046(0xa3)]});let _0x2bdd08=_0x3e0d19['getImageState']();_0x2bdd08===a73_0x4d69e4['LOADED']||_0x2bdd08===a73_0x4d69e4[_0x4b9046(0xa0)]?_0x1ee3a2(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x3e0d19[_0x4b9046(0xc2)](0x60)):(_0x2bdd08===a73_0x4d69e4[_0x4b9046(0xaf)]&&_0x3e0d19[_0x4b9046(0xbe)](),_0x3e0d19[_0x4b9046(0xb1)](_0x3a9fe0=>{const _0x2d2c80=_0x4b9046;_0x2bdd08=_0x3a9fe0['target']['getImageState'](),(_0x2bdd08===a73_0x4d69e4[_0x2d2c80(0xbb)]||_0x2bdd08===a73_0x4d69e4[_0x2d2c80(0xa0)])&&_0x1ee3a2(_0x2457f5,_0x4e5300,_0x5495ec,_0x5f0fe8,_0x3e0d19[_0x2d2c80(0xc2)](0x60));}));}
1
+ (function(_0x48c3ff,_0x25792c){const _0x251616=a74_0x4f72,_0x14dd64=_0x48c3ff();while(!![]){try{const _0x4a3d4f=parseInt(_0x251616(0x143))/0x1*(parseInt(_0x251616(0x144))/0x2)+-parseInt(_0x251616(0x141))/0x3*(parseInt(_0x251616(0x12f))/0x4)+parseInt(_0x251616(0x117))/0x5+-parseInt(_0x251616(0x120))/0x6*(-parseInt(_0x251616(0x138))/0x7)+-parseInt(_0x251616(0x11b))/0x8+-parseInt(_0x251616(0x133))/0x9*(parseInt(_0x251616(0x128))/0xa)+parseInt(_0x251616(0x121))/0xb*(parseInt(_0x251616(0x126))/0xc);if(_0x4a3d4f===_0x25792c)break;else _0x14dd64['push'](_0x14dd64['shift']());}catch(_0x1f5cb1){_0x14dd64['push'](_0x14dd64['shift']());}}}(a74_0x16a6,0xddb4d));import a74_0x2016c3 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x5a168f from'../utils/plug/canvas/PinIcon';import a74_0x173137 from'ol/ImageState';export function isShowStyle(_0x24e70f,_0x2f5fde,_0x27e567){const _0x355eeb=a74_0x4f72;let _0x15280f=!![];if(_0x2f5fde==undefined||_0x27e567==undefined)return _0x15280f;if(_0x24e70f&&typeof _0x24e70f[_0x355eeb(0x12c)]!=undefined&&typeof _0x24e70f['distanceDisplayNear']!=undefined){if(_0x24e70f[_0x355eeb(0x12c)]&&_0x27e567){_0x15280f=![];let _0x23daaf=getLevel(_0x24e70f[_0x355eeb(0x12c)]),_0x144dbb=_0x27e567['getView']()[_0x355eeb(0x123)](_0x23daaf);_0x2f5fde<_0x144dbb&&(_0x15280f=!![]);}if(_0x15280f&&_0x24e70f['distanceDisplayNear']&&_0x27e567){_0x15280f=![];let _0x3c1338=getLevel(_0x24e70f['distanceDisplayNear']),_0x11aed6=_0x27e567['getView']()[_0x355eeb(0x123)](_0x3c1338);_0x2f5fde>_0x11aed6&&(_0x15280f=!![]);}}return _0x15280f;}export function getLevel(_0x188e56){const _0x424cf9=a74_0x4f72,_0x4a6d50=3252.745,_0x18cc4b=0.0009198301,_0x15379a=52977.61,_0x474ade=-3228.107;return _0x474ade+(_0x4a6d50-_0x474ade)/(0x1+Math[_0x424cf9(0x147)](_0x188e56/_0x15379a,_0x18cc4b));}function a74_0x16a6(){const _0x1b3e3b=['offsetX','getImage','6sTGqeh','textBaseline','12quQWYu','213842MgEZkl','bold','listenImageChange','pow','LOADED','alpha','6446880hIrsqF','borderLineWidth','borderLineOpacity','load','12833048ErJpIy','center','getImageState','color','#000000','12YByTtu','12152041HTlzty','haloColor','getResolutionForZoom','normal','haloOpacity','12wYVOEl','italic','11860450RIOfvF','textAlign','weight','ERROR','distanceDisplayFar','borderLineColor','family','1198660QQsGyn','haloWidth','backgroundColor','middle','9aCrxRf','size','backgroundOpacity','#2A2A2A','\x20normal\x20','2171596djUmle','markerColor','font','opacity','offsetY','image','target'];a74_0x16a6=function(){return _0x1b3e3b;};return a74_0x16a6();}function a74_0x4f72(_0x41e000,_0x4d19e1){const _0x16a6f0=a74_0x16a6();return a74_0x4f72=function(_0x4f72d4,_0x59d88f){_0x4f72d4=_0x4f72d4-0x116;let _0x524a1a=_0x16a6f0[_0x4f72d4];return _0x524a1a;},a74_0x4f72(_0x41e000,_0x4d19e1);}export function toRadians(_0x6d0cf0){if(_0x6d0cf0)return-(_0x6d0cf0*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x2fa378,_0x2b42c1,_0x1142d8,_0x40e126){const _0x18a3e3=a74_0x4f72;var _0x1c42fe,_0x210c16,_0x3aac22,_0x3c305c,_0x7661b1,_0x5bb097,_0xdd22da,_0xe28878;if(_0x2fa378){let _0x472e4b=isShowStyle(_0x2fa378,_0x1142d8,_0x40e126);if(_0x472e4b===![])return undefined;else{const _0x422dc9=_0x2fa378[_0x18a3e3(0x13a)],_0xef3e2a=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x127)])?'italic':'normal',_0x1b4d71=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12a)])?_0x18a3e3(0x145):_0x18a3e3(0x124),_0x478c89=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x134)])||'25',_0x5396a5=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12e)])||'楷体';let _0x3676da=_0xef3e2a+_0x18a3e3(0x137)+_0x1b4d71+'\x20'+_0x478c89+'px\x20'+_0x5396a5,_0x439cfb=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13f)])||0x0,_0x81a323=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13c)])||0x0,_0x2469c7=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x142)])||_0x18a3e3(0x132),_0x45d3a1=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x129)])||_0x18a3e3(0x11c);const _0x4a2804=_0x2fa378[_0x18a3e3(0x13b)]||0x1;let _0x21f2ce=undefined;return(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x122)])&&(_0x21f2ce=_getStroke(_0x422dc9[_0x18a3e3(0x122)],_0x422dc9[_0x18a3e3(0x125)],_0x422dc9[_0x18a3e3(0x130)])),new Text({'overflow':!![],'text':_0x2b42c1,'font':_0x3676da,'offsetX':_0x439cfb,'offsetY':_0x81a323,'textAlign':_0x45d3a1,'textBaseline':_0x2469c7,'fill':new Fill({'color':getColor(((_0x1c42fe=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x1c42fe===void 0x0?void 0x0:_0x1c42fe[_0x18a3e3(0x11e)])||_0x18a3e3(0x11f),_0x4a2804)}),'stroke':_0x21f2ce,'backgroundFill':((_0x210c16=_0x2fa378['font'])===null||_0x210c16===void 0x0?void 0x0:_0x210c16[_0x18a3e3(0x131)])?new Fill({'color':getColor(((_0x3aac22=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3aac22===void 0x0?void 0x0:_0x3aac22[_0x18a3e3(0x131)])||_0x18a3e3(0x136),((_0x3c305c=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3c305c===void 0x0?void 0x0:_0x3c305c[_0x18a3e3(0x135)])||0x1)}):undefined,'backgroundStroke':((_0x7661b1=_0x2fa378['font'])===null||_0x7661b1===void 0x0?void 0x0:_0x7661b1[_0x18a3e3(0x12d)])?_getStroke((_0x5bb097=_0x2fa378['font'])===null||_0x5bb097===void 0x0?void 0x0:_0x5bb097[_0x18a3e3(0x12d)],((_0xdd22da=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xdd22da===void 0x0?void 0x0:_0xdd22da[_0x18a3e3(0x119)])||0x1,((_0xe28878=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xe28878===void 0x0?void 0x0:_0xe28878[_0x18a3e3(0x118)])||0x1):undefined});}}else return undefined;}export function getColor(_0x4064c3,_0x4ee0fd){const _0x4d0b6d=a74_0x4f72;return a74_0x2016c3(_0x4064c3)[_0x4d0b6d(0x116)](_0x4ee0fd!=undefined?_0x4ee0fd:0x1)['hexa']();}function _getStroke(_0x52234d,_0x24adb7,_0xd7435c){return new Stroke({'color':getColor(_0x52234d,_0x24adb7),'width':_0xd7435c==undefined?0x1:_0xd7435c});}export function preLoadImageRenderFunction(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x162b3e){const _0x5c672f=a74_0x4f72;let _0x403ae0;_0x2231fa[_0x5c672f(0x139)]?_0x403ae0=new a74_0x5a168f(_0x2231fa):_0x403ae0=new Icon({'src':_0x2231fa[_0x5c672f(0x13d)]});let _0x2ee24f=_0x403ae0[_0x5c672f(0x11d)]();_0x2ee24f===a74_0x173137[_0x5c672f(0x148)]||_0x2ee24f===a74_0x173137[_0x5c672f(0x12b)]?_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x5c672f(0x140)](0x60)):(_0x2ee24f===a74_0x173137['IDLE']&&_0x403ae0[_0x5c672f(0x11a)](),_0x403ae0[_0x5c672f(0x146)](_0x1719c8=>{const _0x296af6=_0x5c672f;_0x2ee24f=_0x1719c8[_0x296af6(0x13e)][_0x296af6(0x11d)](),(_0x2ee24f===a74_0x173137[_0x296af6(0x148)]||_0x2ee24f===a74_0x173137[_0x296af6(0x12b)])&&_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x296af6(0x140)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x12c62a,_0x16b065){const _0x3c841c=a78_0x2765,_0x51cea1=_0x12c62a();while(!![]){try{const _0x2265de=-parseInt(_0x3c841c(0x1db))/0x1*(-parseInt(_0x3c841c(0x1dc))/0x2)+-parseInt(_0x3c841c(0x1d3))/0x3+-parseInt(_0x3c841c(0x1df))/0x4*(-parseInt(_0x3c841c(0x1d5))/0x5)+-parseInt(_0x3c841c(0x1d8))/0x6*(-parseInt(_0x3c841c(0x1da))/0x7)+-parseInt(_0x3c841c(0x1d9))/0x8+-parseInt(_0x3c841c(0x1d2))/0x9+-parseInt(_0x3c841c(0x1e1))/0xa*(parseInt(_0x3c841c(0x1e0))/0xb);if(_0x2265de===_0x16b065)break;else _0x51cea1['push'](_0x51cea1['shift']());}catch(_0x54eb61){_0x51cea1['push'](_0x51cea1['shift']());}}}(a78_0x1ad3,0x86f18));function a78_0x1ad3(){const _0x1d88e2=['1976704jIaxrA','11893QwMuCD','3CytKXN','416972vmOBrD','keys','object','4GxvyjB','77uRqxUe','1193380keRvhH','2045232jQpptl','298263ilmYKj','length','4575205SIormI','every','isArray','1488mKJwAb'];a78_0x1ad3=function(){return _0x1d88e2;};return a78_0x1ad3();}export function getDeepth(_0x4ff5a3){function _0x1cbd85(_0x3f3702,_0xfeec86){return _0x3f3702['reduce'](function(_0x58378b,_0x35485e){const _0x58273f=a78_0x2765;var _0x81f49e;return Array[_0x58273f(0x1d7)](_0x35485e)&&(_0x81f49e=_0x1cbd85(_0x35485e,_0xfeec86+0x1)),_0x81f49e>_0x58378b?_0x81f49e:_0x58378b;},_0xfeec86);}return _0x1cbd85(_0x4ff5a3,0x1);}export function compareArray(_0x1d0bc0,_0x5a3545){const _0x58ae27=a78_0x2765;if(_0x1d0bc0[_0x58ae27(0x1d4)]!==_0x5a3545[_0x58ae27(0x1d4)])return![];const _0x16a3e8=_0x1d0bc0['length'];for(let _0x4a1121=0x0;_0x4a1121<_0x16a3e8;_0x4a1121++){if(!compare(_0x1d0bc0[_0x4a1121],_0x5a3545[_0x4a1121]))return![];}return!![];}function a78_0x2765(_0x2bfefa,_0x412a8c){const _0x1ad3e0=a78_0x1ad3();return a78_0x2765=function(_0x2765f7,_0x2c3584){_0x2765f7=_0x2765f7-0x1d2;let _0xa10207=_0x1ad3e0[_0x2765f7];return _0xa10207;},a78_0x2765(_0x2bfefa,_0x412a8c);}export function compare(_0x4ad012,_0x235eca){const _0x2c03b4=a78_0x2765;if(_0x4ad012===_0x235eca)return!![];if(typeof _0x4ad012!==typeof _0x235eca||_0x4ad012===null||_0x235eca===null)return![];if(Array[_0x2c03b4(0x1d7)](_0x4ad012)){if(!Array[_0x2c03b4(0x1d7)](_0x235eca))return![];return compareArray(_0x4ad012,_0x235eca);}if(typeof _0x4ad012===_0x2c03b4(0x1de))return compareObject(_0x4ad012,_0x235eca);return![];}export function compareObject(_0xb3674e,_0x27842d){const _0xea3e98=a78_0x2765,_0xf9133=Object[_0xea3e98(0x1dd)](_0xb3674e),_0x4dfae4=Object['keys'](_0x27842d);if(_0xf9133['length']!==_0x4dfae4[_0xea3e98(0x1d4)])return![];return _0xf9133[_0xea3e98(0x1d6)](_0x32b852=>{if(!compare(_0xb3674e[_0x32b852],_0x27842d[_0x32b852]))return![];return!![];});}
1
+ (function(_0x2b00ee,_0x1f51ec){const _0x41e304=a79_0x520e,_0x19ea5b=_0x2b00ee();while(!![]){try{const _0x398841=-parseInt(_0x41e304(0x16a))/0x1*(-parseInt(_0x41e304(0x170))/0x2)+parseInt(_0x41e304(0x16d))/0x3+parseInt(_0x41e304(0x167))/0x4+parseInt(_0x41e304(0x16b))/0x5*(parseInt(_0x41e304(0x165))/0x6)+parseInt(_0x41e304(0x16c))/0x7*(parseInt(_0x41e304(0x169))/0x8)+-parseInt(_0x41e304(0x168))/0x9+-parseInt(_0x41e304(0x171))/0xa;if(_0x398841===_0x1f51ec)break;else _0x19ea5b['push'](_0x19ea5b['shift']());}catch(_0x469118){_0x19ea5b['push'](_0x19ea5b['shift']());}}}(a79_0x536d,0xc1b9b));function a79_0x520e(_0x21c3b8,_0xd56e9b){const _0x536de9=a79_0x536d();return a79_0x520e=function(_0x520e5c,_0x99e302){_0x520e5c=_0x520e5c-0x164;let _0x3005ec=_0x536de9[_0x520e5c];return _0x3005ec;},a79_0x520e(_0x21c3b8,_0xd56e9b);}export function getDeepth(_0x150c44){function _0x111ea0(_0x56a174,_0x130909){return _0x56a174['reduce'](function(_0x28f7be,_0xe016e2){var _0x129b53;return Array['isArray'](_0xe016e2)&&(_0x129b53=_0x111ea0(_0xe016e2,_0x130909+0x1)),_0x129b53>_0x28f7be?_0x129b53:_0x28f7be;},_0x130909);}return _0x111ea0(_0x150c44,0x1);}export function compareArray(_0x5e42f8,_0x1db987){const _0x159a10=a79_0x520e;if(_0x5e42f8[_0x159a10(0x164)]!==_0x1db987[_0x159a10(0x164)])return![];const _0x39a3ff=_0x5e42f8['length'];for(let _0x48b5b9=0x0;_0x48b5b9<_0x39a3ff;_0x48b5b9++){if(!compare(_0x5e42f8[_0x48b5b9],_0x1db987[_0x48b5b9]))return![];}return!![];}function a79_0x536d(){const _0x2cd6ca=['keys','69686FBDtdL','16365760AkYtwo','length','55038KIrLAP','every','3967576GEYloE','9868815IAcSep','3093432CTaThT','17wYWUEx','535UGeUkd','7GWbQqQ','1722585vHZmNy','isArray'];a79_0x536d=function(){return _0x2cd6ca;};return a79_0x536d();}export function compare(_0x2818ee,_0x54589b){const _0x21d4b6=a79_0x520e;if(_0x2818ee===_0x54589b)return!![];if(typeof _0x2818ee!==typeof _0x54589b||_0x2818ee===null||_0x54589b===null)return![];if(Array[_0x21d4b6(0x16e)](_0x2818ee)){if(!Array['isArray'](_0x54589b))return![];return compareArray(_0x2818ee,_0x54589b);}if(typeof _0x2818ee==='object')return compareObject(_0x2818ee,_0x54589b);return![];}export function compareObject(_0x168865,_0x1c82d4){const _0x224c02=a79_0x520e,_0x409a96=Object[_0x224c02(0x16f)](_0x168865),_0x121420=Object['keys'](_0x1c82d4);if(_0x409a96[_0x224c02(0x164)]!==_0x121420['length'])return![];return _0x409a96[_0x224c02(0x166)](_0x24a15d=>{if(!compare(_0x168865[_0x24a15d],_0x1c82d4[_0x24a15d]))return![];return!![];});}
@@ -1 +1 @@
1
- const a79_0x59417f=a79_0x36d3;(function(_0x4aedbc,_0x4a792e){const _0x54cb57=a79_0x36d3,_0x173fc9=_0x4aedbc();while(!![]){try{const _0x49e9e4=-parseInt(_0x54cb57(0x161))/0x1*(-parseInt(_0x54cb57(0x166))/0x2)+-parseInt(_0x54cb57(0x167))/0x3*(-parseInt(_0x54cb57(0x169))/0x4)+-parseInt(_0x54cb57(0x168))/0x5+-parseInt(_0x54cb57(0x164))/0x6*(-parseInt(_0x54cb57(0x15f))/0x7)+-parseInt(_0x54cb57(0x16a))/0x8*(parseInt(_0x54cb57(0x163))/0x9)+-parseInt(_0x54cb57(0x16c))/0xa+parseInt(_0x54cb57(0x15b))/0xb;if(_0x49e9e4===_0x4a792e)break;else _0x173fc9['push'](_0x173fc9['shift']());}catch(_0x34f8ee){_0x173fc9['push'](_0x173fc9['shift']());}}}(a79_0x4074,0x72f86));import a79_0x27d7b7 from'axios';function a79_0x36d3(_0x2b19e7,_0x287f2d){const _0x4074d3=a79_0x4074();return a79_0x36d3=function(_0x36d315,_0x496d4e){_0x36d315=_0x36d315-0x15b;let _0x7ab0e7=_0x4074d3[_0x36d315];return _0x7ab0e7;},a79_0x36d3(_0x2b19e7,_0x287f2d);}import a79_0x1a42ab from'jquery';function a79_0x4074(){const _0x1a1a48=['3094865ZkrVgG','9848IqYqtV','8CvsCkl','hasOwnProperty','3457870XjpnEA','6190360lpZKlN','create','forEach','ajax','397705WDCmFF','constructor','7cOuJvc','append','3427443gPxOQv','30kEqDyq','stringify','21704JZTqyA','1089VEdqBa'];a79_0x4074=function(){return _0x1a1a48;};return a79_0x4074();}const request=a79_0x27d7b7[a79_0x59417f(0x15c)]({'timeout':0xb4*0x3e8});export function jsonp(_0x36efa1){return new Promise((_0xb5626e,_0x56d9f9)=>{const _0x2f7259=a79_0x36d3;a79_0x1a42ab[_0x2f7259(0x15e)]({'url':_0x36efa1,'type':'get','dataType':'jsonp','success':_0x5f0fd8=>{_0xb5626e(_0x5f0fd8);},'error':_0x3d4eff=>{_0x56d9f9(_0x3d4eff);}});});}export function stringify(_0x2c4cd4){const _0x358a76=a79_0x59417f,_0x45d134=new FormData();for(const _0x3fdf70 in _0x2c4cd4){if(_0x2c4cd4[_0x358a76(0x16b)](_0x3fdf70)){if(_0x2c4cd4[_0x3fdf70]){if(_0x2c4cd4[_0x3fdf70][_0x358a76(0x160)]===Array)_0x2c4cd4[_0x3fdf70][0x0]?_0x2c4cd4[_0x3fdf70][0x0][_0x358a76(0x160)]===Object?_0x45d134[_0x358a76(0x162)](_0x3fdf70,JSON[_0x358a76(0x165)](_0x2c4cd4[_0x3fdf70])):_0x2c4cd4[_0x3fdf70][_0x358a76(0x15d)]((_0x381e75,_0x58ff99)=>{const _0x5a5a4c=_0x358a76;_0x45d134[_0x5a5a4c(0x162)](_0x3fdf70+('['+_0x58ff99+']'),_0x381e75);}):_0x45d134[_0x358a76(0x162)](_0x3fdf70+'[]','');else _0x2c4cd4[_0x3fdf70][_0x358a76(0x160)]===Object?_0x45d134[_0x358a76(0x162)](_0x3fdf70,JSON['stringify'](_0x2c4cd4[_0x3fdf70])):_0x45d134[_0x358a76(0x162)](_0x3fdf70,_0x2c4cd4[_0x3fdf70]);}else _0x2c4cd4[_0x3fdf70]===0x0?_0x45d134[_0x358a76(0x162)](_0x3fdf70,'0'):_0x45d134[_0x358a76(0x162)](_0x3fdf70,'');}}return _0x45d134;}export default request;
1
+ const a80_0x131d3b=a80_0x4d79;(function(_0x429854,_0x206687){const _0x1ec8de=a80_0x4d79,_0x109120=_0x429854();while(!![]){try{const _0x3693cb=-parseInt(_0x1ec8de(0x185))/0x1+-parseInt(_0x1ec8de(0x181))/0x2*(parseInt(_0x1ec8de(0x183))/0x3)+-parseInt(_0x1ec8de(0x18c))/0x4*(-parseInt(_0x1ec8de(0x186))/0x5)+parseInt(_0x1ec8de(0x18a))/0x6*(parseInt(_0x1ec8de(0x18e))/0x7)+-parseInt(_0x1ec8de(0x18b))/0x8+-parseInt(_0x1ec8de(0x184))/0x9+parseInt(_0x1ec8de(0x192))/0xa*(parseInt(_0x1ec8de(0x188))/0xb);if(_0x3693cb===_0x206687)break;else _0x109120['push'](_0x109120['shift']());}catch(_0x576935){_0x109120['push'](_0x109120['shift']());}}}(a80_0x5273,0x9fd56));import a80_0x136c24 from'axios';import a80_0x2fb78a from'jquery';const request=a80_0x136c24[a80_0x131d3b(0x189)]({'timeout':0xb4*0x3e8});function a80_0x4d79(_0xd0ffdb,_0x153d13){const _0x5273d9=a80_0x5273();return a80_0x4d79=function(_0x4d7936,_0x29f4b1){_0x4d7936=_0x4d7936-0x181;let _0x402fe6=_0x5273d9[_0x4d7936];return _0x402fe6;},a80_0x4d79(_0xd0ffdb,_0x153d13);}export function jsonp(_0xd426b9){return new Promise((_0x395054,_0x111e02)=>{const _0x3e1b60=a80_0x4d79;a80_0x2fb78a[_0x3e1b60(0x191)]({'url':_0xd426b9,'type':_0x3e1b60(0x18d),'dataType':_0x3e1b60(0x193),'success':_0x5f5770=>{_0x395054(_0x5f5770);},'error':_0x255569=>{_0x111e02(_0x255569);}});});}export function stringify(_0x468633){const _0x3576e2=a80_0x131d3b,_0x32e411=new FormData();for(const _0x4aba57 in _0x468633){if(_0x468633['hasOwnProperty'](_0x4aba57)){if(_0x468633[_0x4aba57]){if(_0x468633[_0x4aba57][_0x3576e2(0x182)]===Array)_0x468633[_0x4aba57][0x0]?_0x468633[_0x4aba57][0x0][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x468633[_0x4aba57][_0x3576e2(0x187)]((_0x53f5b2,_0x22a83f)=>{const _0x5cabae=_0x3576e2;_0x32e411[_0x5cabae(0x190)](_0x4aba57+('['+_0x22a83f+']'),_0x53f5b2);}):_0x32e411[_0x3576e2(0x190)](_0x4aba57+'[]','');else _0x468633[_0x4aba57][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x32e411[_0x3576e2(0x190)](_0x4aba57,_0x468633[_0x4aba57]);}else _0x468633[_0x4aba57]===0x0?_0x32e411[_0x3576e2(0x190)](_0x4aba57,'0'):_0x32e411[_0x3576e2(0x190)](_0x4aba57,'');}}return _0x32e411;}function a80_0x5273(){const _0x43f1c0=['674wXUtlF','constructor','9147IJxawT','7130079VZnwYm','655254lWnteR','13415gfYkEX','forEach','10842535hVTerC','create','5976726hmMgMo','711944eSRLbA','1844CuUnDt','get','7kBnnLe','stringify','append','ajax','10wPEwnE','jsonp'];a80_0x5273=function(){return _0x43f1c0;};return a80_0x5273();}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a80_0x29b5(){const _0x2cd51e=['1758648ShIfDg','12aQfqXa','64580joCFVB','toUpperCase','1717392llwCaB','976880lFzvsb','16GMuFrk','549tOGpdu','1032934imkJVs','576385rSASZj','2TwgTiD','EPSG:','10wsqhsU','replace','15327213VaJMBE'];a80_0x29b5=function(){return _0x2cd51e;};return a80_0x29b5();}function a80_0x5f0a(_0x30d24d,_0x47a859){const _0x29b54b=a80_0x29b5();return a80_0x5f0a=function(_0x5f0a9f,_0x19ae7e){_0x5f0a9f=_0x5f0a9f-0x16e;let _0x5c46b3=_0x29b54b[_0x5f0a9f];return _0x5c46b3;},a80_0x5f0a(_0x30d24d,_0x47a859);}(function(_0x3fa098,_0x4b0408){const _0x332773=a80_0x5f0a,_0x552408=_0x3fa098();while(!![]){try{const _0x2cf8bb=parseInt(_0x332773(0x17a))/0x1*(-parseInt(_0x332773(0x17b))/0x2)+-parseInt(_0x332773(0x175))/0x3+parseInt(_0x332773(0x176))/0x4+parseInt(_0x332773(0x16e))/0x5*(parseInt(_0x332773(0x171))/0x6)+parseInt(_0x332773(0x179))/0x7*(-parseInt(_0x332773(0x177))/0x8)+-parseInt(_0x332773(0x178))/0x9*(parseInt(_0x332773(0x173))/0xa)+parseInt(_0x332773(0x170))/0xb*(parseInt(_0x332773(0x172))/0xc);if(_0x2cf8bb===_0x4b0408)break;else _0x552408['push'](_0x552408['shift']());}catch(_0x273aff){_0x552408['push'](_0x552408['shift']());}}}(a80_0x29b5,0x5e374));export function getEsriSpatialReference(_0x43fb50){const _0x5cbcd0=a80_0x5f0a;let _0x4d7603;if(_0x43fb50){let _0x4b4891=_0x43fb50[_0x5cbcd0(0x174)]();_0x4b4891['indexOf']('EPSG:')===0x0?_0x4d7603=_0x43fb50[_0x5cbcd0(0x16f)](_0x5cbcd0(0x17c),''):_0x4d7603=_0x43fb50;}return _0x4d7603;}
1
+ (function(_0x460100,_0x4ce157){const _0x26b78e=a81_0x5d1f,_0x30a0bc=_0x460100();while(!![]){try{const _0x2df6cb=-parseInt(_0x26b78e(0xd0))/0x1*(-parseInt(_0x26b78e(0xd2))/0x2)+parseInt(_0x26b78e(0xce))/0x3+-parseInt(_0x26b78e(0xcd))/0x4*(parseInt(_0x26b78e(0xd3))/0x5)+-parseInt(_0x26b78e(0xcb))/0x6+parseInt(_0x26b78e(0xd1))/0x7+parseInt(_0x26b78e(0xcf))/0x8*(-parseInt(_0x26b78e(0xcc))/0x9)+parseInt(_0x26b78e(0xc8))/0xa*(parseInt(_0x26b78e(0xd4))/0xb);if(_0x2df6cb===_0x4ce157)break;else _0x30a0bc['push'](_0x30a0bc['shift']());}catch(_0x47114b){_0x30a0bc['push'](_0x30a0bc['shift']());}}}(a81_0x2b25,0x83ff3));export function getEsriSpatialReference(_0x920070){const _0x1f0841=a81_0x5d1f;let _0x53f137;if(_0x920070){let _0x52f6ec=_0x920070[_0x1f0841(0xca)]();_0x52f6ec[_0x1f0841(0xc7)](_0x1f0841(0xc9))===0x0?_0x53f137=_0x920070[_0x1f0841(0xc6)](_0x1f0841(0xc9),''):_0x53f137=_0x920070;}return _0x53f137;}function a81_0x5d1f(_0x139182,_0x2c462c){const _0x2b2537=a81_0x2b25();return a81_0x5d1f=function(_0x5d1f03,_0x405d30){_0x5d1f03=_0x5d1f03-0xc6;let _0x45730b=_0x2b2537[_0x5d1f03];return _0x45730b;},a81_0x5d1f(_0x139182,_0x2c462c);}function a81_0x2b25(){const _0x34017c=['replace','indexOf','986390WMILgO','EPSG:','toUpperCase','1371414kYJoOC','5049711YMEdvw','376RDJrmh','1361406nxayhm','8oXBDzM','12924bVVTsE','3329004bzJKDP','96jWujiE','37905CsOFxl','55yIJoqb'];a81_0x2b25=function(){return _0x34017c;};return a81_0x2b25();}
@@ -1 +1 @@
1
- const a83_0xdde8cd=a83_0x19e7;(function(_0x2912a7,_0x171a25){const _0x598a67=a83_0x19e7,_0x3462aa=_0x2912a7();while(!![]){try{const _0x25bd4b=-parseInt(_0x598a67(0x124))/0x1*(-parseInt(_0x598a67(0x136))/0x2)+parseInt(_0x598a67(0x13f))/0x3+parseInt(_0x598a67(0x138))/0x4*(-parseInt(_0x598a67(0x14f))/0x5)+-parseInt(_0x598a67(0x142))/0x6*(-parseInt(_0x598a67(0x15a))/0x7)+parseInt(_0x598a67(0x14c))/0x8*(-parseInt(_0x598a67(0x146))/0x9)+-parseInt(_0x598a67(0x129))/0xa+-parseInt(_0x598a67(0x13e))/0xb;if(_0x25bd4b===_0x171a25)break;else _0x3462aa['push'](_0x3462aa['shift']());}catch(_0x4b3457){_0x3462aa['push'](_0x3462aa['shift']());}}}(a83_0x111d,0x1f68e));import a83_0x15b5c1 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a83_0x421b7f}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a83_0x1376cb,getArea as a83_0x3b8313}from'ol/sphere';import a83_0x3fdaa9 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';function a83_0x19e7(_0x37befd,_0x5396f8){const _0x111d03=a83_0x111d();return a83_0x19e7=function(_0x19e771,_0x52b1c9){_0x19e771=_0x19e771-0x11b;let _0x9a06d=_0x111d03[_0x19e771];return _0x9a06d;},a83_0x19e7(_0x37befd,_0x5396f8);}import a83_0x32f558 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';function a83_0x111d(){const _0x52cd5f=['24yWuRtj','无法识别的数据类型','readGeometry','250IsZBKC','length','getPixelFromCoordinate','intersects','intersection','getCoordinateFromPixel','extractLine','bufferOp','getCoordinate','difference','union','1479730eoAOyD','createPolygon','getLineStrings','read','getArea','distance','getNumInteriorRing','abs','MultiPoint','writeGeometry','transform','getLength','18CVmlCD','filter','contains','toArray','inject','1372300RMjzVJ','Point','map','孔洞操作失败:','error','Polygon','some','sort','getStartIndex','getPolygons','未找到投影信息','push','getCoordinates','18312NJhasp','forEach','2052VCeMZP','warn','getExtent','getInteriorRingN','getNumGeometries','MultiPolygon','357456ByxgpX','382155HPoRKq','getInteriorPoint','getType','6IYrxNi','getGeometryN','isEmpty','getGeometryType','538659HlYMtO','clone','string','write','getExteriorRing','add'];a83_0x111d=function(){return _0x52cd5f;};return a83_0x111d();}import a83_0x27213e from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a83_0x862d5c from'jsts/org/locationtech/jts/io/OL3Parser.js';import a83_0x59237f from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a83_0x52fedd from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a83_0x4d35c7 from'ol/format/GeoJSON';import a83_0x281659 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a83_0x10fd2e from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a83_0x190ed8 from'ol/format/WKT';import a83_0x5bc1cb from'ol/format/EsriJSON';const _parser=new a83_0x862d5c(undefined,undefined);_parser[a83_0xdde8cd(0x128)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x414429,_0x16652e,_0x12176b=![]){const _0x5e46de=a83_0xdde8cd;if(!_0x414429)return 0x0;if(typeof _0x16652e==_0x5e46de(0x148)){let _0x5a56f5=registerProj(_0x16652e);if(_0x5a56f5==null)return console[_0x5e46de(0x12d)](_0x5e46de(0x133)),0x0;_0x16652e=_0x5a56f5;}const _0x93b139=isSpheroid(_0x16652e);if(_0x12176b)return a83_0x3b8313(_0x414429,{'projection':_0x16652e});else{if(_0x93b139){const _0x7463d=getGeoProjection(_0x414429,_0x16652e);return _0x414429[_0x5e46de(0x147)]()['transform'](_0x16652e,_0x7463d)[_0x5e46de(0x11c)]();}return _0x414429[_0x5e46de(0x11c)]();}}export function getLength(_0x567900,_0xd8d98b,_0x1ea440=![]){const _0x3a2e89=a83_0xdde8cd;if(!_0x567900)return 0x0;if(typeof _0xd8d98b==_0x3a2e89(0x148)){let _0x559e42=registerProj(_0xd8d98b);if(_0x559e42==null)return console[_0x3a2e89(0x12d)](_0x3a2e89(0x133)),0x0;_0xd8d98b=_0x559e42;}const _0x1ed3d5=isSpheroid(_0xd8d98b);if(_0x1ea440)return a83_0x1376cb(_0x567900,{'projection':_0xd8d98b});else{let _0x35b86a=_0x567900;if(_0x1ed3d5){const _0x4b711c=getGeoProjection(_0x567900,_0xd8d98b);_0x35b86a=_0x567900[_0x3a2e89(0x147)]()['transform'](_0xd8d98b,_0x4b711c);}if(_0x35b86a instanceof LineString)return _0x35b86a[_0x3a2e89(0x123)]();else{let _0x538e22=0x0;for(let _0x1d99eb=0x0;_0x1d99eb<_0x35b86a[_0x3a2e89(0x15c)]()['length'];_0x1d99eb++){_0x538e22+=_0x35b86a['getLineStrings']()[_0x1d99eb][_0x3a2e89(0x123)]();}return _0x538e22;}}}export function bufferOp(_0x301fa9,_0x2824c9){const _0x16d25b=a83_0xdde8cd,_0x137d36=_parser[_0x16d25b(0x11b)](_0x301fa9),_0x589d64=a83_0x3fdaa9[_0x16d25b(0x156)](_0x137d36,_0x2824c9);return _parser['write'](_0x589d64);}export function bufferPixel(_0xaad7a4,_0xb1f53a,_0x51efe){const _0x69e0db=a83_0xdde8cd,_0x101fca=_0x51efe[_0x69e0db(0x151)](_0xaad7a4[_0x69e0db(0x135)]()),_0x597947=_0x51efe[_0x69e0db(0x154)]([_0x101fca[0x0]+_0xb1f53a,_0x101fca[0x1]]),_0x3fa76d=a83_0x421b7f(_0xaad7a4[_0x69e0db(0x135)](),_0x597947),_0x14f88a=bufferOp(_0xaad7a4,_0x3fa76d);return _0x14f88a;}export function contains(_0x2bb004,_0x525598){const _0x53c720=a83_0xdde8cd,_0x157b95=_parser[_0x53c720(0x11b)](_0x2bb004),_0xdcc246=_parser[_0x53c720(0x11b)](_0x525598);return a83_0x32f558[_0x53c720(0x126)](_0x157b95,_0xdcc246);}export function crosses(_0x38be11,_0x743c0c){const _0x4e3c8d=a83_0xdde8cd,_0x38c609=_parser[_0x4e3c8d(0x11b)](_0x38be11),_0xba7c0c=_parser[_0x4e3c8d(0x11b)](_0x743c0c);return a83_0x32f558['crosses'](_0x38c609,_0xba7c0c);}export function intersects(_0x4e102c,_0x25c060){const _0xb827d4=a83_0xdde8cd,_0x4a352f=_parser[_0xb827d4(0x11b)](_0x4e102c),_0x4eaf1c=_parser[_0xb827d4(0x11b)](_0x25c060);return a83_0x32f558[_0xb827d4(0x152)](_0x4a352f,_0x4eaf1c);}export function intersection(_0x1efe31,_0x4ab9f0){const _0x4d5f5e=a83_0xdde8cd,_0x5d4281=_parser[_0x4d5f5e(0x11b)](_0x1efe31),_0x2ff7b7=_parser['read'](_0x4ab9f0);return _parser[_0x4d5f5e(0x149)](a83_0x27213e[_0x4d5f5e(0x153)](_0x5d4281,_0x2ff7b7));}export function union(_0x21f538,_0x5d7b95){const _0x59faa3=a83_0xdde8cd,_0x2c905d=_parser['read'](_0x21f538),_0x9efe36=_parser['read'](_0x5d7b95);return _parser['write'](a83_0x27213e[_0x59faa3(0x159)](_0x2c905d,_0x9efe36));}export function unions(_0x3688b1){const _0x318217=a83_0xdde8cd;if(!_0x3688b1||_0x3688b1[_0x318217(0x150)]===0x0)return;if(_0x3688b1[_0x318217(0x150)]===0x1)return _0x3688b1[0x0][_0x318217(0x147)]();let _0x18915a=_parser['read'](_0x3688b1[0x0]);for(let _0x5ec49b=0x1;_0x5ec49b<_0x3688b1['length'];_0x5ec49b++){const _0x4cdf10=_parser[_0x318217(0x11b)](_0x3688b1[_0x5ec49b]);_0x18915a=a83_0x27213e['union'](_0x18915a,_0x4cdf10);}return _parser[_0x318217(0x149)](_0x18915a);}export function difference(_0x1a5199,_0x5373d0){const _0x58389a=a83_0xdde8cd,_0x2a63de=_parser[_0x58389a(0x11b)](_0x1a5199),_0x310b85=_parser['read'](_0x5373d0);return _parser[_0x58389a(0x149)](a83_0x27213e[_0x58389a(0x158)](_0x2a63de,_0x310b85));}export function distance(_0x3f979f,_0x10b498){const _0x46d375=a83_0xdde8cd,_0x47862f=_parser[_0x46d375(0x11b)](_0x3f979f),_0x7ff818=_parser[_0x46d375(0x11b)](_0x10b498);return _parser['write'](a83_0x52fedd[_0x46d375(0x11d)](_0x47862f,_0x7ff818));}export function jstlSplit(_0x3568bb,_0x1de9c4){const _0x2a5bc2=a83_0xdde8cd,_0x4183d5=_parser['read'](_0x3568bb),_0x516e7e=_parser['read'](_0x1de9c4),_0x4211bb=_0x4183d5[_0x2a5bc2(0x145)]();let _0x2591b3=[];function _0x178701(_0x53cf51,_0x5dc114){const _0x465145=_0x2a5bc2,_0x5157d5=_0x53cf51[_0x465145(0x14a)](),_0x2a1013=_0x53cf51[_0x465145(0x11e)](),_0x422209=[];for(let _0x33d856=0x0;_0x33d856<_0x2a1013;_0x33d856++){_0x422209[_0x465145(0x134)](_0x53cf51[_0x465145(0x13b)](_0x33d856));}const _0x52c78f=a83_0x27213e['union'](_0x5157d5,_0x5dc114),_0x580443=new a83_0x59237f();_0x580443[_0x465145(0x14b)](_0x52c78f);const _0x1e34d8=_0x580443[_0x465145(0x132)](),_0x1e89e2=new a83_0x281659();_0x1e34d8['size']()>0x1?_0x1e34d8[_0x465145(0x127)]()['forEach'](_0x59b05c=>{const _0x476f25=_0x465145;let _0x2bb119=_0x59b05c;_0x422209[_0x476f25(0x137)](_0x53e5a2=>{const _0x194b24=_0x476f25,_0x472c3b=_0x1e89e2[_0x194b24(0x15b)](_0x53e5a2);try{_0x2bb119=a83_0x27213e[_0x194b24(0x158)](_0x2bb119,_0x472c3b);}catch(_0x567b38){console[_0x194b24(0x139)](_0x194b24(0x12c),_0x567b38);}}),_0x2bb119&&_0x2591b3[_0x476f25(0x134)](_parser['write'](_0x2bb119));}):_0x2591b3[_0x465145(0x134)](_parser[_0x465145(0x149)](_0x53cf51));}if(_0x4211bb===_0x2a5bc2(0x12e))_0x178701(_0x4183d5,_0x516e7e);else{if(_0x4211bb===_0x2a5bc2(0x13d)){const _0x2cf0ba=_0x4183d5['getNumGeometries']();for(let _0x780da2=0x0;_0x780da2<_0x2cf0ba;_0x780da2++){const _0x3884a0=_0x4183d5[_0x2a5bc2(0x143)](_0x780da2);_0x178701(_0x3884a0,_0x516e7e);}}else throw new Error(_0x2a5bc2(0x14d));}return _0x2591b3;}export function splitLineByLine(_0x2aece5,_0x3de2ff){const _0xe0c81=a83_0xdde8cd,_0x4d2438=_parser[_0xe0c81(0x11b)](_0x2aece5),_0x10f3af=_parser[_0xe0c81(0x11b)](_0x3de2ff),_0x265a46=a83_0x27213e[_0xe0c81(0x153)](_0x4d2438,_0x10f3af);if(!_0x265a46||_0x265a46[_0xe0c81(0x144)]())return[_0x2aece5];const _0x4dc9c9=[];if(_0x265a46[_0xe0c81(0x145)]()===_0xe0c81(0x12a))_0x4dc9c9['push'](_0x265a46[_0xe0c81(0x157)]());else{if(_0x265a46[_0xe0c81(0x145)]()===_0xe0c81(0x120))for(let _0x22e561=0x0;_0x22e561<_0x265a46[_0xe0c81(0x13c)]();_0x22e561++){_0x4dc9c9['push'](_0x265a46[_0xe0c81(0x143)](_0x22e561)['getCoordinate']());}}const _0x357805=new a83_0x10fd2e(_0x4d2438),_0x4393b7=_0x4dc9c9[_0xe0c81(0x12b)](_0xc5a54=>_0x357805['indexOf'](_0xc5a54))[_0xe0c81(0x130)]((_0x3a9ef1,_0x48eeb5)=>_0x3a9ef1-_0x48eeb5),_0x542a14=[],_0x10244c=1e-9;for(let _0x49e1d1=0x0;_0x49e1d1<_0x4393b7[_0xe0c81(0x150)];_0x49e1d1++){if(_0x49e1d1===0x0||Math[_0xe0c81(0x11f)](_0x4393b7[_0x49e1d1]-_0x4393b7[_0x49e1d1-0x1])>_0x10244c)_0x542a14[_0xe0c81(0x134)](_0x4393b7[_0x49e1d1]);}const _0x292608=[];let _0x348347=_0x357805[_0xe0c81(0x131)]?_0x357805[_0xe0c81(0x131)]():0x0;const _0x28e268=_0x357805['getEndIndex']&&_0x357805['getEndIndex']()||_0x4d2438[_0xe0c81(0x123)]();for(let _0x5bd30a=0x0;_0x5bd30a<_0x542a14['length'];_0x5bd30a++){const _0xc292a6=_0x542a14[_0x5bd30a];if(_0xc292a6-_0x348347>_0x10244c){const _0x3eb492=_0x357805[_0xe0c81(0x155)](_0x348347,_0xc292a6);_0x292608[_0xe0c81(0x134)](_parser[_0xe0c81(0x149)](_0x3eb492));}_0x348347=_0xc292a6;}if(_0x28e268-_0x348347>_0x10244c){const _0x47eac2=_0x357805[_0xe0c81(0x155)](_0x348347,_0x28e268);_0x292608[_0xe0c81(0x134)](_parser[_0xe0c81(0x149)](_0x47eac2));}const _0x14efff=_0x292608[_0xe0c81(0x125)](_0x4b9864=>{const _0x14f72a=_0xe0c81,_0x56d80b=_0x4b9864[_0x14f72a(0x135)]();return _0x56d80b&&_0x56d80b[_0x14f72a(0x150)]>=0x2&&!(_0x56d80b[_0x14f72a(0x150)]===0x2&&_0x56d80b[0x0][0x0]===_0x56d80b[0x1][0x0]&&_0x56d80b[0x0][0x1]===_0x56d80b[0x1][0x1]);});return _0x14efff;}export function fromWKT(_0x27c23d,_0x560295,_0x1262b8){const _0x1d61f9=a83_0xdde8cd,_0x2c6907=new a83_0x190ed8();_0x560295&&registerProj(_0x560295);_0x1262b8&&registerProj(_0x1262b8);const _0x5c8768=_0x2c6907['readGeometry'](_0x27c23d);if(isGeometryEmpty(_0x5c8768))return null;return _0x560295&&_0x1262b8?_0x5c8768[_0x1d61f9(0x122)](new a83_0x15b5c1({'code':_0x560295}),new a83_0x15b5c1({'code':_0x1262b8})):_0x5c8768;}export function fromWKTs(_0x12983b,_0x176bbb,_0x4e6235){const _0x5d7d2a=a83_0xdde8cd,_0x12ed24=new a83_0x190ed8();let _0x506f46=[];_0x176bbb&&registerProj(_0x176bbb);_0x4e6235&&registerProj(_0x4e6235);let _0x2a4937,_0x3e077e;_0x176bbb&&_0x4e6235&&(_0x2a4937=new a83_0x15b5c1({'code':_0x176bbb}),_0x3e077e=new a83_0x15b5c1({'code':_0x4e6235}));for(let _0x2202ab=0x0;_0x2202ab<_0x12983b['length'];_0x2202ab++){const _0xca20f4=_0x12ed24['readGeometry'](_0x12983b[_0x2202ab]);if(isGeometryEmpty(_0xca20f4))continue;_0x2a4937&&_0x3e077e?_0x506f46['push'](_0xca20f4[_0x5d7d2a(0x122)](_0x2a4937,_0x3e077e)):_0x506f46['push'](_0xca20f4);}return _0x506f46;}export function toWKT(_0x591bb0){const _0x1142b3=a83_0xdde8cd,_0x344915=new a83_0x190ed8();if(isGeometryEmpty(_0x591bb0))return'';if(_0x591bb0 instanceof Circle){const _0x5b86b0=fromCircle(_0x591bb0);return _0x344915[_0x1142b3(0x121)](_0x5b86b0);}else return _0x344915[_0x1142b3(0x121)](_0x591bb0);}export function toGeoJSON(_0x372f63){const _0x235113=new a83_0x4d35c7();return _0x235113['writeGeometry'](_0x372f63);}export function fromGeoJSON(_0x11b76f){const _0x5cf46b=a83_0xdde8cd,_0x2cf993=new a83_0x4d35c7();return _0x2cf993[_0x5cf46b(0x14e)](_0x11b76f);}export function toEsriJSON(_0x30bf53){const _0xaa8b7c=new a83_0x5bc1cb();return _0xaa8b7c['writeGeometry'](_0x30bf53);}export function fromEsriJSON(_0x4daed6){const _0x10946a=a83_0xdde8cd,_0x4024a8=new a83_0x5bc1cb();return _0x4024a8[_0x10946a(0x14e)](_0x4daed6);}export function expandExtent(_0x5ff28,_0x2a4a4f){const _0x3765f0=_0x5ff28[0x0],_0x326bea=_0x5ff28[0x1],_0xcddeb8=_0x5ff28[0x2],_0x19c4e7=_0x5ff28[0x3],_0x20de71=(_0x3765f0+_0xcddeb8)/0x2,_0x2f32b2=(_0x326bea+_0x19c4e7)/0x2,_0x42ddb9=_0xcddeb8-_0x3765f0,_0x2c7be5=_0x19c4e7-_0x326bea,_0xe0a27b=_0x42ddb9*_0x2a4a4f,_0x22b389=_0x2c7be5*_0x2a4a4f,_0x40aabd=_0x20de71-_0xe0a27b/0x2,_0x1b32f4=_0x20de71+_0xe0a27b/0x2,_0x1ba3a4=_0x2f32b2-_0x22b389/0x2,_0x3be7f6=_0x2f32b2+_0x22b389/0x2;return[_0x40aabd,_0x1ba3a4,_0x1b32f4,_0x3be7f6];}export function isGeometryEmpty(_0x5c1dc5){const _0x1656a8=a83_0xdde8cd;if(!_0x5c1dc5)return!![];if(_0x5c1dc5 instanceof Point||_0x5c1dc5 instanceof MultiPoint){const _0x18c4a9=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x18c4a9||_0x18c4a9[_0x1656a8(0x12f)](_0x4e06fa=>isNaN(_0x4e06fa));}else{if(_0x5c1dc5 instanceof LineString||_0x5c1dc5 instanceof MultiLineString)return _0x5c1dc5[_0x1656a8(0x135)]()[_0x1656a8(0x150)]<0x2;else{if(_0x5c1dc5 instanceof Polygon){const _0x28d3e3=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x28d3e3||_0x28d3e3[_0x1656a8(0x150)]===0x0||_0x28d3e3[0x0][_0x1656a8(0x150)]<0x4;}else{if(_0x5c1dc5 instanceof MultiPolygon){const _0x38d859=_0x5c1dc5[_0x1656a8(0x135)]();return!_0x38d859||_0x38d859[_0x1656a8(0x150)]===0x0||_0x38d859[0x0][0x0][_0x1656a8(0x150)]<0x4;}}}}return![];}export function polygonToLines(_0x3322d6){const _0x29fb2a=a83_0xdde8cd;if(!_0x3322d6)return[];const _0x2df602=_0x3322d6['getLinearRings']();return _0x2df602[_0x29fb2a(0x12b)](_0x4963b8=>new LineString(_0x4963b8[_0x29fb2a(0x135)]()));}export function getGeometryCenter(_0x774ff){const _0xfd11b4=a83_0xdde8cd;if(!_0x774ff)return undefined;const _0xd57ab3=_0x774ff[_0xfd11b4(0x141)]();if(_0xd57ab3===_0xfd11b4(0x12a))return new Point(_0x774ff[_0xfd11b4(0x135)]());if(_0xd57ab3===_0xfd11b4(0x12e)||_0xd57ab3===_0xfd11b4(0x13d))return _0x774ff[_0xfd11b4(0x140)]();const _0x532f8f=getCenter(_0x774ff[_0xfd11b4(0x13a)]());return new Point(_0x532f8f);}
1
+ const a84_0x11b740=a84_0xbec1;function a84_0xbec1(_0x94356b,_0x266a23){const _0x3036c7=a84_0x3036();return a84_0xbec1=function(_0xbec1d5,_0x423ada){_0xbec1d5=_0xbec1d5-0x1f3;let _0x3c4547=_0x3036c7[_0xbec1d5];return _0x3c4547;},a84_0xbec1(_0x94356b,_0x266a23);}(function(_0x1f5731,_0x385c52){const _0x492281=a84_0xbec1,_0xa0dae4=_0x1f5731();while(!![]){try{const _0x4b094d=-parseInt(_0x492281(0x20a))/0x1*(-parseInt(_0x492281(0x20c))/0x2)+-parseInt(_0x492281(0x209))/0x3*(parseInt(_0x492281(0x217))/0x4)+parseInt(_0x492281(0x207))/0x5+-parseInt(_0x492281(0x224))/0x6+-parseInt(_0x492281(0x226))/0x7+-parseInt(_0x492281(0x215))/0x8*(parseInt(_0x492281(0x222))/0x9)+parseInt(_0x492281(0x1fe))/0xa;if(_0x4b094d===_0x385c52)break;else _0xa0dae4['push'](_0xa0dae4['shift']());}catch(_0x14bd27){_0xa0dae4['push'](_0xa0dae4['shift']());}}}(a84_0x3036,0x888f8));import a84_0x51b78b from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x3efd61}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x30060f,getArea as a84_0x4ff8f5}from'ol/sphere';import a84_0x1ee33d from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x2b4d0b from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x770a3 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x92188b from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0x306e37 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x56e0ad from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x3877c4 from'ol/format/GeoJSON';import a84_0x3f5392 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x2395b6 from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a84_0xd783bc from'ol/format/WKT';import a84_0x4497a8 from'ol/format/EsriJSON';const _parser=new a84_0x92188b(undefined,undefined);_parser[a84_0x11b740(0x202)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x24d954,_0x57ce5e,_0x24bd57=![]){const _0x9a7d43=a84_0x11b740;if(!_0x24d954)return 0x0;if(typeof _0x57ce5e==_0x9a7d43(0x21e)){let _0x2149b7=registerProj(_0x57ce5e);if(_0x2149b7==null)return console[_0x9a7d43(0x22a)]('未找到投影信息'),0x0;_0x57ce5e=_0x2149b7;}const _0x35def0=isSpheroid(_0x57ce5e);if(_0x24bd57)return a84_0x4ff8f5(_0x24d954,{'projection':_0x57ce5e});else{if(_0x35def0){const _0xdfee76=getGeoProjection(_0x24d954,_0x57ce5e);return _0x24d954['clone']()['transform'](_0x57ce5e,_0xdfee76)[_0x9a7d43(0x1ff)]();}return _0x24d954[_0x9a7d43(0x1ff)]();}}export function getLength(_0x18eb24,_0x1f0964,_0x1aa1bf=![]){const _0x49e5bc=a84_0x11b740;if(!_0x18eb24)return 0x0;if(typeof _0x1f0964==_0x49e5bc(0x21e)){let _0x1dbbc6=registerProj(_0x1f0964);if(_0x1dbbc6==null)return console['error'](_0x49e5bc(0x22d)),0x0;_0x1f0964=_0x1dbbc6;}const _0x18c5a0=isSpheroid(_0x1f0964);if(_0x1aa1bf)return a84_0x30060f(_0x18eb24,{'projection':_0x1f0964});else{let _0x3b7a46=_0x18eb24;if(_0x18c5a0){const _0x15ff5e=getGeoProjection(_0x18eb24,_0x1f0964);_0x3b7a46=_0x18eb24[_0x49e5bc(0x22e)]()[_0x49e5bc(0x225)](_0x1f0964,_0x15ff5e);}if(_0x3b7a46 instanceof LineString)return _0x3b7a46[_0x49e5bc(0x21c)]();else{let _0x4bef56=0x0;for(let _0x695e9e=0x0;_0x695e9e<_0x3b7a46[_0x49e5bc(0x210)]()[_0x49e5bc(0x21d)];_0x695e9e++){_0x4bef56+=_0x3b7a46[_0x49e5bc(0x210)]()[_0x695e9e][_0x49e5bc(0x21c)]();}return _0x4bef56;}}}export function bufferOp(_0x40b885,_0x5bb50d){const _0x36e8ca=a84_0x11b740,_0xcc6c62=_parser[_0x36e8ca(0x227)](_0x40b885),_0x1f406c=a84_0x1ee33d[_0x36e8ca(0x1f7)](_0xcc6c62,_0x5bb50d);return _parser[_0x36e8ca(0x1f4)](_0x1f406c);}export function bufferPixel(_0x5a6967,_0x4ebeba,_0x4cdc9c){const _0x3bd62a=a84_0x11b740,_0x5e9571=_0x4cdc9c[_0x3bd62a(0x231)](_0x5a6967['getCoordinates']()),_0x3e7538=_0x4cdc9c[_0x3bd62a(0x223)]([_0x5e9571[0x0]+_0x4ebeba,_0x5e9571[0x1]]),_0x57276c=a84_0x3efd61(_0x5a6967['getCoordinates'](),_0x3e7538),_0x40ba0e=bufferOp(_0x5a6967,_0x57276c);return _0x40ba0e;}export function contains(_0x44810c,_0x28f4cb){const _0x3d1e78=a84_0x11b740,_0xb8fe08=_parser[_0x3d1e78(0x227)](_0x44810c),_0x42e426=_parser['read'](_0x28f4cb);return a84_0x2b4d0b[_0x3d1e78(0x20d)](_0xb8fe08,_0x42e426);}export function crosses(_0x1389ad,_0x43e753){const _0x14a326=a84_0x11b740,_0x5d5c07=_parser[_0x14a326(0x227)](_0x1389ad),_0x27f4a1=_parser[_0x14a326(0x227)](_0x43e753);return a84_0x2b4d0b[_0x14a326(0x221)](_0x5d5c07,_0x27f4a1);}export function intersects(_0x277cbd,_0x3112bb){const _0x433700=a84_0x11b740,_0x224e34=_parser[_0x433700(0x227)](_0x277cbd),_0x3d90ef=_parser[_0x433700(0x227)](_0x3112bb);return a84_0x2b4d0b[_0x433700(0x21f)](_0x224e34,_0x3d90ef);}export function intersection(_0x2f08da,_0x4cad72){const _0x42b030=a84_0x11b740,_0x39c485=_parser[_0x42b030(0x227)](_0x2f08da),_0x27c703=_parser[_0x42b030(0x227)](_0x4cad72);return _parser[_0x42b030(0x1f4)](a84_0x770a3[_0x42b030(0x213)](_0x39c485,_0x27c703));}export function union(_0xb9277e,_0x4afe25){const _0x56db4f=a84_0x11b740,_0x47fed5=_parser['read'](_0xb9277e),_0x1ad3e7=_parser[_0x56db4f(0x227)](_0x4afe25);return _parser['write'](a84_0x770a3[_0x56db4f(0x1f6)](_0x47fed5,_0x1ad3e7));}export function unions(_0x268c5f){const _0x20e3df=a84_0x11b740;if(!_0x268c5f||_0x268c5f[_0x20e3df(0x21d)]===0x0)return;if(_0x268c5f[_0x20e3df(0x21d)]===0x1)return _0x268c5f[0x0][_0x20e3df(0x22e)]();let _0x3ea29d=_parser[_0x20e3df(0x227)](_0x268c5f[0x0]);for(let _0x475e20=0x1;_0x475e20<_0x268c5f['length'];_0x475e20++){const _0x567c03=_parser[_0x20e3df(0x227)](_0x268c5f[_0x475e20]);_0x3ea29d=a84_0x770a3['union'](_0x3ea29d,_0x567c03);}return _parser[_0x20e3df(0x1f4)](_0x3ea29d);}export function difference(_0x40d150,_0x4694ed){const _0x15fd3c=a84_0x11b740,_0x1c17ac=_parser[_0x15fd3c(0x227)](_0x40d150),_0x4c8a78=_parser[_0x15fd3c(0x227)](_0x4694ed);return _parser[_0x15fd3c(0x1f4)](a84_0x770a3[_0x15fd3c(0x1f3)](_0x1c17ac,_0x4c8a78));}export function distance(_0x394a77,_0x571caf){const _0x38e9f1=a84_0x11b740,_0x482d28=_parser[_0x38e9f1(0x227)](_0x394a77),_0x215ba6=_parser[_0x38e9f1(0x227)](_0x571caf);return _parser['write'](a84_0x56e0ad[_0x38e9f1(0x1fd)](_0x482d28,_0x215ba6));}export function jstlSplit(_0x3aa3af,_0x22dcf3){const _0x3c172b=a84_0x11b740,_0x27711d=_parser[_0x3c172b(0x227)](_0x3aa3af),_0x5792b1=_parser[_0x3c172b(0x227)](_0x22dcf3),_0x52f16b=_0x27711d[_0x3c172b(0x219)]();let _0x1fec44=[];function _0x200c6b(_0x4bb07b,_0x7bb9a4){const _0x22063d=_0x3c172b,_0x2407e5=_0x4bb07b[_0x22063d(0x1f8)](),_0x4068dc=_0x4bb07b[_0x22063d(0x201)](),_0x3319e2=[];for(let _0x4a0b78=0x0;_0x4a0b78<_0x4068dc;_0x4a0b78++){_0x3319e2[_0x22063d(0x21b)](_0x4bb07b[_0x22063d(0x206)](_0x4a0b78));}const _0x2a4aac=a84_0x770a3[_0x22063d(0x1f6)](_0x2407e5,_0x7bb9a4),_0x24e2d6=new a84_0x306e37();_0x24e2d6['add'](_0x2a4aac);const _0x583862=_0x24e2d6[_0x22063d(0x204)](),_0x153dc2=new a84_0x3f5392();_0x583862[_0x22063d(0x211)]()>0x1?_0x583862['toArray']()['forEach'](_0x572ef9=>{const _0x12396b=_0x22063d;let _0x341098=_0x572ef9;_0x3319e2[_0x12396b(0x212)](_0x49388d=>{const _0x221d9b=_0x12396b,_0x52f76b=_0x153dc2[_0x221d9b(0x218)](_0x49388d);try{_0x341098=a84_0x770a3['difference'](_0x341098,_0x52f76b);}catch(_0x44d723){console['warn'](_0x221d9b(0x200),_0x44d723);}}),_0x341098&&_0x1fec44['push'](_parser['write'](_0x341098));}):_0x1fec44[_0x22063d(0x21b)](_parser['write'](_0x4bb07b));}if(_0x52f16b===_0x3c172b(0x22b))_0x200c6b(_0x27711d,_0x5792b1);else{if(_0x52f16b===_0x3c172b(0x208)){const _0x2f4f1d=_0x27711d[_0x3c172b(0x20b)]();for(let _0x347f62=0x0;_0x347f62<_0x2f4f1d;_0x347f62++){const _0x1c14f2=_0x27711d[_0x3c172b(0x1f9)](_0x347f62);_0x200c6b(_0x1c14f2,_0x5792b1);}}else throw new Error('无法识别的数据类型');}return _0x1fec44;}export function splitLineByLine(_0x24ca05,_0x2a8255){const _0x5c564e=a84_0x11b740,_0x171d17=_parser[_0x5c564e(0x227)](_0x24ca05),_0x224bf9=_parser['read'](_0x2a8255),_0x13adae=a84_0x770a3[_0x5c564e(0x213)](_0x171d17,_0x224bf9);if(!_0x13adae||_0x13adae[_0x5c564e(0x1fa)]())return[_0x24ca05];const _0xcc3637=[];if(_0x13adae['getGeometryType']()===_0x5c564e(0x21a))_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x205)]());else{if(_0x13adae[_0x5c564e(0x219)]()===_0x5c564e(0x20e))for(let _0x736895=0x0;_0x736895<_0x13adae[_0x5c564e(0x20b)]();_0x736895++){_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x1f9)](_0x736895)[_0x5c564e(0x205)]());}}const _0x540557=new a84_0x2395b6(_0x171d17),_0x4b1d88=_0xcc3637[_0x5c564e(0x22c)](_0xe1bccb=>_0x540557[_0x5c564e(0x230)](_0xe1bccb))['sort']((_0x1ff6ab,_0x351afb)=>_0x1ff6ab-_0x351afb),_0xa3412a=[],_0x1cdb66=1e-9;for(let _0x180d2e=0x0;_0x180d2e<_0x4b1d88[_0x5c564e(0x21d)];_0x180d2e++){if(_0x180d2e===0x0||Math['abs'](_0x4b1d88[_0x180d2e]-_0x4b1d88[_0x180d2e-0x1])>_0x1cdb66)_0xa3412a['push'](_0x4b1d88[_0x180d2e]);}const _0x6ea1ac=[];let _0x5b7218=_0x540557[_0x5c564e(0x228)]?_0x540557[_0x5c564e(0x228)]():0x0;const _0x21ed75=_0x540557['getEndIndex']&&_0x540557[_0x5c564e(0x203)]()||_0x171d17['getLength']();for(let _0x476662=0x0;_0x476662<_0xa3412a[_0x5c564e(0x21d)];_0x476662++){const _0x4e6074=_0xa3412a[_0x476662];if(_0x4e6074-_0x5b7218>_0x1cdb66){const _0x3dc993=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x4e6074);_0x6ea1ac[_0x5c564e(0x21b)](_parser['write'](_0x3dc993));}_0x5b7218=_0x4e6074;}if(_0x21ed75-_0x5b7218>_0x1cdb66){const _0x272741=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x21ed75);_0x6ea1ac['push'](_parser['write'](_0x272741));}const _0xa434e3=_0x6ea1ac[_0x5c564e(0x1fb)](_0x7f878f=>{const _0x6bf128=_0x5c564e,_0x25846d=_0x7f878f[_0x6bf128(0x214)]();return _0x25846d&&_0x25846d[_0x6bf128(0x21d)]>=0x2&&!(_0x25846d['length']===0x2&&_0x25846d[0x0][0x0]===_0x25846d[0x1][0x0]&&_0x25846d[0x0][0x1]===_0x25846d[0x1][0x1]);});return _0xa434e3;}export function fromWKT(_0x31c647,_0x1a3e58,_0x3faec2){const _0x5e392c=new a84_0xd783bc();_0x1a3e58&&registerProj(_0x1a3e58);_0x3faec2&&registerProj(_0x3faec2);const _0xceab3c=_0x5e392c['readGeometry'](_0x31c647);if(isGeometryEmpty(_0xceab3c))return null;return _0x1a3e58&&_0x3faec2?_0xceab3c['transform'](new a84_0x51b78b({'code':_0x1a3e58}),new a84_0x51b78b({'code':_0x3faec2})):_0xceab3c;}export function fromWKTs(_0x3196cb,_0x1392fd,_0x3add81){const _0x55d55e=a84_0x11b740,_0x203c50=new a84_0xd783bc();let _0x4a290f=[];_0x1392fd&&registerProj(_0x1392fd);_0x3add81&&registerProj(_0x3add81);let _0x1991f9,_0x506cd4;_0x1392fd&&_0x3add81&&(_0x1991f9=new a84_0x51b78b({'code':_0x1392fd}),_0x506cd4=new a84_0x51b78b({'code':_0x3add81}));for(let _0x157778=0x0;_0x157778<_0x3196cb[_0x55d55e(0x21d)];_0x157778++){const _0x1340d8=_0x203c50[_0x55d55e(0x20f)](_0x3196cb[_0x157778]);if(isGeometryEmpty(_0x1340d8))continue;_0x1991f9&&_0x506cd4?_0x4a290f['push'](_0x1340d8[_0x55d55e(0x225)](_0x1991f9,_0x506cd4)):_0x4a290f['push'](_0x1340d8);}return _0x4a290f;}export function toWKT(_0x9d58f7){const _0x214c31=a84_0x11b740,_0x3e0dfc=new a84_0xd783bc();if(isGeometryEmpty(_0x9d58f7))return'';if(_0x9d58f7 instanceof Circle){const _0x1b152d=fromCircle(_0x9d58f7);return _0x3e0dfc['writeGeometry'](_0x1b152d);}else return _0x3e0dfc[_0x214c31(0x229)](_0x9d58f7);}export function toGeoJSON(_0x246fee){const _0x93d29=a84_0x11b740,_0x12b43e=new a84_0x3877c4();return _0x12b43e[_0x93d29(0x229)](_0x246fee);}export function fromGeoJSON(_0x3a1d0d){const _0x52abc7=a84_0x11b740,_0xe80bf4=new a84_0x3877c4();return _0xe80bf4[_0x52abc7(0x20f)](_0x3a1d0d);}export function toEsriJSON(_0x34ecac){const _0x43f4cb=a84_0x11b740,_0x415b2e=new a84_0x4497a8();return _0x415b2e[_0x43f4cb(0x229)](_0x34ecac);}export function fromEsriJSON(_0xd26c84){const _0x5023a6=a84_0x11b740,_0x47e7bb=new a84_0x4497a8();return _0x47e7bb[_0x5023a6(0x20f)](_0xd26c84);}export function expandExtent(_0x10ca2d,_0x5dd573){const _0x353558=_0x10ca2d[0x0],_0x3ec0de=_0x10ca2d[0x1],_0x3da9f5=_0x10ca2d[0x2],_0x2b983d=_0x10ca2d[0x3],_0xa73120=(_0x353558+_0x3da9f5)/0x2,_0x3729e2=(_0x3ec0de+_0x2b983d)/0x2,_0x5801d8=_0x3da9f5-_0x353558,_0x5103dd=_0x2b983d-_0x3ec0de,_0x5ee96c=_0x5801d8*_0x5dd573,_0x4c5407=_0x5103dd*_0x5dd573,_0x5167ef=_0xa73120-_0x5ee96c/0x2,_0x5df695=_0xa73120+_0x5ee96c/0x2,_0x45c5ee=_0x3729e2-_0x4c5407/0x2,_0x36b534=_0x3729e2+_0x4c5407/0x2;return[_0x5167ef,_0x45c5ee,_0x5df695,_0x36b534];}export function isGeometryEmpty(_0xae962a){const _0xfa064a=a84_0x11b740;if(!_0xae962a)return!![];if(_0xae962a instanceof Point||_0xae962a instanceof MultiPoint){const _0x4656cb=_0xae962a[_0xfa064a(0x214)]();return!_0x4656cb||_0x4656cb[_0xfa064a(0x1fc)](_0x1a570c=>isNaN(_0x1a570c));}else{if(_0xae962a instanceof LineString||_0xae962a instanceof MultiLineString)return _0xae962a[_0xfa064a(0x214)]()[_0xfa064a(0x21d)]<0x2;else{if(_0xae962a instanceof Polygon){const _0x535cdf=_0xae962a[_0xfa064a(0x214)]();return!_0x535cdf||_0x535cdf[_0xfa064a(0x21d)]===0x0||_0x535cdf[0x0][_0xfa064a(0x21d)]<0x4;}else{if(_0xae962a instanceof MultiPolygon){const _0x5a0816=_0xae962a[_0xfa064a(0x214)]();return!_0x5a0816||_0x5a0816[_0xfa064a(0x21d)]===0x0||_0x5a0816[0x0][0x0]['length']<0x4;}}}}return![];}function a84_0x3036(){const _0x102f21=['219piceKl','13633kFsHYc','getNumGeometries','46mRMDLW','contains','MultiPoint','readGeometry','getLineStrings','size','forEach','intersection','getCoordinates','711640cMjDia','extractLine','27688naIZCH','createPolygon','getGeometryType','Point','push','getLength','length','string','intersects','getType','crosses','18SSajmv','getCoordinateFromPixel','6384510QmOEOK','transform','5233977MyxrZK','read','getStartIndex','writeGeometry','error','Polygon','map','未找到投影信息','clone','getInteriorPoint','indexOf','getPixelFromCoordinate','difference','write','getExtent','union','bufferOp','getExteriorRing','getGeometryN','isEmpty','filter','some','distance','19201920RioLfe','getArea','孔洞操作失败:','getNumInteriorRing','inject','getEndIndex','getPolygons','getCoordinate','getInteriorRingN','4103065csOImb','MultiPolygon'];a84_0x3036=function(){return _0x102f21;};return a84_0x3036();}export function polygonToLines(_0xc7bbb2){const _0x5e21a4=a84_0x11b740;if(!_0xc7bbb2)return[];const _0x5432db=_0xc7bbb2['getLinearRings']();return _0x5432db[_0x5e21a4(0x22c)](_0x2f435c=>new LineString(_0x2f435c['getCoordinates']()));}export function getGeometryCenter(_0x37af7a){const _0x35f125=a84_0x11b740;if(!_0x37af7a)return undefined;const _0x48f96b=_0x37af7a[_0x35f125(0x220)]();if(_0x48f96b==='Point')return new Point(_0x37af7a[_0x35f125(0x214)]());if(_0x48f96b==='Polygon'||_0x48f96b===_0x35f125(0x208))return _0x37af7a[_0x35f125(0x22f)]();const _0x4a9f0e=getCenter(_0x37af7a[_0x35f125(0x1f5)]());return new Point(_0x4a9f0e);}
@@ -1 +1 @@
1
- (function(_0x1b80c1,_0x209863){const _0x5d136c=a84_0x1862,_0x362bc9=_0x1b80c1();while(!![]){try{const _0x1887b0=parseInt(_0x5d136c(0x208))/0x1*(parseInt(_0x5d136c(0x200))/0x2)+parseInt(_0x5d136c(0x203))/0x3*(parseInt(_0x5d136c(0x202))/0x4)+-parseInt(_0x5d136c(0x1f1))/0x5*(parseInt(_0x5d136c(0x1f7))/0x6)+-parseInt(_0x5d136c(0x1fa))/0x7*(-parseInt(_0x5d136c(0x207))/0x8)+parseInt(_0x5d136c(0x206))/0x9*(parseInt(_0x5d136c(0x209))/0xa)+-parseInt(_0x5d136c(0x1f2))/0xb+parseInt(_0x5d136c(0x1ed))/0xc*(-parseInt(_0x5d136c(0x1eb))/0xd);if(_0x1887b0===_0x209863)break;else _0x362bc9['push'](_0x362bc9['shift']());}catch(_0x140b64){_0x362bc9['push'](_0x362bc9['shift']());}}}(a84_0x3e55,0x6203d));import a84_0x404271 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x347d0e){const _0x1e45d8=a84_0x1862;let _0x450911=[];return _0x347d0e&&_0x347d0e[_0x1e45d8(0x1e8)]>0x0&&(_0x347d0e['forEach'](_0x505258=>{const _0x4c99d1=_0x1e45d8;(!_0x505258[_0x4c99d1(0x1ef)]||_0x505258[_0x4c99d1(0x1ef)]=='')&&_0x450911[_0x4c99d1(0x1f4)](Object[_0x4c99d1(0x1f0)]({},_0x505258));}),_0x450911=_0x450911[_0x1e45d8(0x20c)]((_0x4c3e6e,_0x387a8f)=>{const _0x1bbfc1=_0x1e45d8;return(_0x4c3e6e['showIndex']?_0x4c3e6e['showIndex']:0x0)-(_0x387a8f[_0x1bbfc1(0x204)]?_0x387a8f[_0x1bbfc1(0x204)]:0x0);}),_0x450911[_0x1e45d8(0x1fd)](_0x5a1ae4=>{const _0x1d4047=_0x1e45d8;_0x5a1ae4[_0x1d4047(0x1ff)]=setChildren(_0x5a1ae4['id'],_0x347d0e);})),_0x450911;}function setChildren(_0x19752c,_0x547396){const _0x4181fb=a84_0x1862;let _0x1afab1=[];return _0x547396['forEach'](_0x279857=>{const _0x1853dc=a84_0x1862;_0x19752c===(_0x279857[_0x1853dc(0x1ef)]==null?'':_0x279857[_0x1853dc(0x1ef)])&&_0x1afab1[_0x1853dc(0x1f4)](Object[_0x1853dc(0x1f0)]({},_0x279857));}),_0x1afab1=_0x1afab1[_0x4181fb(0x20c)]((_0x3a00a1,_0x12980f)=>{const _0x50d06c=_0x4181fb;return(_0x3a00a1[_0x50d06c(0x204)]?_0x3a00a1[_0x50d06c(0x204)]:0x0)-(_0x12980f[_0x50d06c(0x204)]?_0x12980f[_0x50d06c(0x204)]:0x0);}),_0x1afab1['length']>0x0&&_0x1afab1[_0x4181fb(0x1fd)](_0x4ff665=>{_0x4ff665['children']=setChildren(_0x4ff665['id'],_0x547396);}),_0x1afab1;}export async function getLayerLegend(_0x37796a,_0x182727){const _0x21d5ce=a84_0x1862;if(!_0x37796a||!_0x37796a[_0x21d5ce(0x1f6)]||!_0x37796a[_0x21d5ce(0x1ec)]||_0x37796a['sublayers'][_0x21d5ce(0x1e8)]==0x0||!_0x37796a[_0x21d5ce(0x201)])return;if(_0x37796a[_0x21d5ce(0x201)][_0x21d5ce(0x1ee)]('geoserver')>-0x1)return await getGeoServerLayerLegend(_0x37796a,_0x182727);return;}function a84_0x1862(_0x425d7d,_0x42faac){const _0x3e55f1=a84_0x3e55();return a84_0x1862=function(_0x1862df,_0x16a7b1){_0x1862df=_0x1862df-0x1e8;let _0x187cff=_0x3e55f1[_0x1862df];return _0x187cff;},a84_0x1862(_0x425d7d,_0x42faac);}function a84_0x3e55(){const _0x3b8ecb=['34tvEALN','layerType','1876HXLImo','879vpDQkG','showIndex','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','993204uthjLR','16uTonXf','33232dKUZHl','20Nlyzex','&width=','wms','sort','length','gwc/service/wmts','Legend','2536391hPBEsB','sublayers','12lkbqIQ','indexOf','parentId','assign','1371795uLQslZ','3729792COQsWI','&format=application/json','push','title','url','6gaLVfw','data','&format=image/png','1004269UgqXBb','get','replace','forEach','includes','children'];a84_0x3e55=function(){return _0x3b8ecb;};return a84_0x3e55();}export async function getGeoServerLayerLegend(_0xde59ce,_0x2e16d4){const _0x3d148c=a84_0x1862;if(!_0xde59ce||!_0xde59ce['url']||!_0xde59ce[_0x3d148c(0x1ec)]||_0xde59ce[_0x3d148c(0x1ec)][_0x3d148c(0x1e8)]==0x0)return;let _0x5e6aa0=_0xde59ce['url'];const _0x1aa3d0=_0xde59ce[_0x3d148c(0x1ec)];_0x5e6aa0=_0x5e6aa0[_0x3d148c(0x1fc)](_0x3d148c(0x1e9),_0x3d148c(0x20b));const _0x49bce3=[];for(let _0x3bb8ff=0x0;_0x3bb8ff<_0x1aa3d0['length'];_0x3bb8ff++){const _0x1730ba=_0x1aa3d0[_0x3bb8ff];let _0x42c7d8=_0x3d148c(0x205)+_0x1730ba+_0x3d148c(0x1f3);const _0x45f51d=_0x5e6aa0['includes']('?')?_0x5e6aa0+'&'+_0x42c7d8:_0x5e6aa0+'?'+_0x42c7d8,_0x24feae=await a84_0x404271[_0x3d148c(0x1fb)](_0x45f51d);if(_0x24feae[_0x3d148c(0x1f8)]&&_0x24feae[_0x3d148c(0x1f8)][_0x3d148c(0x1ea)]&&_0x24feae['data'][_0x3d148c(0x1ea)][_0x3d148c(0x1e8)]>0x0)_0x49bce3['push'](_0x24feae['data']['Legend'][0x0]);else{let _0x1efd81=_0x2e16d4?_0x2e16d4:0x10,_0x1a50a8=_0x3d148c(0x205)+_0x1730ba+_0x3d148c(0x20a)+_0x1efd81+'&height='+_0x1efd81+_0x3d148c(0x1f9);const _0x5ae866=_0x5e6aa0[_0x3d148c(0x1fe)]('?')?_0x5e6aa0+'&'+_0x1a50a8:_0x5e6aa0+'?'+_0x1a50a8;_0x49bce3[_0x3d148c(0x1f4)]({'title':_0xde59ce[_0x3d148c(0x1f5)],'url':_0x5ae866});}}return _0x49bce3;}
1
+ (function(_0x2c77c1,_0x26dfa3){const _0x241551=a85_0x5992,_0x29ee3f=_0x2c77c1();while(!![]){try{const _0xbf73f5=-parseInt(_0x241551(0x183))/0x1*(-parseInt(_0x241551(0x173))/0x2)+-parseInt(_0x241551(0x17f))/0x3*(parseInt(_0x241551(0x170))/0x4)+-parseInt(_0x241551(0x16d))/0x5+parseInt(_0x241551(0x17a))/0x6*(parseInt(_0x241551(0x171))/0x7)+parseInt(_0x241551(0x18c))/0x8+parseInt(_0x241551(0x18b))/0x9*(parseInt(_0x241551(0x17b))/0xa)+parseInt(_0x241551(0x179))/0xb*(parseInt(_0x241551(0x188))/0xc);if(_0xbf73f5===_0x26dfa3)break;else _0x29ee3f['push'](_0x29ee3f['shift']());}catch(_0x481bf3){_0x29ee3f['push'](_0x29ee3f['shift']());}}}(a85_0x54fd,0x3766a));import a85_0x4c5e9d from'../utils/AxiosUtil';function a85_0x54fd(){const _0x46b5af=['geoserver','16225OvSWPQ','504TKdZwT','1751980ulRFPG','sublayers','push','&height=','6WJyVei','url','title','includes','1609SNhDiD','Legend','children','layerType','assign','12ubVVdE','parentId','indexOf','18faZfII','1026016uhNRnO','sort','length','1861775uJQNxd','replace','wms','725920gkzLFv','30254SyNzFI','showIndex','148UIwQOn','&format=image/png','forEach','data','service=WMS&version=1.1.0&request=GetLegendGraphic&layer='];a85_0x54fd=function(){return _0x46b5af;};return a85_0x54fd();}function a85_0x5992(_0x4f1e0c,_0x4e0313){const _0x54fdca=a85_0x54fd();return a85_0x5992=function(_0x59925f,_0xc0fc44){_0x59925f=_0x59925f-0x16d;let _0x4d6ee2=_0x54fdca[_0x59925f];return _0x4d6ee2;},a85_0x5992(_0x4f1e0c,_0x4e0313);}export function mapServiceTreeTransform(_0x44cb1d){const _0x159d7a=a85_0x5992;let _0x2e3d9d=[];return _0x44cb1d&&_0x44cb1d[_0x159d7a(0x18e)]>0x0&&(_0x44cb1d[_0x159d7a(0x175)](_0x4a78d0=>{const _0x44219e=_0x159d7a;(!_0x4a78d0[_0x44219e(0x189)]||_0x4a78d0[_0x44219e(0x189)]=='')&&_0x2e3d9d[_0x44219e(0x17d)](Object['assign']({},_0x4a78d0));}),_0x2e3d9d=_0x2e3d9d[_0x159d7a(0x18d)]((_0x5bd974,_0x21c82e)=>{const _0x1b6cbc=_0x159d7a;return(_0x5bd974[_0x1b6cbc(0x172)]?_0x5bd974['showIndex']:0x0)-(_0x21c82e[_0x1b6cbc(0x172)]?_0x21c82e[_0x1b6cbc(0x172)]:0x0);}),_0x2e3d9d[_0x159d7a(0x175)](_0x1c61de=>{const _0x2f3cee=_0x159d7a;_0x1c61de[_0x2f3cee(0x185)]=setChildren(_0x1c61de['id'],_0x44cb1d);})),_0x2e3d9d;}function setChildren(_0x18c5dc,_0x478df2){const _0x2b8ddf=a85_0x5992;let _0x163f7f=[];return _0x478df2['forEach'](_0x50cdbd=>{const _0x1384d3=a85_0x5992;_0x18c5dc===(_0x50cdbd[_0x1384d3(0x189)]==null?'':_0x50cdbd['parentId'])&&_0x163f7f[_0x1384d3(0x17d)](Object[_0x1384d3(0x187)]({},_0x50cdbd));}),_0x163f7f=_0x163f7f[_0x2b8ddf(0x18d)]((_0x1aeaaf,_0x4c23ec)=>{const _0x34b19e=_0x2b8ddf;return(_0x1aeaaf['showIndex']?_0x1aeaaf[_0x34b19e(0x172)]:0x0)-(_0x4c23ec[_0x34b19e(0x172)]?_0x4c23ec[_0x34b19e(0x172)]:0x0);}),_0x163f7f[_0x2b8ddf(0x18e)]>0x0&&_0x163f7f[_0x2b8ddf(0x175)](_0x3a9189=>{_0x3a9189['children']=setChildren(_0x3a9189['id'],_0x478df2);}),_0x163f7f;}export async function getLayerLegend(_0x3e20a8,_0x5e04dc){const _0x209aa3=a85_0x5992;if(!_0x3e20a8||!_0x3e20a8[_0x209aa3(0x180)]||!_0x3e20a8[_0x209aa3(0x17c)]||_0x3e20a8[_0x209aa3(0x17c)][_0x209aa3(0x18e)]==0x0||!_0x3e20a8[_0x209aa3(0x186)])return;if(_0x3e20a8[_0x209aa3(0x186)][_0x209aa3(0x18a)](_0x209aa3(0x178))>-0x1)return await getGeoServerLayerLegend(_0x3e20a8,_0x5e04dc);return;}export async function getGeoServerLayerLegend(_0x19cecc,_0x30e3c6){const _0x5ae2ab=a85_0x5992;if(!_0x19cecc||!_0x19cecc[_0x5ae2ab(0x180)]||!_0x19cecc['sublayers']||_0x19cecc['sublayers']['length']==0x0)return;let _0x49985e=_0x19cecc['url'];const _0x28ed48=_0x19cecc['sublayers'];_0x49985e=_0x49985e[_0x5ae2ab(0x16e)]('gwc/service/wmts',_0x5ae2ab(0x16f));const _0x51f73b=[];for(let _0x280bd7=0x0;_0x280bd7<_0x28ed48['length'];_0x280bd7++){const _0x5468c2=_0x28ed48[_0x280bd7];let _0x1b1122='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x5468c2+'&format=application/json';const _0x9bccb7=_0x49985e['includes']('?')?_0x49985e+'&'+_0x1b1122:_0x49985e+'?'+_0x1b1122,_0x5734d1=await a85_0x4c5e9d['get'](_0x9bccb7);if(_0x5734d1['data']&&_0x5734d1[_0x5ae2ab(0x176)][_0x5ae2ab(0x184)]&&_0x5734d1[_0x5ae2ab(0x176)]['Legend'][_0x5ae2ab(0x18e)]>0x0)_0x51f73b['push'](_0x5734d1[_0x5ae2ab(0x176)]['Legend'][0x0]);else{let _0x17ab8=_0x30e3c6?_0x30e3c6:0x10,_0x10a5d1=_0x5ae2ab(0x177)+_0x5468c2+'&width='+_0x17ab8+_0x5ae2ab(0x17e)+_0x17ab8+_0x5ae2ab(0x174);const _0x4f273f=_0x49985e[_0x5ae2ab(0x182)]('?')?_0x49985e+'&'+_0x10a5d1:_0x49985e+'?'+_0x10a5d1;_0x51f73b[_0x5ae2ab(0x17d)]({'title':_0x19cecc[_0x5ae2ab(0x181)],'url':_0x4f273f});}}return _0x51f73b;}