ym-gis-2d 1.0.1 → 1.0.2

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 (66) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/MousePositionControl.js +1 -1
  4. package/controls/SwipeLayerControl.js +1 -1
  5. package/conver/kml/geoJSONToKml.js +1 -1
  6. package/conver/kml/index.js +1 -1
  7. package/conver/kml/kmlToGeoJSON.js +1 -1
  8. package/entity/Feature.js +1 -1
  9. package/entity/GeometryType.js +1 -1
  10. package/feature/FeatureManager.js +1 -1
  11. package/index.js +1 -1
  12. package/interaction/Draw.js +1 -1
  13. package/interaction/InteractionManager.js +1 -1
  14. package/interaction/Select.js +1 -1
  15. package/layers/ArcgisDynamicLayer.js +1 -1
  16. package/layers/ArcgisFeatureLayer.js +1 -1
  17. package/layers/ArcgisTileLayer.js +1 -1
  18. package/layers/ArcgisWMSLayer.js +1 -1
  19. package/layers/ArcgisWMTSLayer.js +1 -1
  20. package/layers/GeoserverVectorTile.js +1 -1
  21. package/layers/GeoserverWFSLayer.js +1 -1
  22. package/layers/GeoserverWMSLayer.js +1 -1
  23. package/layers/GeoserverWMTSLayer.js +1 -1
  24. package/layers/LayerManager.js +1 -1
  25. package/layers/TDTLayer.js +1 -1
  26. package/mapView/Map.d.ts +4 -0
  27. package/mapView/Map.d.ts.map +1 -1
  28. package/mapView/Map.js +1 -1
  29. package/mapView/Map.js.map +1 -1
  30. package/mapView/View.js +1 -1
  31. package/package.json +1 -1
  32. package/plot/Plot.js +1 -1
  33. package/plot/geometry/point/Point.js +1 -1
  34. package/plot/geometry/polygon/BasePolygon.js +1 -1
  35. package/plot/geometry/polygon/Circle.js +1 -1
  36. package/plot/geometry/polygon/Polygon.js +1 -1
  37. package/plot/geometry/polygon/RectAngle.js +1 -1
  38. package/plot/geometry/polyline/BaseLine.js +1 -1
  39. package/plot/geometry/polyline/Polyline.js +1 -1
  40. package/style/PointStyleFormat.js +1 -1
  41. package/style/PolygonStyleFormat.js +1 -1
  42. package/style/PolylineStyleFormat.js +1 -1
  43. package/style/StyleManager.js +1 -1
  44. package/style/common.js +1 -1
  45. package/utils/ArrayUtil.js +1 -1
  46. package/utils/AxiosUtil.js +1 -1
  47. package/utils/EsriUtil.js +1 -1
  48. package/utils/GeometryUtil.js +1 -1
  49. package/utils/LayerUtil.js +1 -1
  50. package/utils/RegisterProjUtil.js +1 -1
  51. package/utils/StringUtil.js +1 -1
  52. package/utils/StyleUtil.js +1 -1
  53. package/utils/UrlUtil.js +1 -1
  54. package/utils/XmlUtil.js +1 -1
  55. package/utils/format/CQL.js +1 -1
  56. package/utils/format/IsMatchCql.js +1 -1
  57. package/utils/plug/canvas/ImageCache.js +1 -1
  58. package/utils/plug/canvas/PinBuilder.js +1 -1
  59. package/utils/plug/canvas/PinIcon.js +1 -1
  60. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  61. package/utils/tasks/esri/Identify.js +1 -1
  62. package/utils/tasks/esri/Query.js +1 -1
  63. package/utils/tasks/esri/Task.js +1 -1
  64. package/utils/tasks/geoserver/QueryTask.js +1 -1
  65. package/ym-gis-2d.es.js +1 -1
  66. package/ym-gis-2d.umd.js +1 -1
package/utils/UrlUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x17a210,_0x1a9cbd){const _0x4f0892=a78_0x54e9,_0x3d80ae=_0x17a210();while(!![]){try{const _0x5d78d6=parseInt(_0x4f0892(0x9d))/0x1*(parseInt(_0x4f0892(0x93))/0x2)+parseInt(_0x4f0892(0x8e))/0x3*(parseInt(_0x4f0892(0x90))/0x4)+-parseInt(_0x4f0892(0xa0))/0x5*(-parseInt(_0x4f0892(0x8d))/0x6)+-parseInt(_0x4f0892(0x9a))/0x7+-parseInt(_0x4f0892(0x89))/0x8*(-parseInt(_0x4f0892(0x91))/0x9)+parseInt(_0x4f0892(0x8a))/0xa+-parseInt(_0x4f0892(0x8b))/0xb;if(_0x5d78d6===_0x1a9cbd)break;else _0x3d80ae['push'](_0x3d80ae['shift']());}catch(_0x39b4b6){_0x3d80ae['push'](_0x3d80ae['shift']());}}}(a78_0x3c95,0x7395c));export function addArgument(_0x220ec3,_0x306796,_0x3d2787){const _0x12a375=a78_0x54e9,_0xc54ac1=new RegExp(_0x12a375(0x9e)+_0x306796+'=)([^&]*)','gi');if(_0x220ec3[_0x12a375(0x94)](_0xc54ac1))_0x220ec3=_0x220ec3['replace'](_0xc54ac1,_0x4efc93=>_0x4efc93[0x0]+_0x306796+'='+_0x3d2787);else{var _0x3073ee=_0x306796+'='+_0x3d2787,_0x5b62fb=_0x220ec3[_0x12a375(0xa1)]('?');let _0x47dcc6=_0x220ec3;_0x5b62fb>-0x1&&_0x220ec3[_0x12a375(0xa1)](_0x12a375(0x96))>-0x1&&(_0x47dcc6=_0x220ec3['substring'](_0x5b62fb+0x1),_0x5b62fb=_0x47dcc6['indexOf']('?'));if(_0x5b62fb<0x0)_0x220ec3+='?';else _0x5b62fb>=0x0&&_0x5b62fb!==_0x47dcc6['length']-0x1&&(_0x220ec3+='&');_0x220ec3=_0x220ec3+_0x3073ee;}return _0x220ec3;}export function appendParam(_0x41753a,_0x5df338){const _0x17205f=a78_0x54e9;var _0x3a11c0=_0x41753a[_0x17205f(0xa1)]('?');let _0x5f0cff=_0x41753a;if(_0x3a11c0>-0x1&&_0x41753a[_0x17205f(0xa1)]('?http')>-0x1){let _0x2b8e45=_0x3a11c0+0x1;_0x5f0cff=_0x41753a['substring'](_0x3a11c0+0x1),_0x3a11c0=_0x5f0cff['indexOf']('?');}return _0x3a11c0>-0x1?_0x41753a+'&'+_0x5df338:_0x41753a+'?'+_0x5df338;}function a78_0x54e9(_0x5a2389,_0x412847){const _0x3c95e7=a78_0x3c95();return a78_0x54e9=function(_0x54e9c9,_0x198434){_0x54e9c9=_0x54e9c9-0x89;let _0x1f623c=_0x3c95e7[_0x54e9c9];return _0x1f623c;},a78_0x54e9(_0x5a2389,_0x412847);}export function appendPath(_0x7d0022,_0x44c0c2){const _0x82feb2=a78_0x54e9;var _0x216f98=_0x7d0022[_0x82feb2(0xa1)]('?');let _0x1442f2=_0x7d0022;if(_0x216f98>-0x1&&_0x7d0022['indexOf'](_0x82feb2(0x96))>-0x1){let _0x3ba578=_0x216f98+0x1;_0x1442f2=_0x7d0022[_0x82feb2(0x9b)](_0x216f98+0x1),_0x216f98=_0x1442f2['indexOf']('?'),_0x216f98>-0x1&&(_0x216f98+=_0x3ba578);}return _0x216f98>-0x1?_0x7d0022['substring'](0x0,_0x216f98)+'/'+_0x44c0c2+_0x7d0022['substring'](_0x216f98):_0x7d0022+'/'+_0x44c0c2;}export function getUrlParams(_0x400463){const _0x5c9946=a78_0x54e9;var _0x2caac3,_0x3202a9;let _0x24e5a3=_0x400463[_0x5c9946(0xa1)](_0x5c9946(0x96)),_0x1d9772;_0x24e5a3>-0x1?_0x400463[_0x5c9946(0xa1)]('?',_0x24e5a3+0x3)>-0x1&&(_0x1d9772=(_0x2caac3=_0x400463[_0x5c9946(0x97)]('?'))===null||_0x2caac3===void 0x0?void 0x0:_0x2caac3[0x2]):_0x400463['indexOf']('?')>-0x1&&(_0x1d9772=(_0x3202a9=_0x400463[_0x5c9946(0x97)]('?'))===null||_0x3202a9===void 0x0?void 0x0:_0x3202a9[0x1]);if(_0x1d9772)return createParamByQuery(_0x1d9772);return[];}function createParamByQuery(_0x5369da){const _0x2dc3f0=a78_0x54e9;let _0x293676=_0x5369da[_0x2dc3f0(0x97)]('&');return _0x293676['map'](_0x42db6b=>{const _0xaf1cc1=_0x2dc3f0;var _0x3dd7c6=_0x42db6b[_0xaf1cc1(0x97)]('=');return{'name':_0x3dd7c6[0x0],'value':_0x3dd7c6[0x1]};});}export function parseImage(_0x57e31f,_0x226cd5){const _0x4efa69=a78_0x54e9;let _0xec3d='';if(_0x57e31f){if(_0x57e31f[_0x4efa69(0x94)](/^(data|http|https)/))_0xec3d=_0x57e31f;else{if(_0x57e31f[_0x4efa69(0x94)](/Assets/))_0xec3d=_0x57e31f;else{}}}return _0xec3d;}function a78_0x3c95(){const _0x2a08c2=['59694Vjfbgq','10233lFBPTk','body','484AjqZYe','18FURFTk','appendChild','8niugAZ','match','removeChild','?http','split','download','href','2296966YurcEO','substring','createObjectURL','201784NDRwKT','[\x5c?&](','setAttribute','5GNpwVc','indexOf','2948408SgsddD','9206980xHUBMi','22946462AGbJrk','_blank'];a78_0x3c95=function(){return _0x2a08c2;};return a78_0x3c95();}export function downloadBlob(_0x54eb36,_0x98e433){const _0xd6de24=a78_0x54e9,_0x19ac3d=URL[_0xd6de24(0x9c)](_0x54eb36);var _0x5d6e3b=document['createElement']('a');_0x5d6e3b['setAttribute'](_0xd6de24(0x99),_0x19ac3d),_0x5d6e3b[_0xd6de24(0x9f)]('target',_0xd6de24(0x8c)),_0x5d6e3b[_0xd6de24(0x9f)](_0xd6de24(0x98),_0x98e433),document[_0xd6de24(0x8f)][_0xd6de24(0x92)](_0x5d6e3b),_0x5d6e3b['click'](),document['body'][_0xd6de24(0x95)](_0x5d6e3b),URL['revokeObjectURL'](_0x19ac3d);}
1
+ (function(_0x2238ea,_0x521b9d){const _0x101032=a78_0x5c0a,_0x46062d=_0x2238ea();while(!![]){try{const _0x59a3b2=-parseInt(_0x101032(0x1c3))/0x1+parseInt(_0x101032(0x1b8))/0x2*(parseInt(_0x101032(0x1b7))/0x3)+-parseInt(_0x101032(0x1af))/0x4*(-parseInt(_0x101032(0x1ac))/0x5)+parseInt(_0x101032(0x1b2))/0x6*(-parseInt(_0x101032(0x1bb))/0x7)+-parseInt(_0x101032(0x1a9))/0x8+-parseInt(_0x101032(0x1b0))/0x9*(parseInt(_0x101032(0x1bc))/0xa)+-parseInt(_0x101032(0x1ba))/0xb*(-parseInt(_0x101032(0x1c1))/0xc);if(_0x59a3b2===_0x521b9d)break;else _0x46062d['push'](_0x46062d['shift']());}catch(_0x576029){_0x46062d['push'](_0x46062d['shift']());}}}(a78_0x65b3,0x9f139));export function addArgument(_0x5c3a93,_0x599d2,_0x48a41b){const _0x98b319=a78_0x5c0a,_0x5bf0bd=new RegExp(_0x98b319(0x1a7)+_0x599d2+_0x98b319(0x1aa),'gi');if(_0x5c3a93[_0x98b319(0x1b9)](_0x5bf0bd))_0x5c3a93=_0x5c3a93['replace'](_0x5bf0bd,_0x25a3d8=>_0x25a3d8[0x0]+_0x599d2+'='+_0x48a41b);else{var _0x411265=_0x599d2+'='+_0x48a41b,_0x27e155=_0x5c3a93[_0x98b319(0x1b3)]('?');let _0x12d1e7=_0x5c3a93;_0x27e155>-0x1&&_0x5c3a93[_0x98b319(0x1b3)](_0x98b319(0x1b1))>-0x1&&(_0x12d1e7=_0x5c3a93['substring'](_0x27e155+0x1),_0x27e155=_0x12d1e7[_0x98b319(0x1b3)]('?'));if(_0x27e155<0x0)_0x5c3a93+='?';else _0x27e155>=0x0&&_0x27e155!==_0x12d1e7[_0x98b319(0x1b5)]-0x1&&(_0x5c3a93+='&');_0x5c3a93=_0x5c3a93+_0x411265;}return _0x5c3a93;}export function appendParam(_0x3c0b9e,_0x48c089){const _0x36cde1=a78_0x5c0a;var _0x4a4011=_0x3c0b9e[_0x36cde1(0x1b3)]('?');let _0x5b9fe6=_0x3c0b9e;if(_0x4a4011>-0x1&&_0x3c0b9e[_0x36cde1(0x1b3)](_0x36cde1(0x1b1))>-0x1){let _0x4103a1=_0x4a4011+0x1;_0x5b9fe6=_0x3c0b9e['substring'](_0x4a4011+0x1),_0x4a4011=_0x5b9fe6['indexOf']('?');}return _0x4a4011>-0x1?_0x3c0b9e+'&'+_0x48c089:_0x3c0b9e+'?'+_0x48c089;}export function appendPath(_0x56032f,_0x278a88){const _0x2f439d=a78_0x5c0a;var _0x25ddf5=_0x56032f[_0x2f439d(0x1b3)]('?');let _0x59b7e8=_0x56032f;if(_0x25ddf5>-0x1&&_0x56032f[_0x2f439d(0x1b3)](_0x2f439d(0x1b1))>-0x1){let _0x4a30d6=_0x25ddf5+0x1;_0x59b7e8=_0x56032f[_0x2f439d(0x1bf)](_0x25ddf5+0x1),_0x25ddf5=_0x59b7e8[_0x2f439d(0x1b3)]('?'),_0x25ddf5>-0x1&&(_0x25ddf5+=_0x4a30d6);}return _0x25ddf5>-0x1?_0x56032f[_0x2f439d(0x1bf)](0x0,_0x25ddf5)+'/'+_0x278a88+_0x56032f[_0x2f439d(0x1bf)](_0x25ddf5):_0x56032f+'/'+_0x278a88;}export function getUrlParams(_0x2e100a){const _0xd6f24a=a78_0x5c0a;var _0xddc618,_0x51540d;let _0x1f2ecb=_0x2e100a[_0xd6f24a(0x1b3)](_0xd6f24a(0x1b1)),_0xe96c02;_0x1f2ecb>-0x1?_0x2e100a[_0xd6f24a(0x1b3)]('?',_0x1f2ecb+0x3)>-0x1&&(_0xe96c02=(_0xddc618=_0x2e100a['split']('?'))===null||_0xddc618===void 0x0?void 0x0:_0xddc618[0x2]):_0x2e100a['indexOf']('?')>-0x1&&(_0xe96c02=(_0x51540d=_0x2e100a[_0xd6f24a(0x1ab)]('?'))===null||_0x51540d===void 0x0?void 0x0:_0x51540d[0x1]);if(_0xe96c02)return createParamByQuery(_0xe96c02);return[];}function createParamByQuery(_0x353b82){const _0x32f21c=a78_0x5c0a;let _0x2d0130=_0x353b82['split']('&');return _0x2d0130[_0x32f21c(0x1c4)](_0x257bd2=>{const _0x36fbe8=_0x32f21c;var _0x432062=_0x257bd2[_0x36fbe8(0x1ab)]('=');return{'name':_0x432062[0x0],'value':_0x432062[0x1]};});}export function parseImage(_0x1cbb91,_0x2608f1){let _0x398b2e='';if(_0x1cbb91){if(_0x1cbb91['match'](/^(data|http|https)/))_0x398b2e=_0x1cbb91;else{if(_0x1cbb91['match'](/Assets/))_0x398b2e=_0x1cbb91;else{}}}return _0x398b2e;}export function downloadBlob(_0x296b8e,_0x186744){const _0x42bf61=a78_0x5c0a,_0x47289b=URL[_0x42bf61(0x1c5)](_0x296b8e);var _0x3519a1=document[_0x42bf61(0x1b4)]('a');_0x3519a1[_0x42bf61(0x1b6)](_0x42bf61(0x1c2),_0x47289b),_0x3519a1[_0x42bf61(0x1b6)](_0x42bf61(0x1c0),'_blank'),_0x3519a1['setAttribute'](_0x42bf61(0x1ad),_0x186744),document[_0x42bf61(0x1bd)][_0x42bf61(0x1be)](_0x3519a1),_0x3519a1['click'](),document['body'][_0x42bf61(0x1ae)](_0x3519a1),URL[_0x42bf61(0x1a8)](_0x47289b);}function a78_0x5c0a(_0x4e99fd,_0x13f078){const _0x65b309=a78_0x65b3();return a78_0x5c0a=function(_0x5c0a91,_0x5e7416){_0x5c0a91=_0x5c0a91-0x1a7;let _0x546a96=_0x65b309[_0x5c0a91];return _0x546a96;},a78_0x5c0a(_0x4e99fd,_0x13f078);}function a78_0x65b3(){const _0x3b3184=['createElement','length','setAttribute','879mBPkqe','7902vDeCqK','match','22HRtIyK','14szMHYK','8238760WlIGuY','body','appendChild','substring','target','9798864VlAkwc','href','889737MBuRmS','map','createObjectURL','[\x5c?&](','revokeObjectURL','10122360TjfkdV','=)([^&]*)','split','2464150fCoKfc','download','removeChild','8WPNPRr','9SCjxgR','?http','437886BllWAv','indexOf'];a78_0x65b3=function(){return _0x3b3184;};return a78_0x65b3();}
package/utils/XmlUtil.js CHANGED
@@ -1 +1 @@
1
- (function(_0x37b50b,_0x1000a1){const _0x53c4bf=a79_0xc572,_0x564378=_0x37b50b();while(!![]){try{const _0x368633=parseInt(_0x53c4bf(0x14a))/0x1*(-parseInt(_0x53c4bf(0x142))/0x2)+-parseInt(_0x53c4bf(0x140))/0x3*(-parseInt(_0x53c4bf(0x14f))/0x4)+parseInt(_0x53c4bf(0x152))/0x5*(parseInt(_0x53c4bf(0x148))/0x6)+-parseInt(_0x53c4bf(0x141))/0x7+parseInt(_0x53c4bf(0x147))/0x8*(parseInt(_0x53c4bf(0x150))/0x9)+parseInt(_0x53c4bf(0x14d))/0xa*(parseInt(_0x53c4bf(0x14c))/0xb)+parseInt(_0x53c4bf(0x143))/0xc*(-parseInt(_0x53c4bf(0x14b))/0xd);if(_0x368633===_0x1000a1)break;else _0x564378['push'](_0x564378['shift']());}catch(_0x125be8){_0x564378['push'](_0x564378['shift']());}}}(a79_0x4edc,0x4f0ef));function a79_0x4edc(){const _0x4d6aca=['2798648GmivJP','252306uSdkmj','Microsoft.XMLDOM','73hCipuQ','8957GZvUTq','209WAbeQa','339230fylszX','loadXML','2205692smRWRB','9hTcxRk','false','50yMhCuS','parseFromString','3EyLlSr','701176TsnyZp','1538XkpgCe','25884tXcaCQ','text/xml','DOMParser','async'];a79_0x4edc=function(){return _0x4d6aca;};return a79_0x4edc();}function a79_0xc572(_0x4bfeb8,_0x4627e4){const _0x4edc0f=a79_0x4edc();return a79_0xc572=function(_0xc572b2,_0x1a83a6){_0xc572b2=_0xc572b2-0x140;let _0x39ecba=_0x4edc0f[_0xc572b2];return _0x39ecba;},a79_0xc572(_0x4bfeb8,_0x4627e4);}export function readXml(_0x2784c1){const _0x472fd0=a79_0xc572;let _0xd55f95;return window[_0x472fd0(0x145)]?_0xd55f95=new DOMParser()[_0x472fd0(0x153)](_0x2784c1,_0x472fd0(0x144)):(_0xd55f95=new ActiveXObject(_0x472fd0(0x149)),_0xd55f95[_0x472fd0(0x146)]=_0x472fd0(0x151),_0xd55f95[_0x472fd0(0x14e)](_0x2784c1)),_0xd55f95;}
1
+ function a79_0xbd59(_0x3779af,_0x41d6b5){const _0x255d63=a79_0x255d();return a79_0xbd59=function(_0xbd5979,_0x484342){_0xbd5979=_0xbd5979-0x150;let _0x28103c=_0x255d63[_0xbd5979];return _0x28103c;},a79_0xbd59(_0x3779af,_0x41d6b5);}(function(_0xc2733c,_0x3e06cf){const _0x22f61e=a79_0xbd59,_0x5c36dc=_0xc2733c();while(!![]){try{const _0xaf042=-parseInt(_0x22f61e(0x150))/0x1+-parseInt(_0x22f61e(0x151))/0x2*(parseInt(_0x22f61e(0x160))/0x3)+-parseInt(_0x22f61e(0x158))/0x4+parseInt(_0x22f61e(0x157))/0x5*(parseInt(_0x22f61e(0x15a))/0x6)+-parseInt(_0x22f61e(0x15b))/0x7*(parseInt(_0x22f61e(0x155))/0x8)+-parseInt(_0x22f61e(0x15f))/0x9+parseInt(_0x22f61e(0x152))/0xa*(parseInt(_0x22f61e(0x154))/0xb);if(_0xaf042===_0x3e06cf)break;else _0x5c36dc['push'](_0x5c36dc['shift']());}catch(_0x13c282){_0x5c36dc['push'](_0x5c36dc['shift']());}}}(a79_0x255d,0x5b1a0));export function readXml(_0xc9d916){const _0xbe3600=a79_0xbd59;let _0x1b49f2;return window[_0xbe3600(0x153)]?_0x1b49f2=new DOMParser()[_0xbe3600(0x156)](_0xc9d916,_0xbe3600(0x161)):(_0x1b49f2=new ActiveXObject(_0xbe3600(0x15c)),_0x1b49f2[_0xbe3600(0x15d)]=_0xbe3600(0x15e),_0x1b49f2[_0xbe3600(0x159)](_0xc9d916)),_0x1b49f2;}function a79_0x255d(){const _0x519887=['Microsoft.XMLDOM','async','false','2098323VJboRX','326409MwzIGJ','text/xml','687883evDDit','2CKWLkw','60OqFXrF','DOMParser','1893903nGZMqS','126128ohvsgx','parseFromString','35SgmdeZ','318296IZTNfL','loadXML','560982gavMkx','91dewfpv'];a79_0x255d=function(){return _0x519887;};return a79_0x255d();}
@@ -1 +1 @@
1
- const a62_0x2f5b6d=a62_0x2651;function a62_0x3062(){const _0x191a15=['INTERSECTS','CONTAINS','condition','PropertyIsGreaterThanOrEqualTo','split','WITHIN','index','RPAREN','INTERSECTS(','WITHIN(','COMPARISON','CLASS_NAME','Within','like','IS_NULL','substring','text','9EmIqdB','BBOX','expression','greaterThanOrEqualTo','warn','pop','readGeometry','剩余的节点无法解析:\x20\x0a','END','indexOf','number','Unknown\x20token\x20type\x20','\x0a\x20\x20\x20\x20','length','replaceAll','parseInToOr','Contains','type','PropertyIsNotEqualTo','PropertyIsBetween','lowerBoundary','contains','\x20or\x20','propertyName','logicals','32QCkEsg','CONTAINS(','12ANVqZz','BETWEEN','notEqualTo','srsName','tokens','VALUE','nextToken','COMMA','ERROR:\x20In\x20parsing:\x20[','precedence','LOGICAL','read','equalTo','buildAst','177585HGbuCi','NOT','shift','write','geometry','PROPERTY','1304142SEqlnt','NOT\x20(','PropertyIsLessThanOrEqualTo','Not','SPATIAL','geometryName','conditions','PropertyIsLessThan','905270qQnpVY','tryToken','toLowerCase','bbox','push','charAt','10524XgBdXH','],\x20expected\x20one\x20of:\x20','string','patterns','LPAREN','126651AuGqNq','join','follows','property','tokenize','\x20AND\x20','remainder','IS\x20NULL','isNull','and','GEOMETRY','greaterThan','BBOX(','18062fYzKeK','toUpperCase','replace','579jlkOdi','4506WUZiAf','operatorReverse','between','intersects','inPatterns','exec','tagName_','operators','lastIndexOf','3015016jmFqAd'];a62_0x3062=function(){return _0x191a15;};return a62_0x3062();}(function(_0x3537b3,_0x3c6342){const _0x3b04d3=a62_0x2651,_0x2bc40f=_0x3537b3();while(!![]){try{const _0x1ea132=-parseInt(_0x3b04d3(0x189))/0x1+parseInt(_0x3b04d3(0x19a))/0x2*(-parseInt(_0x3b04d3(0x199))/0x3)+parseInt(_0x3b04d3(0x1ce))/0x4*(-parseInt(_0x3b04d3(0x170))/0x5)+parseInt(_0x3b04d3(0x1d0))/0x6*(parseInt(_0x3b04d3(0x176))/0x7)+-parseInt(_0x3b04d3(0x1a3))/0x8+-parseInt(_0x3b04d3(0x1b5))/0x9*(parseInt(_0x3b04d3(0x17e))/0xa)+-parseInt(_0x3b04d3(0x196))/0xb*(-parseInt(_0x3b04d3(0x184))/0xc);if(_0x1ea132===_0x3c6342)break;else _0x2bc40f['push'](_0x2bc40f['shift']());}catch(_0x223b4f){_0x2bc40f['push'](_0x2bc40f['shift']());}}}(a62_0x3062,0x79faa));import*as a62_0x27e618 from'ol/format/filter';function a62_0x2651(_0x3d2c96,_0x27405d){const _0x306237=a62_0x3062();return a62_0x2651=function(_0x265150,_0x439d77){_0x265150=_0x265150-0x16c;let _0x3ad273=_0x306237[_0x265150];return _0x3ad273;},a62_0x2651(_0x3d2c96,_0x27405d);}import{WKT}from'ol/format';import a62_0x588d51 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x31b2f7=a62_0x2651;this[_0x31b2f7(0x19e)]=/ (IN) /i,this[_0x31b2f7(0x1d4)]=[_0x31b2f7(0x175),_0x31b2f7(0x1ae),'VALUE','LOGICAL'],this[_0x31b2f7(0x187)]={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0x47ef37){const _0x16383e=_0x31b2f7;let _0x86cc6=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x16383e(0x19f)](_0x47ef37);if(_0x86cc6){let _0x431ef4=_0x47ef37[_0x16383e(0x1c2)],_0x333c51=_0x47ef37[_0x16383e(0x1be)]('(',_0x86cc6[0x0][_0x16383e(0x1c2)]);if(_0x333c51>-0x1){let _0x2c56d1=0x1;while(_0x333c51<_0x431ef4&&_0x2c56d1>0x0){_0x333c51++;switch(_0x47ef37[_0x16383e(0x183)](_0x333c51)){case'(':_0x2c56d1++;break;case')':_0x2c56d1--;break;default:}}}return[_0x47ef37[_0x16383e(0x1b3)](0x0,_0x333c51+0x1)];}},'END':/^$/},this[_0x31b2f7(0x18b)]={'LPAREN':[_0x31b2f7(0x193),_0x31b2f7(0x17a),_0x31b2f7(0x175),_0x31b2f7(0x1d5),_0x31b2f7(0x188)],'RPAREN':['NOT','LOGICAL','END','RPAREN'],'PROPERTY':[_0x31b2f7(0x1ae),'BETWEEN',_0x31b2f7(0x1d7),_0x31b2f7(0x1b2)],'BETWEEN':['VALUE'],'IS_NULL':['END'],'COMPARISON':['VALUE'],'COMMA':[_0x31b2f7(0x193),_0x31b2f7(0x1d5),'PROPERTY'],'VALUE':[_0x31b2f7(0x16c),'COMMA',_0x31b2f7(0x1ab),_0x31b2f7(0x1bd)],'SPATIAL':['LPAREN'],'LOGICAL':[_0x31b2f7(0x171),_0x31b2f7(0x1d5),_0x31b2f7(0x17a),'PROPERTY','LPAREN'],'NOT':['PROPERTY','LPAREN'],'GEOMETRY':[_0x31b2f7(0x1d7),_0x31b2f7(0x1ab)]},this[_0x31b2f7(0x1a1)]={'=':a62_0x27e618[_0x31b2f7(0x16e)],'<>':a62_0x27e618[_0x31b2f7(0x1d2)],'<':a62_0x27e618['lessThan'],'<=':a62_0x27e618['lessThanOrEqualTo'],'>':a62_0x27e618[_0x31b2f7(0x194)],'>=':a62_0x27e618[_0x31b2f7(0x1b8)],'LIKE':a62_0x27e618[_0x31b2f7(0x1b1)],'BETWEEN':a62_0x27e618[_0x31b2f7(0x19c)],'IS\x20NULL':a62_0x27e618[_0x31b2f7(0x191)]},this[_0x31b2f7(0x19b)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':'LIKE','PropertyIsNull':_0x31b2f7(0x190),'PropertyIsBetween':_0x31b2f7(0x1d1)},this[_0x31b2f7(0x1cd)]={'AND':a62_0x27e618[_0x31b2f7(0x192)],'OR':a62_0x27e618['or']},this[_0x31b2f7(0x1d9)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x3520c8,_0x4ed5a1){const _0x5a4dc1=a62_0x2651;return _0x4ed5a1 instanceof RegExp?_0x4ed5a1[_0x5a4dc1(0x19f)](_0x3520c8):_0x4ed5a1(_0x3520c8);}[a62_0x2f5b6d(0x1d6)](_0x1c1bca,_0x58e3cd){const _0x16f655=a62_0x2f5b6d;let _0x30db60,_0x4d7e33,_0x557956=_0x58e3cd[_0x16f655(0x1c2)];for(_0x30db60=0x0;_0x30db60<_0x557956;_0x30db60++){_0x4d7e33=_0x58e3cd[_0x30db60];let _0xe77cd5=this[_0x16f655(0x187)][_0x4d7e33],_0x379a08=this['tryToken'](_0x1c1bca,_0xe77cd5);if(_0x379a08){let _0x5e4991=_0x379a08[0x0],_0x2942c9=_0x1c1bca['substring'](_0x5e4991['length'])[_0x16f655(0x198)](/^\s*/,'');return{'type':_0x4d7e33,'text':_0x5e4991,'remainder':_0x2942c9};}}let _0x7f8d95=_0x16f655(0x1d8)+_0x1c1bca+_0x16f655(0x185);for(_0x30db60=0x0;_0x30db60<_0x557956;_0x30db60++){_0x4d7e33=_0x58e3cd[_0x30db60],_0x7f8d95+=_0x16f655(0x1c1)+_0x4d7e33+':\x20'+this[_0x16f655(0x187)][_0x4d7e33];}throw new Error(_0x7f8d95);}[a62_0x2f5b6d(0x18d)](_0x4094ee){const _0x27255e=a62_0x2f5b6d;_0x4094ee=_0x4094ee[_0x27255e(0x1c3)]('[','')[_0x27255e(0x1c3)](']','');let _0x2bdc12=this[_0x27255e(0x17f)](_0x4094ee,this[_0x27255e(0x19e)]);_0x2bdc12&&(_0x4094ee=this['parseInToOr'](_0x4094ee,_0x2bdc12));let _0x53089e=[],_0xcc989c,_0x10186f=[_0x27255e(0x171),'GEOMETRY',_0x27255e(0x17a),'PROPERTY',_0x27255e(0x188)];do{_0xcc989c=this[_0x27255e(0x1d6)](_0x4094ee,_0x10186f),_0x4094ee=_0xcc989c[_0x27255e(0x18f)],_0x10186f=this['follows'][_0xcc989c['type']];if(_0xcc989c['type']!==_0x27255e(0x1bd)&&!_0x10186f)throw new Error('No\x20follows\x20list\x20for\x20'+_0xcc989c[_0x27255e(0x1c6)]);_0x53089e['push'](_0xcc989c);}while(_0xcc989c[_0x27255e(0x1c6)]!=='END');return _0x53089e;}[a62_0x2f5b6d(0x1c4)](_0x493cfa,_0x3bcbf4){const _0x1c6f3b=a62_0x2f5b6d;let _0x16d8e7=this['tryToken'](_0x493cfa,/\((.+?)\)/g);if(_0x16d8e7){let _0x5d1df8=_0x493cfa['substring'](0x0,_0x3bcbf4[_0x1c6f3b(0x1aa)]),_0x283e8b=_0x16d8e7[0x1],_0x4d7de6=_0x283e8b[_0x1c6f3b(0x1c3)]('\x20','')[_0x1c6f3b(0x1a8)](','),_0x2c76c8='',_0x38dc23='';if(_0x5d1df8['indexOf']('\x20')>-0x1){let _0xa0a0f9=_0x5d1df8[_0x1c6f3b(0x1a2)]('\x20');_0x38dc23=_0x5d1df8[_0x1c6f3b(0x1b3)](0x0,_0xa0a0f9+0x1),_0x2c76c8=_0x5d1df8[_0x1c6f3b(0x1b3)](_0xa0a0f9+0x1,_0x5d1df8['length']);}else _0x2c76c8=_0x5d1df8;let _0x498885=_0x38dc23;for(let _0x1d84d3=0x0;_0x1d84d3<_0x4d7de6['length'];_0x1d84d3++){let _0x29c04f=_0x4d7de6[_0x1d84d3];_0x498885+=_0x2c76c8+'='+_0x29c04f,_0x1d84d3<_0x4d7de6[_0x1c6f3b(0x1c2)]-0x1&&(_0x498885+=_0x1c6f3b(0x1cb));}return _0x498885;}return _0x493cfa;}[a62_0x2f5b6d(0x16f)](_0x3fc887){const _0x91802b=a62_0x2f5b6d;let _0x303172=this,_0x32b34e=[],_0x9585cf=[];while(_0x3fc887[_0x91802b(0x1c2)]){let _0x36cf8d=_0x3fc887[_0x91802b(0x172)]();switch(_0x36cf8d[_0x91802b(0x1c6)]){case'PROPERTY':case _0x91802b(0x193):case'VALUE':_0x9585cf[_0x91802b(0x182)](_0x36cf8d);break;case'COMPARISON':case'BETWEEN':case _0x91802b(0x1b2):case _0x91802b(0x16c):{let _0x471864=this[_0x91802b(0x1d9)][_0x36cf8d[_0x91802b(0x1c6)]];while(_0x32b34e[_0x91802b(0x1c2)]>0x0&&this[_0x91802b(0x1d9)][_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1][_0x91802b(0x1c6)]]<=_0x471864){_0x9585cf['push'](_0x32b34e[_0x91802b(0x1ba)]());}_0x32b34e[_0x91802b(0x182)](_0x36cf8d);break;}case _0x91802b(0x17a):case'NOT':case _0x91802b(0x188):_0x32b34e[_0x91802b(0x182)](_0x36cf8d);break;case _0x91802b(0x1ab):while(_0x32b34e['length']>0x0&&_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1][_0x91802b(0x1c6)]!==_0x91802b(0x188)){_0x9585cf[_0x91802b(0x182)](_0x32b34e['pop']());}_0x32b34e['pop']();_0x32b34e[_0x91802b(0x1c2)]>0x0&&(_0x32b34e[_0x32b34e['length']-0x1]['type']===_0x91802b(0x17a)||_0x32b34e[_0x32b34e[_0x91802b(0x1c2)]-0x1]['type']==='NOT')&&_0x9585cf[_0x91802b(0x182)](_0x32b34e[_0x91802b(0x1ba)]());break;case _0x91802b(0x1d7):case _0x91802b(0x1bd):break;default:throw new Error(_0x91802b(0x1c0)+_0x36cf8d['type']);}}while(_0x32b34e[_0x91802b(0x1c2)]>0x0){_0x9585cf[_0x91802b(0x182)](_0x32b34e['pop']());}function _0x17ad9e(){const _0x4cf607=_0x91802b;let _0x19893a,_0x34c0dc,_0x487d8a=_0x9585cf['pop']();switch(_0x487d8a[_0x4cf607(0x1c6)]){case _0x4cf607(0x16c):{let _0x3da43e=_0x17ad9e(),_0x1fc43c=_0x17ad9e();return new _0x303172[(_0x4cf607(0x1cd))][(_0x487d8a['text'][_0x4cf607(0x197)]())](_0x1fc43c,_0x3da43e);}case'NOT':{let _0x1876d2=_0x17ad9e();return a62_0x27e618['not'](_0x1876d2);}case _0x4cf607(0x1d1):{let _0x419e02,_0x9ca5e1;return _0x9585cf[_0x4cf607(0x1ba)](),_0x9ca5e1=_0x17ad9e(),_0x419e02=_0x17ad9e(),_0x34c0dc=_0x17ad9e(),a62_0x27e618[_0x4cf607(0x19c)](_0x34c0dc,_0x419e02,_0x9ca5e1);}case _0x4cf607(0x1ae):{return _0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e(),new _0x303172[(_0x4cf607(0x1a1))][(_0x487d8a['text'][_0x4cf607(0x197)]())](_0x34c0dc,_0x19893a);}case _0x4cf607(0x1b2):_0x34c0dc=_0x17ad9e();return new _0x303172[(_0x4cf607(0x1a1))][(_0x487d8a[_0x4cf607(0x1b4)][_0x4cf607(0x197)]())](_0x34c0dc);case _0x4cf607(0x1d5):{let _0x2f6768=_0x487d8a[_0x4cf607(0x1b4)]['match'](/^'(.*)'$/);return _0x2f6768?_0x2f6768[0x1][_0x4cf607(0x198)](/''/g,'\x27'):Number(_0x487d8a[_0x4cf607(0x1b4)]);}case'SPATIAL':switch(_0x487d8a[_0x4cf607(0x1b4)][_0x4cf607(0x197)]()){case _0x4cf607(0x1b6):{let _0x544c30=_0x17ad9e(),_0x1cf958=_0x17ad9e(),_0x179645=_0x17ad9e(),_0x2cca07=_0x17ad9e(),_0x13dc1d=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x181)](_0x13dc1d,[_0x2cca07,_0x179645,_0x1cf958,_0x544c30]);}case _0x4cf607(0x1a4):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x19d)](_0x34c0dc,_0x19893a);case _0x4cf607(0x1a9):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618['within'](_0x34c0dc,_0x19893a);case _0x4cf607(0x1a5):_0x19893a=_0x17ad9e(),_0x34c0dc=_0x17ad9e();return a62_0x27e618[_0x4cf607(0x1ca)](_0x34c0dc,_0x19893a);}break;case'GEOMETRY':return new WKT()[_0x4cf607(0x1bb)](_0x487d8a[_0x4cf607(0x1b4)],{});default:return _0x487d8a[_0x4cf607(0x1b4)];}}let _0x371f5d=_0x17ad9e();if(_0x9585cf['length']>0x0){let _0x527639=_0x91802b(0x1bc);for(let _0x290f38=_0x9585cf[_0x91802b(0x1c2)]-0x1;_0x290f38>=0x0;_0x290f38--){_0x527639+=_0x9585cf[_0x290f38][_0x91802b(0x1c6)]+':\x20'+_0x9585cf[_0x290f38][_0x91802b(0x1b4)]+'\x0a';}throw new Error(_0x527639);}return _0x371f5d;}[a62_0x2f5b6d(0x16d)](_0x48f79d){const _0x4977a9=a62_0x2f5b6d;try{return this[_0x4977a9(0x16f)](this['tokenize'](_0x48f79d));}catch(_0x4c3966){console[_0x4977a9(0x1b9)]('CQL解析失败:'+_0x48f79d),console[_0x4977a9(0x1b9)](_0x4c3966);}}[a62_0x2f5b6d(0x173)](_0x37ac20){const _0x9aa538=a62_0x2f5b6d;switch(_0x37ac20['tagName_']){case _0x9aa538(0x1b6):return _0x9aa538(0x195)+_0x37ac20[_0x9aa538(0x17b)]+','+_0x37ac20['extent'][_0x9aa538(0x18a)](',')+','+_0x37ac20[_0x9aa538(0x1d3)]+')';case _0x9aa538(0x1b0):return _0x9aa538(0x1ad)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20['geometry'])+')';case'Intersects':return _0x9aa538(0x1ac)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20[_0x9aa538(0x174)])+')';case _0x9aa538(0x1c5):return _0x9aa538(0x1cf)+_0x37ac20[_0x9aa538(0x17b)]+',\x20'+this[_0x9aa538(0x1bb)](_0x37ac20[_0x9aa538(0x174)])+')';case _0x9aa538(0x179):return _0x9aa538(0x177)+this['write'](_0x37ac20[_0x9aa538(0x1a6)])+')';case'And':case'Or':{let _0x4f353e='(',_0x2c74e8=!![];for(let _0x564bb2=0x0;_0x564bb2<_0x37ac20[_0x9aa538(0x17c)][_0x9aa538(0x1c2)];_0x564bb2++){_0x2c74e8?_0x2c74e8=![]:_0x4f353e+=')\x20'+_0x37ac20['tagName_'][_0x9aa538(0x180)]()+'\x20(',_0x4f353e+=this[_0x9aa538(0x173)](_0x37ac20[_0x9aa538(0x17c)][_0x564bb2]);}return _0x4f353e+')';}case _0x9aa538(0x1c8):return _0x37ac20[_0x9aa538(0x18c)]+'\x20BETWEEN\x20'+this['write'](_0x37ac20[_0x9aa538(0x1c9)])+_0x9aa538(0x18e)+this[_0x9aa538(0x173)](_0x37ac20['upperBoundary']);case'PropertyIsEqualTo':case _0x9aa538(0x1c7):case _0x9aa538(0x17d):case _0x9aa538(0x178):case'PropertyIsGreaterThan':case _0x9aa538(0x1a7):case'PropertyIsLike':case'PropertyIsNull':{return _0x37ac20['expression']!==null?_0x37ac20['propertyName']+'\x20'+this[_0x9aa538(0x19b)][_0x37ac20[_0x9aa538(0x1a0)]]+'\x20'+this[_0x9aa538(0x173)](_0x37ac20[_0x9aa538(0x1b7)]):_0x37ac20[_0x9aa538(0x1cc)]+'\x20'+this[_0x9aa538(0x19b)][_0x37ac20[_0x9aa538(0x1a0)]];}case undefined:if(typeof _0x37ac20===_0x9aa538(0x186))return'\x27'+_0x37ac20[_0x9aa538(0x198)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x37ac20===_0x9aa538(0x1bf))return String(_0x37ac20);}break;default:throw new Error('Can\x27t\x20encode:\x20'+_0x37ac20[_0x9aa538(0x1af)]+'\x20'+_0x37ac20);}}[a62_0x2f5b6d(0x1bb)](_0xabb107){if(_0xabb107 instanceof a62_0x588d51)return new WKT()['writeGeometry'](_0xabb107);}}
1
+ const a62_0x57cbb3=a62_0x1653;(function(_0x39fde7,_0x1ed199){const _0x3d488a=a62_0x1653,_0xee080=_0x39fde7();while(!![]){try{const _0x7f3103=-parseInt(_0x3d488a(0x129))/0x1*(parseInt(_0x3d488a(0xc5))/0x2)+-parseInt(_0x3d488a(0xf0))/0x3*(-parseInt(_0x3d488a(0x119))/0x4)+-parseInt(_0x3d488a(0x104))/0x5*(parseInt(_0x3d488a(0xd5))/0x6)+-parseInt(_0x3d488a(0x111))/0x7+parseInt(_0x3d488a(0x10f))/0x8*(parseInt(_0x3d488a(0x121))/0x9)+-parseInt(_0x3d488a(0x10d))/0xa*(parseInt(_0x3d488a(0xc3))/0xb)+parseInt(_0x3d488a(0xe7))/0xc;if(_0x7f3103===_0x1ed199)break;else _0xee080['push'](_0xee080['shift']());}catch(_0x337a86){_0xee080['push'](_0xee080['shift']());}}}(a62_0x1b40,0x942e5));function a62_0x1653(_0x5491b8,_0x4d6ae6){const _0x1b40a3=a62_0x1b40();return a62_0x1653=function(_0x1653c8,_0x3ba420){_0x1653c8=_0x1653c8-0xc0;let _0x42f860=_0x1b40a3[_0x1653c8];return _0x42f860;},a62_0x1653(_0x5491b8,_0x4d6ae6);}import*as a62_0x2aba56 from'ol/format/filter';import{WKT}from'ol/format';function a62_0x1b40(){const _0x4c540e=['],\x20expected\x20one\x20of:\x20','replaceAll','shift','2hVIchH','PropertyIsNotEqualTo','BBOX(','operators','not','readGeometry','isNull','toUpperCase','inPatterns','66Opklcd','precedence','250872yKtkGL','pop','LOGICAL','CLASS_NAME','remainder','SPATIAL','Can\x27t\x20encode:\x20','intersects','greaterThanOrEqualTo','and','PropertyIsNull','BETWEEN','geometry','push','between','length','2118EllezC','COMMA','Unknown\x20token\x20type\x20','substring','RPAREN','charAt','split','expression','\x20or\x20','\x20BETWEEN\x20','follows','PropertyIsLessThan','LIKE','string','VALUE','IS_NULL','INTERSECTS(','ERROR:\x20In\x20parsing:\x20[','15329832ublWxb','tokens','GEOMETRY','buildAst','PropertyIsBetween','geometryName','replace','PropertyIsLike','Within','201kzyPoG','tryToken','NOT','notEqualTo','contains','WITHIN(','CONTAINS(','END','LPAREN','PropertyIsGreaterThanOrEqualTo','write','COMPARISON','Not','PropertyIsGreaterThan','nextToken','tokenize','CQL解析失败:','index','lessThanOrEqualTo','PropertyIsEqualTo','4450HijoOx','conditions','patterns','No\x20follows\x20list\x20for\x20','lastIndexOf','upperBoundary','operatorReverse','like','tagName_','210DXCAgl','parseInToOr','1400xVriaS','match','5849242VrekxA','writeGeometry','property','type','propertyName','WITHIN','greaterThan','INTERSECTS','18344reFfvM','toLowerCase','extent','text','CONTAINS','PROPERTY','IS\x20NULL','NOT\x20(','21753SUuaxy','logicals','Contains','join','\x20AND\x20'];a62_0x1b40=function(){return _0x4c540e;};return a62_0x1b40();}import a62_0x2c5953 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x1a386b=a62_0x1653;this[_0x1a386b(0xc2)]=/ (IN) /i,this[_0x1a386b(0xe8)]=[_0x1a386b(0x11e),'COMPARISON',_0x1a386b(0xe3),'LOGICAL'],this[_0x1a386b(0x106)]={'PROPERTY':/^[_a-zA-Z]\w*/,'COMPARISON':/^(=|<>|<=|<|>=|>|LIKE)/i,'IS_NULL':/^IS NULL/i,'COMMA':/^,/,'LOGICAL':/^(AND|OR)/i,'VALUE':/^('([^']|'')*'|-?\d+(\.\d*)?|\.\d+)/,'LPAREN':/^\(/,'RPAREN':/^\)/,'SPATIAL':/^(BBOX|INTERSECTS|DWITHIN|WITHIN|CONTAINS)/i,'NOT':/^NOT/i,'BETWEEN':/^BETWEEN/i,'GEOMETRY':function(_0x4e8db7){const _0x3732a5=_0x1a386b;let _0x93f1a2=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/['exec'](_0x4e8db7);if(_0x93f1a2){let _0x2e372f=_0x4e8db7[_0x3732a5(0xd4)],_0x4e2c08=_0x4e8db7['indexOf']('(',_0x93f1a2[0x0]['length']);if(_0x4e2c08>-0x1){let _0x42f71a=0x1;while(_0x4e2c08<_0x2e372f&&_0x42f71a>0x0){_0x4e2c08++;switch(_0x4e8db7[_0x3732a5(0xda)](_0x4e2c08)){case'(':_0x42f71a++;break;case')':_0x42f71a--;break;default:}}}return[_0x4e8db7['substring'](0x0,_0x4e2c08+0x1)];}},'END':/^$/},this[_0x1a386b(0xdf)]={'LPAREN':[_0x1a386b(0xe9),_0x1a386b(0xca),'PROPERTY','VALUE',_0x1a386b(0xf8)],'RPAREN':[_0x1a386b(0xf2),'LOGICAL',_0x1a386b(0xf7),_0x1a386b(0xd9)],'PROPERTY':[_0x1a386b(0xfb),_0x1a386b(0xd0),_0x1a386b(0xd6),_0x1a386b(0xe4)],'BETWEEN':[_0x1a386b(0xe3)],'IS_NULL':[_0x1a386b(0xf7)],'COMPARISON':[_0x1a386b(0xe3)],'COMMA':[_0x1a386b(0xe9),_0x1a386b(0xe3),_0x1a386b(0x11e)],'VALUE':[_0x1a386b(0xc7),_0x1a386b(0xd6),_0x1a386b(0xd9),_0x1a386b(0xf7)],'SPATIAL':['LPAREN'],'LOGICAL':[_0x1a386b(0xf2),_0x1a386b(0xe3),'SPATIAL',_0x1a386b(0x11e),_0x1a386b(0xf8)],'NOT':['PROPERTY','LPAREN'],'GEOMETRY':['COMMA',_0x1a386b(0xd9)]},this['operators']={'=':a62_0x2aba56['equalTo'],'<>':a62_0x2aba56[_0x1a386b(0xf3)],'<':a62_0x2aba56['lessThan'],'<=':a62_0x2aba56[_0x1a386b(0x102)],'>':a62_0x2aba56[_0x1a386b(0x117)],'>=':a62_0x2aba56[_0x1a386b(0xcd)],'LIKE':a62_0x2aba56[_0x1a386b(0x10b)],'BETWEEN':a62_0x2aba56[_0x1a386b(0xd3)],'IS\x20NULL':a62_0x2aba56[_0x1a386b(0xc0)]},this['operatorReverse']={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x1a386b(0xe1),'PropertyIsNull':_0x1a386b(0x11f),'PropertyIsBetween':_0x1a386b(0xd0)},this['logicals']={'AND':a62_0x2aba56[_0x1a386b(0xce)],'OR':a62_0x2aba56['or']},this[_0x1a386b(0xc4)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x5be321,_0x598b05){return _0x598b05 instanceof RegExp?_0x598b05['exec'](_0x5be321):_0x598b05(_0x5be321);}[a62_0x57cbb3(0xfe)](_0x285e09,_0x6e4ff6){const _0x5f6b3f=a62_0x57cbb3;let _0x5d39e3,_0xc04321,_0x432f03=_0x6e4ff6[_0x5f6b3f(0xd4)];for(_0x5d39e3=0x0;_0x5d39e3<_0x432f03;_0x5d39e3++){_0xc04321=_0x6e4ff6[_0x5d39e3];let _0x4894b7=this[_0x5f6b3f(0x106)][_0xc04321],_0x48299c=this[_0x5f6b3f(0xf1)](_0x285e09,_0x4894b7);if(_0x48299c){let _0x897c3f=_0x48299c[0x0],_0x16bd42=_0x285e09[_0x5f6b3f(0xd8)](_0x897c3f[_0x5f6b3f(0xd4)])[_0x5f6b3f(0xed)](/^\s*/,'');return{'type':_0xc04321,'text':_0x897c3f,'remainder':_0x16bd42};}}let _0x4efae0=_0x5f6b3f(0xe6)+_0x285e09+_0x5f6b3f(0x126);for(_0x5d39e3=0x0;_0x5d39e3<_0x432f03;_0x5d39e3++){_0xc04321=_0x6e4ff6[_0x5d39e3],_0x4efae0+='\x0a\x20\x20\x20\x20'+_0xc04321+':\x20'+this[_0x5f6b3f(0x106)][_0xc04321];}throw new Error(_0x4efae0);}[a62_0x57cbb3(0xff)](_0x4cfa8a){const _0x1a33e8=a62_0x57cbb3;_0x4cfa8a=_0x4cfa8a[_0x1a33e8(0x127)]('[','')['replaceAll'](']','');let _0x5845e3=this[_0x1a33e8(0xf1)](_0x4cfa8a,this[_0x1a33e8(0xc2)]);_0x5845e3&&(_0x4cfa8a=this[_0x1a33e8(0x10e)](_0x4cfa8a,_0x5845e3));let _0x2a1a15=[],_0x30a48c,_0x4a7902=[_0x1a33e8(0xf2),_0x1a33e8(0xe9),_0x1a33e8(0xca),'PROPERTY',_0x1a33e8(0xf8)];do{_0x30a48c=this[_0x1a33e8(0xfe)](_0x4cfa8a,_0x4a7902),_0x4cfa8a=_0x30a48c[_0x1a33e8(0xc9)],_0x4a7902=this[_0x1a33e8(0xdf)][_0x30a48c[_0x1a33e8(0x114)]];if(_0x30a48c[_0x1a33e8(0x114)]!=='END'&&!_0x4a7902)throw new Error(_0x1a33e8(0x107)+_0x30a48c[_0x1a33e8(0x114)]);_0x2a1a15['push'](_0x30a48c);}while(_0x30a48c['type']!==_0x1a33e8(0xf7));return _0x2a1a15;}['parseInToOr'](_0x1387ac,_0x254b49){const _0x162188=a62_0x57cbb3;let _0x148178=this[_0x162188(0xf1)](_0x1387ac,/\((.+?)\)/g);if(_0x148178){let _0xd7a730=_0x1387ac[_0x162188(0xd8)](0x0,_0x254b49[_0x162188(0x101)]),_0x9d531a=_0x148178[0x1],_0x28e03b=_0x9d531a['replaceAll']('\x20','')[_0x162188(0xdb)](','),_0x2242f2='',_0x51e9e9='';if(_0xd7a730['indexOf']('\x20')>-0x1){let _0x2d5f0f=_0xd7a730[_0x162188(0x108)]('\x20');_0x51e9e9=_0xd7a730[_0x162188(0xd8)](0x0,_0x2d5f0f+0x1),_0x2242f2=_0xd7a730[_0x162188(0xd8)](_0x2d5f0f+0x1,_0xd7a730[_0x162188(0xd4)]);}else _0x2242f2=_0xd7a730;let _0x3b4a51=_0x51e9e9;for(let _0x5be212=0x0;_0x5be212<_0x28e03b['length'];_0x5be212++){let _0x199564=_0x28e03b[_0x5be212];_0x3b4a51+=_0x2242f2+'='+_0x199564,_0x5be212<_0x28e03b['length']-0x1&&(_0x3b4a51+=_0x162188(0xdd));}return _0x3b4a51;}return _0x1387ac;}['buildAst'](_0x3ca8f5){const _0x152b42=a62_0x57cbb3;let _0xe00967=this,_0x1b6f7b=[],_0x3dc1d8=[];while(_0x3ca8f5[_0x152b42(0xd4)]){let _0x55fa8d=_0x3ca8f5[_0x152b42(0x128)]();switch(_0x55fa8d[_0x152b42(0x114)]){case'PROPERTY':case _0x152b42(0xe9):case _0x152b42(0xe3):_0x3dc1d8['push'](_0x55fa8d);break;case'COMPARISON':case _0x152b42(0xd0):case'IS_NULL':case _0x152b42(0xc7):{let _0x2f9852=this[_0x152b42(0xc4)][_0x55fa8d[_0x152b42(0x114)]];while(_0x1b6f7b[_0x152b42(0xd4)]>0x0&&this['precedence'][_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]]<=_0x2f9852){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}_0x1b6f7b[_0x152b42(0xd2)](_0x55fa8d);break;}case _0x152b42(0xca):case'NOT':case _0x152b42(0xf8):_0x1b6f7b[_0x152b42(0xd2)](_0x55fa8d);break;case _0x152b42(0xd9):while(_0x1b6f7b[_0x152b42(0xd4)]>0x0&&_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]!=='LPAREN'){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}_0x1b6f7b[_0x152b42(0xc6)]();_0x1b6f7b[_0x152b42(0xd4)]>0x0&&(_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1]['type']==='SPATIAL'||_0x1b6f7b[_0x1b6f7b[_0x152b42(0xd4)]-0x1][_0x152b42(0x114)]===_0x152b42(0xf2))&&_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());break;case _0x152b42(0xd6):case'END':break;default:throw new Error(_0x152b42(0xd7)+_0x55fa8d[_0x152b42(0x114)]);}}while(_0x1b6f7b[_0x152b42(0xd4)]>0x0){_0x3dc1d8[_0x152b42(0xd2)](_0x1b6f7b['pop']());}function _0xd6c64b(){const _0x1e14fc=_0x152b42;let _0x46d2d4,_0x554d0b,_0x117283=_0x3dc1d8[_0x1e14fc(0xc6)]();switch(_0x117283[_0x1e14fc(0x114)]){case _0x1e14fc(0xc7):{let _0x3679bc=_0xd6c64b(),_0x46bdf9=_0xd6c64b();return new _0xe00967[(_0x1e14fc(0x122))][(_0x117283['text']['toUpperCase']())](_0x46bdf9,_0x3679bc);}case _0x1e14fc(0xf2):{let _0x281175=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0x12d)](_0x281175);}case'BETWEEN':{let _0x38a8fb,_0x12a450;return _0x3dc1d8[_0x1e14fc(0xc6)](),_0x12a450=_0xd6c64b(),_0x38a8fb=_0xd6c64b(),_0x554d0b=_0xd6c64b(),a62_0x2aba56['between'](_0x554d0b,_0x38a8fb,_0x12a450);}case _0x1e14fc(0xfb):{return _0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b(),new _0xe00967[(_0x1e14fc(0x12c))][(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]())](_0x554d0b,_0x46d2d4);}case'IS_NULL':_0x554d0b=_0xd6c64b();return new _0xe00967[(_0x1e14fc(0x12c))][(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]())](_0x554d0b);case _0x1e14fc(0xe3):{let _0x4beb60=_0x117283['text'][_0x1e14fc(0x110)](/^'(.*)'$/);return _0x4beb60?_0x4beb60[0x1][_0x1e14fc(0xed)](/''/g,'\x27'):Number(_0x117283[_0x1e14fc(0x11c)]);}case _0x1e14fc(0xca):switch(_0x117283[_0x1e14fc(0x11c)][_0x1e14fc(0xc1)]()){case'BBOX':{let _0x37ccc0=_0xd6c64b(),_0x1e458a=_0xd6c64b(),_0x306bbf=_0xd6c64b(),_0x43226d=_0xd6c64b(),_0x1ce6cd=_0xd6c64b();return a62_0x2aba56['bbox'](_0x1ce6cd,[_0x43226d,_0x306bbf,_0x1e458a,_0x37ccc0]);}case _0x1e14fc(0x118):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0xcc)](_0x554d0b,_0x46d2d4);case _0x1e14fc(0x116):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56['within'](_0x554d0b,_0x46d2d4);case _0x1e14fc(0x11d):_0x46d2d4=_0xd6c64b(),_0x554d0b=_0xd6c64b();return a62_0x2aba56[_0x1e14fc(0xf4)](_0x554d0b,_0x46d2d4);}break;case'GEOMETRY':return new WKT()[_0x1e14fc(0x12e)](_0x117283[_0x1e14fc(0x11c)],{});default:return _0x117283['text'];}}let _0x2568ee=_0xd6c64b();if(_0x3dc1d8[_0x152b42(0xd4)]>0x0){let _0xc3fc34='剩余的节点无法解析:\x20\x0a';for(let _0x1fb502=_0x3dc1d8['length']-0x1;_0x1fb502>=0x0;_0x1fb502--){_0xc3fc34+=_0x3dc1d8[_0x1fb502][_0x152b42(0x114)]+':\x20'+_0x3dc1d8[_0x1fb502]['text']+'\x0a';}throw new Error(_0xc3fc34);}return _0x2568ee;}['read'](_0x951877){const _0x1f7e36=a62_0x57cbb3;try{return this[_0x1f7e36(0xea)](this['tokenize'](_0x951877));}catch(_0x10a345){console['warn'](_0x1f7e36(0x100)+_0x951877),console['warn'](_0x10a345);}}[a62_0x57cbb3(0xfa)](_0x26ef4d){const _0x1c35c3=a62_0x57cbb3;switch(_0x26ef4d[_0x1c35c3(0x10c)]){case'BBOX':return _0x1c35c3(0x12b)+_0x26ef4d[_0x1c35c3(0xec)]+','+_0x26ef4d[_0x1c35c3(0x11b)][_0x1c35c3(0x124)](',')+','+_0x26ef4d['srsName']+')';case _0x1c35c3(0xef):return _0x1c35c3(0xf5)+_0x26ef4d[_0x1c35c3(0xec)]+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d['geometry'])+')';case'Intersects':return _0x1c35c3(0xe5)+_0x26ef4d['geometryName']+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d[_0x1c35c3(0xd1)])+')';case _0x1c35c3(0x123):return _0x1c35c3(0xf6)+_0x26ef4d[_0x1c35c3(0xec)]+',\x20'+this[_0x1c35c3(0x12e)](_0x26ef4d[_0x1c35c3(0xd1)])+')';case _0x1c35c3(0xfc):return _0x1c35c3(0x120)+this[_0x1c35c3(0xfa)](_0x26ef4d['condition'])+')';case'And':case'Or':{let _0x440af4='(',_0x55add6=!![];for(let _0x17038e=0x0;_0x17038e<_0x26ef4d[_0x1c35c3(0x105)][_0x1c35c3(0xd4)];_0x17038e++){_0x55add6?_0x55add6=![]:_0x440af4+=')\x20'+_0x26ef4d[_0x1c35c3(0x10c)][_0x1c35c3(0x11a)]()+'\x20(',_0x440af4+=this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0x105)][_0x17038e]);}return _0x440af4+')';}case _0x1c35c3(0xeb):return _0x26ef4d[_0x1c35c3(0x113)]+_0x1c35c3(0xde)+this['write'](_0x26ef4d['lowerBoundary'])+_0x1c35c3(0x125)+this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0x109)]);case _0x1c35c3(0x103):case _0x1c35c3(0x12a):case _0x1c35c3(0xe0):case'PropertyIsLessThanOrEqualTo':case _0x1c35c3(0xfd):case _0x1c35c3(0xf9):case _0x1c35c3(0xee):case _0x1c35c3(0xcf):{return _0x26ef4d[_0x1c35c3(0xdc)]!==null?_0x26ef4d['propertyName']+'\x20'+this[_0x1c35c3(0x10a)][_0x26ef4d[_0x1c35c3(0x10c)]]+'\x20'+this[_0x1c35c3(0xfa)](_0x26ef4d[_0x1c35c3(0xdc)]):_0x26ef4d[_0x1c35c3(0x115)]+'\x20'+this[_0x1c35c3(0x10a)][_0x26ef4d[_0x1c35c3(0x10c)]];}case undefined:if(typeof _0x26ef4d===_0x1c35c3(0xe2))return'\x27'+_0x26ef4d[_0x1c35c3(0xed)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x26ef4d==='number')return String(_0x26ef4d);}break;default:throw new Error(_0x1c35c3(0xcb)+_0x26ef4d[_0x1c35c3(0xc8)]+'\x20'+_0x26ef4d);}}[a62_0x57cbb3(0x12e)](_0x48b9c7){const _0x8d0c81=a62_0x57cbb3;if(_0x48b9c7 instanceof a62_0x2c5953)return new WKT()[_0x8d0c81(0x112)](_0x48b9c7);}}
@@ -1 +1 @@
1
- (function(_0x3b011d,_0x571b54){const _0xe9f1ea=a63_0x2c97,_0x3f90f2=_0x3b011d();while(!![]){try{const _0x552b7f=parseInt(_0xe9f1ea(0x189))/0x1+parseInt(_0xe9f1ea(0x18c))/0x2*(parseInt(_0xe9f1ea(0x192))/0x3)+-parseInt(_0xe9f1ea(0x188))/0x4+parseInt(_0xe9f1ea(0x196))/0x5*(-parseInt(_0xe9f1ea(0x17b))/0x6)+parseInt(_0xe9f1ea(0x193))/0x7+parseInt(_0xe9f1ea(0x195))/0x8+parseInt(_0xe9f1ea(0x18d))/0x9*(parseInt(_0xe9f1ea(0x199))/0xa);if(_0x552b7f===_0x571b54)break;else _0x3f90f2['push'](_0x3f90f2['shift']());}catch(_0x2b9297){_0x3f90f2['push'](_0x3f90f2['shift']());}}}(a63_0x4073,0xdb6fa));function a63_0x4073(){const _0x3b8ba8=['join','idMap','conditions','PropertyIsNull','3813036jeqJvc','875517ZiFBxy','property','PropertyIsGreaterThanOrEqualTo','576332YHJpAX','459nQdvec','propertyName','PropertyIsBetween','PropertyIsGreaterThan','tagName_','6RyVxDq','1658580DPhzDO','push','5246904tnrMYi','5pTXLUc','PropertyIsEqualTo','idMapLength','48190NZXUwY','PropertyIsNotEqualTo','indexOf','upperBoundary','Not','4430112YnaRfb','PropertyIsLessThan','read','And','condition','PropertyIsLike','expression','PropertyIsLessThanOrEqualTo','length'];a63_0x4073=function(){return _0x3b8ba8;};return a63_0x4073();}import a63_0x3989b2 from'./CQL';export function isMatchCql(_0x3ebf8c,_0x5bb527){const _0x6a72dc=a63_0x2c97;let _0x68033=new a63_0x3989b2()[_0x6a72dc(0x17d)](_0x5bb527);return isMatchFilter(_0x3ebf8c,_0x68033);}function a63_0x2c97(_0x4b2ac4,_0x262e8b){const _0x40732c=a63_0x4073();return a63_0x2c97=function(_0x2c9787,_0x209bf1){_0x2c9787=_0x2c9787-0x179;let _0x28d5cc=_0x40732c[_0x2c9787];return _0x28d5cc;},a63_0x2c97(_0x4b2ac4,_0x262e8b);}export function isMatchFilter(_0x42710d,_0x362256){const _0x48eb98=a63_0x2c97;switch(_0x362256[_0x48eb98(0x191)]){case _0x48eb98(0x17a):return!isMatchFilter(_0x42710d,_0x362256['condition']);case'And':{let _0x19bcdf=!![];for(let _0x583bf0=0x0;_0x583bf0<_0x362256[_0x48eb98(0x186)]['length'];_0x583bf0++){_0x19bcdf=_0x19bcdf&&isMatchFilter(_0x42710d,_0x362256[_0x48eb98(0x186)][_0x583bf0]);}return _0x19bcdf;}case'Or':{let _0x1e2de6=![];for(let _0xd8a74b=0x0;_0xd8a74b<_0x362256[_0x48eb98(0x186)][_0x48eb98(0x183)];_0xd8a74b++){_0x1e2de6=_0x1e2de6||isMatchFilter(_0x42710d,_0x362256[_0x48eb98(0x186)][_0xd8a74b]);}return _0x1e2de6;}case _0x48eb98(0x18f):return _0x42710d[_0x362256['property']]>_0x362256['lowerBoundary']&&_0x42710d[_0x362256[_0x48eb98(0x18a)]]<_0x362256[_0x48eb98(0x179)];case _0x48eb98(0x197):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]===_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x19a):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]!==_0x362256[_0x48eb98(0x181)];case'PropertyIsLessThan':return _0x42710d[_0x362256[_0x48eb98(0x18e)]]<_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x182):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]<=_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x190):return _0x42710d[_0x362256[_0x48eb98(0x18e)]]>_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x18b):return _0x42710d[_0x362256['propertyName']]>=_0x362256[_0x48eb98(0x181)];case _0x48eb98(0x180):return _0x42710d[_0x362256[_0x48eb98(0x18e)]][_0x48eb98(0x19b)](_0x362256[_0x48eb98(0x181)])>-0x1;case _0x48eb98(0x187):{return!_0x42710d[_0x362256['propertyName']];}default:return![];}}export function isEqualFilter(_0x5196b3,_0x5c0957){const _0x50108f=a63_0x2c97;switch(_0x5196b3[_0x50108f(0x191)]){case _0x50108f(0x17a):return _0x5196b3['tagName_']===_0x5c0957['tagName_']&&isEqualFilter(_0x5196b3[_0x50108f(0x17f)],_0x5c0957[_0x50108f(0x17f)]);case'Or':case _0x50108f(0x17e):{let _0x31dedb=_0x5196b3[_0x50108f(0x191)]===_0x5c0957['tagName_']&&_0x5196b3['conditions'][_0x50108f(0x183)]===_0x5c0957[_0x50108f(0x186)][_0x50108f(0x183)];for(let _0x1dcc67=0x0;_0x1dcc67<_0x5196b3[_0x50108f(0x186)][_0x50108f(0x183)];_0x1dcc67++){_0x31dedb=_0x31dedb&&isEqualFilter(_0x5196b3[_0x50108f(0x186)][_0x1dcc67],_0x5c0957[_0x50108f(0x186)][_0x1dcc67]);}return _0x31dedb;}case _0x50108f(0x18f):return _0x5196b3[_0x50108f(0x191)]===_0x5c0957['tagName_']&&_0x5196b3[_0x50108f(0x18a)]===_0x5c0957[_0x50108f(0x18a)];case _0x50108f(0x197):case'PropertyIsNotEqualTo':case _0x50108f(0x17c):case'PropertyIsLessThanOrEqualTo':case _0x50108f(0x190):case _0x50108f(0x18b):case _0x50108f(0x180):case'PropertyIsNull':return _0x5196b3[_0x50108f(0x191)]===_0x5c0957[_0x50108f(0x191)]&&_0x5196b3[_0x50108f(0x18e)]===_0x5c0957['propertyName'];default:return![];}}export function indexOfFilter(_0x1fcead,_0x270d79){const _0x1bffa2=a63_0x2c97;let _0x52eab3=-0x1;if((_0x1fcead===null||_0x1fcead===void 0x0?void 0x0:_0x1fcead[_0x1bffa2(0x183)])>0x0)for(let _0xcd2d76 in _0x1fcead){if(isEqualFilter(_0x1fcead[_0xcd2d76]['template'],_0x270d79))return _0xcd2d76;}return _0x52eab3;}export function getIndexByTemplate(_0xb93634,_0x3a8b85){const _0x272c2b=a63_0x2c97;let _0x457de3=_0x3a8b85['template'];if(_0x3a8b85[_0x272c2b(0x198)]>0x0){let _0xfdb68=getKeyByTemplate(_0xb93634,_0x457de3);if(_0xfdb68 instanceof Array)for(let _0x49c553 in _0xfdb68){let _0xbafa02=_0x3a8b85[_0x272c2b(0x185)][_0xfdb68[_0x49c553]+'_'+_0x49c553];if(_0xbafa02)return _0xbafa02;}else return _0x3a8b85[_0x272c2b(0x185)][_0xfdb68];}return null;}export function getKeyByTemplate(_0x3217a9,_0x26bb67){const _0x227258=a63_0x2c97;switch(_0x26bb67[_0x227258(0x191)]){case'PropertyIsEqualTo':{return _0x3217a9[_0x26bb67[_0x227258(0x18e)]];}case'And':{let _0x138767=[];for(let _0x300df4=0x0;_0x300df4<_0x26bb67['conditions'][_0x227258(0x183)];_0x300df4++){let _0x5f59a9=getKeyByTemplate(_0x3217a9,_0x26bb67['conditions'][_0x300df4]);_0x5f59a9&&_0x138767[_0x227258(0x194)](_0x5f59a9);}return _0x138767[_0x227258(0x184)](',');}case'Or':{let _0x56ae5c=[];for(let _0xcb4eb8=0x0;_0xcb4eb8<_0x26bb67['conditions']['length'];_0xcb4eb8++){let _0x3e2296=getKeyByTemplate(_0x3217a9,_0x26bb67[_0x227258(0x186)][_0xcb4eb8]);_0x3e2296&&_0x56ae5c['push'](_0x3e2296);}return _0x56ae5c;}default:return null;}}export function createKeyFromFilter(_0x5f3ee5){const _0x2fc69b=a63_0x2c97;switch(_0x5f3ee5[_0x2fc69b(0x191)]){case _0x2fc69b(0x197):return _0x5f3ee5[_0x2fc69b(0x181)];case _0x2fc69b(0x17e):{let _0x34302b=[];for(let _0x53c9e3=0x0;_0x53c9e3<_0x5f3ee5['conditions']['length'];_0x53c9e3++){let _0x403dd7=createKeyFromFilter(_0x5f3ee5[_0x2fc69b(0x186)][_0x53c9e3]);if(_0x403dd7)_0x34302b[_0x2fc69b(0x194)](_0x403dd7);else return null;}return _0x34302b[_0x2fc69b(0x184)](',');}case'Or':{let _0x279c7a=[];for(let _0x593952=0x0;_0x593952<_0x5f3ee5['conditions'][_0x2fc69b(0x183)];_0x593952++){let _0x322fd=createKeyFromFilter(_0x5f3ee5[_0x2fc69b(0x186)][_0x593952]);_0x322fd&&_0x279c7a['push'](_0x322fd);}return _0x279c7a;}default:return null;}}
1
+ (function(_0x3a815f,_0x542d57){const _0x1e5084=a63_0xc1da,_0x6f8559=_0x3a815f();while(!![]){try{const _0x5ab707=parseInt(_0x1e5084(0xef))/0x1*(parseInt(_0x1e5084(0xe4))/0x2)+-parseInt(_0x1e5084(0xe9))/0x3*(-parseInt(_0x1e5084(0xfa))/0x4)+parseInt(_0x1e5084(0xe1))/0x5+parseInt(_0x1e5084(0xf2))/0x6*(-parseInt(_0x1e5084(0xf8))/0x7)+-parseInt(_0x1e5084(0xea))/0x8+parseInt(_0x1e5084(0xe0))/0x9+-parseInt(_0x1e5084(0xfd))/0xa;if(_0x5ab707===_0x542d57)break;else _0x6f8559['push'](_0x6f8559['shift']());}catch(_0x263468){_0x6f8559['push'](_0x6f8559['shift']());}}}(a63_0x4268,0x730a5));function a63_0x4268(){const _0x1fd5be=['condition','PropertyIsEqualTo','PropertyIsNotEqualTo','7eQhQOr','conditions','568268xTAkLd','property','PropertyIsGreaterThanOrEqualTo','17319160nqdcVW','PropertyIsLike','PropertyIsBetween','tagName_','And','upperBoundary','idMapLength','6287715deEJRM','4537170gTghTr','Not','template','1479922BNroys','propertyName','PropertyIsLessThanOrEqualTo','PropertyIsGreaterThan','lowerBoundary','15JXujHQ','1010000kcTAhK','push','expression','PropertyIsNull','join','1Hpumpw','length','read','4361964xHqKIW','idMap','PropertyIsLessThan'];a63_0x4268=function(){return _0x1fd5be;};return a63_0x4268();}import a63_0x2ba168 from'./CQL';export function isMatchCql(_0x14b408,_0x42c003){const _0x905dd6=a63_0xc1da;let _0x2bb5ac=new a63_0x2ba168()[_0x905dd6(0xf1)](_0x42c003);return isMatchFilter(_0x14b408,_0x2bb5ac);}export function isMatchFilter(_0x57a512,_0x5e747c){const _0x54e1cd=a63_0xc1da;switch(_0x5e747c[_0x54e1cd(0x100)]){case _0x54e1cd(0xe2):return!isMatchFilter(_0x57a512,_0x5e747c[_0x54e1cd(0xf5)]);case _0x54e1cd(0x101):{let _0xb78c84=!![];for(let _0x130edb=0x0;_0x130edb<_0x5e747c[_0x54e1cd(0xf9)][_0x54e1cd(0xf0)];_0x130edb++){_0xb78c84=_0xb78c84&&isMatchFilter(_0x57a512,_0x5e747c['conditions'][_0x130edb]);}return _0xb78c84;}case'Or':{let _0x309068=![];for(let _0x29ca4e=0x0;_0x29ca4e<_0x5e747c[_0x54e1cd(0xf9)]['length'];_0x29ca4e++){_0x309068=_0x309068||isMatchFilter(_0x57a512,_0x5e747c['conditions'][_0x29ca4e]);}return _0x309068;}case _0x54e1cd(0xff):return _0x57a512[_0x5e747c[_0x54e1cd(0xfb)]]>_0x5e747c[_0x54e1cd(0xe8)]&&_0x57a512[_0x5e747c['property']]<_0x5e747c[_0x54e1cd(0x102)];case _0x54e1cd(0xf6):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]===_0x5e747c['expression'];case'PropertyIsNotEqualTo':return _0x57a512[_0x5e747c['propertyName']]!==_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xf4):return _0x57a512[_0x5e747c['propertyName']]<_0x5e747c[_0x54e1cd(0xec)];case'PropertyIsLessThanOrEqualTo':return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]<=_0x5e747c['expression'];case'PropertyIsGreaterThan':return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]>_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xfc):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]>=_0x5e747c[_0x54e1cd(0xec)];case _0x54e1cd(0xfe):return _0x57a512[_0x5e747c[_0x54e1cd(0xe5)]]['indexOf'](_0x5e747c[_0x54e1cd(0xec)])>-0x1;case _0x54e1cd(0xed):{return!_0x57a512[_0x5e747c[_0x54e1cd(0xe5)]];}default:return![];}}export function isEqualFilter(_0x1ac5aa,_0x394ffb){const _0x5610df=a63_0xc1da;switch(_0x1ac5aa[_0x5610df(0x100)]){case'Not':return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&isEqualFilter(_0x1ac5aa[_0x5610df(0xf5)],_0x394ffb[_0x5610df(0xf5)]);case'Or':case _0x5610df(0x101):{let _0x169969=_0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&_0x1ac5aa[_0x5610df(0xf9)][_0x5610df(0xf0)]===_0x394ffb[_0x5610df(0xf9)][_0x5610df(0xf0)];for(let _0x5e57cf=0x0;_0x5e57cf<_0x1ac5aa[_0x5610df(0xf9)][_0x5610df(0xf0)];_0x5e57cf++){_0x169969=_0x169969&&isEqualFilter(_0x1ac5aa[_0x5610df(0xf9)][_0x5e57cf],_0x394ffb[_0x5610df(0xf9)][_0x5e57cf]);}return _0x169969;}case _0x5610df(0xff):return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb['tagName_']&&_0x1ac5aa[_0x5610df(0xfb)]===_0x394ffb['property'];case'PropertyIsEqualTo':case _0x5610df(0xf7):case _0x5610df(0xf4):case _0x5610df(0xe6):case _0x5610df(0xe7):case'PropertyIsGreaterThanOrEqualTo':case'PropertyIsLike':case'PropertyIsNull':return _0x1ac5aa[_0x5610df(0x100)]===_0x394ffb[_0x5610df(0x100)]&&_0x1ac5aa[_0x5610df(0xe5)]===_0x394ffb[_0x5610df(0xe5)];default:return![];}}export function indexOfFilter(_0x3ad0db,_0x1d8cbd){const _0x55c3ab=a63_0xc1da;let _0x6ff04=-0x1;if((_0x3ad0db===null||_0x3ad0db===void 0x0?void 0x0:_0x3ad0db[_0x55c3ab(0xf0)])>0x0)for(let _0x3a1ebe in _0x3ad0db){if(isEqualFilter(_0x3ad0db[_0x3a1ebe][_0x55c3ab(0xe3)],_0x1d8cbd))return _0x3a1ebe;}return _0x6ff04;}export function getIndexByTemplate(_0x1b26e8,_0x3e16e5){const _0x2a96b6=a63_0xc1da;let _0x3b9e06=_0x3e16e5['template'];if(_0x3e16e5[_0x2a96b6(0x103)]>0x0){let _0x523b17=getKeyByTemplate(_0x1b26e8,_0x3b9e06);if(_0x523b17 instanceof Array)for(let _0x422c93 in _0x523b17){let _0x58e601=_0x3e16e5[_0x2a96b6(0xf3)][_0x523b17[_0x422c93]+'_'+_0x422c93];if(_0x58e601)return _0x58e601;}else return _0x3e16e5['idMap'][_0x523b17];}return null;}function a63_0xc1da(_0x24df08,_0x458cc1){const _0x4268b2=a63_0x4268();return a63_0xc1da=function(_0xc1da92,_0x18732e){_0xc1da92=_0xc1da92-0xe0;let _0x201883=_0x4268b2[_0xc1da92];return _0x201883;},a63_0xc1da(_0x24df08,_0x458cc1);}export function getKeyByTemplate(_0x27b2b5,_0x54829b){const _0x58740c=a63_0xc1da;switch(_0x54829b[_0x58740c(0x100)]){case _0x58740c(0xf6):{return _0x27b2b5[_0x54829b['propertyName']];}case _0x58740c(0x101):{let _0x597012=[];for(let _0x57a182=0x0;_0x57a182<_0x54829b[_0x58740c(0xf9)][_0x58740c(0xf0)];_0x57a182++){let _0x4733ee=getKeyByTemplate(_0x27b2b5,_0x54829b[_0x58740c(0xf9)][_0x57a182]);_0x4733ee&&_0x597012[_0x58740c(0xeb)](_0x4733ee);}return _0x597012[_0x58740c(0xee)](',');}case'Or':{let _0x57f760=[];for(let _0x30c0b5=0x0;_0x30c0b5<_0x54829b[_0x58740c(0xf9)][_0x58740c(0xf0)];_0x30c0b5++){let _0x34436e=getKeyByTemplate(_0x27b2b5,_0x54829b[_0x58740c(0xf9)][_0x30c0b5]);_0x34436e&&_0x57f760['push'](_0x34436e);}return _0x57f760;}default:return null;}}export function createKeyFromFilter(_0x3a40a5){const _0x3cb9b0=a63_0xc1da;switch(_0x3a40a5['tagName_']){case'PropertyIsEqualTo':return _0x3a40a5[_0x3cb9b0(0xec)];case'And':{let _0x4f839a=[];for(let _0x3e22d1=0x0;_0x3e22d1<_0x3a40a5['conditions'][_0x3cb9b0(0xf0)];_0x3e22d1++){let _0x5384f0=createKeyFromFilter(_0x3a40a5[_0x3cb9b0(0xf9)][_0x3e22d1]);if(_0x5384f0)_0x4f839a[_0x3cb9b0(0xeb)](_0x5384f0);else return null;}return _0x4f839a['join'](',');}case'Or':{let _0x59efde=[];for(let _0x183b2b=0x0;_0x183b2b<_0x3a40a5['conditions'][_0x3cb9b0(0xf0)];_0x183b2b++){let _0x309924=createKeyFromFilter(_0x3a40a5[_0x3cb9b0(0xf9)][_0x183b2b]);_0x309924&&_0x59efde[_0x3cb9b0(0xeb)](_0x309924);}return _0x59efde;}default:return null;}}
@@ -1 +1 @@
1
- const a66_0x1d9749=a66_0x2029;(function(_0x428300,_0x38f577){const _0x29b22f=a66_0x2029,_0x2fd072=_0x428300();while(!![]){try{const _0x195c64=-parseInt(_0x29b22f(0x192))/0x1+-parseInt(_0x29b22f(0x198))/0x2+parseInt(_0x29b22f(0x19c))/0x3*(parseInt(_0x29b22f(0x199))/0x4)+-parseInt(_0x29b22f(0x1a2))/0x5*(-parseInt(_0x29b22f(0x19a))/0x6)+-parseInt(_0x29b22f(0x19b))/0x7+-parseInt(_0x29b22f(0x19f))/0x8*(parseInt(_0x29b22f(0x1a1))/0x9)+parseInt(_0x29b22f(0x1a3))/0xa*(parseInt(_0x29b22f(0x19e))/0xb);if(_0x195c64===_0x38f577)break;else _0x2fd072['push'](_0x2fd072['shift']());}catch(_0x15c13d){_0x2fd072['push'](_0x2fd072['shift']());}}}(a66_0x27b6,0xe44cf));import{asString}from'ol/color';function a66_0x2029(_0x53a71d,_0x3c43a7){const _0x27b639=a66_0x27b6();return a66_0x2029=function(_0x2029ac,_0x128a3c){_0x2029ac=_0x2029ac-0x190;let _0x5420b1=_0x27b639[_0x2029ac];return _0x5420b1;},a66_0x2029(_0x53a71d,_0x3c43a7);}class ImageCache{constructor(){const _0x1f9a4c=a66_0x2029;this['cache_']={},this[_0x1f9a4c(0x191)]=0x0;}[a66_0x1d9749(0x190)](){const _0x423b3a=a66_0x1d9749;this[_0x423b3a(0x193)]={},this[_0x423b3a(0x191)]=0x0;}['get'](_0x5be460){const _0x4f721b=a66_0x1d9749,_0x9b9218=getKey(_0x5be460[_0x4f721b(0x196)],_0x5be460['markerSize'],_0x5be460[_0x4f721b(0x1a0)],_0x5be460[_0x4f721b(0x194)]);return _0x9b9218 in this[_0x4f721b(0x193)]?this[_0x4f721b(0x193)][_0x9b9218]:null;}[a66_0x1d9749(0x19d)](_0x522e1d,_0x810c2f){const _0xb5d572=a66_0x1d9749,_0x4b4d4e=getKey(_0x522e1d[_0xb5d572(0x196)],_0x522e1d[_0xb5d572(0x195)],_0x522e1d[_0xb5d572(0x1a0)],_0x522e1d['image']);this[_0xb5d572(0x193)][_0x4b4d4e]=_0x810c2f,++this['cacheSize_'];}}function getKey(_0x2e3826,_0xa89a4e,_0x39fdf1,_0x25325a){const _0xa22215=a66_0x1d9749,_0x1f7fea=_0x39fdf1?asString(_0x39fdf1):_0xa22215(0x197);return _0x2e3826+':'+_0x25325a+':'+_0x1f7fea+':'+_0xa89a4e;}export default ImageCache;export const shared=new ImageCache();function a66_0x27b6(){const _0x48ff89=['5128TEsxsb','markerColor','19827ZcAMEd','335TRJBGS','24616660AtFAMe','clear','cacheSize_','1112757IRMoQd','cache_','image','markerSize','markerLabel','null','1105090cRHhYs','382584qHHsrb','43536oiuOWi','3928792hCnFhN','51WNSJTh','set','11zaEnEH'];a66_0x27b6=function(){return _0x48ff89;};return a66_0x27b6();}
1
+ const a66_0x36b19d=a66_0x133f;(function(_0x51ab85,_0x529c3c){const _0x4b4053=a66_0x133f,_0x5b5499=_0x51ab85();while(!![]){try{const _0x557323=parseInt(_0x4b4053(0x161))/0x1+parseInt(_0x4b4053(0x166))/0x2*(-parseInt(_0x4b4053(0x159))/0x3)+-parseInt(_0x4b4053(0x15e))/0x4+-parseInt(_0x4b4053(0x163))/0x5*(parseInt(_0x4b4053(0x15c))/0x6)+parseInt(_0x4b4053(0x165))/0x7+-parseInt(_0x4b4053(0x15d))/0x8+parseInt(_0x4b4053(0x164))/0x9;if(_0x557323===_0x529c3c)break;else _0x5b5499['push'](_0x5b5499['shift']());}catch(_0x4adf32){_0x5b5499['push'](_0x5b5499['shift']());}}}(a66_0x27ad,0x9e056));import{asString}from'ol/color';class ImageCache{constructor(){const _0x4a1bf6=a66_0x133f;this[_0x4a1bf6(0x160)]={},this[_0x4a1bf6(0x16a)]=0x0;}[a66_0x36b19d(0x169)](){const _0x30f640=a66_0x36b19d;this[_0x30f640(0x160)]={},this[_0x30f640(0x16a)]=0x0;}[a66_0x36b19d(0x167)](_0x5e0400){const _0x39270f=a66_0x36b19d,_0x3ce592=getKey(_0x5e0400[_0x39270f(0x15b)],_0x5e0400[_0x39270f(0x168)],_0x5e0400[_0x39270f(0x15a)],_0x5e0400[_0x39270f(0x16b)]);return _0x3ce592 in this[_0x39270f(0x160)]?this[_0x39270f(0x160)][_0x3ce592]:null;}[a66_0x36b19d(0x15f)](_0x331126,_0xd07717){const _0x1d389e=a66_0x36b19d,_0x13c605=getKey(_0x331126[_0x1d389e(0x15b)],_0x331126[_0x1d389e(0x168)],_0x331126['markerColor'],_0x331126[_0x1d389e(0x16b)]);this[_0x1d389e(0x160)][_0x13c605]=_0xd07717,++this[_0x1d389e(0x16a)];}}function a66_0x133f(_0xe8f1a1,_0x19e1bf){const _0x27ad1e=a66_0x27ad();return a66_0x133f=function(_0x133f6a,_0x1ea62f){_0x133f6a=_0x133f6a-0x159;let _0x252e40=_0x27ad1e[_0x133f6a];return _0x252e40;},a66_0x133f(_0xe8f1a1,_0x19e1bf);}function getKey(_0x41b141,_0x37b589,_0x565370,_0x1afdee){const _0x278217=a66_0x36b19d,_0x306f3e=_0x565370?asString(_0x565370):_0x278217(0x162);return _0x41b141+':'+_0x1afdee+':'+_0x306f3e+':'+_0x37b589;}function a66_0x27ad(){const _0x1a03ef=['558946Zwkyjq','null','5KQVJsA','14611896WlfNdo','5941894yjMkCE','18juLgNH','get','markerSize','clear','cacheSize_','image','382821HUKCkm','markerColor','markerLabel','805878UcYfbV','4432032OXBLti','2189192jSTkHc','set','cache_'];a66_0x27ad=function(){return _0x1a03ef;};return a66_0x27ad();}export default ImageCache;export const shared=new ImageCache();
@@ -1 +1 @@
1
- const a67_0xbb35f3=a67_0x3f28;function a67_0x3f28(_0x16f526,_0x1f8dfe){const _0x2ad7cd=a67_0x2ad7();return a67_0x3f28=function(_0x3f28ae,_0x9fbff1){_0x3f28ae=_0x3f28ae-0xc1;let _0x253a86=_0x2ad7cd[_0x3f28ae];return _0x253a86;},a67_0x3f28(_0x16f526,_0x1f8dfe);}function a67_0x2ad7(){const _0x1970af=['target','moveTo','text\x20is\x20required','bold\x20','261560HVIpUq','10874043nATTPb','destination-out','closePath','IDLE','destination-over','stringify','round','size\x20is\x20required','358764cHGkuu','toDataURL','24JTwxCq','createElement','LOADED','309545kzFtZv','fillStyle','getImageState','408KlSNPK','889xDSaxF','fromUrl','color\x20is\x20required','listenImageChange','getImage','getContext','hexa','25617qlNugX','canvas','save','_cache','lineTo','97736mPITys','width','beginPath','restore','globalCompositeOperation','fill','#000000','fromColor','#FFFFFF','ERROR','lineWidth','strokeStyle','lighten','drawImage','fromMakiIconId','height','px\x20sans-serif','url\x20is\x20required','fillRect','load','bezierCurveTo','15628270LaOwcM'];a67_0x2ad7=function(){return _0x1970af;};return a67_0x2ad7();}(function(_0x890a21,_0x271e19){const _0x364624=a67_0x3f28,_0x5ea1da=_0x890a21();while(!![]){try{const _0x517529=-parseInt(_0x364624(0xd0))/0x1+-parseInt(_0x364624(0xd9))/0x2+parseInt(_0x364624(0xe9))/0x3*(-parseInt(_0x364624(0xe1))/0x4)+parseInt(_0x364624(0xde))/0x5*(parseInt(_0x364624(0xdb))/0x6)+-parseInt(_0x364624(0xe2))/0x7*(-parseInt(_0x364624(0xee))/0x8)+-parseInt(_0x364624(0xd1))/0x9+parseInt(_0x364624(0xcb))/0xa;if(_0x517529===_0x271e19)break;else _0x5ea1da['push'](_0x5ea1da['shift']());}catch(_0x4d03b2){_0x5ea1da['push'](_0x5ea1da['shift']());}}}(a67_0x2ad7,0xcd893));import a67_0x273ce3 from'color';import a67_0x585c26 from'./writeTextToCanvas';import{Icon}from'ol/style';import a67_0x1bb0e9 from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}[a67_0xbb35f3(0xf5)](_0x49ed1a,_0x272f57){const _0xab428d=a67_0xbb35f3;if(!_0x49ed1a)throw new Error(_0xab428d(0xe4));if(!_0x272f57)throw new Error(_0xab428d(0xd8));return createPin('','',_0x49ed1a,_0x272f57,this['_cache']);}[a67_0xbb35f3(0xe3)](_0x6922b,_0x53518e,_0x211956){const _0x4fd957=a67_0xbb35f3;if(!_0x6922b)throw new Error(_0x4fd957(0xc7));if(!_0x53518e)throw new Error(_0x4fd957(0xe4));if(!_0x211956)throw new Error(_0x4fd957(0xd8));return createPin(_0x6922b,'',_0x53518e,_0x211956,this['_cache']);}[a67_0xbb35f3(0xc4)](_0x218f2a,_0x4a9614,_0x54cb05){const _0x4350ad=a67_0xbb35f3;if(!_0x218f2a)throw new Error('id\x20is\x20required');if(!_0x4a9614)throw new Error(_0x4350ad(0xe4));if(!_0x54cb05)throw new Error(_0x4350ad(0xd8));return createPin(parseImage(_0x218f2a),'',_0x4a9614,_0x54cb05,this[_0x4350ad(0xec)]);}['fromText'](_0x41708d,_0xb456e5,_0x449a34){const _0x4b6194=a67_0xbb35f3;if(!_0x41708d)throw new Error(_0x4b6194(0xce));if(!_0xb456e5)throw new Error(_0x4b6194(0xe4));if(!_0x449a34)throw new Error(_0x4b6194(0xd8));return createPin('',_0x41708d,_0xb456e5,_0x449a34,this[_0x4b6194(0xec)]);}}function drawPin(_0x3c7c09,_0x26804d,_0x9a2308){const _0x11e05f=a67_0xbb35f3;_0x3c7c09[_0x11e05f(0xeb)](),_0x3c7c09['scale'](_0x9a2308/0x18,_0x9a2308/0x18),_0x3c7c09['fillStyle']=_0x26804d,_0x3c7c09[_0x11e05f(0xc1)]=a67_0x273ce3(_0x26804d)[_0x11e05f(0xc2)](0.6)[_0x11e05f(0xe8)](),_0x3c7c09[_0x11e05f(0xf8)]=0.846,_0x3c7c09[_0x11e05f(0xf0)](),_0x3c7c09[_0x11e05f(0xcd)](6.72,0.422),_0x3c7c09['lineTo'](17.28,0.422),_0x3c7c09['bezierCurveTo'](18.553,0.422,19.577,1.758,19.577,3.415),_0x3c7c09['lineTo'](19.577,10.973),_0x3c7c09[_0x11e05f(0xca)](19.577,12.63,18.553,13.966,17.282,13.966),_0x3c7c09[_0x11e05f(0xed)](14.386,14.008),_0x3c7c09[_0x11e05f(0xed)](11.826,23.578),_0x3c7c09[_0x11e05f(0xed)](9.614,14.008),_0x3c7c09['lineTo'](6.719,13.965),_0x3c7c09['bezierCurveTo'](5.446,13.983,4.422,12.629,4.422,10.972),_0x3c7c09[_0x11e05f(0xed)](4.422,3.416),_0x3c7c09[_0x11e05f(0xca)](4.423,1.76,5.447,0.423,6.718,0.423),_0x3c7c09[_0x11e05f(0xd3)](),_0x3c7c09[_0x11e05f(0xf3)](),_0x3c7c09['stroke'](),_0x3c7c09[_0x11e05f(0xf1)]();}function drawIcon(_0xebf4b1,_0x18246e,_0x4bf65f){const _0x1ba8a6=a67_0xbb35f3,_0x1fb265=_0x4bf65f/2.5;let _0xfb3d53=_0x1fb265,_0x37e04f=_0x1fb265;if(_0x18246e[_0x1ba8a6(0xef)]>_0x18246e[_0x1ba8a6(0xc5)])_0x37e04f=_0x1fb265*(_0x18246e[_0x1ba8a6(0xc5)]/_0x18246e['width']);else _0x18246e['width']<_0x18246e['height']&&(_0xfb3d53=_0x1fb265*(_0x18246e['width']/_0x18246e[_0x1ba8a6(0xc5)]));const _0xe525c8=Math[_0x1ba8a6(0xd7)]((_0x4bf65f-_0xfb3d53)/0x2),_0x3c377d=Math[_0x1ba8a6(0xd7)](0x7/0x18*_0x4bf65f-_0x37e04f/0x2);_0xebf4b1[_0x1ba8a6(0xf2)]=_0x1ba8a6(0xd2),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8-0x1,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8,_0x3c377d-0x1,_0xfb3d53,_0x37e04f),_0xebf4b1['drawImage'](_0x18246e,_0xe525c8+0x1,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xc3)](_0x18246e,_0xe525c8,_0x3c377d+0x1,_0xfb3d53,_0x37e04f),_0xebf4b1[_0x1ba8a6(0xf2)]='destination-over',_0xebf4b1[_0x1ba8a6(0xdf)]=_0x1ba8a6(0xf4),_0xebf4b1[_0x1ba8a6(0xc8)](_0xe525c8-0x1,_0x3c377d-0x1,_0xfb3d53+0x2,_0x37e04f+0x2),_0xebf4b1[_0x1ba8a6(0xf2)]=_0x1ba8a6(0xd2),_0xebf4b1['drawImage'](_0x18246e,_0xe525c8,_0x3c377d,_0xfb3d53,_0x37e04f),_0xebf4b1['globalCompositeOperation']=_0x1ba8a6(0xd5),_0xebf4b1['fillStyle']=_0x1ba8a6(0xf6),_0xebf4b1[_0x1ba8a6(0xc8)](_0xe525c8-0x1,_0x3c377d-0x2,_0xfb3d53+0x2,_0x37e04f+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x51c087,_0x337a7e,_0xdcca3f,_0x258ffe,_0x4fe2c3){const _0x5f0c97=a67_0xbb35f3;stringifyScratch[0x0]=_0x51c087,stringifyScratch[0x1]=_0x337a7e,stringifyScratch[0x2]=_0xdcca3f,stringifyScratch[0x3]=_0x258ffe;const _0x53a27e=JSON[_0x5f0c97(0xd6)](stringifyScratch),_0x2b8451=_0x4fe2c3[_0x53a27e];if(_0x2b8451)return _0x2b8451;const _0x371ba6=document[_0x5f0c97(0xdc)](_0x5f0c97(0xea));_0x371ba6['width']=_0x258ffe,_0x371ba6[_0x5f0c97(0xc5)]=_0x258ffe;const _0x1e1c2a=_0x371ba6[_0x5f0c97(0xe7)]('2d');drawPin(_0x1e1c2a,_0xdcca3f,_0x258ffe);if(_0x51c087)return new Promise(_0x5c9f9c=>{const _0x5e8fe5=_0x5f0c97;let _0x314b8e=new Icon({'src':_0x51c087}),_0x4cee1a=_0x314b8e[_0x5e8fe5(0xe0)]();_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xdd)]||_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xf7)]?(drawIcon(_0x1e1c2a,_0x314b8e[_0x5e8fe5(0xe6)](0x60),_0x258ffe),_0x4fe2c3[_0x53a27e]=_0x371ba6['toDataURL'](),_0x5c9f9c(_0x371ba6['toDataURL']())):(_0x4cee1a===a67_0x1bb0e9[_0x5e8fe5(0xd4)]&&_0x314b8e[_0x5e8fe5(0xc9)](),_0x314b8e[_0x5e8fe5(0xe5)](_0x4423ed=>{const _0x4fbe6f=_0x5e8fe5;_0x4cee1a=_0x4423ed[_0x4fbe6f(0xcc)]['getImageState'](),(_0x4cee1a===a67_0x1bb0e9[_0x4fbe6f(0xdd)]||_0x4cee1a===a67_0x1bb0e9[_0x4fbe6f(0xf7)])&&(drawIcon(_0x1e1c2a,_0x314b8e[_0x4fbe6f(0xe6)](0x60),_0x258ffe),_0x4fe2c3[_0x53a27e]=_0x371ba6[_0x4fbe6f(0xda)](),_0x5c9f9c(_0x371ba6[_0x4fbe6f(0xda)]()));}));});else{if(_0x337a7e){const _0x43b634=a67_0x585c26(_0x337a7e,{'font':_0x5f0c97(0xcf)+_0x258ffe+_0x5f0c97(0xc6)});drawIcon(_0x1e1c2a,_0x43b634,_0x258ffe);}}return _0x4fe2c3[_0x53a27e]=_0x371ba6[_0x5f0c97(0xda)](),_0x371ba6[_0x5f0c97(0xda)]();}export default PinBuilder;
1
+ const a67_0x4501a0=a67_0x9a78;(function(_0x34cacc,_0xbc09db){const _0x24fdb8=a67_0x9a78,_0x5c7780=_0x34cacc();while(!![]){try{const _0x40ca1a=-parseInt(_0x24fdb8(0x176))/0x1+-parseInt(_0x24fdb8(0x164))/0x2+parseInt(_0x24fdb8(0x17b))/0x3+parseInt(_0x24fdb8(0x183))/0x4+parseInt(_0x24fdb8(0x166))/0x5*(parseInt(_0x24fdb8(0x171))/0x6)+-parseInt(_0x24fdb8(0x158))/0x7+-parseInt(_0x24fdb8(0x170))/0x8*(-parseInt(_0x24fdb8(0x15a))/0x9);if(_0x40ca1a===_0xbc09db)break;else _0x5c7780['push'](_0x5c7780['shift']());}catch(_0x694faa){_0x5c7780['push'](_0x5c7780['shift']());}}}(a67_0x1d1c,0x654eb));import a67_0x4e1eda from'color';import a67_0x127f46 from'./writeTextToCanvas';import{Icon}from'ol/style';function a67_0x1d1c(){const _0x39447f=['4608420tpkUOr','fillStyle','#000000','url\x20is\x20required','id\x20is\x20required','726110MiHJDc','load','getContext','scale','fromUrl','192303xtUSMF','strokeStyle','bold\x20','width','lineTo','closePath','hexa','createElement','985140yYbTin','lighten','canvas','size\x20is\x20required','px\x20sans-serif','2054346yvUbCq','destination-over','4848093HjcAGa','_cache','fillRect','IDLE','drawImage','listenImageChange','stroke','LOADED','toDataURL','height','365180DBwfHj','getImage','5xgkJtI','save','color\x20is\x20required','globalCompositeOperation','fromColor','round','bezierCurveTo','destination-out','beginPath','#FFFFFF','8qtmoIm'];a67_0x1d1c=function(){return _0x39447f;};return a67_0x1d1c();}import a67_0x5b8fda from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';function a67_0x9a78(_0x543b17,_0x4f5c32){const _0x1d1cfc=a67_0x1d1c();return a67_0x9a78=function(_0x9a783a,_0x52c82c){_0x9a783a=_0x9a783a-0x154;let _0x58d39b=_0x1d1cfc[_0x9a783a];return _0x58d39b;},a67_0x9a78(_0x543b17,_0x4f5c32);}class PinBuilder{constructor(){const _0x3c5da7=a67_0x9a78;this[_0x3c5da7(0x15b)]={};}[a67_0x4501a0(0x16a)](_0xdb43b3,_0x3c15ca){const _0x4c1ce3=a67_0x4501a0;if(!_0xdb43b3)throw new Error(_0x4c1ce3(0x168));if(!_0x3c15ca)throw new Error(_0x4c1ce3(0x156));return createPin('','',_0xdb43b3,_0x3c15ca,this['_cache']);}[a67_0x4501a0(0x17a)](_0x305c54,_0x4dd428,_0x283897){const _0x43d9f3=a67_0x4501a0;if(!_0x305c54)throw new Error(_0x43d9f3(0x174));if(!_0x4dd428)throw new Error('color\x20is\x20required');if(!_0x283897)throw new Error('size\x20is\x20required');return createPin(_0x305c54,'',_0x4dd428,_0x283897,this['_cache']);}['fromMakiIconId'](_0x37139b,_0x3ea665,_0x2ff98a){const _0x2d4f15=a67_0x4501a0;if(!_0x37139b)throw new Error(_0x2d4f15(0x175));if(!_0x3ea665)throw new Error(_0x2d4f15(0x168));if(!_0x2ff98a)throw new Error(_0x2d4f15(0x156));return createPin(parseImage(_0x37139b),'',_0x3ea665,_0x2ff98a,this['_cache']);}['fromText'](_0x7a5047,_0x1ec3b2,_0x555553){const _0x2a01a6=a67_0x4501a0;if(!_0x7a5047)throw new Error('text\x20is\x20required');if(!_0x1ec3b2)throw new Error(_0x2a01a6(0x168));if(!_0x555553)throw new Error(_0x2a01a6(0x156));return createPin('',_0x7a5047,_0x1ec3b2,_0x555553,this[_0x2a01a6(0x15b)]);}}function drawPin(_0x132488,_0x3d2139,_0x8c78f4){const _0x36c951=a67_0x4501a0;_0x132488[_0x36c951(0x167)](),_0x132488[_0x36c951(0x179)](_0x8c78f4/0x18,_0x8c78f4/0x18),_0x132488[_0x36c951(0x172)]=_0x3d2139,_0x132488[_0x36c951(0x17c)]=a67_0x4e1eda(_0x3d2139)[_0x36c951(0x154)](0.6)[_0x36c951(0x181)](),_0x132488['lineWidth']=0.846,_0x132488[_0x36c951(0x16e)](),_0x132488['moveTo'](6.72,0.422),_0x132488['lineTo'](17.28,0.422),_0x132488[_0x36c951(0x16c)](18.553,0.422,19.577,1.758,19.577,3.415),_0x132488['lineTo'](19.577,10.973),_0x132488['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x132488[_0x36c951(0x17f)](14.386,14.008),_0x132488[_0x36c951(0x17f)](11.826,23.578),_0x132488[_0x36c951(0x17f)](9.614,14.008),_0x132488[_0x36c951(0x17f)](6.719,13.965),_0x132488[_0x36c951(0x16c)](5.446,13.983,4.422,12.629,4.422,10.972),_0x132488['lineTo'](4.422,3.416),_0x132488['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x132488[_0x36c951(0x180)](),_0x132488['fill'](),_0x132488[_0x36c951(0x160)](),_0x132488['restore']();}function drawIcon(_0x576e2b,_0x2f62de,_0x62d506){const _0x155f77=a67_0x4501a0,_0x3c4a91=_0x62d506/2.5;let _0x16c447=_0x3c4a91,_0x52b150=_0x3c4a91;if(_0x2f62de[_0x155f77(0x17e)]>_0x2f62de[_0x155f77(0x163)])_0x52b150=_0x3c4a91*(_0x2f62de[_0x155f77(0x163)]/_0x2f62de[_0x155f77(0x17e)]);else _0x2f62de['width']<_0x2f62de['height']&&(_0x16c447=_0x3c4a91*(_0x2f62de[_0x155f77(0x17e)]/_0x2f62de[_0x155f77(0x163)]));const _0x22498c=Math[_0x155f77(0x16b)]((_0x62d506-_0x16c447)/0x2),_0x5dfbc9=Math['round'](0x7/0x18*_0x62d506-_0x52b150/0x2);_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x16d),_0x576e2b['drawImage'](_0x2f62de,_0x22498c-0x1,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9-0x1,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c+0x1,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9+0x1,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x159),_0x576e2b[_0x155f77(0x172)]=_0x155f77(0x173),_0x576e2b[_0x155f77(0x15c)](_0x22498c-0x1,_0x5dfbc9-0x1,_0x16c447+0x2,_0x52b150+0x2),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x16d),_0x576e2b[_0x155f77(0x15e)](_0x2f62de,_0x22498c,_0x5dfbc9,_0x16c447,_0x52b150),_0x576e2b[_0x155f77(0x169)]=_0x155f77(0x159),_0x576e2b[_0x155f77(0x172)]=_0x155f77(0x16f),_0x576e2b['fillRect'](_0x22498c-0x1,_0x5dfbc9-0x2,_0x16c447+0x2,_0x52b150+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x330e37,_0x3d5eae,_0x12d33e,_0x16e558,_0x237e6b){const _0x4ac6e9=a67_0x4501a0;stringifyScratch[0x0]=_0x330e37,stringifyScratch[0x1]=_0x3d5eae,stringifyScratch[0x2]=_0x12d33e,stringifyScratch[0x3]=_0x16e558;const _0x1addd2=JSON['stringify'](stringifyScratch),_0x24fb0f=_0x237e6b[_0x1addd2];if(_0x24fb0f)return _0x24fb0f;const _0x5c4503=document[_0x4ac6e9(0x182)](_0x4ac6e9(0x155));_0x5c4503[_0x4ac6e9(0x17e)]=_0x16e558,_0x5c4503[_0x4ac6e9(0x163)]=_0x16e558;const _0x2794fe=_0x5c4503[_0x4ac6e9(0x178)]('2d');drawPin(_0x2794fe,_0x12d33e,_0x16e558);if(_0x330e37)return new Promise(_0x3865b4=>{const _0x452f9c=_0x4ac6e9;let _0x201639=new Icon({'src':_0x330e37}),_0x42cdc0=_0x201639['getImageState']();_0x42cdc0===a67_0x5b8fda[_0x452f9c(0x161)]||_0x42cdc0===a67_0x5b8fda['ERROR']?(drawIcon(_0x2794fe,_0x201639['getImage'](0x60),_0x16e558),_0x237e6b[_0x1addd2]=_0x5c4503[_0x452f9c(0x162)](),_0x3865b4(_0x5c4503['toDataURL']())):(_0x42cdc0===a67_0x5b8fda[_0x452f9c(0x15d)]&&_0x201639[_0x452f9c(0x177)](),_0x201639[_0x452f9c(0x15f)](_0x273d4d=>{const _0x4318f9=_0x452f9c;_0x42cdc0=_0x273d4d['target']['getImageState'](),(_0x42cdc0===a67_0x5b8fda[_0x4318f9(0x161)]||_0x42cdc0===a67_0x5b8fda['ERROR'])&&(drawIcon(_0x2794fe,_0x201639[_0x4318f9(0x165)](0x60),_0x16e558),_0x237e6b[_0x1addd2]=_0x5c4503[_0x4318f9(0x162)](),_0x3865b4(_0x5c4503[_0x4318f9(0x162)]()));}));});else{if(_0x3d5eae){const _0x54dafd=a67_0x127f46(_0x3d5eae,{'font':_0x4ac6e9(0x17d)+_0x16e558+_0x4ac6e9(0x157)});drawIcon(_0x2794fe,_0x54dafd,_0x16e558);}}return _0x237e6b[_0x1addd2]=_0x5c4503[_0x4ac6e9(0x162)](),_0x5c4503[_0x4ac6e9(0x162)]();}export default PinBuilder;
@@ -1 +1 @@
1
- function a68_0x4158(){const _0x477e10=['getImageState','LOADED','71790oqalzN','56UaBTnY','165ljmRCf','ERROR','error','fromText','fromUrl','markerSize','2695608BYKMJF','getImage','resolve','loadIcon','options','151806KQHgKV','934833bFHURB','load','_icon','3DNcyFg','11430084nVvamG','3421404uqfbGS','110gZqNIO','2iCjCLM','listenImageChange','_imageState','dispatchEvent','markerColor','catch','image','755192YEzyjZ'];a68_0x4158=function(){return _0x477e10;};return a68_0x4158();}function a68_0x60ee(_0xd5fc74,_0x348bac){const _0x4158ee=a68_0x4158();return a68_0x60ee=function(_0x60ee2e,_0x59af00){_0x60ee2e=_0x60ee2e-0x18d;let _0x3f7883=_0x4158ee[_0x60ee2e];return _0x3f7883;},a68_0x60ee(_0xd5fc74,_0x348bac);}const a68_0x27aaf7=a68_0x60ee;(function(_0x4be6ba,_0x13d212){const _0x2a40bc=a68_0x60ee,_0x3f2a36=_0x4be6ba();while(!![]){try{const _0x423fb4=parseInt(_0x2a40bc(0x19c))/0x1*(parseInt(_0x2a40bc(0x1a3))/0x2)+parseInt(_0x2a40bc(0x19f))/0x3*(parseInt(_0x2a40bc(0x196))/0x4)+parseInt(_0x2a40bc(0x1a2))/0x5*(-parseInt(_0x2a40bc(0x19b))/0x6)+parseInt(_0x2a40bc(0x18f))/0x7*(-parseInt(_0x2a40bc(0x1aa))/0x8)+-parseInt(_0x2a40bc(0x1a1))/0x9+-parseInt(_0x2a40bc(0x18e))/0xa*(parseInt(_0x2a40bc(0x190))/0xb)+parseInt(_0x2a40bc(0x1a0))/0xc;if(_0x423fb4===_0x13d212)break;else _0x3f2a36['push'](_0x3f2a36['shift']());}catch(_0x51f1f4){_0x3f2a36['push'](_0x3f2a36['shift']());}}}(a68_0x4158,0xb9ef3));import a68_0x28c806 from'./PinBuilder';import{Icon}from'ol/style';import a68_0x29471f from'ol/ImageState';import a68_0x2782d5 from'ol/events/Event';import{shared as a68_0x277c14}from'./ImageCache';export default class PinIcon{constructor(_0x29e735){const _0xea15a7=a68_0x60ee;this['options']=_0x29e735||{},this[_0xea15a7(0x1a5)]=a68_0x29471f['IDLE'],this[_0xea15a7(0x19e)]=a68_0x277c14['get'](this[_0xea15a7(0x19a)]),this[_0xea15a7(0x19e)]&&(this[_0xea15a7(0x1a5)]=a68_0x29471f[_0xea15a7(0x18d)]);}[a68_0x27aaf7(0x19d)](){const _0x320595=a68_0x27aaf7;try{let _0x37b153,_0x586e38=new a68_0x28c806();if(this[_0x320595(0x19a)]['markerLabel'])_0x37b153=_0x586e38[_0x320595(0x193)](this[_0x320595(0x19a)]['markerLabel'],this[_0x320595(0x19a)][_0x320595(0x1a7)],this[_0x320595(0x19a)][_0x320595(0x195)]||0x30);else this[_0x320595(0x19a)][_0x320595(0x1a9)]&&(_0x37b153=_0x586e38[_0x320595(0x194)](this[_0x320595(0x19a)][_0x320595(0x1a9)],this[_0x320595(0x19a)][_0x320595(0x1a7)],this[_0x320595(0x19a)]['markerSize']||0x30));Promise[_0x320595(0x198)](_0x37b153)['then'](_0x7890d7=>{const _0x116dc9=_0x320595;this[_0x116dc9(0x199)](_0x7890d7);})[_0x320595(0x1a8)](_0xf56cc0=>{const _0x375a4c=_0x320595;console['warn'](_0xf56cc0),this['_imageState']=a68_0x29471f['ERROR'],this[_0x375a4c(0x1a6)]('error');});}catch(_0x4e10da){console['warn'](_0x4e10da),this['_imageState']=a68_0x29471f['ERROR'],this[_0x320595(0x1a6)](_0x320595(0x192));}}[a68_0x27aaf7(0x199)](_0x341fc8){const _0x3cd02d=a68_0x27aaf7;this[_0x3cd02d(0x19e)]=new Icon({'src':_0x341fc8}),a68_0x277c14['set'](this['options'],this[_0x3cd02d(0x19e)]);let _0x3693e7=this[_0x3cd02d(0x19e)][_0x3cd02d(0x1ab)]();_0x3693e7===a68_0x29471f[_0x3cd02d(0x18d)]||_0x3693e7===a68_0x29471f[_0x3cd02d(0x191)]?(this[_0x3cd02d(0x1a5)]=this[_0x3cd02d(0x19e)][_0x3cd02d(0x1ab)](),this[_0x3cd02d(0x1a6)]('load')):(_0x3693e7===a68_0x29471f['IDLE']&&this['_icon'][_0x3cd02d(0x19d)](),this[_0x3cd02d(0x19e)][_0x3cd02d(0x1a4)](_0x43437b=>{const _0x13cc4a=_0x3cd02d;_0x3693e7=_0x43437b['target'][_0x13cc4a(0x1ab)](),(_0x3693e7===a68_0x29471f[_0x13cc4a(0x18d)]||_0x3693e7===a68_0x29471f[_0x13cc4a(0x191)])&&(this[_0x13cc4a(0x1a5)]=this[_0x13cc4a(0x19e)][_0x13cc4a(0x1ab)](),this[_0x13cc4a(0x1a6)]('load'));}));}['getImageState'](){const _0xeb9eda=a68_0x27aaf7;return this[_0xeb9eda(0x1a5)];}[a68_0x27aaf7(0x197)](){const _0x18a644=a68_0x27aaf7;var _0x360ae1;return(_0x360ae1=this['_icon'])===null||_0x360ae1===void 0x0?void 0x0:_0x360ae1[_0x18a644(0x197)]();}[a68_0x27aaf7(0x1a4)](_0x1369f9){this['_listener']=_0x1369f9;}[a68_0x27aaf7(0x1a6)](_0x2174f7){if(this['_listener']){let _0x124e87=new a68_0x2782d5(_0x2174f7);_0x124e87['target']=this,this['_listener'](_0x124e87);}}}
1
+ const a68_0xbff033=a68_0x54e8;(function(_0x53ebb0,_0x763daa){const _0x316a4c=a68_0x54e8,_0x16bc7f=_0x53ebb0();while(!![]){try{const _0x36f1db=-parseInt(_0x316a4c(0x202))/0x1+parseInt(_0x316a4c(0x1f4))/0x2+parseInt(_0x316a4c(0x20d))/0x3*(parseInt(_0x316a4c(0x200))/0x4)+-parseInt(_0x316a4c(0x1f0))/0x5*(parseInt(_0x316a4c(0x208))/0x6)+parseInt(_0x316a4c(0x1ff))/0x7*(parseInt(_0x316a4c(0x1ed))/0x8)+parseInt(_0x316a4c(0x20b))/0x9+-parseInt(_0x316a4c(0x1f3))/0xa;if(_0x36f1db===_0x763daa)break;else _0x16bc7f['push'](_0x16bc7f['shift']());}catch(_0x4bcc9d){_0x16bc7f['push'](_0x16bc7f['shift']());}}}(a68_0x3850,0x5c084));import a68_0x2f1068 from'./PinBuilder';import{Icon}from'ol/style';function a68_0x54e8(_0x342a23,_0x457a4c){const _0x38503c=a68_0x3850();return a68_0x54e8=function(_0x54e879,_0x120147){_0x54e879=_0x54e879-0x1ea;let _0x28e877=_0x38503c[_0x54e879];return _0x28e877;},a68_0x54e8(_0x342a23,_0x457a4c);}import a68_0x316fe6 from'ol/ImageState';function a68_0x3850(){const _0x2a6735=['load','fromUrl','2120060WRrvMf','962978stHXfR','getImageState','getImage','_imageState','_icon','resolve','listenImageChange','set','LOADED','error','warn','2153438fzxssz','88hNuiMx','ERROR','313464bgqdUY','catch','fromText','markerColor','IDLE','options','30opTNTR','loadIcon','image','611658QvYgeR','dispatchEvent','100146yBKpYa','get','_listener','markerLabel','8XddCOx','target','markerSize','689055QrduJP'];a68_0x3850=function(){return _0x2a6735;};return a68_0x3850();}import a68_0x8d61b9 from'ol/events/Event';import{shared as a68_0x36f2cd}from'./ImageCache';export default class PinIcon{constructor(_0x5cc3ad){const _0x27442e=a68_0x54e8;this[_0x27442e(0x207)]=_0x5cc3ad||{},this[_0x27442e(0x1f7)]=a68_0x316fe6[_0x27442e(0x206)],this['_icon']=a68_0x36f2cd[_0x27442e(0x1ea)](this['options']),this[_0x27442e(0x1f8)]&&(this['_imageState']=a68_0x316fe6[_0x27442e(0x1fc)]);}[a68_0xbff033(0x1f1)](){const _0x741e91=a68_0xbff033;try{let _0x182584,_0x53f41e=new a68_0x2f1068();if(this[_0x741e91(0x207)]['markerLabel'])_0x182584=_0x53f41e[_0x741e91(0x204)](this['options'][_0x741e91(0x1ec)],this[_0x741e91(0x207)][_0x741e91(0x205)],this[_0x741e91(0x207)][_0x741e91(0x1ef)]||0x30);else this[_0x741e91(0x207)]['image']&&(_0x182584=_0x53f41e[_0x741e91(0x1f2)](this[_0x741e91(0x207)][_0x741e91(0x20a)],this[_0x741e91(0x207)][_0x741e91(0x205)],this[_0x741e91(0x207)][_0x741e91(0x1ef)]||0x30));Promise[_0x741e91(0x1f9)](_0x182584)['then'](_0x4a0884=>{this['loadIcon'](_0x4a0884);})[_0x741e91(0x203)](_0x30fe5f=>{const _0x163665=_0x741e91;console[_0x163665(0x1fe)](_0x30fe5f),this[_0x163665(0x1f7)]=a68_0x316fe6[_0x163665(0x201)],this[_0x163665(0x20c)](_0x163665(0x1fd));});}catch(_0x5431f0){console[_0x741e91(0x1fe)](_0x5431f0),this[_0x741e91(0x1f7)]=a68_0x316fe6[_0x741e91(0x201)],this[_0x741e91(0x20c)]('error');}}[a68_0xbff033(0x209)](_0x62dbfa){const _0x5b24f0=a68_0xbff033;this[_0x5b24f0(0x1f8)]=new Icon({'src':_0x62dbfa}),a68_0x36f2cd[_0x5b24f0(0x1fb)](this[_0x5b24f0(0x207)],this[_0x5b24f0(0x1f8)]);let _0x64a727=this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f5)]();_0x64a727===a68_0x316fe6[_0x5b24f0(0x1fc)]||_0x64a727===a68_0x316fe6[_0x5b24f0(0x201)]?(this[_0x5b24f0(0x1f7)]=this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f5)](),this[_0x5b24f0(0x20c)]('load')):(_0x64a727===a68_0x316fe6[_0x5b24f0(0x206)]&&this[_0x5b24f0(0x1f8)][_0x5b24f0(0x1f1)](),this['_icon'][_0x5b24f0(0x1fa)](_0x49804a=>{const _0x4a3e5c=_0x5b24f0;_0x64a727=_0x49804a[_0x4a3e5c(0x1ee)][_0x4a3e5c(0x1f5)](),(_0x64a727===a68_0x316fe6[_0x4a3e5c(0x1fc)]||_0x64a727===a68_0x316fe6['ERROR'])&&(this[_0x4a3e5c(0x1f7)]=this[_0x4a3e5c(0x1f8)]['getImageState'](),this[_0x4a3e5c(0x20c)](_0x4a3e5c(0x1f1)));}));}[a68_0xbff033(0x1f5)](){const _0x2fc799=a68_0xbff033;return this[_0x2fc799(0x1f7)];}[a68_0xbff033(0x1f6)](){const _0x2f33d0=a68_0xbff033;var _0x4c0286;return(_0x4c0286=this[_0x2f33d0(0x1f8)])===null||_0x4c0286===void 0x0?void 0x0:_0x4c0286[_0x2f33d0(0x1f6)]();}['listenImageChange'](_0x1a4e16){const _0x11b5da=a68_0xbff033;this[_0x11b5da(0x1eb)]=_0x1a4e16;}[a68_0xbff033(0x20c)](_0x5b5362){const _0x35d1dd=a68_0xbff033;if(this[_0x35d1dd(0x1eb)]){let _0x292f57=new a68_0x8d61b9(_0x5b5362);_0x292f57[_0x35d1dd(0x1ee)]=this,this[_0x35d1dd(0x1eb)](_0x292f57);}}}
@@ -1 +1 @@
1
- function a69_0x37ef(){const _0x3cd019=['stroke','msImageSmoothingEnabled','fillText','style','font-size','strokeWidth','data','241765ipoHWN','18SmRcOg','round','52140pLfMfy','16hNatNG','fillRect','ceil','minx','10px\x20sans-serif','mozImageSmoothingEnabled','7pVhEsB','removeChild','getComputedStyle','canvas','font','3661176VyHfdx','1005990BqPCRN','lineJoin','getPropertyValue','text\x20is\x20required.','14IOzpcQ','body','appendChild','722968VdZAdL','451DEwHaW','#00000000','getContext','black','createElement','width','test','webkitImageSmoothingEnabled','white','32323YiMifZ','strokeText','getImageData','dimensions','height','imageSmoothingEnabled','#FFFFFF','visibility','lineWidth','9528WaLRnG','backgroundColor','ascent','fillStyle','#000000'];a69_0x37ef=function(){return _0x3cd019;};return a69_0x37ef();}(function(_0x4ebcf9,_0x15fb2b){const _0x5c9328=a69_0x122f,_0x2c7726=_0x4ebcf9();while(!![]){try{const _0x329d3f=parseInt(_0x5c9328(0x20a))/0x1*(parseInt(_0x5c9328(0x1fd))/0x2)+parseInt(_0x5c9328(0x213))/0x3+-parseInt(_0x5c9328(0x1ed))/0x4*(parseInt(_0x5c9328(0x1e9))/0x5)+-parseInt(_0x5c9328(0x1f9))/0x6*(-parseInt(_0x5c9328(0x1f3))/0x7)+-parseInt(_0x5c9328(0x200))/0x8*(parseInt(_0x5c9328(0x1ea))/0x9)+parseInt(_0x5c9328(0x1ec))/0xa*(-parseInt(_0x5c9328(0x201))/0xb)+parseInt(_0x5c9328(0x1f8))/0xc;if(_0x329d3f===_0x15fb2b)break;else _0x2c7726['push'](_0x2c7726['shift']());}catch(_0x21313d){_0x2c7726['push'](_0x2c7726['shift']());}}}(a69_0x37ef,0x1be60));function measureText(_0x31cbdf,_0x292a53,_0x4cca12,_0x2d7582,_0x9de9a1){const _0x45629a=a69_0x122f,_0x47702b=_0x31cbdf['measureText'](_0x292a53),_0x5d322a=!/\S/[_0x45629a(0x207)](_0x292a53);if(!_0x5d322a&&document['defaultView']){const _0x11d3bb=document['defaultView'][_0x45629a(0x1f5)](_0x31cbdf[_0x45629a(0x1f6)])[_0x45629a(0x1fb)](_0x45629a(0x1e6))['replace']('px',''),_0x50e8e2=document[_0x45629a(0x205)](_0x45629a(0x1f6)),_0x258a88=0x64,_0x4bd0cc=_0x47702b[_0x45629a(0x206)]+_0x258a88|0x0,_0x52fac6=0x3*(_0x11d3bb-0x0),_0x5a42d7=_0x52fac6/0x2;_0x50e8e2[_0x45629a(0x206)]=_0x4bd0cc,_0x50e8e2[_0x45629a(0x20e)]=_0x52fac6;const _0x5e9283=_0x50e8e2[_0x45629a(0x203)]('2d');if(!_0x5e9283)return{};_0x5e9283['font']=_0x4cca12,_0x5e9283[_0x45629a(0x1e0)]=_0x45629a(0x209),_0x5e9283[_0x45629a(0x1ee)](0x0,0x0,_0x50e8e2[_0x45629a(0x206)]+0x1,_0x50e8e2[_0x45629a(0x20e)]+0x1);_0x2d7582&&(_0x5e9283['strokeStyle']=_0x45629a(0x204),_0x5e9283[_0x45629a(0x212)]=_0x31cbdf[_0x45629a(0x212)],_0x5e9283[_0x45629a(0x20b)](_0x292a53,_0x258a88/0x2,_0x5a42d7));_0x9de9a1&&(_0x5e9283[_0x45629a(0x1e0)]='black',_0x5e9283['fillText'](_0x292a53,_0x258a88/0x2,_0x5a42d7));const _0x4944e7=_0x5e9283[_0x45629a(0x20c)](0x0,0x0,_0x4bd0cc,_0x52fac6)[_0x45629a(0x1e8)],_0x97e1ba=_0x4944e7['length'],_0x48c7bb=_0x4bd0cc*0x4;let _0x22d6d8,_0x1407cc,_0x39cb3a=0x0,_0x52215f=0x0;for(_0x22d6d8=0x0;_0x22d6d8<_0x97e1ba;++_0x22d6d8){if(_0x4944e7[_0x22d6d8]!==0xff){_0x39cb3a=_0x22d6d8/_0x48c7bb|0x0;break;}}for(_0x22d6d8=_0x97e1ba-0x1;_0x22d6d8>=0x0;--_0x22d6d8){if(_0x4944e7[_0x22d6d8]!==0xff){_0x52215f=_0x22d6d8/_0x48c7bb|0x0;break;}}let _0x5420a7=-0x1;for(_0x22d6d8=0x0;_0x22d6d8<_0x4bd0cc&&_0x5420a7===-0x1;++_0x22d6d8){for(_0x1407cc=0x0;_0x1407cc<_0x52fac6;++_0x1407cc){const _0x1089cf=_0x22d6d8*0x4+_0x1407cc*_0x48c7bb;if(_0x4944e7[_0x1089cf]!==0xff||_0x4944e7[_0x1089cf+0x1]!==0xff||_0x4944e7[_0x1089cf+0x2]!==0xff||_0x4944e7[_0x1089cf+0x3]!==0xff){_0x5420a7=_0x22d6d8;break;}}}return{'width':_0x47702b[_0x45629a(0x206)],'height':_0x52215f-_0x39cb3a,'ascent':_0x5a42d7-_0x39cb3a,'descent':_0x52215f-_0x5a42d7,'minx':_0x5420a7-_0x258a88/0x2};}return{'width':_0x47702b['width'],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x4c1e11,_0xc88b17){const _0x109201=a69_0x122f;if(!_0x4c1e11)throw new Error(_0x109201(0x1fc));if(_0x4c1e11==='')return undefined;_0xc88b17=defaultValue(_0xc88b17,{});const _0x14968c=defaultValue(_0xc88b17[_0x109201(0x1f7)],_0x109201(0x1f1)),_0x2f2bfb=defaultValue(_0xc88b17[_0x109201(0x1e2)],![]),_0x343336=defaultValue(_0xc88b17['fill'],!![]),_0x173884=defaultValue(_0xc88b17[_0x109201(0x1e7)],0x1),_0x5b4685=defaultValue(_0xc88b17[_0x109201(0x214)],_0x109201(0x202)),_0x3dc667=defaultValue(_0xc88b17['padding'],0x0),_0x3eeaa7=_0x3dc667*0x2,_0x5937bb=document[_0x109201(0x205)]('canvas');_0x5937bb[_0x109201(0x206)]=0x1,_0x5937bb[_0x109201(0x20e)]=0x1,_0x5937bb[_0x109201(0x1e5)][_0x109201(0x1f7)]=_0x14968c;const _0x145019=_0x5937bb['getContext']('2d');if(!imageSmoothingEnabledName&&_0x145019){if(_0x145019[_0x109201(0x20f)])imageSmoothingEnabledName=_0x109201(0x20f);else{if(_0x145019[_0x109201(0x1f2)])imageSmoothingEnabledName=_0x109201(0x1f2);else{if(_0x145019[_0x109201(0x208)])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x145019[_0x109201(0x1e3)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x145019[_0x109201(0x1f7)]=_0x14968c,_0x145019['lineJoin']=_0x109201(0x1eb),_0x145019[_0x109201(0x212)]=_0x173884,_0x145019[imageSmoothingEnabledName]=![],_0x5937bb['style'][_0x109201(0x211)]='hidden',document[_0x109201(0x1fe)][_0x109201(0x1ff)](_0x5937bb);const _0x144760=measureText(_0x145019,_0x4c1e11,_0x14968c,_0x2f2bfb,_0x343336);if(!_0x144760)return;_0x5937bb[_0x109201(0x20d)]=_0x144760,document[_0x109201(0x1fe)][_0x109201(0x1f4)](_0x5937bb),_0x5937bb['style']['visibility']='';const _0x4d1028=-(_0x144760[_0x109201(0x1f0)]?_0x144760[_0x109201(0x1f0)]:0x0),_0x4fa8a6=Math[_0x109201(0x1ef)](_0x144760[_0x109201(0x206)])+_0x4d1028+_0x3eeaa7,_0x104bb6=(_0x144760[_0x109201(0x20e)]?_0x144760[_0x109201(0x20e)]:0x0)+_0x3eeaa7,_0x4fd409=_0x104bb6-(_0x144760[_0x109201(0x215)]?_0x144760[_0x109201(0x215)]:0x0)+_0x3dc667,_0x1c2780=_0x104bb6-_0x4fd409+_0x3eeaa7;return _0x5937bb['width']=_0x4fa8a6,_0x5937bb[_0x109201(0x20e)]=_0x104bb6,_0x145019[_0x109201(0x1f7)]=_0x14968c,_0x145019[_0x109201(0x1fa)]=_0x109201(0x1eb),_0x145019['lineWidth']=_0x173884,_0x145019[imageSmoothingEnabledName]=![],_0x5b4685!==_0x109201(0x202)&&(_0x145019[_0x109201(0x1e0)]=_0x5b4685,_0x145019[_0x109201(0x1ee)](0x0,0x0,_0x5937bb[_0x109201(0x206)],_0x5937bb['height'])),_0x2f2bfb&&(_0x145019['strokeStyle']=defaultValue(_0xc88b17['strokeColor'],_0x109201(0x1e1)),_0x145019[_0x109201(0x20b)](_0x4c1e11,_0x4d1028+_0x3dc667,_0x1c2780)),_0x343336&&(_0x145019[_0x109201(0x1e0)]=defaultValue(_0xc88b17['fillColor'],_0x109201(0x210)),_0x145019[_0x109201(0x1e4)](_0x4c1e11,_0x4d1028+_0x3dc667,_0x1c2780)),_0x5937bb;}function a69_0x122f(_0x3cb191,_0x27b285){const _0x37efa2=a69_0x37ef();return a69_0x122f=function(_0x122f50,_0x50cee1){_0x122f50=_0x122f50-0x1e0;let _0x34c8f5=_0x37efa2[_0x122f50];return _0x34c8f5;},a69_0x122f(_0x3cb191,_0x27b285);}function defaultValue(_0x28d286,_0x3d8dd4){if(_0x28d286!==undefined&&_0x28d286!==null)return _0x28d286;return _0x3d8dd4;}export default writeTextToCanvas;
1
+ (function(_0xf970c2,_0x23ed15){const _0x1a502d=a69_0x2672,_0x27cbf6=_0xf970c2();while(!![]){try{const _0x1632a8=-parseInt(_0x1a502d(0x1da))/0x1*(parseInt(_0x1a502d(0x1c7))/0x2)+parseInt(_0x1a502d(0x1cc))/0x3*(-parseInt(_0x1a502d(0x1de))/0x4)+parseInt(_0x1a502d(0x1d8))/0x5*(-parseInt(_0x1a502d(0x1d5))/0x6)+-parseInt(_0x1a502d(0x1dd))/0x7+parseInt(_0x1a502d(0x1d3))/0x8+parseInt(_0x1a502d(0x1e5))/0x9*(parseInt(_0x1a502d(0x1c2))/0xa)+parseInt(_0x1a502d(0x1d1))/0xb*(parseInt(_0x1a502d(0x1cd))/0xc);if(_0x1632a8===_0x23ed15)break;else _0x27cbf6['push'](_0x27cbf6['shift']());}catch(_0x4bf614){_0x27cbf6['push'](_0x27cbf6['shift']());}}}(a69_0x36bc,0x88e8a));function measureText(_0x18eb07,_0x4dbc04,_0x27f593,_0x5ae525,_0xfbb909){const _0x45b557=a69_0x2672,_0x4b8e6a=_0x18eb07[_0x45b557(0x1c1)](_0x4dbc04),_0x295eee=!/\S/[_0x45b557(0x1bd)](_0x4dbc04);if(!_0x295eee&&document[_0x45b557(0x1c3)]){const _0x1da82e=document[_0x45b557(0x1c3)][_0x45b557(0x1d0)](_0x18eb07['canvas'])[_0x45b557(0x1d6)]('font-size')[_0x45b557(0x1c4)]('px',''),_0x5953a1=document['createElement']('canvas'),_0x4a8116=0x64,_0x93299a=_0x4b8e6a[_0x45b557(0x1e3)]+_0x4a8116|0x0,_0x1d9d41=0x3*(_0x1da82e-0x0),_0x402436=_0x1d9d41/0x2;_0x5953a1['width']=_0x93299a,_0x5953a1['height']=_0x1d9d41;const _0x1ee125=_0x5953a1[_0x45b557(0x1ef)]('2d');if(!_0x1ee125)return{};_0x1ee125['font']=_0x27f593,_0x1ee125[_0x45b557(0x1e6)]=_0x45b557(0x1dc),_0x1ee125[_0x45b557(0x1e1)](0x0,0x0,_0x5953a1[_0x45b557(0x1e3)]+0x1,_0x5953a1['height']+0x1);_0x5ae525&&(_0x1ee125[_0x45b557(0x1ca)]=_0x45b557(0x1cf),_0x1ee125['lineWidth']=_0x18eb07[_0x45b557(0x1ec)],_0x1ee125[_0x45b557(0x1c9)](_0x4dbc04,_0x4a8116/0x2,_0x402436));_0xfbb909&&(_0x1ee125['fillStyle']=_0x45b557(0x1cf),_0x1ee125['fillText'](_0x4dbc04,_0x4a8116/0x2,_0x402436));const _0x1cc19c=_0x1ee125['getImageData'](0x0,0x0,_0x93299a,_0x1d9d41)[_0x45b557(0x1be)],_0x4fd6a0=_0x1cc19c[_0x45b557(0x1e8)],_0x59eba1=_0x93299a*0x4;let _0x3c1121,_0x59153b,_0x4a4284=0x0,_0x4e72d2=0x0;for(_0x3c1121=0x0;_0x3c1121<_0x4fd6a0;++_0x3c1121){if(_0x1cc19c[_0x3c1121]!==0xff){_0x4a4284=_0x3c1121/_0x59eba1|0x0;break;}}for(_0x3c1121=_0x4fd6a0-0x1;_0x3c1121>=0x0;--_0x3c1121){if(_0x1cc19c[_0x3c1121]!==0xff){_0x4e72d2=_0x3c1121/_0x59eba1|0x0;break;}}let _0xa0219f=-0x1;for(_0x3c1121=0x0;_0x3c1121<_0x93299a&&_0xa0219f===-0x1;++_0x3c1121){for(_0x59153b=0x0;_0x59153b<_0x1d9d41;++_0x59153b){const _0x14b334=_0x3c1121*0x4+_0x59153b*_0x59eba1;if(_0x1cc19c[_0x14b334]!==0xff||_0x1cc19c[_0x14b334+0x1]!==0xff||_0x1cc19c[_0x14b334+0x2]!==0xff||_0x1cc19c[_0x14b334+0x3]!==0xff){_0xa0219f=_0x3c1121;break;}}}return{'width':_0x4b8e6a[_0x45b557(0x1e3)],'height':_0x4e72d2-_0x4a4284,'ascent':_0x402436-_0x4a4284,'descent':_0x4e72d2-_0x402436,'minx':_0xa0219f-_0x4a8116/0x2};}return{'width':_0x4b8e6a[_0x45b557(0x1e3)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0xdf5cc4,_0x1072fc){const _0x4d1ed1=a69_0x2672;if(!_0xdf5cc4)throw new Error('text\x20is\x20required.');if(_0xdf5cc4==='')return undefined;_0x1072fc=defaultValue(_0x1072fc,{});const _0x42513b=defaultValue(_0x1072fc['font'],_0x4d1ed1(0x1df)),_0x19a3bd=defaultValue(_0x1072fc[_0x4d1ed1(0x1ce)],![]),_0xe8dc03=defaultValue(_0x1072fc[_0x4d1ed1(0x1e2)],!![]),_0x3ce414=defaultValue(_0x1072fc[_0x4d1ed1(0x1c0)],0x1),_0x19d2a8=defaultValue(_0x1072fc['backgroundColor'],_0x4d1ed1(0x1c6)),_0x1eab70=defaultValue(_0x1072fc['padding'],0x0),_0x3851dc=_0x1eab70*0x2,_0x45ea1a=document[_0x4d1ed1(0x1ee)](_0x4d1ed1(0x1ea));_0x45ea1a['width']=0x1,_0x45ea1a[_0x4d1ed1(0x1ed)]=0x1,_0x45ea1a['style']['font']=_0x42513b;const _0x544453=_0x45ea1a[_0x4d1ed1(0x1ef)]('2d');if(!imageSmoothingEnabledName&&_0x544453){if(_0x544453[_0x4d1ed1(0x1d9)])imageSmoothingEnabledName='imageSmoothingEnabled';else{if(_0x544453[_0x4d1ed1(0x1e4)])imageSmoothingEnabledName=_0x4d1ed1(0x1e4);else{if(_0x544453['webkitImageSmoothingEnabled'])imageSmoothingEnabledName=_0x4d1ed1(0x1cb);else _0x544453['msImageSmoothingEnabled']&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x544453[_0x4d1ed1(0x1e7)]=_0x42513b,_0x544453[_0x4d1ed1(0x1db)]=_0x4d1ed1(0x1d2),_0x544453[_0x4d1ed1(0x1ec)]=_0x3ce414,_0x544453[imageSmoothingEnabledName]=![],_0x45ea1a['style'][_0x4d1ed1(0x1eb)]='hidden',document[_0x4d1ed1(0x1c5)]['appendChild'](_0x45ea1a);const _0x3eaca6=measureText(_0x544453,_0xdf5cc4,_0x42513b,_0x19a3bd,_0xe8dc03);if(!_0x3eaca6)return;_0x45ea1a[_0x4d1ed1(0x1bf)]=_0x3eaca6,document[_0x4d1ed1(0x1c5)]['removeChild'](_0x45ea1a),_0x45ea1a['style']['visibility']='';const _0x8839c1=-(_0x3eaca6[_0x4d1ed1(0x1e9)]?_0x3eaca6[_0x4d1ed1(0x1e9)]:0x0),_0x18f90e=Math[_0x4d1ed1(0x1e0)](_0x3eaca6[_0x4d1ed1(0x1e3)])+_0x8839c1+_0x3851dc,_0x373808=(_0x3eaca6[_0x4d1ed1(0x1ed)]?_0x3eaca6['height']:0x0)+_0x3851dc,_0x29bb13=_0x373808-(_0x3eaca6[_0x4d1ed1(0x1d4)]?_0x3eaca6[_0x4d1ed1(0x1d4)]:0x0)+_0x1eab70,_0x5f0625=_0x373808-_0x29bb13+_0x3851dc;return _0x45ea1a['width']=_0x18f90e,_0x45ea1a[_0x4d1ed1(0x1ed)]=_0x373808,_0x544453[_0x4d1ed1(0x1e7)]=_0x42513b,_0x544453[_0x4d1ed1(0x1db)]='round',_0x544453[_0x4d1ed1(0x1ec)]=_0x3ce414,_0x544453[imageSmoothingEnabledName]=![],_0x19d2a8!=='#00000000'&&(_0x544453[_0x4d1ed1(0x1e6)]=_0x19d2a8,_0x544453['fillRect'](0x0,0x0,_0x45ea1a[_0x4d1ed1(0x1e3)],_0x45ea1a['height'])),_0x19a3bd&&(_0x544453['strokeStyle']=defaultValue(_0x1072fc[_0x4d1ed1(0x1c8)],_0x4d1ed1(0x1d7)),_0x544453[_0x4d1ed1(0x1c9)](_0xdf5cc4,_0x8839c1+_0x1eab70,_0x5f0625)),_0xe8dc03&&(_0x544453[_0x4d1ed1(0x1e6)]=defaultValue(_0x1072fc[_0x4d1ed1(0x1bc)],'#FFFFFF'),_0x544453['fillText'](_0xdf5cc4,_0x8839c1+_0x1eab70,_0x5f0625)),_0x45ea1a;}function defaultValue(_0x2ad50a,_0x3e8f71){if(_0x2ad50a!==undefined&&_0x2ad50a!==null)return _0x2ad50a;return _0x3e8f71;}function a69_0x2672(_0x3c567b,_0x25583b){const _0x36bc24=a69_0x36bc();return a69_0x2672=function(_0x267246,_0x58c112){_0x267246=_0x267246-0x1bc;let _0x54bc73=_0x36bc24[_0x267246];return _0x54bc73;},a69_0x2672(_0x3c567b,_0x25583b);}function a69_0x36bc(){const _0x55841f=['mozImageSmoothingEnabled','9WQvlHB','fillStyle','font','length','minx','canvas','visibility','lineWidth','height','createElement','getContext','fillColor','test','data','dimensions','strokeWidth','measureText','8487070LcMgJQ','defaultView','replace','body','#00000000','808aJOrAy','strokeColor','strokeText','strokeStyle','webkitImageSmoothingEnabled','362055zwVzuQ','144xlIBhc','stroke','black','getComputedStyle','334048scOtYJ','round','8055616OdgOer','ascent','135132zOtUvM','getPropertyValue','#000000','235EPmSFF','imageSmoothingEnabled','399WOwuCh','lineJoin','white','1387379tMrhFQ','8tRSAcs','10px\x20sans-serif','ceil','fillRect','fill','width'];a69_0x36bc=function(){return _0x55841f;};return a69_0x36bc();}export default writeTextToCanvas;
@@ -1 +1 @@
1
- const a73_0x134cb3=a73_0x50cd;function a73_0x50cd(_0x417ef0,_0x4f8724){const _0x1a95eb=a73_0x1a95();return a73_0x50cd=function(_0x50cd4d,_0x50504e){_0x50cd4d=_0x50cd4d-0x13c;let _0x29386a=_0x1a95eb[_0x50cd4d];return _0x29386a;},a73_0x50cd(_0x417ef0,_0x4f8724);}(function(_0x536780,_0x489b61){const _0x5d55f7=a73_0x50cd,_0x572e97=_0x536780();while(!![]){try{const _0x539e1d=parseInt(_0x5d55f7(0x15c))/0x1+-parseInt(_0x5d55f7(0x157))/0x2*(-parseInt(_0x5d55f7(0x145))/0x3)+parseInt(_0x5d55f7(0x140))/0x4+-parseInt(_0x5d55f7(0x146))/0x5*(-parseInt(_0x5d55f7(0x13e))/0x6)+parseInt(_0x5d55f7(0x159))/0x7+-parseInt(_0x5d55f7(0x151))/0x8+-parseInt(_0x5d55f7(0x15d))/0x9;if(_0x539e1d===_0x489b61)break;else _0x572e97['push'](_0x572e97['shift']());}catch(_0x2ce602){_0x572e97['push'](_0x572e97['shift']());}}}(a73_0x1a95,0xb5ada));import a73_0x2acaee from'ol/format/EsriJSON';import a73_0x11225b from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a73_0x260f36 from'./Task';import{appendPath}from'../../UrlUtil';function a73_0x1a95(){const _0x44fef3=['getProjection','layerDefs','imageDisplay','9774936MphqFo','getResolution','run','getSize','writeGeometryObject','getCode','352wRAJBg','returnZ','8788486ELimNA','layers','getView','662204tiASwm','6647031QZGrki','params','_setGeometryParams','1389006xEbEuI','all','1690692SojzPP','geometry','url','inSR','mapExtent','2262EKRXyn','5WqAvuu','time','resolution','request','path','valueOf','returnGeometry','returnM'];a73_0x1a95=function(){return _0x44fef3;};return a73_0x1a95();}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a73_0x260f36{constructor(_0x21f058,_0x5767bd,_0x3e904b){const _0x1876de=a73_0x50cd;super(_0x21f058,_0x5767bd,_0x3e904b),this[_0x1876de(0x14a)]='identify',this[_0x1876de(0x13c)]={'layers':_0x1876de(0x13f),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this['resolution']=0x0,this[_0x1876de(0x142)]=appendPath(this['url'],this[_0x1876de(0x14a)]),_0x5767bd&&((_0x5767bd[_0x1876de(0x14c)]===!![]||_0x5767bd[_0x1876de(0x14c)]===![])&&(this[_0x1876de(0x13c)][_0x1876de(0x14c)]=_0x5767bd[_0x1876de(0x14c)]),_0x5767bd[_0x1876de(0x15a)]&&(this['params']['layers']=_0x5767bd[_0x1876de(0x15a)]),_0x5767bd[_0x1876de(0x14f)]&&(this[_0x1876de(0x13c)][_0x1876de(0x14f)]=_0x5767bd[_0x1876de(0x14f)]),(_0x5767bd[_0x1876de(0x158)]===!![]||_0x5767bd[_0x1876de(0x158)]===![])&&(this[_0x1876de(0x13c)][_0x1876de(0x158)]=_0x5767bd[_0x1876de(0x158)]),(_0x5767bd['returnM']===!![]||_0x5767bd['returnM']===![])&&(this[_0x1876de(0x13c)]['returnM']=_0x5767bd[_0x1876de(0x14d)]));}['at'](_0x4788b4,_0x236908){const _0x33bfc2=a73_0x50cd;let _0x368c8f,_0x103374;const _0x5dfc83=new a73_0x11225b();_0x368c8f=_0x4788b4,_0x103374=getEsriSpatialReference(_0x236908['getView']()['getProjection']()['getCode']());const _0x59860c=_0x236908[_0x33bfc2(0x154)]();_0x59860c&&(this[_0x33bfc2(0x13c)][_0x33bfc2(0x150)]=[_0x59860c[0x0],_0x59860c[0x1],0x60]);this[_0x33bfc2(0x13c)]['sr']=_0x103374;const _0x47a137=_0x236908[_0x33bfc2(0x15b)]()['calculateExtent'](_0x236908[_0x33bfc2(0x154)]());this[_0x33bfc2(0x13c)][_0x33bfc2(0x144)]={'xmin':_0x47a137[0x0],'ymin':_0x47a137[0x1],'xmax':_0x47a137[0x2],'ymax':_0x47a137[0x3],'spatialReference':_0x103374};const _0x51f8dc=_0x236908['getView']()[_0x33bfc2(0x152)](),_0x574d2f=_0x236908[_0x33bfc2(0x15b)]()['getCenter']();return _0x51f8dc&&_0x574d2f&&(this[_0x33bfc2(0x148)]=getPointResolution(_0x236908['getView']()[_0x33bfc2(0x14e)](),_0x51f8dc,_0x574d2f)),this[_0x33bfc2(0x13d)](_0x368c8f,_0x236908[_0x33bfc2(0x15b)]()[_0x33bfc2(0x14e)]()[_0x33bfc2(0x156)]()),this;}['between'](_0x2dd5cb,_0x4e6b87){const _0x15204e=a73_0x50cd;return this['params'][_0x15204e(0x147)]=[_0x2dd5cb['valueOf'](),_0x4e6b87[_0x15204e(0x14b)]()],this;}[a73_0x134cb3(0x153)](){const _0x267ac4=a73_0x134cb3;this[_0x267ac4(0x149)]();}['_setGeometryParams'](_0x18d90b,_0xba886b){const _0x1d4156=a73_0x134cb3;var _0x429a7c=new a73_0x2acaee();const _0x4c4f9d=_0x429a7c[_0x1d4156(0x155)](_0x18d90b);this[_0x1d4156(0x13c)][_0x1d4156(0x143)]=getEsriSpatialReference(_0xba886b),this[_0x1d4156(0x13c)][_0x1d4156(0x141)]=_0x4c4f9d,this[_0x1d4156(0x13c)]['geometryType']=this['geojsonTypeToArcGIS'](_0x18d90b['getType']());}}
1
+ const a73_0x5c4c94=a73_0x14ca;function a73_0x14ca(_0x1d0e31,_0x247cb2){const _0x20338a=a73_0x2033();return a73_0x14ca=function(_0x14ca4b,_0x466d63){_0x14ca4b=_0x14ca4b-0x1d1;let _0x4ba08d=_0x20338a[_0x14ca4b];return _0x4ba08d;},a73_0x14ca(_0x1d0e31,_0x247cb2);}(function(_0xcc27b0,_0x103249){const _0x27bc38=a73_0x14ca,_0x32c520=_0xcc27b0();while(!![]){try{const _0x31e757=parseInt(_0x27bc38(0x1eb))/0x1+-parseInt(_0x27bc38(0x1e0))/0x2*(-parseInt(_0x27bc38(0x1e9))/0x3)+-parseInt(_0x27bc38(0x1d9))/0x4+-parseInt(_0x27bc38(0x1e5))/0x5*(parseInt(_0x27bc38(0x1db))/0x6)+parseInt(_0x27bc38(0x1d7))/0x7+-parseInt(_0x27bc38(0x1da))/0x8+parseInt(_0x27bc38(0x1ef))/0x9*(-parseInt(_0x27bc38(0x1e2))/0xa);if(_0x31e757===_0x103249)break;else _0x32c520['push'](_0x32c520['shift']());}catch(_0xb51a3b){_0x32c520['push'](_0x32c520['shift']());}}}(a73_0x2033,0x242bb));import a73_0xe4dfe7 from'ol/format/EsriJSON';import a73_0x1112db from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a73_0x3f1e87 from'./Task';import{appendPath}from'../../UrlUtil';function a73_0x2033(){const _0x5ad02c=['348svEUYf','returnGeometry','imageDisplay','getCode','time','499110SmQdMc','all','1374010qgSuNA','returnZ','geometryType','5905bCmUlh','getCenter','layers','_setGeometryParams','3UxQOAc','resolution','259987FGLAIj','url','getResolution','params','9lPHQDJ','getSize','geometry','calculateExtent','returnM','getProjection','valueOf','layerDefs','getView','mapExtent','1830976VAItGM','run','1004560HGwgdn','1327328bRhQlD'];a73_0x2033=function(){return _0x5ad02c;};return a73_0x2033();}import{getEsriSpatialReference}from'../../EsriUtil';export default class Identify extends a73_0x3f1e87{constructor(_0x135d27,_0x1c9dbb,_0x215b07){const _0x5911e9=a73_0x14ca;super(_0x135d27,_0x1c9dbb,_0x215b07),this['path']='identify',this['params']={'layers':_0x5911e9(0x1e1),'tolerance':0x0,'returnGeometry':!![]},this['tolerance']=0x3,this[_0x5911e9(0x1ea)]=0x0,this[_0x5911e9(0x1ec)]=appendPath(this[_0x5911e9(0x1ec)],this['path']),_0x1c9dbb&&((_0x1c9dbb[_0x5911e9(0x1dc)]===!![]||_0x1c9dbb[_0x5911e9(0x1dc)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1dc)]=_0x1c9dbb[_0x5911e9(0x1dc)]),_0x1c9dbb[_0x5911e9(0x1e7)]&&(this['params'][_0x5911e9(0x1e7)]=_0x1c9dbb[_0x5911e9(0x1e7)]),_0x1c9dbb[_0x5911e9(0x1d4)]&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1d4)]=_0x1c9dbb[_0x5911e9(0x1d4)]),(_0x1c9dbb[_0x5911e9(0x1e3)]===!![]||_0x1c9dbb[_0x5911e9(0x1e3)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1e3)]=_0x1c9dbb[_0x5911e9(0x1e3)]),(_0x1c9dbb[_0x5911e9(0x1d1)]===!![]||_0x1c9dbb[_0x5911e9(0x1d1)]===![])&&(this[_0x5911e9(0x1ee)][_0x5911e9(0x1d1)]=_0x1c9dbb[_0x5911e9(0x1d1)]));}['at'](_0x57d66d,_0x4cbea2){const _0x15988e=a73_0x14ca;let _0x5e7242,_0x378211;const _0xa1a448=new a73_0x1112db();_0x5e7242=_0x57d66d,_0x378211=getEsriSpatialReference(_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)]()[_0x15988e(0x1de)]());const _0xa28994=_0x4cbea2[_0x15988e(0x1f0)]();_0xa28994&&(this[_0x15988e(0x1ee)][_0x15988e(0x1dd)]=[_0xa28994[0x0],_0xa28994[0x1],0x60]);this[_0x15988e(0x1ee)]['sr']=_0x378211;const _0x49cb5c=_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1f2)](_0x4cbea2[_0x15988e(0x1f0)]());this[_0x15988e(0x1ee)][_0x15988e(0x1d6)]={'xmin':_0x49cb5c[0x0],'ymin':_0x49cb5c[0x1],'xmax':_0x49cb5c[0x2],'ymax':_0x49cb5c[0x3],'spatialReference':_0x378211};const _0x2adc07=_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1ed)](),_0x3922f2=_0x4cbea2['getView']()[_0x15988e(0x1e6)]();return _0x2adc07&&_0x3922f2&&(this[_0x15988e(0x1ea)]=getPointResolution(_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)](),_0x2adc07,_0x3922f2)),this[_0x15988e(0x1e8)](_0x5e7242,_0x4cbea2[_0x15988e(0x1d5)]()[_0x15988e(0x1d2)]()[_0x15988e(0x1de)]()),this;}['between'](_0x4a8f40,_0x626133){const _0x428682=a73_0x14ca;return this['params'][_0x428682(0x1df)]=[_0x4a8f40[_0x428682(0x1d3)](),_0x626133[_0x428682(0x1d3)]()],this;}[a73_0x5c4c94(0x1d8)](){this['request']();}['_setGeometryParams'](_0x2d54b8,_0xa9ff5d){const _0x13f463=a73_0x5c4c94;var _0x1bf6ad=new a73_0xe4dfe7();const _0x4990cd=_0x1bf6ad['writeGeometryObject'](_0x2d54b8);this[_0x13f463(0x1ee)]['inSR']=getEsriSpatialReference(_0xa9ff5d),this[_0x13f463(0x1ee)][_0x13f463(0x1f1)]=_0x4990cd,this['params'][_0x13f463(0x1e4)]=this['geojsonTypeToArcGIS'](_0x2d54b8['getType']());}}
@@ -1 +1 @@
1
- function a74_0x3df1(_0x17a4fb,_0x46992f){const _0x42f882=a74_0x42f8();return a74_0x3df1=function(_0x3df154,_0x37d2a9){_0x3df154=_0x3df154-0x66;let _0x3ea835=_0x42f882[_0x3df154];return _0x3ea835;},a74_0x3df1(_0x17a4fb,_0x46992f);}const a74_0x169682=a74_0x3df1;function a74_0x42f8(){const _0x49693b=['units','nearby','params','getType','intersects','returnZ','warn','count','_setGeometryParams','maxAllowableOffset','returnCountOnly','/query','catch','esriSpatialRelEnvelopeIntersects','where','esriSpatialRelIntersects','code','length','253EBrdtG','returnDistinctValues','contains','orderByFields','features','8acPFfP','No\x20features\x20found','esriSpatialRelWithin','3839906kkAvQB','esriSpatialRelIndexIntersects','bboxIntersects','inSR','touches','1=1','run','orderBy','forEach','esriSpatialRelOverlaps','crosses','abs','simplify','readFeature','esriSpatialRelTouches','returnIdsOnly','distance','25181NGOgaU','getSize','request','spatialRel','returnExtentOnly','push','ids','geojsonTypeToArcGIS','2115665hWMVAL','query','outSR','12990474aFMEAU','path','returnGeometry','16941340gDlOgq','indexIntersects','time','94XForOy','geometry','895308rldFDT','writeGeometryObject','url','24QajEHM','esriSRUnit_Meter','valueOf','_cleanParams','esriSpatialRelContains','400','1056OdaliC','returnM','12176kEQgyS','data'];a74_0x42f8=function(){return _0x49693b;};return a74_0x42f8();}(function(_0x517e3d,_0x291701){const _0x4dfc68=a74_0x3df1,_0x53d1d9=_0x517e3d();while(!![]){try{const _0x18255d=parseInt(_0x4dfc68(0xa1))/0x1*(parseInt(_0x4dfc68(0x67))/0x2)+parseInt(_0x4dfc68(0x72))/0x3*(-parseInt(_0x4dfc68(0x74))/0x4)+-parseInt(_0x4dfc68(0xa9))/0x5*(parseInt(_0x4dfc68(0x6c))/0x6)+-parseInt(_0x4dfc68(0x90))/0x7*(-parseInt(_0x4dfc68(0x8d))/0x8)+-parseInt(_0x4dfc68(0xac))/0x9+parseInt(_0x4dfc68(0xaf))/0xa+-parseInt(_0x4dfc68(0x88))/0xb*(-parseInt(_0x4dfc68(0x69))/0xc);if(_0x18255d===_0x291701)break;else _0x53d1d9['push'](_0x53d1d9['shift']());}catch(_0x42d010){_0x53d1d9['push'](_0x53d1d9['shift']());}}}(a74_0x42f8,0xe4390));import a74_0x5d4d63 from'ol/format/EsriJSON';import a74_0x3a0ab1 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a74_0x3a0ab1{constructor(_0x8b5622,_0x3c1039,_0x25e503){const _0x1a9c60=a74_0x3df1;super(_0x8b5622,_0x3c1039,_0x25e503),this[_0x1a9c60(0xad)]=_0x1a9c60(0xaa),this[_0x1a9c60(0x78)]={'returnGeometry':!![],'where':_0x1a9c60(0x95),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this[_0x1a9c60(0x6b)]=appendPath(this['url'],this[_0x1a9c60(0xad)]),_0x3c1039&&((_0x3c1039['returnGeometry']===!![]||_0x3c1039[_0x1a9c60(0xae)]===![])&&(this[_0x1a9c60(0x78)][_0x1a9c60(0xae)]=_0x3c1039['returnGeometry']),_0x3c1039[_0x1a9c60(0x84)]&&(this[_0x1a9c60(0x78)][_0x1a9c60(0x84)]=_0x3c1039[_0x1a9c60(0x84)]),_0x3c1039[_0x1a9c60(0xab)]&&(this['params'][_0x1a9c60(0xab)]=getEsriSpatialReference(_0x3c1039['outSR'])),(_0x3c1039[_0x1a9c60(0x7b)]===!![]||_0x3c1039[_0x1a9c60(0x7b)]===![])&&(this[_0x1a9c60(0x78)]['returnZ']=_0x3c1039[_0x1a9c60(0x7b)]),(_0x3c1039[_0x1a9c60(0x73)]===!![]||_0x3c1039[_0x1a9c60(0x73)]===![])&&(this[_0x1a9c60(0x78)][_0x1a9c60(0x73)]=_0x3c1039[_0x1a9c60(0x73)]));}['within'](_0x44de85,_0x14c3ca){const _0x915db4=a74_0x3df1;return this['_setGeometryParams'](_0x44de85,_0x14c3ca),this['params'][_0x915db4(0xa4)]=_0x915db4(0x70),this;}[a74_0x169682(0x7a)](_0x41846c,_0x514953){const _0x226fc6=a74_0x169682;return this[_0x226fc6(0x7e)](_0x41846c,_0x514953),this[_0x226fc6(0x78)][_0x226fc6(0xa4)]='esriSpatialRelIntersects',this;}[a74_0x169682(0x8a)](_0x5a1981,_0x5e5308){const _0x2c91d0=a74_0x169682;return this[_0x2c91d0(0x7e)](_0x5a1981,_0x5e5308),this[_0x2c91d0(0x78)]['spatialRel']=_0x2c91d0(0x8f),this;}[a74_0x169682(0x9a)](_0x232a49,_0x39dc87){const _0x196133=a74_0x169682;return this['_setGeometryParams'](_0x232a49,_0x39dc87),this['params'][_0x196133(0xa4)]='esriSpatialRelCrosses',this;}[a74_0x169682(0x94)](_0x1f906f,_0x5900a2){const _0x3e92d6=a74_0x169682;return this[_0x3e92d6(0x7e)](_0x1f906f,_0x5900a2),this[_0x3e92d6(0x78)][_0x3e92d6(0xa4)]=_0x3e92d6(0x9e),this;}['overlaps'](_0x8eb04,_0xa95117){const _0x49603b=a74_0x169682;return this['_setGeometryParams'](_0x8eb04,_0xa95117),this[_0x49603b(0x78)][_0x49603b(0xa4)]=_0x49603b(0x99),this;}[a74_0x169682(0x92)](_0x31ac15,_0x3b4146){const _0x49891f=a74_0x169682;return this[_0x49891f(0x7e)](_0x31ac15,_0x3b4146),this[_0x49891f(0x78)][_0x49891f(0xa4)]=_0x49891f(0x83),this;}[a74_0x169682(0xb0)](_0x5c7001,_0x36d23c){const _0x4487bd=a74_0x169682;return this[_0x4487bd(0x7e)](_0x5c7001,_0x36d23c),this['params']['spatialRel']=_0x4487bd(0x91),this;}[a74_0x169682(0x77)](_0x34ffe6,_0x34d3a9,_0x543d82){const _0x398fb9=a74_0x169682;return this['_setGeometryParams'](_0x34ffe6,_0x34d3a9),this[_0x398fb9(0x78)][_0x398fb9(0xa4)]=_0x398fb9(0x85),this[_0x398fb9(0x78)][_0x398fb9(0x76)]=_0x398fb9(0x6d),this[_0x398fb9(0x78)][_0x398fb9(0xa0)]=_0x543d82,this;}['where'](_0x185746){const _0x30e48a=a74_0x169682;return this[_0x30e48a(0x78)][_0x30e48a(0x84)]=_0x185746,this;}['between'](_0x4745dc,_0x49229f){const _0x50169f=a74_0x169682;return this[_0x50169f(0x78)][_0x50169f(0x66)]=[_0x4745dc[_0x50169f(0x6e)](),_0x49229f[_0x50169f(0x6e)]()],this;}[a74_0x169682(0x9c)](_0x1c7b6c,_0x253309){const _0x22e3a1=a74_0x169682,_0x1c1e9a=_0x1c7b6c['getExtent']();var _0x51f72f=Math[_0x22e3a1(0x9b)](_0x1c1e9a[0x2]-_0x1c1e9a[0x0]);const _0x12a0cd=_0x1c7b6c[_0x22e3a1(0xa2)]();if(_0x12a0cd)return this[_0x22e3a1(0x78)][_0x22e3a1(0x7f)]=_0x51f72f/_0x12a0cd[0x1]*_0x253309,this;}[a74_0x169682(0x97)](_0x51725c,_0x515b83){const _0xab1e08=a74_0x169682;return _0x515b83=_0x515b83||'ASC',this[_0xab1e08(0x78)][_0xab1e08(0x8b)]=this[_0xab1e08(0x78)]['orderByFields']?this[_0xab1e08(0x78)][_0xab1e08(0x8b)]+',':'',this['params']['orderByFields']+=[_0x51725c,_0x515b83]['join']('\x20'),this;}async[a74_0x169682(0x96)](){const _0x55ad29=a74_0x169682;this[_0x55ad29(0x6f)]();const _0xdf0496=await this['request']()[_0x55ad29(0x82)](_0x2f4487=>{throw new Error(_0x2f4487);});if(_0xdf0496['status']!==0xc8)throw new Error(_0x55ad29(0x8e));if(_0xdf0496[_0x55ad29(0x75)]&&_0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)]&&_0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)][_0x55ad29(0x87)]>0x0){var _0x5bc7c9=new a74_0x5d4d63();let _0x589064=[];return _0xdf0496[_0x55ad29(0x75)][_0x55ad29(0x8c)][_0x55ad29(0x98)](_0x270be5=>{const _0x51ac73=_0x55ad29,_0x1e1321=_0x5bc7c9[_0x51ac73(0x9d)](_0x270be5);_0x589064[_0x51ac73(0xa6)](_0x1e1321);}),_0x589064;}return[];}[a74_0x169682(0x7d)](){const _0x5a34e4=a74_0x169682;this[_0x5a34e4(0x6f)](),this['params'][_0x5a34e4(0x80)]=!![],this[_0x5a34e4(0xa3)]();}[a74_0x169682(0xa7)](){const _0xb09abb=a74_0x169682;this[_0xb09abb(0x6f)](),this[_0xb09abb(0x78)]['returnIdsOnly']=!![],this[_0xb09abb(0xa3)]();}['distinct'](){const _0x1de038=a74_0x169682;return this[_0x1de038(0x78)][_0x1de038(0xae)]=![],this['params'][_0x1de038(0x89)]=!![],this;}['layer'](_0x90606){const _0x47fae3=a74_0x169682;return this['path']=_0x90606+_0x47fae3(0x81),this;}['_trapSQLerrors'](_0x34611a){const _0x5b987b=a74_0x169682;_0x34611a&&(_0x34611a[_0x5b987b(0x86)]===_0x5b987b(0x71)&&console[_0x5b987b(0x7c)]['apply']('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}['_cleanParams'](){const _0x229018=a74_0x169682;delete this['params'][_0x229018(0x9f)],delete this[_0x229018(0x78)][_0x229018(0xa5)],delete this[_0x229018(0x78)][_0x229018(0x80)];}['_setGeometryParams'](_0x35409c,_0x19bed1){const _0x4c4777=a74_0x169682;var _0x435c1c=new a74_0x5d4d63();const _0xb3a6c5=_0x435c1c[_0x4c4777(0x6a)](_0x35409c);this[_0x4c4777(0x78)][_0x4c4777(0x93)]=getEsriSpatialReference(_0x19bed1),this['params'][_0x4c4777(0x68)]=_0xb3a6c5,this[_0x4c4777(0x78)]['geometryType']=this[_0x4c4777(0xa8)](_0x35409c[_0x4c4777(0x79)]());}}
1
+ const a74_0x1f671d=a74_0x56d2;(function(_0x38918e,_0x51d497){const _0x2b82ab=a74_0x56d2,_0x486c27=_0x38918e();while(!![]){try{const _0x17aa8d=parseInt(_0x2b82ab(0x167))/0x1*(-parseInt(_0x2b82ab(0x18f))/0x2)+-parseInt(_0x2b82ab(0x178))/0x3+-parseInt(_0x2b82ab(0x156))/0x4*(parseInt(_0x2b82ab(0x173))/0x5)+parseInt(_0x2b82ab(0x163))/0x6+parseInt(_0x2b82ab(0x16c))/0x7*(parseInt(_0x2b82ab(0x154))/0x8)+parseInt(_0x2b82ab(0x184))/0x9*(parseInt(_0x2b82ab(0x17a))/0xa)+-parseInt(_0x2b82ab(0x168))/0xb*(-parseInt(_0x2b82ab(0x179))/0xc);if(_0x17aa8d===_0x51d497)break;else _0x486c27['push'](_0x486c27['shift']());}catch(_0x3cfc14){_0x486c27['push'](_0x486c27['shift']());}}}(a74_0x27e8,0x220f0));import a74_0x57d011 from'ol/format/EsriJSON';import a74_0x783ccf from'./Task';function a74_0x27e8(){const _0xe6ab8d=['readFeature','features','within','between','time','outSR','writeGeometryObject','distance','code','units','indexIntersects','593268djqdgD','layer','geometryType','400','1705zRKozk','44iIkLmw','returnCountOnly','getExtent','ids','2695gplrHQ','url','path','/query','simplify','esriSpatialRelContains','catch','58085BSopXj','_trapSQLerrors','nearby','distinct','esriSpatialRelIndexIntersects','234420kSEgJw','580452ofNqxp','10hEzUlE','where','returnGeometry','returnM','inSR','data','getType','returnZ','esriSpatialRelIntersects','apply','1758231VQhzMW','_setGeometryParams','forEach','orderByFields','request','length','warn','push','geojsonTypeToArcGIS','crosses','getSize','148lCCgRF','contains','1=1','status','count','params','esriSpatialRelCrosses','valueOf','esriSpatialRelWithin','esriSRUnit_Meter','intersects','_cleanParams','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','spatialRel','872fwmDuA','bboxIntersects','64SYNefD','getTime'];a74_0x27e8=function(){return _0xe6ab8d;};return a74_0x27e8();}import{getEsriSpatialReference}from'../../EsriUtil';function a74_0x56d2(_0x583700,_0x22e15b){const _0x27e8f5=a74_0x27e8();return a74_0x56d2=function(_0x56d238,_0x3729bf){_0x56d238=_0x56d238-0x151;let _0x22bb4e=_0x27e8f5[_0x56d238];return _0x22bb4e;},a74_0x56d2(_0x583700,_0x22e15b);}import{appendPath}from'../../UrlUtil';export default class Query extends a74_0x783ccf{constructor(_0x110d59,_0x54bd4b,_0x53c0ab){const _0xf8f23f=a74_0x56d2;super(_0x110d59,_0x54bd4b,_0x53c0ab),this[_0xf8f23f(0x16e)]='query',this[_0xf8f23f(0x194)]={'returnGeometry':!![],'where':_0xf8f23f(0x191),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0xf8f23f(0x157)]()},this[_0xf8f23f(0x16d)]=appendPath(this['url'],this[_0xf8f23f(0x16e)]),_0x54bd4b&&((_0x54bd4b['returnGeometry']===!![]||_0x54bd4b[_0xf8f23f(0x17c)]===![])&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x17c)]=_0x54bd4b[_0xf8f23f(0x17c)]),_0x54bd4b['where']&&(this[_0xf8f23f(0x194)]['where']=_0x54bd4b[_0xf8f23f(0x17b)]),_0x54bd4b[_0xf8f23f(0x15d)]&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x15d)]=getEsriSpatialReference(_0x54bd4b['outSR'])),(_0x54bd4b[_0xf8f23f(0x181)]===!![]||_0x54bd4b[_0xf8f23f(0x181)]===![])&&(this['params']['returnZ']=_0x54bd4b['returnZ']),(_0x54bd4b[_0xf8f23f(0x17d)]===!![]||_0x54bd4b[_0xf8f23f(0x17d)]===![])&&(this[_0xf8f23f(0x194)][_0xf8f23f(0x17d)]=_0x54bd4b[_0xf8f23f(0x17d)]));}[a74_0x1f671d(0x15a)](_0xa121a7,_0x2e4413){const _0x325122=a74_0x1f671d;return this[_0x325122(0x185)](_0xa121a7,_0x2e4413),this[_0x325122(0x194)][_0x325122(0x153)]=_0x325122(0x171),this;}[a74_0x1f671d(0x199)](_0x4ec307,_0x5d6567){const _0xa83287=a74_0x1f671d;return this[_0xa83287(0x185)](_0x4ec307,_0x5d6567),this[_0xa83287(0x194)][_0xa83287(0x153)]=_0xa83287(0x182),this;}[a74_0x1f671d(0x190)](_0x557753,_0x4b2b53){const _0x5e723b=a74_0x1f671d;return this[_0x5e723b(0x185)](_0x557753,_0x4b2b53),this[_0x5e723b(0x194)][_0x5e723b(0x153)]=_0x5e723b(0x197),this;}[a74_0x1f671d(0x18d)](_0x530235,_0x5928e4){const _0x41f052=a74_0x1f671d;return this['_setGeometryParams'](_0x530235,_0x5928e4),this['params'][_0x41f052(0x153)]=_0x41f052(0x195),this;}['touches'](_0x1e37c4,_0x55849e){const _0x4547e4=a74_0x1f671d;return this[_0x4547e4(0x185)](_0x1e37c4,_0x55849e),this[_0x4547e4(0x194)][_0x4547e4(0x153)]='esriSpatialRelTouches',this;}['overlaps'](_0xf4597e,_0x370d66){const _0x211e62=a74_0x1f671d;return this[_0x211e62(0x185)](_0xf4597e,_0x370d66),this['params'][_0x211e62(0x153)]='esriSpatialRelOverlaps',this;}[a74_0x1f671d(0x155)](_0x37b806,_0x46d079){return this['_setGeometryParams'](_0x37b806,_0x46d079),this['params']['spatialRel']='esriSpatialRelEnvelopeIntersects',this;}[a74_0x1f671d(0x162)](_0xe24f4a,_0x8e60e2){const _0x3f5cad=a74_0x1f671d;return this[_0x3f5cad(0x185)](_0xe24f4a,_0x8e60e2),this[_0x3f5cad(0x194)]['spatialRel']=_0x3f5cad(0x177),this;}[a74_0x1f671d(0x175)](_0x1f9b90,_0x27ea9a,_0x21bd03){const _0x427639=a74_0x1f671d;return this[_0x427639(0x185)](_0x1f9b90,_0x27ea9a),this[_0x427639(0x194)]['spatialRel']=_0x427639(0x182),this[_0x427639(0x194)][_0x427639(0x161)]=_0x427639(0x198),this['params'][_0x427639(0x15f)]=_0x21bd03,this;}[a74_0x1f671d(0x17b)](_0x338dfa){const _0x43537=a74_0x1f671d;return this['params'][_0x43537(0x17b)]=_0x338dfa,this;}[a74_0x1f671d(0x15b)](_0x5be2a1,_0x3b9c3c){const _0x9f05bb=a74_0x1f671d;return this['params'][_0x9f05bb(0x15c)]=[_0x5be2a1[_0x9f05bb(0x196)](),_0x3b9c3c[_0x9f05bb(0x196)]()],this;}[a74_0x1f671d(0x170)](_0x3ca528,_0x1fa273){const _0x1f8cb4=a74_0x1f671d,_0x390e7f=_0x3ca528[_0x1f8cb4(0x16a)]();var _0x315d57=Math['abs'](_0x390e7f[0x2]-_0x390e7f[0x0]);const _0x5d64f0=_0x3ca528[_0x1f8cb4(0x18e)]();if(_0x5d64f0)return this[_0x1f8cb4(0x194)]['maxAllowableOffset']=_0x315d57/_0x5d64f0[0x1]*_0x1fa273,this;}['orderBy'](_0x52b958,_0x2c55b9){const _0x40e223=a74_0x1f671d;return _0x2c55b9=_0x2c55b9||'ASC',this[_0x40e223(0x194)][_0x40e223(0x187)]=this[_0x40e223(0x194)]['orderByFields']?this[_0x40e223(0x194)]['orderByFields']+',':'',this[_0x40e223(0x194)][_0x40e223(0x187)]+=[_0x52b958,_0x2c55b9]['join']('\x20'),this;}async['run'](){const _0x10844a=a74_0x1f671d;this[_0x10844a(0x151)]();const _0xa4c360=await this[_0x10844a(0x188)]()[_0x10844a(0x172)](_0x2efff9=>{throw new Error(_0x2efff9);});if(_0xa4c360[_0x10844a(0x192)]!==0xc8)throw new Error('No\x20features\x20found');if(_0xa4c360[_0x10844a(0x17f)]&&_0xa4c360[_0x10844a(0x17f)][_0x10844a(0x159)]&&_0xa4c360['data'][_0x10844a(0x159)][_0x10844a(0x189)]>0x0){var _0x43bfd4=new a74_0x57d011();let _0x58003c=[];return _0xa4c360[_0x10844a(0x17f)][_0x10844a(0x159)][_0x10844a(0x186)](_0x3058e1=>{const _0x2865cc=_0x10844a,_0x41f360=_0x43bfd4[_0x2865cc(0x158)](_0x3058e1);_0x58003c[_0x2865cc(0x18b)](_0x41f360);}),_0x58003c;}return[];}[a74_0x1f671d(0x193)](){const _0x323bdc=a74_0x1f671d;this[_0x323bdc(0x151)](),this[_0x323bdc(0x194)][_0x323bdc(0x169)]=!![],this[_0x323bdc(0x188)]();}[a74_0x1f671d(0x16b)](){const _0x459c11=a74_0x1f671d;this[_0x459c11(0x151)](),this[_0x459c11(0x194)]['returnIdsOnly']=!![],this['request']();}[a74_0x1f671d(0x176)](){const _0x32ab1a=a74_0x1f671d;return this[_0x32ab1a(0x194)][_0x32ab1a(0x17c)]=![],this[_0x32ab1a(0x194)]['returnDistinctValues']=!![],this;}[a74_0x1f671d(0x164)](_0x58d5b6){const _0x2317fe=a74_0x1f671d;return this[_0x2317fe(0x16e)]=_0x58d5b6+_0x2317fe(0x16f),this;}[a74_0x1f671d(0x174)](_0x4a53c7){const _0x524433=a74_0x1f671d;_0x4a53c7&&(_0x4a53c7[_0x524433(0x160)]===_0x524433(0x166)&&console[_0x524433(0x18a)][_0x524433(0x183)](_0x524433(0x152)));}[a74_0x1f671d(0x151)](){const _0x51eb06=a74_0x1f671d;delete this[_0x51eb06(0x194)]['returnIdsOnly'],delete this[_0x51eb06(0x194)]['returnExtentOnly'],delete this[_0x51eb06(0x194)][_0x51eb06(0x169)];}[a74_0x1f671d(0x185)](_0x6b8890,_0x1094ed){const _0x32e9ba=a74_0x1f671d;var _0x16d12d=new a74_0x57d011();const _0x22529b=_0x16d12d[_0x32e9ba(0x15e)](_0x6b8890);this[_0x32e9ba(0x194)][_0x32e9ba(0x17e)]=getEsriSpatialReference(_0x1094ed),this['params']['geometry']=_0x22529b,this[_0x32e9ba(0x194)][_0x32e9ba(0x165)]=this[_0x32e9ba(0x18c)](_0x6b8890[_0x32e9ba(0x180)]());}}
@@ -1 +1 @@
1
- function a75_0x1a8f(){var _0x10362b=['184887nyKgRk','format','esriGeometryMultipoint','stringify','url','call','returnUnformattedValues','345238ZIbnsK','method','14KcHqYM','1370kPgtDi','MultiPoint','test','join','prototype','GET','geojsonTypeToArcGIS','esriGeometryPolyline','[object\x20Object]','serialize','toString','get','190UPzEHD','2538880SwOQdU','13062xzJyAT','esriGeometryPolygon','hasOwnProperty','Point','1819624VbyJML','MultiLineString','request','[object\x20Date]','Polygon','isArcgisOnline','425254XglLga','json','6eSIAPk','params','3110338aPBaUQ','post','LineString'];a75_0x1a8f=function(){return _0x10362b;};return a75_0x1a8f();}var a75_0x14ad7f=a75_0x23e2;(function(_0x2736e0,_0x32ade5){var _0xf04e23=a75_0x23e2,_0x4bea20=_0x2736e0();while(!![]){try{var _0x566689=-parseInt(_0xf04e23(0x152))/0x1+parseInt(_0xf04e23(0x160))/0x2*(-parseInt(_0xf04e23(0x154))/0x3)+parseInt(_0xf04e23(0x14c))/0x4+-parseInt(_0xf04e23(0x163))/0x5*(-parseInt(_0xf04e23(0x148))/0x6)+parseInt(_0xf04e23(0x162))/0x7*(-parseInt(_0xf04e23(0x147))/0x8)+parseInt(_0xf04e23(0x159))/0x9*(parseInt(_0xf04e23(0x146))/0xa)+parseInt(_0xf04e23(0x156))/0xb;if(_0x566689===_0x32ade5)break;else _0x4bea20['push'](_0x4bea20['shift']());}catch(_0x45bb3d){_0x4bea20['push'](_0x4bea20['shift']());}}}(a75_0x1a8f,0x4df23));import a75_0x1f1d42 from'../../AxiosUtil';function a75_0x23e2(_0xd8cb29,_0x34cef0){var _0x1a8f2f=a75_0x1a8f();return a75_0x23e2=function(_0x23e2da,_0xf90043){_0x23e2da=_0x23e2da-0x146;var _0x244751=_0x1a8f2f[_0x23e2da];return _0x244751;},a75_0x23e2(_0xd8cb29,_0x34cef0);}import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0xa24516,_0x47125a,_0x5eddab){var _0x39b828=a75_0x23e2;this[_0x39b828(0x15d)]=_0xa24516,this[_0x39b828(0x155)]=_0x47125a||{},this['method']=!_0x5eddab?_0x39b828(0x168):_0x5eddab;}[a75_0x14ad7f(0x169)](_0x5e50cc){var _0x130e09=a75_0x14ad7f,_0x55a197;switch(_0x5e50cc){case _0x130e09(0x14b):_0x55a197='esriGeometryPoint';break;case _0x130e09(0x164):_0x55a197=_0x130e09(0x15b);break;case _0x130e09(0x158):_0x55a197='esriGeometryPolyline';break;case _0x130e09(0x14d):_0x55a197=_0x130e09(0x16a);break;case _0x130e09(0x150):_0x55a197=_0x130e09(0x149);break;case'MultiPolygon':_0x55a197=_0x130e09(0x149);break;}return _0x55a197;}[a75_0x14ad7f(0x151)](_0x8ecc8d){var _0x430901=a75_0x14ad7f;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x430901(0x165)](_0x8ecc8d);}['serialize'](_0x2c813c){var _0x1d3f8e=a75_0x14ad7f,_0x3eb381='';_0x2c813c['f']=_0x2c813c['f']||_0x1d3f8e(0x153);for(var _0x24fef7 in _0x2c813c){if(Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x14a)][_0x1d3f8e(0x15e)](_0x2c813c,_0x24fef7)){var _0x540285=_0x2c813c[_0x24fef7],_0x466527=Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x16d)][_0x1d3f8e(0x15e)](_0x540285),_0x1802d6;_0x3eb381['length']&&(_0x3eb381+='&');if(_0x466527==='[object\x20Array]')_0x1802d6=Object[_0x1d3f8e(0x167)][_0x1d3f8e(0x16d)]['call'](_0x540285[0x0])===_0x1d3f8e(0x16b)?JSON['stringify'](_0x540285):_0x540285[_0x1d3f8e(0x166)](',');else{if(_0x466527===_0x1d3f8e(0x16b))_0x1802d6=JSON[_0x1d3f8e(0x15c)](_0x540285);else _0x466527===_0x1d3f8e(0x14f)?_0x1802d6=_0x540285['valueOf']():_0x1802d6=_0x540285;}_0x3eb381+=encodeURIComponent(_0x24fef7)+'='+encodeURIComponent(_0x1802d6);}}return _0x3eb381;}[a75_0x14ad7f(0x15a)](_0x132d20){var _0x534520=a75_0x14ad7f;return this[_0x534520(0x155)][_0x534520(0x15f)]=!_0x132d20,this;}async[a75_0x14ad7f(0x14e)](){var _0x1cc207=a75_0x14ad7f,_0x1c8b33=this[_0x1cc207(0x16c)](this[_0x1cc207(0x155)]);const _0x53ee34=this[_0x1cc207(0x15d)]['indexOf']('?')>-0x1?this[_0x1cc207(0x15d)]+'&'+_0x1c8b33:this[_0x1cc207(0x15d)]+'?'+_0x1c8b33;if(this['method']==='GET')return a75_0x1f1d42[_0x1cc207(0x16e)](_0x53ee34);else{if(this[_0x1cc207(0x161)]==='JSONP')return jsonp(_0x53ee34);else{const _0xc5b674=stringify(this[_0x1cc207(0x155)]);return a75_0x1f1d42[_0x1cc207(0x157)](this[_0x1cc207(0x15d)],_0xc5b674);}}}}
1
+ function a75_0x25f1(_0x58fe20,_0x15f1e3){var _0x4dabb5=a75_0x4dab();return a75_0x25f1=function(_0x25f167,_0x1b4b77){_0x25f167=_0x25f167-0x15a;var _0x18fc6c=_0x4dabb5[_0x25f167];return _0x18fc6c;},a75_0x25f1(_0x58fe20,_0x15f1e3);}var a75_0x326be0=a75_0x25f1;(function(_0x165162,_0x28e11f){var _0x36f636=a75_0x25f1,_0x1790e7=_0x165162();while(!![]){try{var _0x5e7ae0=-parseInt(_0x36f636(0x15f))/0x1*(parseInt(_0x36f636(0x163))/0x2)+-parseInt(_0x36f636(0x16c))/0x3+parseInt(_0x36f636(0x166))/0x4*(-parseInt(_0x36f636(0x175))/0x5)+parseInt(_0x36f636(0x176))/0x6+parseInt(_0x36f636(0x174))/0x7+parseInt(_0x36f636(0x17d))/0x8+parseInt(_0x36f636(0x171))/0x9*(parseInt(_0x36f636(0x17e))/0xa);if(_0x5e7ae0===_0x28e11f)break;else _0x1790e7['push'](_0x1790e7['shift']());}catch(_0x62b571){_0x1790e7['push'](_0x1790e7['shift']());}}}(a75_0x4dab,0x6fe15));function a75_0x4dab(){var _0x28a646=['returnUnformattedValues','prototype','1uZuqas','post','geojsonTypeToArcGIS','serialize','1088810KZiObh','[object\x20Object]','hasOwnProperty','4CtigSW','GET','MultiPolygon','LineString','params','MultiPoint','2130027MtSbIL','Point','method','esriGeometryPolygon','toString','2769399neFAjM','esriGeometryPolyline','isArcgisOnline','5033063QtKFQh','3389075XiwHah','1245654jKQwxt','test','url','[object\x20Date]','format','request','stringify','4325912KNwCcY','30GyhFMn','join','call','MultiLineString'];a75_0x4dab=function(){return _0x28a646;};return a75_0x4dab();}import a75_0x3f6a0f from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x21f020,_0x2fcb08,_0x2ae0c5){var _0x11d38b=a75_0x25f1;this[_0x11d38b(0x178)]=_0x21f020,this[_0x11d38b(0x16a)]=_0x2fcb08||{},this['method']=!_0x2ae0c5?_0x11d38b(0x167):_0x2ae0c5;}[a75_0x326be0(0x161)](_0x40786c){var _0x10b95b=a75_0x326be0,_0x490c22;switch(_0x40786c){case _0x10b95b(0x16d):_0x490c22='esriGeometryPoint';break;case _0x10b95b(0x16b):_0x490c22='esriGeometryMultipoint';break;case _0x10b95b(0x169):_0x490c22=_0x10b95b(0x172);break;case _0x10b95b(0x15c):_0x490c22=_0x10b95b(0x172);break;case'Polygon':_0x490c22=_0x10b95b(0x16f);break;case _0x10b95b(0x168):_0x490c22='esriGeometryPolygon';break;}return _0x490c22;}[a75_0x326be0(0x173)](_0x8bdac8){var _0x120031=a75_0x326be0;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x120031(0x177)](_0x8bdac8);}[a75_0x326be0(0x162)](_0x275f93){var _0x54e8ad=a75_0x326be0,_0x3bc379='';_0x275f93['f']=_0x275f93['f']||'json';for(var _0x174eb2 in _0x275f93){if(Object[_0x54e8ad(0x15e)][_0x54e8ad(0x165)][_0x54e8ad(0x15b)](_0x275f93,_0x174eb2)){var _0x496c6a=_0x275f93[_0x174eb2],_0x296ac4=Object[_0x54e8ad(0x15e)][_0x54e8ad(0x170)][_0x54e8ad(0x15b)](_0x496c6a),_0x1a3dcd;_0x3bc379['length']&&(_0x3bc379+='&');if(_0x296ac4==='[object\x20Array]')_0x1a3dcd=Object[_0x54e8ad(0x15e)][_0x54e8ad(0x170)]['call'](_0x496c6a[0x0])===_0x54e8ad(0x164)?JSON[_0x54e8ad(0x17c)](_0x496c6a):_0x496c6a[_0x54e8ad(0x15a)](',');else{if(_0x296ac4==='[object\x20Object]')_0x1a3dcd=JSON['stringify'](_0x496c6a);else _0x296ac4===_0x54e8ad(0x179)?_0x1a3dcd=_0x496c6a['valueOf']():_0x1a3dcd=_0x496c6a;}_0x3bc379+=encodeURIComponent(_0x174eb2)+'='+encodeURIComponent(_0x1a3dcd);}}return _0x3bc379;}[a75_0x326be0(0x17a)](_0x371292){var _0x38681c=a75_0x326be0;return this[_0x38681c(0x16a)][_0x38681c(0x15d)]=!_0x371292,this;}async[a75_0x326be0(0x17b)](){var _0x19a488=a75_0x326be0,_0x31d5a9=this[_0x19a488(0x162)](this[_0x19a488(0x16a)]);const _0x180631=this['url']['indexOf']('?')>-0x1?this[_0x19a488(0x178)]+'&'+_0x31d5a9:this['url']+'?'+_0x31d5a9;if(this[_0x19a488(0x16e)]===_0x19a488(0x167))return a75_0x3f6a0f['get'](_0x180631);else{if(this[_0x19a488(0x16e)]==='JSONP')return jsonp(_0x180631);else{const _0x2f5883=stringify(this[_0x19a488(0x16a)]);return a75_0x3f6a0f[_0x19a488(0x160)](this[_0x19a488(0x178)],_0x2f5883);}}}}
@@ -1 +1 @@
1
- const a77_0x2cae72=a77_0x1456;(function(_0x458a16,_0x15bfe9){const _0x1f46df=a77_0x1456,_0xecb657=_0x458a16();while(!![]){try{const _0x22310f=-parseInt(_0x1f46df(0x1f1))/0x1*(-parseInt(_0x1f46df(0x1ec))/0x2)+-parseInt(_0x1f46df(0x1eb))/0x3+-parseInt(_0x1f46df(0x1ea))/0x4+-parseInt(_0x1f46df(0x1dd))/0x5*(parseInt(_0x1f46df(0x1e0))/0x6)+parseInt(_0x1f46df(0x1e2))/0x7+parseInt(_0x1f46df(0x1d8))/0x8*(-parseInt(_0x1f46df(0x1e7))/0x9)+parseInt(_0x1f46df(0x1e4))/0xa;if(_0x22310f===_0x15bfe9)break;else _0xecb657['push'](_0xecb657['shift']());}catch(_0x35484f){_0xecb657['push'](_0xecb657['shift']());}}}(a77_0x17a0,0x3c7ea));import{and,intersects}from'ol/format/filter';import a77_0x5abf54 from'../../format/CQL';import a77_0x1d567b from'ol/format/WFS';function a77_0x1456(_0x5c05cd,_0x329a9c){const _0x17a029=a77_0x17a0();return a77_0x1456=function(_0x1456d9,_0x403078){_0x1456d9=_0x1456d9-0x1d5;let _0x33cfa4=_0x17a029[_0x1456d9];return _0x33cfa4;},a77_0x1456(_0x5c05cd,_0x329a9c);}import a77_0x3430e2 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x814c45){const _0x57e1fe=a77_0x1456;this[_0x57e1fe(0x1f0)]={},this[_0x57e1fe(0x1dc)]=_0x814c45;}async[a77_0x2cae72(0x1ed)](_0x404baa){const _0x2bc231=a77_0x2cae72;this[_0x2bc231(0x1f0)]=_0x404baa||{};const _0x4329bf=this[_0x2bc231(0x1f0)][_0x2bc231(0x1de)]||_0x2bc231(0x1f2);let _0x13518d=this[_0x2bc231(0x1f0)]['where'],_0x2f6e87;_0x13518d&&(_0x2f6e87=new a77_0x5abf54()[_0x2bc231(0x1e8)](_0x13518d));let _0x429f29=_0x2f6e87;if(this[_0x2bc231(0x1f0)][_0x2bc231(0x1f3)]){if(!this[_0x2bc231(0x1f0)]['srsName'])throw new Error(_0x2bc231(0x1ee));const _0x17a5f=intersects(_0x4329bf,this[_0x2bc231(0x1f0)][_0x2bc231(0x1f3)]);_0x429f29=_0x2f6e87?and(_0x2f6e87,_0x17a5f):_0x17a5f;}let _0x3b2cfa=new a77_0x1d567b()[_0x2bc231(0x1da)]({'srsName':this[_0x2bc231(0x1f0)]['srsName'],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2bc231(0x1f0)][_0x2bc231(0x1db)]],'outputFormat':'application/json','geometryName':_0x4329bf,'filter':_0x429f29});const _0xe2ec56=await fetch(this['url'],{'method':_0x2bc231(0x1ef),'body':new XMLSerializer()[_0x2bc231(0x1e5)](_0x3b2cfa)}),_0x238549=await _0xe2ec56[_0x2bc231(0x1e6)]();let _0x2a38bc=[];const _0x384633=new a77_0x3430e2();return _0x2a38bc=_0x238549[_0x2bc231(0x1d7)]['map'](_0x23eb8e=>{const _0x1bad16=_0x2bc231;return _0x384633[_0x1bad16(0x1df)](JSON['stringify'](_0x23eb8e));}),_0x2a38bc;}[a77_0x2cae72(0x1e3)](){const _0x2dbc2d=a77_0x2cae72,_0x31e409=this[_0x2dbc2d(0x1f0)]['geometryName']||_0x2dbc2d(0x1f2);let _0x1b1f6c=this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1e1)],_0x307e9a;_0x1b1f6c&&(_0x307e9a=new a77_0x5abf54()[_0x2dbc2d(0x1e8)](_0x1b1f6c));let _0x57049e=_0x307e9a;if(this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1f3)]){const _0x3cf5cf=intersects(_0x31e409,this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1f3)]);_0x57049e=_0x307e9a?and(_0x307e9a,_0x3cf5cf):_0x3cf5cf;}let _0x207f19=new a77_0x1d567b()['writeGetFeature']({'srsName':this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1d9)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x2dbc2d(0x1f0)][_0x2dbc2d(0x1db)]],'outputFormat':_0x2dbc2d(0x1d6),'geometryName':_0x31e409,'filter':_0x57049e});return new Promise(_0x12f68f=>{const _0x4ed77f=_0x2dbc2d;fetch(this['url'],{'method':'POST','body':new XMLSerializer()[_0x4ed77f(0x1e5)](_0x207f19)})['then'](_0x391e3c=>{const _0x30e341=_0x4ed77f;return _0x391e3c[_0x30e341(0x1e6)]();})[_0x4ed77f(0x1f5)](_0x3675da=>{const _0x417726=_0x4ed77f;let _0x195134=[];const _0xe61ed7=new a77_0x3430e2();_0x195134=_0x3675da[_0x417726(0x1d7)][_0x417726(0x1d5)](_0x4b357d=>{const _0x36d21a=_0x417726;return _0xe61ed7[_0x36d21a(0x1df)](JSON[_0x36d21a(0x1e9)](_0x4b357d));}),_0x12f68f(_0x195134);})[_0x4ed77f(0x1f6)](_0x8177bd=>{const _0x451bf9=_0x4ed77f;_0x12f68f([]),console[_0x451bf9(0x1f4)](_0x8177bd);});});}}function a77_0x17a0(){const _0x19c40c=['catch','map','application/json','features','792sSBHtq','srsName','writeGetFeature','tableName','url','52380poBttx','geometryName','readFeature','216hZAmfk','where','1219351gNylrs','_geoserverQuery','2704410KAdYOM','serializeToString','json','4527xFzSta','read','stringify','263496YQAoQD','506613BOkPpp','2162CsuKju','execute','srsName\x20is\x20required','POST','queryParameters','430bDFdSt','the_geom','geometry','error','then'];a77_0x17a0=function(){return _0x19c40c;};return a77_0x17a0();}
1
+ function a77_0xe6fb(_0x1acdf5,_0x10108e){const _0x552912=a77_0x5529();return a77_0xe6fb=function(_0xe6fbd0,_0x17647f){_0xe6fbd0=_0xe6fbd0-0x71;let _0x28e159=_0x552912[_0xe6fbd0];return _0x28e159;},a77_0xe6fb(_0x1acdf5,_0x10108e);}const a77_0x4cce50=a77_0xe6fb;(function(_0x3d02a0,_0x261a2b){const _0x21696d=a77_0xe6fb,_0x468cee=_0x3d02a0();while(!![]){try{const _0x3e9a8e=parseInt(_0x21696d(0x7f))/0x1+-parseInt(_0x21696d(0x89))/0x2+parseInt(_0x21696d(0x84))/0x3+-parseInt(_0x21696d(0x72))/0x4+-parseInt(_0x21696d(0x86))/0x5+parseInt(_0x21696d(0x82))/0x6*(parseInt(_0x21696d(0x83))/0x7)+-parseInt(_0x21696d(0x7b))/0x8;if(_0x3e9a8e===_0x261a2b)break;else _0x468cee['push'](_0x468cee['shift']());}catch(_0x30497e){_0x468cee['push'](_0x468cee['shift']());}}}(a77_0x5529,0xcee7b));import{and,intersects}from'ol/format/filter';import a77_0x18d02a from'../../format/CQL';import a77_0x2231a2 from'ol/format/WFS';import a77_0x261a04 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x45689f){const _0xee89f8=a77_0xe6fb;this[_0xee89f8(0x80)]={},this[_0xee89f8(0x77)]=_0x45689f;}async[a77_0x4cce50(0x76)](_0x1865ff){const _0x374111=a77_0x4cce50;this[_0x374111(0x80)]=_0x1865ff||{};const _0x3b7787=this[_0x374111(0x80)][_0x374111(0x8f)]||_0x374111(0x79);let _0x25ccbd=this[_0x374111(0x80)][_0x374111(0x81)],_0x26c806;_0x25ccbd&&(_0x26c806=new a77_0x18d02a()[_0x374111(0x88)](_0x25ccbd));let _0x4405bd=_0x26c806;if(this[_0x374111(0x80)][_0x374111(0x73)]){if(!this[_0x374111(0x80)][_0x374111(0x7a)])throw new Error(_0x374111(0x85));const _0x250e22=intersects(_0x3b7787,this['queryParameters']['geometry']);_0x4405bd=_0x26c806?and(_0x26c806,_0x250e22):_0x250e22;}let _0x479772=new a77_0x2231a2()[_0x374111(0x7d)]({'srsName':this['queryParameters'][_0x374111(0x7a)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x374111(0x80)][_0x374111(0x71)]],'outputFormat':_0x374111(0x7e),'geometryName':_0x3b7787,'filter':_0x4405bd});const _0x41f847=await fetch(this[_0x374111(0x77)],{'method':_0x374111(0x74),'body':new XMLSerializer()[_0x374111(0x90)](_0x479772)}),_0x2a64fc=await _0x41f847[_0x374111(0x8a)]();let _0x4c0013=[];const _0x503421=new a77_0x261a04();return _0x4c0013=_0x2a64fc[_0x374111(0x8c)]['map'](_0x1166bf=>{const _0x512d78=_0x374111;return _0x503421[_0x512d78(0x8b)](JSON[_0x512d78(0x78)](_0x1166bf));}),_0x4c0013;}[a77_0x4cce50(0x87)](){const _0x1cf1bb=a77_0x4cce50,_0x1d2cd3=this[_0x1cf1bb(0x80)]['geometryName']||_0x1cf1bb(0x79);let _0x398f56=this[_0x1cf1bb(0x80)][_0x1cf1bb(0x81)],_0x126398;_0x398f56&&(_0x126398=new a77_0x18d02a()[_0x1cf1bb(0x88)](_0x398f56));let _0x3879b1=_0x126398;if(this['queryParameters'][_0x1cf1bb(0x73)]){const _0x46e4d0=intersects(_0x1d2cd3,this['queryParameters'][_0x1cf1bb(0x73)]);_0x3879b1=_0x126398?and(_0x126398,_0x46e4d0):_0x46e4d0;}let _0x2dea32=new a77_0x2231a2()[_0x1cf1bb(0x7d)]({'srsName':this['queryParameters'][_0x1cf1bb(0x7a)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x1cf1bb(0x71)]],'outputFormat':_0x1cf1bb(0x7e),'geometryName':_0x1d2cd3,'filter':_0x3879b1});return new Promise(_0x21c52a=>{const _0xe9b9b9=_0x1cf1bb;fetch(this[_0xe9b9b9(0x77)],{'method':_0xe9b9b9(0x74),'body':new XMLSerializer()['serializeToString'](_0x2dea32)})[_0xe9b9b9(0x8d)](_0x4ddb89=>{return _0x4ddb89['json']();})['then'](_0x3c9b4d=>{const _0x10e69a=_0xe9b9b9;let _0x17155c=[];const _0x2840ff=new a77_0x261a04();_0x17155c=_0x3c9b4d[_0x10e69a(0x8c)][_0x10e69a(0x75)](_0x19dec6=>{const _0x15b7b4=_0x10e69a;return _0x2840ff[_0x15b7b4(0x8b)](JSON['stringify'](_0x19dec6));}),_0x21c52a(_0x17155c);})[_0xe9b9b9(0x7c)](_0x3d58f9=>{const _0x3f2cae=_0xe9b9b9;_0x21c52a([]),console[_0x3f2cae(0x8e)](_0x3d58f9);});});}}function a77_0x5529(){const _0x21b3f1=['POST','map','execute','url','stringify','the_geom','srsName','2451992VEATtb','catch','writeGetFeature','application/json','1262650mqkCDs','queryParameters','where','6234cjQfQA','8792TULPJb','2148282tOrWYx','srsName\x20is\x20required','5377245OrSDtZ','_geoserverQuery','read','272598FMrDbt','json','readFeature','features','then','error','geometryName','serializeToString','tableName','3671992OZbiXh','geometry'];a77_0x5529=function(){return _0x21b3f1;};return a77_0x5529();}