ym-gis-2d 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.d.ts.map +1 -1
  4. package/controls/LegendControl.js +1 -1
  5. package/controls/LegendControl.js.map +1 -1
  6. package/controls/MousePositionControl.js +1 -1
  7. package/controls/SwipeLayerControl.js +1 -1
  8. package/conver/kml/geoJSONToKml.js +1 -1
  9. package/conver/kml/index.js +1 -1
  10. package/conver/kml/kmlToGeoJSON.js +1 -1
  11. package/entity/Feature.js +1 -1
  12. package/entity/GeometryType.js +1 -1
  13. package/feature/FeatureManager.js +1 -1
  14. package/index.js +1 -1
  15. package/interaction/Draw.js +1 -1
  16. package/interaction/InteractionManager.js +1 -1
  17. package/interaction/Select.js +1 -1
  18. package/layers/ArcgisDynamicLayer.js +1 -1
  19. package/layers/ArcgisFeatureLayer.js +1 -1
  20. package/layers/ArcgisTileLayer.js +1 -1
  21. package/layers/ArcgisWMSLayer.js +1 -1
  22. package/layers/ArcgisWMTSLayer.js +1 -1
  23. package/layers/GeoserverVectorTile.js +1 -1
  24. package/layers/GeoserverWFSLayer.js +1 -1
  25. package/layers/GeoserverWMSLayer.js +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/LayerManager.js +1 -1
  28. package/layers/TDTLayer.js +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/View.js +1 -1
  31. package/package.json +1 -1
  32. package/plot/Plot.js +1 -1
  33. package/plot/geometry/point/Point.js +1 -1
  34. package/plot/geometry/polygon/BasePolygon.js +1 -1
  35. package/plot/geometry/polygon/Circle.js +1 -1
  36. package/plot/geometry/polygon/Polygon.js +1 -1
  37. package/plot/geometry/polygon/RectAngle.js +1 -1
  38. package/plot/geometry/polyline/BaseLine.js +1 -1
  39. package/plot/geometry/polyline/Polyline.js +1 -1
  40. package/style/PointStyleFormat.js +1 -1
  41. package/style/PolygonStyleFormat.js +1 -1
  42. package/style/PolylineStyleFormat.js +1 -1
  43. package/style/StyleManager.js +1 -1
  44. package/style/common.js +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/ResolutionUtil.js +1 -1
  52. package/utils/StringUtil.js +1 -1
  53. package/utils/StyleUtil.js +1 -1
  54. package/utils/UrlUtil.js +1 -1
  55. package/utils/XmlUtil.js +1 -1
  56. package/utils/format/CQL.js +1 -1
  57. package/utils/format/IsMatchCql.js +1 -1
  58. package/utils/plug/canvas/ImageCache.js +1 -1
  59. package/utils/plug/canvas/PinBuilder.js +1 -1
  60. package/utils/plug/canvas/PinIcon.js +1 -1
  61. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  62. package/utils/tasks/esri/Identify.js +1 -1
  63. package/utils/tasks/esri/Query.js +1 -1
  64. package/utils/tasks/esri/Task.js +1 -1
  65. package/utils/tasks/geoserver/QueryTask.js +1 -1
  66. package/utils/tasks/index.js +1 -1
  67. package/ym-gis-2d.es.js +1 -1
  68. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a65_0x43f5(){const _0x10e7eb=['strokeStyle','44YXRvwv','2015976rssyGE','restore','2145600lPHReS','9786xAwRXv','atan2','getGeometry','cos','sin','glowPower','220Naqeaz','874705JUBcoL','getType','stroke','toString','closed','7ApAzSS','zIndex','lineWidth','opacity','getCoordinates','save','beginPath','lineCap','white','3129784TVJGFy','shadowColor','butt','10juCTgw','moveTo','setRenderer','5EfSrCM','length','setGeometry','MultiLineString','color','concat','outline','lineTo','push','sqrt','getFlatMidpoints','lineType','width','label','8163981jqGaoH','outlineWidth','outlineColor','dash','context','3021264wWgXJy','glow','arrow','pow'];a65_0x43f5=function(){return _0x10e7eb;};return a65_0x43f5();}function a65_0x5075(_0x7084ea,_0x109460){const _0x43f5ef=a65_0x43f5();return a65_0x5075=function(_0x5075c1,_0x49747c){_0x5075c1=_0x5075c1-0x15c;let _0x56581d=_0x43f5ef[_0x5075c1];return _0x56581d;},a65_0x5075(_0x7084ea,_0x109460);}(function(_0x2c8c2e,_0x2ecf59){const _0x2f515e=a65_0x5075,_0x2c8771=_0x2c8c2e();while(!![]){try{const _0x70d84c=-parseInt(_0x2f515e(0x18d))/0x1+parseInt(_0x2f515e(0x18c))/0x2*(parseInt(_0x2f515e(0x186))/0x3)+-parseInt(_0x2f515e(0x17d))/0x4*(-parseInt(_0x2f515e(0x16a))/0x5)+-parseInt(_0x2f515e(0x183))/0x6*(parseInt(_0x2f515e(0x192))/0x7)+parseInt(_0x2f515e(0x164))/0x8+parseInt(_0x2f515e(0x178))/0x9*(parseInt(_0x2f515e(0x167))/0xa)+parseInt(_0x2f515e(0x182))/0xb*(-parseInt(_0x2f515e(0x185))/0xc);if(_0x70d84c===_0x2ecf59)break;else _0x2c8771['push'](_0x2c8771['shift']());}catch(_0x5d6c12){_0x2c8771['push'](_0x2c8771['shift']());}}}(a65_0x43f5,0x76ca7));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(_0x3c60a9,_0x1e1d88,_0x8a0dc4,_0x531adb){const _0x51a589=a65_0x5075;var _0x4a37eb,_0x10e7d6,_0x255030;let _0x164fa6=(_0x4a37eb=_0x3c60a9[_0x51a589(0x15c)])!==null&&_0x4a37eb!==void 0x0?_0x4a37eb:0x0;const _0x299639=_0x526998=>{const _0x2208c8=_0x51a589;var _0x2d5903=_0x526998[_0x2208c8(0x188)]();if(_0x2d5903)return _getRealPolyline(_0x2d5903,_0x3c60a9);return _0x2d5903;},_0x2c555d=_0x173e7c=>{const _0x652d0c=_0x51a589;var _0x430cf1=_0x173e7c[_0x652d0c(0x188)]();let _0x9ed3b3=_0x430cf1;_0x430cf1&&(_0x9ed3b3=_getRealPolyline(_0x430cf1,_0x3c60a9));if(_0x9ed3b3&&_0x9ed3b3[_0x652d0c(0x18e)]()==='LineString')return new Point(_0x9ed3b3['getFlatMidpoint']());else{let _0x1ec741=_0x9ed3b3[_0x652d0c(0x174)](),_0x2cfc31=0x2,_0x26c9a9=[];for(let _0x4e55ab=0x0,_0x210f48=_0x1ec741[_0x652d0c(0x16b)];_0x4e55ab<_0x210f48;_0x4e55ab+=_0x2cfc31){let _0x3fe636=[_0x1ec741[_0x4e55ab],_0x1ec741[_0x4e55ab+0x1]];_0x26c9a9[_0x652d0c(0x172)](_0x3fe636);}return new MultiPoint(_0x26c9a9);}};let _0x1f387c=new Style({'geometry':_0x299639,'stroke':new Stroke({'color':getColor(_0x3c60a9[_0x51a589(0x16e)],_0x3c60a9[_0x51a589(0x15e)]),'width':_0x3c60a9[_0x51a589(0x176)]}),'zIndex':_0x164fa6}),_0x5e2fda=[_0x1f387c];if(_0x3c60a9[_0x51a589(0x175)]===_0x51a589(0x17b)){let _0x44fd75=_0x3c60a9[_0x51a589(0x179)]/0x2,_0x443ea9=new Style({'geometry':_0x299639,'zIndex':_0x164fa6,'stroke':new Stroke({'color':getColor(_0x3c60a9[_0x51a589(0x16e)],_0x3c60a9[_0x51a589(0x15e)]),'width':_0x3c60a9['width'],'lineCap':'butt','lineDash':[_0x44fd75,_0x44fd75]})}),_0x433864=new Style({'geometry':_0x299639,'zIndex':_0x164fa6+0.5,'stroke':new Stroke({'color':getColor(_0x3c60a9[_0x51a589(0x17a)],Number((_0x255030=(_0x10e7d6=_0x3c60a9['outlineOpacity'])!==null&&_0x10e7d6!==void 0x0?_0x10e7d6:_0x3c60a9[_0x51a589(0x15e)])!==null&&_0x255030!==void 0x0?_0x255030:0x1)),'width':_0x3c60a9[_0x51a589(0x176)],'lineCap':_0x51a589(0x166),'lineDash':[_0x44fd75,_0x44fd75],'lineDashOffset':_0x44fd75})});_0x5e2fda=[_0x443ea9,_0x433864];}_0x3c60a9['lineType']===_0x51a589(0x17f)&&_0x1f387c['setRenderer']((_0x1cf8d1,_0x5cbc31)=>{const _0x4cde32=_0x51a589;let _0x1e9c54=_0x5cbc31['context'],_0x161434=parseInt((_0x3c60a9['width']/0x4)[_0x4cde32(0x190)]()),_0x5a4c1e=0xa,_0x3ef2d3=Math[_0x4cde32(0x173)](Math[_0x4cde32(0x180)](_0x5a4c1e,0x2)+Math['pow'](_0x3c60a9[_0x4cde32(0x176)]/0x2,0x2)),_0xc31999=0x2d,_0x11f0c3=_0x1cf8d1[_0x1cf8d1[_0x4cde32(0x16b)]-0x2][0x0],_0x33eb12=_0x1cf8d1[_0x1cf8d1[_0x4cde32(0x16b)]-0x2][0x1],_0x53262c=_0x1cf8d1[_0x1cf8d1['length']-0x1][0x0],_0x460db4=_0x1cf8d1[_0x1cf8d1[_0x4cde32(0x16b)]-0x1][0x1],_0xebfa68=Math[_0x4cde32(0x187)](_0x33eb12-_0x460db4,_0x11f0c3-_0x53262c)*0xb4/Math['PI'],_0x290e4d=(_0xebfa68+_0xc31999)*Math['PI']/0xb4,_0x182bfd=(_0xebfa68-_0xc31999)*Math['PI']/0xb4,_0x300e22=_0x3ef2d3*Math['cos'](_0x290e4d),_0x3ffd2f=_0x3ef2d3*Math[_0x4cde32(0x18a)](_0x290e4d),_0x4d9c23=_0x3ef2d3*Math[_0x4cde32(0x189)](_0x182bfd),_0x586b7c=_0x3ef2d3*Math[_0x4cde32(0x18a)](_0x182bfd);_0x1e9c54[_0x4cde32(0x160)](),_0x1e9c54[_0x4cde32(0x161)]();let _0xd36115,_0x490afa;for(let _0x41d704=0x0;_0x41d704<_0x1cf8d1[_0x4cde32(0x16b)];_0x41d704++){_0x41d704===0x0?_0x1e9c54[_0x4cde32(0x168)](_0x1cf8d1[_0x41d704][0x0],_0x1cf8d1[_0x41d704][0x1]):_0x1e9c54[_0x4cde32(0x171)](_0x1cf8d1[_0x41d704][0x0],_0x1cf8d1[_0x41d704][0x1]);}_0x1e9c54[_0x4cde32(0x181)]=getColor(_0x3c60a9[_0x4cde32(0x16e)],_0x3c60a9[_0x4cde32(0x15e)]),_0x1e9c54['lineWidth']=_0x161434,_0x1e9c54[_0x4cde32(0x162)]=_0x4cde32(0x166),_0x1e9c54[_0x4cde32(0x18f)](),_0xd36115=_0x53262c+_0x300e22,_0x490afa=_0x460db4+_0x3ffd2f,_0x1e9c54[_0x4cde32(0x168)](_0xd36115,_0x490afa),_0x1e9c54[_0x4cde32(0x171)](_0x53262c,_0x460db4),_0xd36115=_0x53262c+_0x4d9c23,_0x490afa=_0x460db4+_0x586b7c,_0x1e9c54[_0x4cde32(0x171)](_0xd36115,_0x490afa),_0x1e9c54[_0x4cde32(0x162)]='butt',_0x1e9c54[_0x4cde32(0x18f)](),_0x1e9c54[_0x4cde32(0x184)]();});_0x3c60a9[_0x51a589(0x175)]===_0x51a589(0x17e)&&_0x1f387c[_0x51a589(0x169)]((_0x4ee44d,_0xf09ecd)=>{const _0x70ce59=_0x51a589;let _0x5d5455=_0xf09ecd[_0x70ce59(0x17c)];_0x5d5455[_0x70ce59(0x160)]();for(let _0x42f595=0x0;_0x42f595<0x4;_0x42f595++){let _0x2760b4=_0x3c60a9[_0x70ce59(0x176)]/0xa*(_0x3c60a9[_0x70ce59(0x18b)]===0x0?0x1:_0x3c60a9[_0x70ce59(0x18b)]);_0x5d5455[_0x70ce59(0x165)]=getColor(_0x3c60a9[_0x70ce59(0x16e)],_0x3c60a9['opacity']),_0x5d5455['shadowBlur']=_0x3c60a9['width']/0x5*0x2,_0x5d5455[_0x70ce59(0x161)]();for(let _0x6bf924=0x0;_0x6bf924<_0x4ee44d['length'];_0x6bf924++){_0x6bf924===0x0?_0x5d5455[_0x70ce59(0x168)](_0x4ee44d[_0x6bf924][0x0],_0x4ee44d[_0x6bf924][0x1]):_0x5d5455[_0x70ce59(0x171)](_0x4ee44d[_0x6bf924][0x0],_0x4ee44d[_0x6bf924][0x1]);}_0x5d5455[_0x70ce59(0x162)]='butt',_0x5d5455['lineWidth']=_0x2760b4,_0x5d5455['strokeStyle']=getColor(_0x70ce59(0x163),_0x3c60a9[_0x70ce59(0x15e)]),_0x5d5455['stroke']();}_0x5d5455[_0x70ce59(0x184)]();});_0x3c60a9[_0x51a589(0x175)]===_0x51a589(0x170)&&_0x1f387c[_0x51a589(0x169)]((_0x469c0a,_0x45c3b8)=>{const _0x10f292=_0x51a589;let _0x5cccb1=_0x45c3b8[_0x10f292(0x17c)];_0x5cccb1[_0x10f292(0x160)](),_0x5cccb1[_0x10f292(0x161)]();for(let _0x55b2a2=0x0;_0x55b2a2<_0x469c0a[_0x10f292(0x16b)];_0x55b2a2++){_0x55b2a2===0x0?_0x5cccb1['moveTo'](_0x469c0a[_0x55b2a2][0x0],_0x469c0a[_0x55b2a2][0x1]):_0x5cccb1[_0x10f292(0x171)](_0x469c0a[_0x55b2a2][0x0],_0x469c0a[_0x55b2a2][0x1]);}_0x5cccb1['lineCap']=_0x10f292(0x166),_0x5cccb1[_0x10f292(0x15d)]=_0x3c60a9['width'],_0x5cccb1[_0x10f292(0x181)]=getColor(_0x3c60a9[_0x10f292(0x17a)],_0x3c60a9['opacity']),_0x5cccb1[_0x10f292(0x18f)](),_0x5cccb1[_0x10f292(0x161)]();for(let _0x28d4c4=0x0;_0x28d4c4<_0x469c0a[_0x10f292(0x16b)];_0x28d4c4++){_0x28d4c4===0x0?_0x5cccb1[_0x10f292(0x168)](_0x469c0a[_0x28d4c4][0x0],_0x469c0a[_0x28d4c4][0x1]):_0x5cccb1[_0x10f292(0x171)](_0x469c0a[_0x28d4c4][0x0],_0x469c0a[_0x28d4c4][0x1]);}_0x5cccb1['lineCap']='butt',_0x3c60a9[_0x10f292(0x179)]>=_0x3c60a9['width']&&(_0x3c60a9[_0x10f292(0x179)]=_0x3c60a9[_0x10f292(0x176)]-0x1),_0x5cccb1[_0x10f292(0x15d)]=_0x3c60a9['width']-_0x3c60a9[_0x10f292(0x179)],_0x5cccb1[_0x10f292(0x181)]=getColor(_0x3c60a9[_0x10f292(0x16e)],_0x3c60a9[_0x10f292(0x15e)]),_0x5cccb1[_0x10f292(0x18f)](),_0x5cccb1[_0x10f292(0x184)]();});let _0x162bf2=getImageOlStyle(_0x3c60a9['billboard'],_0x164fa6,_0x8a0dc4,_0x531adb);_0x162bf2&&(_0x162bf2[_0x51a589(0x16c)](_0x2c555d),_0x5e2fda[_0x51a589(0x172)](_0x162bf2));if(_0x3c60a9[_0x51a589(0x177)]&&_0x3c60a9[_0x51a589(0x177)]['show']!==![]){let _0x18065b=new Style({'geometry':_0x2c555d,'text':createTextStyle(_0x3c60a9[_0x51a589(0x177)],_0x1e1d88,_0x8a0dc4,_0x531adb),'zIndex':Number(_0x164fa6)+0x1});_0x5e2fda[_0x51a589(0x172)](_0x18065b);}return _0x5e2fda;}function _getRealPolyline(_0x39026e,_0x22e4ab){const _0x475cc8=a65_0x5075;if(!(_0x22e4ab===null||_0x22e4ab===void 0x0?void 0x0:_0x22e4ab[_0x475cc8(0x191)]))return _0x39026e;else{if(_0x39026e['getType']()===_0x475cc8(0x16d)){let _0xac76ca=_0x39026e[_0x475cc8(0x15f)]();for(let _0x174169 in _0xac76ca){let _0x1d2940=_0xac76ca[_0x174169];_0xac76ca[_0x174169]=_0x1d2940[_0x475cc8(0x16f)]([_0x1d2940[0x0]]);}return new MultiLineString(_0xac76ca);}else return new LineString(_0x39026e[_0x475cc8(0x15f)]()[_0x475cc8(0x16f)]([_0x39026e['getFirstCoordinate']()]));}}
1
+ (function(_0x426c4d,_0x2d4cf7){const _0x341347=a65_0x2e97,_0x34a0db=_0x426c4d();while(!![]){try{const _0x538332=parseInt(_0x341347(0x107))/0x1*(parseInt(_0x341347(0xdc))/0x2)+parseInt(_0x341347(0x101))/0x3*(parseInt(_0x341347(0xe9))/0x4)+parseInt(_0x341347(0x10e))/0x5*(-parseInt(_0x341347(0xf8))/0x6)+parseInt(_0x341347(0xec))/0x7+-parseInt(_0x341347(0x100))/0x8*(parseInt(_0x341347(0xff))/0x9)+-parseInt(_0x341347(0xf4))/0xa+parseInt(_0x341347(0xe4))/0xb*(parseInt(_0x341347(0x105))/0xc);if(_0x538332===_0x2d4cf7)break;else _0x34a0db['push'](_0x34a0db['shift']());}catch(_0x2db121){_0x34a0db['push'](_0x34a0db['shift']());}}}(a65_0x268c,0xf268e));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';function a65_0x268c(){const _0x57167a=['closed','billboard','color','getFirstCoordinate','lineWidth','1092015OhrGwD','outlineWidth','stroke','width','outlineColor','lineType','sin','restore','42yYiQXL','opacity','shadowColor','arrow','white','getType','getFlatMidpoints','label','1687323PVfnSs','length','getGeometry','moveTo','lineTo','7360652jrvGyB','LineString','push','6550390QiqOFe','sqrt','getCoordinates','setRenderer','lineCap','outlineOpacity','strokeStyle','context','16825470CatXDp','MultiLineString','setGeometry','butt','54motear','concat','dash','shadowBlur','outline','pow','glowPower','738351ZzWtFE','24PtiZVF','3nednZg','beginPath','getFlatMidpoint','atan2','156gjmFeR','cos','5579lCtvSC','save'];a65_0x268c=function(){return _0x57167a;};return a65_0x268c();}import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x201972,_0x27e712,_0x53864d,_0x39647e){const _0x25cfff=a65_0x2e97;var _0x5744b3,_0x4ec6d9,_0x137dc3;let _0x86def8=(_0x5744b3=_0x201972['zIndex'])!==null&&_0x5744b3!==void 0x0?_0x5744b3:0x0;const _0x2bdff6=_0x3b9704=>{const _0x1fe799=a65_0x2e97;var _0x2cc030=_0x3b9704[_0x1fe799(0xe6)]();if(_0x2cc030)return _getRealPolyline(_0x2cc030,_0x201972);return _0x2cc030;},_0x400ada=_0x4831cb=>{const _0x430b92=a65_0x2e97;var _0x36d385=_0x4831cb[_0x430b92(0xe6)]();let _0x4db41f=_0x36d385;_0x36d385&&(_0x4db41f=_getRealPolyline(_0x36d385,_0x201972));if(_0x4db41f&&_0x4db41f[_0x430b92(0xe1)]()===_0x430b92(0xea))return new Point(_0x4db41f[_0x430b92(0x103)]());else{let _0xab10dd=_0x4db41f[_0x430b92(0xe2)](),_0x30ebea=0x2,_0xc0b5ec=[];for(let _0x2210ac=0x0,_0x37a3f5=_0xab10dd[_0x430b92(0xe5)];_0x2210ac<_0x37a3f5;_0x2210ac+=_0x30ebea){let _0x21ecf5=[_0xab10dd[_0x2210ac],_0xab10dd[_0x2210ac+0x1]];_0xc0b5ec[_0x430b92(0xeb)](_0x21ecf5);}return new MultiPoint(_0xc0b5ec);}};let _0x54c3ee=new Style({'geometry':_0x2bdff6,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x10b)],_0x201972[_0x25cfff(0xdd)]),'width':_0x201972[_0x25cfff(0x111)]}),'zIndex':_0x86def8}),_0x4b5d98=[_0x54c3ee];if(_0x201972[_0x25cfff(0x113)]===_0x25cfff(0xfa)){let _0xab3de8=_0x201972[_0x25cfff(0x10f)]/0x2,_0x37bb36=new Style({'geometry':_0x2bdff6,'zIndex':_0x86def8,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x10b)],_0x201972['opacity']),'width':_0x201972[_0x25cfff(0x111)],'lineCap':_0x25cfff(0xf7),'lineDash':[_0xab3de8,_0xab3de8]})}),_0x2bbd7e=new Style({'geometry':_0x2bdff6,'zIndex':_0x86def8+0.5,'stroke':new Stroke({'color':getColor(_0x201972[_0x25cfff(0x112)],Number((_0x137dc3=(_0x4ec6d9=_0x201972[_0x25cfff(0xf1)])!==null&&_0x4ec6d9!==void 0x0?_0x4ec6d9:_0x201972[_0x25cfff(0xdd)])!==null&&_0x137dc3!==void 0x0?_0x137dc3:0x1)),'width':_0x201972[_0x25cfff(0x111)],'lineCap':_0x25cfff(0xf7),'lineDash':[_0xab3de8,_0xab3de8],'lineDashOffset':_0xab3de8})});_0x4b5d98=[_0x37bb36,_0x2bbd7e];}_0x201972[_0x25cfff(0x113)]===_0x25cfff(0xdf)&&_0x54c3ee['setRenderer']((_0xdfe4c4,_0x53bb5e)=>{const _0x1815a6=_0x25cfff;let _0x321359=_0x53bb5e[_0x1815a6(0xf3)],_0x331cf9=parseInt((_0x201972[_0x1815a6(0x111)]/0x4)['toString']()),_0x55ea19=0xa,_0x4c75b7=Math[_0x1815a6(0xed)](Math[_0x1815a6(0xfd)](_0x55ea19,0x2)+Math[_0x1815a6(0xfd)](_0x201972[_0x1815a6(0x111)]/0x2,0x2)),_0x334723=0x2d,_0x19707c=_0xdfe4c4[_0xdfe4c4['length']-0x2][0x0],_0x1ae85e=_0xdfe4c4[_0xdfe4c4['length']-0x2][0x1],_0x2f321b=_0xdfe4c4[_0xdfe4c4['length']-0x1][0x0],_0x2d36d0=_0xdfe4c4[_0xdfe4c4[_0x1815a6(0xe5)]-0x1][0x1],_0x2d1b2f=Math[_0x1815a6(0x104)](_0x1ae85e-_0x2d36d0,_0x19707c-_0x2f321b)*0xb4/Math['PI'],_0x6aa34c=(_0x2d1b2f+_0x334723)*Math['PI']/0xb4,_0x43c8cb=(_0x2d1b2f-_0x334723)*Math['PI']/0xb4,_0x5ac80b=_0x4c75b7*Math[_0x1815a6(0x106)](_0x6aa34c),_0x559b76=_0x4c75b7*Math[_0x1815a6(0x114)](_0x6aa34c),_0x2f552b=_0x4c75b7*Math[_0x1815a6(0x106)](_0x43c8cb),_0xe5bf21=_0x4c75b7*Math[_0x1815a6(0x114)](_0x43c8cb);_0x321359[_0x1815a6(0x108)](),_0x321359[_0x1815a6(0x102)]();let _0x105c35,_0x1ff405;for(let _0x1fe10d=0x0;_0x1fe10d<_0xdfe4c4['length'];_0x1fe10d++){_0x1fe10d===0x0?_0x321359[_0x1815a6(0xe7)](_0xdfe4c4[_0x1fe10d][0x0],_0xdfe4c4[_0x1fe10d][0x1]):_0x321359[_0x1815a6(0xe8)](_0xdfe4c4[_0x1fe10d][0x0],_0xdfe4c4[_0x1fe10d][0x1]);}_0x321359[_0x1815a6(0xf2)]=getColor(_0x201972['color'],_0x201972[_0x1815a6(0xdd)]),_0x321359['lineWidth']=_0x331cf9,_0x321359[_0x1815a6(0xf0)]=_0x1815a6(0xf7),_0x321359[_0x1815a6(0x110)](),_0x105c35=_0x2f321b+_0x5ac80b,_0x1ff405=_0x2d36d0+_0x559b76,_0x321359[_0x1815a6(0xe7)](_0x105c35,_0x1ff405),_0x321359[_0x1815a6(0xe8)](_0x2f321b,_0x2d36d0),_0x105c35=_0x2f321b+_0x2f552b,_0x1ff405=_0x2d36d0+_0xe5bf21,_0x321359[_0x1815a6(0xe8)](_0x105c35,_0x1ff405),_0x321359['lineCap']='butt',_0x321359[_0x1815a6(0x110)](),_0x321359[_0x1815a6(0x115)]();});_0x201972[_0x25cfff(0x113)]==='glow'&&_0x54c3ee[_0x25cfff(0xef)]((_0x21a39d,_0x1648ee)=>{const _0x12ed72=_0x25cfff;let _0x29c784=_0x1648ee['context'];_0x29c784[_0x12ed72(0x108)]();for(let _0x27e062=0x0;_0x27e062<0x4;_0x27e062++){let _0x597085=_0x201972[_0x12ed72(0x111)]/0xa*(_0x201972[_0x12ed72(0xfe)]===0x0?0x1:_0x201972['glowPower']);_0x29c784[_0x12ed72(0xde)]=getColor(_0x201972['color'],_0x201972['opacity']),_0x29c784[_0x12ed72(0xfb)]=_0x201972[_0x12ed72(0x111)]/0x5*0x2,_0x29c784[_0x12ed72(0x102)]();for(let _0x6f8f45=0x0;_0x6f8f45<_0x21a39d['length'];_0x6f8f45++){_0x6f8f45===0x0?_0x29c784[_0x12ed72(0xe7)](_0x21a39d[_0x6f8f45][0x0],_0x21a39d[_0x6f8f45][0x1]):_0x29c784[_0x12ed72(0xe8)](_0x21a39d[_0x6f8f45][0x0],_0x21a39d[_0x6f8f45][0x1]);}_0x29c784[_0x12ed72(0xf0)]=_0x12ed72(0xf7),_0x29c784[_0x12ed72(0x10d)]=_0x597085,_0x29c784[_0x12ed72(0xf2)]=getColor(_0x12ed72(0xe0),_0x201972['opacity']),_0x29c784[_0x12ed72(0x110)]();}_0x29c784['restore']();});_0x201972['lineType']===_0x25cfff(0xfc)&&_0x54c3ee[_0x25cfff(0xef)]((_0x5cb41d,_0x579d34)=>{const _0x20ee05=_0x25cfff;let _0x257b45=_0x579d34['context'];_0x257b45[_0x20ee05(0x108)](),_0x257b45[_0x20ee05(0x102)]();for(let _0x4f2b10=0x0;_0x4f2b10<_0x5cb41d[_0x20ee05(0xe5)];_0x4f2b10++){_0x4f2b10===0x0?_0x257b45[_0x20ee05(0xe7)](_0x5cb41d[_0x4f2b10][0x0],_0x5cb41d[_0x4f2b10][0x1]):_0x257b45[_0x20ee05(0xe8)](_0x5cb41d[_0x4f2b10][0x0],_0x5cb41d[_0x4f2b10][0x1]);}_0x257b45['lineCap']=_0x20ee05(0xf7),_0x257b45[_0x20ee05(0x10d)]=_0x201972['width'],_0x257b45[_0x20ee05(0xf2)]=getColor(_0x201972[_0x20ee05(0x112)],_0x201972[_0x20ee05(0xdd)]),_0x257b45[_0x20ee05(0x110)](),_0x257b45[_0x20ee05(0x102)]();for(let _0x1fa1a4=0x0;_0x1fa1a4<_0x5cb41d[_0x20ee05(0xe5)];_0x1fa1a4++){_0x1fa1a4===0x0?_0x257b45['moveTo'](_0x5cb41d[_0x1fa1a4][0x0],_0x5cb41d[_0x1fa1a4][0x1]):_0x257b45['lineTo'](_0x5cb41d[_0x1fa1a4][0x0],_0x5cb41d[_0x1fa1a4][0x1]);}_0x257b45[_0x20ee05(0xf0)]=_0x20ee05(0xf7),_0x201972[_0x20ee05(0x10f)]>=_0x201972[_0x20ee05(0x111)]&&(_0x201972[_0x20ee05(0x10f)]=_0x201972[_0x20ee05(0x111)]-0x1),_0x257b45[_0x20ee05(0x10d)]=_0x201972[_0x20ee05(0x111)]-_0x201972[_0x20ee05(0x10f)],_0x257b45[_0x20ee05(0xf2)]=getColor(_0x201972[_0x20ee05(0x10b)],_0x201972[_0x20ee05(0xdd)]),_0x257b45[_0x20ee05(0x110)](),_0x257b45['restore']();});let _0x515d74=getImageOlStyle(_0x201972[_0x25cfff(0x10a)],_0x86def8,_0x53864d,_0x39647e);_0x515d74&&(_0x515d74[_0x25cfff(0xf6)](_0x400ada),_0x4b5d98[_0x25cfff(0xeb)](_0x515d74));if(_0x201972[_0x25cfff(0xe3)]&&_0x201972[_0x25cfff(0xe3)]['show']!==![]){let _0x1e4534=new Style({'geometry':_0x400ada,'text':createTextStyle(_0x201972['label'],_0x27e712,_0x53864d,_0x39647e),'zIndex':Number(_0x86def8)+0x1});_0x4b5d98['push'](_0x1e4534);}return _0x4b5d98;}function a65_0x2e97(_0x590cde,_0x3343ca){const _0x268c79=a65_0x268c();return a65_0x2e97=function(_0x2e9798,_0x646441){_0x2e9798=_0x2e9798-0xdc;let _0x5abadd=_0x268c79[_0x2e9798];return _0x5abadd;},a65_0x2e97(_0x590cde,_0x3343ca);}function _getRealPolyline(_0x10b83e,_0x1ebb11){const _0x25ddf2=a65_0x2e97;if(!(_0x1ebb11===null||_0x1ebb11===void 0x0?void 0x0:_0x1ebb11[_0x25ddf2(0x109)]))return _0x10b83e;else{if(_0x10b83e[_0x25ddf2(0xe1)]()===_0x25ddf2(0xf5)){let _0x338963=_0x10b83e[_0x25ddf2(0xee)]();for(let _0x3869d6 in _0x338963){let _0x26184b=_0x338963[_0x3869d6];_0x338963[_0x3869d6]=_0x26184b[_0x25ddf2(0xf9)]([_0x26184b[0x0]]);}return new MultiLineString(_0x338963);}else return new LineString(_0x10b83e[_0x25ddf2(0xee)]()[_0x25ddf2(0xf9)]([_0x10b83e[_0x25ddf2(0x10c)]()]));}}
@@ -1 +1 @@
1
- (function(_0x224ef4,_0x4eb589){const _0x3df948=a66_0x45ee,_0x54d192=_0x224ef4();while(!![]){try{const _0x575698=parseInt(_0x3df948(0x132))/0x1*(parseInt(_0x3df948(0x127))/0x2)+parseInt(_0x3df948(0x137))/0x3*(-parseInt(_0x3df948(0x135))/0x4)+parseInt(_0x3df948(0x12e))/0x5*(parseInt(_0x3df948(0x12a))/0x6)+-parseInt(_0x3df948(0x12b))/0x7+parseInt(_0x3df948(0x12c))/0x8+-parseInt(_0x3df948(0x129))/0x9+parseInt(_0x3df948(0x138))/0xa;if(_0x575698===_0x4eb589)break;else _0x54d192['push'](_0x54d192['shift']());}catch(_0x5f4129){_0x54d192['push'](_0x54d192['shift']());}}}(a66_0x28c6,0xa5410));import a66_0x3dea88 from'ol/style/Circle';import a66_0x3b6e40 from'ol/style/Fill';import a66_0x2f1ab4 from'ol/style/Stroke';import a66_0x21f3be from'ol/style/Style';function a66_0x28c6(){const _0x100846=['rgba(121,\x20243,\x20238,\x200.3)','opacity','594quJJIY','MultiPoint','1647981CDMFXG','5088duqlbP','4546577iDdZKs','5705624ZbYDdN','rgba(121,\x20243,\x20238,\x201)','3680HEoMJR','outlineOpacity','color','setFill','1985IoZwEb','MultiLineString','Polygon','48164ZKPObs','LineString','120ExeKGt','642640iTurSe','setStroke','outlineColor','rgba(0,\x20255,0,\x201)','outlineWidth','rgba(121,\x20243,\x20238,\x200)','MultiPolygon','Point','text'];a66_0x28c6=function(){return _0x100846;};return a66_0x28c6();}import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){return new a66_0x21f3be({'image':new a66_0x3dea88({'radius':0x5,'fill':new a66_0x3b6e40({'color':'rgba(121,\x20243,\x20238,\x201)'}),'stroke':new a66_0x2f1ab4({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0xd52e96=a66_0x45ee;return new a66_0x21f3be({'image':new a66_0x3dea88({'radius':0x5,'fill':new a66_0x3b6e40({'color':_0xd52e96(0x13d)}),'stroke':new a66_0x2f1ab4({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectLineStyle(){const _0x6c2ec7=a66_0x45ee;return new a66_0x21f3be({'stroke':new a66_0x2f1ab4({'color':_0x6c2ec7(0x12d),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x37262c=a66_0x45ee;return new a66_0x21f3be({'stroke':new a66_0x2f1ab4({'color':_0x37262c(0x13b),'width':0x2})});}export function getSelectPolygonStyle(){const _0x20f98a=a66_0x45ee;return new a66_0x21f3be({'stroke':new a66_0x2f1ab4({'color':_0x20f98a(0x12d),'width':0x2}),'fill':new a66_0x3b6e40({'color':_0x20f98a(0x125)})});}function a66_0x45ee(_0x1c5ce3,_0x65311){const _0x28c697=a66_0x28c6();return a66_0x45ee=function(_0x45ee97,_0x4395a8){_0x45ee97=_0x45ee97-0x123;let _0x313b6a=_0x28c697[_0x45ee97];return _0x313b6a;},a66_0x45ee(_0x1c5ce3,_0x65311);}export function getSelectCancelPolygonStyle(){const _0x47ab14=a66_0x45ee;return new a66_0x21f3be({'stroke':new a66_0x2f1ab4({'color':_0x47ab14(0x13b),'width':0x2}),'fill':new a66_0x3b6e40({'color':'rgba(0,\x20255,0,\x200)'})});}export function getStyle(_0x79fe08){const _0x2aeac4=a66_0x45ee;if(_0x79fe08){if(_0x79fe08[_0x2aeac4(0x124)])return new a66_0x21f3be({'text':createTextStyle(_0x79fe08,_0x79fe08[_0x2aeac4(0x124)]),'zIndex':0x1});else{const _0x341a07=new a66_0x21f3be();return _0x79fe08[_0x2aeac4(0x13a)]&&_0x341a07[_0x2aeac4(0x139)](new a66_0x2f1ab4({'color':getColor(_0x79fe08[_0x2aeac4(0x13a)],_0x79fe08[_0x2aeac4(0x12f)]),'width':_0x79fe08[_0x2aeac4(0x13c)]||0x1})),_0x79fe08[_0x2aeac4(0x130)]&&_0x341a07[_0x2aeac4(0x131)](new a66_0x3b6e40({'color':getColor(_0x79fe08['fill'],_0x79fe08[_0x2aeac4(0x126)])})),_0x341a07;}}return new a66_0x21f3be({'stroke':new a66_0x2f1ab4({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2}),'fill':new a66_0x3b6e40({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x129b8a){const _0x3a4cbc=a66_0x45ee;let _0x280de3=getSelectPolygonStyle();switch(_0x129b8a){case _0x3a4cbc(0x13e):case _0x3a4cbc(0x134):_0x280de3=getSelectPolygonStyle();break;case _0x3a4cbc(0x133):case _0x3a4cbc(0x136):_0x280de3=getSelectLineStyle();break;case _0x3a4cbc(0x128):case _0x3a4cbc(0x123):_0x280de3=getSelectPointStyle();break;default:break;}return _0x280de3;}
1
+ (function(_0x30b7fb,_0x62270e){const _0x2b6493=a66_0x5675,_0x2aa046=_0x30b7fb();while(!![]){try{const _0x4020d4=parseInt(_0x2b6493(0x98))/0x1+-parseInt(_0x2b6493(0x9a))/0x2+parseInt(_0x2b6493(0x87))/0x3+-parseInt(_0x2b6493(0x91))/0x4+parseInt(_0x2b6493(0x88))/0x5*(-parseInt(_0x2b6493(0x93))/0x6)+-parseInt(_0x2b6493(0x8c))/0x7+parseInt(_0x2b6493(0x8f))/0x8*(parseInt(_0x2b6493(0x97))/0x9);if(_0x4020d4===_0x62270e)break;else _0x2aa046['push'](_0x2aa046['shift']());}catch(_0x4fb598){_0x2aa046['push'](_0x2aa046['shift']());}}}(a66_0x1131,0xb1f46));function a66_0x5675(_0x34c1a6,_0x6ed97a){const _0x1131ce=a66_0x1131();return a66_0x5675=function(_0x567535,_0x5c4509){_0x567535=_0x567535-0x85;let _0x976d36=_0x1131ce[_0x567535];return _0x976d36;},a66_0x5675(_0x34c1a6,_0x6ed97a);}import a66_0x2395df from'ol/style/Circle';function a66_0x1131(){const _0x2689f7=['10foRHPE','rgba(121,\x20243,\x20238,\x200.3)','setFill','Polygon','1053045OLuAir','rgba(121,\x20243,\x20238,\x200)','rgba(0,\x20255,0,\x201)','3239576qNEBQb','rgba(0,\x20255,0,\x200)','5441744qWbAbS','fill','3960510eTOiiE','rgba(121,\x20243,\x20238,\x201)','outlineColor','text','45gCYmxw','1298610kPpwjp','color','1646868viDEtV','LineString','outlineWidth','MultiLineString','3180096orVyWp'];a66_0x1131=function(){return _0x2689f7;};return a66_0x1131();}import a66_0x367540 from'ol/style/Fill';import a66_0x55ad15 from'ol/style/Stroke';import a66_0xf697c0 from'ol/style/Style';import{createTextStyle,getColor}from'./common';export function getSelectPointStyle(){const _0x115c61=a66_0x5675;return new a66_0xf697c0({'image':new a66_0x2395df({'radius':0x5,'fill':new a66_0x367540({'color':_0x115c61(0x94)}),'stroke':new a66_0x55ad15({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x5ce253=a66_0x5675;return new a66_0xf697c0({'image':new a66_0x2395df({'radius':0x5,'fill':new a66_0x367540({'color':_0x5ce253(0x8d)}),'stroke':new a66_0x55ad15({'color':_0x5ce253(0x94),'width':0x1})})});}export function getSelectLineStyle(){const _0x1c8930=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x1c8930(0x94),'width':0x2})});}export function getSelectCancelLineStyle(){return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':'rgba(0,\x20255,0,\x201)','width':0x2})});}export function getSelectPolygonStyle(){const _0x4d597a=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x4d597a(0x94),'width':0x2}),'fill':new a66_0x367540({'color':_0x4d597a(0x89)})});}export function getSelectCancelPolygonStyle(){const _0x206ff9=a66_0x5675;return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x206ff9(0x8e),'width':0x2}),'fill':new a66_0x367540({'color':_0x206ff9(0x90)})});}export function getStyle(_0x3fc26d){const _0x865322=a66_0x5675;if(_0x3fc26d){if(_0x3fc26d[_0x865322(0x96)])return new a66_0xf697c0({'text':createTextStyle(_0x3fc26d,_0x3fc26d[_0x865322(0x96)]),'zIndex':0x1});else{const _0x34d2df=new a66_0xf697c0();return _0x3fc26d[_0x865322(0x95)]&&_0x34d2df['setStroke'](new a66_0x55ad15({'color':getColor(_0x3fc26d[_0x865322(0x95)],_0x3fc26d['outlineOpacity']),'width':_0x3fc26d[_0x865322(0x85)]||0x1})),_0x3fc26d[_0x865322(0x99)]&&_0x34d2df[_0x865322(0x8a)](new a66_0x367540({'color':getColor(_0x3fc26d[_0x865322(0x92)],_0x3fc26d['opacity'])})),_0x34d2df;}}return new a66_0xf697c0({'stroke':new a66_0x55ad15({'color':_0x865322(0x94),'width':0x2}),'fill':new a66_0x367540({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectStyle(_0x3fd41c){const _0x53be45=a66_0x5675;let _0x5153ab=getSelectPolygonStyle();switch(_0x3fd41c){case'MultiPolygon':case _0x53be45(0x8b):_0x5153ab=getSelectPolygonStyle();break;case _0x53be45(0x86):case _0x53be45(0x9b):_0x5153ab=getSelectLineStyle();break;case'MultiPoint':case'Point':_0x5153ab=getSelectPointStyle();break;default:break;}return _0x5153ab;}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x411218,_0x4663cd){const _0x9a4c6b=a62_0x52f6,_0x9b5e83=_0x411218();while(!![]){try{const _0x2ec6ef=parseInt(_0x9a4c6b(0x122))/0x1+-parseInt(_0x9a4c6b(0x131))/0x2*(-parseInt(_0x9a4c6b(0x105))/0x3)+-parseInt(_0x9a4c6b(0x11d))/0x4+-parseInt(_0x9a4c6b(0x12b))/0x5*(parseInt(_0x9a4c6b(0x10d))/0x6)+-parseInt(_0x9a4c6b(0x104))/0x7*(-parseInt(_0x9a4c6b(0x130))/0x8)+-parseInt(_0x9a4c6b(0x12d))/0x9+-parseInt(_0x9a4c6b(0x107))/0xa;if(_0x2ec6ef===_0x4663cd)break;else _0x9b5e83['push'](_0x9b5e83['shift']());}catch(_0x4ce1ad){_0x9b5e83['push'](_0x9b5e83['shift']());}}}(a62_0x2f07,0x4b510));import a62_0x37ff59 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x2110b6 from'../utils/plug/canvas/PinIcon';function a62_0x2f07(){const _0x23253b=['pow','px\x20','getImage','border_width','weight','5sGSfjH','offsetX','1665927nGKkEj','font','color','272wKSBNf','826kzPGAo','center','load','119371sWWVsR','2883PqSZwJ','listenImageChange','4541700ZQndGR','target','alpha','normal','middle','\x20normal\x20','124812BqzBLf','ERROR','outlineColor','distanceDisplayNear','markerColor','fill','opacity','textAlign','getResolutionForZoom','outline','getView','IDLE','#2A2A2A','size','border','LOADED','148316CqWfBi','italic','image','getImageState','bold','28955uPWats','offsetY','family','distanceDisplayFar'];a62_0x2f07=function(){return _0x23253b;};return a62_0x2f07();}import a62_0x42e661 from'ol/ImageState';export function isShowStyle(_0xac8b3,_0x11b087,_0x2dc791){const _0x26ca3f=a62_0x52f6;let _0x3eb150=!![];if(_0x11b087==undefined||_0x2dc791==undefined)return _0x3eb150;if(_0xac8b3&&typeof _0xac8b3[_0x26ca3f(0x125)]!=undefined&&typeof _0xac8b3[_0x26ca3f(0x110)]!=undefined){if(_0xac8b3[_0x26ca3f(0x125)]&&_0x2dc791){_0x3eb150=![];let _0x421574=getLevel(_0xac8b3[_0x26ca3f(0x125)]),_0x19dc41=_0x2dc791['getView']()[_0x26ca3f(0x115)](_0x421574);_0x11b087<_0x19dc41&&(_0x3eb150=!![]);}if(_0x3eb150&&_0xac8b3[_0x26ca3f(0x110)]&&_0x2dc791){_0x3eb150=![];let _0x98bf02=getLevel(_0xac8b3[_0x26ca3f(0x110)]),_0x47b520=_0x2dc791[_0x26ca3f(0x117)]()[_0x26ca3f(0x115)](_0x98bf02);_0x11b087>_0x47b520&&(_0x3eb150=!![]);}}return _0x3eb150;}export function getLevel(_0x5adf04){const _0x1b7b40=a62_0x52f6,_0x2ecaa0=3252.745,_0x2c2011=0.0009198301,_0x308c65=52977.61,_0x124d0a=-3228.107;return _0x124d0a+(_0x2ecaa0-_0x124d0a)/(0x1+Math[_0x1b7b40(0x126)](_0x5adf04/_0x308c65,_0x2c2011));}export function toRadians(_0x3fdba2){if(_0x3fdba2)return-(_0x3fdba2*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x300d90,_0x2a367f,_0x32d52e,_0x4ef704){const _0x1af124=a62_0x52f6;if(_0x300d90){let _0x525587=isShowStyle(_0x300d90,_0x32d52e,_0x4ef704);if(_0x525587===![])return undefined;else{const _0xcadc1e=_0x300d90[_0x1af124(0x12e)],_0x2eb589=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x11e)])?_0x1af124(0x11e):_0x1af124(0x10a),_0x347a85=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x12a)])?_0x1af124(0x121):_0x1af124(0x10a),_0x30e0ee=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x11a)])||'25',_0x4305a4=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x124)])||'楷体';let _0xe42d6d=_0x2eb589+_0x1af124(0x10c)+_0x347a85+'\x20'+_0x30e0ee+_0x1af124(0x127)+_0x4305a4,_0x2992d4=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x12c)])||0x0,_0x467078=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x123)])||0x0,_0x13dd6c=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e['textBaseline'])||_0x1af124(0x10b),_0x53b44a=(_0xcadc1e===null||_0xcadc1e===void 0x0?void 0x0:_0xcadc1e[_0x1af124(0x114)])||_0x1af124(0x102);const _0x4a6869=_0x300d90[_0x1af124(0x113)]||0x1;return new Text({'text':_0x2a367f,'font':_0xe42d6d,'offsetX':_0x2992d4,'offsetY':_0x467078,'textAlign':_0x53b44a,'textBaseline':_0x13dd6c,'fill':new Fill({'color':getColor(_0x300d90[_0x1af124(0x12f)],_0x4a6869)}),'stroke':_getLabelStroke(_0x300d90),'backgroundFill':_0x300d90[_0x1af124(0x112)]?new Fill({'color':getColor(_0x300d90[_0x1af124(0x112)]||_0x1af124(0x119),_0x4a6869)}):undefined});}}else return undefined;}export function getColor(_0x101e0d,_0x14e86b){const _0x5c8513=a62_0x52f6;return a62_0x37ff59(_0x101e0d)[_0x5c8513(0x109)](_0x14e86b!=undefined?_0x14e86b:0x1)['hexa']();}function a62_0x52f6(_0x573b88,_0x39c022){const _0x2f0755=a62_0x2f07();return a62_0x52f6=function(_0x52f6a0,_0x3b6fb2){_0x52f6a0=_0x52f6a0-0x102;let _0x447c37=_0x2f0755[_0x52f6a0];return _0x447c37;},a62_0x52f6(_0x573b88,_0x39c022);}function _getLabelStroke(_0x42b006){const _0x513c66=a62_0x52f6;if(_0x42b006[_0x513c66(0x11b)])return new Stroke({'color':getColor(_0x42b006['border_color'],_0x42b006[_0x513c66(0x113)]),'width':_0x42b006[_0x513c66(0x129)]});if(_0x42b006[_0x513c66(0x116)])return new Stroke({'color':getColor(_0x42b006[_0x513c66(0x10f)],_0x42b006[_0x513c66(0x113)]),'width':_0x42b006['outlineWidth']});}export function preLoadImageRenderFunction(_0x2b7171,_0x3b2ff4,_0x5cbc61,_0x4e0bee,_0xf18d3){const _0x17fa15=a62_0x52f6;let _0x253c81;_0x2b7171[_0x17fa15(0x111)]?_0x253c81=new a62_0x2110b6(_0x2b7171):_0x253c81=new Icon({'src':_0x2b7171[_0x17fa15(0x11f)]});let _0x5cb888=_0x253c81[_0x17fa15(0x120)]();_0x5cb888===a62_0x42e661[_0x17fa15(0x11c)]||_0x5cb888===a62_0x42e661['ERROR']?_0xf18d3(_0x2b7171,_0x3b2ff4,_0x5cbc61,_0x4e0bee,_0x253c81[_0x17fa15(0x128)](0x60)):(_0x5cb888===a62_0x42e661[_0x17fa15(0x118)]&&_0x253c81[_0x17fa15(0x103)](),_0x253c81[_0x17fa15(0x106)](_0x2d1d8a=>{const _0x1044be=_0x17fa15;_0x5cb888=_0x2d1d8a[_0x1044be(0x108)][_0x1044be(0x120)](),(_0x5cb888===a62_0x42e661[_0x1044be(0x11c)]||_0x5cb888===a62_0x42e661[_0x1044be(0x10e)])&&_0xf18d3(_0x2b7171,_0x3b2ff4,_0x5cbc61,_0x4e0bee,_0x253c81[_0x1044be(0x128)](0x60));}));}
1
+ (function(_0x26fee3,_0x43682a){const _0xf60fc=a62_0x4ede,_0xd43672=_0x26fee3();while(!![]){try{const _0x183086=parseInt(_0xf60fc(0x204))/0x1+-parseInt(_0xf60fc(0x1ff))/0x2*(parseInt(_0xf60fc(0x208))/0x3)+parseInt(_0xf60fc(0x1ee))/0x4*(-parseInt(_0xf60fc(0x1f9))/0x5)+parseInt(_0xf60fc(0x209))/0x6+parseInt(_0xf60fc(0x1fb))/0x7+-parseInt(_0xf60fc(0x207))/0x8+parseInt(_0xf60fc(0x1fd))/0x9*(parseInt(_0xf60fc(0x219))/0xa);if(_0x183086===_0x43682a)break;else _0xd43672['push'](_0xd43672['shift']());}catch(_0x57beeb){_0xd43672['push'](_0xd43672['shift']());}}}(a62_0x4430,0x7c4dd));import a62_0x49534d from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a62_0x3ba2bf from'../utils/plug/canvas/PinIcon';import a62_0xcf97bc from'ol/ImageState';export function isShowStyle(_0x57337e,_0x598dda,_0x5c8e95){const _0x5dcccc=a62_0x4ede;let _0x33d240=!![];if(_0x598dda==undefined||_0x5c8e95==undefined)return _0x33d240;if(_0x57337e&&typeof _0x57337e[_0x5dcccc(0x214)]!=undefined&&typeof _0x57337e[_0x5dcccc(0x201)]!=undefined){if(_0x57337e['distanceDisplayFar']&&_0x5c8e95){_0x33d240=![];let _0x4681b8=getLevel(_0x57337e[_0x5dcccc(0x214)]),_0x5d1ed8=_0x5c8e95[_0x5dcccc(0x213)]()[_0x5dcccc(0x1fa)](_0x4681b8);_0x598dda<_0x5d1ed8&&(_0x33d240=!![]);}if(_0x33d240&&_0x57337e[_0x5dcccc(0x201)]&&_0x5c8e95){_0x33d240=![];let _0x369c6f=getLevel(_0x57337e[_0x5dcccc(0x201)]),_0x241b16=_0x5c8e95[_0x5dcccc(0x213)]()[_0x5dcccc(0x1fa)](_0x369c6f);_0x598dda>_0x241b16&&(_0x33d240=!![]);}}return _0x33d240;}export function getLevel(_0x50bfce){const _0xa0e510=a62_0x4ede,_0xf0ac09=3252.745,_0x11c872=0.0009198301,_0x49abbb=52977.61,_0x26634e=-3228.107;return _0x26634e+(_0xf0ac09-_0x26634e)/(0x1+Math[_0xa0e510(0x200)](_0x50bfce/_0x49abbb,_0x11c872));}export function toRadians(_0x14ef0a){if(_0x14ef0a)return-(_0x14ef0a*Math['PI'])/0xb4;return 0x0;}function a62_0x4430(){const _0x3d5f18=['border','offsetX','316naVrcF','size','target','ERROR','color','textBaseline','family','border_width','#2A2A2A','bold','opacity','11485GwNrzZ','getResolutionForZoom','573692wKOaSF','italic','2587050PVIDom','normal','37274uBKyvE','pow','distanceDisplayNear','LOADED','load','240899OVUOHY','getImage','middle','5973280jiLwkQ','153iyUytf','3765924jbWMeb','outlineColor','alpha','image','markerColor','outline','outlineWidth','\x20normal\x20','listenImageChange','hexa','getView','distanceDisplayFar','offsetY','fill','font','center','50nWDYEq','IDLE'];a62_0x4430=function(){return _0x3d5f18;};return a62_0x4430();}export function createTextStyle(_0x237b12,_0x2af068,_0x10d8cc,_0x29ccfb){const _0x29b6fe=a62_0x4ede;if(_0x237b12){let _0x5d4279=isShowStyle(_0x237b12,_0x10d8cc,_0x29ccfb);if(_0x5d4279===![])return undefined;else{const _0x52e492=_0x237b12[_0x29b6fe(0x217)],_0x308841=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1fc)])?_0x29b6fe(0x1fc):_0x29b6fe(0x1fe),_0x14883b=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492['weight'])?_0x29b6fe(0x1f7):_0x29b6fe(0x1fe),_0x21651f=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1ef)])||'25',_0x5bbe6f=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1f4)])||'楷体';let _0x40c25e=_0x308841+_0x29b6fe(0x210)+_0x14883b+'\x20'+_0x21651f+'px\x20'+_0x5bbe6f,_0x4bacb4=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1ed)])||0x0,_0x40d019=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x215)])||0x0,_0x942bae=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492[_0x29b6fe(0x1f3)])||_0x29b6fe(0x206),_0x111c08=(_0x52e492===null||_0x52e492===void 0x0?void 0x0:_0x52e492['textAlign'])||_0x29b6fe(0x218);const _0x6c694=_0x237b12[_0x29b6fe(0x1f8)]||0x1;return new Text({'text':_0x2af068,'font':_0x40c25e,'offsetX':_0x4bacb4,'offsetY':_0x40d019,'textAlign':_0x111c08,'textBaseline':_0x942bae,'fill':new Fill({'color':getColor(_0x237b12[_0x29b6fe(0x1f2)],_0x6c694)}),'stroke':_getLabelStroke(_0x237b12),'backgroundFill':_0x237b12[_0x29b6fe(0x216)]?new Fill({'color':getColor(_0x237b12[_0x29b6fe(0x216)]||_0x29b6fe(0x1f6),_0x6c694)}):undefined});}}else return undefined;}export function getColor(_0x3e598f,_0x3d31f3){const _0x1ce136=a62_0x4ede;return a62_0x49534d(_0x3e598f)[_0x1ce136(0x20b)](_0x3d31f3!=undefined?_0x3d31f3:0x1)[_0x1ce136(0x212)]();}function _getLabelStroke(_0x14196c){const _0x3157f5=a62_0x4ede;if(_0x14196c[_0x3157f5(0x21b)])return new Stroke({'color':getColor(_0x14196c['border_color'],_0x14196c[_0x3157f5(0x1f8)]),'width':_0x14196c[_0x3157f5(0x1f5)]});if(_0x14196c[_0x3157f5(0x20e)])return new Stroke({'color':getColor(_0x14196c[_0x3157f5(0x20a)],_0x14196c[_0x3157f5(0x1f8)]),'width':_0x14196c[_0x3157f5(0x20f)]});}function a62_0x4ede(_0x25a050,_0x437723){const _0x443097=a62_0x4430();return a62_0x4ede=function(_0x4eded6,_0x4c6b6a){_0x4eded6=_0x4eded6-0x1ed;let _0x453a71=_0x443097[_0x4eded6];return _0x453a71;},a62_0x4ede(_0x25a050,_0x437723);}export function preLoadImageRenderFunction(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x62490b){const _0x3b109f=a62_0x4ede;let _0x2a400d;_0x4d2459[_0x3b109f(0x20d)]?_0x2a400d=new a62_0x3ba2bf(_0x4d2459):_0x2a400d=new Icon({'src':_0x4d2459[_0x3b109f(0x20c)]});let _0x1bff4f=_0x2a400d['getImageState']();_0x1bff4f===a62_0xcf97bc[_0x3b109f(0x202)]||_0x1bff4f===a62_0xcf97bc['ERROR']?_0x62490b(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x2a400d[_0x3b109f(0x205)](0x60)):(_0x1bff4f===a62_0xcf97bc[_0x3b109f(0x21a)]&&_0x2a400d[_0x3b109f(0x203)](),_0x2a400d[_0x3b109f(0x211)](_0x151a4e=>{const _0x4e1260=_0x3b109f;_0x1bff4f=_0x151a4e[_0x4e1260(0x1f0)]['getImageState'](),(_0x1bff4f===a62_0xcf97bc['LOADED']||_0x1bff4f===a62_0xcf97bc[_0x4e1260(0x1f1)])&&_0x62490b(_0x4d2459,_0x12f198,_0x8bd25b,_0xfc51ce,_0x2a400d[_0x4e1260(0x205)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x1f49d3,_0x481536){const _0x1ad093=a67_0x4bec,_0x1188d8=_0x1f49d3();while(!![]){try{const _0x5a6d1d=parseInt(_0x1ad093(0x1e9))/0x1*(parseInt(_0x1ad093(0x1ee))/0x2)+-parseInt(_0x1ad093(0x1f6))/0x3+-parseInt(_0x1ad093(0x1f4))/0x4*(parseInt(_0x1ad093(0x1ef))/0x5)+parseInt(_0x1ad093(0x1f7))/0x6*(-parseInt(_0x1ad093(0x1e6))/0x7)+parseInt(_0x1ad093(0x1e8))/0x8*(-parseInt(_0x1ad093(0x1f2))/0x9)+parseInt(_0x1ad093(0x1ec))/0xa+parseInt(_0x1ad093(0x1f1))/0xb*(parseInt(_0x1ad093(0x1e7))/0xc);if(_0x5a6d1d===_0x481536)break;else _0x1188d8['push'](_0x1188d8['shift']());}catch(_0x2225af){_0x1188d8['push'](_0x1188d8['shift']());}}}(a67_0x4f84,0x2cb5c));function a67_0x4f84(){const _0x170ecc=['every','219321YAWRCs','6uAfbAm','19313ZUYnbo','110700fMzLOj','2588472SfwCgf','82jZsNkk','keys','object','976040OwsTvo','length','4670KGcmcn','245rZfull','reduce','682fMrYUO','9AYpjqB','isArray','22732AoqSbQ'];a67_0x4f84=function(){return _0x170ecc;};return a67_0x4f84();}export function getDeepth(_0x367032){function _0x4f5531(_0x123442,_0x186f3c){const _0x484db3=a67_0x4bec;return _0x123442[_0x484db3(0x1f0)](function(_0x52a378,_0x4d93c7){var _0x4aae3e;return Array['isArray'](_0x4d93c7)&&(_0x4aae3e=_0x4f5531(_0x4d93c7,_0x186f3c+0x1)),_0x4aae3e>_0x52a378?_0x4aae3e:_0x52a378;},_0x186f3c);}return _0x4f5531(_0x367032,0x1);}export function compareArray(_0x2aeb1d,_0x1597f2){const _0x539070=a67_0x4bec;if(_0x2aeb1d[_0x539070(0x1ed)]!==_0x1597f2[_0x539070(0x1ed)])return![];const _0x4f39b3=_0x2aeb1d[_0x539070(0x1ed)];for(let _0x20fb37=0x0;_0x20fb37<_0x4f39b3;_0x20fb37++){if(!compare(_0x2aeb1d[_0x20fb37],_0x1597f2[_0x20fb37]))return![];}return!![];}function a67_0x4bec(_0x5abd24,_0x4b44ab){const _0x4f84ff=a67_0x4f84();return a67_0x4bec=function(_0x4beccb,_0x19f7ee){_0x4beccb=_0x4beccb-0x1e6;let _0x1d50ac=_0x4f84ff[_0x4beccb];return _0x1d50ac;},a67_0x4bec(_0x5abd24,_0x4b44ab);}export function compare(_0x185092,_0x272109){const _0x139259=a67_0x4bec;if(_0x185092===_0x272109)return!![];if(typeof _0x185092!==typeof _0x272109||_0x185092===null||_0x272109===null)return![];if(Array[_0x139259(0x1f3)](_0x185092)){if(!Array[_0x139259(0x1f3)](_0x272109))return![];return compareArray(_0x185092,_0x272109);}if(typeof _0x185092===_0x139259(0x1eb))return compareObject(_0x185092,_0x272109);return![];}export function compareObject(_0x1f2a54,_0x1edada){const _0x40584c=a67_0x4bec,_0x12322c=Object['keys'](_0x1f2a54),_0x4a712e=Object[_0x40584c(0x1ea)](_0x1edada);if(_0x12322c[_0x40584c(0x1ed)]!==_0x4a712e['length'])return![];return _0x12322c[_0x40584c(0x1f5)](_0x3cb8cd=>{if(!compare(_0x1f2a54[_0x3cb8cd],_0x1edada[_0x3cb8cd]))return![];return!![];});}
1
+ function a67_0x2689(){const _0x6b9900=['reduce','1031658GKZecU','1723050OtvbWp','length','28161870QZJnoz','304956BEydtj','keys','3lBXXEx','143576pAsPbB','7GlMSlP','every','170ORRSdg','2749628RQTLqF','4217568VWCGdP','isArray','2kZVZLm'];a67_0x2689=function(){return _0x6b9900;};return a67_0x2689();}(function(_0x25da83,_0x3af9c5){const _0x51bde2=a67_0x4ff7,_0x4c5d97=_0x25da83();while(!![]){try{const _0x53d1b9=-parseInt(_0x51bde2(0x1ad))/0x1*(-parseInt(_0x51bde2(0x1a6))/0x2)+parseInt(_0x51bde2(0x1b5))/0x3*(-parseInt(_0x51bde2(0x1aa))/0x4)+-parseInt(_0x51bde2(0x1b0))/0x5+-parseInt(_0x51bde2(0x1af))/0x6*(parseInt(_0x51bde2(0x1a7))/0x7)+-parseInt(_0x51bde2(0x1ab))/0x8+-parseInt(_0x51bde2(0x1b3))/0x9*(parseInt(_0x51bde2(0x1a9))/0xa)+parseInt(_0x51bde2(0x1b2))/0xb;if(_0x53d1b9===_0x3af9c5)break;else _0x4c5d97['push'](_0x4c5d97['shift']());}catch(_0x1659d3){_0x4c5d97['push'](_0x4c5d97['shift']());}}}(a67_0x2689,0x60d12));export function getDeepth(_0x34fa68){function _0x700d2(_0x5979f8,_0x36b5d3){const _0x46b447=a67_0x4ff7;return _0x5979f8[_0x46b447(0x1ae)](function(_0xd68977,_0x341b94){const _0x10f9b9=_0x46b447;var _0x5dafa6;return Array[_0x10f9b9(0x1ac)](_0x341b94)&&(_0x5dafa6=_0x700d2(_0x341b94,_0x36b5d3+0x1)),_0x5dafa6>_0xd68977?_0x5dafa6:_0xd68977;},_0x36b5d3);}return _0x700d2(_0x34fa68,0x1);}function a67_0x4ff7(_0x4d7f1e,_0x7817c6){const _0x2689d3=a67_0x2689();return a67_0x4ff7=function(_0x4ff7d8,_0xf58c62){_0x4ff7d8=_0x4ff7d8-0x1a6;let _0x14aa72=_0x2689d3[_0x4ff7d8];return _0x14aa72;},a67_0x4ff7(_0x4d7f1e,_0x7817c6);}export function compareArray(_0x51f2eb,_0x44e0d5){const _0x3ace7a=a67_0x4ff7;if(_0x51f2eb[_0x3ace7a(0x1b1)]!==_0x44e0d5[_0x3ace7a(0x1b1)])return![];const _0x361c03=_0x51f2eb[_0x3ace7a(0x1b1)];for(let _0x588979=0x0;_0x588979<_0x361c03;_0x588979++){if(!compare(_0x51f2eb[_0x588979],_0x44e0d5[_0x588979]))return![];}return!![];}export function compare(_0x293b64,_0x29929e){const _0x6478e5=a67_0x4ff7;if(_0x293b64===_0x29929e)return!![];if(typeof _0x293b64!==typeof _0x29929e||_0x293b64===null||_0x29929e===null)return![];if(Array[_0x6478e5(0x1ac)](_0x293b64)){if(!Array[_0x6478e5(0x1ac)](_0x29929e))return![];return compareArray(_0x293b64,_0x29929e);}if(typeof _0x293b64==='object')return compareObject(_0x293b64,_0x29929e);return![];}export function compareObject(_0x3c0198,_0x4edaa2){const _0x42d5cd=a67_0x4ff7,_0x17dfc2=Object[_0x42d5cd(0x1b4)](_0x3c0198),_0x275ace=Object['keys'](_0x4edaa2);if(_0x17dfc2[_0x42d5cd(0x1b1)]!==_0x275ace[_0x42d5cd(0x1b1)])return![];return _0x17dfc2[_0x42d5cd(0x1a8)](_0x2502fc=>{if(!compare(_0x3c0198[_0x2502fc],_0x4edaa2[_0x2502fc]))return![];return!![];});}
@@ -1 +1 @@
1
- const a68_0x2f5fc4=a68_0x3cdd;(function(_0x4233f8,_0x5f1e98){const _0x2080f6=a68_0x3cdd,_0x372195=_0x4233f8();while(!![]){try{const _0x1c7266=parseInt(_0x2080f6(0xb4))/0x1+parseInt(_0x2080f6(0xb3))/0x2+-parseInt(_0x2080f6(0xb2))/0x3+-parseInt(_0x2080f6(0xaf))/0x4*(-parseInt(_0x2080f6(0xab))/0x5)+-parseInt(_0x2080f6(0xa9))/0x6*(-parseInt(_0x2080f6(0xaa))/0x7)+-parseInt(_0x2080f6(0xb1))/0x8+parseInt(_0x2080f6(0xad))/0x9*(-parseInt(_0x2080f6(0xb5))/0xa);if(_0x1c7266===_0x5f1e98)break;else _0x372195['push'](_0x372195['shift']());}catch(_0x965513){_0x372195['push'](_0x372195['shift']());}}}(a68_0x5cfa,0x66068));import a68_0x25d66d from'axios';function a68_0x3cdd(_0x12e90b,_0x2682ef){const _0x5cfa6a=a68_0x5cfa();return a68_0x3cdd=function(_0x3cdd17,_0x5a6aa1){_0x3cdd17=_0x3cdd17-0xa9;let _0x50ec8b=_0x5cfa6a[_0x3cdd17];return _0x50ec8b;},a68_0x3cdd(_0x12e90b,_0x2682ef);}function a68_0x5cfa(){const _0x37078d=['6dxdEba','3500014GHPdME','8405WSqeoj','forEach','108zHJcXx','stringify','1592ouNDeY','jsonp','4556600PiAuvO','1145046Ojuzlg','1330776kMOuws','579181ZMcvWY','870380lyNNCn','create','constructor','get','ajax','append'];a68_0x5cfa=function(){return _0x37078d;};return a68_0x5cfa();}import a68_0x409d1a from'jquery';const request=a68_0x25d66d[a68_0x2f5fc4(0xb6)]({'timeout':0xb4*0x3e8});export function jsonp(_0x11bed5){return new Promise((_0x3e0336,_0x1ef69a)=>{const _0x40b822=a68_0x3cdd;a68_0x409d1a[_0x40b822(0xb9)]({'url':_0x11bed5,'type':_0x40b822(0xb8),'dataType':_0x40b822(0xb0),'success':_0x53718c=>{_0x3e0336(_0x53718c);},'error':_0x5aa328=>{_0x1ef69a(_0x5aa328);}});});}export function stringify(_0xfb50a2){const _0x1f4e28=a68_0x2f5fc4,_0x48fa7a=new FormData();for(const _0x2638e9 in _0xfb50a2){if(_0xfb50a2['hasOwnProperty'](_0x2638e9)){if(_0xfb50a2[_0x2638e9]){if(_0xfb50a2[_0x2638e9][_0x1f4e28(0xb7)]===Array)_0xfb50a2[_0x2638e9][0x0]?_0xfb50a2[_0x2638e9][0x0]['constructor']===Object?_0x48fa7a[_0x1f4e28(0xba)](_0x2638e9,JSON[_0x1f4e28(0xae)](_0xfb50a2[_0x2638e9])):_0xfb50a2[_0x2638e9][_0x1f4e28(0xac)]((_0x1cd729,_0xc712bb)=>{const _0x314e73=_0x1f4e28;_0x48fa7a[_0x314e73(0xba)](_0x2638e9+('['+_0xc712bb+']'),_0x1cd729);}):_0x48fa7a[_0x1f4e28(0xba)](_0x2638e9+'[]','');else _0xfb50a2[_0x2638e9][_0x1f4e28(0xb7)]===Object?_0x48fa7a[_0x1f4e28(0xba)](_0x2638e9,JSON['stringify'](_0xfb50a2[_0x2638e9])):_0x48fa7a['append'](_0x2638e9,_0xfb50a2[_0x2638e9]);}else _0xfb50a2[_0x2638e9]===0x0?_0x48fa7a[_0x1f4e28(0xba)](_0x2638e9,'0'):_0x48fa7a[_0x1f4e28(0xba)](_0x2638e9,'');}}return _0x48fa7a;}export default request;
1
+ function a68_0x5e1f(){const _0x14ff95=['10866560iimcvz','368316ORjcKA','1048050znboeq','363682CVjJTT','append','110uPlIzC','stringify','56nnEQbK','356KKovPL','constructor','2zjqxBV','get','614044AYsEuE','79185Zdomzj','4266465AshtVR','ajax'];a68_0x5e1f=function(){return _0x14ff95;};return a68_0x5e1f();}(function(_0x4cba11,_0x448267){const _0x18592a=a68_0xcb80,_0x12ec60=_0x4cba11();while(!![]){try{const _0x5a9f65=-parseInt(_0x18592a(0x18d))/0x1*(parseInt(_0x18592a(0x18b))/0x2)+-parseInt(_0x18592a(0x18f))/0x3+parseInt(_0x18592a(0x189))/0x4*(parseInt(_0x18592a(0x18e))/0x5)+parseInt(_0x18592a(0x192))/0x6*(parseInt(_0x18592a(0x188))/0x7)+parseInt(_0x18592a(0x191))/0x8+-parseInt(_0x18592a(0x193))/0x9+parseInt(_0x18592a(0x186))/0xa*(-parseInt(_0x18592a(0x194))/0xb);if(_0x5a9f65===_0x448267)break;else _0x12ec60['push'](_0x12ec60['shift']());}catch(_0x3f6180){_0x12ec60['push'](_0x12ec60['shift']());}}}(a68_0x5e1f,0xb54aa));import a68_0x1e64a1 from'axios';import a68_0x2c8453 from'jquery';const request=a68_0x1e64a1['create']({'timeout':0xb4*0x3e8});export function jsonp(_0x40fe11){return new Promise((_0x375d5f,_0x178bca)=>{const _0x405443=a68_0xcb80;a68_0x2c8453[_0x405443(0x190)]({'url':_0x40fe11,'type':_0x405443(0x18c),'dataType':'jsonp','success':_0x5144c0=>{_0x375d5f(_0x5144c0);},'error':_0xc5b48a=>{_0x178bca(_0xc5b48a);}});});}function a68_0xcb80(_0x4c57d1,_0x15a5ce){const _0x5e1ffb=a68_0x5e1f();return a68_0xcb80=function(_0xcb80b1,_0x27bef4){_0xcb80b1=_0xcb80b1-0x186;let _0x58fb24=_0x5e1ffb[_0xcb80b1];return _0x58fb24;},a68_0xcb80(_0x4c57d1,_0x15a5ce);}export function stringify(_0x5b8129){const _0x399cd5=a68_0xcb80,_0x5f1f55=new FormData();for(const _0x3205e0 in _0x5b8129){if(_0x5b8129['hasOwnProperty'](_0x3205e0)){if(_0x5b8129[_0x3205e0]){if(_0x5b8129[_0x3205e0][_0x399cd5(0x18a)]===Array)_0x5b8129[_0x3205e0][0x0]?_0x5b8129[_0x3205e0][0x0][_0x399cd5(0x18a)]===Object?_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,JSON[_0x399cd5(0x187)](_0x5b8129[_0x3205e0])):_0x5b8129[_0x3205e0]['forEach']((_0x6509e3,_0x4bc0b4)=>{const _0x4c01d5=_0x399cd5;_0x5f1f55[_0x4c01d5(0x195)](_0x3205e0+('['+_0x4bc0b4+']'),_0x6509e3);}):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0+'[]','');else _0x5b8129[_0x3205e0]['constructor']===Object?_0x5f1f55['append'](_0x3205e0,JSON[_0x399cd5(0x187)](_0x5b8129[_0x3205e0])):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,_0x5b8129[_0x3205e0]);}else _0x5b8129[_0x3205e0]===0x0?_0x5f1f55['append'](_0x3205e0,'0'):_0x5f1f55[_0x399cd5(0x195)](_0x3205e0,'');}}return _0x5f1f55;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- function a69_0xd239(){const _0x3701d6=['6XRANjV','13462FblNqe','312327ZFgpBh','toUpperCase','2708713MuGxhp','278410nhEUIY','EPSG:','8ZsRGrz','29463QtFFEz','32QXAQck','2664pfuahE','2332650TBhPGC','31394PaQMzc','219OfsZeZ'];a69_0xd239=function(){return _0x3701d6;};return a69_0xd239();}(function(_0x2fe287,_0xbce3aa){const _0x12c82c=a69_0x3c53,_0x4c5040=_0x2fe287();while(!![]){try{const _0x33a67a=parseInt(_0x12c82c(0x9d))/0x1+-parseInt(_0x12c82c(0x96))/0x2*(parseInt(_0x12c82c(0xa2))/0x3)+parseInt(_0x12c82c(0x9e))/0x4*(-parseInt(_0x12c82c(0x9a))/0x5)+parseInt(_0x12c82c(0xa3))/0x6*(parseInt(_0x12c82c(0x99))/0x7)+-parseInt(_0x12c82c(0x9c))/0x8*(parseInt(_0x12c82c(0x97))/0x9)+parseInt(_0x12c82c(0xa0))/0xa+-parseInt(_0x12c82c(0xa1))/0xb*(-parseInt(_0x12c82c(0x9f))/0xc);if(_0x33a67a===_0xbce3aa)break;else _0x4c5040['push'](_0x4c5040['shift']());}catch(_0xc6a2a8){_0x4c5040['push'](_0x4c5040['shift']());}}}(a69_0xd239,0x4c1c9));function a69_0x3c53(_0x4ef1ee,_0x31fc8f){const _0xd239c=a69_0xd239();return a69_0x3c53=function(_0x3c5316,_0x4742d5){_0x3c5316=_0x3c5316-0x96;let _0x2e057c=_0xd239c[_0x3c5316];return _0x2e057c;},a69_0x3c53(_0x4ef1ee,_0x31fc8f);}export function getEsriSpatialReference(_0x445acf){const _0x5167c5=a69_0x3c53;let _0x4021d0;if(_0x445acf){let _0xc3d841=_0x445acf[_0x5167c5(0x98)]();_0xc3d841['indexOf'](_0x5167c5(0x9b))===0x0?_0x4021d0=_0x445acf['replace'](_0x5167c5(0x9b),''):_0x4021d0=_0x445acf;}return _0x4021d0;}
1
+ function a69_0x2dfa(_0xc0fb13,_0x2eb612){const _0x5c283e=a69_0x5c28();return a69_0x2dfa=function(_0x2dfa60,_0x30bc11){_0x2dfa60=_0x2dfa60-0x94;let _0x53c810=_0x5c283e[_0x2dfa60];return _0x53c810;},a69_0x2dfa(_0xc0fb13,_0x2eb612);}function a69_0x5c28(){const _0x4c1f41=['933975iFZocK','40952gCdAoz','5MKIxVM','1232416SjAyDx','replace','14CvNjlJ','89622PIbmlw','indexOf','65102UTfbLo','511068fwTjJz','779032CIXkfF','EPSG:'];a69_0x5c28=function(){return _0x4c1f41;};return a69_0x5c28();}(function(_0x4d9df4,_0x21867d){const _0xe2cfa4=a69_0x2dfa,_0x1c255a=_0x4d9df4();while(!![]){try{const _0x663821=parseInt(_0xe2cfa4(0x98))/0x1+-parseInt(_0xe2cfa4(0x9d))/0x2+parseInt(_0xe2cfa4(0x9c))/0x3+-parseInt(_0xe2cfa4(0x9f))/0x4+parseInt(_0xe2cfa4(0x9e))/0x5*(-parseInt(_0xe2cfa4(0x99))/0x6)+-parseInt(_0xe2cfa4(0x95))/0x7*(-parseInt(_0xe2cfa4(0x9a))/0x8)+parseInt(_0xe2cfa4(0x96))/0x9;if(_0x663821===_0x21867d)break;else _0x1c255a['push'](_0x1c255a['shift']());}catch(_0x471ab0){_0x1c255a['push'](_0x1c255a['shift']());}}}(a69_0x5c28,0x28dd9));export function getEsriSpatialReference(_0x32a71b){const _0x33d539=a69_0x2dfa;let _0x31b4ca;if(_0x32a71b){let _0x397230=_0x32a71b['toUpperCase']();_0x397230[_0x33d539(0x97)](_0x33d539(0x9b))===0x0?_0x31b4ca=_0x32a71b[_0x33d539(0x94)](_0x33d539(0x9b),''):_0x31b4ca=_0x32a71b;}return _0x31b4ca;}
@@ -1 +1 @@
1
- (function(_0x4a5e91,_0x12575a){const _0x41a650=a72_0x583e,_0x2a9c7f=_0x4a5e91();while(!![]){try{const _0x56c918=-parseInt(_0x41a650(0x1bc))/0x1+-parseInt(_0x41a650(0x1a5))/0x2*(-parseInt(_0x41a650(0x1b4))/0x3)+-parseInt(_0x41a650(0x1aa))/0x4+parseInt(_0x41a650(0x1b7))/0x5*(-parseInt(_0x41a650(0x1b0))/0x6)+parseInt(_0x41a650(0x1ac))/0x7*(parseInt(_0x41a650(0x1a7))/0x8)+-parseInt(_0x41a650(0x1bd))/0x9*(-parseInt(_0x41a650(0x19d))/0xa)+-parseInt(_0x41a650(0x19c))/0xb;if(_0x56c918===_0x12575a)break;else _0x2a9c7f['push'](_0x2a9c7f['shift']());}catch(_0x392980){_0x2a9c7f['push'](_0x2a9c7f['shift']());}}}(a72_0x75ab,0xc5c3a));import a72_0x41be54 from'ol/proj/Projection';import{distance as a72_0x5884da}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x7148f2}from'ol/sphere';import a72_0x25d3f8 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x444bd4 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0x966249 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x4eae54 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x1f4973 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a72_0x23b526 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x80c998 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a72_0x5c0730 from'ol/format/WKT';import a72_0x3ad358 from'ol/format/EsriJSON';const _parser=new a72_0x4eae54(undefined,undefined);function a72_0x583e(_0x4566a1,_0x222ce7){const _0x75aba3=a72_0x75ab();return a72_0x583e=function(_0x583ee7,_0x3e8ef0){_0x583ee7=_0x583ee7-0x19c;let _0x53c050=_0x75aba3[_0x583ee7];return _0x53c050;},a72_0x583e(_0x4566a1,_0x222ce7);}_parser['inject'](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x37980a,_0x5e337d,_0x527717=![]){const _0x2c21e1=a72_0x583e;if(!_0x37980a)return 0x0;const _0x1a7626=isSpheroid(_0x5e337d);if(_0x527717)return a72_0x7148f2(_0x37980a,{'projection':_0x5e337d});else{if(_0x1a7626){const _0x23fecc=getGeoProjection(_0x37980a,_0x5e337d);return _0x37980a[_0x2c21e1(0x1a0)]()['transform'](_0x5e337d,_0x23fecc)[_0x2c21e1(0x19f)]();}return _0x37980a['getArea']();}}export function bufferOp(_0x4d38a8,_0x58228d){const _0x45e31e=a72_0x583e,_0x2c8036=_parser[_0x45e31e(0x1b2)](_0x4d38a8),_0x4173bc=a72_0x25d3f8[_0x45e31e(0x1b3)](_0x2c8036,_0x58228d);return _parser[_0x45e31e(0x1be)](_0x4173bc);}export function bufferPixel(_0x2ab5fc,_0x4fea37,_0x89780d){const _0x24eac5=a72_0x583e,_0xc7393=_0x89780d['getPixelFromCoordinate'](_0x2ab5fc[_0x24eac5(0x1a6)]()),_0x467a99=_0x89780d['getCoordinateFromPixel']([_0xc7393[0x0]+_0x4fea37,_0xc7393[0x1]]),_0x378873=a72_0x5884da(_0x2ab5fc[_0x24eac5(0x1a6)](),_0x467a99),_0x4573fd=bufferOp(_0x2ab5fc,_0x378873);return _0x4573fd;}export function contains(_0x129ac6,_0x21c42a){const _0x5753fd=a72_0x583e,_0x275333=_parser[_0x5753fd(0x1b2)](_0x129ac6),_0x1f72ce=_parser[_0x5753fd(0x1b2)](_0x21c42a);return a72_0x444bd4['contains'](_0x275333,_0x1f72ce);}export function crosses(_0xfd0646,_0x38130b){const _0x2c63eb=a72_0x583e,_0x321e5b=_parser[_0x2c63eb(0x1b2)](_0xfd0646),_0x296eec=_parser[_0x2c63eb(0x1b2)](_0x38130b);return a72_0x444bd4['crosses'](_0x321e5b,_0x296eec);}export function intersects(_0x3b200a,_0x5e6782){const _0x350f25=a72_0x583e,_0x50c8d3=_parser[_0x350f25(0x1b2)](_0x3b200a),_0x102526=_parser[_0x350f25(0x1b2)](_0x5e6782);return a72_0x444bd4[_0x350f25(0x1b9)](_0x50c8d3,_0x102526);}export function intersection(_0x2505c8,_0x55d08a){const _0x5af4a3=a72_0x583e,_0x3728fe=_parser['read'](_0x2505c8),_0xb534a0=_parser[_0x5af4a3(0x1b2)](_0x55d08a);return _parser[_0x5af4a3(0x1be)](a72_0x966249['intersection'](_0x3728fe,_0xb534a0));}export function union(_0x506884,_0x914762){const _0x546a36=a72_0x583e,_0x33e6aa=_parser['read'](_0x506884),_0x5f14a1=_parser[_0x546a36(0x1b2)](_0x914762);return _parser['write'](a72_0x966249[_0x546a36(0x1a3)](_0x33e6aa,_0x5f14a1));}export function difference(_0x79bb10,_0x239b30){const _0x146c76=a72_0x583e,_0xe9e37b=_parser[_0x146c76(0x1b2)](_0x79bb10),_0x35e8d0=_parser[_0x146c76(0x1b2)](_0x239b30);return _parser['write'](a72_0x966249[_0x146c76(0x1a2)](_0xe9e37b,_0x35e8d0));}export function distance(_0x3a722d,_0x2821b9){const _0x4aba4b=a72_0x583e,_0x2ccebc=_parser[_0x4aba4b(0x1b2)](_0x3a722d),_0x25a09d=_parser[_0x4aba4b(0x1b2)](_0x2821b9);return _parser[_0x4aba4b(0x1be)](a72_0x23b526[_0x4aba4b(0x1a4)](_0x2ccebc,_0x25a09d));}export function jstlSplit(_0xcc3ce3,_0x4d4785){const _0x95f5f9=a72_0x583e,_0x50a0f5=_parser[_0x95f5f9(0x1b2)](_0xcc3ce3),_0x2695cc=_parser[_0x95f5f9(0x1b2)](_0x4d4785),_0x168521=_0x50a0f5[_0x95f5f9(0x1af)]();let _0x58ced8=[];function _0xc76495(_0x5c2e4b,_0x4c06ca){const _0x8b0b55=_0x95f5f9;let _0x3dc669=_0x5c2e4b['_holes'],_0x2cc605=_0x5c2e4b[_0x8b0b55(0x1ad)]()[_0x8b0b55(0x1a3)](_0x4c06ca),_0x51a46f=new a72_0x1f4973();_0x51a46f[_0x8b0b55(0x1ae)](_0x2cc605);let _0x1d530c=_0x51a46f[_0x8b0b55(0x1a8)]();_0x1d530c['array'][_0x8b0b55(0x1a9)]==0x2&&_0x1d530c[_0x8b0b55(0x1ba)][_0x8b0b55(0x19e)](_0x15253a=>{const _0x37fd5c=_0x8b0b55;_0x3dc669[_0x37fd5c(0x19e)](_0x2d82c9=>{const _0x3abb8f=_0x37fd5c;let _0x54ba58=[];for(let _0x5c2a98 in _0x2d82c9[_0x3abb8f(0x1a6)]()){_0x54ba58[_0x3abb8f(0x1b8)]([_0x2d82c9[_0x3abb8f(0x1a6)]()[_0x5c2a98]['x'],_0x2d82c9[_0x3abb8f(0x1a6)]()[_0x5c2a98]['y']]);}_0x2d82c9=_parser['read']({'coordinates':[_0x54ba58],'type':_0x3abb8f(0x1b5)}),_0x15253a=_0x15253a[_0x3abb8f(0x1a2)](_0x2d82c9);}),_0x58ced8[_0x37fd5c(0x1b8)](_parser[_0x37fd5c(0x1be)](_0x15253a));});}if(_0x168521===_0x95f5f9(0x1b5))_0xc76495(_0x50a0f5,_0x2695cc);else{if(_0x168521==='MultiPolygon')_0x50a0f5[_0x95f5f9(0x1a1)][_0x95f5f9(0x19e)]((_0xb231a4,_0x1e33dd)=>{_0xc76495(_0xb231a4,_0x2695cc);});else throw new Error(_0x95f5f9(0x1b6));}return _0x58ced8;}export function fromWKT(_0x1fcb1e,_0x5a66b4,_0x471358){const _0x2f277b=a72_0x583e,_0x34c94b=new a72_0x5c0730();_0x5a66b4&&registerProj(_0x5a66b4);_0x471358&&registerProj(_0x471358);const _0x39aa4a=_0x34c94b[_0x2f277b(0x1bb)](_0x1fcb1e);if(isGeometryEmpty(_0x39aa4a))return null;return _0x5a66b4&&_0x471358?_0x39aa4a[_0x2f277b(0x1ab)](new a72_0x41be54({'code':_0x5a66b4}),new a72_0x41be54({'code':_0x471358})):_0x39aa4a;}export function fromWKTs(_0x5dd691,_0x11b982,_0x3cb487){const _0x3f41a4=a72_0x583e,_0x3d5e7c=new a72_0x5c0730();let _0x2b3ab6=[];_0x11b982&&registerProj(_0x11b982);_0x3cb487&&registerProj(_0x3cb487);let _0xa833b5,_0x22ca1a;_0x11b982&&_0x3cb487&&(_0xa833b5=new a72_0x41be54({'code':_0x11b982}),_0x22ca1a=new a72_0x41be54({'code':_0x3cb487}));for(let _0x1523a3=0x0;_0x1523a3<_0x5dd691[_0x3f41a4(0x1a9)];_0x1523a3++){const _0x4e6521=_0x3d5e7c['readGeometry'](_0x5dd691[_0x1523a3]);if(isGeometryEmpty(_0x4e6521))continue;_0xa833b5&&_0x22ca1a?_0x2b3ab6['push'](_0x4e6521['transform'](_0xa833b5,_0x22ca1a)):_0x2b3ab6['push'](_0x4e6521);}return _0x2b3ab6;}export function toWKT(_0x8ea8f6){const _0x58e547=a72_0x583e,_0x5062b6=new a72_0x5c0730();return _0x5062b6[_0x58e547(0x1b1)](_0x8ea8f6);}export function toGeoJSON(_0x171915){const _0x1a15bc=a72_0x583e,_0x11c431=new a72_0x80c998();return _0x11c431[_0x1a15bc(0x1b1)](_0x171915);}export function fromGeoJSON(_0x1c77ac){const _0x297f99=a72_0x583e,_0x352027=new a72_0x80c998();return _0x352027[_0x297f99(0x1bb)](_0x1c77ac);}export function toEsriJSON(_0x3e56e6){const _0x47efdb=a72_0x583e,_0x321900=new a72_0x3ad358();return _0x321900[_0x47efdb(0x1b1)](_0x3e56e6);}export function fromEsriJSON(_0x41c7c6){const _0x41592d=a72_0x583e,_0x2f3389=new a72_0x3ad358();return _0x2f3389[_0x41592d(0x1bb)](_0x41c7c6);}function a72_0x75ab(){const _0x357a1e=['85bZGjgi','push','intersects','array','readGeometry','749975PALNwJ','6268977pVzIDS','write','9494166AyhTZe','10mpbDPC','forEach','getArea','clone','_geometries','difference','union','distance','202TZqPcZ','getCoordinates','8YwWlLS','getPolygons','length','337572LHzYWe','transform','4965765juERrn','getExteriorRing','add','getGeometryType','104424TGbBGw','writeGeometry','read','bufferOp','41508haJkGP','Polygon','无法识别的数据类型'];a72_0x75ab=function(){return _0x357a1e;};return a72_0x75ab();}export function expandExtent(_0x175319,_0x5caeec){const _0x5ddfdb=_0x175319[0x0],_0x52fdf5=_0x175319[0x1],_0x56c1fb=_0x175319[0x2],_0x3e0246=_0x175319[0x3],_0x2695dc=(_0x5ddfdb+_0x56c1fb)/0x2,_0x56b23a=(_0x52fdf5+_0x3e0246)/0x2,_0x11461b=_0x56c1fb-_0x5ddfdb,_0x5a857b=_0x3e0246-_0x52fdf5,_0x29d617=_0x11461b*_0x5caeec,_0x40d9f0=_0x5a857b*_0x5caeec,_0x28a16d=_0x2695dc-_0x29d617/0x2,_0x241890=_0x2695dc+_0x29d617/0x2,_0x30e7ca=_0x56b23a-_0x40d9f0/0x2,_0x4f95bc=_0x56b23a+_0x40d9f0/0x2;return[_0x28a16d,_0x30e7ca,_0x241890,_0x4f95bc];}export function isGeometryEmpty(_0xc943e9){const _0x18d3aa=a72_0x583e;if(!_0xc943e9)return!![];if(_0xc943e9 instanceof Point||_0xc943e9 instanceof MultiPoint){const _0x58ccad=_0xc943e9[_0x18d3aa(0x1a6)]();return!_0x58ccad||_0x58ccad['some'](_0x292a66=>isNaN(_0x292a66));}else{if(_0xc943e9 instanceof LineString||_0xc943e9 instanceof MultiLineString)return _0xc943e9[_0x18d3aa(0x1a6)]()[_0x18d3aa(0x1a9)]<0x2;else{if(_0xc943e9 instanceof Polygon){const _0x531c26=_0xc943e9[_0x18d3aa(0x1a6)]();return!_0x531c26||_0x531c26[_0x18d3aa(0x1a9)]===0x0||_0x531c26[0x0]['length']<0x4;}else{if(_0xc943e9 instanceof MultiPolygon){const _0x4f658c=_0xc943e9[_0x18d3aa(0x1a6)]();return!_0x4f658c||_0x4f658c[_0x18d3aa(0x1a9)]===0x0||_0x4f658c[0x0][0x0]['length']<0x4;}}}}return![];}
1
+ const a72_0x12d5fa=a72_0x36cb;(function(_0x1b91b5,_0x51d4fe){const _0x190ebc=a72_0x36cb,_0x76f09f=_0x1b91b5();while(!![]){try{const _0x36681d=-parseInt(_0x190ebc(0x1da))/0x1*(-parseInt(_0x190ebc(0x1df))/0x2)+-parseInt(_0x190ebc(0x1bd))/0x3+-parseInt(_0x190ebc(0x1c1))/0x4*(-parseInt(_0x190ebc(0x1bf))/0x5)+parseInt(_0x190ebc(0x1d4))/0x6*(parseInt(_0x190ebc(0x1c8))/0x7)+-parseInt(_0x190ebc(0x1c5))/0x8*(-parseInt(_0x190ebc(0x1cb))/0x9)+-parseInt(_0x190ebc(0x1d7))/0xa+parseInt(_0x190ebc(0x1e3))/0xb;if(_0x36681d===_0x51d4fe)break;else _0x76f09f['push'](_0x76f09f['shift']());}catch(_0x3eec84){_0x76f09f['push'](_0x76f09f['shift']());}}}(a72_0x41b3,0xc5d87));import a72_0x43700d from'ol/proj/Projection';import{distance as a72_0xcac11}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getArea as a72_0x10d7c5}from'ol/sphere';import a72_0x37cc1a from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a72_0x628181 from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a72_0xf2a405 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a72_0x51616b from'jsts/org/locationtech/jts/io/OL3Parser.js';import a72_0x3b0fb4 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';function a72_0x36cb(_0x1065ce,_0x59aeb6){const _0x41b385=a72_0x41b3();return a72_0x36cb=function(_0x36cbe3,_0x540db0){_0x36cbe3=_0x36cbe3-0x1bc;let _0x47bc95=_0x41b385[_0x36cbe3];return _0x47bc95;},a72_0x36cb(_0x1065ce,_0x59aeb6);}import a72_0xad69c6 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a72_0x4d3d51 from'ol/format/GeoJSON';import{LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import a72_0x492008 from'ol/format/WKT';import a72_0x471c5c from'ol/format/EsriJSON';const _parser=new a72_0x51616b(undefined,undefined);_parser[a72_0x12d5fa(0x1be)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x6c5b13,_0x5e2114,_0x4ad1ec=![]){const _0x38646d=a72_0x12d5fa;if(!_0x6c5b13)return 0x0;const _0x417c07=isSpheroid(_0x5e2114);if(_0x4ad1ec)return a72_0x10d7c5(_0x6c5b13,{'projection':_0x5e2114});else{if(_0x417c07){const _0x5dc7df=getGeoProjection(_0x6c5b13,_0x5e2114);return _0x6c5b13[_0x38646d(0x1cd)]()['transform'](_0x5e2114,_0x5dc7df)['getArea']();}return _0x6c5b13[_0x38646d(0x1d0)]();}}export function bufferOp(_0x1d66d2,_0x5d91b4){const _0xfabd17=a72_0x12d5fa,_0x4d55a5=_parser['read'](_0x1d66d2),_0x5bd2dd=a72_0x37cc1a[_0xfabd17(0x1d9)](_0x4d55a5,_0x5d91b4);return _parser['write'](_0x5bd2dd);}export function bufferPixel(_0x1fb0df,_0x185e2f,_0x5113a6){const _0x3b2c07=a72_0x12d5fa,_0x5e849f=_0x5113a6[_0x3b2c07(0x1bc)](_0x1fb0df[_0x3b2c07(0x1e0)]()),_0x4eabe6=_0x5113a6[_0x3b2c07(0x1db)]([_0x5e849f[0x0]+_0x185e2f,_0x5e849f[0x1]]),_0x182501=a72_0xcac11(_0x1fb0df[_0x3b2c07(0x1e0)](),_0x4eabe6),_0x40ce29=bufferOp(_0x1fb0df,_0x182501);return _0x40ce29;}export function contains(_0x4e1623,_0x479d8c){const _0x14067f=a72_0x12d5fa,_0x5227db=_parser[_0x14067f(0x1c6)](_0x4e1623),_0xf0d8d5=_parser['read'](_0x479d8c);return a72_0x628181[_0x14067f(0x1dc)](_0x5227db,_0xf0d8d5);}export function crosses(_0x5b57c9,_0x2a6959){const _0x5ff136=a72_0x12d5fa,_0xc0ddb7=_parser['read'](_0x5b57c9),_0x26d455=_parser['read'](_0x2a6959);return a72_0x628181[_0x5ff136(0x1c4)](_0xc0ddb7,_0x26d455);}export function intersects(_0x27168f,_0x55e5e8){const _0x54bcf8=a72_0x12d5fa,_0x11c84b=_parser['read'](_0x27168f),_0x550be9=_parser[_0x54bcf8(0x1c6)](_0x55e5e8);return a72_0x628181[_0x54bcf8(0x1d3)](_0x11c84b,_0x550be9);}export function intersection(_0x33e2fd,_0x37677b){const _0x8f2bf5=a72_0x12d5fa,_0xee6d6d=_parser[_0x8f2bf5(0x1c6)](_0x33e2fd),_0x7184db=_parser[_0x8f2bf5(0x1c6)](_0x37677b);return _parser[_0x8f2bf5(0x1d2)](a72_0xf2a405[_0x8f2bf5(0x1ca)](_0xee6d6d,_0x7184db));}export function union(_0x5acb62,_0x1906be){const _0x1de8b4=a72_0x12d5fa,_0xc0109c=_parser[_0x1de8b4(0x1c6)](_0x5acb62),_0x189df9=_parser[_0x1de8b4(0x1c6)](_0x1906be);return _parser[_0x1de8b4(0x1d2)](a72_0xf2a405[_0x1de8b4(0x1c9)](_0xc0109c,_0x189df9));}export function difference(_0x103af9,_0x427936){const _0x364b15=a72_0x12d5fa,_0x419891=_parser[_0x364b15(0x1c6)](_0x103af9),_0x57aa9c=_parser[_0x364b15(0x1c6)](_0x427936);return _parser[_0x364b15(0x1d2)](a72_0xf2a405['difference'](_0x419891,_0x57aa9c));}export function distance(_0x171e49,_0x45a815){const _0x5f638a=a72_0x12d5fa,_0x4a77a4=_parser['read'](_0x171e49),_0xfbcd8c=_parser[_0x5f638a(0x1c6)](_0x45a815);return _parser[_0x5f638a(0x1d2)](a72_0xad69c6[_0x5f638a(0x1cf)](_0x4a77a4,_0xfbcd8c));}export function jstlSplit(_0x4c30ba,_0xa91764){const _0x27a81f=a72_0x12d5fa,_0x4c3780=_parser['read'](_0x4c30ba),_0x5a1cfc=_parser[_0x27a81f(0x1c6)](_0xa91764),_0x20f097=_0x4c3780[_0x27a81f(0x1cc)]();let _0x5dbe32=[];function _0x211663(_0x1da56c,_0x1a1311){const _0xd79d8e=_0x27a81f;let _0x2d5d9e=_0x1da56c[_0xd79d8e(0x1de)],_0x498c39=_0x1da56c['getExteriorRing']()['union'](_0x1a1311),_0x3a0532=new a72_0x3b0fb4();_0x3a0532[_0xd79d8e(0x1c2)](_0x498c39);let _0x25243d=_0x3a0532[_0xd79d8e(0x1d8)]();_0x25243d[_0xd79d8e(0x1c7)][_0xd79d8e(0x1ce)]==0x2&&_0x25243d[_0xd79d8e(0x1c7)][_0xd79d8e(0x1e1)](_0x18cc44=>{const _0x1890dc=_0xd79d8e;_0x2d5d9e[_0x1890dc(0x1e1)](_0x16dc8d=>{const _0x41aae2=_0x1890dc;let _0x3d8483=[];for(let _0x1dd4b8 in _0x16dc8d['getCoordinates']()){_0x3d8483['push']([_0x16dc8d['getCoordinates']()[_0x1dd4b8]['x'],_0x16dc8d[_0x41aae2(0x1e0)]()[_0x1dd4b8]['y']]);}_0x16dc8d=_parser[_0x41aae2(0x1c6)]({'coordinates':[_0x3d8483],'type':'Polygon'}),_0x18cc44=_0x18cc44[_0x41aae2(0x1c3)](_0x16dc8d);}),_0x5dbe32[_0x1890dc(0x1d1)](_parser[_0x1890dc(0x1d2)](_0x18cc44));});}if(_0x20f097===_0x27a81f(0x1e4))_0x211663(_0x4c3780,_0x5a1cfc);else{if(_0x20f097===_0x27a81f(0x1dd))_0x4c3780['_geometries'][_0x27a81f(0x1e1)]((_0x1ca81f,_0xb18692)=>{_0x211663(_0x1ca81f,_0x5a1cfc);});else throw new Error(_0x27a81f(0x1d6));}return _0x5dbe32;}export function fromWKT(_0x55a48f,_0x439d41,_0x4c83e9){const _0x5c7293=a72_0x12d5fa,_0x3ca153=new a72_0x492008();_0x439d41&&registerProj(_0x439d41);_0x4c83e9&&registerProj(_0x4c83e9);const _0x56f0e6=_0x3ca153['readGeometry'](_0x55a48f);if(isGeometryEmpty(_0x56f0e6))return null;return _0x439d41&&_0x4c83e9?_0x56f0e6[_0x5c7293(0x1e2)](new a72_0x43700d({'code':_0x439d41}),new a72_0x43700d({'code':_0x4c83e9})):_0x56f0e6;}export function fromWKTs(_0x4e9bfc,_0x478a8d,_0xfa33a9){const _0x4a4c57=a72_0x12d5fa,_0x45ac5f=new a72_0x492008();let _0x136a96=[];_0x478a8d&&registerProj(_0x478a8d);_0xfa33a9&&registerProj(_0xfa33a9);let _0x2d0c64,_0x2e0b05;_0x478a8d&&_0xfa33a9&&(_0x2d0c64=new a72_0x43700d({'code':_0x478a8d}),_0x2e0b05=new a72_0x43700d({'code':_0xfa33a9}));for(let _0x59a94e=0x0;_0x59a94e<_0x4e9bfc[_0x4a4c57(0x1ce)];_0x59a94e++){const _0x52500b=_0x45ac5f[_0x4a4c57(0x1c0)](_0x4e9bfc[_0x59a94e]);if(isGeometryEmpty(_0x52500b))continue;_0x2d0c64&&_0x2e0b05?_0x136a96['push'](_0x52500b[_0x4a4c57(0x1e2)](_0x2d0c64,_0x2e0b05)):_0x136a96[_0x4a4c57(0x1d1)](_0x52500b);}return _0x136a96;}function a72_0x41b3(){const _0x547dbd=['_holes','2041790zHgRIN','getCoordinates','forEach','transform','8383595CQIzEv','Polygon','getPixelFromCoordinate','3246393KzeYou','inject','23255ylwofO','readGeometry','628NFyUvn','add','difference','crosses','1195288VGyfHv','read','array','53242vdyBtA','union','intersection','27vzhyTM','getGeometryType','clone','length','distance','getArea','push','write','intersects','228pPBpoY','writeGeometry','无法识别的数据类型','13580020WNVMvy','getPolygons','bufferOp','1ASfOAW','getCoordinateFromPixel','contains','MultiPolygon'];a72_0x41b3=function(){return _0x547dbd;};return a72_0x41b3();}export function toWKT(_0x3e7fe5){const _0x2ec23d=a72_0x12d5fa,_0x491778=new a72_0x492008();return _0x491778[_0x2ec23d(0x1d5)](_0x3e7fe5);}export function toGeoJSON(_0x31010c){const _0x3d4aa4=a72_0x12d5fa,_0x27f0d9=new a72_0x4d3d51();return _0x27f0d9[_0x3d4aa4(0x1d5)](_0x31010c);}export function fromGeoJSON(_0x187f94){const _0x85ec53=a72_0x12d5fa,_0x1fb98a=new a72_0x4d3d51();return _0x1fb98a[_0x85ec53(0x1c0)](_0x187f94);}export function toEsriJSON(_0xa9df89){const _0x15a76c=new a72_0x471c5c();return _0x15a76c['writeGeometry'](_0xa9df89);}export function fromEsriJSON(_0x32e699){const _0x156870=a72_0x12d5fa,_0x858ba6=new a72_0x471c5c();return _0x858ba6[_0x156870(0x1c0)](_0x32e699);}export function expandExtent(_0x4396c9,_0x12e175){const _0x2e1a0a=_0x4396c9[0x0],_0x3b9e00=_0x4396c9[0x1],_0x4f9dcc=_0x4396c9[0x2],_0x2653f2=_0x4396c9[0x3],_0x37b78a=(_0x2e1a0a+_0x4f9dcc)/0x2,_0x5aaa9e=(_0x3b9e00+_0x2653f2)/0x2,_0x8da911=_0x4f9dcc-_0x2e1a0a,_0x2984d2=_0x2653f2-_0x3b9e00,_0x459987=_0x8da911*_0x12e175,_0x1844cb=_0x2984d2*_0x12e175,_0x3dff2c=_0x37b78a-_0x459987/0x2,_0x1deaff=_0x37b78a+_0x459987/0x2,_0x1cb9d6=_0x5aaa9e-_0x1844cb/0x2,_0x4a81c6=_0x5aaa9e+_0x1844cb/0x2;return[_0x3dff2c,_0x1cb9d6,_0x1deaff,_0x4a81c6];}export function isGeometryEmpty(_0x2d18e0){const _0x456d2f=a72_0x12d5fa;if(!_0x2d18e0)return!![];if(_0x2d18e0 instanceof Point||_0x2d18e0 instanceof MultiPoint){const _0x3fe17a=_0x2d18e0[_0x456d2f(0x1e0)]();return!_0x3fe17a||_0x3fe17a['some'](_0x5ed10d=>isNaN(_0x5ed10d));}else{if(_0x2d18e0 instanceof LineString||_0x2d18e0 instanceof MultiLineString)return _0x2d18e0['getCoordinates']()[_0x456d2f(0x1ce)]<0x2;else{if(_0x2d18e0 instanceof Polygon){const _0x5d3d87=_0x2d18e0[_0x456d2f(0x1e0)]();return!_0x5d3d87||_0x5d3d87[_0x456d2f(0x1ce)]===0x0||_0x5d3d87[0x0][_0x456d2f(0x1ce)]<0x4;}else{if(_0x2d18e0 instanceof MultiPolygon){const _0x306eaa=_0x2d18e0['getCoordinates']();return!_0x306eaa||_0x306eaa[_0x456d2f(0x1ce)]===0x0||_0x306eaa[0x0][0x0][_0x456d2f(0x1ce)]<0x4;}}}}return![];}
@@ -1 +1 @@
1
- (function(_0x4c2acb,_0x44c219){const _0x1ed866=a73_0x474a,_0x25adaa=_0x4c2acb();while(!![]){try{const _0xb07ab=parseInt(_0x1ed866(0x8a))/0x1+-parseInt(_0x1ed866(0x8b))/0x2+-parseInt(_0x1ed866(0xa0))/0x3*(-parseInt(_0x1ed866(0x89))/0x4)+-parseInt(_0x1ed866(0x8e))/0x5*(parseInt(_0x1ed866(0xa3))/0x6)+parseInt(_0x1ed866(0xa1))/0x7+parseInt(_0x1ed866(0x9b))/0x8*(-parseInt(_0x1ed866(0x9a))/0x9)+parseInt(_0x1ed866(0x86))/0xa*(parseInt(_0x1ed866(0x91))/0xb);if(_0xb07ab===_0x44c219)break;else _0x25adaa['push'](_0x25adaa['shift']());}catch(_0xdf42d){_0x25adaa['push'](_0x25adaa['shift']());}}}(a73_0x532a,0xb57cd));import a73_0x1bab58 from'../utils/AxiosUtil';function a73_0x474a(_0x48d3bf,_0x3295b1){const _0x532aea=a73_0x532a();return a73_0x474a=function(_0x474ad6,_0x203f05){_0x474ad6=_0x474ad6-0x83;let _0x292c94=_0x532aea[_0x474ad6];return _0x292c94;},a73_0x474a(_0x48d3bf,_0x3295b1);}export function mapServiceTreeTransform(_0x131876){const _0x16e113=a73_0x474a;let _0x3868aa=[];return _0x131876&&_0x131876[_0x16e113(0x93)]>0x0&&(_0x131876[_0x16e113(0x98)](_0x500e9b=>{const _0x373a53=_0x16e113;(!_0x500e9b[_0x373a53(0x94)]||_0x500e9b[_0x373a53(0x94)]=='')&&_0x3868aa['push'](Object['assign']({},_0x500e9b));}),_0x3868aa=_0x3868aa['sort']((_0xa8dac1,_0x248fe9)=>{const _0xd6058e=_0x16e113;return(_0xa8dac1['showIndex']?_0xa8dac1[_0xd6058e(0xa2)]:0x0)-(_0x248fe9[_0xd6058e(0xa2)]?_0x248fe9[_0xd6058e(0xa2)]:0x0);}),_0x3868aa[_0x16e113(0x98)](_0x64bf3b=>{const _0x453608=_0x16e113;_0x64bf3b[_0x453608(0x9c)]=setChildren(_0x64bf3b['id'],_0x131876);})),_0x3868aa;}function a73_0x532a(){const _0x44dd56=['5111561fLkEWJ','showIndex','8560218ZAQQcv','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','gwc/service/wmts','data','wms','1670lcHFds','get','push','4jzklEh','850844mNsPTh','1789784YCShHQ','&format=image/png','url','5uszzHS','includes','layerType','94919TnnILb','title','length','parentId','Legend','assign','replace','forEach','sort','2195595JEClER','8KLxVbT','children','sublayers','indexOf','geoserver','860439mlhkSX'];a73_0x532a=function(){return _0x44dd56;};return a73_0x532a();}function setChildren(_0x5618a4,_0x14b556){const _0x51baad=a73_0x474a;let _0x160f65=[];return _0x14b556[_0x51baad(0x98)](_0x39a6a8=>{const _0x4c3dc0=_0x51baad;_0x5618a4===(_0x39a6a8[_0x4c3dc0(0x94)]==null?'':_0x39a6a8['parentId'])&&_0x160f65[_0x4c3dc0(0x88)](Object[_0x4c3dc0(0x96)]({},_0x39a6a8));}),_0x160f65=_0x160f65[_0x51baad(0x99)]((_0xf913d4,_0x234b1f)=>{const _0x617710=_0x51baad;return(_0xf913d4[_0x617710(0xa2)]?_0xf913d4[_0x617710(0xa2)]:0x0)-(_0x234b1f[_0x617710(0xa2)]?_0x234b1f[_0x617710(0xa2)]:0x0);}),_0x160f65[_0x51baad(0x93)]>0x0&&_0x160f65[_0x51baad(0x98)](_0x1669f0=>{const _0x194b43=_0x51baad;_0x1669f0[_0x194b43(0x9c)]=setChildren(_0x1669f0['id'],_0x14b556);}),_0x160f65;}export async function getLayerLegend(_0x2f4b26,_0x3308f6){const _0x39111a=a73_0x474a;if(!_0x2f4b26||!_0x2f4b26[_0x39111a(0x8d)]||!_0x2f4b26[_0x39111a(0x9d)]||_0x2f4b26['sublayers'][_0x39111a(0x93)]==0x0||!_0x2f4b26[_0x39111a(0x90)])return;if(_0x2f4b26[_0x39111a(0x90)][_0x39111a(0x9e)](_0x39111a(0x9f))>-0x1)return await getGeoServerLayerLegend(_0x2f4b26,_0x3308f6);return;}export async function getGeoServerLayerLegend(_0x4c5fc3,_0x96431f){const _0x1ccf5c=a73_0x474a;if(!_0x4c5fc3||!_0x4c5fc3['url']||!_0x4c5fc3['sublayers']||_0x4c5fc3[_0x1ccf5c(0x9d)]['length']==0x0)return;let _0x41c3ec=_0x4c5fc3['url'];const _0x26edee=_0x4c5fc3[_0x1ccf5c(0x9d)];_0x41c3ec=_0x41c3ec[_0x1ccf5c(0x97)](_0x1ccf5c(0x83),_0x1ccf5c(0x85));const _0x5abd26=[];for(let _0x4bf79b=0x0;_0x4bf79b<_0x26edee[_0x1ccf5c(0x93)];_0x4bf79b++){const _0x4c7193=_0x26edee[_0x4bf79b];let _0x34009f=_0x1ccf5c(0xa4)+_0x4c7193+'&format=application/json';const _0x22f99c=_0x41c3ec[_0x1ccf5c(0x8f)]('?')?_0x41c3ec+'&'+_0x34009f:_0x41c3ec+'?'+_0x34009f,_0x4e9520=await a73_0x1bab58[_0x1ccf5c(0x87)](_0x22f99c);if(_0x4e9520[_0x1ccf5c(0x84)]&&_0x4e9520[_0x1ccf5c(0x84)][_0x1ccf5c(0x95)]&&_0x4e9520[_0x1ccf5c(0x84)]['Legend'][_0x1ccf5c(0x93)]>0x0)_0x5abd26[_0x1ccf5c(0x88)](_0x4e9520[_0x1ccf5c(0x84)][_0x1ccf5c(0x95)][0x0]);else{let _0x57e76f=_0x96431f?_0x96431f:0x10,_0x517667=_0x1ccf5c(0xa4)+_0x4c7193+'&width='+_0x57e76f+'&height='+_0x57e76f+_0x1ccf5c(0x8c);const _0x328f1b=_0x41c3ec[_0x1ccf5c(0x8f)]('?')?_0x41c3ec+'&'+_0x517667:_0x41c3ec+'?'+_0x517667;_0x5abd26[_0x1ccf5c(0x88)]({'title':_0x4c5fc3[_0x1ccf5c(0x92)],'url':_0x328f1b});}}return _0x5abd26;}
1
+ (function(_0x51f560,_0x19ee4b){const _0x17253a=a73_0x3492,_0x353a33=_0x51f560();while(!![]){try{const _0x56f4c3=-parseInt(_0x17253a(0xf1))/0x1+parseInt(_0x17253a(0xf8))/0x2+parseInt(_0x17253a(0xe9))/0x3*(parseInt(_0x17253a(0x101))/0x4)+-parseInt(_0x17253a(0xf2))/0x5+-parseInt(_0x17253a(0x103))/0x6+parseInt(_0x17253a(0xef))/0x7+parseInt(_0x17253a(0x107))/0x8;if(_0x56f4c3===_0x19ee4b)break;else _0x353a33['push'](_0x353a33['shift']());}catch(_0x442c54){_0x353a33['push'](_0x353a33['shift']());}}}(a73_0x4041,0xa4de5));import a73_0x593744 from'../utils/AxiosUtil';export function mapServiceTreeTransform(_0x58492a){const _0x2b002b=a73_0x3492;let _0x2bc0fb=[];return _0x58492a&&_0x58492a[_0x2b002b(0xfa)]>0x0&&(_0x58492a[_0x2b002b(0xeb)](_0x2ac200=>{const _0x59bd04=_0x2b002b;(!_0x2ac200[_0x59bd04(0xf0)]||_0x2ac200['parentId']=='')&&_0x2bc0fb[_0x59bd04(0xf5)](Object[_0x59bd04(0xf7)]({},_0x2ac200));}),_0x2bc0fb=_0x2bc0fb[_0x2b002b(0xff)]((_0x4d42c6,_0x256653)=>{const _0x2773f8=_0x2b002b;return(_0x4d42c6[_0x2773f8(0x108)]?_0x4d42c6[_0x2773f8(0x108)]:0x0)-(_0x256653[_0x2773f8(0x108)]?_0x256653[_0x2773f8(0x108)]:0x0);}),_0x2bc0fb['forEach'](_0x4a99be=>{const _0x35a850=_0x2b002b;_0x4a99be[_0x35a850(0xf3)]=setChildren(_0x4a99be['id'],_0x58492a);})),_0x2bc0fb;}function a73_0x3492(_0x3660dc,_0x6010eb){const _0x404156=a73_0x4041();return a73_0x3492=function(_0x349244,_0x4af40b){_0x349244=_0x349244-0xe9;let _0x5eee8b=_0x404156[_0x349244];return _0x5eee8b;},a73_0x3492(_0x3660dc,_0x6010eb);}function setChildren(_0x3d0e72,_0x4c060c){const _0x1e0cd2=a73_0x3492;let _0x360691=[];return _0x4c060c['forEach'](_0x40bae7=>{const _0x578bc1=a73_0x3492;_0x3d0e72===(_0x40bae7[_0x578bc1(0xf0)]==null?'':_0x40bae7[_0x578bc1(0xf0)])&&_0x360691[_0x578bc1(0xf5)](Object['assign']({},_0x40bae7));}),_0x360691=_0x360691[_0x1e0cd2(0xff)]((_0x5bb314,_0x4da466)=>{const _0x26d2a6=_0x1e0cd2;return(_0x5bb314[_0x26d2a6(0x108)]?_0x5bb314[_0x26d2a6(0x108)]:0x0)-(_0x4da466[_0x26d2a6(0x108)]?_0x4da466[_0x26d2a6(0x108)]:0x0);}),_0x360691[_0x1e0cd2(0xfa)]>0x0&&_0x360691[_0x1e0cd2(0xeb)](_0x47acff=>{const _0x303e12=_0x1e0cd2;_0x47acff[_0x303e12(0xf3)]=setChildren(_0x47acff['id'],_0x4c060c);}),_0x360691;}export async function getLayerLegend(_0x127f5c,_0x41c493){const _0x2f02d4=a73_0x3492;if(!_0x127f5c||!_0x127f5c[_0x2f02d4(0x102)]||!_0x127f5c[_0x2f02d4(0xfc)]||_0x127f5c[_0x2f02d4(0xfc)][_0x2f02d4(0xfa)]==0x0||!_0x127f5c['layerType'])return;if(_0x127f5c[_0x2f02d4(0xee)][_0x2f02d4(0xed)](_0x2f02d4(0xfd))>-0x1)return await getGeoServerLayerLegend(_0x127f5c,_0x41c493);return;}function a73_0x4041(){const _0x4ac8bf=['length','includes','sublayers','geoserver','wms','sort','title','289396TXIZNL','url','1397016ynpfoJ','&width=','Legend','gwc/service/wmts','4842864bElYYB','showIndex','39XIfSgm','get','forEach','data','indexOf','layerType','417564vCTBhT','parentId','865338MVIZsH','760315TteKnB','children','service=WMS&version=1.1.0&request=GetLegendGraphic&layer=','push','&format=image/png','assign','639982tmtMxH','&height='];a73_0x4041=function(){return _0x4ac8bf;};return a73_0x4041();}export async function getGeoServerLayerLegend(_0x29e353,_0x2cb458){const _0x126ab1=a73_0x3492;if(!_0x29e353||!_0x29e353[_0x126ab1(0x102)]||!_0x29e353['sublayers']||_0x29e353[_0x126ab1(0xfc)][_0x126ab1(0xfa)]==0x0)return;let _0x129b94=_0x29e353[_0x126ab1(0x102)];const _0x139ce2=_0x29e353[_0x126ab1(0xfc)];_0x129b94=_0x129b94['replace'](_0x126ab1(0x106),_0x126ab1(0xfe));const _0x4c6dc1=[];for(let _0x465636=0x0;_0x465636<_0x139ce2[_0x126ab1(0xfa)];_0x465636++){const _0x526ab7=_0x139ce2[_0x465636];let _0x2f03aa='service=WMS&version=1.1.0&request=GetLegendGraphic&layer='+_0x526ab7+'&format=application/json';const _0x23b814=_0x129b94['includes']('?')?_0x129b94+'&'+_0x2f03aa:_0x129b94+'?'+_0x2f03aa,_0x1b61d1=await a73_0x593744[_0x126ab1(0xea)](_0x23b814);if(_0x1b61d1['data']&&_0x1b61d1['data'][_0x126ab1(0x105)]&&_0x1b61d1[_0x126ab1(0xec)][_0x126ab1(0x105)]['length']>0x0)_0x4c6dc1[_0x126ab1(0xf5)](_0x1b61d1[_0x126ab1(0xec)][_0x126ab1(0x105)][0x0]);else{let _0x253d42=_0x2cb458?_0x2cb458:0x10,_0x460dbb=_0x126ab1(0xf4)+_0x526ab7+_0x126ab1(0x104)+_0x253d42+_0x126ab1(0xf9)+_0x253d42+_0x126ab1(0xf6);const _0xe8c1f7=_0x129b94[_0x126ab1(0xfb)]('?')?_0x129b94+'&'+_0x460dbb:_0x129b94+'?'+_0x460dbb;_0x4c6dc1[_0x126ab1(0xf5)]({'title':_0x29e353[_0x126ab1(0x100)],'url':_0xe8c1f7});}}return _0x4c6dc1;}