ym-gis-2d 1.0.39 → 1.0.41

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 (81) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/LegendControl.js +1 -1
  4. package/controls/MousePositionControl.js +1 -1
  5. package/controls/SwipeLayerControl.js +1 -1
  6. package/conver/kml/geoJSONToKml.js +1 -1
  7. package/conver/kml/index.js +1 -1
  8. package/conver/kml/kmlToGeoJSON.js +1 -1
  9. package/entity/Feature.js +1 -1
  10. package/entity/GeometryType.js +1 -1
  11. package/entity/measure/AreaMeasureUnits.js +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/AreaMeasure.js +1 -1
  15. package/interaction/Difference.js +1 -1
  16. package/interaction/Draw.js +1 -1
  17. package/interaction/InteractionManager.js +1 -1
  18. package/interaction/Modify.js +1 -1
  19. package/interaction/Select.js +1 -1
  20. package/interaction/Split.js +1 -1
  21. package/layers/ArcgisDynamicLayer.js +1 -1
  22. package/layers/ArcgisFeatureLayer.js +1 -1
  23. package/layers/ArcgisTileLayer.js +1 -1
  24. package/layers/ArcgisWMSLayer.js +1 -1
  25. package/layers/ArcgisWMTSLayer.js +1 -1
  26. package/layers/GeoserverVectorTile.js +1 -1
  27. package/layers/GeoserverWFSLayer.js +1 -1
  28. package/layers/GeoserverWMSLayer.js +1 -1
  29. package/layers/GeoserverWMTSLayer.js +1 -1
  30. package/layers/LayerManager.d.ts +2 -0
  31. package/layers/LayerManager.d.ts.map +1 -1
  32. package/layers/LayerManager.js +1 -1
  33. package/layers/LayerManager.js.map +1 -1
  34. package/layers/MapTileLayer.d.ts +17 -0
  35. package/layers/MapTileLayer.d.ts.map +1 -0
  36. package/layers/MapTileLayer.js +1 -0
  37. package/layers/MapTileLayer.js.map +1 -0
  38. package/layers/TDTLayer.js +1 -1
  39. package/mapView/Map.d.ts +5 -0
  40. package/mapView/Map.d.ts.map +1 -1
  41. package/mapView/Map.js +1 -1
  42. package/mapView/Map.js.map +1 -1
  43. package/mapView/View.js +1 -1
  44. package/package.json +1 -1
  45. package/plot/Plot.js +1 -1
  46. package/plot/geometry/point/Point.js +1 -1
  47. package/plot/geometry/polygon/BasePolygon.js +1 -1
  48. package/plot/geometry/polygon/Circle.js +1 -1
  49. package/plot/geometry/polygon/Polygon.js +1 -1
  50. package/plot/geometry/polygon/RectAngle.js +1 -1
  51. package/plot/geometry/polyline/BaseLine.js +1 -1
  52. package/plot/geometry/polyline/Polyline.js +1 -1
  53. package/style/PointStyleFormat.js +1 -1
  54. package/style/PolygonStyleFormat.js +1 -1
  55. package/style/PolylineStyleFormat.js +1 -1
  56. package/style/StyleManager.js +1 -1
  57. package/style/common.js +1 -1
  58. package/utils/ArrayUtil.js +1 -1
  59. package/utils/AxiosUtil.js +1 -1
  60. package/utils/EsriUtil.js +1 -1
  61. package/utils/GeometryUtil.js +1 -1
  62. package/utils/LayerUtil.js +1 -1
  63. package/utils/RegisterProjUtil.js +1 -1
  64. package/utils/ResolutionUtil.js +1 -1
  65. package/utils/StringUtil.js +1 -1
  66. package/utils/StyleUtil.js +1 -1
  67. package/utils/UrlUtil.js +1 -1
  68. package/utils/XmlUtil.js +1 -1
  69. package/utils/format/CQL.js +1 -1
  70. package/utils/format/IsMatchCql.js +1 -1
  71. package/utils/plug/canvas/ImageCache.js +1 -1
  72. package/utils/plug/canvas/PinBuilder.js +1 -1
  73. package/utils/plug/canvas/PinIcon.js +1 -1
  74. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  75. package/utils/tasks/esri/Identify.js +1 -1
  76. package/utils/tasks/esri/Query.js +1 -1
  77. package/utils/tasks/esri/Task.js +1 -1
  78. package/utils/tasks/geoserver/QueryTask.js +1 -1
  79. package/utils/tasks/index.js +1 -1
  80. package/ym-gis-2d.es.js +1 -1
  81. package/ym-gis-2d.umd.js +1 -1
@@ -1 +1 @@
1
- (function(_0x403d79,_0x27bfce){const _0x4531e9=a83_0x31f2,_0x1d2eb1=_0x403d79();while(!![]){try{const _0xdb8da5=-parseInt(_0x4531e9(0x169))/0x1+-parseInt(_0x4531e9(0x155))/0x2*(-parseInt(_0x4531e9(0x15e))/0x3)+-parseInt(_0x4531e9(0x15b))/0x4*(-parseInt(_0x4531e9(0x154))/0x5)+-parseInt(_0x4531e9(0x156))/0x6*(-parseInt(_0x4531e9(0x16b))/0x7)+parseInt(_0x4531e9(0x158))/0x8*(parseInt(_0x4531e9(0x161))/0x9)+parseInt(_0x4531e9(0x164))/0xa+parseInt(_0x4531e9(0x15f))/0xb*(-parseInt(_0x4531e9(0x15a))/0xc);if(_0xdb8da5===_0x27bfce)break;else _0x1d2eb1['push'](_0x1d2eb1['shift']());}catch(_0x56fced){_0x1d2eb1['push'](_0x1d2eb1['shift']());}}}(a83_0x9322,0xb743f));import a83_0x468410 from'./CQL';export function isMatchCql(_0x5bef88,_0x5b7fdd){const _0x4fad08=a83_0x31f2;let _0x1da1db=new a83_0x468410()[_0x4fad08(0x157)](_0x5b7fdd);return isMatchFilter(_0x5bef88,_0x1da1db);}export function isMatchFilter(_0x4700f3,_0x373d9e){const _0x3d4f68=a83_0x31f2;switch(_0x373d9e[_0x3d4f68(0x151)]){case _0x3d4f68(0x15c):return!isMatchFilter(_0x4700f3,_0x373d9e[_0x3d4f68(0x162)]);case'And':{let _0x31bae0=!![];for(let _0x5f5897=0x0;_0x5f5897<_0x373d9e[_0x3d4f68(0x150)]['length'];_0x5f5897++){_0x31bae0=_0x31bae0&&isMatchFilter(_0x4700f3,_0x373d9e[_0x3d4f68(0x150)][_0x5f5897]);}return _0x31bae0;}case'Or':{let _0x3ece3e=![];for(let _0x1d86c9=0x0;_0x1d86c9<_0x373d9e[_0x3d4f68(0x150)][_0x3d4f68(0x15d)];_0x1d86c9++){_0x3ece3e=_0x3ece3e||isMatchFilter(_0x4700f3,_0x373d9e[_0x3d4f68(0x150)][_0x1d86c9]);}return _0x3ece3e;}case _0x3d4f68(0x168):return _0x4700f3[_0x373d9e['property']]>_0x373d9e[_0x3d4f68(0x14b)]&&_0x4700f3[_0x373d9e[_0x3d4f68(0x167)]]<_0x373d9e[_0x3d4f68(0x149)];case _0x3d4f68(0x14c):return _0x4700f3[_0x373d9e[_0x3d4f68(0x14d)]]===_0x373d9e[_0x3d4f68(0x153)];case'PropertyIsNotEqualTo':return _0x4700f3[_0x373d9e['propertyName']]!==_0x373d9e[_0x3d4f68(0x153)];case _0x3d4f68(0x163):return _0x4700f3[_0x373d9e['propertyName']]<_0x373d9e[_0x3d4f68(0x153)];case _0x3d4f68(0x160):return _0x4700f3[_0x373d9e['propertyName']]<=_0x373d9e[_0x3d4f68(0x153)];case _0x3d4f68(0x165):return _0x4700f3[_0x373d9e[_0x3d4f68(0x14d)]]>_0x373d9e[_0x3d4f68(0x153)];case'PropertyIsGreaterThanOrEqualTo':return _0x4700f3[_0x373d9e['propertyName']]>=_0x373d9e[_0x3d4f68(0x153)];case _0x3d4f68(0x14a):return _0x4700f3[_0x373d9e[_0x3d4f68(0x14d)]]['indexOf'](_0x373d9e[_0x3d4f68(0x153)])>-0x1;case'PropertyIsNull':{return!_0x4700f3[_0x373d9e[_0x3d4f68(0x14d)]];}default:return![];}}export function isEqualFilter(_0x261e04,_0x3cb9df){const _0x24cb7f=a83_0x31f2;switch(_0x261e04[_0x24cb7f(0x151)]){case _0x24cb7f(0x15c):return _0x261e04['tagName_']===_0x3cb9df[_0x24cb7f(0x151)]&&isEqualFilter(_0x261e04[_0x24cb7f(0x162)],_0x3cb9df[_0x24cb7f(0x162)]);case'Or':case'And':{let _0x41b9c2=_0x261e04[_0x24cb7f(0x151)]===_0x3cb9df[_0x24cb7f(0x151)]&&_0x261e04[_0x24cb7f(0x150)][_0x24cb7f(0x15d)]===_0x3cb9df[_0x24cb7f(0x150)]['length'];for(let _0x3e800d=0x0;_0x3e800d<_0x261e04[_0x24cb7f(0x150)][_0x24cb7f(0x15d)];_0x3e800d++){_0x41b9c2=_0x41b9c2&&isEqualFilter(_0x261e04[_0x24cb7f(0x150)][_0x3e800d],_0x3cb9df[_0x24cb7f(0x150)][_0x3e800d]);}return _0x41b9c2;}case'PropertyIsBetween':return _0x261e04[_0x24cb7f(0x151)]===_0x3cb9df[_0x24cb7f(0x151)]&&_0x261e04[_0x24cb7f(0x167)]===_0x3cb9df['property'];case _0x24cb7f(0x14c):case'PropertyIsNotEqualTo':case _0x24cb7f(0x163):case'PropertyIsLessThanOrEqualTo':case'PropertyIsGreaterThan':case _0x24cb7f(0x152):case _0x24cb7f(0x14a):case'PropertyIsNull':return _0x261e04[_0x24cb7f(0x151)]===_0x3cb9df[_0x24cb7f(0x151)]&&_0x261e04[_0x24cb7f(0x14d)]===_0x3cb9df['propertyName'];default:return![];}}export function indexOfFilter(_0x5c11e4,_0x28abf3){const _0x5089e2=a83_0x31f2;let _0x4235b4=-0x1;if((_0x5c11e4===null||_0x5c11e4===void 0x0?void 0x0:_0x5c11e4[_0x5089e2(0x15d)])>0x0)for(let _0x2db8ae in _0x5c11e4){if(isEqualFilter(_0x5c11e4[_0x2db8ae][_0x5089e2(0x14f)],_0x28abf3))return _0x2db8ae;}return _0x4235b4;}function a83_0x31f2(_0x583650,_0x36c296){const _0x932270=a83_0x9322();return a83_0x31f2=function(_0x31f203,_0x1573ef){_0x31f203=_0x31f203-0x148;let _0x197a45=_0x932270[_0x31f203];return _0x197a45;},a83_0x31f2(_0x583650,_0x36c296);}export function getIndexByTemplate(_0xb8029,_0x24c340){const _0x1ecd9d=a83_0x31f2;let _0x3c93b1=_0x24c340[_0x1ecd9d(0x14f)];if(_0x24c340[_0x1ecd9d(0x14e)]>0x0){let _0x190300=getKeyByTemplate(_0xb8029,_0x3c93b1);if(_0x190300 instanceof Array)for(let _0x28124a in _0x190300){let _0x51b277=_0x24c340[_0x1ecd9d(0x148)][_0x190300[_0x28124a]+'_'+_0x28124a];if(_0x51b277)return _0x51b277;}else return _0x24c340[_0x1ecd9d(0x148)][_0x190300];}return null;}export function getKeyByTemplate(_0x17afba,_0x3251cd){const _0xd2917e=a83_0x31f2;switch(_0x3251cd[_0xd2917e(0x151)]){case _0xd2917e(0x14c):{return _0x17afba[_0x3251cd['propertyName']];}case _0xd2917e(0x159):{let _0x46eca9=[];for(let _0x1b6e24=0x0;_0x1b6e24<_0x3251cd['conditions']['length'];_0x1b6e24++){let _0x421d5d=getKeyByTemplate(_0x17afba,_0x3251cd[_0xd2917e(0x150)][_0x1b6e24]);_0x421d5d&&_0x46eca9[_0xd2917e(0x16a)](_0x421d5d);}return _0x46eca9[_0xd2917e(0x166)](',');}case'Or':{let _0x3c70e7=[];for(let _0x14c0fa=0x0;_0x14c0fa<_0x3251cd[_0xd2917e(0x150)][_0xd2917e(0x15d)];_0x14c0fa++){let _0x36f141=getKeyByTemplate(_0x17afba,_0x3251cd['conditions'][_0x14c0fa]);_0x36f141&&_0x3c70e7[_0xd2917e(0x16a)](_0x36f141);}return _0x3c70e7;}default:return null;}}export function createKeyFromFilter(_0x22cfd6){const _0x4dbca6=a83_0x31f2;switch(_0x22cfd6[_0x4dbca6(0x151)]){case _0x4dbca6(0x14c):return _0x22cfd6['expression'];case _0x4dbca6(0x159):{let _0xa8b3ce=[];for(let _0x2f21c1=0x0;_0x2f21c1<_0x22cfd6[_0x4dbca6(0x150)][_0x4dbca6(0x15d)];_0x2f21c1++){let _0x6ba476=createKeyFromFilter(_0x22cfd6[_0x4dbca6(0x150)][_0x2f21c1]);if(_0x6ba476)_0xa8b3ce[_0x4dbca6(0x16a)](_0x6ba476);else return null;}return _0xa8b3ce['join'](',');}case'Or':{let _0x42bec5=[];for(let _0x4246d0=0x0;_0x4246d0<_0x22cfd6[_0x4dbca6(0x150)][_0x4dbca6(0x15d)];_0x4246d0++){let _0x4543af=createKeyFromFilter(_0x22cfd6[_0x4dbca6(0x150)][_0x4246d0]);_0x4543af&&_0x42bec5['push'](_0x4543af);}return _0x42bec5;}default:return null;}}function a83_0x9322(){const _0x11e899=['6435190FTUNtA','PropertyIsGreaterThan','join','property','PropertyIsBetween','450509ZuUlPc','push','1112671uKBJml','idMap','upperBoundary','PropertyIsLike','lowerBoundary','PropertyIsEqualTo','propertyName','idMapLength','template','conditions','tagName_','PropertyIsGreaterThanOrEqualTo','expression','45830qZSThn','42rzUAXN','42fXzQQz','read','40YLiOZi','And','6204XoxmLV','208vDxMAH','Not','length','65454lcjsCr','41943ySIIAo','PropertyIsLessThanOrEqualTo','866673slAsIK','condition','PropertyIsLessThan'];a83_0x9322=function(){return _0x11e899;};return a83_0x9322();}
1
+ function a84_0x42c2(){const _0x22f4d9=['Not','push','2395608ypOmQp','PropertyIsGreaterThan','idMap','length','And','tagName_','PropertyIsLessThanOrEqualTo','upperBoundary','915975ogCYIN','expression','3189483ULUKZn','PropertyIsNotEqualTo','32GeFVwa','property','PropertyIsGreaterThanOrEqualTo','read','590996MMhjtc','PropertyIsBetween','PropertyIsLessThan','2159265GxJRrp','54ypkAll','conditions','condition','PropertyIsLike','propertyName','523017luAMwG','PropertyIsEqualTo','template','243638VXxnGD'];a84_0x42c2=function(){return _0x22f4d9;};return a84_0x42c2();}function a84_0x1b51(_0x56227f,_0x472228){const _0x42c2a5=a84_0x42c2();return a84_0x1b51=function(_0x1b519c,_0x432324){_0x1b519c=_0x1b519c-0x1e8;let _0x183a30=_0x42c2a5[_0x1b519c];return _0x183a30;},a84_0x1b51(_0x56227f,_0x472228);}(function(_0xce5338,_0x1a463b){const _0x230118=a84_0x1b51,_0x18514d=_0xce5338();while(!![]){try{const _0x35b084=-parseInt(_0x230118(0x1f4))/0x1+-parseInt(_0x230118(0x1f7))/0x2+parseInt(_0x230118(0x202))/0x3+parseInt(_0x230118(0x1fa))/0x4+-parseInt(_0x230118(0x1ee))/0x5+-parseInt(_0x230118(0x1ef))/0x6*(parseInt(_0x230118(0x1eb))/0x7)+parseInt(_0x230118(0x206))/0x8*(parseInt(_0x230118(0x204))/0x9);if(_0x35b084===_0x1a463b)break;else _0x18514d['push'](_0x18514d['shift']());}catch(_0x45662d){_0x18514d['push'](_0x18514d['shift']());}}}(a84_0x42c2,0x76772));import a84_0x4ab869 from'./CQL';export function isMatchCql(_0x36f0dc,_0x5a7b65){const _0x4664d1=a84_0x1b51;let _0x5a2e34=new a84_0x4ab869()[_0x4664d1(0x1ea)](_0x5a7b65);return isMatchFilter(_0x36f0dc,_0x5a2e34);}export function isMatchFilter(_0x5d624c,_0x5a6f15){const _0x12b35b=a84_0x1b51;switch(_0x5a6f15[_0x12b35b(0x1ff)]){case _0x12b35b(0x1f8):return!isMatchFilter(_0x5d624c,_0x5a6f15[_0x12b35b(0x1f1)]);case _0x12b35b(0x1fe):{let _0x4008f5=!![];for(let _0x48e19d=0x0;_0x48e19d<_0x5a6f15[_0x12b35b(0x1f0)]['length'];_0x48e19d++){_0x4008f5=_0x4008f5&&isMatchFilter(_0x5d624c,_0x5a6f15[_0x12b35b(0x1f0)][_0x48e19d]);}return _0x4008f5;}case'Or':{let _0x3011d8=![];for(let _0x4111bb=0x0;_0x4111bb<_0x5a6f15[_0x12b35b(0x1f0)]['length'];_0x4111bb++){_0x3011d8=_0x3011d8||isMatchFilter(_0x5d624c,_0x5a6f15[_0x12b35b(0x1f0)][_0x4111bb]);}return _0x3011d8;}case _0x12b35b(0x1ec):return _0x5d624c[_0x5a6f15['property']]>_0x5a6f15['lowerBoundary']&&_0x5d624c[_0x5a6f15[_0x12b35b(0x1e8)]]<_0x5a6f15[_0x12b35b(0x201)];case _0x12b35b(0x1f5):return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]===_0x5a6f15['expression'];case _0x12b35b(0x205):return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]!==_0x5a6f15[_0x12b35b(0x203)];case'PropertyIsLessThan':return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]<_0x5a6f15[_0x12b35b(0x203)];case'PropertyIsLessThanOrEqualTo':return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]<=_0x5a6f15[_0x12b35b(0x203)];case _0x12b35b(0x1fb):return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]>_0x5a6f15['expression'];case _0x12b35b(0x1e9):return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]>=_0x5a6f15[_0x12b35b(0x203)];case _0x12b35b(0x1f2):return _0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]]['indexOf'](_0x5a6f15['expression'])>-0x1;case'PropertyIsNull':{return!_0x5d624c[_0x5a6f15[_0x12b35b(0x1f3)]];}default:return![];}}export function isEqualFilter(_0x12a8df,_0x37fa0c){const _0x102adf=a84_0x1b51;switch(_0x12a8df[_0x102adf(0x1ff)]){case _0x102adf(0x1f8):return _0x12a8df['tagName_']===_0x37fa0c[_0x102adf(0x1ff)]&&isEqualFilter(_0x12a8df[_0x102adf(0x1f1)],_0x37fa0c[_0x102adf(0x1f1)]);case'Or':case _0x102adf(0x1fe):{let _0x3f3878=_0x12a8df[_0x102adf(0x1ff)]===_0x37fa0c[_0x102adf(0x1ff)]&&_0x12a8df['conditions'][_0x102adf(0x1fd)]===_0x37fa0c[_0x102adf(0x1f0)]['length'];for(let _0x4bdbae=0x0;_0x4bdbae<_0x12a8df[_0x102adf(0x1f0)][_0x102adf(0x1fd)];_0x4bdbae++){_0x3f3878=_0x3f3878&&isEqualFilter(_0x12a8df[_0x102adf(0x1f0)][_0x4bdbae],_0x37fa0c[_0x102adf(0x1f0)][_0x4bdbae]);}return _0x3f3878;}case _0x102adf(0x1ec):return _0x12a8df[_0x102adf(0x1ff)]===_0x37fa0c[_0x102adf(0x1ff)]&&_0x12a8df[_0x102adf(0x1e8)]===_0x37fa0c[_0x102adf(0x1e8)];case _0x102adf(0x1f5):case _0x102adf(0x205):case _0x102adf(0x1ed):case _0x102adf(0x200):case _0x102adf(0x1fb):case _0x102adf(0x1e9):case _0x102adf(0x1f2):case'PropertyIsNull':return _0x12a8df[_0x102adf(0x1ff)]===_0x37fa0c[_0x102adf(0x1ff)]&&_0x12a8df['propertyName']===_0x37fa0c[_0x102adf(0x1f3)];default:return![];}}export function indexOfFilter(_0x377143,_0x4b46e8){const _0xbb499a=a84_0x1b51;let _0x4e5ba9=-0x1;if((_0x377143===null||_0x377143===void 0x0?void 0x0:_0x377143[_0xbb499a(0x1fd)])>0x0)for(let _0x49db56 in _0x377143){if(isEqualFilter(_0x377143[_0x49db56][_0xbb499a(0x1f6)],_0x4b46e8))return _0x49db56;}return _0x4e5ba9;}export function getIndexByTemplate(_0x330d87,_0x2e0109){const _0x10ebf4=a84_0x1b51;let _0x11abc3=_0x2e0109[_0x10ebf4(0x1f6)];if(_0x2e0109['idMapLength']>0x0){let _0x21fa16=getKeyByTemplate(_0x330d87,_0x11abc3);if(_0x21fa16 instanceof Array)for(let _0xf42c4a in _0x21fa16){let _0x319ac2=_0x2e0109[_0x10ebf4(0x1fc)][_0x21fa16[_0xf42c4a]+'_'+_0xf42c4a];if(_0x319ac2)return _0x319ac2;}else return _0x2e0109['idMap'][_0x21fa16];}return null;}export function getKeyByTemplate(_0x1f981b,_0x53c288){const _0x22df09=a84_0x1b51;switch(_0x53c288['tagName_']){case _0x22df09(0x1f5):{return _0x1f981b[_0x53c288[_0x22df09(0x1f3)]];}case _0x22df09(0x1fe):{let _0x445fe3=[];for(let _0x235ee8=0x0;_0x235ee8<_0x53c288['conditions'][_0x22df09(0x1fd)];_0x235ee8++){let _0x11b9bc=getKeyByTemplate(_0x1f981b,_0x53c288[_0x22df09(0x1f0)][_0x235ee8]);_0x11b9bc&&_0x445fe3[_0x22df09(0x1f9)](_0x11b9bc);}return _0x445fe3['join'](',');}case'Or':{let _0x26a27d=[];for(let _0x14de1c=0x0;_0x14de1c<_0x53c288[_0x22df09(0x1f0)][_0x22df09(0x1fd)];_0x14de1c++){let _0x58643e=getKeyByTemplate(_0x1f981b,_0x53c288[_0x22df09(0x1f0)][_0x14de1c]);_0x58643e&&_0x26a27d['push'](_0x58643e);}return _0x26a27d;}default:return null;}}export function createKeyFromFilter(_0x432b98){const _0x237bea=a84_0x1b51;switch(_0x432b98[_0x237bea(0x1ff)]){case _0x237bea(0x1f5):return _0x432b98[_0x237bea(0x203)];case _0x237bea(0x1fe):{let _0xf1847=[];for(let _0x3f7edd=0x0;_0x3f7edd<_0x432b98['conditions'][_0x237bea(0x1fd)];_0x3f7edd++){let _0x411c0e=createKeyFromFilter(_0x432b98[_0x237bea(0x1f0)][_0x3f7edd]);if(_0x411c0e)_0xf1847['push'](_0x411c0e);else return null;}return _0xf1847['join'](',');}case'Or':{let _0x17e022=[];for(let _0x207779=0x0;_0x207779<_0x432b98[_0x237bea(0x1f0)][_0x237bea(0x1fd)];_0x207779++){let _0xcbbf4e=createKeyFromFilter(_0x432b98[_0x237bea(0x1f0)][_0x207779]);_0xcbbf4e&&_0x17e022[_0x237bea(0x1f9)](_0xcbbf4e);}return _0x17e022;}default:return null;}}
@@ -1 +1 @@
1
- const a86_0x2f2b0d=a86_0x256d;function a86_0x256d(_0x1b7fdc,_0x79ca69){const _0x30de48=a86_0x30de();return a86_0x256d=function(_0x256d32,_0x1044fc){_0x256d32=_0x256d32-0x145;let _0x155048=_0x30de48[_0x256d32];return _0x155048;},a86_0x256d(_0x1b7fdc,_0x79ca69);}(function(_0x4b0945,_0x30febc){const _0x200608=a86_0x256d,_0x48c3a7=_0x4b0945();while(!![]){try{const _0x40eab2=-parseInt(_0x200608(0x156))/0x1*(parseInt(_0x200608(0x155))/0x2)+-parseInt(_0x200608(0x145))/0x3+-parseInt(_0x200608(0x154))/0x4*(-parseInt(_0x200608(0x159))/0x5)+-parseInt(_0x200608(0x14d))/0x6+-parseInt(_0x200608(0x153))/0x7*(-parseInt(_0x200608(0x14f))/0x8)+-parseInt(_0x200608(0x152))/0x9*(-parseInt(_0x200608(0x14b))/0xa)+-parseInt(_0x200608(0x14e))/0xb*(parseInt(_0x200608(0x150))/0xc);if(_0x40eab2===_0x30febc)break;else _0x48c3a7['push'](_0x48c3a7['shift']());}catch(_0x2e2d99){_0x48c3a7['push'](_0x48c3a7['shift']());}}}(a86_0x30de,0xb4284));import{asString}from'ol/color';class ImageCache{constructor(){const _0x20dc90=a86_0x256d;this['cache_']={},this[_0x20dc90(0x149)]=0x0;}['clear'](){this['cache_']={},this['cacheSize_']=0x0;}[a86_0x2f2b0d(0x14c)](_0x2a6210){const _0x4fa76f=a86_0x2f2b0d,_0x5863de=getKey(_0x2a6210['markerLabel'],_0x2a6210['markerSize'],_0x2a6210[_0x4fa76f(0x158)],_0x2a6210['image']);return _0x5863de in this[_0x4fa76f(0x148)]?this['cache_'][_0x5863de]:null;}[a86_0x2f2b0d(0x14a)](_0x389b8a,_0x3c33b8){const _0x439283=a86_0x2f2b0d,_0xd7ef01=getKey(_0x389b8a[_0x439283(0x147)],_0x389b8a[_0x439283(0x146)],_0x389b8a[_0x439283(0x158)],_0x389b8a[_0x439283(0x151)]);this[_0x439283(0x148)][_0xd7ef01]=_0x3c33b8,++this[_0x439283(0x149)];}}function getKey(_0x296f48,_0x36fc54,_0x403a9b,_0x37d00e){const _0x1b78c0=a86_0x2f2b0d,_0x15b2ec=_0x403a9b?asString(_0x403a9b):_0x1b78c0(0x157);return _0x296f48+':'+_0x37d00e+':'+_0x15b2ec+':'+_0x36fc54;}function a86_0x30de(){const _0x59b134=['300KhiOFa','get','6549444iDwurJ','12327557TlbLOB','1599160gNwNGH','12cFmWwB','image','386658aOOfiu','42owzfuo','38696Txajcr','1966vIwCzf','37AXPqYY','null','markerColor','430mMqHOK','1000914qNEvOe','markerSize','markerLabel','cache_','cacheSize_','set'];a86_0x30de=function(){return _0x59b134;};return a86_0x30de();}export default ImageCache;export const shared=new ImageCache();
1
+ const a87_0xb8551d=a87_0x1927;(function(_0x29ff9d,_0x240738){const _0x7060d6=a87_0x1927,_0x130a89=_0x29ff9d();while(!![]){try{const _0x5784df=-parseInt(_0x7060d6(0x83))/0x1+parseInt(_0x7060d6(0x7c))/0x2+-parseInt(_0x7060d6(0x7a))/0x3+parseInt(_0x7060d6(0x78))/0x4+parseInt(_0x7060d6(0x87))/0x5*(parseInt(_0x7060d6(0x82))/0x6)+-parseInt(_0x7060d6(0x85))/0x7*(parseInt(_0x7060d6(0x81))/0x8)+parseInt(_0x7060d6(0x7d))/0x9*(parseInt(_0x7060d6(0x86))/0xa);if(_0x5784df===_0x240738)break;else _0x130a89['push'](_0x130a89['shift']());}catch(_0x245370){_0x130a89['push'](_0x130a89['shift']());}}}(a87_0x325c,0x8a500));import{asString}from'ol/color';class ImageCache{constructor(){const _0x38461f=a87_0x1927;this[_0x38461f(0x7e)]={},this[_0x38461f(0x80)]=0x0;}[a87_0xb8551d(0x77)](){const _0x60817e=a87_0xb8551d;this[_0x60817e(0x7e)]={},this['cacheSize_']=0x0;}[a87_0xb8551d(0x75)](_0x4c62c4){const _0x2eaecb=a87_0xb8551d,_0x49b8db=getKey(_0x4c62c4[_0x2eaecb(0x84)],_0x4c62c4['markerSize'],_0x4c62c4[_0x2eaecb(0x74)],_0x4c62c4[_0x2eaecb(0x79)]);return _0x49b8db in this[_0x2eaecb(0x7e)]?this[_0x2eaecb(0x7e)][_0x49b8db]:null;}[a87_0xb8551d(0x76)](_0x7a4922,_0x12783f){const _0x1a592f=a87_0xb8551d,_0x53753b=getKey(_0x7a4922[_0x1a592f(0x84)],_0x7a4922[_0x1a592f(0x7f)],_0x7a4922[_0x1a592f(0x74)],_0x7a4922[_0x1a592f(0x79)]);this[_0x1a592f(0x7e)][_0x53753b]=_0x12783f,++this['cacheSize_'];}}function a87_0x1927(_0x7c8133,_0x4481b8){const _0x325c77=a87_0x325c();return a87_0x1927=function(_0x192782,_0xe4df54){_0x192782=_0x192782-0x74;let _0x1d4fd4=_0x325c77[_0x192782];return _0x1d4fd4;},a87_0x1927(_0x7c8133,_0x4481b8);}function a87_0x325c(){const _0xc50a9b=['get','set','clear','182480MJhdEL','image','952263wySSri','null','358186xvbTRJ','9XJHoFW','cache_','markerSize','cacheSize_','88WRxzya','1698gDMIFu','25253cyBAPi','markerLabel','432642dkwABO','11192770fndzzu','4330DqQqgh','markerColor'];a87_0x325c=function(){return _0xc50a9b;};return a87_0x325c();}function getKey(_0x3188e6,_0x1fddfb,_0x1a20c2,_0x539c57){const _0x1ea7fc=a87_0xb8551d,_0x20379e=_0x1a20c2?asString(_0x1a20c2):_0x1ea7fc(0x7b);return _0x3188e6+':'+_0x539c57+':'+_0x20379e+':'+_0x1fddfb;}export default ImageCache;export const shared=new ImageCache();
@@ -1 +1 @@
1
- const a87_0x35a252=a87_0x6840;(function(_0x5ca4ac,_0x229d31){const _0x22d7cc=a87_0x6840,_0x8bf9db=_0x5ca4ac();while(!![]){try{const _0x5f2096=-parseInt(_0x22d7cc(0x1a9))/0x1*(parseInt(_0x22d7cc(0x1bb))/0x2)+parseInt(_0x22d7cc(0x1c2))/0x3+-parseInt(_0x22d7cc(0x1b5))/0x4+parseInt(_0x22d7cc(0x1b3))/0x5+parseInt(_0x22d7cc(0x1bc))/0x6*(parseInt(_0x22d7cc(0x1c9))/0x7)+-parseInt(_0x22d7cc(0x1a7))/0x8*(parseInt(_0x22d7cc(0x1cb))/0x9)+parseInt(_0x22d7cc(0x1c7))/0xa;if(_0x5f2096===_0x229d31)break;else _0x8bf9db['push'](_0x8bf9db['shift']());}catch(_0x10b0ca){_0x8bf9db['push'](_0x8bf9db['shift']());}}}(a87_0x218b,0x7448f));import a87_0x379075 from'color';import a87_0x214c86 from'./writeTextToCanvas';import{Icon}from'ol/style';import a87_0x69b9f4 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x11d34b=a87_0x6840;this[_0x11d34b(0x1cd)]={};}[a87_0x35a252(0x1ad)](_0x1de972,_0x2e7a1a){const _0x1599cb=a87_0x35a252;if(!_0x1de972)throw new Error(_0x1599cb(0x1b4));if(!_0x2e7a1a)throw new Error(_0x1599cb(0x1b1));return createPin('','',_0x1de972,_0x2e7a1a,this[_0x1599cb(0x1cd)]);}[a87_0x35a252(0x1bf)](_0x1c28d1,_0x196344,_0x16def2){const _0x562d17=a87_0x35a252;if(!_0x1c28d1)throw new Error(_0x562d17(0x1a3));if(!_0x196344)throw new Error(_0x562d17(0x1b4));if(!_0x16def2)throw new Error(_0x562d17(0x1b1));return createPin(_0x1c28d1,'',_0x196344,_0x16def2,this[_0x562d17(0x1cd)]);}[a87_0x35a252(0x19e)](_0x454d6c,_0x1b8a39,_0x20c9c6){const _0x49a742=a87_0x35a252;if(!_0x454d6c)throw new Error(_0x49a742(0x1cc));if(!_0x1b8a39)throw new Error('color\x20is\x20required');if(!_0x20c9c6)throw new Error(_0x49a742(0x1b1));return createPin(parseImage(_0x454d6c),'',_0x1b8a39,_0x20c9c6,this[_0x49a742(0x1cd)]);}[a87_0x35a252(0x1a6)](_0x5730fd,_0x35beac,_0xa9d1b9){const _0x4745f6=a87_0x35a252;if(!_0x5730fd)throw new Error('text\x20is\x20required');if(!_0x35beac)throw new Error(_0x4745f6(0x1b4));if(!_0xa9d1b9)throw new Error('size\x20is\x20required');return createPin('',_0x5730fd,_0x35beac,_0xa9d1b9,this['_cache']);}}function drawPin(_0x41f84b,_0x253f86,_0xe91c3a){const _0x220aad=a87_0x35a252;_0x41f84b['save'](),_0x41f84b[_0x220aad(0x1d0)](_0xe91c3a/0x18,_0xe91c3a/0x18),_0x41f84b['fillStyle']=_0x253f86,_0x41f84b['strokeStyle']=a87_0x379075(_0x253f86)[_0x220aad(0x1ca)](0.6)[_0x220aad(0x19f)](),_0x41f84b[_0x220aad(0x1af)]=0.846,_0x41f84b[_0x220aad(0x1b9)](),_0x41f84b[_0x220aad(0x1c4)](6.72,0.422),_0x41f84b['lineTo'](17.28,0.422),_0x41f84b['bezierCurveTo'](18.553,0.422,19.577,1.758,19.577,3.415),_0x41f84b[_0x220aad(0x1a1)](19.577,10.973),_0x41f84b[_0x220aad(0x1bd)](19.577,12.63,18.553,13.966,17.282,13.966),_0x41f84b['lineTo'](14.386,14.008),_0x41f84b[_0x220aad(0x1a1)](11.826,23.578),_0x41f84b[_0x220aad(0x1a1)](9.614,14.008),_0x41f84b[_0x220aad(0x1a1)](6.719,13.965),_0x41f84b[_0x220aad(0x1bd)](5.446,13.983,4.422,12.629,4.422,10.972),_0x41f84b[_0x220aad(0x1a1)](4.422,3.416),_0x41f84b[_0x220aad(0x1bd)](4.423,1.76,5.447,0.423,6.718,0.423),_0x41f84b[_0x220aad(0x1c3)](),_0x41f84b['fill'](),_0x41f84b['stroke'](),_0x41f84b[_0x220aad(0x1be)]();}function drawIcon(_0x56956d,_0x2d4ad0,_0x4b3c68){const _0xef5e1d=a87_0x35a252,_0x4566a2=_0x4b3c68/2.5;let _0x543f83=_0x4566a2,_0x4b3db0=_0x4566a2;if(_0x2d4ad0[_0xef5e1d(0x1ae)]>_0x2d4ad0[_0xef5e1d(0x1c5)])_0x4b3db0=_0x4566a2*(_0x2d4ad0[_0xef5e1d(0x1c5)]/_0x2d4ad0[_0xef5e1d(0x1ae)]);else _0x2d4ad0['width']<_0x2d4ad0[_0xef5e1d(0x1c5)]&&(_0x543f83=_0x4566a2*(_0x2d4ad0[_0xef5e1d(0x1ae)]/_0x2d4ad0[_0xef5e1d(0x1c5)]));const _0x116e7f=Math[_0xef5e1d(0x1c0)]((_0x4b3c68-_0x543f83)/0x2),_0x261e2b=Math[_0xef5e1d(0x1c0)](0x7/0x18*_0x4b3c68-_0x4b3db0/0x2);_0x56956d[_0xef5e1d(0x1a2)]=_0xef5e1d(0x1cf),_0x56956d[_0xef5e1d(0x1b2)](_0x2d4ad0,_0x116e7f-0x1,_0x261e2b,_0x543f83,_0x4b3db0),_0x56956d[_0xef5e1d(0x1b2)](_0x2d4ad0,_0x116e7f,_0x261e2b-0x1,_0x543f83,_0x4b3db0),_0x56956d[_0xef5e1d(0x1b2)](_0x2d4ad0,_0x116e7f+0x1,_0x261e2b,_0x543f83,_0x4b3db0),_0x56956d['drawImage'](_0x2d4ad0,_0x116e7f,_0x261e2b+0x1,_0x543f83,_0x4b3db0),_0x56956d[_0xef5e1d(0x1a2)]=_0xef5e1d(0x1c8),_0x56956d[_0xef5e1d(0x19c)]=_0xef5e1d(0x1ab),_0x56956d[_0xef5e1d(0x1a4)](_0x116e7f-0x1,_0x261e2b-0x1,_0x543f83+0x2,_0x4b3db0+0x2),_0x56956d[_0xef5e1d(0x1a2)]=_0xef5e1d(0x1cf),_0x56956d['drawImage'](_0x2d4ad0,_0x116e7f,_0x261e2b,_0x543f83,_0x4b3db0),_0x56956d[_0xef5e1d(0x1a2)]=_0xef5e1d(0x1c8),_0x56956d['fillStyle']=_0xef5e1d(0x1ce),_0x56956d[_0xef5e1d(0x1a4)](_0x116e7f-0x1,_0x261e2b-0x2,_0x543f83+0x2,_0x4b3db0+0x2);}function a87_0x6840(_0x46940a,_0x2dd6f5){const _0x218b53=a87_0x218b();return a87_0x6840=function(_0x68403f,_0x16426d){_0x68403f=_0x68403f-0x19c;let _0x3d152c=_0x218b53[_0x68403f];return _0x3d152c;},a87_0x6840(_0x46940a,_0x2dd6f5);}function a87_0x218b(){const _0x5e98e7=['listenImageChange','canvas','beginPath','target','68394HngIMT','1506126IAmsws','bezierCurveTo','restore','fromUrl','round','getImageState','1248981wWodNU','closePath','moveTo','height','ERROR','6944830oNMORN','destination-over','14DUBUvJ','lighten','3798603gvVUtv','id\x20is\x20required','_cache','#FFFFFF','destination-out','scale','fillStyle','toDataURL','fromMakiIconId','hexa','px\x20sans-serif','lineTo','globalCompositeOperation','url\x20is\x20required','fillRect','IDLE','fromText','8VtNbhQ','getImage','15XyMetf','getContext','#000000','bold\x20','fromColor','width','lineWidth','LOADED','size\x20is\x20required','drawImage','57350wGpFLm','color\x20is\x20required','851988vGfdqL','stringify'];a87_0x218b=function(){return _0x5e98e7;};return a87_0x218b();}const stringifyScratch=new Array(0x4);function createPin(_0x3d4f65,_0x5c07fe,_0x206d89,_0x32410d,_0x5a490a){const _0x59faa7=a87_0x35a252;stringifyScratch[0x0]=_0x3d4f65,stringifyScratch[0x1]=_0x5c07fe,stringifyScratch[0x2]=_0x206d89,stringifyScratch[0x3]=_0x32410d;const _0xb61c63=JSON[_0x59faa7(0x1b6)](stringifyScratch),_0x36445e=_0x5a490a[_0xb61c63];if(_0x36445e)return _0x36445e;const _0x35247a=document['createElement'](_0x59faa7(0x1b8));_0x35247a[_0x59faa7(0x1ae)]=_0x32410d,_0x35247a[_0x59faa7(0x1c5)]=_0x32410d;const _0x8089b9=_0x35247a[_0x59faa7(0x1aa)]('2d');drawPin(_0x8089b9,_0x206d89,_0x32410d);if(_0x3d4f65)return new Promise(_0x471128=>{const _0x520269=_0x59faa7;let _0x61aa8b=new Icon({'src':_0x3d4f65}),_0x40921c=_0x61aa8b[_0x520269(0x1c1)]();_0x40921c===a87_0x69b9f4[_0x520269(0x1b0)]||_0x40921c===a87_0x69b9f4[_0x520269(0x1c6)]?(drawIcon(_0x8089b9,_0x61aa8b[_0x520269(0x1a8)](0x60),_0x32410d),_0x5a490a[_0xb61c63]=_0x35247a[_0x520269(0x19d)](),_0x471128(_0x35247a[_0x520269(0x19d)]())):(_0x40921c===a87_0x69b9f4[_0x520269(0x1a5)]&&_0x61aa8b['load'](),_0x61aa8b[_0x520269(0x1b7)](_0x48d145=>{const _0x44f1dd=_0x520269;_0x40921c=_0x48d145[_0x44f1dd(0x1ba)][_0x44f1dd(0x1c1)](),(_0x40921c===a87_0x69b9f4[_0x44f1dd(0x1b0)]||_0x40921c===a87_0x69b9f4['ERROR'])&&(drawIcon(_0x8089b9,_0x61aa8b[_0x44f1dd(0x1a8)](0x60),_0x32410d),_0x5a490a[_0xb61c63]=_0x35247a[_0x44f1dd(0x19d)](),_0x471128(_0x35247a['toDataURL']()));}));});else{if(_0x5c07fe){const _0x2efaf1=a87_0x214c86(_0x5c07fe,{'font':_0x59faa7(0x1ac)+_0x32410d+_0x59faa7(0x1a0)});drawIcon(_0x8089b9,_0x2efaf1,_0x32410d);}}return _0x5a490a[_0xb61c63]=_0x35247a[_0x59faa7(0x19d)](),_0x35247a[_0x59faa7(0x19d)]();}export default PinBuilder;
1
+ const a88_0x5c396d=a88_0x4bcb;function a88_0x526b(){const _0x59babc=['192839uYEncr','restore','canvas','listenImageChange','fillStyle','64hQFfjE','#000000','stroke','222462TubDHV','height','getImage','color\x20is\x20required','fromUrl','width','save','strokeStyle','2dhDEor','6zYhQcB','round','ERROR','toDataURL','drawImage','LOADED','scale','fromMakiIconId','getContext','1703650ZGVIbi','url\x20is\x20required','#FFFFFF','lineTo','fromText','globalCompositeOperation','getImageState','480738JLEbQe','lighten','stringify','closePath','bezierCurveTo','destination-over','moveTo','fill','text\x20is\x20required','bold\x20','367156XFHTGx','hexa','fromColor','px\x20sans-serif','248703IchUzL','_cache','size\x20is\x20required','createElement','id\x20is\x20required','39625CZelvN'];a88_0x526b=function(){return _0x59babc;};return a88_0x526b();}(function(_0x1866ce,_0x5bdfb1){const _0x1ca088=a88_0x4bcb,_0x1b411a=_0x1866ce();while(!![]){try{const _0x466089=-parseInt(_0x1ca088(0x11f))/0x1*(parseInt(_0x1ca088(0x12f))/0x2)+-parseInt(_0x1ca088(0x130))/0x3*(-parseInt(_0x1ca088(0x115))/0x4)+parseInt(_0x1ca088(0x11e))/0x5+parseInt(_0x1ca088(0x10b))/0x6+parseInt(_0x1ca088(0x119))/0x7+-parseInt(_0x1ca088(0x124))/0x8*(-parseInt(_0x1ca088(0x127))/0x9)+-parseInt(_0x1ca088(0x139))/0xa;if(_0x466089===_0x5bdfb1)break;else _0x1b411a['push'](_0x1b411a['shift']());}catch(_0x2ae85d){_0x1b411a['push'](_0x1b411a['shift']());}}}(a88_0x526b,0x2297f));import a88_0x392f1f from'color';import a88_0x47201b from'./writeTextToCanvas';function a88_0x4bcb(_0x35ac0d,_0x1d1c4a){const _0x526bcb=a88_0x526b();return a88_0x4bcb=function(_0x4bcbad,_0x5a6dd8){_0x4bcbad=_0x4bcbad-0x108;let _0x285dc6=_0x526bcb[_0x4bcbad];return _0x285dc6;},a88_0x4bcb(_0x35ac0d,_0x1d1c4a);}import{Icon}from'ol/style';import a88_0x3aae6e from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){const _0x561784=a88_0x4bcb;this[_0x561784(0x11a)]={};}[a88_0x5c396d(0x117)](_0x78297c,_0x10002b){if(!_0x78297c)throw new Error('color\x20is\x20required');if(!_0x10002b)throw new Error('size\x20is\x20required');return createPin('','',_0x78297c,_0x10002b,this['_cache']);}[a88_0x5c396d(0x12b)](_0xfd7710,_0x394f66,_0x86fe6a){const _0x48c191=a88_0x5c396d;if(!_0xfd7710)throw new Error(_0x48c191(0x13a));if(!_0x394f66)throw new Error(_0x48c191(0x12a));if(!_0x86fe6a)throw new Error(_0x48c191(0x11b));return createPin(_0xfd7710,'',_0x394f66,_0x86fe6a,this[_0x48c191(0x11a)]);}[a88_0x5c396d(0x137)](_0x2262ac,_0x25e932,_0x19b8f9){const _0x3709ed=a88_0x5c396d;if(!_0x2262ac)throw new Error(_0x3709ed(0x11d));if(!_0x25e932)throw new Error(_0x3709ed(0x12a));if(!_0x19b8f9)throw new Error(_0x3709ed(0x11b));return createPin(parseImage(_0x2262ac),'',_0x25e932,_0x19b8f9,this[_0x3709ed(0x11a)]);}[a88_0x5c396d(0x108)](_0x37179c,_0x191925,_0x3c12cd){const _0x1a6b6e=a88_0x5c396d;if(!_0x37179c)throw new Error(_0x1a6b6e(0x113));if(!_0x191925)throw new Error(_0x1a6b6e(0x12a));if(!_0x3c12cd)throw new Error(_0x1a6b6e(0x11b));return createPin('',_0x37179c,_0x191925,_0x3c12cd,this[_0x1a6b6e(0x11a)]);}}function drawPin(_0x448bd,_0x21c36d,_0x147caa){const _0x503f1d=a88_0x5c396d;_0x448bd[_0x503f1d(0x12d)](),_0x448bd[_0x503f1d(0x136)](_0x147caa/0x18,_0x147caa/0x18),_0x448bd['fillStyle']=_0x21c36d,_0x448bd[_0x503f1d(0x12e)]=a88_0x392f1f(_0x21c36d)[_0x503f1d(0x10c)](0.6)[_0x503f1d(0x116)](),_0x448bd['lineWidth']=0.846,_0x448bd['beginPath'](),_0x448bd[_0x503f1d(0x111)](6.72,0.422),_0x448bd[_0x503f1d(0x13c)](17.28,0.422),_0x448bd[_0x503f1d(0x10f)](18.553,0.422,19.577,1.758,19.577,3.415),_0x448bd[_0x503f1d(0x13c)](19.577,10.973),_0x448bd[_0x503f1d(0x10f)](19.577,12.63,18.553,13.966,17.282,13.966),_0x448bd[_0x503f1d(0x13c)](14.386,14.008),_0x448bd[_0x503f1d(0x13c)](11.826,23.578),_0x448bd['lineTo'](9.614,14.008),_0x448bd[_0x503f1d(0x13c)](6.719,13.965),_0x448bd['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0x448bd[_0x503f1d(0x13c)](4.422,3.416),_0x448bd[_0x503f1d(0x10f)](4.423,1.76,5.447,0.423,6.718,0.423),_0x448bd[_0x503f1d(0x10e)](),_0x448bd[_0x503f1d(0x112)](),_0x448bd[_0x503f1d(0x126)](),_0x448bd[_0x503f1d(0x120)]();}function drawIcon(_0x2ec50a,_0x5bb397,_0x434d75){const _0x24b9b7=a88_0x5c396d,_0x15abcc=_0x434d75/2.5;let _0x555763=_0x15abcc,_0x375e7a=_0x15abcc;if(_0x5bb397[_0x24b9b7(0x12c)]>_0x5bb397[_0x24b9b7(0x128)])_0x375e7a=_0x15abcc*(_0x5bb397['height']/_0x5bb397[_0x24b9b7(0x12c)]);else _0x5bb397[_0x24b9b7(0x12c)]<_0x5bb397['height']&&(_0x555763=_0x15abcc*(_0x5bb397[_0x24b9b7(0x12c)]/_0x5bb397[_0x24b9b7(0x128)]));const _0x49607b=Math['round']((_0x434d75-_0x555763)/0x2),_0x3fc658=Math[_0x24b9b7(0x131)](0x7/0x18*_0x434d75-_0x375e7a/0x2);_0x2ec50a[_0x24b9b7(0x109)]='destination-out',_0x2ec50a[_0x24b9b7(0x134)](_0x5bb397,_0x49607b-0x1,_0x3fc658,_0x555763,_0x375e7a),_0x2ec50a[_0x24b9b7(0x134)](_0x5bb397,_0x49607b,_0x3fc658-0x1,_0x555763,_0x375e7a),_0x2ec50a[_0x24b9b7(0x134)](_0x5bb397,_0x49607b+0x1,_0x3fc658,_0x555763,_0x375e7a),_0x2ec50a['drawImage'](_0x5bb397,_0x49607b,_0x3fc658+0x1,_0x555763,_0x375e7a),_0x2ec50a[_0x24b9b7(0x109)]=_0x24b9b7(0x110),_0x2ec50a['fillStyle']=_0x24b9b7(0x125),_0x2ec50a['fillRect'](_0x49607b-0x1,_0x3fc658-0x1,_0x555763+0x2,_0x375e7a+0x2),_0x2ec50a[_0x24b9b7(0x109)]='destination-out',_0x2ec50a[_0x24b9b7(0x134)](_0x5bb397,_0x49607b,_0x3fc658,_0x555763,_0x375e7a),_0x2ec50a[_0x24b9b7(0x109)]='destination-over',_0x2ec50a[_0x24b9b7(0x123)]=_0x24b9b7(0x13b),_0x2ec50a['fillRect'](_0x49607b-0x1,_0x3fc658-0x2,_0x555763+0x2,_0x375e7a+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x2dfef0,_0x551945,_0xe9a379,_0x1c72a0,_0x323bdd){const _0x2bae1a=a88_0x5c396d;stringifyScratch[0x0]=_0x2dfef0,stringifyScratch[0x1]=_0x551945,stringifyScratch[0x2]=_0xe9a379,stringifyScratch[0x3]=_0x1c72a0;const _0x202f2e=JSON[_0x2bae1a(0x10d)](stringifyScratch),_0x9e62f8=_0x323bdd[_0x202f2e];if(_0x9e62f8)return _0x9e62f8;const _0x388215=document[_0x2bae1a(0x11c)](_0x2bae1a(0x121));_0x388215[_0x2bae1a(0x12c)]=_0x1c72a0,_0x388215[_0x2bae1a(0x128)]=_0x1c72a0;const _0x19df72=_0x388215[_0x2bae1a(0x138)]('2d');drawPin(_0x19df72,_0xe9a379,_0x1c72a0);if(_0x2dfef0)return new Promise(_0x446a89=>{const _0x1f1377=_0x2bae1a;let _0x12ba5a=new Icon({'src':_0x2dfef0}),_0x56fed8=_0x12ba5a['getImageState']();_0x56fed8===a88_0x3aae6e[_0x1f1377(0x135)]||_0x56fed8===a88_0x3aae6e[_0x1f1377(0x132)]?(drawIcon(_0x19df72,_0x12ba5a[_0x1f1377(0x129)](0x60),_0x1c72a0),_0x323bdd[_0x202f2e]=_0x388215[_0x1f1377(0x133)](),_0x446a89(_0x388215[_0x1f1377(0x133)]())):(_0x56fed8===a88_0x3aae6e['IDLE']&&_0x12ba5a['load'](),_0x12ba5a[_0x1f1377(0x122)](_0x41647e=>{const _0x14b1ce=_0x1f1377;_0x56fed8=_0x41647e['target'][_0x14b1ce(0x10a)](),(_0x56fed8===a88_0x3aae6e[_0x14b1ce(0x135)]||_0x56fed8===a88_0x3aae6e[_0x14b1ce(0x132)])&&(drawIcon(_0x19df72,_0x12ba5a[_0x14b1ce(0x129)](0x60),_0x1c72a0),_0x323bdd[_0x202f2e]=_0x388215[_0x14b1ce(0x133)](),_0x446a89(_0x388215['toDataURL']()));}));});else{if(_0x551945){const _0x535c1c=a88_0x47201b(_0x551945,{'font':_0x2bae1a(0x114)+_0x1c72a0+_0x2bae1a(0x118)});drawIcon(_0x19df72,_0x535c1c,_0x1c72a0);}}return _0x323bdd[_0x202f2e]=_0x388215[_0x2bae1a(0x133)](),_0x388215[_0x2bae1a(0x133)]();}export default PinBuilder;
@@ -1 +1 @@
1
- const a88_0x4e6edc=a88_0x2516;(function(_0x1ec024,_0x1eee16){const _0x3e93a2=a88_0x2516,_0x408d74=_0x1ec024();while(!![]){try{const _0x1b51f7=parseInt(_0x3e93a2(0x18a))/0x1+parseInt(_0x3e93a2(0x17b))/0x2+-parseInt(_0x3e93a2(0x195))/0x3+parseInt(_0x3e93a2(0x193))/0x4+parseInt(_0x3e93a2(0x184))/0x5*(-parseInt(_0x3e93a2(0x186))/0x6)+parseInt(_0x3e93a2(0x18e))/0x7+parseInt(_0x3e93a2(0x18d))/0x8*(-parseInt(_0x3e93a2(0x192))/0x9);if(_0x1b51f7===_0x1eee16)break;else _0x408d74['push'](_0x408d74['shift']());}catch(_0x400f70){_0x408d74['push'](_0x408d74['shift']());}}}(a88_0x4fa2,0x454b8));import a88_0x40cec4 from'./PinBuilder';import{Icon}from'ol/style';function a88_0x4fa2(){const _0x40a4e6=['error','IDLE','markerLabel','2885tKWFLK','markerColor','3414kaMKoW','warn','_icon','ERROR','22811ekdQhv','LOADED','_listener','152QIYcXB','2017540qcqsyK','listenImageChange','set','image','116568zOvwZV','2217888kGYVBD','target','1122603ZmCqBl','resolve','catch','loadIcon','getImage','_imageState','markerSize','load','733862JHbzBX','fromUrl','getImageState','dispatchEvent','then','options'];a88_0x4fa2=function(){return _0x40a4e6;};return a88_0x4fa2();}import a88_0x620f0d from'ol/ImageState';import a88_0xa1cca8 from'ol/events/Event';import{shared as a88_0x1fbc6d}from'./ImageCache';function a88_0x2516(_0x55f6cb,_0x440b46){const _0x4fa275=a88_0x4fa2();return a88_0x2516=function(_0x2516ba,_0x15ce9f){_0x2516ba=_0x2516ba-0x177;let _0x3aed7c=_0x4fa275[_0x2516ba];return _0x3aed7c;},a88_0x2516(_0x55f6cb,_0x440b46);}export default class PinIcon{constructor(_0x111205){const _0x5a2078=a88_0x2516;this[_0x5a2078(0x180)]=_0x111205||{},this['_imageState']=a88_0x620f0d['IDLE'],this[_0x5a2078(0x188)]=a88_0x1fbc6d['get'](this[_0x5a2078(0x180)]),this[_0x5a2078(0x188)]&&(this[_0x5a2078(0x178)]=a88_0x620f0d[_0x5a2078(0x18b)]);}['load'](){const _0x5a1548=a88_0x2516;try{let _0x433c64,_0x56bc79=new a88_0x40cec4();if(this[_0x5a1548(0x180)]['markerLabel'])_0x433c64=_0x56bc79['fromText'](this[_0x5a1548(0x180)][_0x5a1548(0x183)],this[_0x5a1548(0x180)][_0x5a1548(0x185)],this[_0x5a1548(0x180)][_0x5a1548(0x179)]||0x30);else this[_0x5a1548(0x180)][_0x5a1548(0x191)]&&(_0x433c64=_0x56bc79[_0x5a1548(0x17c)](this[_0x5a1548(0x180)]['image'],this[_0x5a1548(0x180)]['markerColor'],this[_0x5a1548(0x180)][_0x5a1548(0x179)]||0x30));Promise[_0x5a1548(0x196)](_0x433c64)[_0x5a1548(0x17f)](_0x50761c=>{this['loadIcon'](_0x50761c);})[_0x5a1548(0x197)](_0x549c47=>{const _0xbbbb69=_0x5a1548;console[_0xbbbb69(0x187)](_0x549c47),this[_0xbbbb69(0x178)]=a88_0x620f0d[_0xbbbb69(0x189)],this[_0xbbbb69(0x17e)](_0xbbbb69(0x181));});}catch(_0x4c085b){console[_0x5a1548(0x187)](_0x4c085b),this[_0x5a1548(0x178)]=a88_0x620f0d[_0x5a1548(0x189)],this[_0x5a1548(0x17e)](_0x5a1548(0x181));}}[a88_0x4e6edc(0x198)](_0x4f3678){const _0x544457=a88_0x4e6edc;this[_0x544457(0x188)]=new Icon({'src':_0x4f3678}),a88_0x1fbc6d[_0x544457(0x190)](this[_0x544457(0x180)],this[_0x544457(0x188)]);let _0x55817a=this[_0x544457(0x188)][_0x544457(0x17d)]();_0x55817a===a88_0x620f0d[_0x544457(0x18b)]||_0x55817a===a88_0x620f0d[_0x544457(0x189)]?(this[_0x544457(0x178)]=this[_0x544457(0x188)][_0x544457(0x17d)](),this[_0x544457(0x17e)]('load')):(_0x55817a===a88_0x620f0d[_0x544457(0x182)]&&this['_icon'][_0x544457(0x17a)](),this['_icon'][_0x544457(0x18f)](_0x5ad9ce=>{const _0xd19d46=_0x544457;_0x55817a=_0x5ad9ce[_0xd19d46(0x194)][_0xd19d46(0x17d)](),(_0x55817a===a88_0x620f0d['LOADED']||_0x55817a===a88_0x620f0d[_0xd19d46(0x189)])&&(this[_0xd19d46(0x178)]=this[_0xd19d46(0x188)][_0xd19d46(0x17d)](),this['dispatchEvent'](_0xd19d46(0x17a)));}));}[a88_0x4e6edc(0x17d)](){const _0x1e2e96=a88_0x4e6edc;return this[_0x1e2e96(0x178)];}[a88_0x4e6edc(0x177)](){const _0x1dd06e=a88_0x4e6edc;var _0x5bb338;return(_0x5bb338=this[_0x1dd06e(0x188)])===null||_0x5bb338===void 0x0?void 0x0:_0x5bb338['getImage']();}[a88_0x4e6edc(0x18f)](_0x3b5704){const _0xeff084=a88_0x4e6edc;this[_0xeff084(0x18c)]=_0x3b5704;}['dispatchEvent'](_0x421a0d){const _0x221c28=a88_0x4e6edc;if(this[_0x221c28(0x18c)]){let _0x4e218e=new a88_0xa1cca8(_0x421a0d);_0x4e218e[_0x221c28(0x194)]=this,this[_0x221c28(0x18c)](_0x4e218e);}}}
1
+ function a89_0x2620(_0x14b109,_0x5eaa35){const _0x28c2ee=a89_0x28c2();return a89_0x2620=function(_0x262098,_0x27b65c){_0x262098=_0x262098-0x138;let _0x5d2c3d=_0x28c2ee[_0x262098];return _0x5d2c3d;},a89_0x2620(_0x14b109,_0x5eaa35);}const a89_0xa15910=a89_0x2620;function a89_0x28c2(){const _0x1f32c5=['IDLE','6579636EJBHqb','image','LOADED','_listener','loadIcon','resolve','set','options','markerLabel','8679016iwkXTH','fromText','493701mcvgpg','9yufTqn','target','error','get','then','ERROR','5460vwPtqH','1262334jvUGds','_icon','getImageState','1953504RGEuJx','listenImageChange','3652XNXJBN','fromUrl','warn','_imageState','markerColor','399506sTkxDe','dispatchEvent','load','getImage'];a89_0x28c2=function(){return _0x1f32c5;};return a89_0x28c2();}(function(_0x270905,_0x4528e1){const _0x303c32=a89_0x2620,_0x214479=_0x270905();while(!![]){try{const _0x90e1c1=-parseInt(_0x303c32(0x13c))/0x1+parseInt(_0x303c32(0x154))/0x2+-parseInt(_0x303c32(0x14c))/0x3+-parseInt(_0x303c32(0x159))/0x4*(-parseInt(_0x303c32(0x153))/0x5)+-parseInt(_0x303c32(0x157))/0x6+parseInt(_0x303c32(0x141))/0x7+parseInt(_0x303c32(0x14a))/0x8*(-parseInt(_0x303c32(0x14d))/0x9);if(_0x90e1c1===_0x4528e1)break;else _0x214479['push'](_0x214479['shift']());}catch(_0x15c551){_0x214479['push'](_0x214479['shift']());}}}(a89_0x28c2,0x90ea9));import a89_0x2bb0b8 from'./PinBuilder';import{Icon}from'ol/style';import a89_0x5d71aa from'ol/ImageState';import a89_0x2ace32 from'ol/events/Event';import{shared as a89_0x48e782}from'./ImageCache';export default class PinIcon{constructor(_0x51fdfc){const _0x54e388=a89_0x2620;this[_0x54e388(0x148)]=_0x51fdfc||{},this[_0x54e388(0x13a)]=a89_0x5d71aa[_0x54e388(0x140)],this[_0x54e388(0x155)]=a89_0x48e782[_0x54e388(0x150)](this['options']),this[_0x54e388(0x155)]&&(this[_0x54e388(0x13a)]=a89_0x5d71aa[_0x54e388(0x143)]);}[a89_0xa15910(0x13e)](){const _0x3db56e=a89_0xa15910;try{let _0x59beb7,_0xa72f45=new a89_0x2bb0b8();if(this['options'][_0x3db56e(0x149)])_0x59beb7=_0xa72f45[_0x3db56e(0x14b)](this[_0x3db56e(0x148)][_0x3db56e(0x149)],this[_0x3db56e(0x148)][_0x3db56e(0x13b)],this['options']['markerSize']||0x30);else this['options']['image']&&(_0x59beb7=_0xa72f45[_0x3db56e(0x138)](this[_0x3db56e(0x148)][_0x3db56e(0x142)],this[_0x3db56e(0x148)][_0x3db56e(0x13b)],this['options']['markerSize']||0x30));Promise[_0x3db56e(0x146)](_0x59beb7)[_0x3db56e(0x151)](_0x450af4=>{this['loadIcon'](_0x450af4);})['catch'](_0x3f83d6=>{const _0x44e471=_0x3db56e;console[_0x44e471(0x139)](_0x3f83d6),this[_0x44e471(0x13a)]=a89_0x5d71aa[_0x44e471(0x152)],this[_0x44e471(0x13d)]('error');});}catch(_0x393319){console[_0x3db56e(0x139)](_0x393319),this[_0x3db56e(0x13a)]=a89_0x5d71aa[_0x3db56e(0x152)],this[_0x3db56e(0x13d)](_0x3db56e(0x14f));}}[a89_0xa15910(0x145)](_0x2ed373){const _0x38cd0f=a89_0xa15910;this[_0x38cd0f(0x155)]=new Icon({'src':_0x2ed373}),a89_0x48e782[_0x38cd0f(0x147)](this[_0x38cd0f(0x148)],this[_0x38cd0f(0x155)]);let _0x5b8b7b=this[_0x38cd0f(0x155)][_0x38cd0f(0x156)]();_0x5b8b7b===a89_0x5d71aa[_0x38cd0f(0x143)]||_0x5b8b7b===a89_0x5d71aa[_0x38cd0f(0x152)]?(this[_0x38cd0f(0x13a)]=this['_icon'][_0x38cd0f(0x156)](),this[_0x38cd0f(0x13d)]('load')):(_0x5b8b7b===a89_0x5d71aa['IDLE']&&this['_icon'][_0x38cd0f(0x13e)](),this['_icon'][_0x38cd0f(0x158)](_0x5e37b3=>{const _0x3ab854=_0x38cd0f;_0x5b8b7b=_0x5e37b3['target'][_0x3ab854(0x156)](),(_0x5b8b7b===a89_0x5d71aa['LOADED']||_0x5b8b7b===a89_0x5d71aa[_0x3ab854(0x152)])&&(this[_0x3ab854(0x13a)]=this[_0x3ab854(0x155)][_0x3ab854(0x156)](),this[_0x3ab854(0x13d)](_0x3ab854(0x13e)));}));}[a89_0xa15910(0x156)](){const _0x11a30a=a89_0xa15910;return this[_0x11a30a(0x13a)];}[a89_0xa15910(0x13f)](){var _0x547e75;return(_0x547e75=this['_icon'])===null||_0x547e75===void 0x0?void 0x0:_0x547e75['getImage']();}[a89_0xa15910(0x158)](_0x2cb2f8){this['_listener']=_0x2cb2f8;}['dispatchEvent'](_0x3fad0d){const _0x1090a6=a89_0xa15910;if(this[_0x1090a6(0x144)]){let _0xf2a6c3=new a89_0x2ace32(_0x3fad0d);_0xf2a6c3[_0x1090a6(0x14e)]=this,this['_listener'](_0xf2a6c3);}}}
@@ -1 +1 @@
1
- (function(_0xf0849c,_0x3aaa53){const _0x2f4d72=a89_0x2b76,_0x538810=_0xf0849c();while(!![]){try{const _0x461af3=-parseInt(_0x2f4d72(0x19e))/0x1+-parseInt(_0x2f4d72(0x186))/0x2*(-parseInt(_0x2f4d72(0x1ad))/0x3)+-parseInt(_0x2f4d72(0x180))/0x4*(-parseInt(_0x2f4d72(0x17c))/0x5)+parseInt(_0x2f4d72(0x196))/0x6+-parseInt(_0x2f4d72(0x1a5))/0x7*(parseInt(_0x2f4d72(0x192))/0x8)+parseInt(_0x2f4d72(0x18c))/0x9+-parseInt(_0x2f4d72(0x1ae))/0xa;if(_0x461af3===_0x3aaa53)break;else _0x538810['push'](_0x538810['shift']());}catch(_0x243d64){_0x538810['push'](_0x538810['shift']());}}}(a89_0x41a2,0x8f5e0));function measureText(_0x457954,_0x309eec,_0x532f3f,_0x36121c,_0x1e6c20){const _0x185328=a89_0x2b76,_0x170ecc=_0x457954['measureText'](_0x309eec),_0x4a4ee1=!/\S/[_0x185328(0x193)](_0x309eec);if(!_0x4a4ee1&&document[_0x185328(0x17f)]){const _0x2e70f9=document[_0x185328(0x17f)][_0x185328(0x18f)](_0x457954[_0x185328(0x198)])[_0x185328(0x183)](_0x185328(0x19f))[_0x185328(0x1a2)]('px',''),_0x152203=document[_0x185328(0x1a8)](_0x185328(0x198)),_0x3933b9=0x64,_0x5d72ff=_0x170ecc[_0x185328(0x1a3)]+_0x3933b9|0x0,_0x28fef2=0x3*(_0x2e70f9-0x0),_0x2c48ed=_0x28fef2/0x2;_0x152203[_0x185328(0x1a3)]=_0x5d72ff,_0x152203[_0x185328(0x1a9)]=_0x28fef2;const _0x265d61=_0x152203['getContext']('2d');if(!_0x265d61)return{};_0x265d61[_0x185328(0x17d)]=_0x532f3f,_0x265d61[_0x185328(0x190)]=_0x185328(0x188),_0x265d61['fillRect'](0x0,0x0,_0x152203[_0x185328(0x1a3)]+0x1,_0x152203[_0x185328(0x1a9)]+0x1);_0x36121c&&(_0x265d61[_0x185328(0x191)]=_0x185328(0x19b),_0x265d61[_0x185328(0x185)]=_0x457954[_0x185328(0x185)],_0x265d61[_0x185328(0x18a)](_0x309eec,_0x3933b9/0x2,_0x2c48ed));_0x1e6c20&&(_0x265d61[_0x185328(0x190)]=_0x185328(0x19b),_0x265d61['fillText'](_0x309eec,_0x3933b9/0x2,_0x2c48ed));const _0x22f4a1=_0x265d61[_0x185328(0x1af)](0x0,0x0,_0x5d72ff,_0x28fef2)[_0x185328(0x1ab)],_0x5eb5ea=_0x22f4a1['length'],_0x24df4=_0x5d72ff*0x4;let _0x5e58a9,_0x4257b2,_0x54f26e=0x0,_0x500370=0x0;for(_0x5e58a9=0x0;_0x5e58a9<_0x5eb5ea;++_0x5e58a9){if(_0x22f4a1[_0x5e58a9]!==0xff){_0x54f26e=_0x5e58a9/_0x24df4|0x0;break;}}for(_0x5e58a9=_0x5eb5ea-0x1;_0x5e58a9>=0x0;--_0x5e58a9){if(_0x22f4a1[_0x5e58a9]!==0xff){_0x500370=_0x5e58a9/_0x24df4|0x0;break;}}let _0x2e9ff3=-0x1;for(_0x5e58a9=0x0;_0x5e58a9<_0x5d72ff&&_0x2e9ff3===-0x1;++_0x5e58a9){for(_0x4257b2=0x0;_0x4257b2<_0x28fef2;++_0x4257b2){const _0x5dd24e=_0x5e58a9*0x4+_0x4257b2*_0x24df4;if(_0x22f4a1[_0x5dd24e]!==0xff||_0x22f4a1[_0x5dd24e+0x1]!==0xff||_0x22f4a1[_0x5dd24e+0x2]!==0xff||_0x22f4a1[_0x5dd24e+0x3]!==0xff){_0x2e9ff3=_0x5e58a9;break;}}}return{'width':_0x170ecc[_0x185328(0x1a3)],'height':_0x500370-_0x54f26e,'ascent':_0x2c48ed-_0x54f26e,'descent':_0x500370-_0x2c48ed,'minx':_0x2e9ff3-_0x3933b9/0x2};}return{'width':_0x170ecc[_0x185328(0x1a3)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function a89_0x2b76(_0x5148aa,_0x291271){const _0x41a2c1=a89_0x41a2();return a89_0x2b76=function(_0x2b762e,_0x502f80){_0x2b762e=_0x2b762e-0x17c;let _0x5d72cd=_0x41a2c1[_0x2b762e];return _0x5d72cd;},a89_0x2b76(_0x5148aa,_0x291271);}function writeTextToCanvas(_0x4191e0,_0x2d3b38){const _0x18232f=a89_0x2b76;if(!_0x4191e0)throw new Error(_0x18232f(0x197));if(_0x4191e0==='')return undefined;_0x2d3b38=defaultValue(_0x2d3b38,{});const _0xe96b05=defaultValue(_0x2d3b38[_0x18232f(0x17d)],_0x18232f(0x18e)),_0x2757a9=defaultValue(_0x2d3b38[_0x18232f(0x1a0)],![]),_0x258ef5=defaultValue(_0x2d3b38[_0x18232f(0x189)],!![]),_0x42b860=defaultValue(_0x2d3b38[_0x18232f(0x182)],0x1),_0x5e0e12=defaultValue(_0x2d3b38[_0x18232f(0x1a7)],'#00000000'),_0x48e717=defaultValue(_0x2d3b38['padding'],0x0),_0x3743e5=_0x48e717*0x2,_0x19ec7a=document[_0x18232f(0x1a8)]('canvas');_0x19ec7a['width']=0x1,_0x19ec7a[_0x18232f(0x1a9)]=0x1,_0x19ec7a[_0x18232f(0x19d)][_0x18232f(0x17d)]=_0xe96b05;const _0x51c779=_0x19ec7a[_0x18232f(0x1a6)]('2d');if(!imageSmoothingEnabledName&&_0x51c779){if(_0x51c779[_0x18232f(0x1b1)])imageSmoothingEnabledName=_0x18232f(0x1b1);else{if(_0x51c779[_0x18232f(0x194)])imageSmoothingEnabledName=_0x18232f(0x194);else{if(_0x51c779['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x18232f(0x1a1);else _0x51c779['msImageSmoothingEnabled']&&(imageSmoothingEnabledName=_0x18232f(0x187));}}}_0x51c779[_0x18232f(0x17d)]=_0xe96b05,_0x51c779[_0x18232f(0x1aa)]=_0x18232f(0x1b0),_0x51c779[_0x18232f(0x185)]=_0x42b860,_0x51c779[imageSmoothingEnabledName]=![],_0x19ec7a['style'][_0x18232f(0x19c)]=_0x18232f(0x19a),document[_0x18232f(0x199)]['appendChild'](_0x19ec7a);const _0x381eb8=measureText(_0x51c779,_0x4191e0,_0xe96b05,_0x2757a9,_0x258ef5);if(!_0x381eb8)return;_0x19ec7a['dimensions']=_0x381eb8,document[_0x18232f(0x199)]['removeChild'](_0x19ec7a),_0x19ec7a[_0x18232f(0x19d)][_0x18232f(0x19c)]='';const _0x59f7c9=-(_0x381eb8['minx']?_0x381eb8[_0x18232f(0x1ac)]:0x0),_0x269b6a=Math['ceil'](_0x381eb8[_0x18232f(0x1a3)])+_0x59f7c9+_0x3743e5,_0x47b94b=(_0x381eb8['height']?_0x381eb8['height']:0x0)+_0x3743e5,_0x26b6d7=_0x47b94b-(_0x381eb8[_0x18232f(0x1a4)]?_0x381eb8[_0x18232f(0x1a4)]:0x0)+_0x48e717,_0x266dde=_0x47b94b-_0x26b6d7+_0x3743e5;return _0x19ec7a[_0x18232f(0x1a3)]=_0x269b6a,_0x19ec7a[_0x18232f(0x1a9)]=_0x47b94b,_0x51c779[_0x18232f(0x17d)]=_0xe96b05,_0x51c779['lineJoin']='round',_0x51c779[_0x18232f(0x185)]=_0x42b860,_0x51c779[imageSmoothingEnabledName]=![],_0x5e0e12!==_0x18232f(0x17e)&&(_0x51c779[_0x18232f(0x190)]=_0x5e0e12,_0x51c779[_0x18232f(0x18d)](0x0,0x0,_0x19ec7a[_0x18232f(0x1a3)],_0x19ec7a[_0x18232f(0x1a9)])),_0x2757a9&&(_0x51c779['strokeStyle']=defaultValue(_0x2d3b38[_0x18232f(0x195)],'#000000'),_0x51c779[_0x18232f(0x18a)](_0x4191e0,_0x59f7c9+_0x48e717,_0x266dde)),_0x258ef5&&(_0x51c779[_0x18232f(0x190)]=defaultValue(_0x2d3b38[_0x18232f(0x18b)],_0x18232f(0x181)),_0x51c779[_0x18232f(0x184)](_0x4191e0,_0x59f7c9+_0x48e717,_0x266dde)),_0x19ec7a;}function defaultValue(_0xe63d68,_0x546d23){if(_0xe63d68!==undefined&&_0xe63d68!==null)return _0xe63d68;return _0x546d23;}function a89_0x41a2(){const _0xd0e9bf=['fillColor','2835702dtLNwg','fillRect','10px\x20sans-serif','getComputedStyle','fillStyle','strokeStyle','84632eXsvay','test','mozImageSmoothingEnabled','strokeColor','5284740WVPZzy','text\x20is\x20required.','canvas','body','hidden','black','visibility','style','180035XpCZKu','font-size','stroke','webkitImageSmoothingEnabled','replace','width','ascent','511AwIbtb','getContext','backgroundColor','createElement','height','lineJoin','data','minx','17175hByYor','6995090RwJhQP','getImageData','round','imageSmoothingEnabled','25WESmHS','font','#00000000','defaultView','5560cmmBIh','#FFFFFF','strokeWidth','getPropertyValue','fillText','lineWidth','362lqokxb','msImageSmoothingEnabled','white','fill','strokeText'];a89_0x41a2=function(){return _0xd0e9bf;};return a89_0x41a2();}export default writeTextToCanvas;
1
+ (function(_0xe6be36,_0x5777cc){const _0x3ae47a=a90_0xf901,_0x4a4fb1=_0xe6be36();while(!![]){try{const _0x2b09f5=parseInt(_0x3ae47a(0x17e))/0x1+parseInt(_0x3ae47a(0x197))/0x2*(parseInt(_0x3ae47a(0x18b))/0x3)+-parseInt(_0x3ae47a(0x17c))/0x4+parseInt(_0x3ae47a(0x18e))/0x5+-parseInt(_0x3ae47a(0x179))/0x6*(parseInt(_0x3ae47a(0x18d))/0x7)+-parseInt(_0x3ae47a(0x186))/0x8*(-parseInt(_0x3ae47a(0x167))/0x9)+-parseInt(_0x3ae47a(0x195))/0xa*(-parseInt(_0x3ae47a(0x184))/0xb);if(_0x2b09f5===_0x5777cc)break;else _0x4a4fb1['push'](_0x4a4fb1['shift']());}catch(_0x53a382){_0x4a4fb1['push'](_0x4a4fb1['shift']());}}}(a90_0x5775,0xd0008));function measureText(_0x1bf3f9,_0x2ecabe,_0x18b154,_0x1b9889,_0x28e0ec){const _0x49782a=a90_0xf901,_0x2a547f=_0x1bf3f9[_0x49782a(0x16a)](_0x2ecabe),_0x2212ab=!/\S/[_0x49782a(0x16b)](_0x2ecabe);if(!_0x2212ab&&document['defaultView']){const _0x3626cd=document['defaultView'][_0x49782a(0x171)](_0x1bf3f9[_0x49782a(0x168)])[_0x49782a(0x193)]('font-size')['replace']('px',''),_0x4dccb7=document[_0x49782a(0x178)]('canvas'),_0x524245=0x64,_0x46d498=_0x2a547f['width']+_0x524245|0x0,_0x519c02=0x3*(_0x3626cd-0x0),_0x287131=_0x519c02/0x2;_0x4dccb7['width']=_0x46d498,_0x4dccb7['height']=_0x519c02;const _0x20436e=_0x4dccb7[_0x49782a(0x194)]('2d');if(!_0x20436e)return{};_0x20436e[_0x49782a(0x17a)]=_0x18b154,_0x20436e[_0x49782a(0x191)]=_0x49782a(0x187),_0x20436e[_0x49782a(0x162)](0x0,0x0,_0x4dccb7[_0x49782a(0x18c)]+0x1,_0x4dccb7[_0x49782a(0x177)]+0x1);_0x1b9889&&(_0x20436e[_0x49782a(0x165)]='black',_0x20436e[_0x49782a(0x188)]=_0x1bf3f9['lineWidth'],_0x20436e[_0x49782a(0x18a)](_0x2ecabe,_0x524245/0x2,_0x287131));_0x28e0ec&&(_0x20436e[_0x49782a(0x191)]=_0x49782a(0x164),_0x20436e['fillText'](_0x2ecabe,_0x524245/0x2,_0x287131));const _0xcf0950=_0x20436e[_0x49782a(0x16e)](0x0,0x0,_0x46d498,_0x519c02)[_0x49782a(0x192)],_0x2ac2d9=_0xcf0950[_0x49782a(0x169)],_0x7a8be2=_0x46d498*0x4;let _0xb74f6,_0x237a29,_0x219384=0x0,_0x263ae7=0x0;for(_0xb74f6=0x0;_0xb74f6<_0x2ac2d9;++_0xb74f6){if(_0xcf0950[_0xb74f6]!==0xff){_0x219384=_0xb74f6/_0x7a8be2|0x0;break;}}for(_0xb74f6=_0x2ac2d9-0x1;_0xb74f6>=0x0;--_0xb74f6){if(_0xcf0950[_0xb74f6]!==0xff){_0x263ae7=_0xb74f6/_0x7a8be2|0x0;break;}}let _0x8c150e=-0x1;for(_0xb74f6=0x0;_0xb74f6<_0x46d498&&_0x8c150e===-0x1;++_0xb74f6){for(_0x237a29=0x0;_0x237a29<_0x519c02;++_0x237a29){const _0x1b97eb=_0xb74f6*0x4+_0x237a29*_0x7a8be2;if(_0xcf0950[_0x1b97eb]!==0xff||_0xcf0950[_0x1b97eb+0x1]!==0xff||_0xcf0950[_0x1b97eb+0x2]!==0xff||_0xcf0950[_0x1b97eb+0x3]!==0xff){_0x8c150e=_0xb74f6;break;}}}return{'width':_0x2a547f[_0x49782a(0x18c)],'height':_0x263ae7-_0x219384,'ascent':_0x287131-_0x219384,'descent':_0x263ae7-_0x287131,'minx':_0x8c150e-_0x524245/0x2};}return{'width':_0x2a547f[_0x49782a(0x18c)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function a90_0x5775(){const _0x1f7867=['3VQRMbo','width','5852ooEcCO','4760735SkVVZq','strokeWidth','mozImageSmoothingEnabled','fillStyle','data','getPropertyValue','getContext','5423910wTqUzV','fill','344866xqqIzQ','minx','fillRect','strokeColor','black','strokeStyle','fillColor','7947BkWLFr','canvas','length','measureText','test','webkitImageSmoothingEnabled','msImageSmoothingEnabled','getImageData','lineJoin','imageSmoothingEnabled','getComputedStyle','stroke','visibility','#FFFFFF','10px\x20sans-serif','fillText','height','createElement','6246SwLIgV','font','style','3127732vUeLvM','removeChild','763925MnlBCh','ascent','body','dimensions','#00000000','round','11ARpnre','ceil','664GjhBYs','white','lineWidth','hidden','strokeText'];a90_0x5775=function(){return _0x1f7867;};return a90_0x5775();}function a90_0xf901(_0x4161d1,_0x3d29ea){const _0x5775b0=a90_0x5775();return a90_0xf901=function(_0xf90115,_0xb01a){_0xf90115=_0xf90115-0x162;let _0x19c04d=_0x5775b0[_0xf90115];return _0x19c04d;},a90_0xf901(_0x4161d1,_0x3d29ea);}function writeTextToCanvas(_0x19744c,_0x4cfd3c){const _0x4da4d8=a90_0xf901;if(!_0x19744c)throw new Error('text\x20is\x20required.');if(_0x19744c==='')return undefined;_0x4cfd3c=defaultValue(_0x4cfd3c,{});const _0x306517=defaultValue(_0x4cfd3c[_0x4da4d8(0x17a)],_0x4da4d8(0x175)),_0x55ab11=defaultValue(_0x4cfd3c[_0x4da4d8(0x172)],![]),_0x12050b=defaultValue(_0x4cfd3c[_0x4da4d8(0x196)],!![]),_0x152161=defaultValue(_0x4cfd3c[_0x4da4d8(0x18f)],0x1),_0x4a424e=defaultValue(_0x4cfd3c['backgroundColor'],_0x4da4d8(0x182)),_0x251e0c=defaultValue(_0x4cfd3c['padding'],0x0),_0x4194a6=_0x251e0c*0x2,_0x53fd48=document[_0x4da4d8(0x178)](_0x4da4d8(0x168));_0x53fd48[_0x4da4d8(0x18c)]=0x1,_0x53fd48[_0x4da4d8(0x177)]=0x1,_0x53fd48[_0x4da4d8(0x17b)][_0x4da4d8(0x17a)]=_0x306517;const _0x34343d=_0x53fd48['getContext']('2d');if(!imageSmoothingEnabledName&&_0x34343d){if(_0x34343d[_0x4da4d8(0x170)])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0x34343d['mozImageSmoothingEnabled'])imageSmoothingEnabledName=_0x4da4d8(0x190);else{if(_0x34343d['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x4da4d8(0x16c);else _0x34343d[_0x4da4d8(0x16d)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x34343d[_0x4da4d8(0x17a)]=_0x306517,_0x34343d['lineJoin']='round',_0x34343d['lineWidth']=_0x152161,_0x34343d[imageSmoothingEnabledName]=![],_0x53fd48[_0x4da4d8(0x17b)][_0x4da4d8(0x173)]=_0x4da4d8(0x189),document[_0x4da4d8(0x180)]['appendChild'](_0x53fd48);const _0x35c75c=measureText(_0x34343d,_0x19744c,_0x306517,_0x55ab11,_0x12050b);if(!_0x35c75c)return;_0x53fd48[_0x4da4d8(0x181)]=_0x35c75c,document[_0x4da4d8(0x180)][_0x4da4d8(0x17d)](_0x53fd48),_0x53fd48[_0x4da4d8(0x17b)][_0x4da4d8(0x173)]='';const _0x13760b=-(_0x35c75c['minx']?_0x35c75c[_0x4da4d8(0x198)]:0x0),_0x40eb10=Math[_0x4da4d8(0x185)](_0x35c75c[_0x4da4d8(0x18c)])+_0x13760b+_0x4194a6,_0x5ac52f=(_0x35c75c[_0x4da4d8(0x177)]?_0x35c75c['height']:0x0)+_0x4194a6,_0x2e0aba=_0x5ac52f-(_0x35c75c[_0x4da4d8(0x17f)]?_0x35c75c[_0x4da4d8(0x17f)]:0x0)+_0x251e0c,_0x1639c9=_0x5ac52f-_0x2e0aba+_0x4194a6;return _0x53fd48[_0x4da4d8(0x18c)]=_0x40eb10,_0x53fd48[_0x4da4d8(0x177)]=_0x5ac52f,_0x34343d['font']=_0x306517,_0x34343d[_0x4da4d8(0x16f)]=_0x4da4d8(0x183),_0x34343d[_0x4da4d8(0x188)]=_0x152161,_0x34343d[imageSmoothingEnabledName]=![],_0x4a424e!==_0x4da4d8(0x182)&&(_0x34343d[_0x4da4d8(0x191)]=_0x4a424e,_0x34343d[_0x4da4d8(0x162)](0x0,0x0,_0x53fd48[_0x4da4d8(0x18c)],_0x53fd48['height'])),_0x55ab11&&(_0x34343d[_0x4da4d8(0x165)]=defaultValue(_0x4cfd3c[_0x4da4d8(0x163)],'#000000'),_0x34343d[_0x4da4d8(0x18a)](_0x19744c,_0x13760b+_0x251e0c,_0x1639c9)),_0x12050b&&(_0x34343d[_0x4da4d8(0x191)]=defaultValue(_0x4cfd3c[_0x4da4d8(0x166)],_0x4da4d8(0x174)),_0x34343d[_0x4da4d8(0x176)](_0x19744c,_0x13760b+_0x251e0c,_0x1639c9)),_0x53fd48;}function defaultValue(_0x7197a3,_0x2a2b2e){if(_0x7197a3!==undefined&&_0x7197a3!==null)return _0x7197a3;return _0x2a2b2e;}export default writeTextToCanvas;
@@ -1 +1 @@
1
- const a94_0x26f8b2=a94_0x2abf;(function(_0x529c5a,_0x5c4776){const _0x23d84c=a94_0x2abf,_0x20c4d9=_0x529c5a();while(!![]){try{const _0x1ba25c=parseInt(_0x23d84c(0x1ac))/0x1+-parseInt(_0x23d84c(0x1b6))/0x2*(parseInt(_0x23d84c(0x1ce))/0x3)+parseInt(_0x23d84c(0x1c8))/0x4*(-parseInt(_0x23d84c(0x1bb))/0x5)+parseInt(_0x23d84c(0x1c1))/0x6*(-parseInt(_0x23d84c(0x1be))/0x7)+parseInt(_0x23d84c(0x1c3))/0x8+-parseInt(_0x23d84c(0x1b2))/0x9+parseInt(_0x23d84c(0x1cf))/0xa*(parseInt(_0x23d84c(0x1d1))/0xb);if(_0x1ba25c===_0x5c4776)break;else _0x20c4d9['push'](_0x20c4d9['shift']());}catch(_0x4126e2){_0x20c4d9['push'](_0x20c4d9['shift']());}}}(a94_0x3625,0x471f2));import a94_0x4af91b from'ol/format/EsriJSON';import a94_0x49a91e from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a94_0x87a553 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';function a94_0x2abf(_0x167a63,_0x2d0583){const _0x3625bf=a94_0x3625();return a94_0x2abf=function(_0x2abf3e,_0x282d05){_0x2abf3e=_0x2abf3e-0x1a8;let _0x58fcce=_0x3625bf[_0x2abf3e];return _0x58fcce;},a94_0x2abf(_0x167a63,_0x2d0583);}export default class Identify extends a94_0x87a553{constructor(_0x1f7f5a,_0x54e29e,_0x410fd3){const _0x337444=a94_0x2abf;super(_0x1f7f5a,_0x54e29e,_0x410fd3),this[_0x337444(0x1ca)]=_0x337444(0x1c0),this[_0x337444(0x1aa)]={'layers':'all','tolerance':0x0,'returnGeometry':!![]},this[_0x337444(0x1af)]=0x3,this[_0x337444(0x1b1)]=0x0,this['url']=appendPath(this[_0x337444(0x1bf)],this[_0x337444(0x1ca)]),_0x54e29e&&((_0x54e29e[_0x337444(0x1b5)]===!![]||_0x54e29e[_0x337444(0x1b5)]===![])&&(this[_0x337444(0x1aa)]['returnGeometry']=_0x54e29e[_0x337444(0x1b5)]),_0x54e29e['layers']&&(this[_0x337444(0x1aa)]['layers']=_0x54e29e[_0x337444(0x1b0)]),_0x54e29e[_0x337444(0x1b9)]&&(this[_0x337444(0x1aa)][_0x337444(0x1b9)]=_0x54e29e[_0x337444(0x1b9)]),(_0x54e29e[_0x337444(0x1c6)]===!![]||_0x54e29e[_0x337444(0x1c6)]===![])&&(this['params'][_0x337444(0x1c6)]=_0x54e29e[_0x337444(0x1c6)]),(_0x54e29e['returnM']===!![]||_0x54e29e[_0x337444(0x1ae)]===![])&&(this[_0x337444(0x1aa)][_0x337444(0x1ae)]=_0x54e29e[_0x337444(0x1ae)]));}['at'](_0x456099,_0xcd6f78){const _0x5eccaa=a94_0x2abf;let _0x19e73d,_0x571684;const _0x2e3b86=new a94_0x49a91e();_0x19e73d=_0x456099,_0x571684=getEsriSpatialReference(_0xcd6f78[_0x5eccaa(0x1cb)]()[_0x5eccaa(0x1bc)]()[_0x5eccaa(0x1b3)]());const _0x4ecd3c=_0xcd6f78[_0x5eccaa(0x1d0)]();_0x4ecd3c&&(this[_0x5eccaa(0x1aa)][_0x5eccaa(0x1a9)]=[_0x4ecd3c[0x0],_0x4ecd3c[0x1],0x60]);this[_0x5eccaa(0x1aa)]['sr']=_0x571684;const _0x5b9207=_0xcd6f78[_0x5eccaa(0x1cb)]()['calculateExtent'](_0xcd6f78[_0x5eccaa(0x1d0)]());this[_0x5eccaa(0x1aa)][_0x5eccaa(0x1c7)]={'xmin':_0x5b9207[0x0],'ymin':_0x5b9207[0x1],'xmax':_0x5b9207[0x2],'ymax':_0x5b9207[0x3],'spatialReference':_0x571684};const _0x5a1ff3=_0xcd6f78['getView']()[_0x5eccaa(0x1ab)](),_0x5d2c2d=_0xcd6f78[_0x5eccaa(0x1cb)]()[_0x5eccaa(0x1b4)]();return _0x5a1ff3&&_0x5d2c2d&&(this['resolution']=getPointResolution(_0xcd6f78[_0x5eccaa(0x1cb)]()['getProjection'](),_0x5a1ff3,_0x5d2c2d)),this[_0x5eccaa(0x1c2)](_0x19e73d,_0xcd6f78[_0x5eccaa(0x1cb)]()[_0x5eccaa(0x1bc)]()['getCode']()),this;}[a94_0x26f8b2(0x1bd)](_0xce42a9,_0x4d3b97){const _0x5c4ad1=a94_0x26f8b2;return this[_0x5c4ad1(0x1aa)][_0x5c4ad1(0x1cc)]=[_0xce42a9[_0x5c4ad1(0x1b7)](),_0x4d3b97[_0x5c4ad1(0x1b7)]()],this;}[a94_0x26f8b2(0x1c4)](){const _0x201c62=a94_0x26f8b2;this[_0x201c62(0x1a8)]();}['_setGeometryParams'](_0x5abf65,_0x52e5f2){const _0x3ac4c4=a94_0x26f8b2;var _0x546476=new a94_0x4af91b();const _0x45d808=_0x546476[_0x3ac4c4(0x1c9)](_0x5abf65);this['params'][_0x3ac4c4(0x1c5)]=getEsriSpatialReference(_0x52e5f2),this[_0x3ac4c4(0x1aa)][_0x3ac4c4(0x1cd)]=_0x45d808,this['params'][_0x3ac4c4(0x1ba)]=this[_0x3ac4c4(0x1b8)](_0x5abf65[_0x3ac4c4(0x1ad)]());}}function a94_0x3625(){const _0x477b20=['1994157BRqrqw','getCode','getCenter','returnGeometry','4TChKtw','valueOf','geojsonTypeToArcGIS','layerDefs','geometryType','253550gAVIdB','getProjection','between','182EnfqHu','url','identify','31746eNjnYZ','_setGeometryParams','3940432SAAxFO','run','inSR','returnZ','mapExtent','12vMtZCF','writeGeometryObject','path','getView','time','geometry','793329mjVYlt','90xWzGmR','getSize','618893isalnh','request','imageDisplay','params','getResolution','332548vnIeSP','getType','returnM','tolerance','layers','resolution'];a94_0x3625=function(){return _0x477b20;};return a94_0x3625();}
1
+ const a95_0x3f2050=a95_0xbbd3;function a95_0x2fea(){const _0x5a53e1=['getView','getCode','resolution','getSize','returnM','calculateExtent','getType','returnZ','url','9670284FVXKgC','572qqTfMc','params','identify','layerDefs','all','layers','between','6593574SdmReK','1129194QkSlze','time','105lRuLqb','getProjection','request','getResolution','151960otYvEj','inSR','7ElCxcL','getCenter','10SJGSxW','imageDisplay','returnGeometry','mapExtent','8773072xxBnTZ','run','563637qriHPY','tolerance','930420rwWMTm','valueOf','_setGeometryParams'];a95_0x2fea=function(){return _0x5a53e1;};return a95_0x2fea();}(function(_0x3966b5,_0x303973){const _0x54ded9=a95_0xbbd3,_0x3bd6f1=_0x3966b5();while(!![]){try{const _0x189d49=-parseInt(_0x54ded9(0x11b))/0x1+-parseInt(_0x54ded9(0xfe))/0x2*(parseInt(_0x54ded9(0x104))/0x3)+parseInt(_0x54ded9(0xfa))/0x4*(-parseInt(_0x54ded9(0x11d))/0x5)+-parseInt(_0x54ded9(0x11a))/0x6*(parseInt(_0x54ded9(0xfc))/0x7)+-parseInt(_0x54ded9(0x102))/0x8+parseInt(_0x54ded9(0x112))/0x9+parseInt(_0x54ded9(0x106))/0xa*(parseInt(_0x54ded9(0x113))/0xb);if(_0x189d49===_0x303973)break;else _0x3bd6f1['push'](_0x3bd6f1['shift']());}catch(_0x45ec76){_0x3bd6f1['push'](_0x3bd6f1['shift']());}}}(a95_0x2fea,0xcfb1e));import a95_0x232a69 from'ol/format/EsriJSON';function a95_0xbbd3(_0x15e539,_0x31fdac){const _0x2feaa4=a95_0x2fea();return a95_0xbbd3=function(_0xbbd32c,_0x2f3502){_0xbbd32c=_0xbbd32c-0xf9;let _0x3e868f=_0x2feaa4[_0xbbd32c];return _0x3e868f;},a95_0xbbd3(_0x15e539,_0x31fdac);}import a95_0x245786 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a95_0x47554f from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a95_0x47554f{constructor(_0x17310a,_0x4f610,_0x35d27e){const _0x327624=a95_0xbbd3;super(_0x17310a,_0x4f610,_0x35d27e),this['path']=_0x327624(0x115),this['params']={'layers':_0x327624(0x117),'tolerance':0x0,'returnGeometry':!![]},this[_0x327624(0x105)]=0x3,this['resolution']=0x0,this[_0x327624(0x111)]=appendPath(this[_0x327624(0x111)],this['path']),_0x4f610&&((_0x4f610['returnGeometry']===!![]||_0x4f610[_0x327624(0x100)]===![])&&(this['params'][_0x327624(0x100)]=_0x4f610[_0x327624(0x100)]),_0x4f610[_0x327624(0x118)]&&(this['params'][_0x327624(0x118)]=_0x4f610['layers']),_0x4f610[_0x327624(0x116)]&&(this[_0x327624(0x114)][_0x327624(0x116)]=_0x4f610[_0x327624(0x116)]),(_0x4f610[_0x327624(0x110)]===!![]||_0x4f610['returnZ']===![])&&(this[_0x327624(0x114)]['returnZ']=_0x4f610[_0x327624(0x110)]),(_0x4f610[_0x327624(0x10d)]===!![]||_0x4f610[_0x327624(0x10d)]===![])&&(this[_0x327624(0x114)][_0x327624(0x10d)]=_0x4f610[_0x327624(0x10d)]));}['at'](_0x2561ce,_0xff16b4){const _0x8997c1=a95_0xbbd3;let _0x43e31b,_0x449e75;const _0x4a6a5d=new a95_0x245786();_0x43e31b=_0x2561ce,_0x449e75=getEsriSpatialReference(_0xff16b4[_0x8997c1(0x109)]()['getProjection']()[_0x8997c1(0x10a)]());const _0x6e20ce=_0xff16b4[_0x8997c1(0x10c)]();_0x6e20ce&&(this[_0x8997c1(0x114)][_0x8997c1(0xff)]=[_0x6e20ce[0x0],_0x6e20ce[0x1],0x60]);this[_0x8997c1(0x114)]['sr']=_0x449e75;const _0x2c9370=_0xff16b4[_0x8997c1(0x109)]()[_0x8997c1(0x10e)](_0xff16b4[_0x8997c1(0x10c)]());this[_0x8997c1(0x114)][_0x8997c1(0x101)]={'xmin':_0x2c9370[0x0],'ymin':_0x2c9370[0x1],'xmax':_0x2c9370[0x2],'ymax':_0x2c9370[0x3],'spatialReference':_0x449e75};const _0x3e7f71=_0xff16b4['getView']()[_0x8997c1(0xf9)](),_0x2a897d=_0xff16b4[_0x8997c1(0x109)]()[_0x8997c1(0xfd)]();return _0x3e7f71&&_0x2a897d&&(this[_0x8997c1(0x10b)]=getPointResolution(_0xff16b4[_0x8997c1(0x109)]()[_0x8997c1(0x11e)](),_0x3e7f71,_0x2a897d)),this[_0x8997c1(0x108)](_0x43e31b,_0xff16b4['getView']()['getProjection']()['getCode']()),this;}[a95_0x3f2050(0x119)](_0x52dff8,_0x5ebc91){const _0x49a51b=a95_0x3f2050;return this['params'][_0x49a51b(0x11c)]=[_0x52dff8[_0x49a51b(0x107)](),_0x5ebc91['valueOf']()],this;}[a95_0x3f2050(0x103)](){const _0x274e2b=a95_0x3f2050;this[_0x274e2b(0x11f)]();}[a95_0x3f2050(0x108)](_0x3d6209,_0x22c9b0){const _0x72c32e=a95_0x3f2050;var _0x5cf672=new a95_0x232a69();const _0x2a46c2=_0x5cf672['writeGeometryObject'](_0x3d6209);this[_0x72c32e(0x114)][_0x72c32e(0xfb)]=getEsriSpatialReference(_0x22c9b0),this[_0x72c32e(0x114)]['geometry']=_0x2a46c2,this[_0x72c32e(0x114)]['geometryType']=this['geojsonTypeToArcGIS'](_0x3d6209[_0x72c32e(0x10f)]());}}
@@ -1 +1 @@
1
- const a95_0x3bcf34=a95_0x3e21;(function(_0x2d7cf3,_0xb88b86){const _0x5e63d4=a95_0x3e21,_0x4dd087=_0x2d7cf3();while(!![]){try{const _0x500435=parseInt(_0x5e63d4(0xaa))/0x1+-parseInt(_0x5e63d4(0xaf))/0x2+-parseInt(_0x5e63d4(0xae))/0x3*(-parseInt(_0x5e63d4(0x70))/0x4)+parseInt(_0x5e63d4(0x9c))/0x5+-parseInt(_0x5e63d4(0xac))/0x6*(parseInt(_0x5e63d4(0x71))/0x7)+parseInt(_0x5e63d4(0x6c))/0x8+-parseInt(_0x5e63d4(0x97))/0x9;if(_0x500435===_0xb88b86)break;else _0x4dd087['push'](_0x4dd087['shift']());}catch(_0x413448){_0x4dd087['push'](_0x4dd087['shift']());}}}(a95_0x2534,0xabe38));import a95_0x2f1d04 from'ol/format/EsriJSON';import a95_0x490268 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a95_0x3e21(_0x56c3ca,_0x5c0d82){const _0x253491=a95_0x2534();return a95_0x3e21=function(_0x3e2125,_0x5bc7e1){_0x3e2125=_0x3e2125-0x67;let _0x5e09f6=_0x253491[_0x3e2125];return _0x5e09f6;},a95_0x3e21(_0x56c3ca,_0x5c0d82);}import{appendPath}from'../../UrlUtil';function a95_0x2534(){const _0x333686=['bboxIntersects','crosses','request','contains','warn','valueOf','overlaps','ids','returnM','indexIntersects','path','returnZ','query','data','6602265TPFDdW','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','distinct','400','_cleanParams','2446650wBomVE','returnExtentOnly','esriSpatialRelOverlaps','distance','returnDistinctValues','_trapSQLerrors','geojsonTypeToArcGIS','esriSpatialRelIndexIntersects','intersects','returnCountOnly','units','returnGeometry','getExtent','nearby','670002xtmlpp','params','6oZoIVp','url','33vntwWd','1232538JcFYvI','outSR','esriSpatialRelTouches','forEach','features','No\x20features\x20found','touches','7016064kncdpr','writeGeometryObject','esriSpatialRelWithin','maxAllowableOffset','208244CxmaJk','3885707WGkhjl','simplify','getType','_setGeometryParams','getTime','1=1','time','returnIdsOnly','run','esriSRUnit_Meter','inSR','where','status','between','within','abs','length','orderByFields','orderBy','/query','esriSpatialRelContains','layer','spatialRel','push'];a95_0x2534=function(){return _0x333686;};return a95_0x2534();}export default class Query extends a95_0x490268{constructor(_0x277f1c,_0x41b1e9,_0xe5657){const _0x3ff0c7=a95_0x3e21;super(_0x277f1c,_0x41b1e9,_0xe5657),this[_0x3ff0c7(0x93)]=_0x3ff0c7(0x95),this['params']={'returnGeometry':!![],'where':_0x3ff0c7(0x76),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x3ff0c7(0x75)]()},this['url']=appendPath(this[_0x3ff0c7(0xad)],this[_0x3ff0c7(0x93)]),_0x41b1e9&&((_0x41b1e9[_0x3ff0c7(0xa7)]===!![]||_0x41b1e9[_0x3ff0c7(0xa7)]===![])&&(this['params'][_0x3ff0c7(0xa7)]=_0x41b1e9[_0x3ff0c7(0xa7)]),_0x41b1e9[_0x3ff0c7(0x7c)]&&(this[_0x3ff0c7(0xab)]['where']=_0x41b1e9[_0x3ff0c7(0x7c)]),_0x41b1e9['outSR']&&(this[_0x3ff0c7(0xab)][_0x3ff0c7(0xb0)]=getEsriSpatialReference(_0x41b1e9['outSR'])),(_0x41b1e9[_0x3ff0c7(0x94)]===!![]||_0x41b1e9[_0x3ff0c7(0x94)]===![])&&(this[_0x3ff0c7(0xab)][_0x3ff0c7(0x94)]=_0x41b1e9[_0x3ff0c7(0x94)]),(_0x41b1e9[_0x3ff0c7(0x91)]===!![]||_0x41b1e9[_0x3ff0c7(0x91)]===![])&&(this[_0x3ff0c7(0xab)][_0x3ff0c7(0x91)]=_0x41b1e9[_0x3ff0c7(0x91)]));}[a95_0x3bcf34(0x7f)](_0x8633ba,_0x292675){const _0x4215ec=a95_0x3bcf34;return this['_setGeometryParams'](_0x8633ba,_0x292675),this[_0x4215ec(0xab)]['spatialRel']=_0x4215ec(0x85),this;}[a95_0x3bcf34(0xa4)](_0x5e33fd,_0x9fbd56){const _0x446713=a95_0x3bcf34;return this['_setGeometryParams'](_0x5e33fd,_0x9fbd56),this[_0x446713(0xab)][_0x446713(0x87)]='esriSpatialRelIntersects',this;}[a95_0x3bcf34(0x8c)](_0x444fe0,_0x2bc855){const _0x2ee165=a95_0x3bcf34;return this[_0x2ee165(0x74)](_0x444fe0,_0x2bc855),this[_0x2ee165(0xab)]['spatialRel']=_0x2ee165(0x6e),this;}[a95_0x3bcf34(0x8a)](_0x2696fc,_0x4050c1){const _0x4775f7=a95_0x3bcf34;return this[_0x4775f7(0x74)](_0x2696fc,_0x4050c1),this[_0x4775f7(0xab)][_0x4775f7(0x87)]='esriSpatialRelCrosses',this;}[a95_0x3bcf34(0x6b)](_0x22563c,_0x397a96){const _0x3f7794=a95_0x3bcf34;return this[_0x3f7794(0x74)](_0x22563c,_0x397a96),this[_0x3f7794(0xab)][_0x3f7794(0x87)]=_0x3f7794(0x67),this;}[a95_0x3bcf34(0x8f)](_0x19dfae,_0x54f738){const _0x476fb1=a95_0x3bcf34;return this[_0x476fb1(0x74)](_0x19dfae,_0x54f738),this[_0x476fb1(0xab)]['spatialRel']=_0x476fb1(0x9e),this;}[a95_0x3bcf34(0x89)](_0x27188b,_0x196bb5){const _0x3fc909=a95_0x3bcf34;return this[_0x3fc909(0x74)](_0x27188b,_0x196bb5),this['params'][_0x3fc909(0x87)]='esriSpatialRelEnvelopeIntersects',this;}[a95_0x3bcf34(0x92)](_0x5b66cc,_0x4a67fb){const _0x14922d=a95_0x3bcf34;return this[_0x14922d(0x74)](_0x5b66cc,_0x4a67fb),this[_0x14922d(0xab)][_0x14922d(0x87)]=_0x14922d(0xa3),this;}[a95_0x3bcf34(0xa9)](_0x9247b7,_0xfb789f,_0x4e2f36){const _0x3592ee=a95_0x3bcf34;return this[_0x3592ee(0x74)](_0x9247b7,_0xfb789f),this[_0x3592ee(0xab)][_0x3592ee(0x87)]='esriSpatialRelIntersects',this['params'][_0x3592ee(0xa6)]=_0x3592ee(0x7a),this[_0x3592ee(0xab)][_0x3592ee(0x9f)]=_0x4e2f36,this;}[a95_0x3bcf34(0x7c)](_0x4ab387){const _0x13b8e9=a95_0x3bcf34;return this[_0x13b8e9(0xab)][_0x13b8e9(0x7c)]=_0x4ab387,this;}[a95_0x3bcf34(0x7e)](_0x1107a6,_0x3f5803){const _0x317394=a95_0x3bcf34;return this['params'][_0x317394(0x77)]=[_0x1107a6[_0x317394(0x8e)](),_0x3f5803[_0x317394(0x8e)]()],this;}[a95_0x3bcf34(0x72)](_0x31f0d1,_0x1b8498){const _0xc1a39d=a95_0x3bcf34,_0xe4a6d2=_0x31f0d1[_0xc1a39d(0xa8)]();var _0x4a8e16=Math[_0xc1a39d(0x80)](_0xe4a6d2[0x2]-_0xe4a6d2[0x0]);const _0x5ce85a=_0x31f0d1['getSize']();if(_0x5ce85a)return this[_0xc1a39d(0xab)][_0xc1a39d(0x6f)]=_0x4a8e16/_0x5ce85a[0x1]*_0x1b8498,this;}[a95_0x3bcf34(0x83)](_0x113e85,_0xe14c86){const _0x42fee5=a95_0x3bcf34;return _0xe14c86=_0xe14c86||'ASC',this[_0x42fee5(0xab)][_0x42fee5(0x82)]=this[_0x42fee5(0xab)][_0x42fee5(0x82)]?this['params'][_0x42fee5(0x82)]+',':'',this[_0x42fee5(0xab)][_0x42fee5(0x82)]+=[_0x113e85,_0xe14c86]['join']('\x20'),this;}async[a95_0x3bcf34(0x79)](){const _0x1b9d80=a95_0x3bcf34;this[_0x1b9d80(0x9b)]();const _0x308d7c=await this['request']()['catch'](_0x4d4135=>{throw new Error(_0x4d4135);});if(_0x308d7c[_0x1b9d80(0x7d)]!==0xc8)throw new Error(_0x1b9d80(0x6a));if(_0x308d7c['data']&&_0x308d7c[_0x1b9d80(0x96)][_0x1b9d80(0x69)]&&_0x308d7c[_0x1b9d80(0x96)][_0x1b9d80(0x69)][_0x1b9d80(0x81)]>0x0){var _0x552163=new a95_0x2f1d04();let _0x4c897d=[];return _0x308d7c['data'][_0x1b9d80(0x69)][_0x1b9d80(0x68)](_0x4e344c=>{const _0x4bab87=_0x1b9d80,_0x53ed4e=_0x552163['readFeature'](_0x4e344c);_0x4c897d[_0x4bab87(0x88)](_0x53ed4e);}),_0x4c897d;}return[];}['count'](){const _0x53f56d=a95_0x3bcf34;this[_0x53f56d(0x9b)](),this[_0x53f56d(0xab)][_0x53f56d(0xa5)]=!![],this[_0x53f56d(0x8b)]();}[a95_0x3bcf34(0x90)](){const _0x3d17e4=a95_0x3bcf34;this[_0x3d17e4(0x9b)](),this['params'][_0x3d17e4(0x78)]=!![],this['request']();}[a95_0x3bcf34(0x99)](){const _0x13a0fb=a95_0x3bcf34;return this[_0x13a0fb(0xab)][_0x13a0fb(0xa7)]=![],this[_0x13a0fb(0xab)][_0x13a0fb(0xa0)]=!![],this;}[a95_0x3bcf34(0x86)](_0x52c899){const _0xab34b7=a95_0x3bcf34;return this['path']=_0x52c899+_0xab34b7(0x84),this;}[a95_0x3bcf34(0xa1)](_0x963dd3){const _0x487905=a95_0x3bcf34;_0x963dd3&&(_0x963dd3['code']===_0x487905(0x9a)&&console[_0x487905(0x8d)]['apply'](_0x487905(0x98)));}[a95_0x3bcf34(0x9b)](){const _0x4f9681=a95_0x3bcf34;delete this[_0x4f9681(0xab)]['returnIdsOnly'],delete this['params'][_0x4f9681(0x9d)],delete this[_0x4f9681(0xab)][_0x4f9681(0xa5)];}[a95_0x3bcf34(0x74)](_0x1ca298,_0x1276da){const _0x4c2acb=a95_0x3bcf34;if(!_0x1ca298)return;var _0x3ed4fc=new a95_0x2f1d04();const _0xb4ed86=_0x3ed4fc[_0x4c2acb(0x6d)](_0x1ca298);this['params'][_0x4c2acb(0x7b)]=getEsriSpatialReference(_0x1276da),this[_0x4c2acb(0xab)]['geometry']=_0xb4ed86,this['params']['geometryType']=this[_0x4c2acb(0xa2)](_0x1ca298[_0x4c2acb(0x73)]());}}
1
+ const a96_0x52b86b=a96_0x58ca;(function(_0x1f31e6,_0xaee14d){const _0x3dfbb3=a96_0x58ca,_0x4c8819=_0x1f31e6();while(!![]){try{const _0x4af058=parseInt(_0x3dfbb3(0x189))/0x1+-parseInt(_0x3dfbb3(0x1a9))/0x2*(-parseInt(_0x3dfbb3(0x17b))/0x3)+parseInt(_0x3dfbb3(0x1a6))/0x4*(parseInt(_0x3dfbb3(0x176))/0x5)+parseInt(_0x3dfbb3(0x18a))/0x6+parseInt(_0x3dfbb3(0x1aa))/0x7*(parseInt(_0x3dfbb3(0x171))/0x8)+-parseInt(_0x3dfbb3(0x18e))/0x9+-parseInt(_0x3dfbb3(0x172))/0xa;if(_0x4af058===_0xaee14d)break;else _0x4c8819['push'](_0x4c8819['shift']());}catch(_0x3a636c){_0x4c8819['push'](_0x4c8819['shift']());}}}(a96_0xe13b,0x2eae1));import a96_0x17109b from'ol/format/EsriJSON';function a96_0x58ca(_0xe5816,_0x774b8f){const _0xe13bf4=a96_0xe13b();return a96_0x58ca=function(_0x58ca73,_0x5d61a5){_0x58ca73=_0x58ca73-0x167;let _0x51b490=_0xe13bf4[_0x58ca73];return _0x51b490;},a96_0x58ca(_0xe5816,_0x774b8f);}import a96_0x582ea1 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a96_0xe13b(){const _0x372bf5=['distinct','getType','distance','length','url','params','No\x20features\x20found','nearby','1=1','getSize','8qWrZkh','9356500WtXTyC','indexIntersects','getExtent','esriSpatialRelOverlaps','62275XTjwzN','inSR','abs','between','400','3lWUqpR','count','data','returnExtentOnly','returnCountOnly','esriSpatialRelContains','ids','getTime','code','esriSRUnit_Meter','returnDistinctValues','_setGeometryParams','crosses','status','304323KIwPha','1198506fgBAOC','overlaps','run','request','232875fYeyMO','esriSpatialRelIndexIntersects','esriSpatialRelCrosses','layer','esriSpatialRelEnvelopeIntersects','_cleanParams','_trapSQLerrors','geometryType','orderByFields','writeGeometryObject','where','returnIdsOnly','readFeature','catch','returnM','valueOf','returnGeometry','features','esriSpatialRelTouches','esriSpatialRelWithin','touches','push','returnZ','maxAllowableOffset','28CtcIhG','spatialRel','orderBy','433548DpsKWf','2412851zxQABu','geojsonTypeToArcGIS','contains','outSR','apply','path','join','esriSpatialRelIntersects'];a96_0xe13b=function(){return _0x372bf5;};return a96_0xe13b();}import{appendPath}from'../../UrlUtil';export default class Query extends a96_0x582ea1{constructor(_0x5a4409,_0x58fc07,_0x44c0b5){const _0x68324b=a96_0x58ca;super(_0x5a4409,_0x58fc07,_0x44c0b5),this[_0x68324b(0x1af)]='query',this[_0x68324b(0x16c)]={'returnGeometry':!![],'where':_0x68324b(0x16f),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x68324b(0x182)]()},this[_0x68324b(0x16b)]=appendPath(this[_0x68324b(0x16b)],this['path']),_0x58fc07&&((_0x58fc07[_0x68324b(0x19e)]===!![]||_0x58fc07['returnGeometry']===![])&&(this[_0x68324b(0x16c)][_0x68324b(0x19e)]=_0x58fc07[_0x68324b(0x19e)]),_0x58fc07[_0x68324b(0x198)]&&(this[_0x68324b(0x16c)][_0x68324b(0x198)]=_0x58fc07[_0x68324b(0x198)]),_0x58fc07[_0x68324b(0x1ad)]&&(this['params'][_0x68324b(0x1ad)]=getEsriSpatialReference(_0x58fc07[_0x68324b(0x1ad)])),(_0x58fc07[_0x68324b(0x1a4)]===!![]||_0x58fc07['returnZ']===![])&&(this[_0x68324b(0x16c)][_0x68324b(0x1a4)]=_0x58fc07[_0x68324b(0x1a4)]),(_0x58fc07[_0x68324b(0x19c)]===!![]||_0x58fc07['returnM']===![])&&(this[_0x68324b(0x16c)][_0x68324b(0x19c)]=_0x58fc07['returnM']));}['within'](_0x535e23,_0x16d406){const _0x2a7a45=a96_0x58ca;return this[_0x2a7a45(0x186)](_0x535e23,_0x16d406),this[_0x2a7a45(0x16c)][_0x2a7a45(0x1a7)]=_0x2a7a45(0x180),this;}['intersects'](_0x45b505,_0x59b4b1){const _0x1b8220=a96_0x58ca;return this[_0x1b8220(0x186)](_0x45b505,_0x59b4b1),this['params'][_0x1b8220(0x1a7)]=_0x1b8220(0x1b1),this;}[a96_0x52b86b(0x1ac)](_0x5edb5f,_0x3b00b5){const _0x1a71db=a96_0x52b86b;return this[_0x1a71db(0x186)](_0x5edb5f,_0x3b00b5),this['params'][_0x1a71db(0x1a7)]=_0x1a71db(0x1a1),this;}[a96_0x52b86b(0x187)](_0x11d700,_0x5166bd){const _0x5b8edc=a96_0x52b86b;return this['_setGeometryParams'](_0x11d700,_0x5166bd),this[_0x5b8edc(0x16c)][_0x5b8edc(0x1a7)]=_0x5b8edc(0x190),this;}[a96_0x52b86b(0x1a2)](_0x2a2906,_0x3f7f26){const _0x2f96f4=a96_0x52b86b;return this[_0x2f96f4(0x186)](_0x2a2906,_0x3f7f26),this[_0x2f96f4(0x16c)]['spatialRel']=_0x2f96f4(0x1a0),this;}[a96_0x52b86b(0x18b)](_0x480f8f,_0x28c76c){const _0xe6df0c=a96_0x52b86b;return this['_setGeometryParams'](_0x480f8f,_0x28c76c),this['params'][_0xe6df0c(0x1a7)]=_0xe6df0c(0x175),this;}['bboxIntersects'](_0x4c0539,_0x5680c3){const _0x44f80c=a96_0x52b86b;return this[_0x44f80c(0x186)](_0x4c0539,_0x5680c3),this[_0x44f80c(0x16c)][_0x44f80c(0x1a7)]=_0x44f80c(0x192),this;}[a96_0x52b86b(0x173)](_0xcdf68a,_0x5bcc23){const _0x4682ee=a96_0x52b86b;return this['_setGeometryParams'](_0xcdf68a,_0x5bcc23),this[_0x4682ee(0x16c)][_0x4682ee(0x1a7)]=_0x4682ee(0x18f),this;}[a96_0x52b86b(0x16e)](_0x482380,_0x521421,_0x461b33){const _0x3025d7=a96_0x52b86b;return this[_0x3025d7(0x186)](_0x482380,_0x521421),this[_0x3025d7(0x16c)]['spatialRel']=_0x3025d7(0x1b1),this['params']['units']=_0x3025d7(0x184),this[_0x3025d7(0x16c)][_0x3025d7(0x169)]=_0x461b33,this;}['where'](_0x5f4410){const _0xf390f8=a96_0x52b86b;return this[_0xf390f8(0x16c)][_0xf390f8(0x198)]=_0x5f4410,this;}[a96_0x52b86b(0x179)](_0x53dd60,_0x386d43){const _0x40ba84=a96_0x52b86b;return this[_0x40ba84(0x16c)]['time']=[_0x53dd60[_0x40ba84(0x19d)](),_0x386d43[_0x40ba84(0x19d)]()],this;}['simplify'](_0x47759d,_0x37fbb2){const _0x4cf176=a96_0x52b86b,_0xfd0274=_0x47759d[_0x4cf176(0x174)]();var _0x4930da=Math[_0x4cf176(0x178)](_0xfd0274[0x2]-_0xfd0274[0x0]);const _0x20088a=_0x47759d[_0x4cf176(0x170)]();if(_0x20088a)return this[_0x4cf176(0x16c)][_0x4cf176(0x1a5)]=_0x4930da/_0x20088a[0x1]*_0x37fbb2,this;}[a96_0x52b86b(0x1a8)](_0x35da04,_0xc52788){const _0x44e498=a96_0x52b86b;return _0xc52788=_0xc52788||'ASC',this[_0x44e498(0x16c)]['orderByFields']=this[_0x44e498(0x16c)][_0x44e498(0x196)]?this[_0x44e498(0x16c)][_0x44e498(0x196)]+',':'',this[_0x44e498(0x16c)]['orderByFields']+=[_0x35da04,_0xc52788][_0x44e498(0x1b0)]('\x20'),this;}async[a96_0x52b86b(0x18c)](){const _0x5e70e0=a96_0x52b86b;this['_cleanParams']();const _0x94817f=await this[_0x5e70e0(0x18d)]()[_0x5e70e0(0x19b)](_0x3f8234=>{throw new Error(_0x3f8234);});if(_0x94817f[_0x5e70e0(0x188)]!==0xc8)throw new Error(_0x5e70e0(0x16d));if(_0x94817f[_0x5e70e0(0x17d)]&&_0x94817f[_0x5e70e0(0x17d)]['features']&&_0x94817f['data']['features'][_0x5e70e0(0x16a)]>0x0){var _0x3e84b9=new a96_0x17109b();let _0x5f5338=[];return _0x94817f['data'][_0x5e70e0(0x19f)]['forEach'](_0x275f43=>{const _0x4e4b61=_0x5e70e0,_0x2c92b6=_0x3e84b9[_0x4e4b61(0x19a)](_0x275f43);_0x5f5338[_0x4e4b61(0x1a3)](_0x2c92b6);}),_0x5f5338;}return[];}[a96_0x52b86b(0x17c)](){const _0x180343=a96_0x52b86b;this[_0x180343(0x193)](),this[_0x180343(0x16c)][_0x180343(0x17f)]=!![],this[_0x180343(0x18d)]();}[a96_0x52b86b(0x181)](){const _0x43e2e7=a96_0x52b86b;this[_0x43e2e7(0x193)](),this[_0x43e2e7(0x16c)][_0x43e2e7(0x199)]=!![],this[_0x43e2e7(0x18d)]();}[a96_0x52b86b(0x167)](){const _0x3e8cfb=a96_0x52b86b;return this[_0x3e8cfb(0x16c)][_0x3e8cfb(0x19e)]=![],this['params'][_0x3e8cfb(0x185)]=!![],this;}[a96_0x52b86b(0x191)](_0x8f7fbc){return this['path']=_0x8f7fbc+'/query',this;}[a96_0x52b86b(0x194)](_0x210499){const _0x2533ec=a96_0x52b86b;_0x210499&&(_0x210499[_0x2533ec(0x183)]===_0x2533ec(0x17a)&&console['warn'][_0x2533ec(0x1ae)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a96_0x52b86b(0x193)](){const _0x27c9b7=a96_0x52b86b;delete this[_0x27c9b7(0x16c)][_0x27c9b7(0x199)],delete this['params'][_0x27c9b7(0x17e)],delete this[_0x27c9b7(0x16c)][_0x27c9b7(0x17f)];}['_setGeometryParams'](_0x299ae5,_0x129c33){const _0x70421a=a96_0x52b86b;if(!_0x299ae5)return;var _0x5b6de0=new a96_0x17109b();const _0x3155b4=_0x5b6de0[_0x70421a(0x197)](_0x299ae5);this[_0x70421a(0x16c)][_0x70421a(0x177)]=getEsriSpatialReference(_0x129c33),this[_0x70421a(0x16c)]['geometry']=_0x3155b4,this['params'][_0x70421a(0x195)]=this[_0x70421a(0x1ab)](_0x299ae5[_0x70421a(0x168)]());}}
@@ -1 +1 @@
1
- var a96_0x1e938d=a96_0x2d09;(function(_0x2579a0,_0x377795){var _0x5e8382=a96_0x2d09,_0x1948ed=_0x2579a0();while(!![]){try{var _0x18bb6b=-parseInt(_0x5e8382(0x162))/0x1+parseInt(_0x5e8382(0x173))/0x2*(parseInt(_0x5e8382(0x169))/0x3)+-parseInt(_0x5e8382(0x175))/0x4+parseInt(_0x5e8382(0x17d))/0x5*(parseInt(_0x5e8382(0x171))/0x6)+parseInt(_0x5e8382(0x177))/0x7+parseInt(_0x5e8382(0x186))/0x8*(-parseInt(_0x5e8382(0x180))/0x9)+-parseInt(_0x5e8382(0x17e))/0xa*(-parseInt(_0x5e8382(0x16b))/0xb);if(_0x18bb6b===_0x377795)break;else _0x1948ed['push'](_0x1948ed['shift']());}catch(_0x73c3b){_0x1948ed['push'](_0x1948ed['shift']());}}}(a96_0x3d1b,0xf014d));function a96_0x2d09(_0x39acae,_0x41e240){var _0x3d1b82=a96_0x3d1b();return a96_0x2d09=function(_0x2d0930,_0x2950f0){_0x2d0930=_0x2d0930-0x162;var _0x4152d8=_0x3d1b82[_0x2d0930];return _0x4152d8;},a96_0x2d09(_0x39acae,_0x41e240);}import a96_0x4e4de7 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x48438b,_0x2612f6,_0x2d4051){var _0x51bac7=a96_0x2d09;this[_0x51bac7(0x16e)]=_0x48438b,this[_0x51bac7(0x181)]=_0x2612f6||{},this[_0x51bac7(0x170)]=!_0x2d4051?_0x51bac7(0x16a):_0x2d4051;}[a96_0x1e938d(0x165)](_0x26d04d){var _0x30d4ca=a96_0x1e938d,_0x5de296;switch(_0x26d04d){case'Point':_0x5de296=_0x30d4ca(0x178);break;case'MultiPoint':_0x5de296=_0x30d4ca(0x17f);break;case'LineString':_0x5de296=_0x30d4ca(0x16c);break;case _0x30d4ca(0x17a):_0x5de296='esriGeometryPolyline';break;case'Polygon':_0x5de296=_0x30d4ca(0x16d);break;case'MultiPolygon':_0x5de296=_0x30d4ca(0x16d);break;}return _0x5de296;}[a96_0x1e938d(0x174)](_0x2fbb52){var _0x2c9ebd=a96_0x1e938d;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x2c9ebd(0x182)](_0x2fbb52);}['serialize'](_0x19212b){var _0x7a9e7a=a96_0x1e938d,_0x5d33dc='';_0x19212b['f']=_0x19212b['f']||_0x7a9e7a(0x184);for(var _0x369c36 in _0x19212b){if(Object[_0x7a9e7a(0x17b)][_0x7a9e7a(0x17c)]['call'](_0x19212b,_0x369c36)){var _0x394040=_0x19212b[_0x369c36],_0xdb457d=Object[_0x7a9e7a(0x17b)]['toString'][_0x7a9e7a(0x16f)](_0x394040),_0x5d9f92;_0x5d33dc[_0x7a9e7a(0x172)]&&(_0x5d33dc+='&');if(_0xdb457d===_0x7a9e7a(0x163))_0x5d9f92=Object[_0x7a9e7a(0x17b)]['toString'][_0x7a9e7a(0x16f)](_0x394040[0x0])==='[object\x20Object]'?JSON[_0x7a9e7a(0x185)](_0x394040):_0x394040[_0x7a9e7a(0x168)](',');else{if(_0xdb457d==='[object\x20Object]')_0x5d9f92=JSON[_0x7a9e7a(0x185)](_0x394040);else _0xdb457d===_0x7a9e7a(0x176)?_0x5d9f92=_0x394040['valueOf']():_0x5d9f92=_0x394040;}_0x5d33dc+=encodeURIComponent(_0x369c36)+'='+encodeURIComponent(_0x5d9f92);}}return _0x5d33dc;}[a96_0x1e938d(0x166)](_0x2a14ab){var _0x3ba79a=a96_0x1e938d;return this[_0x3ba79a(0x181)][_0x3ba79a(0x187)]=!_0x2a14ab,this;}async[a96_0x1e938d(0x167)](){var _0x4a60f1=a96_0x1e938d,_0xa70e48=this[_0x4a60f1(0x183)](this[_0x4a60f1(0x181)]);const _0x5cf920=this[_0x4a60f1(0x16e)][_0x4a60f1(0x164)]('?')>-0x1?this[_0x4a60f1(0x16e)]+'&'+_0xa70e48:this[_0x4a60f1(0x16e)]+'?'+_0xa70e48;if(this[_0x4a60f1(0x170)]===_0x4a60f1(0x16a))return a96_0x4e4de7[_0x4a60f1(0x179)](_0x5cf920);else{if(this[_0x4a60f1(0x170)]==='JSONP')return jsonp(_0x5cf920);else{const _0x309bed=stringify(this[_0x4a60f1(0x181)]);return a96_0x4e4de7['post'](this[_0x4a60f1(0x16e)],_0x309bed);}}}}function a96_0x3d1b(){var _0x574e05=['method','12NIZcJl','length','2872teUhDn','isArcgisOnline','3768968iyCrRI','[object\x20Date]','3873275XnjqHT','esriGeometryPoint','get','MultiLineString','prototype','hasOwnProperty','3551485kegZbD','14432010HOUizU','esriGeometryMultipoint','8273529ZOqHfX','params','test','serialize','json','stringify','8zakqXJ','returnUnformattedValues','820652oxNTQA','[object\x20Array]','indexOf','geojsonTypeToArcGIS','format','request','join','519UgpVFd','GET','11nFIgXp','esriGeometryPolyline','esriGeometryPolygon','url','call'];a96_0x3d1b=function(){return _0x574e05;};return a96_0x3d1b();}
1
+ var a97_0x1819ef=a97_0x5e2a;(function(_0x41ec94,_0xea4267){var _0x4d0863=a97_0x5e2a,_0x10a2dd=_0x41ec94();while(!![]){try{var _0x20ed2b=parseInt(_0x4d0863(0x144))/0x1*(parseInt(_0x4d0863(0x161))/0x2)+-parseInt(_0x4d0863(0x146))/0x3*(-parseInt(_0x4d0863(0x15b))/0x4)+parseInt(_0x4d0863(0x14f))/0x5+-parseInt(_0x4d0863(0x147))/0x6*(-parseInt(_0x4d0863(0x140))/0x7)+parseInt(_0x4d0863(0x13c))/0x8+parseInt(_0x4d0863(0x141))/0x9*(-parseInt(_0x4d0863(0x159))/0xa)+-parseInt(_0x4d0863(0x14e))/0xb;if(_0x20ed2b===_0xea4267)break;else _0x10a2dd['push'](_0x10a2dd['shift']());}catch(_0x363062){_0x10a2dd['push'](_0x10a2dd['shift']());}}}(a97_0x3b9a,0x61477));function a97_0x3b9a(){var _0x138b01=['18tMuWfY','12ERGOcL','geojsonTypeToArcGIS','serialize','[object\x20Object]','esriGeometryPolyline','json','MultiLineString','14662032ZIASpG','2057500vuYiot','hasOwnProperty','MultiPoint','join','isArcgisOnline','length','request','test','get','call','191610aTCsaG','esriGeometryPolygon','322444VaINSM','method','url','Point','JSONP','format','506dLBpiR','toString','stringify','GET','1385072otVOjI','prototype','returnUnformattedValues','esriGeometryPoint','1945594aqyqgC','90zuQxXu','[object\x20Date]','params','1181aHHwDJ','MultiPolygon'];a97_0x3b9a=function(){return _0x138b01;};return a97_0x3b9a();}import a97_0x5479ae from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';function a97_0x5e2a(_0x5771f0,_0x3097c2){var _0x3b9aa3=a97_0x3b9a();return a97_0x5e2a=function(_0x5e2a4f,_0x5b7b05){_0x5e2a4f=_0x5e2a4f-0x13c;var _0x16fa0e=_0x3b9aa3[_0x5e2a4f];return _0x16fa0e;},a97_0x5e2a(_0x5771f0,_0x3097c2);}export default class Task{constructor(_0x4fff40,_0xecfd3f,_0x354ca5){var _0xb8d0c8=a97_0x5e2a;this[_0xb8d0c8(0x15d)]=_0x4fff40,this[_0xb8d0c8(0x143)]=_0xecfd3f||{},this[_0xb8d0c8(0x15c)]=!_0x354ca5?_0xb8d0c8(0x164):_0x354ca5;}[a97_0x1819ef(0x148)](_0x1b4517){var _0x3e5130=a97_0x1819ef,_0x164f60;switch(_0x1b4517){case _0x3e5130(0x15e):_0x164f60=_0x3e5130(0x13f);break;case _0x3e5130(0x151):_0x164f60='esriGeometryMultipoint';break;case'LineString':_0x164f60=_0x3e5130(0x14b);break;case _0x3e5130(0x14d):_0x164f60='esriGeometryPolyline';break;case'Polygon':_0x164f60=_0x3e5130(0x15a);break;case _0x3e5130(0x145):_0x164f60=_0x3e5130(0x15a);break;}return _0x164f60;}[a97_0x1819ef(0x153)](_0x287ce3){var _0x2093ec=a97_0x1819ef;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x2093ec(0x156)](_0x287ce3);}['serialize'](_0x1477d1){var _0xf2a4c9=a97_0x1819ef,_0x35260c='';_0x1477d1['f']=_0x1477d1['f']||_0xf2a4c9(0x14c);for(var _0x720456 in _0x1477d1){if(Object[_0xf2a4c9(0x13d)][_0xf2a4c9(0x150)][_0xf2a4c9(0x158)](_0x1477d1,_0x720456)){var _0x3f4884=_0x1477d1[_0x720456],_0x444d77=Object[_0xf2a4c9(0x13d)]['toString'][_0xf2a4c9(0x158)](_0x3f4884),_0x3643dc;_0x35260c[_0xf2a4c9(0x154)]&&(_0x35260c+='&');if(_0x444d77==='[object\x20Array]')_0x3643dc=Object[_0xf2a4c9(0x13d)][_0xf2a4c9(0x162)][_0xf2a4c9(0x158)](_0x3f4884[0x0])==='[object\x20Object]'?JSON[_0xf2a4c9(0x163)](_0x3f4884):_0x3f4884[_0xf2a4c9(0x152)](',');else{if(_0x444d77===_0xf2a4c9(0x14a))_0x3643dc=JSON[_0xf2a4c9(0x163)](_0x3f4884);else _0x444d77===_0xf2a4c9(0x142)?_0x3643dc=_0x3f4884['valueOf']():_0x3643dc=_0x3f4884;}_0x35260c+=encodeURIComponent(_0x720456)+'='+encodeURIComponent(_0x3643dc);}}return _0x35260c;}[a97_0x1819ef(0x160)](_0x58eb33){var _0x25f552=a97_0x1819ef;return this[_0x25f552(0x143)][_0x25f552(0x13e)]=!_0x58eb33,this;}async[a97_0x1819ef(0x155)](){var _0x15e17c=a97_0x1819ef,_0x3dbd2c=this[_0x15e17c(0x149)](this[_0x15e17c(0x143)]);const _0x5b6caf=this[_0x15e17c(0x15d)]['indexOf']('?')>-0x1?this[_0x15e17c(0x15d)]+'&'+_0x3dbd2c:this[_0x15e17c(0x15d)]+'?'+_0x3dbd2c;if(this[_0x15e17c(0x15c)]===_0x15e17c(0x164))return a97_0x5479ae[_0x15e17c(0x157)](_0x5b6caf);else{if(this['method']===_0x15e17c(0x15f))return jsonp(_0x5b6caf);else{const _0x55812d=stringify(this[_0x15e17c(0x143)]);return a97_0x5479ae['post'](this[_0x15e17c(0x15d)],_0x55812d);}}}}
@@ -1 +1 @@
1
- const a98_0x3a193d=a98_0x23d2;(function(_0x24f976,_0x40a95d){const _0x1edac4=a98_0x23d2,_0x19bb2c=_0x24f976();while(!![]){try{const _0x223050=parseInt(_0x1edac4(0x137))/0x1+-parseInt(_0x1edac4(0x129))/0x2+parseInt(_0x1edac4(0x13b))/0x3+-parseInt(_0x1edac4(0x12b))/0x4+-parseInt(_0x1edac4(0x134))/0x5*(-parseInt(_0x1edac4(0x12f))/0x6)+parseInt(_0x1edac4(0x11e))/0x7*(-parseInt(_0x1edac4(0x124))/0x8)+parseInt(_0x1edac4(0x140))/0x9*(parseInt(_0x1edac4(0x123))/0xa);if(_0x223050===_0x40a95d)break;else _0x19bb2c['push'](_0x19bb2c['shift']());}catch(_0xad7da6){_0x19bb2c['push'](_0x19bb2c['shift']());}}}(a98_0x372a,0x90de4));import{and,intersects}from'ol/format/filter';import a98_0x420d98 from'../../format/CQL';import a98_0x58c150 from'ol/format/WFS';function a98_0x23d2(_0x1cca83,_0x796769){const _0x372aae=a98_0x372a();return a98_0x23d2=function(_0x23d22e,_0x23d52f){_0x23d22e=_0x23d22e-0x11d;let _0x567eba=_0x372aae[_0x23d22e];return _0x567eba;},a98_0x23d2(_0x1cca83,_0x796769);}function a98_0x372a(){const _0x1598f3=['stringify','384894flYROa','catch','json','geometry\x20is\x20required','application/json','45WOAVfG','readFeature','2722167oXyydV','_geoserverQuery','queryParameters','tableName','geometry','3468180dsymsY','8BizZUI','resolution','writeGetFeature','getCoordinates','then','1845426MVcRQa','map','1297540ZISWGR','the_geom','geometryName','getFeatureInfoUrl','5514mIQwLD','where','url','features','read','1845AkOeHG','serializeToString','POST','27860rmAYSN','srsName\x20is\x20required','srsName'];a98_0x372a=function(){return _0x1598f3;};return a98_0x372a();}import a98_0x3cf789 from'ol/format/GeoJSON';import a98_0x1d25cd from'ol/source/TileWMS';import{getGeometryCenter}from'../../GeometryUtil';export default class QueryTask{constructor(_0x5319fb){const _0x35a758=a98_0x23d2;this[_0x35a758(0x120)]={},this[_0x35a758(0x131)]=_0x5319fb;}async['executeRaster'](_0x99a9cf){const _0x5a379c=a98_0x23d2,_0x36facd=new a98_0x1d25cd({'url':this['url'],'params':{'LAYERS':_0x99a9cf['tableName'],'TILED':!![],'VERSION':'1.1.1'},'serverType':'geoserver','crossOrigin':'anonymous'}),_0x22bb57=_0x99a9cf[_0x5a379c(0x125)]||0.001,_0x32604a=_0x99a9cf[_0x5a379c(0x122)];if(!_0x32604a)throw new Error(_0x5a379c(0x13e));let _0x1d5bc3=getGeometryCenter(_0x32604a);if(!_0x1d5bc3)throw new Error('geometry\x20is\x20invalid');const _0x379cbe=_0x36facd[_0x5a379c(0x12e)](_0x1d5bc3[_0x5a379c(0x127)](),_0x22bb57,'EPSG:4326',{'INFO_FORMAT':_0x5a379c(0x13f)}),_0x5065e4=await fetch(_0x379cbe,{'method':_0x5a379c(0x136)}),_0x4ac0f0=await _0x5065e4[_0x5a379c(0x13d)]();let _0x52a66f=[];const _0x581200=new a98_0x3cf789();return _0x52a66f=_0x4ac0f0[_0x5a379c(0x132)][_0x5a379c(0x12a)](_0x106367=>{const _0x235971=_0x5a379c;return _0x581200[_0x235971(0x11d)](JSON[_0x235971(0x13a)](_0x106367));}),_0x52a66f;}async['execute'](_0x1075ea){const _0x666f2d=a98_0x23d2;this[_0x666f2d(0x120)]=_0x1075ea||{};const _0x3cfe44=this[_0x666f2d(0x120)][_0x666f2d(0x12d)]||_0x666f2d(0x12c);let _0x2f065d=this['queryParameters'][_0x666f2d(0x130)],_0x1fc2a3;_0x2f065d&&(_0x1fc2a3=new a98_0x420d98()[_0x666f2d(0x133)](_0x2f065d));let _0x2928a5=_0x1fc2a3;if(this[_0x666f2d(0x120)][_0x666f2d(0x122)]){if(!this[_0x666f2d(0x120)][_0x666f2d(0x139)])throw new Error(_0x666f2d(0x138));const _0x219cef=intersects(_0x3cfe44,this[_0x666f2d(0x120)][_0x666f2d(0x122)]);_0x2928a5=_0x1fc2a3?and(_0x1fc2a3,_0x219cef):_0x219cef;}let _0x5b5d29=new a98_0x58c150()['writeGetFeature']({'srsName':this[_0x666f2d(0x120)][_0x666f2d(0x139)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x666f2d(0x120)][_0x666f2d(0x121)]],'outputFormat':_0x666f2d(0x13f),'geometryName':_0x3cfe44,'filter':_0x2928a5});const _0x3d0115=await fetch(this[_0x666f2d(0x131)],{'method':_0x666f2d(0x136),'body':new XMLSerializer()[_0x666f2d(0x135)](_0x5b5d29)}),_0x41c812=await _0x3d0115['json']();let _0x356598=[];const _0x2e3e72=new a98_0x3cf789();return _0x356598=_0x41c812[_0x666f2d(0x132)][_0x666f2d(0x12a)](_0x442b23=>{const _0x8d4ecb=_0x666f2d;return _0x2e3e72['readFeature'](JSON[_0x8d4ecb(0x13a)](_0x442b23));}),_0x356598;}[a98_0x3a193d(0x11f)](){const _0x9ca476=a98_0x3a193d,_0x47b4e5=this['queryParameters'][_0x9ca476(0x12d)]||_0x9ca476(0x12c);let _0x444058=this[_0x9ca476(0x120)][_0x9ca476(0x130)],_0x21a137;_0x444058&&(_0x21a137=new a98_0x420d98()[_0x9ca476(0x133)](_0x444058));let _0x48aa17=_0x21a137;if(this[_0x9ca476(0x120)][_0x9ca476(0x122)]){const _0x430637=intersects(_0x47b4e5,this['queryParameters'][_0x9ca476(0x122)]);_0x48aa17=_0x21a137?and(_0x21a137,_0x430637):_0x430637;}let _0xc90f78=new a98_0x58c150()[_0x9ca476(0x126)]({'srsName':this['queryParameters'][_0x9ca476(0x139)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x9ca476(0x120)][_0x9ca476(0x121)]],'outputFormat':_0x9ca476(0x13f),'geometryName':_0x47b4e5,'filter':_0x48aa17});return new Promise(_0x320365=>{const _0x3b8320=_0x9ca476;fetch(this[_0x3b8320(0x131)],{'method':_0x3b8320(0x136),'body':new XMLSerializer()[_0x3b8320(0x135)](_0xc90f78)})[_0x3b8320(0x128)](_0x36b822=>{return _0x36b822['json']();})[_0x3b8320(0x128)](_0x203c38=>{const _0x288a72=_0x3b8320;let _0x59a765=[];const _0x80197d=new a98_0x3cf789();_0x59a765=_0x203c38[_0x288a72(0x132)][_0x288a72(0x12a)](_0x3d53bb=>{const _0x2881af=_0x288a72;return _0x80197d['readFeature'](JSON[_0x2881af(0x13a)](_0x3d53bb));}),_0x320365(_0x59a765);})[_0x3b8320(0x13c)](_0x3cda20=>{_0x320365([]),console['error'](_0x3cda20);});});}}
1
+ const a99_0x533df7=a99_0x345a;(function(_0x11662d,_0x2d2ea7){const _0x2b250d=a99_0x345a,_0x3b4b9a=_0x11662d();while(!![]){try{const _0x1aede9=-parseInt(_0x2b250d(0xfe))/0x1+-parseInt(_0x2b250d(0xe8))/0x2*(parseInt(_0x2b250d(0xfb))/0x3)+-parseInt(_0x2b250d(0xf2))/0x4*(-parseInt(_0x2b250d(0xe6))/0x5)+-parseInt(_0x2b250d(0xef))/0x6+parseInt(_0x2b250d(0xde))/0x7+parseInt(_0x2b250d(0xfc))/0x8+parseInt(_0x2b250d(0xed))/0x9;if(_0x1aede9===_0x2d2ea7)break;else _0x3b4b9a['push'](_0x3b4b9a['shift']());}catch(_0x1bf4fb){_0x3b4b9a['push'](_0x3b4b9a['shift']());}}}(a99_0x1f44,0xac8d3));function a99_0x345a(_0xa12680,_0x4201d2){const _0x1f44f7=a99_0x1f44();return a99_0x345a=function(_0x345a25,_0x3bad78){_0x345a25=_0x345a25-0xde;let _0x43f1ad=_0x1f44f7[_0x345a25];return _0x43f1ad;},a99_0x345a(_0xa12680,_0x4201d2);}import{and,intersects}from'ol/format/filter';import a99_0x2bfde3 from'../../format/CQL';import a99_0x36440c from'ol/format/WFS';import a99_0x34446f from'ol/format/GeoJSON';function a99_0x1f44(){const _0x15230b=['10611414RnYYPz','getFeatureInfoUrl','7451682EvDzgt','serializeToString','getCoordinates','2656ddRuGZ','tableName','map','anonymous','geoserver','execute','POST','resolution','then','240342kfdyJo','5099880EkiHkY','where','258116aiNRGn','json','url','read','readFeature','queryParameters','writeGetFeature','9303665yOnPFk','geometry','the_geom','application/json','geometry\x20is\x20invalid','features','executeRaster','srsName','170AgUvXe','1.1.1','24cvUVff','stringify','EPSG:4326','geometryName','_geoserverQuery'];a99_0x1f44=function(){return _0x15230b;};return a99_0x1f44();}import a99_0x369ef9 from'ol/source/TileWMS';import{getGeometryCenter}from'../../GeometryUtil';export default class QueryTask{constructor(_0x4946c3){this['queryParameters']={},this['url']=_0x4946c3;}async[a99_0x533df7(0xe4)](_0x544611){const _0x3723f8=a99_0x533df7,_0x1947fd=new a99_0x369ef9({'url':this['url'],'params':{'LAYERS':_0x544611[_0x3723f8(0xf3)],'TILED':!![],'VERSION':_0x3723f8(0xe7)},'serverType':_0x3723f8(0xf6),'crossOrigin':_0x3723f8(0xf5)}),_0x4eb358=_0x544611[_0x3723f8(0xf9)]||0.001,_0xc4ae5a=_0x544611[_0x3723f8(0xdf)];if(!_0xc4ae5a)throw new Error('geometry\x20is\x20required');let _0x54b0a2=getGeometryCenter(_0xc4ae5a);if(!_0x54b0a2)throw new Error(_0x3723f8(0xe2));const _0x3ab69a=_0x1947fd[_0x3723f8(0xee)](_0x54b0a2[_0x3723f8(0xf1)](),_0x4eb358,_0x3723f8(0xea),{'INFO_FORMAT':'application/json'}),_0x41c1d5=await fetch(_0x3ab69a,{'method':_0x3723f8(0xf8)}),_0x4ca5f5=await _0x41c1d5['json']();let _0x73d9a3=[];const _0x3d012b=new a99_0x34446f();return _0x73d9a3=_0x4ca5f5[_0x3723f8(0xe3)]['map'](_0x13f922=>{const _0x536bf6=_0x3723f8;return _0x3d012b[_0x536bf6(0x102)](JSON[_0x536bf6(0xe9)](_0x13f922));}),_0x73d9a3;}async[a99_0x533df7(0xf7)](_0x32afac){const _0x4e840b=a99_0x533df7;this['queryParameters']=_0x32afac||{};const _0x576e5f=this[_0x4e840b(0x103)]['geometryName']||'the_geom';let _0x1bcd8a=this[_0x4e840b(0x103)]['where'],_0x528b9c;_0x1bcd8a&&(_0x528b9c=new a99_0x2bfde3()[_0x4e840b(0x101)](_0x1bcd8a));let _0x94af3c=_0x528b9c;if(this[_0x4e840b(0x103)][_0x4e840b(0xdf)]){if(!this[_0x4e840b(0x103)][_0x4e840b(0xe5)])throw new Error('srsName\x20is\x20required');const _0x3cf501=intersects(_0x576e5f,this[_0x4e840b(0x103)][_0x4e840b(0xdf)]);_0x94af3c=_0x528b9c?and(_0x528b9c,_0x3cf501):_0x3cf501;}let _0x2c6a23=new a99_0x36440c()['writeGetFeature']({'srsName':this['queryParameters']['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x4e840b(0x103)]['tableName']],'outputFormat':_0x4e840b(0xe1),'geometryName':_0x576e5f,'filter':_0x94af3c});const _0x348e33=await fetch(this['url'],{'method':_0x4e840b(0xf8),'body':new XMLSerializer()[_0x4e840b(0xf0)](_0x2c6a23)}),_0x413e9f=await _0x348e33[_0x4e840b(0xff)]();let _0x596448=[];const _0x2a2736=new a99_0x34446f();return _0x596448=_0x413e9f['features'][_0x4e840b(0xf4)](_0xbfb7e3=>{return _0x2a2736['readFeature'](JSON['stringify'](_0xbfb7e3));}),_0x596448;}[a99_0x533df7(0xec)](){const _0x206bd0=a99_0x533df7,_0x2eb075=this[_0x206bd0(0x103)][_0x206bd0(0xeb)]||_0x206bd0(0xe0);let _0x658468=this['queryParameters'][_0x206bd0(0xfd)],_0x4e5504;_0x658468&&(_0x4e5504=new a99_0x2bfde3()[_0x206bd0(0x101)](_0x658468));let _0x42cc22=_0x4e5504;if(this[_0x206bd0(0x103)]['geometry']){const _0x18c7bb=intersects(_0x2eb075,this['queryParameters'][_0x206bd0(0xdf)]);_0x42cc22=_0x4e5504?and(_0x4e5504,_0x18c7bb):_0x18c7bb;}let _0x16eef0=new a99_0x36440c()[_0x206bd0(0x104)]({'srsName':this[_0x206bd0(0x103)][_0x206bd0(0xe5)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x206bd0(0xf3)]],'outputFormat':'application/json','geometryName':_0x2eb075,'filter':_0x42cc22});return new Promise(_0x3f25ae=>{const _0x5ec732=_0x206bd0;fetch(this[_0x5ec732(0x100)],{'method':_0x5ec732(0xf8),'body':new XMLSerializer()[_0x5ec732(0xf0)](_0x16eef0)})[_0x5ec732(0xfa)](_0x415bcf=>{const _0x3a3351=_0x5ec732;return _0x415bcf[_0x3a3351(0xff)]();})[_0x5ec732(0xfa)](_0x309cfa=>{const _0x99da63=_0x5ec732;let _0x181b4f=[];const _0x5115ec=new a99_0x34446f();_0x181b4f=_0x309cfa[_0x99da63(0xe3)][_0x99da63(0xf4)](_0x4c7c9b=>{const _0xf157b1=_0x99da63;return _0x5115ec[_0xf157b1(0x102)](JSON['stringify'](_0x4c7c9b));}),_0x3f25ae(_0x181b4f);})['catch'](_0xc84a06=>{_0x3f25ae([]),console['error'](_0xc84a06);});});}}
@@ -1 +1 @@
1
- function a99_0x3a03(_0xd2d242,_0x1dafb4){const _0x2551ad=a99_0x2551();return a99_0x3a03=function(_0x3a03c5,_0x1a9aa9){_0x3a03c5=_0x3a03c5-0x155;let _0x738b8c=_0x2551ad[_0x3a03c5];return _0x738b8c;},a99_0x3a03(_0xd2d242,_0x1dafb4);}(function(_0x596365,_0x1ec51d){const _0x1557cd=a99_0x3a03,_0x3e4271=_0x596365();while(!![]){try{const _0x28fb1f=-parseInt(_0x1557cd(0x159))/0x1*(-parseInt(_0x1557cd(0x162))/0x2)+-parseInt(_0x1557cd(0x168))/0x3+-parseInt(_0x1557cd(0x16c))/0x4+-parseInt(_0x1557cd(0x15b))/0x5*(-parseInt(_0x1557cd(0x16b))/0x6)+-parseInt(_0x1557cd(0x158))/0x7*(-parseInt(_0x1557cd(0x169))/0x8)+parseInt(_0x1557cd(0x163))/0x9+-parseInt(_0x1557cd(0x156))/0xa*(parseInt(_0x1557cd(0x161))/0xb);if(_0x28fb1f===_0x1ec51d)break;else _0x3e4271['push'](_0x3e4271['shift']());}catch(_0xfc1c78){_0x3e4271['push'](_0x3e4271['shift']());}}}(a99_0x2551,0x8a6e8));import{appendPath}from'../UrlUtil';import a99_0x56006b from'./esri/Query';import a99_0x8d7a5d from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';function a99_0x2551(){const _0xb102ab=['geoserver-wmts','gwc/service/wmts','layerFields','1662414OVKQuW','496lhRoXD','run','4423764qzmKDZ','1111352dsBbOs','execute','19511020WbcNoy','intersects','75110hQndeg','2lDBXEZ','replace','5xeKKAL','executeRaster','name','arcgis-feature','wms','geoserver-wms','11CPyLHO','973564EhtgYt','8765784GLNscH','find'];a99_0x2551=function(){return _0xb102ab;};return a99_0x2551();}export async function selectFeaturesByGeo(_0xbf9040,_0x3443fa,_0x51a428,_0x126e42,_0x57b2bc,_0x4188e6,_0x4ba78a){const _0xa3ef32=a99_0x3a03;if(!_0x51a428||!_0x126e42||!_0x57b2bc||!_0x57b2bc)return[];let _0x5cb545=[];try{if(_0x57b2bc=='arcgis-dynamic'||_0x57b2bc==_0xa3ef32(0x15e)){const _0x336e4a=appendPath(_0x51a428,_0x126e42),_0x5c08ed=new a99_0x56006b(_0x336e4a,{'outSR':_0x3443fa,'where':_0x4188e6});_0xbf9040&&_0x3443fa&&_0x5c08ed[_0xa3ef32(0x157)](_0xbf9040,_0x3443fa),_0x5cb545=await _0x5c08ed[_0xa3ef32(0x16a)]();}else{if(_0x57b2bc=='geoserver-wfs'||_0x57b2bc==_0xa3ef32(0x160)){const _0x3c0e11=new a99_0x8d7a5d(_0x51a428),_0x202190=await getWFSLayerCapabilities(_0x51a428,_0x126e42);if(_0x202190&&_0x202190[_0xa3ef32(0x167)]){const _0x488e35=_0x202190[_0xa3ef32(0x167)][_0xa3ef32(0x164)](_0x5ec59f=>_0x5ec59f['fieldType']==0x6);_0x5cb545=await _0x3c0e11['execute']({'geometry':_0xbf9040,'tableName':_0x126e42,'geometryName':_0x488e35?_0x488e35[_0xa3ef32(0x15d)]:'','srsName':_0x3443fa,'where':_0x4188e6});}else _0x5cb545=await _0x3c0e11[_0xa3ef32(0x15c)]({'geometry':_0xbf9040,'tableName':_0x126e42,'geometryName':'','srsName':_0x3443fa,'where':_0x4188e6,'resolution':_0x4ba78a});}else{if(_0x57b2bc==_0xa3ef32(0x165)){_0x51a428=_0x51a428[_0xa3ef32(0x15a)](_0xa3ef32(0x166),_0xa3ef32(0x15f));const _0x4d619a=new a99_0x8d7a5d(_0x51a428),_0x1a2a50=await getWFSLayerCapabilities(_0x51a428,_0x126e42);if(_0x1a2a50&&_0x1a2a50[_0xa3ef32(0x167)]){let _0x44caeb=_0x1a2a50[_0xa3ef32(0x167)][_0xa3ef32(0x164)](_0x55c5ae=>_0x55c5ae['fieldType']==0x6);_0x5cb545=await _0x4d619a[_0xa3ef32(0x155)]({'geometry':_0xbf9040,'tableName':_0x126e42,'geometryName':_0x44caeb?_0x44caeb[_0xa3ef32(0x15d)]:'','srsName':_0x3443fa,'where':_0x4188e6});}else _0x5cb545=await _0x4d619a['executeRaster']({'geometry':_0xbf9040,'tableName':_0x126e42,'geometryName':'','srsName':_0x3443fa,'where':_0x4188e6,'resolution':_0x4ba78a});}}}}catch(_0x467f1e){}return _0x5cb545;}
1
+ function a100_0xb8f4(_0x5dffaf,_0x156caf){const _0x520685=a100_0x5206();return a100_0xb8f4=function(_0xb8f43e,_0x4c3c53){_0xb8f43e=_0xb8f43e-0xb2;let _0x548854=_0x520685[_0xb8f43e];return _0x548854;},a100_0xb8f4(_0x5dffaf,_0x156caf);}(function(_0x3333b8,_0x3a53d1){const _0x50dd76=a100_0xb8f4,_0x1831a8=_0x3333b8();while(!![]){try{const _0x9ccef7=-parseInt(_0x50dd76(0xb8))/0x1*(parseInt(_0x50dd76(0xb2))/0x2)+parseInt(_0x50dd76(0xc4))/0x3+-parseInt(_0x50dd76(0xbb))/0x4+parseInt(_0x50dd76(0xc3))/0x5+parseInt(_0x50dd76(0xb5))/0x6+parseInt(_0x50dd76(0xb3))/0x7+parseInt(_0x50dd76(0xc7))/0x8*(-parseInt(_0x50dd76(0xba))/0x9);if(_0x9ccef7===_0x3a53d1)break;else _0x1831a8['push'](_0x1831a8['shift']());}catch(_0x1d0016){_0x1831a8['push'](_0x1831a8['shift']());}}}(a100_0x5206,0x87192));import{appendPath}from'../UrlUtil';import a100_0x1afb91 from'./esri/Query';import a100_0xe2e17c from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';export async function selectFeaturesByGeo(_0x236285,_0x5209e4,_0x5345d2,_0xd32f11,_0x322fe1,_0x7532a0,_0x2ff2f7){const _0x11e622=a100_0xb8f4;if(!_0x5345d2||!_0xd32f11||!_0x322fe1||!_0x322fe1)return[];let _0x990427=[];try{if(_0x322fe1==_0x11e622(0xbd)||_0x322fe1==_0x11e622(0xc6)){const _0x46333c=appendPath(_0x5345d2,_0xd32f11),_0x43c285=new a100_0x1afb91(_0x46333c,{'outSR':_0x5209e4,'where':_0x7532a0});_0x236285&&_0x5209e4&&_0x43c285['intersects'](_0x236285,_0x5209e4),_0x990427=await _0x43c285[_0x11e622(0xb7)]();}else{if(_0x322fe1==_0x11e622(0xb9)||_0x322fe1==_0x11e622(0xbc)){const _0x344add=new a100_0xe2e17c(_0x5345d2),_0x5234bf=await getWFSLayerCapabilities(_0x5345d2,_0xd32f11);if(_0x5234bf&&_0x5234bf['layerFields']){const _0x392f11=_0x5234bf[_0x11e622(0xc5)][_0x11e622(0xb4)](_0x38d7d2=>_0x38d7d2[_0x11e622(0xc2)]==0x6);_0x990427=await _0x344add['execute']({'geometry':_0x236285,'tableName':_0xd32f11,'geometryName':_0x392f11?_0x392f11[_0x11e622(0xb6)]:'','srsName':_0x5209e4,'where':_0x7532a0});}else _0x990427=await _0x344add[_0x11e622(0xc1)]({'geometry':_0x236285,'tableName':_0xd32f11,'geometryName':'','srsName':_0x5209e4,'where':_0x7532a0,'resolution':_0x2ff2f7});}else{if(_0x322fe1==_0x11e622(0xc0)){_0x5345d2=_0x5345d2[_0x11e622(0xbf)](_0x11e622(0xbe),'wms');const _0x5c1d74=new a100_0xe2e17c(_0x5345d2),_0x28d8e9=await getWFSLayerCapabilities(_0x5345d2,_0xd32f11);if(_0x28d8e9&&_0x28d8e9[_0x11e622(0xc5)]){let _0x3e77b0=_0x28d8e9['layerFields'][_0x11e622(0xb4)](_0x23071e=>_0x23071e['fieldType']==0x6);_0x990427=await _0x5c1d74['execute']({'geometry':_0x236285,'tableName':_0xd32f11,'geometryName':_0x3e77b0?_0x3e77b0[_0x11e622(0xb6)]:'','srsName':_0x5209e4,'where':_0x7532a0});}else _0x990427=await _0x5c1d74[_0x11e622(0xc1)]({'geometry':_0x236285,'tableName':_0xd32f11,'geometryName':'','srsName':_0x5209e4,'where':_0x7532a0,'resolution':_0x2ff2f7});}}}}catch(_0x14b7c2){}return _0x990427;}function a100_0x5206(){const _0x10dd8e=['arcgis-feature','9626568DloekS','4498ujujEN','3773126HNIbbg','find','1473624fLDrIr','name','run','107GOAjUa','geoserver-wfs','9vVCZJm','1290904oICBbb','geoserver-wms','arcgis-dynamic','gwc/service/wmts','replace','geoserver-wmts','executeRaster','fieldType','3666200VnWGYb','2406570rrlUJr','layerFields'];a100_0x5206=function(){return _0x10dd8e;};return a100_0x5206();}