ym-gis-2d 1.0.21 → 1.0.23

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/LegendControl.js.map +1 -1
  5. package/controls/MousePositionControl.js +1 -1
  6. package/controls/SwipeLayerControl.js +1 -1
  7. package/conver/kml/geoJSONToKml.js +1 -1
  8. package/conver/kml/index.js +1 -1
  9. package/conver/kml/kmlToGeoJSON.js +1 -1
  10. package/entity/Feature.js +1 -1
  11. package/entity/GeometryType.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.js +1 -1
  26. package/layers/LayerManager.js +1 -1
  27. package/layers/TDTLayer.js +1 -1
  28. package/mapView/Map.js +1 -1
  29. package/mapView/View.js +1 -1
  30. package/package.json +1 -1
  31. package/plot/Plot.js +1 -1
  32. package/plot/geometry/point/Point.js +1 -1
  33. package/plot/geometry/polygon/BasePolygon.js +1 -1
  34. package/plot/geometry/polygon/Circle.js +1 -1
  35. package/plot/geometry/polygon/Polygon.js +1 -1
  36. package/plot/geometry/polygon/RectAngle.js +1 -1
  37. package/plot/geometry/polyline/BaseLine.js +1 -1
  38. package/plot/geometry/polyline/Polyline.js +1 -1
  39. package/style/PointStyleFormat.js +1 -1
  40. package/style/PolygonStyleFormat.js +1 -1
  41. package/style/PolylineStyleFormat.js +1 -1
  42. package/style/StyleManager.js +1 -1
  43. package/style/common.js +1 -1
  44. package/utils/ArrayUtil.js +1 -1
  45. package/utils/AxiosUtil.js +1 -1
  46. package/utils/EsriUtil.js +1 -1
  47. package/utils/GeometryUtil.d.ts.map +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/GeometryUtil.js.map +1 -1
  50. package/utils/LayerUtil.js +1 -1
  51. package/utils/RegisterProjUtil.js +1 -1
  52. package/utils/ResolutionUtil.js +1 -1
  53. package/utils/StringUtil.js +1 -1
  54. package/utils/StyleUtil.js +1 -1
  55. package/utils/UrlUtil.js +1 -1
  56. package/utils/XmlUtil.js +1 -1
  57. package/utils/format/CQL.js +1 -1
  58. package/utils/format/IsMatchCql.js +1 -1
  59. package/utils/plug/canvas/ImageCache.js +1 -1
  60. package/utils/plug/canvas/PinBuilder.js +1 -1
  61. package/utils/plug/canvas/PinIcon.js +1 -1
  62. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  63. package/utils/tasks/esri/Identify.js +1 -1
  64. package/utils/tasks/esri/Query.js +1 -1
  65. package/utils/tasks/esri/Task.js +1 -1
  66. package/utils/tasks/geoserver/QueryTask.js +1 -1
  67. package/utils/tasks/index.js +1 -1
  68. package/ym-gis-2d.es.js +1 -1
  69. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a50_0x11232b=a50_0x55e3;(function(_0x1aab4c,_0x32087f){const _0x478e58=a50_0x55e3,_0x5e4d34=_0x1aab4c();while(!![]){try{const _0x175e7f=-parseInt(_0x478e58(0x10b))/0x1+-parseInt(_0x478e58(0x110))/0x2+-parseInt(_0x478e58(0x106))/0x3+-parseInt(_0x478e58(0x108))/0x4+-parseInt(_0x478e58(0x105))/0x5*(parseInt(_0x478e58(0x111))/0x6)+parseInt(_0x478e58(0x107))/0x7+parseInt(_0x478e58(0x102))/0x8*(parseInt(_0x478e58(0x112))/0x9);if(_0x175e7f===_0x32087f)break;else _0x5e4d34['push'](_0x5e4d34['shift']());}catch(_0x367841){_0x5e4d34['push'](_0x5e4d34['shift']());}}}(a50_0x1bb7,0x5aeb6));import a50_0x44b719 from'./ArcgisDynamicLayer';import a50_0x46c18e from'./ArcgisFeatureLayer';import a50_0x40899c from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0x143324 from'./ArcgisTileLayer';import a50_0x4123f5 from'./GeoserverWMSLayer';import a50_0x466ae0 from'./GeoserverWMTSLayer';import a50_0x59b9fd from'./ArcgisWMSLayer';import a50_0x9aa3c6 from'./ArcgisWMTSLayer';function a50_0x55e3(_0x30e4f4,_0x302f1f){const _0x1bb79e=a50_0x1bb7();return a50_0x55e3=function(_0x55e330,_0x20cd19){_0x55e330=_0x55e330-0x102;let _0xd2f7cf=_0x1bb79e[_0x55e330];return _0xd2f7cf;},a50_0x55e3(_0x30e4f4,_0x302f1f);}import a50_0x3727c4 from'./GeoserverWFSLayer';import a50_0x27b157 from'./GeoserverVectorTile';function a50_0x1bb7(){const _0x5868b2=['getGeoserverVectorTileLayer','getGeoserverWMTSLayer','sublayers','getArcgisWmsLayer','80ybMHmg','getArcgisFeatureLayer','length','28480NXUtHv','1545378lRmmPA','1955191IKYEbh','1737160tFaxnw','push','getGeoserverWFSLayer','82445ESiEvI','url','getArcgisWMTSLayer','getTDTLayer','getArcgisTileLayer','1364564TUGsLi','114rRWlGs','1723914ZaZuLe'];a50_0x1bb7=function(){return _0x5868b2;};return a50_0x1bb7();}export default class LayerManagement{static async['getDynamicLayer'](_0x2a000f){const _0x30730b=a50_0x55e3,_0x458a91=await getDynamicLayerInfo(_0x2a000f['url']?_0x2a000f[_0x30730b(0x10c)]:'');let _0x39e859=new a50_0x44b719(_0x2a000f,_0x458a91);return _0x39e859;}static async[a50_0x11232b(0x10f)](_0x22b25b){const _0x3fea8a=a50_0x11232b,_0x59c2e9=await getDynamicLayerInfo(_0x22b25b[_0x3fea8a(0x10c)]?_0x22b25b[_0x3fea8a(0x10c)]:'');let _0x15d792=new a50_0x143324(_0x22b25b,_0x59c2e9);return _0x15d792;}static async[a50_0x11232b(0x103)](_0x463c39){const _0x5b08c9=a50_0x11232b,_0x5da341=await getDynamicLayerInfo(_0x463c39[_0x5b08c9(0x10c)]?_0x463c39[_0x5b08c9(0x10c)]:'');let _0x24a494=[];if(_0x463c39['sublayers'])for(let _0x3dfa2c=0x0;_0x3dfa2c<_0x463c39[_0x5b08c9(0x115)][_0x5b08c9(0x104)];_0x3dfa2c++){const _0x262ca3=_0x463c39[_0x5b08c9(0x115)][_0x3dfa2c];_0x24a494[_0x5b08c9(0x109)](await getFeatureLayerInfo(_0x463c39['url']?_0x463c39[_0x5b08c9(0x10c)]:'',_0x262ca3));}let _0x2e3010=new a50_0x46c18e(_0x463c39,_0x5da341,_0x24a494);return _0x2e3010;}static async[a50_0x11232b(0x116)](_0x5294e0){const _0x5734f1=a50_0x11232b;var _0x5d8495;const _0x52352b=(_0x5d8495=_0x5294e0[_0x5734f1(0x115)])===null||_0x5d8495===void 0x0?void 0x0:_0x5d8495[0x0],_0x15a56f=await getWMSLayerCapabilities(_0x5294e0[_0x5734f1(0x10c)]?_0x5294e0[_0x5734f1(0x10c)]:'',_0x52352b==null?'':_0x52352b);let _0x4d2bc9=new a50_0x59b9fd(_0x5294e0,_0x15a56f);return _0x4d2bc9;}static async[a50_0x11232b(0x10d)](_0x4b52d5){const _0x1bdc7e=a50_0x11232b;var _0x578d0e;const _0x17c66f=(_0x578d0e=_0x4b52d5['sublayers'])===null||_0x578d0e===void 0x0?void 0x0:_0x578d0e[0x0],_0x446153=await getWMTSLayerCapabilities(_0x4b52d5[_0x1bdc7e(0x10c)]?_0x4b52d5[_0x1bdc7e(0x10c)]:'',_0x17c66f==null?'':_0x17c66f);let _0xd79d43=new a50_0x9aa3c6(_0x4b52d5,_0x446153);return _0xd79d43;}static async['getGeoserverWmsLayer'](_0x55e73e){const _0x1c9f16=a50_0x11232b;var _0x13ef04;const _0x10efff=(_0x13ef04=_0x55e73e[_0x1c9f16(0x115)])===null||_0x13ef04===void 0x0?void 0x0:_0x13ef04[0x0],_0x51bf36=await getWMSLayerCapabilities(_0x55e73e[_0x1c9f16(0x10c)]?_0x55e73e[_0x1c9f16(0x10c)]:'',_0x10efff==null?'':_0x10efff);let _0x2a6105=new a50_0x4123f5(_0x55e73e,_0x51bf36);return _0x2a6105;}static async[a50_0x11232b(0x114)](_0x30cbf4){const _0x4ce553=a50_0x11232b;var _0xd98e85;const _0x53787c=(_0xd98e85=_0x30cbf4[_0x4ce553(0x115)])===null||_0xd98e85===void 0x0?void 0x0:_0xd98e85[0x0],_0x5bb15f=await getWMTSLayerCapabilities(_0x30cbf4[_0x4ce553(0x10c)]?_0x30cbf4[_0x4ce553(0x10c)]:'',_0x53787c==null?'':_0x53787c);let _0x4730e4=new a50_0x466ae0(_0x30cbf4,_0x5bb15f);return _0x4730e4;}static async[a50_0x11232b(0x10a)](_0x1020b2){const _0x2679a6=a50_0x11232b;var _0x6f4496;const _0xd845d5=(_0x6f4496=_0x1020b2[_0x2679a6(0x115)])===null||_0x6f4496===void 0x0?void 0x0:_0x6f4496[0x0],_0x5581ac=await getWFSLayerCapabilities(_0x1020b2[_0x2679a6(0x10c)]?_0x1020b2['url']:'',_0xd845d5==null?'':_0xd845d5);let _0x4321a6=new a50_0x3727c4(_0x1020b2,_0x5581ac);return _0x4321a6;}static async[a50_0x11232b(0x113)](_0x387f88){const _0x4cb62f=a50_0x11232b;var _0x5bcf85;const _0x1f06eb=(_0x5bcf85=_0x387f88[_0x4cb62f(0x115)])===null||_0x5bcf85===void 0x0?void 0x0:_0x5bcf85[0x0],_0xe6c749=await getWMTSLayerCapabilities(_0x387f88[_0x4cb62f(0x10c)]?_0x387f88[_0x4cb62f(0x10c)]:'',_0x1f06eb==null?'':_0x1f06eb);let _0x229f72=new a50_0x27b157(_0x387f88,_0xe6c749);return _0x229f72;}static async[a50_0x11232b(0x10e)](_0x411cfc){const _0x380cd4=a50_0x11232b;var _0x1319fe;const _0x246458=(_0x1319fe=_0x411cfc['sublayers'])===null||_0x1319fe===void 0x0?void 0x0:_0x1319fe[0x0],_0x320343=await getWMTSLayerCapabilities(_0x411cfc[_0x380cd4(0x10c)]?_0x411cfc[_0x380cd4(0x10c)]:'',_0x246458==null?'':_0x246458);let _0x5c5c53=new a50_0x40899c(_0x411cfc,_0x320343);return _0x5c5c53;}}
1
+ function a50_0x3942(){const _0x1a0693=['378810yvgnYy','68615xzJfUj','280EqvMoX','4DrKgEq','263170JtbiVv','getTDTLayer','getArcgisTileLayer','getGeoserverWMTSLayer','8upkDvi','url','10524nTvlki','1378025xOJUBr','9rDezeS','getGeoserverWFSLayer','2100528hKyRmg','sublayers','1877729HeMLwt','length','getGeoserverVectorTileLayer','getGeoserverWmsLayer'];a50_0x3942=function(){return _0x1a0693;};return a50_0x3942();}const a50_0x186e89=a50_0x147e;(function(_0x3f82a0,_0x42d64d){const _0x5a4394=a50_0x147e,_0x2f6a38=_0x3f82a0();while(!![]){try{const _0x5e3b95=-parseInt(_0x5a4394(0x1d9))/0x1*(parseInt(_0x5a4394(0x1db))/0x2)+-parseInt(_0x5a4394(0x1ce))/0x3*(parseInt(_0x5a4394(0x1da))/0x4)+parseInt(_0x5a4394(0x1d8))/0x5+parseInt(_0x5a4394(0x1d2))/0x6+-parseInt(_0x5a4394(0x1d4))/0x7*(-parseInt(_0x5a4394(0x1cc))/0x8)+-parseInt(_0x5a4394(0x1d0))/0x9*(-parseInt(_0x5a4394(0x1dc))/0xa)+-parseInt(_0x5a4394(0x1cf))/0xb;if(_0x5e3b95===_0x42d64d)break;else _0x2f6a38['push'](_0x2f6a38['shift']());}catch(_0x5022c6){_0x2f6a38['push'](_0x2f6a38['shift']());}}}(a50_0x3942,0x33d7d));import a50_0x2d4ebd from'./ArcgisDynamicLayer';import a50_0x55ff7 from'./ArcgisFeatureLayer';import a50_0xde12c6 from'./TDTLayer';import{getDynamicLayerInfo,getWMTSLayerCapabilities,getFeatureLayerInfo,getWMSLayerCapabilities,getWFSLayerCapabilities}from'../capabilities';import a50_0xdb9580 from'./ArcgisTileLayer';import a50_0x26ca60 from'./GeoserverWMSLayer';import a50_0x5ae3d0 from'./GeoserverWMTSLayer';import a50_0x311140 from'./ArcgisWMSLayer';import a50_0xe257e8 from'./ArcgisWMTSLayer';import a50_0x1718d0 from'./GeoserverWFSLayer';function a50_0x147e(_0x3aeef0,_0x2a09f3){const _0x3942ef=a50_0x3942();return a50_0x147e=function(_0x147e6e,_0x79fcba){_0x147e6e=_0x147e6e-0x1cc;let _0x564191=_0x3942ef[_0x147e6e];return _0x564191;},a50_0x147e(_0x3aeef0,_0x2a09f3);}import a50_0x37cc97 from'./GeoserverVectorTile';export default class LayerManagement{static async['getDynamicLayer'](_0x105136){const _0x56e58f=a50_0x147e,_0xc449f5=await getDynamicLayerInfo(_0x105136[_0x56e58f(0x1cd)]?_0x105136[_0x56e58f(0x1cd)]:'');let _0x47cf86=new a50_0x2d4ebd(_0x105136,_0xc449f5);return _0x47cf86;}static async[a50_0x186e89(0x1de)](_0x479dc5){const _0x3dab7c=a50_0x186e89,_0x2154ef=await getDynamicLayerInfo(_0x479dc5[_0x3dab7c(0x1cd)]?_0x479dc5[_0x3dab7c(0x1cd)]:'');let _0x34cdfb=new a50_0xdb9580(_0x479dc5,_0x2154ef);return _0x34cdfb;}static async['getArcgisFeatureLayer'](_0xf2073f){const _0x33f142=a50_0x186e89,_0x3bf244=await getDynamicLayerInfo(_0xf2073f[_0x33f142(0x1cd)]?_0xf2073f[_0x33f142(0x1cd)]:'');let _0x1b37a1=[];if(_0xf2073f[_0x33f142(0x1d3)])for(let _0x65c91a=0x0;_0x65c91a<_0xf2073f[_0x33f142(0x1d3)][_0x33f142(0x1d5)];_0x65c91a++){const _0x34e69c=_0xf2073f[_0x33f142(0x1d3)][_0x65c91a];_0x1b37a1['push'](await getFeatureLayerInfo(_0xf2073f[_0x33f142(0x1cd)]?_0xf2073f['url']:'',_0x34e69c));}let _0x171243=new a50_0x55ff7(_0xf2073f,_0x3bf244,_0x1b37a1);return _0x171243;}static async['getArcgisWmsLayer'](_0x14bc31){const _0x7833de=a50_0x186e89;var _0x2bf881;const _0x37194a=(_0x2bf881=_0x14bc31[_0x7833de(0x1d3)])===null||_0x2bf881===void 0x0?void 0x0:_0x2bf881[0x0],_0x33f84f=await getWMSLayerCapabilities(_0x14bc31[_0x7833de(0x1cd)]?_0x14bc31[_0x7833de(0x1cd)]:'',_0x37194a==null?'':_0x37194a);let _0x513748=new a50_0x311140(_0x14bc31,_0x33f84f);return _0x513748;}static async['getArcgisWMTSLayer'](_0x43e544){const _0x1f813e=a50_0x186e89;var _0x1a4da0;const _0x212375=(_0x1a4da0=_0x43e544['sublayers'])===null||_0x1a4da0===void 0x0?void 0x0:_0x1a4da0[0x0],_0x3fe02b=await getWMTSLayerCapabilities(_0x43e544['url']?_0x43e544[_0x1f813e(0x1cd)]:'',_0x212375==null?'':_0x212375);let _0xbf272c=new a50_0xe257e8(_0x43e544,_0x3fe02b);return _0xbf272c;}static async[a50_0x186e89(0x1d7)](_0x49107e){const _0x496152=a50_0x186e89;var _0x11046;const _0xa43b69=(_0x11046=_0x49107e[_0x496152(0x1d3)])===null||_0x11046===void 0x0?void 0x0:_0x11046[0x0],_0x3eca3f=await getWMSLayerCapabilities(_0x49107e[_0x496152(0x1cd)]?_0x49107e['url']:'',_0xa43b69==null?'':_0xa43b69);let _0x4e9cc6=new a50_0x26ca60(_0x49107e,_0x3eca3f);return _0x4e9cc6;}static async[a50_0x186e89(0x1df)](_0x1bacb3){const _0x488e27=a50_0x186e89;var _0x4b6af3;const _0x18d7e2=(_0x4b6af3=_0x1bacb3[_0x488e27(0x1d3)])===null||_0x4b6af3===void 0x0?void 0x0:_0x4b6af3[0x0],_0x4579c2=await getWMTSLayerCapabilities(_0x1bacb3['url']?_0x1bacb3['url']:'',_0x18d7e2==null?'':_0x18d7e2);let _0x54aa34=new a50_0x5ae3d0(_0x1bacb3,_0x4579c2);return _0x54aa34;}static async[a50_0x186e89(0x1d1)](_0x1b4f17){const _0x51f44=a50_0x186e89;var _0x4fdb79;const _0x1f1878=(_0x4fdb79=_0x1b4f17[_0x51f44(0x1d3)])===null||_0x4fdb79===void 0x0?void 0x0:_0x4fdb79[0x0],_0x362c65=await getWFSLayerCapabilities(_0x1b4f17['url']?_0x1b4f17[_0x51f44(0x1cd)]:'',_0x1f1878==null?'':_0x1f1878);let _0x4fd940=new a50_0x1718d0(_0x1b4f17,_0x362c65);return _0x4fd940;}static async[a50_0x186e89(0x1d6)](_0x4e80c2){const _0xa9c29b=a50_0x186e89;var _0x3bbe7e;const _0x192b99=(_0x3bbe7e=_0x4e80c2[_0xa9c29b(0x1d3)])===null||_0x3bbe7e===void 0x0?void 0x0:_0x3bbe7e[0x0],_0x4b8d7a=await getWMTSLayerCapabilities(_0x4e80c2[_0xa9c29b(0x1cd)]?_0x4e80c2['url']:'',_0x192b99==null?'':_0x192b99);let _0x2ec168=new a50_0x37cc97(_0x4e80c2,_0x4b8d7a);return _0x2ec168;}static async[a50_0x186e89(0x1dd)](_0x1bb29f){const _0x2e3ad8=a50_0x186e89;var _0x2e5a0c;const _0x2117c9=(_0x2e5a0c=_0x1bb29f[_0x2e3ad8(0x1d3)])===null||_0x2e5a0c===void 0x0?void 0x0:_0x2e5a0c[0x0],_0x18b0b5=await getWMTSLayerCapabilities(_0x1bb29f[_0x2e3ad8(0x1cd)]?_0x1bb29f[_0x2e3ad8(0x1cd)]:'',_0x2117c9==null?'':_0x2117c9);let _0xc29c79=new a50_0xde12c6(_0x1bb29f,_0x18b0b5);return _0xc29c79;}}
@@ -1 +1 @@
1
- (function(_0x45e5f5,_0x3fb5cd){const _0x467862=a51_0x30b8,_0xfdf29f=_0x45e5f5();while(!![]){try{const _0x5e91fa=-parseInt(_0x467862(0x15c))/0x1*(-parseInt(_0x467862(0x171))/0x2)+parseInt(_0x467862(0x15e))/0x3*(parseInt(_0x467862(0x15f))/0x4)+parseInt(_0x467862(0x167))/0x5+parseInt(_0x467862(0x160))/0x6*(-parseInt(_0x467862(0x164))/0x7)+parseInt(_0x467862(0x173))/0x8*(-parseInt(_0x467862(0x166))/0x9)+-parseInt(_0x467862(0x170))/0xa+parseInt(_0x467862(0x15b))/0xb;if(_0x5e91fa===_0x3fb5cd)break;else _0xfdf29f['push'](_0xfdf29f['shift']());}catch(_0x3a2867){_0xfdf29f['push'](_0xfdf29f['shift']());}}}(a51_0x3ed2,0x75078));import a51_0x1cc431 from'ol/layer/Tile';import{WMTS as a51_0x2d7786}from'ol/source';import a51_0xe7f6a0 from'ol/tilegrid/WMTS';function a51_0x3ed2(){const _0x5417f5=['168687XSlqJe','1707380xNthnE','EPSG:4490','projection','tileMatrixSet','format','style','mapIndex','url','initialExtent','2345050ibvfRa','112ErESIM','layerInfo','224yWTyIm','opacity','KVP','2065569WOHjTW','12914VRblnk','join','1686vEzJST','6248hBzRva','5349732sfNbxe','boundingBoxExtent','length','1.0.0','7nFUIvN','sublayers'];a51_0x3ed2=function(){return _0x5417f5;};return a51_0x3ed2();}import{registerProj}from'../utils/RegisterProjUtil';function a51_0x30b8(_0xb9b7c0,_0x190bca){const _0x3ed2e4=a51_0x3ed2();return a51_0x30b8=function(_0x30b851,_0x36f6c6){_0x30b851=_0x30b851-0x15b;let _0xe7744d=_0x3ed2e4[_0x30b851];return _0xe7744d;},a51_0x30b8(_0xb9b7c0,_0x190bca);}import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x1cc431{constructor(_0x53dac0,_0x4d06da){const _0x167745=a51_0x30b8;let _0x5cd81a='';_0x53dac0[_0x167745(0x165)]&&_0x53dac0[_0x167745(0x165)][_0x167745(0x162)]>0x0&&(_0x5cd81a=_0x53dac0[_0x167745(0x165)][_0x167745(0x15d)](','));const _0x81ef48=_0x167745(0x168);let _0x195adc=registerProj(_0x81ef48);const _0x30e462=[],_0x3c41b0=[];for(let _0x9981c5=0x1;_0x9981c5<0x13;_0x9981c5++){_0x30e462[_0x9981c5]=getWidth(_0x4d06da['boundingBoxExtent'])/(0x100*Math['pow'](0x2,_0x9981c5)),_0x3c41b0[_0x9981c5]=_0x9981c5+'';}super({'opacity':_0x53dac0[_0x167745(0x174)],'zIndex':_0x53dac0[_0x167745(0x16d)],'source':new a51_0x2d7786({'style':_0x4d06da[_0x167745(0x16c)],'url':_0x53dac0[_0x167745(0x16e)],'tileGrid':new a51_0xe7f6a0({'origin':getTopLeft(_0x4d06da[_0x167745(0x161)]),'resolutions':_0x30e462,'matrixIds':_0x3c41b0}),'layer':_0x5cd81a,'matrixSet':_0x4d06da[_0x167745(0x16a)],'version':_0x167745(0x163),'format':_0x4d06da[_0x167745(0x16b)][0x0],'projection':_0x81ef48,'requestEncoding':_0x167745(0x175)})}),this['id']=_0x53dac0['id'],this[_0x167745(0x16f)]=_0x4d06da[_0x167745(0x161)],this[_0x167745(0x169)]=_0x195adc,this[_0x167745(0x172)]=_0x53dac0;}}
1
+ function a51_0x40e8(_0x238de1,_0x410079){const _0xff304a=a51_0xff30();return a51_0x40e8=function(_0x40e856,_0x3cf8ed){_0x40e856=_0x40e856-0x186;let _0x2b5784=_0xff304a[_0x40e856];return _0x2b5784;},a51_0x40e8(_0x238de1,_0x410079);}(function(_0x424b66,_0x4a0d9a){const _0x5af31f=a51_0x40e8,_0x4f0b4b=_0x424b66();while(!![]){try{const _0x5ec752=parseInt(_0x5af31f(0x19d))/0x1*(-parseInt(_0x5af31f(0x186))/0x2)+parseInt(_0x5af31f(0x198))/0x3*(parseInt(_0x5af31f(0x18c))/0x4)+parseInt(_0x5af31f(0x199))/0x5+-parseInt(_0x5af31f(0x196))/0x6+-parseInt(_0x5af31f(0x192))/0x7*(-parseInt(_0x5af31f(0x18f))/0x8)+parseInt(_0x5af31f(0x18a))/0x9*(parseInt(_0x5af31f(0x19a))/0xa)+parseInt(_0x5af31f(0x190))/0xb*(-parseInt(_0x5af31f(0x19b))/0xc);if(_0x5ec752===_0x4a0d9a)break;else _0x4f0b4b['push'](_0x4f0b4b['shift']());}catch(_0x423d95){_0x4f0b4b['push'](_0x4f0b4b['shift']());}}}(a51_0xff30,0x57fa4));import a51_0x45b5f7 from'ol/layer/Tile';import{WMTS as a51_0x54168e}from'ol/source';import a51_0x3d2dd4 from'ol/tilegrid/WMTS';function a51_0xff30(){const _0xa61721=['opacity','url','916362QdLXoI','layerInfo','5452akhFfT','mapIndex','KVP','1365624fofwTG','447051cHrHkU','style','28YyDkZK','format','projection','tileMatrixSet','2058138Nsfdph','length','246NpEYpK','2457095oXiidE','40AqWNNK','108TyqIIg','EPSG:4490','17FTDKeb','1.0.0','boundingBoxExtent','initialExtent','sublayers','73426urDwPT','join'];a51_0xff30=function(){return _0xa61721;};return a51_0xff30();}import{registerProj}from'../utils/RegisterProjUtil';import{getWidth,getTopLeft}from'ol/extent';export default class TDTLayer extends a51_0x45b5f7{constructor(_0x560ca8,_0x27d06b){const _0x1ae5a3=a51_0x40e8;let _0x55ba1a='';_0x560ca8[_0x1ae5a3(0x1a1)]&&_0x560ca8[_0x1ae5a3(0x1a1)][_0x1ae5a3(0x197)]>0x0&&(_0x55ba1a=_0x560ca8[_0x1ae5a3(0x1a1)][_0x1ae5a3(0x187)](','));const _0x53709f=_0x1ae5a3(0x19c);let _0x2cf75b=registerProj(_0x53709f);const _0x464283=[],_0x1cb255=[];for(let _0x2f2a2d=0x1;_0x2f2a2d<0x13;_0x2f2a2d++){_0x464283[_0x2f2a2d]=getWidth(_0x27d06b[_0x1ae5a3(0x19f)])/(0x100*Math['pow'](0x2,_0x2f2a2d)),_0x1cb255[_0x2f2a2d]=_0x2f2a2d+'';}super({'opacity':_0x560ca8[_0x1ae5a3(0x188)],'zIndex':_0x560ca8[_0x1ae5a3(0x18d)],'source':new a51_0x54168e({'style':_0x27d06b[_0x1ae5a3(0x191)],'url':_0x560ca8[_0x1ae5a3(0x189)],'tileGrid':new a51_0x3d2dd4({'origin':getTopLeft(_0x27d06b[_0x1ae5a3(0x19f)]),'resolutions':_0x464283,'matrixIds':_0x1cb255}),'layer':_0x55ba1a,'matrixSet':_0x27d06b[_0x1ae5a3(0x195)],'version':_0x1ae5a3(0x19e),'format':_0x27d06b[_0x1ae5a3(0x193)][0x0],'projection':_0x53709f,'requestEncoding':_0x1ae5a3(0x18e)})}),this['id']=_0x560ca8['id'],this[_0x1ae5a3(0x1a0)]=_0x27d06b['boundingBoxExtent'],this[_0x1ae5a3(0x194)]=_0x2cf75b,this[_0x1ae5a3(0x18b)]=_0x560ca8;}}
package/mapView/Map.js CHANGED
@@ -1 +1 @@
1
- const a52_0x118347=a52_0x3bfb;(function(_0x3ea82b,_0x58fe00){const _0x46676e=a52_0x3bfb,_0x79f36=_0x3ea82b();while(!![]){try{const _0x3711c4=parseInt(_0x46676e(0xc3))/0x1*(-parseInt(_0x46676e(0xc0))/0x2)+-parseInt(_0x46676e(0xb1))/0x3*(-parseInt(_0x46676e(0xb0))/0x4)+-parseInt(_0x46676e(0xdf))/0x5*(-parseInt(_0x46676e(0x8c))/0x6)+parseInt(_0x46676e(0xc7))/0x7*(parseInt(_0x46676e(0xe8))/0x8)+parseInt(_0x46676e(0x9c))/0x9+-parseInt(_0x46676e(0x9b))/0xa+parseInt(_0x46676e(0x8f))/0xb*(-parseInt(_0x46676e(0xc4))/0xc);if(_0x3711c4===_0x58fe00)break;else _0x79f36['push'](_0x79f36['shift']());}catch(_0x8940e6){_0x79f36['push'](_0x79f36['shift']());}}}(a52_0x7e79,0xe7a51));import'ol/ol.css';function a52_0x3bfb(_0x3a932c,_0x147f7a){const _0x7e796a=a52_0x7e79();return a52_0x3bfb=function(_0x3bfbe5,_0x3e1d0a){_0x3bfbe5=_0x3bfbe5-0x84;let _0x23e0a2=_0x7e796a[_0x3bfbe5];return _0x23e0a2;},a52_0x3bfb(_0x3a932c,_0x147f7a);}function a52_0x7e79(){const _0x5e0a71=['center','getMetersPerUnit','locationGeometry','addMapLayer','getLayers','setMinResolution','MultiPoint','getTDTLayer','interactionManager','LineString','addWKT','locationWKT','5728325wHZMBT','getLineTempLayer','setProjection','removeLayerById','sortTemLayer','add','getMinZoom','getGeoserverWMTSLayer','getSize','72BFfFSW','addLayer','zoom','push','maxZoom','getSource','getLayerById','locationWKTs','minScale','initialExtent','includes','Polygon','暂不支持【','6lHojse','polygonTempLayer','getExtent','33lcUkIY','getArcgisFeatureLayer','getArcgisTileLayer','layerInfo','rgba(255,\x200,\x200,\x200.2)','fit','geoserver-wms','insertAt','getLayerByLayerTag','setCenter','getDynamicLayer','changelayer','11188350qjHJzF','10990215QUSUWy','getPolygonTempLayer','geoserver-wmts','getPointTempLayer','length','getCode','getProjection','getTempLayerById','filter','MultiLineString','getGeoserverWmsLayer','resetViewProjection','maxResolution','arcgis-dynamic','import','addMapLayers','maxScale','minZoom','setGeometry','remove','492iqJBdu','22449eGBjZQ','tag','getTempLayerByGeoType','fromType','transform','getLayersByIds','getGeoserverWFSLayer','locationGeometrys','lineTempLayer','geoserver-vector-tile','GeometryCollection','getArray','pointTempLayer','setMaxResolution','getView','6100taCRyF','layerIds','geoserver-wfs','486PmVFMY','5517696fIEOow','arcgis-wms','fitLayer','1277241oUmJfs','setStyle','projection','rgba(255,\x200,\x200,\x201)','Point','tdt-c','constrainResolution','MultiPolygon','getType','dispatchEvent','_options','layerType'];a52_0x7e79=function(){return _0x5e0a71;};return a52_0x7e79();}import'../assets/main.css';import a52_0x2b5026 from'ol/Map';import a52_0x43864e from'ol/events/Event';import{defaults as a52_0x208f94}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1145c8 from'../layers/LayerManager';import a52_0x965aeb from'ol/layer/Vector';import a52_0x1d4aa4 from'ol/source/Vector';import a52_0x59cbce from'../controls/ControlManager';import a52_0x1a9393 from'../entity/Feature';import a52_0x575dce from'../interaction/InteractionManager';import a52_0x372fa5 from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0x99b79d from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x43864e{constructor(_0x4ff7d4,_0x23cd78,_0x6a57fb){const _0x1ba68b=a52_0x3bfb;super(_0x4ff7d4),this[_0x1ba68b(0xc1)]=_0x23cd78,this['changetype']=_0x6a57fb;}}export default class OLMap extends a52_0x2b5026{constructor(_0x70d9de,_0x2bfa3e,_0x19f75e){const _0x372ce7=a52_0x3bfb;_0x2bfa3e=_0x2bfa3e?_0x2bfa3e:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x1fcfa1=_0x2bfa3e[_0x372ce7(0xc9)]?'EPSG:'+_0x2bfa3e[_0x372ce7(0xc9)]:'EPSG:4490';_0x2bfa3e[_0x372ce7(0xea)]=_0x2bfa3e['zoom']?_0x2bfa3e[_0x372ce7(0xea)]:0xa,_0x2bfa3e[_0x372ce7(0xad)]=_0x2bfa3e[_0x372ce7(0xad)]?_0x2bfa3e[_0x372ce7(0xad)]:0x0,_0x2bfa3e['maxZoom']=_0x2bfa3e['maxZoom']?_0x2bfa3e[_0x372ce7(0xec)]:0x1c,_0x2bfa3e[_0x372ce7(0xcd)]=_0x2bfa3e['constrainResolution']?_0x2bfa3e[_0x372ce7(0xcd)]:![],_0x2bfa3e['center']=_0x2bfa3e[_0x372ce7(0xd3)]?_0x2bfa3e[_0x372ce7(0xd3)]:[117.22718,31.820386],registerProj(_0x1fcfa1);const _0x6efd0c={'target':_0x70d9de,'view':_0x19f75e?_0x19f75e:new a52_0x372fa5({'center':_0x2bfa3e[_0x372ce7(0xd3)],'zoom':_0x2bfa3e[_0x372ce7(0xea)],'projection':_0x1fcfa1,'minZoom':_0x2bfa3e[_0x372ce7(0xad)],'maxZoom':_0x2bfa3e[_0x372ce7(0xec)],'minResolution':_0x2bfa3e['minResolution'],'maxResolution':_0x2bfa3e[_0x372ce7(0xa8)],'constrainResolution':_0x2bfa3e[_0x372ce7(0xcd)]}),'controls':a52_0x208f94({'zoom':![]})};super(_0x6efd0c),_0x2bfa3e['extent']&&this[_0x372ce7(0xbf)]()['fit'](_0x2bfa3e['extent']),this[_0x372ce7(0xdb)]=new a52_0x575dce(this),this['controlManager']=new a52_0x59cbce(this),this[_0x372ce7(0xd1)]=_0x2bfa3e;}[a52_0x118347(0xbf)](){const _0x401f1c=a52_0x118347;return super[_0x401f1c(0xbf)]();}[a52_0x118347(0xc6)](_0x3b0fd0){const _0x106e26=a52_0x118347;var _0x112927;this['getView']()[_0x106e26(0x94)](transformExtent(_0x3b0fd0[_0x106e26(0x88)],(_0x112927=_0x3b0fd0[_0x106e26(0xc9)])===null||_0x112927===void 0x0?void 0x0:_0x112927[_0x106e26(0xa1)](),this[_0x106e26(0xbf)]()[_0x106e26(0xa2)]()[_0x106e26(0xa1)]()));}['fitLayerById'](_0x16e481){const _0x3cb307=a52_0x118347;let _0x3d7007=this[_0x3cb307(0x85)](_0x16e481);_0x3d7007&&this['fitLayer'](_0x3d7007);}async['addMapLayer'](_0x32307e){const _0x25a058=a52_0x118347;let _0x4a48d3;switch(_0x32307e[_0x25a058(0xd2)]){case'arcgis-feature':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x90)](_0x32307e);break;case _0x25a058(0xa9):_0x4a48d3=await a52_0x1145c8[_0x25a058(0x99)](_0x32307e);break;case'arcgis-tile':_0x4a48d3=await a52_0x1145c8[_0x25a058(0x91)](_0x32307e);break;case _0x25a058(0xc5):_0x4a48d3=await a52_0x1145c8['getArcgisWmsLayer'](_0x32307e);break;case'arcgis-wmts':_0x4a48d3=await a52_0x1145c8['getArcgisWMTSLayer'](_0x32307e);break;case _0x25a058(0x95):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xa6)](_0x32307e);break;case _0x25a058(0xc2):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xb7)](_0x32307e);break;case _0x25a058(0x9e):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xe6)](_0x32307e);break;case _0x25a058(0xba):_0x4a48d3=await a52_0x1145c8['getGeoserverVectorTileLayer'](_0x32307e);break;case _0x25a058(0xcc):_0x4a48d3=await a52_0x1145c8[_0x25a058(0xda)](_0x32307e);break;default:throw new Error(_0x25a058(0x8b)+_0x32307e[_0x25a058(0xd2)]+'】服务类型');}return this[_0x25a058(0xe9)](_0x4a48d3),this[_0x25a058(0xd0)](new ChangeLayerEvent(_0x25a058(0x9a),[_0x32307e['id']],_0x25a058(0xe4))),_0x4a48d3;}async[a52_0x118347(0xab)](_0x24c6fb){const _0x10e6dc=a52_0x118347;let _0x219c00=[];const _0x5b57e8=[];for(let _0x3dc9c5=0x0;_0x3dc9c5<_0x24c6fb['length'];_0x3dc9c5++){const _0x41ff89=_0x24c6fb[_0x3dc9c5];_0x5b57e8[_0x10e6dc(0xeb)](_0x41ff89['id']),_0x219c00[_0x10e6dc(0xeb)](this[_0x10e6dc(0xd6)](_0x41ff89));}const _0x92ca6d=await Promise['all'](_0x219c00);return this[_0x10e6dc(0xd0)](new ChangeLayerEvent(_0x10e6dc(0x9a),_0x5b57e8,'add')),_0x92ca6d;}[a52_0x118347(0xe9)](_0x2cb837,_0xef3270=![]){const _0x1d4c25=a52_0x118347,_0x28a974=_0x2cb837,_0x134a4f=this[_0x1d4c25(0x85)](_0x28a974['id']);if(_0x134a4f==null){const _0x269dad=_0x28a974[_0x1d4c25(0x92)]==undefined||_0x28a974[_0x1d4c25(0x92)]['minScale']==undefined||_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0x87)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xd8)](_0x269dad);const _0x43b21a=_0x28a974['layerInfo']==undefined||_0x28a974[_0x1d4c25(0x92)]['maxScale']==undefined||_0x28a974['layerInfo'][_0x1d4c25(0xac)]<0x0?undefined:calculateResolution(_0x28a974[_0x1d4c25(0x92)][_0x1d4c25(0xac)],this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xd4)]()||0x0);_0x2cb837[_0x1d4c25(0xbe)](_0x43b21a);const _0x5daf5d=this[_0x1d4c25(0xd7)]()['getArray']()[_0x1d4c25(0xa0)];if(!this['_options']['projection']&&_0x5daf5d==0x0&&_0x28a974[_0x1d4c25(0xc9)]&&_0x28a974[_0x1d4c25(0xc9)][_0x1d4c25(0xa1)]()!=this[_0x1d4c25(0xbf)]()[_0x1d4c25(0xa2)]()[_0x1d4c25(0xa1)]()){}let _0x5c0f1e=_0x2cb837['getZIndex']();_0x5c0f1e!=undefined&&_0x5c0f1e>_0x5daf5d&&(_0x5c0f1e=_0x5daf5d),this[_0x1d4c25(0xd7)]()[_0x1d4c25(0x96)](_0x5c0f1e==undefined?_0x5daf5d:_0x5c0f1e,_0x2cb837),_0xef3270&&this['fitLayer'](_0x28a974);}}[a52_0x118347(0xe2)](_0x5d0ef6){const _0x464f2b=a52_0x118347,_0x3b22cd=this[_0x464f2b(0x85)](_0x5d0ef6);_0x3b22cd&&(this['removeLayer'](_0x3b22cd),this[_0x464f2b(0xd0)](new ChangeLayerEvent('changelayer',[_0x5d0ef6],_0x464f2b(0xaf))));}['getLayerById'](_0x5054ac){const _0x1bfc0b=a52_0x118347;let _0x592698,_0x44e0be=this[_0x1bfc0b(0xd7)]()[_0x1bfc0b(0xbc)]();for(let _0x548234=0x0;_0x548234<_0x44e0be[_0x1bfc0b(0xa0)];_0x548234++){let _0x45d943=_0x44e0be[_0x548234]['id'];if(_0x5054ac==_0x45d943){_0x592698=_0x44e0be[_0x548234];break;}}return _0x592698;}[a52_0x118347(0x97)](_0x3b68f0){const _0x1aa3be=a52_0x118347;let _0x405cb8,_0x3f3d10=this[_0x1aa3be(0xd7)]()[_0x1aa3be(0xbc)]();for(let _0x2db71e=0x0;_0x2db71e<_0x3f3d10['length'];_0x2db71e++){const _0xf505d4=_0x3f3d10[_0x2db71e][_0x1aa3be(0x92)];if(!_0xf505d4)continue;let _0x21c083=_0xf505d4['layerTag'];if(_0x21c083==_0x3b68f0){_0x405cb8=_0x3f3d10[_0x2db71e];break;}}return _0x405cb8;}[a52_0x118347(0xb6)](_0x2d2d79){const _0x27da44=a52_0x118347;let _0x424b8e=this[_0x27da44(0xd7)]()[_0x27da44(0xbc)]();return _0x424b8e[_0x27da44(0xa4)](_0x54eea2=>_0x2d2d79[_0x27da44(0x89)](_0x54eea2['id']));}[a52_0x118347(0xa3)](_0x4f92dd){const _0x373782=a52_0x118347;let _0x510182,_0x220625=this[_0x373782(0xd7)]()['getArray']();for(let _0x39266e=0x0;_0x39266e<_0x220625[_0x373782(0xa0)];_0x39266e++){const _0xb0eec9=_0x220625[_0x39266e];if(_0xb0eec9['id']===_0x4f92dd){_0x510182=_0xb0eec9;break;}}if(!_0x510182){_0x510182=new a52_0x965aeb({'zIndex':0x270f,'source':new a52_0x1d4aa4()}),_0x510182['id']=_0x4f92dd;const _0x12dc03=this[_0x373782(0xd7)]()['getLength']();switch(_0x4f92dd){case _0x373782(0xb9):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x1>-0x1?_0x12dc03-0x1:0x0,_0x510182);break;case _0x373782(0x8d):this[_0x373782(0xd7)]()[_0x373782(0x96)](_0x12dc03-0x2>-0x1?_0x12dc03-0x2:0x0,_0x510182);break;case _0x373782(0xbd):this[_0x373782(0xd7)]()['insertAt'](_0x12dc03,_0x510182);break;default:break;}}return _0x510182;}[a52_0x118347(0x9f)](){const _0x8d094e=a52_0x118347;return this[_0x8d094e(0xa3)](_0x8d094e(0xbd));}[a52_0x118347(0xe0)](){const _0x141700=a52_0x118347;return this[_0x141700(0xa3)](_0x141700(0xb9));}[a52_0x118347(0x9d)](){const _0x4c417c=a52_0x118347;return this['getTempLayerById'](_0x4c417c(0x8d));}['getTempLayerByGeoType'](_0x26a990){const _0x5080df=a52_0x118347;let _0x287cb0=this['getPointTempLayer']();switch(_0x26a990){case _0x5080df(0xcb):case _0x5080df(0xd9):_0x287cb0=this[_0x5080df(0x9f)]();case _0x5080df(0xdc):case _0x5080df(0xa5):_0x287cb0=this['getLineTempLayer']();case _0x5080df(0x8a):case _0x5080df(0xce):_0x287cb0=this['getPolygonTempLayer']();}return _0x287cb0;}[a52_0x118347(0xa7)](_0x12bb4c){const _0x19dd74=a52_0x118347;let _0x3c4e0a=this['getView']()[_0x19dd74(0xe5)](),_0x50bddf=this[_0x19dd74(0xbf)]()['getMaxZoom']();registerProj(_0x12bb4c),this['getView']()[_0x19dd74(0xe1)](_0x12bb4c);}[a52_0x118347(0xe3)](){const _0x4fec98=a52_0x118347;let _0x16ddaa=[];_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9f)]()),_0x16ddaa[_0x4fec98(0xeb)](this['getLineTempLayer']()),_0x16ddaa[_0x4fec98(0xeb)](this[_0x4fec98(0x9d)]());const _0x1adac3=this['getLayers']()['getArray']()['length'];for(let _0x598e7b=0x0;_0x598e7b<_0x16ddaa[_0x4fec98(0xa0)];_0x598e7b++){const _0x4bb192=_0x16ddaa[_0x598e7b];this['getLayers']()['insertAt'](_0x1adac3-_0x598e7b-0x1,_0x4bb192);}}[a52_0x118347(0x8e)](){const _0x239c72=a52_0x118347;return this[_0x239c72(0xbf)]()['calculateExtent'](this[_0x239c72(0xe7)]());}[a52_0x118347(0xdd)](_0x1de749,_0x475acc,_0xd3793a,_0x451fd7=!![],_0x331750={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':a52_0x118347(0xca),'outlineWidth':0x2}){const _0x3414e4=a52_0x118347;var _0x2defcf;const _0xa56fd0=fromWKT(_0x1de749,_0x475acc,this['getView']()[_0x3414e4(0xa2)]()[_0x3414e4(0xa1)]());if(!_0xa56fd0)return;const _0x238ba9=this[_0x3414e4(0xb3)](_0xa56fd0[_0x3414e4(0xcf)]()),_0xafeade=getStyle(_0x331750),_0x38e865=new a52_0x1a9393();_0x38e865[_0x3414e4(0xae)](_0xa56fd0),_0x38e865['setStyle'](_0xafeade),_0x38e865[_0x3414e4(0xb2)]=_0xd3793a,(_0x2defcf=_0x238ba9[_0x3414e4(0x84)]())===null||_0x2defcf===void 0x0?void 0x0:_0x2defcf['addFeature'](_0x38e865),_0x451fd7&&this[_0x3414e4(0xd5)](_0xa56fd0,undefined,1.2,![]);}['addWKTs'](_0x636c0e,_0x20d0cb,_0x70385,_0xf01b5f=!![],_0x1b264d={'color':a52_0x118347(0x93),'opacity':0.2,'outlineColor':'rgba(255,\x200,\x200,\x201)','outlineWidth':0x2}){const _0x22fcaf=a52_0x118347;var _0x2db906;const _0x2b32d9=fromWKTs(_0x636c0e,_0x20d0cb,this[_0x22fcaf(0xbf)]()['getProjection']()[_0x22fcaf(0xa1)]());if(!_0x2b32d9||_0x2b32d9[_0x22fcaf(0xa0)]==0x0)return;const _0x2f1858=this[_0x22fcaf(0xb3)](_0x2b32d9[0x0][_0x22fcaf(0xcf)]()),_0x90fb91=getStyle(_0x1b264d);let _0x32d0a4=[];for(const _0x182215 of _0x2b32d9){const _0x5b997f=new a52_0x1a9393();_0x5b997f[_0x22fcaf(0xae)](_0x182215),_0x5b997f[_0x22fcaf(0xc8)](_0x90fb91),_0x5b997f[_0x22fcaf(0xb4)]=_0x22fcaf(0xaa),_0x5b997f['isSelected']=!![],_0x5b997f[_0x22fcaf(0xb2)]=_0x70385,_0x32d0a4[_0x22fcaf(0xeb)](_0x5b997f);}(_0x2db906=_0x2f1858[_0x22fcaf(0x84)]())===null||_0x2db906===void 0x0?void 0x0:_0x2db906['addFeatures'](_0x32d0a4),_0xf01b5f&&this[_0x22fcaf(0xb8)](_0x2b32d9,undefined,1.2,![]);}[a52_0x118347(0xde)](_0x410c62,_0x38231b,_0x3f63d3=1.2,_0x59b182=!![]){const _0x2ee370=a52_0x118347;if(!_0x410c62)return;let _0x2ce282=fromWKT(_0x410c62,_0x38231b,this['getView']()['getProjection']()[_0x2ee370(0xa1)]());if(!_0x2ce282)return;this['locationGeometry'](_0x2ce282,_0x38231b,_0x3f63d3,_0x59b182);}[a52_0x118347(0x86)](_0x28e883,_0x590020,_0x470430=1.2,_0x4525c6=!![]){const _0x25f064=a52_0x118347;if(!_0x28e883||_0x28e883[_0x25f064(0xa0)]===0x0)return;const _0x125ad3=[];for(let _0x1c66e5=0x0;_0x1c66e5<_0x28e883[_0x25f064(0xa0)];_0x1c66e5++){let _0x263c45=_0x28e883[_0x1c66e5],_0x4bfab7=fromWKT(_0x263c45,_0x590020,this[_0x25f064(0xbf)]()[_0x25f064(0xa2)]()[_0x25f064(0xa1)]());if(!_0x4bfab7)continue;_0x125ad3[_0x25f064(0xeb)](_0x4bfab7);}this[_0x25f064(0xb8)](_0x125ad3,_0x590020,_0x470430,_0x4525c6);}[a52_0x118347(0xd5)](_0x44a8ad,_0x527dd3,_0x33bcfa=1.2,_0x2001b3=!![]){const _0x2b9e9a=a52_0x118347;if(!_0x44a8ad)return;let _0x3dab58=_0x44a8ad;_0x527dd3&&(_0x3dab58=_0x44a8ad[_0x2b9e9a(0xb5)](_0x527dd3,this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0xa2)]()));switch(_0x3dab58['getType']()){case _0x2b9e9a(0xcb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x98)](_0x3dab58['getCoordinates']());break;case _0x2b9e9a(0x8a):case _0x2b9e9a(0xd9):case _0x2b9e9a(0xa5):case'MultiPolygon':case _0x2b9e9a(0xbb):this[_0x2b9e9a(0xbf)]()[_0x2b9e9a(0x94)](expandExtent(_0x3dab58['getExtent'](),_0x33bcfa));break;}if(_0x2001b3){const _0xe9b392=new a52_0x99b79d(this);_0xe9b392['flashGeometrys']([_0x3dab58],0x3);}}[a52_0x118347(0xb8)](_0x55ff8f,_0x28fe8e,_0x22149c=1.2,_0x1af4fa=!![]){const _0x1f83b4=a52_0x118347;if(!_0x55ff8f||_0x55ff8f[_0x1f83b4(0xa0)]===0x0)return;let _0x2869f8=null;for(const _0x43b54e of _0x55ff8f){_0x2869f8?_0x2869f8=union(_0x2869f8,_0x43b54e):_0x2869f8=_0x43b54e;}_0x2869f8&&this[_0x1f83b4(0xd5)](_0x2869f8,_0x28fe8e,_0x22149c,![]);if(_0x1af4fa){const _0x53e5f0=new a52_0x99b79d(this);_0x53e5f0['flashGeometrys'](_0x55ff8f,0x3);}}}
1
+ const a52_0x1c44c2=a52_0x33ea;(function(_0x4982d7,_0x3f741c){const _0x1ca271=a52_0x33ea,_0x168cb9=_0x4982d7();while(!![]){try{const _0x1026f7=parseInt(_0x1ca271(0x1f8))/0x1+parseInt(_0x1ca271(0x223))/0x2+-parseInt(_0x1ca271(0x217))/0x3+-parseInt(_0x1ca271(0x21c))/0x4*(parseInt(_0x1ca271(0x22e))/0x5)+parseInt(_0x1ca271(0x234))/0x6*(parseInt(_0x1ca271(0x200))/0x7)+-parseInt(_0x1ca271(0x235))/0x8*(-parseInt(_0x1ca271(0x1dc))/0x9)+-parseInt(_0x1ca271(0x239))/0xa;if(_0x1026f7===_0x3f741c)break;else _0x168cb9['push'](_0x168cb9['shift']());}catch(_0x2e48a5){_0x168cb9['push'](_0x168cb9['shift']());}}}(a52_0x4858,0x6f9c8));import'ol/ol.css';import'../assets/main.css';import a52_0x509fae from'ol/Map';import a52_0x372cfc from'ol/events/Event';import{defaults as a52_0x245e21}from'ol/control';import{registerProj}from'../utils/RegisterProjUtil';import{transformExtent}from'ol/proj';import a52_0x1168c5 from'../layers/LayerManager';import a52_0x5612a2 from'ol/layer/Vector';function a52_0x4858(){const _0x495002=['rgba(255,\x200,\x200,\x200.2)','add','1910190PIUTaD','locationGeometrys','maxZoom','length','GeometryCollection','164FZSRvE','dispatchEvent','locationWKTs','geoserver-vector-tile','fromType','getExtent','addMapLayers','1065586MtpWgn','getPolygonTempLayer','addWKTs','insertAt','filter','sortTemLayer','arcgis-wmts','getPointTempLayer','setGeometry','getTempLayerByGeoType','getArcgisWmsLayer','50840lyFAaV','interactionManager','EPSG:4490','getLineTempLayer','getView','constrainResolution','138cufBZp','16CjdJuz','geoserver-wmts','EPSG:','getArray','2142770sZnafR','pointTempLayer','calculateExtent','_options','getLength','getLayersByIds','Polygon','center','projection','resetViewProjection','removeLayer','getSource','getCode','flashGeometrys','getMinZoom','getTempLayerById','locationWKT','minScale','geoserver-wms','2946231TSpxgY','getArcgisFeatureLayer','getZIndex','getGeoserverWMTSLayer','getLayerByLayerTag','changelayer','fit','layerType','polygonTempLayer','】服务类型','getGeoserverVectorTileLayer','setStyle','geoserver-wfs','layerInfo','arcgis-tile','includes','getMetersPerUnit','controlManager','getProjection','rgba(255,\x200,\x200,\x201)','lineTempLayer','setProjection','extent','locationGeometry','addWKT','setMaxResolution','isSelected','getLayers','444463WmqtFf','getDynamicLayer','getArcgisTileLayer','arcgis-feature','MultiPolygon','zoom','maxResolution','maxScale','28329QuPvhl','setCenter','getCoordinates','getSize','addFeature','minZoom','addMapLayer','addLayer','fitLayer','layerTag','changetype','getMaxZoom','push','Point','setMinResolution','getArcgisWMTSLayer','getTDTLayer','LineString','removeLayerById','MultiLineString','getLayerById'];a52_0x4858=function(){return _0x495002;};return a52_0x4858();}import a52_0x37a437 from'ol/source/Vector';function a52_0x33ea(_0x2018c3,_0x4842fe){const _0x485876=a52_0x4858();return a52_0x33ea=function(_0x33ea3b,_0x2c6430){_0x33ea3b=_0x33ea3b-0x1cd;let _0x50fb4c=_0x485876[_0x33ea3b];return _0x50fb4c;},a52_0x33ea(_0x2018c3,_0x4842fe);}import a52_0x58ae68 from'../controls/ControlManager';import a52_0x37448f from'../entity/Feature';import a52_0x4e79bd from'../interaction/InteractionManager';import a52_0x39a9ff from'./View';import{expandExtent,fromWKT,fromWKTs,union}from'../utils/GeometryUtil';import a52_0xf85b9b from'../feature/FeatureManager';import{calculateResolution}from'../utils/ResolutionUtil';import{getStyle}from'../style/StyleManager';export class ChangeLayerEvent extends a52_0x372cfc{constructor(_0x155edc,_0x4fc4b6,_0x452293){const _0x338ae8=a52_0x33ea;super(_0x155edc),this['layerIds']=_0x4fc4b6,this[_0x338ae8(0x20a)]=_0x452293;}}export default class OLMap extends a52_0x509fae{constructor(_0x433ad2,_0x1b9957,_0x1f0af6){const _0x12a632=a52_0x33ea;_0x1b9957=_0x1b9957?_0x1b9957:{'projection':0x118a,'center':[117.22718,31.820386],'minZoom':0x0,'maxZoom':0x1c,'constrainResolution':![],'zoom':0xa};const _0x250a99=_0x1b9957[_0x12a632(0x1d1)]?_0x12a632(0x237)+_0x1b9957['projection']:_0x12a632(0x230);_0x1b9957[_0x12a632(0x1fd)]=_0x1b9957[_0x12a632(0x1fd)]?_0x1b9957['zoom']:0xa,_0x1b9957['minZoom']=_0x1b9957[_0x12a632(0x205)]?_0x1b9957[_0x12a632(0x205)]:0x0,_0x1b9957['maxZoom']=_0x1b9957[_0x12a632(0x219)]?_0x1b9957[_0x12a632(0x219)]:0x1c,_0x1b9957[_0x12a632(0x233)]=_0x1b9957['constrainResolution']?_0x1b9957[_0x12a632(0x233)]:![],_0x1b9957['center']=_0x1b9957[_0x12a632(0x1d0)]?_0x1b9957[_0x12a632(0x1d0)]:[117.22718,31.820386],registerProj(_0x250a99);const _0x4b7840={'target':_0x433ad2,'view':_0x1f0af6?_0x1f0af6:new a52_0x39a9ff({'center':_0x1b9957[_0x12a632(0x1d0)],'zoom':_0x1b9957['zoom'],'projection':_0x250a99,'minZoom':_0x1b9957[_0x12a632(0x205)],'maxZoom':_0x1b9957[_0x12a632(0x219)],'minResolution':_0x1b9957['minResolution'],'maxResolution':_0x1b9957[_0x12a632(0x1fe)],'constrainResolution':_0x1b9957[_0x12a632(0x233)]}),'controls':a52_0x245e21({'zoom':![]})};super(_0x4b7840),_0x1b9957[_0x12a632(0x1f2)]&&this[_0x12a632(0x232)]()[_0x12a632(0x1e2)](_0x1b9957[_0x12a632(0x1f2)]),this[_0x12a632(0x22f)]=new a52_0x4e79bd(this),this[_0x12a632(0x1ed)]=new a52_0x58ae68(this),this[_0x12a632(0x23c)]=_0x1b9957;}[a52_0x1c44c2(0x232)](){return super['getView']();}[a52_0x1c44c2(0x208)](_0x305868){const _0x40a508=a52_0x1c44c2;var _0x3a6dca;this[_0x40a508(0x232)]()['fit'](transformExtent(_0x305868['initialExtent'],(_0x3a6dca=_0x305868[_0x40a508(0x1d1)])===null||_0x3a6dca===void 0x0?void 0x0:_0x3a6dca[_0x40a508(0x1d5)](),this[_0x40a508(0x232)]()[_0x40a508(0x1ee)]()[_0x40a508(0x1d5)]()));}['fitLayerById'](_0x41f44b){const _0x2a8837=a52_0x1c44c2;let _0x37a284=this['getLayerById'](_0x41f44b);_0x37a284&&this[_0x2a8837(0x208)](_0x37a284);}async['addMapLayer'](_0x444302){const _0x134530=a52_0x1c44c2;let _0x1e0938;switch(_0x444302['layerType']){case _0x134530(0x1fb):_0x1e0938=await a52_0x1168c5[_0x134530(0x1dd)](_0x444302);break;case'arcgis-dynamic':_0x1e0938=await a52_0x1168c5[_0x134530(0x1f9)](_0x444302);break;case _0x134530(0x1ea):_0x1e0938=await a52_0x1168c5[_0x134530(0x1fa)](_0x444302);break;case'arcgis-wms':_0x1e0938=await a52_0x1168c5[_0x134530(0x22d)](_0x444302);break;case _0x134530(0x229):_0x1e0938=await a52_0x1168c5[_0x134530(0x20f)](_0x444302);break;case _0x134530(0x1db):_0x1e0938=await a52_0x1168c5['getGeoserverWmsLayer'](_0x444302);break;case _0x134530(0x1e8):_0x1e0938=await a52_0x1168c5['getGeoserverWFSLayer'](_0x444302);break;case _0x134530(0x236):_0x1e0938=await a52_0x1168c5[_0x134530(0x1df)](_0x444302);break;case _0x134530(0x21f):_0x1e0938=await a52_0x1168c5[_0x134530(0x1e6)](_0x444302);break;case'tdt-c':_0x1e0938=await a52_0x1168c5[_0x134530(0x210)](_0x444302);break;default:throw new Error('暂不支持【'+_0x444302[_0x134530(0x1e3)]+_0x134530(0x1e5));}return this[_0x134530(0x207)](_0x1e0938),this[_0x134530(0x21d)](new ChangeLayerEvent('changelayer',[_0x444302['id']],_0x134530(0x216))),_0x1e0938;}async[a52_0x1c44c2(0x222)](_0x1a58e0){const _0x5530a7=a52_0x1c44c2;let _0x2b4b68=[];const _0x1e9e03=[];for(let _0x279345=0x0;_0x279345<_0x1a58e0[_0x5530a7(0x21a)];_0x279345++){const _0x5e2987=_0x1a58e0[_0x279345];_0x1e9e03[_0x5530a7(0x20c)](_0x5e2987['id']),_0x2b4b68[_0x5530a7(0x20c)](this[_0x5530a7(0x206)](_0x5e2987));}const _0x35a253=await Promise['all'](_0x2b4b68);return this[_0x5530a7(0x21d)](new ChangeLayerEvent(_0x5530a7(0x1e1),_0x1e9e03,_0x5530a7(0x216))),_0x35a253;}[a52_0x1c44c2(0x207)](_0xc0fd85,_0x1da062=![]){const _0x67e345=a52_0x1c44c2,_0x1cffff=_0xc0fd85,_0xe34590=this[_0x67e345(0x214)](_0x1cffff['id']);if(_0xe34590==null){const _0x1b0ec7=_0x1cffff[_0x67e345(0x1e9)]==undefined||_0x1cffff[_0x67e345(0x1e9)]['minScale']==undefined||_0x1cffff[_0x67e345(0x1e9)][_0x67e345(0x1da)]<0x0?undefined:calculateResolution(_0x1cffff['layerInfo']['minScale'],this[_0x67e345(0x232)]()[_0x67e345(0x1ee)]()[_0x67e345(0x1ec)]()||0x0);_0xc0fd85[_0x67e345(0x20e)](_0x1b0ec7);const _0x3d9180=_0x1cffff[_0x67e345(0x1e9)]==undefined||_0x1cffff[_0x67e345(0x1e9)][_0x67e345(0x1ff)]==undefined||_0x1cffff[_0x67e345(0x1e9)][_0x67e345(0x1ff)]<0x0?undefined:calculateResolution(_0x1cffff[_0x67e345(0x1e9)][_0x67e345(0x1ff)],this[_0x67e345(0x232)]()[_0x67e345(0x1ee)]()[_0x67e345(0x1ec)]()||0x0);_0xc0fd85[_0x67e345(0x1f5)](_0x3d9180);const _0x414513=this[_0x67e345(0x1f7)]()[_0x67e345(0x238)]()['length'];if(!this[_0x67e345(0x23c)]['projection']&&_0x414513==0x0&&_0x1cffff[_0x67e345(0x1d1)]&&_0x1cffff[_0x67e345(0x1d1)][_0x67e345(0x1d5)]()!=this[_0x67e345(0x232)]()[_0x67e345(0x1ee)]()[_0x67e345(0x1d5)]()){}let _0x5a8331=_0xc0fd85[_0x67e345(0x1de)]();_0x5a8331!=undefined&&_0x5a8331>_0x414513&&(_0x5a8331=_0x414513),this[_0x67e345(0x1f7)]()[_0x67e345(0x226)](_0x5a8331==undefined?_0x414513:_0x5a8331,_0xc0fd85),_0x1da062&&this[_0x67e345(0x208)](_0x1cffff);}}[a52_0x1c44c2(0x212)](_0x4a1b6a){const _0x5105bf=a52_0x1c44c2,_0x5d3aca=this[_0x5105bf(0x214)](_0x4a1b6a);_0x5d3aca&&(this[_0x5105bf(0x1d3)](_0x5d3aca),this['dispatchEvent'](new ChangeLayerEvent(_0x5105bf(0x1e1),[_0x4a1b6a],'remove')));}[a52_0x1c44c2(0x214)](_0x2d73c2){const _0x2e54c8=a52_0x1c44c2;let _0x1c42ce,_0xb9e10e=this[_0x2e54c8(0x1f7)]()[_0x2e54c8(0x238)]();for(let _0x135a67=0x0;_0x135a67<_0xb9e10e[_0x2e54c8(0x21a)];_0x135a67++){let _0x288546=_0xb9e10e[_0x135a67]['id'];if(_0x2d73c2==_0x288546){_0x1c42ce=_0xb9e10e[_0x135a67];break;}}return _0x1c42ce;}[a52_0x1c44c2(0x1e0)](_0x1ed7c7){const _0x535638=a52_0x1c44c2;let _0x1bdde3,_0x1cb3ec=this[_0x535638(0x1f7)]()[_0x535638(0x238)]();for(let _0x1c8e3b=0x0;_0x1c8e3b<_0x1cb3ec[_0x535638(0x21a)];_0x1c8e3b++){const _0x1f0d72=_0x1cb3ec[_0x1c8e3b][_0x535638(0x1e9)];if(!_0x1f0d72)continue;let _0x1846c3=_0x1f0d72[_0x535638(0x209)];if(_0x1846c3==_0x1ed7c7){_0x1bdde3=_0x1cb3ec[_0x1c8e3b];break;}}return _0x1bdde3;}[a52_0x1c44c2(0x1ce)](_0x2cbde9){const _0x5ad8d4=a52_0x1c44c2;let _0x407da2=this['getLayers']()[_0x5ad8d4(0x238)]();return _0x407da2[_0x5ad8d4(0x227)](_0x3ef341=>_0x2cbde9[_0x5ad8d4(0x1eb)](_0x3ef341['id']));}[a52_0x1c44c2(0x1d8)](_0x4112bc){const _0x3223af=a52_0x1c44c2;let _0x189437,_0xc3953e=this[_0x3223af(0x1f7)]()[_0x3223af(0x238)]();for(let _0x20561a=0x0;_0x20561a<_0xc3953e['length'];_0x20561a++){const _0xd54e5e=_0xc3953e[_0x20561a];if(_0xd54e5e['id']===_0x4112bc){_0x189437=_0xd54e5e;break;}}if(!_0x189437){_0x189437=new a52_0x5612a2({'zIndex':0x270f,'source':new a52_0x37a437()}),_0x189437['id']=_0x4112bc;const _0xdda8ef=this[_0x3223af(0x1f7)]()[_0x3223af(0x1cd)]();switch(_0x4112bc){case _0x3223af(0x1f0):this[_0x3223af(0x1f7)]()[_0x3223af(0x226)](_0xdda8ef-0x1>-0x1?_0xdda8ef-0x1:0x0,_0x189437);break;case _0x3223af(0x1e4):this[_0x3223af(0x1f7)]()[_0x3223af(0x226)](_0xdda8ef-0x2>-0x1?_0xdda8ef-0x2:0x0,_0x189437);break;case _0x3223af(0x23a):this[_0x3223af(0x1f7)]()[_0x3223af(0x226)](_0xdda8ef,_0x189437);break;default:break;}}return _0x189437;}[a52_0x1c44c2(0x22a)](){const _0x2b82dc=a52_0x1c44c2;return this[_0x2b82dc(0x1d8)](_0x2b82dc(0x23a));}[a52_0x1c44c2(0x231)](){const _0x4e5cb2=a52_0x1c44c2;return this['getTempLayerById'](_0x4e5cb2(0x1f0));}[a52_0x1c44c2(0x224)](){const _0x385cb3=a52_0x1c44c2;return this['getTempLayerById'](_0x385cb3(0x1e4));}[a52_0x1c44c2(0x22c)](_0x454627){const _0x3df09d=a52_0x1c44c2;let _0x332621=this['getPointTempLayer']();switch(_0x454627){case _0x3df09d(0x20d):case'MultiPoint':_0x332621=this[_0x3df09d(0x22a)]();case _0x3df09d(0x211):case _0x3df09d(0x213):_0x332621=this[_0x3df09d(0x231)]();case _0x3df09d(0x1cf):case _0x3df09d(0x1fc):_0x332621=this[_0x3df09d(0x224)]();}return _0x332621;}[a52_0x1c44c2(0x1d2)](_0x3f173b){const _0x4045a=a52_0x1c44c2;let _0x29e0f5=this[_0x4045a(0x232)]()[_0x4045a(0x1d7)](),_0x27a69d=this[_0x4045a(0x232)]()[_0x4045a(0x20b)]();registerProj(_0x3f173b),this['getView']()[_0x4045a(0x1f1)](_0x3f173b);}[a52_0x1c44c2(0x228)](){const _0x47b86c=a52_0x1c44c2;let _0x4aa092=[];_0x4aa092[_0x47b86c(0x20c)](this[_0x47b86c(0x22a)]()),_0x4aa092['push'](this['getLineTempLayer']()),_0x4aa092[_0x47b86c(0x20c)](this[_0x47b86c(0x224)]());const _0x291736=this[_0x47b86c(0x1f7)]()['getArray']()[_0x47b86c(0x21a)];for(let _0xd5331b=0x0;_0xd5331b<_0x4aa092[_0x47b86c(0x21a)];_0xd5331b++){const _0x7af233=_0x4aa092[_0xd5331b];this[_0x47b86c(0x1f7)]()['insertAt'](_0x291736-_0xd5331b-0x1,_0x7af233);}}[a52_0x1c44c2(0x221)](){const _0xc5b68a=a52_0x1c44c2;return this[_0xc5b68a(0x232)]()[_0xc5b68a(0x23b)](this[_0xc5b68a(0x203)]());}[a52_0x1c44c2(0x1f4)](_0xcb28c2,_0x142966,_0x27a93f,_0x42c59a=!![],_0x56b3b2={'color':a52_0x1c44c2(0x215),'opacity':0.2,'outlineColor':a52_0x1c44c2(0x1ef),'outlineWidth':0x2}){const _0x10187d=a52_0x1c44c2;var _0x1b1bfe;const _0x39e46a=fromWKT(_0xcb28c2,_0x142966,this[_0x10187d(0x232)]()[_0x10187d(0x1ee)]()[_0x10187d(0x1d5)]());if(!_0x39e46a)return;const _0x353f68=this[_0x10187d(0x22c)](_0x39e46a['getType']()),_0x340584=getStyle(_0x56b3b2),_0x5eca78=new a52_0x37448f();_0x5eca78[_0x10187d(0x22b)](_0x39e46a),_0x5eca78[_0x10187d(0x1e7)](_0x340584),_0x5eca78['tag']=_0x27a93f,(_0x1b1bfe=_0x353f68[_0x10187d(0x1d4)]())===null||_0x1b1bfe===void 0x0?void 0x0:_0x1b1bfe[_0x10187d(0x204)](_0x5eca78),_0x42c59a&&this[_0x10187d(0x1f3)](_0x39e46a,undefined,1.2,![]);}[a52_0x1c44c2(0x225)](_0x112e7a,_0x3e628e,_0x4e593b,_0x505200=!![],_0x2514f8={'color':a52_0x1c44c2(0x215),'opacity':0.2,'outlineColor':a52_0x1c44c2(0x1ef),'outlineWidth':0x2}){const _0x170485=a52_0x1c44c2;var _0x5a34ba;const _0xa08ec9=fromWKTs(_0x112e7a,_0x3e628e,this[_0x170485(0x232)]()[_0x170485(0x1ee)]()['getCode']());if(!_0xa08ec9||_0xa08ec9[_0x170485(0x21a)]==0x0)return;const _0x1ac8ee=this[_0x170485(0x22c)](_0xa08ec9[0x0]['getType']()),_0x23ac65=getStyle(_0x2514f8);let _0x4a81d9=[];for(const _0x4b7dd1 of _0xa08ec9){const _0xc951f7=new a52_0x37448f();_0xc951f7[_0x170485(0x22b)](_0x4b7dd1),_0xc951f7[_0x170485(0x1e7)](_0x23ac65),_0xc951f7[_0x170485(0x220)]='import',_0xc951f7[_0x170485(0x1f6)]=!![],_0xc951f7['tag']=_0x4e593b,_0x4a81d9[_0x170485(0x20c)](_0xc951f7);}(_0x5a34ba=_0x1ac8ee[_0x170485(0x1d4)]())===null||_0x5a34ba===void 0x0?void 0x0:_0x5a34ba['addFeatures'](_0x4a81d9),_0x505200&&this[_0x170485(0x218)](_0xa08ec9,undefined,1.2,![]);}[a52_0x1c44c2(0x1d9)](_0x338c4b,_0x4077ce,_0x3e029e=1.2,_0x52cac9=!![]){const _0x4eca15=a52_0x1c44c2;if(!_0x338c4b)return;let _0x36878b=fromWKT(_0x338c4b,_0x4077ce,this['getView']()['getProjection']()[_0x4eca15(0x1d5)]());if(!_0x36878b)return;this[_0x4eca15(0x1f3)](_0x36878b,_0x4077ce,_0x3e029e,_0x52cac9);}[a52_0x1c44c2(0x21e)](_0x2eecaf,_0x5ecdee,_0x3476a7=1.2,_0x597102=!![]){const _0x309941=a52_0x1c44c2;if(!_0x2eecaf||_0x2eecaf['length']===0x0)return;const _0x1873d4=[];for(let _0x7985d=0x0;_0x7985d<_0x2eecaf[_0x309941(0x21a)];_0x7985d++){let _0x55073c=_0x2eecaf[_0x7985d],_0x4c3c74=fromWKT(_0x55073c,_0x5ecdee,this['getView']()['getProjection']()['getCode']());if(!_0x4c3c74)continue;_0x1873d4['push'](_0x4c3c74);}this[_0x309941(0x218)](_0x1873d4,_0x5ecdee,_0x3476a7,_0x597102);}[a52_0x1c44c2(0x1f3)](_0x165704,_0x379aac,_0x133549=1.2,_0x2c551a=!![]){const _0x1ca0f5=a52_0x1c44c2;if(!_0x165704)return;let _0x1c45cd=_0x165704;_0x379aac&&(_0x1c45cd=_0x165704['transform'](_0x379aac,this[_0x1ca0f5(0x232)]()[_0x1ca0f5(0x1ee)]()));switch(_0x1c45cd['getType']()){case _0x1ca0f5(0x20d):this[_0x1ca0f5(0x232)]()[_0x1ca0f5(0x201)](_0x1c45cd[_0x1ca0f5(0x202)]());break;case _0x1ca0f5(0x1cf):case'MultiPoint':case _0x1ca0f5(0x213):case'MultiPolygon':case _0x1ca0f5(0x21b):this[_0x1ca0f5(0x232)]()[_0x1ca0f5(0x1e2)](expandExtent(_0x1c45cd[_0x1ca0f5(0x221)](),_0x133549));break;}if(_0x2c551a){const _0xa89ff8=new a52_0xf85b9b(this);_0xa89ff8['flashGeometrys']([_0x1c45cd],0x3);}}['locationGeometrys'](_0x259d4a,_0x2dae81,_0x3b6798=1.2,_0x52955f=!![]){const _0x5934ff=a52_0x1c44c2;if(!_0x259d4a||_0x259d4a['length']===0x0)return;let _0xcea0ab=null;for(const _0xd4e8f4 of _0x259d4a){_0xcea0ab?_0xcea0ab=union(_0xcea0ab,_0xd4e8f4):_0xcea0ab=_0xd4e8f4;}_0xcea0ab&&this[_0x5934ff(0x1f3)](_0xcea0ab,_0x2dae81,_0x3b6798,![]);if(_0x52955f){const _0x1fce9a=new a52_0xf85b9b(this);_0x1fce9a[_0x5934ff(0x1d6)](_0x259d4a,0x3);}}}
package/mapView/View.js CHANGED
@@ -1 +1 @@
1
- function a53_0xbdf0(_0x5e886a,_0x5189a9){var _0x3d91a4=a53_0x3d91();return a53_0xbdf0=function(_0xbdf0e0,_0x52c0b8){_0xbdf0e0=_0xbdf0e0-0x150;var _0x4dd604=_0x3d91a4[_0xbdf0e0];return _0x4dd604;},a53_0xbdf0(_0x5e886a,_0x5189a9);}function a53_0x3d91(){var _0x309dcd=['3mXYadW','13CjwYHL','projection_','7935471LKorcz','1778484EhaTah','135911etnAse','4PwUUMz','4864008ZkTVqL','170VtJIeB','1764344CLsGYJ','5bQKSOS','setProjection','252xHccWE','58201ULHJaa','196312NsNZvH'];a53_0x3d91=function(){return _0x309dcd;};return a53_0x3d91();}var a53_0x47e8f6=a53_0xbdf0;(function(_0xedf555,_0x32f221){var _0xc30efa=a53_0xbdf0,_0x4faae6=_0xedf555();while(!![]){try{var _0x46ce58=parseInt(_0xc30efa(0x154))/0x1*(parseInt(_0xc30efa(0x155))/0x2)+parseInt(_0xc30efa(0x15e))/0x3*(-parseInt(_0xc30efa(0x158))/0x4)+parseInt(_0xc30efa(0x159))/0x5*(-parseInt(_0xc30efa(0x156))/0x6)+-parseInt(_0xc30efa(0x15b))/0x7*(-parseInt(_0xc30efa(0x15d))/0x8)+parseInt(_0xc30efa(0x152))/0x9+-parseInt(_0xc30efa(0x157))/0xa*(parseInt(_0xc30efa(0x15c))/0xb)+-parseInt(_0xc30efa(0x153))/0xc*(-parseInt(_0xc30efa(0x150))/0xd);if(_0x46ce58===_0x32f221)break;else _0x4faae6['push'](_0x4faae6['shift']());}catch(_0x102fe2){_0x4faae6['push'](_0x4faae6['shift']());}}}(a53_0x3d91,0xcdebb));import a53_0x49f531 from'ol/View';import{get}from'ol/proj';export default class OLView extends a53_0x49f531{constructor(_0x3a97c4){super(_0x3a97c4);}[a53_0x47e8f6(0x15a)](_0x3e5e01){var _0x5682aa=a53_0x47e8f6;this[_0x5682aa(0x151)]=get(_0x3e5e01),this['setProperties']({'projection_':get(_0x3e5e01)});}}
1
+ function a53_0x30ab(){var _0x43b753=['projection_','32968xyhHQu','2044530ZOzkkb','5895430lmjRvh','129654nZVNJp','3242710dnAxzw','112xYxwxo','228jRhHsZ','970955nUriJT','setProjection','261531yUTfiM','543VJpGqG','88TgMoTg','setProperties'];a53_0x30ab=function(){return _0x43b753;};return a53_0x30ab();}var a53_0x53edaf=a53_0x4312;(function(_0x7dce29,_0x19c267){var _0x4e0693=a53_0x4312,_0x13ed42=_0x7dce29();while(!![]){try{var _0x17a257=parseInt(_0x4e0693(0x171))/0x1+-parseInt(_0x4e0693(0x16b))/0x2+-parseInt(_0x4e0693(0x174))/0x3*(parseInt(_0x4e0693(0x16a))/0x4)+-parseInt(_0x4e0693(0x16c))/0x5+parseInt(_0x4e0693(0x170))/0x6*(parseInt(_0x4e0693(0x16d))/0x7)+-parseInt(_0x4e0693(0x16f))/0x8*(-parseInt(_0x4e0693(0x173))/0x9)+parseInt(_0x4e0693(0x16e))/0xa*(parseInt(_0x4e0693(0x167))/0xb);if(_0x17a257===_0x19c267)break;else _0x13ed42['push'](_0x13ed42['shift']());}catch(_0x2bdf4b){_0x13ed42['push'](_0x13ed42['shift']());}}}(a53_0x30ab,0xefe68));function a53_0x4312(_0x42a73d,_0x129284){var _0x30ab38=a53_0x30ab();return a53_0x4312=function(_0x431233,_0x2948b0){_0x431233=_0x431233-0x167;var _0x22f961=_0x30ab38[_0x431233];return _0x22f961;},a53_0x4312(_0x42a73d,_0x129284);}import a53_0x145416 from'ol/View';import{get}from'ol/proj';export default class OLView extends a53_0x145416{constructor(_0xb850f4){super(_0xb850f4);}[a53_0x53edaf(0x172)](_0x279893){var _0x2a47d0=a53_0x53edaf;this[_0x2a47d0(0x169)]=get(_0x279893),this[_0x2a47d0(0x168)]({'projection_':get(_0x279893)});}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ym-gis-2d",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "index.ts",
package/plot/Plot.js CHANGED
@@ -1 +1 @@
1
- (function(_0x5e7377,_0xdcb24f){const _0x83e7b3=a61_0x373e,_0x5cdf24=_0x5e7377();while(!![]){try{const _0x2d3e11=-parseInt(_0x83e7b3(0x108))/0x1*(-parseInt(_0x83e7b3(0x103))/0x2)+parseInt(_0x83e7b3(0xf7))/0x3+parseInt(_0x83e7b3(0x10f))/0x4*(parseInt(_0x83e7b3(0xfc))/0x5)+-parseInt(_0x83e7b3(0xfe))/0x6*(-parseInt(_0x83e7b3(0x101))/0x7)+-parseInt(_0x83e7b3(0xfb))/0x8+-parseInt(_0x83e7b3(0x104))/0x9+parseInt(_0x83e7b3(0x106))/0xa*(parseInt(_0x83e7b3(0x10a))/0xb);if(_0x2d3e11===_0xdcb24f)break;else _0x5cdf24['push'](_0x5cdf24['shift']());}catch(_0x83ec10){_0x5cdf24['push'](_0x5cdf24['shift']());}}}(a61_0x2ffe,0x46929));import a61_0x2e4157 from'../entity/GeometryType';import a61_0x311328 from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x4201d2 from'./geometry/polygon/RectAngle';import a61_0x521f1a from'./geometry/polyline/Polyline';function a61_0x2ffe(){const _0x392d56=['ArrowAttack','190531GrcgLV','pointermove','Polygon','Circle','Ellipsoid','213340Bchuwu','ArrowPincerlike','Rectangle','Ellipse','233598KqgAaT','AssemblySite','toLowerCase','Point','155512HeSFCZ','5RTZVea','MAX_VALUE','150JYWqIj','PolyLine','SurfaceClosed','119735hfvRsF','Curve','142056dLdZWZ','3671595trPazD','assign','50VSvxIJ','Arrow','1tJhLre'];a61_0x2ffe=function(){return _0x392d56;};return a61_0x2ffe();}import a61_0x2d70d5 from'./geometry/point/Point';function a61_0x373e(_0x1085f0,_0xd8a61f){const _0x2ffe33=a61_0x2ffe();return a61_0x373e=function(_0x373e5a,_0x369051){_0x373e5a=_0x373e5a-0xf5;let _0xa9e8fb=_0x2ffe33[_0x373e5a];return _0xa9e8fb;},a61_0x373e(_0x1085f0,_0xd8a61f);}import a61_0x37dd1b from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x2ce804,_0x2f9122){const _0x1fd355=a61_0x373e;_0x2ce804=_0x2ce804[_0x1fd355(0xf9)]();switch(_0x2ce804){case a61_0x2e4157[_0x1fd355(0xfa)]:case _0x1fd355(0x10b):return new a61_0x2d70d5(_0x2f9122);case a61_0x2e4157['PolyLine']:return new a61_0x521f1a(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10d)]:return new a61_0x37dd1b(_0x2f9122);case a61_0x2e4157[_0x1fd355(0xf5)]:return new a61_0x4201d2(_0x2f9122);case a61_0x2e4157[_0x1fd355(0x10c)]:return new a61_0x311328(_0x2f9122);}}export function getPlotCount(_0xf3fab5){const _0x12b387=a61_0x373e;_0xf3fab5=_0xf3fab5[_0x12b387(0xf9)]();let _0x2245a0={'fixPoint':0x0,'minPoint':0x0};switch(_0xf3fab5){case a61_0x2e4157[_0x12b387(0xfa)]:_0x2245a0={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x2e4157['PolyLine']:_0x2245a0={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a61_0x2e4157['Polygon']:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x2};break;case a61_0x2e4157[_0x12b387(0xf5)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x10d)]:_0x2245a0={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0x102)]:_0x2245a0={'fixPoint':Number[_0x12b387(0xfd)],'minPoint':0x1};break;case a61_0x2e4157[_0x12b387(0xf6)]:case a61_0x2e4157[_0x12b387(0x10e)]:_0x2245a0={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x2245a0;}export function getStyle(_0x406ccf,_0x11ff57,_0x11a171){const _0x3e4951=a61_0x373e;_0x406ccf=_0x406ccf['toLowerCase'](),_0x11ff57=Object[_0x3e4951(0x105)](Object['assign']({},defaultStyle),_0x11ff57);switch(_0x406ccf){case a61_0x2e4157['Point']:return function(_0x15d03c,_0x56bc19){return getPointSingleStyle(_0x406ccf,_0x11ff57,_0x56bc19,_0x11a171);};case a61_0x2e4157[_0x3e4951(0xff)]:case a61_0x2e4157['Curve']:return function(_0x18f378,_0x57414e){return getPolylineStyle(_0x11ff57,'',_0x57414e,_0x11a171);};case a61_0x2e4157[_0x3e4951(0x10d)]:case a61_0x2e4157[_0x3e4951(0xf5)]:case a61_0x2e4157[_0x3e4951(0xf6)]:case a61_0x2e4157[_0x3e4951(0x10e)]:case a61_0x2e4157[_0x3e4951(0x100)]:case a61_0x2e4157['Polygon']:case a61_0x2e4157[_0x3e4951(0x109)]:case a61_0x2e4157[_0x3e4951(0x110)]:case a61_0x2e4157[_0x3e4951(0x107)]:case a61_0x2e4157[_0x3e4951(0xf8)]:return function(_0x1b8b2c,_0x8855f5){return getPolygonStyle(_0x11ff57,'',_0x8855f5,_0x11a171);};}}
1
+ (function(_0x2d9bd5,_0x4cb0b4){const _0xba46f=a61_0x42a8,_0x3a8395=_0x2d9bd5();while(!![]){try{const _0x4e561a=parseInt(_0xba46f(0x1a4))/0x1+-parseInt(_0xba46f(0x1a6))/0x2*(-parseInt(_0xba46f(0x1b6))/0x3)+-parseInt(_0xba46f(0x1ad))/0x4+-parseInt(_0xba46f(0x1ae))/0x5+-parseInt(_0xba46f(0x1a9))/0x6*(-parseInt(_0xba46f(0x1ab))/0x7)+-parseInt(_0xba46f(0x1af))/0x8*(parseInt(_0xba46f(0x1aa))/0x9)+parseInt(_0xba46f(0x1b8))/0xa*(parseInt(_0xba46f(0x1b9))/0xb);if(_0x4e561a===_0x4cb0b4)break;else _0x3a8395['push'](_0x3a8395['shift']());}catch(_0x1af990){_0x3a8395['push'](_0x3a8395['shift']());}}}(a61_0xf466,0x3a2dd));import a61_0x55e3fe from'../entity/GeometryType';function a61_0x42a8(_0x2c9067,_0x560bd3){const _0xf466d7=a61_0xf466();return a61_0x42a8=function(_0x42a8ef,_0x393fce){_0x42a8ef=_0x42a8ef-0x1a2;let _0x4b4f1c=_0xf466d7[_0x42a8ef];return _0x4b4f1c;},a61_0x42a8(_0x2c9067,_0x560bd3);}function a61_0xf466(){const _0x3f920d=['110394KDisXs','4347rGlvzK','MAX_VALUE','951712boYfpe','1467230ohTBRd','64RTOliR','toLowerCase','Ellipse','Curve','Circle','AssemblySite','PolyLine','54UrTBoU','Rectangle','1000iSHPSI','76252wUNQAT','Arrow','ArrowPincerlike','40719oLgroP','assign','938qBXrQJ','Point','Polygon','1212KIbuFZ'];a61_0xf466=function(){return _0x3f920d;};return a61_0xf466();}import a61_0x1dea4c from'./geometry/polygon/Polygon';import{getPointSingleStyle}from'../style/PointStyleFormat';import{getPolylineStyle}from'../style/PolylineStyleFormat';import{getPolygonStyle}from'../style/PolygonStyleFormat';import a61_0x442b29 from'./geometry/polygon/RectAngle';import a61_0x20df6c from'./geometry/polyline/Polyline';import a61_0x1eabfb from'./geometry/point/Point';import a61_0x3d5ca5 from'./geometry/polygon/Circle';const defaultStyle={'color':[0x40,0xaf,0xc1,0.08],'fill':!![],'opacity':0.6,'outline':!![],'outlineColor':[0x40,0xaf,0xc1,0x1],'outlineOpacity':0.6,'outlineWidth':0x2};export function createPlot(_0x1fe604,_0xbd4a57){const _0xd79565=a61_0x42a8;_0x1fe604=_0x1fe604['toLowerCase']();switch(_0x1fe604){case a61_0x55e3fe[_0xd79565(0x1a7)]:case'pointermove':return new a61_0x1eabfb(_0xbd4a57);case a61_0x55e3fe[_0xd79565(0x1b5)]:return new a61_0x20df6c(_0xbd4a57);case a61_0x55e3fe['Circle']:return new a61_0x3d5ca5(_0xbd4a57);case a61_0x55e3fe[_0xd79565(0x1b7)]:return new a61_0x442b29(_0xbd4a57);case a61_0x55e3fe[_0xd79565(0x1a8)]:return new a61_0x1dea4c(_0xbd4a57);}}export function getPlotCount(_0x1f7a22){const _0x2888d5=a61_0x42a8;_0x1f7a22=_0x1f7a22[_0x2888d5(0x1b0)]();let _0x4c39db={'fixPoint':0x0,'minPoint':0x0};switch(_0x1f7a22){case a61_0x55e3fe[_0x2888d5(0x1a7)]:_0x4c39db={'fixPoint':0x1,'minPoint':0x0};break;case a61_0x55e3fe['PolyLine']:_0x4c39db={'fixPoint':Number[_0x2888d5(0x1ac)],'minPoint':0x1};break;case a61_0x55e3fe[_0x2888d5(0x1a8)]:_0x4c39db={'fixPoint':Number[_0x2888d5(0x1ac)],'minPoint':0x2};break;case a61_0x55e3fe['Rectangle']:_0x4c39db={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x55e3fe[_0x2888d5(0x1b3)]:_0x4c39db={'fixPoint':0x2,'minPoint':0x1};break;case a61_0x55e3fe[_0x2888d5(0x1b2)]:_0x4c39db={'fixPoint':Number['MAX_VALUE'],'minPoint':0x1};break;case a61_0x55e3fe[_0x2888d5(0x1b1)]:case a61_0x55e3fe['Ellipsoid']:_0x4c39db={'fixPoint':0x3,'minPoint':0x1};break;default:break;}return _0x4c39db;}export function getStyle(_0x4c7b48,_0x2118b6,_0x524799){const _0x18c0ea=a61_0x42a8;_0x4c7b48=_0x4c7b48[_0x18c0ea(0x1b0)](),_0x2118b6=Object[_0x18c0ea(0x1a5)](Object['assign']({},defaultStyle),_0x2118b6);switch(_0x4c7b48){case a61_0x55e3fe[_0x18c0ea(0x1a7)]:return function(_0x1b3adf,_0xff42dc){return getPointSingleStyle(_0x4c7b48,_0x2118b6,_0xff42dc,_0x524799);};case a61_0x55e3fe[_0x18c0ea(0x1b5)]:case a61_0x55e3fe[_0x18c0ea(0x1b2)]:return function(_0x4d1928,_0xcb186b){return getPolylineStyle(_0x2118b6,'',_0xcb186b,_0x524799);};case a61_0x55e3fe[_0x18c0ea(0x1b3)]:case a61_0x55e3fe[_0x18c0ea(0x1b7)]:case a61_0x55e3fe[_0x18c0ea(0x1b1)]:case a61_0x55e3fe['Ellipsoid']:case a61_0x55e3fe['SurfaceClosed']:case a61_0x55e3fe['Polygon']:case a61_0x55e3fe['ArrowAttack']:case a61_0x55e3fe[_0x18c0ea(0x1a3)]:case a61_0x55e3fe[_0x18c0ea(0x1a2)]:case a61_0x55e3fe[_0x18c0ea(0x1b4)]:return function(_0x17225a,_0x503aec){return getPolygonStyle(_0x2118b6,'',_0x503aec,_0x524799);};}}
@@ -1 +1 @@
1
- function a54_0x134b(){var _0x415b50=['传入的不是地图对象!','1438440UFBdPB','isPlot','4065972EpcITY','map','points','length','type','setPoints','setStyle','380485MWCozX','stringify','8QLckZs','779304hMJDAC','10426725eEmaoM','setCoordinates','getPlotType','4490Ahmcxq','updateLastPoint','1372tkUWsU','finishDrawing','826605InjKTt','updatePoint','generate'];a54_0x134b=function(){return _0x415b50;};return a54_0x134b();}var a54_0x11e36b=a54_0x5ba4;(function(_0x8823,_0x47b8f4){var _0x491ece=a54_0x5ba4,_0x5cb60a=_0x8823();while(!![]){try{var _0x24a295=parseInt(_0x491ece(0x1e9))/0x1+parseInt(_0x491ece(0x1ed))/0x2+-parseInt(_0x491ece(0x1e1))/0x3+parseInt(_0x491ece(0x1e7))/0x4*(-parseInt(_0x491ece(0x1e5))/0x5)+parseInt(_0x491ece(0x1ef))/0x6+parseInt(_0x491ece(0x1de))/0x7*(-parseInt(_0x491ece(0x1e0))/0x8)+-parseInt(_0x491ece(0x1e2))/0x9;if(_0x24a295===_0x47b8f4)break;else _0x5cb60a['push'](_0x5cb60a['shift']());}catch(_0x575094){_0x5cb60a['push'](_0x5cb60a['shift']());}}}(a54_0x134b,0x6c1c9));import{Map}from'ol';function a54_0x5ba4(_0x50d4b5,_0x5d83ad){var _0x134bf8=a54_0x134b();return a54_0x5ba4=function(_0x5ba44c,_0x495f82){_0x5ba44c=_0x5ba44c-0x1de;var _0x92ade3=_0x134bf8[_0x5ba44c];return _0x92ade3;},a54_0x5ba4(_0x50d4b5,_0x5d83ad);}import{Point as a54_0x5c144b}from'ol/geom';class Point extends a54_0x5c144b{constructor(_0x2ee55c){var _0x210521=a54_0x5ba4;super([]),this[_0x210521(0x1f3)]='Point',this[_0x210521(0x1f1)]=_0x2ee55c,this[_0x210521(0x1f4)](_0x2ee55c);}[a54_0x11e36b(0x1e4)](){var _0x3fc44d=a54_0x11e36b;return this[_0x3fc44d(0x1f3)];}['generate'](){var _0x8e3f55=a54_0x11e36b;this[_0x8e3f55(0x1e3)](this[_0x8e3f55(0x1f1)][0x0]);}['setMap'](_0x2bfbd3){var _0xb0c52d=a54_0x11e36b;if(_0x2bfbd3&&_0x2bfbd3 instanceof Map)this[_0xb0c52d(0x1f0)]=_0x2bfbd3;else throw new Error(_0xb0c52d(0x1ec));}['getMap'](){var _0x2faad9=a54_0x11e36b;return this[_0x2faad9(0x1f0)];}[a54_0x11e36b(0x1ee)](){return!![];}[a54_0x11e36b(0x1f4)](_0xb12750){var _0xe45402=a54_0x11e36b;_0xb12750&&_0xb12750['length']>=0x1&&(this['points']=_0xb12750,this[_0xe45402(0x1eb)]());}['getPoints'](){var _0x4d42d6=a54_0x11e36b;return this[_0x4d42d6(0x1f1)];}['updatePoint'](_0x5022b5,_0x4d5a12){var _0x53993e=a54_0x11e36b;_0x4d5a12>=0x0&&_0x4d5a12<this[_0x53993e(0x1f1)]['length']&&(this[_0x53993e(0x1f1)][_0x4d5a12]=_0x5022b5,this[_0x53993e(0x1eb)]());}[a54_0x11e36b(0x1e6)](_0x344b73){var _0x35e0df=a54_0x11e36b;this[_0x35e0df(0x1ea)](_0x344b73,this[_0x35e0df(0x1f1)][_0x35e0df(0x1f2)]-0x1);}[a54_0x11e36b(0x1e8)](){}[a54_0x11e36b(0x1f5)](_0x9483dc){var _0x3529e8=a54_0x11e36b;this['style']=JSON['parse'](JSON[_0x3529e8(0x1df)](_0x9483dc));}}export default Point;
1
+ var a54_0x436094=a54_0x8f21;(function(_0x4b6a1c,_0x3154b2){var _0x52eae1=a54_0x8f21,_0x3776cc=_0x4b6a1c();while(!![]){try{var _0x3e0e2f=parseInt(_0x52eae1(0x80))/0x1+parseInt(_0x52eae1(0x7a))/0x2*(-parseInt(_0x52eae1(0x67))/0x3)+parseInt(_0x52eae1(0x81))/0x4+parseInt(_0x52eae1(0x84))/0x5+parseInt(_0x52eae1(0x78))/0x6*(-parseInt(_0x52eae1(0x73))/0x7)+-parseInt(_0x52eae1(0x68))/0x8*(-parseInt(_0x52eae1(0x7e))/0x9)+-parseInt(_0x52eae1(0x6d))/0xa*(parseInt(_0x52eae1(0x7f))/0xb);if(_0x3e0e2f===_0x3154b2)break;else _0x3776cc['push'](_0x3776cc['shift']());}catch(_0x4a8e76){_0x3776cc['push'](_0x3776cc['shift']());}}}(a54_0x1a6c,0xdbcc0));import{Map}from'ol';import{Point as a54_0x124c7d}from'ol/geom';class Point extends a54_0x124c7d{constructor(_0x3197ff){var _0x1c75bc=a54_0x8f21;super([]),this[_0x1c75bc(0x69)]=_0x1c75bc(0x6f),this[_0x1c75bc(0x6b)]=_0x3197ff,this[_0x1c75bc(0x83)](_0x3197ff);}[a54_0x436094(0x6c)](){var _0x294d52=a54_0x436094;return this[_0x294d52(0x69)];}['generate'](){var _0x549c0a=a54_0x436094;this[_0x549c0a(0x76)](this['points'][0x0]);}[a54_0x436094(0x6a)](_0x3a9472){var _0x57fa5b=a54_0x436094;if(_0x3a9472&&_0x3a9472 instanceof Map)this[_0x57fa5b(0x77)]=_0x3a9472;else throw new Error(_0x57fa5b(0x6e));}[a54_0x436094(0x79)](){return this['map'];}[a54_0x436094(0x70)](){return!![];}[a54_0x436094(0x83)](_0x4c78b3){var _0x2006fb=a54_0x436094;_0x4c78b3&&_0x4c78b3['length']>=0x1&&(this[_0x2006fb(0x6b)]=_0x4c78b3,this[_0x2006fb(0x7d)]());}[a54_0x436094(0x82)](){var _0x2666bd=a54_0x436094;return this[_0x2666bd(0x6b)];}[a54_0x436094(0x66)](_0x2cfad7,_0x17424b){var _0x3fdc71=a54_0x436094;_0x17424b>=0x0&&_0x17424b<this[_0x3fdc71(0x6b)]['length']&&(this[_0x3fdc71(0x6b)][_0x17424b]=_0x2cfad7,this['generate']());}[a54_0x436094(0x74)](_0x262c48){var _0x44f649=a54_0x436094;this[_0x44f649(0x66)](_0x262c48,this[_0x44f649(0x6b)][_0x44f649(0x71)]-0x1);}[a54_0x436094(0x65)](){}[a54_0x436094(0x7b)](_0xd42255){var _0x3e1110=a54_0x436094;this[_0x3e1110(0x72)]=JSON[_0x3e1110(0x7c)](JSON[_0x3e1110(0x75)](_0xd42255));}}function a54_0x8f21(_0x33efc5,_0x3c5d9b){var _0x1a6cef=a54_0x1a6c();return a54_0x8f21=function(_0x8f2187,_0x429889){_0x8f2187=_0x8f2187-0x65;var _0x319ab3=_0x1a6cef[_0x8f2187];return _0x319ab3;},a54_0x8f21(_0x33efc5,_0x3c5d9b);}export default Point;function a54_0x1a6c(){var _0x460e8b=['getPlotType','5165670YkLgtX','传入的不是地图对象!','Point','isPlot','length','style','84AdyVZW','updateLastPoint','stringify','setCoordinates','map','272100OSuYyQ','getMap','4Ccewmb','setStyle','parse','generate','171rXMvbQ','11yySmav','1324948Lskyux','2203432gQqEUn','getPoints','setPoints','7103190vMVmbf','finishDrawing','updatePoint','2238123LifIpL','65976ffCrFr','type','setMap','points'];a54_0x1a6c=function(){return _0x460e8b;};return a54_0x1a6c();}
@@ -1 +1 @@
1
- var a55_0x47194f=a55_0x2195;function a55_0xcb6c(){var _0x453ec9=['length','717180eAKTqf','393834ITyMAs','parse','5400304xWrdhu','slice','stringify','generate','writeGeometryObject','传入的不是地图对象!','getPoints','isPlot','4YQjNDH','map','getGeoJson','getType','649550SNIiOL','getPointCount','type','2192029dEIbDe','33994ntVaHt','finishDrawing','setPoints','1152096LlDwGK','points','setStyle'];a55_0xcb6c=function(){return _0x453ec9;};return a55_0xcb6c();}function a55_0x2195(_0x35c4fe,_0x7de267){var _0xcb6c20=a55_0xcb6c();return a55_0x2195=function(_0x2195b0,_0x5b8561){_0x2195b0=_0x2195b0-0x1e6;var _0x135bbd=_0xcb6c20[_0x2195b0];return _0x135bbd;},a55_0x2195(_0x35c4fe,_0x7de267);}(function(_0x29fdbe,_0x49f704){var _0x561245=a55_0x2195,_0x2f8264=_0x29fdbe();while(!![]){try{var _0x50da21=-parseInt(_0x561245(0x1f9))/0x1+parseInt(_0x561245(0x1f1))/0x2*(parseInt(_0x561245(0x1e7))/0x3)+parseInt(_0x561245(0x1fc))/0x4+parseInt(_0x561245(0x1f5))/0x5+-parseInt(_0x561245(0x1e6))/0x6+parseInt(_0x561245(0x1f8))/0x7+-parseInt(_0x561245(0x1e9))/0x8;if(_0x50da21===_0x49f704)break;else _0x2f8264['push'](_0x2f8264['shift']());}catch(_0x3794df){_0x2f8264['push'](_0x2f8264['shift']());}}}(a55_0xcb6c,0x284d3));import{Polygon}from'ol/geom';import a55_0x4793b5 from'ol/format/GeoJSON';import a55_0x2b0e89 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){var _0x594954=a55_0x2195;super([]),this[_0x594954(0x1fd)]=[];}[a55_0x47194f(0x1f4)](){var _0x2b8db4=a55_0x47194f;return this[_0x2b8db4(0x1f7)]?this['type']:super[_0x2b8db4(0x1f4)]();}[a55_0x47194f(0x1f3)](){var _0x510bff=a55_0x47194f;return new a55_0x4793b5()[_0x510bff(0x1ed)](this);}[a55_0x47194f(0x1fe)](_0x3dd12d){var _0x196443=a55_0x47194f;_0x3dd12d&&(this['style']=JSON[_0x196443(0x1e8)](JSON[_0x196443(0x1eb)](_0x3dd12d)));}['setMap'](_0x27c7e5){var _0x2f8126=a55_0x47194f;if(_0x27c7e5&&_0x27c7e5 instanceof a55_0x2b0e89)this[_0x2f8126(0x1f2)]=_0x27c7e5;else throw new Error(_0x2f8126(0x1ee));}['getMap'](){var _0x575956=a55_0x47194f;return this[_0x575956(0x1f2)];}[a55_0x47194f(0x1f0)](){return!![];}[a55_0x47194f(0x1fb)](_0x49817f){var _0x1cdfcb=a55_0x47194f;this[_0x1cdfcb(0x1fd)]=!_0x49817f?[]:_0x49817f,this[_0x1cdfcb(0x1fd)][_0x1cdfcb(0x1ff)]>=0x1&&this['generate']();}[a55_0x47194f(0x1ec)](){}[a55_0x47194f(0x1ef)](){var _0x9aa1e8=a55_0x47194f;return this['points'][_0x9aa1e8(0x1ea)](0x0);}[a55_0x47194f(0x1f6)](){var _0x4a4ef3=a55_0x47194f;return this[_0x4a4ef3(0x1fd)][_0x4a4ef3(0x1ff)];}[a55_0x47194f(0x1fa)](){}}export default BasePolygon;
1
+ var a55_0x2fbd79=a55_0x5944;(function(_0x9f948f,_0x403e1a){var _0x95e750=a55_0x5944,_0xfcdfe4=_0x9f948f();while(!![]){try{var _0x155c38=parseInt(_0x95e750(0x88))/0x1+parseInt(_0x95e750(0x89))/0x2+-parseInt(_0x95e750(0x9b))/0x3*(parseInt(_0x95e750(0x90))/0x4)+-parseInt(_0x95e750(0x9d))/0x5+parseInt(_0x95e750(0x99))/0x6+parseInt(_0x95e750(0x8d))/0x7+-parseInt(_0x95e750(0x93))/0x8;if(_0x155c38===_0x403e1a)break;else _0xfcdfe4['push'](_0xfcdfe4['shift']());}catch(_0x32ed5c){_0xfcdfe4['push'](_0xfcdfe4['shift']());}}}(a55_0xa958,0xe5af6));import{Polygon}from'ol/geom';import a55_0x5b92b9 from'ol/format/GeoJSON';function a55_0x5944(_0x3e3aec,_0x1e325f){var _0xa958e5=a55_0xa958();return a55_0x5944=function(_0x5944e0,_0x378f5d){_0x5944e0=_0x5944e0-0x88;var _0x9abe23=_0xa958e5[_0x5944e0];return _0x9abe23;},a55_0x5944(_0x3e3aec,_0x1e325f);}import a55_0x3cf2e0 from'../../../mapView/Map';class BasePolygon extends Polygon{constructor(){super([]),this['points']=[];}[a55_0x2fbd79(0x91)](){var _0x31c0f1=a55_0x2fbd79;return this[_0x31c0f1(0x95)]?this[_0x31c0f1(0x95)]:super[_0x31c0f1(0x91)]();}[a55_0x2fbd79(0x8b)](){var _0x15b4db=a55_0x2fbd79;return new a55_0x5b92b9()[_0x15b4db(0x9f)](this);}[a55_0x2fbd79(0x9c)](_0x138103){var _0x44d18c=a55_0x2fbd79;_0x138103&&(this['style']=JSON[_0x44d18c(0x96)](JSON[_0x44d18c(0x8f)](_0x138103)));}[a55_0x2fbd79(0x92)](_0x508c65){if(_0x508c65&&_0x508c65 instanceof a55_0x3cf2e0)this['map']=_0x508c65;else throw new Error('传入的不是地图对象!');}[a55_0x2fbd79(0x9a)](){return this['map'];}[a55_0x2fbd79(0x9e)](){return!![];}[a55_0x2fbd79(0x8c)](_0x27707c){this['points']=!_0x27707c?[]:_0x27707c,this['points']['length']>=0x1&&this['generate']();}[a55_0x2fbd79(0x8e)](){}['getPoints'](){var _0x59173f=a55_0x2fbd79;return this[_0x59173f(0x97)][_0x59173f(0x94)](0x0);}[a55_0x2fbd79(0x98)](){var _0xcb5ba=a55_0x2fbd79;return this['points'][_0xcb5ba(0x8a)];}['finishDrawing'](){}}export default BasePolygon;function a55_0xa958(){var _0x334b3e=['3257240ZjKgqY','slice','type','parse','points','getPointCount','4838034fgUucJ','getMap','156vVsawq','setStyle','4050550WJxkcK','isPlot','writeGeometryObject','809306VFoVQz','1650932KjjgLP','length','getGeoJson','setPoints','8217524cdJQWj','generate','stringify','112076wzfYeu','getType','setMap'];a55_0xa958=function(){return _0x334b3e;};return a55_0xa958();}
@@ -1 +1 @@
1
- const a56_0x1a195c=a56_0x1c3a;(function(_0x3cc88b,_0x4e398d){const _0x4870ce=a56_0x1c3a,_0x3fde62=_0x3cc88b();while(!![]){try{const _0x195de6=-parseInt(_0x4870ce(0x96))/0x1*(-parseInt(_0x4870ce(0x9d))/0x2)+-parseInt(_0x4870ce(0xa9))/0x3+-parseInt(_0x4870ce(0xa1))/0x4*(parseInt(_0x4870ce(0xa7))/0x5)+parseInt(_0x4870ce(0xa0))/0x6*(-parseInt(_0x4870ce(0x9b))/0x7)+parseInt(_0x4870ce(0x9f))/0x8+-parseInt(_0x4870ce(0xa4))/0x9+parseInt(_0x4870ce(0x9c))/0xa;if(_0x195de6===_0x4e398d)break;else _0x3fde62['push'](_0x3fde62['shift']());}catch(_0x5bbcd3){_0x3fde62['push'](_0x3fde62['shift']());}}}(a56_0x4232,0x7b683));import{Circle as a56_0x136381}from'ol/geom';import a56_0x5c8b86 from'ol/format/GeoJSON';function a56_0x4232(){const _0xdbaa05=['setCenterAndRadius','setCenter','6759Idtgvv','generate','getRadius','writeGeometryObject','setPoints','56YyFmDs','734810ERjkje','226iXoDfs','toRadians','7993200yudRGt','76572IzslSW','4dorfER','updatePoint','sqrt','2267082NpvpUZ','points','type','3117540vnJBeZ','getGeoJson','1060263osOkkS','length'];a56_0x4232=function(){return _0xdbaa05;};return a56_0x4232();}import{offset}from'ol/sphere';import{squaredDistance as a56_0x5cd095}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a56_0x136381{constructor(_0x17e020){const _0x23703b=a56_0x1c3a;super([]),this[_0x23703b(0xa5)]=_0x17e020,this[_0x23703b(0xa6)]='Circle',_0x17e020&&_0x17e020['length']>0x0&&this[_0x23703b(0x9a)](_0x17e020);}['setPoints'](_0x182867){const _0x1b2880=a56_0x1c3a;var _0x578a8d;((_0x578a8d=this['points'])===null||_0x578a8d===void 0x0?void 0x0:_0x578a8d[_0x1b2880(0x93)])>0x0&&(_0x182867===null||_0x182867===void 0x0?void 0x0:_0x182867[_0x1b2880(0x93)])>0x0&&!compareArray(this[_0x1b2880(0xa5)][0x0],_0x182867[0x0])?this[_0x1b2880(0x95)](_0x182867[0x0]):(this[_0x1b2880(0xa5)]=!_0x182867?[]:_0x182867,this[_0x1b2880(0xa5)][_0x1b2880(0x93)]>=0x1&&(this[_0x1b2880(0x97)]&&this[_0x1b2880(0x97)]()));}[a56_0x1a195c(0x97)](){const _0x519d65=a56_0x1a195c;let _0x47016e=this[_0x519d65(0xa5)]['length'];if(_0x47016e<0x2)return![];else{const _0x5ed59c=this[_0x519d65(0xa5)][0x0],_0x43acd1=a56_0x5cd095(_0x5ed59c,this[_0x519d65(0xa5)][0x1]);this[_0x519d65(0x94)](_0x5ed59c,Math[_0x519d65(0xa3)](_0x43acd1));}}['setCenter'](_0x1753cf){const _0x3423df=a56_0x1a195c;this['setCenter'](_0x1753cf),this[_0x3423df(0xa5)]=[_0x1753cf,offset(_0x1753cf,this[_0x3423df(0x98)](),this[_0x3423df(0x9e)](0x5a))],this[_0x3423df(0x97)]();}['toRadians'](_0x5583b9){return _0x5583b9*Math['PI']/0xb4;}[a56_0x1a195c(0xa8)](){const _0x4ac260=a56_0x1a195c;return new a56_0x5c8b86()[_0x4ac260(0x99)](fromCircle(this));}[a56_0x1a195c(0xa2)](_0x509862,_0x201d82){const _0x523f18=a56_0x1a195c;_0x201d82>=0x0&&_0x201d82<this[_0x523f18(0xa5)]['length']&&(this[_0x523f18(0xa5)][_0x201d82]=_0x509862,this[_0x523f18(0x97)]());}['updateLastPoint'](_0x5f038e){const _0x13b85f=a56_0x1a195c;this[_0x13b85f(0xa2)](_0x5f038e,this[_0x13b85f(0xa5)][_0x13b85f(0x93)]-0x1);}}function a56_0x1c3a(_0x4a69b9,_0x282eb7){const _0x42327d=a56_0x4232();return a56_0x1c3a=function(_0x1c3ac8,_0x1da192){_0x1c3ac8=_0x1c3ac8-0x93;let _0x443fdb=_0x42327d[_0x1c3ac8];return _0x443fdb;},a56_0x1c3a(_0x4a69b9,_0x282eb7);}export default Circle;
1
+ const a56_0x21e421=a56_0x2ead;(function(_0x46736a,_0x5b1753){const _0x51e77c=a56_0x2ead,_0x33a67e=_0x46736a();while(!![]){try{const _0x18e5dd=parseInt(_0x51e77c(0x1c4))/0x1*(-parseInt(_0x51e77c(0x1cc))/0x2)+-parseInt(_0x51e77c(0x1c1))/0x3+parseInt(_0x51e77c(0x1ce))/0x4+parseInt(_0x51e77c(0x1c6))/0x5*(parseInt(_0x51e77c(0x1c2))/0x6)+parseInt(_0x51e77c(0x1d1))/0x7+-parseInt(_0x51e77c(0x1d4))/0x8+parseInt(_0x51e77c(0x1bf))/0x9;if(_0x18e5dd===_0x5b1753)break;else _0x33a67e['push'](_0x33a67e['shift']());}catch(_0x19018b){_0x33a67e['push'](_0x33a67e['shift']());}}}(a56_0x3860,0x67e2f));import{Circle as a56_0x4f3b72}from'ol/geom';import a56_0x584fd8 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a56_0x57bc11}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';function a56_0x3860(){const _0x166a89=['6144296tFSiSG','Circle','generate','3557745gkEskt','writeGeometryObject','166983tjZIOI','4734dXAcVu','toRadians','1EzLSwe','setCenter','2870BHhmdZ','points','length','type','updateLastPoint','setPoints','306494wllHJw','getGeoJson','1342384IQvacH','getRadius','updatePoint','1530739DaEsST','sqrt','setCenterAndRadius'];a56_0x3860=function(){return _0x166a89;};return a56_0x3860();}import{compareArray}from'../../../utils/ArrayUtil';function a56_0x2ead(_0x1196ab,_0x524157){const _0x3860ff=a56_0x3860();return a56_0x2ead=function(_0x2eadd8,_0x4ba9ac){_0x2eadd8=_0x2eadd8-0x1be;let _0x1b58f9=_0x3860ff[_0x2eadd8];return _0x1b58f9;},a56_0x2ead(_0x1196ab,_0x524157);}class Circle extends a56_0x4f3b72{constructor(_0x4d1f1e){const _0x253f3d=a56_0x2ead;super([]),this[_0x253f3d(0x1c7)]=_0x4d1f1e,this[_0x253f3d(0x1c9)]=_0x253f3d(0x1d5),_0x4d1f1e&&_0x4d1f1e[_0x253f3d(0x1c8)]>0x0&&this[_0x253f3d(0x1cb)](_0x4d1f1e);}['setPoints'](_0x25e9c5){const _0x45742e=a56_0x2ead;var _0x306fca;((_0x306fca=this[_0x45742e(0x1c7)])===null||_0x306fca===void 0x0?void 0x0:_0x306fca[_0x45742e(0x1c8)])>0x0&&(_0x25e9c5===null||_0x25e9c5===void 0x0?void 0x0:_0x25e9c5[_0x45742e(0x1c8)])>0x0&&!compareArray(this[_0x45742e(0x1c7)][0x0],_0x25e9c5[0x0])?this[_0x45742e(0x1c5)](_0x25e9c5[0x0]):(this[_0x45742e(0x1c7)]=!_0x25e9c5?[]:_0x25e9c5,this[_0x45742e(0x1c7)][_0x45742e(0x1c8)]>=0x1&&(this['generate']&&this[_0x45742e(0x1be)]()));}[a56_0x21e421(0x1be)](){const _0x38d264=a56_0x21e421;let _0x57cb92=this[_0x38d264(0x1c7)][_0x38d264(0x1c8)];if(_0x57cb92<0x2)return![];else{const _0x505308=this['points'][0x0],_0x137416=a56_0x57bc11(_0x505308,this['points'][0x1]);this[_0x38d264(0x1d3)](_0x505308,Math[_0x38d264(0x1d2)](_0x137416));}}[a56_0x21e421(0x1c5)](_0x2383e9){const _0x409265=a56_0x21e421;this[_0x409265(0x1c5)](_0x2383e9),this[_0x409265(0x1c7)]=[_0x2383e9,offset(_0x2383e9,this[_0x409265(0x1cf)](),this[_0x409265(0x1c3)](0x5a))],this[_0x409265(0x1be)]();}[a56_0x21e421(0x1c3)](_0x379b48){return _0x379b48*Math['PI']/0xb4;}[a56_0x21e421(0x1cd)](){const _0x1d2b03=a56_0x21e421;return new a56_0x584fd8()[_0x1d2b03(0x1c0)](fromCircle(this));}[a56_0x21e421(0x1d0)](_0x28bf05,_0x1f0ad9){const _0x127348=a56_0x21e421;_0x1f0ad9>=0x0&&_0x1f0ad9<this[_0x127348(0x1c7)][_0x127348(0x1c8)]&&(this[_0x127348(0x1c7)][_0x1f0ad9]=_0x28bf05,this[_0x127348(0x1be)]());}[a56_0x21e421(0x1ca)](_0x36c7bf){const _0x32ffdb=a56_0x21e421;this[_0x32ffdb(0x1d0)](_0x36c7bf,this[_0x32ffdb(0x1c7)]['length']-0x1);}}export default Circle;
@@ -1 +1 @@
1
- const a57_0x132ac8=a57_0x5f19;(function(_0xef9a1b,_0x2c8997){const _0x303300=a57_0x5f19,_0x584518=_0xef9a1b();while(!![]){try{const _0x32a4fe=parseInt(_0x303300(0x1e6))/0x1*(-parseInt(_0x303300(0x1ee))/0x2)+-parseInt(_0x303300(0x1f4))/0x3*(parseInt(_0x303300(0x1e4))/0x4)+-parseInt(_0x303300(0x1f2))/0x5+parseInt(_0x303300(0x1dc))/0x6+parseInt(_0x303300(0x1e1))/0x7*(-parseInt(_0x303300(0x1e5))/0x8)+-parseInt(_0x303300(0x1ec))/0x9*(parseInt(_0x303300(0x1df))/0xa)+-parseInt(_0x303300(0x1ea))/0xb*(-parseInt(_0x303300(0x1e7))/0xc);if(_0x32a4fe===_0x2c8997)break;else _0x584518['push'](_0x584518['shift']());}catch(_0x26a827){_0x584518['push'](_0x584518['shift']());}}}(a57_0xc9a0,0x44bfb));function a57_0xc9a0(){const _0x56f297=['35228IrTARv','16RNFnPc','470180tNccKf','12gUiRyU','stringify','length','17166281jEJmvX','getPointCount','405PqHPxa','setPoints','2YqjKpW','push','parse','_closed','1655625Ejyvtc','setCoordinates','105uCHuec','Polygon','1801092VDxfTN','isPlot','points','45660qUEAJj','updateLastPoint','924483AXpuIY','generate','updatePoint'];a57_0xc9a0=function(){return _0x56f297;};return a57_0xc9a0();}import a57_0x408c33 from'./BasePolygon';function a57_0x5f19(_0x28588e,_0x81a043){const _0xc9a0dd=a57_0xc9a0();return a57_0x5f19=function(_0x5f19f3,_0x4f2f22){_0x5f19f3=_0x5f19f3-0x1dc;let _0x211007=_0xc9a0dd[_0x5f19f3];return _0x211007;},a57_0x5f19(_0x28588e,_0x81a043);}import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x408c33{constructor(_0x21f0cc){const _0x47742c=a57_0x5f19;super(),this['type']=_0x47742c(0x1f5),_0x21f0cc&&_0x21f0cc['length']>0x0&&getDeepth(_0x21f0cc)==0x2?this[_0x47742c(0x1ed)](_0x21f0cc):this[_0x47742c(0x1f3)](_0x21f0cc);}[a57_0x132ac8(0x1f1)](_0xf3cb08){const _0x10ce38=a57_0x132ac8;let _0x48fc29=_0xf3cb08[0x0],_0x7c81b=_0xf3cb08[_0xf3cb08[_0x10ce38(0x1e9)]-0x1];return _0x48fc29[0x0]===_0x7c81b[0x0]&&_0x48fc29[0x1]===_0x7c81b[0x1]&&_0x48fc29[0x2]===_0x7c81b[0x2];}[a57_0x132ac8(0x1e2)](){const _0xac61ef=a57_0x132ac8;let _0x44ed7b=this[_0xac61ef(0x1eb)]();if(_0x44ed7b<0x2)return![];else{let _0x17dccc=JSON[_0xac61ef(0x1f0)](JSON[_0xac61ef(0x1e8)](this['points']));_0x44ed7b>=0x3&&(!this[_0xac61ef(0x1f1)](_0x17dccc)&&_0x17dccc[_0xac61ef(0x1ef)](_0x17dccc[0x0])),this[_0xac61ef(0x1f3)]([_0x17dccc]);}}[a57_0x132ac8(0x1e3)](_0x26944e,_0x32a31e){const _0x4d42b7=a57_0x132ac8;_0x32a31e>=0x0&&_0x32a31e<this[_0x4d42b7(0x1de)]['length']&&(this['points'][_0x32a31e]=_0x26944e,this[_0x4d42b7(0x1e2)]());}[a57_0x132ac8(0x1dd)](){return![];}[a57_0x132ac8(0x1e0)](_0x2c97b2){const _0x1a6480=a57_0x132ac8;this[_0x1a6480(0x1e3)](_0x2c97b2,this[_0x1a6480(0x1de)]['length']-0x1);}}export default Polygon;
1
+ function a57_0x3606(){const _0x4820be=['8LKefPI','1022418XyqLSe','390fdboaM','updateLastPoint','294QVbHqP','9218014xcCKBu','20471gKfACf','1282268nGJevQ','stringify','points','_closed','1113930kJdjKk','generate','12qCWjse','updatePoint','65331qbqVPe','parse','getPointCount','190suCgGt','5ivJdgY','push','218zbjSyK','length','isPlot'];a57_0x3606=function(){return _0x4820be;};return a57_0x3606();}const a57_0x71e09d=a57_0x3018;(function(_0x2818fb,_0x3b077b){const _0x41bc7e=a57_0x3018,_0xc7ee92=_0x2818fb();while(!![]){try{const _0x12ccda=-parseInt(_0x41bc7e(0x150))/0x1*(parseInt(_0x41bc7e(0x153))/0x2)+-parseInt(_0x41bc7e(0x157))/0x3+parseInt(_0x41bc7e(0x15d))/0x4*(-parseInt(_0x41bc7e(0x151))/0x5)+parseInt(_0x41bc7e(0x15a))/0x6*(parseInt(_0x41bc7e(0x14d))/0x7)+parseInt(_0x41bc7e(0x156))/0x8*(-parseInt(_0x41bc7e(0x149))/0x9)+-parseInt(_0x41bc7e(0x158))/0xa*(parseInt(_0x41bc7e(0x15c))/0xb)+-parseInt(_0x41bc7e(0x14b))/0xc*(-parseInt(_0x41bc7e(0x15b))/0xd);if(_0x12ccda===_0x3b077b)break;else _0xc7ee92['push'](_0xc7ee92['shift']());}catch(_0x27e99f){_0xc7ee92['push'](_0xc7ee92['shift']());}}}(a57_0x3606,0x464db));import a57_0x276f95 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class Polygon extends a57_0x276f95{constructor(_0x3313ac){super(),this['type']='Polygon',_0x3313ac&&_0x3313ac['length']>0x0&&getDeepth(_0x3313ac)==0x2?this['setPoints'](_0x3313ac):this['setCoordinates'](_0x3313ac);}[a57_0x71e09d(0x148)](_0x1c15ac){const _0x19ed0c=a57_0x71e09d;let _0x58b597=_0x1c15ac[0x0],_0x341200=_0x1c15ac[_0x1c15ac[_0x19ed0c(0x154)]-0x1];return _0x58b597[0x0]===_0x341200[0x0]&&_0x58b597[0x1]===_0x341200[0x1]&&_0x58b597[0x2]===_0x341200[0x2];}[a57_0x71e09d(0x14a)](){const _0x573027=a57_0x71e09d;let _0x18899e=this[_0x573027(0x14f)]();if(_0x18899e<0x2)return![];else{let _0x29b8c5=JSON[_0x573027(0x14e)](JSON[_0x573027(0x15e)](this['points']));_0x18899e>=0x3&&(!this[_0x573027(0x148)](_0x29b8c5)&&_0x29b8c5[_0x573027(0x152)](_0x29b8c5[0x0])),this['setCoordinates']([_0x29b8c5]);}}[a57_0x71e09d(0x14c)](_0x181f4d,_0xcc0a21){const _0x3ad477=a57_0x71e09d;_0xcc0a21>=0x0&&_0xcc0a21<this[_0x3ad477(0x15f)][_0x3ad477(0x154)]&&(this[_0x3ad477(0x15f)][_0xcc0a21]=_0x181f4d,this[_0x3ad477(0x14a)]());}[a57_0x71e09d(0x155)](){return![];}[a57_0x71e09d(0x159)](_0x3758bb){const _0x51346e=a57_0x71e09d;this[_0x51346e(0x14c)](_0x3758bb,this[_0x51346e(0x15f)][_0x51346e(0x154)]-0x1);}}function a57_0x3018(_0x22e713,_0x1e4b7a){const _0x360689=a57_0x3606();return a57_0x3018=function(_0x3018e1,_0x5c6a2c){_0x3018e1=_0x3018e1-0x148;let _0x2dbc6b=_0x360689[_0x3018e1];return _0x2dbc6b;},a57_0x3018(_0x22e713,_0x1e4b7a);}export default Polygon;
@@ -1 +1 @@
1
- function a58_0x16f4(_0x32cc26,_0x31a25f){const _0x5af575=a58_0x5af5();return a58_0x16f4=function(_0x16f4fb,_0x24ba78){_0x16f4fb=_0x16f4fb-0x88;let _0x338004=_0x5af575[_0x16f4fb];return _0x338004;},a58_0x16f4(_0x32cc26,_0x31a25f);}const a58_0x499462=a58_0x16f4;function a58_0x5af5(){const _0x8772d4=['1405170pulpJl','1SecZCX','84cjpGKP','149190ZkcEKN','generate','1842096pLTbFi','343576FWyJub','803132PanXFm','points','36xDRgFm','356079UWHYpD','updatePoint','1600124lXGxIU','length','21aPiOVo','getCoordinates','updateLastPoint','setPoints','type'];a58_0x5af5=function(){return _0x8772d4;};return a58_0x5af5();}(function(_0x13d87f,_0x3068fd){const _0x44b761=a58_0x16f4,_0x387e30=_0x13d87f();while(!![]){try{const _0x31fa12=-parseInt(_0x44b761(0x97))/0x1*(-parseInt(_0x44b761(0x8f))/0x2)+parseInt(_0x44b761(0x8d))/0x3+-parseInt(_0x44b761(0x88))/0x4+parseInt(_0x44b761(0x99))/0x5*(-parseInt(_0x44b761(0x98))/0x6)+-parseInt(_0x44b761(0x91))/0x7*(parseInt(_0x44b761(0x89))/0x8)+parseInt(_0x44b761(0x8c))/0x9*(parseInt(_0x44b761(0x96))/0xa)+parseInt(_0x44b761(0x8a))/0xb;if(_0x31fa12===_0x3068fd)break;else _0x387e30['push'](_0x387e30['shift']());}catch(_0x3f05be){_0x387e30['push'](_0x387e30['shift']());}}}(a58_0x5af5,0x857b2));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a58_0x3b7d3d from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x3b7d3d{constructor(_0x3e5a5a){const _0x18673e=a58_0x16f4;super(),this[_0x18673e(0x95)]='Polygon',_0x3e5a5a&&_0x3e5a5a[_0x18673e(0x90)]>0x0&&getDeepth(_0x3e5a5a)==0x2?this[_0x18673e(0x94)](_0x3e5a5a):this['setCoordinates'](_0x3e5a5a);}[a58_0x499462(0x9a)](){const _0x2721cf=a58_0x499462;if(this[_0x2721cf(0x8b)][_0x2721cf(0x90)]===0x2){let _0x5691d6=[],_0x5a4425=boundingExtent(this['points']),_0x59b580=fromExtent(_0x5a4425);_0x5691d6=_0x59b580[_0x2721cf(0x92)](),this['setCoordinates'](_0x5691d6);}}[a58_0x499462(0x8e)](_0x5b77ae,_0x579b17){const _0x475679=a58_0x499462;_0x579b17>=0x0&&_0x579b17<this[_0x475679(0x8b)][_0x475679(0x90)]&&(this['points'][_0x579b17]=_0x5b77ae,this[_0x475679(0x9a)]());}[a58_0x499462(0x93)](_0x4ece82){const _0x418eb6=a58_0x499462;this['updatePoint'](_0x4ece82,this['points'][_0x418eb6(0x90)]-0x1);}}export default RectAngle;
1
+ const a58_0x59e631=a58_0x591b;function a58_0x591b(_0x238222,_0x15f2ef){const _0x3678f5=a58_0x3678();return a58_0x591b=function(_0x591b1f,_0x25cc9f){_0x591b1f=_0x591b1f-0xb4;let _0x3c3d67=_0x3678f5[_0x591b1f];return _0x3c3d67;},a58_0x591b(_0x238222,_0x15f2ef);}(function(_0x71d5fc,_0x14ad9a){const _0x1782e7=a58_0x591b,_0x4a95a0=_0x71d5fc();while(!![]){try{const _0x22bac6=parseInt(_0x1782e7(0xc2))/0x1+parseInt(_0x1782e7(0xbe))/0x2*(parseInt(_0x1782e7(0xb4))/0x3)+-parseInt(_0x1782e7(0xbb))/0x4*(parseInt(_0x1782e7(0xc3))/0x5)+-parseInt(_0x1782e7(0xbc))/0x6*(parseInt(_0x1782e7(0xc7))/0x7)+parseInt(_0x1782e7(0xb6))/0x8+-parseInt(_0x1782e7(0xba))/0x9*(parseInt(_0x1782e7(0xbd))/0xa)+parseInt(_0x1782e7(0xb8))/0xb*(parseInt(_0x1782e7(0xbf))/0xc);if(_0x22bac6===_0x14ad9a)break;else _0x4a95a0['push'](_0x4a95a0['shift']());}catch(_0x219087){_0x4a95a0['push'](_0x4a95a0['shift']());}}}(a58_0x3678,0x4da12));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';function a58_0x3678(){const _0xf59b9c=['generate','72509PRiRtd','315455ctIJix','updatePoint','updateLastPoint','setPoints','462qobKMR','11580OXUjKX','setCoordinates','1863736BcTVwf','length','154iZiVbJ','points','236745ergLhh','20ausRRY','41070IQAGdD','110asAfan','298OvNaAU','423372PAsZrN','type'];a58_0x3678=function(){return _0xf59b9c;};return a58_0x3678();}import a58_0x295970 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a58_0x295970{constructor(_0x26e27b){const _0x35f00d=a58_0x591b;super(),this[_0x35f00d(0xc0)]='Polygon',_0x26e27b&&_0x26e27b[_0x35f00d(0xb7)]>0x0&&getDeepth(_0x26e27b)==0x2?this[_0x35f00d(0xc6)](_0x26e27b):this[_0x35f00d(0xb5)](_0x26e27b);}[a58_0x59e631(0xc1)](){const _0xf927d8=a58_0x59e631;if(this[_0xf927d8(0xb9)][_0xf927d8(0xb7)]===0x2){let _0x539213=[],_0x318874=boundingExtent(this['points']),_0x26ef40=fromExtent(_0x318874);_0x539213=_0x26ef40['getCoordinates'](),this[_0xf927d8(0xb5)](_0x539213);}}[a58_0x59e631(0xc4)](_0x36d249,_0x2c9633){const _0x529e0a=a58_0x59e631;_0x2c9633>=0x0&&_0x2c9633<this[_0x529e0a(0xb9)]['length']&&(this[_0x529e0a(0xb9)][_0x2c9633]=_0x36d249,this[_0x529e0a(0xc1)]());}[a58_0x59e631(0xc5)](_0x281dbb){const _0x37b913=a58_0x59e631;this['updatePoint'](_0x281dbb,this['points'][_0x37b913(0xb7)]-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- var a59_0x178625=a59_0xf5e2;(function(_0x4d458a,_0x2871c2){var _0x599789=a59_0xf5e2,_0x4a004d=_0x4d458a();while(!![]){try{var _0xc20e70=parseInt(_0x599789(0x14d))/0x1+parseInt(_0x599789(0x163))/0x2+parseInt(_0x599789(0x159))/0x3+parseInt(_0x599789(0x161))/0x4*(parseInt(_0x599789(0x154))/0x5)+-parseInt(_0x599789(0x152))/0x6+parseInt(_0x599789(0x162))/0x7+parseInt(_0x599789(0x157))/0x8;if(_0xc20e70===_0x2871c2)break;else _0x4a004d['push'](_0x4a004d['shift']());}catch(_0x5e10a8){_0x4a004d['push'](_0x4a004d['shift']());}}}(a59_0x1ab1,0x301ff));import{LineString}from'ol/geom';function a59_0x1ab1(){var _0x3dd12c=['stringify','292965MqBSpc','setStyle','points','126392iMuhbN','传入的不是地图对象!','265536DOnsfY','setMap','generate','style','map','slice','getPoints','getMap','4fyEFVE','423885BLgZtw','150120CdDevQ','220171RRSrtm','getPlotType','writeGeometryObject','finishDrawing','isPlot','1929426uRmAFh'];a59_0x1ab1=function(){return _0x3dd12c;};return a59_0x1ab1();}import a59_0x37653f from'ol/format/GeoJSON';import a59_0x19d6a2 from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x2e6a1e=a59_0xf5e2;super([]),this[_0x2e6a1e(0x156)]=[];}[a59_0x178625(0x14e)](){return this['type'];}['getGeoJson'](){var _0x145e31=a59_0x178625;return new a59_0x37653f()[_0x145e31(0x14f)](this);}[a59_0x178625(0x155)](_0x3a30e3){var _0x281a14=a59_0x178625;this[_0x281a14(0x15c)]=JSON['parse'](JSON[_0x281a14(0x153)](_0x3a30e3));}[a59_0x178625(0x15a)](_0x5d85ea){var _0x5505ea=a59_0x178625;if(_0x5d85ea&&_0x5d85ea instanceof a59_0x19d6a2)this[_0x5505ea(0x15d)]=_0x5d85ea;else throw new Error(_0x5505ea(0x158));}[a59_0x178625(0x160)](){return this['map'];}[a59_0x178625(0x151)](){return!![];}['setPoints'](_0x5d5a7b){var _0x7149ac=a59_0x178625;this[_0x7149ac(0x156)]=!_0x5d5a7b?[]:_0x5d5a7b,this['points']['length']>=0x1&&(this['generate']&&this[_0x7149ac(0x15b)]());}[a59_0x178625(0x15b)](){}[a59_0x178625(0x15f)](){var _0x292b93=a59_0x178625;return this[_0x292b93(0x156)][_0x292b93(0x15e)](0x0);}['getPointCount'](){return this['points']['length'];}[a59_0x178625(0x150)](){}}function a59_0xf5e2(_0x3e0dc0,_0x13866f){var _0x1ab1e6=a59_0x1ab1();return a59_0xf5e2=function(_0xf5e222,_0x412ae9){_0xf5e222=_0xf5e222-0x14d;var _0x26c5ff=_0x1ab1e6[_0xf5e222];return _0x26c5ff;},a59_0xf5e2(_0x3e0dc0,_0x13866f);}export default Plot;
1
+ function a59_0x572a(){var _0x4e20fe=['202459vDqnnp','isPlot','4329801SKgbaE','486XGikaq','4777212upaNcf','154304csHhwb','points','10QyZiIY','parse','getPoints','map','setMap','1726168qiAHUJ','type','2074214xDPGKe','3YsCrvn','17810760GiUXbE','slice','finishDrawing','传入的不是地图对象!','getGeoJson','generate','stringify','length'];a59_0x572a=function(){return _0x4e20fe;};return a59_0x572a();}var a59_0x1bd09b=a59_0x134a;(function(_0x28b4f0,_0x48e1d3){var _0xef2976=a59_0x134a,_0x413e00=_0x28b4f0();while(!![]){try{var _0x304b1e=-parseInt(_0xef2976(0xa7))/0x1+-parseInt(_0xef2976(0x9d))/0x2*(parseInt(_0xef2976(0x9e))/0x3)+parseInt(_0xef2976(0x9b))/0x4*(parseInt(_0xef2976(0x96))/0x5)+parseInt(_0xef2976(0xab))/0x6+-parseInt(_0xef2976(0xa9))/0x7+-parseInt(_0xef2976(0xac))/0x8*(parseInt(_0xef2976(0xaa))/0x9)+parseInt(_0xef2976(0x9f))/0xa;if(_0x304b1e===_0x48e1d3)break;else _0x413e00['push'](_0x413e00['shift']());}catch(_0x4cc52d){_0x413e00['push'](_0x413e00['shift']());}}}(a59_0x572a,0x8401d));import{LineString}from'ol/geom';import a59_0x49c594 from'ol/format/GeoJSON';import a59_0xbcdf9a from'../../../mapView/Map';class Plot extends LineString{constructor(){super([]),this['points']=[];}['getPlotType'](){var _0x268417=a59_0x134a;return this[_0x268417(0x9c)];}[a59_0x1bd09b(0xa3)](){return new a59_0x49c594()['writeGeometryObject'](this);}['setStyle'](_0x5dee92){var _0x567918=a59_0x1bd09b;this['style']=JSON[_0x567918(0x97)](JSON[_0x567918(0xa5)](_0x5dee92));}[a59_0x1bd09b(0x9a)](_0x5e9ef5){var _0x5a0e9b=a59_0x1bd09b;if(_0x5e9ef5&&_0x5e9ef5 instanceof a59_0xbcdf9a)this[_0x5a0e9b(0x99)]=_0x5e9ef5;else throw new Error(_0x5a0e9b(0xa2));}['getMap'](){var _0x27ae19=a59_0x1bd09b;return this[_0x27ae19(0x99)];}[a59_0x1bd09b(0xa8)](){return!![];}['setPoints'](_0x5a32af){var _0x2d97ee=a59_0x1bd09b;this[_0x2d97ee(0x95)]=!_0x5a32af?[]:_0x5a32af,this[_0x2d97ee(0x95)][_0x2d97ee(0xa6)]>=0x1&&(this[_0x2d97ee(0xa4)]&&this[_0x2d97ee(0xa4)]());}[a59_0x1bd09b(0xa4)](){}[a59_0x1bd09b(0x98)](){var _0x53ea97=a59_0x1bd09b;return this[_0x53ea97(0x95)][_0x53ea97(0xa0)](0x0);}['getPointCount'](){var _0x5d373c=a59_0x1bd09b;return this[_0x5d373c(0x95)][_0x5d373c(0xa6)];}[a59_0x1bd09b(0xa1)](){}}function a59_0x134a(_0x2dceb2,_0x15f3c6){var _0x572ae8=a59_0x572a();return a59_0x134a=function(_0x134a59,_0x58dcd2){_0x134a59=_0x134a59-0x95;var _0x3734b5=_0x572ae8[_0x134a59];return _0x3734b5;},a59_0x134a(_0x2dceb2,_0x15f3c6);}export default Plot;
@@ -1 +1 @@
1
- function a60_0x37ac(_0x117966,_0x3383b6){var _0x23d665=a60_0x23d6();return a60_0x37ac=function(_0x37acb3,_0xace1a){_0x37acb3=_0x37acb3-0x17d;var _0xc9c260=_0x23d665[_0x37acb3];return _0xc9c260;},a60_0x37ac(_0x117966,_0x3383b6);}var a60_0x54edfb=a60_0x37ac;(function(_0xb725e9,_0x192ea8){var _0x4fdd86=a60_0x37ac,_0x5dedab=_0xb725e9();while(!![]){try{var _0x3c23e4=-parseInt(_0x4fdd86(0x18e))/0x1*(-parseInt(_0x4fdd86(0x186))/0x2)+parseInt(_0x4fdd86(0x189))/0x3*(parseInt(_0x4fdd86(0x190))/0x4)+parseInt(_0x4fdd86(0x18b))/0x5*(-parseInt(_0x4fdd86(0x182))/0x6)+-parseInt(_0x4fdd86(0x183))/0x7*(parseInt(_0x4fdd86(0x17d))/0x8)+parseInt(_0x4fdd86(0x180))/0x9+-parseInt(_0x4fdd86(0x18f))/0xa*(-parseInt(_0x4fdd86(0x187))/0xb)+parseInt(_0x4fdd86(0x184))/0xc*(parseInt(_0x4fdd86(0x181))/0xd);if(_0x3c23e4===_0x192ea8)break;else _0x5dedab['push'](_0x5dedab['shift']());}catch(_0x468d06){_0x5dedab['push'](_0x5dedab['shift']());}}}(a60_0x23d6,0x8bf18));import a60_0x306fca from'./BaseLine';function a60_0x23d6(){var _0x314058=['stringify','6796EYsGvq','70nvwSCt','82564ZFjuIB','generate','style','32gcIAdb','type','points','2056995mqdXDv','3848hvDYTG','6gEnOiE','1873627vikzlR','10344gUlIQp','setStyle','140NHEdrT','627154uWoCCa','updateLastPoint','48niGQFY','setCoordinates','224645xUWcDc','length'];a60_0x23d6=function(){return _0x314058;};return a60_0x23d6();}class Polyline extends a60_0x306fca{constructor(_0x490887){var _0x37bd9a=a60_0x37ac;super(),this[_0x37bd9a(0x17e)]='LineString',this[_0x37bd9a(0x18a)](_0x490887);}[a60_0x54edfb(0x191)](){var _0x49022e=a60_0x54edfb;this[_0x49022e(0x18a)](this[_0x49022e(0x17f)]);}['updatePoint'](_0x9e7fc0,_0x25a8c8){var _0x3e5612=a60_0x54edfb;_0x25a8c8>=0x0&&_0x25a8c8<this[_0x3e5612(0x17f)][_0x3e5612(0x18c)]&&(this[_0x3e5612(0x17f)][_0x25a8c8]=_0x9e7fc0,this[_0x3e5612(0x191)]());}[a60_0x54edfb(0x188)](_0x55abab){var _0x4283cc=a60_0x54edfb;this['updatePoint'](_0x55abab,this['points'][_0x4283cc(0x18c)]-0x1);}['isPlot'](){return![];}[a60_0x54edfb(0x185)](_0xe9ccc2){var _0x5e0dc0=a60_0x54edfb;this[_0x5e0dc0(0x192)]=JSON['parse'](JSON[_0x5e0dc0(0x18d)](_0xe9ccc2));}}export default Polyline;
1
+ function a60_0x351e(_0x18a927,_0x6f98e0){var _0x50df6f=a60_0x50df();return a60_0x351e=function(_0x351e38,_0xb2679b){_0x351e38=_0x351e38-0x190;var _0x1f7ebe=_0x50df6f[_0x351e38];return _0x1f7ebe;},a60_0x351e(_0x18a927,_0x6f98e0);}function a60_0x50df(){var _0x149698=['143596KnaCpy','30jielCn','9pnMSKT','length','setStyle','396132woOqPu','3388190gicQSp','updatePoint','LineString','generate','2312qKrpus','points','6587zvTqRl','updateLastPoint','216512ycAqXF','2382135EupkEi','style','stringify','setCoordinates','59430tTgMHC','parse'];a60_0x50df=function(){return _0x149698;};return a60_0x50df();}var a60_0x407692=a60_0x351e;(function(_0x4459a1,_0x4d4272){var _0x1ec64a=a60_0x351e,_0x56af3d=_0x4459a1();while(!![]){try{var _0x579324=parseInt(_0x1ec64a(0x191))/0x1+-parseInt(_0x1ec64a(0x19a))/0x2+-parseInt(_0x1ec64a(0x1a2))/0x3*(-parseInt(_0x1ec64a(0x1a1))/0x4)+-parseInt(_0x1ec64a(0x19b))/0x5+parseInt(_0x1ec64a(0x19f))/0x6+-parseInt(_0x1ec64a(0x198))/0x7*(parseInt(_0x1ec64a(0x196))/0x8)+-parseInt(_0x1ec64a(0x1a3))/0x9*(-parseInt(_0x1ec64a(0x192))/0xa);if(_0x579324===_0x4d4272)break;else _0x56af3d['push'](_0x56af3d['shift']());}catch(_0xc83cd2){_0x56af3d['push'](_0x56af3d['shift']());}}}(a60_0x50df,0x3c5ae));import a60_0x53196b from'./BaseLine';class Polyline extends a60_0x53196b{constructor(_0x3e7a8a){var _0x569766=a60_0x351e;super(),this['type']=_0x569766(0x194),this[_0x569766(0x19e)](_0x3e7a8a);}[a60_0x407692(0x195)](){var _0x3e5e4b=a60_0x407692;this['setCoordinates'](this[_0x3e5e4b(0x197)]);}['updatePoint'](_0x166bdb,_0x5c2b15){var _0x27f605=a60_0x407692;_0x5c2b15>=0x0&&_0x5c2b15<this[_0x27f605(0x197)][_0x27f605(0x1a4)]&&(this[_0x27f605(0x197)][_0x5c2b15]=_0x166bdb,this[_0x27f605(0x195)]());}[a60_0x407692(0x199)](_0x276ae3){var _0x5bf58c=a60_0x407692;this[_0x5bf58c(0x193)](_0x276ae3,this[_0x5bf58c(0x197)][_0x5bf58c(0x1a4)]-0x1);}['isPlot'](){return![];}[a60_0x407692(0x190)](_0x4fa58e){var _0x31b3e3=a60_0x407692;this[_0x31b3e3(0x19c)]=JSON[_0x31b3e3(0x1a0)](JSON[_0x31b3e3(0x19d)](_0x4fa58e));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x4ee22a,_0xee9c65){const _0x4a4c60=a63_0x4987,_0x3eccb3=_0x4ee22a();while(!![]){try{const _0x2d8c9e=-parseInt(_0x4a4c60(0x1ae))/0x1*(-parseInt(_0x4a4c60(0x171))/0x2)+parseInt(_0x4a4c60(0x1ad))/0x3+parseInt(_0x4a4c60(0x1a0))/0x4*(parseInt(_0x4a4c60(0x177))/0x5)+parseInt(_0x4a4c60(0x18b))/0x6+parseInt(_0x4a4c60(0x18e))/0x7*(-parseInt(_0x4a4c60(0x175))/0x8)+-parseInt(_0x4a4c60(0x1a2))/0x9*(-parseInt(_0x4a4c60(0x173))/0xa)+-parseInt(_0x4a4c60(0x190))/0xb;if(_0x2d8c9e===_0xee9c65)break;else _0x3eccb3['push'](_0x3eccb3['shift']());}catch(_0x236bf6){_0x3eccb3['push'](_0x3eccb3['shift']());}}}(a63_0x31bc,0x76727));function a63_0x4987(_0x4ee62e,_0x3f05f6){const _0x31bc78=a63_0x31bc();return a63_0x4987=function(_0x4987f9,_0x4ab488){_0x4987f9=_0x4987f9-0x16e;let _0x5f234a=_0x31bc78[_0x4987f9];return _0x5f234a;},a63_0x4987(_0x4ee62e,_0x3f05f6);}import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x3219ff from'ol/style/Style';import a63_0xcfb648 from'ol/style/Circle';import a63_0x28f8df from'ol/style/Fill';import a63_0x2d8a17 from'ol/style/Stroke';function getMainStyle(_0x3d3949,_0x14a68b=0x0,_0x26a126){const _0x3c8857=a63_0x4987;let _0xc9d736;return _0x3d3949[_0x3c8857(0x172)]||_0x3d3949[_0x3c8857(0x178)]?_0xc9d736=new a63_0x3219ff({'renderer':(_0x5f5c92,_0x7adc81)=>{preLoadImageRenderFunction(_0x3d3949,_0x5f5c92,_0x7adc81,_0x26a126,_rendererFunction);},'zIndex':Number(_0x14a68b)}):_0xc9d736=new a63_0x3219ff({'image':new a63_0xcfb648({'radius':_0x3d3949[_0x3c8857(0x183)]?_0x3d3949[_0x3c8857(0x183)]:_0x3d3949[_0x3c8857(0x184)],'fill':new a63_0x28f8df({'color':getColor(_0x3d3949[_0x3c8857(0x1b6)],_0x3d3949[_0x3c8857(0x17e)])}),'stroke':_0x3d3949[_0x3c8857(0x1af)]&&_0x3d3949[_0x3c8857(0x18a)]?new a63_0x2d8a17({'color':getColor(_0x3d3949[_0x3c8857(0x18a)],_0x3d3949['outlineOpacity']),'width':_0x3d3949['outlineWidth']}):undefined}),'zIndex':Number(_0x14a68b)}),_0xc9d736;}function _rendererFunction(_0x15c3d2,_0x374712,_0x2d3dd9,_0x574f31,_0x1da23d){const _0x30ab5b=a63_0x4987;if(!_0x1da23d||_0x1da23d['width']===0x0){let _0x16cd01=new Image();_0x16cd01[_0x30ab5b(0x1a1)]=_0x15c3d2[_0x30ab5b(0x172)];}if(_0x15c3d2[_0x30ab5b(0x17c)]&&_0x15c3d2[_0x30ab5b(0x1b6)]!==''){let _0x5bacd3=_0x15c3d2[_0x30ab5b(0x18d)]||0x1,_0xeb163e=_0x15c3d2[_0x30ab5b(0x182)]||_0x1da23d['width']*_0x5bacd3,_0xe0ba5=_0x15c3d2[_0x30ab5b(0x179)]||_0x1da23d[_0x30ab5b(0x179)]*_0x5bacd3;_0xeb163e=_0xeb163e*_0x2d3dd9['pixelRatio'],_0xe0ba5=_0xe0ba5*_0x2d3dd9[_0x30ab5b(0x19c)];const _0x1db160=document[_0x30ab5b(0x19a)](_0x30ab5b(0x185));_0x1db160[_0x30ab5b(0x182)]=_0xeb163e,_0x1db160[_0x30ab5b(0x179)]=_0xe0ba5;const _0x1058e5=_0x1db160[_0x30ab5b(0x197)]('2d');_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5['drawImage'](_0x1da23d,0x0,0x0,_0xeb163e,_0xe0ba5);let _0x58141b=_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x193)](0x0,0x0,_0xeb163e,_0xe0ba5),_0x42f0d7=_0x58141b===null||_0x58141b===void 0x0?void 0x0:_0x58141b[_0x30ab5b(0x17d)];_0x1da23d=_0x1db160;let _0x2f8359=HexToRgb(_0x15c3d2[_0x30ab5b(0x1b6)]);if(_0x42f0d7&&_0x2f8359)for(var _0x2f1460=0x0;_0x2f1460<_0x42f0d7[_0x30ab5b(0x17f)];_0x2f1460+=0x4){_0x42f0d7[_0x2f1460]=_0x2f8359[0x0],_0x42f0d7[_0x2f1460+0x1]=_0x2f8359[0x1],_0x42f0d7[_0x2f1460+0x2]=_0x2f8359[0x2];}_0x58141b&&(_0x1058e5===null||_0x1058e5===void 0x0?void 0x0:_0x1058e5[_0x30ab5b(0x1ab)](_0x58141b,0x0,0x0));}let _0x823c87=_0x2d3dd9[_0x30ab5b(0x17b)],_0x499145=_0x2d3dd9[_0x30ab5b(0x19c)],_0xb3e5b1=_0x823c87[_0x30ab5b(0x19d)](),_0x2a603b=_0x823c87[_0x30ab5b(0x16f)](),_0x4b111e=[];switch(_0x2a603b){case _0x30ab5b(0x1a7):_0x4b111e=_0x823c87[_0x30ab5b(0x188)]();break;case _0x30ab5b(0x18f):_0x4b111e=_0x823c87['getFlatMidpoints'](),_0xb3e5b1=0x2;break;case _0x30ab5b(0x194):_0x4b111e=_0x823c87[_0x30ab5b(0x1aa)](),_0xb3e5b1=0x3;break;case _0x30ab5b(0x19e):{let _0x3671c1=_0x823c87[_0x30ab5b(0x19b)]();_0x4b111e=[];for(let _0x423a8f=0x0,_0x410a8f=_0x3671c1[_0x30ab5b(0x17f)];_0x423a8f<_0x410a8f;_0x423a8f+=0x3){_0x4b111e['push'](_0x3671c1[_0x423a8f],_0x3671c1[_0x423a8f+0x1]);}if(_0x4b111e[_0x30ab5b(0x17f)]===0x0)return;_0xb3e5b1=0x2;break;}}if(_0x4b111e[_0x30ab5b(0x17f)]>0x0&&_0x574f31)for(let _0x7271d8=0x0,_0x44bfd9=_0x4b111e[_0x30ab5b(0x17f)];_0x7271d8<_0x44bfd9;_0x7271d8+=_0xb3e5b1){let _0x498299=[_0x4b111e[_0x7271d8],_0x4b111e[_0x7271d8+0x1]],_0x983c15=_0x574f31[_0x30ab5b(0x195)](_0x498299);_0x983c15=[_0x983c15[0x0]*_0x499145,_0x983c15[0x1]*_0x499145],drawImage(_0x15c3d2,_0x983c15,_0x2d3dd9,_0x1da23d);}else{if(_0x2a603b===_0x30ab5b(0x192))for(let _0x4cb676 of _0x374712){drawImage(_0x15c3d2,_0x4cb676,_0x2d3dd9,_0x1da23d);}else drawImage(_0x15c3d2,_0x374712,_0x2d3dd9,_0x1da23d);}}function a63_0x31bc(){const _0x4b6d27=['billboard','stringify','label','color','replace','imgUrl','modelKind','getType','parse','814mNQmrM','image','80720BhGfYp','push','14872KvRIuC','rotate','1490xGwTwM','markerColor','height','CENTER','geometry','changeColor','data','opacity','length','RIGHT','BOTTOM','width','radius','pixelSize','canvas','warn','point','getFlatMidpoint','zIndex','outlineColor','3755190osUWQS','show','scale','1596NwqqXC','MultiLineString','21009890zZgVXo','verticalOrigin','MultiPoint','getImageData','Polygon','getPixelFromCoordinate','pixelOffset','getContext','.png','cloud','createElement','getFlatInteriorPoints','pixelRatio','getStride','MultiPolygon','TOP','8080EUHlGS','src','621NRkcpS','model','save','toUpperCase','translate','LineString','match','drawImage','getFlatInteriorPoint','putImageData','text','2537301KNKAKJ','463dVthQN','outline','restore','LEFT','rotation'];a63_0x31bc=function(){return _0x4b6d27;};return a63_0x31bc();}function HexToRgb(_0x576753){const _0x1a39b4=a63_0x4987;_0x576753=_0x576753[_0x1a39b4(0x1b7)]('#','');let _0x3004d4=_0x576753[_0x1a39b4(0x1a8)](/../g);if(_0x3004d4){for(let _0x20b5c0=0x0;_0x20b5c0<0x3;_0x20b5c0++)_0x3004d4[_0x20b5c0]=parseInt(_0x3004d4[_0x20b5c0],0x10);}return _0x3004d4;}export function getImageOlStyle(_0xd59803,_0x3f9a5d,_0x591dc6,_0x23afa2){const _0x6dddc9=a63_0x4987;var _0x48573e;if(_0xd59803&&_0xd59803[_0x6dddc9(0x18c)]!==![]){_0xd59803=JSON[_0x6dddc9(0x170)](JSON[_0x6dddc9(0x1b4)](_0xd59803)),_0x3f9a5d=(_0x48573e=_0xd59803[_0x6dddc9(0x189)])!==null&&_0x48573e!==void 0x0?_0x48573e:_0x3f9a5d;let _0x5a6c7f=isShowStyle(_0xd59803,_0x591dc6,_0x23afa2);if(_0x5a6c7f)return _0xd59803['image']=parseImage(_0xd59803[_0x6dddc9(0x172)]),getMainStyle(_0xd59803,_0x3f9a5d,_0x23afa2);}}export function getPointStyle(_0x74f4b7,_0x5c3d60,_0x3def89,_0x1d66a2){const _0x3d9282=a63_0x4987;var _0xdadd25,_0x3b06ed;_0x74f4b7=JSON[_0x3d9282(0x170)](JSON[_0x3d9282(0x1b4)](_0x74f4b7));let _0x4b95a8=(_0xdadd25=_0x74f4b7[_0x3d9282(0x189)])!==null&&_0xdadd25!==void 0x0?_0xdadd25:0x0,_0x4903bc=[],_0x152b6b=getImageOlStyle(_0x74f4b7,_0x4b95a8,_0x3def89,_0x1d66a2);_0x152b6b&&_0x4903bc[_0x3d9282(0x174)](_0x152b6b);let _0x492399=getImageOlStyle(_0x74f4b7['billboard'],_0x4b95a8,_0x3def89,_0x1d66a2);_0x492399&&_0x4903bc['push'](_0x492399);if(_0x74f4b7['model']&&_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x18c)]!==![]){let _0x575f17=isShowStyle(_0x74f4b7[_0x3d9282(0x1a3)],_0x3def89,_0x1d66a2);if(_0x575f17){let _0x2250bf=(_0x3b06ed=_0x74f4b7['model']['zIndex'])!==null&&_0x3b06ed!==void 0x0?_0x3b06ed:_0x4b95a8,_0xaae926=_0x74f4b7[_0x3d9282(0x1a3)]['imgUrl']||'model/'+_0x74f4b7[_0x3d9282(0x1a3)][_0x3d9282(0x16e)]+_0x3d9282(0x198);_0x74f4b7[_0x3d9282(0x18d)]=0x1,_0x74f4b7[_0x3d9282(0x182)]=0x30,_0x74f4b7[_0x3d9282(0x179)]=0x30,_0x74f4b7[_0x3d9282(0x191)]=_0x3d9282(0x17a),_0x4903bc[_0x3d9282(0x174)](getMainStyle(_0x74f4b7['model'],_0x2250bf,_0x1d66a2));}}if(_0x74f4b7['label']&&_0x74f4b7[_0x3d9282(0x1b5)][_0x3d9282(0x18c)]!==![]){let _0x489ebf=new a63_0x3219ff({'text':createTextStyle(_0x74f4b7[_0x3d9282(0x1b5)],_0x5c3d60,_0x3def89,_0x1d66a2),'zIndex':Number(_0x4b95a8)+0x1});_0x4903bc[_0x3d9282(0x174)](_0x489ebf);}return _0x4903bc;}export function getPointSingleStyle(_0x3b8c6e,_0x26a82e,_0x5da7bc,_0x5af07b){const _0x514d06=a63_0x4987;_0x26a82e=JSON['parse'](JSON[_0x514d06(0x1b4)](_0x26a82e));let _0x3f2374=_0x26a82e[_0x514d06(0x1b5)],_0x2acef6;_0x3f2374&&(_0x2acef6=_0x3f2374['text']?_0x3f2374[_0x514d06(0x1ac)]:'');if(_0x3b8c6e===_0x514d06(0x1b3))return _0x26a82e[_0x514d06(0x172)]=parseImage(_0x26a82e[_0x514d06(0x172)]),getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x1a3)){let _0x3dfdd2=_0x26a82e[_0x514d06(0x1b8)]||'model/'+_0x26a82e['modelKind']+_0x514d06(0x198);return _0x26a82e['scale']=0x1,_0x26a82e[_0x514d06(0x182)]=0x30,_0x26a82e[_0x514d06(0x179)]=0x30,_0x26a82e['verticalOrigin']='CENTER',getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}else{if(_0x3b8c6e===_0x514d06(0x199))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else{if(_0x3b8c6e===_0x514d06(0x187))return getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);else return _0x3b8c6e===_0x514d06(0x1b5)?new a63_0x3219ff({'text':createTextStyle(_0x26a82e,_0x26a82e[_0x514d06(0x1ac)],_0x5da7bc,_0x5af07b),'zIndex':_0x26a82e[_0x514d06(0x189)]}):getPointStyle(_0x26a82e,_0x2acef6,_0x5da7bc,_0x5af07b);}}}}function drawImage(_0x2fe696,_0x56a91c,_0x3c9fe4,_0x3f695f){const _0x54c87f=a63_0x4987;var _0x156ea6,_0x190173,_0x4ecf40,_0x5d32e7;let _0x490577=_0x3c9fe4['context'];try{_0x490577[_0x54c87f(0x1a4)]();let _0x2092c8=Number(_0x2fe696['pixelOffsetX']||((_0x156ea6=_0x2fe696[_0x54c87f(0x196)])===null||_0x156ea6===void 0x0?void 0x0:_0x156ea6[0x0])||0x0),_0x517a7e=Number(_0x2fe696['pixelOffsetY']||((_0x190173=_0x2fe696[_0x54c87f(0x196)])===null||_0x190173===void 0x0?void 0x0:_0x190173[0x1])||0x0);_0x490577[_0x54c87f(0x1a6)](_0x56a91c[0x0]+_0x2092c8,_0x56a91c[0x1]+_0x517a7e);if(_0x2fe696[_0x54c87f(0x1b2)])_0x490577[_0x54c87f(0x176)](toRadians(_0x2fe696[_0x54c87f(0x1b2)]));_0x490577['globalAlpha']=_0x2fe696[_0x54c87f(0x17e)]!=null?_0x2fe696[_0x54c87f(0x17e)]:0x1;if(_0x3f695f[_0x54c87f(0x182)]>0x0){let _0x5ee49f=_0x2fe696[_0x54c87f(0x18d)]||0x1,_0x475139=_0x2fe696[_0x54c87f(0x182)]||_0x3f695f[_0x54c87f(0x182)]*_0x5ee49f,_0x5a19b3=_0x2fe696[_0x54c87f(0x179)]||_0x3f695f[_0x54c87f(0x179)]*_0x5ee49f;_0x475139=_0x475139*_0x3c9fe4[_0x54c87f(0x19c)],_0x5a19b3=_0x5a19b3*_0x3c9fe4[_0x54c87f(0x19c)];_0x2fe696['changeColor']&&(_0x475139=_0x3f695f[_0x54c87f(0x182)],_0x5a19b3=_0x3f695f[_0x54c87f(0x179)]);let _0xc616fa;switch((_0x4ecf40=_0x2fe696['horizontalOrigin'])===null||_0x4ecf40===void 0x0?void 0x0:_0x4ecf40['toUpperCase']()){default:case _0x54c87f(0x17a):_0xc616fa=-_0x475139/0x2;break;case _0x54c87f(0x1b1):_0xc616fa=0x0;break;case _0x54c87f(0x180):_0xc616fa=-_0x475139;break;}let _0x7cac44;switch((_0x5d32e7=_0x2fe696[_0x54c87f(0x191)])===null||_0x5d32e7===void 0x0?void 0x0:_0x5d32e7[_0x54c87f(0x1a5)]()){default:case _0x54c87f(0x181):_0x7cac44=-_0x5a19b3;break;case _0x54c87f(0x17a):_0x7cac44=-_0x5a19b3/0x2;break;case _0x54c87f(0x19f):_0x7cac44=0x0;break;}_0x490577[_0x54c87f(0x1a9)](_0x3f695f,_0xc616fa,_0x7cac44,_0x475139,_0x5a19b3);}else _0x490577['drawImage'](_0x3f695f,0x0,0x0);_0x490577[_0x54c87f(0x1b0)]();}catch(_0x880d71){_0x490577[_0x54c87f(0x1b0)](),console[_0x54c87f(0x186)](_0x880d71);}}
1
+ (function(_0x5993a6,_0x59ce61){const _0x39802c=a63_0x4102,_0x3d9e49=_0x5993a6();while(!![]){try{const _0x33d92f=-parseInt(_0x39802c(0x169))/0x1*(-parseInt(_0x39802c(0x167))/0x2)+-parseInt(_0x39802c(0x16c))/0x3+-parseInt(_0x39802c(0x171))/0x4+parseInt(_0x39802c(0x159))/0x5+-parseInt(_0x39802c(0x154))/0x6+parseInt(_0x39802c(0x162))/0x7*(parseInt(_0x39802c(0x158))/0x8)+-parseInt(_0x39802c(0x142))/0x9;if(_0x33d92f===_0x59ce61)break;else _0x3d9e49['push'](_0x3d9e49['shift']());}catch(_0x9a0e24){_0x3d9e49['push'](_0x3d9e49['shift']());}}}(a63_0x187e,0x5da8e));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a63_0x432692 from'ol/style/Style';function a63_0x4102(_0x1b7249,_0x42f9fc){const _0x187e70=a63_0x187e();return a63_0x4102=function(_0x41027f,_0x3e55cd){_0x41027f=_0x41027f-0x13f;let _0x4e2f84=_0x187e70[_0x41027f];return _0x4e2f84;},a63_0x4102(_0x1b7249,_0x42f9fc);}import a63_0x2fe92b from'ol/style/Circle';function a63_0x187e(){const _0x58f6bd=['1861528NjehEe','getFlatInteriorPoint','model/','LEFT','drawImage','horizontalOrigin','pixelOffset','image','warn','canvas','LineString','length','MultiPoint','zIndex','outlineWidth','color','outlineColor','CENTER','3636549oBNqaS','height','pixelOffsetX','MultiLineString','getStride','pixelRatio','model','parse','width','Polygon','rotation','getContext','getFlatMidpoint','pixelOffsetY','verticalOrigin','MultiPolygon','outline','rotate','1989696rxJqKM','point','stringify','markerColor','12872uWdCBR','3367755mKmkLy','label','translate','BOTTOM','scale','text','push','opacity','.png','2898alBhiS','imgUrl','getImageData','changeColor','radius','20180jraaoA','getPixelFromCoordinate','25uThxfW','modelKind','context','21714zDtFYV','putImageData','replace','TOP','show'];a63_0x187e=function(){return _0x58f6bd;};return a63_0x187e();}import a63_0xb302cb from'ol/style/Fill';import a63_0x132821 from'ol/style/Stroke';function getMainStyle(_0x21cb8a,_0x13d1ea=0x0,_0xcc6dd7){const _0x5f1803=a63_0x4102;let _0xdc6cea;return _0x21cb8a[_0x5f1803(0x178)]||_0x21cb8a[_0x5f1803(0x157)]?_0xdc6cea=new a63_0x432692({'renderer':(_0x241832,_0x3693a0)=>{preLoadImageRenderFunction(_0x21cb8a,_0x241832,_0x3693a0,_0xcc6dd7,_rendererFunction);},'zIndex':Number(_0x13d1ea)}):_0xdc6cea=new a63_0x432692({'image':new a63_0x2fe92b({'radius':_0x21cb8a[_0x5f1803(0x166)]?_0x21cb8a['radius']:_0x21cb8a['pixelSize'],'fill':new a63_0xb302cb({'color':getColor(_0x21cb8a[_0x5f1803(0x13f)],_0x21cb8a[_0x5f1803(0x160)])}),'stroke':_0x21cb8a[_0x5f1803(0x152)]&&_0x21cb8a[_0x5f1803(0x140)]?new a63_0x132821({'color':getColor(_0x21cb8a[_0x5f1803(0x140)],_0x21cb8a['outlineOpacity']),'width':_0x21cb8a[_0x5f1803(0x17f)]}):undefined}),'zIndex':Number(_0x13d1ea)}),_0xdc6cea;}function _rendererFunction(_0x35432f,_0x34b2dc,_0x423d1e,_0x39e6c5,_0x45a470){const _0x4fa37c=a63_0x4102;if(!_0x45a470||_0x45a470[_0x4fa37c(0x14a)]===0x0){let _0x4e02ed=new Image();_0x4e02ed['src']=_0x35432f['image'];}if(_0x35432f[_0x4fa37c(0x165)]&&_0x35432f[_0x4fa37c(0x13f)]!==''){let _0x3b4665=_0x35432f[_0x4fa37c(0x15d)]||0x1,_0x7a7a89=_0x35432f[_0x4fa37c(0x14a)]||_0x45a470[_0x4fa37c(0x14a)]*_0x3b4665,_0x454bce=_0x35432f[_0x4fa37c(0x143)]||_0x45a470[_0x4fa37c(0x143)]*_0x3b4665;_0x7a7a89=_0x7a7a89*_0x423d1e[_0x4fa37c(0x147)],_0x454bce=_0x454bce*_0x423d1e[_0x4fa37c(0x147)];const _0x4c2956=document['createElement'](_0x4fa37c(0x17a));_0x4c2956['width']=_0x7a7a89,_0x4c2956[_0x4fa37c(0x143)]=_0x454bce;const _0x21ade8=_0x4c2956[_0x4fa37c(0x14d)]('2d');_0x21ade8===null||_0x21ade8===void 0x0?void 0x0:_0x21ade8[_0x4fa37c(0x175)](_0x45a470,0x0,0x0,_0x7a7a89,_0x454bce);let _0x4b6c24=_0x21ade8===null||_0x21ade8===void 0x0?void 0x0:_0x21ade8[_0x4fa37c(0x164)](0x0,0x0,_0x7a7a89,_0x454bce),_0x2fac37=_0x4b6c24===null||_0x4b6c24===void 0x0?void 0x0:_0x4b6c24['data'];_0x45a470=_0x4c2956;let _0x3698e8=HexToRgb(_0x35432f[_0x4fa37c(0x13f)]);if(_0x2fac37&&_0x3698e8)for(var _0x5adb06=0x0;_0x5adb06<_0x2fac37[_0x4fa37c(0x17c)];_0x5adb06+=0x4){_0x2fac37[_0x5adb06]=_0x3698e8[0x0],_0x2fac37[_0x5adb06+0x1]=_0x3698e8[0x1],_0x2fac37[_0x5adb06+0x2]=_0x3698e8[0x2];}_0x4b6c24&&(_0x21ade8===null||_0x21ade8===void 0x0?void 0x0:_0x21ade8[_0x4fa37c(0x16d)](_0x4b6c24,0x0,0x0));}let _0x924fa9=_0x423d1e['geometry'],_0x2da1ef=_0x423d1e['pixelRatio'],_0x5e4cae=_0x924fa9[_0x4fa37c(0x146)](),_0x37c32b=_0x924fa9['getType'](),_0x33701f=[];switch(_0x37c32b){case _0x4fa37c(0x17b):_0x33701f=_0x924fa9[_0x4fa37c(0x14e)]();break;case _0x4fa37c(0x145):_0x33701f=_0x924fa9['getFlatMidpoints'](),_0x5e4cae=0x2;break;case _0x4fa37c(0x14b):_0x33701f=_0x924fa9[_0x4fa37c(0x172)](),_0x5e4cae=0x3;break;case _0x4fa37c(0x151):{let _0x464584=_0x924fa9['getFlatInteriorPoints']();_0x33701f=[];for(let _0xdd733e=0x0,_0x1ffc7a=_0x464584[_0x4fa37c(0x17c)];_0xdd733e<_0x1ffc7a;_0xdd733e+=0x3){_0x33701f[_0x4fa37c(0x15f)](_0x464584[_0xdd733e],_0x464584[_0xdd733e+0x1]);}if(_0x33701f['length']===0x0)return;_0x5e4cae=0x2;break;}}if(_0x33701f[_0x4fa37c(0x17c)]>0x0&&_0x39e6c5)for(let _0x38761a=0x0,_0x5b6b07=_0x33701f[_0x4fa37c(0x17c)];_0x38761a<_0x5b6b07;_0x38761a+=_0x5e4cae){let _0x44f8c0=[_0x33701f[_0x38761a],_0x33701f[_0x38761a+0x1]],_0x2fabee=_0x39e6c5[_0x4fa37c(0x168)](_0x44f8c0);_0x2fabee=[_0x2fabee[0x0]*_0x2da1ef,_0x2fabee[0x1]*_0x2da1ef],drawImage(_0x35432f,_0x2fabee,_0x423d1e,_0x45a470);}else{if(_0x37c32b===_0x4fa37c(0x17d))for(let _0x5c8bc5 of _0x34b2dc){drawImage(_0x35432f,_0x5c8bc5,_0x423d1e,_0x45a470);}else drawImage(_0x35432f,_0x34b2dc,_0x423d1e,_0x45a470);}}function HexToRgb(_0x29d6d5){const _0x56f7e9=a63_0x4102;_0x29d6d5=_0x29d6d5[_0x56f7e9(0x16e)]('#','');let _0x3acbf8=_0x29d6d5['match'](/../g);if(_0x3acbf8){for(let _0x49e482=0x0;_0x49e482<0x3;_0x49e482++)_0x3acbf8[_0x49e482]=parseInt(_0x3acbf8[_0x49e482],0x10);}return _0x3acbf8;}export function getImageOlStyle(_0x325fd9,_0x5ca571,_0x298a5a,_0x5ce9f5){const _0xe419cc=a63_0x4102;var _0x39b691;if(_0x325fd9&&_0x325fd9[_0xe419cc(0x170)]!==![]){_0x325fd9=JSON[_0xe419cc(0x149)](JSON['stringify'](_0x325fd9)),_0x5ca571=(_0x39b691=_0x325fd9['zIndex'])!==null&&_0x39b691!==void 0x0?_0x39b691:_0x5ca571;let _0x1aa554=isShowStyle(_0x325fd9,_0x298a5a,_0x5ce9f5);if(_0x1aa554)return _0x325fd9['image']=parseImage(_0x325fd9[_0xe419cc(0x178)]),getMainStyle(_0x325fd9,_0x5ca571,_0x5ce9f5);}}export function getPointStyle(_0x3bf16c,_0x6d0582,_0x3aca52,_0x4342f7){const _0x9b4926=a63_0x4102;var _0x20c533,_0x443c8b;_0x3bf16c=JSON['parse'](JSON[_0x9b4926(0x156)](_0x3bf16c));let _0x399fe7=(_0x20c533=_0x3bf16c[_0x9b4926(0x17e)])!==null&&_0x20c533!==void 0x0?_0x20c533:0x0,_0x2cf3f8=[],_0x3704d2=getImageOlStyle(_0x3bf16c,_0x399fe7,_0x3aca52,_0x4342f7);_0x3704d2&&_0x2cf3f8[_0x9b4926(0x15f)](_0x3704d2);let _0x5a5d82=getImageOlStyle(_0x3bf16c['billboard'],_0x399fe7,_0x3aca52,_0x4342f7);_0x5a5d82&&_0x2cf3f8['push'](_0x5a5d82);if(_0x3bf16c[_0x9b4926(0x148)]&&_0x3bf16c['model'][_0x9b4926(0x170)]!==![]){let _0x5e670e=isShowStyle(_0x3bf16c['model'],_0x3aca52,_0x4342f7);if(_0x5e670e){let _0x3fa04a=(_0x443c8b=_0x3bf16c[_0x9b4926(0x148)][_0x9b4926(0x17e)])!==null&&_0x443c8b!==void 0x0?_0x443c8b:_0x399fe7,_0x5e95b0=_0x3bf16c[_0x9b4926(0x148)][_0x9b4926(0x163)]||_0x9b4926(0x173)+_0x3bf16c[_0x9b4926(0x148)][_0x9b4926(0x16a)]+'.png';_0x3bf16c['scale']=0x1,_0x3bf16c['width']=0x30,_0x3bf16c[_0x9b4926(0x143)]=0x30,_0x3bf16c[_0x9b4926(0x150)]=_0x9b4926(0x141),_0x2cf3f8[_0x9b4926(0x15f)](getMainStyle(_0x3bf16c[_0x9b4926(0x148)],_0x3fa04a,_0x4342f7));}}if(_0x3bf16c[_0x9b4926(0x15a)]&&_0x3bf16c[_0x9b4926(0x15a)][_0x9b4926(0x170)]!==![]){let _0x5d3985=new a63_0x432692({'text':createTextStyle(_0x3bf16c[_0x9b4926(0x15a)],_0x6d0582,_0x3aca52,_0x4342f7),'zIndex':Number(_0x399fe7)+0x1});_0x2cf3f8[_0x9b4926(0x15f)](_0x5d3985);}return _0x2cf3f8;}export function getPointSingleStyle(_0x3e672f,_0x5805ac,_0x575534,_0x1e705a){const _0x191447=a63_0x4102;_0x5805ac=JSON['parse'](JSON['stringify'](_0x5805ac));let _0x37fd4a=_0x5805ac['label'],_0x34ee80;_0x37fd4a&&(_0x34ee80=_0x37fd4a[_0x191447(0x15e)]?_0x37fd4a['text']:'');if(_0x3e672f==='billboard')return _0x5805ac[_0x191447(0x178)]=parseImage(_0x5805ac['image']),getPointStyle(_0x5805ac,_0x34ee80,_0x575534,_0x1e705a);else{if(_0x3e672f==='model'){let _0x412922=_0x5805ac[_0x191447(0x163)]||_0x191447(0x173)+_0x5805ac[_0x191447(0x16a)]+_0x191447(0x161);return _0x5805ac[_0x191447(0x15d)]=0x1,_0x5805ac[_0x191447(0x14a)]=0x30,_0x5805ac[_0x191447(0x143)]=0x30,_0x5805ac['verticalOrigin']=_0x191447(0x141),getPointStyle(_0x5805ac,_0x34ee80,_0x575534,_0x1e705a);}else{if(_0x3e672f==='cloud')return getPointStyle(_0x5805ac,_0x34ee80,_0x575534,_0x1e705a);else{if(_0x3e672f===_0x191447(0x155))return getPointStyle(_0x5805ac,_0x34ee80,_0x575534,_0x1e705a);else return _0x3e672f===_0x191447(0x15a)?new a63_0x432692({'text':createTextStyle(_0x5805ac,_0x5805ac['text'],_0x575534,_0x1e705a),'zIndex':_0x5805ac[_0x191447(0x17e)]}):getPointStyle(_0x5805ac,_0x34ee80,_0x575534,_0x1e705a);}}}}function drawImage(_0x450b44,_0x3fa8f5,_0x250ad4,_0x540d2a){const _0x4b291e=a63_0x4102;var _0x54e2d2,_0x5906d2,_0x4548eb,_0x572d0c;let _0xbbaea4=_0x250ad4[_0x4b291e(0x16b)];try{_0xbbaea4['save']();let _0x5ba6ea=Number(_0x450b44[_0x4b291e(0x144)]||((_0x54e2d2=_0x450b44[_0x4b291e(0x177)])===null||_0x54e2d2===void 0x0?void 0x0:_0x54e2d2[0x0])||0x0),_0x4b1394=Number(_0x450b44[_0x4b291e(0x14f)]||((_0x5906d2=_0x450b44['pixelOffset'])===null||_0x5906d2===void 0x0?void 0x0:_0x5906d2[0x1])||0x0);_0xbbaea4[_0x4b291e(0x15b)](_0x3fa8f5[0x0]+_0x5ba6ea,_0x3fa8f5[0x1]+_0x4b1394);if(_0x450b44[_0x4b291e(0x14c)])_0xbbaea4[_0x4b291e(0x153)](toRadians(_0x450b44[_0x4b291e(0x14c)]));_0xbbaea4['globalAlpha']=_0x450b44['opacity']!=null?_0x450b44[_0x4b291e(0x160)]:0x1;if(_0x540d2a[_0x4b291e(0x14a)]>0x0){let _0x1486e2=_0x450b44['scale']||0x1,_0xbe3122=_0x450b44[_0x4b291e(0x14a)]||_0x540d2a[_0x4b291e(0x14a)]*_0x1486e2,_0x3d401e=_0x450b44[_0x4b291e(0x143)]||_0x540d2a[_0x4b291e(0x143)]*_0x1486e2;_0xbe3122=_0xbe3122*_0x250ad4[_0x4b291e(0x147)],_0x3d401e=_0x3d401e*_0x250ad4[_0x4b291e(0x147)];_0x450b44[_0x4b291e(0x165)]&&(_0xbe3122=_0x540d2a[_0x4b291e(0x14a)],_0x3d401e=_0x540d2a[_0x4b291e(0x143)]);let _0x301e8c;switch((_0x4548eb=_0x450b44[_0x4b291e(0x176)])===null||_0x4548eb===void 0x0?void 0x0:_0x4548eb['toUpperCase']()){default:case'CENTER':_0x301e8c=-_0xbe3122/0x2;break;case _0x4b291e(0x174):_0x301e8c=0x0;break;case'RIGHT':_0x301e8c=-_0xbe3122;break;}let _0x4e8c7e;switch((_0x572d0c=_0x450b44['verticalOrigin'])===null||_0x572d0c===void 0x0?void 0x0:_0x572d0c['toUpperCase']()){default:case _0x4b291e(0x15c):_0x4e8c7e=-_0x3d401e;break;case _0x4b291e(0x141):_0x4e8c7e=-_0x3d401e/0x2;break;case _0x4b291e(0x16f):_0x4e8c7e=0x0;break;}_0xbbaea4['drawImage'](_0x540d2a,_0x301e8c,_0x4e8c7e,_0xbe3122,_0x3d401e);}else _0xbbaea4[_0x4b291e(0x175)](_0x540d2a,0x0,0x0);_0xbbaea4['restore']();}catch(_0x334d16){_0xbbaea4['restore'](),console[_0x4b291e(0x179)](_0x334d16);}}
@@ -1 +1 @@
1
- (function(_0x3ff5e6,_0x5927e8){const _0x525b1a=a64_0x64e5,_0x3163a4=_0x3ff5e6();while(!![]){try{const _0x47e25e=parseInt(_0x525b1a(0x1dd))/0x1+-parseInt(_0x525b1a(0x208))/0x2*(parseInt(_0x525b1a(0x201))/0x3)+parseInt(_0x525b1a(0x1e2))/0x4+parseInt(_0x525b1a(0x1fd))/0x5+parseInt(_0x525b1a(0x1fa))/0x6*(parseInt(_0x525b1a(0x205))/0x7)+-parseInt(_0x525b1a(0x1d9))/0x8*(-parseInt(_0x525b1a(0x20c))/0x9)+parseInt(_0x525b1a(0x1f2))/0xa*(-parseInt(_0x525b1a(0x1fc))/0xb);if(_0x47e25e===_0x5927e8)break;else _0x3163a4['push'](_0x3163a4['shift']());}catch(_0x1008dc){_0x3163a4['push'](_0x3163a4['shift']());}}}(a64_0xdf83,0x819e9));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x64e5(_0x40f860,_0x2433c2){const _0xdf8375=a64_0xdf83();return a64_0x64e5=function(_0x64e5bc,_0x5ea395){_0x64e5bc=_0x64e5bc-0x1d2;let _0x47a61f=_0xdf8375[_0x64e5bc];return _0x47a61f;},a64_0x64e5(_0x40f860,_0x2433c2);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2d253a,_0xd2846,_0xe1688e,_0x1d3284){const _0x39c93f=a64_0x64e5;var _0x4bc333;let _0xe2c001=(_0x4bc333=_0x2d253a[_0x39c93f(0x1f3)])!==null&&_0x4bc333!==void 0x0?_0x4bc333:0x0,_0x54278e=new Style();_0x54278e['setZIndex'](_0xe2c001),_0x54278e[_0x39c93f(0x20a)](new Fill({'color':_0x39c93f(0x200)}));if(_0x2d253a[_0x39c93f(0x1e7)]!==![]){if(!_0x2d253a[_0x39c93f(0x20d)]||_0x2d253a['fillType']==='color')_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a['color'],_0x2d253a['opacity'])}));else{if(_0x2d253a['fillType']===_0x39c93f(0x212))_0x54278e['setRenderer']((_0x25fea2,_0x272697)=>{preLoadImageRenderFunction(_0x2d253a,_0x25fea2,_0x272697,_0x1d3284,_rendererFunction);});else _0x2d253a[_0x39c93f(0x20d)]===_0x39c93f(0x20f)||_0x2d253a['fillType']===_0x39c93f(0x1fb)||_0x2d253a[_0x39c93f(0x20d)]==='checkerboard'?_0x54278e[_0x39c93f(0x1ef)]((_0x5120e0,_0x17aebb)=>{_rendererFunction(_0x2d253a,_0x5120e0,_0x17aebb,_0x1d3284,null);}):_0x54278e[_0x39c93f(0x20a)](new Fill({'color':getColor(_0x2d253a[_0x39c93f(0x1e4)],_0x2d253a[_0x39c93f(0x1e3)])}));}}_0x2d253a[_0x39c93f(0x1da)]!==![]&&_0x54278e[_0x39c93f(0x1eb)](new Stroke({'color':getColor(_0x2d253a[_0x39c93f(0x1d8)],_0x2d253a[_0x39c93f(0x1de)]),'width':_0x2d253a[_0x39c93f(0x1e1)]}));let _0x54faa1=[_0x54278e];_0x2d253a[_0x39c93f(0x206)]&&!_0x2d253a['billboard']['verticalOrigin']&&(_0x2d253a[_0x39c93f(0x206)]['verticalOrigin']='CENTER');let _0x371e28=getImageOlStyle(_0x2d253a[_0x39c93f(0x206)],_0xe2c001,_0xe1688e,_0x1d3284);_0x371e28&&_0x54faa1['push'](_0x371e28);if(_0x2d253a[_0x39c93f(0x1f5)]&&_0x2d253a['label'][_0x39c93f(0x1f7)]!==![]){!_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]&&(_0x2d253a[_0x39c93f(0x1f5)][_0x39c93f(0x1ea)]=_0x39c93f(0x202));let _0x46dd11=new Style({'text':createTextStyle(_0x2d253a[_0x39c93f(0x1f5)],_0xd2846,_0xe1688e,_0x1d3284),'zIndex':Number(_0xe2c001)+0x1});_0x54faa1[_0x39c93f(0x1e8)](_0x46dd11);}return _0x54faa1;}function a64_0xdf83(){const _0x1ccb2e=['length','outlineWidth','1772416mlzUNG','opacity','color','context','src','fill','push','grid_lineCount','verticalOrigin','setStroke','createPattern','grid_lineThickness','restore','setRenderer','max','moveTo','16463030IxvWyC','zIndex','rgba(0,0,0,0.0)','label','fillStyle','show','globalAlpha','oddColor','12pSVakV','stripe','11urirJT','4573055cMyOOv','lineWidth','stroke','rgba(0,0,0,0)','151737YEwxTO','CENTER','getContext','height','2985297oZPhvi','billboard','warn','34Dnwoxl','strokeStyle','setFill','save','54081cGNbaL','fillType','repeatY','grid','stripe_repeat','canvas','image','lineTo','repeat','width','closePath','beginPath','stripe_oddcolor','checkerboard_repeat','outlineColor','944nOrWnl','outline','createElement','translate','117348PSJxqB','outlineOpacity','rgba(0,0,0,0.01)'];a64_0xdf83=function(){return _0x1ccb2e;};return a64_0xdf83();}function _rendererFunction(_0x3562fd,_0x1e742a,_0x4df8f8,_0x513c9b,_0x59251b){const _0x54f874=a64_0x64e5;try{var _0x160494=_0x4df8f8[_0x54f874(0x1e5)];for(var _0x39ffcd=0x0,_0x2c4ca1=_0x1e742a[_0x54f874(0x1e0)];_0x39ffcd<_0x2c4ca1;_0x39ffcd++){_0x160494[_0x54f874(0x20b)](),_0x160494[_0x54f874(0x1d5)]();var _0x198e96=_0x1e742a[_0x39ffcd];let _0x4cad33=boundingExtent(_0x198e96);_0x160494[_0x54f874(0x1dc)](_0x4cad33[0x0],_0x4cad33[0x1]);let _0x3fc442;switch(_0x3562fd[_0x54f874(0x20d)]){case _0x54f874(0x212):_0x3fc442=_getImagePattern(_0x160494,_0x4cad33,_0x3562fd,_0x59251b);break;case _0x54f874(0x20f):_0x3fc442=_getGridPattern(_0x160494,_0x4cad33,_0x3562fd);break;case _0x54f874(0x1fb):_0x3fc442=_getStripePattern(_0x160494,_0x4cad33,_0x3562fd);break;case'checkerboard':_0x3fc442=_getCheckerBoardPattern(_0x160494,_0x4cad33,_0x3562fd);break;default:_0x3fc442=_0x54f874(0x1df);break;}for(var _0x46306b=0x0,_0x28a094=_0x198e96[_0x54f874(0x1e0)];_0x46306b<_0x28a094;_0x46306b++){var _0x37dbc4=_0x198e96[_0x46306b];_0x46306b===0x0?_0x160494[_0x54f874(0x1f1)](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]):_0x160494['lineTo'](_0x37dbc4[0x0]-_0x4cad33[0x0],_0x37dbc4[0x1]-_0x4cad33[0x1]);}_0x160494[_0x54f874(0x1d4)](),_0x160494[_0x54f874(0x1f6)]=_0x54f874(0x1df),_0x160494[_0x54f874(0x1e7)](),_0x160494[_0x54f874(0x1f6)]=_0x3fc442,_0x160494[_0x54f874(0x1e7)](),_0x3562fd['outline']?(_0x160494['strokeStyle']=getColor(_0x3562fd[_0x54f874(0x1d8)],_0x3562fd[_0x54f874(0x1de)]),_0x160494[_0x54f874(0x1fe)]=_0x3562fd['outlineWidth']):_0x160494[_0x54f874(0x209)]=_0x54f874(0x1f4),_0x160494['stroke'](),_0x160494[_0x54f874(0x1ee)]();}}catch(_0x54e753){_0x160494[_0x54f874(0x1ee)](),console[_0x54f874(0x207)](_0x54e753);}}function _getImagePattern(_0x4b019d,_0xd7de1f,_0x258013,_0x34d9dd){const _0x2d6ab2=a64_0x64e5;if(!_0x34d9dd||_0x34d9dd[_0x2d6ab2(0x1d3)]===0x0){let _0xa69f04=new Image();_0xa69f04[_0x2d6ab2(0x1e6)]=_0x258013[_0x2d6ab2(0x212)];}var _0x89ef5a=getSize(_0xd7de1f);const _0x1679c2=document[_0x2d6ab2(0x1db)](_0x2d6ab2(0x211)),_0x3ca1b4=_0x1679c2['getContext']('2d');return _0x1679c2[_0x2d6ab2(0x1d3)]=Math['max'](_0x89ef5a[0x0]/_0x258013['repeatX'],0x1),_0x1679c2[_0x2d6ab2(0x204)]=Math[_0x2d6ab2(0x1f0)](_0x89ef5a[0x1]/_0x258013[_0x2d6ab2(0x20e)],0x1),_0x3ca1b4&&(_0x3ca1b4[_0x2d6ab2(0x1f8)]=_0x258013[_0x2d6ab2(0x1e3)],_0x3ca1b4['drawImage'](_0x34d9dd,0x0,0x0,_0x1679c2['width'],_0x1679c2[_0x2d6ab2(0x204)])),_0x4b019d['createPattern'](_0x1679c2,_0x2d6ab2(0x1d2));}function _getGridPattern(_0x30b184,_0x3e4860,_0xf0bfa8){const _0x576847=a64_0x64e5;var _0x565c18=getSize(_0x3e4860);const _0x55d524=document[_0x576847(0x1db)](_0x576847(0x211)),_0xbdc490=_0x55d524[_0x576847(0x203)]('2d');return _0x55d524['width']=Math[_0x576847(0x1f0)](_0x565c18[0x0]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0x55d524[_0x576847(0x204)]=Math[_0x576847(0x1f0)](_0x565c18[0x1]/_0xf0bfa8[_0x576847(0x1e9)],0x1),_0xbdc490&&(_0xbdc490[_0x576847(0x209)]=getColor(_0xf0bfa8[_0x576847(0x1e4)],_0xf0bfa8[_0x576847(0x1e3)]),_0xbdc490['lineWidth']=_0xf0bfa8[_0x576847(0x1ed)]*0x4,_0xbdc490[_0x576847(0x1d5)](),_0xbdc490[_0x576847(0x1f1)](0x0,_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x213)](_0x55d524['width'],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1f1)](_0x55d524[_0x576847(0x1d3)],0x0),_0xbdc490[_0x576847(0x213)](_0x55d524[_0x576847(0x1d3)],_0x55d524[_0x576847(0x204)]),_0xbdc490[_0x576847(0x1ff)]()),_0x30b184[_0x576847(0x1ec)](_0x55d524,_0x576847(0x1d2));}function _getStripePattern(_0x41a598,_0x28c730,_0x1a005e){const _0x31de78=a64_0x64e5;var _0x5cc737=getSize(_0x28c730);const _0x3f195e=document[_0x31de78(0x1db)]('canvas'),_0x8ceaee=_0x3f195e['getContext']('2d');let _0x33d38d=Math['max'](_0x5cc737[0x1]/_0x1a005e[_0x31de78(0x210)],0x1);return _0x3f195e[_0x31de78(0x1d3)]=_0x5cc737[0x0],_0x3f195e['height']=_0x33d38d*0x2,_0x8ceaee&&(_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,0x0),_0x8ceaee['lineTo'](_0x3f195e[_0x31de78(0x1d3)],0x0),_0x8ceaee[_0x31de78(0x213)](_0x3f195e['width'],_0x33d38d),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1d6)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)](),_0x8ceaee[_0x31de78(0x1d5)](),_0x8ceaee[_0x31de78(0x1f1)](0x0,_0x33d38d),_0x8ceaee[_0x31de78(0x213)](_0x3f195e[_0x31de78(0x1d3)],_0x33d38d),_0x8ceaee['lineTo'](_0x3f195e['width'],_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x213)](0x0,_0x33d38d*0x2),_0x8ceaee[_0x31de78(0x1d4)](),_0x8ceaee[_0x31de78(0x1f6)]=getColor(_0x1a005e[_0x31de78(0x1e4)],_0x1a005e[_0x31de78(0x1e3)]),_0x8ceaee[_0x31de78(0x1e7)]()),_0x41a598[_0x31de78(0x1ec)](_0x3f195e,_0x31de78(0x1d2));}function _getCheckerBoardPattern(_0x357cb9,_0x4e1eb6,_0x320e53){const _0x1ec570=a64_0x64e5;var _0x158c52=getSize(_0x4e1eb6);const _0x322ef9=document[_0x1ec570(0x1db)](_0x1ec570(0x211)),_0x369eb5=_0x322ef9[_0x1ec570(0x203)]('2d');let _0x225d6a=Math['max'](_0x158c52[0x0]/_0x320e53[_0x1ec570(0x1d7)],0x1),_0x2ecaac=Math[_0x1ec570(0x1f0)](_0x158c52[0x1]/_0x320e53['checkerboard_repeat'],0x1);return _0x322ef9[_0x1ec570(0x1d3)]=_0x225d6a*0x2,_0x322ef9[_0x1ec570(0x204)]=_0x2ecaac*0x2,_0x369eb5&&(_0x369eb5['beginPath'](),_0x369eb5[_0x1ec570(0x1f1)](0x0,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x1d4)](),_0x369eb5['fillStyle']=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],0x0),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5['moveTo'](0x0,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](0x0,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1e4)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)](),_0x369eb5[_0x1ec570(0x1d5)](),_0x369eb5[_0x1ec570(0x1f1)](_0x225d6a,_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9[_0x1ec570(0x1d3)],_0x2ecaac),_0x369eb5[_0x1ec570(0x213)](_0x322ef9['width'],_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['lineTo'](_0x225d6a,_0x322ef9[_0x1ec570(0x204)]),_0x369eb5['closePath'](),_0x369eb5[_0x1ec570(0x1f6)]=getColor(_0x320e53[_0x1ec570(0x1f9)],_0x320e53[_0x1ec570(0x1e3)]),_0x369eb5[_0x1ec570(0x1e7)]()),_0x357cb9[_0x1ec570(0x1ec)](_0x322ef9,_0x1ec570(0x1d2));}
1
+ function a64_0x4fc6(){const _0x580558=['push','drawImage','translate','createElement','width','CENTER','fill','grid_lineThickness','outline','zIndex','moveTo','restore','stripe_repeat','fillType','setZIndex','872400QutSNn','getContext','7MXjgwQ','setRenderer','oddColor','outlineWidth','verticalOrigin','max','canvas','5OcDISg','context','9RrmXEU','lineWidth','opacity','height','checkerboard','closePath','save','outlineOpacity','checkerboard_repeat','setFill','globalAlpha','lineTo','repeat','image','color','862089cwWdua','length','label','48aAYFNM','grid_lineCount','20jselBs','831529OmPSZg','strokeStyle','show','billboard','8376907rFHCZJ','stripe','10066430BOOtdn','grid','13651280NprYQm','createPattern','stroke','setStroke','2740602oUOGyL','repeatX','fillStyle','beginPath','outlineColor','src','rgba(0,0,0,0.01)'];a64_0x4fc6=function(){return _0x580558;};return a64_0x4fc6();}(function(_0x308f91,_0x44550b){const _0x4a5673=a64_0x5f39,_0x37c679=_0x308f91();while(!![]){try{const _0x47e258=-parseInt(_0x4a5673(0x1d1))/0x1+parseInt(_0x4a5673(0x1f3))/0x2+parseInt(_0x4a5673(0x1cb))/0x3*(-parseInt(_0x4a5673(0x1d0))/0x4)+parseInt(_0x4a5673(0x1fc))/0x5*(parseInt(_0x4a5673(0x1dd))/0x6)+parseInt(_0x4a5673(0x1f5))/0x7*(-parseInt(_0x4a5673(0x1d9))/0x8)+parseInt(_0x4a5673(0x1fe))/0x9*(parseInt(_0x4a5673(0x1d7))/0xa)+parseInt(_0x4a5673(0x1d5))/0xb*(parseInt(_0x4a5673(0x1ce))/0xc);if(_0x47e258===_0x44550b)break;else _0x37c679['push'](_0x37c679['shift']());}catch(_0x5a87a0){_0x37c679['push'](_0x37c679['shift']());}}}(a64_0x4fc6,0xed0fc));import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';function a64_0x5f39(_0x37ea55,_0x2f54c9){const _0x4fc6ff=a64_0x4fc6();return a64_0x5f39=function(_0x5f392d,_0x469810){_0x5f392d=_0x5f392d-0x1c4;let _0x423615=_0x4fc6ff[_0x5f392d];return _0x423615;},a64_0x5f39(_0x37ea55,_0x2f54c9);}import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x2433d6,_0x372924,_0x541c95,_0x80f140){const _0x57e35f=a64_0x5f39;var _0x568dd2;let _0x4b74aa=(_0x568dd2=_0x2433d6[_0x57e35f(0x1ed)])!==null&&_0x568dd2!==void 0x0?_0x568dd2:0x0,_0x3b4554=new Style();_0x3b4554[_0x57e35f(0x1f2)](_0x4b74aa),_0x3b4554[_0x57e35f(0x1c5)](new Fill({'color':'rgba(0,0,0,0)'}));if(_0x2433d6['fill']!==![]){if(!_0x2433d6[_0x57e35f(0x1f1)]||_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1ca))_0x3b4554[_0x57e35f(0x1c5)](new Fill({'color':getColor(_0x2433d6[_0x57e35f(0x1ca)],_0x2433d6[_0x57e35f(0x200)])}));else{if(_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1c9))_0x3b4554[_0x57e35f(0x1f6)]((_0x476992,_0x5e1ecd)=>{preLoadImageRenderFunction(_0x2433d6,_0x476992,_0x5e1ecd,_0x80f140,_rendererFunction);});else _0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1d8)||_0x2433d6[_0x57e35f(0x1f1)]===_0x57e35f(0x1d6)||_0x2433d6['fillType']===_0x57e35f(0x202)?_0x3b4554[_0x57e35f(0x1f6)]((_0x4e3060,_0x1b5742)=>{_rendererFunction(_0x2433d6,_0x4e3060,_0x1b5742,_0x80f140,null);}):_0x3b4554['setFill'](new Fill({'color':getColor(_0x2433d6[_0x57e35f(0x1ca)],_0x2433d6[_0x57e35f(0x200)])}));}}_0x2433d6[_0x57e35f(0x1ec)]!==![]&&_0x3b4554[_0x57e35f(0x1dc)](new Stroke({'color':getColor(_0x2433d6[_0x57e35f(0x1e1)],_0x2433d6[_0x57e35f(0x205)]),'width':_0x2433d6[_0x57e35f(0x1f8)]}));let _0x1b2ca7=[_0x3b4554];_0x2433d6[_0x57e35f(0x1d4)]&&!_0x2433d6[_0x57e35f(0x1d4)][_0x57e35f(0x1f9)]&&(_0x2433d6['billboard'][_0x57e35f(0x1f9)]=_0x57e35f(0x1e9));let _0x4f2833=getImageOlStyle(_0x2433d6[_0x57e35f(0x1d4)],_0x4b74aa,_0x541c95,_0x80f140);_0x4f2833&&_0x1b2ca7['push'](_0x4f2833);if(_0x2433d6[_0x57e35f(0x1cd)]&&_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1d3)]!==![]){!_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1f9)]&&(_0x2433d6[_0x57e35f(0x1cd)][_0x57e35f(0x1f9)]=_0x57e35f(0x1e9));let _0x588395=new Style({'text':createTextStyle(_0x2433d6[_0x57e35f(0x1cd)],_0x372924,_0x541c95,_0x80f140),'zIndex':Number(_0x4b74aa)+0x1});_0x1b2ca7[_0x57e35f(0x1e4)](_0x588395);}return _0x1b2ca7;}function _rendererFunction(_0x5ed279,_0x31e48b,_0x1ebd87,_0x278b66,_0x177195){const _0x236f47=a64_0x5f39;try{var _0x237212=_0x1ebd87[_0x236f47(0x1fd)];for(var _0x13beac=0x0,_0x9d7094=_0x31e48b[_0x236f47(0x1cc)];_0x13beac<_0x9d7094;_0x13beac++){_0x237212[_0x236f47(0x204)](),_0x237212[_0x236f47(0x1e0)]();var _0x37fb6f=_0x31e48b[_0x13beac];let _0x2dace5=boundingExtent(_0x37fb6f);_0x237212[_0x236f47(0x1e6)](_0x2dace5[0x0],_0x2dace5[0x1]);let _0x402946;switch(_0x5ed279['fillType']){case _0x236f47(0x1c9):_0x402946=_getImagePattern(_0x237212,_0x2dace5,_0x5ed279,_0x177195);break;case _0x236f47(0x1d8):_0x402946=_getGridPattern(_0x237212,_0x2dace5,_0x5ed279);break;case'stripe':_0x402946=_getStripePattern(_0x237212,_0x2dace5,_0x5ed279);break;case'checkerboard':_0x402946=_getCheckerBoardPattern(_0x237212,_0x2dace5,_0x5ed279);break;default:_0x402946=_0x236f47(0x1e3);break;}for(var _0x592ebf=0x0,_0x50fd21=_0x37fb6f[_0x236f47(0x1cc)];_0x592ebf<_0x50fd21;_0x592ebf++){var _0x45eaab=_0x37fb6f[_0x592ebf];_0x592ebf===0x0?_0x237212[_0x236f47(0x1ee)](_0x45eaab[0x0]-_0x2dace5[0x0],_0x45eaab[0x1]-_0x2dace5[0x1]):_0x237212['lineTo'](_0x45eaab[0x0]-_0x2dace5[0x0],_0x45eaab[0x1]-_0x2dace5[0x1]);}_0x237212[_0x236f47(0x203)](),_0x237212[_0x236f47(0x1df)]=_0x236f47(0x1e3),_0x237212[_0x236f47(0x1ea)](),_0x237212[_0x236f47(0x1df)]=_0x402946,_0x237212[_0x236f47(0x1ea)](),_0x5ed279['outline']?(_0x237212[_0x236f47(0x1d2)]=getColor(_0x5ed279[_0x236f47(0x1e1)],_0x5ed279[_0x236f47(0x205)]),_0x237212[_0x236f47(0x1ff)]=_0x5ed279[_0x236f47(0x1f8)]):_0x237212[_0x236f47(0x1d2)]='rgba(0,0,0,0.0)',_0x237212[_0x236f47(0x1db)](),_0x237212[_0x236f47(0x1ef)]();}}catch(_0x33bc7f){_0x237212['restore'](),console['warn'](_0x33bc7f);}}function _getImagePattern(_0x32bbcf,_0x5bf17b,_0x534c56,_0x4ed376){const _0x5a8820=a64_0x5f39;if(!_0x4ed376||_0x4ed376[_0x5a8820(0x1e8)]===0x0){let _0x44933f=new Image();_0x44933f[_0x5a8820(0x1e2)]=_0x534c56['image'];}var _0x36836d=getSize(_0x5bf17b);const _0x13b9db=document[_0x5a8820(0x1e7)]('canvas'),_0x2644f3=_0x13b9db[_0x5a8820(0x1f4)]('2d');return _0x13b9db[_0x5a8820(0x1e8)]=Math[_0x5a8820(0x1fa)](_0x36836d[0x0]/_0x534c56[_0x5a8820(0x1de)],0x1),_0x13b9db['height']=Math[_0x5a8820(0x1fa)](_0x36836d[0x1]/_0x534c56['repeatY'],0x1),_0x2644f3&&(_0x2644f3[_0x5a8820(0x1c6)]=_0x534c56[_0x5a8820(0x200)],_0x2644f3[_0x5a8820(0x1e5)](_0x4ed376,0x0,0x0,_0x13b9db[_0x5a8820(0x1e8)],_0x13b9db[_0x5a8820(0x201)])),_0x32bbcf[_0x5a8820(0x1da)](_0x13b9db,'repeat');}function _getGridPattern(_0x26c4f9,_0x68359e,_0x18fb61){const _0x4daaac=a64_0x5f39;var _0x3f44d6=getSize(_0x68359e);const _0x4ef760=document['createElement'](_0x4daaac(0x1fb)),_0x50b237=_0x4ef760[_0x4daaac(0x1f4)]('2d');return _0x4ef760[_0x4daaac(0x1e8)]=Math[_0x4daaac(0x1fa)](_0x3f44d6[0x0]/_0x18fb61['grid_lineCount'],0x1),_0x4ef760[_0x4daaac(0x201)]=Math[_0x4daaac(0x1fa)](_0x3f44d6[0x1]/_0x18fb61[_0x4daaac(0x1cf)],0x1),_0x50b237&&(_0x50b237[_0x4daaac(0x1d2)]=getColor(_0x18fb61[_0x4daaac(0x1ca)],_0x18fb61[_0x4daaac(0x200)]),_0x50b237[_0x4daaac(0x1ff)]=_0x18fb61[_0x4daaac(0x1eb)]*0x4,_0x50b237[_0x4daaac(0x1e0)](),_0x50b237[_0x4daaac(0x1ee)](0x0,_0x4ef760[_0x4daaac(0x201)]),_0x50b237[_0x4daaac(0x1c7)](_0x4ef760[_0x4daaac(0x1e8)],_0x4ef760[_0x4daaac(0x201)]),_0x50b237[_0x4daaac(0x1ee)](_0x4ef760[_0x4daaac(0x1e8)],0x0),_0x50b237['lineTo'](_0x4ef760[_0x4daaac(0x1e8)],_0x4ef760[_0x4daaac(0x201)]),_0x50b237['stroke']()),_0x26c4f9[_0x4daaac(0x1da)](_0x4ef760,_0x4daaac(0x1c8));}function _getStripePattern(_0x2e826a,_0x4ab2c7,_0xc03aa4){const _0x556878=a64_0x5f39;var _0x58b674=getSize(_0x4ab2c7);const _0x3c489d=document[_0x556878(0x1e7)](_0x556878(0x1fb)),_0x2565f7=_0x3c489d[_0x556878(0x1f4)]('2d');let _0x3ffcfd=Math['max'](_0x58b674[0x1]/_0xc03aa4[_0x556878(0x1f0)],0x1);return _0x3c489d[_0x556878(0x1e8)]=_0x58b674[0x0],_0x3c489d[_0x556878(0x201)]=_0x3ffcfd*0x2,_0x2565f7&&(_0x2565f7['beginPath'](),_0x2565f7[_0x556878(0x1ee)](0x0,0x0),_0x2565f7['lineTo'](_0x3c489d[_0x556878(0x1e8)],0x0),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](0x0,_0x3ffcfd),_0x2565f7[_0x556878(0x203)](),_0x2565f7['fillStyle']=getColor(_0xc03aa4['stripe_oddcolor'],_0xc03aa4[_0x556878(0x200)]),_0x2565f7[_0x556878(0x1ea)](),_0x2565f7['beginPath'](),_0x2565f7[_0x556878(0x1ee)](0x0,_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd),_0x2565f7[_0x556878(0x1c7)](_0x3c489d[_0x556878(0x1e8)],_0x3ffcfd*0x2),_0x2565f7[_0x556878(0x1c7)](0x0,_0x3ffcfd*0x2),_0x2565f7[_0x556878(0x203)](),_0x2565f7[_0x556878(0x1df)]=getColor(_0xc03aa4[_0x556878(0x1ca)],_0xc03aa4['opacity']),_0x2565f7[_0x556878(0x1ea)]()),_0x2e826a[_0x556878(0x1da)](_0x3c489d,_0x556878(0x1c8));}function _getCheckerBoardPattern(_0x2a1681,_0x392824,_0x187a84){const _0xea4484=a64_0x5f39;var _0x1f8c72=getSize(_0x392824);const _0x1636c2=document[_0xea4484(0x1e7)]('canvas'),_0x501738=_0x1636c2['getContext']('2d');let _0x5edf0f=Math[_0xea4484(0x1fa)](_0x1f8c72[0x0]/_0x187a84[_0xea4484(0x1c4)],0x1),_0x1d4cea=Math['max'](_0x1f8c72[0x1]/_0x187a84[_0xea4484(0x1c4)],0x1);return _0x1636c2[_0xea4484(0x1e8)]=_0x5edf0f*0x2,_0x1636c2[_0xea4484(0x201)]=_0x1d4cea*0x2,_0x501738&&(_0x501738['beginPath'](),_0x501738['moveTo'](0x0,0x0),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,0x0),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](0x0,_0x1d4cea),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1f7)],_0x187a84[_0xea4484(0x200)]),_0x501738['fill'](),_0x501738['beginPath'](),_0x501738['moveTo'](_0x5edf0f,0x0),_0x501738[_0xea4484(0x1c7)](_0x1636c2['width'],0x0),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1d4cea),_0x501738['lineTo'](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x203)](),_0x501738['fillStyle']=getColor(_0x187a84[_0xea4484(0x1ca)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)](),_0x501738['beginPath'](),_0x501738['moveTo'](0x0,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x5edf0f,_0x1636c2[_0xea4484(0x201)]),_0x501738[_0xea4484(0x1c7)](0x0,_0x1636c2[_0xea4484(0x201)]),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1ca)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)](),_0x501738[_0xea4484(0x1e0)](),_0x501738[_0xea4484(0x1ee)](_0x5edf0f,_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1d4cea),_0x501738[_0xea4484(0x1c7)](_0x1636c2[_0xea4484(0x1e8)],_0x1636c2[_0xea4484(0x201)]),_0x501738['lineTo'](_0x5edf0f,_0x1636c2['height']),_0x501738[_0xea4484(0x203)](),_0x501738[_0xea4484(0x1df)]=getColor(_0x187a84[_0xea4484(0x1f7)],_0x187a84[_0xea4484(0x200)]),_0x501738[_0xea4484(0x1ea)]()),_0x2a1681[_0xea4484(0x1da)](_0x1636c2,'repeat');}