ym-gis-2d 1.0.24 → 1.0.25

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 (67) 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/LegendControl.js.map +1 -1
  5. package/controls/MousePositionControl.js +1 -1
  6. package/controls/SwipeLayerControl.js +1 -1
  7. package/conver/kml/geoJSONToKml.js +1 -1
  8. package/conver/kml/index.js +1 -1
  9. package/conver/kml/kmlToGeoJSON.js +1 -1
  10. package/entity/Feature.js +1 -1
  11. package/entity/GeometryType.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.js +1 -1
  26. package/layers/LayerManager.js +1 -1
  27. package/layers/TDTLayer.js +1 -1
  28. package/mapView/Map.js +1 -1
  29. package/mapView/View.js +1 -1
  30. package/package.json +1 -1
  31. package/plot/Plot.js +1 -1
  32. package/plot/geometry/point/Point.js +1 -1
  33. package/plot/geometry/polygon/BasePolygon.js +1 -1
  34. package/plot/geometry/polygon/Circle.js +1 -1
  35. package/plot/geometry/polygon/Polygon.js +1 -1
  36. package/plot/geometry/polygon/RectAngle.js +1 -1
  37. package/plot/geometry/polyline/BaseLine.js +1 -1
  38. package/plot/geometry/polyline/Polyline.js +1 -1
  39. package/style/PointStyleFormat.js +1 -1
  40. package/style/PolygonStyleFormat.js +1 -1
  41. package/style/PolylineStyleFormat.js +1 -1
  42. package/style/StyleManager.js +1 -1
  43. package/style/common.js +1 -1
  44. package/utils/ArrayUtil.js +1 -1
  45. package/utils/AxiosUtil.js +1 -1
  46. package/utils/EsriUtil.js +1 -1
  47. package/utils/GeometryUtil.js +1 -1
  48. package/utils/LayerUtil.js +1 -1
  49. package/utils/RegisterProjUtil.js +1 -1
  50. package/utils/ResolutionUtil.js +1 -1
  51. package/utils/StringUtil.js +1 -1
  52. package/utils/StyleUtil.js +1 -1
  53. package/utils/UrlUtil.js +1 -1
  54. package/utils/XmlUtil.js +1 -1
  55. package/utils/format/CQL.js +1 -1
  56. package/utils/format/IsMatchCql.js +1 -1
  57. package/utils/plug/canvas/ImageCache.js +1 -1
  58. package/utils/plug/canvas/PinBuilder.js +1 -1
  59. package/utils/plug/canvas/PinIcon.js +1 -1
  60. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  61. package/utils/tasks/esri/Identify.js +1 -1
  62. package/utils/tasks/esri/Query.js +1 -1
  63. package/utils/tasks/esri/Task.js +1 -1
  64. package/utils/tasks/geoserver/QueryTask.js +1 -1
  65. package/utils/tasks/index.js +1 -1
  66. package/ym-gis-2d.es.js +1 -1
  67. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x5caad8,_0x52dcca){const _0x5c15f4=a65_0x5ddc,_0xe02921=_0x5caad8();while(!![]){try{const _0x1ab8d0=parseInt(_0x5c15f4(0x1b0))/0x1*(parseInt(_0x5c15f4(0x1cc))/0x2)+parseInt(_0x5c15f4(0x1ca))/0x3+-parseInt(_0x5c15f4(0x1d6))/0x4*(-parseInt(_0x5c15f4(0x1ae))/0x5)+parseInt(_0x5c15f4(0x1bd))/0x6*(-parseInt(_0x5c15f4(0x1da))/0x7)+parseInt(_0x5c15f4(0x1c3))/0x8+parseInt(_0x5c15f4(0x1df))/0x9*(parseInt(_0x5c15f4(0x1ad))/0xa)+parseInt(_0x5c15f4(0x1c0))/0xb*(-parseInt(_0x5c15f4(0x1d7))/0xc);if(_0x1ab8d0===_0x52dcca)break;else _0xe02921['push'](_0xe02921['shift']());}catch(_0x4fc574){_0xe02921['push'](_0xe02921['shift']());}}}(a65_0x29ac,0x258b6));function a65_0x5ddc(_0x1b3a5c,_0x2d9432){const _0x29ac60=a65_0x29ac();return a65_0x5ddc=function(_0x5ddcfd,_0x387871){_0x5ddcfd=_0x5ddcfd-0x1a9;let _0x58f146=_0x29ac60[_0x5ddcfd];return _0x58f146;},a65_0x5ddc(_0x1b3a5c,_0x2d9432);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';function a65_0x29ac(){const _0xfccf18=['getCoordinates','64872gJjzru','arrow','32UReGZE','atan2','outlineColor','billboard','strokeStyle','opacity','beginPath','context','butt','lineTo','723196gLYjNr','4440obmfHA','setRenderer','moveTo','1470413qiJDCS','save','dash','getFirstCoordinate','white','135CVEmAD','lineCap','stroke','length','setGeometry','64330DZCRps','5qkMRSh','lineWidth','2437MdbUqM','color','toString','zIndex','getType','concat','closed','getGeometry','pow','width','glow','label','glowPower','6taxHJi','outlineWidth','cos','2123TCBYzi','MultiLineString','sin','778728yQVbLT','show','lineType','push','restore','getFlatMidpoint'];a65_0x29ac=function(){return _0xfccf18;};return a65_0x29ac();}export function getPolylineStyle(_0x2319b3,_0xd665df,_0x547aed,_0x2d4a04){const _0x42fb92=a65_0x5ddc;var _0x3d0673,_0x1ffaee,_0x220cf6;let _0x50cc1a=(_0x3d0673=_0x2319b3[_0x42fb92(0x1b3)])!==null&&_0x3d0673!==void 0x0?_0x3d0673:0x0;const _0x3de784=_0xa4bf8=>{const _0x32ef34=_0x42fb92;var _0x2c4295=_0xa4bf8[_0x32ef34(0x1b7)]();if(_0x2c4295)return _getRealPolyline(_0x2c4295,_0x2319b3);return _0x2c4295;},_0x49afd8=_0x1113f4=>{const _0x3b30a2=_0x42fb92;var _0x46e25a=_0x1113f4['getGeometry']();let _0x326c7f=_0x46e25a;_0x46e25a&&(_0x326c7f=_getRealPolyline(_0x46e25a,_0x2319b3));if(_0x326c7f&&_0x326c7f[_0x3b30a2(0x1b4)]()==='LineString')return new Point(_0x326c7f[_0x3b30a2(0x1c8)]());else{let _0x4c3b5d=_0x326c7f['getFlatMidpoints'](),_0x391f97=0x2,_0x576f3e=[];for(let _0x5f3e65=0x0,_0x1c5bd3=_0x4c3b5d['length'];_0x5f3e65<_0x1c5bd3;_0x5f3e65+=_0x391f97){let _0x5471cc=[_0x4c3b5d[_0x5f3e65],_0x4c3b5d[_0x5f3e65+0x1]];_0x576f3e[_0x3b30a2(0x1c6)](_0x5471cc);}return new MultiPoint(_0x576f3e);}};let _0x226a72=new Style({'geometry':_0x3de784,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1b1)],_0x2319b3['opacity']),'width':_0x2319b3['width']}),'zIndex':_0x50cc1a}),_0xbaecf3=[_0x226a72];if(_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1dc)){let _0x5e030f=_0x2319b3[_0x42fb92(0x1be)]/0x2,_0x10f8a9=new Style({'geometry':_0x3de784,'zIndex':_0x50cc1a,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1b1)],_0x2319b3[_0x42fb92(0x1d1)]),'width':_0x2319b3[_0x42fb92(0x1b9)],'lineCap':_0x42fb92(0x1d4),'lineDash':[_0x5e030f,_0x5e030f]})}),_0x39891d=new Style({'geometry':_0x3de784,'zIndex':_0x50cc1a+0.5,'stroke':new Stroke({'color':getColor(_0x2319b3[_0x42fb92(0x1ce)],Number((_0x220cf6=(_0x1ffaee=_0x2319b3['outlineOpacity'])!==null&&_0x1ffaee!==void 0x0?_0x1ffaee:_0x2319b3[_0x42fb92(0x1d1)])!==null&&_0x220cf6!==void 0x0?_0x220cf6:0x1)),'width':_0x2319b3[_0x42fb92(0x1b9)],'lineCap':_0x42fb92(0x1d4),'lineDash':[_0x5e030f,_0x5e030f],'lineDashOffset':_0x5e030f})});_0xbaecf3=[_0x10f8a9,_0x39891d];}_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1cb)&&_0x226a72[_0x42fb92(0x1d8)]((_0x5b5df1,_0x1b3489)=>{const _0x703b76=_0x42fb92;let _0x4bf1f9=_0x1b3489[_0x703b76(0x1d3)],_0x17da27=parseInt((_0x2319b3[_0x703b76(0x1b9)]/0x4)[_0x703b76(0x1b2)]()),_0x2588e4=0xa,_0x4ec072=Math['sqrt'](Math[_0x703b76(0x1b8)](_0x2588e4,0x2)+Math[_0x703b76(0x1b8)](_0x2319b3[_0x703b76(0x1b9)]/0x2,0x2)),_0x42cde4=0x2d,_0x2738dc=_0x5b5df1[_0x5b5df1['length']-0x2][0x0],_0x567768=_0x5b5df1[_0x5b5df1['length']-0x2][0x1],_0x166b28=_0x5b5df1[_0x5b5df1[_0x703b76(0x1ab)]-0x1][0x0],_0x41b405=_0x5b5df1[_0x5b5df1[_0x703b76(0x1ab)]-0x1][0x1],_0x304c3d=Math[_0x703b76(0x1cd)](_0x567768-_0x41b405,_0x2738dc-_0x166b28)*0xb4/Math['PI'],_0xd10ddd=(_0x304c3d+_0x42cde4)*Math['PI']/0xb4,_0x539fc0=(_0x304c3d-_0x42cde4)*Math['PI']/0xb4,_0x54e679=_0x4ec072*Math[_0x703b76(0x1bf)](_0xd10ddd),_0x10dca8=_0x4ec072*Math[_0x703b76(0x1c2)](_0xd10ddd),_0x3c29bc=_0x4ec072*Math['cos'](_0x539fc0),_0x4e2493=_0x4ec072*Math['sin'](_0x539fc0);_0x4bf1f9['save'](),_0x4bf1f9[_0x703b76(0x1d2)]();let _0x459f44,_0x331c77;for(let _0x226750=0x0;_0x226750<_0x5b5df1[_0x703b76(0x1ab)];_0x226750++){_0x226750===0x0?_0x4bf1f9[_0x703b76(0x1d9)](_0x5b5df1[_0x226750][0x0],_0x5b5df1[_0x226750][0x1]):_0x4bf1f9[_0x703b76(0x1d5)](_0x5b5df1[_0x226750][0x0],_0x5b5df1[_0x226750][0x1]);}_0x4bf1f9[_0x703b76(0x1d0)]=getColor(_0x2319b3['color'],_0x2319b3[_0x703b76(0x1d1)]),_0x4bf1f9['lineWidth']=_0x17da27,_0x4bf1f9[_0x703b76(0x1a9)]=_0x703b76(0x1d4),_0x4bf1f9[_0x703b76(0x1aa)](),_0x459f44=_0x166b28+_0x54e679,_0x331c77=_0x41b405+_0x10dca8,_0x4bf1f9['moveTo'](_0x459f44,_0x331c77),_0x4bf1f9['lineTo'](_0x166b28,_0x41b405),_0x459f44=_0x166b28+_0x3c29bc,_0x331c77=_0x41b405+_0x4e2493,_0x4bf1f9[_0x703b76(0x1d5)](_0x459f44,_0x331c77),_0x4bf1f9[_0x703b76(0x1a9)]='butt',_0x4bf1f9[_0x703b76(0x1aa)](),_0x4bf1f9[_0x703b76(0x1c7)]();});_0x2319b3[_0x42fb92(0x1c5)]===_0x42fb92(0x1ba)&&_0x226a72[_0x42fb92(0x1d8)]((_0x4a435c,_0x19be32)=>{const _0x47a052=_0x42fb92;let _0x2dc43e=_0x19be32[_0x47a052(0x1d3)];_0x2dc43e[_0x47a052(0x1db)]();for(let _0x222940=0x0;_0x222940<0x4;_0x222940++){let _0x477447=_0x2319b3[_0x47a052(0x1b9)]/0xa*(_0x2319b3[_0x47a052(0x1bc)]===0x0?0x1:_0x2319b3[_0x47a052(0x1bc)]);_0x2dc43e['shadowColor']=getColor(_0x2319b3[_0x47a052(0x1b1)],_0x2319b3[_0x47a052(0x1d1)]),_0x2dc43e['shadowBlur']=_0x2319b3[_0x47a052(0x1b9)]/0x5*0x2,_0x2dc43e['beginPath']();for(let _0x3c9234=0x0;_0x3c9234<_0x4a435c['length'];_0x3c9234++){_0x3c9234===0x0?_0x2dc43e[_0x47a052(0x1d9)](_0x4a435c[_0x3c9234][0x0],_0x4a435c[_0x3c9234][0x1]):_0x2dc43e['lineTo'](_0x4a435c[_0x3c9234][0x0],_0x4a435c[_0x3c9234][0x1]);}_0x2dc43e[_0x47a052(0x1a9)]=_0x47a052(0x1d4),_0x2dc43e['lineWidth']=_0x477447,_0x2dc43e[_0x47a052(0x1d0)]=getColor(_0x47a052(0x1de),_0x2319b3[_0x47a052(0x1d1)]),_0x2dc43e[_0x47a052(0x1aa)]();}_0x2dc43e['restore']();});_0x2319b3[_0x42fb92(0x1c5)]==='outline'&&_0x226a72[_0x42fb92(0x1d8)]((_0x2035a7,_0x21ea33)=>{const _0x57ba0c=_0x42fb92;let _0x4404e6=_0x21ea33[_0x57ba0c(0x1d3)];_0x4404e6[_0x57ba0c(0x1db)](),_0x4404e6[_0x57ba0c(0x1d2)]();for(let _0x94d171=0x0;_0x94d171<_0x2035a7[_0x57ba0c(0x1ab)];_0x94d171++){_0x94d171===0x0?_0x4404e6[_0x57ba0c(0x1d9)](_0x2035a7[_0x94d171][0x0],_0x2035a7[_0x94d171][0x1]):_0x4404e6['lineTo'](_0x2035a7[_0x94d171][0x0],_0x2035a7[_0x94d171][0x1]);}_0x4404e6['lineCap']=_0x57ba0c(0x1d4),_0x4404e6[_0x57ba0c(0x1af)]=_0x2319b3[_0x57ba0c(0x1b9)],_0x4404e6[_0x57ba0c(0x1d0)]=getColor(_0x2319b3[_0x57ba0c(0x1ce)],_0x2319b3[_0x57ba0c(0x1d1)]),_0x4404e6[_0x57ba0c(0x1aa)](),_0x4404e6[_0x57ba0c(0x1d2)]();for(let _0x270d33=0x0;_0x270d33<_0x2035a7[_0x57ba0c(0x1ab)];_0x270d33++){_0x270d33===0x0?_0x4404e6[_0x57ba0c(0x1d9)](_0x2035a7[_0x270d33][0x0],_0x2035a7[_0x270d33][0x1]):_0x4404e6[_0x57ba0c(0x1d5)](_0x2035a7[_0x270d33][0x0],_0x2035a7[_0x270d33][0x1]);}_0x4404e6[_0x57ba0c(0x1a9)]=_0x57ba0c(0x1d4),_0x2319b3[_0x57ba0c(0x1be)]>=_0x2319b3['width']&&(_0x2319b3['outlineWidth']=_0x2319b3[_0x57ba0c(0x1b9)]-0x1),_0x4404e6[_0x57ba0c(0x1af)]=_0x2319b3[_0x57ba0c(0x1b9)]-_0x2319b3['outlineWidth'],_0x4404e6[_0x57ba0c(0x1d0)]=getColor(_0x2319b3['color'],_0x2319b3[_0x57ba0c(0x1d1)]),_0x4404e6[_0x57ba0c(0x1aa)](),_0x4404e6[_0x57ba0c(0x1c7)]();});let _0x217cdd=getImageOlStyle(_0x2319b3[_0x42fb92(0x1cf)],_0x50cc1a,_0x547aed,_0x2d4a04);_0x217cdd&&(_0x217cdd[_0x42fb92(0x1ac)](_0x49afd8),_0xbaecf3[_0x42fb92(0x1c6)](_0x217cdd));if(_0x2319b3[_0x42fb92(0x1bb)]&&_0x2319b3['label'][_0x42fb92(0x1c4)]!==![]){let _0x15d796=new Style({'geometry':_0x49afd8,'text':createTextStyle(_0x2319b3[_0x42fb92(0x1bb)],_0xd665df,_0x547aed,_0x2d4a04),'zIndex':Number(_0x50cc1a)+0x1});_0xbaecf3[_0x42fb92(0x1c6)](_0x15d796);}return _0xbaecf3;}function _getRealPolyline(_0x7299b9,_0x7cfd44){const _0xe6b0f9=a65_0x5ddc;if(!(_0x7cfd44===null||_0x7cfd44===void 0x0?void 0x0:_0x7cfd44[_0xe6b0f9(0x1b6)]))return _0x7299b9;else{if(_0x7299b9['getType']()===_0xe6b0f9(0x1c1)){let _0x3df2f4=_0x7299b9[_0xe6b0f9(0x1c9)]();for(let _0x2f7043 in _0x3df2f4){let _0x4e0e21=_0x3df2f4[_0x2f7043];_0x3df2f4[_0x2f7043]=_0x4e0e21[_0xe6b0f9(0x1b5)]([_0x4e0e21[0x0]]);}return new MultiLineString(_0x3df2f4);}else return new LineString(_0x7299b9[_0xe6b0f9(0x1c9)]()['concat']([_0x7299b9[_0xe6b0f9(0x1dd)]()]));}}
1
+ (function(_0x1b7af6,_0x1ed0cf){const _0x3783f7=a65_0xd48d,_0x58a5e3=_0x1b7af6();while(!![]){try{const _0x1be4a2=-parseInt(_0x3783f7(0x102))/0x1+parseInt(_0x3783f7(0x103))/0x2*(parseInt(_0x3783f7(0xfb))/0x3)+-parseInt(_0x3783f7(0xe3))/0x4+-parseInt(_0x3783f7(0xe9))/0x5*(-parseInt(_0x3783f7(0x104))/0x6)+-parseInt(_0x3783f7(0xfa))/0x7+-parseInt(_0x3783f7(0xdf))/0x8+parseInt(_0x3783f7(0xdb))/0x9*(parseInt(_0x3783f7(0xe4))/0xa);if(_0x1be4a2===_0x1ed0cf)break;else _0x58a5e3['push'](_0x58a5e3['shift']());}catch(_0x34f6f3){_0x58a5e3['push'](_0x58a5e3['shift']());}}}(a65_0x1854,0x403c7));function a65_0xd48d(_0x32efac,_0x413969){const _0x18540c=a65_0x1854();return a65_0xd48d=function(_0xd48db0,_0x667d64){_0xd48db0=_0xd48db0-0xd6;let _0x32a992=_0x18540c[_0xd48db0];return _0x32a992;},a65_0xd48d(_0x32efac,_0x413969);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';function a65_0x1854(){const _0x58b8fb=['opacity','setRenderer','dash','sin','push','strokeStyle','length','getGeometry','context','glow','color','6660QrxaUt','zIndex','glowPower','stroke','4027712BxZsoD','sqrt','shadowColor','beginPath','1892764wsnagI','17130NDBtib','lineWidth','MultiLineString','getFlatMidpoints','label','2975uOEXZq','outline','moveTo','getCoordinates','concat','arrow','save','width','pow','outlineColor','shadowBlur','lineCap','closed','restore','getFlatMidpoint','lineType','toString','2268511EHBpgo','2913WSFWtW','white','getType','setGeometry','lineTo','butt','cos','265301zHkyLv','860HaMUcY','1452rwMWYJ','LineString','billboard','outlineWidth'];a65_0x1854=function(){return _0x58b8fb;};return a65_0x1854();}import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x4faeba,_0x1d9dc5,_0x3feccf,_0x1add34){const _0x1d5a24=a65_0xd48d;var _0x39f171,_0x1ece1c,_0x44efc4;let _0x77dd4=(_0x39f171=_0x4faeba[_0x1d5a24(0xdc)])!==null&&_0x39f171!==void 0x0?_0x39f171:0x0;const _0x2ebd65=_0x1d8225=>{var _0x14178c=_0x1d8225['getGeometry']();if(_0x14178c)return _getRealPolyline(_0x14178c,_0x4faeba);return _0x14178c;},_0xe53a0c=_0x4baf77=>{const _0x3a9f17=_0x1d5a24;var _0x1da252=_0x4baf77[_0x3a9f17(0xd7)]();let _0x2cde93=_0x1da252;_0x1da252&&(_0x2cde93=_getRealPolyline(_0x1da252,_0x4faeba));if(_0x2cde93&&_0x2cde93[_0x3a9f17(0xfd)]()===_0x3a9f17(0x105))return new Point(_0x2cde93[_0x3a9f17(0xf7)]());else{let _0x2f640d=_0x2cde93[_0x3a9f17(0xe7)](),_0x5cfc20=0x2,_0x2c2e7a=[];for(let _0x2b1db3=0x0,_0xe5ec25=_0x2f640d[_0x3a9f17(0xd6)];_0x2b1db3<_0xe5ec25;_0x2b1db3+=_0x5cfc20){let _0x32b3b8=[_0x2f640d[_0x2b1db3],_0x2f640d[_0x2b1db3+0x1]];_0x2c2e7a['push'](_0x32b3b8);}return new MultiPoint(_0x2c2e7a);}};let _0x468007=new Style({'geometry':_0x2ebd65,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xda)],_0x4faeba[_0x1d5a24(0x108)]),'width':_0x4faeba[_0x1d5a24(0xf0)]}),'zIndex':_0x77dd4}),_0x9e58ad=[_0x468007];if(_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0x10a)){let _0x16dc1d=_0x4faeba[_0x1d5a24(0x107)]/0x2,_0x4d0f3e=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4,'stroke':new Stroke({'color':getColor(_0x4faeba['color'],_0x4faeba['opacity']),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d]})}),_0x1afe1a=new Style({'geometry':_0x2ebd65,'zIndex':_0x77dd4+0.5,'stroke':new Stroke({'color':getColor(_0x4faeba[_0x1d5a24(0xf2)],Number((_0x44efc4=(_0x1ece1c=_0x4faeba['outlineOpacity'])!==null&&_0x1ece1c!==void 0x0?_0x1ece1c:_0x4faeba[_0x1d5a24(0x108)])!==null&&_0x44efc4!==void 0x0?_0x44efc4:0x1)),'width':_0x4faeba[_0x1d5a24(0xf0)],'lineCap':_0x1d5a24(0x100),'lineDash':[_0x16dc1d,_0x16dc1d],'lineDashOffset':_0x16dc1d})});_0x9e58ad=[_0x4d0f3e,_0x1afe1a];}_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xee)&&_0x468007[_0x1d5a24(0x109)]((_0x4b6749,_0x3aeccd)=>{const _0x53d019=_0x1d5a24;let _0x142aa7=_0x3aeccd['context'],_0x3a0ca1=parseInt((_0x4faeba[_0x53d019(0xf0)]/0x4)[_0x53d019(0xf9)]()),_0x9d505e=0xa,_0x5bb4fe=Math[_0x53d019(0xe0)](Math[_0x53d019(0xf1)](_0x9d505e,0x2)+Math[_0x53d019(0xf1)](_0x4faeba['width']/0x2,0x2)),_0x2a1b15=0x2d,_0x3b6f65=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x0],_0x42fece=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x2][0x1],_0x246224=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x0],_0x38dbe3=_0x4b6749[_0x4b6749[_0x53d019(0xd6)]-0x1][0x1],_0x5339b=Math['atan2'](_0x42fece-_0x38dbe3,_0x3b6f65-_0x246224)*0xb4/Math['PI'],_0x5ac870=(_0x5339b+_0x2a1b15)*Math['PI']/0xb4,_0x2540c3=(_0x5339b-_0x2a1b15)*Math['PI']/0xb4,_0x4af88a=_0x5bb4fe*Math['cos'](_0x5ac870),_0x4fd70f=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x5ac870),_0x59c7d1=_0x5bb4fe*Math[_0x53d019(0x101)](_0x2540c3),_0x4f7abd=_0x5bb4fe*Math[_0x53d019(0x10b)](_0x2540c3);_0x142aa7[_0x53d019(0xef)](),_0x142aa7[_0x53d019(0xe2)]();let _0x3eb326,_0x226f39;for(let _0x5eb4a2=0x0;_0x5eb4a2<_0x4b6749[_0x53d019(0xd6)];_0x5eb4a2++){_0x5eb4a2===0x0?_0x142aa7['moveTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]):_0x142aa7['lineTo'](_0x4b6749[_0x5eb4a2][0x0],_0x4b6749[_0x5eb4a2][0x1]);}_0x142aa7[_0x53d019(0x10d)]=getColor(_0x4faeba[_0x53d019(0xda)],_0x4faeba[_0x53d019(0x108)]),_0x142aa7['lineWidth']=_0x3a0ca1,_0x142aa7[_0x53d019(0xf4)]=_0x53d019(0x100),_0x142aa7[_0x53d019(0xde)](),_0x3eb326=_0x246224+_0x4af88a,_0x226f39=_0x38dbe3+_0x4fd70f,_0x142aa7[_0x53d019(0xeb)](_0x3eb326,_0x226f39),_0x142aa7[_0x53d019(0xff)](_0x246224,_0x38dbe3),_0x3eb326=_0x246224+_0x59c7d1,_0x226f39=_0x38dbe3+_0x4f7abd,_0x142aa7[_0x53d019(0xff)](_0x3eb326,_0x226f39),_0x142aa7['lineCap']=_0x53d019(0x100),_0x142aa7['stroke'](),_0x142aa7['restore']();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xd9)&&_0x468007['setRenderer']((_0xee561f,_0x5800cc)=>{const _0x6ae5e4=_0x1d5a24;let _0x3c3ba8=_0x5800cc[_0x6ae5e4(0xd8)];_0x3c3ba8['save']();for(let _0x23dda8=0x0;_0x23dda8<0x4;_0x23dda8++){let _0x10370d=_0x4faeba[_0x6ae5e4(0xf0)]/0xa*(_0x4faeba[_0x6ae5e4(0xdd)]===0x0?0x1:_0x4faeba[_0x6ae5e4(0xdd)]);_0x3c3ba8[_0x6ae5e4(0xe1)]=getColor(_0x4faeba['color'],_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8[_0x6ae5e4(0xf3)]=_0x4faeba['width']/0x5*0x2,_0x3c3ba8[_0x6ae5e4(0xe2)]();for(let _0x551eef=0x0;_0x551eef<_0xee561f[_0x6ae5e4(0xd6)];_0x551eef++){_0x551eef===0x0?_0x3c3ba8[_0x6ae5e4(0xeb)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]):_0x3c3ba8[_0x6ae5e4(0xff)](_0xee561f[_0x551eef][0x0],_0xee561f[_0x551eef][0x1]);}_0x3c3ba8['lineCap']=_0x6ae5e4(0x100),_0x3c3ba8[_0x6ae5e4(0xe5)]=_0x10370d,_0x3c3ba8[_0x6ae5e4(0x10d)]=getColor(_0x6ae5e4(0xfc),_0x4faeba[_0x6ae5e4(0x108)]),_0x3c3ba8['stroke']();}_0x3c3ba8[_0x6ae5e4(0xf6)]();});_0x4faeba[_0x1d5a24(0xf8)]===_0x1d5a24(0xea)&&_0x468007[_0x1d5a24(0x109)]((_0x4c93d4,_0x2654de)=>{const _0x5eeb87=_0x1d5a24;let _0xaff386=_0x2654de[_0x5eeb87(0xd8)];_0xaff386['save'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x41290d=0x0;_0x41290d<_0x4c93d4[_0x5eeb87(0xd6)];_0x41290d++){_0x41290d===0x0?_0xaff386[_0x5eeb87(0xeb)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x41290d][0x0],_0x4c93d4[_0x41290d][0x1]);}_0xaff386[_0x5eeb87(0xf4)]='butt',_0xaff386['lineWidth']=_0x4faeba[_0x5eeb87(0xf0)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba[_0x5eeb87(0xf2)],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386['stroke'](),_0xaff386[_0x5eeb87(0xe2)]();for(let _0x5ac459=0x0;_0x5ac459<_0x4c93d4[_0x5eeb87(0xd6)];_0x5ac459++){_0x5ac459===0x0?_0xaff386['moveTo'](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]):_0xaff386[_0x5eeb87(0xff)](_0x4c93d4[_0x5ac459][0x0],_0x4c93d4[_0x5ac459][0x1]);}_0xaff386[_0x5eeb87(0xf4)]=_0x5eeb87(0x100),_0x4faeba[_0x5eeb87(0x107)]>=_0x4faeba[_0x5eeb87(0xf0)]&&(_0x4faeba[_0x5eeb87(0x107)]=_0x4faeba[_0x5eeb87(0xf0)]-0x1),_0xaff386[_0x5eeb87(0xe5)]=_0x4faeba[_0x5eeb87(0xf0)]-_0x4faeba[_0x5eeb87(0x107)],_0xaff386[_0x5eeb87(0x10d)]=getColor(_0x4faeba['color'],_0x4faeba[_0x5eeb87(0x108)]),_0xaff386[_0x5eeb87(0xde)](),_0xaff386[_0x5eeb87(0xf6)]();});let _0x26a6cc=getImageOlStyle(_0x4faeba[_0x1d5a24(0x106)],_0x77dd4,_0x3feccf,_0x1add34);_0x26a6cc&&(_0x26a6cc[_0x1d5a24(0xfe)](_0xe53a0c),_0x9e58ad[_0x1d5a24(0x10c)](_0x26a6cc));if(_0x4faeba[_0x1d5a24(0xe8)]&&_0x4faeba[_0x1d5a24(0xe8)]['show']!==![]){let _0x12e6d0=new Style({'geometry':_0xe53a0c,'text':createTextStyle(_0x4faeba[_0x1d5a24(0xe8)],_0x1d9dc5,_0x3feccf,_0x1add34),'zIndex':Number(_0x77dd4)+0x1});_0x9e58ad['push'](_0x12e6d0);}return _0x9e58ad;}function _getRealPolyline(_0x12f8db,_0x23f17d){const _0x42b20b=a65_0xd48d;if(!(_0x23f17d===null||_0x23f17d===void 0x0?void 0x0:_0x23f17d[_0x42b20b(0xf5)]))return _0x12f8db;else{if(_0x12f8db['getType']()===_0x42b20b(0xe6)){let _0x54dd3c=_0x12f8db[_0x42b20b(0xec)]();for(let _0x288cdd in _0x54dd3c){let _0x1b0e54=_0x54dd3c[_0x288cdd];_0x54dd3c[_0x288cdd]=_0x1b0e54[_0x42b20b(0xed)]([_0x1b0e54[0x0]]);}return new MultiLineString(_0x54dd3c);}else return new LineString(_0x12f8db[_0x42b20b(0xec)]()[_0x42b20b(0xed)]([_0x12f8db['getFirstCoordinate']()]));}}
@@ -1 +1 @@
1
- (function(_0x33f1de,_0x9f9336){const _0xefdd5f=a66_0x4702,_0x4e2f6f=_0x33f1de();while(!![]){try{const _0x189658=parseInt(_0xefdd5f(0xec))/0x1*(parseInt(_0xefdd5f(0xfc))/0x2)+parseInt(_0xefdd5f(0xef))/0x3*(parseInt(_0xefdd5f(0xee))/0x4)+parseInt(_0xefdd5f(0xe5))/0x5*(-parseInt(_0xefdd5f(0xe6))/0x6)+parseInt(_0xefdd5f(0xe2))/0x7*(parseInt(_0xefdd5f(0xf1))/0x8)+parseInt(_0xefdd5f(0xe3))/0x9*(parseInt(_0xefdd5f(0xfb))/0xa)+parseInt(_0xefdd5f(0xfe))/0xb*(-parseInt(_0xefdd5f(0xfd))/0xc)+parseInt(_0xefdd5f(0xe8))/0xd*(-parseInt(_0xefdd5f(0xf6))/0xe);if(_0x189658===_0x9f9336)break;else _0x4e2f6f['push'](_0x4e2f6f['shift']());}catch(_0x425633){_0x4e2f6f['push'](_0x4e2f6f['shift']());}}}(a66_0xd670,0x40701));import a66_0x5b0121 from'ol/style/Circle';import a66_0x3be0c3 from'ol/style/Fill';import a66_0x387b6c from'ol/style/Stroke';import a66_0x2372c8 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x1c752d=a66_0x4702;return new a66_0x2372c8({'image':new a66_0x5b0121({'radius':0x5,'fill':new a66_0x3be0c3({'color':_0x1c752d(0xe4)}),'stroke':new a66_0x387b6c({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0xcaeccf=a66_0x4702;return new a66_0x2372c8({'image':new a66_0x5b0121({'radius':0x5,'fill':new a66_0x3be0c3({'color':_0xcaeccf(0xf0)}),'stroke':new a66_0x387b6c({'color':_0xcaeccf(0xe4),'width':0x1})})});}export function getSelectLineStyle(){const _0x74b647=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x74b647(0xe4),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x5e83f8=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x5e83f8(0xf7),'width':0x2})});}export function getSelectPolygonStyle(){const _0x9d8896=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x9d8896(0xe4),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x9d8896(0xf2)})});}export function getSelectCancelPolygonStyle(){const _0x33523a=a66_0x4702;return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x33523a(0xf7),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x33523a(0xf9)})});}function a66_0x4702(_0x28f260,_0x1f8aaa){const _0xd6702f=a66_0xd670();return a66_0x4702=function(_0x470223,_0x8eca1a){_0x470223=_0x470223-0xe2;let _0x58b2eb=_0xd6702f[_0x470223];return _0x58b2eb;},a66_0x4702(_0x28f260,_0x1f8aaa);}export function getStyle(_0x3a36c8){const _0x612fa2=a66_0x4702;if(_0x3a36c8){if(_0x3a36c8[_0x612fa2(0xeb)])return new a66_0x2372c8({'text':createTextStyle(_0x3a36c8,_0x3a36c8[_0x612fa2(0xeb)]),'zIndex':0x1});else{const _0x148573=new a66_0x2372c8();return _0x3a36c8[_0x612fa2(0xea)]&&_0x148573['setStroke'](new a66_0x387b6c({'color':getColor(_0x3a36c8[_0x612fa2(0xea)],_0x3a36c8['outlineOpacity']),'width':_0x3a36c8[_0x612fa2(0xed)]||0x1})),_0x3a36c8[_0x612fa2(0xf4)]&&_0x148573['setFill'](new a66_0x3be0c3({'color':getColor(_0x3a36c8['fill'],_0x3a36c8['opacity'])})),_0x148573;}}return new a66_0x2372c8({'stroke':new a66_0x387b6c({'color':_0x612fa2(0xe4),'width':0x2}),'fill':new a66_0x3be0c3({'color':_0x612fa2(0xf2)})});}export function getSelectStyle(_0xfebf1){const _0xd93c49=a66_0x4702;let _0x23606e=getSelectPolygonStyle();switch(_0xfebf1){case _0xd93c49(0xe9):case _0xd93c49(0xf5):_0x23606e=getSelectPolygonStyle();break;case _0xd93c49(0xf3):case _0xd93c49(0xf8):_0x23606e=getSelectLineStyle();break;case _0xd93c49(0xfa):case _0xd93c49(0xe7):_0x23606e=getSelectPointStyle();break;default:break;}return _0x23606e;}function a66_0xd670(){const _0x2e9c1e=['MultiLineString','color','Polygon','14NhTArD','rgba(0,\x20255,0,\x201)','LineString','rgba(0,\x20255,0,\x200)','MultiPoint','96970EvYXiN','8TVqZXF','296616qeHRWM','22wqTNYg','3808MDfScr','243yAODHZ','rgba(121,\x20243,\x20238,\x201)','632585WEibWn','24yWMjDM','Point','5388994Nffyfg','MultiPolygon','outlineColor','text','80039YZGubx','outlineWidth','18184dhcuvt','198DZcqmD','rgba(121,\x20243,\x20238,\x200)','5176GhHCSP','rgba(121,\x20243,\x20238,\x200.3)'];a66_0xd670=function(){return _0x2e9c1e;};return a66_0xd670();}
1
+ (function(_0x1c9506,_0x2fbb6c){const _0x118e44=a66_0x498d,_0x655ae1=_0x1c9506();while(!![]){try{const _0x2852a1=-parseInt(_0x118e44(0x13b))/0x1*(-parseInt(_0x118e44(0x136))/0x2)+-parseInt(_0x118e44(0x138))/0x3+parseInt(_0x118e44(0x146))/0x4+-parseInt(_0x118e44(0x14c))/0x5+-parseInt(_0x118e44(0x149))/0x6+parseInt(_0x118e44(0x13c))/0x7+-parseInt(_0x118e44(0x140))/0x8*(-parseInt(_0x118e44(0x14a))/0x9);if(_0x2852a1===_0x2fbb6c)break;else _0x655ae1['push'](_0x655ae1['shift']());}catch(_0x1b6859){_0x655ae1['push'](_0x655ae1['shift']());}}}(a66_0x5bc3,0xead83));import a66_0x783332 from'ol/style/Circle';import a66_0x7cbc50 from'ol/style/Fill';function a66_0x498d(_0x431588,_0x201c18){const _0x5bc351=a66_0x5bc3();return a66_0x498d=function(_0x498dd7,_0x620ea5){_0x498dd7=_0x498dd7-0x136;let _0x277d90=_0x5bc351[_0x498dd7];return _0x277d90;},a66_0x498d(_0x431588,_0x201c18);}import a66_0x473ba1 from'ol/style/Stroke';function a66_0x5bc3(){const _0x21167f=['LineString','4604952Rifyuh','rgba(121,\x20243,\x20238,\x201)','text','6228738KCxJrc','6411789FVXvBL','rgba(121,\x20243,\x20238,\x200.3)','8339195yTHxbT','Polygon','1112xqhJOt','setFill','5298846ZrLsWx','rgba(0,\x20255,0,\x200)','MultiPoint','3259UeTrnq','2335634Myzohv','MultiPolygon','outlineOpacity','rgba(0,\x20255,0,\x201)','24ooeNhx','opacity','rgba(121,\x20243,\x20238,\x200)','outlineColor','setStroke'];a66_0x5bc3=function(){return _0x21167f;};return a66_0x5bc3();}import a66_0x1d6f9d from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x56d84c=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a66_0x473ba1({'color':_0x56d84c(0x147),'width':0x1})})});}export function getSelectCancePointStyle(){const _0x9d8fc5=a66_0x498d;return new a66_0x1d6f9d({'image':new a66_0x783332({'radius':0x5,'fill':new a66_0x7cbc50({'color':_0x9d8fc5(0x142)}),'stroke':new a66_0x473ba1({'color':_0x9d8fc5(0x147),'width':0x1})})});}export function getSelectLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}export function getSelectCancelLineStyle(){return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x55e38a=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x55e38a(0x147),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x55e38a(0x14b)})});}export function getSelectCancelPolygonStyle(){const _0x3fd5f7=a66_0x498d;return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':_0x3fd5f7(0x13f),'width':0x2}),'fill':new a66_0x7cbc50({'color':_0x3fd5f7(0x139)})});}export function getStyle(_0x423151){const _0x455912=a66_0x498d;if(_0x423151){if(_0x423151[_0x455912(0x148)])return new a66_0x1d6f9d({'text':createTextStyle(_0x423151,_0x423151[_0x455912(0x148)]),'zIndex':0x1});else{const _0x3c95e7=new a66_0x1d6f9d();return _0x423151[_0x455912(0x143)]&&_0x3c95e7[_0x455912(0x144)](new a66_0x473ba1({'color':getColor(_0x423151[_0x455912(0x143)],_0x423151[_0x455912(0x13e)]),'width':_0x423151['outlineWidth']||0x1})),_0x423151['color']&&_0x3c95e7[_0x455912(0x137)](new a66_0x7cbc50({'color':getColor(_0x423151['fill'],_0x423151[_0x455912(0x141)])})),_0x3c95e7;}}return new a66_0x1d6f9d({'stroke':new a66_0x473ba1({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a66_0x7cbc50({'color':_0x455912(0x14b)})});}export function getSelectStyle(_0x3fba2e){const _0x114eef=a66_0x498d;let _0x563832=getSelectPolygonStyle();switch(_0x3fba2e){case _0x114eef(0x13d):case _0x114eef(0x14d):_0x563832=getSelectPolygonStyle();break;case'MultiLineString':case _0x114eef(0x145):_0x563832=getSelectLineStyle();break;case _0x114eef(0x13a):case'Point':_0x563832=getSelectPointStyle();break;default:break;}return _0x563832;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x283279,_0x2fa1f2){const _0x6cb072=a62_0xccd2,_0x2ac8b5=_0x283279();while(!![]){try{const _0x56b47d=-parseInt(_0x6cb072(0xa9))/0x1*(-parseInt(_0x6cb072(0x9f))/0x2)+-parseInt(_0x6cb072(0xa4))/0x3+-parseInt(_0x6cb072(0x8d))/0x4*(parseInt(_0x6cb072(0xb5))/0x5)+-parseInt(_0x6cb072(0x8f))/0x6+parseInt(_0x6cb072(0xb4))/0x7+-parseInt(_0x6cb072(0x9e))/0x8*(-parseInt(_0x6cb072(0x92))/0x9)+parseInt(_0x6cb072(0x8b))/0xa;if(_0x56b47d===_0x2fa1f2)break;else _0x2ac8b5['push'](_0x2ac8b5['shift']());}catch(_0x58aa1c){_0x2ac8b5['push'](_0x2ac8b5['shift']());}}}(a62_0x2138,0xed745));function a62_0x2138(){const _0x2fd458=['hexa','markerColor','size','px\x20','\x20normal\x20','italic','family','outlineColor','312LiayGX','150550lTcOxC','getImageState','border_color','listenImageChange','textBaseline','3716061pzxZsq','fill','load','opacity','font','5yIkFJz','border_width','distanceDisplayFar','getImage','getView','middle','bold','color','ERROR','LOADED','pow','11982124iDRizB','1030DVuhgZ','outlineWidth','target','4325550vsFLMz','outline','1272TACimO','distanceDisplayNear','5047770NaRuKg','center','textAlign','137871lzYPSF','normal','weight','alpha'];a62_0x2138=function(){return _0x2fd458;};return a62_0x2138();}import a62_0x556d61 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0xeab4e8 from'../utils/plug/canvas/PinIcon';import a62_0x308659 from'ol/ImageState';export function isShowStyle(_0x33d006,_0x3b8535,_0x96350e){const _0x35cdaa=a62_0xccd2;let _0x10f06e=!![];if(_0x3b8535==undefined||_0x96350e==undefined)return _0x10f06e;if(_0x33d006&&typeof _0x33d006[_0x35cdaa(0xab)]!=undefined&&typeof _0x33d006['distanceDisplayNear']!=undefined){if(_0x33d006[_0x35cdaa(0xab)]&&_0x96350e){_0x10f06e=![];let _0x3328f4=getLevel(_0x33d006[_0x35cdaa(0xab)]),_0x70557f=_0x96350e[_0x35cdaa(0xad)]()['getResolutionForZoom'](_0x3328f4);_0x3b8535<_0x70557f&&(_0x10f06e=!![]);}if(_0x10f06e&&_0x33d006[_0x35cdaa(0x8e)]&&_0x96350e){_0x10f06e=![];let _0x48687a=getLevel(_0x33d006[_0x35cdaa(0x8e)]),_0x468a25=_0x96350e[_0x35cdaa(0xad)]()['getResolutionForZoom'](_0x48687a);_0x3b8535>_0x468a25&&(_0x10f06e=!![]);}}return _0x10f06e;}export function getLevel(_0x5847e3){const _0x532b30=a62_0xccd2,_0x270c69=3252.745,_0x379c68=0.0009198301,_0x5078e3=52977.61,_0x833e60=-3228.107;return _0x833e60+(_0x270c69-_0x833e60)/(0x1+Math[_0x532b30(0xb3)](_0x5847e3/_0x5078e3,_0x379c68));}export function toRadians(_0x3f40af){if(_0x3f40af)return-(_0x3f40af*Math['PI'])/0xb4;return 0x0;}function a62_0xccd2(_0x28a5fa,_0x54e6fa){const _0x213839=a62_0x2138();return a62_0xccd2=function(_0xccd297,_0x3b164d){_0xccd297=_0xccd297-0x8b;let _0x232c79=_0x213839[_0xccd297];return _0x232c79;},a62_0xccd2(_0x28a5fa,_0x54e6fa);}export function createTextStyle(_0x5f42e4,_0x1f7bb8,_0x209bc5,_0x42f6d7){const _0x66c27=a62_0xccd2;if(_0x5f42e4){let _0x38e323=isShowStyle(_0x5f42e4,_0x209bc5,_0x42f6d7);if(_0x38e323===![])return undefined;else{const _0x2edfbf=_0x5f42e4[_0x66c27(0xa8)],_0xfb7959=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x9b)])?_0x66c27(0x9b):_0x66c27(0x93),_0x466eaf=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x94)])?_0x66c27(0xaf):_0x66c27(0x93),_0x5dcda2=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x98)])||'25',_0x2e2013=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x9c)])||'楷体';let _0xe26ca=_0xfb7959+_0x66c27(0x9a)+_0x466eaf+'\x20'+_0x5dcda2+_0x66c27(0x99)+_0x2e2013,_0x4ef8a0=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf['offsetX'])||0x0,_0x29d771=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf['offsetY'])||0x0,_0x1cc6e4=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0xa3)])||_0x66c27(0xae),_0x2fcbdf=(_0x2edfbf===null||_0x2edfbf===void 0x0?void 0x0:_0x2edfbf[_0x66c27(0x91)])||_0x66c27(0x90);const _0x5f0324=_0x5f42e4[_0x66c27(0xa7)]||0x1;return new Text({'text':_0x1f7bb8,'font':_0xe26ca,'offsetX':_0x4ef8a0,'offsetY':_0x29d771,'textAlign':_0x2fcbdf,'textBaseline':_0x1cc6e4,'fill':new Fill({'color':getColor(_0x5f42e4[_0x66c27(0xb0)],_0x5f0324)}),'stroke':_getLabelStroke(_0x5f42e4),'backgroundFill':_0x5f42e4[_0x66c27(0xa5)]?new Fill({'color':getColor(_0x5f42e4[_0x66c27(0xa5)]||'#2A2A2A',_0x5f0324)}):undefined});}}else return undefined;}export function getColor(_0x37fa41,_0xd3f33a){const _0x2269ff=a62_0xccd2;return a62_0x556d61(_0x37fa41)[_0x2269ff(0x95)](_0xd3f33a!=undefined?_0xd3f33a:0x1)[_0x2269ff(0x96)]();}function _getLabelStroke(_0x418576){const _0x582949=a62_0xccd2;if(_0x418576['border'])return new Stroke({'color':getColor(_0x418576[_0x582949(0xa1)],_0x418576[_0x582949(0xa7)]),'width':_0x418576[_0x582949(0xaa)]});if(_0x418576[_0x582949(0x8c)])return new Stroke({'color':getColor(_0x418576[_0x582949(0x9d)],_0x418576['opacity']),'width':_0x418576[_0x582949(0xb6)]});}export function preLoadImageRenderFunction(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x2a5f7a){const _0x30a599=a62_0xccd2;let _0x49634f;_0x48b1e9[_0x30a599(0x97)]?_0x49634f=new a62_0xeab4e8(_0x48b1e9):_0x49634f=new Icon({'src':_0x48b1e9['image']});let _0x3795bb=_0x49634f[_0x30a599(0xa0)]();_0x3795bb===a62_0x308659[_0x30a599(0xb2)]||_0x3795bb===a62_0x308659[_0x30a599(0xb1)]?_0x2a5f7a(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x49634f['getImage'](0x60)):(_0x3795bb===a62_0x308659['IDLE']&&_0x49634f[_0x30a599(0xa6)](),_0x49634f[_0x30a599(0xa2)](_0x2a6f7e=>{const _0x3f621b=_0x30a599;_0x3795bb=_0x2a6f7e[_0x3f621b(0xb7)]['getImageState'](),(_0x3795bb===a62_0x308659[_0x3f621b(0xb2)]||_0x3795bb===a62_0x308659['ERROR'])&&_0x2a5f7a(_0x48b1e9,_0x4298a8,_0x100f04,_0x4d4c24,_0x49634f[_0x3f621b(0xac)](0x60));}));}
1
+ (function(_0x23bef6,_0x3e682e){const _0x563f2b=a62_0x19e8,_0x181856=_0x23bef6();while(!![]){try{const _0x455a36=parseInt(_0x563f2b(0x18d))/0x1+-parseInt(_0x563f2b(0x199))/0x2*(-parseInt(_0x563f2b(0x19c))/0x3)+-parseInt(_0x563f2b(0x18c))/0x4+parseInt(_0x563f2b(0x184))/0x5*(-parseInt(_0x563f2b(0x190))/0x6)+parseInt(_0x563f2b(0x196))/0x7+parseInt(_0x563f2b(0x1a9))/0x8+parseInt(_0x563f2b(0x181))/0x9*(-parseInt(_0x563f2b(0x185))/0xa);if(_0x455a36===_0x3e682e)break;else _0x181856['push'](_0x181856['shift']());}catch(_0x1e3b34){_0x181856['push'](_0x181856['shift']());}}}(a62_0x9039,0xd89b0));import a62_0x482612 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x3117e1 from'../utils/plug/canvas/PinIcon';import a62_0x59132f from'ol/ImageState';export function isShowStyle(_0x136d8d,_0x5d00d6,_0x2d6eae){const _0x4838e6=a62_0x19e8;let _0x462d9d=!![];if(_0x5d00d6==undefined||_0x2d6eae==undefined)return _0x462d9d;if(_0x136d8d&&typeof _0x136d8d[_0x4838e6(0x183)]!=undefined&&typeof _0x136d8d[_0x4838e6(0x1a8)]!=undefined){if(_0x136d8d['distanceDisplayFar']&&_0x2d6eae){_0x462d9d=![];let _0x457a7c=getLevel(_0x136d8d[_0x4838e6(0x183)]),_0x17f975=_0x2d6eae['getView']()['getResolutionForZoom'](_0x457a7c);_0x5d00d6<_0x17f975&&(_0x462d9d=!![]);}if(_0x462d9d&&_0x136d8d[_0x4838e6(0x1a8)]&&_0x2d6eae){_0x462d9d=![];let _0x150578=getLevel(_0x136d8d[_0x4838e6(0x1a8)]),_0x5e10e2=_0x2d6eae[_0x4838e6(0x1a4)]()[_0x4838e6(0x180)](_0x150578);_0x5d00d6>_0x5e10e2&&(_0x462d9d=!![]);}}return _0x462d9d;}export function getLevel(_0x350b18){const _0x2e71e0=a62_0x19e8,_0xf1c46a=3252.745,_0x179941=0.0009198301,_0x19fdd9=52977.61,_0x1f5fad=-3228.107;return _0x1f5fad+(_0xf1c46a-_0x1f5fad)/(0x1+Math[_0x2e71e0(0x186)](_0x350b18/_0x19fdd9,_0x179941));}export function toRadians(_0x515460){if(_0x515460)return-(_0x515460*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x1b3270,_0xd72b4b,_0x236f82,_0x372aa7){const _0x5f4d44=a62_0x19e8;if(_0x1b3270){let _0x1d8963=isShowStyle(_0x1b3270,_0x236f82,_0x372aa7);if(_0x1d8963===![])return undefined;else{const _0x1998b9=_0x1b3270['font'],_0x501e93=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x182)])?'italic':_0x5f4d44(0x19d),_0x426bc9=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9['weight'])?'bold':_0x5f4d44(0x19d),_0x56e5be=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x188)])||'25',_0x320222=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9['family'])||'楷体';let _0x2c9813=_0x501e93+_0x5f4d44(0x1a3)+_0x426bc9+'\x20'+_0x56e5be+_0x5f4d44(0x1aa)+_0x320222,_0x33fd00=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x198)])||0x0,_0x8fcdd4=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x1a5)])||0x0,_0x3c7da6=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x19a)])||_0x5f4d44(0x1a7),_0xa092f3=(_0x1998b9===null||_0x1998b9===void 0x0?void 0x0:_0x1998b9[_0x5f4d44(0x195)])||'center';const _0x3d99b4=_0x1b3270[_0x5f4d44(0x197)]||0x1;return new Text({'text':_0xd72b4b,'font':_0x2c9813,'offsetX':_0x33fd00,'offsetY':_0x8fcdd4,'textAlign':_0xa092f3,'textBaseline':_0x3c7da6,'fill':new Fill({'color':getColor(_0x1b3270[_0x5f4d44(0x18b)],_0x3d99b4)}),'stroke':_getLabelStroke(_0x1b3270),'backgroundFill':_0x1b3270[_0x5f4d44(0x1a2)]?new Fill({'color':getColor(_0x1b3270[_0x5f4d44(0x1a2)]||_0x5f4d44(0x18a),_0x3d99b4)}):undefined});}}else return undefined;}function a62_0x19e8(_0x27ccb8,_0xa04850){const _0x90392c=a62_0x9039();return a62_0x19e8=function(_0x19e873,_0x257884){_0x19e873=_0x19e873-0x180;let _0x2e91fa=_0x90392c[_0x19e873];return _0x2e91fa;},a62_0x19e8(_0x27ccb8,_0xa04850);}function a62_0x9039(){const _0x3eced1=['20818610jdsIEt','pow','markerColor','size','hexa','#2A2A2A','color','2825580YqTtYb','849463FQyjlE','outline','load','312oVPLxQ','border_color','outlineColor','border_width','LOADED','textAlign','12092409xibHmA','opacity','offsetX','34TnSaiM','textBaseline','ERROR','87303hpEqGl','normal','border','getImageState','outlineWidth','getImage','fill','\x20normal\x20','getView','offsetY','image','middle','distanceDisplayNear','10774248vciLNP','px\x20','getResolutionForZoom','9LbXCKD','italic','distanceDisplayFar','71440opefxp'];a62_0x9039=function(){return _0x3eced1;};return a62_0x9039();}export function getColor(_0x611479,_0x5b227f){const _0x3066f0=a62_0x19e8;return a62_0x482612(_0x611479)['alpha'](_0x5b227f!=undefined?_0x5b227f:0x1)[_0x3066f0(0x189)]();}function _getLabelStroke(_0x2eccb2){const _0x1b6881=a62_0x19e8;if(_0x2eccb2[_0x1b6881(0x19e)])return new Stroke({'color':getColor(_0x2eccb2[_0x1b6881(0x191)],_0x2eccb2[_0x1b6881(0x197)]),'width':_0x2eccb2[_0x1b6881(0x193)]});if(_0x2eccb2[_0x1b6881(0x18e)])return new Stroke({'color':getColor(_0x2eccb2[_0x1b6881(0x192)],_0x2eccb2['opacity']),'width':_0x2eccb2[_0x1b6881(0x1a0)]});}export function preLoadImageRenderFunction(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x1e4876){const _0x3e74b1=a62_0x19e8;let _0x46e833;_0x42f317[_0x3e74b1(0x187)]?_0x46e833=new a62_0x3117e1(_0x42f317):_0x46e833=new Icon({'src':_0x42f317[_0x3e74b1(0x1a6)]});let _0x4165f4=_0x46e833[_0x3e74b1(0x19f)]();_0x4165f4===a62_0x59132f['LOADED']||_0x4165f4===a62_0x59132f[_0x3e74b1(0x19b)]?_0x1e4876(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x46e833[_0x3e74b1(0x1a1)](0x60)):(_0x4165f4===a62_0x59132f['IDLE']&&_0x46e833[_0x3e74b1(0x18f)](),_0x46e833['listenImageChange'](_0x2e416a=>{const _0x30e172=_0x3e74b1;_0x4165f4=_0x2e416a['target'][_0x30e172(0x19f)](),(_0x4165f4===a62_0x59132f[_0x30e172(0x194)]||_0x4165f4===a62_0x59132f[_0x30e172(0x19b)])&&_0x1e4876(_0x42f317,_0x552f17,_0x5a1f1a,_0x416ba9,_0x46e833[_0x30e172(0x1a1)](0x60));}));}
@@ -1 +1 @@
1
- function a67_0x5f4b(_0x1ed598,_0x492f07){const _0x2fccfb=a67_0x2fcc();return a67_0x5f4b=function(_0x5f4bb8,_0x2fad00){_0x5f4bb8=_0x5f4bb8-0x116;let _0x3aeb56=_0x2fccfb[_0x5f4bb8];return _0x3aeb56;},a67_0x5f4b(_0x1ed598,_0x492f07);}(function(_0x49f039,_0x3142ba){const _0x4f64b4=a67_0x5f4b,_0x14d117=_0x49f039();while(!![]){try{const _0x32f719=parseInt(_0x4f64b4(0x11f))/0x1*(parseInt(_0x4f64b4(0x118))/0x2)+parseInt(_0x4f64b4(0x126))/0x3*(parseInt(_0x4f64b4(0x124))/0x4)+-parseInt(_0x4f64b4(0x123))/0x5*(parseInt(_0x4f64b4(0x121))/0x6)+-parseInt(_0x4f64b4(0x125))/0x7+-parseInt(_0x4f64b4(0x11d))/0x8+-parseInt(_0x4f64b4(0x122))/0x9+-parseInt(_0x4f64b4(0x11c))/0xa*(-parseInt(_0x4f64b4(0x11b))/0xb);if(_0x32f719===_0x3142ba)break;else _0x14d117['push'](_0x14d117['shift']());}catch(_0x326fb8){_0x14d117['push'](_0x14d117['shift']());}}}(a67_0x2fcc,0x43a69));export function getDeepth(_0x4119d9){function _0x46d4e4(_0x28ded2,_0x84056c){const _0x181eda=a67_0x5f4b;return _0x28ded2[_0x181eda(0x117)](function(_0x4b67f1,_0x5a77bb){const _0x2949fb=_0x181eda;var _0x2a145c;return Array[_0x2949fb(0x120)](_0x5a77bb)&&(_0x2a145c=_0x46d4e4(_0x5a77bb,_0x84056c+0x1)),_0x2a145c>_0x4b67f1?_0x2a145c:_0x4b67f1;},_0x84056c);}return _0x46d4e4(_0x4119d9,0x1);}export function compareArray(_0x540044,_0xd4abb5){const _0x557e45=a67_0x5f4b;if(_0x540044[_0x557e45(0x11e)]!==_0xd4abb5[_0x557e45(0x11e)])return![];const _0x155e4f=_0x540044[_0x557e45(0x11e)];for(let _0x20ff37=0x0;_0x20ff37<_0x155e4f;_0x20ff37++){if(!compare(_0x540044[_0x20ff37],_0xd4abb5[_0x20ff37]))return![];}return!![];}export function compare(_0x476429,_0x39b049){const _0x2a513d=a67_0x5f4b;if(_0x476429===_0x39b049)return!![];if(typeof _0x476429!==typeof _0x39b049||_0x476429===null||_0x39b049===null)return![];if(Array[_0x2a513d(0x120)](_0x476429)){if(!Array[_0x2a513d(0x120)](_0x39b049))return![];return compareArray(_0x476429,_0x39b049);}if(typeof _0x476429===_0x2a513d(0x119))return compareObject(_0x476429,_0x39b049);return![];}function a67_0x2fcc(){const _0x236ca4=['5ONmAmj','2031496KCIjDa','911316HqamcH','3DSUJVa','every','reduce','2tOzCAV','object','keys','585167vFjGnd','10JFHeJM','1927096DralNZ','length','436478fnsUri','isArray','1271598bFBZAI','1236996ErbxBV'];a67_0x2fcc=function(){return _0x236ca4;};return a67_0x2fcc();}export function compareObject(_0x47c85d,_0x25ff84){const _0x5f48d6=a67_0x5f4b,_0x4ac4fa=Object[_0x5f48d6(0x11a)](_0x47c85d),_0x197695=Object[_0x5f48d6(0x11a)](_0x25ff84);if(_0x4ac4fa[_0x5f48d6(0x11e)]!==_0x197695[_0x5f48d6(0x11e)])return![];return _0x4ac4fa[_0x5f48d6(0x116)](_0x526755=>{if(!compare(_0x47c85d[_0x526755],_0x25ff84[_0x526755]))return![];return!![];});}
1
+ (function(_0x32fe56,_0x12ca7c){const _0x3918ea=a67_0x275d,_0xdbeaf8=_0x32fe56();while(!![]){try{const _0x49b499=parseInt(_0x3918ea(0x186))/0x1*(parseInt(_0x3918ea(0x17d))/0x2)+parseInt(_0x3918ea(0x184))/0x3*(-parseInt(_0x3918ea(0x181))/0x4)+-parseInt(_0x3918ea(0x18a))/0x5+-parseInt(_0x3918ea(0x17f))/0x6*(parseInt(_0x3918ea(0x17c))/0x7)+parseInt(_0x3918ea(0x180))/0x8*(parseInt(_0x3918ea(0x187))/0x9)+parseInt(_0x3918ea(0x18d))/0xa+-parseInt(_0x3918ea(0x18b))/0xb*(-parseInt(_0x3918ea(0x189))/0xc);if(_0x49b499===_0x12ca7c)break;else _0xdbeaf8['push'](_0xdbeaf8['shift']());}catch(_0xddb760){_0xdbeaf8['push'](_0xdbeaf8['shift']());}}}(a67_0x5576,0x9203f));export function getDeepth(_0x5674a2){function _0x34a0f6(_0x5a6f02,_0x425ffc){const _0x278df8=a67_0x275d;return _0x5a6f02[_0x278df8(0x18c)](function(_0x5836cb,_0x5140a9){const _0x33df7b=_0x278df8;var _0xf8778d;return Array[_0x33df7b(0x183)](_0x5140a9)&&(_0xf8778d=_0x34a0f6(_0x5140a9,_0x425ffc+0x1)),_0xf8778d>_0x5836cb?_0xf8778d:_0x5836cb;},_0x425ffc);}return _0x34a0f6(_0x5674a2,0x1);}export function compareArray(_0x1a8d91,_0x3b0173){const _0x297fd3=a67_0x275d;if(_0x1a8d91['length']!==_0x3b0173[_0x297fd3(0x17e)])return![];const _0x40d22f=_0x1a8d91['length'];for(let _0x111a3f=0x0;_0x111a3f<_0x40d22f;_0x111a3f++){if(!compare(_0x1a8d91[_0x111a3f],_0x3b0173[_0x111a3f]))return![];}return!![];}export function compare(_0x54f8ac,_0x56df30){const _0x579c7b=a67_0x275d;if(_0x54f8ac===_0x56df30)return!![];if(typeof _0x54f8ac!==typeof _0x56df30||_0x54f8ac===null||_0x56df30===null)return![];if(Array[_0x579c7b(0x183)](_0x54f8ac)){if(!Array['isArray'](_0x56df30))return![];return compareArray(_0x54f8ac,_0x56df30);}if(typeof _0x54f8ac===_0x579c7b(0x185))return compareObject(_0x54f8ac,_0x56df30);return![];}function a67_0x275d(_0x1677d2,_0x5bc3c9){const _0x557623=a67_0x5576();return a67_0x275d=function(_0x275dac,_0x21973e){_0x275dac=_0x275dac-0x17c;let _0x5d84e5=_0x557623[_0x275dac];return _0x5d84e5;},a67_0x275d(_0x1677d2,_0x5bc3c9);}function a67_0x5576(){const _0x31afaf=['isArray','3hAxcwv','object','4swKlNg','3879NoTFNG','keys','8148RDYGvP','2743915NAOUHD','21098LFXcrF','reduce','4277810KecDEI','2373GKsatV','465412gsAenb','length','14772qEdZhb','5808ulwWae','3969412hEDSEq','every'];a67_0x5576=function(){return _0x31afaf;};return a67_0x5576();}export function compareObject(_0x5ea04d,_0x16928b){const _0x252fc2=a67_0x275d,_0x445e9a=Object['keys'](_0x5ea04d),_0x182f14=Object[_0x252fc2(0x188)](_0x16928b);if(_0x445e9a[_0x252fc2(0x17e)]!==_0x182f14[_0x252fc2(0x17e)])return![];return _0x445e9a[_0x252fc2(0x182)](_0x12cb1e=>{if(!compare(_0x5ea04d[_0x12cb1e],_0x16928b[_0x12cb1e]))return![];return!![];});}
@@ -1 +1 @@
1
- const a68_0xcea251=a68_0x3f75;(function(_0x4ef428,_0xff3216){const _0x354661=a68_0x3f75,_0x3e1c66=_0x4ef428();while(!![]){try{const _0x2962fe=-parseInt(_0x354661(0x1d8))/0x1+parseInt(_0x354661(0x1df))/0x2*(parseInt(_0x354661(0x1d7))/0x3)+parseInt(_0x354661(0x1de))/0x4+parseInt(_0x354661(0x1db))/0x5+parseInt(_0x354661(0x1e6))/0x6*(-parseInt(_0x354661(0x1d6))/0x7)+parseInt(_0x354661(0x1e7))/0x8+-parseInt(_0x354661(0x1e0))/0x9;if(_0x2962fe===_0xff3216)break;else _0x3e1c66['push'](_0x3e1c66['shift']());}catch(_0x3a4745){_0x3e1c66['push'](_0x3e1c66['shift']());}}}(a68_0x4753,0x474ac));import a68_0x520515 from'axios';import a68_0x545cd6 from'jquery';const request=a68_0x520515[a68_0xcea251(0x1da)]({'timeout':0xb4*0x3e8});function a68_0x3f75(_0x3c3738,_0x23bcc5){const _0x475303=a68_0x4753();return a68_0x3f75=function(_0x3f7503,_0x462241){_0x3f7503=_0x3f7503-0x1d6;let _0x3ea083=_0x475303[_0x3f7503];return _0x3ea083;},a68_0x3f75(_0x3c3738,_0x23bcc5);}export function jsonp(_0x1e9d6b){return new Promise((_0x3b7a90,_0x4d7a28)=>{const _0x140976=a68_0x3f75;a68_0x545cd6[_0x140976(0x1e5)]({'url':_0x1e9d6b,'type':_0x140976(0x1e4),'dataType':_0x140976(0x1e1),'success':_0x5949fb=>{_0x3b7a90(_0x5949fb);},'error':_0x581257=>{_0x4d7a28(_0x581257);}});});}export function stringify(_0x3a1f04){const _0x4c0c76=a68_0xcea251,_0x16881b=new FormData();for(const _0x1ff599 in _0x3a1f04){if(_0x3a1f04[_0x4c0c76(0x1dc)](_0x1ff599)){if(_0x3a1f04[_0x1ff599]){if(_0x3a1f04[_0x1ff599][_0x4c0c76(0x1dd)]===Array)_0x3a1f04[_0x1ff599][0x0]?_0x3a1f04[_0x1ff599][0x0]['constructor']===Object?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,JSON[_0x4c0c76(0x1d9)](_0x3a1f04[_0x1ff599])):_0x3a1f04[_0x1ff599][_0x4c0c76(0x1e3)]((_0x18598c,_0x5a0a75)=>{const _0x364655=_0x4c0c76;_0x16881b[_0x364655(0x1e2)](_0x1ff599+('['+_0x5a0a75+']'),_0x18598c);}):_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599+'[]','');else _0x3a1f04[_0x1ff599][_0x4c0c76(0x1dd)]===Object?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,JSON['stringify'](_0x3a1f04[_0x1ff599])):_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,_0x3a1f04[_0x1ff599]);}else _0x3a1f04[_0x1ff599]===0x0?_0x16881b[_0x4c0c76(0x1e2)](_0x1ff599,'0'):_0x16881b['append'](_0x1ff599,'');}}return _0x16881b;}export default request;function a68_0x4753(){const _0x5e3f82=['21jwaGLz','3CykpmY','162574McrURJ','stringify','create','2716520PcwGVv','hasOwnProperty','constructor','559488rGFlpF','271892PUEQdu','312462hqgtFf','jsonp','append','forEach','get','ajax','807318JFBPlR','590728RdNpfv'];a68_0x4753=function(){return _0x5e3f82;};return a68_0x4753();}
1
+ const a68_0x1d0f45=a68_0x5852;function a68_0x5852(_0x2cdebc,_0x47a000){const _0x26683f=a68_0x2668();return a68_0x5852=function(_0x58524d,_0x3d61f8){_0x58524d=_0x58524d-0x172;let _0x18f559=_0x26683f[_0x58524d];return _0x18f559;},a68_0x5852(_0x2cdebc,_0x47a000);}(function(_0xd0ec56,_0x516b51){const _0x58b6c1=a68_0x5852,_0x2bb664=_0xd0ec56();while(!![]){try{const _0x1ad37f=-parseInt(_0x58b6c1(0x175))/0x1*(-parseInt(_0x58b6c1(0x17f))/0x2)+parseInt(_0x58b6c1(0x17a))/0x3*(parseInt(_0x58b6c1(0x174))/0x4)+parseInt(_0x58b6c1(0x172))/0x5*(-parseInt(_0x58b6c1(0x17e))/0x6)+-parseInt(_0x58b6c1(0x183))/0x7*(parseInt(_0x58b6c1(0x17d))/0x8)+-parseInt(_0x58b6c1(0x178))/0x9+parseInt(_0x58b6c1(0x180))/0xa+-parseInt(_0x58b6c1(0x17b))/0xb*(parseInt(_0x58b6c1(0x179))/0xc);if(_0x1ad37f===_0x516b51)break;else _0x2bb664['push'](_0x2bb664['shift']());}catch(_0xbcfe98){_0x2bb664['push'](_0x2bb664['shift']());}}}(a68_0x2668,0x1d246));import a68_0x422e6e from'axios';import a68_0x524f0d from'jquery';const request=a68_0x422e6e[a68_0x1d0f45(0x173)]({'timeout':0xb4*0x3e8});export function jsonp(_0x3ee3ba){return new Promise((_0x551de3,_0x6538bc)=>{const _0x487efb=a68_0x5852;a68_0x524f0d[_0x487efb(0x17c)]({'url':_0x3ee3ba,'type':'get','dataType':'jsonp','success':_0x3796d4=>{_0x551de3(_0x3796d4);},'error':_0x40068b=>{_0x6538bc(_0x40068b);}});});}function a68_0x2668(){const _0x2e818d=['stringify','append','28LHRBLR','10oWrbCg','create','740RryzTq','2IRhdfE','constructor','forEach','1990125nAvEdA','72sSKmFg','2283wfUSqn','92180qVnfoM','ajax','63064RlvqyK','63870rCOldy','133422xiCPFk','1693860gOfjrm'];a68_0x2668=function(){return _0x2e818d;};return a68_0x2668();}export function stringify(_0x3fd782){const _0x302e60=a68_0x1d0f45,_0x22a7e1=new FormData();for(const _0xff8f73 in _0x3fd782){if(_0x3fd782['hasOwnProperty'](_0xff8f73)){if(_0x3fd782[_0xff8f73]){if(_0x3fd782[_0xff8f73]['constructor']===Array)_0x3fd782[_0xff8f73][0x0]?_0x3fd782[_0xff8f73][0x0][_0x302e60(0x176)]===Object?_0x22a7e1['append'](_0xff8f73,JSON[_0x302e60(0x181)](_0x3fd782[_0xff8f73])):_0x3fd782[_0xff8f73][_0x302e60(0x177)]((_0x209cab,_0x3d8f14)=>{_0x22a7e1['append'](_0xff8f73+('['+_0x3d8f14+']'),_0x209cab);}):_0x22a7e1[_0x302e60(0x182)](_0xff8f73+'[]','');else _0x3fd782[_0xff8f73][_0x302e60(0x176)]===Object?_0x22a7e1['append'](_0xff8f73,JSON[_0x302e60(0x181)](_0x3fd782[_0xff8f73])):_0x22a7e1[_0x302e60(0x182)](_0xff8f73,_0x3fd782[_0xff8f73]);}else _0x3fd782[_0xff8f73]===0x0?_0x22a7e1[_0x302e60(0x182)](_0xff8f73,'0'):_0x22a7e1[_0x302e60(0x182)](_0xff8f73,'');}}return _0x22a7e1;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3a44d9,_0x206ffd){const _0x171a5d=a69_0x1510,_0x1493b3=_0x3a44d9();while(!![]){try{const _0x16195b=-parseInt(_0x171a5d(0x1f5))/0x1*(parseInt(_0x171a5d(0x1f9))/0x2)+parseInt(_0x171a5d(0x1f4))/0x3+parseInt(_0x171a5d(0x1f3))/0x4+parseInt(_0x171a5d(0x1f2))/0x5+parseInt(_0x171a5d(0x1ee))/0x6*(parseInt(_0x171a5d(0x1f0))/0x7)+-parseInt(_0x171a5d(0x1f6))/0x8+-parseInt(_0x171a5d(0x1ed))/0x9;if(_0x16195b===_0x206ffd)break;else _0x1493b3['push'](_0x1493b3['shift']());}catch(_0x488337){_0x1493b3['push'](_0x1493b3['shift']());}}}(a69_0x139b,0x6f22f));function a69_0x1510(_0x3e87f6,_0x435f0c){const _0x139bc9=a69_0x139b();return a69_0x1510=function(_0x1510af,_0x3632a8){_0x1510af=_0x1510af-0x1ed;let _0x4cacdf=_0x139bc9[_0x1510af];return _0x4cacdf;},a69_0x1510(_0x3e87f6,_0x435f0c);}export function getEsriSpatialReference(_0x52161a){const _0x4f0c6d=a69_0x1510;let _0x2766c4;if(_0x52161a){let _0x240050=_0x52161a[_0x4f0c6d(0x1ef)]();_0x240050[_0x4f0c6d(0x1f1)](_0x4f0c6d(0x1f8))===0x0?_0x2766c4=_0x52161a[_0x4f0c6d(0x1f7)](_0x4f0c6d(0x1f8),''):_0x2766c4=_0x52161a;}return _0x2766c4;}function a69_0x139b(){const _0xd0cffc=['3785814UnpYrM','72CuQZYn','toUpperCase','355376yHwRGs','indexOf','2909860xQBnTN','1540368zfcPcA','8163bruAgC','14178LrsBYv','3016368DzfDvA','replace','EPSG:','46XUyvIL'];a69_0x139b=function(){return _0xd0cffc;};return a69_0x139b();}
1
+ function a69_0x1c7f(){const _0x3a1e9d=['163719vPafRl','indexOf','40563260ZyVmub','18LVugqX','3733500phtEwP','toUpperCase','2554808yFuXHA','10NCXtZq','EPSG:','2350rXkJVL','12176wUBlZa','390803QhyzOr','replace','8082711XFAmhB'];a69_0x1c7f=function(){return _0x3a1e9d;};return a69_0x1c7f();}function a69_0x1800(_0x53844c,_0x1fb12f){const _0x1c7f1a=a69_0x1c7f();return a69_0x1800=function(_0x1800c7,_0x43dd6f){_0x1800c7=_0x1800c7-0x1cd;let _0x4e4d42=_0x1c7f1a[_0x1800c7];return _0x4e4d42;},a69_0x1800(_0x53844c,_0x1fb12f);}(function(_0x3c7482,_0x13621c){const _0x5606b3=a69_0x1800,_0x5b17fd=_0x3c7482();while(!![]){try{const _0x9b9605=-parseInt(_0x5606b3(0x1ce))/0x1+-parseInt(_0x5606b3(0x1d8))/0x2*(parseInt(_0x5606b3(0x1d1))/0x3)+-parseInt(_0x5606b3(0x1cd))/0x4*(parseInt(_0x5606b3(0x1da))/0x5)+parseInt(_0x5606b3(0x1d5))/0x6+-parseInt(_0x5606b3(0x1d0))/0x7+-parseInt(_0x5606b3(0x1d7))/0x8*(parseInt(_0x5606b3(0x1d4))/0x9)+parseInt(_0x5606b3(0x1d3))/0xa;if(_0x9b9605===_0x13621c)break;else _0x5b17fd['push'](_0x5b17fd['shift']());}catch(_0x30312e){_0x5b17fd['push'](_0x5b17fd['shift']());}}}(a69_0x1c7f,0xc1145));export function getEsriSpatialReference(_0x23bdfe){const _0xfbb619=a69_0x1800;let _0x3447f5;if(_0x23bdfe){let _0x3a49e7=_0x23bdfe[_0xfbb619(0x1d6)]();_0x3a49e7[_0xfbb619(0x1d2)](_0xfbb619(0x1d9))===0x0?_0x3447f5=_0x23bdfe[_0xfbb619(0x1cf)](_0xfbb619(0x1d9),''):_0x3447f5=_0x23bdfe;}return _0x3447f5;}
@@ -1 +1 @@
1
- const a72_0x1ce662=a72_0x3c3d;(function(_0x10f735,_0x10e497){const _0x3620a1=a72_0x3c3d,_0x1e8fe8=_0x10f735();while(!![]){try{const _0x5731a6=-parseInt(_0x3620a1(0x8a))/0x1*(parseInt(_0x3620a1(0x8c))/0x2)+-parseInt(_0x3620a1(0x99))/0x3*(-parseInt(_0x3620a1(0x83))/0x4)+-parseInt(_0x3620a1(0xa2))/0x5*(-parseInt(_0x3620a1(0x82))/0x6)+-parseInt(_0x3620a1(0x9d))/0x7*(parseInt(_0x3620a1(0xa6))/0x8)+parseInt(_0x3620a1(0x84))/0x9+parseInt(_0x3620a1(0x8b))/0xa+-parseInt(_0x3620a1(0x85))/0xb;if(_0x5731a6===_0x10e497)break;else _0x1e8fe8['push'](_0x1e8fe8['shift']());}catch(_0x520c88){_0x1e8fe8['push'](_0x1e8fe8['shift']());}}}(a72_0x2585,0x79162));import a72_0x21550d from'ol/proj/Projection';import{distance as a72_0xa569f0}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';function a72_0x3c3d(_0x20510e,_0x59c6ca){const _0x258552=a72_0x2585();return a72_0x3c3d=function(_0x3c3dc1,_0x196e55){_0x3c3dc1=_0x3c3dc1-0x80;let _0x17edf1=_0x258552[_0x3c3dc1];return _0x17edf1;},a72_0x3c3d(_0x20510e,_0x59c6ca);}import{getArea as a72_0x2e8d49}from'ol/sphere';import a72_0x121b9c from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x2225c4 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x261c6f from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x4c7edf from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x53bf47 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x1c7893 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x54aede from'ol/format/GeoJSON';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a72_0x566f76 from'ol/format/WKT';import a72_0x1b3f3a from'ol/format/EsriJSON';const _parser=new a72_0x4c7edf(undefined,undefined);_parser[a72_0x1ce662(0x97)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x1b8810,_0x572c00,_0xc30502=![]){const _0xecbe86=a72_0x1ce662;if(!_0x1b8810)return 0x0;const _0x9c3c7a=isSpheroid(_0x572c00);if(_0xc30502)return a72_0x2e8d49(_0x1b8810,{'projection':_0x572c00});else{if(_0x9c3c7a){const _0x18dd0a=getGeoProjection(_0x1b8810,_0x572c00);return _0x1b8810[_0xecbe86(0x80)]()[_0xecbe86(0x9a)](_0x572c00,_0x18dd0a)[_0xecbe86(0x98)]();}return _0x1b8810['getArea']();}}export function bufferOp(_0x571d36,_0x49eabe){const _0x473eb6=a72_0x1ce662,_0x33e510=_parser['read'](_0x571d36),_0x34ce29=a72_0x121b9c['bufferOp'](_0x33e510,_0x49eabe);return _parser[_0x473eb6(0x91)](_0x34ce29);}export function bufferPixel(_0x4b8e03,_0x57215b,_0x29905c){const _0x1ebba7=a72_0x1ce662,_0x2abee9=_0x29905c[_0x1ebba7(0x8d)](_0x4b8e03[_0x1ebba7(0xa3)]()),_0x36c158=_0x29905c[_0x1ebba7(0x8e)]([_0x2abee9[0x0]+_0x57215b,_0x2abee9[0x1]]),_0x2b44d7=a72_0xa569f0(_0x4b8e03[_0x1ebba7(0xa3)](),_0x36c158),_0x3b4bdf=bufferOp(_0x4b8e03,_0x2b44d7);return _0x3b4bdf;}export function contains(_0xc8f3b1,_0x2c457e){const _0x2c2b9d=a72_0x1ce662,_0x327e46=_parser[_0x2c2b9d(0x88)](_0xc8f3b1),_0x235875=_parser['read'](_0x2c457e);return a72_0x2225c4[_0x2c2b9d(0xa4)](_0x327e46,_0x235875);}export function crosses(_0x9bf24f,_0x5b152c){const _0x514a9b=a72_0x1ce662,_0x3782c3=_parser[_0x514a9b(0x88)](_0x9bf24f),_0xbcc9f=_parser[_0x514a9b(0x88)](_0x5b152c);return a72_0x2225c4[_0x514a9b(0x87)](_0x3782c3,_0xbcc9f);}export function intersects(_0x582636,_0x114a1f){const _0x236b99=a72_0x1ce662,_0x532667=_parser[_0x236b99(0x88)](_0x582636),_0x169959=_parser['read'](_0x114a1f);return a72_0x2225c4[_0x236b99(0x90)](_0x532667,_0x169959);}export function intersection(_0x5e4839,_0x507cc8){const _0x43015a=a72_0x1ce662,_0x1ab350=_parser['read'](_0x5e4839),_0x51b0bd=_parser[_0x43015a(0x88)](_0x507cc8);return _parser[_0x43015a(0x91)](a72_0x261c6f[_0x43015a(0xa0)](_0x1ab350,_0x51b0bd));}export function union(_0x1f348f,_0x55e909){const _0x58b4a1=a72_0x1ce662,_0x11daa6=_parser[_0x58b4a1(0x88)](_0x1f348f),_0x2ec250=_parser[_0x58b4a1(0x88)](_0x55e909);return _parser['write'](a72_0x261c6f[_0x58b4a1(0x8f)](_0x11daa6,_0x2ec250));}export function difference(_0x36180d,_0x163131){const _0x65a2b2=a72_0x1ce662,_0x2e4238=_parser[_0x65a2b2(0x88)](_0x36180d),_0x45ff63=_parser[_0x65a2b2(0x88)](_0x163131);return _parser['write'](a72_0x261c6f[_0x65a2b2(0x89)](_0x2e4238,_0x45ff63));}function a72_0x2585(){const _0xc05171=['Polygon','getGeometryType','12642IkZcpy','writeGeometry','array','intersection','getExteriorRing','147175SRuFBG','getCoordinates','contains','_holes','3224CXTUfc','add','MultiPolygon','clone','forEach','186ABHPlh','137272WwsPgO','2647008BlSpAg','5961582BUJSBh','length','crosses','read','difference','1iVsWTH','3487530LsqjUg','814648qCeqNq','getPixelFromCoordinate','getCoordinateFromPixel','union','intersects','write','distance','some','push','_geometries','readGeometry','inject','getArea','54mFqVbv','transform'];a72_0x2585=function(){return _0xc05171;};return a72_0x2585();}export function distance(_0x197157,_0x4f3396){const _0x377cfa=a72_0x1ce662,_0x35e285=_parser[_0x377cfa(0x88)](_0x197157),_0x22dc8d=_parser['read'](_0x4f3396);return _parser[_0x377cfa(0x91)](a72_0x1c7893[_0x377cfa(0x92)](_0x35e285,_0x22dc8d));}export function jstlSplit(_0xb84822,_0x58bb22){const _0x2ebbcc=a72_0x1ce662,_0x197ad3=_parser[_0x2ebbcc(0x88)](_0xb84822),_0xacfddf=_parser[_0x2ebbcc(0x88)](_0x58bb22),_0x2c4e42=_0x197ad3[_0x2ebbcc(0x9c)]();let _0x2bf448=[];function _0x262fe3(_0x2e4cfc,_0x3e99a8){const _0x5668e5=_0x2ebbcc;let _0x53a25e=_0x2e4cfc[_0x5668e5(0xa5)],_0x1eb332=_0x2e4cfc[_0x5668e5(0xa1)]()[_0x5668e5(0x8f)](_0x3e99a8),_0x12ec28=new a72_0x53bf47();_0x12ec28[_0x5668e5(0xa7)](_0x1eb332);let _0x2fd7f9=_0x12ec28['getPolygons']();_0x2fd7f9[_0x5668e5(0x9f)]['length']==0x2&&_0x2fd7f9[_0x5668e5(0x9f)][_0x5668e5(0x81)](_0x137622=>{const _0xd38a55=_0x5668e5;_0x53a25e[_0xd38a55(0x81)](_0x3b184a=>{const _0x1c1980=_0xd38a55;let _0x89cede=[];for(let _0x498fc9 in _0x3b184a[_0x1c1980(0xa3)]()){_0x89cede[_0x1c1980(0x94)]([_0x3b184a[_0x1c1980(0xa3)]()[_0x498fc9]['x'],_0x3b184a[_0x1c1980(0xa3)]()[_0x498fc9]['y']]);}_0x3b184a=_parser['read']({'coordinates':[_0x89cede],'type':_0x1c1980(0x9b)}),_0x137622=_0x137622[_0x1c1980(0x89)](_0x3b184a);}),_0x2bf448[_0xd38a55(0x94)](_parser[_0xd38a55(0x91)](_0x137622));});}if(_0x2c4e42===_0x2ebbcc(0x9b))_0x262fe3(_0x197ad3,_0xacfddf);else{if(_0x2c4e42===_0x2ebbcc(0xa8))_0x197ad3[_0x2ebbcc(0x95)][_0x2ebbcc(0x81)]((_0x243a19,_0x6f547a)=>{_0x262fe3(_0x243a19,_0xacfddf);});else throw new Error('无法识别的数据类型');}return _0x2bf448;}export function fromWKT(_0x1aebed,_0x37f1b5,_0xaa6e30){const _0x3a0e8e=a72_0x1ce662,_0x35efe4=new a72_0x566f76();_0x37f1b5&&registerProj(_0x37f1b5);_0xaa6e30&&registerProj(_0xaa6e30);const _0xdbba03=_0x35efe4[_0x3a0e8e(0x96)](_0x1aebed);if(isGeometryEmpty(_0xdbba03))return null;return _0x37f1b5&&_0xaa6e30?_0xdbba03[_0x3a0e8e(0x9a)](new a72_0x21550d({'code':_0x37f1b5}),new a72_0x21550d({'code':_0xaa6e30})):_0xdbba03;}export function fromWKTs(_0x5d2f8f,_0x5a6915,_0xca094e){const _0x1e496a=a72_0x1ce662,_0x4da616=new a72_0x566f76();let _0x15a390=[];_0x5a6915&&registerProj(_0x5a6915);_0xca094e&&registerProj(_0xca094e);let _0x58e1a7,_0x4fe4dc;_0x5a6915&&_0xca094e&&(_0x58e1a7=new a72_0x21550d({'code':_0x5a6915}),_0x4fe4dc=new a72_0x21550d({'code':_0xca094e}));for(let _0x2959aa=0x0;_0x2959aa<_0x5d2f8f['length'];_0x2959aa++){const _0x2920d4=_0x4da616[_0x1e496a(0x96)](_0x5d2f8f[_0x2959aa]);if(isGeometryEmpty(_0x2920d4))continue;_0x58e1a7&&_0x4fe4dc?_0x15a390['push'](_0x2920d4[_0x1e496a(0x9a)](_0x58e1a7,_0x4fe4dc)):_0x15a390[_0x1e496a(0x94)](_0x2920d4);}return _0x15a390;}export function toWKT(_0x56a12d){const _0x2da8ab=a72_0x1ce662,_0x39ff43=new a72_0x566f76();if(isGeometryEmpty(_0x56a12d))return'';if(_0x56a12d instanceof Circle){const _0x4c5f51=fromCircle(_0x56a12d);return _0x39ff43[_0x2da8ab(0x9e)](_0x4c5f51);}else return _0x39ff43[_0x2da8ab(0x9e)](_0x56a12d);}export function toGeoJSON(_0xcdd7b8){const _0x372747=a72_0x1ce662,_0x4a6e2d=new a72_0x54aede();return _0x4a6e2d[_0x372747(0x9e)](_0xcdd7b8);}export function fromGeoJSON(_0x2659a4){const _0x2804e7=new a72_0x54aede();return _0x2804e7['readGeometry'](_0x2659a4);}export function toEsriJSON(_0x2e69a1){const _0x193b04=new a72_0x1b3f3a();return _0x193b04['writeGeometry'](_0x2e69a1);}export function fromEsriJSON(_0x28f880){const _0x48f533=a72_0x1ce662,_0x1a6926=new a72_0x1b3f3a();return _0x1a6926[_0x48f533(0x96)](_0x28f880);}export function expandExtent(_0x338e1a,_0xae282a){const _0x39285b=_0x338e1a[0x0],_0x55eda1=_0x338e1a[0x1],_0x4d1e97=_0x338e1a[0x2],_0x13914c=_0x338e1a[0x3],_0x194fc8=(_0x39285b+_0x4d1e97)/0x2,_0xe207ae=(_0x55eda1+_0x13914c)/0x2,_0x32ecda=_0x4d1e97-_0x39285b,_0x11c63c=_0x13914c-_0x55eda1,_0x4e00a1=_0x32ecda*_0xae282a,_0x17bdc8=_0x11c63c*_0xae282a,_0x516599=_0x194fc8-_0x4e00a1/0x2,_0x2d1015=_0x194fc8+_0x4e00a1/0x2,_0x49e481=_0xe207ae-_0x17bdc8/0x2,_0x501c3c=_0xe207ae+_0x17bdc8/0x2;return[_0x516599,_0x49e481,_0x2d1015,_0x501c3c];}export function isGeometryEmpty(_0x56af76){const _0xdfc1b1=a72_0x1ce662;if(!_0x56af76)return!![];if(_0x56af76 instanceof Point||_0x56af76 instanceof MultiPoint){const _0x3223fe=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x3223fe||_0x3223fe[_0xdfc1b1(0x93)](_0xe213dc=>isNaN(_0xe213dc));}else{if(_0x56af76 instanceof LineString||_0x56af76 instanceof MultiLineString)return _0x56af76[_0xdfc1b1(0xa3)]()[_0xdfc1b1(0x86)]<0x2;else{if(_0x56af76 instanceof Polygon){const _0x286c2f=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x286c2f||_0x286c2f[_0xdfc1b1(0x86)]===0x0||_0x286c2f[0x0][_0xdfc1b1(0x86)]<0x4;}else{if(_0x56af76 instanceof MultiPolygon){const _0x5eca0b=_0x56af76[_0xdfc1b1(0xa3)]();return!_0x5eca0b||_0x5eca0b[_0xdfc1b1(0x86)]===0x0||_0x5eca0b[0x0][0x0][_0xdfc1b1(0x86)]<0x4;}}}}return![];}
1
+ const a72_0x48ffe9=a72_0x2068;(function(_0x11a699,_0x31a19b){const _0x58fe03=a72_0x2068,_0x4af7e1=_0x11a699();while(!![]){try{const _0xd4ab30=-parseInt(_0x58fe03(0x173))/0x1+-parseInt(_0x58fe03(0x181))/0x2*(parseInt(_0x58fe03(0x169))/0x3)+parseInt(_0x58fe03(0x175))/0x4+-parseInt(_0x58fe03(0x183))/0x5*(parseInt(_0x58fe03(0x171))/0x6)+-parseInt(_0x58fe03(0x17b))/0x7*(parseInt(_0x58fe03(0x167))/0x8)+parseInt(_0x58fe03(0x17d))/0x9*(-parseInt(_0x58fe03(0x172))/0xa)+parseInt(_0x58fe03(0x180))/0xb;if(_0xd4ab30===_0x31a19b)break;else _0x4af7e1['push'](_0x4af7e1['shift']());}catch(_0x2d464e){_0x4af7e1['push'](_0x4af7e1['shift']());}}}(a72_0xe469,0x7a9a2));import a72_0x5a9e82 from'ol/proj/Projection';import{distance as a72_0x5436cb}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x3482c1}from'ol/sphere';import a72_0x5bfb5c from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x3b3bab from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';function a72_0xe469(){const _0x1f98bb=['transform','getCoordinates','getPolygons','forEach','inject','difference','union','16wkOBuP','_geometries','3LCmRbg','contains','getGeometryType','write','clone','push','无法识别的数据类型','distance','6nxgijy','100790oGQXUl','742534gEadzH','bufferOp','3325176xEQtzr','getCoordinateFromPixel','Polygon','length','_holes','getArea','1097768bAaTvV','read','549oeRQdR','readGeometry','MultiPolygon','30854582oUetqE','1048836xuCiTh','writeGeometry','4693295vVrDHo'];a72_0xe469=function(){return _0x1f98bb;};return a72_0xe469();}import a72_0x44747b from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x5370a2 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x19f99c from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x4fe216 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0xeac95d from'ol/format/GeoJSON';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a72_0x22d2f6 from'ol/format/WKT';import a72_0x214f6a from'ol/format/EsriJSON';const _parser=new a72_0x5370a2(undefined,undefined);_parser[a72_0x48ffe9(0x188)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x436012,_0x38a8cf,_0x406835=![]){const _0x197c57=a72_0x48ffe9;if(!_0x436012)return 0x0;const _0x5ae926=isSpheroid(_0x38a8cf);if(_0x406835)return a72_0x3482c1(_0x436012,{'projection':_0x38a8cf});else{if(_0x5ae926){const _0x3c92e0=getGeoProjection(_0x436012,_0x38a8cf);return _0x436012[_0x197c57(0x16d)]()[_0x197c57(0x184)](_0x38a8cf,_0x3c92e0)[_0x197c57(0x17a)]();}return _0x436012['getArea']();}}export function bufferOp(_0x5a33ba,_0x566ad9){const _0x15660b=a72_0x48ffe9,_0xa1e7c2=_parser[_0x15660b(0x17c)](_0x5a33ba),_0x4dd0cf=a72_0x5bfb5c[_0x15660b(0x174)](_0xa1e7c2,_0x566ad9);return _parser[_0x15660b(0x16c)](_0x4dd0cf);}export function bufferPixel(_0x15b364,_0x15c67f,_0x2a161b){const _0x33411c=a72_0x48ffe9,_0x10b286=_0x2a161b['getPixelFromCoordinate'](_0x15b364[_0x33411c(0x185)]()),_0x3cc109=_0x2a161b[_0x33411c(0x176)]([_0x10b286[0x0]+_0x15c67f,_0x10b286[0x1]]),_0x5541b3=a72_0x5436cb(_0x15b364[_0x33411c(0x185)](),_0x3cc109),_0x42bb27=bufferOp(_0x15b364,_0x5541b3);return _0x42bb27;}export function contains(_0x4e0a81,_0x3db35e){const _0xef5d71=a72_0x48ffe9,_0x41fee5=_parser[_0xef5d71(0x17c)](_0x4e0a81),_0x3e195c=_parser[_0xef5d71(0x17c)](_0x3db35e);return a72_0x3b3bab[_0xef5d71(0x16a)](_0x41fee5,_0x3e195c);}export function crosses(_0x374c45,_0x39c64d){const _0x139b0c=a72_0x48ffe9,_0x12a2bb=_parser[_0x139b0c(0x17c)](_0x374c45),_0x10c4f9=_parser['read'](_0x39c64d);return a72_0x3b3bab['crosses'](_0x12a2bb,_0x10c4f9);}export function intersects(_0x2ff696,_0x250655){const _0x738d5c=a72_0x48ffe9,_0x4a1ead=_parser[_0x738d5c(0x17c)](_0x2ff696),_0x3e9301=_parser[_0x738d5c(0x17c)](_0x250655);return a72_0x3b3bab['intersects'](_0x4a1ead,_0x3e9301);}export function intersection(_0x2bb4cb,_0x4e3d1e){const _0x275dd7=a72_0x48ffe9,_0x120d84=_parser[_0x275dd7(0x17c)](_0x2bb4cb),_0x395f22=_parser[_0x275dd7(0x17c)](_0x4e3d1e);return _parser[_0x275dd7(0x16c)](a72_0x44747b['intersection'](_0x120d84,_0x395f22));}export function union(_0x88ccdd,_0x1a875e){const _0x37f141=a72_0x48ffe9,_0x21fee7=_parser[_0x37f141(0x17c)](_0x88ccdd),_0x20eb75=_parser[_0x37f141(0x17c)](_0x1a875e);return _parser[_0x37f141(0x16c)](a72_0x44747b[_0x37f141(0x166)](_0x21fee7,_0x20eb75));}export function difference(_0x3b4638,_0x86abbc){const _0x5d4aba=a72_0x48ffe9,_0x31af6=_parser['read'](_0x3b4638),_0x4dc1ed=_parser[_0x5d4aba(0x17c)](_0x86abbc);return _parser[_0x5d4aba(0x16c)](a72_0x44747b[_0x5d4aba(0x165)](_0x31af6,_0x4dc1ed));}export function distance(_0x3c53ac,_0x4f3b58){const _0x10b72c=a72_0x48ffe9,_0x383940=_parser[_0x10b72c(0x17c)](_0x3c53ac),_0x141a82=_parser[_0x10b72c(0x17c)](_0x4f3b58);return _parser['write'](a72_0x4fe216[_0x10b72c(0x170)](_0x383940,_0x141a82));}function a72_0x2068(_0x26be59,_0x477755){const _0xe469e9=a72_0xe469();return a72_0x2068=function(_0x206862,_0x56bcfc){_0x206862=_0x206862-0x165;let _0x353125=_0xe469e9[_0x206862];return _0x353125;},a72_0x2068(_0x26be59,_0x477755);}export function jstlSplit(_0x1f8cc1,_0x328709){const _0x2a1614=a72_0x48ffe9,_0x4ad47b=_parser['read'](_0x1f8cc1),_0x38d0de=_parser[_0x2a1614(0x17c)](_0x328709),_0x557e36=_0x4ad47b[_0x2a1614(0x16b)]();let _0x467d2a=[];function _0x912bad(_0x5ba8ae,_0x3eb759){const _0x3ad44b=_0x2a1614;let _0x599f3c=_0x5ba8ae[_0x3ad44b(0x179)],_0x2f2733=_0x5ba8ae['getExteriorRing']()[_0x3ad44b(0x166)](_0x3eb759),_0x4d33d5=new a72_0x19f99c();_0x4d33d5['add'](_0x2f2733);let _0x4c0be4=_0x4d33d5[_0x3ad44b(0x186)]();_0x4c0be4['array']['length']==0x2&&_0x4c0be4['array'][_0x3ad44b(0x187)](_0x4caece=>{const _0x4ac766=_0x3ad44b;_0x599f3c[_0x4ac766(0x187)](_0x398a77=>{const _0x28da76=_0x4ac766;let _0x53bd0a=[];for(let _0x3f739a in _0x398a77[_0x28da76(0x185)]()){_0x53bd0a[_0x28da76(0x16e)]([_0x398a77[_0x28da76(0x185)]()[_0x3f739a]['x'],_0x398a77[_0x28da76(0x185)]()[_0x3f739a]['y']]);}_0x398a77=_parser['read']({'coordinates':[_0x53bd0a],'type':_0x28da76(0x177)}),_0x4caece=_0x4caece[_0x28da76(0x165)](_0x398a77);}),_0x467d2a[_0x4ac766(0x16e)](_parser[_0x4ac766(0x16c)](_0x4caece));});}if(_0x557e36===_0x2a1614(0x177))_0x912bad(_0x4ad47b,_0x38d0de);else{if(_0x557e36===_0x2a1614(0x17f))_0x4ad47b[_0x2a1614(0x168)]['forEach']((_0x52ead5,_0x3e47bd)=>{_0x912bad(_0x52ead5,_0x38d0de);});else throw new Error(_0x2a1614(0x16f));}return _0x467d2a;}export function fromWKT(_0x2cca64,_0x10c624,_0x5c84f9){const _0x20d631=a72_0x48ffe9,_0x39347d=new a72_0x22d2f6();_0x10c624&&registerProj(_0x10c624);_0x5c84f9&&registerProj(_0x5c84f9);const _0x32466d=_0x39347d['readGeometry'](_0x2cca64);if(isGeometryEmpty(_0x32466d))return null;return _0x10c624&&_0x5c84f9?_0x32466d[_0x20d631(0x184)](new a72_0x5a9e82({'code':_0x10c624}),new a72_0x5a9e82({'code':_0x5c84f9})):_0x32466d;}export function fromWKTs(_0xc216a4,_0x50f9c8,_0x1a362d){const _0xbcae4a=a72_0x48ffe9,_0xbc0e3=new a72_0x22d2f6();let _0x118bdb=[];_0x50f9c8&&registerProj(_0x50f9c8);_0x1a362d&&registerProj(_0x1a362d);let _0x1acd5e,_0x42df44;_0x50f9c8&&_0x1a362d&&(_0x1acd5e=new a72_0x5a9e82({'code':_0x50f9c8}),_0x42df44=new a72_0x5a9e82({'code':_0x1a362d}));for(let _0x1ac752=0x0;_0x1ac752<_0xc216a4['length'];_0x1ac752++){const _0x1a1d2e=_0xbc0e3['readGeometry'](_0xc216a4[_0x1ac752]);if(isGeometryEmpty(_0x1a1d2e))continue;_0x1acd5e&&_0x42df44?_0x118bdb[_0xbcae4a(0x16e)](_0x1a1d2e[_0xbcae4a(0x184)](_0x1acd5e,_0x42df44)):_0x118bdb[_0xbcae4a(0x16e)](_0x1a1d2e);}return _0x118bdb;}export function toWKT(_0x4d5692){const _0x2198aa=a72_0x48ffe9,_0x4ed08d=new a72_0x22d2f6();if(isGeometryEmpty(_0x4d5692))return'';if(_0x4d5692 instanceof Circle){const _0x1eabf3=fromCircle(_0x4d5692);return _0x4ed08d[_0x2198aa(0x182)](_0x1eabf3);}else return _0x4ed08d[_0x2198aa(0x182)](_0x4d5692);}export function toGeoJSON(_0x3a5ece){const _0x368080=a72_0x48ffe9,_0xde0ff7=new a72_0xeac95d();return _0xde0ff7[_0x368080(0x182)](_0x3a5ece);}export function fromGeoJSON(_0x44655f){const _0x2e9e17=a72_0x48ffe9,_0x5c7b1e=new a72_0xeac95d();return _0x5c7b1e[_0x2e9e17(0x17e)](_0x44655f);}export function toEsriJSON(_0x53a9f4){const _0x42e997=a72_0x48ffe9,_0x6aa1b9=new a72_0x214f6a();return _0x6aa1b9[_0x42e997(0x182)](_0x53a9f4);}export function fromEsriJSON(_0x12e323){const _0x48507d=new a72_0x214f6a();return _0x48507d['readGeometry'](_0x12e323);}export function expandExtent(_0x406d0e,_0x20b6f6){const _0xf22c08=_0x406d0e[0x0],_0xcc0e00=_0x406d0e[0x1],_0x291117=_0x406d0e[0x2],_0x201b15=_0x406d0e[0x3],_0x483a4c=(_0xf22c08+_0x291117)/0x2,_0x4feb0f=(_0xcc0e00+_0x201b15)/0x2,_0x4d2125=_0x291117-_0xf22c08,_0x6b5675=_0x201b15-_0xcc0e00,_0x23996c=_0x4d2125*_0x20b6f6,_0x45e143=_0x6b5675*_0x20b6f6,_0x2c9e30=_0x483a4c-_0x23996c/0x2,_0x3dcf59=_0x483a4c+_0x23996c/0x2,_0x171805=_0x4feb0f-_0x45e143/0x2,_0x5ead08=_0x4feb0f+_0x45e143/0x2;return[_0x2c9e30,_0x171805,_0x3dcf59,_0x5ead08];}export function isGeometryEmpty(_0x256f08){const _0x477e58=a72_0x48ffe9;if(!_0x256f08)return!![];if(_0x256f08 instanceof Point||_0x256f08 instanceof MultiPoint){const _0x238b37=_0x256f08['getCoordinates']();return!_0x238b37||_0x238b37['some'](_0x9c64f1=>isNaN(_0x9c64f1));}else{if(_0x256f08 instanceof LineString||_0x256f08 instanceof MultiLineString)return _0x256f08[_0x477e58(0x185)]()['length']<0x2;else{if(_0x256f08 instanceof Polygon){const _0x9703fa=_0x256f08[_0x477e58(0x185)]();return!_0x9703fa||_0x9703fa['length']===0x0||_0x9703fa[0x0][_0x477e58(0x178)]<0x4;}else{if(_0x256f08 instanceof MultiPolygon){const _0x30a4cd=_0x256f08[_0x477e58(0x185)]();return!_0x30a4cd||_0x30a4cd[_0x477e58(0x178)]===0x0||_0x30a4cd[0x0][0x0][_0x477e58(0x178)]<0x4;}}}}return![];}
@@ -1 +1 @@
1
- function a73_0x5e55(){const _0x1bf0a7=['push','&width=','473562ldjyIQ','wms','148lPAtNT','&format=application/json','includes','children','parentId','3818619IBZlWX','sort','108768AiauFI','replace','get','url','631608UJVvIM','40247ERnBia','82kcDMcm','38592876xkxZGi','title','95FYoOrr','showIndex','sublayers','112610pEjFFf','Legend','&format=image/png','gwc/service/wmts','geoserver','data','308LflTFq','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','layerType','length','90Cbgbwu','assign','forEach','indexOf'];a73_0x5e55=function(){return _0x1bf0a7;};return a73_0x5e55();}(function(_0x33631b,_0x4f11c3){const _0x49e916=a73_0x32f6,_0x9a341f=_0x33631b();while(!![]){try{const _0x3e5c89=parseInt(_0x49e916(0x1b0))/0x1*(-parseInt(_0x49e916(0x1b1))/0x2)+-parseInt(_0x49e916(0x1ab))/0x3*(-parseInt(_0x49e916(0x1a4))/0x4)+-parseInt(_0x49e916(0x1b4))/0x5*(parseInt(_0x49e916(0x1a2))/0x6)+parseInt(_0x49e916(0x1a9))/0x7+-parseInt(_0x49e916(0x1af))/0x8*(parseInt(_0x49e916(0x1c1))/0x9)+parseInt(_0x49e916(0x1b7))/0xa*(-parseInt(_0x49e916(0x1bd))/0xb)+parseInt(_0x49e916(0x1b2))/0xc;if(_0x3e5c89===_0x4f11c3)break;else _0x9a341f['push'](_0x9a341f['shift']());}catch(_0x443836){_0x9a341f['push'](_0x9a341f['shift']());}}}(a73_0x5e55,0xcf278));import a73_0x1099f6 from'../utils/AxiosUtil';function a73_0x32f6(_0x1a400c,_0x50f92c){const _0x5e557a=a73_0x5e55();return a73_0x32f6=function(_0x32f6eb,_0x27342a){_0x32f6eb=_0x32f6eb-0x19e;let _0x238d03=_0x5e557a[_0x32f6eb];return _0x238d03;},a73_0x32f6(_0x1a400c,_0x50f92c);}export function mapServiceTreeTransform(_0x4a3665){const _0x1423a9=a73_0x32f6;let _0x90a519=[];return _0x4a3665&&_0x4a3665['length']>0x0&&(_0x4a3665[_0x1423a9(0x19e)](_0x305c0f=>{const _0x1adb19=_0x1423a9;(!_0x305c0f[_0x1adb19(0x1a8)]||_0x305c0f[_0x1adb19(0x1a8)]=='')&&_0x90a519[_0x1adb19(0x1a0)](Object[_0x1adb19(0x1c2)]({},_0x305c0f));}),_0x90a519=_0x90a519[_0x1423a9(0x1aa)]((_0x31b2f0,_0xe457ba)=>{const _0x23cd8b=_0x1423a9;return(_0x31b2f0[_0x23cd8b(0x1b5)]?_0x31b2f0[_0x23cd8b(0x1b5)]:0x0)-(_0xe457ba['showIndex']?_0xe457ba[_0x23cd8b(0x1b5)]:0x0);}),_0x90a519[_0x1423a9(0x19e)](_0x5b8bb7=>{_0x5b8bb7['children']=setChildren(_0x5b8bb7['id'],_0x4a3665);})),_0x90a519;}function setChildren(_0x2ddda0,_0x5a1f24){const _0x5595b7=a73_0x32f6;let _0x424007=[];return _0x5a1f24[_0x5595b7(0x19e)](_0x36c468=>{const _0x3d5682=_0x5595b7;_0x2ddda0===(_0x36c468[_0x3d5682(0x1a8)]==null?'':_0x36c468[_0x3d5682(0x1a8)])&&_0x424007[_0x3d5682(0x1a0)](Object[_0x3d5682(0x1c2)]({},_0x36c468));}),_0x424007=_0x424007[_0x5595b7(0x1aa)]((_0x4ff7ab,_0x4e3ca0)=>{const _0x2c1ec9=_0x5595b7;return(_0x4ff7ab[_0x2c1ec9(0x1b5)]?_0x4ff7ab[_0x2c1ec9(0x1b5)]:0x0)-(_0x4e3ca0[_0x2c1ec9(0x1b5)]?_0x4e3ca0['showIndex']:0x0);}),_0x424007['length']>0x0&&_0x424007['forEach'](_0xfaa5f7=>{const _0x51067b=_0x5595b7;_0xfaa5f7[_0x51067b(0x1a7)]=setChildren(_0xfaa5f7['id'],_0x5a1f24);}),_0x424007;}export async function getLayerLegend(_0x28f7cd,_0xa53a5a){const _0x55b0cc=a73_0x32f6;if(!_0x28f7cd||!_0x28f7cd[_0x55b0cc(0x1ae)]||!_0x28f7cd[_0x55b0cc(0x1b6)]||_0x28f7cd[_0x55b0cc(0x1b6)][_0x55b0cc(0x1c0)]==0x0||!_0x28f7cd['layerType'])return;if(_0x28f7cd[_0x55b0cc(0x1bf)][_0x55b0cc(0x19f)](_0x55b0cc(0x1bb))>-0x1)return await getGeoServerLayerLegend(_0x28f7cd,_0xa53a5a);return;}export async function getGeoServerLayerLegend(_0x2b9c28,_0x19207e){const _0x1da4c8=a73_0x32f6;if(!_0x2b9c28||!_0x2b9c28[_0x1da4c8(0x1ae)]||!_0x2b9c28['sublayers']||_0x2b9c28[_0x1da4c8(0x1b6)][_0x1da4c8(0x1c0)]==0x0)return;let _0x452374=_0x2b9c28[_0x1da4c8(0x1ae)];const _0x47201f=_0x2b9c28[_0x1da4c8(0x1b6)];_0x452374=_0x452374[_0x1da4c8(0x1ac)](_0x1da4c8(0x1ba),_0x1da4c8(0x1a3));const _0x430d43=[];for(let _0x4b1554=0x0;_0x4b1554<_0x47201f[_0x1da4c8(0x1c0)];_0x4b1554++){const _0x3426da=_0x47201f[_0x4b1554];let _0x28fe08=_0x1da4c8(0x1be)+_0x3426da+_0x1da4c8(0x1a5);const _0x4d9a6a=_0x452374[_0x1da4c8(0x1a6)]('?')?_0x452374+'&'+_0x28fe08:_0x452374+'?'+_0x28fe08,_0x3c1e6e=await a73_0x1099f6[_0x1da4c8(0x1ad)](_0x4d9a6a);if(_0x3c1e6e[_0x1da4c8(0x1bc)]&&_0x3c1e6e[_0x1da4c8(0x1bc)][_0x1da4c8(0x1b8)]&&_0x3c1e6e['data'][_0x1da4c8(0x1b8)][_0x1da4c8(0x1c0)]>0x0)_0x430d43['push'](_0x3c1e6e[_0x1da4c8(0x1bc)][_0x1da4c8(0x1b8)][0x0]);else{let _0x337482=_0x19207e?_0x19207e:0x10,_0x19b67d='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x3426da+_0x1da4c8(0x1a1)+_0x337482+'&height='+_0x337482+_0x1da4c8(0x1b9);const _0x171813=_0x452374[_0x1da4c8(0x1a6)]('?')?_0x452374+'&'+_0x19b67d:_0x452374+'?'+_0x19b67d;_0x430d43[_0x1da4c8(0x1a0)]({'title':_0x2b9c28[_0x1da4c8(0x1b3)],'url':_0x171813});}}return _0x430d43;}
1
+ (function(_0x2c3f8a,_0x3d31b6){const _0x4fa612=a73_0xdfdc,_0x2e73c2=_0x2c3f8a();while(!![]){try{const _0x39d7cf=-parseInt(_0x4fa612(0x1df))/0x1*(parseInt(_0x4fa612(0x1d7))/0x2)+-parseInt(_0x4fa612(0x1e5))/0x3+parseInt(_0x4fa612(0x1e6))/0x4+parseInt(_0x4fa612(0x1eb))/0x5+-parseInt(_0x4fa612(0x1e2))/0x6+parseInt(_0x4fa612(0x1f3))/0x7+-parseInt(_0x4fa612(0x1f2))/0x8*(-parseInt(_0x4fa612(0x1da))/0x9);if(_0x39d7cf===_0x3d31b6)break;else _0x2e73c2['push'](_0x2e73c2['shift']());}catch(_0x481674){_0x2e73c2['push'](_0x2e73c2['shift']());}}}(a73_0x50c7,0x2f436));function a73_0xdfdc(_0x411e39,_0x33ee7f){const _0x50c772=a73_0x50c7();return a73_0xdfdc=function(_0xdfdc4d,_0x1aeb4f){_0xdfdc4d=_0xdfdc4d-0x1d4;let _0x581ab1=_0x50c772[_0xdfdc4d];return _0x581ab1;},a73_0xdfdc(_0x411e39,_0x33ee7f);}import a73_0xa7ee51 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0xbd8c96){const _0x160348=a73_0xdfdc;let _0x50440c=[];return _0xbd8c96&&_0xbd8c96['length']>0x0&&(_0xbd8c96[_0x160348(0x1ec)](_0x292a5f=>{const _0x5877b3=_0x160348;(!_0x292a5f[_0x5877b3(0x1f0)]||_0x292a5f['parentId']=='')&&_0x50440c[_0x5877b3(0x1ea)](Object['assign']({},_0x292a5f));}),_0x50440c=_0x50440c['sort']((_0x490601,_0x338ee9)=>{const _0x33d322=_0x160348;return(_0x490601[_0x33d322(0x1e4)]?_0x490601[_0x33d322(0x1e4)]:0x0)-(_0x338ee9['showIndex']?_0x338ee9['showIndex']:0x0);}),_0x50440c[_0x160348(0x1ec)](_0x26f41e=>{const _0x3385f1=_0x160348;_0x26f41e[_0x3385f1(0x1e3)]=setChildren(_0x26f41e['id'],_0xbd8c96);})),_0x50440c;}function setChildren(_0x1f52e4,_0x2ba8f7){const _0x433e54=a73_0xdfdc;let _0x290ea2=[];return _0x2ba8f7['forEach'](_0x15d4c6=>{const _0x426fa0=a73_0xdfdc;_0x1f52e4===(_0x15d4c6['parentId']==null?'':_0x15d4c6['parentId'])&&_0x290ea2[_0x426fa0(0x1ea)](Object[_0x426fa0(0x1e9)]({},_0x15d4c6));}),_0x290ea2=_0x290ea2[_0x433e54(0x1e0)]((_0x50eb14,_0x49554f)=>{const _0x361353=_0x433e54;return(_0x50eb14[_0x361353(0x1e4)]?_0x50eb14[_0x361353(0x1e4)]:0x0)-(_0x49554f[_0x361353(0x1e4)]?_0x49554f['showIndex']:0x0);}),_0x290ea2['length']>0x0&&_0x290ea2[_0x433e54(0x1ec)](_0x2fc40b=>{const _0x14aa21=_0x433e54;_0x2fc40b[_0x14aa21(0x1e3)]=setChildren(_0x2fc40b['id'],_0x2ba8f7);}),_0x290ea2;}function a73_0x50c7(){const _0x10ffc6=['get','replace','includes','parentId','title','1385192cwzkYZ','2088478WwugqJ','Legend','layerType','wms','4ueBjdF','&format=application/json','&format=image/png','18Uwtgnc','sublayers','geoserver','data','&width=','128551OmXmtM','sort','url','1660464wHrMjT','children','showIndex','418212yymgnF','322460xPcOiS','indexOf','length','assign','push','707865hNeAqY','forEach'];a73_0x50c7=function(){return _0x10ffc6;};return a73_0x50c7();}export async function getLayerLegend(_0x5d503b,_0x3f9be0){const _0x5aa9b7=a73_0xdfdc;if(!_0x5d503b||!_0x5d503b[_0x5aa9b7(0x1e1)]||!_0x5d503b['sublayers']||_0x5d503b[_0x5aa9b7(0x1db)][_0x5aa9b7(0x1e8)]==0x0||!_0x5d503b[_0x5aa9b7(0x1d5)])return;if(_0x5d503b['layerType'][_0x5aa9b7(0x1e7)](_0x5aa9b7(0x1dc))>-0x1)return await getGeoServerLayerLegend(_0x5d503b,_0x3f9be0);return;}export async function getGeoServerLayerLegend(_0x2aecfa,_0x5c3db4){const _0x11cc1a=a73_0xdfdc;if(!_0x2aecfa||!_0x2aecfa['url']||!_0x2aecfa['sublayers']||_0x2aecfa['sublayers'][_0x11cc1a(0x1e8)]==0x0)return;let _0x1d8680=_0x2aecfa['url'];const _0x17a75f=_0x2aecfa[_0x11cc1a(0x1db)];_0x1d8680=_0x1d8680[_0x11cc1a(0x1ee)]('gwc/service/wmts',_0x11cc1a(0x1d6));const _0x18d183=[];for(let _0x4fb826=0x0;_0x4fb826<_0x17a75f[_0x11cc1a(0x1e8)];_0x4fb826++){const _0x57d250=_0x17a75f[_0x4fb826];let _0x52a4cd='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x57d250+_0x11cc1a(0x1d8);const _0x1d7f6b=_0x1d8680[_0x11cc1a(0x1ef)]('?')?_0x1d8680+'&'+_0x52a4cd:_0x1d8680+'?'+_0x52a4cd,_0x4b6f5e=await a73_0xa7ee51[_0x11cc1a(0x1ed)](_0x1d7f6b);if(_0x4b6f5e[_0x11cc1a(0x1dd)]&&_0x4b6f5e[_0x11cc1a(0x1dd)]['Legend']&&_0x4b6f5e['data']['Legend'][_0x11cc1a(0x1e8)]>0x0)_0x18d183['push'](_0x4b6f5e[_0x11cc1a(0x1dd)][_0x11cc1a(0x1d4)][0x0]);else{let _0x1a6d4b=_0x5c3db4?_0x5c3db4:0x10,_0x3c1322='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x57d250+_0x11cc1a(0x1de)+_0x1a6d4b+'&height='+_0x1a6d4b+_0x11cc1a(0x1d9);const _0x83da44=_0x1d8680[_0x11cc1a(0x1ef)]('?')?_0x1d8680+'&'+_0x3c1322:_0x1d8680+'?'+_0x3c1322;_0x18d183[_0x11cc1a(0x1ea)]({'title':_0x2aecfa[_0x11cc1a(0x1f1)],'url':_0x83da44});}}return _0x18d183;}