ym-gis-2d 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/feature/FeatureManager.js +1 -1
  12. package/index.js +1 -1
  13. package/interaction/Draw.js +1 -1
  14. package/interaction/InteractionManager.js +1 -1
  15. package/interaction/Select.js +1 -1
  16. package/layers/ArcgisDynamicLayer.js +1 -1
  17. package/layers/ArcgisFeatureLayer.js +1 -1
  18. package/layers/ArcgisTileLayer.js +1 -1
  19. package/layers/ArcgisWMSLayer.js +1 -1
  20. package/layers/ArcgisWMTSLayer.js +1 -1
  21. package/layers/GeoserverVectorTile.js +1 -1
  22. package/layers/GeoserverWFSLayer.js +1 -1
  23. package/layers/GeoserverWMSLayer.js +1 -1
  24. package/layers/GeoserverWMTSLayer.js +1 -1
  25. package/layers/LayerManager.js +1 -1
  26. package/layers/TDTLayer.js +1 -1
  27. package/mapView/Map.d.ts +2 -2
  28. package/mapView/Map.d.ts.map +1 -1
  29. package/mapView/Map.js +1 -1
  30. package/mapView/Map.js.map +1 -1
  31. package/mapView/View.js +1 -1
  32. package/package.json +1 -1
  33. package/plot/Plot.js +1 -1
  34. package/plot/geometry/point/Point.js +1 -1
  35. package/plot/geometry/polygon/BasePolygon.js +1 -1
  36. package/plot/geometry/polygon/Circle.js +1 -1
  37. package/plot/geometry/polygon/Polygon.js +1 -1
  38. package/plot/geometry/polygon/RectAngle.js +1 -1
  39. package/plot/geometry/polyline/BaseLine.js +1 -1
  40. package/plot/geometry/polyline/Polyline.js +1 -1
  41. package/style/PointStyleFormat.js +1 -1
  42. package/style/PolygonStyleFormat.js +1 -1
  43. package/style/PolylineStyleFormat.js +1 -1
  44. package/style/StyleManager.js +1 -1
  45. package/style/common.js +1 -1
  46. package/utils/ArrayUtil.js +1 -1
  47. package/utils/AxiosUtil.js +1 -1
  48. package/utils/EsriUtil.js +1 -1
  49. package/utils/GeometryUtil.js +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- function a0_0x5e28(_0x18d503,_0x9a7981){const _0x3f89de=a0_0x3f89();return a0_0x5e28=function(_0x5e28c1,_0x2083c7){_0x5e28c1=_0x5e28c1-0x125;let _0x506ce1=_0x3f89de[_0x5e28c1];return _0x506ce1;},a0_0x5e28(_0x18d503,_0x9a7981);}(function(_0x4f610c,_0x357974){const _0x54a5ce=a0_0x5e28,_0x1c94de=_0x4f610c();while(!![]){try{const _0x46967b=-parseInt(_0x54a5ce(0x16a))/0x1+parseInt(_0x54a5ce(0x144))/0x2+-parseInt(_0x54a5ce(0x16e))/0x3+parseInt(_0x54a5ce(0x15e))/0x4*(-parseInt(_0x54a5ce(0x137))/0x5)+parseInt(_0x54a5ce(0x16f))/0x6+parseInt(_0x54a5ce(0x14c))/0x7*(-parseInt(_0x54a5ce(0x160))/0x8)+parseInt(_0x54a5ce(0x147))/0x9*(parseInt(_0x54a5ce(0x13b))/0xa);if(_0x46967b===_0x357974)break;else _0x1c94de['push'](_0x1c94de['shift']());}catch(_0x494bb9){_0x1c94de['push'](_0x1c94de['shift']());}}}(a0_0x3f89,0x1c75b));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x314484 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';import a0_0x2a9254 from'ol/format/WMTSCapabilities';import a0_0x47daa7 from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x443411){const _0x51cdd1=a0_0x5e28,_0x57a5a1=addArgument(_0x443411,'f',_0x51cdd1(0x15f)),_0x110b3e=await a0_0x314484[_0x51cdd1(0x152)](_0x57a5a1);return _0x110b3e[_0x51cdd1(0x16d)];}export async function getFeatureLayerInfo(_0x13461b,_0x1a2bea){const _0x404f92=a0_0x5e28;let _0x36439c=addArgument(_0x13461b,'f','json');_0x36439c=appendPath(_0x36439c,_0x1a2bea);const _0x192f2d=await jsonp(_0x36439c);return _0x192f2d[_0x404f92(0x15a)]=_0x36439c,_0x192f2d;}export async function getWMSLayerCapabilities(_0x35471e,_0x24538f){const _0x5762cb=a0_0x5e28,_0x29c182=await getWMSCapabilities(_0x35471e);let _0x279d58={},_0x415ad0=_0x29c182[_0x5762cb(0x139)][_0x5762cb(0x15b)][_0x5762cb(0x15b)];for(let _0x54ef70=0x0;_0x54ef70<_0x415ad0['length'];_0x54ef70++){const _0x164a9d=_0x415ad0[_0x54ef70];if(_0x164a9d[_0x5762cb(0x145)]==_0x24538f){_0x279d58['style']=_0x164a9d['Style'][0x0][_0x5762cb(0x145)];for(let _0x15284f=0x0;_0x15284f<_0x164a9d[_0x5762cb(0x15d)][_0x5762cb(0x163)];_0x15284f++){const _0x3a5bb8=_0x164a9d['BoundingBox'][_0x15284f];if(_0x3a5bb8[_0x5762cb(0x126)][_0x5762cb(0x14f)](_0x5762cb(0x142))>-0x1){_0x279d58[_0x5762cb(0x14e)]=transformedToNumber(_0x3a5bb8['crs']),_0x279d58[_0x5762cb(0x158)]=[_0x3a5bb8[_0x5762cb(0x166)][0x1],_0x3a5bb8[_0x5762cb(0x166)][0x0],_0x3a5bb8[_0x5762cb(0x166)][0x3],_0x3a5bb8['extent'][0x2]];break;}}break;}}return _0x279d58;}export async function getWMTSLayerCapabilities(_0x565a31,_0x67679d){const _0x39c19f=a0_0x5e28,_0x21e43e=await getWMTSCapabilities(_0x565a31);let _0x2660c4={},_0x2d7a17=_0x21e43e[_0x39c19f(0x159)][_0x39c19f(0x15b)];_0x2660c4[_0x39c19f(0x174)]=_0x21e43e;for(let _0x52803b=0x0;_0x52803b<_0x2d7a17[_0x39c19f(0x163)];_0x52803b++){const _0x542efb=_0x2d7a17[_0x52803b];if(_0x542efb['Identifier']==_0x67679d){_0x2660c4[_0x39c19f(0x154)]=_0x542efb['Format'],_0x2660c4[_0x39c19f(0x13f)]=_0x542efb[_0x39c19f(0x148)][0x0][_0x39c19f(0x171)],_0x2660c4[_0x39c19f(0x165)]=_0x542efb[_0x39c19f(0x167)][0x0]['TileMatrixSet'],_0x2660c4[_0x39c19f(0x13a)]=_0x542efb[_0x39c19f(0x12f)],_0x2660c4[_0x39c19f(0x176)]=_0x542efb[_0x39c19f(0x15d)]&&_0x542efb['BoundingBox'][_0x39c19f(0x163)]>0x0?_0x542efb[_0x39c19f(0x15d)][0x0][_0x39c19f(0x166)]:_0x2660c4[_0x39c19f(0x13a)];break;}}if(_0x2660c4[_0x39c19f(0x165)])for(let _0x5425cf=0x0;_0x5425cf<_0x21e43e['Contents']['TileMatrixSet']['length'];_0x5425cf++){const _0x309056=_0x21e43e[_0x39c19f(0x159)][_0x39c19f(0x12e)][_0x5425cf];if(_0x309056[_0x39c19f(0x171)]==_0x2660c4['tileMatrixSet']){_0x2660c4[_0x39c19f(0x14e)]=transformedToNumber(_0x309056[_0x39c19f(0x138)]),_0x2660c4[_0x39c19f(0x130)]=[];for(let _0x5ba8b0=0x0;_0x5ba8b0<_0x309056['TileMatrix'][_0x39c19f(0x163)];_0x5ba8b0++){const _0x457bdd=_0x309056[_0x39c19f(0x149)][_0x5ba8b0];_0x2660c4[_0x39c19f(0x130)][_0x39c19f(0x16b)]({'identifier':_0x457bdd[_0x39c19f(0x171)],'matrixHeight':_0x457bdd[_0x39c19f(0x131)],'matrixWidth':_0x457bdd['MatrixWidth'],'scaleDenominator':_0x457bdd[_0x39c19f(0x172)],'tileHeight':_0x457bdd[_0x39c19f(0x175)],'tileWidth':_0x457bdd[_0x39c19f(0x136)],'topLeftCorner':_0x457bdd[_0x39c19f(0x12b)]});}break;}}return _0x2660c4;}export async function getWFSLayerCapabilities(_0x5802ba,_0x52d27c){const _0x11ae81=a0_0x5e28,_0x595be8=await getWFSCapabilities(_0x5802ba);let _0x454570={};const _0x2a5bd8=await getWmsLayerFields(_0x5802ba,_0x52d27c);_0x454570[_0x11ae81(0x12d)]=_0x2a5bd8;let _0x9ed106=_0x595be8[_0x11ae81(0x140)](_0x11ae81(0x146))[0x0][_0x11ae81(0x132)],_0x22417c;for(let _0x33f8d4=0x0,_0xa8071d=_0x9ed106[_0x11ae81(0x163)];_0x33f8d4<_0xa8071d;_0x33f8d4++){for(let _0x4f57e4=0x0,_0x5b0410=_0x9ed106[_0x33f8d4][_0x11ae81(0x132)][_0x11ae81(0x163)];_0x4f57e4<_0x5b0410;_0x4f57e4++){if(_0x9ed106[_0x33f8d4][_0x11ae81(0x132)][_0x4f57e4]['nodeName']===_0x11ae81(0x145)){const _0x1bf8bb=_0x9ed106[_0x33f8d4][_0x11ae81(0x132)][_0x4f57e4][_0x11ae81(0x162)][_0x11ae81(0x150)]();if(_0x1bf8bb==_0x52d27c||_0x1bf8bb[_0x11ae81(0x14f)](':'+_0x52d27c)>-0x1){_0x22417c=_0x9ed106[_0x33f8d4];break;}}}if(_0x22417c)break;}let _0x2d1715=[];for(let _0x5732c1=0x0,_0x2b2016=_0x22417c[_0x11ae81(0x132)][_0x11ae81(0x163)];_0x5732c1<_0x2b2016;_0x5732c1++){if(_0x22417c[_0x11ae81(0x132)][_0x5732c1][_0x11ae81(0x153)]==='ows:WGS84BoundingBox'){let _0xe29008=_0x22417c['children'][_0x5732c1][_0x11ae81(0x132)][0x0][_0x11ae81(0x162)][_0x11ae81(0x177)]('\x20'),_0x5c6972=_0x22417c[_0x11ae81(0x132)][_0x5732c1][_0x11ae81(0x132)][0x1]['innerHTML'][_0x11ae81(0x177)]('\x20');_0xe29008&&_0x5c6972&&(_0x2d1715=[_0xe29008[0x0]-0x0,_0xe29008[0x1]-0x0,_0x5c6972[0x0]-0x0,_0x5c6972[0x1]-0x0]),_0x454570['initExtent']=_0x2d1715;}else _0x22417c[_0x11ae81(0x132)][_0x5732c1][_0x11ae81(0x153)]===_0x11ae81(0x13d)&&(_0x454570[_0x11ae81(0x14e)]=transformedToNumber(_0x22417c[_0x11ae81(0x132)][_0x5732c1]['innerHTML']));}return _0x454570;}export async function getWMSCapabilities(_0xd420d1){const _0x450094=a0_0x5e28;let _0x4381c8=addArgument(_0xd420d1,_0x450094(0x155),_0x450094(0x143));_0x4381c8=addArgument(_0x4381c8,_0x450094(0x129),_0x450094(0x134));const _0x3067ef=await a0_0x314484['get'](_0x4381c8);let _0x314228=new a0_0x47daa7();return _0x314228[_0x450094(0x161)](_0x3067ef['data']);}export async function getWMTSCapabilities(_0x2b0ecb){const _0x166d90=a0_0x5e28;let _0x2300e9=addArgument(_0x2b0ecb,_0x166d90(0x155),_0x166d90(0x143));_0x2300e9=addArgument(_0x2300e9,_0x166d90(0x129),_0x166d90(0x157));const _0x223327=await a0_0x314484['get'](_0x2300e9);let _0x52ae93=new a0_0x2a9254();return _0x52ae93[_0x166d90(0x161)](_0x223327[_0x166d90(0x16d)]);}export async function getWFSCapabilities(_0x23b710){const _0x9cf5d7=a0_0x5e28;let _0x1708d7=addArgument(_0x23b710,_0x9cf5d7(0x155),_0x9cf5d7(0x143));_0x1708d7=addArgument(_0x1708d7,_0x9cf5d7(0x129),_0x9cf5d7(0x133));const _0x3d1657=await a0_0x314484['get'](_0x1708d7),_0x58840c=readXml(_0x3d1657[_0x9cf5d7(0x16d)]);return _0x58840c;}function a0_0x3f89(){const _0x219a49=['Contents','url','Layer','arcgis-dynamic','BoundingBox','207284LUbEbJ','json','8Bwgmco','read','innerHTML','length','alias','tileMatrixSet','extent','TileMatrixSetLink','esriFieldTypeSmallInteger','type','217396GgnLUW','push','value','data','575160xaIaKJ','1129506TDuzRt','label','Identifier','ScaleDenominator','arcgis-feature','sourceXml','TileHeight','boundingBoxExtent','split','Title','crs','decimal','esriFieldTypeDouble','service','name','TopLeftCorner','int','layerFields','TileMatrixSet','WGS84BoundingBox','tileMatrixs','MatrixHeight','children','wfs','wms','pjson','TileWidth','20ThpUwu','SupportedCRS','Capability','wgs84BoundingBox','74860BWxpai','typeName','DefaultCRS','esriFieldTypeDate','style','getElementsByTagName','string','EPSG:','GetCapabilities','147698kgDEtF','Name','FeatureTypeList','576OyKOOk','Style','TileMatrix','double','date','57631MQZCMY','gml:','wkid','indexOf','toString','attributes','get','nodeName','format','request','forEach','wmts','initExtent'];a0_0x3f89=function(){return _0x219a49;};return a0_0x3f89();}export async function getWmsLayerFields(_0x487470,_0x53814d){const _0x44ad86=a0_0x5e28;let _0x4e3cdc=addArgument(_0x487470,_0x44ad86(0x155),'DescribeFeatureType');_0x4e3cdc=addArgument(_0x4e3cdc,_0x44ad86(0x129),'wfs'),_0x4e3cdc=addArgument(_0x4e3cdc,_0x44ad86(0x13c),_0x53814d);const _0x1d3975=await a0_0x314484[_0x44ad86(0x152)](_0x4e3cdc),_0x1465c9=readXml(_0x1d3975[_0x44ad86(0x16d)]);let _0x262833=[];const _0x1e54f5=_0x1465c9['getElementsByTagName']('xsd:sequence')[0x0][_0x44ad86(0x132)];for(let _0x1120d4=0x0;_0x1120d4<_0x1e54f5[_0x44ad86(0x163)];_0x1120d4++){const _0x4b3b34=_0x1e54f5[_0x1120d4],_0x382cf2=_0x4b3b34[_0x44ad86(0x151)]['type'][_0x44ad86(0x16c)];let _0x3e27c7=0x1;if(_0x382cf2['indexOf'](_0x44ad86(0x141))>-0x1)_0x3e27c7=0x1;else{if(_0x382cf2[_0x44ad86(0x14f)](_0x44ad86(0x14d))>-0x1)_0x3e27c7=0x6;else{if(_0x382cf2['indexOf'](_0x44ad86(0x12c))>-0x1||_0x382cf2[_0x44ad86(0x14f)]('short')>-0x1)_0x3e27c7=0x2;else{if(_0x382cf2['indexOf'](_0x44ad86(0x14a))>-0x1||_0x382cf2['indexOf'](_0x44ad86(0x127))>-0x1)_0x3e27c7=0x3;else _0x382cf2[_0x44ad86(0x14f)](_0x44ad86(0x14b))>-0x1&&(_0x3e27c7=0x4);}}}_0x262833[_0x44ad86(0x16b)]({'name':_0x4b3b34[_0x44ad86(0x151)][_0x44ad86(0x12a)][_0x44ad86(0x16c)],'aliasName':_0x4b3b34[_0x44ad86(0x151)][_0x44ad86(0x12a)]['value'],'fieldType':_0x3e27c7,'fieldTypeName':_0x382cf2,'iDisplay':!![]});}return _0x262833;}export async function getWmtsLayers(_0x2ef52d){const _0x55ecf0=a0_0x5e28,_0x48a440=await getWMTSCapabilities(_0x2ef52d);let _0x1a3537=[];if(!_0x48a440||!_0x48a440[_0x55ecf0(0x159)]||!_0x48a440[_0x55ecf0(0x159)][_0x55ecf0(0x15b)])return _0x1a3537;return _0x48a440['Contents'][_0x55ecf0(0x15b)][_0x55ecf0(0x156)](_0x4dce1a=>{const _0x2f2064=_0x55ecf0;_0x1a3537[_0x2f2064(0x16b)]({'name':_0x4dce1a[_0x2f2064(0x171)],'label':_0x4dce1a[_0x2f2064(0x125)]});}),_0x1a3537;}export async function getWmsLayers(_0x2b8fef){const _0x1bf252=a0_0x5e28,_0x25c191=await getWMSCapabilities(_0x2b8fef);let _0x110ab0=[];if(!_0x25c191||!_0x25c191[_0x1bf252(0x139)]||!_0x25c191[_0x1bf252(0x139)][_0x1bf252(0x15b)]||!_0x25c191[_0x1bf252(0x139)][_0x1bf252(0x15b)]['Layer'])return _0x110ab0;return _0x25c191['Capability'][_0x1bf252(0x15b)]['Layer'][_0x1bf252(0x156)](_0x5b4010=>{const _0x1b352f=_0x1bf252;_0x110ab0['push']({'name':_0x5b4010['Name'],'label':_0x5b4010[_0x1b352f(0x125)]});}),_0x110ab0;}export async function getWfLayers(_0x5a784a){const _0x4c394a=a0_0x5e28,_0x3b629e=await getWFSCapabilities(_0x5a784a);let _0x3c6083=[],_0x5040ab=_0x3b629e[_0x4c394a(0x140)](_0x4c394a(0x146))[0x0][_0x4c394a(0x132)],_0x1baa4f;for(let _0xd53f60=0x0,_0x59a8f3=_0x5040ab[_0x4c394a(0x163)];_0xd53f60<_0x59a8f3;_0xd53f60++){let _0x3e4aa5={'name':'','label':''};for(let _0x562605=0x0,_0x2997c6=_0x5040ab[_0xd53f60][_0x4c394a(0x132)][_0x4c394a(0x163)];_0x562605<_0x2997c6;_0x562605++){if(_0x5040ab[_0xd53f60]['children'][_0x562605]['nodeName']===_0x4c394a(0x145)){const _0x12f854=_0x5040ab[_0xd53f60]['children'][_0x562605]['innerHTML'][_0x4c394a(0x150)]();_0x3e4aa5['name']=_0x12f854;}else{if(_0x5040ab[_0xd53f60][_0x4c394a(0x132)][_0x562605][_0x4c394a(0x153)]===_0x4c394a(0x125)){const _0x509742=_0x5040ab[_0xd53f60][_0x4c394a(0x132)][_0x562605][_0x4c394a(0x162)]['toString']();_0x3e4aa5['label']=_0x509742;}}}_0x3e4aa5['name']!==''&&_0x3e4aa5[_0x4c394a(0x170)]!==''&&_0x3c6083[_0x4c394a(0x16b)](_0x3e4aa5);}return _0x3c6083;}export async function getArcgisDynamicLayers(_0x4b5ad6){const _0x58d07f=a0_0x5e28;let _0x4155fc=addArgument(_0x4b5ad6,'f','pjson');const _0x569029=await a0_0x314484[_0x58d07f(0x152)](_0x4155fc);let _0x3bb796=[];return _0x569029[_0x58d07f(0x16d)]['layers'][_0x58d07f(0x156)](_0x4404c4=>{const _0xd95ddd=_0x58d07f;_0x3bb796[_0xd95ddd(0x16b)]({'name':_0x4404c4['id'][_0xd95ddd(0x150)](),'label':_0x4404c4[_0xd95ddd(0x12a)]});}),_0x3bb796;}export async function getArcgisDynamicLayerFields(_0x45fdfb,_0x21ba19){const _0x44e554=a0_0x5e28;let _0xf6137a=appendPath(_0x45fdfb,_0x21ba19);_0xf6137a=addArgument(_0xf6137a,'f',_0x44e554(0x135));const _0x493ff2=await a0_0x314484['get'](_0xf6137a);let _0x24f974=[];return _0x493ff2[_0x44e554(0x16d)]['fields'][_0x44e554(0x156)](_0x4079b4=>{const _0x5db856=_0x44e554;let _0x20ad8e=0x1;switch(_0x4079b4[_0x5db856(0x169)]){case'esriFieldTypeString':_0x20ad8e=0x1;break;case'esriFieldTypeInteger':case _0x5db856(0x168):case'esriFieldTypeOID':_0x20ad8e=0x2;break;case _0x5db856(0x128):_0x20ad8e=0x3;break;case _0x5db856(0x13e):_0x20ad8e=0x4;break;case'esriFieldTypeGeometry':_0x20ad8e=0x6;break;default:_0x20ad8e=0x1;break;}_0x24f974[_0x5db856(0x16b)]({'name':_0x4079b4[_0x5db856(0x12a)],'aliasName':_0x4079b4[_0x5db856(0x164)],'fieldType':_0x20ad8e,'fieldTypeName':_0x4079b4['type'],'fieldLength':_0x4079b4[_0x5db856(0x163)],'iDisplay':!![]});}),_0x24f974;}export async function getSourceLayerFields(_0x22eac2,_0x2224e6,_0x304dd2){const _0x2d0d7d=a0_0x5e28;let _0x48b07f=[];switch(_0x304dd2){case _0x2d0d7d(0x15c):case _0x2d0d7d(0x173):_0x48b07f=await getArcgisDynamicLayerFields(_0x22eac2,_0x2224e6);break;case'geoserver-wms':case'geoserver-wfs':_0x48b07f=await getWmsLayerFields(_0x22eac2,_0x2224e6);break;default:break;}return _0x48b07f;}
1
+ (function(_0x36860c,_0x5abbb6){const _0x3ce410=a0_0x2b79,_0xc054c6=_0x36860c();while(!![]){try{const _0x5446d8=parseInt(_0x3ce410(0xad))/0x1+parseInt(_0x3ce410(0xc0))/0x2+-parseInt(_0x3ce410(0x94))/0x3*(parseInt(_0x3ce410(0xc8))/0x4)+parseInt(_0x3ce410(0xc1))/0x5+parseInt(_0x3ce410(0xa0))/0x6*(-parseInt(_0x3ce410(0x8a))/0x7)+parseInt(_0x3ce410(0x89))/0x8+-parseInt(_0x3ce410(0xbf))/0x9*(parseInt(_0x3ce410(0xa2))/0xa);if(_0x5446d8===_0x5abbb6)break;else _0xc054c6['push'](_0xc054c6['shift']());}catch(_0x36a392){_0xc054c6['push'](_0xc054c6['shift']());}}}(a0_0x2a98,0x7ba06));import{addArgument,appendPath}from'../utils/UrlUtil';import a0_0x184354 from'../utils/AxiosUtil';import{jsonp}from'../utils/AxiosUtil';function a0_0x2b79(_0x5d98dc,_0x2824d3){const _0x2a9868=a0_0x2a98();return a0_0x2b79=function(_0x2b7965,_0x20b14f){_0x2b7965=_0x2b7965-0x75;let _0x30266b=_0x2a9868[_0x2b7965];return _0x30266b;},a0_0x2b79(_0x5d98dc,_0x2824d3);}import a0_0x471e40 from'ol/format/WMTSCapabilities';import a0_0x3f0e1b from'ol/format/WMSCapabilities';import{readXml}from'../utils/XmlUtil';import{transformedToNumber}from'../utils/StringUtil';export async function getDynamicLayerInfo(_0x3af66c){const _0x33bf35=a0_0x2b79,_0xb3b4c9=addArgument(_0x3af66c,'f',_0x33bf35(0xc6)),_0x1ed7a1=await a0_0x184354['get'](_0xb3b4c9);return _0x1ed7a1['data'];}export async function getFeatureLayerInfo(_0x4bdc7a,_0x57fe9f){const _0x133ce6=a0_0x2b79;let _0xe69a20=addArgument(_0x4bdc7a,'f',_0x133ce6(0xc6));_0xe69a20=appendPath(_0xe69a20,_0x57fe9f);const _0x593622=await jsonp(_0xe69a20);return _0x593622[_0x133ce6(0xbd)]=_0xe69a20,_0x593622;}export async function getWMSLayerCapabilities(_0x211a62,_0x42ab68){const _0x104ead=a0_0x2b79,_0x4b2401=await getWMSCapabilities(_0x211a62);let _0x44eb7f={},_0x1742bb=_0x4b2401['Capability'][_0x104ead(0xc2)][_0x104ead(0xc2)];for(let _0x4abbb9=0x0;_0x4abbb9<_0x1742bb[_0x104ead(0x81)];_0x4abbb9++){const _0x505998=_0x1742bb[_0x4abbb9];if(_0x505998[_0x104ead(0x8e)]==_0x42ab68){_0x44eb7f[_0x104ead(0x8b)]=_0x505998[_0x104ead(0x85)][0x0][_0x104ead(0x8e)];for(let _0x4370d6=0x0;_0x4370d6<_0x505998[_0x104ead(0x9a)]['length'];_0x4370d6++){const _0x13d3dd=_0x505998[_0x104ead(0x9a)][_0x4370d6];if(_0x13d3dd[_0x104ead(0xb0)]['indexOf'](_0x104ead(0x76))>-0x1){_0x44eb7f[_0x104ead(0x8d)]=transformedToNumber(_0x13d3dd[_0x104ead(0xb0)]),_0x44eb7f[_0x104ead(0x8f)]=[_0x13d3dd[_0x104ead(0xa1)][0x1],_0x13d3dd['extent'][0x0],_0x13d3dd['extent'][0x3],_0x13d3dd[_0x104ead(0xa1)][0x2]];break;}}break;}}return _0x44eb7f;}export async function getWMTSLayerCapabilities(_0x96e7e4,_0x53c426){const _0x2219b9=a0_0x2b79,_0x25e6f9=await getWMTSCapabilities(_0x96e7e4);let _0x1821cf={},_0x4ac303=_0x25e6f9['Contents'][_0x2219b9(0xc2)];_0x1821cf[_0x2219b9(0x80)]=_0x25e6f9;for(let _0x350fc9=0x0;_0x350fc9<_0x4ac303[_0x2219b9(0x81)];_0x350fc9++){const _0x1dd86b=_0x4ac303[_0x350fc9];if(_0x1dd86b[_0x2219b9(0x9f)]==_0x53c426){_0x1821cf[_0x2219b9(0xc4)]=_0x1dd86b[_0x2219b9(0xb1)],_0x1821cf[_0x2219b9(0x8b)]=_0x1dd86b[_0x2219b9(0x85)][0x0][_0x2219b9(0x9f)],_0x1821cf[_0x2219b9(0x92)]=_0x1dd86b['TileMatrixSetLink'][0x0]['TileMatrixSet'],_0x1821cf[_0x2219b9(0xa7)]=_0x1dd86b[_0x2219b9(0x7c)],_0x1821cf[_0x2219b9(0x86)]=_0x1dd86b[_0x2219b9(0x9a)]&&_0x1dd86b['BoundingBox'][_0x2219b9(0x81)]>0x0?_0x1dd86b['BoundingBox'][0x0][_0x2219b9(0xa1)]:_0x1821cf[_0x2219b9(0xa7)];break;}}if(_0x1821cf[_0x2219b9(0x92)])for(let _0x2d847b=0x0;_0x2d847b<_0x25e6f9['Contents'][_0x2219b9(0x9e)][_0x2219b9(0x81)];_0x2d847b++){const _0x5554d2=_0x25e6f9[_0x2219b9(0xae)][_0x2219b9(0x9e)][_0x2d847b];if(_0x5554d2[_0x2219b9(0x9f)]==_0x1821cf[_0x2219b9(0x92)]){_0x1821cf[_0x2219b9(0x8d)]=transformedToNumber(_0x5554d2['SupportedCRS']),_0x1821cf[_0x2219b9(0xa3)]=[];for(let _0xb3872e=0x0;_0xb3872e<_0x5554d2[_0x2219b9(0xc5)][_0x2219b9(0x81)];_0xb3872e++){const _0x7ea693=_0x5554d2[_0x2219b9(0xc5)][_0xb3872e];_0x1821cf['tileMatrixs']['push']({'identifier':_0x7ea693[_0x2219b9(0x9f)],'matrixHeight':_0x7ea693[_0x2219b9(0x9d)],'matrixWidth':_0x7ea693['MatrixWidth'],'scaleDenominator':_0x7ea693[_0x2219b9(0xc7)],'tileHeight':_0x7ea693[_0x2219b9(0xbc)],'tileWidth':_0x7ea693[_0x2219b9(0xb3)],'topLeftCorner':_0x7ea693['TopLeftCorner']});}break;}}return _0x1821cf;}export async function getWFSLayerCapabilities(_0x11dc6e,_0x4bcea5){const _0x23eb3d=a0_0x2b79,_0x2b1e16=await getWFSCapabilities(_0x11dc6e);let _0x17f1b5={};const _0x58104b=await getWmsLayerFields(_0x11dc6e,_0x4bcea5);_0x17f1b5['layerFields']=_0x58104b;let _0x4a4051=_0x2b1e16[_0x23eb3d(0x87)](_0x23eb3d(0x79))[0x0]['children'],_0x29968f;for(let _0x5b8ea2=0x0,_0x3148db=_0x4a4051['length'];_0x5b8ea2<_0x3148db;_0x5b8ea2++){for(let _0x4d1b34=0x0,_0x51bac5=_0x4a4051[_0x5b8ea2][_0x23eb3d(0xaf)]['length'];_0x4d1b34<_0x51bac5;_0x4d1b34++){if(_0x4a4051[_0x5b8ea2][_0x23eb3d(0xaf)][_0x4d1b34][_0x23eb3d(0x82)]===_0x23eb3d(0x8e)){const _0x1d20d1=_0x4a4051[_0x5b8ea2][_0x23eb3d(0xaf)][_0x4d1b34]['innerHTML']['toString']();if(_0x1d20d1==_0x4bcea5||_0x1d20d1['indexOf'](':'+_0x4bcea5)>-0x1){_0x29968f=_0x4a4051[_0x5b8ea2];break;}}}if(_0x29968f)break;}let _0x1bacde=[];for(let _0x151ab6=0x0,_0x507df4=_0x29968f[_0x23eb3d(0xaf)]['length'];_0x151ab6<_0x507df4;_0x151ab6++){if(_0x29968f[_0x23eb3d(0xaf)][_0x151ab6][_0x23eb3d(0x82)]===_0x23eb3d(0x9c)){let _0x6bb8fc=_0x29968f[_0x23eb3d(0xaf)][_0x151ab6][_0x23eb3d(0xaf)][0x0]['innerHTML'][_0x23eb3d(0x88)]('\x20'),_0x5ad1ae=_0x29968f[_0x23eb3d(0xaf)][_0x151ab6]['children'][0x1]['innerHTML']['split']('\x20');_0x6bb8fc&&_0x5ad1ae&&(_0x1bacde=[_0x6bb8fc[0x0]-0x0,_0x6bb8fc[0x1]-0x0,_0x5ad1ae[0x0]-0x0,_0x5ad1ae[0x1]-0x0]),_0x17f1b5[_0x23eb3d(0x8f)]=_0x1bacde;}else _0x29968f['children'][_0x151ab6][_0x23eb3d(0x82)]===_0x23eb3d(0xa5)&&(_0x17f1b5[_0x23eb3d(0x8d)]=transformedToNumber(_0x29968f[_0x23eb3d(0xaf)][_0x151ab6][_0x23eb3d(0x97)]));}return _0x17f1b5;}export async function getWMSCapabilities(_0x371353){const _0x38b27e=a0_0x2b79;let _0x203876=addArgument(_0x371353,'request','GetCapabilities');_0x203876=addArgument(_0x203876,_0x38b27e(0xc3),_0x38b27e(0xa6));const _0x33421f=await a0_0x184354['get'](_0x203876);let _0x45c24f=new a0_0x3f0e1b();return _0x45c24f['read'](_0x33421f[_0x38b27e(0xc9)]);}export async function getWMTSCapabilities(_0x4e328d){const _0x2e459b=a0_0x2b79;let _0x14e05e=addArgument(_0x4e328d,'request',_0x2e459b(0xa8));_0x14e05e=addArgument(_0x14e05e,_0x2e459b(0xc3),'wmts');const _0x1b74e2=await a0_0x184354[_0x2e459b(0x7d)](_0x14e05e);let _0x33ca8f=new a0_0x471e40();return _0x33ca8f['read'](_0x1b74e2[_0x2e459b(0xc9)]);}export async function getWFSCapabilities(_0x5d0e62){const _0x248b62=a0_0x2b79;let _0x28f72a=addArgument(_0x5d0e62,_0x248b62(0xaa),'GetCapabilities');_0x28f72a=addArgument(_0x28f72a,'service','wfs');const _0x7da843=await a0_0x184354[_0x248b62(0x7d)](_0x28f72a),_0x2eb1ed=readXml(_0x7da843[_0x248b62(0xc9)]);return _0x2eb1ed;}export async function getWmsLayerFields(_0x498129,_0x5a1a3d){const _0x519685=a0_0x2b79;let _0x3d67fb=addArgument(_0x498129,_0x519685(0xaa),_0x519685(0x75));_0x3d67fb=addArgument(_0x3d67fb,'service',_0x519685(0xa4)),_0x3d67fb=addArgument(_0x3d67fb,_0x519685(0xbe),_0x5a1a3d);const _0x2c0c3b=await a0_0x184354[_0x519685(0x7d)](_0x3d67fb),_0x70790f=readXml(_0x2c0c3b[_0x519685(0xc9)]);let _0x57eea6=[];const _0x3a2fd8=_0x70790f[_0x519685(0x87)](_0x519685(0xac))[0x0][_0x519685(0xaf)];for(let _0x4ac113=0x0;_0x4ac113<_0x3a2fd8[_0x519685(0x81)];_0x4ac113++){const _0x4f5a6e=_0x3a2fd8[_0x4ac113],_0x10a3e4=_0x4f5a6e[_0x519685(0x78)][_0x519685(0x99)][_0x519685(0xb9)];let _0x5f4650=0x1;if(_0x10a3e4['indexOf'](_0x519685(0x77))>-0x1)_0x5f4650=0x1;else{if(_0x10a3e4[_0x519685(0xb7)](_0x519685(0xb2))>-0x1)_0x5f4650=0x6;else{if(_0x10a3e4[_0x519685(0xb7)]('int')>-0x1||_0x10a3e4[_0x519685(0xb7)](_0x519685(0xab))>-0x1)_0x5f4650=0x2;else{if(_0x10a3e4[_0x519685(0xb7)](_0x519685(0x9b))>-0x1||_0x10a3e4[_0x519685(0xb7)](_0x519685(0x93))>-0x1)_0x5f4650=0x3;else _0x10a3e4[_0x519685(0xb7)](_0x519685(0x84))>-0x1&&(_0x5f4650=0x4);}}}_0x57eea6[_0x519685(0x83)]({'name':_0x4f5a6e[_0x519685(0x78)][_0x519685(0x98)]['value'],'aliasName':_0x4f5a6e['attributes']['name'][_0x519685(0xb9)],'fieldType':_0x5f4650,'fieldTypeName':_0x10a3e4,'iDisplay':!![]});}return _0x57eea6;}export async function getWmtsLayers(_0x26f329){const _0x3eb1cd=a0_0x2b79,_0x3346a7=await getWMTSCapabilities(_0x26f329);let _0x38fca1=[];if(!_0x3346a7||!_0x3346a7['Contents']||!_0x3346a7[_0x3eb1cd(0xae)][_0x3eb1cd(0xc2)])return _0x38fca1;return _0x3346a7[_0x3eb1cd(0xae)][_0x3eb1cd(0xc2)]['forEach'](_0x48f529=>{const _0x4ef138=_0x3eb1cd;_0x38fca1[_0x4ef138(0x83)]({'name':_0x48f529[_0x4ef138(0x9f)],'label':_0x48f529[_0x4ef138(0xbb)]});}),_0x38fca1;}export async function getWmsLayers(_0x4c6bcb){const _0x4c7afd=a0_0x2b79,_0x4a9a92=await getWMSCapabilities(_0x4c6bcb);let _0x2ff47c=[];if(!_0x4a9a92||!_0x4a9a92[_0x4c7afd(0xa9)]||!_0x4a9a92[_0x4c7afd(0xa9)][_0x4c7afd(0xc2)]||!_0x4a9a92[_0x4c7afd(0xa9)][_0x4c7afd(0xc2)][_0x4c7afd(0xc2)])return _0x2ff47c;return _0x4a9a92[_0x4c7afd(0xa9)][_0x4c7afd(0xc2)][_0x4c7afd(0xc2)][_0x4c7afd(0x95)](_0x1f34d2=>{const _0x4adca5=_0x4c7afd;_0x2ff47c['push']({'name':_0x1f34d2[_0x4adca5(0x8e)],'label':_0x1f34d2[_0x4adca5(0xbb)]});}),_0x2ff47c;}export async function getWfLayers(_0x5ad027){const _0x3e72eb=a0_0x2b79,_0x40610b=await getWFSCapabilities(_0x5ad027);let _0x423f8a=[],_0x2a23d8=_0x40610b['getElementsByTagName'](_0x3e72eb(0x79))[0x0]['children'],_0x4689d2;for(let _0x10ed8b=0x0,_0x4f61d9=_0x2a23d8['length'];_0x10ed8b<_0x4f61d9;_0x10ed8b++){let _0x3e3c38={'name':'','label':''};for(let _0x458198=0x0,_0x194ad0=_0x2a23d8[_0x10ed8b][_0x3e72eb(0xaf)][_0x3e72eb(0x81)];_0x458198<_0x194ad0;_0x458198++){if(_0x2a23d8[_0x10ed8b][_0x3e72eb(0xaf)][_0x458198][_0x3e72eb(0x82)]==='Name'){const _0x346193=_0x2a23d8[_0x10ed8b][_0x3e72eb(0xaf)][_0x458198][_0x3e72eb(0x97)][_0x3e72eb(0x91)]();_0x3e3c38[_0x3e72eb(0x98)]=_0x346193;}else{if(_0x2a23d8[_0x10ed8b][_0x3e72eb(0xaf)][_0x458198][_0x3e72eb(0x82)]===_0x3e72eb(0xbb)){const _0x192807=_0x2a23d8[_0x10ed8b][_0x3e72eb(0xaf)][_0x458198][_0x3e72eb(0x97)][_0x3e72eb(0x91)]();_0x3e3c38['label']=_0x192807;}}}_0x3e3c38[_0x3e72eb(0x98)]!==''&&_0x3e3c38['label']!==''&&_0x423f8a[_0x3e72eb(0x83)](_0x3e3c38);}return _0x423f8a;}export async function getArcgisDynamicLayers(_0x5dacbb){const _0x54f5f7=a0_0x2b79;let _0x396901=addArgument(_0x5dacbb,'f','pjson');const _0x375ea1=await a0_0x184354[_0x54f5f7(0x7d)](_0x396901);let _0x3156a3=[];return _0x375ea1['data'][_0x54f5f7(0x7f)][_0x54f5f7(0x95)](_0x3f607d=>{const _0x264f46=_0x54f5f7;_0x3156a3[_0x264f46(0x83)]({'name':_0x3f607d['id'][_0x264f46(0x91)](),'label':_0x3f607d[_0x264f46(0x98)]});}),_0x3156a3;}export async function getArcgisDynamicLayerFields(_0x5dc6c5,_0x40ef21){const _0x35823e=a0_0x2b79;let _0x418d30=appendPath(_0x5dc6c5,_0x40ef21);_0x418d30=addArgument(_0x418d30,'f',_0x35823e(0xb5));const _0xa6c976=await a0_0x184354[_0x35823e(0x7d)](_0x418d30);let _0x4e16f4=[];return _0xa6c976[_0x35823e(0xc9)][_0x35823e(0x90)][_0x35823e(0x95)](_0x5b8a44=>{const _0x5084cc=_0x35823e;let _0x54d622=0x1;switch(_0x5b8a44[_0x5084cc(0x99)]){case'esriFieldTypeString':_0x54d622=0x1;break;case _0x5084cc(0x96):case _0x5084cc(0xb8):case _0x5084cc(0xba):_0x54d622=0x2;break;case _0x5084cc(0x7e):_0x54d622=0x3;break;case _0x5084cc(0x7b):_0x54d622=0x4;break;case _0x5084cc(0xb6):_0x54d622=0x6;break;default:_0x54d622=0x1;break;}_0x4e16f4[_0x5084cc(0x83)]({'name':_0x5b8a44['name'],'aliasName':_0x5b8a44[_0x5084cc(0x8c)],'fieldType':_0x54d622,'fieldTypeName':_0x5b8a44['type'],'fieldLength':_0x5b8a44[_0x5084cc(0x81)],'iDisplay':!![]});}),_0x4e16f4;}function a0_0x2a98(){const _0x4202cf=['layers','sourceXml','length','nodeName','push','date','Style','boundingBoxExtent','getElementsByTagName','split','8022856duiaEW','5516PTkbVR','style','alias','wkid','Name','initExtent','fields','toString','tileMatrixSet','decimal','2991291CbRnbK','forEach','esriFieldTypeInteger','innerHTML','name','type','BoundingBox','double','ows:WGS84BoundingBox','MatrixHeight','TileMatrixSet','Identifier','5526gOkfpd','extent','1258840SSactS','tileMatrixs','wfs','DefaultCRS','wms','wgs84BoundingBox','GetCapabilities','Capability','request','short','xsd:sequence','873177DhQvdB','Contents','children','crs','Format','gml:','TileWidth','arcgis-dynamic','pjson','esriFieldTypeGeometry','indexOf','esriFieldTypeSmallInteger','value','esriFieldTypeOID','Title','TileHeight','url','typeName','45pUrbFX','69198Ivjkoh','4740030AXRLgd','Layer','service','format','TileMatrix','json','ScaleDenominator','4KKDccO','data','DescribeFeatureType','EPSG:','string','attributes','FeatureTypeList','geoserver-wms','esriFieldTypeDate','WGS84BoundingBox','get','esriFieldTypeDouble'];a0_0x2a98=function(){return _0x4202cf;};return a0_0x2a98();}export async function getSourceLayerFields(_0x1303b8,_0x2fb513,_0x1f3b6d){const _0x228828=a0_0x2b79;let _0x3e6090=[];switch(_0x1f3b6d){case _0x228828(0xb4):case'arcgis-feature':_0x3e6090=await getArcgisDynamicLayerFields(_0x1303b8,_0x2fb513);break;case _0x228828(0x7a):case'geoserver-wfs':_0x3e6090=await getWmsLayerFields(_0x1303b8,_0x2fb513);break;default:break;}return _0x3e6090;}
@@ -1 +1 @@
1
- const a1_0x79bbbd=a1_0x4a86;(function(_0x8a2b12,_0x179d8f){const _0x3cf20e=a1_0x4a86,_0x57582e=_0x8a2b12();while(!![]){try{const _0x53c58b=parseInt(_0x3cf20e(0x164))/0x1*(-parseInt(_0x3cf20e(0x16c))/0x2)+parseInt(_0x3cf20e(0x165))/0x3*(parseInt(_0x3cf20e(0x169))/0x4)+parseInt(_0x3cf20e(0x171))/0x5+parseInt(_0x3cf20e(0x179))/0x6*(-parseInt(_0x3cf20e(0x172))/0x7)+parseInt(_0x3cf20e(0x16d))/0x8+-parseInt(_0x3cf20e(0x166))/0x9+parseInt(_0x3cf20e(0x177))/0xa;if(_0x53c58b===_0x179d8f)break;else _0x57582e['push'](_0x57582e['shift']());}catch(_0xc42b11){_0x57582e['push'](_0x57582e['shift']());}}}(a1_0x1640,0x9e3f7));function a1_0x4a86(_0x513a2c,_0x2100af){const _0x1640fe=a1_0x1640();return a1_0x4a86=function(_0x4a8636,_0x29dc9c){_0x4a8636=_0x4a8636-0x164;let _0x8bab60=_0x1640fe[_0x4a8636];return _0x8bab60;},a1_0x4a86(_0x513a2c,_0x2100af);}function a1_0x1640(){const _0x404450=['addControl','get','16BKygAX','getControl','clear','10QdHNeW','8182224tNzJDY','controls','removeControl','name','1081005XjtdJj','1512LbRGwD','has','forEach','map','delete','4842500QiZiRZ','set','15828XRYXGQ','93872WobJMm','637374hdmcgG','7971390GdwePe'];a1_0x1640=function(){return _0x404450;};return a1_0x1640();}export default class ControlManager{constructor(_0xf02057){const _0x51cb46=a1_0x4a86;this['map']=_0xf02057,this[_0x51cb46(0x16e)]=new Map();}[a1_0x79bbbd(0x167)](_0x5ded98,_0x5e2dbd){const _0xd23183=a1_0x79bbbd;this[_0xd23183(0x16e)][_0xd23183(0x173)](_0x5ded98)&&this[_0xd23183(0x16f)](_0x5ded98),_0x5e2dbd[_0xd23183(0x178)](_0xd23183(0x170),_0x5ded98),this[_0xd23183(0x16e)]['set'](_0x5ded98,_0x5e2dbd),this[_0xd23183(0x175)]['addControl'](_0x5e2dbd);}['removeControl'](_0x145c93){const _0x56a314=a1_0x79bbbd,_0x27585d=this[_0x56a314(0x16e)][_0x56a314(0x168)](_0x145c93);_0x27585d&&(this[_0x56a314(0x175)][_0x56a314(0x16f)](_0x27585d),this[_0x56a314(0x16e)][_0x56a314(0x176)](_0x145c93));}['removeAllControls'](){const _0x2201f1=a1_0x79bbbd;this[_0x2201f1(0x16e)][_0x2201f1(0x174)](_0x3c2119=>{const _0x35845c=_0x2201f1;this[_0x35845c(0x175)][_0x35845c(0x16f)](_0x3c2119);}),this[_0x2201f1(0x16e)][_0x2201f1(0x16b)]();}[a1_0x79bbbd(0x16a)](_0x357f1d){const _0x4fe463=a1_0x79bbbd;return this[_0x4fe463(0x16e)][_0x4fe463(0x168)](_0x357f1d);}}
1
+ const a1_0x432185=a1_0x5ddc;function a1_0x1234(){const _0x3fea1f=['16nsUyUD','set','3965PqhsMR','removeControl','10439hwwKvB','clear','removeAllControls','delete','15470dgIqMg','getControl','6nOyoTZ','10UkPlUf','1074178KmoKSF','has','addControl','map','83158onZjBM','1601045GnTafv','4292uXKzEw','24MJfqsT','5820561JbEKiU','753dfrGqV','4380wOFYWM','controls','forEach','get','name'];a1_0x1234=function(){return _0x3fea1f;};return a1_0x1234();}(function(_0x132f7c,_0x1e5cfd){const _0x490861=a1_0x5ddc,_0x1f8813=_0x132f7c();while(!![]){try{const _0x309e8f=-parseInt(_0x490861(0x1cf))/0x1*(-parseInt(_0x490861(0x1cc))/0x2)+-parseInt(_0x490861(0x1d1))/0x3*(parseInt(_0x490861(0x1ce))/0x4)+parseInt(_0x490861(0x1cd))/0x5*(parseInt(_0x490861(0x1c6))/0x6)+-parseInt(_0x490861(0x1c8))/0x7*(-parseInt(_0x490861(0x1bc))/0x8)+parseInt(_0x490861(0x1d0))/0x9*(-parseInt(_0x490861(0x1c7))/0xa)+parseInt(_0x490861(0x1c0))/0xb*(-parseInt(_0x490861(0x1d2))/0xc)+-parseInt(_0x490861(0x1be))/0xd*(-parseInt(_0x490861(0x1c4))/0xe);if(_0x309e8f===_0x1e5cfd)break;else _0x1f8813['push'](_0x1f8813['shift']());}catch(_0x808dd){_0x1f8813['push'](_0x1f8813['shift']());}}}(a1_0x1234,0xaacd1));function a1_0x5ddc(_0x24979c,_0x1e2568){const _0x1234fd=a1_0x1234();return a1_0x5ddc=function(_0x5ddc90,_0x3c9c93){_0x5ddc90=_0x5ddc90-0x1bc;let _0x5dc2f1=_0x1234fd[_0x5ddc90];return _0x5dc2f1;},a1_0x5ddc(_0x24979c,_0x1e2568);}export default class ControlManager{constructor(_0x576b1c){const _0x8b4093=a1_0x5ddc;this[_0x8b4093(0x1cb)]=_0x576b1c,this[_0x8b4093(0x1d3)]=new Map();}[a1_0x432185(0x1ca)](_0x359966,_0x48fb30){const _0x309a35=a1_0x432185;this['controls'][_0x309a35(0x1c9)](_0x359966)&&this[_0x309a35(0x1bf)](_0x359966),_0x48fb30['set'](_0x309a35(0x1d6),_0x359966),this[_0x309a35(0x1d3)][_0x309a35(0x1bd)](_0x359966,_0x48fb30),this[_0x309a35(0x1cb)][_0x309a35(0x1ca)](_0x48fb30);}['removeControl'](_0x19af65){const _0x1517ac=a1_0x432185,_0x4d7976=this[_0x1517ac(0x1d3)]['get'](_0x19af65);_0x4d7976&&(this[_0x1517ac(0x1cb)][_0x1517ac(0x1bf)](_0x4d7976),this['controls'][_0x1517ac(0x1c3)](_0x19af65));}[a1_0x432185(0x1c2)](){const _0x413509=a1_0x432185;this[_0x413509(0x1d3)][_0x413509(0x1d4)](_0x3b4b24=>{const _0x3d4c13=_0x413509;this['map'][_0x3d4c13(0x1bf)](_0x3b4b24);}),this[_0x413509(0x1d3)][_0x413509(0x1c1)]();}[a1_0x432185(0x1c5)](_0x49408a){const _0x36857d=a1_0x432185;return this[_0x36857d(0x1d3)][_0x36857d(0x1d5)](_0x49408a);}}
@@ -1 +1 @@
1
- const a3_0x455fb4=a3_0x3e6a;(function(_0x55acf6,_0x20e54f){const _0x154731=a3_0x3e6a,_0x32c229=_0x55acf6();while(!![]){try{const _0x523fb0=parseInt(_0x154731(0x1a6))/0x1*(-parseInt(_0x154731(0x1c9))/0x2)+-parseInt(_0x154731(0x1b6))/0x3*(parseInt(_0x154731(0x195))/0x4)+-parseInt(_0x154731(0x19b))/0x5+parseInt(_0x154731(0x1bb))/0x6*(parseInt(_0x154731(0x1a9))/0x7)+parseInt(_0x154731(0x1c8))/0x8+parseInt(_0x154731(0x1b9))/0x9+parseInt(_0x154731(0x197))/0xa*(-parseInt(_0x154731(0x1c7))/0xb);if(_0x523fb0===_0x20e54f)break;else _0x32c229['push'](_0x32c229['shift']());}catch(_0x3910c7){_0x32c229['push'](_0x32c229['shift']());}}}(a3_0x5ce6,0x6ca80));import{Control}from'ol/control';import{getColor}from'../style/common';import{getLayerLegend}from'../utils/LayerUtil';function a3_0x5ce6(){const _0x393655=['appendChild','showLegend','border:\x20','1788485ZQEnuE','stroke','px\x20solid\x20','frameState','url','Line','createElement','<div\x20class=\x22legend-layer-title\x22>','<div\x20class=\x22ol-legend-title\x22>','\x22\x20/>','<img\x20src=\x22','2VHxXZi','symbolizers','ol-legend-container','5527949qUyJjH','getLayerById','className','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22','layerInfos','title','div','childElementCount','length','rules','render','ol-legend-item','layerIds','427887dSNjnT','element','stroke-opacity','3947778jJyaDx','\x22></div>','6DxoNuC','background-color:','Polygon','stroke-width','time','fill','imgUrl','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','Point','createDivByLegendJson','setMap',';height:','4434760fFrXRK','6501496QcWpwA','4076jiFjjo','innerHTML','legend','</div>','fill-opacity','12HdkNPl','ol-legend-layer','20JveHZd'];a3_0x5ce6=function(){return _0x393655;};return a3_0x5ce6();}function a3_0x3e6a(_0x37a53a,_0x11d673){const _0x5ce66d=a3_0x5ce6();return a3_0x3e6a=function(_0x3e6a96,_0xaadbd9){_0x3e6a96=_0x3e6a96-0x192;let _0xfe051d=_0x5ce66d[_0x3e6a96];return _0xfe051d;},a3_0x3e6a(_0x37a53a,_0x11d673);}export default class LegendControl extends Control{constructor(_0x3bdf8b){const _0x51b765=a3_0x3e6a;_0x3bdf8b=_0x3bdf8b||{};if(!_0x3bdf8b[_0x51b765(0x1b7)]){const _0x3c2a16=document[_0x51b765(0x1a1)]('div');_0x3bdf8b[_0x51b765(0x1b7)]=_0x3c2a16,_0x3c2a16[_0x51b765(0x1ab)]='ol-legend-control\x20'+_0x3bdf8b[_0x51b765(0x1ab)];}super(_0x3bdf8b),this[_0x51b765(0x1ad)]=_0x3bdf8b[_0x51b765(0x1ad)],this[_0x51b765(0x1ae)]=_0x3bdf8b[_0x51b765(0x1ae)],this[_0x51b765(0x1bf)]=null;}async['init'](_0x8061b1=[]){const _0x1f2685=a3_0x3e6a,_0x172803=this[_0x1f2685(0x1b7)];_0x172803[_0x1f2685(0x1ca)]='';const _0x3a9afe=document['createElement']('div');_0x3a9afe[_0x1f2685(0x1ab)]=_0x1f2685(0x1a8);this[_0x1f2685(0x1ae)]&&(_0x172803[_0x1f2685(0x1ca)]=_0x1f2685(0x1a3)+this[_0x1f2685(0x1ae)]+_0x1f2685(0x193));let _0x27fcb6=![];if(!this[_0x1f2685(0x1ad)]||this[_0x1f2685(0x1ad)][_0x1f2685(0x1b1)]==0x0||_0x8061b1['length']>0x0&&this[_0x1f2685(0x1ad)]['findIndex'](_0x40a996=>{const _0x20d731=_0x1f2685;return _0x8061b1['indexOf'](_0x40a996['id'])>-0x1&&_0x40a996[_0x20d731(0x199)];})==-0x1)_0x3a9afe[_0x1f2685(0x1ca)]=_0x1f2685(0x1c2);else for(let _0x1ab0eb=0x0;_0x1ab0eb<this[_0x1f2685(0x1ad)][_0x1f2685(0x1b1)];_0x1ab0eb++){const _0x45b34b=this[_0x1f2685(0x1ad)][_0x1ab0eb];if(!_0x45b34b[_0x1f2685(0x199)]||!_0x45b34b[_0x1f2685(0x19f)])continue;const _0x2b20cc=this['getMap']();if(!_0x2b20cc)continue;const _0x4b8d5b=_0x2b20cc[_0x1f2685(0x1aa)](_0x45b34b['id']);if(!_0x4b8d5b||_0x4b8d5b['getVisible']()==![])continue;if(_0x45b34b[_0x1f2685(0x192)]&&_0x45b34b['legend'][_0x1f2685(0x1b1)]>0x0)for(let _0x15f7b5=0x0;_0x15f7b5<_0x45b34b[_0x1f2685(0x192)][_0x1f2685(0x1b1)];_0x15f7b5++){const _0x56560b=_0x45b34b['legend'][_0x15f7b5],_0x445189=document['createElement'](_0x1f2685(0x1af));_0x445189[_0x1f2685(0x1ab)]=_0x1f2685(0x196),_0x445189[_0x1f2685(0x1ca)]+=_0x1f2685(0x1a2)+_0x56560b[_0x1f2685(0x1ae)]+_0x1f2685(0x193);const _0x467af3=this[_0x1f2685(0x1c4)](_0x56560b);_0x467af3&&_0x445189[_0x1f2685(0x198)](_0x467af3),_0x3a9afe[_0x1f2685(0x198)](_0x445189);}else{const _0x29e210=await getLayerLegend(_0x45b34b);if(_0x29e210&&_0x29e210[_0x1f2685(0x1b1)]>0x0)for(let _0x1382a8=0x0;_0x1382a8<_0x29e210['length'];_0x1382a8++){const _0x5000df=_0x29e210[_0x1382a8],_0x4f3ce6=document['createElement'](_0x1f2685(0x1af));_0x4f3ce6[_0x1f2685(0x1ab)]=_0x1f2685(0x196),_0x4f3ce6[_0x1f2685(0x1ca)]+='<div\x20class=\x22legend-layer-title\x22>'+_0x5000df['title']+'</div>';const _0x10745a=this['createDivByLegendJson'](_0x5000df);_0x10745a&&_0x4f3ce6[_0x1f2685(0x198)](_0x10745a),_0x3a9afe[_0x1f2685(0x198)](_0x4f3ce6);}}}_0x3a9afe[_0x1f2685(0x1b0)]==0x0&&(_0x3a9afe[_0x1f2685(0x1ca)]=_0x1f2685(0x1c2)),this[_0x1f2685(0x1b7)][_0x1f2685(0x198)](_0x3a9afe);}['createDivByLegendJson'](_0x44e76a){const _0x1c6933=a3_0x3e6a;if(!_0x44e76a||(!_0x44e76a[_0x1c6933(0x1b2)]||_0x44e76a[_0x1c6933(0x1b2)][_0x1c6933(0x1b1)]==0x0)&&!_0x44e76a[_0x1c6933(0x19f)])return;const _0x47ac83=document[_0x1c6933(0x1a1)]('div');_0x47ac83[_0x1c6933(0x1ab)]='ol-legend-item-container';if(_0x44e76a['url']){const _0x2c55d9=document[_0x1c6933(0x1a1)](_0x1c6933(0x1af));return _0x2c55d9[_0x1c6933(0x1ab)]=_0x1c6933(0x1b4),_0x2c55d9['innerHTML']+=_0x1c6933(0x1a5)+_0x44e76a[_0x1c6933(0x19f)]+_0x1c6933(0x1a4),_0x47ac83[_0x1c6933(0x198)](_0x2c55d9),_0x47ac83;}for(let _0x1f7c31=0x0;_0x1f7c31<_0x44e76a[_0x1c6933(0x1b2)][_0x1c6933(0x1b1)];_0x1f7c31++){const _0x3d0acf=_0x44e76a[_0x1c6933(0x1b2)][_0x1f7c31];if(!_0x3d0acf||!_0x3d0acf[_0x1c6933(0x1a7)]||_0x3d0acf[_0x1c6933(0x1a7)]['length']==0x0)continue;const _0x58a367=document['createElement']('div');_0x58a367[_0x1c6933(0x1ab)]=_0x1c6933(0x1b4);const _0x6963b=_0x3d0acf[_0x1c6933(0x1a7)][0x0];if(_0x6963b[_0x1c6933(0x1bd)]){let _0xdf6086='';if(_0x6963b[_0x1c6933(0x1bd)]['stroke']){const _0x5bce07=getColor(_0x6963b[_0x1c6933(0x1bd)][_0x1c6933(0x19c)],_0x6963b['Polygon']['stroke-opacity']?_0x6963b['Polygon'][_0x1c6933(0x1b8)]-0x0:0x1);_0xdf6086=_0x1c6933(0x19a)+_0x6963b[_0x1c6933(0x1bd)][_0x1c6933(0x1be)]+_0x1c6933(0x19d)+_0x5bce07+';';}if(_0x6963b[_0x1c6933(0x1bd)][_0x1c6933(0x1c0)]){const _0x52967f=getColor(_0x6963b[_0x1c6933(0x1bd)][_0x1c6933(0x1c0)],_0x6963b[_0x1c6933(0x1bd)]['fill-opacity']?_0x6963b['Polygon'][_0x1c6933(0x194)]-0x0:0x1);_0xdf6086+='background-color:\x20'+_0x52967f+';';}_0x58a367['innerHTML']+='<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22'+_0xdf6086+_0x1c6933(0x1ba);}else{if(_0x6963b[_0x1c6933(0x1a0)]){let _0x38c7ff='';if(_0x6963b[_0x1c6933(0x1a0)][_0x1c6933(0x19c)]){const _0x3c009a=getColor(_0x6963b[_0x1c6933(0x1a0)][_0x1c6933(0x19c)],_0x6963b['Line'][_0x1c6933(0x1b8)]?_0x6963b[_0x1c6933(0x1a0)][_0x1c6933(0x1b8)]-0x0:0x1);_0x38c7ff=_0x1c6933(0x1bc)+_0x3c009a+_0x1c6933(0x1c6)+_0x6963b[_0x1c6933(0x1a0)][_0x1c6933(0x1be)]+'px';}_0x58a367['innerHTML']+='<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22'+_0x38c7ff+_0x1c6933(0x1ba);}else{if(_0x6963b[_0x1c6933(0x1c3)]){}else _0x6963b[_0x1c6933(0x1c1)]&&(_0x58a367['innerHTML']+=_0x1c6933(0x1ac)+_0x6963b[_0x1c6933(0x1c1)]+'\x22\x20/></div>');}}_0x58a367['innerHTML']+='<div\x20class=\x22ol-legend-item-title\x22>'+_0x3d0acf[_0x1c6933(0x1ae)]+_0x1c6933(0x193),_0x47ac83[_0x1c6933(0x198)](_0x58a367);}return _0x47ac83;}['setMap'](_0x2e52d8){const _0x533f18=a3_0x3e6a;super[_0x533f18(0x1c5)](_0x2e52d8),_0x2e52d8&&(_0x2e52d8['on']('changelayer',_0x2990c6=>{const _0x199d2b=_0x533f18;this[_0x199d2b(0x1bf)]&&(clearTimeout(this[_0x199d2b(0x1bf)]),this[_0x199d2b(0x1bf)]=null),this[_0x199d2b(0x1bf)]=setTimeout(()=>{const _0x3c66dc=_0x199d2b;this['init'](_0x2990c6[_0x3c66dc(0x1b5)]),this['time']=null;},0x64);}),this['init']([]));}[a3_0x455fb4(0x1b3)](_0x53da65){const _0x1e26cc=a3_0x455fb4,_0x38fc1d=_0x53da65[_0x1e26cc(0x19e)];}}
1
+ const a3_0x2f7826=a3_0x3cd6;(function(_0x299da1,_0xa8ef3d){const _0x188bc6=a3_0x3cd6,_0x58de7b=_0x299da1();while(!![]){try{const _0x5193fd=-parseInt(_0x188bc6(0xb9))/0x1+parseInt(_0x188bc6(0xca))/0x2*(-parseInt(_0x188bc6(0xb6))/0x3)+-parseInt(_0x188bc6(0xa6))/0x4+parseInt(_0x188bc6(0xbd))/0x5*(parseInt(_0x188bc6(0x9d))/0x6)+-parseInt(_0x188bc6(0xb5))/0x7*(-parseInt(_0x188bc6(0xd5))/0x8)+-parseInt(_0x188bc6(0xad))/0x9+parseInt(_0x188bc6(0xbb))/0xa;if(_0x5193fd===_0xa8ef3d)break;else _0x58de7b['push'](_0x58de7b['shift']());}catch(_0x2bc3f3){_0x58de7b['push'](_0x58de7b['shift']());}}}(a3_0x1c42,0x4fc64));import{Control}from'ol/control';function a3_0x1c42(){const _0x377340=['layerIds','rules','createDivByLegendJson','71078LFlqmE','24DilaMT','time','border:\x20','472941ajuvHB','Line','8147820iImBlg','\x22\x20/></div>','10WvsTLN','div','px\x20solid\x20','url','length','createElement','Polygon','legend','fill','<div\x20class=\x22ol-legend-no-data\x22>暂无图例</div>','frameState','innerHTML',';height:','23226AZtfrX','ol-legend-item','\x22></div>','layerInfos','background-color:\x20','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-polygon\x22\x20style=\x22','stroke-opacity','changelayer','<div\x20class=\x22ol-legend-title\x22>','ol-legend-container','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-line\x22\x20style=\x22','96uuBMnx','setMap','<div\x20class=\x22ol-legend-icon-size\x20ol-legend-item-img\x22><img\x20class=\x22ol-legend-icon-size\x22\x20src=\x22','element','symbolizers','273162SitYRX','indexOf','getVisible','showLegend','background-color:','findIndex','stroke','<div\x20class=\x22legend-layer-title\x22>','ol-legend-layer','92704YLkhNs','render','title','init','className','<img\x20src=\x22','stroke-width','1007163rHaWGe','<div\x20class=\x22ol-legend-item-title\x22>','childElementCount','appendChild','</div>'];a3_0x1c42=function(){return _0x377340;};return a3_0x1c42();}import{getColor}from'../style/common';function a3_0x3cd6(_0x352649,_0x4e3b9c){const _0x1c422d=a3_0x1c42();return a3_0x3cd6=function(_0x3cd6f9,_0x17562e){_0x3cd6f9=_0x3cd6f9-0x99;let _0x49f251=_0x1c422d[_0x3cd6f9];return _0x49f251;},a3_0x3cd6(_0x352649,_0x4e3b9c);}import{getLayerLegend}from'../utils/LayerUtil';export default class LegendControl extends Control{constructor(_0x34e069){const _0x36d6ac=a3_0x3cd6;_0x34e069=_0x34e069||{};if(!_0x34e069[_0x36d6ac(0x9b)]){const _0x5be140=document['createElement'](_0x36d6ac(0xbe));_0x34e069[_0x36d6ac(0x9b)]=_0x5be140,_0x5be140[_0x36d6ac(0xaa)]='ol-legend-control\x20'+_0x34e069[_0x36d6ac(0xaa)];}super(_0x34e069),this[_0x36d6ac(0xcd)]=_0x34e069['layerInfos'],this[_0x36d6ac(0xa8)]=_0x34e069['title'],this[_0x36d6ac(0xb7)]=null;}async['init'](_0x4df264=[]){const _0x6e7263=a3_0x3cd6,_0x22991d=this[_0x6e7263(0x9b)];_0x22991d[_0x6e7263(0xc8)]='';const _0x3b7bd2=document['createElement'](_0x6e7263(0xbe));_0x3b7bd2['className']=_0x6e7263(0xd3);this[_0x6e7263(0xa8)]&&(_0x22991d['innerHTML']=_0x6e7263(0xd2)+this['title']+_0x6e7263(0xb1));let _0x20e752=![];if(!this['layerInfos']||this['layerInfos'][_0x6e7263(0xc1)]==0x0||_0x4df264[_0x6e7263(0xc1)]>0x0&&this[_0x6e7263(0xcd)][_0x6e7263(0xa2)](_0x2e9845=>{const _0x436bc9=_0x6e7263;return _0x4df264[_0x436bc9(0x9e)](_0x2e9845['id'])>-0x1&&_0x2e9845[_0x436bc9(0xa0)];})==-0x1)_0x3b7bd2[_0x6e7263(0xc8)]=_0x6e7263(0xc6);else for(let _0x3725d0=0x0;_0x3725d0<this[_0x6e7263(0xcd)][_0x6e7263(0xc1)];_0x3725d0++){const _0x55036d=this[_0x6e7263(0xcd)][_0x3725d0];if(!_0x55036d[_0x6e7263(0xa0)]||!_0x55036d[_0x6e7263(0xc0)])continue;const _0x1cd650=this['getMap']();if(!_0x1cd650)continue;const _0x451882=_0x1cd650['getLayerById'](_0x55036d['id']);if(!_0x451882||_0x451882[_0x6e7263(0x9f)]()==![])continue;if(_0x55036d['legend']&&_0x55036d[_0x6e7263(0xc4)][_0x6e7263(0xc1)]>0x0)for(let _0x54ec7b=0x0;_0x54ec7b<_0x55036d[_0x6e7263(0xc4)]['length'];_0x54ec7b++){const _0x41007e=_0x55036d[_0x6e7263(0xc4)][_0x54ec7b],_0x327548=document[_0x6e7263(0xc2)](_0x6e7263(0xbe));_0x327548[_0x6e7263(0xaa)]=_0x6e7263(0xa5),_0x327548['innerHTML']+=_0x6e7263(0xa4)+_0x41007e[_0x6e7263(0xa8)]+_0x6e7263(0xb1);const _0x455ce3=this[_0x6e7263(0xb4)](_0x41007e);_0x455ce3&&_0x327548[_0x6e7263(0xb0)](_0x455ce3),_0x3b7bd2[_0x6e7263(0xb0)](_0x327548);}else{const _0x316d0b=await getLayerLegend(_0x55036d);if(_0x316d0b&&_0x316d0b[_0x6e7263(0xc1)]>0x0)for(let _0x2f3f1b=0x0;_0x2f3f1b<_0x316d0b[_0x6e7263(0xc1)];_0x2f3f1b++){const _0x8afb29=_0x316d0b[_0x2f3f1b],_0x2f4052=document[_0x6e7263(0xc2)](_0x6e7263(0xbe));_0x2f4052[_0x6e7263(0xaa)]=_0x6e7263(0xa5),_0x2f4052[_0x6e7263(0xc8)]+=_0x6e7263(0xa4)+_0x8afb29[_0x6e7263(0xa8)]+'</div>';const _0x4c0b17=this['createDivByLegendJson'](_0x8afb29);_0x4c0b17&&_0x2f4052['appendChild'](_0x4c0b17),_0x3b7bd2[_0x6e7263(0xb0)](_0x2f4052);}}}_0x3b7bd2[_0x6e7263(0xaf)]==0x0&&(_0x3b7bd2[_0x6e7263(0xc8)]=_0x6e7263(0xc6)),this[_0x6e7263(0x9b)][_0x6e7263(0xb0)](_0x3b7bd2);}[a3_0x2f7826(0xb4)](_0xbd078d){const _0x354e7b=a3_0x2f7826;if(!_0xbd078d||(!_0xbd078d[_0x354e7b(0xb3)]||_0xbd078d['rules']['length']==0x0)&&!_0xbd078d[_0x354e7b(0xc0)])return;const _0x5eedf7=document[_0x354e7b(0xc2)](_0x354e7b(0xbe));_0x5eedf7['className']='ol-legend-item-container';if(_0xbd078d['url']){const _0x3e66cd=document[_0x354e7b(0xc2)](_0x354e7b(0xbe));return _0x3e66cd[_0x354e7b(0xaa)]=_0x354e7b(0xcb),_0x3e66cd[_0x354e7b(0xc8)]+=_0x354e7b(0xab)+_0xbd078d[_0x354e7b(0xc0)]+'\x22\x20/>',_0x5eedf7[_0x354e7b(0xb0)](_0x3e66cd),_0x5eedf7;}for(let _0x37994f=0x0;_0x37994f<_0xbd078d['rules'][_0x354e7b(0xc1)];_0x37994f++){const _0x49d924=_0xbd078d[_0x354e7b(0xb3)][_0x37994f];if(!_0x49d924||!_0x49d924[_0x354e7b(0x9c)]||_0x49d924[_0x354e7b(0x9c)][_0x354e7b(0xc1)]==0x0)continue;const _0x18e8e7=document['createElement'](_0x354e7b(0xbe));_0x18e8e7[_0x354e7b(0xaa)]=_0x354e7b(0xcb);const _0x53bf50=_0x49d924[_0x354e7b(0x9c)][0x0];if(_0x53bf50['Polygon']){let _0x50979d='';if(_0x53bf50[_0x354e7b(0xc3)][_0x354e7b(0xa3)]){const _0x4dbddc=getColor(_0x53bf50['Polygon'][_0x354e7b(0xa3)],_0x53bf50[_0x354e7b(0xc3)][_0x354e7b(0xd0)]?_0x53bf50[_0x354e7b(0xc3)][_0x354e7b(0xd0)]-0x0:0x1);_0x50979d=_0x354e7b(0xb8)+_0x53bf50[_0x354e7b(0xc3)][_0x354e7b(0xac)]+_0x354e7b(0xbf)+_0x4dbddc+';';}if(_0x53bf50[_0x354e7b(0xc3)][_0x354e7b(0xc5)]){const _0x2c1559=getColor(_0x53bf50['Polygon'][_0x354e7b(0xc5)],_0x53bf50[_0x354e7b(0xc3)]['fill-opacity']?_0x53bf50[_0x354e7b(0xc3)]['fill-opacity']-0x0:0x1);_0x50979d+=_0x354e7b(0xce)+_0x2c1559+';';}_0x18e8e7[_0x354e7b(0xc8)]+=_0x354e7b(0xcf)+_0x50979d+_0x354e7b(0xcc);}else{if(_0x53bf50[_0x354e7b(0xba)]){let _0x4fa165='';if(_0x53bf50['Line'][_0x354e7b(0xa3)]){const _0x2f4141=getColor(_0x53bf50['Line'][_0x354e7b(0xa3)],_0x53bf50['Line'][_0x354e7b(0xd0)]?_0x53bf50[_0x354e7b(0xba)][_0x354e7b(0xd0)]-0x0:0x1);_0x4fa165=_0x354e7b(0xa1)+_0x2f4141+_0x354e7b(0xc9)+_0x53bf50[_0x354e7b(0xba)][_0x354e7b(0xac)]+'px';}_0x18e8e7[_0x354e7b(0xc8)]+=_0x354e7b(0xd4)+_0x4fa165+_0x354e7b(0xcc);}else{if(_0x53bf50['Point']){}else _0x53bf50['imgUrl']&&(_0x18e8e7[_0x354e7b(0xc8)]+=_0x354e7b(0x9a)+_0x53bf50['imgUrl']+_0x354e7b(0xbc));}}_0x18e8e7[_0x354e7b(0xc8)]+=_0x354e7b(0xae)+_0x49d924[_0x354e7b(0xa8)]+_0x354e7b(0xb1),_0x5eedf7[_0x354e7b(0xb0)](_0x18e8e7);}return _0x5eedf7;}['setMap'](_0x2aa052){const _0x21d4d8=a3_0x2f7826;super[_0x21d4d8(0x99)](_0x2aa052),_0x2aa052&&(_0x2aa052['on'](_0x21d4d8(0xd1),_0x1d4bc6=>{const _0x2a3664=_0x21d4d8;this[_0x2a3664(0xb7)]&&(clearTimeout(this[_0x2a3664(0xb7)]),this[_0x2a3664(0xb7)]=null),this[_0x2a3664(0xb7)]=setTimeout(()=>{const _0x5beb1d=_0x2a3664;this[_0x5beb1d(0xa9)](_0x1d4bc6[_0x5beb1d(0xb2)]),this[_0x5beb1d(0xb7)]=null;},0x64);}),this[_0x21d4d8(0xa9)]([]));}[a3_0x2f7826(0xa7)](_0x2d0a44){const _0x433bd2=a3_0x2f7826,_0x5c3379=_0x2d0a44[_0x433bd2(0xc7)];}}
@@ -1 +1 @@
1
- function a4_0x4a05(){const _0x55aed3=['renderOnMouseOut_','getProjection','wrapX_','3571127vcfPID','X:{x}\x20Y:{y}','36vqvKwu','placeholder_','transform_','push','23778jwAiqX','fractionDigits','getEventPixel','viewState','updateHTML_','set','element','614868nLOVTi','frameState','getCoordinateFormat','listenerKeys','33306cIXJwZ','renderedHTML_','className','handleMouseMove','createStringXY','handleProjectionChanged_','&#160;','div','setProjection','get','setCoordinateFormat','5909944QMTlou','render','mapProjection_','innerHTML','3184730QfuzOr','setMap','toString','coordinateFormat','getViewport','POINTERMOVE','纬度:','createStringHDMS','placeholder','3YELFQB','showSpheroid','182249KjLztC','projection','getView','595MfzgJH'];a4_0x4a05=function(){return _0x55aed3;};return a4_0x4a05();}const a4_0x26a94b=a4_0x4872;(function(_0x3d0356,_0x3f46eb){const _0x25ac34=a4_0x4872,_0xaa1c58=_0x3d0356();while(!![]){try{const _0x29fdaa=-parseInt(_0x25ac34(0x135))/0x1+parseInt(_0x25ac34(0x11b))/0x2+parseInt(_0x25ac34(0x133))/0x3*(parseInt(_0x25ac34(0x117))/0x4)+parseInt(_0x25ac34(0x138))/0x5*(parseInt(_0x25ac34(0x142))/0x6)+-parseInt(_0x25ac34(0x13c))/0x7+-parseInt(_0x25ac34(0x126))/0x8+-parseInt(_0x25ac34(0x13e))/0x9*(-parseInt(_0x25ac34(0x12a))/0xa);if(_0x29fdaa===_0x3f46eb)break;else _0xaa1c58['push'](_0xaa1c58['shift']());}catch(_0x42c6c1){_0xaa1c58['push'](_0xaa1c58['shift']());}}}(a4_0x4a05,0x76562));import{format,wrapX}from'ol/coordinate';import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0xfa2d30 from'ol/pointer/EventType.js';import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';import{listen}from'ol/events';import{Control}from'ol/control';function a4_0x4872(_0x1a6317,_0x25f3ed){const _0x4a05ae=a4_0x4a05();return a4_0x4872=function(_0x48721c,_0x31ee32){_0x48721c=_0x48721c-0x117;let _0xd85493=_0x4a05ae[_0x48721c];return _0xd85493;},a4_0x4872(_0x1a6317,_0x25f3ed);}import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION=a4_0x26a94b(0x136),COORDINATE_FORMAT=a4_0x26a94b(0x12d);export default class MousePositionControl extends Control{constructor(_0x1bc744){const _0x42c903=a4_0x26a94b;_0x1bc744=_0x1bc744||{};if(!_0x1bc744[_0x42c903(0x148)]){const _0x5b2f76=document['createElement'](_0x42c903(0x122));_0x1bc744[_0x42c903(0x148)]=_0x5b2f76;}_0x1bc744[_0x42c903(0x148)][_0x42c903(0x11d)]=_0x1bc744[_0x42c903(0x11d)]==undefined?'ol-mouse-position':_0x1bc744[_0x42c903(0x11d)],super(_0x1bc744),this[_0x42c903(0x134)]=_0x1bc744['showSpheroid']===undefined?![]:_0x1bc744[_0x42c903(0x134)],this['fractionDigits']=_0x1bc744[_0x42c903(0x143)]===undefined?0x2:_0x1bc744['fractionDigits'],this[_0x42c903(0x139)]=_0x1bc744[_0x42c903(0x132)]!==undefined,this[_0x42c903(0x13f)]=_0x1bc744[_0x42c903(0x132)]!==undefined?_0x1bc744['placeholder']:_0x42c903(0x121),this[_0x42c903(0x11c)]=_0x1bc744[_0x42c903(0x148)][_0x42c903(0x129)],this[_0x42c903(0x13b)]=!![];}[a4_0x26a94b(0x120)](){this['transform_']=undefined;}[a4_0x26a94b(0x119)](){const _0x2d5e0c=a4_0x26a94b;return this[_0x2d5e0c(0x124)](COORDINATE_FORMAT);}[a4_0x26a94b(0x125)](_0x26f247){const _0x673aca=a4_0x26a94b;this[_0x673aca(0x147)](COORDINATE_FORMAT,_0x26f247);}[a4_0x26a94b(0x13a)](){return this['get'](PROJECTION);}['setProjection'](_0x344b95){this['set'](PROJECTION,_0x344b95);}['handleMouseMove'](_0x2cd288){const _0x37f429=a4_0x26a94b,_0x2b47a7=this['getMap']();this['updateHTML_'](_0x2b47a7===null||_0x2b47a7===void 0x0?void 0x0:_0x2b47a7[_0x37f429(0x144)](_0x2cd288));}['handleMouseOut'](_0x1d9558){const _0xcb3adf=a4_0x26a94b;this[_0xcb3adf(0x146)](null);}[a4_0x26a94b(0x12b)](_0xf251a2){const _0xfe8234=a4_0x26a94b;super[_0xfe8234(0x12b)](_0xf251a2);if(_0xf251a2){const _0x10dadf=isSpheroid(_0xf251a2[_0xfe8234(0x137)]()[_0xfe8234(0x13a)]());let _0x4d6a59=_0xf251a2[_0xfe8234(0x137)]()[_0xfe8234(0x13a)](),_0x321209=this[_0xfe8234(0x131)];if(!_0x10dadf){if(this[_0xfe8234(0x134)]){const _0xf31b2d=getSpheroidProjection(_0xf251a2[_0xfe8234(0x137)]()[_0xfe8234(0x13a)]());_0xf31b2d&&(_0x4d6a59=_0xf31b2d);}else _0x321209=this[_0xfe8234(0x11f)];}this[_0xfe8234(0x123)](_0x4d6a59),this[_0xfe8234(0x125)](_0x321209(this[_0xfe8234(0x143)]));const _0x7a77d4=_0xf251a2[_0xfe8234(0x12e)]();this[_0xfe8234(0x11a)]['push'](listen(_0x7a77d4,a4_0xfa2d30[_0xfe8234(0x12f)],this[_0xfe8234(0x11e)],this)),this[_0xfe8234(0x139)]&&this[_0xfe8234(0x11a)][_0xfe8234(0x141)](listen(_0x7a77d4,a4_0xfa2d30['POINTEROUT'],this['handleMouseOut'],this)),this[_0xfe8234(0x146)](null);}}['updateHTML_'](_0x5677d7){const _0x448f00=a4_0x26a94b;let _0x1c39e1=this[_0x448f00(0x13f)];const _0x35f3b2=this['getMap']();if(_0x5677d7&&this['mapProjection_']&&_0x35f3b2){if(!this['transform_']){const _0x1c1bab=this['getProjection']();_0x1c1bab?this[_0x448f00(0x140)]=getTransformFromProjections(this[_0x448f00(0x128)],_0x1c1bab):this[_0x448f00(0x140)]=identityTransform;}const _0x68b257=_0x35f3b2['getCoordinateFromPixelInternal'](_0x5677d7);if(_0x68b257){const _0x1133f8=getUserProjection();_0x1133f8&&(this[_0x448f00(0x140)]=getTransformFromProjections(this[_0x448f00(0x128)],_0x1133f8));this[_0x448f00(0x140)](_0x68b257,_0x68b257,undefined);if(this['wrapX_']){const _0x5dbfef=_0x1133f8||this[_0x448f00(0x13a)]()||this[_0x448f00(0x128)];wrapX(_0x68b257,_0x5dbfef);}const _0x346353=this[_0x448f00(0x119)]();_0x346353?_0x1c39e1=_0x346353(_0x68b257):_0x1c39e1=_0x68b257[_0x448f00(0x12c)]();}}(!this[_0x448f00(0x11c)]||_0x1c39e1!==this[_0x448f00(0x11c)])&&(this['element'][_0x448f00(0x129)]=_0x1c39e1,this[_0x448f00(0x11c)]=_0x1c39e1);}[a4_0x26a94b(0x127)](_0x48fdcc){const _0x166dd3=a4_0x26a94b,_0x49944e=_0x48fdcc[_0x166dd3(0x118)];!_0x49944e?this[_0x166dd3(0x128)]=undefined:this[_0x166dd3(0x128)]!=_0x49944e[_0x166dd3(0x145)]['projection']&&(this[_0x166dd3(0x128)]=_0x49944e[_0x166dd3(0x145)]['projection'],this[_0x166dd3(0x140)]=undefined);}[a4_0x26a94b(0x11f)](_0x532451){return function(_0x434950){const _0x3ca005=a4_0x4872;return format(_0x434950,_0x3ca005(0x13d),_0x532451);};}[a4_0x26a94b(0x131)](_0x180b92){return function(_0x184503){const _0x4f8ee4=a4_0x4872;if(_0x184503)return'经度:'+degreesToStringHDMS(_0x184503[0x0],_0x180b92)+'\x20'+_0x4f8ee4(0x130)+degreesToStringHDMS(_0x184503[0x1],_0x180b92);};}}
1
+ const a4_0x3c0287=a4_0x4206;(function(_0x281095,_0x40a03e){const _0x375de1=a4_0x4206,_0x489c91=_0x281095();while(!![]){try{const _0x1bcdfe=-parseInt(_0x375de1(0xe3))/0x1*(parseInt(_0x375de1(0xec))/0x2)+-parseInt(_0x375de1(0xf1))/0x3*(parseInt(_0x375de1(0xeb))/0x4)+-parseInt(_0x375de1(0xfe))/0x5+-parseInt(_0x375de1(0x105))/0x6+-parseInt(_0x375de1(0xea))/0x7*(parseInt(_0x375de1(0xe4))/0x8)+parseInt(_0x375de1(0x107))/0x9*(-parseInt(_0x375de1(0xfc))/0xa)+parseInt(_0x375de1(0x10c))/0xb;if(_0x1bcdfe===_0x40a03e)break;else _0x489c91['push'](_0x489c91['shift']());}catch(_0x48d00f){_0x489c91['push'](_0x489c91['shift']());}}}(a4_0x46db,0x325ca));import{format,wrapX}from'ol/coordinate';function a4_0x4206(_0x53ae16,_0x2106b0){const _0x46dbb3=a4_0x46db();return a4_0x4206=function(_0x420653,_0x4d37e6){_0x420653=_0x420653-0xe0;let _0x3ae37e=_0x46dbb3[_0x420653];return _0x3ae37e;},a4_0x4206(_0x53ae16,_0x2106b0);}function a4_0x46db(){const _0x36e9b0=['wrapX_','getViewport','POINTEROUT','render','listenerKeys','placeholder','renderedHTML_','innerHTML','getMap','5ZpIoUl','8PwZHMX','getProjection','showSpheroid','X:{x}\x20Y:{y}','placeholder_','coordinateFormat','694169SuVQuM','721516IoQMhI','50116fLmRHw','viewState','createStringHDMS','createElement','transform_','6QEOkjl','get','getCoordinateFormat','projection','setProjection','set','frameState','renderOnMouseOut_','纬度:','POINTERMOVE','toString','1290730eMLNlD','fractionDigits','1175855RNJgSD','ol-mouse-position','div','setMap','createStringXY','getEventPixel','mapProjection_','1512540ymGGxQ','element','18DgMWwB','getCoordinateFromPixelInternal','handleMouseOut','className','getView','16905944CHikWC','updateHTML_','经度:'];a4_0x46db=function(){return _0x36e9b0;};return a4_0x46db();}import{degreesToStringHDMS}from'../utils/StringUtil';import a4_0x395da0 from'ol/pointer/EventType.js';import{getSpheroidProjection,isSpheroid}from'../utils/RegisterProjUtil';import{listen}from'ol/events';import{Control}from'ol/control';import{getTransformFromProjections,getUserProjection,identityTransform}from'ol/proj';const PROJECTION='projection',COORDINATE_FORMAT=a4_0x3c0287(0xe9);export default class MousePositionControl extends Control{constructor(_0x50ff1d){const _0x4dd312=a4_0x3c0287;_0x50ff1d=_0x50ff1d||{};if(!_0x50ff1d[_0x4dd312(0x106)]){const _0x363782=document[_0x4dd312(0xef)](_0x4dd312(0x100));_0x50ff1d['element']=_0x363782;}_0x50ff1d['element'][_0x4dd312(0x10a)]=_0x50ff1d[_0x4dd312(0x10a)]==undefined?_0x4dd312(0xff):_0x50ff1d[_0x4dd312(0x10a)],super(_0x50ff1d),this[_0x4dd312(0xe6)]=_0x50ff1d[_0x4dd312(0xe6)]===undefined?![]:_0x50ff1d[_0x4dd312(0xe6)],this[_0x4dd312(0xfd)]=_0x50ff1d[_0x4dd312(0xfd)]===undefined?0x2:_0x50ff1d['fractionDigits'],this[_0x4dd312(0xf8)]=_0x50ff1d[_0x4dd312(0x114)]!==undefined,this[_0x4dd312(0xe8)]=_0x50ff1d['placeholder']!==undefined?_0x50ff1d[_0x4dd312(0x114)]:'&#160;',this[_0x4dd312(0xe0)]=_0x50ff1d[_0x4dd312(0x106)][_0x4dd312(0xe1)],this[_0x4dd312(0x10f)]=!![];}['handleProjectionChanged_'](){const _0x32aadf=a4_0x3c0287;this[_0x32aadf(0xf0)]=undefined;}['getCoordinateFormat'](){const _0xe712b1=a4_0x3c0287;return this[_0xe712b1(0xf2)](COORDINATE_FORMAT);}['setCoordinateFormat'](_0x4f4663){const _0x12c14f=a4_0x3c0287;this[_0x12c14f(0xf6)](COORDINATE_FORMAT,_0x4f4663);}[a4_0x3c0287(0xe5)](){const _0x3bc272=a4_0x3c0287;return this[_0x3bc272(0xf2)](PROJECTION);}[a4_0x3c0287(0xf5)](_0x538465){const _0xa66498=a4_0x3c0287;this[_0xa66498(0xf6)](PROJECTION,_0x538465);}['handleMouseMove'](_0x27ccaf){const _0x3b087f=a4_0x3c0287,_0x3b6f6b=this[_0x3b087f(0xe2)]();this['updateHTML_'](_0x3b6f6b===null||_0x3b6f6b===void 0x0?void 0x0:_0x3b6f6b[_0x3b087f(0x103)](_0x27ccaf));}[a4_0x3c0287(0x109)](_0x35bc76){this['updateHTML_'](null);}['setMap'](_0x3eb97a){const _0x3623e2=a4_0x3c0287;super[_0x3623e2(0x101)](_0x3eb97a);if(_0x3eb97a){const _0x291289=isSpheroid(_0x3eb97a[_0x3623e2(0x10b)]()[_0x3623e2(0xe5)]());let _0x4e5a89=_0x3eb97a[_0x3623e2(0x10b)]()[_0x3623e2(0xe5)](),_0x464b9b=this['createStringHDMS'];if(!_0x291289){if(this[_0x3623e2(0xe6)]){const _0x2953dc=getSpheroidProjection(_0x3eb97a['getView']()[_0x3623e2(0xe5)]());_0x2953dc&&(_0x4e5a89=_0x2953dc);}else _0x464b9b=this[_0x3623e2(0x102)];}this[_0x3623e2(0xf5)](_0x4e5a89),this['setCoordinateFormat'](_0x464b9b(this[_0x3623e2(0xfd)]));const _0x4210b0=_0x3eb97a[_0x3623e2(0x110)]();this[_0x3623e2(0x113)]['push'](listen(_0x4210b0,a4_0x395da0[_0x3623e2(0xfa)],this['handleMouseMove'],this)),this['renderOnMouseOut_']&&this[_0x3623e2(0x113)]['push'](listen(_0x4210b0,a4_0x395da0[_0x3623e2(0x111)],this[_0x3623e2(0x109)],this)),this[_0x3623e2(0x10d)](null);}}[a4_0x3c0287(0x10d)](_0x231d93){const _0x963b20=a4_0x3c0287;let _0x14f962=this[_0x963b20(0xe8)];const _0x46b856=this[_0x963b20(0xe2)]();if(_0x231d93&&this[_0x963b20(0x104)]&&_0x46b856){if(!this[_0x963b20(0xf0)]){const _0x2c0bc1=this[_0x963b20(0xe5)]();_0x2c0bc1?this[_0x963b20(0xf0)]=getTransformFromProjections(this[_0x963b20(0x104)],_0x2c0bc1):this[_0x963b20(0xf0)]=identityTransform;}const _0xdc6d4b=_0x46b856[_0x963b20(0x108)](_0x231d93);if(_0xdc6d4b){const _0xc33645=getUserProjection();_0xc33645&&(this[_0x963b20(0xf0)]=getTransformFromProjections(this['mapProjection_'],_0xc33645));this[_0x963b20(0xf0)](_0xdc6d4b,_0xdc6d4b,undefined);if(this['wrapX_']){const _0x47541b=_0xc33645||this[_0x963b20(0xe5)]()||this[_0x963b20(0x104)];wrapX(_0xdc6d4b,_0x47541b);}const _0x38ae8c=this[_0x963b20(0xf3)]();_0x38ae8c?_0x14f962=_0x38ae8c(_0xdc6d4b):_0x14f962=_0xdc6d4b[_0x963b20(0xfb)]();}}(!this['renderedHTML_']||_0x14f962!==this['renderedHTML_'])&&(this['element'][_0x963b20(0xe1)]=_0x14f962,this[_0x963b20(0xe0)]=_0x14f962);}[a4_0x3c0287(0x112)](_0x3e7780){const _0x371fcc=a4_0x3c0287,_0x1c3f0d=_0x3e7780[_0x371fcc(0xf7)];!_0x1c3f0d?this[_0x371fcc(0x104)]=undefined:this['mapProjection_']!=_0x1c3f0d['viewState'][_0x371fcc(0xf4)]&&(this[_0x371fcc(0x104)]=_0x1c3f0d[_0x371fcc(0xed)][_0x371fcc(0xf4)],this[_0x371fcc(0xf0)]=undefined);}['createStringXY'](_0x509198){return function(_0x2a9a42){const _0x3c33d7=a4_0x4206;return format(_0x2a9a42,_0x3c33d7(0xe7),_0x509198);};}[a4_0x3c0287(0xee)](_0x39251b){return function(_0x362039){const _0x20bbca=a4_0x4206;if(_0x362039)return _0x20bbca(0x10e)+degreesToStringHDMS(_0x362039[0x0],_0x39251b)+'\x20'+_0x20bbca(0xf9)+degreesToStringHDMS(_0x362039[0x1],_0x39251b);};}}
@@ -1 +1 @@
1
- function a5_0x388c(){const _0x4ef282=['ol-scroll-layer','beginPath','row-resize','bindEvents','rect','282JZyMBo','isVertical','swipeLayer','Left','postrender','disposeInternal','log','top','style','dispose','getCoordinateFromPixel','width','pointerdown','render','2sIpjiL','input','1085970cZpACo','330192tUaRGl','getMap','col-resize','prerender','7861yLbsNT','context','cursor','Right','ol-scroll-layer\x20ol-scroll-layer-vertical','canvas','getBoundingClientRect','840951YwxLJQ','swipeVa','981120cWZvNi','element','restore','left','249088iAFmak','dockedVisible','_swipeLayer','setSwipeLayer','createElement','clientY','141341JSKdVB','value','clip','addEventListener','getTargetElement','clientX','unsetSwipeLayer'];a5_0x388c=function(){return _0x4ef282;};return a5_0x388c();}const a5_0x4227a9=a5_0x2c88;(function(_0xf8941c,_0x4aee4a){const _0x3e1dcc=a5_0x2c88,_0x1d785c=_0xf8941c();while(!![]){try{const _0x1411c1=-parseInt(_0x3e1dcc(0x1e9))/0x1+-parseInt(_0x3e1dcc(0x1cf))/0x2*(parseInt(_0x3e1dcc(0x1d2))/0x3)+parseInt(_0x3e1dcc(0x1df))/0x4+parseInt(_0x3e1dcc(0x1d1))/0x5+-parseInt(_0x3e1dcc(0x1f5))/0x6*(-parseInt(_0x3e1dcc(0x1d6))/0x7)+-parseInt(_0x3e1dcc(0x1e3))/0x8+-parseInt(_0x3e1dcc(0x1dd))/0x9;if(_0x1411c1===_0x4aee4a)break;else _0x1d785c['push'](_0x1d785c['shift']());}catch(_0x6bd4ee){_0x1d785c['push'](_0x1d785c['shift']());}}}(a5_0x388c,0x2200b));function a5_0x2c88(_0x5064ea,_0x2e1146){const _0x388cf2=a5_0x388c();return a5_0x2c88=function(_0x2c88a2,_0x45b44f){_0x2c88a2=_0x2c88a2-0x1c9;let _0x373c4c=_0x388cf2[_0x2c88a2];return _0x373c4c;},a5_0x2c88(_0x5064ea,_0x2e1146);}import{Control}from'ol/control';export default class SwipeLayerControl extends Control{constructor(_0x37e1da){const _0xf6e458=a5_0x2c88;_0x37e1da=_0x37e1da||{};if(!_0x37e1da[_0xf6e458(0x1e0)]){const _0x230e63=document[_0xf6e458(0x1e7)]('div');_0x37e1da[_0xf6e458(0x1e0)]=_0x230e63,_0x230e63['className']=_0xf6e458(0x1f0),(_0x37e1da[_0xf6e458(0x1e4)]===_0xf6e458(0x1f8)||_0x37e1da[_0xf6e458(0x1e4)]===_0xf6e458(0x1d9))&&(_0x230e63['className']=_0xf6e458(0x1da));}super(_0x37e1da),this[_0xf6e458(0x1de)]=0x32,this[_0xf6e458(0x1f6)]=![],this[_0xf6e458(0x1e5)]=_0x37e1da[_0xf6e458(0x1f7)],this['_dockedVisible']=_0x37e1da[_0xf6e458(0x1e4)],this['isVertical']=_0x37e1da[_0xf6e458(0x1e4)]===_0xf6e458(0x1f8)||_0x37e1da['dockedVisible']===_0xf6e458(0x1d9),this[_0xf6e458(0x1f3)](this['element']),this['element'][_0xf6e458(0x1ec)](_0xf6e458(0x1d0),()=>{const _0x44ac6b=_0xf6e458;var _0x2abc5b;const _0x42e800=this['element'][_0x44ac6b(0x1ea)];this[_0x44ac6b(0x1de)]=_0x42e800,(_0x2abc5b=this[_0x44ac6b(0x1d3)]())===null||_0x2abc5b===void 0x0?void 0x0:_0x2abc5b[_0x44ac6b(0x1ce)]();},![]),this[_0xf6e458(0x1e6)](_0x37e1da[_0xf6e458(0x1f7)]);}[a5_0x4227a9(0x1e6)](_0x18575b){const _0x26fe98=a5_0x4227a9;this[_0x26fe98(0x1ef)](),_0x18575b&&(_0x18575b['on'](_0x26fe98(0x1d5),_0x1e7a5d=>this[_0x26fe98(0x1d5)](_0x1e7a5d)),_0x18575b['on'](_0x26fe98(0x1f9),_0x21f657=>this[_0x26fe98(0x1f9)](_0x21f657)),this[_0x26fe98(0x1e5)]=_0x18575b);}[a5_0x4227a9(0x1ef)](){const _0x5745fd=a5_0x4227a9;var _0x4cc36f;this['_swipeLayer']&&(this[_0x5745fd(0x1de)]=0x64,(_0x4cc36f=this[_0x5745fd(0x1d3)]())===null||_0x4cc36f===void 0x0?void 0x0:_0x4cc36f[_0x5745fd(0x1ce)](),this['_swipeLayer']['un'](_0x5745fd(0x1d5),_0x104345=>this['prerender'](_0x104345)),this[_0x5745fd(0x1e5)]['un']('postrender',_0x134fb8=>this['postrender'](_0x134fb8)));}[a5_0x4227a9(0x1d5)](_0x4190e2){const _0x35383e=a5_0x4227a9,_0x454dee=_0x4190e2[_0x35383e(0x1d7)],_0x5a5029=_0x454dee===null||_0x454dee===void 0x0?void 0x0:_0x454dee[_0x35383e(0x1db)][_0x35383e(0x1cc)];if(!this['element']||!_0x5a5029||!_0x454dee)return;console[_0x35383e(0x1fb)](this[_0x35383e(0x1de)]);const _0x352044=_0x5a5029*this[_0x35383e(0x1de)]/0x64;_0x454dee['save'](),_0x454dee[_0x35383e(0x1f1)](),_0x454dee[_0x35383e(0x1f4)](0x0,0x0,_0x352044,_0x454dee[_0x35383e(0x1db)]['height']),_0x454dee[_0x35383e(0x1eb)]();}['postrender'](_0x38939e){const _0x28ca88=a5_0x4227a9,_0x3f2d5f=_0x38939e[_0x28ca88(0x1d7)];_0x3f2d5f[_0x28ca88(0x1e1)]();}['setMap'](_0x4a23a9){const _0x2df63f=a5_0x4227a9;!_0x4a23a9&&this[_0x2df63f(0x1ef)](),super['setMap'](_0x4a23a9);}[a5_0x4227a9(0x1ca)](){this['unsetSwipeLayer']();}[a5_0x4227a9(0x1fa)](){const _0xc319ff=a5_0x4227a9;this[_0xc319ff(0x1ef)](),super[_0xc319ff(0x1fa)]();}[a5_0x4227a9(0x1ce)](_0x4024ad){}[a5_0x4227a9(0x1f3)](_0x3f0686){const _0x2fd8d6=a5_0x4227a9;let _0x4f74c2=![];_0x3f0686['addEventListener'](_0x2fd8d6(0x1cd),()=>{const _0x3b33f2=_0x2fd8d6,_0x126267=this[_0x3b33f2(0x1d3)]();if(!_0x126267)return;_0x4f74c2=!![],_0x126267[_0x3b33f2(0x1ed)]()[_0x3b33f2(0x1c9)][_0x3b33f2(0x1d8)]=this[_0x3b33f2(0x1f6)]?_0x3b33f2(0x1d4):_0x3b33f2(0x1f2);}),document[_0x2fd8d6(0x1ec)]('pointermove',_0x313608=>{const _0x57498b=_0x2fd8d6;if(!_0x4f74c2)return;const _0x51cef4=this[_0x57498b(0x1d3)]();if(!_0x51cef4)return;const _0x3b730d=_0x51cef4[_0x57498b(0x1ed)]()[_0x57498b(0x1dc)](),_0x2f4a82=_0x51cef4[_0x57498b(0x1cb)]([_0x313608[_0x57498b(0x1ee)]-_0x3b730d[_0x57498b(0x1e2)],_0x313608[_0x57498b(0x1e8)]-_0x3b730d[_0x57498b(0x1fc)]]);this[_0x57498b(0x1f6)]?(this[_0x57498b(0x1de)]=(_0x313608[_0x57498b(0x1ee)]-_0x3b730d[_0x57498b(0x1e2)])/_0x3b730d['width']*0x64,_0x3f0686[_0x57498b(0x1c9)][_0x57498b(0x1e2)]=this[_0x57498b(0x1de)]+'%'):_0x3f0686[_0x57498b(0x1c9)][_0x57498b(0x1fc)]=(_0x313608[_0x57498b(0x1e8)]-_0x3b730d[_0x57498b(0x1fc)])/_0x3b730d['height']*0x64+'%',_0x51cef4['render']();}),document[_0x2fd8d6(0x1ec)]('pointerup',()=>{const _0x367f8f=_0x2fd8d6;_0x4f74c2=![];const _0x128595=this[_0x367f8f(0x1d3)]();if(!_0x128595)return;_0x128595[_0x367f8f(0x1ed)]()[_0x367f8f(0x1c9)][_0x367f8f(0x1d8)]='';});}}
1
+ function a5_0x36b1(){const _0x403ecf=['save','329925WOdzkA','getBoundingClientRect','639NheikY','isVertical','setMap','context','ol-scroll-layer\x20ol-scroll-layer-vertical','ol-scroll-layer','createElement','disposeInternal','clientY','row-resize','getMap','dockedVisible','getTargetElement','371875KWjpRO','Left','canvas','postrender','input','Right','render','21440mxnioF','bindEvents','top','element','addEventListener','swipeVa','cursor','log','clientX','height','style','pointerup','1472373MOnJDn','467JWYLBC','width','506240qamUKc','6xJasnW','clip','setSwipeLayer','_dockedVisible','left','prerender','rect','_swipeLayer','pointerdown','className','getCoordinateFromPixel','swipeLayer','1594LidRqy','restore','pointermove','col-resize','62656EUVFpc','value','unsetSwipeLayer'];a5_0x36b1=function(){return _0x403ecf;};return a5_0x36b1();}const a5_0x177519=a5_0x5085;(function(_0x1206fe,_0x26c31c){const _0x471e3a=a5_0x5085,_0x24c27a=_0x1206fe();while(!![]){try{const _0x131f9d=-parseInt(_0x471e3a(0x1f7))/0x1*(parseInt(_0x471e3a(0x206))/0x2)+parseInt(_0x471e3a(0x1f6))/0x3+-parseInt(_0x471e3a(0x1ea))/0x4+-parseInt(_0x471e3a(0x20e))/0x5+-parseInt(_0x471e3a(0x1fa))/0x6*(parseInt(_0x471e3a(0x21d))/0x7)+parseInt(_0x471e3a(0x20a))/0x8*(parseInt(_0x471e3a(0x210))/0x9)+-parseInt(_0x471e3a(0x1f9))/0xa;if(_0x131f9d===_0x26c31c)break;else _0x24c27a['push'](_0x24c27a['shift']());}catch(_0x5a0627){_0x24c27a['push'](_0x24c27a['shift']());}}}(a5_0x36b1,0x79f72));function a5_0x5085(_0x33c100,_0x469701){const _0x36b1ad=a5_0x36b1();return a5_0x5085=function(_0x50857f,_0x3e9518){_0x50857f=_0x50857f-0x1e7;let _0x40c096=_0x36b1ad[_0x50857f];return _0x40c096;},a5_0x5085(_0x33c100,_0x469701);}import{Control}from'ol/control';export default class SwipeLayerControl extends Control{constructor(_0x4771fc){const _0x52de2d=a5_0x5085;_0x4771fc=_0x4771fc||{};if(!_0x4771fc['element']){const _0x5a5830=document[_0x52de2d(0x216)]('div');_0x4771fc['element']=_0x5a5830,_0x5a5830[_0x52de2d(0x203)]=_0x52de2d(0x215),(_0x4771fc[_0x52de2d(0x21b)]===_0x52de2d(0x21e)||_0x4771fc[_0x52de2d(0x21b)]===_0x52de2d(0x1e8))&&(_0x5a5830[_0x52de2d(0x203)]=_0x52de2d(0x214));}super(_0x4771fc),this[_0x52de2d(0x1ef)]=0x32,this[_0x52de2d(0x211)]=![],this['_swipeLayer']=_0x4771fc[_0x52de2d(0x205)],this[_0x52de2d(0x1fd)]=_0x4771fc[_0x52de2d(0x21b)],this[_0x52de2d(0x211)]=_0x4771fc[_0x52de2d(0x21b)]===_0x52de2d(0x21e)||_0x4771fc[_0x52de2d(0x21b)]===_0x52de2d(0x1e8),this[_0x52de2d(0x1eb)](this[_0x52de2d(0x1ed)]),this[_0x52de2d(0x1ed)][_0x52de2d(0x1ee)](_0x52de2d(0x1e7),()=>{const _0x4810ec=_0x52de2d;var _0x25d9f1;const _0xbc8762=this[_0x4810ec(0x1ed)][_0x4810ec(0x20b)];this[_0x4810ec(0x1ef)]=_0xbc8762,(_0x25d9f1=this['getMap']())===null||_0x25d9f1===void 0x0?void 0x0:_0x25d9f1[_0x4810ec(0x1e9)]();},![]),this[_0x52de2d(0x1fc)](_0x4771fc[_0x52de2d(0x205)]);}[a5_0x177519(0x1fc)](_0x56e53c){const _0x536bfc=a5_0x177519;this[_0x536bfc(0x20c)](),_0x56e53c&&(_0x56e53c['on']('prerender',_0x3a6245=>this[_0x536bfc(0x1ff)](_0x3a6245)),_0x56e53c['on'](_0x536bfc(0x220),_0x6cc320=>this[_0x536bfc(0x220)](_0x6cc320)),this[_0x536bfc(0x201)]=_0x56e53c);}[a5_0x177519(0x20c)](){const _0x4684ba=a5_0x177519;var _0x53d3a9;this[_0x4684ba(0x201)]&&(this[_0x4684ba(0x1ef)]=0x64,(_0x53d3a9=this[_0x4684ba(0x21a)]())===null||_0x53d3a9===void 0x0?void 0x0:_0x53d3a9[_0x4684ba(0x1e9)](),this[_0x4684ba(0x201)]['un'](_0x4684ba(0x1ff),_0x3952b8=>this[_0x4684ba(0x1ff)](_0x3952b8)),this[_0x4684ba(0x201)]['un']('postrender',_0x337d5e=>this[_0x4684ba(0x220)](_0x337d5e)));}[a5_0x177519(0x1ff)](_0x96cc62){const _0x1e503f=a5_0x177519,_0x1cf18a=_0x96cc62['context'],_0x25e609=_0x1cf18a===null||_0x1cf18a===void 0x0?void 0x0:_0x1cf18a[_0x1e503f(0x21f)][_0x1e503f(0x1f8)];if(!this['element']||!_0x25e609||!_0x1cf18a)return;console[_0x1e503f(0x1f1)](this['swipeVa']);const _0x13f4d5=_0x25e609*this[_0x1e503f(0x1ef)]/0x64;_0x1cf18a[_0x1e503f(0x20d)](),_0x1cf18a['beginPath'](),_0x1cf18a[_0x1e503f(0x200)](0x0,0x0,_0x13f4d5,_0x1cf18a[_0x1e503f(0x21f)][_0x1e503f(0x1f3)]),_0x1cf18a[_0x1e503f(0x1fb)]();}[a5_0x177519(0x220)](_0xfcd5bc){const _0x483b0a=a5_0x177519,_0x1c2dc6=_0xfcd5bc[_0x483b0a(0x213)];_0x1c2dc6[_0x483b0a(0x207)]();}[a5_0x177519(0x212)](_0x10f1d1){const _0xe0671f=a5_0x177519;!_0x10f1d1&&this[_0xe0671f(0x20c)](),super[_0xe0671f(0x212)](_0x10f1d1);}['dispose'](){this['unsetSwipeLayer']();}[a5_0x177519(0x217)](){const _0x553eaa=a5_0x177519;this[_0x553eaa(0x20c)](),super[_0x553eaa(0x217)]();}['render'](_0x574b1e){}[a5_0x177519(0x1eb)](_0x45050f){const _0x234f7f=a5_0x177519;let _0x13adad=![];_0x45050f['addEventListener'](_0x234f7f(0x202),()=>{const _0x1138fa=_0x234f7f,_0x583f2d=this['getMap']();if(!_0x583f2d)return;_0x13adad=!![],_0x583f2d['getTargetElement']()['style'][_0x1138fa(0x1f0)]=this[_0x1138fa(0x211)]?_0x1138fa(0x209):_0x1138fa(0x219);}),document[_0x234f7f(0x1ee)](_0x234f7f(0x208),_0x2813e4=>{const _0x5438bb=_0x234f7f;if(!_0x13adad)return;const _0x28f9c7=this[_0x5438bb(0x21a)]();if(!_0x28f9c7)return;const _0x131522=_0x28f9c7[_0x5438bb(0x21c)]()[_0x5438bb(0x20f)](),_0x18f4a2=_0x28f9c7[_0x5438bb(0x204)]([_0x2813e4[_0x5438bb(0x1f2)]-_0x131522[_0x5438bb(0x1fe)],_0x2813e4[_0x5438bb(0x218)]-_0x131522['top']]);this[_0x5438bb(0x211)]?(this[_0x5438bb(0x1ef)]=(_0x2813e4['clientX']-_0x131522['left'])/_0x131522[_0x5438bb(0x1f8)]*0x64,_0x45050f[_0x5438bb(0x1f4)][_0x5438bb(0x1fe)]=this[_0x5438bb(0x1ef)]+'%'):_0x45050f[_0x5438bb(0x1f4)]['top']=(_0x2813e4[_0x5438bb(0x218)]-_0x131522[_0x5438bb(0x1ec)])/_0x131522[_0x5438bb(0x1f3)]*0x64+'%',_0x28f9c7[_0x5438bb(0x1e9)]();}),document[_0x234f7f(0x1ee)](_0x234f7f(0x1f5),()=>{const _0x32eed1=_0x234f7f;_0x13adad=![];const _0x4c3990=this[_0x32eed1(0x21a)]();if(!_0x4c3990)return;_0x4c3990[_0x32eed1(0x21c)]()[_0x32eed1(0x1f4)][_0x32eed1(0x1f0)]='';});}}
@@ -1 +1 @@
1
- const a6_0x2a4cb1=a6_0xf633;(function(_0x4aeccb,_0x203237){const _0x2969a6=a6_0xf633,_0x461d8a=_0x4aeccb();while(!![]){try{const _0x58c97=-parseInt(_0x2969a6(0xfe))/0x1*(-parseInt(_0x2969a6(0x11e))/0x2)+parseInt(_0x2969a6(0x104))/0x3*(-parseInt(_0x2969a6(0xdb))/0x4)+-parseInt(_0x2969a6(0xcb))/0x5+-parseInt(_0x2969a6(0xd6))/0x6*(-parseInt(_0x2969a6(0xdf))/0x7)+parseInt(_0x2969a6(0x100))/0x8*(parseInt(_0x2969a6(0x125))/0x9)+-parseInt(_0x2969a6(0xea))/0xa*(parseInt(_0x2969a6(0xd3))/0xb)+-parseInt(_0x2969a6(0x115))/0xc*(parseInt(_0x2969a6(0xe1))/0xd);if(_0x58c97===_0x203237)break;else _0x461d8a['push'](_0x461d8a['shift']());}catch(_0x3a75d9){_0x461d8a['push'](_0x461d8a['shift']());}}}(a6_0x2e81,0xd3d38));export function geoJSONToKml(_0x12431f,_0x5b8cef){const _0x121ccc=a6_0xf633;return _0x5b8cef=_0x5b8cef||{'documentName':undefined,'documentDescription':undefined,'name':_0x121ccc(0x11d),'description':'description','simplestyle':![],'timestamp':'timestamp'},'<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>'+tag('kml',tag(_0x121ccc(0x10c),documentName(_0x5b8cef)+documentDescription(_0x5b8cef)+root(_0x12431f,_0x5b8cef)),[['xmlns',_0x121ccc(0x10e)]]);}function feature(_0x7d5691,_0x44203e){return function(_0x55bc53){const _0x2c83f4=a6_0xf633;if(!_0x55bc53[_0x2c83f4(0x108)]||!geometry['valid'](_0x55bc53[_0x2c83f4(0xf3)]))return'';const _0x1c33e7=geometry[_0x2c83f4(0x124)](_0x55bc53[_0x2c83f4(0xf3)]);if(!_0x1c33e7)return'';let _0x46e476='',_0x131631='';if(_0x7d5691[_0x2c83f4(0x10f)]){const _0xdf8a7f=hashStyle(_0x55bc53[_0x2c83f4(0x108)]);if(_0xdf8a7f){if(geometry[_0x2c83f4(0x10a)](_0x55bc53[_0x2c83f4(0xf3)])&&hasMarkerStyle(_0x55bc53[_0x2c83f4(0x108)]))_0x44203e['indexOf'](_0xdf8a7f)===-0x1&&(_0x46e476=markerStyle(_0x55bc53[_0x2c83f4(0x108)],_0xdf8a7f),_0x44203e[_0x2c83f4(0xc8)](_0xdf8a7f)),_0x131631=tag(_0x2c83f4(0xda),'#'+_0xdf8a7f);else(geometry[_0x2c83f4(0xd0)](_0x55bc53[_0x2c83f4(0xf3)])||geometry[_0x2c83f4(0xdc)](_0x55bc53['geometry']))&&hasPolygonAndLineStyle(_0x55bc53[_0x2c83f4(0x108)])&&(_0x44203e[_0x2c83f4(0xc6)](_0xdf8a7f)===-0x1&&(_0x46e476=polygonAndLineStyle(_0x55bc53[_0x2c83f4(0x108)],_0xdf8a7f),_0x44203e[_0x2c83f4(0xc8)](_0xdf8a7f)),_0x131631=tag(_0x2c83f4(0xda),'#'+_0xdf8a7f));}}return _0x46e476+tag(_0x2c83f4(0xe2),name(_0x55bc53[_0x2c83f4(0x108)],_0x7d5691)+description(_0x55bc53[_0x2c83f4(0x108)],_0x7d5691)+extendeddata(_0x55bc53['properties'])+timestamp(_0x55bc53['properties'],_0x7d5691)+_0x1c33e7+_0x131631);};}function root(_0x37ace5,_0x5af0cb){const _0xfec56d=a6_0xf633;if(!_0x37ace5[_0xfec56d(0x107)])return'';const _0x37eda5=[];switch(_0x37ace5[_0xfec56d(0x107)]){case _0xfec56d(0xe7):if(!_0x37ace5[_0xfec56d(0xd8)])return'';return _0x37ace5['features'][_0xfec56d(0x119)](feature(_0x5af0cb,_0x37eda5))[_0xfec56d(0xd9)]('');case _0xfec56d(0xeb):return feature(_0x5af0cb,_0x37eda5)(_0x37ace5);default:return feature(_0x5af0cb,_0x37eda5)({'type':_0xfec56d(0xeb),'geometry':_0x37ace5,'properties':{}});}}function documentName(_0x433756){const _0x165f8f=a6_0xf633;return _0x433756[_0x165f8f(0x11a)]!==undefined?tag(_0x165f8f(0x11d),_0x433756[_0x165f8f(0x11a)]):'';}function documentDescription(_0x4f9007){const _0x13f721=a6_0xf633;return _0x4f9007['documentDescription']!==undefined?tag('description',_0x4f9007[_0x13f721(0xd2)]):'';}function name(_0x49551c,_0x52da62){const _0x453134=a6_0xf633;return _0x49551c[_0x52da62[_0x453134(0x11d)]]?tag(_0x453134(0x11d),encode(_0x49551c[_0x52da62[_0x453134(0x11d)]])):'';}function description(_0x594f55,_0xa66962){const _0x3f1cc5=a6_0xf633;return _0x594f55[_0xa66962[_0x3f1cc5(0xca)]]?tag('description',encode(_0x594f55[_0xa66962[_0x3f1cc5(0xca)]])):'';}function timestamp(_0x44370c,_0x567dcc){const _0x1524b0=a6_0xf633;return _0x44370c[_0x567dcc[_0x1524b0(0xf7)]]?tag(_0x1524b0(0xef),tag(_0x1524b0(0xf5),encode(_0x44370c[_0x567dcc[_0x1524b0(0xf7)]]))):'';}const geometry={'Point':function(_0x47a21c){const _0x4c2a65=a6_0xf633;return tag(_0x4c2a65(0x10b),tag(_0x4c2a65(0x120),_0x47a21c[_0x4c2a65(0x120)][_0x4c2a65(0xd9)](',')));},'LineString':function(_0x25c185){const _0x2374d6=a6_0xf633;return tag(_0x2374d6(0xf6),tag(_0x2374d6(0x120),linearring(_0x25c185[_0x2374d6(0x120)])));},'Polygon':function(_0x264d1f){const _0x4ee51e=a6_0xf633;if(!_0x264d1f[_0x4ee51e(0x120)][_0x4ee51e(0xfb)])return'';const _0x3a68d9=_0x264d1f[_0x4ee51e(0x120)][0x0],_0xb9239f=_0x264d1f[_0x4ee51e(0x120)][_0x4ee51e(0x123)](0x1),_0x3e643f=tag(_0x4ee51e(0xdd),tag(_0x4ee51e(0x122),tag(_0x4ee51e(0x120),linearring(_0x3a68d9)))),_0x3b6fb1=_0xb9239f[_0x4ee51e(0x119)](function(_0xfc570d){const _0x23cfea=_0x4ee51e;return tag('innerBoundaryIs',tag(_0x23cfea(0x122),tag(_0x23cfea(0x120),linearring(_0xfc570d))));})[_0x4ee51e(0xd9)]('');return tag(_0x4ee51e(0xd1),_0x3e643f+_0x3b6fb1);},'MultiPoint':function(_0x3b6ea7){const _0x454f3d=a6_0xf633;if(!_0x3b6ea7[_0x454f3d(0x120)]['length'])return'';return tag(_0x454f3d(0x103),_0x3b6ea7[_0x454f3d(0x120)][_0x454f3d(0x119)](function(_0x2cee09){const _0x540808=_0x454f3d;return geometry[_0x540808(0x10b)]({'coordinates':_0x2cee09});})['join'](''));},'MultiPolygon':function(_0x418c6b){const _0x281bb6=a6_0xf633;if(!_0x418c6b['coordinates'][_0x281bb6(0xfb)])return'';return tag('MultiGeometry',_0x418c6b[_0x281bb6(0x120)][_0x281bb6(0x119)](function(_0x45cc56){const _0x131b48=_0x281bb6;return geometry[_0x131b48(0xd1)]({'coordinates':_0x45cc56});})['join'](''));},'MultiLineString':function(_0x233f66){const _0x44835d=a6_0xf633;if(!_0x233f66[_0x44835d(0x120)][_0x44835d(0xfb)])return'';return tag(_0x44835d(0x103),_0x233f66[_0x44835d(0x120)]['map'](function(_0x51b7c5){const _0x1c8e23=_0x44835d;return geometry[_0x1c8e23(0xf6)]({'coordinates':_0x51b7c5});})[_0x44835d(0xd9)](''));},'GeometryCollection':function(_0x2cce63){const _0xfb6217=a6_0xf633;return tag(_0xfb6217(0x103),_0x2cce63[_0xfb6217(0x112)][_0xfb6217(0x119)](geometry[_0xfb6217(0x124)])[_0xfb6217(0xd9)](''));},'valid':function(_0x3983d8){const _0x4d8e0d=a6_0xf633;return _0x3983d8&&_0x3983d8[_0x4d8e0d(0x107)]&&(_0x3983d8[_0x4d8e0d(0x120)]||_0x3983d8['type']===_0x4d8e0d(0x110)&&_0x3983d8[_0x4d8e0d(0x112)]&&_0x3983d8[_0x4d8e0d(0x112)][_0x4d8e0d(0xcd)](geometry[_0x4d8e0d(0xf4)]));},'any':function(_0x4235ba){const _0x535cbb=a6_0xf633;return geometry[_0x4235ba['type']]?geometry[_0x4235ba[_0x535cbb(0x107)]](_0x4235ba):'';},'isPoint':function(_0x3687be){const _0x17247b=a6_0xf633;return _0x3687be['type']===_0x17247b(0x10b)||_0x3687be[_0x17247b(0x107)]===_0x17247b(0x116);},'isPolygon':function(_0x5516ce){const _0x5e71d0=a6_0xf633;return _0x5516ce['type']===_0x5e71d0(0xd1)||_0x5516ce[_0x5e71d0(0x107)]===_0x5e71d0(0x10d);},'isLine':function(_0x40d11d){const _0xc850a3=a6_0xf633;return _0x40d11d[_0xc850a3(0x107)]==='LineString'||_0x40d11d[_0xc850a3(0x107)]===_0xc850a3(0xd7);}};function linearring(_0x1f9784){const _0x1d2c52=a6_0xf633;return _0x1f9784[_0x1d2c52(0x119)](function(_0x1b30e7){const _0x1ffa5b=_0x1d2c52;return _0x1b30e7[_0x1ffa5b(0xd9)](',');})[_0x1d2c52(0xd9)]('\x20');}function extendeddata(_0x3ed17b){const _0x4b5daa=a6_0xf633,_0x2dfa38=[];for(const _0x165ad6 in _0x3ed17b){const _0x35e6db=_0x3ed17b[_0x165ad6];isObject(_0x35e6db)?_0x2dfa38[_0x4b5daa(0xc8)](_0x4b5daa(0xf8)+_0x165ad6+_0x4b5daa(0xfa)+JSON[_0x4b5daa(0x113)](_0x35e6db)+_0x4b5daa(0xcf)):_0x2dfa38['push'](_0x4b5daa(0xf8)+_0x165ad6+_0x4b5daa(0xfa)+_0x35e6db+_0x4b5daa(0xcf));}return tag('ExtendedData',_0x2dfa38['join'](''));}function data(_0x565252){const _0x46bb24=a6_0xf633;return tag(_0x46bb24(0xde),tag(_0x46bb24(0xf9),encode(_0x565252[0x1])),[[_0x46bb24(0x11d),encode(_0x565252[0x0])]]);}function hasMarkerStyle(_0x19def9){const _0x2c7be7=a6_0xf633;return!!(_0x19def9[_0x2c7be7(0xff)]||_0x19def9[_0x2c7be7(0xe4)]||_0x19def9[_0x2c7be7(0xe6)]);}function markerStyle(_0x4a52b6,_0x3a2302){const _0x590f33=a6_0xf633;return tag(_0x590f33(0xfc),tag(_0x590f33(0xc9),tag('Icon',tag(_0x590f33(0x114),iconUrl(_0x4a52b6))))+iconSize(_0x4a52b6),[['id',_0x3a2302]]);}function iconUrl(_0x72cd85){const _0x1ab833=a6_0xf633;return _0x72cd85[_0x1ab833(0xe4)];}function iconSize(_0xb32960){const _0x3b67d4=a6_0xf633;return tag('hotSpot','',[[_0x3b67d4(0xe5),_0x3b67d4(0xec)],[_0x3b67d4(0xfd),'fraction'],['x',0.5],['y',0.5]]);}function hasPolygonAndLineStyle(_0x5bcfc0){for(const _0x112c0e in _0x5bcfc0){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x112c0e])return!![];}}function polygonAndLineStyle(_0x184340,_0x4c5a65){const _0x2be95d=a6_0xf633,_0x11399d=tag(_0x2be95d(0xf2),[tag('color',hexToKmlColor(_0x184340['stroke'],_0x184340[_0x2be95d(0x118)])||_0x2be95d(0x117))+tag('width',_0x184340[_0x2be95d(0xed)]===undefined?0x2:_0x184340['stroke-width'])]);let _0xfe7437='';return(_0x184340[_0x2be95d(0x102)]||_0x184340[_0x2be95d(0xf1)])&&(_0xfe7437=tag(_0x2be95d(0x105),[tag(_0x2be95d(0xee),hexToKmlColor(_0x184340[_0x2be95d(0x102)],_0x184340['fill-opacity'])||_0x2be95d(0xcc))])),tag(_0x2be95d(0xfc),_0x11399d+_0xfe7437,[['id',_0x4c5a65]]);}function hashStyle(_0xa81f6f){const _0x219f99=a6_0xf633;let _0x571602='';return _0xa81f6f[_0x219f99(0xe4)]&&(_0x571602=_0x571602+'ms'+_0xa81f6f[_0x219f99(0xe4)]),_0xa81f6f[_0x219f99(0xe6)]&&(_0x571602=_0x571602+'mc'+_0xa81f6f[_0x219f99(0xe6)][_0x219f99(0x109)]('#','')),_0xa81f6f[_0x219f99(0xff)]&&(_0x571602=_0x571602+'ms'+_0xa81f6f[_0x219f99(0xff)]),_0xa81f6f[_0x219f99(0x106)]&&(_0x571602=_0x571602+'s'+_0xa81f6f[_0x219f99(0x106)][_0x219f99(0x109)]('#','')),_0xa81f6f[_0x219f99(0xed)]&&(_0x571602=_0x571602+'sw'+_0xa81f6f[_0x219f99(0xed)]['toString']()[_0x219f99(0x109)]('.','')),_0xa81f6f[_0x219f99(0x118)]&&(_0x571602=_0x571602+'mo'+_0xa81f6f[_0x219f99(0x118)][_0x219f99(0xe0)]()[_0x219f99(0x109)]('.','')),_0xa81f6f[_0x219f99(0x102)]&&(_0x571602=_0x571602+'f'+_0xa81f6f[_0x219f99(0x102)]['replace']('#','')),_0xa81f6f['fill-opacity']&&(_0x571602=_0x571602+'fo'+_0xa81f6f[_0x219f99(0xf1)][_0x219f99(0xe0)]()[_0x219f99(0x109)]('.','')),_0x571602;}function a6_0xf633(_0x545e66,_0x4f67c5){const _0x2e811d=a6_0x2e81();return a6_0xf633=function(_0xf63346,_0x1594d8){_0xf63346=_0xf63346-0xc6;let _0x26d40f=_0x2e811d[_0xf63346];return _0x26d40f;},a6_0xf633(_0x545e66,_0x4f67c5);}function hexToKmlColor(_0x2b52d7,_0x46421f){const _0xad5b63=a6_0xf633;if(typeof _0x2b52d7!==_0xad5b63(0x11f))return'';_0x2b52d7=_0x2b52d7[_0xad5b63(0x109)]('#','')[_0xad5b63(0xe9)]();if(_0x2b52d7['length']===0x3)_0x2b52d7=_0x2b52d7[0x0]+_0x2b52d7[0x0]+_0x2b52d7[0x1]+_0x2b52d7[0x1]+_0x2b52d7[0x2]+_0x2b52d7[0x2];else{if(_0x2b52d7[_0xad5b63(0xfb)]!==0x6)return'';}const _0x16fc31=_0x2b52d7[0x0]+_0x2b52d7[0x1],_0x4b299c=_0x2b52d7[0x2]+_0x2b52d7[0x3],_0x559f6e=_0x2b52d7[0x4]+_0x2b52d7[0x5];let _0x14ca3b='ff';return typeof _0x46421f===_0xad5b63(0xd4)&&_0x46421f>=0x0&&_0x46421f<=0x1&&(_0x14ca3b=(_0x46421f*0xff)[_0xad5b63(0xe0)](0x10),_0x14ca3b[_0xad5b63(0xc6)]('.')>-0x1&&(_0x14ca3b=_0x14ca3b[_0xad5b63(0xc7)](0x0,_0x14ca3b['indexOf']('.'))),_0x14ca3b[_0xad5b63(0xfb)]<0x2&&(_0x14ca3b='0'+_0x14ca3b)),_0x14ca3b+_0x559f6e+_0x4b299c+_0x16fc31;}export function isObject(_0x4bcddf){const _0x5cb39b=a6_0xf633;return Object[_0x5cb39b(0x101)]['toString'][_0x5cb39b(0xd5)](_0x4bcddf)===_0x5cb39b(0xe3);}function encode(_0xf114ff){const _0x4fffec=a6_0xf633;if(!_0xf114ff)return'';return _0xf114ff[_0x4fffec(0xe0)]()[_0x4fffec(0x109)](/&/g,_0x4fffec(0x126))['replace'](/</g,_0x4fffec(0x11c))[_0x4fffec(0x109)](/>/g,_0x4fffec(0xe8))[_0x4fffec(0x109)](/"/g,_0x4fffec(0xf0));}function attr(_0x2bd31d){const _0xc78854=a6_0xf633;if(!Object[_0xc78854(0x11b)](_0x2bd31d)[_0xc78854(0xfb)])return'';return'\x20'+Object[_0xc78854(0x11b)](_0x2bd31d)['map'](function(_0x4e0f7c){return _0x4e0f7c+'=\x22'+escape(_0x2bd31d[_0x4e0f7c])+'\x22';})['join']('\x20');}function a6_0x2e81(){const _0x377733=['</value></Data>','isPolygon','Polygon','documentDescription','3399MlTWws','number','call','156uAceaO','MultiLineString','features','join','styleUrl','52112BHNXVy','isLine','outerBoundaryIs','Data','343609SeLhMV','toString','1313ypHaRY','Placemark','[object\x20Object]','marker-symbol','xunits','marker-color','FeatureCollection','&gt;','toLowerCase','9410hOioaB','Feature','fraction','stroke-width','color','TimeStamp','&quot;','fill-opacity','LineStyle','geometry','valid','when','LineString','timestamp','<Data\x20name\x20=\x22','value','\x22><value>','length','Style','yunits','14xVNvBs','marker-size','8254808jhKprx','prototype','fill','MultiGeometry','48JMVhno','PolyStyle','stroke','type','properties','replace','isPoint','Point','Document','MultiPolygon','http://www.opengis.net/kml/2.2','simplestyle','GeometryCollection','([&\x22<>\x27])','geometries','stringify','href','233868ywuttv','MultiPoint','ff555555','stroke-opacity','map','documentName','keys','&lt;','name','171582PmVRCO','string','coordinates','&apos;','LinearRing','slice','any','9rXrwLK','&amp;','indexOf','substr','push','IconStyle','description','869705JZfnrp','88555555','every','isArray'];a6_0x2e81=function(){return _0x377733;};return a6_0x2e81();}const escape_map={'>':a6_0x2a4cb1(0xe8),'<':'&lt;','\x27':a6_0x2a4cb1(0x121),'\x22':a6_0x2a4cb1(0xf0),'&':a6_0x2a4cb1(0x126)};function escape(_0x4c1da7,_0xf78482){const _0x13dd4a=a6_0x2a4cb1;if(_0x4c1da7===null||_0x4c1da7===undefined)return;_0xf78482=(_0xf78482||'')[_0x13dd4a(0x109)](/[^&"<>\']/g,'');const _0x5d1346=_0x13dd4a(0x111)[_0x13dd4a(0x109)](new RegExp('['+_0xf78482+']','g'),'');return _0x4c1da7[_0x13dd4a(0x109)](new RegExp(_0x5d1346,'g'),function(_0x3a0f0d,_0x5e20d1){return escape_map[_0x5e20d1];});}function tag(_0x478eb0,_0x6215e6,_0x489982){const _0x49c969=a6_0x2a4cb1;return(Array[_0x49c969(0xce)](_0x6215e6)||typeof _0x6215e6===_0x49c969(0x11f))&&(_0x489982=_0x6215e6,_0x6215e6={}),Array[_0x49c969(0xce)](_0x489982)&&(_0x489982='\x0a'+_0x489982[_0x49c969(0x119)](function(_0x4b4050){return'\x20\x20'+_0x4b4050;})[_0x49c969(0xd9)]('\x0a')+'\x0a'),'<'+_0x478eb0+attr(_0x6215e6)+'>'+_0x489982+'</'+_0x478eb0+'>';}
1
+ const a6_0x3d92f3=a6_0x20c9;(function(_0x49c71b,_0x4fc230){const _0x59aae5=a6_0x20c9,_0x118223=_0x49c71b();while(!![]){try{const _0x465429=parseInt(_0x59aae5(0x11a))/0x1+parseInt(_0x59aae5(0x137))/0x2+-parseInt(_0x59aae5(0x119))/0x3*(-parseInt(_0x59aae5(0x11d))/0x4)+parseInt(_0x59aae5(0x125))/0x5*(parseInt(_0x59aae5(0x155))/0x6)+parseInt(_0x59aae5(0x105))/0x7*(parseInt(_0x59aae5(0x148))/0x8)+parseInt(_0x59aae5(0x138))/0x9*(-parseInt(_0x59aae5(0x103))/0xa)+-parseInt(_0x59aae5(0x120))/0xb;if(_0x465429===_0x4fc230)break;else _0x118223['push'](_0x118223['shift']());}catch(_0x2a74cf){_0x118223['push'](_0x118223['shift']());}}}(a6_0x2dcf,0xc308e));export function geoJSONToKml(_0x3d6b34,_0x35fee4){const _0x2687c7=a6_0x20c9;return _0x35fee4=_0x35fee4||{'documentName':undefined,'documentDescription':undefined,'name':_0x2687c7(0x113),'description':'description','simplestyle':![],'timestamp':'timestamp'},_0x2687c7(0x150)+tag(_0x2687c7(0x106),tag(_0x2687c7(0x14c),documentName(_0x35fee4)+documentDescription(_0x35fee4)+root(_0x3d6b34,_0x35fee4)),[[_0x2687c7(0x11b),_0x2687c7(0x14e)]]);}function feature(_0x502b8f,_0x48f878){return function(_0x3c9fae){const _0x3e1ca5=a6_0x20c9;if(!_0x3c9fae[_0x3e1ca5(0x115)]||!geometry['valid'](_0x3c9fae[_0x3e1ca5(0x121)]))return'';const _0x1a246b=geometry[_0x3e1ca5(0x11c)](_0x3c9fae[_0x3e1ca5(0x121)]);if(!_0x1a246b)return'';let _0x5a67f1='',_0x4ce564='';if(_0x502b8f[_0x3e1ca5(0x128)]){const _0x3c57c9=hashStyle(_0x3c9fae[_0x3e1ca5(0x115)]);if(_0x3c57c9){if(geometry[_0x3e1ca5(0x135)](_0x3c9fae[_0x3e1ca5(0x121)])&&hasMarkerStyle(_0x3c9fae[_0x3e1ca5(0x115)]))_0x48f878[_0x3e1ca5(0xfb)](_0x3c57c9)===-0x1&&(_0x5a67f1=markerStyle(_0x3c9fae[_0x3e1ca5(0x115)],_0x3c57c9),_0x48f878[_0x3e1ca5(0x143)](_0x3c57c9)),_0x4ce564=tag(_0x3e1ca5(0x12f),'#'+_0x3c57c9);else(geometry[_0x3e1ca5(0x10b)](_0x3c9fae['geometry'])||geometry[_0x3e1ca5(0x131)](_0x3c9fae['geometry']))&&hasPolygonAndLineStyle(_0x3c9fae[_0x3e1ca5(0x115)])&&(_0x48f878[_0x3e1ca5(0xfb)](_0x3c57c9)===-0x1&&(_0x5a67f1=polygonAndLineStyle(_0x3c9fae[_0x3e1ca5(0x115)],_0x3c57c9),_0x48f878[_0x3e1ca5(0x143)](_0x3c57c9)),_0x4ce564=tag(_0x3e1ca5(0x12f),'#'+_0x3c57c9));}}return _0x5a67f1+tag(_0x3e1ca5(0x10e),name(_0x3c9fae['properties'],_0x502b8f)+description(_0x3c9fae['properties'],_0x502b8f)+extendeddata(_0x3c9fae['properties'])+timestamp(_0x3c9fae['properties'],_0x502b8f)+_0x1a246b+_0x4ce564);};}function root(_0x4d174e,_0x4e5b4e){const _0x26b1c0=a6_0x20c9;if(!_0x4d174e[_0x26b1c0(0x123)])return'';const _0x1833de=[];switch(_0x4d174e['type']){case _0x26b1c0(0x118):if(!_0x4d174e[_0x26b1c0(0x136)])return'';return _0x4d174e[_0x26b1c0(0x136)][_0x26b1c0(0x101)](feature(_0x4e5b4e,_0x1833de))[_0x26b1c0(0x12b)]('');case _0x26b1c0(0x13a):return feature(_0x4e5b4e,_0x1833de)(_0x4d174e);default:return feature(_0x4e5b4e,_0x1833de)({'type':_0x26b1c0(0x13a),'geometry':_0x4d174e,'properties':{}});}}function documentName(_0x2b4ea0){const _0xcef8a2=a6_0x20c9;return _0x2b4ea0[_0xcef8a2(0x152)]!==undefined?tag(_0xcef8a2(0x113),_0x2b4ea0[_0xcef8a2(0x152)]):'';}function documentDescription(_0x43f77b){const _0xf4e3f9=a6_0x20c9;return _0x43f77b[_0xf4e3f9(0x12c)]!==undefined?tag(_0xf4e3f9(0x124),_0x43f77b[_0xf4e3f9(0x12c)]):'';}function name(_0x4f118e,_0x518711){const _0x35e576=a6_0x20c9;return _0x4f118e[_0x518711[_0x35e576(0x113)]]?tag('name',encode(_0x4f118e[_0x518711[_0x35e576(0x113)]])):'';}function description(_0x2eb2e1,_0x406f3f){const _0x16ee66=a6_0x20c9;return _0x2eb2e1[_0x406f3f[_0x16ee66(0x124)]]?tag(_0x16ee66(0x124),encode(_0x2eb2e1[_0x406f3f['description']])):'';}function timestamp(_0x2d62cb,_0xe91395){const _0x34165c=a6_0x20c9;return _0x2d62cb[_0xe91395['timestamp']]?tag('TimeStamp',tag(_0x34165c(0x14f),encode(_0x2d62cb[_0xe91395[_0x34165c(0x116)]]))):'';}const geometry={'Point':function(_0x2a6b67){const _0xbd2e28=a6_0x20c9;return tag(_0xbd2e28(0x12e),tag(_0xbd2e28(0xfd),_0x2a6b67['coordinates'][_0xbd2e28(0x12b)](',')));},'LineString':function(_0x3872c1){const _0x541453=a6_0x20c9;return tag(_0x541453(0x10c),tag(_0x541453(0xfd),linearring(_0x3872c1[_0x541453(0xfd)])));},'Polygon':function(_0x5ccfe4){const _0x12ed75=a6_0x20c9;if(!_0x5ccfe4[_0x12ed75(0xfd)]['length'])return'';const _0x5dfcc3=_0x5ccfe4[_0x12ed75(0xfd)][0x0],_0x17aadd=_0x5ccfe4[_0x12ed75(0xfd)][_0x12ed75(0x13b)](0x1),_0x41a606=tag('outerBoundaryIs',tag(_0x12ed75(0x134),tag(_0x12ed75(0xfd),linearring(_0x5dfcc3)))),_0x437142=_0x17aadd['map'](function(_0x5e35b4){return tag('innerBoundaryIs',tag('LinearRing',tag('coordinates',linearring(_0x5e35b4))));})['join']('');return tag('Polygon',_0x41a606+_0x437142);},'MultiPoint':function(_0x588ef4){const _0x137c3d=a6_0x20c9;if(!_0x588ef4[_0x137c3d(0xfd)]['length'])return'';return tag('MultiGeometry',_0x588ef4[_0x137c3d(0xfd)][_0x137c3d(0x101)](function(_0x129b95){const _0x46b60b=_0x137c3d;return geometry[_0x46b60b(0x12e)]({'coordinates':_0x129b95});})['join'](''));},'MultiPolygon':function(_0x5c0453){const _0x56d104=a6_0x20c9;if(!_0x5c0453[_0x56d104(0xfd)]['length'])return'';return tag(_0x56d104(0x122),_0x5c0453[_0x56d104(0xfd)][_0x56d104(0x101)](function(_0x44e984){const _0x22c644=_0x56d104;return geometry[_0x22c644(0xfa)]({'coordinates':_0x44e984});})[_0x56d104(0x12b)](''));},'MultiLineString':function(_0x36cb18){const _0x368cf3=a6_0x20c9;if(!_0x36cb18['coordinates']['length'])return'';return tag(_0x368cf3(0x122),_0x36cb18['coordinates'][_0x368cf3(0x101)](function(_0x2e2d90){const _0x381b12=_0x368cf3;return geometry[_0x381b12(0x10c)]({'coordinates':_0x2e2d90});})[_0x368cf3(0x12b)](''));},'GeometryCollection':function(_0x1ab470){const _0x22db3d=a6_0x20c9;return tag(_0x22db3d(0x122),_0x1ab470[_0x22db3d(0x139)][_0x22db3d(0x101)](geometry['any'])['join'](''));},'valid':function(_0x2295e2){const _0x27c893=a6_0x20c9;return _0x2295e2&&_0x2295e2[_0x27c893(0x123)]&&(_0x2295e2[_0x27c893(0xfd)]||_0x2295e2[_0x27c893(0x123)]===_0x27c893(0x11f)&&_0x2295e2[_0x27c893(0x139)]&&_0x2295e2[_0x27c893(0x139)][_0x27c893(0x141)](geometry[_0x27c893(0x109)]));},'any':function(_0x1c3718){const _0x4b7f8f=a6_0x20c9;return geometry[_0x1c3718[_0x4b7f8f(0x123)]]?geometry[_0x1c3718[_0x4b7f8f(0x123)]](_0x1c3718):'';},'isPoint':function(_0x53402b){const _0x206694=a6_0x20c9;return _0x53402b[_0x206694(0x123)]===_0x206694(0x12e)||_0x53402b['type']===_0x206694(0x151);},'isPolygon':function(_0x545521){const _0x339a8c=a6_0x20c9;return _0x545521[_0x339a8c(0x123)]===_0x339a8c(0xfa)||_0x545521[_0x339a8c(0x123)]===_0x339a8c(0x104);},'isLine':function(_0x5ebc6b){const _0x506625=a6_0x20c9;return _0x5ebc6b[_0x506625(0x123)]===_0x506625(0x10c)||_0x5ebc6b[_0x506625(0x123)]==='MultiLineString';}};function linearring(_0x2cf01d){const _0x572cd3=a6_0x20c9;return _0x2cf01d[_0x572cd3(0x101)](function(_0x301310){const _0x1e8b80=_0x572cd3;return _0x301310[_0x1e8b80(0x12b)](',');})[_0x572cd3(0x12b)]('\x20');}function extendeddata(_0x4c91bc){const _0x2338a2=a6_0x20c9,_0x439c6f=[];for(const _0x1affc3 in _0x4c91bc){const _0x3c1806=_0x4c91bc[_0x1affc3];isObject(_0x3c1806)?_0x439c6f[_0x2338a2(0x143)](_0x2338a2(0x13f)+_0x1affc3+_0x2338a2(0x156)+JSON['stringify'](_0x3c1806)+_0x2338a2(0xf8)):_0x439c6f['push'](_0x2338a2(0x13f)+_0x1affc3+_0x2338a2(0x156)+_0x3c1806+_0x2338a2(0xf8));}return tag(_0x2338a2(0x12a),_0x439c6f[_0x2338a2(0x12b)](''));}function data(_0x3b11da){const _0x391d9e=a6_0x20c9;return tag(_0x391d9e(0x108),tag(_0x391d9e(0x146),encode(_0x3b11da[0x1])),[[_0x391d9e(0x113),encode(_0x3b11da[0x0])]]);}function hasMarkerStyle(_0x1bdc7b){const _0x31af96=a6_0x20c9;return!!(_0x1bdc7b['marker-size']||_0x1bdc7b['marker-symbol']||_0x1bdc7b[_0x31af96(0x11e)]);}function markerStyle(_0x22b965,_0x1c83a7){const _0x2c6aeb=a6_0x20c9;return tag(_0x2c6aeb(0x130),tag(_0x2c6aeb(0x140),tag(_0x2c6aeb(0x127),tag(_0x2c6aeb(0x10a),iconUrl(_0x22b965))))+iconSize(_0x22b965),[['id',_0x1c83a7]]);}function iconUrl(_0x39b6ca){const _0x26f97c=a6_0x20c9;return _0x39b6ca[_0x26f97c(0x102)];}function iconSize(_0x167f9e){const _0x852e7b=a6_0x20c9;return tag('hotSpot','',[['xunits',_0x852e7b(0x12d)],[_0x852e7b(0x142),_0x852e7b(0x12d)],['x',0.5],['y',0.5]]);}function a6_0x2dcf(){const _0x818f81=['Polygon','indexOf','call','coordinates','&quot;','keys','stroke','map','marker-symbol','20gOMDWg','MultiPolygon','42IVNWep','kml','color','Data','valid','href','isPolygon','LineString','PolyStyle','Placemark','&lt;','LineStyle','isArray','&amp;','name','ff555555','properties','timestamp','replace','FeatureCollection','231717hUMUwk','197188QnjrPo','xmlns','any','36jnbplV','marker-color','GeometryCollection','17859303JFuxqo','geometry','MultiGeometry','type','description','235EncURe','length','Icon','simplestyle','stroke-width','ExtendedData','join','documentDescription','fraction','Point','styleUrl','Style','isLine','[object\x20Object]','prototype','LinearRing','isPoint','features','2636870cghFCI','4491657FwqlvP','geometries','Feature','slice','marker-size','&apos;','string','<Data\x20name\x20=\x22','IconStyle','every','yunits','push','toLowerCase','88555555','value','substr','219056SMLkYF','fill','fill-opacity','([&\x22<>\x27])','Document','&gt;','http://www.opengis.net/kml/2.2','when','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>','MultiPoint','documentName','toString','stroke-opacity','133470ehBoBG','\x22><value>','</value></Data>','width'];a6_0x2dcf=function(){return _0x818f81;};return a6_0x2dcf();}function hasPolygonAndLineStyle(_0x469554){for(const _0x3d0a1e in _0x469554){if({'stroke':!![],'stroke-opacity':!![],'stroke-width':!![],'fill':!![],'fill-opacity':!![]}[_0x3d0a1e])return!![];}}function polygonAndLineStyle(_0x18c9c2,_0x497bd9){const _0x2e6514=a6_0x20c9,_0x16d18c=tag(_0x2e6514(0x110),[tag(_0x2e6514(0x107),hexToKmlColor(_0x18c9c2[_0x2e6514(0x100)],_0x18c9c2[_0x2e6514(0x154)])||_0x2e6514(0x114))+tag(_0x2e6514(0xf9),_0x18c9c2['stroke-width']===undefined?0x2:_0x18c9c2[_0x2e6514(0x129)])]);let _0x135c37='';return(_0x18c9c2[_0x2e6514(0x149)]||_0x18c9c2[_0x2e6514(0x14a)])&&(_0x135c37=tag(_0x2e6514(0x10d),[tag(_0x2e6514(0x107),hexToKmlColor(_0x18c9c2[_0x2e6514(0x149)],_0x18c9c2['fill-opacity'])||_0x2e6514(0x145))])),tag(_0x2e6514(0x130),_0x16d18c+_0x135c37,[['id',_0x497bd9]]);}function hashStyle(_0x7a1c67){const _0x113252=a6_0x20c9;let _0xeaf6a8='';return _0x7a1c67[_0x113252(0x102)]&&(_0xeaf6a8=_0xeaf6a8+'ms'+_0x7a1c67[_0x113252(0x102)]),_0x7a1c67['marker-color']&&(_0xeaf6a8=_0xeaf6a8+'mc'+_0x7a1c67['marker-color'][_0x113252(0x117)]('#','')),_0x7a1c67[_0x113252(0x13c)]&&(_0xeaf6a8=_0xeaf6a8+'ms'+_0x7a1c67[_0x113252(0x13c)]),_0x7a1c67[_0x113252(0x100)]&&(_0xeaf6a8=_0xeaf6a8+'s'+_0x7a1c67[_0x113252(0x100)]['replace']('#','')),_0x7a1c67['stroke-width']&&(_0xeaf6a8=_0xeaf6a8+'sw'+_0x7a1c67[_0x113252(0x129)]['toString']()[_0x113252(0x117)]('.','')),_0x7a1c67[_0x113252(0x154)]&&(_0xeaf6a8=_0xeaf6a8+'mo'+_0x7a1c67[_0x113252(0x154)]['toString']()['replace']('.','')),_0x7a1c67[_0x113252(0x149)]&&(_0xeaf6a8=_0xeaf6a8+'f'+_0x7a1c67[_0x113252(0x149)][_0x113252(0x117)]('#','')),_0x7a1c67['fill-opacity']&&(_0xeaf6a8=_0xeaf6a8+'fo'+_0x7a1c67['fill-opacity'][_0x113252(0x153)]()[_0x113252(0x117)]('.','')),_0xeaf6a8;}function hexToKmlColor(_0x4dbf6a,_0x4f2653){const _0x57807e=a6_0x20c9;if(typeof _0x4dbf6a!==_0x57807e(0x13e))return'';_0x4dbf6a=_0x4dbf6a[_0x57807e(0x117)]('#','')[_0x57807e(0x144)]();if(_0x4dbf6a[_0x57807e(0x126)]===0x3)_0x4dbf6a=_0x4dbf6a[0x0]+_0x4dbf6a[0x0]+_0x4dbf6a[0x1]+_0x4dbf6a[0x1]+_0x4dbf6a[0x2]+_0x4dbf6a[0x2];else{if(_0x4dbf6a['length']!==0x6)return'';}const _0x1501f9=_0x4dbf6a[0x0]+_0x4dbf6a[0x1],_0x242a98=_0x4dbf6a[0x2]+_0x4dbf6a[0x3],_0x347177=_0x4dbf6a[0x4]+_0x4dbf6a[0x5];let _0x34190c='ff';return typeof _0x4f2653==='number'&&_0x4f2653>=0x0&&_0x4f2653<=0x1&&(_0x34190c=(_0x4f2653*0xff)[_0x57807e(0x153)](0x10),_0x34190c[_0x57807e(0xfb)]('.')>-0x1&&(_0x34190c=_0x34190c[_0x57807e(0x147)](0x0,_0x34190c[_0x57807e(0xfb)]('.'))),_0x34190c['length']<0x2&&(_0x34190c='0'+_0x34190c)),_0x34190c+_0x347177+_0x242a98+_0x1501f9;}export function isObject(_0x286ef2){const _0x29114a=a6_0x20c9;return Object[_0x29114a(0x133)][_0x29114a(0x153)][_0x29114a(0xfc)](_0x286ef2)===_0x29114a(0x132);}function encode(_0x33234c){const _0x275e7b=a6_0x20c9;if(!_0x33234c)return'';return _0x33234c[_0x275e7b(0x153)]()[_0x275e7b(0x117)](/&/g,_0x275e7b(0x112))[_0x275e7b(0x117)](/</g,_0x275e7b(0x10f))[_0x275e7b(0x117)](/>/g,_0x275e7b(0x14d))['replace'](/"/g,_0x275e7b(0xfe));}function attr(_0x1d9d03){const _0x43e878=a6_0x20c9;if(!Object[_0x43e878(0xff)](_0x1d9d03)['length'])return'';return'\x20'+Object[_0x43e878(0xff)](_0x1d9d03)[_0x43e878(0x101)](function(_0x15ead2){return _0x15ead2+'=\x22'+escape(_0x1d9d03[_0x15ead2])+'\x22';})[_0x43e878(0x12b)]('\x20');}const escape_map={'>':a6_0x3d92f3(0x14d),'<':a6_0x3d92f3(0x10f),'\x27':a6_0x3d92f3(0x13d),'\x22':a6_0x3d92f3(0xfe),'&':'&amp;'};function escape(_0x5735e3,_0x1b171b){const _0x1a95a8=a6_0x3d92f3;if(_0x5735e3===null||_0x5735e3===undefined)return;_0x1b171b=(_0x1b171b||'')[_0x1a95a8(0x117)](/[^&"<>\']/g,'');const _0x23b935=_0x1a95a8(0x14b)[_0x1a95a8(0x117)](new RegExp('['+_0x1b171b+']','g'),'');return _0x5735e3[_0x1a95a8(0x117)](new RegExp(_0x23b935,'g'),function(_0x14bf5e,_0x5e4b6d){return escape_map[_0x5e4b6d];});}function a6_0x20c9(_0x2e13c7,_0x1cf6cd){const _0x2dcf74=a6_0x2dcf();return a6_0x20c9=function(_0x20c9f3,_0x11bb52){_0x20c9f3=_0x20c9f3-0xf8;let _0x2da2b7=_0x2dcf74[_0x20c9f3];return _0x2da2b7;},a6_0x20c9(_0x2e13c7,_0x1cf6cd);}function tag(_0x9acd3d,_0x51a51a,_0x68b1da){const _0x2f7f18=a6_0x3d92f3;return(Array['isArray'](_0x51a51a)||typeof _0x51a51a==='string')&&(_0x68b1da=_0x51a51a,_0x51a51a={}),Array[_0x2f7f18(0x111)](_0x68b1da)&&(_0x68b1da='\x0a'+_0x68b1da[_0x2f7f18(0x101)](function(_0x3a78d7){return'\x20\x20'+_0x3a78d7;})[_0x2f7f18(0x12b)]('\x0a')+'\x0a'),'<'+_0x9acd3d+attr(_0x51a51a)+'>'+_0x68b1da+'</'+_0x9acd3d+'>';}
@@ -1 +1 @@
1
- const a7_0x590a2b=a7_0x17de;(function(_0x479043,_0x42fd98){const _0x3b9b80=a7_0x17de,_0x7ba274=_0x479043();while(!![]){try{const _0x1a989e=-parseInt(_0x3b9b80(0xf1))/0x1*(parseInt(_0x3b9b80(0x100))/0x2)+parseInt(_0x3b9b80(0xe1))/0x3*(parseInt(_0x3b9b80(0xf3))/0x4)+-parseInt(_0x3b9b80(0x111))/0x5+parseInt(_0x3b9b80(0xf9))/0x6+-parseInt(_0x3b9b80(0xe9))/0x7*(-parseInt(_0x3b9b80(0xdf))/0x8)+-parseInt(_0x3b9b80(0x103))/0x9*(-parseInt(_0x3b9b80(0xe3))/0xa)+-parseInt(_0x3b9b80(0x108))/0xb;if(_0x1a989e===_0x42fd98)break;else _0x7ba274['push'](_0x7ba274['shift']());}catch(_0x1006ab){_0x7ba274['push'](_0x7ba274['shift']());}}}(a7_0x612f,0x43180));function a7_0x17de(_0x5b4e45,_0xfc99fb){const _0x612f78=a7_0x612f();return a7_0x17de=function(_0x17de6a,_0x56d0e2){_0x17de6a=_0x17de6a-0xdb;let _0x326caf=_0x612f78[_0x17de6a];return _0x326caf;},a7_0x17de(_0x5b4e45,_0xfc99fb);}import a7_0x343a6b from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0x1721cb,_0x5eab3c){const _0x237bb2=a7_0x17de;return _0x1721cb[_0x237bb2(0xe7)]?_0x1721cb[_0x237bb2(0xe7)][_0x237bb2(0x102)](_0x315726=>{updateFeatureByStyle(_0x315726);}):updateFeatureByStyle(_0x1721cb),geoJSONToKml(_0x1721cb,_0x5eab3c);}function updateFeatureByStyle(_0xab3c48){const _0x3fead6=a7_0x17de;var _0x573385,_0x47a85e,_0x8b327c,_0x1e4f5a,_0x10e943,_0x4ea375;if(!_0xab3c48[_0x3fead6(0x106)])return;const _0x39f6df=_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0xf0)];if(_0x39f6df){if(_0x39f6df[_0x3fead6(0x10c)]){_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0x104)]=_0x39f6df[_0x3fead6(0x10c)];_0x39f6df[_0x3fead6(0xe5)]&&(_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0xef)]=_0x39f6df[_0x3fead6(0xe5)]);return;}_0x39f6df[_0x3fead6(0x10d)]&&(_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0xfb)]=_0x39f6df[_0x3fead6(0x10d)],_0x39f6df['opacity']&&(_0xab3c48[_0x3fead6(0x106)]['fill-opacity']=_0x39f6df['opacity'])),_0x39f6df[_0x3fead6(0xe5)]&&(_0xab3c48['properties'][_0x3fead6(0x109)]=_0x39f6df[_0x3fead6(0xe5)],_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0xdc)]=(_0x573385=_0x39f6df['outlineWidth'])!==null&&_0x573385!==void 0x0?_0x573385:0x1,_0xab3c48[_0x3fead6(0x106)][_0x3fead6(0x110)]=(_0x8b327c=(_0x47a85e=_0x39f6df[_0x3fead6(0x112)])!==null&&_0x47a85e!==void 0x0?_0x47a85e:_0x39f6df[_0x3fead6(0xff)])!==null&&_0x8b327c!==void 0x0?_0x8b327c:0x1),_0x39f6df[_0x3fead6(0x101)]&&(_0x39f6df[_0x3fead6(0x101)]=HTMLEncode(_0x39f6df[_0x3fead6(0x101)])),_0x39f6df[_0x3fead6(0xe0)]&&((_0x10e943=(_0x1e4f5a=_0xab3c48[_0x3fead6(0xfe)])===null||_0x1e4f5a===void 0x0?void 0x0:_0x1e4f5a[_0x3fead6(0xe8)])===null||_0x10e943===void 0x0?void 0x0:_0x10e943[_0x3fead6(0xf7)])>0x0&&_0xab3c48[_0x3fead6(0xfe)][_0x3fead6(0xe8)][_0x3fead6(0x10a)](_0xab3c48[_0x3fead6(0xfe)][_0x3fead6(0xe8)][0x0]);}const _0x355fd1=(_0x4ea375=_0xab3c48===null||_0xab3c48===void 0x0?void 0x0:_0xab3c48['properties'])===null||_0x4ea375===void 0x0?void 0x0:_0x4ea375[_0x3fead6(0xdb)];if(_0x355fd1===_0x3fead6(0xec)){const _0xa3032f=_0xab3c48[_0x3fead6(0xfe)]['coordinates'][0x0];(_0xa3032f===null||_0xa3032f===void 0x0?void 0x0:_0xa3032f[_0x3fead6(0xf7)])>0x2&&_0xa3032f[_0x3fead6(0x10a)](_0xa3032f[0x0]);}else{if(_0x355fd1===_0x3fead6(0x107)){const _0x1d417c=_0xab3c48[_0x3fead6(0xfe)][_0x3fead6(0xe8)],_0x2a58b6=_0x1d417c[0x0][0x0],_0x2a3975=_0x1d417c[0x1][0x0],_0x371de4=_0x1d417c[0x0][0x1],_0xaa9d98=_0x1d417c[0x1][0x1];_0xab3c48[_0x3fead6(0xfe)]={'type':_0x3fead6(0xfc),'coordinates':[[[_0x2a58b6,_0xaa9d98],[_0x2a58b6,_0x371de4],[_0x2a3975,_0x371de4],[_0x2a3975,_0xaa9d98],[_0x2a58b6,_0xaa9d98]]]};}}}const getDom=_0x4b7921=>new DOMParser()[a7_0x590a2b(0xe6)](_0x4b7921,'application/xml'),getExtension=_0x41eacc=>_0x41eacc[a7_0x590a2b(0xf8)]('.')['pop'](),getKmlDom=_0x70cf9c=>{const _0x40c514=a7_0x590a2b,_0x18486a=new a7_0x343a6b();return _0x18486a['loadAsync'](_0x70cf9c)[_0x40c514(0xe2)](_0xaf7d97=>{let _0x47a2f6=null;return _0xaf7d97['forEach']((_0x4e0a15,_0xa34e5)=>{const _0x3eb46c=a7_0x17de;getExtension(_0x4e0a15)===_0x3eb46c(0xf2)&&_0x47a2f6===null&&(_0x47a2f6=_0xa34e5[_0x3eb46c(0xf4)](_0x3eb46c(0xf5))[_0x3eb46c(0xe2)](getDom));}),_0x47a2f6;});};export function toGeoJSON(_0x37cc0c,_0x4d77c8){const _0x527802=a7_0x590a2b;if(!_0x37cc0c){console['warn'](_0x527802(0xeb));return;}if(isString(_0x37cc0c)){const _0x13f44c=getExtension(_0x37cc0c);if(_0x13f44c==='kml')return fetchXML(_0x37cc0c,_0x4d77c8)['then'](function(_0x5b9928){return kmlToGeoJSON(_0x5b9928);});else{if(_0x13f44c==='kmz')return fetchBlob(_0x37cc0c,_0x4d77c8)['then'](function(_0x204a4f){return getKmlDom(_0x204a4f);})[_0x527802(0xe2)](function(_0x211da2){return kmlToGeoJSON(_0x211da2);});else{const _0x2abe2d=kmlToGeoJSON(getDom(_0x37cc0c));return Promise[_0x527802(0xea)](_0x2abe2d);}}}else{if(_0x37cc0c[_0x527802(0xed)]){const _0x3306e5=kmlToGeoJSON(_0x37cc0c);return Promise[_0x527802(0xea)](_0x3306e5);}else{const _0x4c561f=_0x37cc0c[_0x527802(0xdd)][_0x527802(0xf8)]('.')[_0x37cc0c[_0x527802(0xdd)]['split']('.')[_0x527802(0xf7)]-0x1][_0x527802(0xfd)]();return _0x4c561f===_0x527802(0xf2)?_0x37cc0c[_0x527802(0x10b)]()[_0x527802(0xe2)](_0x3918af=>{return kmlToGeoJSON(getDom(_0x3918af));}):getKmlDom(_0x37cc0c)[_0x527802(0xe2)](function(_0x16abdf){return kmlToGeoJSON(_0x16abdf);});}}}function a7_0x612f(){const _0x5cf914=['toGeoJSON参数不能为空','polygon','getRootNode','assign','marker-color','style','3046RvbARU','kml','4972tpxCji','async','string','application/xml','length','split','908268yPPKYQ','innerText','fill','Polygon','toLowerCase','geometry','opacity','258KPkDlm','html','forEach','42561tOnrMJ','marker-symbol','GET','properties','rectangle','2575375eouWwn','stroke','push','text','image','color','textContent','innerHTML','stroke-opacity','1435065zSqCKe','outlineOpacity','type','stroke-width','name','div','8iMDVZC','closure','1245NCgFFa','then','680kMJLyS','constructor','outlineColor','parseFromString','features','coordinates','1400651ZFOHcp','resolve'];a7_0x612f=function(){return _0x5cf914;};return a7_0x612f();}function isString(_0x36eaec){const _0x4c7b65=a7_0x590a2b;return typeof _0x36eaec===_0x4c7b65(0xf5)&&_0x36eaec[_0x4c7b65(0xe4)]===String;}function HTMLEncode(_0x200c31){const _0x9973c8=a7_0x590a2b,_0x5282cf=document['createElement'](_0x9973c8(0xde));_0x5282cf[_0x9973c8(0x10e)]!=null?_0x5282cf[_0x9973c8(0x10e)]=_0x200c31:_0x5282cf[_0x9973c8(0xfa)]=_0x200c31;const _0x56a4e9=_0x5282cf[_0x9973c8(0x10f)];return _0x56a4e9;}function fetchXML(_0x59355e,_0x134337){const _0x46b6c5=a7_0x590a2b,_0x6ff461=Object['assign']({'method':_0x46b6c5(0x105),'headers':{'Content-Type':_0x46b6c5(0xf6)}},_0x134337);return fetch(_0x59355e,_0x6ff461)[_0x46b6c5(0xe2)](_0x51f6a2=>{const _0x10bfd1=_0x46b6c5;return _0x51f6a2[_0x10bfd1(0x10b)]();})[_0x46b6c5(0xe2)](_0x2839a3=>{return getDom(_0x2839a3);});}function fetchBlob(_0x25f938,_0x923234){const _0x1087bc=a7_0x590a2b,_0x527a8a=Object[_0x1087bc(0xee)]({'method':_0x1087bc(0x105)},_0x923234);return fetch(_0x25f938,_0x527a8a)[_0x1087bc(0xe2)](_0x376237=>{return _0x376237['blob']();});}
1
+ const a7_0x14c73b=a7_0x1522;(function(_0x8af776,_0x15b2e6){const _0x4ff710=a7_0x1522,_0x16ff7c=_0x8af776();while(!![]){try{const _0x4c3c42=-parseInt(_0x4ff710(0xde))/0x1+parseInt(_0x4ff710(0xe7))/0x2+parseInt(_0x4ff710(0xc4))/0x3+-parseInt(_0x4ff710(0xda))/0x4+-parseInt(_0x4ff710(0xd2))/0x5+parseInt(_0x4ff710(0xea))/0x6+-parseInt(_0x4ff710(0xd7))/0x7;if(_0x4c3c42===_0x15b2e6)break;else _0x16ff7c['push'](_0x16ff7c['shift']());}catch(_0x26fe83){_0x16ff7c['push'](_0x16ff7c['shift']());}}}(a7_0x393a,0x24a79));function a7_0x1522(_0x442c05,_0xabaeec){const _0x393a65=a7_0x393a();return a7_0x1522=function(_0x1522e7,_0x4b05ab){_0x1522e7=_0x1522e7-0xbb;let _0x2fb879=_0x393a65[_0x1522e7];return _0x2fb879;},a7_0x1522(_0x442c05,_0xabaeec);}import a7_0x1bb325 from'jszip';import{kmlToGeoJSON}from'./kmlToGeoJSON';import{geoJSONToKml}from'./geoJSONToKml';export function toKml(_0x16e8b5,_0x12d26b){const _0x2099f5=a7_0x1522;return _0x16e8b5[_0x2099f5(0xd3)]?_0x16e8b5[_0x2099f5(0xd3)][_0x2099f5(0xd6)](_0x231303=>{updateFeatureByStyle(_0x231303);}):updateFeatureByStyle(_0x16e8b5),geoJSONToKml(_0x16e8b5,_0x12d26b);}function updateFeatureByStyle(_0x4a1f43){const _0x1d2675=a7_0x1522;var _0x4af627,_0x9c794c,_0x44209e,_0x48c0ae,_0x336727,_0x386c5a;if(!_0x4a1f43[_0x1d2675(0xc9)])return;const _0x1b336e=_0x4a1f43['properties']['style'];if(_0x1b336e){if(_0x1b336e['image']){_0x4a1f43['properties'][_0x1d2675(0xc5)]=_0x1b336e[_0x1d2675(0xc7)];_0x1b336e[_0x1d2675(0xdf)]&&(_0x4a1f43[_0x1d2675(0xc9)][_0x1d2675(0xcc)]=_0x1b336e[_0x1d2675(0xdf)]);return;}_0x1b336e[_0x1d2675(0xbc)]&&(_0x4a1f43[_0x1d2675(0xc9)][_0x1d2675(0xc8)]=_0x1b336e[_0x1d2675(0xbc)],_0x1b336e[_0x1d2675(0xbb)]&&(_0x4a1f43[_0x1d2675(0xc9)][_0x1d2675(0xe9)]=_0x1b336e[_0x1d2675(0xbb)])),_0x1b336e['outlineColor']&&(_0x4a1f43[_0x1d2675(0xc9)]['stroke']=_0x1b336e[_0x1d2675(0xdf)],_0x4a1f43[_0x1d2675(0xc9)][_0x1d2675(0xe4)]=(_0x4af627=_0x1b336e['outlineWidth'])!==null&&_0x4af627!==void 0x0?_0x4af627:0x1,_0x4a1f43['properties'][_0x1d2675(0xc6)]=(_0x44209e=(_0x9c794c=_0x1b336e[_0x1d2675(0xcd)])!==null&&_0x9c794c!==void 0x0?_0x9c794c:_0x1b336e[_0x1d2675(0xbb)])!==null&&_0x44209e!==void 0x0?_0x44209e:0x1),_0x1b336e[_0x1d2675(0xd8)]&&(_0x1b336e[_0x1d2675(0xd8)]=HTMLEncode(_0x1b336e['html'])),_0x1b336e['closure']&&((_0x336727=(_0x48c0ae=_0x4a1f43[_0x1d2675(0xcb)])===null||_0x48c0ae===void 0x0?void 0x0:_0x48c0ae[_0x1d2675(0xdc)])===null||_0x336727===void 0x0?void 0x0:_0x336727[_0x1d2675(0xce)])>0x0&&_0x4a1f43[_0x1d2675(0xcb)][_0x1d2675(0xdc)][_0x1d2675(0xbe)](_0x4a1f43[_0x1d2675(0xcb)]['coordinates'][0x0]);}const _0x193734=(_0x386c5a=_0x4a1f43===null||_0x4a1f43===void 0x0?void 0x0:_0x4a1f43['properties'])===null||_0x386c5a===void 0x0?void 0x0:_0x386c5a['type'];if(_0x193734===_0x1d2675(0xc0)){const _0x34fecd=_0x4a1f43['geometry']['coordinates'][0x0];(_0x34fecd===null||_0x34fecd===void 0x0?void 0x0:_0x34fecd[_0x1d2675(0xce)])>0x2&&_0x34fecd[_0x1d2675(0xbe)](_0x34fecd[0x0]);}else{if(_0x193734===_0x1d2675(0xe8)){const _0xf16cd5=_0x4a1f43[_0x1d2675(0xcb)]['coordinates'],_0x384d9c=_0xf16cd5[0x0][0x0],_0x36b899=_0xf16cd5[0x1][0x0],_0x5d9841=_0xf16cd5[0x0][0x1],_0x501ba4=_0xf16cd5[0x1][0x1];_0x4a1f43['geometry']={'type':'Polygon','coordinates':[[[_0x384d9c,_0x501ba4],[_0x384d9c,_0x5d9841],[_0x36b899,_0x5d9841],[_0x36b899,_0x501ba4],[_0x384d9c,_0x501ba4]]]};}}}const getDom=_0x5d84c7=>new DOMParser()[a7_0x14c73b(0xe6)](_0x5d84c7,a7_0x14c73b(0xc1)),getExtension=_0x44552e=>_0x44552e[a7_0x14c73b(0xc3)]('.')[a7_0x14c73b(0xd1)](),getKmlDom=_0x17a953=>{const _0x869d3c=a7_0x14c73b,_0x39e948=new a7_0x1bb325();return _0x39e948[_0x869d3c(0xeb)](_0x17a953)[_0x869d3c(0xd0)](_0x43808e=>{const _0x3c8642=_0x869d3c;let _0x23eb18=null;return _0x43808e[_0x3c8642(0xd6)]((_0x5ea97b,_0x589ca4)=>{const _0x562459=_0x3c8642;getExtension(_0x5ea97b)===_0x562459(0xdb)&&_0x23eb18===null&&(_0x23eb18=_0x589ca4[_0x562459(0xe3)](_0x562459(0xe1))['then'](getDom));}),_0x23eb18;});};export function toGeoJSON(_0x4aa6fd,_0x33541f){const _0x1a049c=a7_0x14c73b;if(!_0x4aa6fd){console['warn'](_0x1a049c(0xbd));return;}if(isString(_0x4aa6fd)){const _0x529611=getExtension(_0x4aa6fd);if(_0x529611===_0x1a049c(0xdb))return fetchXML(_0x4aa6fd,_0x33541f)[_0x1a049c(0xd0)](function(_0x582d75){return kmlToGeoJSON(_0x582d75);});else{if(_0x529611===_0x1a049c(0xd4))return fetchBlob(_0x4aa6fd,_0x33541f)['then'](function(_0x45ab66){return getKmlDom(_0x45ab66);})[_0x1a049c(0xd0)](function(_0x13cce6){return kmlToGeoJSON(_0x13cce6);});else{const _0x4321f5=kmlToGeoJSON(getDom(_0x4aa6fd));return Promise[_0x1a049c(0xe0)](_0x4321f5);}}}else{if(_0x4aa6fd[_0x1a049c(0xc2)]){const _0x5e94f5=kmlToGeoJSON(_0x4aa6fd);return Promise[_0x1a049c(0xe0)](_0x5e94f5);}else{const _0x31c017=_0x4aa6fd[_0x1a049c(0xe5)][_0x1a049c(0xc3)]('.')[_0x4aa6fd['name'][_0x1a049c(0xc3)]('.')[_0x1a049c(0xce)]-0x1]['toLowerCase']();return _0x31c017===_0x1a049c(0xdb)?_0x4aa6fd[_0x1a049c(0xcf)]()['then'](_0x57ca0e=>{return kmlToGeoJSON(getDom(_0x57ca0e));}):getKmlDom(_0x4aa6fd)[_0x1a049c(0xd0)](function(_0x302b6c){return kmlToGeoJSON(_0x302b6c);});}}}function isString(_0x1e2713){const _0x3b6b99=a7_0x14c73b;return typeof _0x1e2713==='string'&&_0x1e2713[_0x3b6b99(0xdd)]===String;}function HTMLEncode(_0x1f371d){const _0x298663=a7_0x14c73b,_0x57e705=document[_0x298663(0xbf)]('div');_0x57e705[_0x298663(0xca)]!=null?_0x57e705[_0x298663(0xca)]=_0x1f371d:_0x57e705['innerText']=_0x1f371d;const _0x584599=_0x57e705['innerHTML'];return _0x584599;}function fetchXML(_0x1c466a,_0x554b2c){const _0x25bd53=a7_0x14c73b,_0x199068=Object['assign']({'method':_0x25bd53(0xd5),'headers':{'Content-Type':_0x25bd53(0xc1)}},_0x554b2c);return fetch(_0x1c466a,_0x199068)[_0x25bd53(0xd0)](_0x312c05=>{const _0x3b3933=_0x25bd53;return _0x312c05[_0x3b3933(0xcf)]();})['then'](_0x2b07ec=>{return getDom(_0x2b07ec);});}function a7_0x393a(){const _0x200505=['toGeoJSON参数不能为空','push','createElement','polygon','application/xml','getRootNode','split','433752CEwOjG','marker-symbol','stroke-opacity','image','fill','properties','textContent','geometry','marker-color','outlineOpacity','length','text','then','pop','574130PmKnDG','features','kmz','GET','forEach','627655IDGNrM','html','blob','65252jKyEDq','kml','coordinates','constructor','24364WwtELE','outlineColor','resolve','string','assign','async','stroke-width','name','parseFromString','64156bLbyPW','rectangle','fill-opacity','1311858QnnODO','loadAsync','opacity','color'];a7_0x393a=function(){return _0x200505;};return a7_0x393a();}function fetchBlob(_0x256dfb,_0x2c5cc2){const _0x3c7fba=a7_0x14c73b,_0x1dece6=Object[_0x3c7fba(0xe2)]({'method':_0x3c7fba(0xd5)},_0x2c5cc2);return fetch(_0x256dfb,_0x1dece6)['then'](_0x1c7b56=>{const _0x450113=_0x3c7fba;return _0x1c7b56[_0x450113(0xd9)]();});}
@@ -1 +1 @@
1
- const a8_0x453be0=a8_0x1ebb;(function(_0x56455f,_0x37b47e){const _0x3c0213=a8_0x1ebb,_0x5cc164=_0x56455f();while(!![]){try{const _0x3178a2=-parseInt(_0x3c0213(0xd2))/0x1*(parseInt(_0x3c0213(0xb4))/0x2)+-parseInt(_0x3c0213(0x96))/0x3*(-parseInt(_0x3c0213(0xce))/0x4)+parseInt(_0x3c0213(0xcf))/0x5*(parseInt(_0x3c0213(0xab))/0x6)+parseInt(_0x3c0213(0xa1))/0x7+-parseInt(_0x3c0213(0xb0))/0x8+parseInt(_0x3c0213(0xc9))/0x9+parseInt(_0x3c0213(0xac))/0xa;if(_0x3178a2===_0x37b47e)break;else _0x5cc164['push'](_0x5cc164['shift']());}catch(_0x53a511){_0x5cc164['push'](_0x5cc164['shift']());}}}(a8_0x4cbe,0x9e3f1));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x5e9375){const _0x4e9ae2=a8_0x1ebb;if(!_0x5e9375||!_0x5e9375['length'])return 0x0;for(var _0x49527a=0x0,_0x158a19=0x0;_0x49527a<_0x5e9375[_0x4e9ae2(0xca)];_0x49527a++){_0x158a19=(_0x158a19<<0x5)-_0x158a19+_0x5e9375[_0x4e9ae2(0xd1)](_0x49527a)|0x0;}return _0x158a19;}function get(_0x1736af,_0x24f384){const _0x5b343d=a8_0x1ebb;return _0x1736af[_0x5b343d(0xc0)](_0x24f384);}function attr(_0x4319c9,_0x7a56ca){const _0x277952=a8_0x1ebb;return _0x4319c9[_0x277952(0xc7)](_0x7a56ca);}function attrf(_0x35e461,_0x54cb52){return parseFloat(attr(_0x35e461,_0x54cb52));}function get1(_0x5e16e3,_0x5e2ec3){const _0x46f918=a8_0x1ebb,_0x380388=get(_0x5e16e3,_0x5e2ec3);return _0x380388[_0x46f918(0xca)]?_0x380388[0x0]:null;}function norm(_0x12d3dc){return _0x12d3dc['normalize']&&_0x12d3dc['normalize'](),_0x12d3dc;}function numarray(_0x71c6e6){const _0x38a006=a8_0x1ebb;for(var _0x2da6b8=0x0,_0x211d85=[];_0x2da6b8<_0x71c6e6[_0x38a006(0xca)];_0x2da6b8++){_0x211d85[_0x2da6b8]=parseFloat(_0x71c6e6[_0x2da6b8]);}return _0x211d85;}function nodeVal(_0x41cfd6){const _0x132841=a8_0x1ebb;return _0x41cfd6&&norm(_0x41cfd6),_0x41cfd6&&_0x41cfd6[_0x132841(0xad)]||'';}function coord1(_0x428f08){const _0x43e0e4=a8_0x1ebb;return numarray(_0x428f08[_0x43e0e4(0x94)](removeSpace,'')['split'](','));}function coord(_0x245a76){const _0x35df49=a8_0x1ebb,_0x36d05d=_0x245a76[_0x35df49(0x94)](trimSpace,'')[_0x35df49(0x97)](splitSpace),_0x27041c=[];for(let _0x575f1f=0x0;_0x575f1f<_0x36d05d[_0x35df49(0xca)];_0x575f1f++){_0x27041c['push'](coord1(_0x36d05d[_0x575f1f]));}return _0x27041c;}function fc(){const _0x37b513=a8_0x1ebb;return{'type':_0x37b513(0xd0),'features':[]};}function a8_0x4cbe(){const _0x2fe924=['push','xml','undefined','outline','features','getElementsByTagName','MultiGeometry','normal','begin','width','substr','object','getAttribute','styleUrl','5697288CWtwAE','length','toString','ExtendedData','value','14996TXRqlN','110lIwdYK','FeatureCollection','charCodeAt','2HsOyAk','TimeSpan','xmldom','gx:MultiTrack','Placemark','LineStyle','parse','replace','TimeStamp','987TAIAvz','split','XMLSerializer','fill-opacity','Polygon','Data','Point','LineString','coordTimes','when','timestamp','720727Qyjebd','description','gx:Track','MultiTrack','LinearRing','geoms','gx:coord','SimpleData','name','Track','5244fQtMpF','4094460yeSPlj','textContent','coordinates','Feature','7461944ckbmku','GeometryCollection','times','stroke-opacity','817168YfsTAJ','styleHash','end','browser','fill','PolyStyle','Pair'];a8_0x4cbe=function(){return _0x2fe924;};return a8_0x4cbe();}function a8_0x1ebb(_0x17cfe1,_0x5cec54){const _0x4cbefa=a8_0x4cbe();return a8_0x1ebb=function(_0x1ebbca,_0x1ad00d){_0x1ebbca=_0x1ebbca-0x94;let _0x351706=_0x4cbefa[_0x1ebbca];return _0x351706;},a8_0x1ebb(_0x17cfe1,_0x5cec54);}let serializer;if(typeof XMLSerializer!==a8_0x453be0(0xbd))serializer=new XMLSerializer();else typeof exports===a8_0x453be0(0xc6)&&typeof process==='object'&&!process[a8_0x453be0(0xb7)]&&(serializer=new(require(a8_0x453be0(0xd4)))[(a8_0x453be0(0x98))]());function xml2str(_0x320d2){const _0x3e04ca=a8_0x453be0;if(_0x320d2[_0x3e04ca(0xbc)]!==undefined)return _0x320d2['xml'];return serializer['serializeToString'](_0x320d2);}export function kmlToGeoJSON(_0x1dbc15){const _0x560ae9=a8_0x453be0,_0x4593b3=fc(),_0x492ffd={},_0x5cb0eb={},_0x40570a={},_0x1d5630=[_0x560ae9(0x9a),_0x560ae9(0x9d),_0x560ae9(0x9c),'Track',_0x560ae9(0xa3)],_0x3f5ad2=get(_0x1dbc15,_0x560ae9(0xd6)),_0x21c588=get(_0x1dbc15,'Style'),_0x298b07=get(_0x1dbc15,'StyleMap');for(let _0x2c4479=0x0;_0x2c4479<_0x21c588[_0x560ae9(0xca)];_0x2c4479++){const _0x5097c1=okhash(xml2str(_0x21c588[_0x2c4479]))[_0x560ae9(0xcb)](0x10);_0x492ffd['#'+attr(_0x21c588[_0x2c4479],'id')]=_0x5097c1,_0x5cb0eb[_0x5097c1]=_0x21c588[_0x2c4479];}for(let _0x1a8702=0x0;_0x1a8702<_0x298b07['length'];_0x1a8702++){_0x492ffd['#'+attr(_0x298b07[_0x1a8702],'id')]=okhash(xml2str(_0x298b07[_0x1a8702]))[_0x560ae9(0xcb)](0x10);const _0x1c30a7=get(_0x298b07[_0x1a8702],_0x560ae9(0xba)),_0x1aaba4={};for(let _0x2876bd=0x0;_0x2876bd<_0x1c30a7[_0x560ae9(0xca)];_0x2876bd++){_0x1aaba4[nodeVal(get1(_0x1c30a7[_0x2876bd],'key'))]=nodeVal(get1(_0x1c30a7[_0x2876bd],_0x560ae9(0xc8)));}_0x40570a['#'+attr(_0x298b07[_0x1a8702],'id')]=_0x1aaba4;}for(let _0x1b860b=0x0;_0x1b860b<_0x3f5ad2[_0x560ae9(0xca)];_0x1b860b++){_0x4593b3[_0x560ae9(0xbf)]=_0x4593b3['features']['concat'](_0x1f18d6(_0x3f5ad2[_0x1b860b]));}function _0x11347c(_0x23c2bb){const _0x2dfc84=_0x560ae9;let _0x2d8697,_0x2a7cfc=0x0;return _0x23c2bb=_0x23c2bb||'',_0x23c2bb[_0x2dfc84(0xc5)](0x0,0x1)==='#'&&(_0x23c2bb=_0x23c2bb[_0x2dfc84(0xc5)](0x1)),(_0x23c2bb[_0x2dfc84(0xca)]===0x6||_0x23c2bb[_0x2dfc84(0xca)]===0x3)&&(_0x2d8697=_0x23c2bb),_0x23c2bb[_0x2dfc84(0xca)]===0x8&&(_0x2a7cfc=parseInt(_0x23c2bb[_0x2dfc84(0xc5)](0x0,0x2),0x10)/0xff,_0x2d8697='#'+_0x23c2bb[_0x2dfc84(0xc5)](0x6,0x2)+_0x23c2bb[_0x2dfc84(0xc5)](0x4,0x2)+_0x23c2bb[_0x2dfc84(0xc5)](0x2,0x2)),[_0x2d8697,isNaN(_0x2a7cfc)?undefined:_0x2a7cfc];}function _0x567a99(_0x1792c4){return numarray(_0x1792c4['split']('\x20'));}function _0x1f2b33(_0x55ef0e){const _0x4e1eca=_0x560ae9;let _0x480a45=get(_0x55ef0e,'coord');const _0x1e5f34=[],_0x3e968f=[];_0x480a45['length']===0x0&&(_0x480a45=get(_0x55ef0e,_0x4e1eca(0xa7)));for(let _0x245093=0x0;_0x245093<_0x480a45['length'];_0x245093++){_0x1e5f34[_0x4e1eca(0xbb)](_0x567a99(nodeVal(_0x480a45[_0x245093])));}const _0x1992c0=get(_0x55ef0e,_0x4e1eca(0x9f));for(let _0x4f4911=0x0;_0x4f4911<_0x1992c0[_0x4e1eca(0xca)];_0x4f4911++){_0x3e968f[_0x4e1eca(0xbb)](nodeVal(_0x1992c0[_0x4f4911]));}return{'coords':_0x1e5f34,'times':_0x3e968f};}function _0x15d373(_0x6c6c79){const _0x1f5427=_0x560ae9;let _0x50c796,_0x236888,_0x399684,_0x4ddae4,_0x5914c0;const _0xca5858=[],_0x50a5c6=[];if(get1(_0x6c6c79,_0x1f5427(0xc1)))return _0x15d373(get1(_0x6c6c79,_0x1f5427(0xc1)));if(get1(_0x6c6c79,_0x1f5427(0xa4)))return _0x15d373(get1(_0x6c6c79,_0x1f5427(0xa4)));if(get1(_0x6c6c79,_0x1f5427(0xd5)))return _0x15d373(get1(_0x6c6c79,_0x1f5427(0xd5)));for(_0x399684=0x0;_0x399684<_0x1d5630[_0x1f5427(0xca)];_0x399684++){_0x236888=get(_0x6c6c79,_0x1d5630[_0x399684]);if(_0x236888)for(_0x4ddae4=0x0;_0x4ddae4<_0x236888[_0x1f5427(0xca)];_0x4ddae4++){_0x50c796=_0x236888[_0x4ddae4];if(_0x1d5630[_0x399684]===_0x1f5427(0x9c))_0xca5858[_0x1f5427(0xbb)]({'type':_0x1f5427(0x9c),'coordinates':coord1(nodeVal(get1(_0x50c796,_0x1f5427(0xae))))});else{if(_0x1d5630[_0x399684]===_0x1f5427(0x9d))_0xca5858[_0x1f5427(0xbb)]({'type':'LineString','coordinates':coord(nodeVal(get1(_0x50c796,_0x1f5427(0xae))))});else{if(_0x1d5630[_0x399684]===_0x1f5427(0x9a)){const _0x208bb5=get(_0x50c796,_0x1f5427(0xa5)),_0x512e6b=[];for(_0x5914c0=0x0;_0x5914c0<_0x208bb5['length'];_0x5914c0++){_0x512e6b[_0x1f5427(0xbb)](coord(nodeVal(get1(_0x208bb5[_0x5914c0],_0x1f5427(0xae)))));}_0xca5858['push']({'type':_0x1f5427(0x9a),'coordinates':_0x512e6b});}else{if(_0x1d5630[_0x399684]===_0x1f5427(0xaa)||_0x1d5630[_0x399684]==='gx:Track'){const _0x5e6fd7=_0x1f2b33(_0x50c796);_0xca5858['push']({'type':_0x1f5427(0x9d),'coordinates':_0x5e6fd7['coords']}),_0x5e6fd7['times'][_0x1f5427(0xca)]&&_0x50a5c6[_0x1f5427(0xbb)](_0x5e6fd7[_0x1f5427(0xb2)]);}}}}}}return{'geoms':_0xca5858,'coordTimes':_0x50a5c6};}function _0x1f18d6(_0xcdbb5a){const _0x52a367=_0x560ae9,_0x3af083=_0x15d373(_0xcdbb5a);let _0x4fc076;const _0xf288c5={},_0xd363e8=nodeVal(get1(_0xcdbb5a,_0x52a367(0xa9)));let _0x178be9=nodeVal(get1(_0xcdbb5a,'styleUrl'));const _0xc6604c=nodeVal(get1(_0xcdbb5a,_0x52a367(0xa2))),_0x20a504=get1(_0xcdbb5a,_0x52a367(0xd3)),_0x37aa6d=get1(_0xcdbb5a,_0x52a367(0x95)),_0x1c770c=get1(_0xcdbb5a,_0x52a367(0xcc));let _0x550bce=get1(_0xcdbb5a,'LineStyle'),_0x397c06=get1(_0xcdbb5a,'PolyStyle');const _0x2b6c14=get1(_0xcdbb5a,'visibility');if(!_0x3af083[_0x52a367(0xa6)]['length'])return[];_0xd363e8&&(_0xf288c5[_0x52a367(0xa9)]=_0xd363e8);if(_0x178be9){_0x178be9[0x0]!=='#'&&(_0x178be9='#'+_0x178be9);_0xf288c5[_0x52a367(0xc8)]=_0x178be9;_0x492ffd[_0x178be9]&&(_0xf288c5[_0x52a367(0xb5)]=_0x492ffd[_0x178be9]);_0x40570a[_0x178be9]&&(_0xf288c5['styleMapHash']=_0x40570a[_0x178be9],_0xf288c5['styleHash']=_0x492ffd[_0x40570a[_0x178be9][_0x52a367(0xc2)]]);const _0x4127d3=_0x5cb0eb[_0xf288c5[_0x52a367(0xb5)]];_0x4127d3&&(!_0x550bce&&(_0x550bce=get1(_0x4127d3,_0x52a367(0xd7))),!_0x397c06&&(_0x397c06=get1(_0x4127d3,_0x52a367(0xb9))));}_0xc6604c&&(_0xf288c5[_0x52a367(0xa2)]=_0xc6604c);if(_0x20a504){const _0x106897=nodeVal(get1(_0x20a504,_0x52a367(0xc3))),_0x40d368=nodeVal(get1(_0x20a504,_0x52a367(0xb6)));_0xf288c5['timespan']={'begin':_0x106897,'end':_0x40d368};}_0x37aa6d&&(_0xf288c5[_0x52a367(0xa0)]=nodeVal(get1(_0x37aa6d,'when')));if(_0x550bce){const _0x1a99eb=_0x11347c(nodeVal(get1(_0x550bce,'color'))),_0x1bb0b4=_0x1a99eb[0x0],_0x4f8d91=_0x1a99eb[0x1],_0x445cca=parseFloat(nodeVal(get1(_0x550bce,_0x52a367(0xc4))));_0x1bb0b4&&(_0xf288c5['stroke']=_0x1bb0b4),!isNaN(_0x4f8d91)&&(_0xf288c5[_0x52a367(0xb3)]=_0x4f8d91),!isNaN(_0x445cca)&&(_0xf288c5['stroke-width']=_0x445cca);}if(_0x397c06){const _0x53f84e=_0x11347c(nodeVal(get1(_0x397c06,'color'))),_0x55f573=_0x53f84e[0x0],_0x4b2017=_0x53f84e[0x1],_0x82c3c7=nodeVal(get1(_0x397c06,_0x52a367(0xb8))),_0x474350=nodeVal(get1(_0x397c06,_0x52a367(0xbe)));_0x55f573&&(_0xf288c5[_0x52a367(0xb8)]=_0x55f573),!isNaN(_0x4b2017)&&(_0xf288c5[_0x52a367(0x99)]=_0x4b2017),_0x82c3c7&&(_0xf288c5[_0x52a367(0x99)]=_0x82c3c7==='1'?_0xf288c5[_0x52a367(0x99)]||0x1:0x0),_0x474350&&(_0xf288c5['stroke-opacity']=_0x474350==='1'?_0xf288c5[_0x52a367(0xb3)]||0x1:0x0);}if(_0x1c770c){const _0x42ee63=get(_0x1c770c,_0x52a367(0x9b)),_0x174798=get(_0x1c770c,_0x52a367(0xa8));for(_0x4fc076=0x0;_0x4fc076<_0x42ee63[_0x52a367(0xca)];_0x4fc076++){const _0x12e19e=_0x42ee63[_0x4fc076][_0x52a367(0xc7)]('name');let _0x1857d4=nodeVal(get1(_0x42ee63[_0x4fc076],_0x52a367(0xcd)));try{_0x1857d4=JSON[_0x52a367(0xd8)](_0x1857d4);}catch(_0x10839b){}_0xf288c5[_0x12e19e]=_0x1857d4;}for(_0x4fc076=0x0;_0x4fc076<_0x174798['length'];_0x4fc076++){const _0x31a750=_0x174798[_0x4fc076]['getAttribute'](_0x52a367(0xa9));let _0x192369=nodeVal(_0x174798[_0x4fc076]);try{_0x192369=JSON[_0x52a367(0xd8)](_0x192369);}catch(_0x2f0898){}_0xf288c5[_0x31a750]=_0x192369;}}_0x2b6c14&&(_0xf288c5['visibility']=nodeVal(_0x2b6c14));_0x3af083['coordTimes']['length']&&(_0xf288c5['coordTimes']=_0x3af083[_0x52a367(0x9e)][_0x52a367(0xca)]===0x1?_0x3af083[_0x52a367(0x9e)][0x0]:_0x3af083['coordTimes']);const _0x2afed5={'type':_0x52a367(0xaf),'geometry':_0x3af083['geoms'][_0x52a367(0xca)]===0x1?_0x3af083[_0x52a367(0xa6)][0x0]:{'type':_0x52a367(0xb1),'geometries':_0x3af083['geoms']},'properties':_0xf288c5};return attr(_0xcdbb5a,'id')&&(_0x2afed5['id']=attr(_0xcdbb5a,'id')),[_0x2afed5];}return _0x4593b3;}
1
+ const a8_0x2cfa55=a8_0x5219;(function(_0x490815,_0x1b1b2d){const _0x1d8870=a8_0x5219,_0x543955=_0x490815();while(!![]){try{const _0x3e1d60=-parseInt(_0x1d8870(0x14d))/0x1+parseInt(_0x1d8870(0x180))/0x2*(-parseInt(_0x1d8870(0x17a))/0x3)+-parseInt(_0x1d8870(0x171))/0x4*(-parseInt(_0x1d8870(0x14f))/0x5)+-parseInt(_0x1d8870(0x14e))/0x6+parseInt(_0x1d8870(0x154))/0x7*(-parseInt(_0x1d8870(0x148))/0x8)+-parseInt(_0x1d8870(0x14c))/0x9+-parseInt(_0x1d8870(0x181))/0xa*(-parseInt(_0x1d8870(0x156))/0xb);if(_0x3e1d60===_0x1b1b2d)break;else _0x543955['push'](_0x543955['shift']());}catch(_0xef63c1){_0x543955['push'](_0x543955['shift']());}}}(a8_0xd292,0x9376e));const removeSpace=/\s*/g,trimSpace=/^\s*|\s*$/g,splitSpace=/\s+/;function okhash(_0x32db72){const _0x3541b7=a8_0x5219;if(!_0x32db72||!_0x32db72[_0x3541b7(0x184)])return 0x0;for(var _0x3a3171=0x0,_0x42c14e=0x0;_0x3a3171<_0x32db72['length'];_0x3a3171++){_0x42c14e=(_0x42c14e<<0x5)-_0x42c14e+_0x32db72[_0x3541b7(0x183)](_0x3a3171)|0x0;}return _0x42c14e;}function get(_0x2811d3,_0xb398fc){const _0x5a7970=a8_0x5219;return _0x2811d3[_0x5a7970(0x17e)](_0xb398fc);}function attr(_0x3fb85b,_0x323305){const _0x3ae85b=a8_0x5219;return _0x3fb85b[_0x3ae85b(0x168)](_0x323305);}function attrf(_0x4577ca,_0x57448a){return parseFloat(attr(_0x4577ca,_0x57448a));}function get1(_0x322ae7,_0x5c0751){const _0x412e18=a8_0x5219,_0x127880=get(_0x322ae7,_0x5c0751);return _0x127880[_0x412e18(0x184)]?_0x127880[0x0]:null;}function norm(_0x27a62b){const _0x234c25=a8_0x5219;return _0x27a62b[_0x234c25(0x188)]&&_0x27a62b[_0x234c25(0x188)](),_0x27a62b;}function numarray(_0x3797ef){for(var _0x52b1dc=0x0,_0x4749ea=[];_0x52b1dc<_0x3797ef['length'];_0x52b1dc++){_0x4749ea[_0x52b1dc]=parseFloat(_0x3797ef[_0x52b1dc]);}return _0x4749ea;}function a8_0xd292(){const _0x145300=['getAttribute','coords','replace','coordinates','normal','concat','MultiTrack','stroke','undefined','628mlWSAT','Feature','coord','coordTimes','times','width','visibility','description','styleHash','21LJRZEK','timestamp','stroke-opacity','LineString','getElementsByTagName','end','152032OZfiOS','1043270RUyNai','fill','charCodeAt','length','object','when','key','normalize','fill-opacity','timespan','Polygon','LinearRing','PolyStyle','geoms','textContent','StyleMap','Data','name','color','1128416YdmNZy','Point','serializeToString','xml','7442991jWkAuA','532573EoSQnk','858144GPGArG','18755dRyXDh','value','outline','ExtendedData','Track','7JkGvlI','parse','231lmlUoe','xmldom','stroke-width','gx:MultiTrack','gx:Track','LineStyle','MultiGeometry','GeometryCollection','XMLSerializer','styleUrl','Style','substr','toString','features','split','begin','push','SimpleData'];a8_0xd292=function(){return _0x145300;};return a8_0xd292();}function nodeVal(_0x7a8470){const _0x3cf453=a8_0x5219;return _0x7a8470&&norm(_0x7a8470),_0x7a8470&&_0x7a8470[_0x3cf453(0x143)]||'';}function coord1(_0x2ad31b){const _0xc0558c=a8_0x5219;return numarray(_0x2ad31b[_0xc0558c(0x16a)](removeSpace,'')[_0xc0558c(0x164)](','));}function coord(_0xb7490f){const _0xd7c420=a8_0x5219,_0x16e22e=_0xb7490f['replace'](trimSpace,'')[_0xd7c420(0x164)](splitSpace),_0x1c345f=[];for(let _0x20848d=0x0;_0x20848d<_0x16e22e[_0xd7c420(0x184)];_0x20848d++){_0x1c345f[_0xd7c420(0x166)](coord1(_0x16e22e[_0x20848d]));}return _0x1c345f;}function a8_0x5219(_0x13ea0b,_0xa05c13){const _0xd292d0=a8_0xd292();return a8_0x5219=function(_0x52192f,_0x13a94d){_0x52192f=_0x52192f-0x13d;let _0xaee25f=_0xd292d0[_0x52192f];return _0xaee25f;},a8_0x5219(_0x13ea0b,_0xa05c13);}function fc(){return{'type':'FeatureCollection','features':[]};}let serializer;if(typeof XMLSerializer!==a8_0x2cfa55(0x170))serializer=new XMLSerializer();else typeof exports===a8_0x2cfa55(0x185)&&typeof process==='object'&&!process['browser']&&(serializer=new(require(a8_0x2cfa55(0x157)))[(a8_0x2cfa55(0x15e))]());function xml2str(_0x483264){const _0x34c5d9=a8_0x2cfa55;if(_0x483264[_0x34c5d9(0x14b)]!==undefined)return _0x483264[_0x34c5d9(0x14b)];return serializer[_0x34c5d9(0x14a)](_0x483264);}export function kmlToGeoJSON(_0x183b8a){const _0xa7d429=a8_0x2cfa55,_0x5efd1e=fc(),_0x36b1aa={},_0x3c4e9c={},_0x498bfc={},_0x41be92=[_0xa7d429(0x13f),_0xa7d429(0x17d),_0xa7d429(0x149),_0xa7d429(0x153),_0xa7d429(0x15a)],_0x40dff2=get(_0x183b8a,'Placemark'),_0x12f47=get(_0x183b8a,_0xa7d429(0x160)),_0x2057a6=get(_0x183b8a,_0xa7d429(0x144));for(let _0x15424b=0x0;_0x15424b<_0x12f47[_0xa7d429(0x184)];_0x15424b++){const _0x35a076=okhash(xml2str(_0x12f47[_0x15424b]))[_0xa7d429(0x162)](0x10);_0x36b1aa['#'+attr(_0x12f47[_0x15424b],'id')]=_0x35a076,_0x3c4e9c[_0x35a076]=_0x12f47[_0x15424b];}for(let _0x45ca12=0x0;_0x45ca12<_0x2057a6['length'];_0x45ca12++){_0x36b1aa['#'+attr(_0x2057a6[_0x45ca12],'id')]=okhash(xml2str(_0x2057a6[_0x45ca12]))['toString'](0x10);const _0x53eaa1=get(_0x2057a6[_0x45ca12],'Pair'),_0x40a69d={};for(let _0x19a631=0x0;_0x19a631<_0x53eaa1[_0xa7d429(0x184)];_0x19a631++){_0x40a69d[nodeVal(get1(_0x53eaa1[_0x19a631],_0xa7d429(0x187)))]=nodeVal(get1(_0x53eaa1[_0x19a631],_0xa7d429(0x15f)));}_0x498bfc['#'+attr(_0x2057a6[_0x45ca12],'id')]=_0x40a69d;}for(let _0xc5ceae=0x0;_0xc5ceae<_0x40dff2[_0xa7d429(0x184)];_0xc5ceae++){_0x5efd1e[_0xa7d429(0x163)]=_0x5efd1e[_0xa7d429(0x163)][_0xa7d429(0x16d)](_0x577cb2(_0x40dff2[_0xc5ceae]));}function _0x41f75d(_0x49c575){const _0x3a52de=_0xa7d429;let _0x524336,_0x5dcacc=0x0;return _0x49c575=_0x49c575||'',_0x49c575[_0x3a52de(0x161)](0x0,0x1)==='#'&&(_0x49c575=_0x49c575[_0x3a52de(0x161)](0x1)),(_0x49c575['length']===0x6||_0x49c575['length']===0x3)&&(_0x524336=_0x49c575),_0x49c575['length']===0x8&&(_0x5dcacc=parseInt(_0x49c575[_0x3a52de(0x161)](0x0,0x2),0x10)/0xff,_0x524336='#'+_0x49c575[_0x3a52de(0x161)](0x6,0x2)+_0x49c575[_0x3a52de(0x161)](0x4,0x2)+_0x49c575['substr'](0x2,0x2)),[_0x524336,isNaN(_0x5dcacc)?undefined:_0x5dcacc];}function _0x472551(_0x2230c6){const _0x2ca3d7=_0xa7d429;return numarray(_0x2230c6[_0x2ca3d7(0x164)]('\x20'));}function _0x2c8bb5(_0x51e512){const _0x974789=_0xa7d429;let _0x3c7efa=get(_0x51e512,_0x974789(0x173));const _0x89ba13=[],_0x123daf=[];_0x3c7efa[_0x974789(0x184)]===0x0&&(_0x3c7efa=get(_0x51e512,'gx:coord'));for(let _0xbb93b=0x0;_0xbb93b<_0x3c7efa[_0x974789(0x184)];_0xbb93b++){_0x89ba13[_0x974789(0x166)](_0x472551(nodeVal(_0x3c7efa[_0xbb93b])));}const _0x4851ca=get(_0x51e512,_0x974789(0x186));for(let _0x7f06b4=0x0;_0x7f06b4<_0x4851ca[_0x974789(0x184)];_0x7f06b4++){_0x123daf[_0x974789(0x166)](nodeVal(_0x4851ca[_0x7f06b4]));}return{'coords':_0x89ba13,'times':_0x123daf};}function _0x39737d(_0x1c9215){const _0x59ef94=_0xa7d429;let _0xa8bcc3,_0xe84bae,_0x2efb75,_0x3637c6,_0x238198;const _0x3260e1=[],_0x46d873=[];if(get1(_0x1c9215,_0x59ef94(0x15c)))return _0x39737d(get1(_0x1c9215,_0x59ef94(0x15c)));if(get1(_0x1c9215,_0x59ef94(0x16e)))return _0x39737d(get1(_0x1c9215,_0x59ef94(0x16e)));if(get1(_0x1c9215,_0x59ef94(0x159)))return _0x39737d(get1(_0x1c9215,_0x59ef94(0x159)));for(_0x2efb75=0x0;_0x2efb75<_0x41be92[_0x59ef94(0x184)];_0x2efb75++){_0xe84bae=get(_0x1c9215,_0x41be92[_0x2efb75]);if(_0xe84bae)for(_0x3637c6=0x0;_0x3637c6<_0xe84bae[_0x59ef94(0x184)];_0x3637c6++){_0xa8bcc3=_0xe84bae[_0x3637c6];if(_0x41be92[_0x2efb75]===_0x59ef94(0x149))_0x3260e1[_0x59ef94(0x166)]({'type':_0x59ef94(0x149),'coordinates':coord1(nodeVal(get1(_0xa8bcc3,_0x59ef94(0x16b))))});else{if(_0x41be92[_0x2efb75]==='LineString')_0x3260e1['push']({'type':'LineString','coordinates':coord(nodeVal(get1(_0xa8bcc3,_0x59ef94(0x16b))))});else{if(_0x41be92[_0x2efb75]==='Polygon'){const _0xfc0a95=get(_0xa8bcc3,_0x59ef94(0x140)),_0x429c45=[];for(_0x238198=0x0;_0x238198<_0xfc0a95[_0x59ef94(0x184)];_0x238198++){_0x429c45['push'](coord(nodeVal(get1(_0xfc0a95[_0x238198],_0x59ef94(0x16b)))));}_0x3260e1[_0x59ef94(0x166)]({'type':_0x59ef94(0x13f),'coordinates':_0x429c45});}else{if(_0x41be92[_0x2efb75]===_0x59ef94(0x153)||_0x41be92[_0x2efb75]===_0x59ef94(0x15a)){const _0x1419f4=_0x2c8bb5(_0xa8bcc3);_0x3260e1[_0x59ef94(0x166)]({'type':'LineString','coordinates':_0x1419f4[_0x59ef94(0x169)]}),_0x1419f4['times'][_0x59ef94(0x184)]&&_0x46d873[_0x59ef94(0x166)](_0x1419f4[_0x59ef94(0x175)]);}}}}}}return{'geoms':_0x3260e1,'coordTimes':_0x46d873};}function _0x577cb2(_0x20c374){const _0x1ed8cc=_0xa7d429,_0x53bd45=_0x39737d(_0x20c374);let _0x35dd3c;const _0x3dab1f={},_0xe68175=nodeVal(get1(_0x20c374,_0x1ed8cc(0x146)));let _0xddd6bc=nodeVal(get1(_0x20c374,_0x1ed8cc(0x15f)));const _0x59ad4d=nodeVal(get1(_0x20c374,_0x1ed8cc(0x178))),_0xf3c23b=get1(_0x20c374,'TimeSpan'),_0x4d3d94=get1(_0x20c374,'TimeStamp'),_0x50e739=get1(_0x20c374,_0x1ed8cc(0x152));let _0x2353bc=get1(_0x20c374,_0x1ed8cc(0x15b)),_0x436b12=get1(_0x20c374,'PolyStyle');const _0x549229=get1(_0x20c374,_0x1ed8cc(0x177));if(!_0x53bd45['geoms'][_0x1ed8cc(0x184)])return[];_0xe68175&&(_0x3dab1f[_0x1ed8cc(0x146)]=_0xe68175);if(_0xddd6bc){_0xddd6bc[0x0]!=='#'&&(_0xddd6bc='#'+_0xddd6bc);_0x3dab1f[_0x1ed8cc(0x15f)]=_0xddd6bc;_0x36b1aa[_0xddd6bc]&&(_0x3dab1f['styleHash']=_0x36b1aa[_0xddd6bc]);_0x498bfc[_0xddd6bc]&&(_0x3dab1f['styleMapHash']=_0x498bfc[_0xddd6bc],_0x3dab1f['styleHash']=_0x36b1aa[_0x498bfc[_0xddd6bc][_0x1ed8cc(0x16c)]]);const _0x882f68=_0x3c4e9c[_0x3dab1f[_0x1ed8cc(0x179)]];_0x882f68&&(!_0x2353bc&&(_0x2353bc=get1(_0x882f68,_0x1ed8cc(0x15b))),!_0x436b12&&(_0x436b12=get1(_0x882f68,_0x1ed8cc(0x141))));}_0x59ad4d&&(_0x3dab1f[_0x1ed8cc(0x178)]=_0x59ad4d);if(_0xf3c23b){const _0x877ee0=nodeVal(get1(_0xf3c23b,_0x1ed8cc(0x165))),_0x4c2727=nodeVal(get1(_0xf3c23b,_0x1ed8cc(0x17f)));_0x3dab1f[_0x1ed8cc(0x13e)]={'begin':_0x877ee0,'end':_0x4c2727};}_0x4d3d94&&(_0x3dab1f[_0x1ed8cc(0x17b)]=nodeVal(get1(_0x4d3d94,_0x1ed8cc(0x186))));if(_0x2353bc){const _0x6f0a6c=_0x41f75d(nodeVal(get1(_0x2353bc,_0x1ed8cc(0x147)))),_0x54965d=_0x6f0a6c[0x0],_0x49dc4c=_0x6f0a6c[0x1],_0x2409bd=parseFloat(nodeVal(get1(_0x2353bc,_0x1ed8cc(0x176))));_0x54965d&&(_0x3dab1f[_0x1ed8cc(0x16f)]=_0x54965d),!isNaN(_0x49dc4c)&&(_0x3dab1f[_0x1ed8cc(0x17c)]=_0x49dc4c),!isNaN(_0x2409bd)&&(_0x3dab1f[_0x1ed8cc(0x158)]=_0x2409bd);}if(_0x436b12){const _0x88dfee=_0x41f75d(nodeVal(get1(_0x436b12,_0x1ed8cc(0x147)))),_0x242c51=_0x88dfee[0x0],_0x32f78e=_0x88dfee[0x1],_0x4f11b6=nodeVal(get1(_0x436b12,_0x1ed8cc(0x182))),_0x5ca05b=nodeVal(get1(_0x436b12,_0x1ed8cc(0x151)));_0x242c51&&(_0x3dab1f[_0x1ed8cc(0x182)]=_0x242c51),!isNaN(_0x32f78e)&&(_0x3dab1f[_0x1ed8cc(0x13d)]=_0x32f78e),_0x4f11b6&&(_0x3dab1f[_0x1ed8cc(0x13d)]=_0x4f11b6==='1'?_0x3dab1f[_0x1ed8cc(0x13d)]||0x1:0x0),_0x5ca05b&&(_0x3dab1f['stroke-opacity']=_0x5ca05b==='1'?_0x3dab1f[_0x1ed8cc(0x17c)]||0x1:0x0);}if(_0x50e739){const _0x3ad16b=get(_0x50e739,_0x1ed8cc(0x145)),_0x599610=get(_0x50e739,_0x1ed8cc(0x167));for(_0x35dd3c=0x0;_0x35dd3c<_0x3ad16b['length'];_0x35dd3c++){const _0x10d2a3=_0x3ad16b[_0x35dd3c][_0x1ed8cc(0x168)](_0x1ed8cc(0x146));let _0x433b58=nodeVal(get1(_0x3ad16b[_0x35dd3c],_0x1ed8cc(0x150)));try{_0x433b58=JSON[_0x1ed8cc(0x155)](_0x433b58);}catch(_0x1bcd5f){}_0x3dab1f[_0x10d2a3]=_0x433b58;}for(_0x35dd3c=0x0;_0x35dd3c<_0x599610['length'];_0x35dd3c++){const _0x4f9c56=_0x599610[_0x35dd3c][_0x1ed8cc(0x168)](_0x1ed8cc(0x146));let _0x4bb0d2=nodeVal(_0x599610[_0x35dd3c]);try{_0x4bb0d2=JSON[_0x1ed8cc(0x155)](_0x4bb0d2);}catch(_0x1a75e){}_0x3dab1f[_0x4f9c56]=_0x4bb0d2;}}_0x549229&&(_0x3dab1f['visibility']=nodeVal(_0x549229));_0x53bd45[_0x1ed8cc(0x174)][_0x1ed8cc(0x184)]&&(_0x3dab1f[_0x1ed8cc(0x174)]=_0x53bd45[_0x1ed8cc(0x174)][_0x1ed8cc(0x184)]===0x1?_0x53bd45[_0x1ed8cc(0x174)][0x0]:_0x53bd45[_0x1ed8cc(0x174)]);const _0x44fd0b={'type':_0x1ed8cc(0x172),'geometry':_0x53bd45['geoms'][_0x1ed8cc(0x184)]===0x1?_0x53bd45[_0x1ed8cc(0x142)][0x0]:{'type':_0x1ed8cc(0x15d),'geometries':_0x53bd45[_0x1ed8cc(0x142)]},'properties':_0x3dab1f};return attr(_0x20c374,'id')&&(_0x44fd0b['id']=attr(_0x20c374,'id')),[_0x44fd0b];}return _0x5efd1e;}
package/entity/Feature.js CHANGED
@@ -1 +1 @@
1
- (function(_0x52aeae,_0x1c721a){var _0x4ad4e8=a10_0x4dfc,_0x5a2016=_0x52aeae();while(!![]){try{var _0x473e74=parseInt(_0x4ad4e8(0x132))/0x1*(-parseInt(_0x4ad4e8(0x12c))/0x2)+parseInt(_0x4ad4e8(0x128))/0x3+-parseInt(_0x4ad4e8(0x131))/0x4*(parseInt(_0x4ad4e8(0x12f))/0x5)+-parseInt(_0x4ad4e8(0x12e))/0x6*(-parseInt(_0x4ad4e8(0x129))/0x7)+-parseInt(_0x4ad4e8(0x12a))/0x8+-parseInt(_0x4ad4e8(0x12b))/0x9+-parseInt(_0x4ad4e8(0x130))/0xa*(-parseInt(_0x4ad4e8(0x12d))/0xb);if(_0x473e74===_0x1c721a)break;else _0x5a2016['push'](_0x5a2016['shift']());}catch(_0x5a9c93){_0x5a2016['push'](_0x5a2016['shift']());}}}(a10_0x15e9,0xa0aae));function a10_0x15e9(){var _0x16fbd6=['9179040pQSoKq','3302667oGFuNk','4jCyXuQ','655391bylVbw','2319108uvQfkh','33485JCCbTM','430ByLbwm','716myHsQf','122632KrNyyY','2003889MHyoKq','7ZeGdzq'];a10_0x15e9=function(){return _0x16fbd6;};return a10_0x15e9();}function a10_0x4dfc(_0x16933a,_0x16dfc6){var _0x15e91d=a10_0x15e9();return a10_0x4dfc=function(_0x4dfcd0,_0x12535b){_0x4dfcd0=_0x4dfcd0-0x128;var _0x2e2f3d=_0x15e91d[_0x4dfcd0];return _0x2e2f3d;},a10_0x4dfc(_0x16933a,_0x16dfc6);}import{Feature as a10_0x9399d0}from'ol';export default class Feature extends a10_0x9399d0{constructor(){super();}}
1
+ (function(_0x409063,_0x5847e8){var _0x57edb3=a10_0x1f2c,_0x3435de=_0x409063();while(!![]){try{var _0x4824d2=parseInt(_0x57edb3(0x1e7))/0x1*(parseInt(_0x57edb3(0x1e2))/0x2)+-parseInt(_0x57edb3(0x1e0))/0x3+-parseInt(_0x57edb3(0x1de))/0x4*(-parseInt(_0x57edb3(0x1e4))/0x5)+-parseInt(_0x57edb3(0x1e1))/0x6*(parseInt(_0x57edb3(0x1e5))/0x7)+parseInt(_0x57edb3(0x1e8))/0x8*(-parseInt(_0x57edb3(0x1e3))/0x9)+-parseInt(_0x57edb3(0x1df))/0xa+parseInt(_0x57edb3(0x1e6))/0xb;if(_0x4824d2===_0x5847e8)break;else _0x3435de['push'](_0x3435de['shift']());}catch(_0x1bae9a){_0x3435de['push'](_0x3435de['shift']());}}}(a10_0x151c,0xa2b17));import{Feature as a10_0x79fc36}from'ol';function a10_0x1f2c(_0x44aeaa,_0x48a7b9){var _0x151c2e=a10_0x151c();return a10_0x1f2c=function(_0x1f2c81,_0x4cdd74){_0x1f2c81=_0x1f2c81-0x1de;var _0x17061e=_0x151c2e[_0x1f2c81];return _0x17061e;},a10_0x1f2c(_0x44aeaa,_0x48a7b9);}export default class Feature extends a10_0x79fc36{constructor(){super();}}function a10_0x151c(){var _0x36b8b3=['27416uqGHOh','3441884RNYllR','2952400wwvQwC','421167eCFldv','6FnviVs','2UpYukq','3339rKiZvc','5GSxZvL','8786379vxtfPG','25604810UtFlbl','440453PZDsBq'];a10_0x151c=function(){return _0x36b8b3;};return a10_0x151c();}
@@ -1 +1 @@
1
- var a11_0x49bb76=a11_0x725a;(function(_0x506b63,_0x36839a){var _0x2fa3a0=a11_0x725a,_0x3056a4=_0x506b63();while(!![]){try{var _0x330da7=-parseInt(_0x2fa3a0(0x91))/0x1+parseInt(_0x2fa3a0(0x79))/0x2+parseInt(_0x2fa3a0(0x87))/0x3*(-parseInt(_0x2fa3a0(0x93))/0x4)+parseInt(_0x2fa3a0(0x97))/0x5*(-parseInt(_0x2fa3a0(0x80))/0x6)+parseInt(_0x2fa3a0(0x99))/0x7*(parseInt(_0x2fa3a0(0x8f))/0x8)+-parseInt(_0x2fa3a0(0x7e))/0x9+-parseInt(_0x2fa3a0(0x78))/0xa*(-parseInt(_0x2fa3a0(0x89))/0xb);if(_0x330da7===_0x36839a)break;else _0x3056a4['push'](_0x3056a4['shift']());}catch(_0x177e9c){_0x3056a4['push'](_0x3056a4['shift']());}}}(a11_0x48d2,0xc6965));class GeometryType{}GeometryType['Point']=a11_0x49bb76(0x8d),GeometryType[a11_0x49bb76(0x7c)]=a11_0x49bb76(0x83),GeometryType[a11_0x49bb76(0x84)]=a11_0x49bb76(0x81),GeometryType[a11_0x49bb76(0x86)]=a11_0x49bb76(0x94),GeometryType[a11_0x49bb76(0x8b)]=a11_0x49bb76(0x7b),GeometryType[a11_0x49bb76(0x96)]=a11_0x49bb76(0x90),GeometryType[a11_0x49bb76(0x95)]=a11_0x49bb76(0x88),GeometryType['Ellipsoid']=a11_0x49bb76(0x7a),GeometryType[a11_0x49bb76(0x92)]=a11_0x49bb76(0x82),GeometryType[a11_0x49bb76(0x8e)]=a11_0x49bb76(0x8a),GeometryType[a11_0x49bb76(0x7f)]=a11_0x49bb76(0x98),GeometryType[a11_0x49bb76(0x8c)]=a11_0x49bb76(0x7d),GeometryType['SurfaceClosed']=a11_0x49bb76(0x85);function a11_0x725a(_0x2d4d95,_0x5a34ff){var _0x48d29b=a11_0x48d2();return a11_0x725a=function(_0x725ac1,_0x184439){_0x725ac1=_0x725ac1-0x78;var _0x2914bf=_0x48d29b[_0x725ac1];return _0x2914bf;},a11_0x725a(_0x2d4d95,_0x5a34ff);}export default GeometryType;function a11_0x48d2(){var _0x278c6c=['PolyLine','assembly_site','7106265AqlumR','ArrowPincerlike','610614iYxnJO','polygon','arrow','polyline','Polygon','surface-closed','Rectangle','547908JuNDjc','ellipse','1690689jVCLUg','arrow_attack','Circle','AssemblySite','point','ArrowAttack','2728eeYOkv','curve','513758GERHjN','Arrow','12rLurhp','rectangle','Ellipse','Curve','15OeTrZD','arrow_pincerlike','4991ivrRYZ','110zBkMeN','2072298hcdBfY','ellipsoid','circle'];a11_0x48d2=function(){return _0x278c6c;};return a11_0x48d2();}
1
+ function a11_0x2a65(){var _0x4c41e5=['1461012erZpqq','arrow_attack','arrow_pincerlike','polyline','18778XiMXjy','1962851BpNFbl','rectangle','372TiVooB','153Fgzlsb','ArrowAttack','point','5485000VhLBzm','assembly_site','Rectangle','Arrow','surface-closed','2220GeiTqC','290gCZXPO','ellipsoid','Circle','Curve','28lorIMu','polygon','276023IwvSbj','circle','ArrowPincerlike','Ellipsoid','42183wpfXEs','Point','arrow','98764lqPXNR','curve','Ellipse'];a11_0x2a65=function(){return _0x4c41e5;};return a11_0x2a65();}function a11_0x18e1(_0x5b8bac,_0x43a2eb){var _0x2a652a=a11_0x2a65();return a11_0x18e1=function(_0x18e18d,_0x36afe3){_0x18e18d=_0x18e18d-0x98;var _0x263e2c=_0x2a652a[_0x18e18d];return _0x263e2c;},a11_0x18e1(_0x5b8bac,_0x43a2eb);}var a11_0x323c62=a11_0x18e1;(function(_0x4689d8,_0x19824d){var _0x1cf8f3=a11_0x18e1,_0x5b943b=_0x4689d8();while(!![]){try{var _0x370d10=parseInt(_0x1cf8f3(0x99))/0x1+parseInt(_0x1cf8f3(0x98))/0x2*(-parseInt(_0x1cf8f3(0x9c))/0x3)+-parseInt(_0x1cf8f3(0xb2))/0x4*(-parseInt(_0x1cf8f3(0xa5))/0x5)+parseInt(_0x1cf8f3(0xb5))/0x6*(-parseInt(_0x1cf8f3(0xa9))/0x7)+-parseInt(_0x1cf8f3(0x9f))/0x8+-parseInt(_0x1cf8f3(0xaf))/0x9*(parseInt(_0x1cf8f3(0xa4))/0xa)+parseInt(_0x1cf8f3(0xab))/0xb*(parseInt(_0x1cf8f3(0x9b))/0xc);if(_0x370d10===_0x19824d)break;else _0x5b943b['push'](_0x5b943b['shift']());}catch(_0x7e7f80){_0x5b943b['push'](_0x5b943b['shift']());}}}(a11_0x2a65,0xf2a22));class GeometryType{}GeometryType[a11_0x323c62(0xb0)]=a11_0x323c62(0x9e),GeometryType['PolyLine']=a11_0x323c62(0xb8),GeometryType['Polygon']=a11_0x323c62(0xaa),GeometryType[a11_0x323c62(0xa1)]=a11_0x323c62(0x9a),GeometryType[a11_0x323c62(0xa7)]=a11_0x323c62(0xac),GeometryType[a11_0x323c62(0xa8)]=a11_0x323c62(0xb3),GeometryType[a11_0x323c62(0xb4)]='ellipse',GeometryType[a11_0x323c62(0xae)]=a11_0x323c62(0xa6),GeometryType[a11_0x323c62(0xa2)]=a11_0x323c62(0xb1),GeometryType[a11_0x323c62(0x9d)]=a11_0x323c62(0xb6),GeometryType[a11_0x323c62(0xad)]=a11_0x323c62(0xb7),GeometryType['AssemblySite']=a11_0x323c62(0xa0),GeometryType['SurfaceClosed']=a11_0x323c62(0xa3);export default GeometryType;
@@ -1 +1 @@
1
- const a35_0x41d634=a35_0x4938;function a35_0x3e7f(){const _0x5658bc=['addFeatures','getLineTempLayer','getLayerById','tag','2127324kOGbuT','kmlImport','tempLayer','removeFeature','2996184RHUPtW','1060350MLFRJu','setGeometry','getSelectedFeatures','getTempSelectedFeatures','layerInfo','9094LaPSjl','push','filter','addLayer','322WjmbJM','3486WOaLyA','494591KkymgK','readFeature','flash_layer','getPolygonTempLayer','getSource','map','11156193yIvcjC','setVisible','flashGeometrys','clearTempFeatures','flashFeatures','setStyle','363VvznLw','length','removeLayer','geometryType','layerId','features','forEach','getVisible'];a35_0x3e7f=function(){return _0x5658bc;};return a35_0x3e7f();}(function(_0x242f5c,_0x4b11cf){const _0x353a3b=a35_0x4938,_0x26856a=_0x242f5c();while(!![]){try{const _0x4b1803=-parseInt(_0x353a3b(0x16a))/0x1+parseInt(_0x353a3b(0x164))/0x2*(-parseInt(_0x353a3b(0x176))/0x3)+-parseInt(_0x353a3b(0x182))/0x4+parseInt(_0x353a3b(0x15f))/0x5+parseInt(_0x353a3b(0x169))/0x6*(parseInt(_0x353a3b(0x168))/0x7)+parseInt(_0x353a3b(0x15e))/0x8+parseInt(_0x353a3b(0x170))/0x9;if(_0x4b1803===_0x4b11cf)break;else _0x26856a['push'](_0x26856a['shift']());}catch(_0x18a5ed){_0x26856a['push'](_0x26856a['shift']());}}}(a35_0x3e7f,0x4373f));import a35_0x5e568c from'../entity/Feature';import a35_0x486737 from'ol/layer/Vector';import a35_0x5300df from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0x45400a from'ol/format/GeoJSON';import{getSelectStyle}from'../style/StyleManager';function a35_0x4938(_0x5b0f72,_0x2fdb6d){const _0x3e7f67=a35_0x3e7f();return a35_0x4938=function(_0x4938ac,_0x44f702){_0x4938ac=_0x4938ac-0x15c;let _0x51a240=_0x3e7f67[_0x4938ac];return _0x51a240;},a35_0x4938(_0x5b0f72,_0x2fdb6d);}export default class FeatureManager{constructor(_0x2c1fc5){this['map']=_0x2c1fc5;}[a35_0x41d634(0x161)](_0x57c98d,_0x2e761b){const _0x2b9002=a35_0x41d634;if(_0x57c98d){const _0x5574b5=this[_0x2b9002(0x16f)][_0x2b9002(0x180)](_0x57c98d);if(!_0x5574b5||!_0x5574b5[_0x2b9002(0x163)])return;let _0x4684e4;switch(_0x5574b5['layerInfo'][_0x2b9002(0x179)]){case 0x1:_0x4684e4=this['getTempSelectedFeatures'](this[_0x2b9002(0x16f)]['getPointTempLayer'](),_0x57c98d,_0x2e761b);break;case 0x2:_0x4684e4=this[_0x2b9002(0x162)](this[_0x2b9002(0x16f)][_0x2b9002(0x17f)](),_0x57c98d,_0x2e761b);break;case 0x3:_0x4684e4=this['getTempSelectedFeatures'](this['map']['getPolygonTempLayer'](),_0x57c98d,_0x2e761b);break;default:break;}return _0x4684e4;}else{const _0x37a81=this[_0x2b9002(0x162)](this[_0x2b9002(0x16f)]['getPointTempLayer'](),_0x57c98d,_0x2e761b),_0x350eee=this[_0x2b9002(0x162)](this[_0x2b9002(0x16f)][_0x2b9002(0x17f)](),_0x57c98d,_0x2e761b),_0x2a1780=this[_0x2b9002(0x162)](this[_0x2b9002(0x16f)][_0x2b9002(0x16d)](),_0x57c98d,_0x2e761b);let _0x115dec=[];return _0x37a81&&(_0x115dec=[..._0x115dec,..._0x37a81]),_0x350eee&&(_0x115dec=[..._0x115dec,..._0x350eee]),_0x2a1780&&(_0x115dec=[..._0x115dec,..._0x2a1780]),_0x115dec;}}[a35_0x41d634(0x162)](_0x349964,_0x585341,_0x1defa2){const _0x268baa=a35_0x41d634;var _0x4068b3;let _0x150a13=(_0x4068b3=_0x349964[_0x268baa(0x16e)]())===null||_0x4068b3===void 0x0?void 0x0:_0x4068b3['getFeatures']();if(!_0x150a13)return;_0x150a13[_0x268baa(0x17c)]((_0x42cf15,_0x7a0efe,_0x1120e3)=>{_0x42cf15['tempLayer']=_0x349964;});_0x1defa2!=undefined&&(_0x150a13=_0x150a13[_0x268baa(0x166)](_0x9ea2d4=>_0x9ea2d4['isSelected']==_0x1defa2));if(_0x585341)return _0x150a13[_0x268baa(0x166)](_0x5ada05=>_0x5ada05[_0x268baa(0x17a)]==_0x585341);return _0x150a13;}[a35_0x41d634(0x174)](_0x4fc046,_0x354854=0x3){const _0x13659a=a35_0x41d634;var _0x19b7cb;let _0x47de93=new a35_0x486737({'zIndex':0x270f,'source':new a35_0x5300df()});_0x47de93['id']=_0x13659a(0x16c),this[_0x13659a(0x16f)][_0x13659a(0x167)](_0x47de93,![]),(_0x19b7cb=_0x47de93[_0x13659a(0x16e)]())===null||_0x19b7cb===void 0x0?void 0x0:_0x19b7cb['addFeatures'](_0x4fc046);let _0x409533=0x0,_0xc25603=setInterval(()=>{const _0x3daf2e=_0x13659a;if(_0x409533===_0x354854){_0xc25603&&clearInterval(_0xc25603);const _0x56d109=this['map'][_0x3daf2e(0x180)](_0x47de93['id']);_0x56d109&&this['map'][_0x3daf2e(0x178)](_0x56d109);return;}if(_0x47de93[_0x3daf2e(0x17d)]())_0x47de93[_0x3daf2e(0x171)](![]);else _0x47de93[_0x3daf2e(0x171)](!![]);_0x409533++;},0x190);}[a35_0x41d634(0x172)](_0x25f106,_0x4932d6=0x3){const _0x4be60c=a35_0x41d634;var _0x180fb4;let _0x271ced=new a35_0x486737({'zIndex':0x270f,'source':new a35_0x5300df()});_0x271ced['id']=_0x4be60c(0x16c),this[_0x4be60c(0x16f)][_0x4be60c(0x167)](_0x271ced,![]);let _0x367613=[];_0x25f106[_0x4be60c(0x17c)](_0x851b19=>{const _0x3d67d8=_0x4be60c;let _0x5d3ab0=new a35_0x5e568c();const _0x190cb5=getSelectStyle(_0x851b19['getType']());_0x5d3ab0[_0x3d67d8(0x175)](_0x190cb5),_0x5d3ab0[_0x3d67d8(0x160)](_0x851b19),_0x367613['push'](_0x5d3ab0);}),(_0x180fb4=_0x271ced[_0x4be60c(0x16e)]())===null||_0x180fb4===void 0x0?void 0x0:_0x180fb4[_0x4be60c(0x17e)](_0x367613);let _0x3ae104=0x0,_0x5f1640=setInterval(()=>{const _0x277033=_0x4be60c;if(_0x3ae104===_0x4932d6){_0x5f1640&&clearInterval(_0x5f1640);const _0x232e95=this[_0x277033(0x16f)][_0x277033(0x180)](_0x271ced['id']);_0x232e95&&this[_0x277033(0x16f)][_0x277033(0x178)](_0x232e95);return;}if(_0x271ced[_0x277033(0x17d)]())_0x271ced[_0x277033(0x171)](![]);else _0x271ced[_0x277033(0x171)](!![]);_0x3ae104++;},0x190);}async[a35_0x41d634(0x183)](_0x541ac7){const _0x1a5c26=a35_0x41d634;let _0x362cac=await toGeoJSON(_0x541ac7,null);if(!_0x362cac)return[];let _0x26b739=[];var _0x37e6e0=new a35_0x45400a();return _0x362cac[_0x1a5c26(0x17b)]['forEach'](_0x1b08b8=>{const _0x394eb8=_0x1a5c26;_0x26b739[_0x394eb8(0x165)](_0x37e6e0[_0x394eb8(0x16b)](_0x1b08b8,null));}),_0x26b739;}[a35_0x41d634(0x173)](_0x15f5a1){const _0x39e515=a35_0x41d634,_0x3759e3=this[_0x39e515(0x161)]();if(_0x3759e3&&_0x3759e3[_0x39e515(0x177)]>0x0)for(const _0x71f06e of _0x3759e3){if(_0x71f06e&&_0x71f06e[_0x39e515(0x15c)]){const _0x190cf0=_0x71f06e[_0x39e515(0x15c)][_0x39e515(0x16e)]();_0x190cf0&&(_0x15f5a1!=undefined?_0x71f06e[_0x39e515(0x181)]==_0x15f5a1&&_0x190cf0[_0x39e515(0x15d)](_0x71f06e):_0x190cf0['removeFeature'](_0x71f06e));}}}}
1
+ const a35_0x5398c3=a35_0x6632;(function(_0x54f8b3,_0x2a5401){const _0x98b6a6=a35_0x6632,_0x14549f=_0x54f8b3();while(!![]){try{const _0x24cfe8=parseInt(_0x98b6a6(0x1f1))/0x1+-parseInt(_0x98b6a6(0x1f5))/0x2+parseInt(_0x98b6a6(0x1f6))/0x3+parseInt(_0x98b6a6(0x1f2))/0x4*(parseInt(_0x98b6a6(0x1d5))/0x5)+parseInt(_0x98b6a6(0x1e1))/0x6+parseInt(_0x98b6a6(0x1eb))/0x7+-parseInt(_0x98b6a6(0x1de))/0x8*(parseInt(_0x98b6a6(0x1ed))/0x9);if(_0x24cfe8===_0x2a5401)break;else _0x14549f['push'](_0x14549f['shift']());}catch(_0x1a2037){_0x14549f['push'](_0x14549f['shift']());}}}(a35_0x2dc8,0xcc33e));import a35_0x542d8b from'../entity/Feature';import a35_0x5207c1 from'ol/layer/Vector';function a35_0x6632(_0x2beea6,_0x5bda82){const _0x2dc8fd=a35_0x2dc8();return a35_0x6632=function(_0x66320,_0x2842bd){_0x66320=_0x66320-0x1d0;let _0x20cbef=_0x2dc8fd[_0x66320];return _0x20cbef;},a35_0x6632(_0x2beea6,_0x5bda82);}import a35_0x3d7761 from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0x3f82d7 from'ol/format/GeoJSON';function a35_0x2dc8(){const _0x362fa7=['getSource','139930oHvvja','316NyzXEr','layerId','getSelectedFeatures','51696xhpXaK','2360388mfsxRD','readFeature','getVisible','addLayer','tag','addFeatures','flash_layer','removeLayer','19385wZvqOq','getTempSelectedFeatures','setStyle','push','getFeatures','filter','forEach','getLayerById','layerInfo','8qOMART','flashGeometrys','getPolygonTempLayer','9800976KFiEJW','features','setVisible','setGeometry','map','getPointTempLayer','flashFeatures','getType','geometryType','tempLayer','4294052ckZUef','isSelected','23559111jHPFps','removeFeature','kmlImport'];a35_0x2dc8=function(){return _0x362fa7;};return a35_0x2dc8();}import{getSelectStyle}from'../style/StyleManager';export default class FeatureManager{constructor(_0x27a607){const _0x12e6ce=a35_0x6632;this[_0x12e6ce(0x1e5)]=_0x27a607;}[a35_0x5398c3(0x1f4)](_0x24cbc9,_0x1b0cf3){const _0x145403=a35_0x5398c3;if(_0x24cbc9){const _0x4a0e09=this[_0x145403(0x1e5)][_0x145403(0x1dc)](_0x24cbc9);if(!_0x4a0e09||!_0x4a0e09[_0x145403(0x1dd)])return;let _0x32db43;switch(_0x4a0e09[_0x145403(0x1dd)][_0x145403(0x1e9)]){case 0x1:_0x32db43=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)][_0x145403(0x1e6)](),_0x24cbc9,_0x1b0cf3);break;case 0x2:_0x32db43=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)]['getLineTempLayer'](),_0x24cbc9,_0x1b0cf3);break;case 0x3:_0x32db43=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e0)](),_0x24cbc9,_0x1b0cf3);break;default:break;}return _0x32db43;}else{const _0x511db0=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e6)](),_0x24cbc9,_0x1b0cf3),_0x3e955b=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)]['getLineTempLayer'](),_0x24cbc9,_0x1b0cf3),_0x5bd9e3=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e0)](),_0x24cbc9,_0x1b0cf3);let _0x4b2f06=[];return _0x511db0&&(_0x4b2f06=[..._0x4b2f06,..._0x511db0]),_0x3e955b&&(_0x4b2f06=[..._0x4b2f06,..._0x3e955b]),_0x5bd9e3&&(_0x4b2f06=[..._0x4b2f06,..._0x5bd9e3]),_0x4b2f06;}}[a35_0x5398c3(0x1d6)](_0xe14140,_0x1d6854,_0x50b322){const _0x582946=a35_0x5398c3;var _0x140904;let _0x520769=(_0x140904=_0xe14140[_0x582946(0x1f0)]())===null||_0x140904===void 0x0?void 0x0:_0x140904[_0x582946(0x1d9)]();if(!_0x520769)return;_0x520769['forEach']((_0x47a255,_0x480dfb,_0x50d730)=>{const _0x2af672=_0x582946;_0x47a255[_0x2af672(0x1ea)]=_0xe14140;});_0x50b322!=undefined&&(_0x520769=_0x520769[_0x582946(0x1da)](_0x3ad292=>_0x3ad292[_0x582946(0x1ec)]==_0x50b322));if(_0x1d6854)return _0x520769['filter'](_0x27aa67=>_0x27aa67[_0x582946(0x1f3)]==_0x1d6854);return _0x520769;}[a35_0x5398c3(0x1e7)](_0x1869e6,_0x3a6882=0x3){const _0x5135f2=a35_0x5398c3;var _0x1abfde;let _0x4d5b7c=new a35_0x5207c1({'zIndex':0x270f,'source':new a35_0x3d7761()});_0x4d5b7c['id']='flash_layer',this[_0x5135f2(0x1e5)]['addLayer'](_0x4d5b7c,![]),(_0x1abfde=_0x4d5b7c['getSource']())===null||_0x1abfde===void 0x0?void 0x0:_0x1abfde[_0x5135f2(0x1d2)](_0x1869e6);let _0x253580=0x0,_0x30970b=setInterval(()=>{const _0x14bca0=_0x5135f2;if(_0x253580===_0x3a6882){_0x30970b&&clearInterval(_0x30970b);const _0x35ef02=this[_0x14bca0(0x1e5)][_0x14bca0(0x1dc)](_0x4d5b7c['id']);_0x35ef02&&this[_0x14bca0(0x1e5)][_0x14bca0(0x1d4)](_0x35ef02);return;}if(_0x4d5b7c[_0x14bca0(0x1f8)]())_0x4d5b7c[_0x14bca0(0x1e3)](![]);else _0x4d5b7c[_0x14bca0(0x1e3)](!![]);_0x253580++;},0x190);}[a35_0x5398c3(0x1df)](_0x581ce7,_0x32ef35=0x3){const _0x17e7bb=a35_0x5398c3;var _0x59a1a2;let _0x2c6247=new a35_0x5207c1({'zIndex':0x270f,'source':new a35_0x3d7761()});_0x2c6247['id']=_0x17e7bb(0x1d3),this[_0x17e7bb(0x1e5)][_0x17e7bb(0x1d0)](_0x2c6247,![]);let _0x25831a=[];_0x581ce7[_0x17e7bb(0x1db)](_0x4bcc71=>{const _0xfc0660=_0x17e7bb;let _0x3a5ae3=new a35_0x542d8b();const _0x86d623=getSelectStyle(_0x4bcc71[_0xfc0660(0x1e8)]());_0x3a5ae3[_0xfc0660(0x1d7)](_0x86d623),_0x3a5ae3[_0xfc0660(0x1e4)](_0x4bcc71),_0x25831a[_0xfc0660(0x1d8)](_0x3a5ae3);}),(_0x59a1a2=_0x2c6247['getSource']())===null||_0x59a1a2===void 0x0?void 0x0:_0x59a1a2['addFeatures'](_0x25831a);let _0x3358cd=0x0,_0xc75d85=setInterval(()=>{const _0x1cc73a=_0x17e7bb;if(_0x3358cd===_0x32ef35){_0xc75d85&&clearInterval(_0xc75d85);const _0x3bf791=this[_0x1cc73a(0x1e5)][_0x1cc73a(0x1dc)](_0x2c6247['id']);_0x3bf791&&this[_0x1cc73a(0x1e5)][_0x1cc73a(0x1d4)](_0x3bf791);return;}if(_0x2c6247['getVisible']())_0x2c6247[_0x1cc73a(0x1e3)](![]);else _0x2c6247[_0x1cc73a(0x1e3)](!![]);_0x3358cd++;},0x190);}async[a35_0x5398c3(0x1ef)](_0x45c83b){const _0x5aaecc=a35_0x5398c3;let _0x9c3254=await toGeoJSON(_0x45c83b,null);if(!_0x9c3254)return[];let _0xe58ffc=[];var _0x5c1339=new a35_0x3f82d7();return _0x9c3254[_0x5aaecc(0x1e2)][_0x5aaecc(0x1db)](_0x5a960d=>{const _0x814a0=_0x5aaecc;_0xe58ffc[_0x814a0(0x1d8)](_0x5c1339[_0x814a0(0x1f7)](_0x5a960d,null));}),_0xe58ffc;}['clearTempFeatures'](_0x1433bc){const _0x6ca4d4=a35_0x5398c3,_0x2474d6=this[_0x6ca4d4(0x1f4)]();if(_0x2474d6&&_0x2474d6['length']>0x0)for(const _0x47ba93 of _0x2474d6){if(_0x47ba93&&_0x47ba93[_0x6ca4d4(0x1ea)]){const _0x2285fe=_0x47ba93[_0x6ca4d4(0x1ea)][_0x6ca4d4(0x1f0)]();_0x2285fe&&(_0x1433bc!=undefined?_0x47ba93[_0x6ca4d4(0x1d1)]==_0x1433bc&&_0x2285fe[_0x6ca4d4(0x1ee)](_0x47ba93):_0x2285fe['removeFeature'](_0x47ba93));}}}}