ym-gis-2d 1.0.1 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/capabilities/index.js +1 -1
  2. package/controls/ControlManager.js +1 -1
  3. package/controls/MousePositionControl.js +1 -1
  4. package/controls/SwipeLayerControl.js +1 -1
  5. package/conver/kml/geoJSONToKml.js +1 -1
  6. package/conver/kml/index.js +1 -1
  7. package/conver/kml/kmlToGeoJSON.js +1 -1
  8. package/entity/Feature.js +1 -1
  9. package/entity/GeometryType.js +1 -1
  10. package/entity/layer/IMapService.d.ts +2 -0
  11. package/entity/layer/IMapService.d.ts.map +1 -1
  12. package/feature/FeatureManager.js +1 -1
  13. package/index.js +1 -1
  14. package/interaction/Draw.js +1 -1
  15. package/interaction/InteractionManager.js +1 -1
  16. package/interaction/Select.js +1 -1
  17. package/layers/ArcgisDynamicLayer.js +1 -1
  18. package/layers/ArcgisFeatureLayer.js +1 -1
  19. package/layers/ArcgisTileLayer.js +1 -1
  20. package/layers/ArcgisWMSLayer.js +1 -1
  21. package/layers/ArcgisWMTSLayer.js +1 -1
  22. package/layers/GeoserverVectorTile.js +1 -1
  23. package/layers/GeoserverWFSLayer.js +1 -1
  24. package/layers/GeoserverWMSLayer.js +1 -1
  25. package/layers/GeoserverWMTSLayer.d.ts.map +1 -1
  26. package/layers/GeoserverWMTSLayer.js +1 -1
  27. package/layers/GeoserverWMTSLayer.js.map +1 -1
  28. package/layers/LayerManager.js +1 -1
  29. package/layers/TDTLayer.js +1 -1
  30. package/mapView/Map.d.ts +4 -0
  31. package/mapView/Map.d.ts.map +1 -1
  32. package/mapView/Map.js +1 -1
  33. package/mapView/Map.js.map +1 -1
  34. package/mapView/View.js +1 -1
  35. package/package.json +1 -1
  36. package/plot/Plot.js +1 -1
  37. package/plot/geometry/point/Point.js +1 -1
  38. package/plot/geometry/polygon/BasePolygon.js +1 -1
  39. package/plot/geometry/polygon/Circle.js +1 -1
  40. package/plot/geometry/polygon/Polygon.js +1 -1
  41. package/plot/geometry/polygon/RectAngle.js +1 -1
  42. package/plot/geometry/polyline/BaseLine.js +1 -1
  43. package/plot/geometry/polyline/Polyline.js +1 -1
  44. package/style/PointStyleFormat.js +1 -1
  45. package/style/PolygonStyleFormat.js +1 -1
  46. package/style/PolylineStyleFormat.js +1 -1
  47. package/style/StyleManager.js +1 -1
  48. package/style/common.js +1 -1
  49. package/utils/ArrayUtil.js +1 -1
  50. package/utils/AxiosUtil.js +1 -1
  51. package/utils/EsriUtil.js +1 -1
  52. package/utils/GeometryUtil.js +1 -1
  53. package/utils/LayerUtil.js +1 -1
  54. package/utils/RegisterProjUtil.js +1 -1
  55. package/utils/ResolutionUtil.d.ts +8 -0
  56. package/utils/ResolutionUtil.d.ts.map +1 -0
  57. package/utils/ResolutionUtil.js +1 -0
  58. package/utils/ResolutionUtil.js.map +1 -0
  59. package/utils/StringUtil.js +1 -1
  60. package/utils/StyleUtil.js +1 -1
  61. package/utils/UrlUtil.js +1 -1
  62. package/utils/XmlUtil.js +1 -1
  63. package/utils/format/CQL.js +1 -1
  64. package/utils/format/IsMatchCql.js +1 -1
  65. package/utils/plug/canvas/ImageCache.js +1 -1
  66. package/utils/plug/canvas/PinBuilder.js +1 -1
  67. package/utils/plug/canvas/PinIcon.js +1 -1
  68. package/utils/plug/canvas/writeTextToCanvas.js +1 -1
  69. package/utils/tasks/esri/Identify.js +1 -1
  70. package/utils/tasks/esri/Query.js +1 -1
  71. package/utils/tasks/esri/Task.js +1 -1
  72. package/utils/tasks/geoserver/QueryTask.js +1 -1
  73. package/ym-gis-2d.es.js +1 -1
  74. 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(_0x57ed37,_0x4d215b){const _0x4c23be=a79_0x116a,_0x14ff25=_0x57ed37();while(!![]){try{const _0x515b66=parseInt(_0x4c23be(0x18c))/0x1+-parseInt(_0x4c23be(0x17e))/0x2*(-parseInt(_0x4c23be(0x180))/0x3)+-parseInt(_0x4c23be(0x17d))/0x4+parseInt(_0x4c23be(0x185))/0x5+parseInt(_0x4c23be(0x184))/0x6+-parseInt(_0x4c23be(0x177))/0x7*(parseInt(_0x4c23be(0x18d))/0x8)+parseInt(_0x4c23be(0x17c))/0x9*(-parseInt(_0x4c23be(0x18a))/0xa);if(_0x515b66===_0x4d215b)break;else _0x14ff25['push'](_0x14ff25['shift']());}catch(_0x295d9c){_0x14ff25['push'](_0x14ff25['shift']());}}}(a79_0x129c,0xb7e4b));export function addArgument(_0x344dfe,_0x389c29,_0x128b39){const _0x48256d=a79_0x116a,_0x126b06=new RegExp(_0x48256d(0x18b)+_0x389c29+'=)([^&]*)','gi');if(_0x344dfe[_0x48256d(0x188)](_0x126b06))_0x344dfe=_0x344dfe[_0x48256d(0x187)](_0x126b06,_0x340e15=>_0x340e15[0x0]+_0x389c29+'='+_0x128b39);else{var _0x40c55f=_0x389c29+'='+_0x128b39,_0x4f43ca=_0x344dfe[_0x48256d(0x181)]('?');let _0x5743b4=_0x344dfe;_0x4f43ca>-0x1&&_0x344dfe['indexOf'](_0x48256d(0x175))>-0x1&&(_0x5743b4=_0x344dfe[_0x48256d(0x178)](_0x4f43ca+0x1),_0x4f43ca=_0x5743b4['indexOf']('?'));if(_0x4f43ca<0x0)_0x344dfe+='?';else _0x4f43ca>=0x0&&_0x4f43ca!==_0x5743b4[_0x48256d(0x182)]-0x1&&(_0x344dfe+='&');_0x344dfe=_0x344dfe+_0x40c55f;}return _0x344dfe;}export function appendParam(_0x1770f0,_0x1dd1da){const _0x241e29=a79_0x116a;var _0x9ccc10=_0x1770f0['indexOf']('?');let _0x5ef1fa=_0x1770f0;if(_0x9ccc10>-0x1&&_0x1770f0['indexOf'](_0x241e29(0x175))>-0x1){let _0x16ffc1=_0x9ccc10+0x1;_0x5ef1fa=_0x1770f0[_0x241e29(0x178)](_0x9ccc10+0x1),_0x9ccc10=_0x5ef1fa[_0x241e29(0x181)]('?');}return _0x9ccc10>-0x1?_0x1770f0+'&'+_0x1dd1da:_0x1770f0+'?'+_0x1dd1da;}function a79_0x129c(){const _0x3124d3=['body','3446271AEOdUD','475592WuhLVl','12244xuCVuU','split','573tHiNuF','indexOf','length','map','6198264Lcgbwp','6364195LfEEAR','_blank','replace','match','target','40kQHFyK','[\x5c?&](','48290yyjiLg','8957392JaBvmj','createElement','?http','setAttribute','7lVeqPW','substring','href','createObjectURL'];a79_0x129c=function(){return _0x3124d3;};return a79_0x129c();}function a79_0x116a(_0x4f8f86,_0x5cd764){const _0x129ce6=a79_0x129c();return a79_0x116a=function(_0x116a74,_0x259e9b){_0x116a74=_0x116a74-0x174;let _0x46d8ca=_0x129ce6[_0x116a74];return _0x46d8ca;},a79_0x116a(_0x4f8f86,_0x5cd764);}export function appendPath(_0x5b08d2,_0x251e27){const _0x5b9146=a79_0x116a;var _0x51eb34=_0x5b08d2[_0x5b9146(0x181)]('?');let _0x13fa04=_0x5b08d2;if(_0x51eb34>-0x1&&_0x5b08d2['indexOf'](_0x5b9146(0x175))>-0x1){let _0x1f25c6=_0x51eb34+0x1;_0x13fa04=_0x5b08d2[_0x5b9146(0x178)](_0x51eb34+0x1),_0x51eb34=_0x13fa04['indexOf']('?'),_0x51eb34>-0x1&&(_0x51eb34+=_0x1f25c6);}return _0x51eb34>-0x1?_0x5b08d2[_0x5b9146(0x178)](0x0,_0x51eb34)+'/'+_0x251e27+_0x5b08d2[_0x5b9146(0x178)](_0x51eb34):_0x5b08d2+'/'+_0x251e27;}export function getUrlParams(_0x9b69d2){const _0x257944=a79_0x116a;var _0x22aa67,_0x105cc0;let _0x371d72=_0x9b69d2[_0x257944(0x181)]('?http'),_0x30f962;_0x371d72>-0x1?_0x9b69d2['indexOf']('?',_0x371d72+0x3)>-0x1&&(_0x30f962=(_0x22aa67=_0x9b69d2[_0x257944(0x17f)]('?'))===null||_0x22aa67===void 0x0?void 0x0:_0x22aa67[0x2]):_0x9b69d2[_0x257944(0x181)]('?')>-0x1&&(_0x30f962=(_0x105cc0=_0x9b69d2[_0x257944(0x17f)]('?'))===null||_0x105cc0===void 0x0?void 0x0:_0x105cc0[0x1]);if(_0x30f962)return createParamByQuery(_0x30f962);return[];}function createParamByQuery(_0x49d1a3){const _0x57cbf4=a79_0x116a;let _0x463f14=_0x49d1a3[_0x57cbf4(0x17f)]('&');return _0x463f14[_0x57cbf4(0x183)](_0x5d69b2=>{var _0x591ca1=_0x5d69b2['split']('=');return{'name':_0x591ca1[0x0],'value':_0x591ca1[0x1]};});}export function parseImage(_0x650170,_0x4263a1){const _0x4ca862=a79_0x116a;let _0x43fa7c='';if(_0x650170){if(_0x650170[_0x4ca862(0x188)](/^(data|http|https)/))_0x43fa7c=_0x650170;else{if(_0x650170[_0x4ca862(0x188)](/Assets/))_0x43fa7c=_0x650170;else{}}}return _0x43fa7c;}export function downloadBlob(_0xa58c0,_0x3a77b4){const _0x321e1b=a79_0x116a,_0x12539e=URL[_0x321e1b(0x17a)](_0xa58c0);var _0x1c37aa=document[_0x321e1b(0x174)]('a');_0x1c37aa[_0x321e1b(0x176)](_0x321e1b(0x179),_0x12539e),_0x1c37aa[_0x321e1b(0x176)](_0x321e1b(0x189),_0x321e1b(0x186)),_0x1c37aa[_0x321e1b(0x176)]('download',_0x3a77b4),document[_0x321e1b(0x17b)]['appendChild'](_0x1c37aa),_0x1c37aa['click'](),document[_0x321e1b(0x17b)]['removeChild'](_0x1c37aa),URL['revokeObjectURL'](_0x12539e);}
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(_0xd75634,_0x57cfbc){const _0x439b53=a80_0x1bc6,_0x393fa7=_0xd75634();while(!![]){try{const _0x3e0212=parseInt(_0x439b53(0x10d))/0x1+parseInt(_0x439b53(0x111))/0x2+parseInt(_0x439b53(0x110))/0x3*(parseInt(_0x439b53(0x10f))/0x4)+-parseInt(_0x439b53(0x118))/0x5*(parseInt(_0x439b53(0x114))/0x6)+-parseInt(_0x439b53(0x116))/0x7+parseInt(_0x439b53(0x115))/0x8*(-parseInt(_0x439b53(0x117))/0x9)+parseInt(_0x439b53(0x10c))/0xa;if(_0x3e0212===_0x57cfbc)break;else _0x393fa7['push'](_0x393fa7['shift']());}catch(_0x213784){_0x393fa7['push'](_0x393fa7['shift']());}}}(a80_0x2452,0x285c8));function a80_0x1bc6(_0x10c278,_0x5daed5){const _0x245204=a80_0x2452();return a80_0x1bc6=function(_0x1bc6e9,_0x3b6883){_0x1bc6e9=_0x1bc6e9-0x10c;let _0x587ac1=_0x245204[_0x1bc6e9];return _0x587ac1;},a80_0x1bc6(_0x10c278,_0x5daed5);}function a80_0x2452(){const _0x2d79c7=['407876RMwuiy','parseFromString','Microsoft.XMLDOM','245442wFPBfp','136pKczvj','1162035EYUwvW','86625CvYJej','35QwBPUM','1343970xxfojc','128502JdolAE','DOMParser','1257848layWQC','3YotVMu'];a80_0x2452=function(){return _0x2d79c7;};return a80_0x2452();}export function readXml(_0x1f7dc9){const _0xa89e8=a80_0x1bc6;let _0x3627c7;return window[_0xa89e8(0x10e)]?_0x3627c7=new DOMParser()[_0xa89e8(0x112)](_0x1f7dc9,'text/xml'):(_0x3627c7=new ActiveXObject(_0xa89e8(0x113)),_0x3627c7['async']='false',_0x3627c7['loadXML'](_0x1f7dc9)),_0x3627c7;}
@@ -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_0x5664ec=a62_0x164d;function a62_0x164d(_0x491710,_0x39d202){const _0x137470=a62_0x1374();return a62_0x164d=function(_0x164ded,_0x13b15f){_0x164ded=_0x164ded-0x120;let _0xaa4b02=_0x137470[_0x164ded];return _0xaa4b02;},a62_0x164d(_0x491710,_0x39d202);}(function(_0x349561,_0x278da3){const _0x24b9df=a62_0x164d,_0x22d247=_0x349561();while(!![]){try{const _0x4144b8=parseInt(_0x24b9df(0x16a))/0x1+parseInt(_0x24b9df(0x124))/0x2*(parseInt(_0x24b9df(0x185))/0x3)+parseInt(_0x24b9df(0x15a))/0x4+parseInt(_0x24b9df(0x188))/0x5+parseInt(_0x24b9df(0x14d))/0x6+parseInt(_0x24b9df(0x159))/0x7+-parseInt(_0x24b9df(0x17a))/0x8;if(_0x4144b8===_0x278da3)break;else _0x22d247['push'](_0x22d247['shift']());}catch(_0x46cd55){_0x22d247['push'](_0x22d247['shift']());}}}(a62_0x1374,0x58fbb));import*as a62_0x5a5530 from'ol/format/filter';import{WKT}from'ol/format';function a62_0x1374(){const _0xcac803=['IS\x20NULL','tagName_','LOGICAL','INTERSECTS','IS_NULL','CQL解析失败:','WITHIN(','LPAREN','WITHIN','CONTAINS','PropertyIsLike','toUpperCase','PropertyIsGreaterThan','patterns','indexOf','No\x20follows\x20list\x20for\x20','warn','propertyName','and','match','geometryName','NOT\x20(','nextToken','charAt','PROPERTY','property','replace','text','conditions','equalTo','parseInToOr','inPatterns','BETWEEN','],\x20expected\x20one\x20of:\x20','exec','GEOMETRY','follows','END','3601950uEmapQ','not','PropertyIsNotEqualTo','readGeometry','operators','between','Within','lowerBoundary','RPAREN','\x20AND\x20','replaceAll','logicals','1212680tYorja','161788auNHQj','pop','geometry','BBOX(','type','expression','substring','precedence','PropertyIsGreaterThanOrEqualTo','ERROR:\x20In\x20parsing:\x20[','condition','operatorReverse','length','string','Can\x27t\x20encode:\x20','CLASS_NAME','418575NfNsQc','isNull','number','upperBoundary','PropertyIsLessThanOrEqualTo','write','剩余的节点无法解析:\x20\x0a','PropertyIsLessThan','PropertyIsNull','NOT','toLowerCase','shift','lastIndexOf','COMMA','\x20or\x20','bbox','11667384mKqTsT','COMPARISON','And','Intersects','greaterThan','push','Not','tokenize','read','tryToken','VALUE','3786FwnHXo','index','buildAst','23715rUsLlr','writeGeometry','INTERSECTS(','PropertyIsBetween','CONTAINS(','notEqualTo','LIKE','928NKyowd','Contains','SPATIAL'];a62_0x1374=function(){return _0xcac803;};return a62_0x1374();}import a62_0x907c43 from'ol/geom/Geometry';export default class CQL{constructor(){const _0x144bb7=a62_0x164d;this[_0x144bb7(0x146)]=/ (IN) /i,this['tokens']=[_0x144bb7(0x13f),_0x144bb7(0x17b),_0x144bb7(0x184),_0x144bb7(0x129)],this[_0x144bb7(0x134)]={'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(_0x1e12f8){const _0x562198=_0x144bb7;let _0x50a333=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x562198(0x149)](_0x1e12f8);if(_0x50a333){let _0x272450=_0x1e12f8[_0x562198(0x166)],_0x1488a3=_0x1e12f8[_0x562198(0x135)]('(',_0x50a333[0x0][_0x562198(0x166)]);if(_0x1488a3>-0x1){let _0x4e3159=0x1;while(_0x1488a3<_0x272450&&_0x4e3159>0x0){_0x1488a3++;switch(_0x1e12f8[_0x562198(0x13e)](_0x1488a3)){case'(':_0x4e3159++;break;case')':_0x4e3159--;break;default:}}}return[_0x1e12f8[_0x562198(0x160)](0x0,_0x1488a3+0x1)];}},'END':/^$/},this[_0x144bb7(0x14b)]={'LPAREN':[_0x144bb7(0x14a),_0x144bb7(0x126),_0x144bb7(0x13f),_0x144bb7(0x184),_0x144bb7(0x12e)],'RPAREN':[_0x144bb7(0x173),'LOGICAL',_0x144bb7(0x14c),_0x144bb7(0x155)],'PROPERTY':[_0x144bb7(0x17b),'BETWEEN',_0x144bb7(0x177),'IS_NULL'],'BETWEEN':[_0x144bb7(0x184)],'IS_NULL':['END'],'COMPARISON':['VALUE'],'COMMA':[_0x144bb7(0x14a),_0x144bb7(0x184),'PROPERTY'],'VALUE':['LOGICAL',_0x144bb7(0x177),_0x144bb7(0x155),_0x144bb7(0x14c)],'SPATIAL':[_0x144bb7(0x12e)],'LOGICAL':[_0x144bb7(0x173),_0x144bb7(0x184),_0x144bb7(0x126),_0x144bb7(0x13f),_0x144bb7(0x12e)],'NOT':[_0x144bb7(0x13f),_0x144bb7(0x12e)],'GEOMETRY':['COMMA','RPAREN']},this[_0x144bb7(0x151)]={'=':a62_0x5a5530[_0x144bb7(0x144)],'<>':a62_0x5a5530[_0x144bb7(0x122)],'<':a62_0x5a5530['lessThan'],'<=':a62_0x5a5530['lessThanOrEqualTo'],'>':a62_0x5a5530[_0x144bb7(0x17e)],'>=':a62_0x5a5530['greaterThanOrEqualTo'],'LIKE':a62_0x5a5530['like'],'BETWEEN':a62_0x5a5530['between'],'IS\x20NULL':a62_0x5a5530[_0x144bb7(0x16b)]},this['operatorReverse']={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x144bb7(0x123),'PropertyIsNull':_0x144bb7(0x127),'PropertyIsBetween':_0x144bb7(0x147)},this[_0x144bb7(0x158)]={'AND':a62_0x5a5530[_0x144bb7(0x139)],'OR':a62_0x5a5530['or']},this['precedence']={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}[a62_0x5664ec(0x183)](_0xac7109,_0x599a9b){const _0x16cb56=a62_0x5664ec;return _0x599a9b instanceof RegExp?_0x599a9b[_0x16cb56(0x149)](_0xac7109):_0x599a9b(_0xac7109);}['nextToken'](_0x9d7ef0,_0x5b7a69){const _0x197a1f=a62_0x5664ec;let _0x38850f,_0x15cd2e,_0x1f0047=_0x5b7a69[_0x197a1f(0x166)];for(_0x38850f=0x0;_0x38850f<_0x1f0047;_0x38850f++){_0x15cd2e=_0x5b7a69[_0x38850f];let _0x20f8e8=this[_0x197a1f(0x134)][_0x15cd2e],_0x35d362=this['tryToken'](_0x9d7ef0,_0x20f8e8);if(_0x35d362){let _0x352edb=_0x35d362[0x0],_0x16fd8e=_0x9d7ef0[_0x197a1f(0x160)](_0x352edb[_0x197a1f(0x166)])['replace'](/^\s*/,'');return{'type':_0x15cd2e,'text':_0x352edb,'remainder':_0x16fd8e};}}let _0x3c3a2b=_0x197a1f(0x163)+_0x9d7ef0+_0x197a1f(0x148);for(_0x38850f=0x0;_0x38850f<_0x1f0047;_0x38850f++){_0x15cd2e=_0x5b7a69[_0x38850f],_0x3c3a2b+='\x0a\x20\x20\x20\x20'+_0x15cd2e+':\x20'+this['patterns'][_0x15cd2e];}throw new Error(_0x3c3a2b);}[a62_0x5664ec(0x181)](_0x594677){const _0x94077a=a62_0x5664ec;_0x594677=_0x594677[_0x94077a(0x157)]('[','')[_0x94077a(0x157)](']','');let _0x48b138=this['tryToken'](_0x594677,this['inPatterns']);_0x48b138&&(_0x594677=this[_0x94077a(0x145)](_0x594677,_0x48b138));let _0x1f3ac9=[],_0x101682,_0x3ac4dd=[_0x94077a(0x173),_0x94077a(0x14a),_0x94077a(0x126),_0x94077a(0x13f),_0x94077a(0x12e)];do{_0x101682=this[_0x94077a(0x13d)](_0x594677,_0x3ac4dd),_0x594677=_0x101682['remainder'],_0x3ac4dd=this[_0x94077a(0x14b)][_0x101682['type']];if(_0x101682[_0x94077a(0x15e)]!==_0x94077a(0x14c)&&!_0x3ac4dd)throw new Error(_0x94077a(0x136)+_0x101682[_0x94077a(0x15e)]);_0x1f3ac9[_0x94077a(0x17f)](_0x101682);}while(_0x101682[_0x94077a(0x15e)]!=='END');return _0x1f3ac9;}['parseInToOr'](_0x29166f,_0x494839){const _0x299c24=a62_0x5664ec;let _0x44126d=this[_0x299c24(0x183)](_0x29166f,/\((.+?)\)/g);if(_0x44126d){let _0x1b3ca5=_0x29166f[_0x299c24(0x160)](0x0,_0x494839[_0x299c24(0x186)]),_0x162848=_0x44126d[0x1],_0x484b14=_0x162848[_0x299c24(0x157)]('\x20','')['split'](','),_0x173039='',_0x51031b='';if(_0x1b3ca5[_0x299c24(0x135)]('\x20')>-0x1){let _0x284ca7=_0x1b3ca5[_0x299c24(0x176)]('\x20');_0x51031b=_0x1b3ca5['substring'](0x0,_0x284ca7+0x1),_0x173039=_0x1b3ca5['substring'](_0x284ca7+0x1,_0x1b3ca5[_0x299c24(0x166)]);}else _0x173039=_0x1b3ca5;let _0x41acf3=_0x51031b;for(let _0x59a614=0x0;_0x59a614<_0x484b14['length'];_0x59a614++){let _0x2c3b90=_0x484b14[_0x59a614];_0x41acf3+=_0x173039+'='+_0x2c3b90,_0x59a614<_0x484b14['length']-0x1&&(_0x41acf3+=_0x299c24(0x178));}return _0x41acf3;}return _0x29166f;}['buildAst'](_0x5a8801){const _0x16264d=a62_0x5664ec;let _0x4d2ee0=this,_0x279c27=[],_0x2e686d=[];while(_0x5a8801['length']){let _0x287d60=_0x5a8801[_0x16264d(0x175)]();switch(_0x287d60[_0x16264d(0x15e)]){case _0x16264d(0x13f):case _0x16264d(0x14a):case _0x16264d(0x184):_0x2e686d[_0x16264d(0x17f)](_0x287d60);break;case _0x16264d(0x17b):case _0x16264d(0x147):case'IS_NULL':case _0x16264d(0x129):{let _0x4eee8e=this[_0x16264d(0x161)][_0x287d60[_0x16264d(0x15e)]];while(_0x279c27[_0x16264d(0x166)]>0x0&&this['precedence'][_0x279c27[_0x279c27[_0x16264d(0x166)]-0x1][_0x16264d(0x15e)]]<=_0x4eee8e){_0x2e686d[_0x16264d(0x17f)](_0x279c27['pop']());}_0x279c27['push'](_0x287d60);break;}case _0x16264d(0x126):case'NOT':case _0x16264d(0x12e):_0x279c27[_0x16264d(0x17f)](_0x287d60);break;case _0x16264d(0x155):while(_0x279c27[_0x16264d(0x166)]>0x0&&_0x279c27[_0x279c27[_0x16264d(0x166)]-0x1][_0x16264d(0x15e)]!==_0x16264d(0x12e)){_0x2e686d[_0x16264d(0x17f)](_0x279c27[_0x16264d(0x15b)]());}_0x279c27['pop']();_0x279c27[_0x16264d(0x166)]>0x0&&(_0x279c27[_0x279c27['length']-0x1][_0x16264d(0x15e)]===_0x16264d(0x126)||_0x279c27[_0x279c27[_0x16264d(0x166)]-0x1][_0x16264d(0x15e)]===_0x16264d(0x173))&&_0x2e686d['push'](_0x279c27[_0x16264d(0x15b)]());break;case _0x16264d(0x177):case _0x16264d(0x14c):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x287d60[_0x16264d(0x15e)]);}}while(_0x279c27[_0x16264d(0x166)]>0x0){_0x2e686d[_0x16264d(0x17f)](_0x279c27[_0x16264d(0x15b)]());}function _0x46a824(){const _0x508f4e=_0x16264d;let _0x2d3e78,_0x1ae8ca,_0x298f0f=_0x2e686d[_0x508f4e(0x15b)]();switch(_0x298f0f[_0x508f4e(0x15e)]){case _0x508f4e(0x129):{let _0x17282f=_0x46a824(),_0x50f446=_0x46a824();return new _0x4d2ee0['logicals'][(_0x298f0f[_0x508f4e(0x142)][_0x508f4e(0x132)]())](_0x50f446,_0x17282f);}case _0x508f4e(0x173):{let _0x533bea=_0x46a824();return a62_0x5a5530[_0x508f4e(0x14e)](_0x533bea);}case _0x508f4e(0x147):{let _0x2aa71b,_0x558566;return _0x2e686d[_0x508f4e(0x15b)](),_0x558566=_0x46a824(),_0x2aa71b=_0x46a824(),_0x1ae8ca=_0x46a824(),a62_0x5a5530[_0x508f4e(0x152)](_0x1ae8ca,_0x2aa71b,_0x558566);}case _0x508f4e(0x17b):{return _0x2d3e78=_0x46a824(),_0x1ae8ca=_0x46a824(),new _0x4d2ee0[(_0x508f4e(0x151))][(_0x298f0f[_0x508f4e(0x142)][_0x508f4e(0x132)]())](_0x1ae8ca,_0x2d3e78);}case _0x508f4e(0x12b):_0x1ae8ca=_0x46a824();return new _0x4d2ee0[(_0x508f4e(0x151))][(_0x298f0f[_0x508f4e(0x142)][_0x508f4e(0x132)]())](_0x1ae8ca);case'VALUE':{let _0x4aad51=_0x298f0f[_0x508f4e(0x142)][_0x508f4e(0x13a)](/^'(.*)'$/);return _0x4aad51?_0x4aad51[0x1]['replace'](/''/g,'\x27'):Number(_0x298f0f[_0x508f4e(0x142)]);}case _0x508f4e(0x126):switch(_0x298f0f[_0x508f4e(0x142)][_0x508f4e(0x132)]()){case'BBOX':{let _0x691a9d=_0x46a824(),_0x32cee6=_0x46a824(),_0x5c576f=_0x46a824(),_0x557b6c=_0x46a824(),_0x12407f=_0x46a824();return a62_0x5a5530[_0x508f4e(0x179)](_0x12407f,[_0x557b6c,_0x5c576f,_0x32cee6,_0x691a9d]);}case _0x508f4e(0x12a):_0x2d3e78=_0x46a824(),_0x1ae8ca=_0x46a824();return a62_0x5a5530['intersects'](_0x1ae8ca,_0x2d3e78);case _0x508f4e(0x12f):_0x2d3e78=_0x46a824(),_0x1ae8ca=_0x46a824();return a62_0x5a5530['within'](_0x1ae8ca,_0x2d3e78);case _0x508f4e(0x130):_0x2d3e78=_0x46a824(),_0x1ae8ca=_0x46a824();return a62_0x5a5530['contains'](_0x1ae8ca,_0x2d3e78);}break;case _0x508f4e(0x14a):return new WKT()[_0x508f4e(0x150)](_0x298f0f[_0x508f4e(0x142)],{});default:return _0x298f0f[_0x508f4e(0x142)];}}let _0x5a3049=_0x46a824();if(_0x2e686d[_0x16264d(0x166)]>0x0){let _0x3f8acd=_0x16264d(0x170);for(let _0x316334=_0x2e686d[_0x16264d(0x166)]-0x1;_0x316334>=0x0;_0x316334--){_0x3f8acd+=_0x2e686d[_0x316334]['type']+':\x20'+_0x2e686d[_0x316334]['text']+'\x0a';}throw new Error(_0x3f8acd);}return _0x5a3049;}[a62_0x5664ec(0x182)](_0x22d895){const _0x4b05aa=a62_0x5664ec;try{return this[_0x4b05aa(0x187)](this[_0x4b05aa(0x181)](_0x22d895));}catch(_0x217656){console[_0x4b05aa(0x137)](_0x4b05aa(0x12c)+_0x22d895),console[_0x4b05aa(0x137)](_0x217656);}}[a62_0x5664ec(0x16f)](_0x217ac5){const _0x177286=a62_0x5664ec;switch(_0x217ac5[_0x177286(0x128)]){case'BBOX':return _0x177286(0x15d)+_0x217ac5[_0x177286(0x13b)]+','+_0x217ac5['extent']['join'](',')+','+_0x217ac5['srsName']+')';case _0x177286(0x153):return _0x177286(0x12d)+_0x217ac5[_0x177286(0x13b)]+',\x20'+this[_0x177286(0x150)](_0x217ac5[_0x177286(0x15c)])+')';case _0x177286(0x17d):return _0x177286(0x18a)+_0x217ac5['geometryName']+',\x20'+this[_0x177286(0x150)](_0x217ac5[_0x177286(0x15c)])+')';case _0x177286(0x125):return _0x177286(0x121)+_0x217ac5[_0x177286(0x13b)]+',\x20'+this[_0x177286(0x150)](_0x217ac5[_0x177286(0x15c)])+')';case _0x177286(0x180):return _0x177286(0x13c)+this[_0x177286(0x16f)](_0x217ac5[_0x177286(0x164)])+')';case _0x177286(0x17c):case'Or':{let _0x2722fb='(',_0x314ffe=!![];for(let _0x36c9cd=0x0;_0x36c9cd<_0x217ac5[_0x177286(0x143)]['length'];_0x36c9cd++){_0x314ffe?_0x314ffe=![]:_0x2722fb+=')\x20'+_0x217ac5[_0x177286(0x128)][_0x177286(0x174)]()+'\x20(',_0x2722fb+=this['write'](_0x217ac5[_0x177286(0x143)][_0x36c9cd]);}return _0x2722fb+')';}case _0x177286(0x120):return _0x217ac5[_0x177286(0x140)]+'\x20BETWEEN\x20'+this[_0x177286(0x16f)](_0x217ac5[_0x177286(0x154)])+_0x177286(0x156)+this[_0x177286(0x16f)](_0x217ac5[_0x177286(0x16d)]);case'PropertyIsEqualTo':case _0x177286(0x14f):case _0x177286(0x171):case _0x177286(0x16e):case _0x177286(0x133):case _0x177286(0x162):case _0x177286(0x131):case _0x177286(0x172):{return _0x217ac5[_0x177286(0x15f)]!==null?_0x217ac5['propertyName']+'\x20'+this[_0x177286(0x165)][_0x217ac5[_0x177286(0x128)]]+'\x20'+this[_0x177286(0x16f)](_0x217ac5[_0x177286(0x15f)]):_0x217ac5[_0x177286(0x138)]+'\x20'+this[_0x177286(0x165)][_0x217ac5['tagName_']];}case undefined:if(typeof _0x217ac5===_0x177286(0x167))return'\x27'+_0x217ac5[_0x177286(0x141)](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x217ac5===_0x177286(0x16c))return String(_0x217ac5);}break;default:throw new Error(_0x177286(0x168)+_0x217ac5[_0x177286(0x169)]+'\x20'+_0x217ac5);}}['readGeometry'](_0x342ea9){const _0x4a22fa=a62_0x5664ec;if(_0x342ea9 instanceof a62_0x907c43)return new WKT()[_0x4a22fa(0x189)](_0x342ea9);}}
@@ -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(_0x5f0ae2,_0x274cfe){const _0x3ff18c=a63_0x3d04,_0x264250=_0x5f0ae2();while(!![]){try{const _0x176114=parseInt(_0x3ff18c(0x110))/0x1+-parseInt(_0x3ff18c(0xf8))/0x2+parseInt(_0x3ff18c(0x10a))/0x3+parseInt(_0x3ff18c(0xf3))/0x4+parseInt(_0x3ff18c(0x101))/0x5*(-parseInt(_0x3ff18c(0xf7))/0x6)+-parseInt(_0x3ff18c(0x107))/0x7*(parseInt(_0x3ff18c(0x103))/0x8)+parseInt(_0x3ff18c(0x109))/0x9;if(_0x176114===_0x274cfe)break;else _0x264250['push'](_0x264250['shift']());}catch(_0x11b9c2){_0x264250['push'](_0x264250['shift']());}}}(a63_0x2711,0xd8d82));function a63_0x3d04(_0x3a42a1,_0x1534b4){const _0x2711e9=a63_0x2711();return a63_0x3d04=function(_0x3d04d2,_0x47ab1b){_0x3d04d2=_0x3d04d2-0xef;let _0x5e5c3d=_0x2711e9[_0x3d04d2];return _0x5e5c3d;},a63_0x3d04(_0x3a42a1,_0x1534b4);}import a63_0x4baa54 from'./CQL';function a63_0x2711(){const _0x409dee=['44952Pbtblf','PropertyIsNotEqualTo','push','PropertyIsNull','1512ISlCUs','PropertyIsEqualTo','15263910HgyXfH','3566433nomfXD','tagName_','lowerBoundary','And','read','condition','661642YfmCkD','conditions','PropertyIsLessThan','length','upperBoundary','1280224uQrNwD','propertyName','template','indexOf','368922VcvtXZ','1930540EZIPHB','expression','PropertyIsLessThanOrEqualTo','Not','property','PropertyIsLike','PropertyIsBetween','idMap','join','65kqxEiV','PropertyIsGreaterThan'];a63_0x2711=function(){return _0x409dee;};return a63_0x2711();}export function isMatchCql(_0x2a427e,_0x5b6768){const _0xe4a2aa=a63_0x3d04;let _0x2de127=new a63_0x4baa54()[_0xe4a2aa(0x10e)](_0x5b6768);return isMatchFilter(_0x2a427e,_0x2de127);}export function isMatchFilter(_0x40ceb3,_0x1ab1a9){const _0x4c0814=a63_0x3d04;switch(_0x1ab1a9[_0x4c0814(0x10b)]){case'Not':return!isMatchFilter(_0x40ceb3,_0x1ab1a9['condition']);case'And':{let _0x344cb2=!![];for(let _0x5796f6=0x0;_0x5796f6<_0x1ab1a9[_0x4c0814(0xef)][_0x4c0814(0xf1)];_0x5796f6++){_0x344cb2=_0x344cb2&&isMatchFilter(_0x40ceb3,_0x1ab1a9[_0x4c0814(0xef)][_0x5796f6]);}return _0x344cb2;}case'Or':{let _0x59b37f=![];for(let _0x1e92ae=0x0;_0x1e92ae<_0x1ab1a9[_0x4c0814(0xef)][_0x4c0814(0xf1)];_0x1e92ae++){_0x59b37f=_0x59b37f||isMatchFilter(_0x40ceb3,_0x1ab1a9[_0x4c0814(0xef)][_0x1e92ae]);}return _0x59b37f;}case _0x4c0814(0xfe):return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xfc)]]>_0x1ab1a9[_0x4c0814(0x10c)]&&_0x40ceb3[_0x1ab1a9[_0x4c0814(0xfc)]]<_0x1ab1a9[_0x4c0814(0xf2)];case _0x4c0814(0x108):return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]]===_0x1ab1a9['expression'];case'PropertyIsNotEqualTo':return _0x40ceb3[_0x1ab1a9['propertyName']]!==_0x1ab1a9[_0x4c0814(0xf9)];case _0x4c0814(0xf0):return _0x40ceb3[_0x1ab1a9['propertyName']]<_0x1ab1a9['expression'];case _0x4c0814(0xfa):return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]]<=_0x1ab1a9[_0x4c0814(0xf9)];case _0x4c0814(0x102):return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]]>_0x1ab1a9[_0x4c0814(0xf9)];case'PropertyIsGreaterThanOrEqualTo':return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]]>=_0x1ab1a9[_0x4c0814(0xf9)];case _0x4c0814(0xfd):return _0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]][_0x4c0814(0xf6)](_0x1ab1a9[_0x4c0814(0xf9)])>-0x1;case _0x4c0814(0x106):{return!_0x40ceb3[_0x1ab1a9[_0x4c0814(0xf4)]];}default:return![];}}export function isEqualFilter(_0x44ccbe,_0xc1e66b){const _0xebe14b=a63_0x3d04;switch(_0x44ccbe['tagName_']){case _0xebe14b(0xfb):return _0x44ccbe['tagName_']===_0xc1e66b['tagName_']&&isEqualFilter(_0x44ccbe[_0xebe14b(0x10f)],_0xc1e66b['condition']);case'Or':case _0xebe14b(0x10d):{let _0x4b97f7=_0x44ccbe[_0xebe14b(0x10b)]===_0xc1e66b[_0xebe14b(0x10b)]&&_0x44ccbe['conditions'][_0xebe14b(0xf1)]===_0xc1e66b[_0xebe14b(0xef)][_0xebe14b(0xf1)];for(let _0x4736b2=0x0;_0x4736b2<_0x44ccbe[_0xebe14b(0xef)][_0xebe14b(0xf1)];_0x4736b2++){_0x4b97f7=_0x4b97f7&&isEqualFilter(_0x44ccbe[_0xebe14b(0xef)][_0x4736b2],_0xc1e66b[_0xebe14b(0xef)][_0x4736b2]);}return _0x4b97f7;}case'PropertyIsBetween':return _0x44ccbe[_0xebe14b(0x10b)]===_0xc1e66b[_0xebe14b(0x10b)]&&_0x44ccbe[_0xebe14b(0xfc)]===_0xc1e66b[_0xebe14b(0xfc)];case _0xebe14b(0x108):case _0xebe14b(0x104):case _0xebe14b(0xf0):case _0xebe14b(0xfa):case _0xebe14b(0x102):case'PropertyIsGreaterThanOrEqualTo':case _0xebe14b(0xfd):case _0xebe14b(0x106):return _0x44ccbe['tagName_']===_0xc1e66b[_0xebe14b(0x10b)]&&_0x44ccbe[_0xebe14b(0xf4)]===_0xc1e66b[_0xebe14b(0xf4)];default:return![];}}export function indexOfFilter(_0x396f4b,_0x4e644e){const _0xe09250=a63_0x3d04;let _0x3af41f=-0x1;if((_0x396f4b===null||_0x396f4b===void 0x0?void 0x0:_0x396f4b[_0xe09250(0xf1)])>0x0)for(let _0x9d5db2 in _0x396f4b){if(isEqualFilter(_0x396f4b[_0x9d5db2][_0xe09250(0xf5)],_0x4e644e))return _0x9d5db2;}return _0x3af41f;}export function getIndexByTemplate(_0x3b3d13,_0x1bc3cd){const _0x32b40f=a63_0x3d04;let _0x52e13b=_0x1bc3cd[_0x32b40f(0xf5)];if(_0x1bc3cd['idMapLength']>0x0){let _0xa6f4f5=getKeyByTemplate(_0x3b3d13,_0x52e13b);if(_0xa6f4f5 instanceof Array)for(let _0x2054a9 in _0xa6f4f5){let _0x28a9be=_0x1bc3cd[_0x32b40f(0xff)][_0xa6f4f5[_0x2054a9]+'_'+_0x2054a9];if(_0x28a9be)return _0x28a9be;}else return _0x1bc3cd[_0x32b40f(0xff)][_0xa6f4f5];}return null;}export function getKeyByTemplate(_0x43afcf,_0x887ee8){const _0x5278df=a63_0x3d04;switch(_0x887ee8['tagName_']){case _0x5278df(0x108):{return _0x43afcf[_0x887ee8[_0x5278df(0xf4)]];}case'And':{let _0x174d2c=[];for(let _0x5b7a3f=0x0;_0x5b7a3f<_0x887ee8['conditions'][_0x5278df(0xf1)];_0x5b7a3f++){let _0x1f10e0=getKeyByTemplate(_0x43afcf,_0x887ee8[_0x5278df(0xef)][_0x5b7a3f]);_0x1f10e0&&_0x174d2c[_0x5278df(0x105)](_0x1f10e0);}return _0x174d2c[_0x5278df(0x100)](',');}case'Or':{let _0xe346f3=[];for(let _0x34e124=0x0;_0x34e124<_0x887ee8[_0x5278df(0xef)][_0x5278df(0xf1)];_0x34e124++){let _0x324d57=getKeyByTemplate(_0x43afcf,_0x887ee8[_0x5278df(0xef)][_0x34e124]);_0x324d57&&_0xe346f3['push'](_0x324d57);}return _0xe346f3;}default:return null;}}export function createKeyFromFilter(_0x432652){const _0x5bab70=a63_0x3d04;switch(_0x432652['tagName_']){case _0x5bab70(0x108):return _0x432652[_0x5bab70(0xf9)];case _0x5bab70(0x10d):{let _0x41b5aa=[];for(let _0x571e9c=0x0;_0x571e9c<_0x432652[_0x5bab70(0xef)]['length'];_0x571e9c++){let _0x480ee5=createKeyFromFilter(_0x432652[_0x5bab70(0xef)][_0x571e9c]);if(_0x480ee5)_0x41b5aa['push'](_0x480ee5);else return null;}return _0x41b5aa[_0x5bab70(0x100)](',');}case'Or':{let _0xccc474=[];for(let _0x5dba90=0x0;_0x5dba90<_0x432652[_0x5bab70(0xef)][_0x5bab70(0xf1)];_0x5dba90++){let _0x3ae1da=createKeyFromFilter(_0x432652[_0x5bab70(0xef)][_0x5dba90]);_0x3ae1da&&_0xccc474['push'](_0x3ae1da);}return _0xccc474;}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_0x46216a=a66_0x1b40;(function(_0x4700a2,_0x143eb0){const _0x1e50fe=a66_0x1b40,_0x4a8c9c=_0x4700a2();while(!![]){try{const _0x472b84=-parseInt(_0x1e50fe(0x75))/0x1+-parseInt(_0x1e50fe(0x74))/0x2*(-parseInt(_0x1e50fe(0x6d))/0x3)+parseInt(_0x1e50fe(0x69))/0x4+parseInt(_0x1e50fe(0x66))/0x5*(-parseInt(_0x1e50fe(0x6c))/0x6)+parseInt(_0x1e50fe(0x70))/0x7+parseInt(_0x1e50fe(0x67))/0x8+-parseInt(_0x1e50fe(0x72))/0x9*(parseInt(_0x1e50fe(0x68))/0xa);if(_0x472b84===_0x143eb0)break;else _0x4a8c9c['push'](_0x4a8c9c['shift']());}catch(_0x629ab9){_0x4a8c9c['push'](_0x4a8c9c['shift']());}}}(a66_0x526d,0x404bf));import{asString}from'ol/color';class ImageCache{constructor(){const _0x27c033=a66_0x1b40;this[_0x27c033(0x71)]={},this[_0x27c033(0x6f)]=0x0;}['clear'](){const _0x133fda=a66_0x1b40;this['cache_']={},this[_0x133fda(0x6f)]=0x0;}[a66_0x46216a(0x6a)](_0x1669a3){const _0x4db54e=a66_0x46216a,_0x956915=getKey(_0x1669a3[_0x4db54e(0x76)],_0x1669a3['markerSize'],_0x1669a3[_0x4db54e(0x6e)],_0x1669a3[_0x4db54e(0x73)]);return _0x956915 in this['cache_']?this[_0x4db54e(0x71)][_0x956915]:null;}['set'](_0x1ff73d,_0x1f4c3e){const _0xdb0853=a66_0x46216a,_0x477677=getKey(_0x1ff73d[_0xdb0853(0x76)],_0x1ff73d['markerSize'],_0x1ff73d[_0xdb0853(0x6e)],_0x1ff73d[_0xdb0853(0x73)]);this['cache_'][_0x477677]=_0x1f4c3e,++this[_0xdb0853(0x6f)];}}function getKey(_0x4b2b8d,_0x2bab37,_0xac9d7b,_0x5f3623){const _0x263875=a66_0x46216a,_0x268401=_0xac9d7b?asString(_0xac9d7b):_0x263875(0x6b);return _0x4b2b8d+':'+_0x5f3623+':'+_0x268401+':'+_0x2bab37;}export default ImageCache;function a66_0x1b40(_0x568cf5,_0x1880a9){const _0x526dfc=a66_0x526d();return a66_0x1b40=function(_0x1b40bf,_0x253596){_0x1b40bf=_0x1b40bf-0x66;let _0x398225=_0x526dfc[_0x1b40bf];return _0x398225;},a66_0x1b40(_0x568cf5,_0x1880a9);}function a66_0x526d(){const _0x566855=['image','2qJakhy','499340MckSuE','markerLabel','905elsKog','3804144vfEbCh','2522230BKDcQc','1675444orGczc','get','null','2286Nvfmre','1244793JycSFF','markerColor','cacheSize_','187572UKnWZt','cache_','18KnFzBL'];a66_0x526d=function(){return _0x566855;};return a66_0x526d();}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_0x1b6d1b=a67_0x1db4;(function(_0x9ec5b7,_0x4f997a){const _0x6487b6=a67_0x1db4,_0x12a3f5=_0x9ec5b7();while(!![]){try{const _0x1c7bad=parseInt(_0x6487b6(0x181))/0x1*(parseInt(_0x6487b6(0x17b))/0x2)+-parseInt(_0x6487b6(0x198))/0x3*(-parseInt(_0x6487b6(0x17f))/0x4)+parseInt(_0x6487b6(0x190))/0x5*(-parseInt(_0x6487b6(0x1a6))/0x6)+parseInt(_0x6487b6(0x17c))/0x7*(parseInt(_0x6487b6(0x189))/0x8)+-parseInt(_0x6487b6(0x1a4))/0x9+parseInt(_0x6487b6(0x19b))/0xa+parseInt(_0x6487b6(0x1a9))/0xb*(parseInt(_0x6487b6(0x1a8))/0xc);if(_0x1c7bad===_0x4f997a)break;else _0x12a3f5['push'](_0x12a3f5['shift']());}catch(_0x637909){_0x12a3f5['push'](_0x12a3f5['shift']());}}}(a67_0x2f2e,0x82bbe));import a67_0x40ba16 from'color';function a67_0x1db4(_0x32f4cc,_0x328afd){const _0x2f2e02=a67_0x2f2e();return a67_0x1db4=function(_0x1db430,_0x30cadf){_0x1db430=_0x1db430-0x173;let _0x59279f=_0x2f2e02[_0x1db430];return _0x59279f;},a67_0x1db4(_0x32f4cc,_0x328afd);}import a67_0x2cd24b from'./writeTextToCanvas';import{Icon}from'ol/style';import a67_0x315afb from'ol/ImageState';import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}['fromColor'](_0x21d45e,_0x49d265){const _0x23a5b3=a67_0x1db4;if(!_0x21d45e)throw new Error(_0x23a5b3(0x191));if(!_0x49d265)throw new Error(_0x23a5b3(0x187));return createPin('','',_0x21d45e,_0x49d265,this[_0x23a5b3(0x1ab)]);}[a67_0x1b6d1b(0x194)](_0x272d24,_0x576235,_0x1bcf4f){const _0x336f40=a67_0x1b6d1b;if(!_0x272d24)throw new Error(_0x336f40(0x177));if(!_0x576235)throw new Error(_0x336f40(0x191));if(!_0x1bcf4f)throw new Error('size\x20is\x20required');return createPin(_0x272d24,'',_0x576235,_0x1bcf4f,this[_0x336f40(0x1ab)]);}[a67_0x1b6d1b(0x180)](_0x555c3d,_0x2b4ea2,_0x176689){const _0x12a753=a67_0x1b6d1b;if(!_0x555c3d)throw new Error(_0x12a753(0x197));if(!_0x2b4ea2)throw new Error(_0x12a753(0x191));if(!_0x176689)throw new Error(_0x12a753(0x187));return createPin(parseImage(_0x555c3d),'',_0x2b4ea2,_0x176689,this[_0x12a753(0x1ab)]);}['fromText'](_0x1820d6,_0x251d0a,_0x2c6024){const _0x3429c1=a67_0x1b6d1b;if(!_0x1820d6)throw new Error(_0x3429c1(0x18b));if(!_0x251d0a)throw new Error('color\x20is\x20required');if(!_0x2c6024)throw new Error(_0x3429c1(0x187));return createPin('',_0x1820d6,_0x251d0a,_0x2c6024,this['_cache']);}}function drawPin(_0x42a8bb,_0x570e56,_0x29fc36){const _0x15d169=a67_0x1b6d1b;_0x42a8bb[_0x15d169(0x17a)](),_0x42a8bb[_0x15d169(0x174)](_0x29fc36/0x18,_0x29fc36/0x18),_0x42a8bb['fillStyle']=_0x570e56,_0x42a8bb['strokeStyle']=a67_0x40ba16(_0x570e56)[_0x15d169(0x18a)](0.6)[_0x15d169(0x176)](),_0x42a8bb[_0x15d169(0x178)]=0.846,_0x42a8bb[_0x15d169(0x1a7)](),_0x42a8bb[_0x15d169(0x1a3)](6.72,0.422),_0x42a8bb[_0x15d169(0x184)](17.28,0.422),_0x42a8bb[_0x15d169(0x175)](18.553,0.422,19.577,1.758,19.577,3.415),_0x42a8bb['lineTo'](19.577,10.973),_0x42a8bb[_0x15d169(0x175)](19.577,12.63,18.553,13.966,17.282,13.966),_0x42a8bb['lineTo'](14.386,14.008),_0x42a8bb['lineTo'](11.826,23.578),_0x42a8bb[_0x15d169(0x184)](9.614,14.008),_0x42a8bb[_0x15d169(0x184)](6.719,13.965),_0x42a8bb[_0x15d169(0x175)](5.446,13.983,4.422,12.629,4.422,10.972),_0x42a8bb['lineTo'](4.422,3.416),_0x42a8bb[_0x15d169(0x175)](4.423,1.76,5.447,0.423,6.718,0.423),_0x42a8bb[_0x15d169(0x1a5)](),_0x42a8bb['fill'](),_0x42a8bb[_0x15d169(0x183)](),_0x42a8bb[_0x15d169(0x1a0)]();}function drawIcon(_0x1f03d7,_0x1ee055,_0x3118d7){const _0x12b9e5=a67_0x1b6d1b,_0x17cb67=_0x3118d7/2.5;let _0x3edf62=_0x17cb67,_0x4932c5=_0x17cb67;if(_0x1ee055[_0x12b9e5(0x19e)]>_0x1ee055['height'])_0x4932c5=_0x17cb67*(_0x1ee055[_0x12b9e5(0x185)]/_0x1ee055['width']);else _0x1ee055[_0x12b9e5(0x19e)]<_0x1ee055[_0x12b9e5(0x185)]&&(_0x3edf62=_0x17cb67*(_0x1ee055['width']/_0x1ee055[_0x12b9e5(0x185)]));const _0x377308=Math[_0x12b9e5(0x182)]((_0x3118d7-_0x3edf62)/0x2),_0x153d89=Math['round'](0x7/0x18*_0x3118d7-_0x4932c5/0x2);_0x1f03d7['globalCompositeOperation']=_0x12b9e5(0x1aa),_0x1f03d7['drawImage'](_0x1ee055,_0x377308-0x1,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89-0x1,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308+0x1,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89+0x1,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x173)]=_0x12b9e5(0x19f),_0x1f03d7[_0x12b9e5(0x18c)]=_0x12b9e5(0x186),_0x1f03d7[_0x12b9e5(0x18e)](_0x377308-0x1,_0x153d89-0x1,_0x3edf62+0x2,_0x4932c5+0x2),_0x1f03d7[_0x12b9e5(0x173)]=_0x12b9e5(0x1aa),_0x1f03d7[_0x12b9e5(0x1a2)](_0x1ee055,_0x377308,_0x153d89,_0x3edf62,_0x4932c5),_0x1f03d7[_0x12b9e5(0x173)]='destination-over',_0x1f03d7[_0x12b9e5(0x18c)]=_0x12b9e5(0x17d),_0x1f03d7[_0x12b9e5(0x18e)](_0x377308-0x1,_0x153d89-0x2,_0x3edf62+0x2,_0x4932c5+0x2);}function a67_0x2f2e(){const _0x7f61f5=['fromMakiIconId','256219DHaZYT','round','stroke','lineTo','height','#000000','size\x20is\x20required','IDLE','3405880uBqaMt','lighten','text\x20is\x20required','fillStyle','createElement','fillRect','target','1470475AdsGid','color\x20is\x20required','LOADED','toDataURL','fromUrl','load','stringify','id\x20is\x20required','1983xfANgl','getContext','getImage','7055670VzDnyH','px\x20sans-serif','getImageState','width','destination-over','restore','ERROR','drawImage','moveTo','8894079JJSicB','closePath','18UvXDPF','beginPath','58044mZrSKX','121AvAhnn','destination-out','_cache','globalCompositeOperation','scale','bezierCurveTo','hexa','url\x20is\x20required','lineWidth','canvas','save','6EDmRQd','14LxXReq','#FFFFFF','bold\x20','164lHWENk'];a67_0x2f2e=function(){return _0x7f61f5;};return a67_0x2f2e();}const stringifyScratch=new Array(0x4);function createPin(_0x558416,_0x55bee4,_0x1a0227,_0x4537c9,_0x2a6fa7){const _0x3fa791=a67_0x1b6d1b;stringifyScratch[0x0]=_0x558416,stringifyScratch[0x1]=_0x55bee4,stringifyScratch[0x2]=_0x1a0227,stringifyScratch[0x3]=_0x4537c9;const _0x3076ca=JSON[_0x3fa791(0x196)](stringifyScratch),_0x48c597=_0x2a6fa7[_0x3076ca];if(_0x48c597)return _0x48c597;const _0x4278c5=document[_0x3fa791(0x18d)](_0x3fa791(0x179));_0x4278c5[_0x3fa791(0x19e)]=_0x4537c9,_0x4278c5[_0x3fa791(0x185)]=_0x4537c9;const _0x3c8dce=_0x4278c5[_0x3fa791(0x199)]('2d');drawPin(_0x3c8dce,_0x1a0227,_0x4537c9);if(_0x558416)return new Promise(_0x36180c=>{const _0x104933=_0x3fa791;let _0x5186bd=new Icon({'src':_0x558416}),_0x49fb5f=_0x5186bd[_0x104933(0x19d)]();_0x49fb5f===a67_0x315afb['LOADED']||_0x49fb5f===a67_0x315afb[_0x104933(0x1a1)]?(drawIcon(_0x3c8dce,_0x5186bd[_0x104933(0x19a)](0x60),_0x4537c9),_0x2a6fa7[_0x3076ca]=_0x4278c5['toDataURL'](),_0x36180c(_0x4278c5['toDataURL']())):(_0x49fb5f===a67_0x315afb[_0x104933(0x188)]&&_0x5186bd[_0x104933(0x195)](),_0x5186bd['listenImageChange'](_0x58f3ee=>{const _0x46ca58=_0x104933;_0x49fb5f=_0x58f3ee[_0x46ca58(0x18f)][_0x46ca58(0x19d)](),(_0x49fb5f===a67_0x315afb[_0x46ca58(0x192)]||_0x49fb5f===a67_0x315afb[_0x46ca58(0x1a1)])&&(drawIcon(_0x3c8dce,_0x5186bd[_0x46ca58(0x19a)](0x60),_0x4537c9),_0x2a6fa7[_0x3076ca]=_0x4278c5[_0x46ca58(0x193)](),_0x36180c(_0x4278c5[_0x46ca58(0x193)]()));}));});else{if(_0x55bee4){const _0xfaab8=a67_0x2cd24b(_0x55bee4,{'font':_0x3fa791(0x17e)+_0x4537c9+_0x3fa791(0x19c)});drawIcon(_0x3c8dce,_0xfaab8,_0x4537c9);}}return _0x2a6fa7[_0x3076ca]=_0x4278c5[_0x3fa791(0x193)](),_0x4278c5[_0x3fa791(0x193)]();}export default PinBuilder;
@@ -1 +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_0x41f968=a68_0xa633;(function(_0x242d59,_0xf166e3){const _0x539678=a68_0xa633,_0x1e9723=_0x242d59();while(!![]){try{const _0x406f79=parseInt(_0x539678(0x19e))/0x1*(parseInt(_0x539678(0x19c))/0x2)+-parseInt(_0x539678(0x194))/0x3+-parseInt(_0x539678(0x19f))/0x4*(parseInt(_0x539678(0x18c))/0x5)+parseInt(_0x539678(0x188))/0x6+parseInt(_0x539678(0x1a5))/0x7+parseInt(_0x539678(0x196))/0x8+-parseInt(_0x539678(0x18d))/0x9*(parseInt(_0x539678(0x19b))/0xa);if(_0x406f79===_0xf166e3)break;else _0x1e9723['push'](_0x1e9723['shift']());}catch(_0x14f8c1){_0x1e9723['push'](_0x1e9723['shift']());}}}(a68_0x2011,0x6ac77));import a68_0x4eda42 from'./PinBuilder';import{Icon}from'ol/style';function a68_0xa633(_0xa0212c,_0x56e232){const _0x201120=a68_0x2011();return a68_0xa633=function(_0xa6339f,_0x53a365){_0xa6339f=_0xa6339f-0x185;let _0x3bef40=_0x201120[_0xa6339f];return _0x3bef40;},a68_0xa633(_0xa0212c,_0x56e232);}import a68_0x5103e4 from'ol/ImageState';function a68_0x2011(){const _0x42f48b=['options','_icon','getImage','1137680zJYGSg','14372IvjAoB','then','17RmXhXE','204CjyxQf','error','listenImageChange','loadIcon','markerColor','IDLE','4406983NCZgFX','dispatchEvent','target','ERROR','LOADED','1434780POkbkE','resolve','image','_listener','1195gKXNZY','45ZHbLqU','load','getImageState','markerLabel','get','_imageState','set','105720qhkTZW','catch','502200xTkEYu','markerSize'];a68_0x2011=function(){return _0x42f48b;};return a68_0x2011();}import a68_0x43396c from'ol/events/Event';import{shared as a68_0x2e317f}from'./ImageCache';export default class PinIcon{constructor(_0x9e6af7){const _0x272837=a68_0xa633;this[_0x272837(0x198)]=_0x9e6af7||{},this['_imageState']=a68_0x5103e4[_0x272837(0x1a4)],this['_icon']=a68_0x2e317f[_0x272837(0x191)](this['options']),this[_0x272837(0x199)]&&(this['_imageState']=a68_0x5103e4[_0x272837(0x187)]);}[a68_0x41f968(0x18e)](){const _0xedfdb5=a68_0x41f968;try{let _0x222649,_0x527ffb=new a68_0x4eda42();if(this[_0xedfdb5(0x198)][_0xedfdb5(0x190)])_0x222649=_0x527ffb['fromText'](this[_0xedfdb5(0x198)][_0xedfdb5(0x190)],this['options']['markerColor'],this[_0xedfdb5(0x198)][_0xedfdb5(0x197)]||0x30);else this['options']['image']&&(_0x222649=_0x527ffb['fromUrl'](this[_0xedfdb5(0x198)][_0xedfdb5(0x18a)],this['options'][_0xedfdb5(0x1a3)],this[_0xedfdb5(0x198)]['markerSize']||0x30));Promise[_0xedfdb5(0x189)](_0x222649)[_0xedfdb5(0x19d)](_0x41f6ec=>{const _0x2a32e5=_0xedfdb5;this[_0x2a32e5(0x1a2)](_0x41f6ec);})[_0xedfdb5(0x195)](_0x3abc4d=>{const _0x5a338e=_0xedfdb5;console['warn'](_0x3abc4d),this['_imageState']=a68_0x5103e4[_0x5a338e(0x186)],this[_0x5a338e(0x1a6)]('error');});}catch(_0x3895f8){console['warn'](_0x3895f8),this[_0xedfdb5(0x192)]=a68_0x5103e4[_0xedfdb5(0x186)],this[_0xedfdb5(0x1a6)](_0xedfdb5(0x1a0));}}[a68_0x41f968(0x1a2)](_0x50d980){const _0x3ff0b2=a68_0x41f968;this['_icon']=new Icon({'src':_0x50d980}),a68_0x2e317f[_0x3ff0b2(0x193)](this[_0x3ff0b2(0x198)],this['_icon']);let _0x4034d9=this[_0x3ff0b2(0x199)][_0x3ff0b2(0x18f)]();_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x187)]||_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x186)]?(this[_0x3ff0b2(0x192)]=this[_0x3ff0b2(0x199)][_0x3ff0b2(0x18f)](),this[_0x3ff0b2(0x1a6)]('load')):(_0x4034d9===a68_0x5103e4[_0x3ff0b2(0x1a4)]&&this['_icon'][_0x3ff0b2(0x18e)](),this[_0x3ff0b2(0x199)][_0x3ff0b2(0x1a1)](_0x1eaae9=>{const _0xe7fb91=_0x3ff0b2;_0x4034d9=_0x1eaae9[_0xe7fb91(0x185)]['getImageState'](),(_0x4034d9===a68_0x5103e4[_0xe7fb91(0x187)]||_0x4034d9===a68_0x5103e4[_0xe7fb91(0x186)])&&(this[_0xe7fb91(0x192)]=this[_0xe7fb91(0x199)][_0xe7fb91(0x18f)](),this[_0xe7fb91(0x1a6)](_0xe7fb91(0x18e)));}));}[a68_0x41f968(0x18f)](){const _0x40fcb9=a68_0x41f968;return this[_0x40fcb9(0x192)];}[a68_0x41f968(0x19a)](){const _0x46e23e=a68_0x41f968;var _0x10632c;return(_0x10632c=this[_0x46e23e(0x199)])===null||_0x10632c===void 0x0?void 0x0:_0x10632c[_0x46e23e(0x19a)]();}[a68_0x41f968(0x1a1)](_0x336d0d){const _0x5c53a2=a68_0x41f968;this[_0x5c53a2(0x18b)]=_0x336d0d;}['dispatchEvent'](_0x2f86e2){const _0x1be071=a68_0x41f968;if(this['_listener']){let _0x187914=new a68_0x43396c(_0x2f86e2);_0x187914['target']=this,this[_0x1be071(0x18b)](_0x187914);}}}
@@ -1 +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(_0x493634,_0x4e08fa){const _0x367c4b=a69_0xf14f,_0x4d1120=_0x493634();while(!![]){try{const _0x2c126b=parseInt(_0x367c4b(0x125))/0x1*(parseInt(_0x367c4b(0x107))/0x2)+parseInt(_0x367c4b(0x132))/0x3*(-parseInt(_0x367c4b(0x12b))/0x4)+-parseInt(_0x367c4b(0x12f))/0x5*(parseInt(_0x367c4b(0x115))/0x6)+parseInt(_0x367c4b(0x136))/0x7*(parseInt(_0x367c4b(0x106))/0x8)+-parseInt(_0x367c4b(0x131))/0x9+parseInt(_0x367c4b(0x137))/0xa*(-parseInt(_0x367c4b(0x103))/0xb)+parseInt(_0x367c4b(0x116))/0xc;if(_0x2c126b===_0x4e08fa)break;else _0x4d1120['push'](_0x4d1120['shift']());}catch(_0x3f27ad){_0x4d1120['push'](_0x4d1120['shift']());}}}(a69_0x390b,0xb0b02));function measureText(_0x33bc2a,_0x19ce68,_0x3c1a60,_0x3114b1,_0x5527fa){const _0x222f91=a69_0xf14f,_0x492896=_0x33bc2a[_0x222f91(0x13a)](_0x19ce68),_0x266d05=!/\S/[_0x222f91(0x11b)](_0x19ce68);if(!_0x266d05&&document['defaultView']){const _0x38d12b=document['defaultView'][_0x222f91(0x110)](_0x33bc2a[_0x222f91(0x11a)])[_0x222f91(0x122)](_0x222f91(0x105))[_0x222f91(0x11f)]('px',''),_0xde8702=document[_0x222f91(0x102)]('canvas'),_0x157628=0x64,_0x114f21=_0x492896[_0x222f91(0x133)]+_0x157628|0x0,_0x5e9114=0x3*(_0x38d12b-0x0),_0x4c983b=_0x5e9114/0x2;_0xde8702[_0x222f91(0x133)]=_0x114f21,_0xde8702[_0x222f91(0x119)]=_0x5e9114;const _0x688b4b=_0xde8702['getContext']('2d');if(!_0x688b4b)return{};_0x688b4b[_0x222f91(0x109)]=_0x3c1a60,_0x688b4b['fillStyle']=_0x222f91(0x114),_0x688b4b[_0x222f91(0x10b)](0x0,0x0,_0xde8702[_0x222f91(0x133)]+0x1,_0xde8702[_0x222f91(0x119)]+0x1);_0x3114b1&&(_0x688b4b[_0x222f91(0x127)]=_0x222f91(0x123),_0x688b4b['lineWidth']=_0x33bc2a[_0x222f91(0x134)],_0x688b4b['strokeText'](_0x19ce68,_0x157628/0x2,_0x4c983b));_0x5527fa&&(_0x688b4b['fillStyle']=_0x222f91(0x123),_0x688b4b[_0x222f91(0x128)](_0x19ce68,_0x157628/0x2,_0x4c983b));const _0x60618=_0x688b4b[_0x222f91(0x12e)](0x0,0x0,_0x114f21,_0x5e9114)['data'],_0x430947=_0x60618['length'],_0x57990c=_0x114f21*0x4;let _0x5984e3,_0xc23025,_0x15c2d7=0x0,_0x274111=0x0;for(_0x5984e3=0x0;_0x5984e3<_0x430947;++_0x5984e3){if(_0x60618[_0x5984e3]!==0xff){_0x15c2d7=_0x5984e3/_0x57990c|0x0;break;}}for(_0x5984e3=_0x430947-0x1;_0x5984e3>=0x0;--_0x5984e3){if(_0x60618[_0x5984e3]!==0xff){_0x274111=_0x5984e3/_0x57990c|0x0;break;}}let _0x41b2d1=-0x1;for(_0x5984e3=0x0;_0x5984e3<_0x114f21&&_0x41b2d1===-0x1;++_0x5984e3){for(_0xc23025=0x0;_0xc23025<_0x5e9114;++_0xc23025){const _0x59acd0=_0x5984e3*0x4+_0xc23025*_0x57990c;if(_0x60618[_0x59acd0]!==0xff||_0x60618[_0x59acd0+0x1]!==0xff||_0x60618[_0x59acd0+0x2]!==0xff||_0x60618[_0x59acd0+0x3]!==0xff){_0x41b2d1=_0x5984e3;break;}}}return{'width':_0x492896[_0x222f91(0x133)],'height':_0x274111-_0x15c2d7,'ascent':_0x4c983b-_0x15c2d7,'descent':_0x274111-_0x4c983b,'minx':_0x41b2d1-_0x157628/0x2};}return{'width':_0x492896[_0x222f91(0x133)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function a69_0x390b(){const _0x5f265e=['webkitImageSmoothingEnabled','getImageData','5GGFWBl','stroke','10231191LNGFXN','3InQqQO','width','lineWidth','body','12047DqHwjY','1180JDQJHB','10px\x20sans-serif','#00000000','measureText','#000000','createElement','98758WwxDHx','ceil','font-size','6104YZohxD','116WdOkwL','style','font','fillColor','fillRect','strokeText','visibility','padding','strokeColor','getComputedStyle','round','imageSmoothingEnabled','dimensions','white','3052062dvJfdn','27468996cHmBov','text\x20is\x20required.','fillStyle','height','canvas','test','appendChild','msImageSmoothingEnabled','#FFFFFF','replace','removeChild','getContext','getPropertyValue','black','ascent','502qMeOcT','mozImageSmoothingEnabled','strokeStyle','fillText','minx','lineJoin','810912CcZlqH','backgroundColor'];a69_0x390b=function(){return _0x5f265e;};return a69_0x390b();}function writeTextToCanvas(_0x437d51,_0x313f7c){const _0x649ab5=a69_0xf14f;if(!_0x437d51)throw new Error(_0x649ab5(0x117));if(_0x437d51==='')return undefined;_0x313f7c=defaultValue(_0x313f7c,{});const _0x47b31c=defaultValue(_0x313f7c[_0x649ab5(0x109)],_0x649ab5(0x138)),_0x48a126=defaultValue(_0x313f7c[_0x649ab5(0x130)],![]),_0xbe1a87=defaultValue(_0x313f7c['fill'],!![]),_0x39aaa8=defaultValue(_0x313f7c['strokeWidth'],0x1),_0x5e9fe0=defaultValue(_0x313f7c[_0x649ab5(0x12c)],'#00000000'),_0x3f377e=defaultValue(_0x313f7c[_0x649ab5(0x10e)],0x0),_0x258e9d=_0x3f377e*0x2,_0x557495=document[_0x649ab5(0x102)](_0x649ab5(0x11a));_0x557495[_0x649ab5(0x133)]=0x1,_0x557495[_0x649ab5(0x119)]=0x1,_0x557495['style'][_0x649ab5(0x109)]=_0x47b31c;const _0x2cb8b6=_0x557495[_0x649ab5(0x121)]('2d');if(!imageSmoothingEnabledName&&_0x2cb8b6){if(_0x2cb8b6['imageSmoothingEnabled'])imageSmoothingEnabledName=_0x649ab5(0x112);else{if(_0x2cb8b6[_0x649ab5(0x126)])imageSmoothingEnabledName=_0x649ab5(0x126);else{if(_0x2cb8b6[_0x649ab5(0x12d)])imageSmoothingEnabledName=_0x649ab5(0x12d);else _0x2cb8b6[_0x649ab5(0x11d)]&&(imageSmoothingEnabledName=_0x649ab5(0x11d));}}}_0x2cb8b6[_0x649ab5(0x109)]=_0x47b31c,_0x2cb8b6['lineJoin']=_0x649ab5(0x111),_0x2cb8b6[_0x649ab5(0x134)]=_0x39aaa8,_0x2cb8b6[imageSmoothingEnabledName]=![],_0x557495[_0x649ab5(0x108)][_0x649ab5(0x10d)]='hidden',document[_0x649ab5(0x135)][_0x649ab5(0x11c)](_0x557495);const _0x2aa202=measureText(_0x2cb8b6,_0x437d51,_0x47b31c,_0x48a126,_0xbe1a87);if(!_0x2aa202)return;_0x557495[_0x649ab5(0x113)]=_0x2aa202,document[_0x649ab5(0x135)][_0x649ab5(0x120)](_0x557495),_0x557495['style'][_0x649ab5(0x10d)]='';const _0x6139f5=-(_0x2aa202['minx']?_0x2aa202[_0x649ab5(0x129)]:0x0),_0x50ef26=Math[_0x649ab5(0x104)](_0x2aa202[_0x649ab5(0x133)])+_0x6139f5+_0x258e9d,_0xfca6fc=(_0x2aa202[_0x649ab5(0x119)]?_0x2aa202[_0x649ab5(0x119)]:0x0)+_0x258e9d,_0xddf720=_0xfca6fc-(_0x2aa202[_0x649ab5(0x124)]?_0x2aa202[_0x649ab5(0x124)]:0x0)+_0x3f377e,_0x224f7d=_0xfca6fc-_0xddf720+_0x258e9d;return _0x557495[_0x649ab5(0x133)]=_0x50ef26,_0x557495[_0x649ab5(0x119)]=_0xfca6fc,_0x2cb8b6[_0x649ab5(0x109)]=_0x47b31c,_0x2cb8b6[_0x649ab5(0x12a)]=_0x649ab5(0x111),_0x2cb8b6[_0x649ab5(0x134)]=_0x39aaa8,_0x2cb8b6[imageSmoothingEnabledName]=![],_0x5e9fe0!==_0x649ab5(0x139)&&(_0x2cb8b6[_0x649ab5(0x118)]=_0x5e9fe0,_0x2cb8b6['fillRect'](0x0,0x0,_0x557495['width'],_0x557495[_0x649ab5(0x119)])),_0x48a126&&(_0x2cb8b6['strokeStyle']=defaultValue(_0x313f7c[_0x649ab5(0x10f)],_0x649ab5(0x101)),_0x2cb8b6[_0x649ab5(0x10c)](_0x437d51,_0x6139f5+_0x3f377e,_0x224f7d)),_0xbe1a87&&(_0x2cb8b6[_0x649ab5(0x118)]=defaultValue(_0x313f7c[_0x649ab5(0x10a)],_0x649ab5(0x11e)),_0x2cb8b6[_0x649ab5(0x128)](_0x437d51,_0x6139f5+_0x3f377e,_0x224f7d)),_0x557495;}function a69_0xf14f(_0x5e2955,_0x52cf16){const _0x390b28=a69_0x390b();return a69_0xf14f=function(_0xf14fe5,_0x2a063b){_0xf14fe5=_0xf14fe5-0x101;let _0x3af6ed=_0x390b28[_0xf14fe5];return _0x3af6ed;},a69_0xf14f(_0x5e2955,_0x52cf16);}function defaultValue(_0x1db6cc,_0x58bd65){if(_0x1db6cc!==undefined&&_0x1db6cc!==null)return _0x1db6cc;return _0x58bd65;}export default writeTextToCanvas;
@@ -1 +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 a74_0x4752d4=a74_0x2b9e;(function(_0x4b421d,_0x55cd3e){const _0x2b4a20=a74_0x2b9e,_0x58981e=_0x4b421d();while(!![]){try{const _0x46d21a=parseInt(_0x2b4a20(0x7e))/0x1*(-parseInt(_0x2b4a20(0x84))/0x2)+parseInt(_0x2b4a20(0x85))/0x3+-parseInt(_0x2b4a20(0x92))/0x4*(-parseInt(_0x2b4a20(0x99))/0x5)+parseInt(_0x2b4a20(0x9d))/0x6*(parseInt(_0x2b4a20(0x83))/0x7)+-parseInt(_0x2b4a20(0x9b))/0x8+-parseInt(_0x2b4a20(0x80))/0x9*(parseInt(_0x2b4a20(0x9a))/0xa)+-parseInt(_0x2b4a20(0x88))/0xb;if(_0x46d21a===_0x55cd3e)break;else _0x58981e['push'](_0x58981e['shift']());}catch(_0x19a288){_0x58981e['push'](_0x58981e['shift']());}}}(a74_0x434a,0x94262));import a74_0x46f189 from'ol/format/EsriJSON';import a74_0x39c0d5 from'ol/format/GeoJSON';import{getPointResolution}from'ol/proj';import a74_0xc6ef95 from'./Task';function a74_0x434a(){const _0xc74986=['geometryType','getResolution','returnGeometry','path','195RFaMdV','219890LsLqhq','222128WGhOPW','getType','534366MdJIyY','getView','url','layerDefs','getCode','returnM','time','getProjection','4ZqDmUi','getSize','117aATDis','valueOf','_setGeometryParams','91PkAjzC','525092HlYPTd','1738785ZScNWr','geojsonTypeToArcGIS','tolerance','6176555iDfeZR','writeGeometryObject','layers','identify','imageDisplay','mapExtent','run','inSR','all','resolution','81512AjJBSq','params','returnZ'];a74_0x434a=function(){return _0xc74986;};return a74_0x434a();}import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';function a74_0x2b9e(_0x4fd1d7,_0x314274){const _0x434a61=a74_0x434a();return a74_0x2b9e=function(_0x2b9ef6,_0x5a869d){_0x2b9ef6=_0x2b9ef6-0x79;let _0x25626c=_0x434a61[_0x2b9ef6];return _0x25626c;},a74_0x2b9e(_0x4fd1d7,_0x314274);}export default class Identify extends a74_0xc6ef95{constructor(_0x18372b,_0x15a729,_0x39ac39){const _0xd73d2=a74_0x2b9e;super(_0x18372b,_0x15a729,_0x39ac39),this[_0xd73d2(0x98)]=_0xd73d2(0x8b),this[_0xd73d2(0x93)]={'layers':_0xd73d2(0x90),'tolerance':0x0,'returnGeometry':!![]},this[_0xd73d2(0x87)]=0x3,this[_0xd73d2(0x91)]=0x0,this[_0xd73d2(0x9f)]=appendPath(this['url'],this[_0xd73d2(0x98)]),_0x15a729&&((_0x15a729[_0xd73d2(0x97)]===!![]||_0x15a729[_0xd73d2(0x97)]===![])&&(this[_0xd73d2(0x93)][_0xd73d2(0x97)]=_0x15a729[_0xd73d2(0x97)]),_0x15a729[_0xd73d2(0x8a)]&&(this[_0xd73d2(0x93)][_0xd73d2(0x8a)]=_0x15a729[_0xd73d2(0x8a)]),_0x15a729[_0xd73d2(0x79)]&&(this['params'][_0xd73d2(0x79)]=_0x15a729['layerDefs']),(_0x15a729[_0xd73d2(0x94)]===!![]||_0x15a729['returnZ']===![])&&(this[_0xd73d2(0x93)]['returnZ']=_0x15a729[_0xd73d2(0x94)]),(_0x15a729[_0xd73d2(0x7b)]===!![]||_0x15a729['returnM']===![])&&(this['params'][_0xd73d2(0x7b)]=_0x15a729[_0xd73d2(0x7b)]));}['at'](_0x2c8337,_0x163f6d){const _0x3a3a57=a74_0x2b9e;let _0x59c885,_0xa41d9;const _0x1efcdb=new a74_0x39c0d5();_0x59c885=_0x2c8337,_0xa41d9=getEsriSpatialReference(_0x163f6d[_0x3a3a57(0x9e)]()[_0x3a3a57(0x7d)]()[_0x3a3a57(0x7a)]());const _0x38cfaf=_0x163f6d['getSize']();_0x38cfaf&&(this[_0x3a3a57(0x93)][_0x3a3a57(0x8c)]=[_0x38cfaf[0x0],_0x38cfaf[0x1],0x60]);this['params']['sr']=_0xa41d9;const _0x25dd1=_0x163f6d['getView']()['calculateExtent'](_0x163f6d[_0x3a3a57(0x7f)]());this[_0x3a3a57(0x93)][_0x3a3a57(0x8d)]={'xmin':_0x25dd1[0x0],'ymin':_0x25dd1[0x1],'xmax':_0x25dd1[0x2],'ymax':_0x25dd1[0x3],'spatialReference':_0xa41d9};const _0x49f35a=_0x163f6d[_0x3a3a57(0x9e)]()[_0x3a3a57(0x96)](),_0x16f6f5=_0x163f6d[_0x3a3a57(0x9e)]()['getCenter']();return _0x49f35a&&_0x16f6f5&&(this[_0x3a3a57(0x91)]=getPointResolution(_0x163f6d['getView']()[_0x3a3a57(0x7d)](),_0x49f35a,_0x16f6f5)),this[_0x3a3a57(0x82)](_0x59c885,_0x163f6d[_0x3a3a57(0x9e)]()['getProjection']()[_0x3a3a57(0x7a)]()),this;}['between'](_0x3c8c65,_0x274e6e){const _0x2c9c2d=a74_0x2b9e;return this[_0x2c9c2d(0x93)][_0x2c9c2d(0x7c)]=[_0x3c8c65[_0x2c9c2d(0x81)](),_0x274e6e['valueOf']()],this;}[a74_0x4752d4(0x8e)](){this['request']();}[a74_0x4752d4(0x82)](_0x53f9a7,_0x37f9f1){const _0xda180d=a74_0x4752d4;var _0x4b90fb=new a74_0x46f189();const _0x5d3712=_0x4b90fb[_0xda180d(0x89)](_0x53f9a7);this['params'][_0xda180d(0x8f)]=getEsriSpatialReference(_0x37f9f1),this[_0xda180d(0x93)]['geometry']=_0x5d3712,this[_0xda180d(0x93)][_0xda180d(0x95)]=this[_0xda180d(0x86)](_0x53f9a7[_0xda180d(0x9c)]());}}
@@ -1 +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 a75_0x28ef0a=a75_0x5754;(function(_0x2381a7,_0xd9ec6c){const _0x44b93b=a75_0x5754,_0xfea8a=_0x2381a7();while(!![]){try{const _0x12fd2a=parseInt(_0x44b93b(0xed))/0x1*(parseInt(_0x44b93b(0xe3))/0x2)+parseInt(_0x44b93b(0xdf))/0x3*(parseInt(_0x44b93b(0xc0))/0x4)+parseInt(_0x44b93b(0xd0))/0x5*(-parseInt(_0x44b93b(0xe5))/0x6)+-parseInt(_0x44b93b(0xc4))/0x7+parseInt(_0x44b93b(0xfa))/0x8*(-parseInt(_0x44b93b(0xf2))/0x9)+-parseInt(_0x44b93b(0xcd))/0xa*(parseInt(_0x44b93b(0xde))/0xb)+parseInt(_0x44b93b(0xd2))/0xc;if(_0x12fd2a===_0xd9ec6c)break;else _0xfea8a['push'](_0xfea8a['shift']());}catch(_0x3ca454){_0xfea8a['push'](_0xfea8a['shift']());}}}(a75_0x2e80,0xa85c4));import a75_0x4c3498 from'ol/format/EsriJSON';function a75_0x5754(_0x1e845f,_0x3de142){const _0x2e8029=a75_0x2e80();return a75_0x5754=function(_0x5754ce,_0x98ff8){_0x5754ce=_0x5754ce-0xad;let _0x11f59a=_0x2e8029[_0x5754ce];return _0x11f59a;},a75_0x5754(_0x1e845f,_0x3de142);}import a75_0x5528ea from'./Task';function a75_0x2e80(){const _0x26feae=['1192923drSCFF','abs','layer','between','112262DnLhkc','returnExtentOnly','1003866UDMbAw','touches','returnM','_cleanParams','units','catch','returnZ','outSR','19qkhnaQ','esriSpatialRelContains','where','/query','path','15741zkgCnb','getExtent','esriSpatialRelTouches','apply','400','esriSpatialRelIndexIntersects','push','bboxIntersects','2528vAxHta','distinct','geometryType','simplify','esriSRUnit_Meter','forEach','distance','returnDistinctValues','features','writeGeometryObject','esriSpatialRelIntersects','params','returnGeometry','url','_setGeometryParams','orderBy','run','orderByFields','spatialRel','esriSpatialRelOverlaps','12mVbyoF','code','getSize','overlaps','9486197uZplUR','length','data','returnCountOnly','maxAllowableOffset','1=1','esriSpatialRelCrosses','one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes','ASC','12756980QXnebW','esriSpatialRelWithin','time','25IWiUMm','within','29403600khDNlF','contains','geojsonTypeToArcGIS','query','valueOf','request','No\x20features\x20found','ids','join','returnIdsOnly','esriSpatialRelEnvelopeIntersects','indexIntersects','11AMKNyS'];a75_0x2e80=function(){return _0x26feae;};return a75_0x2e80();}import{getEsriSpatialReference}from'../../EsriUtil';import{appendPath}from'../../UrlUtil';export default class Query extends a75_0x5528ea{constructor(_0x4067cb,_0xf01a86,_0x2d27c7){const _0x22fea2=a75_0x5754;super(_0x4067cb,_0xf01a86,_0x2d27c7),this[_0x22fea2(0xf1)]=_0x22fea2(0xd5),this[_0x22fea2(0xb7)]={'returnGeometry':!![],'where':_0x22fea2(0xc9),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()['getTime']()},this['url']=appendPath(this[_0x22fea2(0xb9)],this[_0x22fea2(0xf1)]),_0xf01a86&&((_0xf01a86['returnGeometry']===!![]||_0xf01a86[_0x22fea2(0xb8)]===![])&&(this[_0x22fea2(0xb7)]['returnGeometry']=_0xf01a86[_0x22fea2(0xb8)]),_0xf01a86[_0x22fea2(0xef)]&&(this[_0x22fea2(0xb7)][_0x22fea2(0xef)]=_0xf01a86['where']),_0xf01a86[_0x22fea2(0xec)]&&(this[_0x22fea2(0xb7)][_0x22fea2(0xec)]=getEsriSpatialReference(_0xf01a86[_0x22fea2(0xec)])),(_0xf01a86[_0x22fea2(0xeb)]===!![]||_0xf01a86['returnZ']===![])&&(this['params'][_0x22fea2(0xeb)]=_0xf01a86[_0x22fea2(0xeb)]),(_0xf01a86[_0x22fea2(0xe7)]===!![]||_0xf01a86[_0x22fea2(0xe7)]===![])&&(this[_0x22fea2(0xb7)][_0x22fea2(0xe7)]=_0xf01a86[_0x22fea2(0xe7)]));}[a75_0x28ef0a(0xd1)](_0x24bb17,_0x5eac61){const _0x367bab=a75_0x28ef0a;return this[_0x367bab(0xba)](_0x24bb17,_0x5eac61),this[_0x367bab(0xb7)][_0x367bab(0xbe)]=_0x367bab(0xee),this;}['intersects'](_0x4b31ee,_0x5f2643){const _0x1e9f86=a75_0x28ef0a;return this[_0x1e9f86(0xba)](_0x4b31ee,_0x5f2643),this[_0x1e9f86(0xb7)][_0x1e9f86(0xbe)]='esriSpatialRelIntersects',this;}[a75_0x28ef0a(0xd3)](_0xf3b6dc,_0x5c7a4b){const _0x155c77=a75_0x28ef0a;return this[_0x155c77(0xba)](_0xf3b6dc,_0x5c7a4b),this[_0x155c77(0xb7)][_0x155c77(0xbe)]=_0x155c77(0xce),this;}['crosses'](_0x54f7c8,_0x31a848){const _0xdc391b=a75_0x28ef0a;return this['_setGeometryParams'](_0x54f7c8,_0x31a848),this[_0xdc391b(0xb7)][_0xdc391b(0xbe)]=_0xdc391b(0xca),this;}[a75_0x28ef0a(0xe6)](_0x3d1d69,_0x4c5a90){const _0x1d6d7b=a75_0x28ef0a;return this[_0x1d6d7b(0xba)](_0x3d1d69,_0x4c5a90),this['params'][_0x1d6d7b(0xbe)]=_0x1d6d7b(0xf4),this;}[a75_0x28ef0a(0xc3)](_0x5382fc,_0x14107f){const _0x22eaae=a75_0x28ef0a;return this['_setGeometryParams'](_0x5382fc,_0x14107f),this[_0x22eaae(0xb7)][_0x22eaae(0xbe)]=_0x22eaae(0xbf),this;}[a75_0x28ef0a(0xf9)](_0x5854e8,_0x783acb){const _0x450bbc=a75_0x28ef0a;return this[_0x450bbc(0xba)](_0x5854e8,_0x783acb),this[_0x450bbc(0xb7)][_0x450bbc(0xbe)]=_0x450bbc(0xdc),this;}[a75_0x28ef0a(0xdd)](_0x3b1532,_0x5263c6){const _0x4ff61e=a75_0x28ef0a;return this[_0x4ff61e(0xba)](_0x3b1532,_0x5263c6),this['params'][_0x4ff61e(0xbe)]=_0x4ff61e(0xf7),this;}['nearby'](_0x53862c,_0x1109ed,_0x39bf1e){const _0x480f48=a75_0x28ef0a;return this[_0x480f48(0xba)](_0x53862c,_0x1109ed),this['params'][_0x480f48(0xbe)]=_0x480f48(0xb6),this['params'][_0x480f48(0xe9)]=_0x480f48(0xb0),this[_0x480f48(0xb7)][_0x480f48(0xb2)]=_0x39bf1e,this;}[a75_0x28ef0a(0xef)](_0x25fecd){const _0x3f3e38=a75_0x28ef0a;return this[_0x3f3e38(0xb7)][_0x3f3e38(0xef)]=_0x25fecd,this;}[a75_0x28ef0a(0xe2)](_0x1f4aba,_0x376581){const _0x38bb8e=a75_0x28ef0a;return this[_0x38bb8e(0xb7)][_0x38bb8e(0xcf)]=[_0x1f4aba[_0x38bb8e(0xd6)](),_0x376581['valueOf']()],this;}[a75_0x28ef0a(0xaf)](_0xf8b46b,_0x58538f){const _0xcc926b=a75_0x28ef0a,_0x55a4f2=_0xf8b46b[_0xcc926b(0xf3)]();var _0x5430b2=Math[_0xcc926b(0xe0)](_0x55a4f2[0x2]-_0x55a4f2[0x0]);const _0x57ec6e=_0xf8b46b[_0xcc926b(0xc2)]();if(_0x57ec6e)return this[_0xcc926b(0xb7)][_0xcc926b(0xc8)]=_0x5430b2/_0x57ec6e[0x1]*_0x58538f,this;}[a75_0x28ef0a(0xbb)](_0x3aca59,_0x54fc2e){const _0x5e5038=a75_0x28ef0a;return _0x54fc2e=_0x54fc2e||_0x5e5038(0xcc),this[_0x5e5038(0xb7)][_0x5e5038(0xbd)]=this[_0x5e5038(0xb7)]['orderByFields']?this['params'][_0x5e5038(0xbd)]+',':'',this[_0x5e5038(0xb7)][_0x5e5038(0xbd)]+=[_0x3aca59,_0x54fc2e][_0x5e5038(0xda)]('\x20'),this;}async[a75_0x28ef0a(0xbc)](){const _0x547899=a75_0x28ef0a;this[_0x547899(0xe8)]();const _0x49cdd0=await this[_0x547899(0xd7)]()[_0x547899(0xea)](_0x992a8d=>{throw new Error(_0x992a8d);});if(_0x49cdd0['status']!==0xc8)throw new Error(_0x547899(0xd8));if(_0x49cdd0[_0x547899(0xc6)]&&_0x49cdd0[_0x547899(0xc6)][_0x547899(0xb4)]&&_0x49cdd0['data'][_0x547899(0xb4)][_0x547899(0xc5)]>0x0){var _0xf56fe5=new a75_0x4c3498();let _0x257cba=[];return _0x49cdd0[_0x547899(0xc6)][_0x547899(0xb4)][_0x547899(0xb1)](_0x22bf8c=>{const _0x409251=_0x547899,_0x2f1604=_0xf56fe5['readFeature'](_0x22bf8c);_0x257cba[_0x409251(0xf8)](_0x2f1604);}),_0x257cba;}return[];}['count'](){const _0x489dd3=a75_0x28ef0a;this[_0x489dd3(0xe8)](),this['params']['returnCountOnly']=!![],this[_0x489dd3(0xd7)]();}[a75_0x28ef0a(0xd9)](){const _0x418f4e=a75_0x28ef0a;this[_0x418f4e(0xe8)](),this['params']['returnIdsOnly']=!![],this[_0x418f4e(0xd7)]();}[a75_0x28ef0a(0xad)](){const _0x354884=a75_0x28ef0a;return this['params']['returnGeometry']=![],this[_0x354884(0xb7)][_0x354884(0xb3)]=!![],this;}[a75_0x28ef0a(0xe1)](_0x1afccd){const _0x45b134=a75_0x28ef0a;return this[_0x45b134(0xf1)]=_0x1afccd+_0x45b134(0xf0),this;}['_trapSQLerrors'](_0x35afa1){const _0x59ed67=a75_0x28ef0a;_0x35afa1&&(_0x35afa1[_0x59ed67(0xc1)]===_0x59ed67(0xf6)&&console['warn'][_0x59ed67(0xf5)](_0x59ed67(0xcb)));}[a75_0x28ef0a(0xe8)](){const _0x559795=a75_0x28ef0a;delete this[_0x559795(0xb7)][_0x559795(0xdb)],delete this[_0x559795(0xb7)][_0x559795(0xe4)],delete this['params'][_0x559795(0xc7)];}[a75_0x28ef0a(0xba)](_0x54188b,_0x2c9450){const _0x5712d9=a75_0x28ef0a;var _0x24f88b=new a75_0x4c3498();const _0x3ee1fe=_0x24f88b[_0x5712d9(0xb5)](_0x54188b);this[_0x5712d9(0xb7)]['inSR']=getEsriSpatialReference(_0x2c9450),this['params']['geometry']=_0x3ee1fe,this['params'][_0x5712d9(0xae)]=this[_0x5712d9(0xd4)](_0x54188b['getType']());}}
@@ -1 +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 a76_0x17ba(){var _0x22e392=['geojsonTypeToArcGIS','5CvfCtl','isArcgisOnline','format','JSONP','esriGeometryPolyline','valueOf','params','esriGeometryPolygon','18EAWKFI','join','MultiPoint','1097627hHgYMm','esriGeometryPoint','json','request','get','Polygon','7944230aPzyRA','call','3549450mvkKuP','3867544BijWFi','method','[object\x20Array]','[object\x20Object]','25487410wtXLks','5199940wnAgSS','returnUnformattedValues','serialize','LineString','22aTrqqV','7644474fYxrOW','url','test','esriGeometryMultipoint','[object\x20Date]','post','length','prototype','2LldJgh','hasOwnProperty','indexOf'];a76_0x17ba=function(){return _0x22e392;};return a76_0x17ba();}function a76_0xc37c(_0x3df656,_0x125845){var _0x17ba6c=a76_0x17ba();return a76_0xc37c=function(_0xc37cfd,_0x9eb357){_0xc37cfd=_0xc37cfd-0xbb;var _0x4dc81e=_0x17ba6c[_0xc37cfd];return _0x4dc81e;},a76_0xc37c(_0x3df656,_0x125845);}var a76_0x26fe3b=a76_0xc37c;(function(_0x58548b,_0x5cf236){var _0x5aa920=a76_0xc37c,_0x3aefaa=_0x58548b();while(!![]){try{var _0x18eac9=-parseInt(_0x5aa920(0xbd))/0x1*(parseInt(_0x5aa920(0xd8))/0x2)+-parseInt(_0x5aa920(0xc5))/0x3+parseInt(_0x5aa920(0xcb))/0x4+parseInt(_0x5aa920(0xdc))/0x5*(-parseInt(_0x5aa920(0xd0))/0x6)+-parseInt(_0x5aa920(0xc3))/0x7+parseInt(_0x5aa920(0xc6))/0x8*(-parseInt(_0x5aa920(0xe4))/0x9)+parseInt(_0x5aa920(0xca))/0xa*(parseInt(_0x5aa920(0xcf))/0xb);if(_0x18eac9===_0x5cf236)break;else _0x3aefaa['push'](_0x3aefaa['shift']());}catch(_0x3bb054){_0x3aefaa['push'](_0x3aefaa['shift']());}}}(a76_0x17ba,0xb4de3));import a76_0x371a3e from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x51da55,_0x495ee3,_0x1b2d56){var _0x549c05=a76_0xc37c;this[_0x549c05(0xd1)]=_0x51da55,this[_0x549c05(0xe2)]=_0x495ee3||{},this[_0x549c05(0xc7)]=!_0x1b2d56?'GET':_0x1b2d56;}[a76_0x26fe3b(0xdb)](_0x1545e7){var _0x52ec1d=a76_0x26fe3b,_0x17597c;switch(_0x1545e7){case'Point':_0x17597c=_0x52ec1d(0xbe);break;case _0x52ec1d(0xbc):_0x17597c=_0x52ec1d(0xd3);break;case _0x52ec1d(0xce):_0x17597c='esriGeometryPolyline';break;case'MultiLineString':_0x17597c=_0x52ec1d(0xe0);break;case _0x52ec1d(0xc2):_0x17597c=_0x52ec1d(0xe3);break;case'MultiPolygon':_0x17597c='esriGeometryPolygon';break;}return _0x17597c;}[a76_0x26fe3b(0xdd)](_0x542814){var _0x51ae21=a76_0x26fe3b;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x51ae21(0xd2)](_0x542814);}[a76_0x26fe3b(0xcd)](_0x3e8182){var _0x1b9d56=a76_0x26fe3b,_0x3cf1ab='';_0x3e8182['f']=_0x3e8182['f']||_0x1b9d56(0xbf);for(var _0x5db32b in _0x3e8182){if(Object[_0x1b9d56(0xd7)][_0x1b9d56(0xd9)][_0x1b9d56(0xc4)](_0x3e8182,_0x5db32b)){var _0x571180=_0x3e8182[_0x5db32b],_0x30a183=Object['prototype']['toString'][_0x1b9d56(0xc4)](_0x571180),_0x564333;_0x3cf1ab[_0x1b9d56(0xd6)]&&(_0x3cf1ab+='&');if(_0x30a183===_0x1b9d56(0xc8))_0x564333=Object['prototype']['toString']['call'](_0x571180[0x0])==='[object\x20Object]'?JSON['stringify'](_0x571180):_0x571180[_0x1b9d56(0xbb)](',');else{if(_0x30a183===_0x1b9d56(0xc9))_0x564333=JSON['stringify'](_0x571180);else _0x30a183===_0x1b9d56(0xd4)?_0x564333=_0x571180[_0x1b9d56(0xe1)]():_0x564333=_0x571180;}_0x3cf1ab+=encodeURIComponent(_0x5db32b)+'='+encodeURIComponent(_0x564333);}}return _0x3cf1ab;}[a76_0x26fe3b(0xde)](_0x15a93d){var _0x4aa49e=a76_0x26fe3b;return this[_0x4aa49e(0xe2)][_0x4aa49e(0xcc)]=!_0x15a93d,this;}async[a76_0x26fe3b(0xc0)](){var _0x12086e=a76_0x26fe3b,_0x26e0b2=this[_0x12086e(0xcd)](this[_0x12086e(0xe2)]);const _0xa0704c=this[_0x12086e(0xd1)][_0x12086e(0xda)]('?')>-0x1?this[_0x12086e(0xd1)]+'&'+_0x26e0b2:this['url']+'?'+_0x26e0b2;if(this[_0x12086e(0xc7)]==='GET')return a76_0x371a3e[_0x12086e(0xc1)](_0xa0704c);else{if(this[_0x12086e(0xc7)]===_0x12086e(0xdf))return jsonp(_0xa0704c);else{const _0x555051=stringify(this[_0x12086e(0xe2)]);return a76_0x371a3e[_0x12086e(0xd5)](this[_0x12086e(0xd1)],_0x555051);}}}}
@@ -1 +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
+ const a78_0x10bf75=a78_0x3d6e;function a78_0x2298(){const _0x8b9971=['2583750zdYrxB','json','map','error','application/json','writeGetFeature','queryParameters','2085730tutASz','where','readFeature','2390408gcNNvs','serializeToString','175XHChbD','features','_geoserverQuery','read','10246592gyVKSZ','stringify','952289JpjKZj','POST','catch','then','srsName','geometry','execute','168906SrLkEr','url','geometryName','4993852gwBxeL','the_geom','tableName','srsName\x20is\x20required'];a78_0x2298=function(){return _0x8b9971;};return a78_0x2298();}(function(_0x3fa932,_0x3aee53){const _0x43f339=a78_0x3d6e,_0x144c4c=_0x3fa932();while(!![]){try{const _0x44dda4=parseInt(_0x43f339(0xf1))/0x1+parseInt(_0x43f339(0x109))/0x2+parseInt(_0x43f339(0xff))/0x3+-parseInt(_0x43f339(0xfb))/0x4+-parseInt(_0x43f339(0x106))/0x5+parseInt(_0x43f339(0xf8))/0x6*(parseInt(_0x43f339(0x10b))/0x7)+-parseInt(_0x43f339(0xef))/0x8;if(_0x44dda4===_0x3aee53)break;else _0x144c4c['push'](_0x144c4c['shift']());}catch(_0x378a1b){_0x144c4c['push'](_0x144c4c['shift']());}}}(a78_0x2298,0xbb085));import{and,intersects}from'ol/format/filter';function a78_0x3d6e(_0x5978cb,_0x3ceec4){const _0x229846=a78_0x2298();return a78_0x3d6e=function(_0x3d6e18,_0x27c4bf){_0x3d6e18=_0x3d6e18-0xec;let _0x1269e5=_0x229846[_0x3d6e18];return _0x1269e5;},a78_0x3d6e(_0x5978cb,_0x3ceec4);}import a78_0x161417 from'../../format/CQL';import a78_0x2ec252 from'ol/format/WFS';import a78_0x152c11 from'ol/format/GeoJSON';export default class QueryTask{constructor(_0x543f72){const _0x1e262a=a78_0x3d6e;this[_0x1e262a(0x105)]={},this[_0x1e262a(0xf9)]=_0x543f72;}async[a78_0x10bf75(0xf7)](_0x3c8426){const _0x3372e8=a78_0x10bf75;this[_0x3372e8(0x105)]=_0x3c8426||{};const _0xcebed4=this['queryParameters']['geometryName']||_0x3372e8(0xfc);let _0x296f76=this[_0x3372e8(0x105)]['where'],_0x3cbaf0;_0x296f76&&(_0x3cbaf0=new a78_0x161417()[_0x3372e8(0xee)](_0x296f76));let _0xcfbcdb=_0x3cbaf0;if(this[_0x3372e8(0x105)]['geometry']){if(!this['queryParameters'][_0x3372e8(0xf5)])throw new Error(_0x3372e8(0xfe));const _0x3a6697=intersects(_0xcebed4,this[_0x3372e8(0x105)][_0x3372e8(0xf6)]);_0xcfbcdb=_0x3cbaf0?and(_0x3cbaf0,_0x3a6697):_0x3a6697;}let _0x3bf422=new a78_0x2ec252()[_0x3372e8(0x104)]({'srsName':this[_0x3372e8(0x105)][_0x3372e8(0xf5)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0x3372e8(0x105)][_0x3372e8(0xfd)]],'outputFormat':_0x3372e8(0x103),'geometryName':_0xcebed4,'filter':_0xcfbcdb});const _0x3c31e8=await fetch(this[_0x3372e8(0xf9)],{'method':'POST','body':new XMLSerializer()[_0x3372e8(0x10a)](_0x3bf422)}),_0x1117dc=await _0x3c31e8[_0x3372e8(0x100)]();let _0x37072e=[];const _0x3b54e0=new a78_0x152c11();return _0x37072e=_0x1117dc['features'][_0x3372e8(0x101)](_0x4b5497=>{const _0x43b847=_0x3372e8;return _0x3b54e0[_0x43b847(0x108)](JSON[_0x43b847(0xf0)](_0x4b5497));}),_0x37072e;}[a78_0x10bf75(0xed)](){const _0xbd9b86=a78_0x10bf75,_0x5bd943=this[_0xbd9b86(0x105)][_0xbd9b86(0xfa)]||_0xbd9b86(0xfc);let _0x112c35=this[_0xbd9b86(0x105)][_0xbd9b86(0x107)],_0x28dbf4;_0x112c35&&(_0x28dbf4=new a78_0x161417()['read'](_0x112c35));let _0x36aa65=_0x28dbf4;if(this['queryParameters'][_0xbd9b86(0xf6)]){const _0x2d8ff6=intersects(_0x5bd943,this[_0xbd9b86(0x105)][_0xbd9b86(0xf6)]);_0x36aa65=_0x28dbf4?and(_0x28dbf4,_0x2d8ff6):_0x2d8ff6;}let _0x5c204b=new a78_0x2ec252()[_0xbd9b86(0x104)]({'srsName':this[_0xbd9b86(0x105)][_0xbd9b86(0xf5)],'featureNS':'','featurePrefix':'','featureTypes':[this[_0xbd9b86(0x105)][_0xbd9b86(0xfd)]],'outputFormat':_0xbd9b86(0x103),'geometryName':_0x5bd943,'filter':_0x36aa65});return new Promise(_0x4509f3=>{const _0x4b17e2=_0xbd9b86;fetch(this['url'],{'method':_0x4b17e2(0xf2),'body':new XMLSerializer()[_0x4b17e2(0x10a)](_0x5c204b)})[_0x4b17e2(0xf4)](_0xf0ce12=>{const _0x2408e8=_0x4b17e2;return _0xf0ce12[_0x2408e8(0x100)]();})['then'](_0x377427=>{const _0x2a8760=_0x4b17e2;let _0x518328=[];const _0x395086=new a78_0x152c11();_0x518328=_0x377427[_0x2a8760(0xec)]['map'](_0x1538f8=>{return _0x395086['readFeature'](JSON['stringify'](_0x1538f8));}),_0x4509f3(_0x518328);})[_0x4b17e2(0xf3)](_0xbd8a9d=>{const _0x35b4a2=_0x4b17e2;_0x4509f3([]),console[_0x35b4a2(0x102)](_0xbd8a9d);});});}}