ym-gis-2d 1.0.36 → 1.0.37

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 (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.d.ts +3 -3
  19. package/interaction/Modify.d.ts.map +1 -1
  20. package/interaction/Modify.js +1 -1
  21. package/interaction/Modify.js.map +1 -1
  22. package/interaction/Select.js +1 -1
  23. package/interaction/Split.js +1 -1
  24. package/layers/ArcgisDynamicLayer.js +1 -1
  25. package/layers/ArcgisFeatureLayer.js +1 -1
  26. package/layers/ArcgisTileLayer.js +1 -1
  27. package/layers/ArcgisWMSLayer.js +1 -1
  28. package/layers/ArcgisWMTSLayer.js +1 -1
  29. package/layers/GeoserverVectorTile.js +1 -1
  30. package/layers/GeoserverWFSLayer.js +1 -1
  31. package/layers/GeoserverWMSLayer.js +1 -1
  32. package/layers/GeoserverWMTSLayer.js +1 -1
  33. package/layers/LayerManager.js +1 -1
  34. package/layers/TDTLayer.js +1 -1
  35. package/mapView/Map.js +1 -1
  36. package/mapView/View.js +1 -1
  37. package/package.json +1 -1
  38. package/plot/Plot.js +1 -1
  39. package/plot/geometry/point/Point.js +1 -1
  40. package/plot/geometry/polygon/BasePolygon.js +1 -1
  41. package/plot/geometry/polygon/Circle.js +1 -1
  42. package/plot/geometry/polygon/Polygon.js +1 -1
  43. package/plot/geometry/polygon/RectAngle.js +1 -1
  44. package/plot/geometry/polyline/BaseLine.js +1 -1
  45. package/plot/geometry/polyline/Polyline.js +1 -1
  46. package/style/PointStyleFormat.js +1 -1
  47. package/style/PolygonStyleFormat.js +1 -1
  48. package/style/PolylineStyleFormat.js +1 -1
  49. package/style/StyleManager.js +1 -1
  50. package/style/common.js +1 -1
  51. package/utils/ArrayUtil.js +1 -1
  52. package/utils/AxiosUtil.js +1 -1
  53. package/utils/EsriUtil.js +1 -1
  54. package/utils/GeometryUtil.js +1 -1
  55. package/utils/LayerUtil.js +1 -1
  56. package/utils/RegisterProjUtil.js +1 -1
  57. package/utils/ResolutionUtil.js +1 -1
  58. package/utils/StringUtil.js +1 -1
  59. package/utils/StyleUtil.js +1 -1
  60. package/utils/UrlUtil.js +1 -1
  61. package/utils/XmlUtil.js +1 -1
  62. package/utils/format/CQL.js +1 -1
  63. package/utils/format/IsMatchCql.js +1 -1
  64. package/utils/plug/canvas/ImageCache.js +1 -1
  65. package/utils/plug/canvas/PinBuilder.js +1 -1
  66. package/utils/plug/canvas/PinIcon.js +1 -1
  67. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  68. package/utils/tasks/esri/Identify.js +1 -1
  69. package/utils/tasks/esri/Query.js +1 -1
  70. package/utils/tasks/esri/Task.js +1 -1
  71. package/utils/tasks/geoserver/QueryTask.js +1 -1
  72. package/utils/tasks/index.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a68_0x3e1901=a68_0x24a0;(function(_0x12c845,_0x20ebb5){const _0x1bcba8=a68_0x24a0,_0x3fad89=_0x12c845();while(!![]){try{const _0xfdde90=-parseInt(_0x1bcba8(0x82))/0x1*(parseInt(_0x1bcba8(0x81))/0x2)+-parseInt(_0x1bcba8(0x85))/0x3*(parseInt(_0x1bcba8(0x83))/0x4)+parseInt(_0x1bcba8(0x7b))/0x5*(parseInt(_0x1bcba8(0x88))/0x6)+parseInt(_0x1bcba8(0x76))/0x7+-parseInt(_0x1bcba8(0x74))/0x8*(parseInt(_0x1bcba8(0x77))/0x9)+parseInt(_0x1bcba8(0x79))/0xa+-parseInt(_0x1bcba8(0x7a))/0xb;if(_0xfdde90===_0x20ebb5)break;else _0x3fad89['push'](_0x3fad89['shift']());}catch(_0x2ec08b){_0x3fad89['push'](_0x3fad89['shift']());}}}(a68_0x18ca,0x5915f));function a68_0x18ca(){const _0x338066=['toRadians','updateLastPoint','192TpAkWX','1171SMHEYi','31700XzntTz','type','114WGIFYX','setCenter','points','5682FkhSoz','setPoints','65064cZHOCA','generate','4210185piIsTY','144YnuOXE','length','5057670RiiYhQ','5216310dfYBeX','1455HNSkCt','updatePoint','sqrt','getGeoJson'];a68_0x18ca=function(){return _0x338066;};return a68_0x18ca();}import{Circle as a68_0xd1901a}from'ol/geom';import a68_0x23a3d9 from'ol/format/GeoJSON';import{offset}from'ol/sphere';import{squaredDistance as a68_0x31b511}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a68_0xd1901a{constructor(_0x1b742f){const _0x5354e7=a68_0x24a0;super([]),this[_0x5354e7(0x87)]=_0x1b742f,this[_0x5354e7(0x84)]='Circle',_0x1b742f&&_0x1b742f['length']>0x0&&this['setPoints'](_0x1b742f);}[a68_0x3e1901(0x89)](_0x391311){const _0x3f45df=a68_0x3e1901;var _0x1166e3;((_0x1166e3=this['points'])===null||_0x1166e3===void 0x0?void 0x0:_0x1166e3[_0x3f45df(0x78)])>0x0&&(_0x391311===null||_0x391311===void 0x0?void 0x0:_0x391311[_0x3f45df(0x78)])>0x0&&!compareArray(this[_0x3f45df(0x87)][0x0],_0x391311[0x0])?this[_0x3f45df(0x86)](_0x391311[0x0]):(this['points']=!_0x391311?[]:_0x391311,this['points']['length']>=0x1&&(this[_0x3f45df(0x75)]&&this[_0x3f45df(0x75)]()));}[a68_0x3e1901(0x75)](){const _0x402271=a68_0x3e1901;let _0x11032e=this[_0x402271(0x87)][_0x402271(0x78)];if(_0x11032e<0x2)return![];else{const _0x4969ae=this[_0x402271(0x87)][0x0],_0x2a3303=a68_0x31b511(_0x4969ae,this[_0x402271(0x87)][0x1]);this['setCenterAndRadius'](_0x4969ae,Math[_0x402271(0x7d)](_0x2a3303));}}[a68_0x3e1901(0x86)](_0xaa4012){const _0x1a6d75=a68_0x3e1901;this[_0x1a6d75(0x86)](_0xaa4012),this[_0x1a6d75(0x87)]=[_0xaa4012,offset(_0xaa4012,this['getRadius'](),this[_0x1a6d75(0x7f)](0x5a))],this[_0x1a6d75(0x75)]();}['toRadians'](_0x5ef0a0){return _0x5ef0a0*Math['PI']/0xb4;}[a68_0x3e1901(0x7e)](){return new a68_0x23a3d9()['writeGeometryObject'](fromCircle(this));}[a68_0x3e1901(0x7c)](_0x351598,_0xfb8dd0){const _0x3a92fb=a68_0x3e1901;_0xfb8dd0>=0x0&&_0xfb8dd0<this[_0x3a92fb(0x87)]['length']&&(this[_0x3a92fb(0x87)][_0xfb8dd0]=_0x351598,this[_0x3a92fb(0x75)]());}[a68_0x3e1901(0x80)](_0xf47705){const _0xa1c991=a68_0x3e1901;this[_0xa1c991(0x7c)](_0xf47705,this[_0xa1c991(0x87)][_0xa1c991(0x78)]-0x1);}}function a68_0x24a0(_0x10f3ed,_0xc1833f){const _0x18ca61=a68_0x18ca();return a68_0x24a0=function(_0x24a01c,_0x43dc81){_0x24a01c=_0x24a01c-0x74;let _0x48026b=_0x18ca61[_0x24a01c];return _0x48026b;},a68_0x24a0(_0x10f3ed,_0xc1833f);}export default Circle;
1
+ const a68_0x3f4888=a68_0x50ff;(function(_0x2f21e5,_0xf9e830){const _0x10cfbe=a68_0x50ff,_0x2226be=_0x2f21e5();while(!![]){try{const _0x483861=-parseInt(_0x10cfbe(0x8b))/0x1*(parseInt(_0x10cfbe(0x7a))/0x2)+-parseInt(_0x10cfbe(0x83))/0x3*(-parseInt(_0x10cfbe(0x88))/0x4)+parseInt(_0x10cfbe(0x77))/0x5*(-parseInt(_0x10cfbe(0x82))/0x6)+-parseInt(_0x10cfbe(0x7c))/0x7+parseInt(_0x10cfbe(0x85))/0x8+parseInt(_0x10cfbe(0x81))/0x9*(-parseInt(_0x10cfbe(0x7e))/0xa)+parseInt(_0x10cfbe(0x8d))/0xb*(parseInt(_0x10cfbe(0x76))/0xc);if(_0x483861===_0xf9e830)break;else _0x2226be['push'](_0x2226be['shift']());}catch(_0x3c1001){_0x2226be['push'](_0x2226be['shift']());}}}(a68_0x3870,0x887ec));function a68_0x3870(){const _0x48981a=['writeGeometryObject','4565IKkHwD','points','type','generate','49944AaeQkF','2245dEHKMO','length','getGeoJson','314YTxQbg','getRadius','7685566rSuwUe','updateLastPoint','6770usLlse','updatePoint','setCenterAndRadius','10521ftXNVK','6498ECameJ','3rTWzMY','setPoints','4251760BVATil','toRadians','setCenter','2717196UfeHhn','Circle','sqrt','21fQoTwd'];a68_0x3870=function(){return _0x48981a;};return a68_0x3870();}import{Circle as a68_0xb72ee3}from'ol/geom';import a68_0x5e781d from'ol/format/GeoJSON';import{offset}from'ol/sphere';function a68_0x50ff(_0x53fa21,_0x3100e4){const _0x387037=a68_0x3870();return a68_0x50ff=function(_0x50ff5a,_0x343ae0){_0x50ff5a=_0x50ff5a-0x75;let _0x3a06a3=_0x387037[_0x50ff5a];return _0x3a06a3;},a68_0x50ff(_0x53fa21,_0x3100e4);}import{squaredDistance as a68_0x2ee1a2}from'ol/coordinate';import{fromCircle}from'ol/geom/Polygon';import{compareArray}from'../../../utils/ArrayUtil';class Circle extends a68_0xb72ee3{constructor(_0x5139fa){const _0x5535d0=a68_0x50ff;super([]),this['points']=_0x5139fa,this[_0x5535d0(0x8f)]=_0x5535d0(0x89),_0x5139fa&&_0x5139fa[_0x5535d0(0x78)]>0x0&&this[_0x5535d0(0x84)](_0x5139fa);}[a68_0x3f4888(0x84)](_0x29dfd6){const _0x4a2fdb=a68_0x3f4888;var _0x183a19;((_0x183a19=this[_0x4a2fdb(0x8e)])===null||_0x183a19===void 0x0?void 0x0:_0x183a19[_0x4a2fdb(0x78)])>0x0&&(_0x29dfd6===null||_0x29dfd6===void 0x0?void 0x0:_0x29dfd6[_0x4a2fdb(0x78)])>0x0&&!compareArray(this[_0x4a2fdb(0x8e)][0x0],_0x29dfd6[0x0])?this[_0x4a2fdb(0x87)](_0x29dfd6[0x0]):(this[_0x4a2fdb(0x8e)]=!_0x29dfd6?[]:_0x29dfd6,this[_0x4a2fdb(0x8e)][_0x4a2fdb(0x78)]>=0x1&&(this[_0x4a2fdb(0x75)]&&this[_0x4a2fdb(0x75)]()));}['generate'](){const _0x4b7939=a68_0x3f4888;let _0x35bf69=this[_0x4b7939(0x8e)][_0x4b7939(0x78)];if(_0x35bf69<0x2)return![];else{const _0x53a025=this[_0x4b7939(0x8e)][0x0],_0x3295ea=a68_0x2ee1a2(_0x53a025,this[_0x4b7939(0x8e)][0x1]);this[_0x4b7939(0x80)](_0x53a025,Math[_0x4b7939(0x8a)](_0x3295ea));}}[a68_0x3f4888(0x87)](_0x3fc206){const _0x10111b=a68_0x3f4888;this[_0x10111b(0x87)](_0x3fc206),this['points']=[_0x3fc206,offset(_0x3fc206,this[_0x10111b(0x7b)](),this[_0x10111b(0x86)](0x5a))],this[_0x10111b(0x75)]();}[a68_0x3f4888(0x86)](_0xf697ec){return _0xf697ec*Math['PI']/0xb4;}[a68_0x3f4888(0x79)](){const _0x5b9097=a68_0x3f4888;return new a68_0x5e781d()[_0x5b9097(0x8c)](fromCircle(this));}['updatePoint'](_0x30b36a,_0x54d329){const _0x4eed73=a68_0x3f4888;_0x54d329>=0x0&&_0x54d329<this[_0x4eed73(0x8e)]['length']&&(this['points'][_0x54d329]=_0x30b36a,this[_0x4eed73(0x75)]());}[a68_0x3f4888(0x7d)](_0x397334){const _0xcb6f0e=a68_0x3f4888;this[_0xcb6f0e(0x7f)](_0x397334,this[_0xcb6f0e(0x8e)][_0xcb6f0e(0x78)]-0x1);}}export default Circle;
@@ -1 +1 @@
1
- const a69_0x5929bd=a69_0x49aa;(function(_0x1d904d,_0x17b43d){const _0x882e05=a69_0x49aa,_0x109d77=_0x1d904d();while(!![]){try{const _0x106157=-parseInt(_0x882e05(0x1c6))/0x1+-parseInt(_0x882e05(0x1d8))/0x2*(parseInt(_0x882e05(0x1d2))/0x3)+parseInt(_0x882e05(0x1c5))/0x4+parseInt(_0x882e05(0x1c4))/0x5+parseInt(_0x882e05(0x1cd))/0x6+parseInt(_0x882e05(0x1c9))/0x7*(-parseInt(_0x882e05(0x1d3))/0x8)+parseInt(_0x882e05(0x1c7))/0x9;if(_0x106157===_0x17b43d)break;else _0x109d77['push'](_0x109d77['shift']());}catch(_0x13309){_0x109d77['push'](_0x109d77['shift']());}}}(a69_0x4975,0x48f68));import a69_0x5f162a from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a69_0x49aa(_0xeff0be,_0x1676e5){const _0x4975c2=a69_0x4975();return a69_0x49aa=function(_0x49aa54,_0x4fa8a2){_0x49aa54=_0x49aa54-0x1c4;let _0x36e234=_0x4975c2[_0x49aa54];return _0x36e234;},a69_0x49aa(_0xeff0be,_0x1676e5);}class Polygon extends a69_0x5f162a{constructor(_0x333f52){const _0x5f7ce=a69_0x49aa;super(),this[_0x5f7ce(0x1d5)]=_0x5f7ce(0x1cf),_0x333f52&&_0x333f52['length']>0x0&&getDeepth(_0x333f52)==0x2?this[_0x5f7ce(0x1c8)](_0x333f52):this[_0x5f7ce(0x1ca)](_0x333f52);}[a69_0x5929bd(0x1ce)](_0x1a59bb){const _0x1c84e2=a69_0x5929bd;let _0xf7f3bd=_0x1a59bb[0x0],_0x4f8cce=_0x1a59bb[_0x1a59bb[_0x1c84e2(0x1d6)]-0x1];return _0xf7f3bd[0x0]===_0x4f8cce[0x0]&&_0xf7f3bd[0x1]===_0x4f8cce[0x1]&&_0xf7f3bd[0x2]===_0x4f8cce[0x2];}['generate'](){const _0x335a3f=a69_0x5929bd;let _0x1756a7=this['getPointCount']();if(_0x1756a7<0x2)return![];else{let _0x4de792=JSON[_0x335a3f(0x1d4)](JSON['stringify'](this[_0x335a3f(0x1cc)]));_0x1756a7>=0x3&&(!this[_0x335a3f(0x1ce)](_0x4de792)&&_0x4de792[_0x335a3f(0x1d7)](_0x4de792[0x0])),this['setCoordinates']([_0x4de792]);}}[a69_0x5929bd(0x1d1)](_0x47e011,_0x4c1c2b){const _0x180b71=a69_0x5929bd;_0x4c1c2b>=0x0&&_0x4c1c2b<this[_0x180b71(0x1cc)][_0x180b71(0x1d6)]&&(this[_0x180b71(0x1cc)][_0x4c1c2b]=_0x47e011,this[_0x180b71(0x1d0)]());}[a69_0x5929bd(0x1d9)](){return![];}[a69_0x5929bd(0x1cb)](_0xb5fe93){const _0x24600f=a69_0x5929bd;this[_0x24600f(0x1d1)](_0xb5fe93,this[_0x24600f(0x1cc)][_0x24600f(0x1d6)]-0x1);}}export default Polygon;function a69_0x4975(){const _0x483573=['updateLastPoint','points','1976250MPSTiI','_closed','Polygon','generate','updatePoint','19932squztt','327192SYaMkP','parse','type','length','push','40XJPgrS','isPlot','1220440LOEjlF','1401072xFOcmV','116080UFoLlH','297675bAmKHv','setPoints','70nKLUCm','setCoordinates'];a69_0x4975=function(){return _0x483573;};return a69_0x4975();}
1
+ const a69_0x5856a4=a69_0x14bd;function a69_0x14bd(_0x5d95ca,_0x2486c1){const _0x1b06b3=a69_0x1b06();return a69_0x14bd=function(_0x14bd95,_0x1ac3b0){_0x14bd95=_0x14bd95-0x1c0;let _0x3bd66a=_0x1b06b3[_0x14bd95];return _0x3bd66a;},a69_0x14bd(_0x5d95ca,_0x2486c1);}(function(_0x4fa56e,_0x2e16c9){const _0x277c0f=a69_0x14bd,_0x1db670=_0x4fa56e();while(!![]){try{const _0x418051=-parseInt(_0x277c0f(0x1c6))/0x1+-parseInt(_0x277c0f(0x1ce))/0x2+parseInt(_0x277c0f(0x1c9))/0x3*(-parseInt(_0x277c0f(0x1d6))/0x4)+parseInt(_0x277c0f(0x1d0))/0x5*(-parseInt(_0x277c0f(0x1c8))/0x6)+parseInt(_0x277c0f(0x1c7))/0x7*(parseInt(_0x277c0f(0x1c1))/0x8)+parseInt(_0x277c0f(0x1c5))/0x9+-parseInt(_0x277c0f(0x1c2))/0xa*(-parseInt(_0x277c0f(0x1c0))/0xb);if(_0x418051===_0x2e16c9)break;else _0x1db670['push'](_0x1db670['shift']());}catch(_0x4bd907){_0x1db670['push'](_0x1db670['shift']());}}}(a69_0x1b06,0xf31d1));import a69_0x3b0ad6 from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';function a69_0x1b06(){const _0x4c9f60=['2136beJHgA','_closed','34078lDytPU','32QIuePQ','11380RSAWsm','length','points','7770042fSPkai','1890810ltptJU','3102736NToMNG','444rtTpIG','8697FEgRxU','updatePoint','Polygon','generate','parse','3234146SqeTpL','push','7440VFgnXu','isPlot','stringify','setCoordinates','setPoints','getPointCount'];a69_0x1b06=function(){return _0x4c9f60;};return a69_0x1b06();}class Polygon extends a69_0x3b0ad6{constructor(_0x1d88b4){const _0x33f3eb=a69_0x14bd;super(),this['type']=_0x33f3eb(0x1cb),_0x1d88b4&&_0x1d88b4['length']>0x0&&getDeepth(_0x1d88b4)==0x2?this[_0x33f3eb(0x1d4)](_0x1d88b4):this[_0x33f3eb(0x1d3)](_0x1d88b4);}['_closed'](_0x52815f){const _0x28b08d=a69_0x14bd;let _0x3f0893=_0x52815f[0x0],_0x3e09d4=_0x52815f[_0x52815f[_0x28b08d(0x1c3)]-0x1];return _0x3f0893[0x0]===_0x3e09d4[0x0]&&_0x3f0893[0x1]===_0x3e09d4[0x1]&&_0x3f0893[0x2]===_0x3e09d4[0x2];}[a69_0x5856a4(0x1cc)](){const _0x3eaced=a69_0x5856a4;let _0x3ba1c5=this[_0x3eaced(0x1d5)]();if(_0x3ba1c5<0x2)return![];else{let _0x432257=JSON[_0x3eaced(0x1cd)](JSON[_0x3eaced(0x1d2)](this[_0x3eaced(0x1c4)]));_0x3ba1c5>=0x3&&(!this[_0x3eaced(0x1d7)](_0x432257)&&_0x432257[_0x3eaced(0x1cf)](_0x432257[0x0])),this[_0x3eaced(0x1d3)]([_0x432257]);}}[a69_0x5856a4(0x1ca)](_0x134052,_0x3ac14b){const _0x917af5=a69_0x5856a4;_0x3ac14b>=0x0&&_0x3ac14b<this[_0x917af5(0x1c4)][_0x917af5(0x1c3)]&&(this[_0x917af5(0x1c4)][_0x3ac14b]=_0x134052,this[_0x917af5(0x1cc)]());}[a69_0x5856a4(0x1d1)](){return![];}['updateLastPoint'](_0x570713){const _0x3771a1=a69_0x5856a4;this['updatePoint'](_0x570713,this[_0x3771a1(0x1c4)][_0x3771a1(0x1c3)]-0x1);}}export default Polygon;
@@ -1 +1 @@
1
- const a70_0x409817=a70_0x2f20;function a70_0x5ced(){const _0x3626c1=['141972zxQjNO','44UiKLpN','95805ZmtmjN','type','16IlBNne','39374iIrCvC','1ZCqiQv','Polygon','503080ldvUUa','45YnxFex','802944FqLSCe','points','setPoints','3256603GAOTZT','updateLastPoint','setCoordinates','171528yQsrwt','generate','updatePoint','length'];a70_0x5ced=function(){return _0x3626c1;};return a70_0x5ced();}(function(_0x6ecbf4,_0x137ca2){const _0x5bf9d6=a70_0x2f20,_0x45ae90=_0x6ecbf4();while(!![]){try{const _0x1cd1ac=-parseInt(_0x5bf9d6(0x1ac))/0x1*(parseInt(_0x5bf9d6(0x1ab))/0x2)+parseInt(_0x5bf9d6(0x19c))/0x3+parseInt(_0x5bf9d6(0x1a2))/0x4+-parseInt(_0x5bf9d6(0x19b))/0x5*(-parseInt(_0x5bf9d6(0x1a6))/0x6)+-parseInt(_0x5bf9d6(0x19f))/0x7+parseInt(_0x5bf9d6(0x1aa))/0x8*(parseInt(_0x5bf9d6(0x1a8))/0x9)+-parseInt(_0x5bf9d6(0x1ae))/0xa*(-parseInt(_0x5bf9d6(0x1a7))/0xb);if(_0x1cd1ac===_0x137ca2)break;else _0x45ae90['push'](_0x45ae90['shift']());}catch(_0x1fe611){_0x45ae90['push'](_0x45ae90['shift']());}}}(a70_0x5ced,0x3fbe6));function a70_0x2f20(_0x1af009,_0x75d74a){const _0x5ced89=a70_0x5ced();return a70_0x2f20=function(_0x2f20d0,_0x19e0c8){_0x2f20d0=_0x2f20d0-0x19b;let _0x274d69=_0x5ced89[_0x2f20d0];return _0x274d69;},a70_0x2f20(_0x1af009,_0x75d74a);}import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a70_0x9fcf3e from'./BasePolygon';import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a70_0x9fcf3e{constructor(_0x2c5710){const _0x1b9a16=a70_0x2f20;super(),this[_0x1b9a16(0x1a9)]=_0x1b9a16(0x1ad),_0x2c5710&&_0x2c5710[_0x1b9a16(0x1a5)]>0x0&&getDeepth(_0x2c5710)==0x2?this[_0x1b9a16(0x19e)](_0x2c5710):this['setCoordinates'](_0x2c5710);}[a70_0x409817(0x1a3)](){const _0x29af54=a70_0x409817;if(this[_0x29af54(0x19d)]['length']===0x2){let _0x596d32=[],_0x5b3fc6=boundingExtent(this['points']),_0x345414=fromExtent(_0x5b3fc6);_0x596d32=_0x345414['getCoordinates'](),this[_0x29af54(0x1a1)](_0x596d32);}}[a70_0x409817(0x1a4)](_0x415064,_0x2d7acf){const _0x531dc9=a70_0x409817;_0x2d7acf>=0x0&&_0x2d7acf<this['points'][_0x531dc9(0x1a5)]&&(this[_0x531dc9(0x19d)][_0x2d7acf]=_0x415064,this[_0x531dc9(0x1a3)]());}[a70_0x409817(0x1a0)](_0x13f024){const _0x1d3fac=a70_0x409817;this[_0x1d3fac(0x1a4)](_0x13f024,this[_0x1d3fac(0x19d)]['length']-0x1);}}export default RectAngle;
1
+ const a70_0x5b9020=a70_0x74e3;(function(_0x1ec806,_0x20024f){const _0x1ca55f=a70_0x74e3,_0x46735f=_0x1ec806();while(!![]){try{const _0x3cbee5=-parseInt(_0x1ca55f(0x167))/0x1+parseInt(_0x1ca55f(0x15f))/0x2+-parseInt(_0x1ca55f(0x164))/0x3+-parseInt(_0x1ca55f(0x16a))/0x4+-parseInt(_0x1ca55f(0x163))/0x5+parseInt(_0x1ca55f(0x166))/0x6+parseInt(_0x1ca55f(0x16e))/0x7;if(_0x3cbee5===_0x20024f)break;else _0x46735f['push'](_0x46735f['shift']());}catch(_0x3c8f24){_0x46735f['push'](_0x46735f['shift']());}}}(a70_0x8530,0xc3e8d));import{fromExtent}from'ol/geom/Polygon';import{boundingExtent}from'ol/extent';import a70_0x49af09 from'./BasePolygon';function a70_0x74e3(_0x457ceb,_0xdbf7c0){const _0x8530a2=a70_0x8530();return a70_0x74e3=function(_0x74e3b,_0x59ffe8){_0x74e3b=_0x74e3b-0x15f;let _0x43c43b=_0x8530a2[_0x74e3b];return _0x43c43b;},a70_0x74e3(_0x457ceb,_0xdbf7c0);}function a70_0x8530(){const _0x5abd73=['setCoordinates','type','updateLastPoint','16849616yeHpOU','1681994PyDJsB','Polygon','length','updatePoint','4738115WMYwIv','652800rWhFUA','points','1813866NvCwTp','474909RqZXin','getCoordinates','generate','4431276hMPqyH'];a70_0x8530=function(){return _0x5abd73;};return a70_0x8530();}import{getDeepth}from'../../../utils/ArrayUtil';class RectAngle extends a70_0x49af09{constructor(_0xd56c34){const _0x49fc64=a70_0x74e3;super(),this[_0x49fc64(0x16c)]=_0x49fc64(0x160),_0xd56c34&&_0xd56c34[_0x49fc64(0x161)]>0x0&&getDeepth(_0xd56c34)==0x2?this['setPoints'](_0xd56c34):this[_0x49fc64(0x16b)](_0xd56c34);}[a70_0x5b9020(0x169)](){const _0x4d294d=a70_0x5b9020;if(this[_0x4d294d(0x165)][_0x4d294d(0x161)]===0x2){let _0x25b483=[],_0x255c0d=boundingExtent(this[_0x4d294d(0x165)]),_0x2b76e9=fromExtent(_0x255c0d);_0x25b483=_0x2b76e9[_0x4d294d(0x168)](),this[_0x4d294d(0x16b)](_0x25b483);}}[a70_0x5b9020(0x162)](_0x3d790b,_0x59acff){const _0x3f5497=a70_0x5b9020;_0x59acff>=0x0&&_0x59acff<this[_0x3f5497(0x165)][_0x3f5497(0x161)]&&(this[_0x3f5497(0x165)][_0x59acff]=_0x3d790b,this[_0x3f5497(0x169)]());}[a70_0x5b9020(0x16d)](_0x477e34){const _0x18fcb2=a70_0x5b9020;this['updatePoint'](_0x477e34,this[_0x18fcb2(0x165)][_0x18fcb2(0x161)]-0x1);}}export default RectAngle;
@@ -1 +1 @@
1
- var a71_0x22843f=a71_0xb3c0;(function(_0x31111f,_0x35c091){var _0x203094=a71_0xb3c0,_0x22ab5b=_0x31111f();while(!![]){try{var _0x34bfdd=parseInt(_0x203094(0x1de))/0x1+parseInt(_0x203094(0x1ed))/0x2*(parseInt(_0x203094(0x1e9))/0x3)+parseInt(_0x203094(0x1dd))/0x4+-parseInt(_0x203094(0x1e1))/0x5+-parseInt(_0x203094(0x1d9))/0x6+parseInt(_0x203094(0x1e6))/0x7*(-parseInt(_0x203094(0x1e3))/0x8)+-parseInt(_0x203094(0x1e4))/0x9;if(_0x34bfdd===_0x35c091)break;else _0x22ab5b['push'](_0x22ab5b['shift']());}catch(_0x255d1b){_0x22ab5b['push'](_0x22ab5b['shift']());}}}(a71_0x29b7,0x468e6));function a71_0x29b7(){var _0x136c2f=['points','setPoints','2631gTXmRs','getPointCount','length','getGeoJson','786vsQWWB','parse','getMap','slice','2629206yqQWYj','writeGeometryObject','style','generate','1759816RFNSKK','547520xSjqri','type','setMap','16890ctnrhH','map','125104Bcsnzr','5273280OEjQAd','getPlotType','7YgCqVR'];a71_0x29b7=function(){return _0x136c2f;};return a71_0x29b7();}import{LineString}from'ol/geom';import a71_0x45f2b5 from'ol/format/GeoJSON';import a71_0x390410 from'../../../mapView/Map';function a71_0xb3c0(_0x2b28e3,_0x4f5ed6){var _0x29b787=a71_0x29b7();return a71_0xb3c0=function(_0xb3c01a,_0x1764b7){_0xb3c01a=_0xb3c01a-0x1d9;var _0x4113e7=_0x29b787[_0xb3c01a];return _0x4113e7;},a71_0xb3c0(_0x2b28e3,_0x4f5ed6);}class Plot extends LineString{constructor(){var _0x517376=a71_0xb3c0;super([]),this[_0x517376(0x1e7)]=[];}[a71_0x22843f(0x1e5)](){var _0x5a9696=a71_0x22843f;return this[_0x5a9696(0x1df)];}[a71_0x22843f(0x1ec)](){var _0x3f81f4=a71_0x22843f;return new a71_0x45f2b5()[_0x3f81f4(0x1da)](this);}['setStyle'](_0x3106de){var _0xa676f=a71_0x22843f;this[_0xa676f(0x1db)]=JSON[_0xa676f(0x1ee)](JSON['stringify'](_0x3106de));}[a71_0x22843f(0x1e0)](_0x87c9ce){var _0x3f785a=a71_0x22843f;if(_0x87c9ce&&_0x87c9ce instanceof a71_0x390410)this[_0x3f785a(0x1e2)]=_0x87c9ce;else throw new Error('传入的不是地图对象!');}[a71_0x22843f(0x1ef)](){var _0x428da1=a71_0x22843f;return this[_0x428da1(0x1e2)];}['isPlot'](){return!![];}[a71_0x22843f(0x1e8)](_0x2c8415){var _0x1d6a75=a71_0x22843f;this[_0x1d6a75(0x1e7)]=!_0x2c8415?[]:_0x2c8415,this[_0x1d6a75(0x1e7)][_0x1d6a75(0x1eb)]>=0x1&&(this[_0x1d6a75(0x1dc)]&&this[_0x1d6a75(0x1dc)]());}[a71_0x22843f(0x1dc)](){}['getPoints'](){var _0x102946=a71_0x22843f;return this[_0x102946(0x1e7)][_0x102946(0x1f0)](0x0);}[a71_0x22843f(0x1ea)](){var _0x4d9083=a71_0x22843f;return this[_0x4d9083(0x1e7)][_0x4d9083(0x1eb)];}['finishDrawing'](){}}export default Plot;
1
+ var a71_0x12f6d8=a71_0x4132;(function(_0x166ae2,_0x8b4c03){var _0xb379d0=a71_0x4132,_0x34dfc6=_0x166ae2();while(!![]){try{var _0x157070=-parseInt(_0xb379d0(0x1fd))/0x1+parseInt(_0xb379d0(0x204))/0x2*(-parseInt(_0xb379d0(0x202))/0x3)+parseInt(_0xb379d0(0x1f6))/0x4+-parseInt(_0xb379d0(0x1f0))/0x5*(parseInt(_0xb379d0(0x208))/0x6)+parseInt(_0xb379d0(0x206))/0x7*(-parseInt(_0xb379d0(0x207))/0x8)+parseInt(_0xb379d0(0x205))/0x9+parseInt(_0xb379d0(0x200))/0xa;if(_0x157070===_0x8b4c03)break;else _0x34dfc6['push'](_0x34dfc6['shift']());}catch(_0x54bf56){_0x34dfc6['push'](_0x34dfc6['shift']());}}}(a71_0x5778,0xd576f));import{LineString}from'ol/geom';import a71_0x4fde8c from'ol/format/GeoJSON';function a71_0x4132(_0x5ab603,_0x1bbb12){var _0x577848=a71_0x5778();return a71_0x4132=function(_0x4132f2,_0x303d1f){_0x4132f2=_0x4132f2-0x1ee;var _0xcee4ef=_0x577848[_0x4132f2];return _0xcee4ef;},a71_0x4132(_0x5ab603,_0x1bbb12);}import a71_0x45ab6c from'../../../mapView/Map';class Plot extends LineString{constructor(){var _0x3cc3e5=a71_0x4132;super([]),this[_0x3cc3e5(0x201)]=[];}[a71_0x12f6d8(0x1f3)](){var _0x304a64=a71_0x12f6d8;return this[_0x304a64(0x1fe)];}[a71_0x12f6d8(0x1f5)](){return new a71_0x4fde8c()['writeGeometryObject'](this);}[a71_0x12f6d8(0x1fa)](_0x2515ac){var _0x3c370d=a71_0x12f6d8;this[_0x3c370d(0x1ee)]=JSON[_0x3c370d(0x1f2)](JSON[_0x3c370d(0x209)](_0x2515ac));}[a71_0x12f6d8(0x1fb)](_0x54600f){var _0x3a2739=a71_0x12f6d8;if(_0x54600f&&_0x54600f instanceof a71_0x45ab6c)this[_0x3a2739(0x1f8)]=_0x54600f;else throw new Error(_0x3a2739(0x1ef));}[a71_0x12f6d8(0x1f1)](){var _0x33af1a=a71_0x12f6d8;return this[_0x33af1a(0x1f8)];}[a71_0x12f6d8(0x1f4)](){return!![];}[a71_0x12f6d8(0x1f7)](_0x367808){var _0x3ba0eb=a71_0x12f6d8;this[_0x3ba0eb(0x201)]=!_0x367808?[]:_0x367808,this[_0x3ba0eb(0x201)][_0x3ba0eb(0x1ff)]>=0x1&&(this[_0x3ba0eb(0x1f9)]&&this['generate']());}[a71_0x12f6d8(0x1f9)](){}[a71_0x12f6d8(0x1fc)](){var _0x1703e7=a71_0x12f6d8;return this[_0x1703e7(0x201)][_0x1703e7(0x203)](0x0);}['getPointCount'](){var _0x5543c3=a71_0x12f6d8;return this[_0x5543c3(0x201)][_0x5543c3(0x1ff)];}['finishDrawing'](){}}function a71_0x5778(){var _0xed7bda=['getPoints','407161FrtJwD','type','length','14006220kYBCir','points','417uTKHta','slice','2018lQTXdM','5048649hnsNiy','13209EQjfLg','568oUYWyV','515190HnlSen','stringify','style','传入的不是地图对象!','30KFhAqq','getMap','parse','getPlotType','isPlot','getGeoJson','437388HUirhb','setPoints','map','generate','setStyle','setMap'];a71_0x5778=function(){return _0xed7bda;};return a71_0x5778();}export default Plot;
@@ -1 +1 @@
1
- var a72_0x88b1fd=a72_0x9fc4;function a72_0x18b3(){var _0xff126b=['10806460rzgkxt','length','300MyRHJd','parse','points','1223550JrvENP','3920805Icmtmy','setCoordinates','isPlot','11rHsuXH','LineString','updatePoint','stringify','30055hbMKLP','2487513wshDkA','generate','2qaMHPF','setStyle','143437pkZrFF','16cleXOL','6074754BbphSe','updateLastPoint'];a72_0x18b3=function(){return _0xff126b;};return a72_0x18b3();}(function(_0x343a56,_0x3a19bb){var _0xd36d1=a72_0x9fc4,_0x579bff=_0x343a56();while(!![]){try{var _0x3d5f0c=-parseInt(_0xd36d1(0x12a))/0x1+parseInt(_0xd36d1(0x128))/0x2*(parseInt(_0xd36d1(0x11d))/0x3)+parseInt(_0xd36d1(0x130))/0x4*(parseInt(_0xd36d1(0x125))/0x5)+-parseInt(_0xd36d1(0x12c))/0x6+parseInt(_0xd36d1(0x126))/0x7*(-parseInt(_0xd36d1(0x12b))/0x8)+parseInt(_0xd36d1(0x11e))/0x9+parseInt(_0xd36d1(0x12e))/0xa*(parseInt(_0xd36d1(0x121))/0xb);if(_0x3d5f0c===_0x3a19bb)break;else _0x579bff['push'](_0x579bff['shift']());}catch(_0x2a420a){_0x579bff['push'](_0x579bff['shift']());}}}(a72_0x18b3,0x7c1c0));function a72_0x9fc4(_0x5c8771,_0x3b2f95){var _0x18b3ae=a72_0x18b3();return a72_0x9fc4=function(_0x9fc475,_0x1e5393){_0x9fc475=_0x9fc475-0x11c;var _0x26c454=_0x18b3ae[_0x9fc475];return _0x26c454;},a72_0x9fc4(_0x5c8771,_0x3b2f95);}import a72_0x746d9a from'./BaseLine';class Polyline extends a72_0x746d9a{constructor(_0x2ec77d){var _0x559ac1=a72_0x9fc4;super(),this['type']=_0x559ac1(0x122),this[_0x559ac1(0x11f)](_0x2ec77d);}['generate'](){var _0x48f07c=a72_0x9fc4;this[_0x48f07c(0x11f)](this[_0x48f07c(0x11c)]);}[a72_0x88b1fd(0x123)](_0x180d0d,_0x32a246){var _0x428063=a72_0x88b1fd;_0x32a246>=0x0&&_0x32a246<this['points'][_0x428063(0x12f)]&&(this[_0x428063(0x11c)][_0x32a246]=_0x180d0d,this[_0x428063(0x127)]());}[a72_0x88b1fd(0x12d)](_0x44a40e){var _0x304055=a72_0x88b1fd;this[_0x304055(0x123)](_0x44a40e,this[_0x304055(0x11c)][_0x304055(0x12f)]-0x1);}[a72_0x88b1fd(0x120)](){return![];}[a72_0x88b1fd(0x129)](_0xb8fc46){var _0x129a89=a72_0x88b1fd;this['style']=JSON[_0x129a89(0x131)](JSON[_0x129a89(0x124)](_0xb8fc46));}}export default Polyline;
1
+ function a72_0xe7a8(_0x2d13c9,_0x29f784){var _0x241da0=a72_0x241d();return a72_0xe7a8=function(_0xe7a89f,_0x5cfd57){_0xe7a89f=_0xe7a89f-0x1e1;var _0x1b54ff=_0x241da0[_0xe7a89f];return _0x1b54ff;},a72_0xe7a8(_0x2d13c9,_0x29f784);}function a72_0x241d(){var _0x4d263f=['4231520EopBwY','10423IOSveI','32EjIuos','updatePoint','18YPfzQC','updateLastPoint','type','parse','4255745BXXqFG','length','4nKNxpg','setStyle','12MALoAp','points','9023052FxYFol','1377957jJDyAd','stringify','41834771zUxPwR','1480ehjHkH','isPlot','generate','55724Iythbu','LineString'];a72_0x241d=function(){return _0x4d263f;};return a72_0x241d();}var a72_0x121b74=a72_0xe7a8;(function(_0x25f122,_0x24771e){var _0x377f80=a72_0xe7a8,_0x4c1186=_0x25f122();while(!![]){try{var _0x90d04a=-parseInt(_0x377f80(0x1f0))/0x1*(-parseInt(_0x377f80(0x1ec))/0x2)+-parseInt(_0x377f80(0x1e6))/0x3+parseInt(_0x377f80(0x1e1))/0x4*(-parseInt(_0x377f80(0x1f6))/0x5)+-parseInt(_0x377f80(0x1e5))/0x6+parseInt(_0x377f80(0x1ef))/0x7*(-parseInt(_0x377f80(0x1e9))/0x8)+-parseInt(_0x377f80(0x1f2))/0x9*(parseInt(_0x377f80(0x1ee))/0xa)+parseInt(_0x377f80(0x1e8))/0xb*(parseInt(_0x377f80(0x1e3))/0xc);if(_0x90d04a===_0x24771e)break;else _0x4c1186['push'](_0x4c1186['shift']());}catch(_0x4afe2e){_0x4c1186['push'](_0x4c1186['shift']());}}}(a72_0x241d,0xb938a));import a72_0x25a92b from'./BaseLine';class Polyline extends a72_0x25a92b{constructor(_0x4f47b3){var _0x1f1bec=a72_0xe7a8;super(),this[_0x1f1bec(0x1f4)]=_0x1f1bec(0x1ed),this['setCoordinates'](_0x4f47b3);}['generate'](){this['setCoordinates'](this['points']);}[a72_0x121b74(0x1f1)](_0x122b1e,_0x24ad4d){var _0x31145f=a72_0x121b74;_0x24ad4d>=0x0&&_0x24ad4d<this[_0x31145f(0x1e4)][_0x31145f(0x1f7)]&&(this[_0x31145f(0x1e4)][_0x24ad4d]=_0x122b1e,this[_0x31145f(0x1eb)]());}[a72_0x121b74(0x1f3)](_0x4bf8cb){var _0x7b0244=a72_0x121b74;this[_0x7b0244(0x1f1)](_0x4bf8cb,this[_0x7b0244(0x1e4)][_0x7b0244(0x1f7)]-0x1);}[a72_0x121b74(0x1ea)](){return![];}[a72_0x121b74(0x1e2)](_0x8c0d12){var _0x169305=a72_0x121b74;this['style']=JSON[_0x169305(0x1f5)](JSON[_0x169305(0x1e7)](_0x8c0d12));}}export default Polyline;
@@ -1 +1 @@
1
- (function(_0x249b55,_0x40f36a){const _0x3a63f6=a75_0x1fed,_0x115320=_0x249b55();while(!![]){try{const _0x585153=-parseInt(_0x3a63f6(0x1b3))/0x1+parseInt(_0x3a63f6(0x1af))/0x2+-parseInt(_0x3a63f6(0x1be))/0x3+parseInt(_0x3a63f6(0x1ca))/0x4*(-parseInt(_0x3a63f6(0x1c0))/0x5)+parseInt(_0x3a63f6(0x1ad))/0x6+parseInt(_0x3a63f6(0x1ba))/0x7*(-parseInt(_0x3a63f6(0x1b8))/0x8)+parseInt(_0x3a63f6(0x1a6))/0x9;if(_0x585153===_0x40f36a)break;else _0x115320['push'](_0x115320['shift']());}catch(_0x3e570f){_0x115320['push'](_0x115320['shift']());}}}(a75_0x43d9,0x42088));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';import a75_0x4a38ed from'ol/style/Style';import a75_0x4c5755 from'ol/style/Circle';import a75_0x251f8b from'ol/style/Fill';import a75_0x152726 from'ol/style/Stroke';function getMainStyle(_0x22babb,_0x31bdaf=0x0,_0x39895e){const _0x2f36dd=a75_0x1fed;let _0x1ee5ad;return _0x22babb[_0x2f36dd(0x18f)]||_0x22babb[_0x2f36dd(0x19e)]?_0x1ee5ad=new a75_0x4a38ed({'renderer':(_0x2db977,_0x14da02)=>{preLoadImageRenderFunction(_0x22babb,_0x2db977,_0x14da02,_0x39895e,_rendererFunction);},'zIndex':Number(_0x31bdaf)}):_0x1ee5ad=new a75_0x4a38ed({'image':new a75_0x4c5755({'radius':_0x22babb[_0x2f36dd(0x1a5)]?_0x22babb['radius']:_0x22babb['pixelSize'],'fill':new a75_0x251f8b({'color':getColor(_0x22babb[_0x2f36dd(0x1a3)],_0x22babb[_0x2f36dd(0x19c)])}),'stroke':_0x22babb[_0x2f36dd(0x1ae)]&&_0x22babb[_0x2f36dd(0x191)]?new a75_0x152726({'color':getColor(_0x22babb[_0x2f36dd(0x191)],_0x22babb[_0x2f36dd(0x18d)]),'width':_0x22babb['outlineWidth']}):undefined}),'zIndex':Number(_0x31bdaf)}),_0x1ee5ad;}function _rendererFunction(_0xca26f7,_0x177a18,_0x3d1d50,_0x2c6a97,_0xc03e41){const _0x4d0883=a75_0x1fed;if(!_0xc03e41||_0xc03e41['width']===0x0){let _0x24743b=new Image();_0x24743b[_0x4d0883(0x19a)]=_0xca26f7['image'];}if(_0xca26f7[_0x4d0883(0x1bb)]&&_0xca26f7[_0x4d0883(0x1a3)]!==''){let _0x467fdf=_0xca26f7['scale']||0x1,_0x33932b=_0xca26f7[_0x4d0883(0x195)]||_0xc03e41[_0x4d0883(0x195)]*_0x467fdf,_0x4d44b4=_0xca26f7[_0x4d0883(0x19b)]||_0xc03e41['height']*_0x467fdf;_0x33932b=_0x33932b*_0x3d1d50[_0x4d0883(0x1b1)],_0x4d44b4=_0x4d44b4*_0x3d1d50[_0x4d0883(0x1b1)];const _0x46e6d5=document[_0x4d0883(0x194)](_0x4d0883(0x196));_0x46e6d5[_0x4d0883(0x195)]=_0x33932b,_0x46e6d5[_0x4d0883(0x19b)]=_0x4d44b4;const _0x417cc0=_0x46e6d5[_0x4d0883(0x1b9)]('2d');_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1a1)](_0xc03e41,0x0,0x0,_0x33932b,_0x4d44b4);let _0x3ef783=_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c6)](0x0,0x0,_0x33932b,_0x4d44b4),_0x6e7ce=_0x3ef783===null||_0x3ef783===void 0x0?void 0x0:_0x3ef783[_0x4d0883(0x18c)];_0xc03e41=_0x46e6d5;let _0x2f03e2=HexToRgb(_0xca26f7[_0x4d0883(0x1a3)]);if(_0x6e7ce&&_0x2f03e2)for(var _0xff0ea0=0x0;_0xff0ea0<_0x6e7ce[_0x4d0883(0x1cb)];_0xff0ea0+=0x4){_0x6e7ce[_0xff0ea0]=_0x2f03e2[0x0],_0x6e7ce[_0xff0ea0+0x1]=_0x2f03e2[0x1],_0x6e7ce[_0xff0ea0+0x2]=_0x2f03e2[0x2];}_0x3ef783&&(_0x417cc0===null||_0x417cc0===void 0x0?void 0x0:_0x417cc0[_0x4d0883(0x1c5)](_0x3ef783,0x0,0x0));}let _0x1423bb=_0x3d1d50[_0x4d0883(0x1ac)],_0x5d1d28=_0x3d1d50[_0x4d0883(0x1b1)],_0x3057a9=_0x1423bb['getStride'](),_0x3abd5e=_0x1423bb['getType'](),_0x51a107=[];switch(_0x3abd5e){case'LineString':_0x51a107=_0x1423bb[_0x4d0883(0x1c3)]();break;case _0x4d0883(0x1a8):_0x51a107=_0x1423bb[_0x4d0883(0x18e)](),_0x3057a9=0x2;break;case _0x4d0883(0x1b7):_0x51a107=_0x1423bb[_0x4d0883(0x19f)](),_0x3057a9=0x3;break;case _0x4d0883(0x1bc):{let _0x3ce807=_0x1423bb['getFlatInteriorPoints']();_0x51a107=[];for(let _0x1bde54=0x0,_0x442ae3=_0x3ce807[_0x4d0883(0x1cb)];_0x1bde54<_0x442ae3;_0x1bde54+=0x3){_0x51a107[_0x4d0883(0x190)](_0x3ce807[_0x1bde54],_0x3ce807[_0x1bde54+0x1]);}if(_0x51a107[_0x4d0883(0x1cb)]===0x0)return;_0x3057a9=0x2;break;}}if(_0x51a107[_0x4d0883(0x1cb)]>0x0&&_0x2c6a97)for(let _0x1257cb=0x0,_0x30c2fb=_0x51a107[_0x4d0883(0x1cb)];_0x1257cb<_0x30c2fb;_0x1257cb+=_0x3057a9){let _0x43038c=[_0x51a107[_0x1257cb],_0x51a107[_0x1257cb+0x1]],_0x363247=_0x2c6a97[_0x4d0883(0x1cc)](_0x43038c);_0x363247=[_0x363247[0x0]*_0x5d1d28,_0x363247[0x1]*_0x5d1d28],drawImage(_0xca26f7,_0x363247,_0x3d1d50,_0xc03e41);}else{if(_0x3abd5e===_0x4d0883(0x18b))for(let _0x28120b of _0x177a18){drawImage(_0xca26f7,_0x28120b,_0x3d1d50,_0xc03e41);}else drawImage(_0xca26f7,_0x177a18,_0x3d1d50,_0xc03e41);}}function a75_0x43d9(){const _0x14f587=['stringify','src','height','opacity','point','markerColor','getFlatInteriorPoint','replace','drawImage','verticalOrigin','color','zIndex','radius','10106694nnLQpP','translate','MultiLineString','BOTTOM','rotate','pixelOffset','geometry','2120292dDoVMY','outline','155256hisIwl','model/','pixelRatio','RIGHT','310611ZzkOyk','text','show','warn','Polygon','2199096kVpfgp','getContext','7CAvGCP','changeColor','MultiPolygon','parse','1121547NBvMYO','globalAlpha','5MFfnri','toUpperCase','rotation','getFlatMidpoint','cloud','putImageData','getImageData','modelKind','TOP','CENTER','1296628NJFfke','length','getPixelFromCoordinate','billboard','model','context','imgUrl','scale','label','.png','MultiPoint','data','outlineOpacity','getFlatMidpoints','image','push','outlineColor','restore','LEFT','createElement','width','canvas','horizontalOrigin','save'];a75_0x43d9=function(){return _0x14f587;};return a75_0x43d9();}function HexToRgb(_0x363df3){const _0x147951=a75_0x1fed;_0x363df3=_0x363df3[_0x147951(0x1a0)]('#','');let _0x1c80d1=_0x363df3['match'](/../g);if(_0x1c80d1){for(let _0xd4b66=0x0;_0xd4b66<0x3;_0xd4b66++)_0x1c80d1[_0xd4b66]=parseInt(_0x1c80d1[_0xd4b66],0x10);}return _0x1c80d1;}export function getImageOlStyle(_0x4042ef,_0x2fe55f,_0x83316f,_0x418f01){const _0x49386d=a75_0x1fed;var _0x28b6b9;if(_0x4042ef&&_0x4042ef[_0x49386d(0x1b5)]!==![]){_0x4042ef=JSON[_0x49386d(0x1bd)](JSON[_0x49386d(0x199)](_0x4042ef)),_0x2fe55f=(_0x28b6b9=_0x4042ef[_0x49386d(0x1a4)])!==null&&_0x28b6b9!==void 0x0?_0x28b6b9:_0x2fe55f;let _0x264906=isShowStyle(_0x4042ef,_0x83316f,_0x418f01);if(_0x264906)return _0x4042ef[_0x49386d(0x18f)]=parseImage(_0x4042ef[_0x49386d(0x18f)]),getMainStyle(_0x4042ef,_0x2fe55f,_0x418f01);}}export function getPointStyle(_0x7acdbc,_0x3f6f74,_0x3ce84c,_0x140cdf){const _0xafa16c=a75_0x1fed;var _0xa5d222,_0x49202e;_0x7acdbc=JSON[_0xafa16c(0x1bd)](JSON[_0xafa16c(0x199)](_0x7acdbc));let _0x1140d4=(_0xa5d222=_0x7acdbc[_0xafa16c(0x1a4)])!==null&&_0xa5d222!==void 0x0?_0xa5d222:0x0,_0x584d11=[],_0x1dcff7=getImageOlStyle(_0x7acdbc,_0x1140d4,_0x3ce84c,_0x140cdf);_0x1dcff7&&_0x584d11[_0xafa16c(0x190)](_0x1dcff7);let _0x2f4ca3=getImageOlStyle(_0x7acdbc[_0xafa16c(0x184)],_0x1140d4,_0x3ce84c,_0x140cdf);_0x2f4ca3&&_0x584d11[_0xafa16c(0x190)](_0x2f4ca3);if(_0x7acdbc[_0xafa16c(0x185)]&&_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1b5)]!==![]){let _0x58805f=isShowStyle(_0x7acdbc['model'],_0x3ce84c,_0x140cdf);if(_0x58805f){let _0x3b0690=(_0x49202e=_0x7acdbc[_0xafa16c(0x185)]['zIndex'])!==null&&_0x49202e!==void 0x0?_0x49202e:_0x1140d4,_0x5a1f6e=_0x7acdbc['model'][_0xafa16c(0x187)]||_0xafa16c(0x1b0)+_0x7acdbc[_0xafa16c(0x185)][_0xafa16c(0x1c7)]+_0xafa16c(0x18a);_0x7acdbc[_0xafa16c(0x188)]=0x1,_0x7acdbc['width']=0x30,_0x7acdbc[_0xafa16c(0x19b)]=0x30,_0x7acdbc['verticalOrigin']=_0xafa16c(0x1c9),_0x584d11[_0xafa16c(0x190)](getMainStyle(_0x7acdbc[_0xafa16c(0x185)],_0x3b0690,_0x140cdf));}}if(_0x7acdbc[_0xafa16c(0x189)]&&_0x7acdbc['label'][_0xafa16c(0x1b5)]!==![]){let _0x2050d2=new a75_0x4a38ed({'text':createTextStyle(_0x7acdbc[_0xafa16c(0x189)],_0x3f6f74,_0x3ce84c,_0x140cdf),'zIndex':Number(_0x1140d4)+0x1});_0x584d11[_0xafa16c(0x190)](_0x2050d2);}return _0x584d11;}export function getPointSingleStyle(_0x33348d,_0x93c37,_0x1daa68,_0x24bbcb){const _0x523c44=a75_0x1fed;_0x93c37=JSON[_0x523c44(0x1bd)](JSON['stringify'](_0x93c37));let _0xd10b6f=_0x93c37[_0x523c44(0x189)],_0x3e1a84;_0xd10b6f&&(_0x3e1a84=_0xd10b6f[_0x523c44(0x1b4)]?_0xd10b6f['text']:'');if(_0x33348d===_0x523c44(0x184))return _0x93c37['image']=parseImage(_0x93c37['image']),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d==='model'){let _0x297709=_0x93c37['imgUrl']||_0x523c44(0x1b0)+_0x93c37['modelKind']+'.png';return _0x93c37[_0x523c44(0x188)]=0x1,_0x93c37['width']=0x30,_0x93c37[_0x523c44(0x19b)]=0x30,_0x93c37[_0x523c44(0x1a2)]=_0x523c44(0x1c9),getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}else{if(_0x33348d===_0x523c44(0x1c4))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else{if(_0x33348d===_0x523c44(0x19d))return getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);else return _0x33348d===_0x523c44(0x189)?new a75_0x4a38ed({'text':createTextStyle(_0x93c37,_0x93c37[_0x523c44(0x1b4)],_0x1daa68,_0x24bbcb),'zIndex':_0x93c37['zIndex']}):getPointStyle(_0x93c37,_0x3e1a84,_0x1daa68,_0x24bbcb);}}}}function a75_0x1fed(_0x1aabfe,_0x502a4b){const _0x43d986=a75_0x43d9();return a75_0x1fed=function(_0x1fedad,_0x28ebd3){_0x1fedad=_0x1fedad-0x184;let _0x9e2fe2=_0x43d986[_0x1fedad];return _0x9e2fe2;},a75_0x1fed(_0x1aabfe,_0x502a4b);}function drawImage(_0x3b2189,_0x57f8b6,_0x2b39a8,_0xb7a029){const _0x3c270f=a75_0x1fed;var _0x2ac51d,_0x32df28,_0x50c503,_0x103386;let _0x4c82f8=_0x2b39a8[_0x3c270f(0x186)];try{_0x4c82f8[_0x3c270f(0x198)]();let _0x2bdb62=Number(_0x3b2189['pixelOffsetX']||((_0x2ac51d=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x2ac51d===void 0x0?void 0x0:_0x2ac51d[0x0])||0x0),_0x206d16=Number(_0x3b2189['pixelOffsetY']||((_0x32df28=_0x3b2189[_0x3c270f(0x1ab)])===null||_0x32df28===void 0x0?void 0x0:_0x32df28[0x1])||0x0);_0x4c82f8[_0x3c270f(0x1a7)](_0x57f8b6[0x0]+_0x2bdb62,_0x57f8b6[0x1]+_0x206d16);if(_0x3b2189[_0x3c270f(0x1c2)])_0x4c82f8[_0x3c270f(0x1aa)](toRadians(_0x3b2189[_0x3c270f(0x1c2)]));_0x4c82f8[_0x3c270f(0x1bf)]=_0x3b2189[_0x3c270f(0x19c)]!=null?_0x3b2189['opacity']:0x1;if(_0xb7a029[_0x3c270f(0x195)]>0x0){let _0x2bfe4d=_0x3b2189[_0x3c270f(0x188)]||0x1,_0x47fa85=_0x3b2189[_0x3c270f(0x195)]||_0xb7a029[_0x3c270f(0x195)]*_0x2bfe4d,_0x48b025=_0x3b2189[_0x3c270f(0x19b)]||_0xb7a029['height']*_0x2bfe4d;_0x47fa85=_0x47fa85*_0x2b39a8[_0x3c270f(0x1b1)],_0x48b025=_0x48b025*_0x2b39a8[_0x3c270f(0x1b1)];_0x3b2189[_0x3c270f(0x1bb)]&&(_0x47fa85=_0xb7a029[_0x3c270f(0x195)],_0x48b025=_0xb7a029[_0x3c270f(0x19b)]);let _0x3409a2;switch((_0x50c503=_0x3b2189[_0x3c270f(0x197)])===null||_0x50c503===void 0x0?void 0x0:_0x50c503[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1c9):_0x3409a2=-_0x47fa85/0x2;break;case _0x3c270f(0x193):_0x3409a2=0x0;break;case _0x3c270f(0x1b2):_0x3409a2=-_0x47fa85;break;}let _0xdfad46;switch((_0x103386=_0x3b2189[_0x3c270f(0x1a2)])===null||_0x103386===void 0x0?void 0x0:_0x103386[_0x3c270f(0x1c1)]()){default:case _0x3c270f(0x1a9):_0xdfad46=-_0x48b025;break;case'CENTER':_0xdfad46=-_0x48b025/0x2;break;case _0x3c270f(0x1c8):_0xdfad46=0x0;break;}_0x4c82f8['drawImage'](_0xb7a029,_0x3409a2,_0xdfad46,_0x47fa85,_0x48b025);}else _0x4c82f8[_0x3c270f(0x1a1)](_0xb7a029,0x0,0x0);_0x4c82f8[_0x3c270f(0x192)]();}catch(_0x27df37){_0x4c82f8['restore'](),console[_0x3c270f(0x1b6)](_0x27df37);}}
1
+ (function(_0x379467,_0x30e83e){const _0x3cfe83=a75_0x362c,_0x31fb4b=_0x379467();while(!![]){try{const _0x9e5cad=parseInt(_0x3cfe83(0x8e))/0x1*(-parseInt(_0x3cfe83(0xd0))/0x2)+parseInt(_0x3cfe83(0x8d))/0x3*(parseInt(_0x3cfe83(0xc0))/0x4)+parseInt(_0x3cfe83(0xba))/0x5+-parseInt(_0x3cfe83(0xcc))/0x6+-parseInt(_0x3cfe83(0xcb))/0x7+-parseInt(_0x3cfe83(0x97))/0x8*(-parseInt(_0x3cfe83(0xa0))/0x9)+-parseInt(_0x3cfe83(0xa8))/0xa*(parseInt(_0x3cfe83(0xaa))/0xb);if(_0x9e5cad===_0x30e83e)break;else _0x31fb4b['push'](_0x31fb4b['shift']());}catch(_0x50d492){_0x31fb4b['push'](_0x31fb4b['shift']());}}}(a75_0x10ec,0x231b3));import{parseImage}from'../utils/UrlUtil';import{createTextStyle,getColor,isShowStyle,preLoadImageRenderFunction,toRadians}from'./common';function a75_0x10ec(){const _0x30196d=['scale','TOP','4agLYkU','MultiPolygon','.png','getType','text','getContext','drawImage','getPixelFromCoordinate','horizontalOrigin','image','imgUrl','114156iYbcii','449952JVKJBL','show','restore','pixelOffset','8bPJnCH','pixelOffsetY','getFlatInteriorPoint','modelKind','642909GUkhKW','47668BUMAGS','color','stringify','verticalOrigin','model/','data','zIndex','height','parse','876776kQNtIz','pixelRatio','pixelSize','putImageData','save','getStride','replace','rotation','match','9IsnTos','changeColor','globalAlpha','LEFT','translate','pixelOffsetX','toUpperCase','opacity','241880VotqwL','context','11iojbQJ','rotate','getImageData','width','model','point','markerColor','CENTER','MultiLineString','LineString','outlineColor','MultiPoint','getFlatInteriorPoints','canvas','push','label','630275XfbdVH','length','radius','billboard'];a75_0x10ec=function(){return _0x30196d;};return a75_0x10ec();}import a75_0x320375 from'ol/style/Style';import a75_0x102ce8 from'ol/style/Circle';import a75_0x373067 from'ol/style/Fill';import a75_0x3ab6fa from'ol/style/Stroke';function getMainStyle(_0x430fd1,_0x1e1610=0x0,_0xc0b9e5){const _0x3bc649=a75_0x362c;let _0x1a111e;return _0x430fd1['image']||_0x430fd1[_0x3bc649(0xb0)]?_0x1a111e=new a75_0x320375({'renderer':(_0x2ef664,_0x28072d)=>{preLoadImageRenderFunction(_0x430fd1,_0x2ef664,_0x28072d,_0xc0b9e5,_rendererFunction);},'zIndex':Number(_0x1e1610)}):_0x1a111e=new a75_0x320375({'image':new a75_0x102ce8({'radius':_0x430fd1[_0x3bc649(0xbc)]?_0x430fd1[_0x3bc649(0xbc)]:_0x430fd1[_0x3bc649(0x99)],'fill':new a75_0x373067({'color':getColor(_0x430fd1['color'],_0x430fd1[_0x3bc649(0xa7)])}),'stroke':_0x430fd1['outline']&&_0x430fd1['outlineColor']?new a75_0x3ab6fa({'color':getColor(_0x430fd1[_0x3bc649(0xb4)],_0x430fd1['outlineOpacity']),'width':_0x430fd1['outlineWidth']}):undefined}),'zIndex':Number(_0x1e1610)}),_0x1a111e;}function _rendererFunction(_0x1c1594,_0x3577d2,_0x58ba42,_0x4d71c4,_0x1a1f7b){const _0x5beedd=a75_0x362c;if(!_0x1a1f7b||_0x1a1f7b['width']===0x0){let _0x154e81=new Image();_0x154e81['src']=_0x1c1594['image'];}if(_0x1c1594[_0x5beedd(0xa1)]&&_0x1c1594[_0x5beedd(0x8f)]!==''){let _0x429e3b=_0x1c1594['scale']||0x1,_0x12618d=_0x1c1594[_0x5beedd(0xad)]||_0x1a1f7b[_0x5beedd(0xad)]*_0x429e3b,_0x230e5e=_0x1c1594['height']||_0x1a1f7b[_0x5beedd(0x95)]*_0x429e3b;_0x12618d=_0x12618d*_0x58ba42['pixelRatio'],_0x230e5e=_0x230e5e*_0x58ba42[_0x5beedd(0x98)];const _0x561e5f=document['createElement'](_0x5beedd(0xb7));_0x561e5f['width']=_0x12618d,_0x561e5f[_0x5beedd(0x95)]=_0x230e5e;const _0x1b2c85=_0x561e5f[_0x5beedd(0xc5)]('2d');_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85['drawImage'](_0x1a1f7b,0x0,0x0,_0x12618d,_0x230e5e);let _0x3226ed=_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85[_0x5beedd(0xac)](0x0,0x0,_0x12618d,_0x230e5e),_0xd55865=_0x3226ed===null||_0x3226ed===void 0x0?void 0x0:_0x3226ed[_0x5beedd(0x93)];_0x1a1f7b=_0x561e5f;let _0x4d410b=HexToRgb(_0x1c1594[_0x5beedd(0x8f)]);if(_0xd55865&&_0x4d410b)for(var _0x2fff2a=0x0;_0x2fff2a<_0xd55865[_0x5beedd(0xbb)];_0x2fff2a+=0x4){_0xd55865[_0x2fff2a]=_0x4d410b[0x0],_0xd55865[_0x2fff2a+0x1]=_0x4d410b[0x1],_0xd55865[_0x2fff2a+0x2]=_0x4d410b[0x2];}_0x3226ed&&(_0x1b2c85===null||_0x1b2c85===void 0x0?void 0x0:_0x1b2c85[_0x5beedd(0x9a)](_0x3226ed,0x0,0x0));}let _0x520bed=_0x58ba42['geometry'],_0xa95541=_0x58ba42[_0x5beedd(0x98)],_0x40fd8e=_0x520bed[_0x5beedd(0x9c)](),_0x3d1c07=_0x520bed[_0x5beedd(0xc3)](),_0x49f5f3=[];switch(_0x3d1c07){case _0x5beedd(0xb3):_0x49f5f3=_0x520bed['getFlatMidpoint']();break;case _0x5beedd(0xb2):_0x49f5f3=_0x520bed['getFlatMidpoints'](),_0x40fd8e=0x2;break;case'Polygon':_0x49f5f3=_0x520bed[_0x5beedd(0xd2)](),_0x40fd8e=0x3;break;case _0x5beedd(0xc1):{let _0x3d78e0=_0x520bed[_0x5beedd(0xb6)]();_0x49f5f3=[];for(let _0x47482c=0x0,_0x32b873=_0x3d78e0['length'];_0x47482c<_0x32b873;_0x47482c+=0x3){_0x49f5f3['push'](_0x3d78e0[_0x47482c],_0x3d78e0[_0x47482c+0x1]);}if(_0x49f5f3['length']===0x0)return;_0x40fd8e=0x2;break;}}if(_0x49f5f3[_0x5beedd(0xbb)]>0x0&&_0x4d71c4)for(let _0x424e09=0x0,_0x2200fe=_0x49f5f3['length'];_0x424e09<_0x2200fe;_0x424e09+=_0x40fd8e){let _0x379226=[_0x49f5f3[_0x424e09],_0x49f5f3[_0x424e09+0x1]],_0x203a86=_0x4d71c4[_0x5beedd(0xc7)](_0x379226);_0x203a86=[_0x203a86[0x0]*_0xa95541,_0x203a86[0x1]*_0xa95541],drawImage(_0x1c1594,_0x203a86,_0x58ba42,_0x1a1f7b);}else{if(_0x3d1c07===_0x5beedd(0xb5))for(let _0xd4662b of _0x3577d2){drawImage(_0x1c1594,_0xd4662b,_0x58ba42,_0x1a1f7b);}else drawImage(_0x1c1594,_0x3577d2,_0x58ba42,_0x1a1f7b);}}function HexToRgb(_0x370564){const _0x26d134=a75_0x362c;_0x370564=_0x370564[_0x26d134(0x9d)]('#','');let _0x222656=_0x370564[_0x26d134(0x9f)](/../g);if(_0x222656){for(let _0x130063=0x0;_0x130063<0x3;_0x130063++)_0x222656[_0x130063]=parseInt(_0x222656[_0x130063],0x10);}return _0x222656;}export function getImageOlStyle(_0x201cbc,_0x497bc9,_0x1ca792,_0x18e869){const _0x129baf=a75_0x362c;var _0x3f7ccb;if(_0x201cbc&&_0x201cbc['show']!==![]){_0x201cbc=JSON[_0x129baf(0x96)](JSON[_0x129baf(0x90)](_0x201cbc)),_0x497bc9=(_0x3f7ccb=_0x201cbc[_0x129baf(0x94)])!==null&&_0x3f7ccb!==void 0x0?_0x3f7ccb:_0x497bc9;let _0x27668c=isShowStyle(_0x201cbc,_0x1ca792,_0x18e869);if(_0x27668c)return _0x201cbc[_0x129baf(0xc9)]=parseImage(_0x201cbc['image']),getMainStyle(_0x201cbc,_0x497bc9,_0x18e869);}}export function getPointStyle(_0x51f4bf,_0x595cea,_0x3f425e,_0x5689da){const _0x40f215=a75_0x362c;var _0x4c03bf,_0x20bf56;_0x51f4bf=JSON[_0x40f215(0x96)](JSON[_0x40f215(0x90)](_0x51f4bf));let _0x1db5df=(_0x4c03bf=_0x51f4bf[_0x40f215(0x94)])!==null&&_0x4c03bf!==void 0x0?_0x4c03bf:0x0,_0x278a5f=[],_0x20e941=getImageOlStyle(_0x51f4bf,_0x1db5df,_0x3f425e,_0x5689da);_0x20e941&&_0x278a5f[_0x40f215(0xb8)](_0x20e941);let _0x37645d=getImageOlStyle(_0x51f4bf['billboard'],_0x1db5df,_0x3f425e,_0x5689da);_0x37645d&&_0x278a5f[_0x40f215(0xb8)](_0x37645d);if(_0x51f4bf['model']&&_0x51f4bf['model']['show']!==![]){let _0x5ac857=isShowStyle(_0x51f4bf[_0x40f215(0xae)],_0x3f425e,_0x5689da);if(_0x5ac857){let _0x43ec19=(_0x20bf56=_0x51f4bf[_0x40f215(0xae)][_0x40f215(0x94)])!==null&&_0x20bf56!==void 0x0?_0x20bf56:_0x1db5df,_0x1f23ae=_0x51f4bf[_0x40f215(0xae)][_0x40f215(0xca)]||_0x40f215(0x92)+_0x51f4bf[_0x40f215(0xae)][_0x40f215(0x8c)]+_0x40f215(0xc2);_0x51f4bf[_0x40f215(0xbe)]=0x1,_0x51f4bf[_0x40f215(0xad)]=0x30,_0x51f4bf[_0x40f215(0x95)]=0x30,_0x51f4bf[_0x40f215(0x91)]=_0x40f215(0xb1),_0x278a5f[_0x40f215(0xb8)](getMainStyle(_0x51f4bf['model'],_0x43ec19,_0x5689da));}}if(_0x51f4bf['label']&&_0x51f4bf['label'][_0x40f215(0xcd)]!==![]){let _0x1ba6c4=new a75_0x320375({'text':createTextStyle(_0x51f4bf[_0x40f215(0xb9)],_0x595cea,_0x3f425e,_0x5689da),'zIndex':Number(_0x1db5df)+0x1});_0x278a5f['push'](_0x1ba6c4);}return _0x278a5f;}export function getPointSingleStyle(_0x2e743b,_0x42057c,_0x26961f,_0x4f941b){const _0x43e8e0=a75_0x362c;_0x42057c=JSON[_0x43e8e0(0x96)](JSON['stringify'](_0x42057c));let _0x43469d=_0x42057c['label'],_0x5a3510;_0x43469d&&(_0x5a3510=_0x43469d[_0x43e8e0(0xc4)]?_0x43469d[_0x43e8e0(0xc4)]:'');if(_0x2e743b===_0x43e8e0(0xbd))return _0x42057c['image']=parseImage(_0x42057c[_0x43e8e0(0xc9)]),getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else{if(_0x2e743b===_0x43e8e0(0xae)){let _0x2e77c2=_0x42057c[_0x43e8e0(0xca)]||'model/'+_0x42057c[_0x43e8e0(0x8c)]+_0x43e8e0(0xc2);return _0x42057c[_0x43e8e0(0xbe)]=0x1,_0x42057c[_0x43e8e0(0xad)]=0x30,_0x42057c[_0x43e8e0(0x95)]=0x30,_0x42057c[_0x43e8e0(0x91)]=_0x43e8e0(0xb1),getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);}else{if(_0x2e743b==='cloud')return getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else{if(_0x2e743b===_0x43e8e0(0xaf))return getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);else return _0x2e743b===_0x43e8e0(0xb9)?new a75_0x320375({'text':createTextStyle(_0x42057c,_0x42057c[_0x43e8e0(0xc4)],_0x26961f,_0x4f941b),'zIndex':_0x42057c[_0x43e8e0(0x94)]}):getPointStyle(_0x42057c,_0x5a3510,_0x26961f,_0x4f941b);}}}}function a75_0x362c(_0x21c137,_0x562591){const _0x10ec00=a75_0x10ec();return a75_0x362c=function(_0x362cf4,_0x5692a2){_0x362cf4=_0x362cf4-0x8c;let _0x378f07=_0x10ec00[_0x362cf4];return _0x378f07;},a75_0x362c(_0x21c137,_0x562591);}function drawImage(_0x1e4a24,_0x5bdb2d,_0xd2ef92,_0x2c1382){const _0x11ba68=a75_0x362c;var _0x466006,_0x1bff72,_0x48a3c8,_0x127d11;let _0x570b21=_0xd2ef92[_0x11ba68(0xa9)];try{_0x570b21[_0x11ba68(0x9b)]();let _0x1ceec6=Number(_0x1e4a24[_0x11ba68(0xa5)]||((_0x466006=_0x1e4a24['pixelOffset'])===null||_0x466006===void 0x0?void 0x0:_0x466006[0x0])||0x0),_0x5051dd=Number(_0x1e4a24[_0x11ba68(0xd1)]||((_0x1bff72=_0x1e4a24[_0x11ba68(0xcf)])===null||_0x1bff72===void 0x0?void 0x0:_0x1bff72[0x1])||0x0);_0x570b21[_0x11ba68(0xa4)](_0x5bdb2d[0x0]+_0x1ceec6,_0x5bdb2d[0x1]+_0x5051dd);if(_0x1e4a24[_0x11ba68(0x9e)])_0x570b21[_0x11ba68(0xab)](toRadians(_0x1e4a24[_0x11ba68(0x9e)]));_0x570b21[_0x11ba68(0xa2)]=_0x1e4a24['opacity']!=null?_0x1e4a24['opacity']:0x1;if(_0x2c1382['width']>0x0){let _0x182bf2=_0x1e4a24[_0x11ba68(0xbe)]||0x1,_0x47f759=_0x1e4a24[_0x11ba68(0xad)]||_0x2c1382[_0x11ba68(0xad)]*_0x182bf2,_0x1d354b=_0x1e4a24[_0x11ba68(0x95)]||_0x2c1382['height']*_0x182bf2;_0x47f759=_0x47f759*_0xd2ef92[_0x11ba68(0x98)],_0x1d354b=_0x1d354b*_0xd2ef92[_0x11ba68(0x98)];_0x1e4a24['changeColor']&&(_0x47f759=_0x2c1382['width'],_0x1d354b=_0x2c1382[_0x11ba68(0x95)]);let _0x45e20b;switch((_0x48a3c8=_0x1e4a24[_0x11ba68(0xc8)])===null||_0x48a3c8===void 0x0?void 0x0:_0x48a3c8[_0x11ba68(0xa6)]()){default:case _0x11ba68(0xb1):_0x45e20b=-_0x47f759/0x2;break;case _0x11ba68(0xa3):_0x45e20b=0x0;break;case'RIGHT':_0x45e20b=-_0x47f759;break;}let _0x3bc5fa;switch((_0x127d11=_0x1e4a24[_0x11ba68(0x91)])===null||_0x127d11===void 0x0?void 0x0:_0x127d11['toUpperCase']()){default:case'BOTTOM':_0x3bc5fa=-_0x1d354b;break;case _0x11ba68(0xb1):_0x3bc5fa=-_0x1d354b/0x2;break;case _0x11ba68(0xbf):_0x3bc5fa=0x0;break;}_0x570b21[_0x11ba68(0xc6)](_0x2c1382,_0x45e20b,_0x3bc5fa,_0x47f759,_0x1d354b);}else _0x570b21[_0x11ba68(0xc6)](_0x2c1382,0x0,0x0);_0x570b21['restore']();}catch(_0x687a17){_0x570b21[_0x11ba68(0xce)](),console['warn'](_0x687a17);}}
@@ -1 +1 @@
1
- function a76_0x39b6(){var _0x2ab04f=['fillType','warn','max','verticalOrigin','opacity','stripe_oddcolor','lineTo','stripe','27wTKGyO','checkerboard','outlineWidth','save','rgba(0,0,0,0.0)','translate','context','setZIndex','21UyhPZB','globalAlpha','length','grid','6565188bPjUOA','fill','restore','zIndex','44188870bfIWDy','height','rgba(0,0,0,0.01)','grid_lineCount','width','outlineColor','beginPath','568432ASuuIZ','setText','canvas','stroke','closePath','setStroke','image','stripe_repeat','src','strokeStyle','getContext','color','grid_lineThickness','drawImage','5208520yWuNJj','fillStyle','532308SWEMjF','repeat','lineWidth','createPattern','createElement','rgba(0,0,0,0)','32462EMlkOo','push','103158UKjSAn','moveTo','69HUpssy','billboard','setRenderer','outline','setFill','oddColor','checkerboard_repeat','295kqcJEP'];a76_0x39b6=function(){return _0x2ab04f;};return a76_0x39b6();}(function(_0x4648f2,_0x22ac30){var _0x163a1e=a76_0x2215,_0x142636=_0x4648f2();while(!![]){try{var _0x589b12=parseInt(_0x163a1e(0x89))/0x1*(-parseInt(_0x163a1e(0x85))/0x2)+parseInt(_0x163a1e(0xa1))/0x3*(-parseInt(_0x163a1e(0x7f))/0x4)+parseInt(_0x163a1e(0x90))/0x5*(-parseInt(_0x163a1e(0x87))/0x6)+-parseInt(_0x163a1e(0xa5))/0x7+-parseInt(_0x163a1e(0xb0))/0x8*(-parseInt(_0x163a1e(0x99))/0x9)+parseInt(_0x163a1e(0x7d))/0xa+parseInt(_0x163a1e(0xa9))/0xb;if(_0x589b12===_0x22ac30)break;else _0x142636['push'](_0x142636['shift']());}catch(_0x43af80){_0x142636['push'](_0x142636['shift']());}}}(a76_0x39b6,0xb67ab));function a76_0x2215(_0x46a9d8,_0x1afbe2){var _0x39b6f6=a76_0x39b6();return a76_0x2215=function(_0x221555,_0x33b748){_0x221555=_0x221555-0x77;var _0x4c429b=_0x39b6f6[_0x221555];return _0x4c429b;},a76_0x2215(_0x46a9d8,_0x1afbe2);}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e){var _0x4a72b9=a76_0x2215,_0x1335f3;let _0x532ed7=(_0x1335f3=_0x132f4c[_0x4a72b9(0xa8)])!==null&&_0x1335f3!==void 0x0?_0x1335f3:0x0,_0x1e5818=new Style();_0x1e5818['setZIndex'](_0x532ed7),_0x1e5818['setFill'](new Fill({'color':_0x4a72b9(0x84)}));if(_0x132f4c[_0x4a72b9(0xa6)]!==![]){if(!_0x132f4c['fillType']||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x7a))_0x1e5818['setFill'](new Fill({'color':getColor(_0x132f4c['color'],_0x132f4c[_0x4a72b9(0x95)])}));else{if(_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xb6))_0x1e5818[_0x4a72b9(0x8b)]((_0x4903a5,_0x12ac2a)=>{preLoadImageRenderFunction(_0x132f4c,_0x4903a5,_0x12ac2a,_0x2bbb8e,_rendererFunction);});else _0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0xa4)||_0x132f4c[_0x4a72b9(0x91)]===_0x4a72b9(0x98)||_0x132f4c['fillType']===_0x4a72b9(0x9a)?_0x1e5818[_0x4a72b9(0x8b)]((_0x5ca99b,_0x5eda07)=>{_rendererFunction(_0x132f4c,_0x5ca99b,_0x5eda07,_0x2bbb8e,null);}):_0x1e5818[_0x4a72b9(0x8d)](new Fill({'color':getColor(_0x132f4c[_0x4a72b9(0x7a)],_0x132f4c['opacity'])}));}}_0x132f4c[_0x4a72b9(0x8c)]!==![]&&_0x1e5818[_0x4a72b9(0xb5)](new Stroke({'color':getColor(_0x132f4c[_0x4a72b9(0xae)],_0x132f4c['outlineOpacity']),'width':_0x132f4c[_0x4a72b9(0x9b)]}));let _0x27dcdd=[_0x1e5818];_0x132f4c['billboard']&&!_0x132f4c[_0x4a72b9(0x8a)][_0x4a72b9(0x94)]&&(_0x132f4c['billboard'][_0x4a72b9(0x94)]='CENTER');let _0x217355=getImageOlStyle(_0x132f4c[_0x4a72b9(0x8a)],_0x532ed7,_0x8a2ec0,_0x2bbb8e);_0x217355&&_0x27dcdd[_0x4a72b9(0x86)](_0x217355);if(_0x1f83db){const _0x4411cc=createTextStyle(_0x132f4c,_0x1f83db,_0x8a2ec0,_0x2bbb8e);_0x4411cc&&(_0x1e5818[_0x4a72b9(0xb1)](_0x4411cc),_0x1e5818[_0x4a72b9(0xa0)](Number(_0x532ed7)+0x1));}return _0x27dcdd;}function _rendererFunction(_0x36338c,_0x35b868,_0x5c9bf5,_0x22238f,_0x2eb253){var _0x1acfc7=a76_0x2215;try{var _0x35114d=_0x5c9bf5[_0x1acfc7(0x9f)];for(var _0x182859=0x0,_0x5ec2ab=_0x35b868[_0x1acfc7(0xa3)];_0x182859<_0x5ec2ab;_0x182859++){_0x35114d[_0x1acfc7(0x9c)](),_0x35114d[_0x1acfc7(0xaf)]();var _0x36b69d=_0x35b868[_0x182859];let _0x55a1d8=boundingExtent(_0x36b69d);_0x35114d[_0x1acfc7(0x9e)](_0x55a1d8[0x0],_0x55a1d8[0x1]);let _0x526907;switch(_0x36338c[_0x1acfc7(0x91)]){case _0x1acfc7(0xb6):_0x526907=_getImagePattern(_0x35114d,_0x55a1d8,_0x36338c,_0x2eb253);break;case _0x1acfc7(0xa4):_0x526907=_getGridPattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x98):_0x526907=_getStripePattern(_0x35114d,_0x55a1d8,_0x36338c);break;case _0x1acfc7(0x9a):_0x526907=_getCheckerBoardPattern(_0x35114d,_0x55a1d8,_0x36338c);break;default:_0x526907=_0x1acfc7(0xab);break;}for(var _0x12bec8=0x0,_0x249d9b=_0x36b69d[_0x1acfc7(0xa3)];_0x12bec8<_0x249d9b;_0x12bec8++){var _0x8fec5b=_0x36b69d[_0x12bec8];_0x12bec8===0x0?_0x35114d[_0x1acfc7(0x88)](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]):_0x35114d['lineTo'](_0x8fec5b[0x0]-_0x55a1d8[0x0],_0x8fec5b[0x1]-_0x55a1d8[0x1]);}_0x35114d[_0x1acfc7(0xb4)](),_0x35114d['fillStyle']='rgba(0,0,0,0.01)',_0x35114d['fill'](),_0x35114d['fillStyle']=_0x526907,_0x35114d['fill'](),_0x36338c[_0x1acfc7(0x8c)]?(_0x35114d['strokeStyle']=getColor(_0x36338c[_0x1acfc7(0xae)],_0x36338c['outlineOpacity']),_0x35114d[_0x1acfc7(0x81)]=_0x36338c[_0x1acfc7(0x9b)]):_0x35114d[_0x1acfc7(0x78)]=_0x1acfc7(0x9d),_0x35114d['stroke'](),_0x35114d[_0x1acfc7(0xa7)]();}}catch(_0x1cd063){_0x35114d[_0x1acfc7(0xa7)](),console[_0x1acfc7(0x92)](_0x1cd063);}}function _getImagePattern(_0x91942b,_0x7dca5c,_0x160ee8,_0x46a81f){var _0xd1bacf=a76_0x2215;if(!_0x46a81f||_0x46a81f[_0xd1bacf(0xad)]===0x0){let _0x18c345=new Image();_0x18c345[_0xd1bacf(0x77)]=_0x160ee8[_0xd1bacf(0xb6)];}var _0x5617e9=getSize(_0x7dca5c);const _0x469ffd=document[_0xd1bacf(0x83)](_0xd1bacf(0xb2)),_0x4f6bc0=_0x469ffd['getContext']('2d');return _0x469ffd[_0xd1bacf(0xad)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x0]/_0x160ee8['repeatX'],0x1),_0x469ffd[_0xd1bacf(0xaa)]=Math[_0xd1bacf(0x93)](_0x5617e9[0x1]/_0x160ee8['repeatY'],0x1),_0x4f6bc0&&(_0x4f6bc0[_0xd1bacf(0xa2)]=_0x160ee8[_0xd1bacf(0x95)],_0x4f6bc0[_0xd1bacf(0x7c)](_0x46a81f,0x0,0x0,_0x469ffd[_0xd1bacf(0xad)],_0x469ffd[_0xd1bacf(0xaa)])),_0x91942b[_0xd1bacf(0x82)](_0x469ffd,_0xd1bacf(0x80));}function _getGridPattern(_0x4f905a,_0x7494e8,_0x956ff9){var _0x3c28dd=a76_0x2215,_0x21216a=getSize(_0x7494e8);const _0x2a190f=document[_0x3c28dd(0x83)](_0x3c28dd(0xb2)),_0x3653da=_0x2a190f[_0x3c28dd(0x79)]('2d');return _0x2a190f[_0x3c28dd(0xad)]=Math[_0x3c28dd(0x93)](_0x21216a[0x0]/_0x956ff9[_0x3c28dd(0xac)],0x1),_0x2a190f[_0x3c28dd(0xaa)]=Math[_0x3c28dd(0x93)](_0x21216a[0x1]/_0x956ff9['grid_lineCount'],0x1),_0x3653da&&(_0x3653da[_0x3c28dd(0x78)]=getColor(_0x956ff9[_0x3c28dd(0x7a)],_0x956ff9[_0x3c28dd(0x95)]),_0x3653da[_0x3c28dd(0x81)]=_0x956ff9[_0x3c28dd(0x7b)]*0x4,_0x3653da['beginPath'](),_0x3653da[_0x3c28dd(0x88)](0x0,_0x2a190f['height']),_0x3653da['lineTo'](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f['height']),_0x3653da[_0x3c28dd(0x88)](_0x2a190f['width'],0x0),_0x3653da[_0x3c28dd(0x97)](_0x2a190f[_0x3c28dd(0xad)],_0x2a190f[_0x3c28dd(0xaa)]),_0x3653da[_0x3c28dd(0xb3)]()),_0x4f905a[_0x3c28dd(0x82)](_0x2a190f,'repeat');}function _getStripePattern(_0x46884f,_0x561489,_0x57556a){var _0x26a29a=a76_0x2215,_0x5e5a82=getSize(_0x561489);const _0x56bb75=document[_0x26a29a(0x83)]('canvas'),_0x2caf09=_0x56bb75[_0x26a29a(0x79)]('2d');let _0x2a1b43=Math[_0x26a29a(0x93)](_0x5e5a82[0x1]/_0x57556a[_0x26a29a(0xb7)],0x1);return _0x56bb75[_0x26a29a(0xad)]=_0x5e5a82[0x0],_0x56bb75[_0x26a29a(0xaa)]=_0x2a1b43*0x2,_0x2caf09&&(_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],0x0),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09['fillStyle']=getColor(_0x57556a[_0x26a29a(0x96)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09[_0x26a29a(0xa6)](),_0x2caf09[_0x26a29a(0xaf)](),_0x2caf09[_0x26a29a(0x88)](0x0,_0x2a1b43),_0x2caf09['lineTo'](_0x56bb75['width'],_0x2a1b43),_0x2caf09[_0x26a29a(0x97)](_0x56bb75[_0x26a29a(0xad)],_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0x97)](0x0,_0x2a1b43*0x2),_0x2caf09[_0x26a29a(0xb4)](),_0x2caf09[_0x26a29a(0x7e)]=getColor(_0x57556a[_0x26a29a(0x7a)],_0x57556a[_0x26a29a(0x95)]),_0x2caf09['fill']()),_0x46884f[_0x26a29a(0x82)](_0x56bb75,_0x26a29a(0x80));}function _getCheckerBoardPattern(_0x157625,_0x8686ea,_0x46f2ed){var _0x4a1713=a76_0x2215,_0x4ae285=getSize(_0x8686ea);const _0x2c6842=document[_0x4a1713(0x83)]('canvas'),_0x5b650e=_0x2c6842[_0x4a1713(0x79)]('2d');let _0x4405db=Math[_0x4a1713(0x93)](_0x4ae285[0x0]/_0x46f2ed[_0x4a1713(0x8f)],0x1),_0x5cf48d=Math['max'](_0x4ae285[0x1]/_0x46f2ed[_0x4a1713(0x8f)],0x1);return _0x2c6842[_0x4a1713(0xad)]=_0x4405db*0x2,_0x2c6842['height']=_0x5cf48d*0x2,_0x5b650e&&(_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,0x0),_0x5b650e['lineTo'](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill'](),_0x5b650e['beginPath'](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],0x0),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed['color'],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](0x0,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](0x0,_0x2c6842['height']),_0x5b650e[_0x4a1713(0xb4)](),_0x5b650e[_0x4a1713(0x7e)]=getColor(_0x46f2ed[_0x4a1713(0x7a)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e[_0x4a1713(0xa6)](),_0x5b650e[_0x4a1713(0xaf)](),_0x5b650e[_0x4a1713(0x88)](_0x4405db,_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x5cf48d),_0x5b650e[_0x4a1713(0x97)](_0x2c6842[_0x4a1713(0xad)],_0x2c6842['height']),_0x5b650e[_0x4a1713(0x97)](_0x4405db,_0x2c6842[_0x4a1713(0xaa)]),_0x5b650e['closePath'](),_0x5b650e['fillStyle']=getColor(_0x46f2ed[_0x4a1713(0x8e)],_0x46f2ed[_0x4a1713(0x95)]),_0x5b650e['fill']()),_0x157625[_0x4a1713(0x82)](_0x2c6842,_0x4a1713(0x80));}
1
+ (function(_0x585d75,_0x234ffb){var _0x58a5ef=a76_0x3ffc,_0x5b577d=_0x585d75();while(!![]){try{var _0x1f1402=parseInt(_0x58a5ef(0x21f))/0x1*(-parseInt(_0x58a5ef(0x1ee))/0x2)+parseInt(_0x58a5ef(0x209))/0x3+parseInt(_0x58a5ef(0x1f6))/0x4+parseInt(_0x58a5ef(0x20e))/0x5*(-parseInt(_0x58a5ef(0x1ec))/0x6)+parseInt(_0x58a5ef(0x213))/0x7*(-parseInt(_0x58a5ef(0x21d))/0x8)+parseInt(_0x58a5ef(0x1ff))/0x9*(-parseInt(_0x58a5ef(0x21b))/0xa)+parseInt(_0x58a5ef(0x225))/0xb;if(_0x1f1402===_0x234ffb)break;else _0x5b577d['push'](_0x5b577d['shift']());}catch(_0x389007){_0x5b577d['push'](_0x5b577d['shift']());}}}(a76_0x1964,0x84db2));function a76_0x3ffc(_0x19d172,_0x5da126){var _0x19640c=a76_0x1964();return a76_0x3ffc=function(_0x3ffc51,_0x18206b){_0x3ffc51=_0x3ffc51-0x1ea;var _0x4f3ff0=_0x19640c[_0x3ffc51];return _0x4f3ff0;},a76_0x3ffc(_0x19d172,_0x5da126);}import{getColor,createTextStyle,preLoadImageRenderFunction}from'./common';import{Fill,Stroke,Style}from'ol/style';import{getSize,boundingExtent}from'ol/extent';import{getImageOlStyle}from'./PointStyleFormat';export function getPolygonStyle(_0x29fe52,_0x1b0509,_0x1f6ce6,_0xfb08f){var _0x37cdf9=a76_0x3ffc,_0x3f2076;let _0x119971=(_0x3f2076=_0x29fe52[_0x37cdf9(0x227)])!==null&&_0x3f2076!==void 0x0?_0x3f2076:0x0,_0x1e02f7=new Style();_0x1e02f7[_0x37cdf9(0x202)](_0x119971),_0x1e02f7['setFill'](new Fill({'color':_0x37cdf9(0x20f)}));if(_0x29fe52[_0x37cdf9(0x1f5)]!==![]){if(!_0x29fe52[_0x37cdf9(0x1fd)]||_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1ea))_0x1e02f7[_0x37cdf9(0x20d)](new Fill({'color':getColor(_0x29fe52[_0x37cdf9(0x1ea)],_0x29fe52[_0x37cdf9(0x222)])}));else{if(_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1fe))_0x1e02f7[_0x37cdf9(0x1f2)]((_0x46f4b7,_0x1172ad)=>{preLoadImageRenderFunction(_0x29fe52,_0x46f4b7,_0x1172ad,_0xfb08f,_rendererFunction);});else _0x29fe52[_0x37cdf9(0x1fd)]==='grid'||_0x29fe52[_0x37cdf9(0x1fd)]===_0x37cdf9(0x1f4)||_0x29fe52['fillType']==='checkerboard'?_0x1e02f7[_0x37cdf9(0x1f2)]((_0x291119,_0x452068)=>{_rendererFunction(_0x29fe52,_0x291119,_0x452068,_0xfb08f,null);}):_0x1e02f7[_0x37cdf9(0x20d)](new Fill({'color':getColor(_0x29fe52[_0x37cdf9(0x1ea)],_0x29fe52['opacity'])}));}}_0x29fe52['outline']!==![]&&_0x1e02f7[_0x37cdf9(0x219)](new Stroke({'color':getColor(_0x29fe52[_0x37cdf9(0x20b)],_0x29fe52[_0x37cdf9(0x211)]),'width':_0x29fe52[_0x37cdf9(0x21e)]}));let _0x243dc5=[_0x1e02f7];_0x29fe52[_0x37cdf9(0x218)]&&!_0x29fe52[_0x37cdf9(0x218)][_0x37cdf9(0x223)]&&(_0x29fe52['billboard'][_0x37cdf9(0x223)]=_0x37cdf9(0x205));let _0x207db8=getImageOlStyle(_0x29fe52['billboard'],_0x119971,_0x1f6ce6,_0xfb08f);_0x207db8&&_0x243dc5['push'](_0x207db8);if(_0x1b0509){const _0x590305=createTextStyle(_0x29fe52,_0x1b0509,_0x1f6ce6,_0xfb08f);_0x590305&&(_0x1e02f7[_0x37cdf9(0x204)](_0x590305),_0x1e02f7[_0x37cdf9(0x202)](Number(_0x119971)+0x1));}return _0x243dc5;}function _rendererFunction(_0xf9269c,_0x433764,_0x40d05b,_0x13dceb,_0x561219){var _0x504043=a76_0x3ffc;try{var _0xa68a75=_0x40d05b[_0x504043(0x1ef)];for(var _0x1db637=0x0,_0x14a1c5=_0x433764[_0x504043(0x207)];_0x1db637<_0x14a1c5;_0x1db637++){_0xa68a75[_0x504043(0x1f8)](),_0xa68a75[_0x504043(0x1f0)]();var _0xd9623e=_0x433764[_0x1db637];let _0x54a52c=boundingExtent(_0xd9623e);_0xa68a75['translate'](_0x54a52c[0x0],_0x54a52c[0x1]);let _0x6b5011;switch(_0xf9269c[_0x504043(0x1fd)]){case _0x504043(0x1fe):_0x6b5011=_getImagePattern(_0xa68a75,_0x54a52c,_0xf9269c,_0x561219);break;case _0x504043(0x228):_0x6b5011=_getGridPattern(_0xa68a75,_0x54a52c,_0xf9269c);break;case _0x504043(0x1f4):_0x6b5011=_getStripePattern(_0xa68a75,_0x54a52c,_0xf9269c);break;case _0x504043(0x221):_0x6b5011=_getCheckerBoardPattern(_0xa68a75,_0x54a52c,_0xf9269c);break;default:_0x6b5011=_0x504043(0x226);break;}for(var _0x34ea19=0x0,_0x1c6702=_0xd9623e[_0x504043(0x207)];_0x34ea19<_0x1c6702;_0x34ea19++){var _0x33e161=_0xd9623e[_0x34ea19];_0x34ea19===0x0?_0xa68a75[_0x504043(0x201)](_0x33e161[0x0]-_0x54a52c[0x0],_0x33e161[0x1]-_0x54a52c[0x1]):_0xa68a75[_0x504043(0x216)](_0x33e161[0x0]-_0x54a52c[0x0],_0x33e161[0x1]-_0x54a52c[0x1]);}_0xa68a75[_0x504043(0x1f3)](),_0xa68a75['fillStyle']='rgba(0,0,0,0.01)',_0xa68a75[_0x504043(0x1f5)](),_0xa68a75['fillStyle']=_0x6b5011,_0xa68a75[_0x504043(0x1f5)](),_0xf9269c[_0x504043(0x1fb)]?(_0xa68a75[_0x504043(0x1f1)]=getColor(_0xf9269c[_0x504043(0x20b)],_0xf9269c[_0x504043(0x211)]),_0xa68a75[_0x504043(0x215)]=_0xf9269c[_0x504043(0x21e)]):_0xa68a75[_0x504043(0x1f1)]=_0x504043(0x1eb),_0xa68a75[_0x504043(0x1f9)](),_0xa68a75[_0x504043(0x21c)]();}}catch(_0x3b4bd7){_0xa68a75[_0x504043(0x21c)](),console[_0x504043(0x220)](_0x3b4bd7);}}function _getImagePattern(_0x371ac4,_0x2331b5,_0x2a0daf,_0x399fdf){var _0x2ed9a1=a76_0x3ffc;if(!_0x399fdf||_0x399fdf['width']===0x0){let _0x259d8e=new Image();_0x259d8e[_0x2ed9a1(0x20a)]=_0x2a0daf['image'];}var _0x1db34f=getSize(_0x2331b5);const _0xdc9a76=document[_0x2ed9a1(0x224)](_0x2ed9a1(0x217)),_0x1a346c=_0xdc9a76['getContext']('2d');return _0xdc9a76[_0x2ed9a1(0x21a)]=Math[_0x2ed9a1(0x203)](_0x1db34f[0x0]/_0x2a0daf['repeatX'],0x1),_0xdc9a76[_0x2ed9a1(0x206)]=Math[_0x2ed9a1(0x203)](_0x1db34f[0x1]/_0x2a0daf['repeatY'],0x1),_0x1a346c&&(_0x1a346c['globalAlpha']=_0x2a0daf[_0x2ed9a1(0x222)],_0x1a346c[_0x2ed9a1(0x214)](_0x399fdf,0x0,0x0,_0xdc9a76[_0x2ed9a1(0x21a)],_0xdc9a76[_0x2ed9a1(0x206)])),_0x371ac4['createPattern'](_0xdc9a76,'repeat');}function _getGridPattern(_0x492ce3,_0x211a8a,_0x290853){var _0x3f320=a76_0x3ffc,_0x560f9f=getSize(_0x211a8a);const _0x1104b5=document['createElement'](_0x3f320(0x217)),_0x27d60b=_0x1104b5[_0x3f320(0x1fa)]('2d');return _0x1104b5[_0x3f320(0x21a)]=Math[_0x3f320(0x203)](_0x560f9f[0x0]/_0x290853['grid_lineCount'],0x1),_0x1104b5['height']=Math[_0x3f320(0x203)](_0x560f9f[0x1]/_0x290853[_0x3f320(0x1ed)],0x1),_0x27d60b&&(_0x27d60b[_0x3f320(0x1f1)]=getColor(_0x290853[_0x3f320(0x1ea)],_0x290853[_0x3f320(0x222)]),_0x27d60b['lineWidth']=_0x290853[_0x3f320(0x212)]*0x4,_0x27d60b['beginPath'](),_0x27d60b['moveTo'](0x0,_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x216)](_0x1104b5['width'],_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x201)](_0x1104b5[_0x3f320(0x21a)],0x0),_0x27d60b[_0x3f320(0x216)](_0x1104b5[_0x3f320(0x21a)],_0x1104b5[_0x3f320(0x206)]),_0x27d60b[_0x3f320(0x1f9)]()),_0x492ce3[_0x3f320(0x1fc)](_0x1104b5,_0x3f320(0x200));}function _getStripePattern(_0x76f7ef,_0x457a90,_0x3448b7){var _0x814cff=a76_0x3ffc,_0x29a8f9=getSize(_0x457a90);const _0xac0904=document[_0x814cff(0x224)](_0x814cff(0x217)),_0x21d4a6=_0xac0904[_0x814cff(0x1fa)]('2d');let _0x4b93f4=Math[_0x814cff(0x203)](_0x29a8f9[0x1]/_0x3448b7[_0x814cff(0x210)],0x1);return _0xac0904['width']=_0x29a8f9[0x0],_0xac0904[_0x814cff(0x206)]=_0x4b93f4*0x2,_0x21d4a6&&(_0x21d4a6['beginPath'](),_0x21d4a6[_0x814cff(0x201)](0x0,0x0),_0x21d4a6[_0x814cff(0x216)](_0xac0904['width'],0x0),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](0x0,_0x4b93f4),_0x21d4a6['closePath'](),_0x21d4a6[_0x814cff(0x229)]=getColor(_0x3448b7[_0x814cff(0x208)],_0x3448b7['opacity']),_0x21d4a6[_0x814cff(0x1f5)](),_0x21d4a6[_0x814cff(0x1f0)](),_0x21d4a6[_0x814cff(0x201)](0x0,_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4),_0x21d4a6[_0x814cff(0x216)](_0xac0904[_0x814cff(0x21a)],_0x4b93f4*0x2),_0x21d4a6[_0x814cff(0x216)](0x0,_0x4b93f4*0x2),_0x21d4a6[_0x814cff(0x1f3)](),_0x21d4a6[_0x814cff(0x229)]=getColor(_0x3448b7[_0x814cff(0x1ea)],_0x3448b7[_0x814cff(0x222)]),_0x21d4a6['fill']()),_0x76f7ef[_0x814cff(0x1fc)](_0xac0904,_0x814cff(0x200));}function _getCheckerBoardPattern(_0x58a21a,_0x10d347,_0x15c04d){var _0x58233a=a76_0x3ffc,_0x22ee4b=getSize(_0x10d347);const _0x54ed0e=document[_0x58233a(0x224)](_0x58233a(0x217)),_0x29b1a2=_0x54ed0e[_0x58233a(0x1fa)]('2d');let _0x3b0e00=Math[_0x58233a(0x203)](_0x22ee4b[0x0]/_0x15c04d['checkerboard_repeat'],0x1),_0x3ebb97=Math['max'](_0x22ee4b[0x1]/_0x15c04d[_0x58233a(0x1f7)],0x1);return _0x54ed0e[_0x58233a(0x21a)]=_0x3b0e00*0x2,_0x54ed0e[_0x58233a(0x206)]=_0x3ebb97*0x2,_0x29b1a2&&(_0x29b1a2['beginPath'](),_0x29b1a2['moveTo'](0x0,0x0),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,0x0),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](0x0,_0x3ebb97),_0x29b1a2['closePath'](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d['oddColor'],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2[_0x58233a(0x1f5)](),_0x29b1a2[_0x58233a(0x1f0)](),_0x29b1a2[_0x58233a(0x201)](_0x3b0e00,0x0),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],0x0),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x1f3)](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d['color'],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2[_0x58233a(0x1f5)](),_0x29b1a2[_0x58233a(0x1f0)](),_0x29b1a2[_0x58233a(0x201)](0x0,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x3b0e00,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2[_0x58233a(0x216)](0x0,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2['closePath'](),_0x29b1a2[_0x58233a(0x229)]=getColor(_0x15c04d[_0x58233a(0x1ea)],_0x15c04d[_0x58233a(0x222)]),_0x29b1a2['fill'](),_0x29b1a2['beginPath'](),_0x29b1a2[_0x58233a(0x201)](_0x3b0e00,_0x3ebb97),_0x29b1a2['lineTo'](_0x54ed0e[_0x58233a(0x21a)],_0x3ebb97),_0x29b1a2[_0x58233a(0x216)](_0x54ed0e[_0x58233a(0x21a)],_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2['lineTo'](_0x3b0e00,_0x54ed0e[_0x58233a(0x206)]),_0x29b1a2[_0x58233a(0x1f3)](),_0x29b1a2['fillStyle']=getColor(_0x15c04d[_0x58233a(0x20c)],_0x15c04d['opacity']),_0x29b1a2['fill']()),_0x58a21a['createPattern'](_0x54ed0e,_0x58233a(0x200));}function a76_0x1964(){var _0x1ed833=['lineTo','canvas','billboard','setStroke','width','3460wofgZN','restore','1719752pWvfoW','outlineWidth','6998rdZESc','warn','checkerboard','opacity','verticalOrigin','createElement','21258666ZWUTuz','rgba(0,0,0,0.01)','zIndex','grid','fillStyle','color','rgba(0,0,0,0.0)','60zsQJbt','grid_lineCount','118CwsZis','context','beginPath','strokeStyle','setRenderer','closePath','stripe','fill','18264dPCEkd','checkerboard_repeat','save','stroke','getContext','outline','createPattern','fillType','image','10494iQUllJ','repeat','moveTo','setZIndex','max','setText','CENTER','height','length','stripe_oddcolor','1481940xVOwwW','src','outlineColor','oddColor','setFill','105390cIZzzE','rgba(0,0,0,0)','stripe_repeat','outlineOpacity','grid_lineThickness','28oVJOeH','drawImage','lineWidth'];a76_0x1964=function(){return _0x1ed833;};return a76_0x1964();}
@@ -1 +1 @@
1
- (function(_0xe4fd08,_0x2c2d89){const _0x4d9ea9=a77_0x4eb1,_0x308941=_0xe4fd08();while(!![]){try{const _0x4536b6=-parseInt(_0x4d9ea9(0x7f))/0x1+-parseInt(_0x4d9ea9(0x89))/0x2*(parseInt(_0x4d9ea9(0x87))/0x3)+parseInt(_0x4d9ea9(0x96))/0x4+parseInt(_0x4d9ea9(0x8e))/0x5+-parseInt(_0x4d9ea9(0x99))/0x6*(parseInt(_0x4d9ea9(0x7b))/0x7)+-parseInt(_0x4d9ea9(0x7c))/0x8+parseInt(_0x4d9ea9(0x8d))/0x9;if(_0x4536b6===_0x2c2d89)break;else _0x308941['push'](_0x308941['shift']());}catch(_0x31aa72){_0x308941['push'](_0x308941['shift']());}}}(a77_0x4db6,0xb2e2b));function a77_0x4db6(){const _0x550506=['billboard','push','save','butt','zIndex','sin','opacity','3908456ZQjXoc','stroke','getFirstCoordinate','90618GqSYZc','getCoordinates','getFlatMidpoint','label','show','outlineWidth','lineCap','glowPower','outlineColor','strokeStyle','cos','concat','outline','restore','width','getType','sqrt','lineWidth','pow','moveTo','length','beginPath','MultiLineString','287yjpxRr','7023464XUTEJg','setRenderer','color','1374249wKSKVi','setGeometry','outlineOpacity','closed','lineTo','lineType','getFlatMidpoints','LineString','1243371fFRGLI','dash','6WekhPE','context','toString','white','33536367EepdXK','720570zkDfZg'];a77_0x4db6=function(){return _0x550506;};return a77_0x4db6();}function a77_0x4eb1(_0x2e1df4,_0x2c516c){const _0x4db67c=a77_0x4db6();return a77_0x4eb1=function(_0x4eb1e2,_0x595999){_0x4eb1e2=_0x4eb1e2-0x73;let _0x46967d=_0x4db67c[_0x4eb1e2];return _0x46967d;},a77_0x4eb1(_0x2e1df4,_0x2c516c);}import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x343b5c,_0x53c6b7,_0x108225,_0x13947d){const _0xef1e7d=a77_0x4eb1;var _0xaf8ab,_0x152a4a,_0x4fc29c;let _0x310e63=(_0xaf8ab=_0x343b5c[_0xef1e7d(0x93)])!==null&&_0xaf8ab!==void 0x0?_0xaf8ab:0x0;const _0x25e411=_0x4d4004=>{var _0x4e3455=_0x4d4004['getGeometry']();if(_0x4e3455)return _getRealPolyline(_0x4e3455,_0x343b5c);return _0x4e3455;},_0x2e8d1c=_0x1f8f9f=>{const _0x50a29f=_0xef1e7d;var _0x44e806=_0x1f8f9f['getGeometry']();let _0x53eb47=_0x44e806;_0x44e806&&(_0x53eb47=_getRealPolyline(_0x44e806,_0x343b5c));if(_0x53eb47&&_0x53eb47[_0x50a29f(0x73)]()===_0x50a29f(0x86))return new Point(_0x53eb47[_0x50a29f(0x9b)]());else{let _0x38ace0=_0x53eb47[_0x50a29f(0x85)](),_0x33b671=0x2,_0x43d946=[];for(let _0x2ca4a8=0x0,_0x1345c8=_0x38ace0[_0x50a29f(0x78)];_0x2ca4a8<_0x1345c8;_0x2ca4a8+=_0x33b671){let _0x5b7f92=[_0x38ace0[_0x2ca4a8],_0x38ace0[_0x2ca4a8+0x1]];_0x43d946[_0x50a29f(0x90)](_0x5b7f92);}return new MultiPoint(_0x43d946);}};let _0x11bff8=new Style({'geometry':_0x25e411,'stroke':new Stroke({'color':getColor(_0x343b5c['outlineColor'],_0x343b5c[_0xef1e7d(0x81)]),'width':_0x343b5c['outlineWidth']}),'zIndex':_0x310e63}),_0x4ccbfa=[_0x11bff8];if(_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0x88)){let _0x13df5b=_0x343b5c['outlineWidth']/0x2,_0x41758c=new Style({'geometry':_0x25e411,'zIndex':_0x310e63,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0x7e)],_0x343b5c['opacity']),'width':_0x343b5c[_0xef1e7d(0xa7)],'lineCap':'butt','lineDash':[_0x13df5b,_0x13df5b]})}),_0x5bb745=new Style({'geometry':_0x25e411,'zIndex':_0x310e63+0.5,'stroke':new Stroke({'color':getColor(_0x343b5c[_0xef1e7d(0xa1)],Number((_0x4fc29c=(_0x152a4a=_0x343b5c[_0xef1e7d(0x81)])!==null&&_0x152a4a!==void 0x0?_0x152a4a:_0x343b5c['opacity'])!==null&&_0x4fc29c!==void 0x0?_0x4fc29c:0x1)),'width':_0x343b5c['width'],'lineCap':_0xef1e7d(0x92),'lineDash':[_0x13df5b,_0x13df5b],'lineDashOffset':_0x13df5b})});_0x4ccbfa=[_0x41758c,_0x5bb745];}_0x343b5c[_0xef1e7d(0x84)]==='arrow'&&_0x11bff8[_0xef1e7d(0x7d)]((_0x212bf9,_0xbfe2c2)=>{const _0xc50882=_0xef1e7d;let _0x407af1=_0xbfe2c2['context'],_0x462b9e=parseInt((_0x343b5c['width']/0x4)[_0xc50882(0x8b)]()),_0x3d8f4e=0xa,_0x2aefe7=Math[_0xc50882(0x74)](Math['pow'](_0x3d8f4e,0x2)+Math[_0xc50882(0x76)](_0x343b5c[_0xc50882(0xa7)]/0x2,0x2)),_0x2c200f=0x2d,_0x5519f1=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x0],_0x439a8c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x2][0x1],_0x2fd67f=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x0],_0x4c4c3c=_0x212bf9[_0x212bf9[_0xc50882(0x78)]-0x1][0x1],_0x17cc49=Math['atan2'](_0x439a8c-_0x4c4c3c,_0x5519f1-_0x2fd67f)*0xb4/Math['PI'],_0x53aa7b=(_0x17cc49+_0x2c200f)*Math['PI']/0xb4,_0x1964d1=(_0x17cc49-_0x2c200f)*Math['PI']/0xb4,_0x5be4b4=_0x2aefe7*Math['cos'](_0x53aa7b),_0x490f3e=_0x2aefe7*Math[_0xc50882(0x94)](_0x53aa7b),_0xf54240=_0x2aefe7*Math[_0xc50882(0xa3)](_0x1964d1),_0x573452=_0x2aefe7*Math[_0xc50882(0x94)](_0x1964d1);_0x407af1[_0xc50882(0x91)](),_0x407af1[_0xc50882(0x79)]();let _0x4123dc,_0x428304;for(let _0x21736a=0x0;_0x21736a<_0x212bf9[_0xc50882(0x78)];_0x21736a++){_0x21736a===0x0?_0x407af1['moveTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]):_0x407af1['lineTo'](_0x212bf9[_0x21736a][0x0],_0x212bf9[_0x21736a][0x1]);}_0x407af1[_0xc50882(0xa2)]=getColor(_0x343b5c[_0xc50882(0x7e)],_0x343b5c[_0xc50882(0x95)]),_0x407af1['lineWidth']=_0x462b9e,_0x407af1[_0xc50882(0x9f)]=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x4123dc=_0x2fd67f+_0x5be4b4,_0x428304=_0x4c4c3c+_0x490f3e,_0x407af1[_0xc50882(0x77)](_0x4123dc,_0x428304),_0x407af1[_0xc50882(0x83)](_0x2fd67f,_0x4c4c3c),_0x4123dc=_0x2fd67f+_0xf54240,_0x428304=_0x4c4c3c+_0x573452,_0x407af1[_0xc50882(0x83)](_0x4123dc,_0x428304),_0x407af1['lineCap']=_0xc50882(0x92),_0x407af1[_0xc50882(0x97)](),_0x407af1[_0xc50882(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]==='glow'&&_0x11bff8['setRenderer']((_0x2a45b,_0x18118e)=>{const _0x293fd8=_0xef1e7d;let _0x4d8e62=_0x18118e[_0x293fd8(0x8a)];_0x4d8e62[_0x293fd8(0x91)]();for(let _0x39a358=0x0;_0x39a358<0x4;_0x39a358++){let _0x962aad=_0x343b5c['width']/0xa*(_0x343b5c[_0x293fd8(0xa0)]===0x0?0x1:_0x343b5c[_0x293fd8(0xa0)]);_0x4d8e62['shadowColor']=getColor(_0x343b5c[_0x293fd8(0x7e)],_0x343b5c['opacity']),_0x4d8e62['shadowBlur']=_0x343b5c['width']/0x5*0x2,_0x4d8e62['beginPath']();for(let _0x4df23f=0x0;_0x4df23f<_0x2a45b[_0x293fd8(0x78)];_0x4df23f++){_0x4df23f===0x0?_0x4d8e62[_0x293fd8(0x77)](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]):_0x4d8e62['lineTo'](_0x2a45b[_0x4df23f][0x0],_0x2a45b[_0x4df23f][0x1]);}_0x4d8e62[_0x293fd8(0x9f)]=_0x293fd8(0x92),_0x4d8e62[_0x293fd8(0x75)]=_0x962aad,_0x4d8e62[_0x293fd8(0xa2)]=getColor(_0x293fd8(0x8c),_0x343b5c[_0x293fd8(0x95)]),_0x4d8e62[_0x293fd8(0x97)]();}_0x4d8e62[_0x293fd8(0xa6)]();});_0x343b5c[_0xef1e7d(0x84)]===_0xef1e7d(0xa5)&&_0x11bff8[_0xef1e7d(0x7d)]((_0x53b727,_0x29800e)=>{const _0x454221=_0xef1e7d;let _0x5adc50=_0x29800e[_0x454221(0x8a)];_0x5adc50[_0x454221(0x91)](),_0x5adc50[_0x454221(0x79)]();for(let _0x3412ba=0x0;_0x3412ba<_0x53b727[_0x454221(0x78)];_0x3412ba++){_0x3412ba===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]):_0x5adc50[_0x454221(0x83)](_0x53b727[_0x3412ba][0x0],_0x53b727[_0x3412ba][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x5adc50[_0x454221(0x75)]=_0x343b5c['width'],_0x5adc50['strokeStyle']=getColor(_0x343b5c[_0x454221(0xa1)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50[_0x454221(0x79)]();for(let _0x480b2d=0x0;_0x480b2d<_0x53b727[_0x454221(0x78)];_0x480b2d++){_0x480b2d===0x0?_0x5adc50[_0x454221(0x77)](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]):_0x5adc50['lineTo'](_0x53b727[_0x480b2d][0x0],_0x53b727[_0x480b2d][0x1]);}_0x5adc50[_0x454221(0x9f)]=_0x454221(0x92),_0x343b5c['outlineWidth']>=_0x343b5c[_0x454221(0xa7)]&&(_0x343b5c[_0x454221(0x9e)]=_0x343b5c[_0x454221(0xa7)]-0x1),_0x5adc50['lineWidth']=_0x343b5c[_0x454221(0xa7)]-_0x343b5c[_0x454221(0x9e)],_0x5adc50[_0x454221(0xa2)]=getColor(_0x343b5c[_0x454221(0x7e)],_0x343b5c[_0x454221(0x95)]),_0x5adc50[_0x454221(0x97)](),_0x5adc50['restore']();});let _0x3d1dcd=getImageOlStyle(_0x343b5c[_0xef1e7d(0x8f)],_0x310e63,_0x108225,_0x13947d);_0x3d1dcd&&(_0x3d1dcd[_0xef1e7d(0x80)](_0x2e8d1c),_0x4ccbfa[_0xef1e7d(0x90)](_0x3d1dcd));if(_0x343b5c[_0xef1e7d(0x9c)]&&_0x343b5c[_0xef1e7d(0x9c)][_0xef1e7d(0x9d)]!==![]){let _0x3a5c18=new Style({'geometry':_0x2e8d1c,'text':createTextStyle(_0x343b5c[_0xef1e7d(0x9c)],_0x53c6b7,_0x108225,_0x13947d),'zIndex':Number(_0x310e63)+0x1});_0x4ccbfa[_0xef1e7d(0x90)](_0x3a5c18);}return _0x4ccbfa;}function _getRealPolyline(_0xe9fdad,_0x11eb5e){const _0x5a3a15=a77_0x4eb1;if(!(_0x11eb5e===null||_0x11eb5e===void 0x0?void 0x0:_0x11eb5e[_0x5a3a15(0x82)]))return _0xe9fdad;else{if(_0xe9fdad[_0x5a3a15(0x73)]()===_0x5a3a15(0x7a)){let _0xd0f92=_0xe9fdad[_0x5a3a15(0x9a)]();for(let _0x589649 in _0xd0f92){let _0x1c9063=_0xd0f92[_0x589649];_0xd0f92[_0x589649]=_0x1c9063['concat']([_0x1c9063[0x0]]);}return new MultiLineString(_0xd0f92);}else return new LineString(_0xe9fdad[_0x5a3a15(0x9a)]()[_0x5a3a15(0xa4)]([_0xe9fdad[_0x5a3a15(0x98)]()]));}}
1
+ (function(_0x5be4b8,_0x5e5681){const _0x243c11=a77_0x27b7,_0x29460d=_0x5be4b8();while(!![]){try{const _0xc3a0c9=parseInt(_0x243c11(0xe6))/0x1*(parseInt(_0x243c11(0x100))/0x2)+parseInt(_0x243c11(0xf6))/0x3+-parseInt(_0x243c11(0xfa))/0x4+-parseInt(_0x243c11(0x104))/0x5+parseInt(_0x243c11(0xf9))/0x6*(-parseInt(_0x243c11(0xd4))/0x7)+-parseInt(_0x243c11(0x101))/0x8+parseInt(_0x243c11(0xdf))/0x9;if(_0xc3a0c9===_0x5e5681)break;else _0x29460d['push'](_0x29460d['shift']());}catch(_0x3dde7b){_0x29460d['push'](_0x29460d['shift']());}}}(a77_0x569c,0xdde0f));import{createTextStyle,getColor}from'./common';import{Stroke,Style}from'ol/style';import{getImageOlStyle}from'./PointStyleFormat';import{LineString,Point,MultiLineString,MultiPoint}from'ol/geom';export function getPolylineStyle(_0x3134c0,_0x5aecf8,_0x411178,_0x18998c){const _0x59f6a9=a77_0x27b7;var _0x7c28e8,_0x21f202,_0x7df3d9;let _0x3bacf1=(_0x7c28e8=_0x3134c0[_0x59f6a9(0xfe)])!==null&&_0x7c28e8!==void 0x0?_0x7c28e8:0x0;const _0x22c95c=_0x367756=>{const _0x109cfc=_0x59f6a9;var _0x47e29c=_0x367756[_0x109cfc(0xed)]();if(_0x47e29c)return _getRealPolyline(_0x47e29c,_0x3134c0);return _0x47e29c;},_0x5a3602=_0xe8c28c=>{const _0x522898=_0x59f6a9;var _0x3203b3=_0xe8c28c[_0x522898(0xed)]();let _0x8c34d5=_0x3203b3;_0x3203b3&&(_0x8c34d5=_getRealPolyline(_0x3203b3,_0x3134c0));if(_0x8c34d5&&_0x8c34d5[_0x522898(0xe4)]()==='LineString')return new Point(_0x8c34d5['getFlatMidpoint']());else{let _0x383a85=_0x8c34d5[_0x522898(0xef)](),_0x312adf=0x2,_0x124a40=[];for(let _0x3d6c5b=0x0,_0x3080c6=_0x383a85[_0x522898(0xdd)];_0x3d6c5b<_0x3080c6;_0x3d6c5b+=_0x312adf){let _0x37fee5=[_0x383a85[_0x3d6c5b],_0x383a85[_0x3d6c5b+0x1]];_0x124a40[_0x522898(0xd6)](_0x37fee5);}return new MultiPoint(_0x124a40);}};let _0x513af4=new Style({'geometry':_0x22c95c,'stroke':new Stroke({'color':getColor(_0x3134c0[_0x59f6a9(0xf8)],_0x3134c0[_0x59f6a9(0x102)]),'width':_0x3134c0[_0x59f6a9(0xd2)]}),'zIndex':_0x3bacf1}),_0x3ba1f9=[_0x513af4];if(_0x3134c0['lineType']==='dash'){let _0xb710d3=_0x3134c0[_0x59f6a9(0xd2)]/0x2,_0x51e997=new Style({'geometry':_0x22c95c,'zIndex':_0x3bacf1,'stroke':new Stroke({'color':getColor(_0x3134c0['color'],_0x3134c0[_0x59f6a9(0xfc)]),'width':_0x3134c0[_0x59f6a9(0xf2)],'lineCap':_0x59f6a9(0xd5),'lineDash':[_0xb710d3,_0xb710d3]})}),_0x27798a=new Style({'geometry':_0x22c95c,'zIndex':_0x3bacf1+0.5,'stroke':new Stroke({'color':getColor(_0x3134c0[_0x59f6a9(0xf8)],Number((_0x7df3d9=(_0x21f202=_0x3134c0[_0x59f6a9(0x102)])!==null&&_0x21f202!==void 0x0?_0x21f202:_0x3134c0[_0x59f6a9(0xfc)])!==null&&_0x7df3d9!==void 0x0?_0x7df3d9:0x1)),'width':_0x3134c0['width'],'lineCap':_0x59f6a9(0xd5),'lineDash':[_0xb710d3,_0xb710d3],'lineDashOffset':_0xb710d3})});_0x3ba1f9=[_0x51e997,_0x27798a];}_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0xe3)&&_0x513af4[_0x59f6a9(0xd9)]((_0x24de85,_0x25adbb)=>{const _0x2e2557=_0x59f6a9;let _0x29913f=_0x25adbb[_0x2e2557(0xff)],_0x4c11ee=parseInt((_0x3134c0['width']/0x4)['toString']()),_0x5b4694=0xa,_0x1d3415=Math[_0x2e2557(0xe0)](Math[_0x2e2557(0xf7)](_0x5b4694,0x2)+Math[_0x2e2557(0xf7)](_0x3134c0[_0x2e2557(0xf2)]/0x2,0x2)),_0x6289a2=0x2d,_0x37ed29=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x2][0x0],_0x268562=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x2][0x1],_0x2043d1=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x1][0x0],_0x4b77d6=_0x24de85[_0x24de85[_0x2e2557(0xdd)]-0x1][0x1],_0x1358b7=Math[_0x2e2557(0xe2)](_0x268562-_0x4b77d6,_0x37ed29-_0x2043d1)*0xb4/Math['PI'],_0x31c0cb=(_0x1358b7+_0x6289a2)*Math['PI']/0xb4,_0x23cffc=(_0x1358b7-_0x6289a2)*Math['PI']/0xb4,_0x1cffe9=_0x1d3415*Math['cos'](_0x31c0cb),_0x2b711b=_0x1d3415*Math[_0x2e2557(0xf1)](_0x31c0cb),_0x39a015=_0x1d3415*Math['cos'](_0x23cffc),_0x2682e4=_0x1d3415*Math[_0x2e2557(0xf1)](_0x23cffc);_0x29913f['save'](),_0x29913f[_0x2e2557(0xe8)]();let _0x4fdff5,_0x3e719c;for(let _0x5c995d=0x0;_0x5c995d<_0x24de85[_0x2e2557(0xdd)];_0x5c995d++){_0x5c995d===0x0?_0x29913f['moveTo'](_0x24de85[_0x5c995d][0x0],_0x24de85[_0x5c995d][0x1]):_0x29913f['lineTo'](_0x24de85[_0x5c995d][0x0],_0x24de85[_0x5c995d][0x1]);}_0x29913f[_0x2e2557(0xf5)]=getColor(_0x3134c0[_0x2e2557(0xe5)],_0x3134c0[_0x2e2557(0xfc)]),_0x29913f[_0x2e2557(0xde)]=_0x4c11ee,_0x29913f[_0x2e2557(0xee)]=_0x2e2557(0xd5),_0x29913f[_0x2e2557(0xea)](),_0x4fdff5=_0x2043d1+_0x1cffe9,_0x3e719c=_0x4b77d6+_0x2b711b,_0x29913f[_0x2e2557(0xd7)](_0x4fdff5,_0x3e719c),_0x29913f['lineTo'](_0x2043d1,_0x4b77d6),_0x4fdff5=_0x2043d1+_0x39a015,_0x3e719c=_0x4b77d6+_0x2682e4,_0x29913f['lineTo'](_0x4fdff5,_0x3e719c),_0x29913f[_0x2e2557(0xee)]=_0x2e2557(0xd5),_0x29913f['stroke'](),_0x29913f['restore']();});_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0x105)&&_0x513af4[_0x59f6a9(0xd9)]((_0x37736f,_0x2f907d)=>{const _0x402ea5=_0x59f6a9;let _0x221383=_0x2f907d[_0x402ea5(0xff)];_0x221383[_0x402ea5(0x103)]();for(let _0x1ba822=0x0;_0x1ba822<0x4;_0x1ba822++){let _0x5bda9e=_0x3134c0[_0x402ea5(0xf2)]/0xa*(_0x3134c0[_0x402ea5(0xe7)]===0x0?0x1:_0x3134c0[_0x402ea5(0xe7)]);_0x221383[_0x402ea5(0xfd)]=getColor(_0x3134c0[_0x402ea5(0xe5)],_0x3134c0[_0x402ea5(0xfc)]),_0x221383[_0x402ea5(0xe1)]=_0x3134c0[_0x402ea5(0xf2)]/0x5*0x2,_0x221383[_0x402ea5(0xe8)]();for(let _0x5d08d1=0x0;_0x5d08d1<_0x37736f[_0x402ea5(0xdd)];_0x5d08d1++){_0x5d08d1===0x0?_0x221383[_0x402ea5(0xd7)](_0x37736f[_0x5d08d1][0x0],_0x37736f[_0x5d08d1][0x1]):_0x221383[_0x402ea5(0xdb)](_0x37736f[_0x5d08d1][0x0],_0x37736f[_0x5d08d1][0x1]);}_0x221383['lineCap']=_0x402ea5(0xd5),_0x221383[_0x402ea5(0xde)]=_0x5bda9e,_0x221383[_0x402ea5(0xf5)]=getColor(_0x402ea5(0xec),_0x3134c0[_0x402ea5(0xfc)]),_0x221383[_0x402ea5(0xea)]();}_0x221383[_0x402ea5(0xfb)]();});_0x3134c0[_0x59f6a9(0xd3)]===_0x59f6a9(0xeb)&&_0x513af4[_0x59f6a9(0xd9)]((_0x167918,_0x1c805f)=>{const _0x2f2f3e=_0x59f6a9;let _0x2a9035=_0x1c805f[_0x2f2f3e(0xff)];_0x2a9035['save'](),_0x2a9035['beginPath']();for(let _0xd2b4c3=0x0;_0xd2b4c3<_0x167918[_0x2f2f3e(0xdd)];_0xd2b4c3++){_0xd2b4c3===0x0?_0x2a9035[_0x2f2f3e(0xd7)](_0x167918[_0xd2b4c3][0x0],_0x167918[_0xd2b4c3][0x1]):_0x2a9035[_0x2f2f3e(0xdb)](_0x167918[_0xd2b4c3][0x0],_0x167918[_0xd2b4c3][0x1]);}_0x2a9035[_0x2f2f3e(0xee)]=_0x2f2f3e(0xd5),_0x2a9035[_0x2f2f3e(0xde)]=_0x3134c0['width'],_0x2a9035[_0x2f2f3e(0xf5)]=getColor(_0x3134c0[_0x2f2f3e(0xf8)],_0x3134c0['opacity']),_0x2a9035[_0x2f2f3e(0xea)](),_0x2a9035[_0x2f2f3e(0xe8)]();for(let _0x5ae2c3=0x0;_0x5ae2c3<_0x167918[_0x2f2f3e(0xdd)];_0x5ae2c3++){_0x5ae2c3===0x0?_0x2a9035['moveTo'](_0x167918[_0x5ae2c3][0x0],_0x167918[_0x5ae2c3][0x1]):_0x2a9035[_0x2f2f3e(0xdb)](_0x167918[_0x5ae2c3][0x0],_0x167918[_0x5ae2c3][0x1]);}_0x2a9035[_0x2f2f3e(0xee)]=_0x2f2f3e(0xd5),_0x3134c0[_0x2f2f3e(0xd2)]>=_0x3134c0[_0x2f2f3e(0xf2)]&&(_0x3134c0[_0x2f2f3e(0xd2)]=_0x3134c0['width']-0x1),_0x2a9035[_0x2f2f3e(0xde)]=_0x3134c0['width']-_0x3134c0[_0x2f2f3e(0xd2)],_0x2a9035[_0x2f2f3e(0xf5)]=getColor(_0x3134c0[_0x2f2f3e(0xe5)],_0x3134c0[_0x2f2f3e(0xfc)]),_0x2a9035[_0x2f2f3e(0xea)](),_0x2a9035[_0x2f2f3e(0xfb)]();});let _0x94d84f=getImageOlStyle(_0x3134c0[_0x59f6a9(0xf3)],_0x3bacf1,_0x411178,_0x18998c);_0x94d84f&&(_0x94d84f[_0x59f6a9(0xdc)](_0x5a3602),_0x3ba1f9['push'](_0x94d84f));if(_0x3134c0[_0x59f6a9(0xe9)]&&_0x3134c0[_0x59f6a9(0xe9)][_0x59f6a9(0xf4)]!==![]){let _0x26dfee=new Style({'geometry':_0x5a3602,'text':createTextStyle(_0x3134c0[_0x59f6a9(0xe9)],_0x5aecf8,_0x411178,_0x18998c),'zIndex':Number(_0x3bacf1)+0x1});_0x3ba1f9[_0x59f6a9(0xd6)](_0x26dfee);}return _0x3ba1f9;}function a77_0x27b7(_0x3ed4da,_0x4b889a){const _0x569c9f=a77_0x569c();return a77_0x27b7=function(_0x27b7e6,_0x424f0b){_0x27b7e6=_0x27b7e6-0xd2;let _0x320e2e=_0x569c9f[_0x27b7e6];return _0x320e2e;},a77_0x27b7(_0x3ed4da,_0x4b889a);}function a77_0x569c(){const _0x4c3c5c=['opacity','shadowColor','zIndex','context','146YuxclV','2001488IqRXPl','outlineOpacity','save','2362730RZUdsC','glow','outlineWidth','lineType','7eBkfVc','butt','push','moveTo','getCoordinates','setRenderer','closed','lineTo','setGeometry','length','lineWidth','9719640WNdxvU','sqrt','shadowBlur','atan2','arrow','getType','color','14843nczEit','glowPower','beginPath','label','stroke','outline','white','getGeometry','lineCap','getFlatMidpoints','concat','sin','width','billboard','show','strokeStyle','2721864mhVEwQ','pow','outlineColor','3552420llZKuX','3388680vRjoND','restore'];a77_0x569c=function(){return _0x4c3c5c;};return a77_0x569c();}function _getRealPolyline(_0x4772bd,_0x171bec){const _0x52c088=a77_0x27b7;if(!(_0x171bec===null||_0x171bec===void 0x0?void 0x0:_0x171bec[_0x52c088(0xda)]))return _0x4772bd;else{if(_0x4772bd['getType']()==='MultiLineString'){let _0x5d14ba=_0x4772bd[_0x52c088(0xd8)]();for(let _0x3a8391 in _0x5d14ba){let _0x206528=_0x5d14ba[_0x3a8391];_0x5d14ba[_0x3a8391]=_0x206528[_0x52c088(0xf0)]([_0x206528[0x0]]);}return new MultiLineString(_0x5d14ba);}else return new LineString(_0x4772bd[_0x52c088(0xd8)]()['concat']([_0x4772bd['getFirstCoordinate']()]));}}
@@ -1 +1 @@
1
- (function(_0x25afce,_0x32c68a){const _0x4cdd7d=a78_0x329c,_0x44143a=_0x25afce();while(!![]){try{const _0x588827=-parseInt(_0x4cdd7d(0x76))/0x1+-parseInt(_0x4cdd7d(0x8f))/0x2*(-parseInt(_0x4cdd7d(0x97))/0x3)+-parseInt(_0x4cdd7d(0x87))/0x4*(parseInt(_0x4cdd7d(0x84))/0x5)+parseInt(_0x4cdd7d(0x94))/0x6*(-parseInt(_0x4cdd7d(0x83))/0x7)+-parseInt(_0x4cdd7d(0x82))/0x8*(-parseInt(_0x4cdd7d(0x96))/0x9)+-parseInt(_0x4cdd7d(0x86))/0xa*(-parseInt(_0x4cdd7d(0x7b))/0xb)+-parseInt(_0x4cdd7d(0x88))/0xc*(-parseInt(_0x4cdd7d(0x91))/0xd);if(_0x588827===_0x32c68a)break;else _0x44143a['push'](_0x44143a['shift']());}catch(_0x5619d1){_0x44143a['push'](_0x44143a['shift']());}}}(a78_0x557a,0xcce92));import a78_0xdd68ce from'ol/style/Circle';function a78_0x557a(){const _0x36c722=['80dbLFnx','224182Stzgxs','7499955DPqvJB','rgba(0,\x20255,0,\x201)','24740faFftw','4LzAgQe','384fNGHdc','color','radius','pointType','Point','circle','imgurl','4Nnzxei','MultiPoint','176488LKgafI','setImage','rgba(0,\x20255,0,\x200)','30IpqlAE','setStroke','1456227shUeUa','1197363nFWmNM','setZIndex','rgba(121,\x20243,\x20238,\x200.3)','1103365cwaJtb','LineString','rotation','text','rgba(121,\x20243,\x20238,\x201)','3344yANnnF','outlineColor','MultiPolygon','MultiLineString','setText','setFill','outlineOpacity'];a78_0x557a=function(){return _0x36c722;};return a78_0x557a();}import a78_0x50b679 from'ol/style/Fill';import a78_0x586de6 from'ol/style/Stroke';import a78_0x192937 from'ol/style/Style';import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x24d6ba=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':_0x24d6ba(0x7a)}),'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x2b530c=a78_0x329c;return new a78_0x192937({'image':new a78_0xdd68ce({'radius':0x5,'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200)'}),'stroke':new a78_0x586de6({'color':_0x2b530c(0x7a),'width':0x1})})});}export function getSelectLineStyle(){return new a78_0x192937({'stroke':new a78_0x586de6({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x2})});}function a78_0x329c(_0x47b070,_0x127d4d){const _0x557a0f=a78_0x557a();return a78_0x329c=function(_0x329c20,_0x4ad4b5){_0x329c20=_0x329c20-0x74;let _0x53260d=_0x557a0f[_0x329c20];return _0x53260d;},a78_0x329c(_0x47b070,_0x127d4d);}export function getSelectCancelLineStyle(){const _0x57ffec=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x57ffec(0x85),'width':0x2})});}export function getSelectPolygonStyle(){const _0x33fd32=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x33fd32(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':'rgba(121,\x20243,\x20238,\x200.3)'})});}export function getSelectCancelPolygonStyle(){const _0x1720f7=a78_0x329c;return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x1720f7(0x85),'width':0x2}),'fill':new a78_0x50b679({'color':_0x1720f7(0x93)})});}export function getStyle(_0x1bcdb7){const _0x408220=a78_0x329c;if(_0x1bcdb7){const _0x11266e=new a78_0x192937();if(_0x1bcdb7[_0x408220(0x79)]){const _0x54e025=createTextStyle(_0x1bcdb7,_0x1bcdb7[_0x408220(0x79)]);_0x54e025&&_0x11266e[_0x408220(0x7f)](_0x54e025),_0x11266e[_0x408220(0x74)](0x1);}return _0x1bcdb7['outlineColor']&&_0x11266e[_0x408220(0x95)](new a78_0x586de6({'color':getColor(_0x1bcdb7[_0x408220(0x7c)],_0x1bcdb7[_0x408220(0x81)]),'width':_0x1bcdb7['outlineWidth']||0x1})),_0x1bcdb7[_0x408220(0x89)]&&_0x11266e[_0x408220(0x80)](new a78_0x50b679({'color':getColor(_0x1bcdb7[_0x408220(0x89)],_0x1bcdb7['opacity'])})),_0x1bcdb7[_0x408220(0x8b)]==_0x408220(0x8d)&&_0x11266e[_0x408220(0x92)](new a78_0xdd68ce({'radius':_0x1bcdb7[_0x408220(0x8a)]||0x5,'fill':new a78_0x50b679({'color':getColor(_0x1bcdb7['color'],_0x1bcdb7['opacity'])})})),(_0x1bcdb7[_0x408220(0x8b)]=='icon'||_0x1bcdb7[_0x408220(0x8e)])&&_0x11266e[_0x408220(0x92)](new Icon({'src':_0x1bcdb7[_0x408220(0x8e)],'anchor':_0x1bcdb7['anchor']||[0.5,0.5],'scale':_0x1bcdb7['scale']||0x1,'rotation':_0x1bcdb7[_0x408220(0x78)]||0x0})),_0x11266e;}return new a78_0x192937({'stroke':new a78_0x586de6({'color':_0x408220(0x7a),'width':0x2}),'fill':new a78_0x50b679({'color':_0x408220(0x75)})});}export function getSelectStyle(_0x32545b){const _0xa51301=a78_0x329c;let _0x3edec8=getSelectPolygonStyle();switch(_0x32545b){case _0xa51301(0x7d):case'Polygon':_0x3edec8=getSelectPolygonStyle();break;case _0xa51301(0x7e):case _0xa51301(0x77):_0x3edec8=getSelectLineStyle();break;case _0xa51301(0x90):case _0xa51301(0x8c):_0x3edec8=getSelectPointStyle();break;default:break;}return _0x3edec8;}
1
+ (function(_0xc3a871,_0x157e09){const _0x479c14=a78_0x5895,_0x4d29b8=_0xc3a871();while(!![]){try{const _0x56cddd=parseInt(_0x479c14(0x186))/0x1+parseInt(_0x479c14(0x16a))/0x2*(-parseInt(_0x479c14(0x173))/0x3)+parseInt(_0x479c14(0x17f))/0x4*(-parseInt(_0x479c14(0x175))/0x5)+parseInt(_0x479c14(0x16d))/0x6+-parseInt(_0x479c14(0x185))/0x7+-parseInt(_0x479c14(0x174))/0x8*(parseInt(_0x479c14(0x168))/0x9)+parseInt(_0x479c14(0x181))/0xa;if(_0x56cddd===_0x157e09)break;else _0x4d29b8['push'](_0x4d29b8['shift']());}catch(_0x158cdf){_0x4d29b8['push'](_0x4d29b8['shift']());}}}(a78_0x15f5,0x6465a));import a78_0x1d9997 from'ol/style/Circle';import a78_0x4dd86d from'ol/style/Fill';import a78_0x5c5f48 from'ol/style/Stroke';import a78_0x42cecd from'ol/style/Style';function a78_0x5895(_0x1dbeac,_0xe96b54){const _0x15f5c8=a78_0x15f5();return a78_0x5895=function(_0x5895bf,_0x5aaffb){_0x5895bf=_0x5895bf-0x164;let _0x1b65a4=_0x15f5c8[_0x5895bf];return _0x1b65a4;},a78_0x5895(_0x1dbeac,_0xe96b54);}import{createTextStyle,getColor}from'./common';import{Icon}from'ol/style';export function getSelectPointStyle(){const _0x550e9e=a78_0x5895;return new a78_0x42cecd({'image':new a78_0x1d9997({'radius':0x5,'fill':new a78_0x4dd86d({'color':_0x550e9e(0x17d)}),'stroke':new a78_0x5c5f48({'color':'rgba(121,\x20243,\x20238,\x201)','width':0x1})})});}export function getSelectCancePointStyle(){const _0x3d9f69=a78_0x5895;return new a78_0x42cecd({'image':new a78_0x1d9997({'radius':0x5,'fill':new a78_0x4dd86d({'color':_0x3d9f69(0x16e)}),'stroke':new a78_0x5c5f48({'color':_0x3d9f69(0x17d),'width':0x1})})});}export function getSelectLineStyle(){const _0x49d8e3=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x49d8e3(0x17d),'width':0x2})});}export function getSelectCancelLineStyle(){const _0x104c20=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x104c20(0x182),'width':0x2})});}export function getSelectPolygonStyle(){const _0xd06518=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0xd06518(0x17d),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0xd06518(0x17a)})});}export function getSelectCancelPolygonStyle(){const _0x3f4cdc=a78_0x5895;return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x3f4cdc(0x182),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0x3f4cdc(0x16c)})});}export function getStyle(_0x128ff5){const _0x2a2b77=a78_0x5895;if(_0x128ff5){const _0x59d775=new a78_0x42cecd();if(_0x128ff5['text']){const _0x3fe529=createTextStyle(_0x128ff5,_0x128ff5[_0x2a2b77(0x167)]);_0x3fe529&&_0x59d775[_0x2a2b77(0x16b)](_0x3fe529),_0x59d775[_0x2a2b77(0x177)](0x1);}return _0x128ff5[_0x2a2b77(0x184)]&&_0x59d775['setStroke'](new a78_0x5c5f48({'color':getColor(_0x128ff5[_0x2a2b77(0x184)],_0x128ff5[_0x2a2b77(0x170)]),'width':_0x128ff5[_0x2a2b77(0x164)]||0x1})),_0x128ff5[_0x2a2b77(0x183)]&&_0x59d775[_0x2a2b77(0x17c)](new a78_0x4dd86d({'color':getColor(_0x128ff5[_0x2a2b77(0x183)],_0x128ff5[_0x2a2b77(0x165)])})),_0x128ff5[_0x2a2b77(0x176)]=='circle'&&_0x59d775[_0x2a2b77(0x166)](new a78_0x1d9997({'radius':_0x128ff5[_0x2a2b77(0x172)]||0x5,'fill':new a78_0x4dd86d({'color':getColor(_0x128ff5['color'],_0x128ff5['opacity'])})})),(_0x128ff5[_0x2a2b77(0x176)]=='icon'||_0x128ff5[_0x2a2b77(0x169)])&&_0x59d775[_0x2a2b77(0x166)](new Icon({'src':_0x128ff5[_0x2a2b77(0x169)],'anchor':_0x128ff5[_0x2a2b77(0x16f)]||[0.5,0.5],'scale':_0x128ff5[_0x2a2b77(0x17e)]||0x1,'rotation':_0x128ff5[_0x2a2b77(0x178)]||0x0})),_0x59d775;}return new a78_0x42cecd({'stroke':new a78_0x5c5f48({'color':_0x2a2b77(0x17d),'width':0x2}),'fill':new a78_0x4dd86d({'color':_0x2a2b77(0x17a)})});}export function getSelectStyle(_0x5d2d3b){const _0x554a55=a78_0x5895;let _0x76f8bf=getSelectPolygonStyle();switch(_0x5d2d3b){case'MultiPolygon':case _0x554a55(0x17b):_0x76f8bf=getSelectPolygonStyle();break;case _0x554a55(0x171):case _0x554a55(0x180):_0x76f8bf=getSelectLineStyle();break;case'MultiPoint':case _0x554a55(0x179):_0x76f8bf=getSelectPointStyle();break;default:break;}return _0x76f8bf;}function a78_0x15f5(){const _0x52efcf=['20464gVNXLJ','295305ZgOzOo','pointType','setZIndex','rotation','Point','rgba(121,\x20243,\x20238,\x200.3)','Polygon','setFill','rgba(121,\x20243,\x20238,\x201)','scale','44BwjDGM','LineString','16013730mLLJZE','rgba(0,\x20255,0,\x201)','color','outlineColor','5609660ypYJgJ','443662CLsRWx','outlineWidth','opacity','setImage','text','558Glgdjx','imgurl','102948RZcNSn','setText','rgba(0,\x20255,0,\x200)','1708092NgXceb','rgba(121,\x20243,\x20238,\x200)','anchor','outlineOpacity','MultiLineString','radius','18LHymyK'];a78_0x15f5=function(){return _0x52efcf;};return a78_0x15f5();}
package/style/common.js CHANGED
@@ -1 +1 @@
1
- (function(_0x48c3ff,_0x25792c){const _0x251616=a74_0x4f72,_0x14dd64=_0x48c3ff();while(!![]){try{const _0x4a3d4f=parseInt(_0x251616(0x143))/0x1*(parseInt(_0x251616(0x144))/0x2)+-parseInt(_0x251616(0x141))/0x3*(parseInt(_0x251616(0x12f))/0x4)+parseInt(_0x251616(0x117))/0x5+-parseInt(_0x251616(0x120))/0x6*(-parseInt(_0x251616(0x138))/0x7)+-parseInt(_0x251616(0x11b))/0x8+-parseInt(_0x251616(0x133))/0x9*(parseInt(_0x251616(0x128))/0xa)+parseInt(_0x251616(0x121))/0xb*(parseInt(_0x251616(0x126))/0xc);if(_0x4a3d4f===_0x25792c)break;else _0x14dd64['push'](_0x14dd64['shift']());}catch(_0x1f5cb1){_0x14dd64['push'](_0x14dd64['shift']());}}}(a74_0x16a6,0xddb4d));import a74_0x2016c3 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x5a168f from'../utils/plug/canvas/PinIcon';import a74_0x173137 from'ol/ImageState';export function isShowStyle(_0x24e70f,_0x2f5fde,_0x27e567){const _0x355eeb=a74_0x4f72;let _0x15280f=!![];if(_0x2f5fde==undefined||_0x27e567==undefined)return _0x15280f;if(_0x24e70f&&typeof _0x24e70f[_0x355eeb(0x12c)]!=undefined&&typeof _0x24e70f['distanceDisplayNear']!=undefined){if(_0x24e70f[_0x355eeb(0x12c)]&&_0x27e567){_0x15280f=![];let _0x23daaf=getLevel(_0x24e70f[_0x355eeb(0x12c)]),_0x144dbb=_0x27e567['getView']()[_0x355eeb(0x123)](_0x23daaf);_0x2f5fde<_0x144dbb&&(_0x15280f=!![]);}if(_0x15280f&&_0x24e70f['distanceDisplayNear']&&_0x27e567){_0x15280f=![];let _0x3c1338=getLevel(_0x24e70f['distanceDisplayNear']),_0x11aed6=_0x27e567['getView']()[_0x355eeb(0x123)](_0x3c1338);_0x2f5fde>_0x11aed6&&(_0x15280f=!![]);}}return _0x15280f;}export function getLevel(_0x188e56){const _0x424cf9=a74_0x4f72,_0x4a6d50=3252.745,_0x18cc4b=0.0009198301,_0x15379a=52977.61,_0x474ade=-3228.107;return _0x474ade+(_0x4a6d50-_0x474ade)/(0x1+Math[_0x424cf9(0x147)](_0x188e56/_0x15379a,_0x18cc4b));}function a74_0x16a6(){const _0x1b3e3b=['offsetX','getImage','6sTGqeh','textBaseline','12quQWYu','213842MgEZkl','bold','listenImageChange','pow','LOADED','alpha','6446880hIrsqF','borderLineWidth','borderLineOpacity','load','12833048ErJpIy','center','getImageState','color','#000000','12YByTtu','12152041HTlzty','haloColor','getResolutionForZoom','normal','haloOpacity','12wYVOEl','italic','11860450RIOfvF','textAlign','weight','ERROR','distanceDisplayFar','borderLineColor','family','1198660QQsGyn','haloWidth','backgroundColor','middle','9aCrxRf','size','backgroundOpacity','#2A2A2A','\x20normal\x20','2171596djUmle','markerColor','font','opacity','offsetY','image','target'];a74_0x16a6=function(){return _0x1b3e3b;};return a74_0x16a6();}function a74_0x4f72(_0x41e000,_0x4d19e1){const _0x16a6f0=a74_0x16a6();return a74_0x4f72=function(_0x4f72d4,_0x59d88f){_0x4f72d4=_0x4f72d4-0x116;let _0x524a1a=_0x16a6f0[_0x4f72d4];return _0x524a1a;},a74_0x4f72(_0x41e000,_0x4d19e1);}export function toRadians(_0x6d0cf0){if(_0x6d0cf0)return-(_0x6d0cf0*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x2fa378,_0x2b42c1,_0x1142d8,_0x40e126){const _0x18a3e3=a74_0x4f72;var _0x1c42fe,_0x210c16,_0x3aac22,_0x3c305c,_0x7661b1,_0x5bb097,_0xdd22da,_0xe28878;if(_0x2fa378){let _0x472e4b=isShowStyle(_0x2fa378,_0x1142d8,_0x40e126);if(_0x472e4b===![])return undefined;else{const _0x422dc9=_0x2fa378[_0x18a3e3(0x13a)],_0xef3e2a=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x127)])?'italic':'normal',_0x1b4d71=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12a)])?_0x18a3e3(0x145):_0x18a3e3(0x124),_0x478c89=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x134)])||'25',_0x5396a5=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x12e)])||'楷体';let _0x3676da=_0xef3e2a+_0x18a3e3(0x137)+_0x1b4d71+'\x20'+_0x478c89+'px\x20'+_0x5396a5,_0x439cfb=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13f)])||0x0,_0x81a323=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x13c)])||0x0,_0x2469c7=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x142)])||_0x18a3e3(0x132),_0x45d3a1=(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x129)])||_0x18a3e3(0x11c);const _0x4a2804=_0x2fa378[_0x18a3e3(0x13b)]||0x1;let _0x21f2ce=undefined;return(_0x422dc9===null||_0x422dc9===void 0x0?void 0x0:_0x422dc9[_0x18a3e3(0x122)])&&(_0x21f2ce=_getStroke(_0x422dc9[_0x18a3e3(0x122)],_0x422dc9[_0x18a3e3(0x125)],_0x422dc9[_0x18a3e3(0x130)])),new Text({'overflow':!![],'text':_0x2b42c1,'font':_0x3676da,'offsetX':_0x439cfb,'offsetY':_0x81a323,'textAlign':_0x45d3a1,'textBaseline':_0x2469c7,'fill':new Fill({'color':getColor(((_0x1c42fe=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x1c42fe===void 0x0?void 0x0:_0x1c42fe[_0x18a3e3(0x11e)])||_0x18a3e3(0x11f),_0x4a2804)}),'stroke':_0x21f2ce,'backgroundFill':((_0x210c16=_0x2fa378['font'])===null||_0x210c16===void 0x0?void 0x0:_0x210c16[_0x18a3e3(0x131)])?new Fill({'color':getColor(((_0x3aac22=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3aac22===void 0x0?void 0x0:_0x3aac22[_0x18a3e3(0x131)])||_0x18a3e3(0x136),((_0x3c305c=_0x2fa378[_0x18a3e3(0x13a)])===null||_0x3c305c===void 0x0?void 0x0:_0x3c305c[_0x18a3e3(0x135)])||0x1)}):undefined,'backgroundStroke':((_0x7661b1=_0x2fa378['font'])===null||_0x7661b1===void 0x0?void 0x0:_0x7661b1[_0x18a3e3(0x12d)])?_getStroke((_0x5bb097=_0x2fa378['font'])===null||_0x5bb097===void 0x0?void 0x0:_0x5bb097[_0x18a3e3(0x12d)],((_0xdd22da=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xdd22da===void 0x0?void 0x0:_0xdd22da[_0x18a3e3(0x119)])||0x1,((_0xe28878=_0x2fa378[_0x18a3e3(0x13a)])===null||_0xe28878===void 0x0?void 0x0:_0xe28878[_0x18a3e3(0x118)])||0x1):undefined});}}else return undefined;}export function getColor(_0x4064c3,_0x4ee0fd){const _0x4d0b6d=a74_0x4f72;return a74_0x2016c3(_0x4064c3)[_0x4d0b6d(0x116)](_0x4ee0fd!=undefined?_0x4ee0fd:0x1)['hexa']();}function _getStroke(_0x52234d,_0x24adb7,_0xd7435c){return new Stroke({'color':getColor(_0x52234d,_0x24adb7),'width':_0xd7435c==undefined?0x1:_0xd7435c});}export function preLoadImageRenderFunction(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x162b3e){const _0x5c672f=a74_0x4f72;let _0x403ae0;_0x2231fa[_0x5c672f(0x139)]?_0x403ae0=new a74_0x5a168f(_0x2231fa):_0x403ae0=new Icon({'src':_0x2231fa[_0x5c672f(0x13d)]});let _0x2ee24f=_0x403ae0[_0x5c672f(0x11d)]();_0x2ee24f===a74_0x173137[_0x5c672f(0x148)]||_0x2ee24f===a74_0x173137[_0x5c672f(0x12b)]?_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x5c672f(0x140)](0x60)):(_0x2ee24f===a74_0x173137['IDLE']&&_0x403ae0[_0x5c672f(0x11a)](),_0x403ae0[_0x5c672f(0x146)](_0x1719c8=>{const _0x296af6=_0x5c672f;_0x2ee24f=_0x1719c8[_0x296af6(0x13e)][_0x296af6(0x11d)](),(_0x2ee24f===a74_0x173137[_0x296af6(0x148)]||_0x2ee24f===a74_0x173137[_0x296af6(0x12b)])&&_0x162b3e(_0x2231fa,_0x3f8309,_0xca81b0,_0x1f2a66,_0x403ae0[_0x296af6(0x140)](0x60));}));}
1
+ (function(_0x160654,_0x296563){const _0x48a3d7=a74_0x1bbd,_0x719ad1=_0x160654();while(!![]){try{const _0x4a348d=parseInt(_0x48a3d7(0x9b))/0x1+-parseInt(_0x48a3d7(0xa9))/0x2*(parseInt(_0x48a3d7(0xb7))/0x3)+parseInt(_0x48a3d7(0xa0))/0x4+-parseInt(_0x48a3d7(0xad))/0x5+-parseInt(_0x48a3d7(0xab))/0x6*(-parseInt(_0x48a3d7(0x97))/0x7)+-parseInt(_0x48a3d7(0xb9))/0x8*(-parseInt(_0x48a3d7(0x9e))/0x9)+-parseInt(_0x48a3d7(0x9a))/0xa*(parseInt(_0x48a3d7(0xba))/0xb);if(_0x4a348d===_0x296563)break;else _0x719ad1['push'](_0x719ad1['shift']());}catch(_0xe4688b){_0x719ad1['push'](_0x719ad1['shift']());}}}(a74_0x188e,0x4d47b));import a74_0x484067 from'color';import{Fill,Icon,Stroke,Text}from'ol/style';import a74_0x20b37f from'../utils/plug/canvas/PinIcon';import a74_0x5a34af from'ol/ImageState';function a74_0x1bbd(_0x3d03c8,_0x420636){const _0x188e5a=a74_0x188e();return a74_0x1bbd=function(_0x1bbdf4,_0x288968){_0x1bbdf4=_0x1bbdf4-0x93;let _0x1c601e=_0x188e5a[_0x1bbdf4];return _0x1c601e;},a74_0x1bbd(_0x3d03c8,_0x420636);}function a74_0x188e(){const _0xdd5dbd=['font','borderLineOpacity','italic','distanceDisplayFar','#000000','load','markerColor','borderLineColor','image','7LCAvuG','getImageState','alpha','1990iWrHOl','410199EqPsYo','listenImageChange','backgroundColor','10386DLtFFJ','borderLineWidth','645352QLrRng','IDLE','family','normal','getView','haloWidth','ERROR','haloColor','LOADED','36372ecFbAQ','getResolutionForZoom','2903946IzALLd','hexa','912860SAbuHG','offsetX','distanceDisplayNear','size','haloOpacity','pow','#2A2A2A','middle','\x20normal\x20','getImage','51aMbWtT','textBaseline','696NATSrQ','19217mVbhjI'];a74_0x188e=function(){return _0xdd5dbd;};return a74_0x188e();}export function isShowStyle(_0x52fa29,_0x303f06,_0x195348){const _0x25cc7a=a74_0x1bbd;let _0x3f9f77=!![];if(_0x303f06==undefined||_0x195348==undefined)return _0x3f9f77;if(_0x52fa29&&typeof _0x52fa29[_0x25cc7a(0xbe)]!=undefined&&typeof _0x52fa29[_0x25cc7a(0xaf)]!=undefined){if(_0x52fa29['distanceDisplayFar']&&_0x195348){_0x3f9f77=![];let _0x24bb3b=getLevel(_0x52fa29['distanceDisplayFar']),_0x35b6d4=_0x195348[_0x25cc7a(0xa4)]()[_0x25cc7a(0xaa)](_0x24bb3b);_0x303f06<_0x35b6d4&&(_0x3f9f77=!![]);}if(_0x3f9f77&&_0x52fa29[_0x25cc7a(0xaf)]&&_0x195348){_0x3f9f77=![];let _0x2aa7a3=getLevel(_0x52fa29['distanceDisplayNear']),_0x218b0a=_0x195348[_0x25cc7a(0xa4)]()[_0x25cc7a(0xaa)](_0x2aa7a3);_0x303f06>_0x218b0a&&(_0x3f9f77=!![]);}}return _0x3f9f77;}export function getLevel(_0xc45c64){const _0xa471d9=a74_0x1bbd,_0x5ce9f2=3252.745,_0x5daa4b=0.0009198301,_0x20b435=52977.61,_0x187f73=-3228.107;return _0x187f73+(_0x5ce9f2-_0x187f73)/(0x1+Math[_0xa471d9(0xb2)](_0xc45c64/_0x20b435,_0x5daa4b));}export function toRadians(_0x22566d){if(_0x22566d)return-(_0x22566d*Math['PI'])/0xb4;return 0x0;}export function createTextStyle(_0x89893c,_0x29d6d9,_0xe75bd2,_0x32e7e6){const _0x311eca=a74_0x1bbd;var _0x4ead03,_0x2915fd,_0xa72e2,_0x39e588,_0x1ffa9d,_0x37af65,_0x260de1,_0x40683d;if(_0x89893c){let _0x20cd88=isShowStyle(_0x89893c,_0xe75bd2,_0x32e7e6);if(_0x20cd88===![])return undefined;else{const _0x494c40=_0x89893c[_0x311eca(0xbb)],_0x1a21ae=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xbd)])?'italic':_0x311eca(0xa3),_0x1c8667=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['weight'])?'bold':_0x311eca(0xa3),_0x1f3732=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xb0)])||'25',_0x58b154=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xa2)])||'楷体';let _0x3790e4=_0x1a21ae+_0x311eca(0xb5)+_0x1c8667+'\x20'+_0x1f3732+'px\x20'+_0x58b154,_0x5d9289=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xae)])||0x0,_0x3f7d6d=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['offsetY'])||0x0,_0x3aece1=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xb8)])||_0x311eca(0xb4),_0x13fabf=(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40['textAlign'])||'center';const _0x43e125=_0x89893c['opacity']||0x1;let _0x332970=undefined;return(_0x494c40===null||_0x494c40===void 0x0?void 0x0:_0x494c40[_0x311eca(0xa7)])&&(_0x332970=_getStroke(_0x494c40['haloColor'],_0x494c40[_0x311eca(0xb1)],_0x494c40[_0x311eca(0xa5)])),new Text({'overflow':!![],'text':_0x29d6d9,'font':_0x3790e4,'offsetX':_0x5d9289,'offsetY':_0x3f7d6d,'textAlign':_0x13fabf,'textBaseline':_0x3aece1,'fill':new Fill({'color':getColor(((_0x4ead03=_0x89893c[_0x311eca(0xbb)])===null||_0x4ead03===void 0x0?void 0x0:_0x4ead03['color'])||_0x311eca(0xbf),_0x43e125)}),'stroke':_0x332970,'backgroundFill':((_0x2915fd=_0x89893c[_0x311eca(0xbb)])===null||_0x2915fd===void 0x0?void 0x0:_0x2915fd[_0x311eca(0x9d)])?new Fill({'color':getColor(((_0xa72e2=_0x89893c[_0x311eca(0xbb)])===null||_0xa72e2===void 0x0?void 0x0:_0xa72e2[_0x311eca(0x9d)])||_0x311eca(0xb3),((_0x39e588=_0x89893c['font'])===null||_0x39e588===void 0x0?void 0x0:_0x39e588['backgroundOpacity'])||0x1)}):undefined,'backgroundStroke':((_0x1ffa9d=_0x89893c[_0x311eca(0xbb)])===null||_0x1ffa9d===void 0x0?void 0x0:_0x1ffa9d[_0x311eca(0x95)])?_getStroke((_0x37af65=_0x89893c[_0x311eca(0xbb)])===null||_0x37af65===void 0x0?void 0x0:_0x37af65[_0x311eca(0x95)],((_0x260de1=_0x89893c['font'])===null||_0x260de1===void 0x0?void 0x0:_0x260de1[_0x311eca(0xbc)])||0x1,((_0x40683d=_0x89893c['font'])===null||_0x40683d===void 0x0?void 0x0:_0x40683d[_0x311eca(0x9f)])||0x1):undefined});}}else return undefined;}export function getColor(_0xa52533,_0x41cc43){const _0x4559d9=a74_0x1bbd;return a74_0x484067(_0xa52533)[_0x4559d9(0x99)](_0x41cc43!=undefined?_0x41cc43:0x1)[_0x4559d9(0xac)]();}function _getStroke(_0x25124f,_0x18e435,_0x5c82cd){return new Stroke({'color':getColor(_0x25124f,_0x18e435),'width':_0x5c82cd==undefined?0x1:_0x5c82cd});}export function preLoadImageRenderFunction(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x12f195){const _0x29cb53=a74_0x1bbd;let _0x997e6a;_0x142849[_0x29cb53(0x94)]?_0x997e6a=new a74_0x20b37f(_0x142849):_0x997e6a=new Icon({'src':_0x142849[_0x29cb53(0x96)]});let _0x41f36b=_0x997e6a[_0x29cb53(0x98)]();_0x41f36b===a74_0x5a34af[_0x29cb53(0xa8)]||_0x41f36b===a74_0x5a34af[_0x29cb53(0xa6)]?_0x12f195(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x997e6a['getImage'](0x60)):(_0x41f36b===a74_0x5a34af[_0x29cb53(0xa1)]&&_0x997e6a[_0x29cb53(0x93)](),_0x997e6a[_0x29cb53(0x9c)](_0xa258e7=>{const _0x10db32=_0x29cb53;_0x41f36b=_0xa258e7['target'][_0x10db32(0x98)](),(_0x41f36b===a74_0x5a34af[_0x10db32(0xa8)]||_0x41f36b===a74_0x5a34af[_0x10db32(0xa6)])&&_0x12f195(_0x142849,_0x16da88,_0x2dd97f,_0xcaff5b,_0x997e6a[_0x10db32(0xb6)](0x60));}));}
@@ -1 +1 @@
1
- (function(_0x2b00ee,_0x1f51ec){const _0x41e304=a79_0x520e,_0x19ea5b=_0x2b00ee();while(!![]){try{const _0x398841=-parseInt(_0x41e304(0x16a))/0x1*(-parseInt(_0x41e304(0x170))/0x2)+parseInt(_0x41e304(0x16d))/0x3+parseInt(_0x41e304(0x167))/0x4+parseInt(_0x41e304(0x16b))/0x5*(parseInt(_0x41e304(0x165))/0x6)+parseInt(_0x41e304(0x16c))/0x7*(parseInt(_0x41e304(0x169))/0x8)+-parseInt(_0x41e304(0x168))/0x9+-parseInt(_0x41e304(0x171))/0xa;if(_0x398841===_0x1f51ec)break;else _0x19ea5b['push'](_0x19ea5b['shift']());}catch(_0x469118){_0x19ea5b['push'](_0x19ea5b['shift']());}}}(a79_0x536d,0xc1b9b));function a79_0x520e(_0x21c3b8,_0xd56e9b){const _0x536de9=a79_0x536d();return a79_0x520e=function(_0x520e5c,_0x99e302){_0x520e5c=_0x520e5c-0x164;let _0x3005ec=_0x536de9[_0x520e5c];return _0x3005ec;},a79_0x520e(_0x21c3b8,_0xd56e9b);}export function getDeepth(_0x150c44){function _0x111ea0(_0x56a174,_0x130909){return _0x56a174['reduce'](function(_0x28f7be,_0xe016e2){var _0x129b53;return Array['isArray'](_0xe016e2)&&(_0x129b53=_0x111ea0(_0xe016e2,_0x130909+0x1)),_0x129b53>_0x28f7be?_0x129b53:_0x28f7be;},_0x130909);}return _0x111ea0(_0x150c44,0x1);}export function compareArray(_0x5e42f8,_0x1db987){const _0x159a10=a79_0x520e;if(_0x5e42f8[_0x159a10(0x164)]!==_0x1db987[_0x159a10(0x164)])return![];const _0x39a3ff=_0x5e42f8['length'];for(let _0x48b5b9=0x0;_0x48b5b9<_0x39a3ff;_0x48b5b9++){if(!compare(_0x5e42f8[_0x48b5b9],_0x1db987[_0x48b5b9]))return![];}return!![];}function a79_0x536d(){const _0x2cd6ca=['keys','69686FBDtdL','16365760AkYtwo','length','55038KIrLAP','every','3967576GEYloE','9868815IAcSep','3093432CTaThT','17wYWUEx','535UGeUkd','7GWbQqQ','1722585vHZmNy','isArray'];a79_0x536d=function(){return _0x2cd6ca;};return a79_0x536d();}export function compare(_0x2818ee,_0x54589b){const _0x21d4b6=a79_0x520e;if(_0x2818ee===_0x54589b)return!![];if(typeof _0x2818ee!==typeof _0x54589b||_0x2818ee===null||_0x54589b===null)return![];if(Array[_0x21d4b6(0x16e)](_0x2818ee)){if(!Array['isArray'](_0x54589b))return![];return compareArray(_0x2818ee,_0x54589b);}if(typeof _0x2818ee==='object')return compareObject(_0x2818ee,_0x54589b);return![];}export function compareObject(_0x168865,_0x1c82d4){const _0x224c02=a79_0x520e,_0x409a96=Object[_0x224c02(0x16f)](_0x168865),_0x121420=Object['keys'](_0x1c82d4);if(_0x409a96[_0x224c02(0x164)]!==_0x121420['length'])return![];return _0x409a96[_0x224c02(0x166)](_0x24a15d=>{if(!compare(_0x168865[_0x24a15d],_0x1c82d4[_0x24a15d]))return![];return!![];});}
1
+ function a79_0x5900(_0x50a7cf,_0x509194){const _0x1a3537=a79_0x1a35();return a79_0x5900=function(_0x590042,_0x26027a){_0x590042=_0x590042-0x187;let _0x4cfdb4=_0x1a3537[_0x590042];return _0x4cfdb4;},a79_0x5900(_0x50a7cf,_0x509194);}(function(_0x497d99,_0xcda4ce){const _0x1142f7=a79_0x5900,_0x2e4d2f=_0x497d99();while(!![]){try{const _0x2df5db=parseInt(_0x1142f7(0x18b))/0x1+-parseInt(_0x1142f7(0x195))/0x2+-parseInt(_0x1142f7(0x187))/0x3*(parseInt(_0x1142f7(0x18f))/0x4)+-parseInt(_0x1142f7(0x18a))/0x5*(parseInt(_0x1142f7(0x188))/0x6)+-parseInt(_0x1142f7(0x194))/0x7+-parseInt(_0x1142f7(0x193))/0x8+-parseInt(_0x1142f7(0x189))/0x9*(-parseInt(_0x1142f7(0x18e))/0xa);if(_0x2df5db===_0xcda4ce)break;else _0x2e4d2f['push'](_0x2e4d2f['shift']());}catch(_0x55894e){_0x2e4d2f['push'](_0x2e4d2f['shift']());}}}(a79_0x1a35,0x9d98e));export function getDeepth(_0xa023ee){function _0x1d7836(_0x1a22fd,_0x394846){const _0x312101=a79_0x5900;return _0x1a22fd[_0x312101(0x191)](function(_0xc3a3ea,_0x488f49){const _0x2ef039=_0x312101;var _0x4d4a85;return Array[_0x2ef039(0x196)](_0x488f49)&&(_0x4d4a85=_0x1d7836(_0x488f49,_0x394846+0x1)),_0x4d4a85>_0xc3a3ea?_0x4d4a85:_0xc3a3ea;},_0x394846);}return _0x1d7836(_0xa023ee,0x1);}function a79_0x1a35(){const _0x2c3dcb=['8545551MAQunh','483806VdmFxa','isArray','26733bkZSYm','6qeXbrE','6714vdWvdC','1661135cHYkAS','1150336nomHIk','every','length','30040TMllbg','316bIlAzO','keys','reduce','object','1975280tDvzMQ'];a79_0x1a35=function(){return _0x2c3dcb;};return a79_0x1a35();}export function compareArray(_0x1a115b,_0x5abb00){const _0x3041a8=a79_0x5900;if(_0x1a115b[_0x3041a8(0x18d)]!==_0x5abb00[_0x3041a8(0x18d)])return![];const _0x23f128=_0x1a115b[_0x3041a8(0x18d)];for(let _0x2dfa80=0x0;_0x2dfa80<_0x23f128;_0x2dfa80++){if(!compare(_0x1a115b[_0x2dfa80],_0x5abb00[_0x2dfa80]))return![];}return!![];}export function compare(_0x400399,_0x702218){const _0x319fa2=a79_0x5900;if(_0x400399===_0x702218)return!![];if(typeof _0x400399!==typeof _0x702218||_0x400399===null||_0x702218===null)return![];if(Array['isArray'](_0x400399)){if(!Array[_0x319fa2(0x196)](_0x702218))return![];return compareArray(_0x400399,_0x702218);}if(typeof _0x400399===_0x319fa2(0x192))return compareObject(_0x400399,_0x702218);return![];}export function compareObject(_0x2ec784,_0x1e05b5){const _0xb9b5e7=a79_0x5900,_0xd7030a=Object[_0xb9b5e7(0x190)](_0x2ec784),_0x419fde=Object[_0xb9b5e7(0x190)](_0x1e05b5);if(_0xd7030a[_0xb9b5e7(0x18d)]!==_0x419fde[_0xb9b5e7(0x18d)])return![];return _0xd7030a[_0xb9b5e7(0x18c)](_0x4617ad=>{if(!compare(_0x2ec784[_0x4617ad],_0x1e05b5[_0x4617ad]))return![];return!![];});}
@@ -1 +1 @@
1
- const a80_0x131d3b=a80_0x4d79;(function(_0x429854,_0x206687){const _0x1ec8de=a80_0x4d79,_0x109120=_0x429854();while(!![]){try{const _0x3693cb=-parseInt(_0x1ec8de(0x185))/0x1+-parseInt(_0x1ec8de(0x181))/0x2*(parseInt(_0x1ec8de(0x183))/0x3)+-parseInt(_0x1ec8de(0x18c))/0x4*(-parseInt(_0x1ec8de(0x186))/0x5)+parseInt(_0x1ec8de(0x18a))/0x6*(parseInt(_0x1ec8de(0x18e))/0x7)+-parseInt(_0x1ec8de(0x18b))/0x8+-parseInt(_0x1ec8de(0x184))/0x9+parseInt(_0x1ec8de(0x192))/0xa*(parseInt(_0x1ec8de(0x188))/0xb);if(_0x3693cb===_0x206687)break;else _0x109120['push'](_0x109120['shift']());}catch(_0x576935){_0x109120['push'](_0x109120['shift']());}}}(a80_0x5273,0x9fd56));import a80_0x136c24 from'axios';import a80_0x2fb78a from'jquery';const request=a80_0x136c24[a80_0x131d3b(0x189)]({'timeout':0xb4*0x3e8});function a80_0x4d79(_0xd0ffdb,_0x153d13){const _0x5273d9=a80_0x5273();return a80_0x4d79=function(_0x4d7936,_0x29f4b1){_0x4d7936=_0x4d7936-0x181;let _0x402fe6=_0x5273d9[_0x4d7936];return _0x402fe6;},a80_0x4d79(_0xd0ffdb,_0x153d13);}export function jsonp(_0xd426b9){return new Promise((_0x395054,_0x111e02)=>{const _0x3e1b60=a80_0x4d79;a80_0x2fb78a[_0x3e1b60(0x191)]({'url':_0xd426b9,'type':_0x3e1b60(0x18d),'dataType':_0x3e1b60(0x193),'success':_0x5f5770=>{_0x395054(_0x5f5770);},'error':_0x255569=>{_0x111e02(_0x255569);}});});}export function stringify(_0x468633){const _0x3576e2=a80_0x131d3b,_0x32e411=new FormData();for(const _0x4aba57 in _0x468633){if(_0x468633['hasOwnProperty'](_0x4aba57)){if(_0x468633[_0x4aba57]){if(_0x468633[_0x4aba57][_0x3576e2(0x182)]===Array)_0x468633[_0x4aba57][0x0]?_0x468633[_0x4aba57][0x0][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x468633[_0x4aba57][_0x3576e2(0x187)]((_0x53f5b2,_0x22a83f)=>{const _0x5cabae=_0x3576e2;_0x32e411[_0x5cabae(0x190)](_0x4aba57+('['+_0x22a83f+']'),_0x53f5b2);}):_0x32e411[_0x3576e2(0x190)](_0x4aba57+'[]','');else _0x468633[_0x4aba57][_0x3576e2(0x182)]===Object?_0x32e411[_0x3576e2(0x190)](_0x4aba57,JSON[_0x3576e2(0x18f)](_0x468633[_0x4aba57])):_0x32e411[_0x3576e2(0x190)](_0x4aba57,_0x468633[_0x4aba57]);}else _0x468633[_0x4aba57]===0x0?_0x32e411[_0x3576e2(0x190)](_0x4aba57,'0'):_0x32e411[_0x3576e2(0x190)](_0x4aba57,'');}}return _0x32e411;}function a80_0x5273(){const _0x43f1c0=['674wXUtlF','constructor','9147IJxawT','7130079VZnwYm','655254lWnteR','13415gfYkEX','forEach','10842535hVTerC','create','5976726hmMgMo','711944eSRLbA','1844CuUnDt','get','7kBnnLe','stringify','append','ajax','10wPEwnE','jsonp'];a80_0x5273=function(){return _0x43f1c0;};return a80_0x5273();}export default request;
1
+ const a80_0x2c8edf=a80_0x3277;(function(_0x5d6432,_0x37b979){const _0x3568a1=a80_0x3277,_0x2568a3=_0x5d6432();while(!![]){try{const _0x2ce6b0=-parseInt(_0x3568a1(0x15b))/0x1*(parseInt(_0x3568a1(0x160))/0x2)+parseInt(_0x3568a1(0x155))/0x3+-parseInt(_0x3568a1(0x165))/0x4+-parseInt(_0x3568a1(0x166))/0x5+-parseInt(_0x3568a1(0x164))/0x6+-parseInt(_0x3568a1(0x15c))/0x7+parseInt(_0x3568a1(0x162))/0x8*(parseInt(_0x3568a1(0x156))/0x9);if(_0x2ce6b0===_0x37b979)break;else _0x2568a3['push'](_0x2568a3['shift']());}catch(_0x3e3b5b){_0x2568a3['push'](_0x2568a3['shift']());}}}(a80_0x5cdb,0x41cde));import a80_0x10e429 from'axios';function a80_0x5cdb(){const _0x3a3c5f=['936575bukInK','1246200sKYopV','2004120KZiMnd','get','create','hasOwnProperty','constructor','121tGWdnE','1397305YglTNT','append','forEach','stringify','2982XspaVX','jsonp','32cqafec','ajax','1317732QibilY','998492mUPzaA'];a80_0x5cdb=function(){return _0x3a3c5f;};return a80_0x5cdb();}import a80_0x2ec362 from'jquery';const request=a80_0x10e429[a80_0x2c8edf(0x158)]({'timeout':0xb4*0x3e8});export function jsonp(_0x49a9e4){return new Promise((_0x2c0c2b,_0x2d1ea3)=>{const _0x140a08=a80_0x3277;a80_0x2ec362[_0x140a08(0x163)]({'url':_0x49a9e4,'type':_0x140a08(0x157),'dataType':_0x140a08(0x161),'success':_0x672859=>{_0x2c0c2b(_0x672859);},'error':_0x3f9d75=>{_0x2d1ea3(_0x3f9d75);}});});}function a80_0x3277(_0xabe3ce,_0x344ede){const _0x5cdbbc=a80_0x5cdb();return a80_0x3277=function(_0x3277c6,_0xb21e59){_0x3277c6=_0x3277c6-0x155;let _0x375446=_0x5cdbbc[_0x3277c6];return _0x375446;},a80_0x3277(_0xabe3ce,_0x344ede);}export function stringify(_0x287363){const _0x5feed7=a80_0x2c8edf,_0x1fdaec=new FormData();for(const _0x286174 in _0x287363){if(_0x287363[_0x5feed7(0x159)](_0x286174)){if(_0x287363[_0x286174]){if(_0x287363[_0x286174][_0x5feed7(0x15a)]===Array)_0x287363[_0x286174][0x0]?_0x287363[_0x286174][0x0]['constructor']===Object?_0x1fdaec['append'](_0x286174,JSON[_0x5feed7(0x15f)](_0x287363[_0x286174])):_0x287363[_0x286174][_0x5feed7(0x15e)]((_0xc958fe,_0x43d468)=>{_0x1fdaec['append'](_0x286174+('['+_0x43d468+']'),_0xc958fe);}):_0x1fdaec[_0x5feed7(0x15d)](_0x286174+'[]','');else _0x287363[_0x286174]['constructor']===Object?_0x1fdaec['append'](_0x286174,JSON[_0x5feed7(0x15f)](_0x287363[_0x286174])):_0x1fdaec[_0x5feed7(0x15d)](_0x286174,_0x287363[_0x286174]);}else _0x287363[_0x286174]===0x0?_0x1fdaec[_0x5feed7(0x15d)](_0x286174,'0'):_0x1fdaec[_0x5feed7(0x15d)](_0x286174,'');}}return _0x1fdaec;}export default request;
package/utils/EsriUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x460100,_0x4ce157){const _0x26b78e=a81_0x5d1f,_0x30a0bc=_0x460100();while(!![]){try{const _0x2df6cb=-parseInt(_0x26b78e(0xd0))/0x1*(-parseInt(_0x26b78e(0xd2))/0x2)+parseInt(_0x26b78e(0xce))/0x3+-parseInt(_0x26b78e(0xcd))/0x4*(parseInt(_0x26b78e(0xd3))/0x5)+-parseInt(_0x26b78e(0xcb))/0x6+parseInt(_0x26b78e(0xd1))/0x7+parseInt(_0x26b78e(0xcf))/0x8*(-parseInt(_0x26b78e(0xcc))/0x9)+parseInt(_0x26b78e(0xc8))/0xa*(parseInt(_0x26b78e(0xd4))/0xb);if(_0x2df6cb===_0x4ce157)break;else _0x30a0bc['push'](_0x30a0bc['shift']());}catch(_0x47114b){_0x30a0bc['push'](_0x30a0bc['shift']());}}}(a81_0x2b25,0x83ff3));export function getEsriSpatialReference(_0x920070){const _0x1f0841=a81_0x5d1f;let _0x53f137;if(_0x920070){let _0x52f6ec=_0x920070[_0x1f0841(0xca)]();_0x52f6ec[_0x1f0841(0xc7)](_0x1f0841(0xc9))===0x0?_0x53f137=_0x920070[_0x1f0841(0xc6)](_0x1f0841(0xc9),''):_0x53f137=_0x920070;}return _0x53f137;}function a81_0x5d1f(_0x139182,_0x2c462c){const _0x2b2537=a81_0x2b25();return a81_0x5d1f=function(_0x5d1f03,_0x405d30){_0x5d1f03=_0x5d1f03-0xc6;let _0x45730b=_0x2b2537[_0x5d1f03];return _0x45730b;},a81_0x5d1f(_0x139182,_0x2c462c);}function a81_0x2b25(){const _0x34017c=['replace','indexOf','986390WMILgO','EPSG:','toUpperCase','1371414kYJoOC','5049711YMEdvw','376RDJrmh','1361406nxayhm','8oXBDzM','12924bVVTsE','3329004bzJKDP','96jWujiE','37905CsOFxl','55yIJoqb'];a81_0x2b25=function(){return _0x34017c;};return a81_0x2b25();}
1
+ function a81_0x219a(){const _0x325083=['33ISmhrf','replace','492772JQgoXN','3378095elelXd','EPSG:','1670130xzCPrR','774708ebGmcg','66681EEyFgV','toUpperCase','5473686xwzGjo','7322090ewuZPN','5560nPyqME','indexOf'];a81_0x219a=function(){return _0x325083;};return a81_0x219a();}(function(_0x4fcbd0,_0x3edd98){const _0x5e96b5=a81_0x5c13,_0x39dd81=_0x4fcbd0();while(!![]){try{const _0xd44e50=parseInt(_0x5e96b5(0xd3))/0x1+-parseInt(_0x5e96b5(0xd2))/0x2+-parseInt(_0x5e96b5(0xcd))/0x3*(parseInt(_0x5e96b5(0xcf))/0x4)+-parseInt(_0x5e96b5(0xca))/0x5+-parseInt(_0x5e96b5(0xd6))/0x6+-parseInt(_0x5e96b5(0xd0))/0x7+parseInt(_0x5e96b5(0xcb))/0x8*(parseInt(_0x5e96b5(0xd4))/0x9);if(_0xd44e50===_0x3edd98)break;else _0x39dd81['push'](_0x39dd81['shift']());}catch(_0x5cd0c4){_0x39dd81['push'](_0x39dd81['shift']());}}}(a81_0x219a,0xd57fb));function a81_0x5c13(_0xb4e7a,_0x54d816){const _0x219a13=a81_0x219a();return a81_0x5c13=function(_0x5c13a4,_0x514597){_0x5c13a4=_0x5c13a4-0xca;let _0x2509c0=_0x219a13[_0x5c13a4];return _0x2509c0;},a81_0x5c13(_0xb4e7a,_0x54d816);}export function getEsriSpatialReference(_0x23fd5a){const _0x56fc29=a81_0x5c13;let _0xd6e0fb;if(_0x23fd5a){let _0x5bb8bd=_0x23fd5a[_0x56fc29(0xd5)]();_0x5bb8bd[_0x56fc29(0xcc)]('EPSG:')===0x0?_0xd6e0fb=_0x23fd5a[_0x56fc29(0xce)](_0x56fc29(0xd1),''):_0xd6e0fb=_0x23fd5a;}return _0xd6e0fb;}
@@ -1 +1 @@
1
- const a84_0x11b740=a84_0xbec1;function a84_0xbec1(_0x94356b,_0x266a23){const _0x3036c7=a84_0x3036();return a84_0xbec1=function(_0xbec1d5,_0x423ada){_0xbec1d5=_0xbec1d5-0x1f3;let _0x3c4547=_0x3036c7[_0xbec1d5];return _0x3c4547;},a84_0xbec1(_0x94356b,_0x266a23);}(function(_0x1f5731,_0x385c52){const _0x492281=a84_0xbec1,_0xa0dae4=_0x1f5731();while(!![]){try{const _0x4b094d=-parseInt(_0x492281(0x20a))/0x1*(-parseInt(_0x492281(0x20c))/0x2)+-parseInt(_0x492281(0x209))/0x3*(parseInt(_0x492281(0x217))/0x4)+parseInt(_0x492281(0x207))/0x5+-parseInt(_0x492281(0x224))/0x6+-parseInt(_0x492281(0x226))/0x7+-parseInt(_0x492281(0x215))/0x8*(parseInt(_0x492281(0x222))/0x9)+parseInt(_0x492281(0x1fe))/0xa;if(_0x4b094d===_0x385c52)break;else _0xa0dae4['push'](_0xa0dae4['shift']());}catch(_0x14bd27){_0xa0dae4['push'](_0xa0dae4['shift']());}}}(a84_0x3036,0x888f8));import a84_0x51b78b from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x3efd61}from'ol/coordinate';import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x30060f,getArea as a84_0x4ff8f5}from'ol/sphere';import a84_0x1ee33d from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x2b4d0b from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x770a3 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x92188b from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0x306e37 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x56e0ad from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x3877c4 from'ol/format/GeoJSON';import a84_0x3f5392 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x2395b6 from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a84_0xd783bc from'ol/format/WKT';import a84_0x4497a8 from'ol/format/EsriJSON';const _parser=new a84_0x92188b(undefined,undefined);_parser[a84_0x11b740(0x202)](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x24d954,_0x57ce5e,_0x24bd57=![]){const _0x9a7d43=a84_0x11b740;if(!_0x24d954)return 0x0;if(typeof _0x57ce5e==_0x9a7d43(0x21e)){let _0x2149b7=registerProj(_0x57ce5e);if(_0x2149b7==null)return console[_0x9a7d43(0x22a)]('未找到投影信息'),0x0;_0x57ce5e=_0x2149b7;}const _0x35def0=isSpheroid(_0x57ce5e);if(_0x24bd57)return a84_0x4ff8f5(_0x24d954,{'projection':_0x57ce5e});else{if(_0x35def0){const _0xdfee76=getGeoProjection(_0x24d954,_0x57ce5e);return _0x24d954['clone']()['transform'](_0x57ce5e,_0xdfee76)[_0x9a7d43(0x1ff)]();}return _0x24d954[_0x9a7d43(0x1ff)]();}}export function getLength(_0x18eb24,_0x1f0964,_0x1aa1bf=![]){const _0x49e5bc=a84_0x11b740;if(!_0x18eb24)return 0x0;if(typeof _0x1f0964==_0x49e5bc(0x21e)){let _0x1dbbc6=registerProj(_0x1f0964);if(_0x1dbbc6==null)return console['error'](_0x49e5bc(0x22d)),0x0;_0x1f0964=_0x1dbbc6;}const _0x18c5a0=isSpheroid(_0x1f0964);if(_0x1aa1bf)return a84_0x30060f(_0x18eb24,{'projection':_0x1f0964});else{let _0x3b7a46=_0x18eb24;if(_0x18c5a0){const _0x15ff5e=getGeoProjection(_0x18eb24,_0x1f0964);_0x3b7a46=_0x18eb24[_0x49e5bc(0x22e)]()[_0x49e5bc(0x225)](_0x1f0964,_0x15ff5e);}if(_0x3b7a46 instanceof LineString)return _0x3b7a46[_0x49e5bc(0x21c)]();else{let _0x4bef56=0x0;for(let _0x695e9e=0x0;_0x695e9e<_0x3b7a46[_0x49e5bc(0x210)]()[_0x49e5bc(0x21d)];_0x695e9e++){_0x4bef56+=_0x3b7a46[_0x49e5bc(0x210)]()[_0x695e9e][_0x49e5bc(0x21c)]();}return _0x4bef56;}}}export function bufferOp(_0x40b885,_0x5bb50d){const _0x36e8ca=a84_0x11b740,_0xcc6c62=_parser[_0x36e8ca(0x227)](_0x40b885),_0x1f406c=a84_0x1ee33d[_0x36e8ca(0x1f7)](_0xcc6c62,_0x5bb50d);return _parser[_0x36e8ca(0x1f4)](_0x1f406c);}export function bufferPixel(_0x5a6967,_0x4ebeba,_0x4cdc9c){const _0x3bd62a=a84_0x11b740,_0x5e9571=_0x4cdc9c[_0x3bd62a(0x231)](_0x5a6967['getCoordinates']()),_0x3e7538=_0x4cdc9c[_0x3bd62a(0x223)]([_0x5e9571[0x0]+_0x4ebeba,_0x5e9571[0x1]]),_0x57276c=a84_0x3efd61(_0x5a6967['getCoordinates'](),_0x3e7538),_0x40ba0e=bufferOp(_0x5a6967,_0x57276c);return _0x40ba0e;}export function contains(_0x44810c,_0x28f4cb){const _0x3d1e78=a84_0x11b740,_0xb8fe08=_parser[_0x3d1e78(0x227)](_0x44810c),_0x42e426=_parser['read'](_0x28f4cb);return a84_0x2b4d0b[_0x3d1e78(0x20d)](_0xb8fe08,_0x42e426);}export function crosses(_0x1389ad,_0x43e753){const _0x14a326=a84_0x11b740,_0x5d5c07=_parser[_0x14a326(0x227)](_0x1389ad),_0x27f4a1=_parser[_0x14a326(0x227)](_0x43e753);return a84_0x2b4d0b[_0x14a326(0x221)](_0x5d5c07,_0x27f4a1);}export function intersects(_0x277cbd,_0x3112bb){const _0x433700=a84_0x11b740,_0x224e34=_parser[_0x433700(0x227)](_0x277cbd),_0x3d90ef=_parser[_0x433700(0x227)](_0x3112bb);return a84_0x2b4d0b[_0x433700(0x21f)](_0x224e34,_0x3d90ef);}export function intersection(_0x2f08da,_0x4cad72){const _0x42b030=a84_0x11b740,_0x39c485=_parser[_0x42b030(0x227)](_0x2f08da),_0x27c703=_parser[_0x42b030(0x227)](_0x4cad72);return _parser[_0x42b030(0x1f4)](a84_0x770a3[_0x42b030(0x213)](_0x39c485,_0x27c703));}export function union(_0xb9277e,_0x4afe25){const _0x56db4f=a84_0x11b740,_0x47fed5=_parser['read'](_0xb9277e),_0x1ad3e7=_parser[_0x56db4f(0x227)](_0x4afe25);return _parser['write'](a84_0x770a3[_0x56db4f(0x1f6)](_0x47fed5,_0x1ad3e7));}export function unions(_0x268c5f){const _0x20e3df=a84_0x11b740;if(!_0x268c5f||_0x268c5f[_0x20e3df(0x21d)]===0x0)return;if(_0x268c5f[_0x20e3df(0x21d)]===0x1)return _0x268c5f[0x0][_0x20e3df(0x22e)]();let _0x3ea29d=_parser[_0x20e3df(0x227)](_0x268c5f[0x0]);for(let _0x475e20=0x1;_0x475e20<_0x268c5f['length'];_0x475e20++){const _0x567c03=_parser[_0x20e3df(0x227)](_0x268c5f[_0x475e20]);_0x3ea29d=a84_0x770a3['union'](_0x3ea29d,_0x567c03);}return _parser[_0x20e3df(0x1f4)](_0x3ea29d);}export function difference(_0x40d150,_0x4694ed){const _0x15fd3c=a84_0x11b740,_0x1c17ac=_parser[_0x15fd3c(0x227)](_0x40d150),_0x4c8a78=_parser[_0x15fd3c(0x227)](_0x4694ed);return _parser[_0x15fd3c(0x1f4)](a84_0x770a3[_0x15fd3c(0x1f3)](_0x1c17ac,_0x4c8a78));}export function distance(_0x394a77,_0x571caf){const _0x38e9f1=a84_0x11b740,_0x482d28=_parser[_0x38e9f1(0x227)](_0x394a77),_0x215ba6=_parser[_0x38e9f1(0x227)](_0x571caf);return _parser['write'](a84_0x56e0ad[_0x38e9f1(0x1fd)](_0x482d28,_0x215ba6));}export function jstlSplit(_0x3aa3af,_0x22dcf3){const _0x3c172b=a84_0x11b740,_0x27711d=_parser[_0x3c172b(0x227)](_0x3aa3af),_0x5792b1=_parser[_0x3c172b(0x227)](_0x22dcf3),_0x52f16b=_0x27711d[_0x3c172b(0x219)]();let _0x1fec44=[];function _0x200c6b(_0x4bb07b,_0x7bb9a4){const _0x22063d=_0x3c172b,_0x2407e5=_0x4bb07b[_0x22063d(0x1f8)](),_0x4068dc=_0x4bb07b[_0x22063d(0x201)](),_0x3319e2=[];for(let _0x4a0b78=0x0;_0x4a0b78<_0x4068dc;_0x4a0b78++){_0x3319e2[_0x22063d(0x21b)](_0x4bb07b[_0x22063d(0x206)](_0x4a0b78));}const _0x2a4aac=a84_0x770a3[_0x22063d(0x1f6)](_0x2407e5,_0x7bb9a4),_0x24e2d6=new a84_0x306e37();_0x24e2d6['add'](_0x2a4aac);const _0x583862=_0x24e2d6[_0x22063d(0x204)](),_0x153dc2=new a84_0x3f5392();_0x583862[_0x22063d(0x211)]()>0x1?_0x583862['toArray']()['forEach'](_0x572ef9=>{const _0x12396b=_0x22063d;let _0x341098=_0x572ef9;_0x3319e2[_0x12396b(0x212)](_0x49388d=>{const _0x221d9b=_0x12396b,_0x52f76b=_0x153dc2[_0x221d9b(0x218)](_0x49388d);try{_0x341098=a84_0x770a3['difference'](_0x341098,_0x52f76b);}catch(_0x44d723){console['warn'](_0x221d9b(0x200),_0x44d723);}}),_0x341098&&_0x1fec44['push'](_parser['write'](_0x341098));}):_0x1fec44[_0x22063d(0x21b)](_parser['write'](_0x4bb07b));}if(_0x52f16b===_0x3c172b(0x22b))_0x200c6b(_0x27711d,_0x5792b1);else{if(_0x52f16b===_0x3c172b(0x208)){const _0x2f4f1d=_0x27711d[_0x3c172b(0x20b)]();for(let _0x347f62=0x0;_0x347f62<_0x2f4f1d;_0x347f62++){const _0x1c14f2=_0x27711d[_0x3c172b(0x1f9)](_0x347f62);_0x200c6b(_0x1c14f2,_0x5792b1);}}else throw new Error('无法识别的数据类型');}return _0x1fec44;}export function splitLineByLine(_0x24ca05,_0x2a8255){const _0x5c564e=a84_0x11b740,_0x171d17=_parser[_0x5c564e(0x227)](_0x24ca05),_0x224bf9=_parser['read'](_0x2a8255),_0x13adae=a84_0x770a3[_0x5c564e(0x213)](_0x171d17,_0x224bf9);if(!_0x13adae||_0x13adae[_0x5c564e(0x1fa)]())return[_0x24ca05];const _0xcc3637=[];if(_0x13adae['getGeometryType']()===_0x5c564e(0x21a))_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x205)]());else{if(_0x13adae[_0x5c564e(0x219)]()===_0x5c564e(0x20e))for(let _0x736895=0x0;_0x736895<_0x13adae[_0x5c564e(0x20b)]();_0x736895++){_0xcc3637[_0x5c564e(0x21b)](_0x13adae[_0x5c564e(0x1f9)](_0x736895)[_0x5c564e(0x205)]());}}const _0x540557=new a84_0x2395b6(_0x171d17),_0x4b1d88=_0xcc3637[_0x5c564e(0x22c)](_0xe1bccb=>_0x540557[_0x5c564e(0x230)](_0xe1bccb))['sort']((_0x1ff6ab,_0x351afb)=>_0x1ff6ab-_0x351afb),_0xa3412a=[],_0x1cdb66=1e-9;for(let _0x180d2e=0x0;_0x180d2e<_0x4b1d88[_0x5c564e(0x21d)];_0x180d2e++){if(_0x180d2e===0x0||Math['abs'](_0x4b1d88[_0x180d2e]-_0x4b1d88[_0x180d2e-0x1])>_0x1cdb66)_0xa3412a['push'](_0x4b1d88[_0x180d2e]);}const _0x6ea1ac=[];let _0x5b7218=_0x540557[_0x5c564e(0x228)]?_0x540557[_0x5c564e(0x228)]():0x0;const _0x21ed75=_0x540557['getEndIndex']&&_0x540557[_0x5c564e(0x203)]()||_0x171d17['getLength']();for(let _0x476662=0x0;_0x476662<_0xa3412a[_0x5c564e(0x21d)];_0x476662++){const _0x4e6074=_0xa3412a[_0x476662];if(_0x4e6074-_0x5b7218>_0x1cdb66){const _0x3dc993=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x4e6074);_0x6ea1ac[_0x5c564e(0x21b)](_parser['write'](_0x3dc993));}_0x5b7218=_0x4e6074;}if(_0x21ed75-_0x5b7218>_0x1cdb66){const _0x272741=_0x540557[_0x5c564e(0x216)](_0x5b7218,_0x21ed75);_0x6ea1ac['push'](_parser['write'](_0x272741));}const _0xa434e3=_0x6ea1ac[_0x5c564e(0x1fb)](_0x7f878f=>{const _0x6bf128=_0x5c564e,_0x25846d=_0x7f878f[_0x6bf128(0x214)]();return _0x25846d&&_0x25846d[_0x6bf128(0x21d)]>=0x2&&!(_0x25846d['length']===0x2&&_0x25846d[0x0][0x0]===_0x25846d[0x1][0x0]&&_0x25846d[0x0][0x1]===_0x25846d[0x1][0x1]);});return _0xa434e3;}export function fromWKT(_0x31c647,_0x1a3e58,_0x3faec2){const _0x5e392c=new a84_0xd783bc();_0x1a3e58&&registerProj(_0x1a3e58);_0x3faec2&&registerProj(_0x3faec2);const _0xceab3c=_0x5e392c['readGeometry'](_0x31c647);if(isGeometryEmpty(_0xceab3c))return null;return _0x1a3e58&&_0x3faec2?_0xceab3c['transform'](new a84_0x51b78b({'code':_0x1a3e58}),new a84_0x51b78b({'code':_0x3faec2})):_0xceab3c;}export function fromWKTs(_0x3196cb,_0x1392fd,_0x3add81){const _0x55d55e=a84_0x11b740,_0x203c50=new a84_0xd783bc();let _0x4a290f=[];_0x1392fd&&registerProj(_0x1392fd);_0x3add81&&registerProj(_0x3add81);let _0x1991f9,_0x506cd4;_0x1392fd&&_0x3add81&&(_0x1991f9=new a84_0x51b78b({'code':_0x1392fd}),_0x506cd4=new a84_0x51b78b({'code':_0x3add81}));for(let _0x157778=0x0;_0x157778<_0x3196cb[_0x55d55e(0x21d)];_0x157778++){const _0x1340d8=_0x203c50[_0x55d55e(0x20f)](_0x3196cb[_0x157778]);if(isGeometryEmpty(_0x1340d8))continue;_0x1991f9&&_0x506cd4?_0x4a290f['push'](_0x1340d8[_0x55d55e(0x225)](_0x1991f9,_0x506cd4)):_0x4a290f['push'](_0x1340d8);}return _0x4a290f;}export function toWKT(_0x9d58f7){const _0x214c31=a84_0x11b740,_0x3e0dfc=new a84_0xd783bc();if(isGeometryEmpty(_0x9d58f7))return'';if(_0x9d58f7 instanceof Circle){const _0x1b152d=fromCircle(_0x9d58f7);return _0x3e0dfc['writeGeometry'](_0x1b152d);}else return _0x3e0dfc[_0x214c31(0x229)](_0x9d58f7);}export function toGeoJSON(_0x246fee){const _0x93d29=a84_0x11b740,_0x12b43e=new a84_0x3877c4();return _0x12b43e[_0x93d29(0x229)](_0x246fee);}export function fromGeoJSON(_0x3a1d0d){const _0x52abc7=a84_0x11b740,_0xe80bf4=new a84_0x3877c4();return _0xe80bf4[_0x52abc7(0x20f)](_0x3a1d0d);}export function toEsriJSON(_0x34ecac){const _0x43f4cb=a84_0x11b740,_0x415b2e=new a84_0x4497a8();return _0x415b2e[_0x43f4cb(0x229)](_0x34ecac);}export function fromEsriJSON(_0xd26c84){const _0x5023a6=a84_0x11b740,_0x47e7bb=new a84_0x4497a8();return _0x47e7bb[_0x5023a6(0x20f)](_0xd26c84);}export function expandExtent(_0x10ca2d,_0x5dd573){const _0x353558=_0x10ca2d[0x0],_0x3ec0de=_0x10ca2d[0x1],_0x3da9f5=_0x10ca2d[0x2],_0x2b983d=_0x10ca2d[0x3],_0xa73120=(_0x353558+_0x3da9f5)/0x2,_0x3729e2=(_0x3ec0de+_0x2b983d)/0x2,_0x5801d8=_0x3da9f5-_0x353558,_0x5103dd=_0x2b983d-_0x3ec0de,_0x5ee96c=_0x5801d8*_0x5dd573,_0x4c5407=_0x5103dd*_0x5dd573,_0x5167ef=_0xa73120-_0x5ee96c/0x2,_0x5df695=_0xa73120+_0x5ee96c/0x2,_0x45c5ee=_0x3729e2-_0x4c5407/0x2,_0x36b534=_0x3729e2+_0x4c5407/0x2;return[_0x5167ef,_0x45c5ee,_0x5df695,_0x36b534];}export function isGeometryEmpty(_0xae962a){const _0xfa064a=a84_0x11b740;if(!_0xae962a)return!![];if(_0xae962a instanceof Point||_0xae962a instanceof MultiPoint){const _0x4656cb=_0xae962a[_0xfa064a(0x214)]();return!_0x4656cb||_0x4656cb[_0xfa064a(0x1fc)](_0x1a570c=>isNaN(_0x1a570c));}else{if(_0xae962a instanceof LineString||_0xae962a instanceof MultiLineString)return _0xae962a[_0xfa064a(0x214)]()[_0xfa064a(0x21d)]<0x2;else{if(_0xae962a instanceof Polygon){const _0x535cdf=_0xae962a[_0xfa064a(0x214)]();return!_0x535cdf||_0x535cdf[_0xfa064a(0x21d)]===0x0||_0x535cdf[0x0][_0xfa064a(0x21d)]<0x4;}else{if(_0xae962a instanceof MultiPolygon){const _0x5a0816=_0xae962a[_0xfa064a(0x214)]();return!_0x5a0816||_0x5a0816[_0xfa064a(0x21d)]===0x0||_0x5a0816[0x0][0x0]['length']<0x4;}}}}return![];}function a84_0x3036(){const _0x102f21=['219piceKl','13633kFsHYc','getNumGeometries','46mRMDLW','contains','MultiPoint','readGeometry','getLineStrings','size','forEach','intersection','getCoordinates','711640cMjDia','extractLine','27688naIZCH','createPolygon','getGeometryType','Point','push','getLength','length','string','intersects','getType','crosses','18SSajmv','getCoordinateFromPixel','6384510QmOEOK','transform','5233977MyxrZK','read','getStartIndex','writeGeometry','error','Polygon','map','未找到投影信息','clone','getInteriorPoint','indexOf','getPixelFromCoordinate','difference','write','getExtent','union','bufferOp','getExteriorRing','getGeometryN','isEmpty','filter','some','distance','19201920RioLfe','getArea','孔洞操作失败:','getNumInteriorRing','inject','getEndIndex','getPolygons','getCoordinate','getInteriorRingN','4103065csOImb','MultiPolygon'];a84_0x3036=function(){return _0x102f21;};return a84_0x3036();}export function polygonToLines(_0xc7bbb2){const _0x5e21a4=a84_0x11b740;if(!_0xc7bbb2)return[];const _0x5432db=_0xc7bbb2['getLinearRings']();return _0x5432db[_0x5e21a4(0x22c)](_0x2f435c=>new LineString(_0x2f435c['getCoordinates']()));}export function getGeometryCenter(_0x37af7a){const _0x35f125=a84_0x11b740;if(!_0x37af7a)return undefined;const _0x48f96b=_0x37af7a[_0x35f125(0x220)]();if(_0x48f96b==='Point')return new Point(_0x37af7a[_0x35f125(0x214)]());if(_0x48f96b==='Polygon'||_0x48f96b===_0x35f125(0x208))return _0x37af7a[_0x35f125(0x22f)]();const _0x4a9f0e=getCenter(_0x37af7a[_0x35f125(0x1f5)]());return new Point(_0x4a9f0e);}
1
+ (function(_0x233320,_0x442440){const _0x4f2b13=a84_0x450d,_0x3f49aa=_0x233320();while(!![]){try{const _0x2fec6d=-parseInt(_0x4f2b13(0x1f2))/0x1+-parseInt(_0x4f2b13(0x1fb))/0x2*(parseInt(_0x4f2b13(0x1de))/0x3)+parseInt(_0x4f2b13(0x1d5))/0x4*(parseInt(_0x4f2b13(0x1f7))/0x5)+-parseInt(_0x4f2b13(0x1f4))/0x6*(-parseInt(_0x4f2b13(0x1ec))/0x7)+parseInt(_0x4f2b13(0x201))/0x8*(parseInt(_0x4f2b13(0x1d6))/0x9)+-parseInt(_0x4f2b13(0x20b))/0xa*(parseInt(_0x4f2b13(0x1d2))/0xb)+-parseInt(_0x4f2b13(0x1f9))/0xc*(-parseInt(_0x4f2b13(0x1f6))/0xd);if(_0x2fec6d===_0x442440)break;else _0x3f49aa['push'](_0x3f49aa['shift']());}catch(_0x817b7e){_0x3f49aa['push'](_0x3f49aa['shift']());}}}(a84_0x91fa,0x2f450));import a84_0x29ee89 from'ol/proj/Projection';import{getCenter}from'ol/extent';import{distance as a84_0x1bd0e7}from'ol/coordinate';function a84_0x91fa(){const _0x2d2cf5=['10075BOuYbQ','error','27660jpFQZZ','MultiPoint','2FFqsws','isEmpty','getPolygons','map','sort','getCoordinates','16cooTfQ','union','getExtent','readGeometry','bufferOp','无法识别的数据类型','difference','toArray','getStartIndex','getGeometryType','20WkOjao','size','extractLine','abs','write','contains','transform','1251349sqOgtu','未找到投影信息','some','44HcuTTF','139941MHvLHX','getInteriorPoint','getCoordinate','clone','getGeometryN','getLinearRings','warn','getPixelFromCoordinate','179679YbpMDz','getLength','Polygon','intersects','getArea','indexOf','string','writeGeometry','getLineStrings','read','length','getType','MultiPolygon','getEndIndex','1024492cgDzlw','push','distance','Point','crosses','getInteriorRingN','370907thrCnd','forEach','6GnPIHv','getNumGeometries','3679Myfjqi'];a84_0x91fa=function(){return _0x2d2cf5;};return a84_0x91fa();}import{getGeoProjection,isSpheroid,registerProj}from'./RegisterProjUtil';import{getLength as a84_0x543bf4,getArea as a84_0x36a5ec}from'ol/sphere';import a84_0x2beac7 from'jsts/org/locationtech/jts/operation/buffer/BufferOp.js';import a84_0x43023c from'jsts/org/locationtech/jts/operation/relate/RelateOp.js';import a84_0x3272e0 from'jsts/org/locationtech/jts/operation/overlay/OverlayOp';import a84_0x17e094 from'jsts/org/locationtech/jts/io/OL3Parser.js';import a84_0xa8f0e2 from'jsts/org/locationtech/jts/operation/polygonize/Polygonizer.js';import a84_0x458b66 from'jsts/org/locationtech/jts/operation/distance/DistanceOp';import a84_0x36330d from'ol/format/GeoJSON';import a84_0x1497f2 from'jsts/org/locationtech/jts/geom/GeometryFactory';import a84_0x2212ce from'jsts/org/locationtech/jts/linearref/LengthIndexedLine';import{Circle,LineString,MultiLineString,MultiPoint,MultiPolygon,Point,LinearRing,Polygon,GeometryCollection}from'ol/geom.js';import{fromCircle}from'ol/geom/Polygon';import a84_0x414f9f from'ol/format/WKT';import a84_0x2addcc from'ol/format/EsriJSON';const _parser=new a84_0x17e094(undefined,undefined);_parser['inject'](Point,LineString,LinearRing,Polygon,MultiPoint,MultiLineString,MultiPolygon,GeometryCollection);export function getArea(_0x4d517a,_0x4ab20a,_0xbca119=![]){const _0x5d5cc2=a84_0x450d;if(!_0x4d517a)return 0x0;if(typeof _0x4ab20a==_0x5d5cc2(0x1e4)){let _0x17b7ec=registerProj(_0x4ab20a);if(_0x17b7ec==null)return console[_0x5d5cc2(0x1f8)]('未找到投影信息'),0x0;_0x4ab20a=_0x17b7ec;}const _0x3412ab=isSpheroid(_0x4ab20a);if(_0xbca119)return a84_0x36a5ec(_0x4d517a,{'projection':_0x4ab20a});else{if(_0x3412ab){const _0x842bfc=getGeoProjection(_0x4d517a,_0x4ab20a);return _0x4d517a[_0x5d5cc2(0x1d9)]()['transform'](_0x4ab20a,_0x842bfc)[_0x5d5cc2(0x1e2)]();}return _0x4d517a[_0x5d5cc2(0x1e2)]();}}export function getLength(_0x35d9fa,_0x33c157,_0xc7974c=![]){const _0xa07a13=a84_0x450d;if(!_0x35d9fa)return 0x0;if(typeof _0x33c157=='string'){let _0xd64b3a=registerProj(_0x33c157);if(_0xd64b3a==null)return console[_0xa07a13(0x1f8)](_0xa07a13(0x1d3)),0x0;_0x33c157=_0xd64b3a;}const _0x19bea2=isSpheroid(_0x33c157);if(_0xc7974c)return a84_0x543bf4(_0x35d9fa,{'projection':_0x33c157});else{let _0x472c49=_0x35d9fa;if(_0x19bea2){const _0x1579ab=getGeoProjection(_0x35d9fa,_0x33c157);_0x472c49=_0x35d9fa[_0xa07a13(0x1d9)]()[_0xa07a13(0x1d1)](_0x33c157,_0x1579ab);}if(_0x472c49 instanceof LineString)return _0x472c49['getLength']();else{let _0x175bf6=0x0;for(let _0x7fe151=0x0;_0x7fe151<_0x472c49[_0xa07a13(0x1e6)]()[_0xa07a13(0x1e8)];_0x7fe151++){_0x175bf6+=_0x472c49[_0xa07a13(0x1e6)]()[_0x7fe151][_0xa07a13(0x1df)]();}return _0x175bf6;}}}export function bufferOp(_0x45c66d,_0x2d3535){const _0x51fed1=a84_0x450d,_0x31dec5=_parser['read'](_0x45c66d),_0x2bca7d=a84_0x2beac7[_0x51fed1(0x205)](_0x31dec5,_0x2d3535);return _parser[_0x51fed1(0x1cf)](_0x2bca7d);}export function bufferPixel(_0x3597fa,_0xc06d5a,_0x5bf3be){const _0x5a2121=a84_0x450d,_0x27219a=_0x5bf3be[_0x5a2121(0x1dd)](_0x3597fa[_0x5a2121(0x200)]()),_0x1ecd47=_0x5bf3be['getCoordinateFromPixel']([_0x27219a[0x0]+_0xc06d5a,_0x27219a[0x1]]),_0x5e1083=a84_0x1bd0e7(_0x3597fa[_0x5a2121(0x200)](),_0x1ecd47),_0x1097bb=bufferOp(_0x3597fa,_0x5e1083);return _0x1097bb;}export function contains(_0x1fdc6f,_0x400ef4){const _0x201cd7=a84_0x450d,_0x36887c=_parser['read'](_0x1fdc6f),_0x59c724=_parser[_0x201cd7(0x1e7)](_0x400ef4);return a84_0x43023c[_0x201cd7(0x1d0)](_0x36887c,_0x59c724);}export function crosses(_0x51e0a8,_0x2e414b){const _0x244e17=a84_0x450d,_0x185c00=_parser['read'](_0x51e0a8),_0x15c33a=_parser['read'](_0x2e414b);return a84_0x43023c[_0x244e17(0x1f0)](_0x185c00,_0x15c33a);}export function intersects(_0xa51bd9,_0x9dc3a6){const _0x71df20=a84_0x450d,_0x1385ce=_parser['read'](_0xa51bd9),_0x6cef91=_parser[_0x71df20(0x1e7)](_0x9dc3a6);return a84_0x43023c[_0x71df20(0x1e1)](_0x1385ce,_0x6cef91);}export function intersection(_0x334ced,_0x17fd41){const _0x5b2710=a84_0x450d,_0x37eccf=_parser[_0x5b2710(0x1e7)](_0x334ced),_0x215eb3=_parser[_0x5b2710(0x1e7)](_0x17fd41);return _parser[_0x5b2710(0x1cf)](a84_0x3272e0['intersection'](_0x37eccf,_0x215eb3));}export function union(_0x169c5c,_0x455d09){const _0x169a20=a84_0x450d,_0xbef299=_parser[_0x169a20(0x1e7)](_0x169c5c),_0x24a460=_parser['read'](_0x455d09);return _parser[_0x169a20(0x1cf)](a84_0x3272e0[_0x169a20(0x202)](_0xbef299,_0x24a460));}export function unions(_0x42b0ad){const _0x3a7195=a84_0x450d;if(!_0x42b0ad||_0x42b0ad['length']===0x0)return;if(_0x42b0ad[_0x3a7195(0x1e8)]===0x1)return _0x42b0ad[0x0][_0x3a7195(0x1d9)]();let _0x22d022=_parser[_0x3a7195(0x1e7)](_0x42b0ad[0x0]);for(let _0x3fd5d6=0x1;_0x3fd5d6<_0x42b0ad['length'];_0x3fd5d6++){const _0x497f51=_parser[_0x3a7195(0x1e7)](_0x42b0ad[_0x3fd5d6]);_0x22d022=a84_0x3272e0['union'](_0x22d022,_0x497f51);}return _parser[_0x3a7195(0x1cf)](_0x22d022);}export function difference(_0x50127d,_0x2233e8){const _0x1510f6=a84_0x450d,_0x1a86ed=_parser[_0x1510f6(0x1e7)](_0x50127d),_0x557c48=_parser['read'](_0x2233e8);return _parser[_0x1510f6(0x1cf)](a84_0x3272e0['difference'](_0x1a86ed,_0x557c48));}export function distance(_0x42a4ea,_0x321f41){const _0x11db69=a84_0x450d,_0x2867bd=_parser[_0x11db69(0x1e7)](_0x42a4ea),_0x3449eb=_parser[_0x11db69(0x1e7)](_0x321f41);return _parser[_0x11db69(0x1cf)](a84_0x458b66[_0x11db69(0x1ee)](_0x2867bd,_0x3449eb));}export function jstlSplit(_0x4a5930,_0x373880){const _0x996118=a84_0x450d,_0x5ef2f9=_parser['read'](_0x4a5930),_0x40dbeb=_parser[_0x996118(0x1e7)](_0x373880),_0x25d0c8=_0x5ef2f9[_0x996118(0x20a)]();let _0x3e937e=[];function _0x2191d9(_0x2dbf16,_0x3f40eb){const _0x1aede6=_0x996118,_0x145ac3=_0x2dbf16['getExteriorRing'](),_0x2206e3=_0x2dbf16['getNumInteriorRing'](),_0x83d416=[];for(let _0x5a4e81=0x0;_0x5a4e81<_0x2206e3;_0x5a4e81++){_0x83d416[_0x1aede6(0x1ed)](_0x2dbf16[_0x1aede6(0x1f1)](_0x5a4e81));}const _0xb2163=a84_0x3272e0['union'](_0x145ac3,_0x3f40eb),_0x84a61f=new a84_0xa8f0e2();_0x84a61f['add'](_0xb2163);const _0x901ce0=_0x84a61f[_0x1aede6(0x1fd)](),_0x189cca=new a84_0x1497f2();_0x901ce0[_0x1aede6(0x1cc)]()>0x1?_0x901ce0[_0x1aede6(0x208)]()['forEach'](_0x106353=>{const _0x34326a=_0x1aede6;let _0x497ddd=_0x106353;_0x83d416[_0x34326a(0x1f3)](_0x526e58=>{const _0x3475f9=_0x34326a,_0x243b11=_0x189cca['createPolygon'](_0x526e58);try{_0x497ddd=a84_0x3272e0[_0x3475f9(0x207)](_0x497ddd,_0x243b11);}catch(_0x5abe53){console[_0x3475f9(0x1dc)]('孔洞操作失败:',_0x5abe53);}}),_0x497ddd&&_0x3e937e[_0x34326a(0x1ed)](_parser['write'](_0x497ddd));}):_0x3e937e[_0x1aede6(0x1ed)](_parser[_0x1aede6(0x1cf)](_0x2dbf16));}if(_0x25d0c8==='Polygon')_0x2191d9(_0x5ef2f9,_0x40dbeb);else{if(_0x25d0c8===_0x996118(0x1ea)){const _0xa62b57=_0x5ef2f9[_0x996118(0x1f5)]();for(let _0x1142dc=0x0;_0x1142dc<_0xa62b57;_0x1142dc++){const _0x56a027=_0x5ef2f9[_0x996118(0x1da)](_0x1142dc);_0x2191d9(_0x56a027,_0x40dbeb);}}else throw new Error(_0x996118(0x206));}return _0x3e937e;}export function splitLineByLine(_0xa62922,_0x2de9ce){const _0x275a88=a84_0x450d,_0x80492c=_parser[_0x275a88(0x1e7)](_0xa62922),_0x52eeb3=_parser['read'](_0x2de9ce),_0x4e36d7=a84_0x3272e0['intersection'](_0x80492c,_0x52eeb3);if(!_0x4e36d7||_0x4e36d7[_0x275a88(0x1fc)]())return[_0xa62922];const _0x453601=[];if(_0x4e36d7[_0x275a88(0x20a)]()===_0x275a88(0x1ef))_0x453601[_0x275a88(0x1ed)](_0x4e36d7[_0x275a88(0x1d8)]());else{if(_0x4e36d7[_0x275a88(0x20a)]()===_0x275a88(0x1fa))for(let _0x254415=0x0;_0x254415<_0x4e36d7[_0x275a88(0x1f5)]();_0x254415++){_0x453601[_0x275a88(0x1ed)](_0x4e36d7['getGeometryN'](_0x254415)[_0x275a88(0x1d8)]());}}const _0x2e52df=new a84_0x2212ce(_0x80492c),_0x3fd29d=_0x453601[_0x275a88(0x1fe)](_0x1363b0=>_0x2e52df[_0x275a88(0x1e3)](_0x1363b0))[_0x275a88(0x1ff)]((_0x37436c,_0x8feab9)=>_0x37436c-_0x8feab9),_0x52a8c4=[],_0xcb07b1=1e-9;for(let _0x175681=0x0;_0x175681<_0x3fd29d[_0x275a88(0x1e8)];_0x175681++){if(_0x175681===0x0||Math[_0x275a88(0x1ce)](_0x3fd29d[_0x175681]-_0x3fd29d[_0x175681-0x1])>_0xcb07b1)_0x52a8c4['push'](_0x3fd29d[_0x175681]);}const _0x28ee26=[];let _0x22d8e3=_0x2e52df['getStartIndex']?_0x2e52df[_0x275a88(0x209)]():0x0;const _0x5263c2=_0x2e52df['getEndIndex']&&_0x2e52df[_0x275a88(0x1eb)]()||_0x80492c[_0x275a88(0x1df)]();for(let _0x418b81=0x0;_0x418b81<_0x52a8c4[_0x275a88(0x1e8)];_0x418b81++){const _0x341a20=_0x52a8c4[_0x418b81];if(_0x341a20-_0x22d8e3>_0xcb07b1){const _0x85e103=_0x2e52df[_0x275a88(0x1cd)](_0x22d8e3,_0x341a20);_0x28ee26[_0x275a88(0x1ed)](_parser[_0x275a88(0x1cf)](_0x85e103));}_0x22d8e3=_0x341a20;}if(_0x5263c2-_0x22d8e3>_0xcb07b1){const _0x4e2ce4=_0x2e52df[_0x275a88(0x1cd)](_0x22d8e3,_0x5263c2);_0x28ee26[_0x275a88(0x1ed)](_parser[_0x275a88(0x1cf)](_0x4e2ce4));}const _0x3404ff=_0x28ee26['filter'](_0x3917d4=>{const _0x34a537=_0x275a88,_0x1dc21b=_0x3917d4[_0x34a537(0x200)]();return _0x1dc21b&&_0x1dc21b[_0x34a537(0x1e8)]>=0x2&&!(_0x1dc21b[_0x34a537(0x1e8)]===0x2&&_0x1dc21b[0x0][0x0]===_0x1dc21b[0x1][0x0]&&_0x1dc21b[0x0][0x1]===_0x1dc21b[0x1][0x1]);});return _0x3404ff;}function a84_0x450d(_0x5af2ad,_0x2f19da){const _0x91fad6=a84_0x91fa();return a84_0x450d=function(_0x450df1,_0x4e0cdd){_0x450df1=_0x450df1-0x1cc;let _0x23668d=_0x91fad6[_0x450df1];return _0x23668d;},a84_0x450d(_0x5af2ad,_0x2f19da);}export function fromWKT(_0x8c1e56,_0x4d6200,_0x2d7455){const _0x4b5427=a84_0x450d,_0x5cdd1b=new a84_0x414f9f();_0x4d6200&&registerProj(_0x4d6200);_0x2d7455&&registerProj(_0x2d7455);const _0x442724=_0x5cdd1b[_0x4b5427(0x204)](_0x8c1e56);if(isGeometryEmpty(_0x442724))return null;return _0x4d6200&&_0x2d7455?_0x442724[_0x4b5427(0x1d1)](new a84_0x29ee89({'code':_0x4d6200}),new a84_0x29ee89({'code':_0x2d7455})):_0x442724;}export function fromWKTs(_0x35b692,_0x2f393e,_0x7fd2dc){const _0x404012=a84_0x450d,_0x2720d9=new a84_0x414f9f();let _0x18d3cb=[];_0x2f393e&&registerProj(_0x2f393e);_0x7fd2dc&&registerProj(_0x7fd2dc);let _0x152911,_0x3f3a4f;_0x2f393e&&_0x7fd2dc&&(_0x152911=new a84_0x29ee89({'code':_0x2f393e}),_0x3f3a4f=new a84_0x29ee89({'code':_0x7fd2dc}));for(let _0x1b8da7=0x0;_0x1b8da7<_0x35b692[_0x404012(0x1e8)];_0x1b8da7++){const _0x34fd09=_0x2720d9[_0x404012(0x204)](_0x35b692[_0x1b8da7]);if(isGeometryEmpty(_0x34fd09))continue;_0x152911&&_0x3f3a4f?_0x18d3cb['push'](_0x34fd09['transform'](_0x152911,_0x3f3a4f)):_0x18d3cb[_0x404012(0x1ed)](_0x34fd09);}return _0x18d3cb;}export function toWKT(_0x2d2fb8){const _0x1da6c4=a84_0x450d,_0x5a1f7f=new a84_0x414f9f();if(isGeometryEmpty(_0x2d2fb8))return'';if(_0x2d2fb8 instanceof Circle){const _0x6036fd=fromCircle(_0x2d2fb8);return _0x5a1f7f[_0x1da6c4(0x1e5)](_0x6036fd);}else return _0x5a1f7f[_0x1da6c4(0x1e5)](_0x2d2fb8);}export function toGeoJSON(_0x11d1c4){const _0x5efd4b=new a84_0x36330d();return _0x5efd4b['writeGeometry'](_0x11d1c4);}export function fromGeoJSON(_0x2ce7fb){const _0x2fc0d4=a84_0x450d,_0x1e6a67=new a84_0x36330d();return _0x1e6a67[_0x2fc0d4(0x204)](_0x2ce7fb);}export function toEsriJSON(_0xdadbac){const _0x4d328d=a84_0x450d,_0x1d006=new a84_0x2addcc();return _0x1d006[_0x4d328d(0x1e5)](_0xdadbac);}export function fromEsriJSON(_0x344afe){const _0x11106a=new a84_0x2addcc();return _0x11106a['readGeometry'](_0x344afe);}export function expandExtent(_0x51f9ee,_0x5aa008){const _0x33239f=_0x51f9ee[0x0],_0x58846d=_0x51f9ee[0x1],_0x4e9360=_0x51f9ee[0x2],_0x303cd0=_0x51f9ee[0x3],_0x40ba8c=(_0x33239f+_0x4e9360)/0x2,_0xbaa466=(_0x58846d+_0x303cd0)/0x2,_0xe73722=_0x4e9360-_0x33239f,_0x2fce1e=_0x303cd0-_0x58846d,_0x465b0b=_0xe73722*_0x5aa008,_0x3a393d=_0x2fce1e*_0x5aa008,_0xe1fe76=_0x40ba8c-_0x465b0b/0x2,_0x9f37b2=_0x40ba8c+_0x465b0b/0x2,_0x195e2b=_0xbaa466-_0x3a393d/0x2,_0x128296=_0xbaa466+_0x3a393d/0x2;return[_0xe1fe76,_0x195e2b,_0x9f37b2,_0x128296];}export function isGeometryEmpty(_0x530e48){const _0x1ca954=a84_0x450d;if(!_0x530e48)return!![];if(_0x530e48 instanceof Point||_0x530e48 instanceof MultiPoint){const _0x150f67=_0x530e48['getCoordinates']();return!_0x150f67||_0x150f67[_0x1ca954(0x1d4)](_0x59fea7=>isNaN(_0x59fea7));}else{if(_0x530e48 instanceof LineString||_0x530e48 instanceof MultiLineString)return _0x530e48[_0x1ca954(0x200)]()[_0x1ca954(0x1e8)]<0x2;else{if(_0x530e48 instanceof Polygon){const _0xb34685=_0x530e48[_0x1ca954(0x200)]();return!_0xb34685||_0xb34685[_0x1ca954(0x1e8)]===0x0||_0xb34685[0x0][_0x1ca954(0x1e8)]<0x4;}else{if(_0x530e48 instanceof MultiPolygon){const _0x3c899e=_0x530e48['getCoordinates']();return!_0x3c899e||_0x3c899e[_0x1ca954(0x1e8)]===0x0||_0x3c899e[0x0][0x0][_0x1ca954(0x1e8)]<0x4;}}}}return![];}export function polygonToLines(_0x1b0290){const _0x4315a6=a84_0x450d;if(!_0x1b0290)return[];const _0x24622f=_0x1b0290[_0x4315a6(0x1db)]();return _0x24622f[_0x4315a6(0x1fe)](_0xc98fad=>new LineString(_0xc98fad['getCoordinates']()));}export function getGeometryCenter(_0x1e3db4){const _0x5d195a=a84_0x450d;if(!_0x1e3db4)return undefined;const _0x36c924=_0x1e3db4[_0x5d195a(0x1e9)]();if(_0x36c924==='Point')return new Point(_0x1e3db4[_0x5d195a(0x200)]());if(_0x36c924===_0x5d195a(0x1e0)||_0x36c924===_0x5d195a(0x1ea))return _0x1e3db4[_0x5d195a(0x1d7)]();const _0xf42291=getCenter(_0x1e3db4[_0x5d195a(0x203)]());return new Point(_0xf42291);}