ym-gis-2d 1.0.24 → 1.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/LegendControl.js.map +1 -1
  5. package/controls/MousePositionControl.js +1 -1
  6. package/controls/SwipeLayerControl.js +1 -1
  7. package/conver/kml/geoJSONToKml.js +1 -1
  8. package/conver/kml/index.js +1 -1
  9. package/conver/kml/kmlToGeoJSON.js +1 -1
  10. package/entity/Feature.js +1 -1
  11. package/entity/GeometryType.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.js +1 -1
  26. package/layers/LayerManager.js +1 -1
  27. package/layers/TDTLayer.js +1 -1
  28. package/mapView/Map.js +1 -1
  29. package/mapView/View.js +1 -1
  30. package/package.json +1 -1
  31. package/plot/Plot.js +1 -1
  32. package/plot/geometry/point/Point.js +1 -1
  33. package/plot/geometry/polygon/BasePolygon.js +1 -1
  34. package/plot/geometry/polygon/Circle.js +1 -1
  35. package/plot/geometry/polygon/Polygon.js +1 -1
  36. package/plot/geometry/polygon/RectAngle.js +1 -1
  37. package/plot/geometry/polyline/BaseLine.js +1 -1
  38. package/plot/geometry/polyline/Polyline.js +1 -1
  39. package/style/PointStyleFormat.js +1 -1
  40. package/style/PolygonStyleFormat.js +1 -1
  41. package/style/PolylineStyleFormat.js +1 -1
  42. package/style/StyleManager.js +1 -1
  43. package/style/common.js +1 -1
  44. package/utils/ArrayUtil.js +1 -1
  45. package/utils/AxiosUtil.js +1 -1
  46. package/utils/EsriUtil.js +1 -1
  47. package/utils/GeometryUtil.js +1 -1
  48. package/utils/LayerUtil.js +1 -1
  49. package/utils/RegisterProjUtil.js +1 -1
  50. package/utils/ResolutionUtil.js +1 -1
  51. package/utils/StringUtil.js +1 -1
  52. package/utils/StyleUtil.js +1 -1
  53. package/utils/UrlUtil.js +1 -1
  54. package/utils/XmlUtil.js +1 -1
  55. package/utils/format/CQL.js +1 -1
  56. package/utils/format/IsMatchCql.js +1 -1
  57. package/utils/plug/canvas/ImageCache.js +1 -1
  58. package/utils/plug/canvas/PinBuilder.js +1 -1
  59. package/utils/plug/canvas/PinIcon.js +1 -1
  60. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  61. package/utils/tasks/esri/Identify.js +1 -1
  62. package/utils/tasks/esri/Query.js +1 -1
  63. package/utils/tasks/esri/Task.js +1 -1
  64. package/utils/tasks/geoserver/QueryTask.js +1 -1
  65. package/utils/tasks/index.js +1 -1
  66. package/ym-gis-2d.es.js +1 -1
  67. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a35_0x5398c3=a35_0x6632;(function(_0x54f8b3,_0x2a5401){const _0x98b6a6=a35_0x6632,_0x14549f=_0x54f8b3();while(!![]){try{const _0x24cfe8=parseInt(_0x98b6a6(0x1f1))/0x1+-parseInt(_0x98b6a6(0x1f5))/0x2+parseInt(_0x98b6a6(0x1f6))/0x3+parseInt(_0x98b6a6(0x1f2))/0x4*(parseInt(_0x98b6a6(0x1d5))/0x5)+parseInt(_0x98b6a6(0x1e1))/0x6+parseInt(_0x98b6a6(0x1eb))/0x7+-parseInt(_0x98b6a6(0x1de))/0x8*(parseInt(_0x98b6a6(0x1ed))/0x9);if(_0x24cfe8===_0x2a5401)break;else _0x14549f['push'](_0x14549f['shift']());}catch(_0x1a2037){_0x14549f['push'](_0x14549f['shift']());}}}(a35_0x2dc8,0xcc33e));import a35_0x542d8b from'../entity/Feature';import a35_0x5207c1 from'ol/layer/Vector';function a35_0x6632(_0x2beea6,_0x5bda82){const _0x2dc8fd=a35_0x2dc8();return a35_0x6632=function(_0x66320,_0x2842bd){_0x66320=_0x66320-0x1d0;let _0x20cbef=_0x2dc8fd[_0x66320];return _0x20cbef;},a35_0x6632(_0x2beea6,_0x5bda82);}import a35_0x3d7761 from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0x3f82d7 from'ol/format/GeoJSON';function a35_0x2dc8(){const _0x362fa7=['getSource','139930oHvvja','316NyzXEr','layerId','getSelectedFeatures','51696xhpXaK','2360388mfsxRD','readFeature','getVisible','addLayer','tag','addFeatures','flash_layer','removeLayer','19385wZvqOq','getTempSelectedFeatures','setStyle','push','getFeatures','filter','forEach','getLayerById','layerInfo','8qOMART','flashGeometrys','getPolygonTempLayer','9800976KFiEJW','features','setVisible','setGeometry','map','getPointTempLayer','flashFeatures','getType','geometryType','tempLayer','4294052ckZUef','isSelected','23559111jHPFps','removeFeature','kmlImport'];a35_0x2dc8=function(){return _0x362fa7;};return a35_0x2dc8();}import{getSelectStyle}from'../style/StyleManager';export default class FeatureManager{constructor(_0x27a607){const _0x12e6ce=a35_0x6632;this[_0x12e6ce(0x1e5)]=_0x27a607;}[a35_0x5398c3(0x1f4)](_0x24cbc9,_0x1b0cf3){const _0x145403=a35_0x5398c3;if(_0x24cbc9){const _0x4a0e09=this[_0x145403(0x1e5)][_0x145403(0x1dc)](_0x24cbc9);if(!_0x4a0e09||!_0x4a0e09[_0x145403(0x1dd)])return;let _0x32db43;switch(_0x4a0e09[_0x145403(0x1dd)][_0x145403(0x1e9)]){case 0x1:_0x32db43=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)][_0x145403(0x1e6)](),_0x24cbc9,_0x1b0cf3);break;case 0x2:_0x32db43=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)]['getLineTempLayer'](),_0x24cbc9,_0x1b0cf3);break;case 0x3:_0x32db43=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e0)](),_0x24cbc9,_0x1b0cf3);break;default:break;}return _0x32db43;}else{const _0x511db0=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e6)](),_0x24cbc9,_0x1b0cf3),_0x3e955b=this[_0x145403(0x1d6)](this[_0x145403(0x1e5)]['getLineTempLayer'](),_0x24cbc9,_0x1b0cf3),_0x5bd9e3=this[_0x145403(0x1d6)](this['map'][_0x145403(0x1e0)](),_0x24cbc9,_0x1b0cf3);let _0x4b2f06=[];return _0x511db0&&(_0x4b2f06=[..._0x4b2f06,..._0x511db0]),_0x3e955b&&(_0x4b2f06=[..._0x4b2f06,..._0x3e955b]),_0x5bd9e3&&(_0x4b2f06=[..._0x4b2f06,..._0x5bd9e3]),_0x4b2f06;}}[a35_0x5398c3(0x1d6)](_0xe14140,_0x1d6854,_0x50b322){const _0x582946=a35_0x5398c3;var _0x140904;let _0x520769=(_0x140904=_0xe14140[_0x582946(0x1f0)]())===null||_0x140904===void 0x0?void 0x0:_0x140904[_0x582946(0x1d9)]();if(!_0x520769)return;_0x520769['forEach']((_0x47a255,_0x480dfb,_0x50d730)=>{const _0x2af672=_0x582946;_0x47a255[_0x2af672(0x1ea)]=_0xe14140;});_0x50b322!=undefined&&(_0x520769=_0x520769[_0x582946(0x1da)](_0x3ad292=>_0x3ad292[_0x582946(0x1ec)]==_0x50b322));if(_0x1d6854)return _0x520769['filter'](_0x27aa67=>_0x27aa67[_0x582946(0x1f3)]==_0x1d6854);return _0x520769;}[a35_0x5398c3(0x1e7)](_0x1869e6,_0x3a6882=0x3){const _0x5135f2=a35_0x5398c3;var _0x1abfde;let _0x4d5b7c=new a35_0x5207c1({'zIndex':0x270f,'source':new a35_0x3d7761()});_0x4d5b7c['id']='flash_layer',this[_0x5135f2(0x1e5)]['addLayer'](_0x4d5b7c,![]),(_0x1abfde=_0x4d5b7c['getSource']())===null||_0x1abfde===void 0x0?void 0x0:_0x1abfde[_0x5135f2(0x1d2)](_0x1869e6);let _0x253580=0x0,_0x30970b=setInterval(()=>{const _0x14bca0=_0x5135f2;if(_0x253580===_0x3a6882){_0x30970b&&clearInterval(_0x30970b);const _0x35ef02=this[_0x14bca0(0x1e5)][_0x14bca0(0x1dc)](_0x4d5b7c['id']);_0x35ef02&&this[_0x14bca0(0x1e5)][_0x14bca0(0x1d4)](_0x35ef02);return;}if(_0x4d5b7c[_0x14bca0(0x1f8)]())_0x4d5b7c[_0x14bca0(0x1e3)](![]);else _0x4d5b7c[_0x14bca0(0x1e3)](!![]);_0x253580++;},0x190);}[a35_0x5398c3(0x1df)](_0x581ce7,_0x32ef35=0x3){const _0x17e7bb=a35_0x5398c3;var _0x59a1a2;let _0x2c6247=new a35_0x5207c1({'zIndex':0x270f,'source':new a35_0x3d7761()});_0x2c6247['id']=_0x17e7bb(0x1d3),this[_0x17e7bb(0x1e5)][_0x17e7bb(0x1d0)](_0x2c6247,![]);let _0x25831a=[];_0x581ce7[_0x17e7bb(0x1db)](_0x4bcc71=>{const _0xfc0660=_0x17e7bb;let _0x3a5ae3=new a35_0x542d8b();const _0x86d623=getSelectStyle(_0x4bcc71[_0xfc0660(0x1e8)]());_0x3a5ae3[_0xfc0660(0x1d7)](_0x86d623),_0x3a5ae3[_0xfc0660(0x1e4)](_0x4bcc71),_0x25831a[_0xfc0660(0x1d8)](_0x3a5ae3);}),(_0x59a1a2=_0x2c6247['getSource']())===null||_0x59a1a2===void 0x0?void 0x0:_0x59a1a2['addFeatures'](_0x25831a);let _0x3358cd=0x0,_0xc75d85=setInterval(()=>{const _0x1cc73a=_0x17e7bb;if(_0x3358cd===_0x32ef35){_0xc75d85&&clearInterval(_0xc75d85);const _0x3bf791=this[_0x1cc73a(0x1e5)][_0x1cc73a(0x1dc)](_0x2c6247['id']);_0x3bf791&&this[_0x1cc73a(0x1e5)][_0x1cc73a(0x1d4)](_0x3bf791);return;}if(_0x2c6247['getVisible']())_0x2c6247[_0x1cc73a(0x1e3)](![]);else _0x2c6247[_0x1cc73a(0x1e3)](!![]);_0x3358cd++;},0x190);}async[a35_0x5398c3(0x1ef)](_0x45c83b){const _0x5aaecc=a35_0x5398c3;let _0x9c3254=await toGeoJSON(_0x45c83b,null);if(!_0x9c3254)return[];let _0xe58ffc=[];var _0x5c1339=new a35_0x3f82d7();return _0x9c3254[_0x5aaecc(0x1e2)][_0x5aaecc(0x1db)](_0x5a960d=>{const _0x814a0=_0x5aaecc;_0xe58ffc[_0x814a0(0x1d8)](_0x5c1339[_0x814a0(0x1f7)](_0x5a960d,null));}),_0xe58ffc;}['clearTempFeatures'](_0x1433bc){const _0x6ca4d4=a35_0x5398c3,_0x2474d6=this[_0x6ca4d4(0x1f4)]();if(_0x2474d6&&_0x2474d6['length']>0x0)for(const _0x47ba93 of _0x2474d6){if(_0x47ba93&&_0x47ba93[_0x6ca4d4(0x1ea)]){const _0x2285fe=_0x47ba93[_0x6ca4d4(0x1ea)][_0x6ca4d4(0x1f0)]();_0x2285fe&&(_0x1433bc!=undefined?_0x47ba93[_0x6ca4d4(0x1d1)]==_0x1433bc&&_0x2285fe[_0x6ca4d4(0x1ee)](_0x47ba93):_0x2285fe['removeFeature'](_0x47ba93));}}}}
1
+ const a35_0xf1d5f3=a35_0x1721;(function(_0x940f32,_0x57e823){const _0x3fa656=a35_0x1721,_0x37c8ed=_0x940f32();while(!![]){try{const _0x5b1aec=parseInt(_0x3fa656(0xc3))/0x1+-parseInt(_0x3fa656(0xad))/0x2+-parseInt(_0x3fa656(0xc2))/0x3+parseInt(_0x3fa656(0xaf))/0x4+parseInt(_0x3fa656(0xa8))/0x5*(parseInt(_0x3fa656(0xc1))/0x6)+-parseInt(_0x3fa656(0xa5))/0x7+-parseInt(_0x3fa656(0xc7))/0x8*(parseInt(_0x3fa656(0xbe))/0x9);if(_0x5b1aec===_0x57e823)break;else _0x37c8ed['push'](_0x37c8ed['shift']());}catch(_0x1e4cba){_0x37c8ed['push'](_0x37c8ed['shift']());}}}(a35_0x3977,0xb74c6));import a35_0x1288eb from'../entity/Feature';function a35_0x1721(_0x3bfea0,_0x3c65b1){const _0x3977de=a35_0x3977();return a35_0x1721=function(_0x1721ac,_0x457b67){_0x1721ac=_0x1721ac-0xa3;let _0x2a8e31=_0x3977de[_0x1721ac];return _0x2a8e31;},a35_0x1721(_0x3bfea0,_0x3c65b1);}import a35_0x490d0e from'ol/layer/Vector';import a35_0x2a09bc from'ol/source/Vector';import{toGeoJSON}from'../conver/kml/index';import a35_0x193e97 from'ol/format/GeoJSON';import{getSelectStyle}from'../style/StyleManager';export default class FeatureManager{constructor(_0x4ee178){const _0x563aa6=a35_0x1721;this[_0x563aa6(0xb1)]=_0x4ee178;}[a35_0xf1d5f3(0xb8)](_0x2dae55,_0x2fc868){const _0xff52c3=a35_0xf1d5f3;if(_0x2dae55){const _0x2c1d81=this[_0xff52c3(0xb1)][_0xff52c3(0xbb)](_0x2dae55);if(!_0x2c1d81||!_0x2c1d81[_0xff52c3(0xc4)])return;let _0x2a9d4f;switch(_0x2c1d81[_0xff52c3(0xc4)][_0xff52c3(0xaa)]){case 0x1:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xb3)](),_0x2dae55,_0x2fc868);break;case 0x2:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xc0)](),_0x2dae55,_0x2fc868);break;case 0x3:_0x2a9d4f=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xc9)](),_0x2dae55,_0x2fc868);break;default:break;}return _0x2a9d4f;}else{const _0x3b6324=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)][_0xff52c3(0xb3)](),_0x2dae55,_0x2fc868),_0x4bc91e=this[_0xff52c3(0xb7)](this[_0xff52c3(0xb1)]['getLineTempLayer'](),_0x2dae55,_0x2fc868),_0x2e8e71=this['getTempSelectedFeatures'](this[_0xff52c3(0xb1)][_0xff52c3(0xc9)](),_0x2dae55,_0x2fc868);let _0x54898d=[];return _0x3b6324&&(_0x54898d=[..._0x54898d,..._0x3b6324]),_0x4bc91e&&(_0x54898d=[..._0x54898d,..._0x4bc91e]),_0x2e8e71&&(_0x54898d=[..._0x54898d,..._0x2e8e71]),_0x54898d;}}[a35_0xf1d5f3(0xb7)](_0x2eab25,_0x5976a3,_0x506851){const _0x3915f7=a35_0xf1d5f3;var _0x3ee73d;let _0x3f9a81=(_0x3ee73d=_0x2eab25['getSource']())===null||_0x3ee73d===void 0x0?void 0x0:_0x3ee73d[_0x3915f7(0xa4)]();if(!_0x3f9a81)return;_0x3f9a81[_0x3915f7(0xcb)]((_0x10756d,_0xcefd7e,_0x4944af)=>{_0x10756d['tempLayer']=_0x2eab25;});_0x506851!=undefined&&(_0x3f9a81=_0x3f9a81['filter'](_0x18f151=>_0x18f151[_0x3915f7(0xb5)]==_0x506851));if(_0x5976a3)return _0x3f9a81[_0x3915f7(0xb2)](_0x592578=>_0x592578[_0x3915f7(0xb4)]==_0x5976a3);return _0x3f9a81;}['flashFeatures'](_0xde4042,_0x23f447=0x3){const _0x4c0b64=a35_0xf1d5f3;var _0x3e4ac7;let _0xca1d85=new a35_0x490d0e({'zIndex':0x270f,'source':new a35_0x2a09bc()});_0xca1d85['id']=_0x4c0b64(0xb0),this[_0x4c0b64(0xb1)]['addLayer'](_0xca1d85,![]),(_0x3e4ac7=_0xca1d85[_0x4c0b64(0xb9)]())===null||_0x3e4ac7===void 0x0?void 0x0:_0x3e4ac7[_0x4c0b64(0xa9)](_0xde4042);let _0xf4b18a=0x0,_0x118b73=setInterval(()=>{const _0x2569cb=_0x4c0b64;if(_0xf4b18a===_0x23f447){_0x118b73&&clearInterval(_0x118b73);const _0x26437d=this['map'][_0x2569cb(0xbb)](_0xca1d85['id']);_0x26437d&&this['map'][_0x2569cb(0xb6)](_0x26437d);return;}if(_0xca1d85[_0x2569cb(0xa3)]())_0xca1d85[_0x2569cb(0xac)](![]);else _0xca1d85['setVisible'](!![]);_0xf4b18a++;},0x190);}[a35_0xf1d5f3(0xab)](_0x149481,_0x53667f=0x3){const _0x29fe9b=a35_0xf1d5f3;var _0x3d0c42;let _0x400f1e=new a35_0x490d0e({'zIndex':0x270f,'source':new a35_0x2a09bc()});_0x400f1e['id']=_0x29fe9b(0xb0),this[_0x29fe9b(0xb1)][_0x29fe9b(0xcc)](_0x400f1e,![]);let _0x14dfff=[];_0x149481[_0x29fe9b(0xcb)](_0x31018b=>{const _0x391fcd=_0x29fe9b;let _0x1deb05=new a35_0x1288eb();const _0x77e795=getSelectStyle(_0x31018b[_0x391fcd(0xc5)]());_0x1deb05[_0x391fcd(0xbf)](_0x77e795),_0x1deb05[_0x391fcd(0xc8)](_0x31018b),_0x14dfff['push'](_0x1deb05);}),(_0x3d0c42=_0x400f1e[_0x29fe9b(0xb9)]())===null||_0x3d0c42===void 0x0?void 0x0:_0x3d0c42[_0x29fe9b(0xa9)](_0x14dfff);let _0x26f4f9=0x0,_0x4fed0f=setInterval(()=>{const _0x1182f0=_0x29fe9b;if(_0x26f4f9===_0x53667f){_0x4fed0f&&clearInterval(_0x4fed0f);const _0xa37126=this['map'][_0x1182f0(0xbb)](_0x400f1e['id']);_0xa37126&&this['map']['removeLayer'](_0xa37126);return;}if(_0x400f1e[_0x1182f0(0xa3)]())_0x400f1e[_0x1182f0(0xac)](![]);else _0x400f1e[_0x1182f0(0xac)](!![]);_0x26f4f9++;},0x190);}async[a35_0xf1d5f3(0xae)](_0x349824){const _0x14765e=a35_0xf1d5f3;let _0x25f573=await toGeoJSON(_0x349824,null);if(!_0x25f573)return[];let _0xfb5d07=[];var _0x510175=new a35_0x193e97();return _0x25f573[_0x14765e(0xbc)][_0x14765e(0xcb)](_0x1a3ad0=>{const _0xf3f33f=_0x14765e;_0xfb5d07[_0xf3f33f(0xca)](_0x510175['readFeature'](_0x1a3ad0,null));}),_0xfb5d07;}[a35_0xf1d5f3(0xbd)](_0x112089){const _0x2e5607=a35_0xf1d5f3,_0x7c3b42=this[_0x2e5607(0xb8)]();if(_0x7c3b42&&_0x7c3b42[_0x2e5607(0xc6)]>0x0)for(const _0x8c3d33 of _0x7c3b42){if(_0x8c3d33&&_0x8c3d33[_0x2e5607(0xa6)]){const _0x1df6fb=_0x8c3d33['tempLayer'][_0x2e5607(0xb9)]();_0x1df6fb&&(_0x112089!=undefined?_0x8c3d33[_0x2e5607(0xba)]==_0x112089&&_0x1df6fb[_0x2e5607(0xa7)](_0x8c3d33):_0x1df6fb['removeFeature'](_0x8c3d33));}}}}function a35_0x3977(){const _0x5dd47b=['setVisible','372870eWcJux','kmlImport','2481964dualXH','flash_layer','map','filter','getPointTempLayer','layerId','isSelected','removeLayer','getTempSelectedFeatures','getSelectedFeatures','getSource','tag','getLayerById','features','clearTempFeatures','1962EybHqv','setStyle','getLineTempLayer','51396pFiDgC','126762XKDNce','1309831TuxXbv','layerInfo','getType','length','84944oYIFEv','setGeometry','getPolygonTempLayer','push','forEach','addLayer','getVisible','getFeatures','106715QeJFIK','tempLayer','removeFeature','805vnZBmd','addFeatures','geometryType','flashGeometrys'];a35_0x3977=function(){return _0x5dd47b;};return a35_0x3977();}
package/index.js CHANGED
@@ -1 +1 @@
1
- function a36_0x1cff(){var _0x2b47b8=['5325294kgOQDK','14809392HolPzq','700329cKyDQa','6832644pQXgUj','85FXSanU','1500960LSCtEa','34450KnfuEm','167588LypLzc'];a36_0x1cff=function(){return _0x2b47b8;};return a36_0x1cff();}(function(_0x57cd91,_0x4b3b2f){var _0x51691d=a36_0x2aa8,_0xf82019=_0x57cd91();while(!![]){try{var _0x48f1c4=parseInt(_0x51691d(0xea))/0x1+-parseInt(_0x51691d(0xe9))/0x2+parseInt(_0x51691d(0xe6))/0x3+parseInt(_0x51691d(0xeb))/0x4*(-parseInt(_0x51691d(0xe8))/0x5)+parseInt(_0x51691d(0xec))/0x6+-parseInt(_0x51691d(0xe7))/0x7+parseInt(_0x51691d(0xe5))/0x8;if(_0x48f1c4===_0x4b3b2f)break;else _0xf82019['push'](_0xf82019['shift']());}catch(_0x564aa9){_0xf82019['push'](_0xf82019['shift']());}}}(a36_0x1cff,0x8a9f3));import a36_0x463588 from'./mapView/Map';function a36_0x2aa8(_0x19b650,_0x26b29f){var _0x1cffe2=a36_0x1cff();return a36_0x2aa8=function(_0x2aa8e8,_0x70ee){_0x2aa8e8=_0x2aa8e8-0xe5;var _0x455004=_0x1cffe2[_0x2aa8e8];return _0x455004;},a36_0x2aa8(_0x19b650,_0x26b29f);}export{a36_0x463588 as Map2D};
1
+ function a36_0x4927(_0x1822fc,_0x1dbd15){var _0x5e2f7a=a36_0x5e2f();return a36_0x4927=function(_0x4927df,_0x270b52){_0x4927df=_0x4927df-0x18b;var _0x29f6dd=_0x5e2f7a[_0x4927df];return _0x29f6dd;},a36_0x4927(_0x1822fc,_0x1dbd15);}(function(_0x4c3c49,_0x4017a3){var _0x12b77b=a36_0x4927,_0x19a8d8=_0x4c3c49();while(!![]){try{var _0x291c1a=-parseInt(_0x12b77b(0x193))/0x1+-parseInt(_0x12b77b(0x192))/0x2+-parseInt(_0x12b77b(0x190))/0x3*(-parseInt(_0x12b77b(0x195))/0x4)+parseInt(_0x12b77b(0x194))/0x5*(-parseInt(_0x12b77b(0x18c))/0x6)+-parseInt(_0x12b77b(0x18f))/0x7+parseInt(_0x12b77b(0x18b))/0x8*(-parseInt(_0x12b77b(0x18e))/0x9)+-parseInt(_0x12b77b(0x18d))/0xa*(-parseInt(_0x12b77b(0x191))/0xb);if(_0x291c1a===_0x4017a3)break;else _0x19a8d8['push'](_0x19a8d8['shift']());}catch(_0x925f44){_0x19a8d8['push'](_0x19a8d8['shift']());}}}(a36_0x5e2f,0xd1f30));import a36_0x5f4948 from'./mapView/Map';export{a36_0x5f4948 as Map2D};function a36_0x5e2f(){var _0x4b7773=['550810DtGzzm','3330ILaLki','59828OIfSPc','824MKcLlT','1782WDJZzJ','145420tqYZcg','129879EXlmWT','6851012ejWfYT','201VKBhUi','2827SiDYOS','1331480SZWfmw'];a36_0x5e2f=function(){return _0x4b7773;};return a36_0x5e2f();}
@@ -1 +1 @@
1
- const a37_0x5625a2=a37_0x7101;(function(_0x2a3406,_0x5e8467){const _0x5d229c=a37_0x7101,_0x3a63fa=_0x2a3406();while(!![]){try{const _0x5d44f1=parseInt(_0x5d229c(0xe7))/0x1*(parseInt(_0x5d229c(0xf8))/0x2)+parseInt(_0x5d229c(0x139))/0x3*(parseInt(_0x5d229c(0xed))/0x4)+-parseInt(_0x5d229c(0x11d))/0x5+-parseInt(_0x5d229c(0xde))/0x6+-parseInt(_0x5d229c(0x12d))/0x7*(parseInt(_0x5d229c(0xfe))/0x8)+parseInt(_0x5d229c(0xf4))/0x9*(-parseInt(_0x5d229c(0x104))/0xa)+parseInt(_0x5d229c(0x10c))/0xb;if(_0x5d44f1===_0x5e8467)break;else _0x3a63fa['push'](_0x3a63fa['shift']());}catch(_0x53c608){_0x3a63fa['push'](_0x3a63fa['shift']());}}}(a37_0x279d,0x5230c));import a37_0xda870d from'ol/events/Event';import a37_0x5356e1 from'ol/interaction/Pointer';import{MultiPoint,Point}from'ol/geom';import a37_0x24c430 from'ol/Feature';function a37_0x7101(_0x57577a,_0x5bf70c){const _0x279dd5=a37_0x279d();return a37_0x7101=function(_0x71012a,_0x4706f2){_0x71012a=_0x71012a-0xdc;let _0x42b6c2=_0x279dd5[_0x71012a];return _0x42b6c2;},a37_0x7101(_0x57577a,_0x5bf70c);}import a37_0x25332b,{createEditingStyle}from'ol/style/Style';import a37_0x31e6cd from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x3b08cc from'ol/style/Text';import a37_0xfbde93 from'ol/style/Fill';import a37_0x1aa277 from'ol/interaction/Property';import a37_0x33096e from'ol/layer/Vector';import a37_0x448fa0 from'../entity/GeometryType';function a37_0x279d(){const _0x254816=['298960OZoHXM','_tipStyle','drawaddpoint','_minPoints','once','_type','updateTip_','Ellipsoid','10184515lOtaZz','sqrt','DRAWSTART','minPoint','单击开始绘制','_isStayDraw','addPoint','getCode','_sketchFeature','12px\x20Calibre,sans-serif','Rectangle','createMultiPointFeature','DRAWADDPOINT','_tipFeature','button','单击增加点,右击删除点','point','1135850TSNZaT','abortDrawing_','stopDown','handleUpEvent','_overlay','length','getMap','snapTolerance','coordinates','revert','getOverlay','buildDrawingFeature','updateState_','atFinish_','Ellipse','setMap','10640hXoZje','source','onceInternal','fixPoint','left','rgba(0,\x200,\x200,\x200.4)','abortDrawing','pop','getType','preventDefault','_style','wrapX','1065eAisnN','单击结束绘制,右击删除点','feature','_drawingCoordinates','addChangeListener','updateSketchFeatures_','_source','DRAWMOVING','clear','_snapTolerance','单击拖动绘制','showTip','unInternal','2113746AOgKzi','finishDrawing','handleMoveEvent','MAX_VALUE','tipText','addFeature','type','drawabort','DRAWEND','263379PSPjHc','projection','handleDownEvent','getView','drawmoving','slice','5212RnAZjG','Circle','handleDragEvent','coordinate','rgba(255,\x20255,\x20255,\x201)','originalEvent','getProjection','54PWPHRI','rectangle','setStyle','_features','2iqDevA','DRAWABORT','getSource','dispatchEvent','_fixPoint','_tipOverlay','2928Dhzvim','indexOf','getActive','startDrawing_','push','setGeometry'];a37_0x279d=function(){return _0x254816;};return a37_0x279d();}const DrawEventType={'DRAWSTART':'drawstart','DRAWEND':'drawend','DRAWABORT':a37_0x5625a2(0xe5),'DRAWADDPOINT':a37_0x5625a2(0x106),'DRAWMOVING':a37_0x5625a2(0xeb)};export class DrawEvent extends a37_0xda870d{constructor(_0x3ae8a9,_0x461a69,_0x20b5a2){const _0x45b109=a37_0x5625a2;super(_0x3ae8a9),this[_0x45b109(0x13b)]=_0x461a69,this['coordinates']=_0x20b5a2;}}export class ShEvent extends a37_0xda870d{constructor(_0x343856,_0x5ca3ff,_0x576069,_0xedc33e,_0x5e38f8){const _0x5e36d2=a37_0x5625a2;super(_0x343856),this[_0x5e36d2(0xe8)]=_0x5e38f8,this[_0x5e36d2(0xe4)]=_0x5ca3ff,this[_0x5e36d2(0xf0)]=_0x576069,this[_0x5e36d2(0x125)]=_0xedc33e;}}export default class Draw extends a37_0x5356e1{constructor(_0x106743,_0x4d2c16){const _0x5b913c=a37_0x5625a2,_0x55534b=_0x4d2c16?_0x4d2c16:{};!_0x55534b[_0x5b913c(0x11f)]&&(_0x55534b[_0x5b913c(0x11f)]=![]);super(_0x4d2c16),this['on']=this['onInternal'],this[_0x5b913c(0x108)]=this[_0x5b913c(0x12f)],this['un']=this[_0x5b913c(0xdd)],this['_isStayDraw']=![],this[_0x5b913c(0x109)]=_0x106743,this['_style']=_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16['style'],this['_source']=_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16[_0x5b913c(0x12e)],this[_0x5b913c(0xf7)]=_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16['features'];const _0x3e72b0=getPlotCount(this[_0x5b913c(0x109)]);this[_0x5b913c(0x107)]=_0x3e72b0[_0x5b913c(0x10f)],this[_0x5b913c(0xfc)]=_0x3e72b0[_0x5b913c(0x130)],this[_0x5b913c(0xe2)]=_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16[_0x5b913c(0xe2)],this['_showTip']=(_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16[_0x5b913c(0xdc)])==![]?![]:!![],this[_0x5b913c(0x142)]=_0x55534b[_0x5b913c(0x124)]?_0x55534b[_0x5b913c(0x124)]:0x6,this[_0x5b913c(0x119)]=new a37_0x24c430(),this[_0x5b913c(0x105)]=new a37_0x25332b({'text':new a37_0x3b08cc({'font':_0x5b913c(0x115),'fill':new a37_0xfbde93({'color':_0x5b913c(0xf1)}),'backgroundFill':new a37_0xfbde93({'color':_0x5b913c(0x132)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0x5b913c(0x131),'offsetX':0xf})}),this[_0x5b913c(0x13c)]=[],this[_0x5b913c(0xfd)]=new a37_0x33096e({'source':new a37_0x31e6cd({'useSpatialIndex':![],'wrapX':(_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16[_0x5b913c(0x138)])?_0x4d2c16[_0x5b913c(0x138)]:![]})}),this[_0x5b913c(0x121)]=new a37_0x33096e({'source':new a37_0x31e6cd({'useSpatialIndex':![],'wrapX':(_0x4d2c16===null||_0x4d2c16===void 0x0?void 0x0:_0x4d2c16[_0x5b913c(0x138)])?_0x4d2c16[_0x5b913c(0x138)]:![]}),'updateWhileInteracting':!![]}),this[_0x5b913c(0x13d)](a37_0x1aa277['ACTIVE'],this[_0x5b913c(0x129)]);}[a37_0x5625a2(0x129)](){const _0x370426=a37_0x5625a2,_0x2ebf6a=this[_0x370426(0x123)](),_0x38b6c1=this[_0x370426(0x100)]();(!_0x2ebf6a||!_0x38b6c1)&&this['abortDrawing'](),this[_0x370426(0x121)][_0x370426(0x12c)](_0x38b6c1?_0x2ebf6a:null),this['_tipOverlay'][_0x370426(0x12c)](_0x38b6c1?_0x2ebf6a:null);}[a37_0x5625a2(0x12c)](_0x124cd9){const _0xebec7c=a37_0x5625a2;super[_0xebec7c(0x12c)](_0x124cd9),this[_0xebec7c(0x129)]();}[a37_0x5625a2(0xf6)](_0x302886){const _0x430aaa=a37_0x5625a2;this[_0x430aaa(0x137)]=_0x302886?_0x302886:{};}[a37_0x5625a2(0x127)](){const _0x9f85f6=a37_0x5625a2;return this[_0x9f85f6(0x121)];}[a37_0x5625a2(0xe9)](_0x1f1b03){const _0x16d411=a37_0x5625a2;if(_0x1f1b03['originalEvent'][_0x16d411(0x11a)]===0x2)return _0x1f1b03[_0x16d411(0xf2)]['preventDefault'](),this['revert'](),this[_0x16d411(0xe0)](_0x1f1b03),![];return!![];}[a37_0x5625a2(0x120)](_0x1fe5b8){const _0x504db5=a37_0x5625a2;var _0x531906,_0x451f01;if(this[_0x504db5(0x109)]==_0x504db5(0xf5)&&this['_drawingCoordinates'][_0x504db5(0x122)]<0x1)return this['dispatchEvent'](new DrawEvent(DrawEventType[_0x504db5(0xe6)],undefined,[_0x1fe5b8[_0x504db5(0xf0)]])),![];if(!this[_0x504db5(0x111)])this[_0x504db5(0x101)](_0x1fe5b8[_0x504db5(0xf0)]),this[_0x504db5(0xfb)](new ShEvent(DrawEventType[_0x504db5(0x118)],this['_type'],_0x1fe5b8[_0x504db5(0xf0)],this[_0x504db5(0x13c)],(_0x531906=this[_0x504db5(0x123)]())===null||_0x531906===void 0x0?void 0x0:_0x531906[_0x504db5(0xea)]()[_0x504db5(0xf3)]()[_0x504db5(0x113)]())),this['_type']==_0x504db5(0x11c)&&this['finishDrawing']();else{if(this[_0x504db5(0x13c)]&&this['_drawingCoordinates'][_0x504db5(0x122)]>0x0){if(this[_0x504db5(0x12a)](_0x1fe5b8['pixel']))return this[_0x504db5(0xdf)](),_0x1fe5b8[_0x504db5(0x136)](),![];let _0x5693fc=this[_0x504db5(0x13c)][_0x504db5(0x122)]+0x1;_0x5693fc<=this[_0x504db5(0xfc)]&&this[_0x504db5(0x112)](_0x1fe5b8['coordinate']),this[_0x504db5(0xfb)](new ShEvent(DrawEventType[_0x504db5(0x118)],this[_0x504db5(0x109)],_0x1fe5b8[_0x504db5(0xf0)],this['_drawingCoordinates'],(_0x451f01=this[_0x504db5(0x123)]())===null||_0x451f01===void 0x0?void 0x0:_0x451f01[_0x504db5(0xea)]()['getProjection']()['getCode']())),_0x5693fc>=this[_0x504db5(0x107)]&&this['buildDrawingFeature'](this[_0x504db5(0x13c)]),_0x5693fc===this[_0x504db5(0xfc)]&&this[_0x504db5(0xdf)]();}}return _0x1fe5b8['preventDefault'](),![];}[a37_0x5625a2(0xef)](_0x403204){const _0x4a3fbf=a37_0x5625a2;var _0x178cd7;if(this['_type']==_0x4a3fbf(0xf5)&&_0x403204['originalEvent'][_0x4a3fbf(0xe4)]=='pointermove'){if(!this[_0x4a3fbf(0x111)]){this[_0x4a3fbf(0x101)](_0x403204[_0x4a3fbf(0xf0)]),this[_0x4a3fbf(0xfb)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x4a3fbf(0x109)],_0x403204[_0x4a3fbf(0xf0)],this[_0x4a3fbf(0x13c)],(_0x178cd7=this[_0x4a3fbf(0x123)]())===null||_0x178cd7===void 0x0?void 0x0:_0x178cd7[_0x4a3fbf(0xea)]()[_0x4a3fbf(0xf3)]()[_0x4a3fbf(0x113)]()));return;}let _0x3abf3a=[...this['_drawingCoordinates'],_0x403204['coordinate']];this[_0x4a3fbf(0x128)](_0x3abf3a),this[_0x4a3fbf(0xfb)](new DrawEvent(DrawEventType[_0x4a3fbf(0x140)],this[_0x4a3fbf(0x114)],this[_0x4a3fbf(0x13c)]));}}[a37_0x5625a2(0xe0)](_0x3ba586){const _0x3b340c=a37_0x5625a2;var _0x4ed211,_0x133603,_0x120919;let _0x14f128='';this['_type']=='pointermove'&&(this[_0x3b340c(0x101)](_0x3ba586[_0x3b340c(0xf0)]),this[_0x3b340c(0xfb)](new ShEvent(DrawEventType[_0x3b340c(0x118)],this[_0x3b340c(0x109)],_0x3ba586[_0x3b340c(0xf0)],this[_0x3b340c(0x13c)],(_0x4ed211=this[_0x3b340c(0x123)]())===null||_0x4ed211===void 0x0?void 0x0:_0x4ed211['getView']()[_0x3b340c(0xf3)]()['getCode']())),this[_0x3b340c(0xdf)]());!this['_isStayDraw']?_0x14f128=this[_0x3b340c(0x109)]==_0x3b340c(0xf5)?_0x3b340c(0x143):_0x3b340c(0x110):(_0x14f128=_0x3b340c(0x11b),((_0x133603=this[_0x3b340c(0x13c)])===null||_0x133603===void 0x0?void 0x0:_0x133603[_0x3b340c(0x122)])===this[_0x3b340c(0xfc)]-0x1&&(_0x14f128=_0x3b340c(0x13a)),((_0x120919=this[_0x3b340c(0x13c)])===null||_0x120919===void 0x0?void 0x0:_0x120919['length'])>=this['_minPoints']&&this['_fixPoint']===Number['MAX_VALUE']&&(_0x14f128='单击增加点,右击删除点双击完成绘制'));this[_0x3b340c(0xe2)]!=undefined&&(_0x14f128=this[_0x3b340c(0xe2)]);this[_0x3b340c(0x10a)](_0x3ba586[_0x3b340c(0xf0)],_0x14f128);if(this['_isStayDraw']&&this[_0x3b340c(0x109)]!='rectangle'){let _0x36ad7a=[...this['_drawingCoordinates'],_0x3ba586[_0x3b340c(0xf0)]];this[_0x3b340c(0x128)](_0x36ad7a),this[_0x3b340c(0xfb)](new DrawEvent(DrawEventType[_0x3b340c(0x140)],this[_0x3b340c(0x114)],this[_0x3b340c(0x13c)]));}}[a37_0x5625a2(0x12a)](_0x2179e9){const _0x273ac6=a37_0x5625a2;var _0x10cad1;let _0x1a7d37=![],_0x331fbe=this[_0x273ac6(0x13c)][_0x273ac6(0x122)];if(_0x331fbe>this[_0x273ac6(0x107)]&&this['_fixPoint']===Number[_0x273ac6(0xe1)]){const _0x8f8398=this['_drawingCoordinates'][this['_drawingCoordinates']['length']-0x1],_0x21ab0f=(_0x10cad1=this['getMap']())===null||_0x10cad1===void 0x0?void 0x0:_0x10cad1['getPixelFromCoordinate'](_0x8f8398),_0x5009b0=_0x2179e9[0x0]-(_0x21ab0f?_0x21ab0f[0x0]:0x0),_0xb1b47c=_0x2179e9[0x1]-(_0x21ab0f?_0x21ab0f[0x1]:0x0);_0x1a7d37=Math[_0x273ac6(0x10d)](_0x5009b0*_0x5009b0+_0xb1b47c*_0xb1b47c)<=this[_0x273ac6(0x142)];}return _0x1a7d37;}[a37_0x5625a2(0x101)](_0x55239b){const _0x1fb7d5=a37_0x5625a2;this[_0x1fb7d5(0x111)]=!![],this[_0x1fb7d5(0x13c)]=[_0x55239b[_0x1fb7d5(0xec)]()],this[_0x1fb7d5(0x114)]=this['createMultiPointFeature'](),this[_0x1fb7d5(0x13e)](),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x1fb7d5(0x10e)],this[_0x1fb7d5(0x114)],this[_0x1fb7d5(0x13c)]));}[a37_0x5625a2(0xdf)](){const _0x5be700=a37_0x5625a2;if(this['_drawingCoordinates'][_0x5be700(0x122)]>this[_0x5be700(0x107)]){this['buildDrawingFeature'](this[_0x5be700(0x13c)]);let _0x189e8b=this[_0x5be700(0x13c)];const _0x560f61=this[_0x5be700(0x11e)]();if(!_0x560f61)return;this['dispatchEvent'](new DrawEvent(DrawEventType[_0x5be700(0xe6)],_0x560f61,_0x189e8b)),this['_features']&&this['_features']['push'](_0x560f61),this[_0x5be700(0x13f)]&&this['_source']['addFeature'](_0x560f61);}}[a37_0x5625a2(0x112)](_0x16c879){const _0x23e12=a37_0x5625a2;this['_drawingCoordinates'][_0x23e12(0x102)](_0x16c879),this[_0x23e12(0x114)]=this[_0x23e12(0x117)](),this[_0x23e12(0x13e)]();}[a37_0x5625a2(0x117)](){const _0x281a75=a37_0x5625a2,_0x28b022=new MultiPoint(this[_0x281a75(0x13c)]);let _0x19968e=new a37_0x24c430();return _0x19968e[_0x281a75(0x103)](_0x28b022),_0x19968e;}[a37_0x5625a2(0x11e)](){const _0xd073e6=a37_0x5625a2;var _0x1d9030,_0x2a18ea;this[_0xd073e6(0x111)]=![];const _0x434393=this['_sketchFeature'];return this[_0xd073e6(0x114)]=undefined,this[_0xd073e6(0x13c)]=[],(_0x1d9030=this[_0xd073e6(0x121)][_0xd073e6(0xfa)]())===null||_0x1d9030===void 0x0?void 0x0:_0x1d9030[_0xd073e6(0x141)](!![]),(_0x2a18ea=this[_0xd073e6(0xfd)]['getSource']())===null||_0x2a18ea===void 0x0?void 0x0:_0x2a18ea[_0xd073e6(0x141)](!![]),_0x434393;}[a37_0x5625a2(0x133)](){const _0x329421=a37_0x5625a2,_0x1044ad=this['abortDrawing_']();_0x1044ad&&this[_0x329421(0xfb)](new DrawEvent(DrawEventType[_0x329421(0xf9)],_0x1044ad,this[_0x329421(0x13c)]));}[a37_0x5625a2(0x128)](_0x2da9d7){const _0x575d65=a37_0x5625a2;this[_0x575d65(0x114)]=new a37_0x24c430();let _0x3d0bb6=createPlot(this[_0x575d65(0x109)],_0x2da9d7);if(!_0x3d0bb6)return;this[_0x575d65(0x114)][_0x575d65(0x103)](_0x3d0bb6);let _0x2351f3=[a37_0x448fa0[_0x575d65(0xee)],a37_0x448fa0[_0x575d65(0x10b)],a37_0x448fa0[_0x575d65(0x12b)]];if(_0x2351f3[_0x575d65(0xff)](this['_type'])>-0x1&&this[_0x575d65(0x137)]){}const _0x113acb=this[_0x575d65(0x123)]();this[_0x575d65(0x114)]['setStyle'](getStyle(this[_0x575d65(0x109)],this[_0x575d65(0x137)],this[_0x575d65(0x123)]())),this[_0x575d65(0x13e)]();}[a37_0x5625a2(0x13e)](){const _0x47587f=a37_0x5625a2,_0x52cd84=this[_0x47587f(0x121)]['getSource']();_0x52cd84&&this[_0x47587f(0x114)]&&(_0x52cd84[_0x47587f(0x141)](!![]),_0x52cd84[_0x47587f(0xe3)](this['_sketchFeature']));}[a37_0x5625a2(0x126)](){const _0x235c38=a37_0x5625a2;if(this[_0x235c38(0x111)]){if(this[_0x235c38(0x13c)]&&this[_0x235c38(0x13c)][_0x235c38(0x122)]>0x0){const _0xbf5e19=this[_0x235c38(0x121)]['getSource']();_0xbf5e19===null||_0xbf5e19===void 0x0?void 0x0:_0xbf5e19[_0x235c38(0x141)](!![]),this[_0x235c38(0x13c)][_0x235c38(0x134)](),this[_0x235c38(0x13c)][_0x235c38(0x122)]>=this[_0x235c38(0x107)]&&this[_0x235c38(0x128)](this[_0x235c38(0x13c)]),this['_drawingCoordinates']['length']===0x0&&(this['_isStayDraw']=![]);}}}[a37_0x5625a2(0x10a)](_0x28e31c,_0x584375){const _0x383d26=a37_0x5625a2;var _0x2411fb,_0x18a3ed,_0x45a260,_0x7602ff;if(!this['_showTip'])return;const _0x402e81=this[_0x383d26(0xfd)][_0x383d26(0xfa)]();_0x402e81===null||_0x402e81===void 0x0?void 0x0:_0x402e81[_0x383d26(0x141)](!![]),(_0x2411fb=this['_tipFeature'])===null||_0x2411fb===void 0x0?void 0x0:_0x2411fb['setGeometry'](new Point(_0x28e31c)),(_0x45a260=(_0x18a3ed=this[_0x383d26(0x105)])===null||_0x18a3ed===void 0x0?void 0x0:_0x18a3ed['getText']())===null||_0x45a260===void 0x0?void 0x0:_0x45a260['setText'](_0x584375),(_0x7602ff=this[_0x383d26(0x119)])===null||_0x7602ff===void 0x0?void 0x0:_0x7602ff['setStyle'](this[_0x383d26(0x105)]),this[_0x383d26(0x119)]&&(_0x402e81===null||_0x402e81===void 0x0?void 0x0:_0x402e81[_0x383d26(0xe3)](this[_0x383d26(0x119)]));}}function getDefaultStyleFunction(){const _0x4306d9=createEditingStyle();return function(_0x249a66,_0x1f01ac){const _0x47265d=a37_0x7101,_0x11af7f=_0x4306d9[_0x249a66['getGeometry']()[_0x47265d(0x135)]()];if(_0x11af7f&&_0x47265d(0x116)==_0x249a66['getGeometry']()[_0x47265d(0x135)]()){}};}
1
+ const a37_0x2d6008=a37_0x3ff7;function a37_0x1b64(){const _0x44db=['getActive','_snapTolerance','features','_overlay','updateState_','preventDefault','12px\x20Calibre,sans-serif','968qGurlt','getText','slice','setMap','358750mnrXsd','Ellipse','drawmoving','DRAWABORT','pixel','rgba(0,\x200,\x200,\x200.4)','push','drawabort','_type','DRAWEND','setText','startDrawing_','单击结束绘制,右击删除点','getSource','addFeature','dispatchEvent','onInternal','handleMoveEvent','tipText','drawend','snapTolerance','revert','abortDrawing','once','getOverlay','addChangeListener','rectangle','_source','type','updateTip_','单击拖动绘制','fixPoint','atFinish_','MAX_VALUE','getType','_showTip','originalEvent','finishDrawing','abortDrawing_','source','890262PQLJXd','单击增加点,右击删除点','_drawingCoordinates','length','_features','unInternal','_minPoints','getCode','170wjqJXR','getPixelFromCoordinate','setGeometry','sqrt','getProjection','left','clear','setStyle','3110iHmllc','feature','DRAWADDPOINT','coordinates','1557531fYUnbc','drawstart','createMultiPointFeature','stopDown','getMap','单击增加点,右击删除点双击完成绘制','_tipOverlay','DRAWMOVING','getView','_tipFeature','showTip','wrapX','_isStayDraw','addPoint','_fixPoint','updateSketchFeatures_','7JaFdli','button','drawaddpoint','style','getGeometry','_sketchFeature','rgba(255,\x20255,\x20255,\x201)','handleDragEvent','buildDrawingFeature','279433XLeWag','8lkEBJh','projection','Circle','211599CXMutB','pointermove','coordinate','_style','1220580WyhdiC','_tipStyle'];a37_0x1b64=function(){return _0x44db;};return a37_0x1b64();}(function(_0x581212,_0x5d1be1){const _0x339073=a37_0x3ff7,_0x3eb79d=_0x581212();while(!![]){try{const _0x3231da=-parseInt(_0x339073(0x1d4))/0x1+-parseInt(_0x339073(0x1e5))/0x2+parseInt(_0x339073(0x20d))/0x3+-parseInt(_0x339073(0x1e1))/0x4*(parseInt(_0x339073(0x21d))/0x5)+parseInt(_0x339073(0x1d8))/0x6*(-parseInt(_0x339073(0x1c7))/0x7)+-parseInt(_0x339073(0x1d1))/0x8*(-parseInt(_0x339073(0x1b7))/0x9)+parseInt(_0x339073(0x215))/0xa*(parseInt(_0x339073(0x1d0))/0xb);if(_0x3231da===_0x5d1be1)break;else _0x3eb79d['push'](_0x3eb79d['shift']());}catch(_0x2a85f9){_0x3eb79d['push'](_0x3eb79d['shift']());}}}(a37_0x1b64,0x26440));import a37_0x563ed2 from'ol/events/Event';import a37_0x27fdd2 from'ol/interaction/Pointer';function a37_0x3ff7(_0x32cc39,_0x12246e){const _0x1b64ae=a37_0x1b64();return a37_0x3ff7=function(_0x3ff7e6,_0x2c529e){_0x3ff7e6=_0x3ff7e6-0x1b6;let _0x27f567=_0x1b64ae[_0x3ff7e6];return _0x27f567;},a37_0x3ff7(_0x32cc39,_0x12246e);}import{MultiPoint,Point}from'ol/geom';import a37_0x521d95 from'ol/Feature';import a37_0x14de00,{createEditingStyle}from'ol/style/Style';import a37_0x22848b from'ol/source/Vector';import{getPlotCount,createPlot,getStyle}from'../plot/Plot';import a37_0x4fbff1 from'ol/style/Text';import a37_0x2e3250 from'ol/style/Fill';import a37_0xaad4e3 from'ol/interaction/Property';import a37_0x597c2a from'ol/layer/Vector';import a37_0x5bf60e from'../entity/GeometryType';const DrawEventType={'DRAWSTART':a37_0x2d6008(0x1b8),'DRAWEND':a37_0x2d6008(0x1f8),'DRAWABORT':a37_0x2d6008(0x1ec),'DRAWADDPOINT':a37_0x2d6008(0x1c9),'DRAWMOVING':a37_0x2d6008(0x1e7)};export class DrawEvent extends a37_0x563ed2{constructor(_0x151779,_0xdf5539,_0x3d979b){const _0x1f746c=a37_0x2d6008;super(_0x151779),this[_0x1f746c(0x21e)]=_0xdf5539,this[_0x1f746c(0x1b6)]=_0x3d979b;}}export class ShEvent extends a37_0x563ed2{constructor(_0x355375,_0x1506e0,_0x744bdc,_0x27c5b3,_0x299b0c){const _0x18d712=a37_0x2d6008;super(_0x355375),this[_0x18d712(0x1d2)]=_0x299b0c,this[_0x18d712(0x201)]=_0x1506e0,this[_0x18d712(0x1d6)]=_0x744bdc,this[_0x18d712(0x1b6)]=_0x27c5b3;}}export default class Draw extends a37_0x27fdd2{constructor(_0x1ee312,_0x567af1){const _0xa95d4e=a37_0x2d6008,_0x117c84=_0x567af1?_0x567af1:{};!_0x117c84[_0xa95d4e(0x1ba)]&&(_0x117c84[_0xa95d4e(0x1ba)]=![]);super(_0x567af1),this['on']=this[_0xa95d4e(0x1f5)],this[_0xa95d4e(0x1fc)]=this['onceInternal'],this['un']=this[_0xa95d4e(0x212)],this['_isStayDraw']=![],this[_0xa95d4e(0x1ed)]=_0x1ee312,this['_style']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1ca)],this['_source']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x20c)],this[_0xa95d4e(0x211)]=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1dc)];const _0x35c88b=getPlotCount(this[_0xa95d4e(0x1ed)]);this[_0xa95d4e(0x213)]=_0x35c88b['minPoint'],this['_fixPoint']=_0x35c88b[_0xa95d4e(0x204)],this['tipText']=_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1f7)],this[_0xa95d4e(0x208)]=(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c1)])==![]?![]:!![],this[_0xa95d4e(0x1db)]=_0x117c84[_0xa95d4e(0x1f9)]?_0x117c84[_0xa95d4e(0x1f9)]:0x6,this['_tipFeature']=new a37_0x521d95(),this[_0xa95d4e(0x1d9)]=new a37_0x14de00({'text':new a37_0x4fbff1({'font':_0xa95d4e(0x1e0),'fill':new a37_0x2e3250({'color':_0xa95d4e(0x1cd)}),'backgroundFill':new a37_0x2e3250({'color':_0xa95d4e(0x1ea)}),'padding':[0x2,0x2,0x2,0x2],'textAlign':_0xa95d4e(0x21a),'offsetX':0xf})}),this['_drawingCoordinates']=[],this['_tipOverlay']=new a37_0x597c2a({'source':new a37_0x22848b({'useSpatialIndex':![],'wrapX':(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c2)])?_0x567af1[_0xa95d4e(0x1c2)]:![]})}),this[_0xa95d4e(0x1dd)]=new a37_0x597c2a({'source':new a37_0x22848b({'useSpatialIndex':![],'wrapX':(_0x567af1===null||_0x567af1===void 0x0?void 0x0:_0x567af1[_0xa95d4e(0x1c2)])?_0x567af1['wrapX']:![]}),'updateWhileInteracting':!![]}),this[_0xa95d4e(0x1fe)](a37_0xaad4e3['ACTIVE'],this[_0xa95d4e(0x1de)]);}['updateState_'](){const _0x6f0d09=a37_0x2d6008,_0x3b274e=this[_0x6f0d09(0x1bb)](),_0x5de681=this[_0x6f0d09(0x1da)]();(!_0x3b274e||!_0x5de681)&&this[_0x6f0d09(0x1fb)](),this[_0x6f0d09(0x1dd)][_0x6f0d09(0x1e4)](_0x5de681?_0x3b274e:null),this['_tipOverlay']['setMap'](_0x5de681?_0x3b274e:null);}[a37_0x2d6008(0x1e4)](_0x428722){const _0xb3522=a37_0x2d6008;super[_0xb3522(0x1e4)](_0x428722),this[_0xb3522(0x1de)]();}[a37_0x2d6008(0x21c)](_0x337233){const _0x5db573=a37_0x2d6008;this[_0x5db573(0x1d7)]=_0x337233?_0x337233:{};}[a37_0x2d6008(0x1fd)](){const _0x33969a=a37_0x2d6008;return this[_0x33969a(0x1dd)];}['handleDownEvent'](_0x53ebad){const _0x3cf8b8=a37_0x2d6008;if(_0x53ebad['originalEvent'][_0x3cf8b8(0x1c8)]===0x2)return _0x53ebad[_0x3cf8b8(0x209)][_0x3cf8b8(0x1df)](),this[_0x3cf8b8(0x1fa)](),this[_0x3cf8b8(0x1f6)](_0x53ebad),![];return!![];}['handleUpEvent'](_0x4ff89c){const _0x59edb2=a37_0x2d6008;var _0x3eb9e6,_0x20c26a;if(this[_0x59edb2(0x1ed)]=='rectangle'&&this[_0x59edb2(0x20f)][_0x59edb2(0x210)]<0x1)return this[_0x59edb2(0x1f4)](new DrawEvent(DrawEventType[_0x59edb2(0x1ee)],undefined,[_0x4ff89c['coordinate']])),![];if(!this['_isStayDraw'])this[_0x59edb2(0x1f0)](_0x4ff89c[_0x59edb2(0x1d6)]),this[_0x59edb2(0x1f4)](new ShEvent(DrawEventType[_0x59edb2(0x21f)],this['_type'],_0x4ff89c[_0x59edb2(0x1d6)],this['_drawingCoordinates'],(_0x3eb9e6=this[_0x59edb2(0x1bb)]())===null||_0x3eb9e6===void 0x0?void 0x0:_0x3eb9e6[_0x59edb2(0x1bf)]()[_0x59edb2(0x219)]()[_0x59edb2(0x214)]())),this[_0x59edb2(0x1ed)]=='point'&&this[_0x59edb2(0x20a)]();else{if(this[_0x59edb2(0x20f)]&&this[_0x59edb2(0x20f)][_0x59edb2(0x210)]>0x0){if(this['atFinish_'](_0x4ff89c[_0x59edb2(0x1e9)]))return this[_0x59edb2(0x20a)](),_0x4ff89c[_0x59edb2(0x1df)](),![];let _0x5f2706=this[_0x59edb2(0x20f)]['length']+0x1;_0x5f2706<=this[_0x59edb2(0x1c5)]&&this[_0x59edb2(0x1c4)](_0x4ff89c[_0x59edb2(0x1d6)]),this['dispatchEvent'](new ShEvent(DrawEventType[_0x59edb2(0x21f)],this[_0x59edb2(0x1ed)],_0x4ff89c[_0x59edb2(0x1d6)],this[_0x59edb2(0x20f)],(_0x20c26a=this['getMap']())===null||_0x20c26a===void 0x0?void 0x0:_0x20c26a[_0x59edb2(0x1bf)]()['getProjection']()[_0x59edb2(0x214)]())),_0x5f2706>=this[_0x59edb2(0x213)]&&this[_0x59edb2(0x1cf)](this['_drawingCoordinates']),_0x5f2706===this[_0x59edb2(0x1c5)]&&this['finishDrawing']();}}return _0x4ff89c[_0x59edb2(0x1df)](),![];}[a37_0x2d6008(0x1ce)](_0x391a5a){const _0x2ddf5b=a37_0x2d6008;var _0x48e4ae;if(this[_0x2ddf5b(0x1ed)]==_0x2ddf5b(0x1ff)&&_0x391a5a[_0x2ddf5b(0x209)][_0x2ddf5b(0x201)]==_0x2ddf5b(0x1d5)){if(!this[_0x2ddf5b(0x1c3)]){this[_0x2ddf5b(0x1f0)](_0x391a5a[_0x2ddf5b(0x1d6)]),this[_0x2ddf5b(0x1f4)](new ShEvent(DrawEventType[_0x2ddf5b(0x21f)],this['_type'],_0x391a5a[_0x2ddf5b(0x1d6)],this[_0x2ddf5b(0x20f)],(_0x48e4ae=this['getMap']())===null||_0x48e4ae===void 0x0?void 0x0:_0x48e4ae[_0x2ddf5b(0x1bf)]()['getProjection']()[_0x2ddf5b(0x214)]()));return;}let _0x1c66d0=[...this['_drawingCoordinates'],_0x391a5a[_0x2ddf5b(0x1d6)]];this['buildDrawingFeature'](_0x1c66d0),this['dispatchEvent'](new DrawEvent(DrawEventType[_0x2ddf5b(0x1be)],this[_0x2ddf5b(0x1cc)],this[_0x2ddf5b(0x20f)]));}}[a37_0x2d6008(0x1f6)](_0x1310e3){const _0x43af5b=a37_0x2d6008;var _0x5d61a9,_0x4366c7,_0x55ff5f;let _0xb34e84='';this[_0x43af5b(0x1ed)]==_0x43af5b(0x1d5)&&(this['startDrawing_'](_0x1310e3[_0x43af5b(0x1d6)]),this[_0x43af5b(0x1f4)](new ShEvent(DrawEventType['DRAWADDPOINT'],this[_0x43af5b(0x1ed)],_0x1310e3[_0x43af5b(0x1d6)],this[_0x43af5b(0x20f)],(_0x5d61a9=this[_0x43af5b(0x1bb)]())===null||_0x5d61a9===void 0x0?void 0x0:_0x5d61a9['getView']()['getProjection']()[_0x43af5b(0x214)]())),this['finishDrawing']());!this[_0x43af5b(0x1c3)]?_0xb34e84=this[_0x43af5b(0x1ed)]==_0x43af5b(0x1ff)?_0x43af5b(0x203):'单击开始绘制':(_0xb34e84=_0x43af5b(0x20e),((_0x4366c7=this[_0x43af5b(0x20f)])===null||_0x4366c7===void 0x0?void 0x0:_0x4366c7['length'])===this[_0x43af5b(0x1c5)]-0x1&&(_0xb34e84=_0x43af5b(0x1f1)),((_0x55ff5f=this[_0x43af5b(0x20f)])===null||_0x55ff5f===void 0x0?void 0x0:_0x55ff5f['length'])>=this['_minPoints']&&this[_0x43af5b(0x1c5)]===Number[_0x43af5b(0x206)]&&(_0xb34e84=_0x43af5b(0x1bc)));this[_0x43af5b(0x1f7)]!=undefined&&(_0xb34e84=this['tipText']);this['updateTip_'](_0x1310e3[_0x43af5b(0x1d6)],_0xb34e84);if(this[_0x43af5b(0x1c3)]&&this[_0x43af5b(0x1ed)]!=_0x43af5b(0x1ff)){let _0x294d29=[...this[_0x43af5b(0x20f)],_0x1310e3[_0x43af5b(0x1d6)]];this['buildDrawingFeature'](_0x294d29),this[_0x43af5b(0x1f4)](new DrawEvent(DrawEventType['DRAWMOVING'],this[_0x43af5b(0x1cc)],this[_0x43af5b(0x20f)]));}}[a37_0x2d6008(0x205)](_0x52294f){const _0x51138d=a37_0x2d6008;var _0x1303b0;let _0xd0d92d=![],_0x1b9944=this[_0x51138d(0x20f)]['length'];if(_0x1b9944>this['_minPoints']&&this[_0x51138d(0x1c5)]===Number[_0x51138d(0x206)]){const _0x4fcae5=this[_0x51138d(0x20f)][this[_0x51138d(0x20f)]['length']-0x1],_0x527db1=(_0x1303b0=this[_0x51138d(0x1bb)]())===null||_0x1303b0===void 0x0?void 0x0:_0x1303b0[_0x51138d(0x216)](_0x4fcae5),_0x1340ff=_0x52294f[0x0]-(_0x527db1?_0x527db1[0x0]:0x0),_0x21782b=_0x52294f[0x1]-(_0x527db1?_0x527db1[0x1]:0x0);_0xd0d92d=Math[_0x51138d(0x218)](_0x1340ff*_0x1340ff+_0x21782b*_0x21782b)<=this[_0x51138d(0x1db)];}return _0xd0d92d;}[a37_0x2d6008(0x1f0)](_0x11d3d9){const _0x5822ed=a37_0x2d6008;this[_0x5822ed(0x1c3)]=!![],this[_0x5822ed(0x20f)]=[_0x11d3d9[_0x5822ed(0x1e3)]()],this[_0x5822ed(0x1cc)]=this[_0x5822ed(0x1b9)](),this[_0x5822ed(0x1c6)](),this[_0x5822ed(0x1f4)](new DrawEvent(DrawEventType['DRAWSTART'],this[_0x5822ed(0x1cc)],this[_0x5822ed(0x20f)]));}['finishDrawing'](){const _0x3dba01=a37_0x2d6008;if(this['_drawingCoordinates'][_0x3dba01(0x210)]>this['_minPoints']){this[_0x3dba01(0x1cf)](this[_0x3dba01(0x20f)]);let _0x45533e=this[_0x3dba01(0x20f)];const _0x202944=this[_0x3dba01(0x20b)]();if(!_0x202944)return;this['dispatchEvent'](new DrawEvent(DrawEventType[_0x3dba01(0x1ee)],_0x202944,_0x45533e)),this[_0x3dba01(0x211)]&&this[_0x3dba01(0x211)][_0x3dba01(0x1eb)](_0x202944),this[_0x3dba01(0x200)]&&this[_0x3dba01(0x200)][_0x3dba01(0x1f3)](_0x202944);}}[a37_0x2d6008(0x1c4)](_0x2c2796){const _0x145526=a37_0x2d6008;this[_0x145526(0x20f)][_0x145526(0x1eb)](_0x2c2796),this[_0x145526(0x1cc)]=this[_0x145526(0x1b9)](),this['updateSketchFeatures_']();}['createMultiPointFeature'](){const _0x5f4c72=a37_0x2d6008,_0x27ed8a=new MultiPoint(this[_0x5f4c72(0x20f)]);let _0x475eea=new a37_0x521d95();return _0x475eea['setGeometry'](_0x27ed8a),_0x475eea;}[a37_0x2d6008(0x20b)](){const _0x41a008=a37_0x2d6008;var _0x18cb39,_0x1158cb;this[_0x41a008(0x1c3)]=![];const _0x583ab0=this[_0x41a008(0x1cc)];return this[_0x41a008(0x1cc)]=undefined,this[_0x41a008(0x20f)]=[],(_0x18cb39=this[_0x41a008(0x1dd)][_0x41a008(0x1f2)]())===null||_0x18cb39===void 0x0?void 0x0:_0x18cb39[_0x41a008(0x21b)](!![]),(_0x1158cb=this[_0x41a008(0x1bd)][_0x41a008(0x1f2)]())===null||_0x1158cb===void 0x0?void 0x0:_0x1158cb[_0x41a008(0x21b)](!![]),_0x583ab0;}[a37_0x2d6008(0x1fb)](){const _0x9b85d5=a37_0x2d6008,_0x3c7049=this['abortDrawing_']();_0x3c7049&&this[_0x9b85d5(0x1f4)](new DrawEvent(DrawEventType[_0x9b85d5(0x1e8)],_0x3c7049,this[_0x9b85d5(0x20f)]));}[a37_0x2d6008(0x1cf)](_0x3c4e4b){const _0x379b6f=a37_0x2d6008;this['_sketchFeature']=new a37_0x521d95();let _0x922faf=createPlot(this[_0x379b6f(0x1ed)],_0x3c4e4b);if(!_0x922faf)return;this[_0x379b6f(0x1cc)][_0x379b6f(0x217)](_0x922faf);let _0xa09d31=[a37_0x5bf60e[_0x379b6f(0x1d3)],a37_0x5bf60e['Ellipsoid'],a37_0x5bf60e[_0x379b6f(0x1e6)]];if(_0xa09d31['indexOf'](this[_0x379b6f(0x1ed)])>-0x1&&this[_0x379b6f(0x1d7)]){}const _0x1066ee=this[_0x379b6f(0x1bb)]();this[_0x379b6f(0x1cc)]['setStyle'](getStyle(this[_0x379b6f(0x1ed)],this[_0x379b6f(0x1d7)],this[_0x379b6f(0x1bb)]())),this[_0x379b6f(0x1c6)]();}[a37_0x2d6008(0x1c6)](){const _0xa140cc=a37_0x2d6008,_0x40d9ec=this[_0xa140cc(0x1dd)][_0xa140cc(0x1f2)]();_0x40d9ec&&this[_0xa140cc(0x1cc)]&&(_0x40d9ec[_0xa140cc(0x21b)](!![]),_0x40d9ec[_0xa140cc(0x1f3)](this[_0xa140cc(0x1cc)]));}[a37_0x2d6008(0x1fa)](){const _0x2098c9=a37_0x2d6008;if(this['_isStayDraw']){if(this[_0x2098c9(0x20f)]&&this[_0x2098c9(0x20f)][_0x2098c9(0x210)]>0x0){const _0x2ae68e=this['_overlay']['getSource']();_0x2ae68e===null||_0x2ae68e===void 0x0?void 0x0:_0x2ae68e['clear'](!![]),this[_0x2098c9(0x20f)]['pop'](),this[_0x2098c9(0x20f)][_0x2098c9(0x210)]>=this[_0x2098c9(0x213)]&&this[_0x2098c9(0x1cf)](this['_drawingCoordinates']),this[_0x2098c9(0x20f)][_0x2098c9(0x210)]===0x0&&(this[_0x2098c9(0x1c3)]=![]);}}}[a37_0x2d6008(0x202)](_0x489750,_0x51148e){const _0x523351=a37_0x2d6008;var _0x56ab75,_0x12b2d2,_0x1b0311,_0x50407c;if(!this[_0x523351(0x208)])return;const _0x29ac86=this[_0x523351(0x1bd)]['getSource']();_0x29ac86===null||_0x29ac86===void 0x0?void 0x0:_0x29ac86[_0x523351(0x21b)](!![]),(_0x56ab75=this[_0x523351(0x1c0)])===null||_0x56ab75===void 0x0?void 0x0:_0x56ab75[_0x523351(0x217)](new Point(_0x489750)),(_0x1b0311=(_0x12b2d2=this[_0x523351(0x1d9)])===null||_0x12b2d2===void 0x0?void 0x0:_0x12b2d2[_0x523351(0x1e2)]())===null||_0x1b0311===void 0x0?void 0x0:_0x1b0311[_0x523351(0x1ef)](_0x51148e),(_0x50407c=this['_tipFeature'])===null||_0x50407c===void 0x0?void 0x0:_0x50407c[_0x523351(0x21c)](this['_tipStyle']),this[_0x523351(0x1c0)]&&(_0x29ac86===null||_0x29ac86===void 0x0?void 0x0:_0x29ac86['addFeature'](this[_0x523351(0x1c0)]));}}function getDefaultStyleFunction(){const _0x59dc39=createEditingStyle();return function(_0x2e2b82,_0x432700){const _0xb8a2ca=a37_0x3ff7,_0x5f35d4=_0x59dc39[_0x2e2b82['getGeometry']()['getType']()];if(_0x5f35d4&&'Rectangle'==_0x2e2b82[_0xb8a2ca(0x1cb)]()[_0xb8a2ca(0x207)]()){}};}
@@ -1 +1 @@
1
- const a38_0x3dc677=a38_0x3f8d;function a38_0x3f8d(_0x5475d9,_0x8ad557){const _0x40a887=a38_0x40a8();return a38_0x3f8d=function(_0x3f8dce,_0x38e206){_0x3f8dce=_0x3f8dce-0x12d;let _0x68f6b8=_0x40a887[_0x3f8dce];return _0x68f6b8;},a38_0x3f8d(_0x5475d9,_0x8ad557);}(function(_0x101280,_0x29e53c){const _0x5eef1d=a38_0x3f8d,_0x5c8a9c=_0x101280();while(!![]){try{const _0x2087b1=parseInt(_0x5eef1d(0x140))/0x1+parseInt(_0x5eef1d(0x132))/0x2*(-parseInt(_0x5eef1d(0x13e))/0x3)+-parseInt(_0x5eef1d(0x13b))/0x4+parseInt(_0x5eef1d(0x13f))/0x5*(-parseInt(_0x5eef1d(0x130))/0x6)+-parseInt(_0x5eef1d(0x12d))/0x7+parseInt(_0x5eef1d(0x13a))/0x8*(parseInt(_0x5eef1d(0x12e))/0x9)+parseInt(_0x5eef1d(0x138))/0xa;if(_0x2087b1===_0x29e53c)break;else _0x5c8a9c['push'](_0x5c8a9c['shift']());}catch(_0x39fdc4){_0x5c8a9c['push'](_0x5c8a9c['shift']());}}}(a38_0x40a8,0x81e8f));export default class InteractionManager{constructor(_0x1c43b2){const _0x110d3a=a38_0x3f8d;this[_0x110d3a(0x136)]=_0x1c43b2,this[_0x110d3a(0x134)]=new Map();}[a38_0x3dc677(0x131)](_0x139d89,_0x4e941a){const _0x154a18=a38_0x3dc677;this[_0x154a18(0x134)][_0x154a18(0x13c)](_0x139d89)&&this['removeInteraction'](_0x139d89),_0x4e941a[_0x154a18(0x13d)](_0x154a18(0x135),_0x139d89),this[_0x154a18(0x134)][_0x154a18(0x13d)](_0x139d89,_0x4e941a),this[_0x154a18(0x136)][_0x154a18(0x131)](_0x4e941a);}['removeInteraction'](_0x298fb2){const _0x39953f=a38_0x3dc677,_0x54435b=this[_0x39953f(0x134)]['get'](_0x298fb2);_0x54435b&&(this['map']['removeInteraction'](_0x54435b),this['interactions'][_0x39953f(0x137)](_0x298fb2));}[a38_0x3dc677(0x139)](){const _0x18ee85=a38_0x3dc677;this[_0x18ee85(0x134)]['forEach'](_0x114c9e=>{const _0x28e627=_0x18ee85;this[_0x28e627(0x136)]['removeInteraction'](_0x114c9e);}),this['interactions']['clear']();}[a38_0x3dc677(0x12f)](_0x12e2e7){const _0x44ae86=a38_0x3dc677;return this[_0x44ae86(0x134)][_0x44ae86(0x133)](_0x12e2e7);}}function a38_0x40a8(){const _0x419cb1=['removeAllInteractions','2836384hmiuPH','4225720pvsyEy','has','set','3SQZCZI','255890hjoUbG','835217EQrvLu','4427150oEHEwB','9iKucyf','getInteraction','18zdhXpk','addInteraction','240094pbVyOy','get','interactions','name','map','delete','13048070dZyGvp'];a38_0x40a8=function(){return _0x419cb1;};return a38_0x40a8();}
1
+ const a38_0x535205=a38_0x2301;function a38_0x2301(_0x3f257e,_0x4a169a){const _0x4924a8=a38_0x4924();return a38_0x2301=function(_0x230129,_0x390d85){_0x230129=_0x230129-0x8f;let _0x28bb69=_0x4924a8[_0x230129];return _0x28bb69;},a38_0x2301(_0x3f257e,_0x4a169a);}function a38_0x4924(){const _0x524af7=['addInteraction','1511482EOVFqj','getInteraction','9inzpLk','7195235nKALiN','get','forEach','has','map','6546RXvrJu','516DQZuSK','interactions','18HFOPnF','422LORBPi','delete','set','52292427lkgjys','6687040ElShsS','removeInteraction','5202808YXsSAf','4312jmBJVO'];a38_0x4924=function(){return _0x524af7;};return a38_0x4924();}(function(_0x399871,_0x80a39d){const _0x285b5a=a38_0x2301,_0x35302e=_0x399871();while(!![]){try{const _0x23a9d3=-parseInt(_0x285b5a(0x9c))/0x1*(parseInt(_0x285b5a(0xa3))/0x2)+parseInt(_0x285b5a(0x98))/0x3*(parseInt(_0x285b5a(0x99))/0x4)+-parseInt(_0x285b5a(0x93))/0x5+-parseInt(_0x285b5a(0x9b))/0x6*(parseInt(_0x285b5a(0x90))/0x7)+-parseInt(_0x285b5a(0xa2))/0x8*(parseInt(_0x285b5a(0x92))/0x9)+-parseInt(_0x285b5a(0xa0))/0xa+parseInt(_0x285b5a(0x9f))/0xb;if(_0x23a9d3===_0x80a39d)break;else _0x35302e['push'](_0x35302e['shift']());}catch(_0x206898){_0x35302e['push'](_0x35302e['shift']());}}}(a38_0x4924,0xafb07));export default class InteractionManager{constructor(_0x3453f0){const _0x2545c6=a38_0x2301;this[_0x2545c6(0x97)]=_0x3453f0,this[_0x2545c6(0x9a)]=new Map();}['addInteraction'](_0x52e304,_0x3fab2e){const _0x133623=a38_0x2301;this[_0x133623(0x9a)][_0x133623(0x96)](_0x52e304)&&this['removeInteraction'](_0x52e304),_0x3fab2e[_0x133623(0x9e)]('name',_0x52e304),this[_0x133623(0x9a)][_0x133623(0x9e)](_0x52e304,_0x3fab2e),this[_0x133623(0x97)][_0x133623(0x8f)](_0x3fab2e);}['removeInteraction'](_0x3ee906){const _0xe849fd=a38_0x2301,_0x954351=this[_0xe849fd(0x9a)][_0xe849fd(0x94)](_0x3ee906);_0x954351&&(this[_0xe849fd(0x97)]['removeInteraction'](_0x954351),this[_0xe849fd(0x9a)][_0xe849fd(0x9d)](_0x3ee906));}['removeAllInteractions'](){const _0x34796a=a38_0x2301;this[_0x34796a(0x9a)][_0x34796a(0x95)](_0x34ddf6=>{const _0x19c180=_0x34796a;this[_0x19c180(0x97)][_0x19c180(0xa1)](_0x34ddf6);}),this[_0x34796a(0x9a)]['clear']();}[a38_0x535205(0x91)](_0x20c61a){const _0x1abec1=a38_0x535205;return this[_0x1abec1(0x9a)][_0x1abec1(0x94)](_0x20c61a);}}
@@ -1 +1 @@
1
- function a39_0x2b0f(){const _0x3ce2d4=['getType','dispatchEvent','drawabort','feature','SELECTED','1041lBvmjq','MultiLineString','draw','layerType','holdCtrl','addFeatures','push','currentLayers','copy','13VDMHgD','setSelectLayers','forEach','70ToRtRg','seletctEditeFeature','polygonStyle','556EQrRvM','tipText','2684735hXfzgv','3fKVURk','filter','error','drawmoving','addEventListener','selectedLineFeatures','getVisible','drawaddpoint','selectLayer','MultiPolygon','60248yhnGVW','addTempLayer','pixelDistance','pointStyle','getLayerById','getArray','layerId','getCode','allSelectedFeatures','getProjection','selectTempLayer','keydown','7CloZmX','selectGeom','LineString','selected','getMap','selectIndex','length','import','canceLineStyle','url','2680898jOGFHT','selectLayers','Point','lineStyle','selectedPolygonFeatures','18jqjMfK','lineFeatures','map','layerInfo','getGeometry','13643739UmgdKz','94530YILapQ','71084532FJEXeI','getSelectedFeatures','message','cancePointStyle','setStyle','coordinates','Polygon','getSource','SELECTSTART','drawend','getView','MultiPoint','cancePolygonStyle','getLayers','selectstart','未获取到几何','ctrlKey','allFeatures','onInternal','selectedPointFeatures','union','getLineTempLayer','drawstart','fromType'];a39_0x2b0f=function(){return _0x3ce2d4;};return a39_0x2b0f();}const a39_0x176fe4=a39_0x5dd3;(function(_0x51c30c,_0xb5f739){const _0x45e7a9=a39_0x5dd3,_0x1a1092=_0x51c30c();while(!![]){try{const _0xe1265f=-parseInt(_0x45e7a9(0x1c1))/0x1*(parseInt(_0x45e7a9(0x191))/0x2)+parseInt(_0x45e7a9(0x1af))/0x3*(-parseInt(_0x45e7a9(0x1be))/0x4)+-parseInt(_0x45e7a9(0x1c0))/0x5*(parseInt(_0x45e7a9(0x1e6))/0x6)+parseInt(_0x45e7a9(0x1d7))/0x7*(parseInt(_0x45e7a9(0x1cb))/0x8)+-parseInt(_0x45e7a9(0x1eb))/0x9+-parseInt(_0x45e7a9(0x1bb))/0xa*(parseInt(_0x45e7a9(0x1e1))/0xb)+parseInt(_0x45e7a9(0x192))/0xc*(parseInt(_0x45e7a9(0x1b8))/0xd);if(_0xe1265f===_0xb5f739)break;else _0x1a1092['push'](_0x1a1092['shift']());}catch(_0xef3869){_0x1a1092['push'](_0x1a1092['shift']());}}}(a39_0x2b0f,0xddc58));import a39_0x253f7f from'./Draw';import a39_0x3f2dff from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';function a39_0x5dd3(_0x5973dd,_0x3fff2e){const _0x2b0ff6=a39_0x2b0f();return a39_0x5dd3=function(_0x5dd387,_0x4de2c2){_0x5dd387=_0x5dd387-0x191;let _0x264cb7=_0x2b0ff6[_0x5dd387];return _0x264cb7;},a39_0x5dd3(_0x5973dd,_0x3fff2e);}import{Point}from'ol/geom';import a39_0x1010e9 from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x176fe4(0x1a8),'DRAWEND':a39_0x176fe4(0x19b),'DRAWABORT':a39_0x176fe4(0x1ac),'DRAWADDPOINT':a39_0x176fe4(0x1c8),'DRAWMOVING':a39_0x176fe4(0x1c4),'SELECTSTART':a39_0x176fe4(0x1a0),'SELECTED':a39_0x176fe4(0x1da)};export class SelectEvent extends a39_0x3f2dff{constructor(_0x42cae5,_0x4e828b,_0x477161,_0xe90f9e,_0x1097b5,_0x4827bc,_0x20686b,_0x5c321f,_0x3fcf77){const _0x560f4d=a39_0x176fe4;super(_0x42cae5),this[_0x560f4d(0x1d8)]=_0x477161,this[_0x560f4d(0x197)]=_0xe90f9e,this['pointFeatures']=_0x1097b5,this[_0x560f4d(0x1e7)]=_0x4827bc,this['polygonFeatures']=_0x20686b,this[_0x560f4d(0x1a3)]=_0x5c321f,this[_0x560f4d(0x1c3)]=_0x3fcf77,this[_0x560f4d(0x1b3)]=_0x4e828b;}}export default class Select extends a39_0x253f7f{constructor(_0x2fec43,_0x557f32){const _0x12a43b=a39_0x176fe4;super(_0x2fec43,{'tipText':_0x557f32===null||_0x557f32===void 0x0?void 0x0:_0x557f32[_0x12a43b(0x1bf)]}),this[_0x12a43b(0x1a5)]=[],this[_0x12a43b(0x1c6)]=[],this[_0x12a43b(0x1e5)]=[],this[_0x12a43b(0x1d3)]=[];const _0x1ee8c2=_0x557f32||{};this[_0x12a43b(0x1cc)]=_0x1ee8c2[_0x12a43b(0x1cc)]||![],this[_0x12a43b(0x1b6)]=_0x1ee8c2[_0x12a43b(0x1e2)],this[_0x12a43b(0x1d5)]=_0x1ee8c2[_0x12a43b(0x1d5)]===undefined?!![]:_0x1ee8c2[_0x12a43b(0x1d5)],this['pixelDistance']=_0x1ee8c2[_0x12a43b(0x1cd)]===undefined?0x5:_0x1ee8c2[_0x12a43b(0x1cd)],this[_0x12a43b(0x1ce)]=_0x1ee8c2['pointStyle']?getStyle(_0x1ee8c2['pointStyle']):getSelectPointStyle(),this[_0x12a43b(0x195)]=_0x1ee8c2[_0x12a43b(0x195)]?getStyle(_0x1ee8c2['cancePointStyle']):getSelectCancePointStyle(),this[_0x12a43b(0x1e4)]=_0x1ee8c2[_0x12a43b(0x1e4)]?getStyle(_0x1ee8c2[_0x12a43b(0x1e4)]):getSelectLineStyle(),this[_0x12a43b(0x1df)]=_0x1ee8c2[_0x12a43b(0x1df)]?getStyle(_0x1ee8c2['canceLineStyle']):getSelectCancelLineStyle(),this[_0x12a43b(0x1bd)]=_0x1ee8c2[_0x12a43b(0x1bd)]?getStyle(_0x1ee8c2[_0x12a43b(0x1bd)]):getSelectPolygonStyle(),this[_0x12a43b(0x19e)]=_0x1ee8c2['cancePolygonStyle']?getStyle(_0x1ee8c2[_0x12a43b(0x19e)]):getSelectCancelPolygonStyle(),this['holdCtrl']=![];let _0x3c6ecf;this['on']=this[_0x12a43b(0x1a4)],this['on'](_0x12a43b(0x19b),async _0x301dd0=>{const _0x21b551=_0x12a43b,_0x464afa=this[_0x21b551(0x1b3)],_0x49093c=this[_0x21b551(0x1db)]();if(!_0x49093c)return;try{let _0x5ddf92=undefined;if(!_0x301dd0[_0x21b551(0x1ad)]&&_0x301dd0[_0x21b551(0x197)]&&_0x301dd0[_0x21b551(0x197)]['length']==0x1)_0x5ddf92=bufferPixel(new Point(_0x301dd0[_0x21b551(0x197)][0x0]),this['pixelDistance'],_0x49093c);else _0x301dd0[_0x21b551(0x1ad)]&&(_0x5ddf92=_0x301dd0['feature']['getGeometry']());if(!_0x5ddf92)throw new Error(_0x21b551(0x1a1));this[_0x21b551(0x1ab)](new SelectEvent(SelectEventType[_0x21b551(0x19a)],_0x464afa,_0x5ddf92)),this[_0x21b551(0x1a5)]=[],this[_0x21b551(0x1c6)]=[],this['selectedPolygonFeatures']=[],this[_0x21b551(0x1d3)]=[],this[_0x21b551(0x1d5)]&&this[_0x21b551(0x1bc)](_0x5ddf92),_0x3c6ecf&&clearTimeout(_0x3c6ecf),_0x3c6ecf=setTimeout(async()=>{const _0x422fc8=_0x21b551;await this[_0x422fc8(0x1c9)](_0x5ddf92),this[_0x422fc8(0x1ab)](new SelectEvent(SelectEventType['SELECTED'],_0x464afa,_0x5ddf92,_0x301dd0['coordinates'],this[_0x422fc8(0x1a5)],this[_0x422fc8(0x1c6)],this[_0x422fc8(0x1e5)],this['allSelectedFeatures']));},0x46);}catch(_0x37d3e2){this[_0x21b551(0x1ab)](new SelectEvent(SelectEventType[_0x21b551(0x1ae)],_0x464afa,undefined,_0x301dd0[_0x21b551(0x197)],this['selectedPointFeatures'],this[_0x21b551(0x1c6)],this[_0x21b551(0x1e5)],this[_0x21b551(0x1d3)],_0x37d3e2[_0x21b551(0x194)]));}}),window[_0x12a43b(0x1c5)](_0x12a43b(0x1d6),_0x28618a=>{const _0x109396=_0x12a43b;_0x28618a[_0x109396(0x1a2)]&&(this[_0x109396(0x1b3)]=!![]);}),window[_0x12a43b(0x1c5)]('keyup',_0x369f83=>{this['holdCtrl']=![];});}[a39_0x176fe4(0x1b9)](_0x577827){const _0x5f1e72=a39_0x176fe4;this[_0x5f1e72(0x1b6)]=_0x577827;}async[a39_0x176fe4(0x1c9)](_0x407121){const _0xda0e39=a39_0x176fe4;var _0x4fca1d;const _0x3ea742=this['getMap']();let _0x5788c9=[];if(this['currentLayers']&&this[_0xda0e39(0x1b6)]['length']>0x0)_0x5788c9=this[_0xda0e39(0x1b6)];else{let _0xb2e372=_0x3ea742[_0xda0e39(0x19f)]()[_0xda0e39(0x1d0)]();_0xb2e372=_0xb2e372[_0xda0e39(0x1c2)](_0x4da873=>{const _0x48b407=_0xda0e39,_0x3cc83c=_0x4da873[_0x48b407(0x1e9)];if(!_0x3cc83c)return![];return _0x4da873[_0x48b407(0x1c7)]()==!![]&&_0x3cc83c[_0x48b407(0x1dc)]!=undefined&&_0x3cc83c[_0x48b407(0x1dc)]!='';}),_0x5788c9=_0xb2e372[_0xda0e39(0x1e8)](_0x362574=>{return _0x362574['layerInfo'];});}if(!_0x5788c9||_0x5788c9[_0xda0e39(0x1dd)]==0x0)return;const _0xd4b88a=_0x3ea742[_0xda0e39(0x19c)]()[_0xda0e39(0x1d4)]()[_0xda0e39(0x1d2)]();for(let _0x1f5088=0x0,_0x12ae59=_0x5788c9['length'];_0x1f5088<_0x12ae59;_0x1f5088++){const _0x183099=_0x5788c9[_0x1f5088],_0x30db84=_0x3ea742[_0xda0e39(0x1cf)](_0x183099['id']);if(!_0x30db84||_0x30db84['getVisible']()==![]||!_0x183099||!_0x183099['url']||!_0x183099[_0xda0e39(0x1dc)])continue;let _0x12ceb5=await selectFeaturesByGeo(_0x407121,_0xd4b88a,_0x183099[_0xda0e39(0x1e0)],_0x183099[_0xda0e39(0x1dc)],_0x183099[_0xda0e39(0x1b2)],_0x183099['loadFilter']);if(_0x12ceb5[_0xda0e39(0x1dd)]>0x0){this[_0xda0e39(0x1d3)][_0xda0e39(0x1b5)](..._0x12ceb5);let _0x255bc1=_0x3ea742['getPolygonTempLayer'](),_0x343539=this[_0xda0e39(0x1bd)];switch((_0x4fca1d=_0x12ceb5[0x0][_0xda0e39(0x1ea)]())===null||_0x4fca1d===void 0x0?void 0x0:_0x4fca1d[_0xda0e39(0x1aa)]()){case _0xda0e39(0x1e3):case _0xda0e39(0x19d):this[_0xda0e39(0x1a5)][_0xda0e39(0x1b5)](..._0x12ceb5),_0x255bc1=_0x3ea742['getPointTempLayer'](),_0x343539=this[_0xda0e39(0x1ce)];break;case'LineString':case'MultiLineString':this['selectedLineFeatures'][_0xda0e39(0x1b5)](..._0x12ceb5),_0x255bc1=_0x3ea742[_0xda0e39(0x1a7)](),_0x343539=this['lineStyle'];break;case _0xda0e39(0x198):case _0xda0e39(0x1ca):this['selectedPolygonFeatures'][_0xda0e39(0x1b5)](..._0x12ceb5),_0x255bc1=_0x3ea742['getPolygonTempLayer'](),_0x343539=this[_0xda0e39(0x1bd)];break;default:break;}const _0x5e5cfe=_0x255bc1[_0xda0e39(0x199)]();_0x5e5cfe&&(_0x12ceb5[_0xda0e39(0x1ba)](_0xa11209=>{const _0x9f51a4=_0xda0e39;_0xa11209[_0x9f51a4(0x1d1)]=_0x183099['id'],_0xa11209['tempLayer']=_0x255bc1,_0xa11209[_0x9f51a4(0x196)](_0x343539);}),this[_0xda0e39(0x1cc)]&&_0x5e5cfe[_0xda0e39(0x1b4)](_0x12ceb5));}}}[a39_0x176fe4(0x1bc)](_0x855b28){const _0x225684=a39_0x176fe4,_0x83f400=new a39_0x1010e9(this[_0x225684(0x1db)]()),_0x560e36=_0x83f400[_0x225684(0x193)]();if(!_0x560e36||_0x560e36['length']===0x0)return[];const _0x205078=[_0x225684(0x1b7),'cut',_0x225684(0x1b1),_0x225684(0x1de),_0x225684(0x1a6)],_0x2ff2e9=[];for(const _0x227fe8 of _0x560e36){if(!_0x227fe8||!_0x227fe8[_0x225684(0x1a9)]||!_0x205078['includes'](_0x227fe8[_0x225684(0x1a9)]))continue;const _0x4fc54f=_0x227fe8[_0x225684(0x1ea)]();if(!_0x4fc54f)continue;if(!intersects(_0x4fc54f,_0x855b28))continue;let _0x576318=this[_0x225684(0x1bd)];this[_0x225684(0x1d3)][_0x225684(0x1b5)](_0x227fe8);switch(_0x4fc54f[_0x225684(0x1aa)]()){case _0x225684(0x1e3):case _0x225684(0x19d):this[_0x225684(0x1a5)][_0x225684(0x1b5)](_0x227fe8),_0x576318=this[_0x225684(0x1ce)];break;case _0x225684(0x1d9):case _0x225684(0x1b0):this[_0x225684(0x1c6)][_0x225684(0x1b5)](_0x227fe8),_0x576318=this[_0x225684(0x1e4)];break;case _0x225684(0x198):case _0x225684(0x1ca):this[_0x225684(0x1e5)][_0x225684(0x1b5)](_0x227fe8),_0x576318=this[_0x225684(0x1bd)];break;default:break;}_0x227fe8[_0x225684(0x196)](_0x576318);}return _0x2ff2e9;}}
1
+ const a39_0x5b29d7=a39_0x5ebf;(function(_0x1b8ed9,_0x1411aa){const _0x518ab3=a39_0x5ebf,_0x32e6bb=_0x1b8ed9();while(!![]){try{const _0x42d65d=-parseInt(_0x518ab3(0x1c7))/0x1*(parseInt(_0x518ab3(0x1be))/0x2)+-parseInt(_0x518ab3(0x1fd))/0x3*(parseInt(_0x518ab3(0x1bd))/0x4)+-parseInt(_0x518ab3(0x1e9))/0x5*(-parseInt(_0x518ab3(0x205))/0x6)+-parseInt(_0x518ab3(0x1d2))/0x7+-parseInt(_0x518ab3(0x1f0))/0x8*(parseInt(_0x518ab3(0x1da))/0x9)+-parseInt(_0x518ab3(0x1c3))/0xa+parseInt(_0x518ab3(0x1ce))/0xb;if(_0x42d65d===_0x1411aa)break;else _0x32e6bb['push'](_0x32e6bb['shift']());}catch(_0x3192f7){_0x32e6bb['push'](_0x32e6bb['shift']());}}}(a39_0x3a05,0xca0a7));import a39_0x419a7a from'./Draw';function a39_0x5ebf(_0x48d851,_0x50c010){const _0x3a0509=a39_0x3a05();return a39_0x5ebf=function(_0x5ebf5b,_0x5804d2){_0x5ebf5b=_0x5ebf5b-0x1bb;let _0x23bd4d=_0x3a0509[_0x5ebf5b];return _0x23bd4d;},a39_0x5ebf(_0x48d851,_0x50c010);}import a39_0x6cdfcb from'ol/events/Event';import{bufferPixel,intersects}from'../utils/GeometryUtil';import{Point}from'ol/geom';import a39_0x52bf1d from'../feature/FeatureManager';import{getSelectCancelLineStyle,getSelectCancelPolygonStyle,getSelectCancePointStyle,getSelectLineStyle,getSelectPointStyle,getSelectPolygonStyle,getStyle}from'../style/StyleManager';function a39_0x3a05(){const _0x15ea50=['includes','addTempLayer','selectLayers','loadFilter','getSelectedFeatures','selectTempLayer','66978TxybYk','pointFeatures','SELECTED','drawaddpoint','drawend','lineFeatures','selectIndex','Point','4VVeVPe','13010SBvKyw','lineStyle','filter','getMap','seletctEditeFeature','1996870NHBElg','canceLineStyle','push','import','172ErlNDX','MultiPolygon','drawstart','getView','getGeometry','tempLayer','drawmoving','35690083MKeyTt','onInternal','getVisible','selectLayer','5438461mJVUJO','keydown','dispatchEvent','LineString','selectedPointFeatures','layerInfo','getCode','Polygon','11389527MgHdHe','drawabort','url','selectedPolygonFeatures','length','selectedLineFeatures','fromType','allSelectedFeatures','holdCtrl','MultiPoint','keyup','setStyle','coordinates','feature','未获取到几何','730EKPGWK','addEventListener','map','cancePointStyle','layerType','pixelDistance','pointStyle','8kNxpNG','SELECTSTART','draw','getPolygonTempLayer','selectstart','message','polygonFeatures','getSource','selectGeom','cancePolygonStyle','polygonStyle','getPointTempLayer','currentLayers','2057457yCoeRg','getArray'];a39_0x3a05=function(){return _0x15ea50;};return a39_0x3a05();}import{selectFeaturesByGeo}from'../utils/tasks';const SelectEventType={'DRAWSTART':a39_0x5b29d7(0x1c9),'DRAWEND':a39_0x5b29d7(0x209),'DRAWABORT':a39_0x5b29d7(0x1db),'DRAWADDPOINT':a39_0x5b29d7(0x208),'DRAWMOVING':a39_0x5b29d7(0x1cd),'SELECTSTART':a39_0x5b29d7(0x1f4),'SELECTED':'selected'};export class SelectEvent extends a39_0x6cdfcb{constructor(_0x347205,_0x692337,_0x4749d7,_0x1ffd77,_0x15a503,_0x4c3d57,_0x2f1322,_0x555728,_0x589c24){const _0x2cfc72=a39_0x5b29d7;super(_0x347205),this[_0x2cfc72(0x1f8)]=_0x4749d7,this['coordinates']=_0x1ffd77,this[_0x2cfc72(0x206)]=_0x15a503,this[_0x2cfc72(0x20a)]=_0x4c3d57,this[_0x2cfc72(0x1f6)]=_0x2f1322,this['allFeatures']=_0x555728,this['error']=_0x589c24,this[_0x2cfc72(0x1e2)]=_0x692337;}}export default class Select extends a39_0x419a7a{constructor(_0x12261b,_0x222b26){const _0x43cc2e=a39_0x5b29d7;super(_0x12261b,{'tipText':_0x222b26===null||_0x222b26===void 0x0?void 0x0:_0x222b26['tipText']}),this['selectedPointFeatures']=[],this['selectedLineFeatures']=[],this[_0x43cc2e(0x1dd)]=[],this[_0x43cc2e(0x1e1)]=[];const _0xb72551=_0x222b26||{};this[_0x43cc2e(0x200)]=_0xb72551[_0x43cc2e(0x200)]||![],this[_0x43cc2e(0x1fc)]=_0xb72551[_0x43cc2e(0x201)],this[_0x43cc2e(0x204)]=_0xb72551['selectTempLayer']===undefined?!![]:_0xb72551[_0x43cc2e(0x204)],this[_0x43cc2e(0x1ee)]=_0xb72551[_0x43cc2e(0x1ee)]===undefined?0x5:_0xb72551[_0x43cc2e(0x1ee)],this['pointStyle']=_0xb72551[_0x43cc2e(0x1ef)]?getStyle(_0xb72551[_0x43cc2e(0x1ef)]):getSelectPointStyle(),this[_0x43cc2e(0x1ec)]=_0xb72551[_0x43cc2e(0x1ec)]?getStyle(_0xb72551[_0x43cc2e(0x1ec)]):getSelectCancePointStyle(),this[_0x43cc2e(0x1bf)]=_0xb72551[_0x43cc2e(0x1bf)]?getStyle(_0xb72551[_0x43cc2e(0x1bf)]):getSelectLineStyle(),this[_0x43cc2e(0x1c4)]=_0xb72551[_0x43cc2e(0x1c4)]?getStyle(_0xb72551[_0x43cc2e(0x1c4)]):getSelectCancelLineStyle(),this[_0x43cc2e(0x1fa)]=_0xb72551[_0x43cc2e(0x1fa)]?getStyle(_0xb72551['polygonStyle']):getSelectPolygonStyle(),this['cancePolygonStyle']=_0xb72551['cancePolygonStyle']?getStyle(_0xb72551[_0x43cc2e(0x1f9)]):getSelectCancelPolygonStyle(),this[_0x43cc2e(0x1e2)]=![];let _0x553928;this['on']=this[_0x43cc2e(0x1cf)],this['on'](_0x43cc2e(0x209),async _0x1d76ba=>{const _0x5113d7=_0x43cc2e,_0x450239=this[_0x5113d7(0x1e2)],_0xb5a0d7=this[_0x5113d7(0x1c1)]();if(!_0xb5a0d7)return;try{let _0x44bfd9=undefined;if(!_0x1d76ba[_0x5113d7(0x1e7)]&&_0x1d76ba[_0x5113d7(0x1e6)]&&_0x1d76ba[_0x5113d7(0x1e6)]['length']==0x1)_0x44bfd9=bufferPixel(new Point(_0x1d76ba[_0x5113d7(0x1e6)][0x0]),this['pixelDistance'],_0xb5a0d7);else _0x1d76ba[_0x5113d7(0x1e7)]&&(_0x44bfd9=_0x1d76ba[_0x5113d7(0x1e7)][_0x5113d7(0x1cb)]());if(!_0x44bfd9)throw new Error(_0x5113d7(0x1e8));this[_0x5113d7(0x1d4)](new SelectEvent(SelectEventType[_0x5113d7(0x1f1)],_0x450239,_0x44bfd9)),this['selectedPointFeatures']=[],this[_0x5113d7(0x1df)]=[],this['selectedPolygonFeatures']=[],this['allSelectedFeatures']=[],this[_0x5113d7(0x204)]&&this[_0x5113d7(0x1c2)](_0x44bfd9),_0x553928&&clearTimeout(_0x553928),_0x553928=setTimeout(async()=>{const _0xc4bfbb=_0x5113d7;await this['selectLayer'](_0x44bfd9),this[_0xc4bfbb(0x1d4)](new SelectEvent(SelectEventType['SELECTED'],_0x450239,_0x44bfd9,_0x1d76ba[_0xc4bfbb(0x1e6)],this[_0xc4bfbb(0x1d6)],this[_0xc4bfbb(0x1df)],this[_0xc4bfbb(0x1dd)],this[_0xc4bfbb(0x1e1)]));},0x46);}catch(_0x335f0a){this[_0x5113d7(0x1d4)](new SelectEvent(SelectEventType[_0x5113d7(0x207)],_0x450239,undefined,_0x1d76ba[_0x5113d7(0x1e6)],this[_0x5113d7(0x1d6)],this[_0x5113d7(0x1df)],this[_0x5113d7(0x1dd)],this['allSelectedFeatures'],_0x335f0a[_0x5113d7(0x1f5)]));}}),window[_0x43cc2e(0x1ea)](_0x43cc2e(0x1d3),_0x32118f=>{const _0x47f45f=_0x43cc2e;_0x32118f['ctrlKey']&&(this[_0x47f45f(0x1e2)]=!![]);}),window[_0x43cc2e(0x1ea)](_0x43cc2e(0x1e4),_0x26da43=>{this['holdCtrl']=![];});}['setSelectLayers'](_0x33a39c){const _0x22c4ac=a39_0x5b29d7;this[_0x22c4ac(0x1fc)]=_0x33a39c;}async[a39_0x5b29d7(0x1d1)](_0x22656e){const _0x379155=a39_0x5b29d7;var _0x403fdf;const _0x52d0e1=this[_0x379155(0x1c1)]();let _0x51a7f8=[];if(this[_0x379155(0x1fc)]&&this[_0x379155(0x1fc)][_0x379155(0x1de)]>0x0)_0x51a7f8=this[_0x379155(0x1fc)];else{let _0x129b2e=_0x52d0e1['getLayers']()[_0x379155(0x1fe)]();_0x129b2e=_0x129b2e[_0x379155(0x1c0)](_0x5e8bd8=>{const _0x200823=_0x379155,_0x64fa9a=_0x5e8bd8[_0x200823(0x1d7)];if(!_0x64fa9a)return![];return _0x5e8bd8['getVisible']()==!![]&&_0x64fa9a[_0x200823(0x1bb)]!=undefined&&_0x64fa9a[_0x200823(0x1bb)]!='';}),_0x51a7f8=_0x129b2e[_0x379155(0x1eb)](_0x45d76b=>{return _0x45d76b['layerInfo'];});}if(!_0x51a7f8||_0x51a7f8['length']==0x0)return;const _0xfc76dd=_0x52d0e1[_0x379155(0x1ca)]()['getProjection']()[_0x379155(0x1d8)]();for(let _0xaa069e=0x0,_0x4418ab=_0x51a7f8[_0x379155(0x1de)];_0xaa069e<_0x4418ab;_0xaa069e++){const _0x5c3f64=_0x51a7f8[_0xaa069e],_0x3b183c=_0x52d0e1['getLayerById'](_0x5c3f64['id']);if(!_0x3b183c||_0x3b183c[_0x379155(0x1d0)]()==![]||!_0x5c3f64||!_0x5c3f64[_0x379155(0x1dc)]||!_0x5c3f64[_0x379155(0x1bb)])continue;let _0x581b50=await selectFeaturesByGeo(_0x22656e,_0xfc76dd,_0x5c3f64[_0x379155(0x1dc)],_0x5c3f64[_0x379155(0x1bb)],_0x5c3f64[_0x379155(0x1ed)],_0x5c3f64[_0x379155(0x202)]);if(_0x581b50[_0x379155(0x1de)]>0x0){this[_0x379155(0x1e1)][_0x379155(0x1c5)](..._0x581b50);let _0x3dc183=_0x52d0e1[_0x379155(0x1f3)](),_0x3e52fb=this['polygonStyle'];switch((_0x403fdf=_0x581b50[0x0][_0x379155(0x1cb)]())===null||_0x403fdf===void 0x0?void 0x0:_0x403fdf['getType']()){case _0x379155(0x1bc):case _0x379155(0x1e3):this['selectedPointFeatures']['push'](..._0x581b50),_0x3dc183=_0x52d0e1[_0x379155(0x1fb)](),_0x3e52fb=this[_0x379155(0x1ef)];break;case _0x379155(0x1d5):case'MultiLineString':this['selectedLineFeatures'][_0x379155(0x1c5)](..._0x581b50),_0x3dc183=_0x52d0e1['getLineTempLayer'](),_0x3e52fb=this[_0x379155(0x1bf)];break;case _0x379155(0x1d9):case _0x379155(0x1c8):this[_0x379155(0x1dd)][_0x379155(0x1c5)](..._0x581b50),_0x3dc183=_0x52d0e1[_0x379155(0x1f3)](),_0x3e52fb=this[_0x379155(0x1fa)];break;default:break;}const _0x435a53=_0x3dc183[_0x379155(0x1f7)]();_0x435a53&&(_0x581b50['forEach'](_0x389fe5=>{const _0x544c22=_0x379155;_0x389fe5['layerId']=_0x5c3f64['id'],_0x389fe5[_0x544c22(0x1cc)]=_0x3dc183,_0x389fe5[_0x544c22(0x1e5)](_0x3e52fb);}),this[_0x379155(0x200)]&&_0x435a53['addFeatures'](_0x581b50));}}}[a39_0x5b29d7(0x1c2)](_0xa211eb){const _0x331334=a39_0x5b29d7,_0x35b914=new a39_0x52bf1d(this['getMap']()),_0x1fdcd5=_0x35b914[_0x331334(0x203)]();if(!_0x1fdcd5||_0x1fdcd5[_0x331334(0x1de)]===0x0)return[];const _0x3423e5=['copy','cut',_0x331334(0x1f2),_0x331334(0x1c6),'union'],_0x4979bc=[];for(const _0x57c0d8 of _0x1fdcd5){if(!_0x57c0d8||!_0x57c0d8[_0x331334(0x1e0)]||!_0x3423e5[_0x331334(0x1ff)](_0x57c0d8['fromType']))continue;const _0xdd43f9=_0x57c0d8[_0x331334(0x1cb)]();if(!_0xdd43f9)continue;if(!intersects(_0xdd43f9,_0xa211eb))continue;let _0x3b2ede=this[_0x331334(0x1fa)];this[_0x331334(0x1e1)][_0x331334(0x1c5)](_0x57c0d8);switch(_0xdd43f9['getType']()){case _0x331334(0x1bc):case _0x331334(0x1e3):this[_0x331334(0x1d6)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this['pointStyle'];break;case _0x331334(0x1d5):case'MultiLineString':this[_0x331334(0x1df)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this[_0x331334(0x1bf)];break;case'Polygon':case _0x331334(0x1c8):this[_0x331334(0x1dd)][_0x331334(0x1c5)](_0x57c0d8),_0x3b2ede=this[_0x331334(0x1fa)];break;default:break;}_0x57c0d8[_0x331334(0x1e5)](_0x3b2ede);}return _0x4979bc;}}
@@ -1 +1 @@
1
- function a40_0x507b(_0x588f4f,_0x58a7a9){const _0x3e807c=a40_0x3e80();return a40_0x507b=function(_0x507b5c,_0xd26e88){_0x507b5c=_0x507b5c-0x160;let _0x49019a=_0x3e807c[_0x507b5c];return _0x49019a;},a40_0x507b(_0x588f4f,_0x58a7a9);}const a40_0x325e40=a40_0x507b;(function(_0x23149c,_0x752363){const _0x5618cf=a40_0x507b,_0x19d8e7=_0x23149c();while(!![]){try{const _0x4d2b25=-parseInt(_0x5618cf(0x171))/0x1+-parseInt(_0x5618cf(0x17c))/0x2+-parseInt(_0x5618cf(0x163))/0x3+parseInt(_0x5618cf(0x176))/0x4*(parseInt(_0x5618cf(0x17e))/0x5)+parseInt(_0x5618cf(0x160))/0x6+-parseInt(_0x5618cf(0x172))/0x7+parseInt(_0x5618cf(0x17d))/0x8;if(_0x4d2b25===_0x752363)break;else _0x19d8e7['push'](_0x19d8e7['shift']());}catch(_0xd92c45){_0x19d8e7['push'](_0x19d8e7['shift']());}}}(a40_0x3e80,0x96a57));import a40_0x2c9b99 from'ol/source/ImageArcGISRest';import{Image as a40_0x54ae42}from'ol/layer';function a40_0x3e80(){const _0x5ba7d8=['mapIndex','loadFilter','join','initialExtent','164120MMEMhp','4095469QFDwQm','layerDefs','xmin','getSource','26252lvUDQg','spatialReference','EPSG:','stringify','layerInfo','ymin','227258GCuXDX','8029200fMPtwu','735UguzTM','anonymous','2176356QBOjme','selectIndex','setFilter','2553822bTiANw','updateParams','wkid','wkt','fullExtent','opacity','url','xmax','ymax','show:'];a40_0x3e80=function(){return _0x5ba7d8;};return a40_0x3e80();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisDynamicLayer extends a40_0x54ae42{constructor(_0x50452d,_0x5b1861){const _0x4abd05=a40_0x507b;var _0x343f68;let _0x67ce97={'LAYERS':_0x4abd05(0x16c)+((_0x343f68=_0x50452d['sublayers'])===null||_0x343f68===void 0x0?void 0x0:_0x343f68[_0x4abd05(0x16f)](','))};if(_0x50452d[_0x4abd05(0x16e)]&&_0x50452d[_0x4abd05(0x161)]){const _0xbb6ec4={};_0xbb6ec4[_0x50452d[_0x4abd05(0x161)]]=_0x50452d[_0x4abd05(0x16e)],_0x67ce97[_0x4abd05(0x173)]=JSON[_0x4abd05(0x179)](_0xbb6ec4);}const _0x18e208=[_0x5b1861[_0x4abd05(0x170)][_0x4abd05(0x174)],_0x5b1861[_0x4abd05(0x170)][_0x4abd05(0x17b)],_0x5b1861[_0x4abd05(0x170)]['xmax'],_0x5b1861[_0x4abd05(0x170)][_0x4abd05(0x16b)]],_0x1e59ad=[_0x5b1861[_0x4abd05(0x167)][_0x4abd05(0x174)],_0x5b1861[_0x4abd05(0x167)][_0x4abd05(0x17b)],_0x5b1861[_0x4abd05(0x167)][_0x4abd05(0x16a)],_0x5b1861[_0x4abd05(0x167)]['ymax']];let _0xceaee2;_0x5b1861[_0x4abd05(0x177)][_0x4abd05(0x165)]?_0xceaee2=registerProj(_0x4abd05(0x178)+_0x5b1861['spatialReference'][_0x4abd05(0x165)],_0x1e59ad):_0xceaee2=registerProj(_0x5b1861[_0x4abd05(0x177)][_0x4abd05(0x166)],_0x1e59ad),super({'opacity':_0x50452d[_0x4abd05(0x168)],'zIndex':_0x50452d[_0x4abd05(0x16d)],'source':new a40_0x2c9b99({'crossOrigin':_0x4abd05(0x17f),'projection':_0xceaee2,'ratio':0x1,'url':_0x50452d[_0x4abd05(0x169)],'params':_0x67ce97})}),this['id']=_0x50452d['id'],this['initialExtent']=_0x18e208,this['projection']=_0xceaee2,this[_0x4abd05(0x17a)]=_0x50452d;}[a40_0x325e40(0x162)](_0x3d82b1){const _0x4618e6=a40_0x325e40;var _0x31187e;const _0x421b79={};this[_0x4618e6(0x17a)][_0x4618e6(0x161)]&&(_0x421b79[this['layerInfo'][_0x4618e6(0x161)]]=_0x3d82b1),(_0x31187e=this[_0x4618e6(0x175)]())===null||_0x31187e===void 0x0?void 0x0:_0x31187e[_0x4618e6(0x164)]({'layerDefs':JSON[_0x4618e6(0x179)](_0x3d82b1)});}}
1
+ const a40_0x287175=a40_0x1865;(function(_0xa1b485,_0x132a2b){const _0x58b5e2=a40_0x1865,_0x2f12b5=_0xa1b485();while(!![]){try{const _0x41977f=parseInt(_0x58b5e2(0xac))/0x1*(parseInt(_0x58b5e2(0xae))/0x2)+-parseInt(_0x58b5e2(0xc5))/0x3*(-parseInt(_0x58b5e2(0xbe))/0x4)+parseInt(_0x58b5e2(0xb6))/0x5*(-parseInt(_0x58b5e2(0xc2))/0x6)+-parseInt(_0x58b5e2(0xb8))/0x7*(parseInt(_0x58b5e2(0xb3))/0x8)+parseInt(_0x58b5e2(0xc3))/0x9*(-parseInt(_0x58b5e2(0xba))/0xa)+-parseInt(_0x58b5e2(0xb5))/0xb*(parseInt(_0x58b5e2(0xad))/0xc)+parseInt(_0x58b5e2(0xbd))/0xd;if(_0x41977f===_0x132a2b)break;else _0x2f12b5['push'](_0x2f12b5['shift']());}catch(_0x2f9e0a){_0x2f12b5['push'](_0x2f12b5['shift']());}}}(a40_0x48db,0xd0697));import a40_0x145610 from'ol/source/ImageArcGISRest';import{Image as a40_0x5b52ad}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';function a40_0x1865(_0x3985ec,_0x5020b5){const _0x48dbeb=a40_0x48db();return a40_0x1865=function(_0x18659,_0x4dbe7b){_0x18659=_0x18659-0xaa;let _0x444b7e=_0x48dbeb[_0x18659];return _0x444b7e;},a40_0x1865(_0x3985ec,_0x5020b5);}export default class ArcgisDynamicLayer extends a40_0x5b52ad{constructor(_0x1efd46,_0x2ab778){const _0x5c1fd4=a40_0x1865;var _0x2668cc;let _0x5d1f63={'LAYERS':_0x5c1fd4(0xbb)+((_0x2668cc=_0x1efd46[_0x5c1fd4(0xc6)])===null||_0x2668cc===void 0x0?void 0x0:_0x2668cc['join'](','))};if(_0x1efd46['loadFilter']&&_0x1efd46[_0x5c1fd4(0xc9)]){const _0x535d18={};_0x535d18[_0x1efd46[_0x5c1fd4(0xc9)]]=_0x1efd46['loadFilter'],_0x5d1f63['layerDefs']=JSON[_0x5c1fd4(0xb7)](_0x535d18);}const _0x219274=[_0x2ab778['initialExtent'][_0x5c1fd4(0xbc)],_0x2ab778[_0x5c1fd4(0xb9)]['ymin'],_0x2ab778['initialExtent'][_0x5c1fd4(0xb2)],_0x2ab778[_0x5c1fd4(0xb9)][_0x5c1fd4(0xb4)]],_0x5ebebc=[_0x2ab778['fullExtent'][_0x5c1fd4(0xbc)],_0x2ab778[_0x5c1fd4(0xc1)]['ymin'],_0x2ab778[_0x5c1fd4(0xc1)][_0x5c1fd4(0xb2)],_0x2ab778[_0x5c1fd4(0xc1)][_0x5c1fd4(0xb4)]];let _0x1d0bd9;_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xb0)]?_0x1d0bd9=registerProj(_0x5c1fd4(0xbf)+_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xb0)],_0x5ebebc):_0x1d0bd9=registerProj(_0x2ab778[_0x5c1fd4(0xaa)][_0x5c1fd4(0xab)],_0x5ebebc),super({'opacity':_0x1efd46['opacity'],'zIndex':_0x1efd46[_0x5c1fd4(0xc7)],'source':new a40_0x145610({'crossOrigin':'anonymous','projection':_0x1d0bd9,'ratio':0x1,'url':_0x1efd46[_0x5c1fd4(0xaf)],'params':_0x5d1f63})}),this['id']=_0x1efd46['id'],this[_0x5c1fd4(0xb9)]=_0x219274,this[_0x5c1fd4(0xc4)]=_0x1d0bd9,this['layerInfo']=_0x1efd46;}[a40_0x287175(0xb1)](_0x3b0a37){const _0x394efc=a40_0x287175;var _0x483b94;const _0x143d52={};this[_0x394efc(0xc0)]['selectIndex']&&(_0x143d52[this[_0x394efc(0xc0)][_0x394efc(0xc9)]]=_0x3b0a37),(_0x483b94=this[_0x394efc(0xc8)]())===null||_0x483b94===void 0x0?void 0x0:_0x483b94['updateParams']({'layerDefs':JSON[_0x394efc(0xb7)](_0x3b0a37)});}}function a40_0x48db(){const _0x2a0040=['spatialReference','wkt','2fCzdpn','636NFdTlf','158788OOyeOd','url','wkid','setFilter','xmax','928nbIZNi','ymax','62183giesGP','5qHPoNN','stringify','39403TACfYw','initialExtent','1357000TwjvrP','show:','xmin','41257762DDoNqC','4USMkzQ','EPSG:','layerInfo','fullExtent','9073182qHotFM','90eDToeZ','projection','4028889jswXGD','sublayers','mapIndex','getSource','selectIndex'];a40_0x48db=function(){return _0x2a0040;};return a40_0x48db();}
@@ -1 +1 @@
1
- const a41_0xdc13fd=a41_0x49bd;(function(_0x2fb121,_0x622ff7){const _0x1b9197=a41_0x49bd,_0x2c3caf=_0x2fb121();while(!![]){try{const _0x425f46=parseInt(_0x1b9197(0x14a))/0x1+parseInt(_0x1b9197(0x154))/0x2*(-parseInt(_0x1b9197(0x145))/0x3)+-parseInt(_0x1b9197(0x16e))/0x4+-parseInt(_0x1b9197(0x160))/0x5*(parseInt(_0x1b9197(0x168))/0x6)+parseInt(_0x1b9197(0x14b))/0x7+-parseInt(_0x1b9197(0x171))/0x8+-parseInt(_0x1b9197(0x175))/0x9*(-parseInt(_0x1b9197(0x157))/0xa);if(_0x425f46===_0x622ff7)break;else _0x2c3caf['push'](_0x2c3caf['shift']());}catch(_0x23f641){_0x2c3caf['push'](_0x2c3caf['shift']());}}}(a41_0x4ab3,0x7b37b));import a41_0x4b1c81 from'ol/format/EsriJSON';function a41_0x49bd(_0x176b58,_0x4a40fe){const _0x4ab361=a41_0x4ab3();return a41_0x49bd=function(_0x49bdb2,_0x4aa5b9){_0x49bdb2=_0x49bdb2-0x13f;let _0x58bbd2=_0x4ab361[_0x49bdb2];return _0x58bbd2;},a41_0x49bd(_0x176b58,_0x4a40fe);}import a41_0x9e1f42 from'ol/source/Vector';import{Vector as a41_0x58aec7}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x398ca6}from'ol/loadingstrategy';import a41_0xedf255 from'ol/layer/Group';import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x23496c from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0xedf255{constructor(_0x531b4f,_0x377aeb,_0x68fe13){const _0x140f35=a41_0x49bd,_0x2fb9f7=[_0x377aeb[_0x140f35(0x156)]['xmin'],_0x377aeb[_0x140f35(0x156)]['ymin'],_0x377aeb[_0x140f35(0x156)][_0x140f35(0x13f)],_0x377aeb[_0x140f35(0x156)][_0x140f35(0x159)]],_0x35c513=[_0x377aeb[_0x140f35(0x140)][_0x140f35(0x151)],_0x377aeb[_0x140f35(0x140)]['ymin'],_0x377aeb[_0x140f35(0x140)][_0x140f35(0x13f)],_0x377aeb[_0x140f35(0x140)][_0x140f35(0x159)]];let _0x2badc5;_0x377aeb[_0x140f35(0x144)]['wkid']?_0x2badc5=registerProj(_0x140f35(0x147)+_0x377aeb[_0x140f35(0x144)]['wkid'],_0x35c513):_0x2badc5=registerProj(_0x377aeb[_0x140f35(0x144)][_0x140f35(0x165)],_0x35c513);let _0xc701ec=[];super({'zIndex':_0x531b4f[_0x140f35(0x158)]});for(let _0x5586cc of _0x68fe13){let _0x2740c5=this[_0x140f35(0x172)](_0x531b4f,_0x5586cc);_0xc701ec[_0x140f35(0x141)](_0x2740c5);}this[_0x140f35(0x161)](new a41_0x23496c(_0xc701ec)),this['id']=_0x531b4f['id'],this[_0x140f35(0x156)]=_0x2fb9f7,this[_0x140f35(0x150)]=_0x2badc5,this[_0x140f35(0x16c)]=_0x531b4f;}[a41_0xdc13fd(0x172)](_0x115a8d,_0xc820e3){const _0x3a0795=a41_0xdc13fd;var _0x589692=new a41_0x4b1c81();let _0x31374d=new a41_0x9e1f42({'loader':function(_0xe1e849,_0x10f504,_0x61972c){const _0x42a8bb=a41_0x49bd;let _0x28b0cd=_0x42a8bb(0x142);_0x115a8d[_0x42a8bb(0x167)]&&(_0x28b0cd=typeof _0x115a8d[_0x42a8bb(0x167)]===_0x42a8bb(0x170)?_0x115a8d[_0x42a8bb(0x167)]:JSON[_0x42a8bb(0x163)](_0x115a8d['loadFilter']));let _0x35cfdd=_0x61972c[_0x42a8bb(0x14c)](),_0x2e4a8b=_0x35cfdd['split'](':')[0x1];var _0x58a941=appendPath(_0xc820e3[_0x42a8bb(0x15b)],_0x42a8bb(0x146));_0x58a941=appendParam(_0x58a941,'f\x20=\x20json\x20&\x20'+_0x42a8bb(0x153)+encodeURIComponent(_0x28b0cd)+_0x42a8bb(0x16a)+encodeURIComponent(_0x42a8bb(0x14f)+_0xe1e849[0x0]+',\x22ymin\x22:'+_0xe1e849[0x1]+_0x42a8bb(0x16d)+_0xe1e849[0x2]+_0x42a8bb(0x14d)+_0xe1e849[0x3]+_0x42a8bb(0x164)+_0x2e4a8b+'}}')+_0x42a8bb(0x143)+_0x2e4a8b+'&outFields=*'+_0x42a8bb(0x162)+_0x2e4a8b),jsonp(_0x58a941)[_0x42a8bb(0x177)](_0x1f0be5=>{const _0x1c9f4a=_0x42a8bb;if(_0x1f0be5[_0x1c9f4a(0x16b)])console[_0x1c9f4a(0x155)](_0x1f0be5);else{var _0x22a855=_0x589692[_0x1c9f4a(0x15e)](_0x1f0be5,{'featureProjection':_0x61972c});_0x22a855[_0x1c9f4a(0x152)]>0x0&&(_0xc820e3[_0x1c9f4a(0x14e)][_0x1c9f4a(0x15d)][_0x1c9f4a(0x166)]==_0x1c9f4a(0x15a)&&_0x22a855['forEach'](function(_0x3c7ccc){const _0x1128cd=_0x1c9f4a;var _0x2bba5a=_0x3c7ccc[_0x1128cd(0x176)](_0xc820e3['drawingInfo'][_0x1128cd(0x15d)]['field1']);const _0x1d0ed8=_0xc820e3[_0x1128cd(0x14e)][_0x1128cd(0x15d)][_0x1128cd(0x149)][_0x1128cd(0x174)](_0xca47de=>_0xca47de['value']==_0x2bba5a);let _0x3d2a63;_0x1d0ed8?_0x3d2a63=transformedEsriStyle(_0x1d0ed8[_0x1128cd(0x16f)]):_0x3d2a63=transformedEsriStyle(_0xc820e3[_0x1128cd(0x14e)][_0x1128cd(0x15d)][_0x1128cd(0x15c)]),_0x3c7ccc[_0x1128cd(0x169)](_0x3d2a63);}),_0x31374d[_0x1c9f4a(0x148)](_0x22a855));}});},'strategy':a41_0x398ca6(createXYZ({'tileSize':0x200}))}),_0x1a59fa=new a41_0x58aec7({'source':_0x31374d,'zIndex':_0x115a8d['showIndex']});if(_0xc820e3['drawingInfo'][_0x3a0795(0x15d)]['type']==_0x3a0795(0x15f)&&_0xc820e3['drawingInfo'][_0x3a0795(0x15d)][_0x3a0795(0x16f)]){let _0x5c61ee=transformedEsriStyle(_0xc820e3[_0x3a0795(0x14e)][_0x3a0795(0x15d)]['symbol']);_0x1a59fa[_0x3a0795(0x169)](_0x5c61ee);}return _0x1a59fa;}[a41_0xdc13fd(0x173)](_0x43b510){const _0x23d48e=a41_0xdc13fd;this['layerInfo'][_0x23d48e(0x167)]=_0x43b510;}}function a41_0x4ab3(){const _0x46e987=['setLayers','&outSR=','stringify',',\x22spatialReference\x22:{\x22wkid\x22:','wkt','type','loadFilter','249942CzDqyA','setStyle','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','error','layerInfo',',\x22xmax\x22:','1551244RuHbLq','symbol','string','7225024ZuNlDy','createArcGISFeatureLayer','setFilter','find','1361601pCliKl','get','then','xmax','fullExtent','push','1=1','&geometryType=esriGeometryEnvelope&inSR=','spatialReference','231BLiEKo','/query','EPSG:','addFeatures','uniqueValueInfos','579890ydsEpW','338541SBQRQY','getCode',',\x22ymax\x22:','drawingInfo','{\x22xmin\x22:','projection','xmin','length','where=','24466fAXfPE','log','initialExtent','200hKUdrc','mapIndex','ymax','uniqueValue','url','defaultSymbol','renderer','readFeatures','simple','110YwlzKo'];a41_0x4ab3=function(){return _0x46e987;};return a41_0x4ab3();}
1
+ const a41_0x1aae84=a41_0x2521;function a41_0x4829(){const _0x2f54bc=['setStyle','2795639ZAAGsS','mapIndex','loadFilter','type','uniqueValueInfos','spatialReference','11049jBaIpp','then','1=1','stringify',',\x22spatialReference\x22:{\x22wkid\x22:','setFilter','returnGeometry=true&spatialRel=esriSpatialRelIntersects&geometry=','push','length','log','wkt','xmax','simple','2466310bnjsUf','url','getCode','value','split','defaultSymbol','94171loSbNL','forEach','find','readFeatures','createArcGISFeatureLayer','ymax','projection','{\x22xmin\x22:','string','f\x20=\x20json\x20&\x20','initialExtent','setLayers','addFeatures','renderer','showIndex','1096782TVeptZ','/query','5vzlNAF','118vOEELf','ymin',',\x22ymin\x22:','xmin','symbol','get','fullExtent','257400arEkry','1380IOpPXh','424xmBBbe','field1','&geometryType=esriGeometryEnvelope&inSR=','120ZjdXJE','layerInfo','uniqueValue','7263EClpVs','drawingInfo'];a41_0x4829=function(){return _0x2f54bc;};return a41_0x4829();}(function(_0x5c358d,_0x3e8aae){const _0x4d410a=a41_0x2521,_0x439a06=_0x5c358d();while(!![]){try{const _0x1a7114=-parseInt(_0x4d410a(0x13f))/0x1*(parseInt(_0x4d410a(0x130))/0x2)+parseInt(_0x4d410a(0x10b))/0x3*(parseInt(_0x4d410a(0x139))/0x4)+-parseInt(_0x4d410a(0x12f))/0x5*(-parseInt(_0x4d410a(0x12d))/0x6)+parseInt(_0x4d410a(0x105))/0x7+-parseInt(_0x4d410a(0x13c))/0x8*(-parseInt(_0x4d410a(0x137))/0x9)+parseInt(_0x4d410a(0x118))/0xa+-parseInt(_0x4d410a(0x11e))/0xb*(parseInt(_0x4d410a(0x138))/0xc);if(_0x1a7114===_0x3e8aae)break;else _0x439a06['push'](_0x439a06['shift']());}catch(_0x3c615a){_0x439a06['push'](_0x439a06['shift']());}}}(a41_0x4829,0x396a3));import a41_0x3dad82 from'ol/format/EsriJSON';import a41_0x46717f from'ol/source/Vector';import{Vector as a41_0x3f737d}from'ol/layer';import{jsonp}from'../utils/AxiosUtil';import{createXYZ}from'ol/tilegrid';import{tile as a41_0x18f3db}from'ol/loadingstrategy';import a41_0x4a20f4 from'ol/layer/Group';function a41_0x2521(_0x315a72,_0x454f80){const _0x4829a6=a41_0x4829();return a41_0x2521=function(_0x2521dc,_0x1632a3){_0x2521dc=_0x2521dc-0x103;let _0xcf2a8c=_0x4829a6[_0x2521dc];return _0xcf2a8c;},a41_0x2521(_0x315a72,_0x454f80);}import{registerProj}from'../utils/RegisterProjUtil';import{transformedEsriStyle}from'../utils/StyleUtil';import a41_0x1b581f from'ol/Collection';import{appendParam,appendPath}from'../utils/UrlUtil';export default class ArcgisFeatureLayer extends a41_0x4a20f4{constructor(_0xf28e92,_0x4dc46b,_0x272034){const _0x264de4=a41_0x2521,_0x24b4d1=[_0x4dc46b[_0x264de4(0x128)]['xmin'],_0x4dc46b[_0x264de4(0x128)][_0x264de4(0x131)],_0x4dc46b['initialExtent'][_0x264de4(0x116)],_0x4dc46b[_0x264de4(0x128)][_0x264de4(0x123)]],_0x31f5fb=[_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x133)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x131)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x116)],_0x4dc46b[_0x264de4(0x136)][_0x264de4(0x123)]];let _0x54fad8;_0x4dc46b['spatialReference']['wkid']?_0x54fad8=registerProj('EPSG:'+_0x4dc46b[_0x264de4(0x10a)]['wkid'],_0x31f5fb):_0x54fad8=registerProj(_0x4dc46b[_0x264de4(0x10a)][_0x264de4(0x115)],_0x31f5fb);let _0xd59e70=[];super({'zIndex':_0xf28e92[_0x264de4(0x106)]});for(let _0x5e65eb of _0x272034){let _0x416724=this[_0x264de4(0x122)](_0xf28e92,_0x5e65eb);_0xd59e70[_0x264de4(0x112)](_0x416724);}this[_0x264de4(0x129)](new a41_0x1b581f(_0xd59e70)),this['id']=_0xf28e92['id'],this['initialExtent']=_0x24b4d1,this[_0x264de4(0x124)]=_0x54fad8,this[_0x264de4(0x13d)]=_0xf28e92;}[a41_0x1aae84(0x122)](_0x19af97,_0x16c52d){const _0x53b480=a41_0x1aae84;var _0xb1de27=new a41_0x3dad82();let _0x128ed1=new a41_0x46717f({'loader':function(_0x3a728f,_0xac6311,_0x16b5e3){const _0x8dad53=a41_0x2521;let _0x3f9588=_0x8dad53(0x10d);_0x19af97[_0x8dad53(0x107)]&&(_0x3f9588=typeof _0x19af97[_0x8dad53(0x107)]===_0x8dad53(0x126)?_0x19af97[_0x8dad53(0x107)]:JSON[_0x8dad53(0x10e)](_0x19af97['loadFilter']));let _0x3bbc45=_0x16b5e3[_0x8dad53(0x11a)](),_0x552d3b=_0x3bbc45[_0x8dad53(0x11c)](':')[0x1];var _0x59e6fc=appendPath(_0x16c52d[_0x8dad53(0x119)],_0x8dad53(0x12e));_0x59e6fc=appendParam(_0x59e6fc,_0x8dad53(0x127)+'where='+encodeURIComponent(_0x3f9588)+_0x8dad53(0x111)+encodeURIComponent(_0x8dad53(0x125)+_0x3a728f[0x0]+_0x8dad53(0x132)+_0x3a728f[0x1]+',\x22xmax\x22:'+_0x3a728f[0x2]+',\x22ymax\x22:'+_0x3a728f[0x3]+_0x8dad53(0x10f)+_0x552d3b+'}}')+_0x8dad53(0x13b)+_0x552d3b+'&outFields=*'+'&outSR='+_0x552d3b),jsonp(_0x59e6fc)[_0x8dad53(0x10c)](_0x12a878=>{const _0x414560=_0x8dad53;if(_0x12a878['error'])console[_0x414560(0x114)](_0x12a878);else{var _0x22f5f4=_0xb1de27[_0x414560(0x121)](_0x12a878,{'featureProjection':_0x16b5e3});_0x22f5f4[_0x414560(0x113)]>0x0&&(_0x16c52d['drawingInfo'][_0x414560(0x12b)][_0x414560(0x108)]==_0x414560(0x13e)&&_0x22f5f4[_0x414560(0x11f)](function(_0x32f261){const _0x1bd025=_0x414560;var _0x1fc2c1=_0x32f261[_0x1bd025(0x135)](_0x16c52d[_0x1bd025(0x103)][_0x1bd025(0x12b)][_0x1bd025(0x13a)]);const _0x18f1b1=_0x16c52d[_0x1bd025(0x103)]['renderer'][_0x1bd025(0x109)][_0x1bd025(0x120)](_0x34955b=>_0x34955b[_0x1bd025(0x11b)]==_0x1fc2c1);let _0x25ecc5;_0x18f1b1?_0x25ecc5=transformedEsriStyle(_0x18f1b1[_0x1bd025(0x134)]):_0x25ecc5=transformedEsriStyle(_0x16c52d[_0x1bd025(0x103)][_0x1bd025(0x12b)][_0x1bd025(0x11d)]),_0x32f261['setStyle'](_0x25ecc5);}),_0x128ed1[_0x414560(0x12a)](_0x22f5f4));}});},'strategy':a41_0x18f3db(createXYZ({'tileSize':0x200}))}),_0x1e3b87=new a41_0x3f737d({'source':_0x128ed1,'zIndex':_0x19af97[_0x53b480(0x12c)]});if(_0x16c52d[_0x53b480(0x103)]['renderer'][_0x53b480(0x108)]==_0x53b480(0x117)&&_0x16c52d[_0x53b480(0x103)][_0x53b480(0x12b)]['symbol']){let _0x13f0af=transformedEsriStyle(_0x16c52d[_0x53b480(0x103)][_0x53b480(0x12b)][_0x53b480(0x134)]);_0x1e3b87[_0x53b480(0x104)](_0x13f0af);}return _0x1e3b87;}[a41_0x1aae84(0x110)](_0x40e089){this['layerInfo']['loadFilter']=_0x40e089;}}
@@ -1 +1 @@
1
- (function(_0x4c7211,_0x317384){const _0x48b23b=a42_0x4178,_0x12b800=_0x4c7211();while(!![]){try{const _0x51e104=parseInt(_0x48b23b(0x1aa))/0x1*(parseInt(_0x48b23b(0x19e))/0x2)+parseInt(_0x48b23b(0x1a9))/0x3*(parseInt(_0x48b23b(0x1a5))/0x4)+-parseInt(_0x48b23b(0x1ac))/0x5*(-parseInt(_0x48b23b(0x196))/0x6)+parseInt(_0x48b23b(0x19f))/0x7+-parseInt(_0x48b23b(0x1a1))/0x8*(-parseInt(_0x48b23b(0x1af))/0x9)+-parseInt(_0x48b23b(0x1a7))/0xa+parseInt(_0x48b23b(0x1a2))/0xb*(-parseInt(_0x48b23b(0x199))/0xc);if(_0x51e104===_0x317384)break;else _0x12b800['push'](_0x12b800['shift']());}catch(_0x38e57a){_0x12b800['push'](_0x12b800['shift']());}}}(a42_0x1f04,0xc29a5));import a42_0x2f0c0a from'ol/layer/Tile';function a42_0x1f04(){const _0x5e6e21=['EPSG:','4clIKJW','initialExtent','9243160DhsRrm','opacity','1765509EbSfZu','55DBODDQ','origin','28235glzkdn','wkid','xmin','9haSCTu','/tile/{z}/{y}/{x}','tileInfo','url','push','layerInfo','mapIndex','708Tdwfoz','length','spatialReference','12XLdPGX','xmax','ymin','ymax','lods','13646rbLSLY','9486617amIGAQ','cols','258008umflob','14258057nkSRsP','fullExtent'];a42_0x1f04=function(){return _0x5e6e21;};return a42_0x1f04();}import a42_0x4882f3 from'ol/source/XYZ';import a42_0x4f13e0 from'ol/tilegrid/TileGrid';function a42_0x4178(_0x1283e8,_0x19bb95){const _0x1f0472=a42_0x1f04();return a42_0x4178=function(_0x417846,_0x59e1d0){_0x417846=_0x417846-0x190;let _0x1268dc=_0x1f0472[_0x417846];return _0x1268dc;},a42_0x4178(_0x1283e8,_0x19bb95);}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x2f0c0a{constructor(_0x12e904,_0x382899){const _0x3b4d92=a42_0x4178,_0x1bd26a=_0x12e904[_0x3b4d92(0x192)]?_0x12e904[_0x3b4d92(0x192)]:'',_0x44acba=appendPath(_0x1bd26a,_0x3b4d92(0x190)),_0x1cd962=[_0x382899['initialExtent'][_0x3b4d92(0x1ae)],_0x382899[_0x3b4d92(0x1a6)][_0x3b4d92(0x19b)],_0x382899[_0x3b4d92(0x1a6)][_0x3b4d92(0x19a)],_0x382899['initialExtent'][_0x3b4d92(0x19c)]],_0x2736ff=[_0x382899['fullExtent']['xmin'],_0x382899[_0x3b4d92(0x1a3)]['ymin'],_0x382899[_0x3b4d92(0x1a3)]['xmax'],_0x382899['fullExtent'][_0x3b4d92(0x19c)]];let _0x24086f;_0x382899[_0x3b4d92(0x198)][_0x3b4d92(0x1ad)]?_0x24086f=registerProj(_0x3b4d92(0x1a4)+_0x382899['spatialReference'][_0x3b4d92(0x1ad)],_0x2736ff):_0x24086f=registerProj(_0x382899[_0x3b4d92(0x198)]['wkt'],_0x2736ff);let _0xe78ecc=[];for(let _0x5ce7d8=0x0,_0x4a4820=_0x382899[_0x3b4d92(0x191)][_0x3b4d92(0x19d)][_0x3b4d92(0x197)];_0x5ce7d8<_0x4a4820;_0x5ce7d8++){_0xe78ecc[_0x3b4d92(0x193)](_0x382899[_0x3b4d92(0x191)][_0x3b4d92(0x19d)][_0x5ce7d8]['resolution']);}super({'opacity':_0x12e904[_0x3b4d92(0x1a8)],'zIndex':_0x12e904[_0x3b4d92(0x195)],'maxResolution':_0xe78ecc[0x0]*0x2,'source':new a42_0x4882f3({'url':_0x44acba,'projection':_0x24086f,'crossOrigin':'anonymous','tileGrid':new a42_0x4f13e0({'extent':_0x2736ff,'origin':[_0x382899[_0x3b4d92(0x191)][_0x3b4d92(0x1ab)]['x'],_0x382899['tileInfo'][_0x3b4d92(0x1ab)]['y']],'resolutions':_0xe78ecc,'tileSize':[_0x382899[_0x3b4d92(0x191)]['rows'],_0x382899[_0x3b4d92(0x191)][_0x3b4d92(0x1a0)]]})})}),this['id']=_0x12e904['id'],this[_0x3b4d92(0x1a6)]=_0x1cd962,this['projection']=_0x24086f,this[_0x3b4d92(0x194)]=_0x12e904;}}
1
+ (function(_0x59ae89,_0x42143e){const _0x25cbd4=a42_0x3e56,_0x16b3be=_0x59ae89();while(!![]){try{const _0x167d40=parseInt(_0x25cbd4(0x178))/0x1*(parseInt(_0x25cbd4(0x176))/0x2)+-parseInt(_0x25cbd4(0x190))/0x3*(-parseInt(_0x25cbd4(0x181))/0x4)+-parseInt(_0x25cbd4(0x182))/0x5*(-parseInt(_0x25cbd4(0x18b))/0x6)+-parseInt(_0x25cbd4(0x187))/0x7+parseInt(_0x25cbd4(0x186))/0x8+-parseInt(_0x25cbd4(0x183))/0x9+parseInt(_0x25cbd4(0x193))/0xa;if(_0x167d40===_0x42143e)break;else _0x16b3be['push'](_0x16b3be['shift']());}catch(_0x3914ba){_0x16b3be['push'](_0x16b3be['shift']());}}}(a42_0x434e,0xc80fa));import a42_0x185fd0 from'ol/layer/Tile';import a42_0x21df88 from'ol/source/XYZ';import a42_0x433e05 from'ol/tilegrid/TileGrid';function a42_0x434e(){const _0x157c36=['396FDsufD','123665GZhmSC','12422214ojDBks','mapIndex','layerInfo','2487040hgbheM','9596643UwRHtz','projection','xmin','initialExtent','36VQdTEj','tileInfo','xmax','wkid','length','32328OIEHeI','rows','anonymous','11324190XuFCPu','resolution','lods','origin','49304czfPIv','ymax','37TigLZm','fullExtent','/tile/{z}/{y}/{x}','url','spatialReference','cols','push','ymin','wkt'];a42_0x434e=function(){return _0x157c36;};return a42_0x434e();}function a42_0x3e56(_0x310da8,_0x32f6dc){const _0x434efc=a42_0x434e();return a42_0x3e56=function(_0x3e56f1,_0x44b6bf){_0x3e56f1=_0x3e56f1-0x175;let _0x165c3b=_0x434efc[_0x3e56f1];return _0x165c3b;},a42_0x3e56(_0x310da8,_0x32f6dc);}import{registerProj}from'../utils/RegisterProjUtil';import{appendPath}from'../utils/UrlUtil';export default class ArcgisTileLayer extends a42_0x185fd0{constructor(_0x45c5b8,_0x39bc9d){const _0xcd34be=a42_0x3e56,_0x123ec7=_0x45c5b8[_0xcd34be(0x17b)]?_0x45c5b8[_0xcd34be(0x17b)]:'',_0x72148c=appendPath(_0x123ec7,_0xcd34be(0x17a)),_0x3c9cb9=[_0x39bc9d[_0xcd34be(0x18a)][_0xcd34be(0x189)],_0x39bc9d[_0xcd34be(0x18a)][_0xcd34be(0x17f)],_0x39bc9d[_0xcd34be(0x18a)]['xmax'],_0x39bc9d['initialExtent']['ymax']],_0x853c05=[_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x189)],_0x39bc9d['fullExtent']['ymin'],_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x18d)],_0x39bc9d[_0xcd34be(0x179)][_0xcd34be(0x177)]];let _0x4c854f;_0x39bc9d[_0xcd34be(0x17c)][_0xcd34be(0x18e)]?_0x4c854f=registerProj('EPSG:'+_0x39bc9d[_0xcd34be(0x17c)]['wkid'],_0x853c05):_0x4c854f=registerProj(_0x39bc9d[_0xcd34be(0x17c)][_0xcd34be(0x180)],_0x853c05);let _0x5c709c=[];for(let _0x55ce88=0x0,_0x5bcee1=_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x195)][_0xcd34be(0x18f)];_0x55ce88<_0x5bcee1;_0x55ce88++){_0x5c709c[_0xcd34be(0x17e)](_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x195)][_0x55ce88][_0xcd34be(0x194)]);}super({'opacity':_0x45c5b8['opacity'],'zIndex':_0x45c5b8[_0xcd34be(0x184)],'maxResolution':_0x5c709c[0x0]*0x2,'source':new a42_0x21df88({'url':_0x72148c,'projection':_0x4c854f,'crossOrigin':_0xcd34be(0x192),'tileGrid':new a42_0x433e05({'extent':_0x853c05,'origin':[_0x39bc9d['tileInfo'][_0xcd34be(0x175)]['x'],_0x39bc9d[_0xcd34be(0x18c)]['origin']['y']],'resolutions':_0x5c709c,'tileSize':[_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x191)],_0x39bc9d[_0xcd34be(0x18c)][_0xcd34be(0x17d)]]})})}),this['id']=_0x45c5b8['id'],this[_0xcd34be(0x18a)]=_0x3c9cb9,this[_0xcd34be(0x188)]=_0x4c854f,this[_0xcd34be(0x185)]=_0x45c5b8;}}
@@ -1 +1 @@
1
- function a43_0x11f8(){const _0xfbea8=['loadFilter','initExtent','mapIndex','6827520pgHdLY','url','5qdGccI','updateParams','anonymous','sublayers','CQL_FILTER','72429vjXsoU','1.1.0','getSource','1038696ZmopzB','wkid','EPSG:','24FCwJXo','34422BIpgbG','1256969moyWEy','opacity','setFilter','20763edlyMC','layerInfo','initialExtent','48pHOULF','1330047bRZwGI'];a43_0x11f8=function(){return _0xfbea8;};return a43_0x11f8();}const a43_0x12d501=a43_0x4ebf;(function(_0xc2811,_0x1a5f0b){const _0x5e5ecc=a43_0x4ebf,_0x5ac796=_0xc2811();while(!![]){try{const _0x4dce41=-parseInt(_0x5e5ecc(0x111))/0x1+parseInt(_0x5e5ecc(0x114))/0x2+-parseInt(_0x5e5ecc(0x102))/0x3*(parseInt(_0x5e5ecc(0x105))/0x4)+-parseInt(_0x5e5ecc(0x10c))/0x5*(-parseInt(_0x5e5ecc(0x118))/0x6)+parseInt(_0x5e5ecc(0xff))/0x7+-parseInt(_0x5e5ecc(0x117))/0x8*(-parseInt(_0x5e5ecc(0x106))/0x9)+-parseInt(_0x5e5ecc(0x10a))/0xa;if(_0x4dce41===_0x1a5f0b)break;else _0x5ac796['push'](_0x5ac796['shift']());}catch(_0x4595a4){_0x5ac796['push'](_0x5ac796['shift']());}}}(a43_0x11f8,0x4ba08));import{ImageWMS as a43_0xe33744}from'ol/source';import{Image as a43_0x2524bc}from'ol/layer';function a43_0x4ebf(_0x2f958c,_0x5a1a19){const _0x11f868=a43_0x11f8();return a43_0x4ebf=function(_0x4ebf6e,_0xc2733e){_0x4ebf6e=_0x4ebf6e-0xff;let _0x4c45c0=_0x11f868[_0x4ebf6e];return _0x4c45c0;},a43_0x4ebf(_0x2f958c,_0x5a1a19);}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x2524bc{constructor(_0x54c7ed,_0x11f33d){const _0x27efd0=a43_0x4ebf;var _0x35bb82;let _0x39a555=registerProj(_0x27efd0(0x116)+_0x11f33d[_0x27efd0(0x115)],undefined),_0x244c36={'LAYERS':(_0x35bb82=_0x54c7ed[_0x27efd0(0x10f)])===null||_0x35bb82===void 0x0?void 0x0:_0x35bb82['join'](','),'VERSION':_0x27efd0(0x112)};_0x54c7ed[_0x27efd0(0x107)]&&(_0x244c36[_0x27efd0(0x110)]=_0x54c7ed[_0x27efd0(0x107)]),super({'opacity':_0x54c7ed[_0x27efd0(0x100)],'zIndex':_0x54c7ed[_0x27efd0(0x109)],'source':new a43_0xe33744({'crossOrigin':_0x27efd0(0x10e),'url':_0x54c7ed[_0x27efd0(0x10b)],'params':_0x244c36})}),this['id']=_0x54c7ed['id'],this[_0x27efd0(0x104)]=_0x11f33d[_0x27efd0(0x108)],this['projection']=_0x39a555,this[_0x27efd0(0x103)]=_0x54c7ed;}['refresh'](){}[a43_0x12d501(0x101)](_0x12fac3){const _0x3a6d19=a43_0x12d501;var _0x78bd44;(_0x78bd44=this[_0x3a6d19(0x113)]())===null||_0x78bd44===void 0x0?void 0x0:_0x78bd44[_0x3a6d19(0x10d)]({'CQL_FILTER':_0x12fac3});}}
1
+ const a43_0x26bc3c=a43_0x1c62;function a43_0x1c62(_0x2f7c45,_0x33dd82){const _0x1f2b66=a43_0x1f2b();return a43_0x1c62=function(_0x1c620d,_0x4e096e){_0x1c620d=_0x1c620d-0x158;let _0x5d264c=_0x1f2b66[_0x1c620d];return _0x5d264c;},a43_0x1c62(_0x2f7c45,_0x33dd82);}(function(_0x29c866,_0x39a800){const _0x290a25=a43_0x1c62,_0x234e6b=_0x29c866();while(!![]){try{const _0x446ca7=-parseInt(_0x290a25(0x15d))/0x1*(-parseInt(_0x290a25(0x15a))/0x2)+parseInt(_0x290a25(0x165))/0x3+-parseInt(_0x290a25(0x16d))/0x4+-parseInt(_0x290a25(0x16a))/0x5*(parseInt(_0x290a25(0x167))/0x6)+-parseInt(_0x290a25(0x16c))/0x7+parseInt(_0x290a25(0x164))/0x8*(-parseInt(_0x290a25(0x159))/0x9)+parseInt(_0x290a25(0x160))/0xa;if(_0x446ca7===_0x39a800)break;else _0x234e6b['push'](_0x234e6b['shift']());}catch(_0xaad853){_0x234e6b['push'](_0x234e6b['shift']());}}}(a43_0x1f2b,0x233fe));import{ImageWMS as a43_0x47879b}from'ol/source';import{Image as a43_0x742de3}from'ol/layer';function a43_0x1f2b(){const _0x571e69=['15TkiMFH','sublayers','updateParams','3165680SHRJkU','refresh','wkid','initExtent','16eYtUqN','35790DBDuAG','url','1182ApmthH','join','opacity','1810WpGBhB','layerInfo','134302hXcnmg','387152syioAe','setFilter','593091ZQshQv','17996DyOuyQ','EPSG:','anonymous'];a43_0x1f2b=function(){return _0x571e69;};return a43_0x1f2b();}import{registerProj}from'../utils/RegisterProjUtil';export default class ArcgisWMSLayer extends a43_0x742de3{constructor(_0x5df364,_0x2136e6){const _0x17e2ea=a43_0x1c62;var _0x3a6930;let _0x2649f5=registerProj(_0x17e2ea(0x15b)+_0x2136e6[_0x17e2ea(0x162)],undefined),_0x570ab5={'LAYERS':(_0x3a6930=_0x5df364[_0x17e2ea(0x15e)])===null||_0x3a6930===void 0x0?void 0x0:_0x3a6930[_0x17e2ea(0x168)](','),'VERSION':'1.1.0'};_0x5df364['loadFilter']&&(_0x570ab5['CQL_FILTER']=_0x5df364['loadFilter']),super({'opacity':_0x5df364[_0x17e2ea(0x169)],'zIndex':_0x5df364['mapIndex'],'source':new a43_0x47879b({'crossOrigin':_0x17e2ea(0x15c),'url':_0x5df364[_0x17e2ea(0x166)],'params':_0x570ab5})}),this['id']=_0x5df364['id'],this['initialExtent']=_0x2136e6[_0x17e2ea(0x163)],this['projection']=_0x2649f5,this[_0x17e2ea(0x16b)]=_0x5df364;}[a43_0x26bc3c(0x161)](){}[a43_0x26bc3c(0x158)](_0x17abaf){const _0x3f29e0=a43_0x26bc3c;var _0x448d6f;(_0x448d6f=this['getSource']())===null||_0x448d6f===void 0x0?void 0x0:_0x448d6f[_0x3f29e0(0x15f)]({'CQL_FILTER':_0x17abaf});}}
@@ -1 +1 @@
1
- (function(_0x2827c8,_0x5111fe){const _0x18c105=a44_0x4fe7,_0x27bc36=_0x2827c8();while(!![]){try{const _0x1ba58d=-parseInt(_0x18c105(0x125))/0x1*(-parseInt(_0x18c105(0x13e))/0x2)+-parseInt(_0x18c105(0x127))/0x3+parseInt(_0x18c105(0x133))/0x4*(parseInt(_0x18c105(0x135))/0x5)+-parseInt(_0x18c105(0x124))/0x6*(-parseInt(_0x18c105(0x126))/0x7)+parseInt(_0x18c105(0x130))/0x8*(parseInt(_0x18c105(0x140))/0x9)+-parseInt(_0x18c105(0x13c))/0xa*(-parseInt(_0x18c105(0x12d))/0xb)+-parseInt(_0x18c105(0x13d))/0xc;if(_0x1ba58d===_0x5111fe)break;else _0x27bc36['push'](_0x27bc36['shift']());}catch(_0x22a38e){_0x27bc36['push'](_0x27bc36['shift']());}}}(a44_0x26cd,0x3aaa6));function a44_0x26cd(){const _0x6b2c63=['1228876pQvFjs','image/png','projection','1254232aLYqpU','getImage','tileGrid','80GPMjtz','src','111880nOColz','join','wkid','origins_','length','replace','getMatrixIds','20YQLKPC','8923200ocSrkJ','8516XOLLyw','mapIndex','18hjSWQq','value','?http','urls','name','sublayers','4314VfAqjQ','17ilocpT','1477zVjBDG','674133xNbjGr','boundingBoxExtent','indexOf','sourceXml','getResolutions','url'];a44_0x26cd=function(){return _0x6b2c63;};return a44_0x26cd();}import a44_0x1416c5 from'ol/layer/Tile';import a44_0x489557,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x31fe75 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';import{addArgument,getUrlParams}from'../utils/UrlUtil';function a44_0x4fe7(_0x2b8917,_0x4a0080){const _0x26cdd1=a44_0x26cd();return a44_0x4fe7=function(_0x4fe7b2,_0x12df23){_0x4fe7b2=_0x4fe7b2-0x124;let _0x37884c=_0x26cdd1[_0x4fe7b2];return _0x37884c;},a44_0x4fe7(_0x2b8917,_0x4a0080);}export default class ArcgisWMTSLayer extends a44_0x1416c5{constructor(_0x12c43e,_0x518ab9){const _0xe45b0c=a44_0x4fe7;var _0xa3fc60;let _0x188542='';_0x12c43e[_0xe45b0c(0x145)]&&_0x12c43e[_0xe45b0c(0x145)][_0xe45b0c(0x139)]>0x0&&(_0x188542=_0x12c43e['sublayers'][_0xe45b0c(0x136)](','));const _0x54c586='EPSG:'+_0x518ab9[_0xe45b0c(0x137)];let _0x47bc76=registerProj(_0x54c586);const _0x149c16=optionsFromCapabilities(_0x518ab9[_0xe45b0c(0x12a)],{'layer':(_0xa3fc60=_0x12c43e[_0xe45b0c(0x145)])===null||_0xa3fc60===void 0x0?void 0x0:_0xa3fc60[0x0],'matrixSet':_0x518ab9['tileMatrixSet'],'format':_0xe45b0c(0x12e)});let _0x676bd7=_0x149c16[_0xe45b0c(0x132)][_0xe45b0c(0x138)][0x0];_0x676bd7[0x0]===0x5a&&_0x676bd7[0x1]===-0xb4&&(_0x676bd7=[_0x676bd7[0x1],_0x676bd7[0x0]]),super({'opacity':_0x12c43e['opacity'],'zIndex':_0x12c43e[_0xe45b0c(0x13f)],'source':new a44_0x489557({'urls':_0x149c16[_0xe45b0c(0x143)],'requestEncoding':_0x149c16['requestEncoding'],'layer':_0x149c16['layer'],'tileLoadFunction':function(_0x29e20a,_0x1c75c9){const _0x4397b2=_0xe45b0c,_0x1c558=_0x12c43e['url']?_0x12c43e[_0x4397b2(0x12c)]:'';let _0x52924f=getUrlParams(_0x1c558);if((_0x52924f===null||_0x52924f===void 0x0?void 0x0:_0x52924f['length'])>0x0)for(let _0x5403bc of _0x52924f){_0x1c75c9=addArgument(_0x1c75c9,_0x5403bc[_0x4397b2(0x144)],_0x5403bc[_0x4397b2(0x141)]);}let _0x395c74=_0x1c75c9[_0x4397b2(0x129)](_0x4397b2(0x142));_0x395c74!==-0x1?_0x1c75c9[_0x4397b2(0x129)]('token')===-0x1&&_0x1c75c9['indexOf']('tk')===-0x1?_0x29e20a['getImage']()[_0x4397b2(0x134)]=_0x1c75c9[_0x4397b2(0x13a)]('&','?'):_0x29e20a['getImage']()[_0x4397b2(0x134)]=_0x1c75c9:_0x29e20a[_0x4397b2(0x131)]()[_0x4397b2(0x134)]=_0x1c75c9;},'matrixSet':_0x149c16['matrixSet'],'format':_0x149c16['format'],'projection':_0x149c16[_0xe45b0c(0x12f)],'tileGrid':new a44_0x31fe75({'origin':_0x676bd7,'resolutions':_0x149c16['tileGrid'][_0xe45b0c(0x12b)](),'matrixIds':_0x149c16[_0xe45b0c(0x132)][_0xe45b0c(0x13b)](),'extent':_0x518ab9[_0xe45b0c(0x128)]}),'style':_0x518ab9['style'],'wrapX':!![]})}),this['id']=_0x12c43e['id'],this['initialExtent']=_0x518ab9[_0xe45b0c(0x128)],this[_0xe45b0c(0x12f)]=_0x47bc76,this['layerInfo']=_0x12c43e;}}
1
+ (function(_0x5b650d,_0x338c5c){const _0x456fb9=a44_0x3cf2,_0x39eda6=_0x5b650d();while(!![]){try{const _0x294310=-parseInt(_0x456fb9(0x1df))/0x1+parseInt(_0x456fb9(0x1cd))/0x2+-parseInt(_0x456fb9(0x1e5))/0x3+parseInt(_0x456fb9(0x1d5))/0x4*(parseInt(_0x456fb9(0x1cb))/0x5)+parseInt(_0x456fb9(0x1d4))/0x6*(parseInt(_0x456fb9(0x1d1))/0x7)+parseInt(_0x456fb9(0x1dc))/0x8+-parseInt(_0x456fb9(0x1cf))/0x9;if(_0x294310===_0x338c5c)break;else _0x39eda6['push'](_0x39eda6['shift']());}catch(_0x4338fa){_0x39eda6['push'](_0x39eda6['shift']());}}}(a44_0xd5a8,0xb23e0));import a44_0x2482bc from'ol/layer/Tile';function a44_0xd5a8(){const _0xd3e2e6=['101392ZrPoyJ','token','url','tileGrid','wkid','src','tileMatrixSet','9999104XchxQD','?http','getResolutions','871367OQipFZ','value','sublayers','layer','layerInfo','mapIndex','2730570gXFFde','boundingBoxExtent','length','matrixSet','replace','initialExtent','EPSG:','requestEncoding','105DGvelK','getImage','650814crQxha','indexOf','8654310MMLBRc','opacity','9559368VDVKOG','projection','origins_','6ZfefDd'];a44_0xd5a8=function(){return _0xd3e2e6;};return a44_0xd5a8();}import a44_0x26c1ea,{optionsFromCapabilities}from'ol/source/WMTS.js';import a44_0x5d05f3 from'ol/tilegrid/WMTS';import{registerProj}from'../utils/RegisterProjUtil';function a44_0x3cf2(_0x2231b4,_0x39e3d6){const _0xd5a87b=a44_0xd5a8();return a44_0x3cf2=function(_0x3cf2b5,_0x55ba3d){_0x3cf2b5=_0x3cf2b5-0x1c6;let _0x331b2f=_0xd5a87b[_0x3cf2b5];return _0x331b2f;},a44_0x3cf2(_0x2231b4,_0x39e3d6);}import{addArgument,getUrlParams}from'../utils/UrlUtil';export default class ArcgisWMTSLayer extends a44_0x2482bc{constructor(_0x3fb3a1,_0x489c7f){const _0x125a1e=a44_0x3cf2;var _0x10bbac;let _0x81a423='';_0x3fb3a1['sublayers']&&_0x3fb3a1[_0x125a1e(0x1e1)][_0x125a1e(0x1e7)]>0x0&&(_0x81a423=_0x3fb3a1['sublayers']['join'](','));const _0x481820=_0x125a1e(0x1c9)+_0x489c7f[_0x125a1e(0x1d9)];let _0x39b6f6=registerProj(_0x481820);const _0x1c660d=optionsFromCapabilities(_0x489c7f['sourceXml'],{'layer':(_0x10bbac=_0x3fb3a1['sublayers'])===null||_0x10bbac===void 0x0?void 0x0:_0x10bbac[0x0],'matrixSet':_0x489c7f[_0x125a1e(0x1db)],'format':'image/png'});let _0x3b6748=_0x1c660d[_0x125a1e(0x1d8)][_0x125a1e(0x1d3)][0x0];_0x3b6748[0x0]===0x5a&&_0x3b6748[0x1]===-0xb4&&(_0x3b6748=[_0x3b6748[0x1],_0x3b6748[0x0]]),super({'opacity':_0x3fb3a1[_0x125a1e(0x1d0)],'zIndex':_0x3fb3a1[_0x125a1e(0x1e4)],'source':new a44_0x26c1ea({'urls':_0x1c660d['urls'],'requestEncoding':_0x1c660d[_0x125a1e(0x1ca)],'layer':_0x1c660d[_0x125a1e(0x1e2)],'tileLoadFunction':function(_0x590346,_0x5cb4aa){const _0x9635f2=_0x125a1e,_0x3e3d81=_0x3fb3a1[_0x9635f2(0x1d7)]?_0x3fb3a1[_0x9635f2(0x1d7)]:'';let _0x4b54ed=getUrlParams(_0x3e3d81);if((_0x4b54ed===null||_0x4b54ed===void 0x0?void 0x0:_0x4b54ed[_0x9635f2(0x1e7)])>0x0)for(let _0x413af2 of _0x4b54ed){_0x5cb4aa=addArgument(_0x5cb4aa,_0x413af2['name'],_0x413af2[_0x9635f2(0x1e0)]);}let _0x435317=_0x5cb4aa[_0x9635f2(0x1ce)](_0x9635f2(0x1dd));_0x435317!==-0x1?_0x5cb4aa[_0x9635f2(0x1ce)](_0x9635f2(0x1d6))===-0x1&&_0x5cb4aa['indexOf']('tk')===-0x1?_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa[_0x9635f2(0x1c7)]('&','?'):_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa:_0x590346[_0x9635f2(0x1cc)]()[_0x9635f2(0x1da)]=_0x5cb4aa;},'matrixSet':_0x1c660d[_0x125a1e(0x1c6)],'format':_0x1c660d['format'],'projection':_0x1c660d[_0x125a1e(0x1d2)],'tileGrid':new a44_0x5d05f3({'origin':_0x3b6748,'resolutions':_0x1c660d[_0x125a1e(0x1d8)][_0x125a1e(0x1de)](),'matrixIds':_0x1c660d[_0x125a1e(0x1d8)]['getMatrixIds'](),'extent':_0x489c7f[_0x125a1e(0x1e6)]}),'style':_0x489c7f['style'],'wrapX':!![]})}),this['id']=_0x3fb3a1['id'],this[_0x125a1e(0x1c8)]=_0x489c7f['boundingBoxExtent'],this['projection']=_0x39b6f6,this[_0x125a1e(0x1e3)]=_0x3fb3a1;}}
@@ -1 +1 @@
1
- (function(_0x586039,_0x30f922){const _0x2c0a8=a45_0x2c50,_0x267d0b=_0x586039();while(!![]){try{const _0x13d26f=parseInt(_0x2c0a8(0x1c4))/0x1+-parseInt(_0x2c0a8(0x1c3))/0x2+-parseInt(_0x2c0a8(0x1d4))/0x3+parseInt(_0x2c0a8(0x1d3))/0x4+parseInt(_0x2c0a8(0x1e1))/0x5*(-parseInt(_0x2c0a8(0x1d9))/0x6)+parseInt(_0x2c0a8(0x1d8))/0x7+parseInt(_0x2c0a8(0x1de))/0x8;if(_0x13d26f===_0x30f922)break;else _0x267d0b['push'](_0x267d0b['shift']());}catch(_0x506fdf){_0x267d0b['push'](_0x267d0b['shift']());}}}(a45_0x481b,0x1d712));import a45_0x160257 from'ol/layer/VectorTile';import a45_0x50ddb8 from'ol/source/VectorTile';import a45_0x844a24 from'ol/format/MVT';function a45_0x2c50(_0x5ae099,_0x16665b){const _0x481b3d=a45_0x481b();return a45_0x2c50=function(_0x2c500e,_0x29578c){_0x2c500e=_0x2c500e-0x1c3;let _0x3da557=_0x481b3d[_0x2c500e];return _0x3da557;},a45_0x2c50(_0x5ae099,_0x16665b);}import{registerProj}from'../utils/RegisterProjUtil';function a45_0x481b(){const _0x50de42=['application/vnd.mapbox-vector-tile','length','opacity','WMTS','initialExtent','origins_','getResolutions','layerInfo','tileGrid','28464nHoeur','295188xfNWmF','mapIndex','toString','{x}','1083082JNMRYU','6fkWldB','image/png','projection','url','boundingBoxExtent','1777240hermeV','{y}','wkid','664185ZJcsyO','368974VVaNmc','152317lcSebQ','getMatrixIds','EPSG:','tileMatrixSet','sourceXml','sublayers'];a45_0x481b=function(){return _0x50de42;};return a45_0x481b();}import a45_0x5d3473 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0x160257{constructor(_0x1438aa,_0x415083){const _0x5211e7=a45_0x2c50;var _0x20f891;let _0x35e65e=registerProj(_0x5211e7(0x1c6)+_0x415083[_0x5211e7(0x1e0)]);const _0x2bac04=optionsFromCapabilities(_0x415083[_0x5211e7(0x1c8)],{'layer':(_0x20f891=_0x1438aa['sublayers'])===null||_0x20f891===void 0x0?void 0x0:_0x20f891[0x0],'matrixSet':_0x415083[_0x5211e7(0x1c7)],'format':_0x5211e7(0x1da)});let _0xd6efda=_0x1438aa['sublayers']&&_0x1438aa['sublayers'][_0x5211e7(0x1cb)]>0x0?_0x1438aa[_0x5211e7(0x1c9)][0x0]:'';const _0x4b3540={'REQUEST':'GetTile','SERVICE':_0x5211e7(0x1cd),'VERSION':'1.0.0','LAYER':_0xd6efda,'STYLE':_0x415083['style'][_0x5211e7(0x1d6)](),'TILEMATRIX':_0x415083['tileMatrixSet']+':{z}','TILEMATRIXSET':_0x415083[_0x5211e7(0x1c7)][_0x5211e7(0x1d6)](),'FORMAT':_0x5211e7(0x1ca),'TILECOL':_0x5211e7(0x1d7),'TILEROW':_0x5211e7(0x1df)};let _0x59d16f=_0x1438aa[_0x5211e7(0x1dc)]?_0x1438aa[_0x5211e7(0x1dc)]:'';for(const _0x13f59c in _0x4b3540){_0x59d16f=addArgument(_0x59d16f,_0x13f59c,_0x4b3540[_0x13f59c]);}super({'opacity':_0x1438aa[_0x5211e7(0x1cc)],'zIndex':_0x1438aa[_0x5211e7(0x1d5)],'declutter':!![],'source':new a45_0x50ddb8({'projection':'EPSG:'+_0x415083[_0x5211e7(0x1e0)],'format':new a45_0x844a24(),'wrapX':!![],'extent':_0x415083[_0x5211e7(0x1dd)],'tileGrid':new a45_0x5d3473({'tileSize':_0x2bac04['tileGrid']['tileSizes_'][0x0],'origin':_0x2bac04[_0x5211e7(0x1d2)][_0x5211e7(0x1cf)][0x0],'resolutions':_0x2bac04[_0x5211e7(0x1d2)][_0x5211e7(0x1d0)](),'matrixIds':_0x2bac04[_0x5211e7(0x1d2)][_0x5211e7(0x1c5)]()}),'url':_0x59d16f})}),this['id']=_0x1438aa['id'],this[_0x5211e7(0x1ce)]=_0x415083['boundingBoxExtent'],this[_0x5211e7(0x1db)]=_0x35e65e,this[_0x5211e7(0x1d1)]=_0x1438aa;}}
1
+ function a45_0x3b1e(){const _0x106edb=['mapIndex','origins_','tileMatrixSet','url','getResolutions','EPSG:','7788eIogsi','258jlkZCc','style','3384056GnKEKh','459TLPxZI','{y}','layerInfo','WMTS','opacity','6216231IpWkJs','241736ijOMDj','1.0.0','1045jmHnMK','length','boundingBoxExtent','wkid','initialExtent','210040fGxeDk','{x}','projection','68652uIcTgt','sourceXml',':{z}','sublayers','tileGrid','9109RtmLJD','application/vnd.mapbox-vector-tile','toString','165lfQROG','24ppKNNL'];a45_0x3b1e=function(){return _0x106edb;};return a45_0x3b1e();}(function(_0x21ad1b,_0x380a7e){const _0x566e82=a45_0x1a78,_0x184158=_0x21ad1b();while(!![]){try{const _0x5ba835=parseInt(_0x566e82(0x169))/0x1*(parseInt(_0x566e82(0x151))/0x2)+parseInt(_0x566e82(0x16d))/0x3*(parseInt(_0x566e82(0x15a))/0x4)+parseInt(_0x566e82(0x16c))/0x5*(-parseInt(_0x566e82(0x164))/0x6)+parseInt(_0x566e82(0x159))/0x7+-parseInt(_0x566e82(0x153))/0x8+parseInt(_0x566e82(0x154))/0x9*(-parseInt(_0x566e82(0x161))/0xa)+-parseInt(_0x566e82(0x15c))/0xb*(parseInt(_0x566e82(0x150))/0xc);if(_0x5ba835===_0x380a7e)break;else _0x184158['push'](_0x184158['shift']());}catch(_0x80bbbd){_0x184158['push'](_0x184158['shift']());}}}(a45_0x3b1e,0x95afa));import a45_0x511629 from'ol/layer/VectorTile';import a45_0x4b27b4 from'ol/source/VectorTile';function a45_0x1a78(_0x51ef74,_0xc57e7d){const _0x3b1e45=a45_0x3b1e();return a45_0x1a78=function(_0x1a7863,_0x1a75c9){_0x1a7863=_0x1a7863-0x14d;let _0x1fc5b2=_0x3b1e45[_0x1a7863];return _0x1fc5b2;},a45_0x1a78(_0x51ef74,_0xc57e7d);}import a45_0x6ff717 from'ol/format/MVT';import{registerProj}from'../utils/RegisterProjUtil';import a45_0x2bc487 from'ol/tilegrid/WMTS';import{optionsFromCapabilities}from'ol/source/WMTS';import{addArgument}from'../utils/UrlUtil';export default class GeoserverVectorTileLayer extends a45_0x511629{constructor(_0x4503d2,_0x2414b6){const _0x5a560d=a45_0x1a78;var _0x3187d8;let _0x1b6108=registerProj(_0x5a560d(0x14f)+_0x2414b6[_0x5a560d(0x15f)]);const _0x17b658=optionsFromCapabilities(_0x2414b6[_0x5a560d(0x165)],{'layer':(_0x3187d8=_0x4503d2['sublayers'])===null||_0x3187d8===void 0x0?void 0x0:_0x3187d8[0x0],'matrixSet':_0x2414b6[_0x5a560d(0x170)],'format':'image/png'});let _0x88895e=_0x4503d2[_0x5a560d(0x167)]&&_0x4503d2[_0x5a560d(0x167)][_0x5a560d(0x15d)]>0x0?_0x4503d2[_0x5a560d(0x167)][0x0]:'';const _0x1f5955={'REQUEST':'GetTile','SERVICE':_0x5a560d(0x157),'VERSION':_0x5a560d(0x15b),'LAYER':_0x88895e,'STYLE':_0x2414b6[_0x5a560d(0x152)][_0x5a560d(0x16b)](),'TILEMATRIX':_0x2414b6['tileMatrixSet']+_0x5a560d(0x166),'TILEMATRIXSET':_0x2414b6['tileMatrixSet'][_0x5a560d(0x16b)](),'FORMAT':_0x5a560d(0x16a),'TILECOL':_0x5a560d(0x162),'TILEROW':_0x5a560d(0x155)};let _0x7b10b9=_0x4503d2[_0x5a560d(0x14d)]?_0x4503d2[_0x5a560d(0x14d)]:'';for(const _0x363250 in _0x1f5955){_0x7b10b9=addArgument(_0x7b10b9,_0x363250,_0x1f5955[_0x363250]);}super({'opacity':_0x4503d2[_0x5a560d(0x158)],'zIndex':_0x4503d2[_0x5a560d(0x16e)],'declutter':!![],'source':new a45_0x4b27b4({'projection':_0x5a560d(0x14f)+_0x2414b6[_0x5a560d(0x15f)],'format':new a45_0x6ff717(),'wrapX':!![],'extent':_0x2414b6[_0x5a560d(0x15e)],'tileGrid':new a45_0x2bc487({'tileSize':_0x17b658[_0x5a560d(0x168)]['tileSizes_'][0x0],'origin':_0x17b658[_0x5a560d(0x168)][_0x5a560d(0x16f)][0x0],'resolutions':_0x17b658[_0x5a560d(0x168)][_0x5a560d(0x14e)](),'matrixIds':_0x17b658['tileGrid']['getMatrixIds']()}),'url':_0x7b10b9})}),this['id']=_0x4503d2['id'],this[_0x5a560d(0x160)]=_0x2414b6[_0x5a560d(0x15e)],this[_0x5a560d(0x163)]=_0x1b6108,this[_0x5a560d(0x156)]=_0x4503d2;}}
@@ -1 +1 @@
1
- (function(_0x2a2c59,_0x2b5366){const _0x4c5486=a46_0x599f,_0x49da99=_0x2a2c59();while(!![]){try{const _0x1d47fe=-parseInt(_0x4c5486(0x169))/0x1*(parseInt(_0x4c5486(0x146))/0x2)+parseInt(_0x4c5486(0x152))/0x3*(-parseInt(_0x4c5486(0x161))/0x4)+parseInt(_0x4c5486(0x148))/0x5+parseInt(_0x4c5486(0x14a))/0x6+parseInt(_0x4c5486(0x14b))/0x7*(-parseInt(_0x4c5486(0x163))/0x8)+parseInt(_0x4c5486(0x14f))/0x9*(parseInt(_0x4c5486(0x14c))/0xa)+-parseInt(_0x4c5486(0x145))/0xb;if(_0x1d47fe===_0x2b5366)break;else _0x49da99['push'](_0x49da99['shift']());}catch(_0x44bc7c){_0x49da99['push'](_0x49da99['shift']());}}}(a46_0x213a,0x35362));function a46_0x599f(_0x44868b,_0x2a3c56){const _0x213aac=a46_0x213a();return a46_0x599f=function(_0x599f85,_0x1dc1ef){_0x599f85=_0x599f85-0x141;let _0xb6155=_0x213aac[_0x599f85];return _0xb6155;},a46_0x599f(_0x44868b,_0x2a3c56);}import a46_0x482dea from'ol/source/Vector';function a46_0x213a(){const _0x432a1f=['readFeatures','equalTo','removeLoadedExtent','url','string','type字段不存在','param','getSource','2108546bHvzDW','186836QdZTVL','not','1373245sqTwDr','push','540132YpgNkZ','1057rLuEnN','360HRmkux','notEqualTo','layerFields','94887uGUKOM','filter','name','18bIhxFQ','json','catch','lessThan','type','getCode','writeGetFeature','EPSG:','initialExtent','length','layerInfo','sublayers','greaterThan','read','loadFilter','66248fzYVGd','wkid','7512eJxOee','warn','and','parseFilter','POST','apply','1DMczCd','initExtent','between','projection'];a46_0x213a=function(){return _0x432a1f;};return a46_0x213a();}import a46_0x4e1fa9 from'ol/format/GeoJSON';import{Vector as a46_0x249e0d}from'ol/layer';import a46_0x5ebe40 from'ol/format/WFS';import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x4a753a from'../utils/format/CQL';import*as a46_0x2e51ea from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x249e0d{constructor(_0x3ec340,_0x1c1dd1){const _0x165434=a46_0x599f;let _0x1e6da7=registerProj(_0x165434(0x159)+_0x1c1dd1[_0x165434(0x162)]);const _0x126b81=_0x1c1dd1[_0x165434(0x14e)]['find'](_0x1d38de=>_0x1d38de['fieldType']==0x6);super({'zIndex':_0x3ec340['mapIndex'],'source':new a46_0x482dea({'format':new a46_0x4e1fa9(),'loader':(_0x452b6e,_0x170c72,_0x1cd57b,_0x1598b3,_0x30dc46)=>{const _0x14b536=_0x165434;let _0x2cc27b=_0x3ec340[_0x14b536(0x160)],_0x5bc3b7={'srsName':_0x1cd57b[_0x14b536(0x157)](),'featureTypes':_0x3ec340[_0x14b536(0x15d)],'bbox':_0x452b6e,'geometryName':_0x126b81?_0x126b81[_0x14b536(0x151)]:'','outputFormat':'application/json'};_0x2cc27b&&(typeof _0x2cc27b===_0x14b536(0x141)?_0x5bc3b7[_0x14b536(0x150)]=new a46_0x4a753a()[_0x14b536(0x15f)](_0x2cc27b):_0x5bc3b7['filter']=this[_0x14b536(0x166)](_0x2cc27b));var _0x2e99dd=new a46_0x5ebe40()[_0x14b536(0x158)](_0x5bc3b7);let _0x3c9204=_0x3ec340[_0x14b536(0x170)]?_0x3ec340[_0x14b536(0x170)]:'';fetch(_0x3c9204,{'method':_0x14b536(0x167),'body':new XMLSerializer()['serializeToString'](_0x2e99dd)})['then'](_0x215127=>{const _0x4384a5=_0x14b536;return _0x215127[_0x4384a5(0x153)]();})['then'](_0x24dfdd=>{const _0x475cac=_0x14b536,_0x452388=new a46_0x4e1fa9()[_0x475cac(0x16d)](_0x24dfdd);let _0x7df9c4=this['getSource']();_0x7df9c4&&_0x7df9c4['addFeatures'](_0x452388);if(_0x1598b3)_0x1598b3(_0x452388);})[_0x14b536(0x154)](()=>{const _0x1b730f=_0x14b536;let _0x3328c2=this[_0x1b730f(0x144)]();_0x3328c2&&_0x3328c2[_0x1b730f(0x16f)](_0x452b6e);if(_0x30dc46)_0x30dc46();});},'strategy':bbox})}),this['id']=_0x3ec340['id'],this[_0x165434(0x15a)]=_0x1c1dd1[_0x165434(0x16a)],this[_0x165434(0x16c)]=_0x1e6da7,this[_0x165434(0x15c)]=_0x3ec340;}['parseFilter'](_0x4a4e5e){const _0x267614=a46_0x599f;if(!_0x4a4e5e[_0x267614(0x156)]){console[_0x267614(0x164)](_0x267614(0x142));return;}if(!_0x4a4e5e['param']){console['warn']('param字段不存在');return;}let _0x383912=[];switch(_0x4a4e5e[_0x267614(0x156)]['toLowerCase']()){case _0x267614(0x165):for(let _0x36b7a2=0x0;_0x36b7a2<_0x4a4e5e[_0x267614(0x143)][_0x267614(0x15b)];_0x36b7a2++){let _0x5de8f0=this[_0x267614(0x166)](_0x4a4e5e[_0x267614(0x143)][_0x36b7a2]);_0x383912[_0x267614(0x149)](_0x5de8f0);}return a46_0x2e51ea[_0x267614(0x165)][_0x267614(0x168)](null,_0x383912);case'or':for(let _0xcebe58=0x0;_0xcebe58<_0x4a4e5e[_0x267614(0x143)][_0x267614(0x15b)];_0xcebe58++){let _0x3930a2=this[_0x267614(0x166)](_0x4a4e5e[_0x267614(0x143)][_0xcebe58]);_0x383912[_0x267614(0x149)](_0x3930a2);}return a46_0x2e51ea['or']['apply'](null,_0x383912);case'not':for(let _0x2cd941=0x0;_0x2cd941<_0x4a4e5e[_0x267614(0x143)][_0x267614(0x15b)];_0x2cd941++){let _0x60747e=this[_0x267614(0x166)](_0x4a4e5e[_0x267614(0x143)][_0x2cd941]);_0x383912[_0x267614(0x149)](_0x60747e);}return a46_0x2e51ea[_0x267614(0x147)][_0x267614(0x168)](null,_0x383912);case'=':return a46_0x2e51ea[_0x267614(0x16e)](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e[_0x267614(0x143)][0x1]);case'!==':return a46_0x2e51ea[_0x267614(0x14d)](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e['param'][0x1]);case'>':return a46_0x2e51ea[_0x267614(0x15e)](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e[_0x267614(0x143)][0x1]);case'<':return a46_0x2e51ea[_0x267614(0x155)](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e[_0x267614(0x143)][0x1]);case'>=':return a46_0x2e51ea['greaterThanOrEqualTo'](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e[_0x267614(0x143)][0x1]);case'<=':return a46_0x2e51ea['lessThanOrEqualTo'](_0x4a4e5e['param'][0x0],_0x4a4e5e['param'][0x1]);case _0x267614(0x16b):return a46_0x2e51ea[_0x267614(0x16b)](_0x4a4e5e[_0x267614(0x143)][0x0],_0x4a4e5e[_0x267614(0x143)][0x1],_0x4a4e5e[_0x267614(0x143)][0x2]);}}}
1
+ const a46_0x4e7a22=a46_0x43e5;(function(_0x530231,_0x268ed1){const _0x44a2bc=a46_0x43e5,_0x58c45d=_0x530231();while(!![]){try{const _0x1541aa=parseInt(_0x44a2bc(0x1fb))/0x1+-parseInt(_0x44a2bc(0x1da))/0x2*(-parseInt(_0x44a2bc(0x1d2))/0x3)+-parseInt(_0x44a2bc(0x1ff))/0x4*(parseInt(_0x44a2bc(0x1e6))/0x5)+parseInt(_0x44a2bc(0x1eb))/0x6*(parseInt(_0x44a2bc(0x1f4))/0x7)+-parseInt(_0x44a2bc(0x1fe))/0x8*(-parseInt(_0x44a2bc(0x1df))/0x9)+parseInt(_0x44a2bc(0x202))/0xa+-parseInt(_0x44a2bc(0x1de))/0xb*(parseInt(_0x44a2bc(0x1dd))/0xc);if(_0x1541aa===_0x268ed1)break;else _0x58c45d['push'](_0x58c45d['shift']());}catch(_0x3e9ae4){_0x58c45d['push'](_0x58c45d['shift']());}}}(a46_0x1203,0x19a1b));import a46_0x4585af from'ol/source/Vector';import a46_0x3f0334 from'ol/format/GeoJSON';import{Vector as a46_0x3a5a83}from'ol/layer';function a46_0x1203(){const _0x4de790=['toLowerCase','serializeToString','mapIndex','41882fSEwGH','lessThan','and','2090412EFbVmO','33fiHwSJ','1049562fwOTeW','between','apply','notEqualTo','layerInfo','lessThanOrEqualTo','!==','208740FYJMPs','POST','param','wkid','readFeatures','629478vqjqNA','EPSG:','filter','catch','getSource','getCode','push','layerFields','fieldType','7LJEvQR','writeGetFeature','length','projection','url','addFeatures','string','160048eRWvcs','read','initialExtent','8iakvia','12EtLAFV','greaterThanOrEqualTo','json','1618450uHUhmZ','then','parseFilter','param字段不存在','30wYbMeI','not','initExtent','type','type字段不存在'];a46_0x1203=function(){return _0x4de790;};return a46_0x1203();}import a46_0x4505fb from'ol/format/WFS';function a46_0x43e5(_0x35f19e,_0x149315){const _0x120356=a46_0x1203();return a46_0x43e5=function(_0x43e5bf,_0x220a83){_0x43e5bf=_0x43e5bf-0x1d2;let _0xed069a=_0x120356[_0x43e5bf];return _0xed069a;},a46_0x43e5(_0x35f19e,_0x149315);}import{registerProj}from'../utils/RegisterProjUtil';import{bbox}from'ol/loadingstrategy';import a46_0x1a93f9 from'../utils/format/CQL';import*as a46_0x58e9a9 from'ol/format/filter';export default class GeoserverWFSLayer extends a46_0x3a5a83{constructor(_0x245078,_0x2fe4dc){const _0x3618af=a46_0x43e5;let _0x2792d5=registerProj(_0x3618af(0x1ec)+_0x2fe4dc[_0x3618af(0x1e9)]);const _0x1c3e85=_0x2fe4dc[_0x3618af(0x1f2)]['find'](_0x347b43=>_0x347b43[_0x3618af(0x1f3)]==0x6);super({'zIndex':_0x245078[_0x3618af(0x1d9)],'source':new a46_0x4585af({'format':new a46_0x3f0334(),'loader':(_0x430939,_0x10592e,_0x4ae942,_0x3f543b,_0x4d5972)=>{const _0xda073=_0x3618af;let _0x595c22=_0x245078['loadFilter'],_0x184196={'srsName':_0x4ae942[_0xda073(0x1f0)](),'featureTypes':_0x245078['sublayers'],'bbox':_0x430939,'geometryName':_0x1c3e85?_0x1c3e85['name']:'','outputFormat':'application/json'};_0x595c22&&(typeof _0x595c22===_0xda073(0x1fa)?_0x184196[_0xda073(0x1ed)]=new a46_0x1a93f9()[_0xda073(0x1fc)](_0x595c22):_0x184196['filter']=this['parseFilter'](_0x595c22));var _0x33981e=new a46_0x4505fb()[_0xda073(0x1f5)](_0x184196);let _0x3a7f86=_0x245078[_0xda073(0x1f8)]?_0x245078[_0xda073(0x1f8)]:'';fetch(_0x3a7f86,{'method':_0xda073(0x1e7),'body':new XMLSerializer()[_0xda073(0x1d8)](_0x33981e)})[_0xda073(0x203)](_0x48144c=>{const _0x5392c4=_0xda073;return _0x48144c[_0x5392c4(0x201)]();})[_0xda073(0x203)](_0x201918=>{const _0x2c9008=_0xda073,_0x1332ae=new a46_0x3f0334()[_0x2c9008(0x1ea)](_0x201918);let _0x243f59=this[_0x2c9008(0x1ef)]();_0x243f59&&_0x243f59[_0x2c9008(0x1f9)](_0x1332ae);if(_0x3f543b)_0x3f543b(_0x1332ae);})[_0xda073(0x1ee)](()=>{const _0x2a1245=_0xda073;let _0x3a9a3d=this[_0x2a1245(0x1ef)]();_0x3a9a3d&&_0x3a9a3d['removeLoadedExtent'](_0x430939);if(_0x4d5972)_0x4d5972();});},'strategy':bbox})}),this['id']=_0x245078['id'],this[_0x3618af(0x1fd)]=_0x2fe4dc[_0x3618af(0x1d4)],this[_0x3618af(0x1f7)]=_0x2792d5,this[_0x3618af(0x1e3)]=_0x245078;}[a46_0x4e7a22(0x204)](_0x416c10){const _0x53937e=a46_0x4e7a22;if(!_0x416c10[_0x53937e(0x1d5)]){console['warn'](_0x53937e(0x1d6));return;}if(!_0x416c10[_0x53937e(0x1e8)]){console['warn'](_0x53937e(0x205));return;}let _0x48c070=[];switch(_0x416c10[_0x53937e(0x1d5)][_0x53937e(0x1d7)]()){case _0x53937e(0x1dc):for(let _0x9f4a94=0x0;_0x9f4a94<_0x416c10['param'][_0x53937e(0x1f6)];_0x9f4a94++){let _0x183506=this[_0x53937e(0x204)](_0x416c10[_0x53937e(0x1e8)][_0x9f4a94]);_0x48c070[_0x53937e(0x1f1)](_0x183506);}return a46_0x58e9a9[_0x53937e(0x1dc)][_0x53937e(0x1e1)](null,_0x48c070);case'or':for(let _0x1b75ec=0x0;_0x1b75ec<_0x416c10[_0x53937e(0x1e8)][_0x53937e(0x1f6)];_0x1b75ec++){let _0x9bc8e4=this[_0x53937e(0x204)](_0x416c10[_0x53937e(0x1e8)][_0x1b75ec]);_0x48c070[_0x53937e(0x1f1)](_0x9bc8e4);}return a46_0x58e9a9['or'][_0x53937e(0x1e1)](null,_0x48c070);case _0x53937e(0x1d3):for(let _0x32bf53=0x0;_0x32bf53<_0x416c10[_0x53937e(0x1e8)][_0x53937e(0x1f6)];_0x32bf53++){let _0x51d1fd=this['parseFilter'](_0x416c10[_0x53937e(0x1e8)][_0x32bf53]);_0x48c070[_0x53937e(0x1f1)](_0x51d1fd);}return a46_0x58e9a9[_0x53937e(0x1d3)][_0x53937e(0x1e1)](null,_0x48c070);case'=':return a46_0x58e9a9['equalTo'](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10['param'][0x1]);case _0x53937e(0x1e5):return a46_0x58e9a9[_0x53937e(0x1e2)](_0x416c10['param'][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'>':return a46_0x58e9a9['greaterThan'](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10['param'][0x1]);case'<':return a46_0x58e9a9[_0x53937e(0x1db)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'>=':return a46_0x58e9a9[_0x53937e(0x200)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'<=':return a46_0x58e9a9[_0x53937e(0x1e4)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1]);case'between':return a46_0x58e9a9[_0x53937e(0x1e0)](_0x416c10[_0x53937e(0x1e8)][0x0],_0x416c10[_0x53937e(0x1e8)][0x1],_0x416c10[_0x53937e(0x1e8)][0x2]);}}}
@@ -1 +1 @@
1
- function a47_0x2b93(_0x3a536a,_0x3cd45d){const _0xd899ea=a47_0xd899();return a47_0x2b93=function(_0x2b9379,_0x7b8005){_0x2b9379=_0x2b9379-0x1e3;let _0x5c3a43=_0xd899ea[_0x2b9379];return _0x5c3a43;},a47_0x2b93(_0x3a536a,_0x3cd45d);}function a47_0xd899(){const _0x5f23a5=['initialExtent','wkid','layerInfo','1.1.0','56724UvEZdY','sublayers','getSource','updateParams','mapIndex','setFilter','6085240KVTkOV','anonymous','initExtent','CQL_FILTER','4003389GBAanT','EPSG:','join','url','4ZnwNaj','217787hKdApl','532Ewjdyg','3382416KoiJef','1619866SxZDHO','refresh','opacity','1193115LwYsfB'];a47_0xd899=function(){return _0x5f23a5;};return a47_0xd899();}const a47_0x2eb7c6=a47_0x2b93;(function(_0x52c8d2,_0x585b90){const _0x2215e6=a47_0x2b93,_0x2887e2=_0x52c8d2();while(!![]){try{const _0x29e602=parseInt(_0x2215e6(0x1e8))/0x1+-parseInt(_0x2215e6(0x1eb))/0x2+-parseInt(_0x2215e6(0x1ee))/0x3+parseInt(_0x2215e6(0x1e7))/0x4*(parseInt(_0x2215e6(0x1f9))/0x5)+parseInt(_0x2215e6(0x1f3))/0x6*(parseInt(_0x2215e6(0x1e9))/0x7)+parseInt(_0x2215e6(0x1ea))/0x8+-parseInt(_0x2215e6(0x1e3))/0x9;if(_0x29e602===_0x585b90)break;else _0x2887e2['push'](_0x2887e2['shift']());}catch(_0x15d093){_0x2887e2['push'](_0x2887e2['shift']());}}}(a47_0xd899,0xe1822));import{ImageWMS as a47_0x48a42c}from'ol/source';import{Image as a47_0x1dc543}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x1dc543{constructor(_0x458ea7,_0x1fe834){const _0x16f948=a47_0x2b93;var _0x3172c3;let _0x5229ec=registerProj(_0x16f948(0x1e4)+_0x1fe834[_0x16f948(0x1f0)]),_0x4ca30e={'LAYERS':(_0x3172c3=_0x458ea7[_0x16f948(0x1f4)])===null||_0x3172c3===void 0x0?void 0x0:_0x3172c3[_0x16f948(0x1e5)](','),'VERSION':_0x16f948(0x1f2)};_0x458ea7['loadFilter']&&(_0x4ca30e[_0x16f948(0x1fc)]=_0x458ea7['loadFilter']),super({'opacity':_0x458ea7[_0x16f948(0x1ed)],'zIndex':_0x458ea7[_0x16f948(0x1f7)],'source':new a47_0x48a42c({'crossOrigin':_0x16f948(0x1fa),'url':_0x458ea7[_0x16f948(0x1e6)],'params':_0x4ca30e})}),this['id']=_0x458ea7['id'],this[_0x16f948(0x1ef)]=_0x1fe834[_0x16f948(0x1fb)],this['projection']=_0x5229ec,this[_0x16f948(0x1f1)]=_0x458ea7;}[a47_0x2eb7c6(0x1ec)](){}[a47_0x2eb7c6(0x1f8)](_0x3aedca){const _0x3913ca=a47_0x2eb7c6;var _0x10bfb4;(_0x10bfb4=this[_0x3913ca(0x1f5)]())===null||_0x10bfb4===void 0x0?void 0x0:_0x10bfb4[_0x3913ca(0x1f6)]({'CQL_FILTER':_0x3aedca});}}
1
+ function a47_0x1dd4(_0x537176,_0x161d9b){const _0x5e36cf=a47_0x5e36();return a47_0x1dd4=function(_0x1dd4ab,_0x3d4cd7){_0x1dd4ab=_0x1dd4ab-0x1ab;let _0x450750=_0x5e36cf[_0x1dd4ab];return _0x450750;},a47_0x1dd4(_0x537176,_0x161d9b);}const a47_0x514224=a47_0x1dd4;function a47_0x5e36(){const _0x32fd3d=['49512PNmtPG','2926LmiYAs','loadFilter','2186555GGzCav','2fBLBsI','380pUJjgN','sublayers','667590MShQGx','join','416hGbFJY','486898QYMdYC','anonymous','layerInfo','updateParams','3WNXRQQ','EPSG:','wkid','url','CQL_FILTER','setFilter','refresh','initExtent','6QKqENZ','23824tsJqvZ','3039728cnxlXG','268101AkWtIy'];a47_0x5e36=function(){return _0x32fd3d;};return a47_0x5e36();}(function(_0x3a378a,_0x1fac93){const _0x58952d=a47_0x1dd4,_0x370a76=_0x3a378a();while(!![]){try{const _0x531a34=parseInt(_0x58952d(0x1b6))/0x1*(-parseInt(_0x58952d(0x1b0))/0x2)+parseInt(_0x58952d(0x1ba))/0x3*(parseInt(_0x58952d(0x1c4))/0x4)+parseInt(_0x58952d(0x1af))/0x5*(parseInt(_0x58952d(0x1c2))/0x6)+parseInt(_0x58952d(0x1ad))/0x7*(-parseInt(_0x58952d(0x1c3))/0x8)+parseInt(_0x58952d(0x1ab))/0x9*(parseInt(_0x58952d(0x1b1))/0xa)+parseInt(_0x58952d(0x1b3))/0xb+parseInt(_0x58952d(0x1ac))/0xc*(parseInt(_0x58952d(0x1b5))/0xd);if(_0x531a34===_0x1fac93)break;else _0x370a76['push'](_0x370a76['shift']());}catch(_0x22343c){_0x370a76['push'](_0x370a76['shift']());}}}(a47_0x5e36,0xc0ee5));import{ImageWMS as a47_0xba4550}from'ol/source';import{Image as a47_0x47683d}from'ol/layer';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMSLayer extends a47_0x47683d{constructor(_0x1d8915,_0x1cb6a8){const _0x5159ac=a47_0x1dd4;var _0x41c392;let _0x19b781=registerProj(_0x5159ac(0x1bb)+_0x1cb6a8[_0x5159ac(0x1bc)]),_0x7dbc14={'LAYERS':(_0x41c392=_0x1d8915[_0x5159ac(0x1b2)])===null||_0x41c392===void 0x0?void 0x0:_0x41c392[_0x5159ac(0x1b4)](','),'VERSION':'1.1.0'};_0x1d8915[_0x5159ac(0x1ae)]&&(_0x7dbc14[_0x5159ac(0x1be)]=_0x1d8915['loadFilter']),super({'opacity':_0x1d8915['opacity'],'zIndex':_0x1d8915['mapIndex'],'source':new a47_0xba4550({'crossOrigin':_0x5159ac(0x1b7),'url':_0x1d8915[_0x5159ac(0x1bd)],'params':_0x7dbc14})}),this['id']=_0x1d8915['id'],this['initialExtent']=_0x1cb6a8[_0x5159ac(0x1c1)],this['projection']=_0x19b781,this[_0x5159ac(0x1b8)]=_0x1d8915;}[a47_0x514224(0x1c0)](){}[a47_0x514224(0x1bf)](_0x5919c5){const _0x54358c=a47_0x514224;var _0x3770eb;(_0x3770eb=this['getSource']())===null||_0x3770eb===void 0x0?void 0x0:_0x3770eb[_0x54358c(0x1b9)]({'CQL_FILTER':_0x5919c5});}}
@@ -1 +1 @@
1
- (function(_0x11a150,_0x5e76ff){const _0x548b71=a48_0x1575,_0x18e4d3=_0x11a150();while(!![]){try{const _0x37df5b=-parseInt(_0x548b71(0x89))/0x1+parseInt(_0x548b71(0x80))/0x2*(parseInt(_0x548b71(0x86))/0x3)+-parseInt(_0x548b71(0x90))/0x4*(-parseInt(_0x548b71(0x85))/0x5)+parseInt(_0x548b71(0x8d))/0x6+parseInt(_0x548b71(0x8f))/0x7*(parseInt(_0x548b71(0x8b))/0x8)+parseInt(_0x548b71(0x8c))/0x9+-parseInt(_0x548b71(0x7f))/0xa*(parseInt(_0x548b71(0x92))/0xb);if(_0x37df5b===_0x5e76ff)break;else _0x18e4d3['push'](_0x18e4d3['shift']());}catch(_0x408213){_0x18e4d3['push'](_0x18e4d3['shift']());}}}(a48_0x16e4,0xeaa7b));import a48_0x35efee from'ol/layer/Tile';import a48_0x1323b5,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';function a48_0x16e4(){const _0x2fa2cf=['6345MqrpUA','5013vzPttJ','opacity','sublayers','105522ffbGXu','解析元数据失败','8GtdKhl','8055117QQZsnG','6259800BaUwIP','layerInfo','9573851UtDQJC','1524loJFZP','tileMatrixSet','2926319DhsnJq','170AQAuGw','2154YfrYiZ','boundingBoxExtent','未找到投影信息','sourceXml','wkid'];a48_0x16e4=function(){return _0x2fa2cf;};return a48_0x16e4();}function a48_0x1575(_0x562a7f,_0x2f1797){const _0x16e4d7=a48_0x16e4();return a48_0x1575=function(_0x15751e,_0x32954c){_0x15751e=_0x15751e-0x7f;let _0x29bb5a=_0x16e4d7[_0x15751e];return _0x29bb5a;},a48_0x1575(_0x562a7f,_0x2f1797);}export default class GeoserverWMTSLayer extends a48_0x35efee{constructor(_0x4451ef,_0x2a0b67){const _0x387b88=a48_0x1575;var _0x26bffd;const _0x48f5b6='EPSG:'+_0x2a0b67[_0x387b88(0x84)];let _0x3309d1=registerProj(_0x48f5b6);if(!_0x3309d1)throw new Error(_0x387b88(0x82));const _0x5836c4=optionsFromCapabilities(_0x2a0b67[_0x387b88(0x83)],{'layer':(_0x26bffd=_0x4451ef[_0x387b88(0x88)])===null||_0x26bffd===void 0x0?void 0x0:_0x26bffd[0x0],'matrixSet':_0x2a0b67[_0x387b88(0x91)],'format':'image/png'});if(!_0x5836c4)throw new Error(_0x387b88(0x8a));super({'opacity':_0x4451ef[_0x387b88(0x87)],'zIndex':_0x4451ef['mapIndex'],'source':new a48_0x1323b5(_0x5836c4)}),this['id']=_0x4451ef['id'],this['initialExtent']=_0x2a0b67[_0x387b88(0x81)],this['projection']=_0x3309d1,this[_0x387b88(0x8e)]=_0x4451ef;}}
1
+ function a48_0x5110(_0xa3316f,_0x12a775){const _0x5ef6e8=a48_0x5ef6();return a48_0x5110=function(_0x511062,_0x1054f4){_0x511062=_0x511062-0x163;let _0x56af5a=_0x5ef6e8[_0x511062];return _0x56af5a;},a48_0x5110(_0xa3316f,_0x12a775);}(function(_0x4c0ff3,_0x321420){const _0x441c8c=a48_0x5110,_0x15d4b6=_0x4c0ff3();while(!![]){try{const _0x5cd3b1=parseInt(_0x441c8c(0x16d))/0x1*(-parseInt(_0x441c8c(0x179))/0x2)+parseInt(_0x441c8c(0x175))/0x3+-parseInt(_0x441c8c(0x176))/0x4*(parseInt(_0x441c8c(0x16c))/0x5)+parseInt(_0x441c8c(0x16e))/0x6*(-parseInt(_0x441c8c(0x163))/0x7)+parseInt(_0x441c8c(0x177))/0x8*(parseInt(_0x441c8c(0x167))/0x9)+-parseInt(_0x441c8c(0x170))/0xa+parseInt(_0x441c8c(0x16f))/0xb;if(_0x5cd3b1===_0x321420)break;else _0x15d4b6['push'](_0x15d4b6['shift']());}catch(_0x9082f5){_0x15d4b6['push'](_0x15d4b6['shift']());}}}(a48_0x5ef6,0x41df5));import a48_0x52fa79 from'ol/layer/Tile';import a48_0x5510fa,{optionsFromCapabilities}from'ol/source/WMTS.js';import{registerProj}from'../utils/RegisterProjUtil';export default class GeoserverWMTSLayer extends a48_0x52fa79{constructor(_0x43cd81,_0x4365fb){const _0x316d9c=a48_0x5110;var _0x5af925;const _0x3e79d2=_0x316d9c(0x164)+_0x4365fb[_0x316d9c(0x16b)];let _0x1b0a61=registerProj(_0x3e79d2);if(!_0x1b0a61)throw new Error(_0x316d9c(0x174));const _0x5648ce=optionsFromCapabilities(_0x4365fb[_0x316d9c(0x17a)],{'layer':(_0x5af925=_0x43cd81[_0x316d9c(0x169)])===null||_0x5af925===void 0x0?void 0x0:_0x5af925[0x0],'matrixSet':_0x4365fb[_0x316d9c(0x178)],'format':_0x316d9c(0x173)});if(!_0x5648ce)throw new Error(_0x316d9c(0x172));super({'opacity':_0x43cd81[_0x316d9c(0x168)],'zIndex':_0x43cd81[_0x316d9c(0x171)],'source':new a48_0x5510fa(_0x5648ce)}),this['id']=_0x43cd81['id'],this[_0x316d9c(0x16a)]=_0x4365fb[_0x316d9c(0x166)],this['projection']=_0x1b0a61,this[_0x316d9c(0x165)]=_0x43cd81;}}function a48_0x5ef6(){const _0x4e626a=['41992QqoUBB','tileMatrixSet','2jhXJph','sourceXml','1911nJhoUp','EPSG:','layerInfo','boundingBoxExtent','423pGZgjc','opacity','sublayers','initialExtent','wkid','10RrSIWr','526254GDcuZZ','7926giskWv','12846218ofnyAx','3068910RPdZUz','mapIndex','解析元数据失败','image/png','未找到投影信息','1289028nQzGdU','761252bWqtCk'];a48_0x5ef6=function(){return _0x4e626a;};return a48_0x5ef6();}