ym-gis-2d 1.0.3 → 1.0.5

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 (89) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/MousePositionControl.js +1 -1
  4. package/controls/SwipeLayerControl.js +1 -1
  5. package/conver/kml/geoJSONToKml.js +1 -1
  6. package/conver/kml/index.js +1 -1
  7. package/conver/kml/kmlToGeoJSON.js +1 -1
  8. package/entity/Feature.js +1 -1
  9. package/entity/GeometryType.js +1 -1
  10. package/entity/IStyle.d.ts +1 -0
  11. package/entity/IStyle.d.ts.map +1 -1
  12. package/feature/FeatureManager.d.ts.map +1 -1
  13. package/feature/FeatureManager.js +1 -1
  14. package/feature/FeatureManager.js.map +1 -1
  15. package/index.js +1 -1
  16. package/interaction/Draw.d.ts +2 -2
  17. package/interaction/Draw.d.ts.map +1 -1
  18. package/interaction/Draw.js +1 -1
  19. package/interaction/Draw.js.map +1 -1
  20. package/interaction/InteractionManager.js +1 -1
  21. package/interaction/Select.d.ts +19 -12
  22. package/interaction/Select.d.ts.map +1 -1
  23. package/interaction/Select.js +1 -1
  24. package/interaction/Select.js.map +1 -1
  25. package/layers/ArcgisDynamicLayer.js +1 -1
  26. package/layers/ArcgisFeatureLayer.js +1 -1
  27. package/layers/ArcgisTileLayer.js +1 -1
  28. package/layers/ArcgisWMSLayer.js +1 -1
  29. package/layers/ArcgisWMTSLayer.js +1 -1
  30. package/layers/GeoserverVectorTile.js +1 -1
  31. package/layers/GeoserverWFSLayer.js +1 -1
  32. package/layers/GeoserverWMSLayer.js +1 -1
  33. package/layers/GeoserverWMTSLayer.js +1 -1
  34. package/layers/LayerManager.js +1 -1
  35. package/layers/TDTLayer.js +1 -1
  36. package/mapView/Map.d.ts +2 -1
  37. package/mapView/Map.d.ts.map +1 -1
  38. package/mapView/Map.js +1 -1
  39. package/mapView/Map.js.map +1 -1
  40. package/mapView/View.js +1 -1
  41. package/package.json +1 -1
  42. package/plot/Plot.d.ts.map +1 -1
  43. package/plot/Plot.js +1 -1
  44. package/plot/Plot.js.map +1 -1
  45. package/plot/geometry/point/Point.js +1 -1
  46. package/plot/geometry/polygon/BasePolygon.js +1 -1
  47. package/plot/geometry/polygon/Circle.js +1 -1
  48. package/plot/geometry/polygon/Polygon.js +1 -1
  49. package/plot/geometry/polygon/RectAngle.js +1 -1
  50. package/plot/geometry/polyline/BaseLine.js +1 -1
  51. package/plot/geometry/polyline/Polyline.js +1 -1
  52. package/style/PointStyleFormat.js +1 -1
  53. package/style/PolygonStyleFormat.js +1 -1
  54. package/style/PolylineStyleFormat.js +1 -1
  55. package/style/StyleManager.d.ts +7 -0
  56. package/style/StyleManager.d.ts.map +1 -1
  57. package/style/StyleManager.js +1 -1
  58. package/style/StyleManager.js.map +1 -1
  59. package/style/common.d.ts +3 -3
  60. package/style/common.d.ts.map +1 -1
  61. package/style/common.js +1 -1
  62. package/style/common.js.map +1 -1
  63. package/utils/ArrayUtil.js +1 -1
  64. package/utils/AxiosUtil.js +1 -1
  65. package/utils/EsriUtil.js +1 -1
  66. package/utils/GeometryUtil.js +1 -1
  67. package/utils/LayerUtil.js +1 -1
  68. package/utils/RegisterProjUtil.js +1 -1
  69. package/utils/ResolutionUtil.js +1 -1
  70. package/utils/StringUtil.js +1 -1
  71. package/utils/StyleUtil.js +1 -1
  72. package/utils/UrlUtil.js +1 -1
  73. package/utils/XmlUtil.js +1 -1
  74. package/utils/format/CQL.js +1 -1
  75. package/utils/format/IsMatchCql.js +1 -1
  76. package/utils/plug/canvas/ImageCache.js +1 -1
  77. package/utils/plug/canvas/PinBuilder.js +1 -1
  78. package/utils/plug/canvas/PinIcon.js +1 -1
  79. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  80. package/utils/tasks/esri/Identify.js +1 -1
  81. package/utils/tasks/esri/Query.js +1 -1
  82. package/utils/tasks/esri/Task.js +1 -1
  83. package/utils/tasks/geoserver/QueryTask.js +1 -1
  84. package/utils/tasks/index.d.ts +13 -0
  85. package/utils/tasks/index.d.ts.map +1 -0
  86. package/utils/tasks/index.js +1 -0
  87. package/utils/tasks/index.js.map +1 -0
  88. package/ym-gis-2d.es.js +1 -1
  89. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- const a67_0x1b6d1b=a67_0x1db4;(function(_0x9ec5b7,_0x4f997a){const _0x6487b6=a67_0x1db4,_0x12a3f5=_0x9ec5b7();while(!![]){try{const _0x1c7bad=parseInt(_0x6487b6(0x181))/0x1*(parseInt(_0x6487b6(0x17b))/0x2)+-parseInt(_0x6487b6(0x198))/0x3*(-parseInt(_0x6487b6(0x17f))/0x4)+parseInt(_0x6487b6(0x190))/0x5*(-parseInt(_0x6487b6(0x1a6))/0x6)+parseInt(_0x6487b6(0x17c))/0x7*(parseInt(_0x6487b6(0x189))/0x8)+-parseInt(_0x6487b6(0x1a4))/0x9+parseInt(_0x6487b6(0x19b))/0xa+parseInt(_0x6487b6(0x1a9))/0xb*(parseInt(_0x6487b6(0x1a8))/0xc);if(_0x1c7bad===_0x4f997a)break;else _0x12a3f5['push'](_0x12a3f5['shift']());}catch(_0x637909){_0x12a3f5['push'](_0x12a3f5['shift']());}}}(a67_0x2f2e,0x82bbe));import a67_0x40ba16 from'color';function a67_0x1db4(_0x32f4cc,_0x328afd){const _0x2f2e02=a67_0x2f2e();return a67_0x1db4=function(_0x1db430,_0x30cadf){_0x1db430=_0x1db430-0x173;let _0x59279f=_0x2f2e02[_0x1db430];return _0x59279f;},a67_0x1db4(_0x32f4cc,_0x328afd);}import a67_0x2cd24b from'./writeTextToCanvas';import{Icon}from'ol/style';import a67_0x315afb from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}['fromColor'](_0x21d45e,_0x49d265){const _0x23a5b3=a67_0x1db4;if(!_0x21d45e)throw new Error(_0x23a5b3(0x191));if(!_0x49d265)throw new Error(_0x23a5b3(0x187));return createPin('','',_0x21d45e,_0x49d265,this[_0x23a5b3(0x1ab)]);}[a67_0x1b6d1b(0x194)](_0x272d24,_0x576235,_0x1bcf4f){const _0x336f40=a67_0x1b6d1b;if(!_0x272d24)throw new Error(_0x336f40(0x177));if(!_0x576235)throw new Error(_0x336f40(0x191));if(!_0x1bcf4f)throw new Error('size\x20is\x20required');return createPin(_0x272d24,'',_0x576235,_0x1bcf4f,this[_0x336f40(0x1ab)]);}[a67_0x1b6d1b(0x180)](_0x555c3d,_0x2b4ea2,_0x176689){const _0x12a753=a67_0x1b6d1b;if(!_0x555c3d)throw new Error(_0x12a753(0x197));if(!_0x2b4ea2)throw new Error(_0x12a753(0x191));if(!_0x176689)throw new Error(_0x12a753(0x187));return createPin(parseImage(_0x555c3d),'',_0x2b4ea2,_0x176689,this[_0x12a753(0x1ab)]);}['fromText'](_0x1820d6,_0x251d0a,_0x2c6024){const _0x3429c1=a67_0x1b6d1b;if(!_0x1820d6)throw new Error(_0x3429c1(0x18b));if(!_0x251d0a)throw new Error('color\x20is\x20required');if(!_0x2c6024)throw new Error(_0x3429c1(0x187));return createPin('',_0x1820d6,_0x251d0a,_0x2c6024,this['_cache']);}}function drawPin(_0x42a8bb,_0x570e56,_0x29fc36){const _0x15d169=a67_0x1b6d1b;_0x42a8bb[_0x15d169(0x17a)](),_0x42a8bb[_0x15d169(0x174)](_0x29fc36/0x18,_0x29fc36/0x18),_0x42a8bb['fillStyle']=_0x570e56,_0x42a8bb['strokeStyle']=a67_0x40ba16(_0x570e56)[_0x15d169(0x18a)](0.6)[_0x15d169(0x176)](),_0x42a8bb[_0x15d169(0x178)]=0.846,_0x42a8bb[_0x15d169(0x1a7)](),_0x42a8bb[_0x15d169(0x1a3)](6.72,0.422),_0x42a8bb[_0x15d169(0x184)](17.28,0.422),_0x42a8bb[_0x15d169(0x175)](18.553,0.422,19.577,1.758,19.577,3.415),_0x42a8bb['lineTo'](19.577,10.973),_0x42a8bb[_0x15d169(0x175)](19.577,12.63,18.553,13.966,17.282,13.966),_0x42a8bb['lineTo'](14.386,14.008),_0x42a8bb['lineTo'](11.826,23.578),_0x42a8bb[_0x15d169(0x184)](9.614,14.008),_0x42a8bb[_0x15d169(0x184)](6.719,13.965),_0x42a8bb[_0x15d169(0x175)](5.446,13.983,4.422,12.629,4.422,10.972),_0x42a8bb['lineTo'](4.422,3.416),_0x42a8bb[_0x15d169(0x175)](4.423,1.76,5.447,0.423,6.718,0.423),_0x42a8bb[_0x15d169(0x1a5)](),_0x42a8bb['fill'](),_0x42a8bb[_0x15d169(0x183)](),_0x42a8bb[_0x15d169(0x1a0)]();}function drawIcon(_0x1f03d7,_0x1ee055,_0x3118d7){const _0x12b9e5=a67_0x1b6d1b,_0x17cb67=_0x3118d7/2.5;let _0x3edf62=_0x17cb67,_0x4932c5=_0x17cb67;if(_0x1ee055[_0x12b9e5(0x19e)]>_0x1ee055['height'])_0x4932c5=_0x17cb67*(_0x1ee055[_0x12b9e5(0x185)]/_0x1ee055['width']);else _0x1ee055[_0x12b9e5(0x19e)]<_0x1ee055[_0x12b9e5(0x185)]&&(_0x3edf62=_0x17cb67*(_0x1ee055['width']/_0x1ee055[_0x12b9e5(0x185)]));const _0x377308=Math[_0x12b9e5(0x182)]((_0x3118d7-_0x3edf62)/0x2),_0x153d89=Math['round'](0x7/0x18*_0x3118d7-_0x4932c5/0x2);_0x1f03d7['globalCompositeOperation']=_0x12b9e5(0x1aa),_0x1f03d7['drawImage'](_0x1ee055,_0x377308-0x1,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89-0x1,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308+0x1,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89+0x1,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x173)]=_0x12b9e5(0x19f),_0x1f03d7[_0x12b9e5(0x18c)]=_0x12b9e5(0x186),_0x1f03d7[_0x12b9e5(0x18e)](_0x377308-0x1,_0x153d89-0x1,_0x3edf62+0x2,_0x4932c5+0x2),_0x1f03d7[_0x12b9e5(0x173)]=_0x12b9e5(0x1aa),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x173)]='destination-over',_0x1f03d7[_0x12b9e5(0x18c)]=_0x12b9e5(0x17d),_0x1f03d7[_0x12b9e5(0x18e)](_0x377308-0x1,_0x153d89-0x2,_0x3edf62+0x2,_0x4932c5+0x2);}function a67_0x2f2e(){const _0x7f61f5=['fromMakiIconId','256219DHaZYT','round','stroke','lineTo','height','#000000','size\x20is\x20required','IDLE','3405880uBqaMt','lighten','text\x20is\x20required','fillStyle','createElement','fillRect','target','1470475AdsGid','color\x20is\x20required','LOADED','toDataURL','fromUrl','load','stringify','id\x20is\x20required','1983xfANgl','getContext','getImage','7055670VzDnyH','px\x20sans-serif','getImageState','width','destination-over','restore','ERROR','drawImage','moveTo','8894079JJSicB','closePath','18UvXDPF','beginPath','58044mZrSKX','121AvAhnn','destination-out','_cache','globalCompositeOperation','scale','bezierCurveTo','hexa','url\x20is\x20required','lineWidth','canvas','save','6EDmRQd','14LxXReq','#FFFFFF','bold\x20','164lHWENk'];a67_0x2f2e=function(){return _0x7f61f5;};return a67_0x2f2e();}const stringifyScratch=new Array(0x4);function createPin(_0x558416,_0x55bee4,_0x1a0227,_0x4537c9,_0x2a6fa7){const _0x3fa791=a67_0x1b6d1b;stringifyScratch[0x0]=_0x558416,stringifyScratch[0x1]=_0x55bee4,stringifyScratch[0x2]=_0x1a0227,stringifyScratch[0x3]=_0x4537c9;const _0x3076ca=JSON[_0x3fa791(0x196)](stringifyScratch),_0x48c597=_0x2a6fa7[_0x3076ca];if(_0x48c597)return _0x48c597;const _0x4278c5=document[_0x3fa791(0x18d)](_0x3fa791(0x179));_0x4278c5[_0x3fa791(0x19e)]=_0x4537c9,_0x4278c5[_0x3fa791(0x185)]=_0x4537c9;const _0x3c8dce=_0x4278c5[_0x3fa791(0x199)]('2d');drawPin(_0x3c8dce,_0x1a0227,_0x4537c9);if(_0x558416)return new Promise(_0x36180c=>{const _0x104933=_0x3fa791;let _0x5186bd=new Icon({'src':_0x558416}),_0x49fb5f=_0x5186bd[_0x104933(0x19d)]();_0x49fb5f===a67_0x315afb['LOADED']||_0x49fb5f===a67_0x315afb[_0x104933(0x1a1)]?(drawIcon(_0x3c8dce,_0x5186bd[_0x104933(0x19a)](0x60),_0x4537c9),_0x2a6fa7[_0x3076ca]=_0x4278c5['toDataURL'](),_0x36180c(_0x4278c5['toDataURL']())):(_0x49fb5f===a67_0x315afb[_0x104933(0x188)]&&_0x5186bd[_0x104933(0x195)](),_0x5186bd['listenImageChange'](_0x58f3ee=>{const _0x46ca58=_0x104933;_0x49fb5f=_0x58f3ee[_0x46ca58(0x18f)][_0x46ca58(0x19d)](),(_0x49fb5f===a67_0x315afb[_0x46ca58(0x192)]||_0x49fb5f===a67_0x315afb[_0x46ca58(0x1a1)])&&(drawIcon(_0x3c8dce,_0x5186bd[_0x46ca58(0x19a)](0x60),_0x4537c9),_0x2a6fa7[_0x3076ca]=_0x4278c5[_0x46ca58(0x193)](),_0x36180c(_0x4278c5[_0x46ca58(0x193)]()));}));});else{if(_0x55bee4){const _0xfaab8=a67_0x2cd24b(_0x55bee4,{'font':_0x3fa791(0x17e)+_0x4537c9+_0x3fa791(0x19c)});drawIcon(_0x3c8dce,_0xfaab8,_0x4537c9);}}return _0x2a6fa7[_0x3076ca]=_0x4278c5[_0x3fa791(0x193)](),_0x4278c5[_0x3fa791(0x193)]();}export default PinBuilder;
1
+ const a67_0x1d40e6=a67_0x41a3;(function(_0x24e5ce,_0x44c26d){const _0x3a5dd7=a67_0x41a3,_0x4fe121=_0x24e5ce();while(!![]){try{const _0x5529e1=parseInt(_0x3a5dd7(0x162))/0x1*(parseInt(_0x3a5dd7(0x164))/0x2)+-parseInt(_0x3a5dd7(0x189))/0x3+parseInt(_0x3a5dd7(0x16b))/0x4+-parseInt(_0x3a5dd7(0x16a))/0x5+parseInt(_0x3a5dd7(0x180))/0x6+parseInt(_0x3a5dd7(0x167))/0x7+-parseInt(_0x3a5dd7(0x173))/0x8;if(_0x5529e1===_0x44c26d)break;else _0x4fe121['push'](_0x4fe121['shift']());}catch(_0x279d18){_0x4fe121['push'](_0x4fe121['shift']());}}}(a67_0x4d3e,0xb1231));import a67_0x25e629 from'color';import a67_0x584251 from'./writeTextToCanvas';import{Icon}from'ol/style';import a67_0x12e68f from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x29fe3d=a67_0x41a3;this[_0x29fe3d(0x163)]={};}['fromColor'](_0x3edc44,_0x5a5ee5){const _0x571234=a67_0x41a3;if(!_0x3edc44)throw new Error('color\x20is\x20required');if(!_0x5a5ee5)throw new Error(_0x571234(0x17a));return createPin('','',_0x3edc44,_0x5a5ee5,this[_0x571234(0x163)]);}[a67_0x1d40e6(0x184)](_0x2c328e,_0x2f22e6,_0x222264){const _0x369d2c=a67_0x1d40e6;if(!_0x2c328e)throw new Error(_0x369d2c(0x177));if(!_0x2f22e6)throw new Error(_0x369d2c(0x15d));if(!_0x222264)throw new Error('size\x20is\x20required');return createPin(_0x2c328e,'',_0x2f22e6,_0x222264,this['_cache']);}['fromMakiIconId'](_0x32c4f3,_0x2db1ca,_0x58edda){const _0x115ac1=a67_0x1d40e6;if(!_0x32c4f3)throw new Error('id\x20is\x20required');if(!_0x2db1ca)throw new Error(_0x115ac1(0x15d));if(!_0x58edda)throw new Error('size\x20is\x20required');return createPin(parseImage(_0x32c4f3),'',_0x2db1ca,_0x58edda,this[_0x115ac1(0x163)]);}[a67_0x1d40e6(0x182)](_0x18be90,_0x3299d2,_0x1b8e2a){const _0x555101=a67_0x1d40e6;if(!_0x18be90)throw new Error(_0x555101(0x15e));if(!_0x3299d2)throw new Error(_0x555101(0x15d));if(!_0x1b8e2a)throw new Error(_0x555101(0x17a));return createPin('',_0x18be90,_0x3299d2,_0x1b8e2a,this[_0x555101(0x163)]);}}function drawPin(_0x24d964,_0x2bc647,_0x235493){const _0xf5efc7=a67_0x1d40e6;_0x24d964['save'](),_0x24d964[_0xf5efc7(0x17d)](_0x235493/0x18,_0x235493/0x18),_0x24d964['fillStyle']=_0x2bc647,_0x24d964['strokeStyle']=a67_0x25e629(_0x2bc647)[_0xf5efc7(0x15c)](0.6)[_0xf5efc7(0x178)](),_0x24d964['lineWidth']=0.846,_0x24d964[_0xf5efc7(0x188)](),_0x24d964[_0xf5efc7(0x160)](6.72,0.422),_0x24d964['lineTo'](17.28,0.422),_0x24d964[_0xf5efc7(0x172)](18.553,0.422,19.577,1.758,19.577,3.415),_0x24d964['lineTo'](19.577,10.973),_0x24d964[_0xf5efc7(0x172)](19.577,12.63,18.553,13.966,17.282,13.966),_0x24d964[_0xf5efc7(0x183)](14.386,14.008),_0x24d964[_0xf5efc7(0x183)](11.826,23.578),_0x24d964[_0xf5efc7(0x183)](9.614,14.008),_0x24d964[_0xf5efc7(0x183)](6.719,13.965),_0x24d964[_0xf5efc7(0x172)](5.446,13.983,4.422,12.629,4.422,10.972),_0x24d964[_0xf5efc7(0x183)](4.422,3.416),_0x24d964['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x24d964['closePath'](),_0x24d964['fill'](),_0x24d964[_0xf5efc7(0x165)](),_0x24d964[_0xf5efc7(0x185)]();}function drawIcon(_0x26ae61,_0x4ecde1,_0x573d93){const _0x328b54=a67_0x1d40e6,_0x25abd4=_0x573d93/2.5;let _0x37ea74=_0x25abd4,_0x3b85e5=_0x25abd4;if(_0x4ecde1[_0x328b54(0x16f)]>_0x4ecde1[_0x328b54(0x186)])_0x3b85e5=_0x25abd4*(_0x4ecde1[_0x328b54(0x186)]/_0x4ecde1[_0x328b54(0x16f)]);else _0x4ecde1[_0x328b54(0x16f)]<_0x4ecde1[_0x328b54(0x186)]&&(_0x37ea74=_0x25abd4*(_0x4ecde1[_0x328b54(0x16f)]/_0x4ecde1[_0x328b54(0x186)]));const _0x4488fd=Math[_0x328b54(0x179)]((_0x573d93-_0x37ea74)/0x2),_0x562f21=Math[_0x328b54(0x179)](0x7/0x18*_0x573d93-_0x3b85e5/0x2);_0x26ae61[_0x328b54(0x169)]=_0x328b54(0x174),_0x26ae61[_0x328b54(0x161)](_0x4ecde1,_0x4488fd-0x1,_0x562f21,_0x37ea74,_0x3b85e5),_0x26ae61[_0x328b54(0x161)](_0x4ecde1,_0x4488fd,_0x562f21-0x1,_0x37ea74,_0x3b85e5),_0x26ae61[_0x328b54(0x161)](_0x4ecde1,_0x4488fd+0x1,_0x562f21,_0x37ea74,_0x3b85e5),_0x26ae61[_0x328b54(0x161)](_0x4ecde1,_0x4488fd,_0x562f21+0x1,_0x37ea74,_0x3b85e5),_0x26ae61[_0x328b54(0x169)]=_0x328b54(0x15f),_0x26ae61[_0x328b54(0x175)]=_0x328b54(0x17e),_0x26ae61[_0x328b54(0x176)](_0x4488fd-0x1,_0x562f21-0x1,_0x37ea74+0x2,_0x3b85e5+0x2),_0x26ae61[_0x328b54(0x169)]=_0x328b54(0x174),_0x26ae61[_0x328b54(0x161)](_0x4ecde1,_0x4488fd,_0x562f21,_0x37ea74,_0x3b85e5),_0x26ae61[_0x328b54(0x169)]=_0x328b54(0x15f),_0x26ae61[_0x328b54(0x175)]=_0x328b54(0x17c),_0x26ae61['fillRect'](_0x4488fd-0x1,_0x562f21-0x2,_0x37ea74+0x2,_0x3b85e5+0x2);}const stringifyScratch=new Array(0x4);function a67_0x41a3(_0x1bbc61,_0x4b340a){const _0x4d3e2e=a67_0x4d3e();return a67_0x41a3=function(_0x41a398,_0x3eb78a){_0x41a398=_0x41a398-0x15c;let _0x3344f8=_0x4d3e2e[_0x41a398];return _0x3344f8;},a67_0x41a3(_0x1bbc61,_0x4b340a);}function a67_0x4d3e(){const _0x3d279e=['bezierCurveTo','212144quYkUX','destination-out','fillStyle','fillRect','url\x20is\x20required','hexa','round','size\x20is\x20required','load','#FFFFFF','scale','#000000','stringify','1991694RyOXin','getContext','fromText','lineTo','fromUrl','restore','height','toDataURL','beginPath','4087242RcvmVg','lighten','color\x20is\x20required','text\x20is\x20required','destination-over','moveTo','drawImage','22156XCwuWQ','_cache','6beZvdz','stroke','IDLE','3875550tNnQSc','getImage','globalCompositeOperation','605945SDXaFk','5134428TkThak','ERROR','canvas','LOADED','width','createElement','getImageState'];a67_0x4d3e=function(){return _0x3d279e;};return a67_0x4d3e();}function createPin(_0x9b2ad3,_0x437229,_0x1b7981,_0x578fd6,_0x322ed3){const _0x5cb5f1=a67_0x1d40e6;stringifyScratch[0x0]=_0x9b2ad3,stringifyScratch[0x1]=_0x437229,stringifyScratch[0x2]=_0x1b7981,stringifyScratch[0x3]=_0x578fd6;const _0x144784=JSON[_0x5cb5f1(0x17f)](stringifyScratch),_0x453036=_0x322ed3[_0x144784];if(_0x453036)return _0x453036;const _0x2635c3=document[_0x5cb5f1(0x170)](_0x5cb5f1(0x16d));_0x2635c3[_0x5cb5f1(0x16f)]=_0x578fd6,_0x2635c3[_0x5cb5f1(0x186)]=_0x578fd6;const _0x3524c2=_0x2635c3[_0x5cb5f1(0x181)]('2d');drawPin(_0x3524c2,_0x1b7981,_0x578fd6);if(_0x9b2ad3)return new Promise(_0x1c0e90=>{const _0x3c4262=_0x5cb5f1;let _0x1db95b=new Icon({'src':_0x9b2ad3}),_0x34d99b=_0x1db95b[_0x3c4262(0x171)]();_0x34d99b===a67_0x12e68f[_0x3c4262(0x16e)]||_0x34d99b===a67_0x12e68f[_0x3c4262(0x16c)]?(drawIcon(_0x3524c2,_0x1db95b['getImage'](0x60),_0x578fd6),_0x322ed3[_0x144784]=_0x2635c3[_0x3c4262(0x187)](),_0x1c0e90(_0x2635c3['toDataURL']())):(_0x34d99b===a67_0x12e68f[_0x3c4262(0x166)]&&_0x1db95b[_0x3c4262(0x17b)](),_0x1db95b['listenImageChange'](_0x59fe32=>{const _0x4fedc6=_0x3c4262;_0x34d99b=_0x59fe32['target'][_0x4fedc6(0x171)](),(_0x34d99b===a67_0x12e68f[_0x4fedc6(0x16e)]||_0x34d99b===a67_0x12e68f[_0x4fedc6(0x16c)])&&(drawIcon(_0x3524c2,_0x1db95b[_0x4fedc6(0x168)](0x60),_0x578fd6),_0x322ed3[_0x144784]=_0x2635c3['toDataURL'](),_0x1c0e90(_0x2635c3[_0x4fedc6(0x187)]()));}));});else{if(_0x437229){const _0x14b0b3=a67_0x584251(_0x437229,{'font':'bold\x20'+_0x578fd6+'px\x20sans-serif'});drawIcon(_0x3524c2,_0x14b0b3,_0x578fd6);}}return _0x322ed3[_0x144784]=_0x2635c3[_0x5cb5f1(0x187)](),_0x2635c3['toDataURL']();}export default PinBuilder;
@@ -1 +1 @@
1
- const a68_0x41f968=a68_0xa633;(function(_0x242d59,_0xf166e3){const _0x539678=a68_0xa633,_0x1e9723=_0x242d59();while(!![]){try{const _0x406f79=parseInt(_0x539678(0x19e))/0x1*(parseInt(_0x539678(0x19c))/0x2)+-parseInt(_0x539678(0x194))/0x3+-parseInt(_0x539678(0x19f))/0x4*(parseInt(_0x539678(0x18c))/0x5)+parseInt(_0x539678(0x188))/0x6+parseInt(_0x539678(0x1a5))/0x7+parseInt(_0x539678(0x196))/0x8+-parseInt(_0x539678(0x18d))/0x9*(parseInt(_0x539678(0x19b))/0xa);if(_0x406f79===_0xf166e3)break;else _0x1e9723['push'](_0x1e9723['shift']());}catch(_0x14f8c1){_0x1e9723['push'](_0x1e9723['shift']());}}}(a68_0x2011,0x6ac77));import a68_0x4eda42 from'./PinBuilder';import{Icon}from'ol/style';function a68_0xa633(_0xa0212c,_0x56e232){const _0x201120=a68_0x2011();return a68_0xa633=function(_0xa6339f,_0x53a365){_0xa6339f=_0xa6339f-0x185;let _0x3bef40=_0x201120[_0xa6339f];return _0x3bef40;},a68_0xa633(_0xa0212c,_0x56e232);}import a68_0x5103e4 from'ol/ImageState';function a68_0x2011(){const _0x42f48b=['options','_icon','getImage','1137680zJYGSg','14372IvjAoB','then','17RmXhXE','204CjyxQf','error','listenImageChange','loadIcon','markerColor','IDLE','4406983NCZgFX','dispatchEvent','target','ERROR','LOADED','1434780POkbkE','resolve','image','_listener','1195gKXNZY','45ZHbLqU','load','getImageState','markerLabel','get','_imageState','set','105720qhkTZW','catch','502200xTkEYu','markerSize'];a68_0x2011=function(){return _0x42f48b;};return a68_0x2011();}import a68_0x43396c from'ol/events/Event';import{shared as a68_0x2e317f}from'./ImageCache';export default class PinIcon{constructor(_0x9e6af7){const _0x272837=a68_0xa633;this[_0x272837(0x198)]=_0x9e6af7||{},this['_imageState']=a68_0x5103e4[_0x272837(0x1a4)],this['_icon']=a68_0x2e317f[_0x272837(0x191)](this['options']),this[_0x272837(0x199)]&&(this['_imageState']=a68_0x5103e4[_0x272837(0x187)]);}[a68_0x41f968(0x18e)](){const _0xedfdb5=a68_0x41f968;try{let _0x222649,_0x527ffb=new a68_0x4eda42();if(this[_0xedfdb5(0x198)][_0xedfdb5(0x190)])_0x222649=_0x527ffb['fromText'](this[_0xedfdb5(0x198)][_0xedfdb5(0x190)],this['options']['markerColor'],this[_0xedfdb5(0x198)][_0xedfdb5(0x197)]||0x30);else this['options']['image']&&(_0x222649=_0x527ffb['fromUrl'](this[_0xedfdb5(0x198)][_0xedfdb5(0x18a)],this['options'][_0xedfdb5(0x1a3)],this[_0xedfdb5(0x198)]['markerSize']||0x30));Promise[_0xedfdb5(0x189)](_0x222649)[_0xedfdb5(0x19d)](_0x41f6ec=>{const _0x2a32e5=_0xedfdb5;this[_0x2a32e5(0x1a2)](_0x41f6ec);})[_0xedfdb5(0x195)](_0x3abc4d=>{const _0x5a338e=_0xedfdb5;console['warn'](_0x3abc4d),this['_imageState']=a68_0x5103e4[_0x5a338e(0x186)],this[_0x5a338e(0x1a6)]('error');});}catch(_0x3895f8){console['warn'](_0x3895f8),this[_0xedfdb5(0x192)]=a68_0x5103e4[_0xedfdb5(0x186)],this[_0xedfdb5(0x1a6)](_0xedfdb5(0x1a0));}}[a68_0x41f968(0x1a2)](_0x50d980){const _0x3ff0b2=a68_0x41f968;this['_icon']=new Icon({'src':_0x50d980}),a68_0x2e317f[_0x3ff0b2(0x193)](this[_0x3ff0b2(0x198)],this['_icon']);let _0x4034d9=this[_0x3ff0b2(0x199)][_0x3ff0b2(0x18f)]();_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x187)]||_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x186)]?(this[_0x3ff0b2(0x192)]=this[_0x3ff0b2(0x199)][_0x3ff0b2(0x18f)](),this[_0x3ff0b2(0x1a6)]('load')):(_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x1a4)]&&this['_icon'][_0x3ff0b2(0x18e)](),this[_0x3ff0b2(0x199)][_0x3ff0b2(0x1a1)](_0x1eaae9=>{const _0xe7fb91=_0x3ff0b2;_0x4034d9=_0x1eaae9[_0xe7fb91(0x185)]['getImageState'](),(_0x4034d9===a68_0x5103e4[_0xe7fb91(0x187)]||_0x4034d9===a68_0x5103e4[_0xe7fb91(0x186)])&&(this[_0xe7fb91(0x192)]=this[_0xe7fb91(0x199)][_0xe7fb91(0x18f)](),this[_0xe7fb91(0x1a6)](_0xe7fb91(0x18e)));}));}[a68_0x41f968(0x18f)](){const _0x40fcb9=a68_0x41f968;return this[_0x40fcb9(0x192)];}[a68_0x41f968(0x19a)](){const _0x46e23e=a68_0x41f968;var _0x10632c;return(_0x10632c=this[_0x46e23e(0x199)])===null||_0x10632c===void 0x0?void 0x0:_0x10632c[_0x46e23e(0x19a)]();}[a68_0x41f968(0x1a1)](_0x336d0d){const _0x5c53a2=a68_0x41f968;this[_0x5c53a2(0x18b)]=_0x336d0d;}['dispatchEvent'](_0x2f86e2){const _0x1be071=a68_0x41f968;if(this['_listener']){let _0x187914=new a68_0x43396c(_0x2f86e2);_0x187914['target']=this,this[_0x1be071(0x18b)](_0x187914);}}}
1
+ const a68_0x2c6975=a68_0xe2ba;(function(_0x56f09a,_0x1bc13c){const _0x32915a=a68_0xe2ba,_0x399e1d=_0x56f09a();while(!![]){try{const _0x3d7728=parseInt(_0x32915a(0xd4))/0x1*(-parseInt(_0x32915a(0xdc))/0x2)+parseInt(_0x32915a(0xc9))/0x3*(-parseInt(_0x32915a(0xe1))/0x4)+-parseInt(_0x32915a(0xd7))/0x5+parseInt(_0x32915a(0xcd))/0x6+-parseInt(_0x32915a(0xe0))/0x7*(parseInt(_0x32915a(0xc0))/0x8)+-parseInt(_0x32915a(0xe2))/0x9*(parseInt(_0x32915a(0xc2))/0xa)+parseInt(_0x32915a(0xd6))/0xb;if(_0x3d7728===_0x1bc13c)break;else _0x399e1d['push'](_0x399e1d['shift']());}catch(_0x3cf991){_0x399e1d['push'](_0x399e1d['shift']());}}}(a68_0x50d0,0x4d329));import a68_0x5a0592 from'./PinBuilder';function a68_0xe2ba(_0x28764b,_0x47fcfa){const _0x50d094=a68_0x50d0();return a68_0xe2ba=function(_0xe2ba34,_0x14cba8){_0xe2ba34=_0xe2ba34-0xbe;let _0x51df48=_0x50d094[_0xe2ba34];return _0x51df48;},a68_0xe2ba(_0x28764b,_0x47fcfa);}import{Icon}from'ol/style';import a68_0x421e34 from'ol/ImageState';import a68_0x4625d6 from'ol/events/Event';import{shared as a68_0x5e3b85}from'./ImageCache';function a68_0x50d0(){const _0x1717ae=['error','dispatchEvent','getImageState','541576lmXkeW','_listener','8110aIBgNs','fromUrl','listenImageChange','load','markerLabel','IDLE','then','52923bAcEDv','getImage','get','resolve','514026jHcBaA','options','set','markerColor','fromText','LOADED','target','45459iVMLIx','loadIcon','16624124tPOoOw','2092645RgBGYl','image','_icon','_imageState','ERROR','16xAPJMw','warn','markerSize','catch','7PCbPAM','28twaBPO','3411WDKZpy'];a68_0x50d0=function(){return _0x1717ae;};return a68_0x50d0();}export default class PinIcon{constructor(_0xd60408){const _0x5ab533=a68_0xe2ba;this['options']=_0xd60408||{},this[_0x5ab533(0xda)]=a68_0x421e34['IDLE'],this[_0x5ab533(0xd9)]=a68_0x5e3b85[_0x5ab533(0xcb)](this['options']),this['_icon']&&(this[_0x5ab533(0xda)]=a68_0x421e34[_0x5ab533(0xd2)]);}['load'](){const _0x4ff20c=a68_0xe2ba;try{let _0x3329fa,_0x3cc805=new a68_0x5a0592();if(this[_0x4ff20c(0xce)][_0x4ff20c(0xc6)])_0x3329fa=_0x3cc805[_0x4ff20c(0xd1)](this[_0x4ff20c(0xce)][_0x4ff20c(0xc6)],this[_0x4ff20c(0xce)][_0x4ff20c(0xd0)],this[_0x4ff20c(0xce)]['markerSize']||0x30);else this['options'][_0x4ff20c(0xd8)]&&(_0x3329fa=_0x3cc805[_0x4ff20c(0xc3)](this[_0x4ff20c(0xce)][_0x4ff20c(0xd8)],this[_0x4ff20c(0xce)][_0x4ff20c(0xd0)],this['options'][_0x4ff20c(0xde)]||0x30));Promise[_0x4ff20c(0xcc)](_0x3329fa)[_0x4ff20c(0xc8)](_0xcb9a5b=>{this['loadIcon'](_0xcb9a5b);})[_0x4ff20c(0xdf)](_0x2c6122=>{const _0x381efa=_0x4ff20c;console[_0x381efa(0xdd)](_0x2c6122),this['_imageState']=a68_0x421e34[_0x381efa(0xdb)],this[_0x381efa(0xbe)](_0x381efa(0xe3));});}catch(_0xdddd5e){console[_0x4ff20c(0xdd)](_0xdddd5e),this[_0x4ff20c(0xda)]=a68_0x421e34[_0x4ff20c(0xdb)],this[_0x4ff20c(0xbe)](_0x4ff20c(0xe3));}}[a68_0x2c6975(0xd5)](_0x3aec3a){const _0x9cb1cf=a68_0x2c6975;this['_icon']=new Icon({'src':_0x3aec3a}),a68_0x5e3b85[_0x9cb1cf(0xcf)](this[_0x9cb1cf(0xce)],this[_0x9cb1cf(0xd9)]);let _0x6f1459=this['_icon'][_0x9cb1cf(0xbf)]();_0x6f1459===a68_0x421e34[_0x9cb1cf(0xd2)]||_0x6f1459===a68_0x421e34[_0x9cb1cf(0xdb)]?(this[_0x9cb1cf(0xda)]=this[_0x9cb1cf(0xd9)][_0x9cb1cf(0xbf)](),this[_0x9cb1cf(0xbe)](_0x9cb1cf(0xc5))):(_0x6f1459===a68_0x421e34[_0x9cb1cf(0xc7)]&&this[_0x9cb1cf(0xd9)]['load'](),this[_0x9cb1cf(0xd9)]['listenImageChange'](_0x41f283=>{const _0x13eeb2=_0x9cb1cf;_0x6f1459=_0x41f283[_0x13eeb2(0xd3)][_0x13eeb2(0xbf)](),(_0x6f1459===a68_0x421e34[_0x13eeb2(0xd2)]||_0x6f1459===a68_0x421e34['ERROR'])&&(this[_0x13eeb2(0xda)]=this['_icon'][_0x13eeb2(0xbf)](),this[_0x13eeb2(0xbe)](_0x13eeb2(0xc5)));}));}[a68_0x2c6975(0xbf)](){const _0x30c880=a68_0x2c6975;return this[_0x30c880(0xda)];}['getImage'](){const _0x438b48=a68_0x2c6975;var _0x527446;return(_0x527446=this['_icon'])===null||_0x527446===void 0x0?void 0x0:_0x527446[_0x438b48(0xca)]();}[a68_0x2c6975(0xc4)](_0x5d5de1){const _0x3e6f7e=a68_0x2c6975;this[_0x3e6f7e(0xc1)]=_0x5d5de1;}[a68_0x2c6975(0xbe)](_0x22cd71){const _0x5ef3ee=a68_0x2c6975;if(this[_0x5ef3ee(0xc1)]){let _0x32d8e5=new a68_0x4625d6(_0x22cd71);_0x32d8e5[_0x5ef3ee(0xd3)]=this,this[_0x5ef3ee(0xc1)](_0x32d8e5);}}}
@@ -1 +1 @@
1
- (function(_0x493634,_0x4e08fa){const _0x367c4b=a69_0xf14f,_0x4d1120=_0x493634();while(!![]){try{const _0x2c126b=parseInt(_0x367c4b(0x125))/0x1*(parseInt(_0x367c4b(0x107))/0x2)+parseInt(_0x367c4b(0x132))/0x3*(-parseInt(_0x367c4b(0x12b))/0x4)+-parseInt(_0x367c4b(0x12f))/0x5*(parseInt(_0x367c4b(0x115))/0x6)+parseInt(_0x367c4b(0x136))/0x7*(parseInt(_0x367c4b(0x106))/0x8)+-parseInt(_0x367c4b(0x131))/0x9+parseInt(_0x367c4b(0x137))/0xa*(-parseInt(_0x367c4b(0x103))/0xb)+parseInt(_0x367c4b(0x116))/0xc;if(_0x2c126b===_0x4e08fa)break;else _0x4d1120['push'](_0x4d1120['shift']());}catch(_0x3f27ad){_0x4d1120['push'](_0x4d1120['shift']());}}}(a69_0x390b,0xb0b02));function measureText(_0x33bc2a,_0x19ce68,_0x3c1a60,_0x3114b1,_0x5527fa){const _0x222f91=a69_0xf14f,_0x492896=_0x33bc2a[_0x222f91(0x13a)](_0x19ce68),_0x266d05=!/\S/[_0x222f91(0x11b)](_0x19ce68);if(!_0x266d05&&document['defaultView']){const _0x38d12b=document['defaultView'][_0x222f91(0x110)](_0x33bc2a[_0x222f91(0x11a)])[_0x222f91(0x122)](_0x222f91(0x105))[_0x222f91(0x11f)]('px',''),_0xde8702=document[_0x222f91(0x102)]('canvas'),_0x157628=0x64,_0x114f21=_0x492896[_0x222f91(0x133)]+_0x157628|0x0,_0x5e9114=0x3*(_0x38d12b-0x0),_0x4c983b=_0x5e9114/0x2;_0xde8702[_0x222f91(0x133)]=_0x114f21,_0xde8702[_0x222f91(0x119)]=_0x5e9114;const _0x688b4b=_0xde8702['getContext']('2d');if(!_0x688b4b)return{};_0x688b4b[_0x222f91(0x109)]=_0x3c1a60,_0x688b4b['fillStyle']=_0x222f91(0x114),_0x688b4b[_0x222f91(0x10b)](0x0,0x0,_0xde8702[_0x222f91(0x133)]+0x1,_0xde8702[_0x222f91(0x119)]+0x1);_0x3114b1&&(_0x688b4b[_0x222f91(0x127)]=_0x222f91(0x123),_0x688b4b['lineWidth']=_0x33bc2a[_0x222f91(0x134)],_0x688b4b['strokeText'](_0x19ce68,_0x157628/0x2,_0x4c983b));_0x5527fa&&(_0x688b4b['fillStyle']=_0x222f91(0x123),_0x688b4b[_0x222f91(0x128)](_0x19ce68,_0x157628/0x2,_0x4c983b));const _0x60618=_0x688b4b[_0x222f91(0x12e)](0x0,0x0,_0x114f21,_0x5e9114)['data'],_0x430947=_0x60618['length'],_0x57990c=_0x114f21*0x4;let _0x5984e3,_0xc23025,_0x15c2d7=0x0,_0x274111=0x0;for(_0x5984e3=0x0;_0x5984e3<_0x430947;++_0x5984e3){if(_0x60618[_0x5984e3]!==0xff){_0x15c2d7=_0x5984e3/_0x57990c|0x0;break;}}for(_0x5984e3=_0x430947-0x1;_0x5984e3>=0x0;--_0x5984e3){if(_0x60618[_0x5984e3]!==0xff){_0x274111=_0x5984e3/_0x57990c|0x0;break;}}let _0x41b2d1=-0x1;for(_0x5984e3=0x0;_0x5984e3<_0x114f21&&_0x41b2d1===-0x1;++_0x5984e3){for(_0xc23025=0x0;_0xc23025<_0x5e9114;++_0xc23025){const _0x59acd0=_0x5984e3*0x4+_0xc23025*_0x57990c;if(_0x60618[_0x59acd0]!==0xff||_0x60618[_0x59acd0+0x1]!==0xff||_0x60618[_0x59acd0+0x2]!==0xff||_0x60618[_0x59acd0+0x3]!==0xff){_0x41b2d1=_0x5984e3;break;}}}return{'width':_0x492896[_0x222f91(0x133)],'height':_0x274111-_0x15c2d7,'ascent':_0x4c983b-_0x15c2d7,'descent':_0x274111-_0x4c983b,'minx':_0x41b2d1-_0x157628/0x2};}return{'width':_0x492896[_0x222f91(0x133)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function a69_0x390b(){const _0x5f265e=['webkitImageSmoothingEnabled','getImageData','5GGFWBl','stroke','10231191LNGFXN','3InQqQO','width','lineWidth','body','12047DqHwjY','1180JDQJHB','10px\x20sans-serif','#00000000','measureText','#000000','createElement','98758WwxDHx','ceil','font-size','6104YZohxD','116WdOkwL','style','font','fillColor','fillRect','strokeText','visibility','padding','strokeColor','getComputedStyle','round','imageSmoothingEnabled','dimensions','white','3052062dvJfdn','27468996cHmBov','text\x20is\x20required.','fillStyle','height','canvas','test','appendChild','msImageSmoothingEnabled','#FFFFFF','replace','removeChild','getContext','getPropertyValue','black','ascent','502qMeOcT','mozImageSmoothingEnabled','strokeStyle','fillText','minx','lineJoin','810912CcZlqH','backgroundColor'];a69_0x390b=function(){return _0x5f265e;};return a69_0x390b();}function writeTextToCanvas(_0x437d51,_0x313f7c){const _0x649ab5=a69_0xf14f;if(!_0x437d51)throw new Error(_0x649ab5(0x117));if(_0x437d51==='')return undefined;_0x313f7c=defaultValue(_0x313f7c,{});const _0x47b31c=defaultValue(_0x313f7c[_0x649ab5(0x109)],_0x649ab5(0x138)),_0x48a126=defaultValue(_0x313f7c[_0x649ab5(0x130)],![]),_0xbe1a87=defaultValue(_0x313f7c['fill'],!![]),_0x39aaa8=defaultValue(_0x313f7c['strokeWidth'],0x1),_0x5e9fe0=defaultValue(_0x313f7c[_0x649ab5(0x12c)],'#00000000'),_0x3f377e=defaultValue(_0x313f7c[_0x649ab5(0x10e)],0x0),_0x258e9d=_0x3f377e*0x2,_0x557495=document[_0x649ab5(0x102)](_0x649ab5(0x11a));_0x557495[_0x649ab5(0x133)]=0x1,_0x557495[_0x649ab5(0x119)]=0x1,_0x557495['style'][_0x649ab5(0x109)]=_0x47b31c;const _0x2cb8b6=_0x557495[_0x649ab5(0x121)]('2d');if(!imageSmoothingEnabledName&&_0x2cb8b6){if(_0x2cb8b6['imageSmoothingEnabled'])imageSmoothingEnabledName=_0x649ab5(0x112);else{if(_0x2cb8b6[_0x649ab5(0x126)])imageSmoothingEnabledName=_0x649ab5(0x126);else{if(_0x2cb8b6[_0x649ab5(0x12d)])imageSmoothingEnabledName=_0x649ab5(0x12d);else _0x2cb8b6[_0x649ab5(0x11d)]&&(imageSmoothingEnabledName=_0x649ab5(0x11d));}}}_0x2cb8b6[_0x649ab5(0x109)]=_0x47b31c,_0x2cb8b6['lineJoin']=_0x649ab5(0x111),_0x2cb8b6[_0x649ab5(0x134)]=_0x39aaa8,_0x2cb8b6[imageSmoothingEnabledName]=![],_0x557495[_0x649ab5(0x108)][_0x649ab5(0x10d)]='hidden',document[_0x649ab5(0x135)][_0x649ab5(0x11c)](_0x557495);const _0x2aa202=measureText(_0x2cb8b6,_0x437d51,_0x47b31c,_0x48a126,_0xbe1a87);if(!_0x2aa202)return;_0x557495[_0x649ab5(0x113)]=_0x2aa202,document[_0x649ab5(0x135)][_0x649ab5(0x120)](_0x557495),_0x557495['style'][_0x649ab5(0x10d)]='';const _0x6139f5=-(_0x2aa202['minx']?_0x2aa202[_0x649ab5(0x129)]:0x0),_0x50ef26=Math[_0x649ab5(0x104)](_0x2aa202[_0x649ab5(0x133)])+_0x6139f5+_0x258e9d,_0xfca6fc=(_0x2aa202[_0x649ab5(0x119)]?_0x2aa202[_0x649ab5(0x119)]:0x0)+_0x258e9d,_0xddf720=_0xfca6fc-(_0x2aa202[_0x649ab5(0x124)]?_0x2aa202[_0x649ab5(0x124)]:0x0)+_0x3f377e,_0x224f7d=_0xfca6fc-_0xddf720+_0x258e9d;return _0x557495[_0x649ab5(0x133)]=_0x50ef26,_0x557495[_0x649ab5(0x119)]=_0xfca6fc,_0x2cb8b6[_0x649ab5(0x109)]=_0x47b31c,_0x2cb8b6[_0x649ab5(0x12a)]=_0x649ab5(0x111),_0x2cb8b6[_0x649ab5(0x134)]=_0x39aaa8,_0x2cb8b6[imageSmoothingEnabledName]=![],_0x5e9fe0!==_0x649ab5(0x139)&&(_0x2cb8b6[_0x649ab5(0x118)]=_0x5e9fe0,_0x2cb8b6['fillRect'](0x0,0x0,_0x557495['width'],_0x557495[_0x649ab5(0x119)])),_0x48a126&&(_0x2cb8b6['strokeStyle']=defaultValue(_0x313f7c[_0x649ab5(0x10f)],_0x649ab5(0x101)),_0x2cb8b6[_0x649ab5(0x10c)](_0x437d51,_0x6139f5+_0x3f377e,_0x224f7d)),_0xbe1a87&&(_0x2cb8b6[_0x649ab5(0x118)]=defaultValue(_0x313f7c[_0x649ab5(0x10a)],_0x649ab5(0x11e)),_0x2cb8b6[_0x649ab5(0x128)](_0x437d51,_0x6139f5+_0x3f377e,_0x224f7d)),_0x557495;}function a69_0xf14f(_0x5e2955,_0x52cf16){const _0x390b28=a69_0x390b();return a69_0xf14f=function(_0xf14fe5,_0x2a063b){_0xf14fe5=_0xf14fe5-0x101;let _0x3af6ed=_0x390b28[_0xf14fe5];return _0x3af6ed;},a69_0xf14f(_0x5e2955,_0x52cf16);}function defaultValue(_0x1db6cc,_0x58bd65){if(_0x1db6cc!==undefined&&_0x1db6cc!==null)return _0x1db6cc;return _0x58bd65;}export default writeTextToCanvas;
1
+ function a69_0x10a3(){const _0x331cd4=['imageSmoothingEnabled','white','strokeColor','hidden','ceil','72sYLyov','10px\x20sans-serif','getImageData','height','visibility','body','text\x20is\x20required.','fillColor','createElement','473795WXAIHp','msImageSmoothingEnabled','ascent','3128115WUCJyZ','webkitImageSmoothingEnabled','appendChild','length','replace','4097624BJZitG','fillStyle','font-size','strokeWidth','width','7810WFhKpp','round','fillText','strokeText','backgroundColor','font','removeChild','3929152wWIvoW','lineWidth','fill','getPropertyValue','padding','getComputedStyle','black','getContext','3787359pJRNTW','5496740ymFlwY','284EewNwT','90jZseQv','#00000000','data','test','canvas','defaultView','style','lineJoin'];a69_0x10a3=function(){return _0x331cd4;};return a69_0x10a3();}(function(_0x4ca0f2,_0x18c739){const _0x5037e0=a69_0x155d,_0x44efdd=_0x4ca0f2();while(!![]){try{const _0x2491f7=parseInt(_0x5037e0(0x202))/0x1*(-parseInt(_0x5037e0(0x226))/0x2)+-parseInt(_0x5037e0(0x200))/0x3+parseInt(_0x5037e0(0x1f8))/0x4+-parseInt(_0x5037e0(0x21c))/0x5+-parseInt(_0x5037e0(0x203))/0x6*(parseInt(_0x5037e0(0x219))/0x7)+-parseInt(_0x5037e0(0x221))/0x8+-parseInt(_0x5037e0(0x210))/0x9*(-parseInt(_0x5037e0(0x201))/0xa);if(_0x2491f7===_0x18c739)break;else _0x44efdd['push'](_0x44efdd['shift']());}catch(_0x49ab76){_0x44efdd['push'](_0x44efdd['shift']());}}}(a69_0x10a3,0xd0c42));function measureText(_0x26e642,_0x3f152a,_0x5413db,_0x3b6827,_0x5bb57d){const _0x52e3b5=a69_0x155d,_0x4b52d2=_0x26e642['measureText'](_0x3f152a),_0x73e770=!/\S/[_0x52e3b5(0x206)](_0x3f152a);if(!_0x73e770&&document[_0x52e3b5(0x208)]){const _0x463709=document[_0x52e3b5(0x208)][_0x52e3b5(0x1fd)](_0x26e642[_0x52e3b5(0x207)])[_0x52e3b5(0x1fb)](_0x52e3b5(0x223))[_0x52e3b5(0x220)]('px',''),_0x442819=document[_0x52e3b5(0x218)](_0x52e3b5(0x207)),_0x348612=0x64,_0x92683d=_0x4b52d2[_0x52e3b5(0x225)]+_0x348612|0x0,_0x13ca8a=0x3*(_0x463709-0x0),_0x1bac8b=_0x13ca8a/0x2;_0x442819[_0x52e3b5(0x225)]=_0x92683d,_0x442819[_0x52e3b5(0x213)]=_0x13ca8a;const _0x13e6f2=_0x442819[_0x52e3b5(0x1ff)]('2d');if(!_0x13e6f2)return{};_0x13e6f2['font']=_0x5413db,_0x13e6f2[_0x52e3b5(0x222)]=_0x52e3b5(0x20c),_0x13e6f2['fillRect'](0x0,0x0,_0x442819[_0x52e3b5(0x225)]+0x1,_0x442819[_0x52e3b5(0x213)]+0x1);_0x3b6827&&(_0x13e6f2['strokeStyle']=_0x52e3b5(0x1fe),_0x13e6f2['lineWidth']=_0x26e642['lineWidth'],_0x13e6f2[_0x52e3b5(0x1f4)](_0x3f152a,_0x348612/0x2,_0x1bac8b));_0x5bb57d&&(_0x13e6f2[_0x52e3b5(0x222)]=_0x52e3b5(0x1fe),_0x13e6f2[_0x52e3b5(0x1f3)](_0x3f152a,_0x348612/0x2,_0x1bac8b));const _0x41fc81=_0x13e6f2[_0x52e3b5(0x212)](0x0,0x0,_0x92683d,_0x13ca8a)[_0x52e3b5(0x205)],_0x26dada=_0x41fc81[_0x52e3b5(0x21f)],_0x53ab52=_0x92683d*0x4;let _0x18dca9,_0x10452e,_0x3971da=0x0,_0x5104dd=0x0;for(_0x18dca9=0x0;_0x18dca9<_0x26dada;++_0x18dca9){if(_0x41fc81[_0x18dca9]!==0xff){_0x3971da=_0x18dca9/_0x53ab52|0x0;break;}}for(_0x18dca9=_0x26dada-0x1;_0x18dca9>=0x0;--_0x18dca9){if(_0x41fc81[_0x18dca9]!==0xff){_0x5104dd=_0x18dca9/_0x53ab52|0x0;break;}}let _0x5d3463=-0x1;for(_0x18dca9=0x0;_0x18dca9<_0x92683d&&_0x5d3463===-0x1;++_0x18dca9){for(_0x10452e=0x0;_0x10452e<_0x13ca8a;++_0x10452e){const _0x13b19f=_0x18dca9*0x4+_0x10452e*_0x53ab52;if(_0x41fc81[_0x13b19f]!==0xff||_0x41fc81[_0x13b19f+0x1]!==0xff||_0x41fc81[_0x13b19f+0x2]!==0xff||_0x41fc81[_0x13b19f+0x3]!==0xff){_0x5d3463=_0x18dca9;break;}}}return{'width':_0x4b52d2[_0x52e3b5(0x225)],'height':_0x5104dd-_0x3971da,'ascent':_0x1bac8b-_0x3971da,'descent':_0x5104dd-_0x1bac8b,'minx':_0x5d3463-_0x348612/0x2};}return{'width':_0x4b52d2[_0x52e3b5(0x225)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}function a69_0x155d(_0x5a5a09,_0x312985){const _0x10a31a=a69_0x10a3();return a69_0x155d=function(_0x155d27,_0x35b8a5){_0x155d27=_0x155d27-0x1f2;let _0x3fe723=_0x10a31a[_0x155d27];return _0x3fe723;},a69_0x155d(_0x5a5a09,_0x312985);}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x5e98c2,_0x3a0086){const _0x4f51d5=a69_0x155d;if(!_0x5e98c2)throw new Error(_0x4f51d5(0x216));if(_0x5e98c2==='')return undefined;_0x3a0086=defaultValue(_0x3a0086,{});const _0x10539c=defaultValue(_0x3a0086[_0x4f51d5(0x1f6)],_0x4f51d5(0x211)),_0x196645=defaultValue(_0x3a0086['stroke'],![]),_0x3c7244=defaultValue(_0x3a0086[_0x4f51d5(0x1fa)],!![]),_0x151600=defaultValue(_0x3a0086[_0x4f51d5(0x224)],0x1),_0x2122ca=defaultValue(_0x3a0086[_0x4f51d5(0x1f5)],_0x4f51d5(0x204)),_0x3ec644=defaultValue(_0x3a0086[_0x4f51d5(0x1fc)],0x0),_0x2a35e9=_0x3ec644*0x2,_0x5b05cc=document[_0x4f51d5(0x218)]('canvas');_0x5b05cc[_0x4f51d5(0x225)]=0x1,_0x5b05cc[_0x4f51d5(0x213)]=0x1,_0x5b05cc[_0x4f51d5(0x209)][_0x4f51d5(0x1f6)]=_0x10539c;const _0x2b90a0=_0x5b05cc[_0x4f51d5(0x1ff)]('2d');if(!imageSmoothingEnabledName&&_0x2b90a0){if(_0x2b90a0['imageSmoothingEnabled'])imageSmoothingEnabledName=_0x4f51d5(0x20b);else{if(_0x2b90a0['mozImageSmoothingEnabled'])imageSmoothingEnabledName='mozImageSmoothingEnabled';else{if(_0x2b90a0[_0x4f51d5(0x21d)])imageSmoothingEnabledName=_0x4f51d5(0x21d);else _0x2b90a0[_0x4f51d5(0x21a)]&&(imageSmoothingEnabledName=_0x4f51d5(0x21a));}}}_0x2b90a0[_0x4f51d5(0x1f6)]=_0x10539c,_0x2b90a0['lineJoin']=_0x4f51d5(0x1f2),_0x2b90a0[_0x4f51d5(0x1f9)]=_0x151600,_0x2b90a0[imageSmoothingEnabledName]=![],_0x5b05cc['style'][_0x4f51d5(0x214)]=_0x4f51d5(0x20e),document[_0x4f51d5(0x215)][_0x4f51d5(0x21e)](_0x5b05cc);const _0x4357a8=measureText(_0x2b90a0,_0x5e98c2,_0x10539c,_0x196645,_0x3c7244);if(!_0x4357a8)return;_0x5b05cc['dimensions']=_0x4357a8,document[_0x4f51d5(0x215)][_0x4f51d5(0x1f7)](_0x5b05cc),_0x5b05cc['style'][_0x4f51d5(0x214)]='';const _0x1ff0cd=-(_0x4357a8['minx']?_0x4357a8['minx']:0x0),_0x147426=Math[_0x4f51d5(0x20f)](_0x4357a8[_0x4f51d5(0x225)])+_0x1ff0cd+_0x2a35e9,_0x3a27c0=(_0x4357a8[_0x4f51d5(0x213)]?_0x4357a8['height']:0x0)+_0x2a35e9,_0x1fd69b=_0x3a27c0-(_0x4357a8[_0x4f51d5(0x21b)]?_0x4357a8[_0x4f51d5(0x21b)]:0x0)+_0x3ec644,_0x189359=_0x3a27c0-_0x1fd69b+_0x2a35e9;return _0x5b05cc['width']=_0x147426,_0x5b05cc[_0x4f51d5(0x213)]=_0x3a27c0,_0x2b90a0[_0x4f51d5(0x1f6)]=_0x10539c,_0x2b90a0[_0x4f51d5(0x20a)]=_0x4f51d5(0x1f2),_0x2b90a0[_0x4f51d5(0x1f9)]=_0x151600,_0x2b90a0[imageSmoothingEnabledName]=![],_0x2122ca!==_0x4f51d5(0x204)&&(_0x2b90a0[_0x4f51d5(0x222)]=_0x2122ca,_0x2b90a0['fillRect'](0x0,0x0,_0x5b05cc[_0x4f51d5(0x225)],_0x5b05cc[_0x4f51d5(0x213)])),_0x196645&&(_0x2b90a0['strokeStyle']=defaultValue(_0x3a0086[_0x4f51d5(0x20d)],'#000000'),_0x2b90a0['strokeText'](_0x5e98c2,_0x1ff0cd+_0x3ec644,_0x189359)),_0x3c7244&&(_0x2b90a0['fillStyle']=defaultValue(_0x3a0086[_0x4f51d5(0x217)],'#FFFFFF'),_0x2b90a0[_0x4f51d5(0x1f3)](_0x5e98c2,_0x1ff0cd+_0x3ec644,_0x189359)),_0x5b05cc;}function defaultValue(_0x3af2d3,_0x48280d){if(_0x3af2d3!==undefined&&_0x3af2d3!==null)return _0x3af2d3;return _0x48280d;}export default writeTextToCanvas;
@@ -1 +1 @@
1
- const a74_0x4752d4=a74_0x2b9e;(function(_0x4b421d,_0x55cd3e){const _0x2b4a20=a74_0x2b9e,_0x58981e=_0x4b421d();while(!![]){try{const _0x46d21a=parseInt(_0x2b4a20(0x7e))/0x1*(-parseInt(_0x2b4a20(0x84))/0x2)+parseInt(_0x2b4a20(0x85))/0x3+-parseInt(_0x2b4a20(0x92))/0x4*(-parseInt(_0x2b4a20(0x99))/0x5)+parseInt(_0x2b4a20(0x9d))/0x6*(parseInt(_0x2b4a20(0x83))/0x7)+-parseInt(_0x2b4a20(0x9b))/0x8+-parseInt(_0x2b4a20(0x80))/0x9*(parseInt(_0x2b4a20(0x9a))/0xa)+-parseInt(_0x2b4a20(0x88))/0xb;if(_0x46d21a===_0x55cd3e)break;else _0x58981e['push'](_0x58981e['shift']());}catch(_0x19a288){_0x58981e['push'](_0x58981e['shift']());}}}(a74_0x434a,0x94262));import a74_0x46f189 from'ol/format/EsriJSON';import a74_0x39c0d5 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a74_0xc6ef95 from'./Task';function a74_0x434a(){const _0xc74986=['geometryType','getResolution','returnGeometry','path','195RFaMdV','219890LsLqhq','222128WGhOPW','getType','534366MdJIyY','getView','url','layerDefs','getCode','returnM','time','getProjection','4ZqDmUi','getSize','117aATDis','valueOf','_setGeometryParams','91PkAjzC','525092HlYPTd','1738785ZScNWr','geojsonTypeToArcGIS','tolerance','6176555iDfeZR','writeGeometryObject','layers','identify','imageDisplay','mapExtent','run','inSR','all','resolution','81512AjJBSq','params','returnZ'];a74_0x434a=function(){return _0xc74986;};return a74_0x434a();}import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';function a74_0x2b9e(_0x4fd1d7,_0x314274){const _0x434a61=a74_0x434a();return a74_0x2b9e=function(_0x2b9ef6,_0x5a869d){_0x2b9ef6=_0x2b9ef6-0x79;let _0x25626c=_0x434a61[_0x2b9ef6];return _0x25626c;},a74_0x2b9e(_0x4fd1d7,_0x314274);}export default class Identify extends a74_0xc6ef95{constructor(_0x18372b,_0x15a729,_0x39ac39){const _0xd73d2=a74_0x2b9e;super(_0x18372b,_0x15a729,_0x39ac39),this[_0xd73d2(0x98)]=_0xd73d2(0x8b),this[_0xd73d2(0x93)]={'layers':_0xd73d2(0x90),'tolerance':0x0,'returnGeometry':!![]},this[_0xd73d2(0x87)]=0x3,this[_0xd73d2(0x91)]=0x0,this[_0xd73d2(0x9f)]=appendPath(this['url'],this[_0xd73d2(0x98)]),_0x15a729&&((_0x15a729[_0xd73d2(0x97)]===!![]||_0x15a729[_0xd73d2(0x97)]===![])&&(this[_0xd73d2(0x93)][_0xd73d2(0x97)]=_0x15a729[_0xd73d2(0x97)]),_0x15a729[_0xd73d2(0x8a)]&&(this[_0xd73d2(0x93)][_0xd73d2(0x8a)]=_0x15a729[_0xd73d2(0x8a)]),_0x15a729[_0xd73d2(0x79)]&&(this['params'][_0xd73d2(0x79)]=_0x15a729['layerDefs']),(_0x15a729[_0xd73d2(0x94)]===!![]||_0x15a729['returnZ']===![])&&(this[_0xd73d2(0x93)]['returnZ']=_0x15a729[_0xd73d2(0x94)]),(_0x15a729[_0xd73d2(0x7b)]===!![]||_0x15a729['returnM']===![])&&(this['params'][_0xd73d2(0x7b)]=_0x15a729[_0xd73d2(0x7b)]));}['at'](_0x2c8337,_0x163f6d){const _0x3a3a57=a74_0x2b9e;let _0x59c885,_0xa41d9;const _0x1efcdb=new a74_0x39c0d5();_0x59c885=_0x2c8337,_0xa41d9=getEsriSpatialReference(_0x163f6d[_0x3a3a57(0x9e)]()[_0x3a3a57(0x7d)]()[_0x3a3a57(0x7a)]());const _0x38cfaf=_0x163f6d['getSize']();_0x38cfaf&&(this[_0x3a3a57(0x93)][_0x3a3a57(0x8c)]=[_0x38cfaf[0x0],_0x38cfaf[0x1],0x60]);this['params']['sr']=_0xa41d9;const _0x25dd1=_0x163f6d['getView']()['calculateExtent'](_0x163f6d[_0x3a3a57(0x7f)]());this[_0x3a3a57(0x93)][_0x3a3a57(0x8d)]={'xmin':_0x25dd1[0x0],'ymin':_0x25dd1[0x1],'xmax':_0x25dd1[0x2],'ymax':_0x25dd1[0x3],'spatialReference':_0xa41d9};const _0x49f35a=_0x163f6d[_0x3a3a57(0x9e)]()[_0x3a3a57(0x96)](),_0x16f6f5=_0x163f6d[_0x3a3a57(0x9e)]()['getCenter']();return _0x49f35a&&_0x16f6f5&&(this[_0x3a3a57(0x91)]=getPointResolution(_0x163f6d['getView']()[_0x3a3a57(0x7d)](),_0x49f35a,_0x16f6f5)),this[_0x3a3a57(0x82)](_0x59c885,_0x163f6d[_0x3a3a57(0x9e)]()['getProjection']()[_0x3a3a57(0x7a)]()),this;}['between'](_0x3c8c65,_0x274e6e){const _0x2c9c2d=a74_0x2b9e;return this[_0x2c9c2d(0x93)][_0x2c9c2d(0x7c)]=[_0x3c8c65[_0x2c9c2d(0x81)](),_0x274e6e['valueOf']()],this;}[a74_0x4752d4(0x8e)](){this['request']();}[a74_0x4752d4(0x82)](_0x53f9a7,_0x37f9f1){const _0xda180d=a74_0x4752d4;var _0x4b90fb=new a74_0x46f189();const _0x5d3712=_0x4b90fb[_0xda180d(0x89)](_0x53f9a7);this['params'][_0xda180d(0x8f)]=getEsriSpatialReference(_0x37f9f1),this[_0xda180d(0x93)]['geometry']=_0x5d3712,this[_0xda180d(0x93)][_0xda180d(0x95)]=this[_0xda180d(0x86)](_0x53f9a7[_0xda180d(0x9c)]());}}
1
+ const a74_0xdd1b70=a74_0x134f;(function(_0x52764d,_0x529f00){const _0x5bbf66=a74_0x134f,_0x2f9aa4=_0x52764d();while(!![]){try{const _0x4f03e9=-parseInt(_0x5bbf66(0x10c))/0x1+-parseInt(_0x5bbf66(0x118))/0x2*(parseInt(_0x5bbf66(0x11a))/0x3)+parseInt(_0x5bbf66(0x11c))/0x4*(parseInt(_0x5bbf66(0x104))/0x5)+parseInt(_0x5bbf66(0x107))/0x6*(-parseInt(_0x5bbf66(0x10b))/0x7)+parseInt(_0x5bbf66(0x112))/0x8*(parseInt(_0x5bbf66(0xfd))/0x9)+-parseInt(_0x5bbf66(0x115))/0xa+parseInt(_0x5bbf66(0x10f))/0xb;if(_0x4f03e9===_0x529f00)break;else _0x2f9aa4['push'](_0x2f9aa4['shift']());}catch(_0xa54e2b){_0x2f9aa4['push'](_0x2f9aa4['shift']());}}}(a74_0xbfed,0x1af17));import a74_0xfa0dfc from'ol/format/EsriJSON';function a74_0x134f(_0x380750,_0x43c38c){const _0xbfed6=a74_0xbfed();return a74_0x134f=function(_0x134f34,_0x1ed7af){_0x134f34=_0x134f34-0xf9;let _0x40f66c=_0xbfed6[_0x134f34];return _0x40f66c;},a74_0x134f(_0x380750,_0x43c38c);}function a74_0xbfed(){const _0x611c13=['getProjection','898610pGPzRq','imageDisplay','url','2LYFAdK','valueOf','27648dmtYxP','request','256948jdqKTm','layers','getResolution','mapExtent','getView','calculateExtent','all','returnM','81MeUemq','identify','geometryType','tolerance','_setGeometryParams','resolution','layerDefs','10Cuqwtf','geojsonTypeToArcGIS','returnGeometry','10524LjgxzN','run','between','time','7VhDoAF','54090aMJHIp','params','path','21549JVBVUp','geometry','returnZ','119864VkbZrR','getCode'];a74_0xbfed=function(){return _0x611c13;};return a74_0xbfed();}import a74_0x90200e from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a74_0x5a3e19 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a74_0x5a3e19{constructor(_0x742971,_0x3a33c5,_0x3f87df){const _0x2ad1d0=a74_0x134f;super(_0x742971,_0x3a33c5,_0x3f87df),this[_0x2ad1d0(0x10e)]=_0x2ad1d0(0xfe),this['params']={'layers':_0x2ad1d0(0xfb),'tolerance':0x0,'returnGeometry':!![]},this[_0x2ad1d0(0x100)]=0x3,this['resolution']=0x0,this[_0x2ad1d0(0x117)]=appendPath(this[_0x2ad1d0(0x117)],this[_0x2ad1d0(0x10e)]),_0x3a33c5&&((_0x3a33c5[_0x2ad1d0(0x106)]===!![]||_0x3a33c5[_0x2ad1d0(0x106)]===![])&&(this[_0x2ad1d0(0x10d)][_0x2ad1d0(0x106)]=_0x3a33c5['returnGeometry']),_0x3a33c5['layers']&&(this['params'][_0x2ad1d0(0x11d)]=_0x3a33c5[_0x2ad1d0(0x11d)]),_0x3a33c5[_0x2ad1d0(0x103)]&&(this[_0x2ad1d0(0x10d)][_0x2ad1d0(0x103)]=_0x3a33c5[_0x2ad1d0(0x103)]),(_0x3a33c5[_0x2ad1d0(0x111)]===!![]||_0x3a33c5[_0x2ad1d0(0x111)]===![])&&(this['params']['returnZ']=_0x3a33c5[_0x2ad1d0(0x111)]),(_0x3a33c5[_0x2ad1d0(0xfc)]===!![]||_0x3a33c5[_0x2ad1d0(0xfc)]===![])&&(this[_0x2ad1d0(0x10d)][_0x2ad1d0(0xfc)]=_0x3a33c5[_0x2ad1d0(0xfc)]));}['at'](_0x19b4fd,_0x405f8d){const _0x1893c0=a74_0x134f;let _0x24a2f2,_0xe05526;const _0x1bc3c3=new a74_0x90200e();_0x24a2f2=_0x19b4fd,_0xe05526=getEsriSpatialReference(_0x405f8d[_0x1893c0(0xf9)]()[_0x1893c0(0x114)]()[_0x1893c0(0x113)]());const _0x2059d4=_0x405f8d['getSize']();_0x2059d4&&(this[_0x1893c0(0x10d)][_0x1893c0(0x116)]=[_0x2059d4[0x0],_0x2059d4[0x1],0x60]);this[_0x1893c0(0x10d)]['sr']=_0xe05526;const _0x26daa1=_0x405f8d[_0x1893c0(0xf9)]()[_0x1893c0(0xfa)](_0x405f8d['getSize']());this[_0x1893c0(0x10d)][_0x1893c0(0x11f)]={'xmin':_0x26daa1[0x0],'ymin':_0x26daa1[0x1],'xmax':_0x26daa1[0x2],'ymax':_0x26daa1[0x3],'spatialReference':_0xe05526};const _0x33715d=_0x405f8d[_0x1893c0(0xf9)]()[_0x1893c0(0x11e)](),_0xebeaf5=_0x405f8d[_0x1893c0(0xf9)]()['getCenter']();return _0x33715d&&_0xebeaf5&&(this[_0x1893c0(0x102)]=getPointResolution(_0x405f8d['getView']()[_0x1893c0(0x114)](),_0x33715d,_0xebeaf5)),this[_0x1893c0(0x101)](_0x24a2f2,_0x405f8d[_0x1893c0(0xf9)]()[_0x1893c0(0x114)]()[_0x1893c0(0x113)]()),this;}[a74_0xdd1b70(0x109)](_0x3acf59,_0x233f05){const _0x1c7e86=a74_0xdd1b70;return this[_0x1c7e86(0x10d)][_0x1c7e86(0x10a)]=[_0x3acf59[_0x1c7e86(0x119)](),_0x233f05['valueOf']()],this;}[a74_0xdd1b70(0x108)](){const _0x5c76ac=a74_0xdd1b70;this[_0x5c76ac(0x11b)]();}[a74_0xdd1b70(0x101)](_0x5e6ac0,_0x1cf67c){const _0x1ce303=a74_0xdd1b70;var _0x25794d=new a74_0xfa0dfc();const _0x1046ee=_0x25794d['writeGeometryObject'](_0x5e6ac0);this[_0x1ce303(0x10d)]['inSR']=getEsriSpatialReference(_0x1cf67c),this[_0x1ce303(0x10d)][_0x1ce303(0x110)]=_0x1046ee,this[_0x1ce303(0x10d)][_0x1ce303(0xff)]=this[_0x1ce303(0x105)](_0x5e6ac0['getType']());}}
@@ -1 +1 @@
1
- const a75_0x28ef0a=a75_0x5754;(function(_0x2381a7,_0xd9ec6c){const _0x44b93b=a75_0x5754,_0xfea8a=_0x2381a7();while(!![]){try{const _0x12fd2a=parseInt(_0x44b93b(0xed))/0x1*(parseInt(_0x44b93b(0xe3))/0x2)+parseInt(_0x44b93b(0xdf))/0x3*(parseInt(_0x44b93b(0xc0))/0x4)+parseInt(_0x44b93b(0xd0))/0x5*(-parseInt(_0x44b93b(0xe5))/0x6)+-parseInt(_0x44b93b(0xc4))/0x7+parseInt(_0x44b93b(0xfa))/0x8*(-parseInt(_0x44b93b(0xf2))/0x9)+-parseInt(_0x44b93b(0xcd))/0xa*(parseInt(_0x44b93b(0xde))/0xb)+parseInt(_0x44b93b(0xd2))/0xc;if(_0x12fd2a===_0xd9ec6c)break;else _0xfea8a['push'](_0xfea8a['shift']());}catch(_0x3ca454){_0xfea8a['push'](_0xfea8a['shift']());}}}(a75_0x2e80,0xa85c4));import a75_0x4c3498 from'ol/format/EsriJSON';function a75_0x5754(_0x1e845f,_0x3de142){const _0x2e8029=a75_0x2e80();return a75_0x5754=function(_0x5754ce,_0x98ff8){_0x5754ce=_0x5754ce-0xad;let _0x11f59a=_0x2e8029[_0x5754ce];return _0x11f59a;},a75_0x5754(_0x1e845f,_0x3de142);}import a75_0x5528ea from'./Task';function a75_0x2e80(){const _0x26feae=['1192923drSCFF','abs','layer','between','112262DnLhkc','returnExtentOnly','1003866UDMbAw','touches','returnM','_cleanParams','units','catch','returnZ','outSR','19qkhnaQ','esriSpatialRelContains','where','/query','path','15741zkgCnb','getExtent','esriSpatialRelTouches','apply','400','esriSpatialRelIndexIntersects','push','bboxIntersects','2528vAxHta','distinct','geometryType','simplify','esriSRUnit_Meter','forEach','distance','returnDistinctValues','features','writeGeometryObject','esriSpatialRelIntersects','params','returnGeometry','url','_setGeometryParams','orderBy','run','orderByFields','spatialRel','esriSpatialRelOverlaps','12mVbyoF','code','getSize','overlaps','9486197uZplUR','length','data','returnCountOnly','maxAllowableOffset','1=1','esriSpatialRelCrosses','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','ASC','12756980QXnebW','esriSpatialRelWithin','time','25IWiUMm','within','29403600khDNlF','contains','geojsonTypeToArcGIS','query','valueOf','request','No\x20features\x20found','ids','join','returnIdsOnly','esriSpatialRelEnvelopeIntersects','indexIntersects','11AMKNyS'];a75_0x2e80=function(){return _0x26feae;};return a75_0x2e80();}import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a75_0x5528ea{constructor(_0x4067cb,_0xf01a86,_0x2d27c7){const _0x22fea2=a75_0x5754;super(_0x4067cb,_0xf01a86,_0x2d27c7),this[_0x22fea2(0xf1)]=_0x22fea2(0xd5),this[_0x22fea2(0xb7)]={'returnGeometry':!![],'where':_0x22fea2(0xc9),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this['url']=appendPath(this[_0x22fea2(0xb9)],this[_0x22fea2(0xf1)]),_0xf01a86&&((_0xf01a86['returnGeometry']===!![]||_0xf01a86[_0x22fea2(0xb8)]===![])&&(this[_0x22fea2(0xb7)]['returnGeometry']=_0xf01a86[_0x22fea2(0xb8)]),_0xf01a86[_0x22fea2(0xef)]&&(this[_0x22fea2(0xb7)][_0x22fea2(0xef)]=_0xf01a86['where']),_0xf01a86[_0x22fea2(0xec)]&&(this[_0x22fea2(0xb7)][_0x22fea2(0xec)]=getEsriSpatialReference(_0xf01a86[_0x22fea2(0xec)])),(_0xf01a86[_0x22fea2(0xeb)]===!![]||_0xf01a86['returnZ']===![])&&(this['params'][_0x22fea2(0xeb)]=_0xf01a86[_0x22fea2(0xeb)]),(_0xf01a86[_0x22fea2(0xe7)]===!![]||_0xf01a86[_0x22fea2(0xe7)]===![])&&(this[_0x22fea2(0xb7)][_0x22fea2(0xe7)]=_0xf01a86[_0x22fea2(0xe7)]));}[a75_0x28ef0a(0xd1)](_0x24bb17,_0x5eac61){const _0x367bab=a75_0x28ef0a;return this[_0x367bab(0xba)](_0x24bb17,_0x5eac61),this[_0x367bab(0xb7)][_0x367bab(0xbe)]=_0x367bab(0xee),this;}['intersects'](_0x4b31ee,_0x5f2643){const _0x1e9f86=a75_0x28ef0a;return this[_0x1e9f86(0xba)](_0x4b31ee,_0x5f2643),this[_0x1e9f86(0xb7)][_0x1e9f86(0xbe)]='esriSpatialRelIntersects',this;}[a75_0x28ef0a(0xd3)](_0xf3b6dc,_0x5c7a4b){const _0x155c77=a75_0x28ef0a;return this[_0x155c77(0xba)](_0xf3b6dc,_0x5c7a4b),this[_0x155c77(0xb7)][_0x155c77(0xbe)]=_0x155c77(0xce),this;}['crosses'](_0x54f7c8,_0x31a848){const _0xdc391b=a75_0x28ef0a;return this['_setGeometryParams'](_0x54f7c8,_0x31a848),this[_0xdc391b(0xb7)][_0xdc391b(0xbe)]=_0xdc391b(0xca),this;}[a75_0x28ef0a(0xe6)](_0x3d1d69,_0x4c5a90){const _0x1d6d7b=a75_0x28ef0a;return this[_0x1d6d7b(0xba)](_0x3d1d69,_0x4c5a90),this['params'][_0x1d6d7b(0xbe)]=_0x1d6d7b(0xf4),this;}[a75_0x28ef0a(0xc3)](_0x5382fc,_0x14107f){const _0x22eaae=a75_0x28ef0a;return this['_setGeometryParams'](_0x5382fc,_0x14107f),this[_0x22eaae(0xb7)][_0x22eaae(0xbe)]=_0x22eaae(0xbf),this;}[a75_0x28ef0a(0xf9)](_0x5854e8,_0x783acb){const _0x450bbc=a75_0x28ef0a;return this[_0x450bbc(0xba)](_0x5854e8,_0x783acb),this[_0x450bbc(0xb7)][_0x450bbc(0xbe)]=_0x450bbc(0xdc),this;}[a75_0x28ef0a(0xdd)](_0x3b1532,_0x5263c6){const _0x4ff61e=a75_0x28ef0a;return this[_0x4ff61e(0xba)](_0x3b1532,_0x5263c6),this['params'][_0x4ff61e(0xbe)]=_0x4ff61e(0xf7),this;}['nearby'](_0x53862c,_0x1109ed,_0x39bf1e){const _0x480f48=a75_0x28ef0a;return this[_0x480f48(0xba)](_0x53862c,_0x1109ed),this['params'][_0x480f48(0xbe)]=_0x480f48(0xb6),this['params'][_0x480f48(0xe9)]=_0x480f48(0xb0),this[_0x480f48(0xb7)][_0x480f48(0xb2)]=_0x39bf1e,this;}[a75_0x28ef0a(0xef)](_0x25fecd){const _0x3f3e38=a75_0x28ef0a;return this[_0x3f3e38(0xb7)][_0x3f3e38(0xef)]=_0x25fecd,this;}[a75_0x28ef0a(0xe2)](_0x1f4aba,_0x376581){const _0x38bb8e=a75_0x28ef0a;return this[_0x38bb8e(0xb7)][_0x38bb8e(0xcf)]=[_0x1f4aba[_0x38bb8e(0xd6)](),_0x376581['valueOf']()],this;}[a75_0x28ef0a(0xaf)](_0xf8b46b,_0x58538f){const _0xcc926b=a75_0x28ef0a,_0x55a4f2=_0xf8b46b[_0xcc926b(0xf3)]();var _0x5430b2=Math[_0xcc926b(0xe0)](_0x55a4f2[0x2]-_0x55a4f2[0x0]);const _0x57ec6e=_0xf8b46b[_0xcc926b(0xc2)]();if(_0x57ec6e)return this[_0xcc926b(0xb7)][_0xcc926b(0xc8)]=_0x5430b2/_0x57ec6e[0x1]*_0x58538f,this;}[a75_0x28ef0a(0xbb)](_0x3aca59,_0x54fc2e){const _0x5e5038=a75_0x28ef0a;return _0x54fc2e=_0x54fc2e||_0x5e5038(0xcc),this[_0x5e5038(0xb7)][_0x5e5038(0xbd)]=this[_0x5e5038(0xb7)]['orderByFields']?this['params'][_0x5e5038(0xbd)]+',':'',this[_0x5e5038(0xb7)][_0x5e5038(0xbd)]+=[_0x3aca59,_0x54fc2e][_0x5e5038(0xda)]('\x20'),this;}async[a75_0x28ef0a(0xbc)](){const _0x547899=a75_0x28ef0a;this[_0x547899(0xe8)]();const _0x49cdd0=await this[_0x547899(0xd7)]()[_0x547899(0xea)](_0x992a8d=>{throw new Error(_0x992a8d);});if(_0x49cdd0['status']!==0xc8)throw new Error(_0x547899(0xd8));if(_0x49cdd0[_0x547899(0xc6)]&&_0x49cdd0[_0x547899(0xc6)][_0x547899(0xb4)]&&_0x49cdd0['data'][_0x547899(0xb4)][_0x547899(0xc5)]>0x0){var _0xf56fe5=new a75_0x4c3498();let _0x257cba=[];return _0x49cdd0[_0x547899(0xc6)][_0x547899(0xb4)][_0x547899(0xb1)](_0x22bf8c=>{const _0x409251=_0x547899,_0x2f1604=_0xf56fe5['readFeature'](_0x22bf8c);_0x257cba[_0x409251(0xf8)](_0x2f1604);}),_0x257cba;}return[];}['count'](){const _0x489dd3=a75_0x28ef0a;this[_0x489dd3(0xe8)](),this['params']['returnCountOnly']=!![],this[_0x489dd3(0xd7)]();}[a75_0x28ef0a(0xd9)](){const _0x418f4e=a75_0x28ef0a;this[_0x418f4e(0xe8)](),this['params']['returnIdsOnly']=!![],this[_0x418f4e(0xd7)]();}[a75_0x28ef0a(0xad)](){const _0x354884=a75_0x28ef0a;return this['params']['returnGeometry']=![],this[_0x354884(0xb7)][_0x354884(0xb3)]=!![],this;}[a75_0x28ef0a(0xe1)](_0x1afccd){const _0x45b134=a75_0x28ef0a;return this[_0x45b134(0xf1)]=_0x1afccd+_0x45b134(0xf0),this;}['_trapSQLerrors'](_0x35afa1){const _0x59ed67=a75_0x28ef0a;_0x35afa1&&(_0x35afa1[_0x59ed67(0xc1)]===_0x59ed67(0xf6)&&console['warn'][_0x59ed67(0xf5)](_0x59ed67(0xcb)));}[a75_0x28ef0a(0xe8)](){const _0x559795=a75_0x28ef0a;delete this[_0x559795(0xb7)][_0x559795(0xdb)],delete this[_0x559795(0xb7)][_0x559795(0xe4)],delete this['params'][_0x559795(0xc7)];}[a75_0x28ef0a(0xba)](_0x54188b,_0x2c9450){const _0x5712d9=a75_0x28ef0a;var _0x24f88b=new a75_0x4c3498();const _0x3ee1fe=_0x24f88b[_0x5712d9(0xb5)](_0x54188b);this[_0x5712d9(0xb7)]['inSR']=getEsriSpatialReference(_0x2c9450),this['params']['geometry']=_0x3ee1fe,this['params'][_0x5712d9(0xae)]=this[_0x5712d9(0xd4)](_0x54188b['getType']());}}
1
+ const a75_0x5a7a6e=a75_0x48a0;(function(_0x16af67,_0x32da47){const _0x278096=a75_0x48a0,_0x49d53f=_0x16af67();while(!![]){try{const _0xb69c3b=parseInt(_0x278096(0x156))/0x1+parseInt(_0x278096(0x144))/0x2+-parseInt(_0x278096(0x169))/0x3+-parseInt(_0x278096(0x161))/0x4+-parseInt(_0x278096(0x133))/0x5+parseInt(_0x278096(0x162))/0x6*(parseInt(_0x278096(0x15e))/0x7)+-parseInt(_0x278096(0x155))/0x8;if(_0xb69c3b===_0x32da47)break;else _0x49d53f['push'](_0x49d53f['shift']());}catch(_0x29c69d){_0x49d53f['push'](_0x49d53f['shift']());}}}(a75_0x12c7,0xf32ca));import a75_0x378081 from'ol/format/EsriJSON';import a75_0x2d776e from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a75_0x48a0(_0x13c84a,_0x13daf3){const _0x12c710=a75_0x12c7();return a75_0x48a0=function(_0x48a0f8,_0x35d2ac){_0x48a0f8=_0x48a0f8-0x12b;let _0x4fa896=_0x12c710[_0x48a0f8];return _0x4fa896;},a75_0x48a0(_0x13c84a,_0x13daf3);}import{appendPath}from'../../UrlUtil';export default class Query extends a75_0x2d776e{constructor(_0x48ea70,_0x38887f,_0x6d48b0){const _0x427e4f=a75_0x48a0;super(_0x48ea70,_0x38887f,_0x6d48b0),this['path']=_0x427e4f(0x151),this[_0x427e4f(0x16b)]={'returnGeometry':!![],'where':_0x427e4f(0x138),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x427e4f(0x13a)]()},this['url']=appendPath(this['url'],this['path']),_0x38887f&&((_0x38887f[_0x427e4f(0x157)]===!![]||_0x38887f[_0x427e4f(0x157)]===![])&&(this[_0x427e4f(0x16b)]['returnGeometry']=_0x38887f[_0x427e4f(0x157)]),_0x38887f['where']&&(this[_0x427e4f(0x16b)][_0x427e4f(0x160)]=_0x38887f['where']),_0x38887f[_0x427e4f(0x15a)]&&(this[_0x427e4f(0x16b)][_0x427e4f(0x15a)]=getEsriSpatialReference(_0x38887f[_0x427e4f(0x15a)])),(_0x38887f[_0x427e4f(0x143)]===!![]||_0x38887f[_0x427e4f(0x143)]===![])&&(this[_0x427e4f(0x16b)][_0x427e4f(0x143)]=_0x38887f[_0x427e4f(0x143)]),(_0x38887f[_0x427e4f(0x14e)]===!![]||_0x38887f[_0x427e4f(0x14e)]===![])&&(this['params'][_0x427e4f(0x14e)]=_0x38887f[_0x427e4f(0x14e)]));}[a75_0x5a7a6e(0x13d)](_0x3dae6d,_0x1e02b4){const _0x35ead9=a75_0x5a7a6e;return this[_0x35ead9(0x164)](_0x3dae6d,_0x1e02b4),this[_0x35ead9(0x16b)][_0x35ead9(0x134)]=_0x35ead9(0x167),this;}['intersects'](_0x59ac61,_0x54868b){const _0x2c4050=a75_0x5a7a6e;return this[_0x2c4050(0x164)](_0x59ac61,_0x54868b),this[_0x2c4050(0x16b)]['spatialRel']=_0x2c4050(0x13c),this;}[a75_0x5a7a6e(0x12b)](_0x2daa6e,_0x37c89d){const _0x598079=a75_0x5a7a6e;return this[_0x598079(0x164)](_0x2daa6e,_0x37c89d),this[_0x598079(0x16b)][_0x598079(0x134)]=_0x598079(0x14c),this;}[a75_0x5a7a6e(0x130)](_0xc578f,_0x2a6dcc){const _0x5b1aa9=a75_0x5a7a6e;return this['_setGeometryParams'](_0xc578f,_0x2a6dcc),this[_0x5b1aa9(0x16b)][_0x5b1aa9(0x134)]=_0x5b1aa9(0x159),this;}[a75_0x5a7a6e(0x152)](_0x1d7e63,_0x14b380){const _0x1be1f7=a75_0x5a7a6e;return this[_0x1be1f7(0x164)](_0x1d7e63,_0x14b380),this[_0x1be1f7(0x16b)]['spatialRel']=_0x1be1f7(0x16c),this;}[a75_0x5a7a6e(0x15d)](_0x2a2ab1,_0x26dcc9){const _0x2fdd4d=a75_0x5a7a6e;return this[_0x2fdd4d(0x164)](_0x2a2ab1,_0x26dcc9),this[_0x2fdd4d(0x16b)]['spatialRel']=_0x2fdd4d(0x16e),this;}[a75_0x5a7a6e(0x13e)](_0x3d64d6,_0x2597e5){const _0xa01508=a75_0x5a7a6e;return this['_setGeometryParams'](_0x3d64d6,_0x2597e5),this['params']['spatialRel']=_0xa01508(0x146),this;}[a75_0x5a7a6e(0x13f)](_0x35bd22,_0x12b96b){const _0xb4b6e3=a75_0x5a7a6e;return this[_0xb4b6e3(0x164)](_0x35bd22,_0x12b96b),this[_0xb4b6e3(0x16b)][_0xb4b6e3(0x134)]=_0xb4b6e3(0x14d),this;}[a75_0x5a7a6e(0x163)](_0x8ddce0,_0x3c4487,_0x29d774){const _0x4aea8c=a75_0x5a7a6e;return this[_0x4aea8c(0x164)](_0x8ddce0,_0x3c4487),this[_0x4aea8c(0x16b)][_0x4aea8c(0x134)]=_0x4aea8c(0x13c),this['params']['units']='esriSRUnit_Meter',this[_0x4aea8c(0x16b)][_0x4aea8c(0x154)]=_0x29d774,this;}[a75_0x5a7a6e(0x160)](_0x3acde1){const _0x38f5b7=a75_0x5a7a6e;return this[_0x38f5b7(0x16b)][_0x38f5b7(0x160)]=_0x3acde1,this;}[a75_0x5a7a6e(0x140)](_0xc8cc5e,_0x3ecb13){const _0x58dbdb=a75_0x5a7a6e;return this['params'][_0x58dbdb(0x14a)]=[_0xc8cc5e[_0x58dbdb(0x142)](),_0x3ecb13['valueOf']()],this;}[a75_0x5a7a6e(0x15c)](_0x38f069,_0x13f9f9){const _0x2fabcf=a75_0x5a7a6e,_0x52ac0b=_0x38f069[_0x2fabcf(0x16a)]();var _0x53807a=Math[_0x2fabcf(0x13b)](_0x52ac0b[0x2]-_0x52ac0b[0x0]);const _0xd0510b=_0x38f069[_0x2fabcf(0x158)]();if(_0xd0510b)return this[_0x2fabcf(0x16b)][_0x2fabcf(0x139)]=_0x53807a/_0xd0510b[0x1]*_0x13f9f9,this;}[a75_0x5a7a6e(0x14b)](_0x306cef,_0x336e94){const _0x3640cd=a75_0x5a7a6e;return _0x336e94=_0x336e94||'ASC',this[_0x3640cd(0x16b)][_0x3640cd(0x145)]=this[_0x3640cd(0x16b)][_0x3640cd(0x145)]?this['params'][_0x3640cd(0x145)]+',':'',this[_0x3640cd(0x16b)][_0x3640cd(0x145)]+=[_0x306cef,_0x336e94]['join']('\x20'),this;}async[a75_0x5a7a6e(0x12d)](){const _0x3b101f=a75_0x5a7a6e;this[_0x3b101f(0x15b)]();const _0x497c88=await this['request']()[_0x3b101f(0x131)](_0x5695f5=>{throw new Error(_0x5695f5);});if(_0x497c88['status']!==0xc8)throw new Error('No\x20features\x20found');if(_0x497c88[_0x3b101f(0x12e)]&&_0x497c88[_0x3b101f(0x12e)][_0x3b101f(0x147)]&&_0x497c88[_0x3b101f(0x12e)]['features'][_0x3b101f(0x135)]>0x0){var _0x646f34=new a75_0x378081();let _0x2e0a92=[];return _0x497c88['data'][_0x3b101f(0x147)][_0x3b101f(0x15f)](_0x56a5e5=>{const _0x4939fd=_0x3b101f,_0x4af967=_0x646f34[_0x4939fd(0x153)](_0x56a5e5);_0x2e0a92['push'](_0x4af967);}),_0x2e0a92;}return[];}[a75_0x5a7a6e(0x12f)](){const _0x207f4c=a75_0x5a7a6e;this['_cleanParams'](),this[_0x207f4c(0x16b)][_0x207f4c(0x12c)]=!![],this[_0x207f4c(0x150)]();}[a75_0x5a7a6e(0x166)](){const _0xbb9def=a75_0x5a7a6e;this[_0xbb9def(0x15b)](),this[_0xbb9def(0x16b)][_0xbb9def(0x149)]=!![],this[_0xbb9def(0x150)]();}[a75_0x5a7a6e(0x137)](){const _0x5c88e8=a75_0x5a7a6e;return this[_0x5c88e8(0x16b)][_0x5c88e8(0x157)]=![],this[_0x5c88e8(0x16b)]['returnDistinctValues']=!![],this;}['layer'](_0x24c571){const _0x574f4d=a75_0x5a7a6e;return this['path']=_0x24c571+_0x574f4d(0x165),this;}['_trapSQLerrors'](_0xd35e8b){const _0xd8409c=a75_0x5a7a6e;_0xd35e8b&&(_0xd35e8b[_0xd8409c(0x16d)]==='400'&&console[_0xd8409c(0x136)][_0xd8409c(0x168)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a75_0x5a7a6e(0x15b)](){const _0x52136f=a75_0x5a7a6e;delete this[_0x52136f(0x16b)][_0x52136f(0x149)],delete this[_0x52136f(0x16b)]['returnExtentOnly'],delete this[_0x52136f(0x16b)][_0x52136f(0x12c)];}[a75_0x5a7a6e(0x164)](_0x58f9ed,_0x42d3d1){const _0x16637c=a75_0x5a7a6e;var _0xfe8885=new a75_0x378081();const _0x59686b=_0xfe8885[_0x16637c(0x148)](_0x58f9ed);this['params'][_0x16637c(0x16f)]=getEsriSpatialReference(_0x42d3d1),this[_0x16637c(0x16b)]['geometry']=_0x59686b,this[_0x16637c(0x16b)][_0x16637c(0x132)]=this[_0x16637c(0x14f)](_0x58f9ed[_0x16637c(0x141)]());}}function a75_0x12c7(){const _0x3fd867=['length','warn','distinct','1=1','maxAllowableOffset','getTime','abs','esriSpatialRelIntersects','within','bboxIntersects','indexIntersects','between','getType','valueOf','returnZ','2554996WPJTPQ','orderByFields','esriSpatialRelEnvelopeIntersects','features','writeGeometryObject','returnIdsOnly','time','orderBy','esriSpatialRelWithin','esriSpatialRelIndexIntersects','returnM','geojsonTypeToArcGIS','request','query','touches','readFeature','distance','5938592hLFFdl','536034RznFTJ','returnGeometry','getSize','esriSpatialRelCrosses','outSR','_cleanParams','simplify','overlaps','5222cqUEDA','forEach','where','5308712QuqHoG','14556DxoyqW','nearby','_setGeometryParams','/query','ids','esriSpatialRelContains','apply','263553UfxeZZ','getExtent','params','esriSpatialRelTouches','code','esriSpatialRelOverlaps','inSR','contains','returnCountOnly','run','data','count','crosses','catch','geometryType','2349665FPdxRC','spatialRel'];a75_0x12c7=function(){return _0x3fd867;};return a75_0x12c7();}
@@ -1 +1 @@
1
- function a76_0x17ba(){var _0x22e392=['geojsonTypeToArcGIS','5CvfCtl','isArcgisOnline','format','JSONP','esriGeometryPolyline','valueOf','params','esriGeometryPolygon','18EAWKFI','join','MultiPoint','1097627hHgYMm','esriGeometryPoint','json','request','get','Polygon','7944230aPzyRA','call','3549450mvkKuP','3867544BijWFi','method','[object\x20Array]','[object\x20Object]','25487410wtXLks','5199940wnAgSS','returnUnformattedValues','serialize','LineString','22aTrqqV','7644474fYxrOW','url','test','esriGeometryMultipoint','[object\x20Date]','post','length','prototype','2LldJgh','hasOwnProperty','indexOf'];a76_0x17ba=function(){return _0x22e392;};return a76_0x17ba();}function a76_0xc37c(_0x3df656,_0x125845){var _0x17ba6c=a76_0x17ba();return a76_0xc37c=function(_0xc37cfd,_0x9eb357){_0xc37cfd=_0xc37cfd-0xbb;var _0x4dc81e=_0x17ba6c[_0xc37cfd];return _0x4dc81e;},a76_0xc37c(_0x3df656,_0x125845);}var a76_0x26fe3b=a76_0xc37c;(function(_0x58548b,_0x5cf236){var _0x5aa920=a76_0xc37c,_0x3aefaa=_0x58548b();while(!![]){try{var _0x18eac9=-parseInt(_0x5aa920(0xbd))/0x1*(parseInt(_0x5aa920(0xd8))/0x2)+-parseInt(_0x5aa920(0xc5))/0x3+parseInt(_0x5aa920(0xcb))/0x4+parseInt(_0x5aa920(0xdc))/0x5*(-parseInt(_0x5aa920(0xd0))/0x6)+-parseInt(_0x5aa920(0xc3))/0x7+parseInt(_0x5aa920(0xc6))/0x8*(-parseInt(_0x5aa920(0xe4))/0x9)+parseInt(_0x5aa920(0xca))/0xa*(parseInt(_0x5aa920(0xcf))/0xb);if(_0x18eac9===_0x5cf236)break;else _0x3aefaa['push'](_0x3aefaa['shift']());}catch(_0x3bb054){_0x3aefaa['push'](_0x3aefaa['shift']());}}}(a76_0x17ba,0xb4de3));import a76_0x371a3e from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x51da55,_0x495ee3,_0x1b2d56){var _0x549c05=a76_0xc37c;this[_0x549c05(0xd1)]=_0x51da55,this[_0x549c05(0xe2)]=_0x495ee3||{},this[_0x549c05(0xc7)]=!_0x1b2d56?'GET':_0x1b2d56;}[a76_0x26fe3b(0xdb)](_0x1545e7){var _0x52ec1d=a76_0x26fe3b,_0x17597c;switch(_0x1545e7){case'Point':_0x17597c=_0x52ec1d(0xbe);break;case _0x52ec1d(0xbc):_0x17597c=_0x52ec1d(0xd3);break;case _0x52ec1d(0xce):_0x17597c='esriGeometryPolyline';break;case'MultiLineString':_0x17597c=_0x52ec1d(0xe0);break;case _0x52ec1d(0xc2):_0x17597c=_0x52ec1d(0xe3);break;case'MultiPolygon':_0x17597c='esriGeometryPolygon';break;}return _0x17597c;}[a76_0x26fe3b(0xdd)](_0x542814){var _0x51ae21=a76_0x26fe3b;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x51ae21(0xd2)](_0x542814);}[a76_0x26fe3b(0xcd)](_0x3e8182){var _0x1b9d56=a76_0x26fe3b,_0x3cf1ab='';_0x3e8182['f']=_0x3e8182['f']||_0x1b9d56(0xbf);for(var _0x5db32b in _0x3e8182){if(Object[_0x1b9d56(0xd7)][_0x1b9d56(0xd9)][_0x1b9d56(0xc4)](_0x3e8182,_0x5db32b)){var _0x571180=_0x3e8182[_0x5db32b],_0x30a183=Object['prototype']['toString'][_0x1b9d56(0xc4)](_0x571180),_0x564333;_0x3cf1ab[_0x1b9d56(0xd6)]&&(_0x3cf1ab+='&');if(_0x30a183===_0x1b9d56(0xc8))_0x564333=Object['prototype']['toString']['call'](_0x571180[0x0])==='[object\x20Object]'?JSON['stringify'](_0x571180):_0x571180[_0x1b9d56(0xbb)](',');else{if(_0x30a183===_0x1b9d56(0xc9))_0x564333=JSON['stringify'](_0x571180);else _0x30a183===_0x1b9d56(0xd4)?_0x564333=_0x571180[_0x1b9d56(0xe1)]():_0x564333=_0x571180;}_0x3cf1ab+=encodeURIComponent(_0x5db32b)+'='+encodeURIComponent(_0x564333);}}return _0x3cf1ab;}[a76_0x26fe3b(0xde)](_0x15a93d){var _0x4aa49e=a76_0x26fe3b;return this[_0x4aa49e(0xe2)][_0x4aa49e(0xcc)]=!_0x15a93d,this;}async[a76_0x26fe3b(0xc0)](){var _0x12086e=a76_0x26fe3b,_0x26e0b2=this[_0x12086e(0xcd)](this[_0x12086e(0xe2)]);const _0xa0704c=this[_0x12086e(0xd1)][_0x12086e(0xda)]('?')>-0x1?this[_0x12086e(0xd1)]+'&'+_0x26e0b2:this['url']+'?'+_0x26e0b2;if(this[_0x12086e(0xc7)]==='GET')return a76_0x371a3e[_0x12086e(0xc1)](_0xa0704c);else{if(this[_0x12086e(0xc7)]===_0x12086e(0xdf))return jsonp(_0xa0704c);else{const _0x555051=stringify(this[_0x12086e(0xe2)]);return a76_0x371a3e[_0x12086e(0xd5)](this[_0x12086e(0xd1)],_0x555051);}}}}
1
+ function a76_0x5617(){var _0xaf8a14=['stringify','esriGeometryPolygon','post','returnUnformattedValues','url','geojsonTypeToArcGIS','463wDEeey','LineString','3605733VhpBeV','8191206iifQRj','[object\x20Array]','5705865TIRfjt','toString','indexOf','valueOf','isArcgisOnline','8079456tQXjqG','MultiPolygon','[object\x20Date]','9241390bgzRne','Point','JSONP','json','format','prototype','serialize','esriGeometryPolyline','call','request','params','6700105lcUNyY','11QaHzUi','hasOwnProperty','method','5380qnDWFh','test','4VdJFpi','[object\x20Object]','MultiPoint','get','8TtIRyr','GET'];a76_0x5617=function(){return _0xaf8a14;};return a76_0x5617();}var a76_0xfe66c1=a76_0x48b9;(function(_0x193492,_0x17a524){var _0xd4c7d4=a76_0x48b9,_0x3904e7=_0x193492();while(!![]){try{var _0x4a5caf=-parseInt(_0xd4c7d4(0x87))/0x1*(-parseInt(_0xd4c7d4(0xa3))/0x2)+-parseInt(_0xd4c7d4(0x89))/0x3*(parseInt(_0xd4c7d4(0x7b))/0x4)+parseInt(_0xd4c7d4(0x9f))/0x5+-parseInt(_0xd4c7d4(0x8a))/0x6+parseInt(_0xd4c7d4(0x91))/0x7+parseInt(_0xd4c7d4(0x7f))/0x8*(parseInt(_0xd4c7d4(0x8c))/0x9)+-parseInt(_0xd4c7d4(0x94))/0xa*(parseInt(_0xd4c7d4(0xa0))/0xb);if(_0x4a5caf===_0x17a524)break;else _0x3904e7['push'](_0x3904e7['shift']());}catch(_0x525869){_0x3904e7['push'](_0x3904e7['shift']());}}}(a76_0x5617,0xd7701));function a76_0x48b9(_0x59701a,_0x11d4ce){var _0x5617ee=a76_0x5617();return a76_0x48b9=function(_0x48b941,_0x238b52){_0x48b941=_0x48b941-0x7a;var _0x4fef31=_0x5617ee[_0x48b941];return _0x4fef31;},a76_0x48b9(_0x59701a,_0x11d4ce);}import a76_0x127616 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x4188d6,_0x285182,_0x20b093){var _0x4e83ca=a76_0x48b9;this['url']=_0x4188d6,this[_0x4e83ca(0x9e)]=_0x285182||{},this['method']=!_0x20b093?_0x4e83ca(0x80):_0x20b093;}[a76_0xfe66c1(0x86)](_0x263bfa){var _0x42de90=a76_0xfe66c1,_0x1cfa87;switch(_0x263bfa){case _0x42de90(0x95):_0x1cfa87='esriGeometryPoint';break;case _0x42de90(0x7d):_0x1cfa87='esriGeometryMultipoint';break;case _0x42de90(0x88):_0x1cfa87=_0x42de90(0x9b);break;case'MultiLineString':_0x1cfa87=_0x42de90(0x9b);break;case'Polygon':_0x1cfa87=_0x42de90(0x82);break;case _0x42de90(0x92):_0x1cfa87=_0x42de90(0x82);break;}return _0x1cfa87;}[a76_0xfe66c1(0x90)](_0x190466){var _0x59e77f=a76_0xfe66c1;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x59e77f(0x7a)](_0x190466);}[a76_0xfe66c1(0x9a)](_0x1be53e){var _0x127b92=a76_0xfe66c1,_0x4e59b7='';_0x1be53e['f']=_0x1be53e['f']||_0x127b92(0x97);for(var _0xfc1fe in _0x1be53e){if(Object[_0x127b92(0x99)][_0x127b92(0xa1)][_0x127b92(0x9c)](_0x1be53e,_0xfc1fe)){var _0x3b42e9=_0x1be53e[_0xfc1fe],_0x3ba95e=Object['prototype'][_0x127b92(0x8d)][_0x127b92(0x9c)](_0x3b42e9),_0x4abd1b;_0x4e59b7['length']&&(_0x4e59b7+='&');if(_0x3ba95e===_0x127b92(0x8b))_0x4abd1b=Object[_0x127b92(0x99)][_0x127b92(0x8d)][_0x127b92(0x9c)](_0x3b42e9[0x0])==='[object\x20Object]'?JSON[_0x127b92(0x81)](_0x3b42e9):_0x3b42e9['join'](',');else{if(_0x3ba95e===_0x127b92(0x7c))_0x4abd1b=JSON['stringify'](_0x3b42e9);else _0x3ba95e===_0x127b92(0x93)?_0x4abd1b=_0x3b42e9[_0x127b92(0x8f)]():_0x4abd1b=_0x3b42e9;}_0x4e59b7+=encodeURIComponent(_0xfc1fe)+'='+encodeURIComponent(_0x4abd1b);}}return _0x4e59b7;}[a76_0xfe66c1(0x98)](_0x28c726){var _0x4425cc=a76_0xfe66c1;return this[_0x4425cc(0x9e)][_0x4425cc(0x84)]=!_0x28c726,this;}async[a76_0xfe66c1(0x9d)](){var _0x2912ff=a76_0xfe66c1,_0x2e0003=this[_0x2912ff(0x9a)](this[_0x2912ff(0x9e)]);const _0x4a1bc3=this[_0x2912ff(0x85)][_0x2912ff(0x8e)]('?')>-0x1?this['url']+'&'+_0x2e0003:this['url']+'?'+_0x2e0003;if(this['method']===_0x2912ff(0x80))return a76_0x127616[_0x2912ff(0x7e)](_0x4a1bc3);else{if(this[_0x2912ff(0xa2)]===_0x2912ff(0x96))return jsonp(_0x4a1bc3);else{const _0x53ed84=stringify(this[_0x2912ff(0x9e)]);return a76_0x127616[_0x2912ff(0x83)](this[_0x2912ff(0x85)],_0x53ed84);}}}}
@@ -1 +1 @@
1
- const a78_0x10bf75=a78_0x3d6e;function a78_0x2298(){const _0x8b9971=['2583750zdYrxB','json','map','error','application/json','writeGetFeature','queryParameters','2085730tutASz','where','readFeature','2390408gcNNvs','serializeToString','175XHChbD','features','_geoserverQuery','read','10246592gyVKSZ','stringify','952289JpjKZj','POST','catch','then','srsName','geometry','execute','168906SrLkEr','url','geometryName','4993852gwBxeL','the_geom','tableName','srsName\x20is\x20required'];a78_0x2298=function(){return _0x8b9971;};return a78_0x2298();}(function(_0x3fa932,_0x3aee53){const _0x43f339=a78_0x3d6e,_0x144c4c=_0x3fa932();while(!![]){try{const _0x44dda4=parseInt(_0x43f339(0xf1))/0x1+parseInt(_0x43f339(0x109))/0x2+parseInt(_0x43f339(0xff))/0x3+-parseInt(_0x43f339(0xfb))/0x4+-parseInt(_0x43f339(0x106))/0x5+parseInt(_0x43f339(0xf8))/0x6*(parseInt(_0x43f339(0x10b))/0x7)+-parseInt(_0x43f339(0xef))/0x8;if(_0x44dda4===_0x3aee53)break;else _0x144c4c['push'](_0x144c4c['shift']());}catch(_0x378a1b){_0x144c4c['push'](_0x144c4c['shift']());}}}(a78_0x2298,0xbb085));import{and,intersects}from'ol/format/filter';function a78_0x3d6e(_0x5978cb,_0x3ceec4){const _0x229846=a78_0x2298();return a78_0x3d6e=function(_0x3d6e18,_0x27c4bf){_0x3d6e18=_0x3d6e18-0xec;let _0x1269e5=_0x229846[_0x3d6e18];return _0x1269e5;},a78_0x3d6e(_0x5978cb,_0x3ceec4);}import a78_0x161417 from'../../format/CQL';import a78_0x2ec252 from'ol/format/WFS';import a78_0x152c11 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x543f72){const _0x1e262a=a78_0x3d6e;this[_0x1e262a(0x105)]={},this[_0x1e262a(0xf9)]=_0x543f72;}async[a78_0x10bf75(0xf7)](_0x3c8426){const _0x3372e8=a78_0x10bf75;this[_0x3372e8(0x105)]=_0x3c8426||{};const _0xcebed4=this['queryParameters']['geometryName']||_0x3372e8(0xfc);let _0x296f76=this[_0x3372e8(0x105)]['where'],_0x3cbaf0;_0x296f76&&(_0x3cbaf0=new a78_0x161417()[_0x3372e8(0xee)](_0x296f76));let _0xcfbcdb=_0x3cbaf0;if(this[_0x3372e8(0x105)]['geometry']){if(!this['queryParameters'][_0x3372e8(0xf5)])throw new Error(_0x3372e8(0xfe));const _0x3a6697=intersects(_0xcebed4,this[_0x3372e8(0x105)][_0x3372e8(0xf6)]);_0xcfbcdb=_0x3cbaf0?and(_0x3cbaf0,_0x3a6697):_0x3a6697;}let _0x3bf422=new a78_0x2ec252()[_0x3372e8(0x104)]({'srsName':this[_0x3372e8(0x105)][_0x3372e8(0xf5)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3372e8(0x105)][_0x3372e8(0xfd)]],'outputFormat':_0x3372e8(0x103),'geometryName':_0xcebed4,'filter':_0xcfbcdb});const _0x3c31e8=await fetch(this[_0x3372e8(0xf9)],{'method':'POST','body':new XMLSerializer()[_0x3372e8(0x10a)](_0x3bf422)}),_0x1117dc=await _0x3c31e8[_0x3372e8(0x100)]();let _0x37072e=[];const _0x3b54e0=new a78_0x152c11();return _0x37072e=_0x1117dc['features'][_0x3372e8(0x101)](_0x4b5497=>{const _0x43b847=_0x3372e8;return _0x3b54e0[_0x43b847(0x108)](JSON[_0x43b847(0xf0)](_0x4b5497));}),_0x37072e;}[a78_0x10bf75(0xed)](){const _0xbd9b86=a78_0x10bf75,_0x5bd943=this[_0xbd9b86(0x105)][_0xbd9b86(0xfa)]||_0xbd9b86(0xfc);let _0x112c35=this[_0xbd9b86(0x105)][_0xbd9b86(0x107)],_0x28dbf4;_0x112c35&&(_0x28dbf4=new a78_0x161417()['read'](_0x112c35));let _0x36aa65=_0x28dbf4;if(this['queryParameters'][_0xbd9b86(0xf6)]){const _0x2d8ff6=intersects(_0x5bd943,this[_0xbd9b86(0x105)][_0xbd9b86(0xf6)]);_0x36aa65=_0x28dbf4?and(_0x28dbf4,_0x2d8ff6):_0x2d8ff6;}let _0x5c204b=new a78_0x2ec252()[_0xbd9b86(0x104)]({'srsName':this[_0xbd9b86(0x105)][_0xbd9b86(0xf5)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0xbd9b86(0x105)][_0xbd9b86(0xfd)]],'outputFormat':_0xbd9b86(0x103),'geometryName':_0x5bd943,'filter':_0x36aa65});return new Promise(_0x4509f3=>{const _0x4b17e2=_0xbd9b86;fetch(this['url'],{'method':_0x4b17e2(0xf2),'body':new XMLSerializer()[_0x4b17e2(0x10a)](_0x5c204b)})[_0x4b17e2(0xf4)](_0xf0ce12=>{const _0x2408e8=_0x4b17e2;return _0xf0ce12[_0x2408e8(0x100)]();})['then'](_0x377427=>{const _0x2a8760=_0x4b17e2;let _0x518328=[];const _0x395086=new a78_0x152c11();_0x518328=_0x377427[_0x2a8760(0xec)]['map'](_0x1538f8=>{return _0x395086['readFeature'](JSON['stringify'](_0x1538f8));}),_0x4509f3(_0x518328);})[_0x4b17e2(0xf3)](_0xbd8a9d=>{const _0x35b4a2=_0x4b17e2;_0x4509f3([]),console[_0x35b4a2(0x102)](_0xbd8a9d);});});}}
1
+ const a78_0x2e477f=a78_0x373e;(function(_0x268ba3,_0x5178fb){const _0x322fd7=a78_0x373e,_0x53a4ce=_0x268ba3();while(!![]){try{const _0x52cef4=-parseInt(_0x322fd7(0xfd))/0x1+-parseInt(_0x322fd7(0xef))/0x2+-parseInt(_0x322fd7(0xf6))/0x3+parseInt(_0x322fd7(0xfc))/0x4+parseInt(_0x322fd7(0xe9))/0x5*(-parseInt(_0x322fd7(0xf8))/0x6)+-parseInt(_0x322fd7(0xf2))/0x7+parseInt(_0x322fd7(0xec))/0x8;if(_0x52cef4===_0x5178fb)break;else _0x53a4ce['push'](_0x53a4ce['shift']());}catch(_0x5598a8){_0x53a4ce['push'](_0x53a4ce['shift']());}}}(a78_0x23ae,0x676ed));import{and,intersects}from'ol/format/filter';import a78_0x57dc36 from'../../format/CQL';import a78_0x26cfc3 from'ol/format/WFS';function a78_0x23ae(){const _0xfd620=['queryParameters','catch','POST','531846vDZiPb','serializeToString','24WCaPSW','read','stringify','features','3023072OturjY','54885DBvpKn','readFeature','tableName','srsName\x20is\x20required','execute','the_geom','json','url','geometry','22125JfwrkY','map','where','6658728VdgmEP','application/json','writeGetFeature','227964lRYsgm','srsName','geometryName','5604193GALpkP'];a78_0x23ae=function(){return _0xfd620;};return a78_0x23ae();}import a78_0x495d04 from'ol/format/GeoJSON';function a78_0x373e(_0x480dc8,_0x22918f){const _0x23ae8b=a78_0x23ae();return a78_0x373e=function(_0x373e31,_0x4c4703){_0x373e31=_0x373e31-0xe9;let _0x221538=_0x23ae8b[_0x373e31];return _0x221538;},a78_0x373e(_0x480dc8,_0x22918f);}export default class QueryTask{constructor(_0x59df27){const _0x432894=a78_0x373e;this['queryParameters']={},this[_0x432894(0x104)]=_0x59df27;}async[a78_0x2e477f(0x101)](_0x1b6343){const _0x50720d=a78_0x2e477f;this[_0x50720d(0xf3)]=_0x1b6343||{};const _0x477645=this[_0x50720d(0xf3)][_0x50720d(0xf1)]||_0x50720d(0x102);let _0x2e1266=this[_0x50720d(0xf3)][_0x50720d(0xeb)],_0x2e4ac9;_0x2e1266&&(_0x2e4ac9=new a78_0x57dc36()[_0x50720d(0xf9)](_0x2e1266));let _0x3e362c=_0x2e4ac9;if(this[_0x50720d(0xf3)][_0x50720d(0x105)]){if(!this[_0x50720d(0xf3)][_0x50720d(0xf0)])throw new Error(_0x50720d(0x100));const _0x3bf58a=intersects(_0x477645,this[_0x50720d(0xf3)][_0x50720d(0x105)]);_0x3e362c=_0x2e4ac9?and(_0x2e4ac9,_0x3bf58a):_0x3bf58a;}let _0x3b371b=new a78_0x26cfc3()[_0x50720d(0xee)]({'srsName':this[_0x50720d(0xf3)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x50720d(0xf3)]['tableName']],'outputFormat':_0x50720d(0xed),'geometryName':_0x477645,'filter':_0x3e362c});const _0x175b59=await fetch(this['url'],{'method':_0x50720d(0xf5),'body':new XMLSerializer()[_0x50720d(0xf7)](_0x3b371b)}),_0x51a7cb=await _0x175b59['json']();let _0x2731f2=[];const _0x4ed1df=new a78_0x495d04();return _0x2731f2=_0x51a7cb[_0x50720d(0xfb)][_0x50720d(0xea)](_0x259e49=>{const _0x3b4079=_0x50720d;return _0x4ed1df['readFeature'](JSON[_0x3b4079(0xfa)](_0x259e49));}),_0x2731f2;}['_geoserverQuery'](){const _0x198634=a78_0x2e477f,_0x54e6ec=this['queryParameters'][_0x198634(0xf1)]||_0x198634(0x102);let _0x5d98da=this['queryParameters'][_0x198634(0xeb)],_0x159eff;_0x5d98da&&(_0x159eff=new a78_0x57dc36()['read'](_0x5d98da));let _0x412f7c=_0x159eff;if(this[_0x198634(0xf3)][_0x198634(0x105)]){const _0x3c01d4=intersects(_0x54e6ec,this[_0x198634(0xf3)][_0x198634(0x105)]);_0x412f7c=_0x159eff?and(_0x159eff,_0x3c01d4):_0x3c01d4;}let _0xf32cf5=new a78_0x26cfc3()[_0x198634(0xee)]({'srsName':this[_0x198634(0xf3)][_0x198634(0xf0)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x198634(0xf3)][_0x198634(0xff)]],'outputFormat':_0x198634(0xed),'geometryName':_0x54e6ec,'filter':_0x412f7c});return new Promise(_0x50045f=>{const _0x2f4df0=_0x198634;fetch(this[_0x2f4df0(0x104)],{'method':'POST','body':new XMLSerializer()['serializeToString'](_0xf32cf5)})['then'](_0x8789d6=>{const _0x39d4bb=_0x2f4df0;return _0x8789d6[_0x39d4bb(0x103)]();})['then'](_0x347bf4=>{const _0x4ddad7=_0x2f4df0;let _0x4e9202=[];const _0x5678cf=new a78_0x495d04();_0x4e9202=_0x347bf4['features'][_0x4ddad7(0xea)](_0x48a9ac=>{const _0x56e954=_0x4ddad7;return _0x5678cf[_0x56e954(0xfe)](JSON['stringify'](_0x48a9ac));}),_0x50045f(_0x4e9202);})[_0x2f4df0(0xf4)](_0x4f7e37=>{_0x50045f([]),console['error'](_0x4f7e37);});});}}
@@ -0,0 +1,13 @@
1
+ import Geometry from "ol/geom/Geometry";
2
+ import Feature from "../../entity/Feature";
3
+ /**
4
+ *
5
+ * @param geo 图形
6
+ * @param wkid 图形的坐标系,如EPSG:4326
7
+ * @param url 查询的服务地址,如http://localhost:8080/geoserver/wfs
8
+ * @param layerName 查询的图层名,如test:layer
9
+ * @param layerType 服务类型
10
+ * @returns
11
+ */
12
+ export declare function selectFeaturesByGeo(geo: Geometry, wkid: string, url: string, layerName: string, layerType: string, filter?: string): Promise<Feature[]>;
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/ym-gis-2d/utils/tasks/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,OAAO,MAAM,sBAAsB,CAAC;AAM3C;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CAAC,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAkB7J"}
@@ -0,0 +1 @@
1
+ (function(_0x16e2ec,_0x419558){const _0x46f6ef=a79_0x3fe9,_0x674686=_0x16e2ec();while(!![]){try{const _0x5da2e3=-parseInt(_0x46f6ef(0xe8))/0x1+-parseInt(_0x46f6ef(0xde))/0x2*(parseInt(_0x46f6ef(0xe3))/0x3)+parseInt(_0x46f6ef(0xe7))/0x4+parseInt(_0x46f6ef(0xe6))/0x5+-parseInt(_0x46f6ef(0xe0))/0x6*(-parseInt(_0x46f6ef(0xdb))/0x7)+-parseInt(_0x46f6ef(0xda))/0x8+parseInt(_0x46f6ef(0xe2))/0x9;if(_0x5da2e3===_0x419558)break;else _0x674686['push'](_0x674686['shift']());}catch(_0x38ab22){_0x674686['push'](_0x674686['shift']());}}}(a79_0xf2b0,0x67cdb));import{appendPath}from'../UrlUtil';function a79_0xf2b0(){const _0x48c2f4=['447532dEKkmr','771860eeBLjt','layerFields','geoserver-wms','arcgis-dynamic','415376DYqJDc','35mnoQzU','arcgis-feature','name','353146oXvuap','intersects','802818SsMPBl','execute','4372965JxHmlr','12wWKrlP','geoserver-wfs','run','3442350MRBiAM'];a79_0xf2b0=function(){return _0x48c2f4;};return a79_0xf2b0();}import a79_0x421b4a from'./esri/Query';function a79_0x3fe9(_0x3538d3,_0x55705d){const _0xf2b018=a79_0xf2b0();return a79_0x3fe9=function(_0x3fe95f,_0x3ca07d){_0x3fe95f=_0x3fe95f-0xda;let _0x4658c6=_0xf2b018[_0x3fe95f];return _0x4658c6;},a79_0x3fe9(_0x3538d3,_0x55705d);}import a79_0x13e46b from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x11c8be,_0x4c326e,_0x43a9df,_0x1323e9,_0x426d81,_0x1cf9ad){const _0xe788ca=a79_0x3fe9;if(!_0x43a9df||!_0x1323e9||!_0x426d81||!_0x426d81)return[];let _0xe547b7=[];if(_0x426d81==_0xe788ca(0xeb)||_0x426d81==_0xe788ca(0xdc)){const _0xea7e2=appendPath(_0x43a9df,_0x1323e9),_0x3ba794=new a79_0x421b4a(_0xea7e2,{'outSR':_0x4c326e,'where':_0x1cf9ad});_0x3ba794[_0xe788ca(0xdf)](_0x11c8be,_0x4c326e),_0xe547b7=await _0x3ba794[_0xe788ca(0xe5)]();}else{if(_0x426d81==_0xe788ca(0xe4)||_0x426d81==_0xe788ca(0xea)){const _0x528a75=new a79_0x13e46b(_0x43a9df),_0x570d90=await getWFSLayerCapabilities(_0x43a9df,_0x1323e9),_0xe90be9=_0x570d90[_0xe788ca(0xe9)]['find'](_0x51a41b=>_0x51a41b['fieldType']==0x6);_0xe547b7=await _0x528a75[_0xe788ca(0xe1)]({'geometry':_0x11c8be,'tableName':_0x1323e9,'geometryName':_0xe90be9?_0xe90be9[_0xe788ca(0xdd)]:'','srsName':_0x4c326e,'where':_0x1cf9ad});}}return _0xe547b7;}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/ym-gis-2d/utils/tasks/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,SAAS,MAAM,cAAc,CAAA;AACpC,OAAO,SAAS,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CAAC,GAAa,EAAE,IAAY,EAAE,GAAW,EAAE,SAAiB,EAAE,SAAiB,EAAE,MAAe;IACrI,IAAI,CAAC,GAAG,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS,IAAI,CAAC,SAAS,EAAE,CAAC;QACjD,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,aAAa,GAAc,EAAE,CAAC;IAElC,IAAI,SAAS,IAAI,gBAAgB,IAAI,SAAS,IAAI,gBAAgB,EAAE,CAAC;QACjE,MAAM,QAAQ,GAAG,UAAU,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,QAAQ,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;QACtE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;QAC5B,aAAa,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE,CAAC;IACtC,CAAC;SAAM,IAAI,SAAS,IAAI,eAAe,IAAI,SAAS,IAAI,eAAe,EAAE,CAAC;QACtE,MAAM,KAAK,GAAG,IAAI,SAAS,CAAC,GAAG,CAAC,CAAC;QACjC,MAAM,oBAAoB,GAAG,MAAM,uBAAuB,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;QAC3E,MAAM,QAAQ,GAAG,oBAAoB,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC;QACtF,aAAa,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC,EAAE,QAAQ,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;IAC5J,CAAC;IACD,OAAO,aAAa,CAAC;AACzB,CAAC"}