ym-gis-2d 1.0.33 → 1.0.34
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.
- package/capabilities/index.js +1 -1
- package/controls/ControlManager.js +1 -1
- package/controls/LegendControl.js +1 -1
- package/controls/MousePositionControl.js +1 -1
- package/controls/SwipeLayerControl.js +1 -1
- package/conver/kml/geoJSONToKml.js +1 -1
- package/conver/kml/index.js +1 -1
- package/conver/kml/kmlToGeoJSON.js +1 -1
- package/entity/Feature.js +1 -1
- package/entity/GeometryType.js +1 -1
- package/entity/measure/AreaMeasureUnits.js +1 -1
- package/feature/FeatureManager.d.ts +8 -2
- package/feature/FeatureManager.d.ts.map +1 -1
- package/feature/FeatureManager.js +1 -1
- package/feature/FeatureManager.js.map +1 -1
- package/index.js +1 -1
- package/interaction/AreaMeasure.js +1 -1
- package/interaction/Difference.d.ts +52 -0
- package/interaction/Difference.d.ts.map +1 -0
- package/interaction/Difference.js +1 -0
- package/interaction/Difference.js.map +1 -0
- package/interaction/Draw.js +1 -1
- package/interaction/InteractionManager.js +1 -1
- package/interaction/Select.js +1 -1
- package/interaction/Split.d.ts +10 -16
- package/interaction/Split.d.ts.map +1 -1
- package/interaction/Split.js +1 -1
- package/interaction/Split.js.map +1 -1
- package/layers/ArcgisDynamicLayer.js +1 -1
- package/layers/ArcgisFeatureLayer.js +1 -1
- package/layers/ArcgisTileLayer.js +1 -1
- package/layers/ArcgisWMSLayer.js +1 -1
- package/layers/ArcgisWMTSLayer.js +1 -1
- package/layers/GeoserverVectorTile.js +1 -1
- package/layers/GeoserverWFSLayer.js +1 -1
- package/layers/GeoserverWMSLayer.js +1 -1
- package/layers/GeoserverWMTSLayer.js +1 -1
- package/layers/LayerManager.js +1 -1
- package/layers/TDTLayer.js +1 -1
- package/mapView/Map.js +1 -1
- package/mapView/View.js +1 -1
- package/package.json +1 -1
- package/plot/Plot.js +1 -1
- package/plot/geometry/point/Point.js +1 -1
- package/plot/geometry/polygon/BasePolygon.js +1 -1
- package/plot/geometry/polygon/Circle.js +1 -1
- package/plot/geometry/polygon/Polygon.js +1 -1
- package/plot/geometry/polygon/RectAngle.js +1 -1
- package/plot/geometry/polyline/BaseLine.js +1 -1
- package/plot/geometry/polyline/Polyline.js +1 -1
- package/style/PointStyleFormat.js +1 -1
- package/style/PolygonStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js +1 -1
- package/style/PolylineStyleFormat.js.map +1 -1
- package/style/StyleManager.js +1 -1
- package/style/common.js +1 -1
- package/utils/ArrayUtil.js +1 -1
- package/utils/AxiosUtil.js +1 -1
- package/utils/EsriUtil.js +1 -1
- package/utils/GeometryUtil.d.ts +14 -2
- package/utils/GeometryUtil.d.ts.map +1 -1
- package/utils/GeometryUtil.js +1 -1
- package/utils/GeometryUtil.js.map +1 -1
- package/utils/LayerUtil.js +1 -1
- package/utils/RegisterProjUtil.js +1 -1
- package/utils/ResolutionUtil.js +1 -1
- package/utils/StringUtil.js +1 -1
- package/utils/StyleUtil.js +1 -1
- package/utils/UrlUtil.js +1 -1
- package/utils/XmlUtil.js +1 -1
- package/utils/format/CQL.js +1 -1
- package/utils/format/IsMatchCql.js +1 -1
- package/utils/plug/canvas/ImageCache.js +1 -1
- package/utils/plug/canvas/PinBuilder.js +1 -1
- package/utils/plug/canvas/PinIcon.js +1 -1
- package/utils/plug/canvas/writeTextToCanvas.js +1 -1
- package/utils/tasks/esri/Identify.js +1 -1
- package/utils/tasks/esri/Query.js +1 -1
- package/utils/tasks/esri/Task.js +1 -1
- package/utils/tasks/geoserver/QueryTask.js +1 -1
- package/utils/tasks/index.js +1 -1
- package/ym-gis-2d.es.js +1 -1
- package/ym-gis-2d.umd.js +1 -1
package/utils/XmlUtil.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a100_0x1802(){const _0x2d8616=['310QgSFKN','loadXML','text/xml','777506DjcDpv','Microsoft.XMLDOM','2090644dvzRjC','5HowXfR','25046796uuevKp','1hYZSWd','190935pfOAVk','3978474lUkoRG','async','parseFromString','425133gxUOQf','11zvinRI','21ZfVjFl','DOMParser','1810912mCBvto'];a100_0x1802=function(){return _0x2d8616;};return a100_0x1802();}(function(_0x2d6d01,_0x4473b0){const _0x44ad7b=a100_0x1f5e,_0x22b1b0=_0x2d6d01();while(!![]){try{const _0x322149=parseInt(_0x44ad7b(0xa9))/0x1*(-parseInt(_0x44ad7b(0xa4))/0x2)+-parseInt(_0x44ad7b(0xae))/0x3+-parseInt(_0x44ad7b(0xa6))/0x4+-parseInt(_0x44ad7b(0xa7))/0x5*(parseInt(_0x44ad7b(0xab))/0x6)+-parseInt(_0x44ad7b(0xb0))/0x7*(parseInt(_0x44ad7b(0xb2))/0x8)+parseInt(_0x44ad7b(0xaa))/0x9*(parseInt(_0x44ad7b(0xb3))/0xa)+parseInt(_0x44ad7b(0xaf))/0xb*(parseInt(_0x44ad7b(0xa8))/0xc);if(_0x322149===_0x4473b0)break;else _0x22b1b0['push'](_0x22b1b0['shift']());}catch(_0xb972b4){_0x22b1b0['push'](_0x22b1b0['shift']());}}}(a100_0x1802,0x555a2));function a100_0x1f5e(_0x22fed0,_0x15e151){const _0x18024a=a100_0x1802();return a100_0x1f5e=function(_0x1f5e5a,_0x17648e){_0x1f5e5a=_0x1f5e5a-0xa4;let _0x4532da=_0x18024a[_0x1f5e5a];return _0x4532da;},a100_0x1f5e(_0x22fed0,_0x15e151);}export function readXml(_0x158b8d){const _0x5b2fb6=a100_0x1f5e;let _0x4fdb59;return window[_0x5b2fb6(0xb1)]?_0x4fdb59=new DOMParser()[_0x5b2fb6(0xad)](_0x158b8d,_0x5b2fb6(0xb5)):(_0x4fdb59=new ActiveXObject(_0x5b2fb6(0xa5)),_0x4fdb59[_0x5b2fb6(0xac)]='false',_0x4fdb59[_0x5b2fb6(0xb4)](_0x158b8d)),_0x4fdb59;}
|
package/utils/format/CQL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a80_0x248b65=a80_0xae6c;(function(_0x381afb,_0x13cfc8){const _0x4315ce=a80_0xae6c,_0x5c14e8=_0x381afb();while(!![]){try{const _0x407665=parseInt(_0x4315ce(0x84))/0x1+parseInt(_0x4315ce(0x72))/0x2*(parseInt(_0x4315ce(0xaf))/0x3)+-parseInt(_0x4315ce(0xb3))/0x4*(parseInt(_0x4315ce(0xc7))/0x5)+parseInt(_0x4315ce(0x86))/0x6+parseInt(_0x4315ce(0xb1))/0x7*(parseInt(_0x4315ce(0xd4))/0x8)+parseInt(_0x4315ce(0x89))/0x9*(parseInt(_0x4315ce(0x97))/0xa)+parseInt(_0x4315ce(0x7b))/0xb*(-parseInt(_0x4315ce(0xb6))/0xc);if(_0x407665===_0x13cfc8)break;else _0x5c14e8['push'](_0x5c14e8['shift']());}catch(_0x3c8d0c){_0x5c14e8['push'](_0x5c14e8['shift']());}}}(a80_0x4147,0xbe575));import*as a80_0x1d57bb from'ol/format/filter';import{WKT}from'ol/format';import a80_0x2a6d01 from'ol/geom/Geometry';function a80_0x4147(){const _0x16bc1d=['RPAREN','PropertyIsEqualTo','match','LPAREN','8XJCzeB','property','lessThanOrEqualTo','BETWEEN','between','Within','PropertyIsNull','srsName','\x20AND\x20','INTERSECTS','538umrsah','CONTAINS','greaterThan','GEOMETRY','extent','split','propertyName','write','COMMA','5500946wZMRhl','lowerBoundary','pop','replaceAll','conditions','operators','notEqualTo','remainder','indexOf','301333MhyIDo','tryToken','6109104JlWLgf','follows','upperBoundary','9tYxgyp','And','length','greaterThanOrEqualTo','and','string','tagName_','END','writeGeometry','COMPARISON','lastIndexOf','nextToken','PropertyIsGreaterThanOrEqualTo','Contains','2999860RGBDBT','logicals','CQL解析失败:','NOT','BBOX','operatorReverse','No\x20follows\x20list\x20for\x20','expression','isNull','PropertyIsNotEqualTo','LIKE','WITHIN(','VALUE','charAt','LOGICAL','INTERSECTS(','SPATIAL','substring','toUpperCase','index','patterns','geometryName','text','PROPERTY','3612gpedUk','Can\x27t\x20encode:\x20','2371831IMGNSx','shift','9268rysttF','CONTAINS(','warn','36EARcCg','BBOX(','tokenize','type','inPatterns','Not','geometry','toLowerCase','intersects','equalTo','precedence','replace','exec','read','parseInToOr','push','number','5FnCeEn','readGeometry','WITHIN','condition','buildAst','not','like','tokens','IS\x20NULL'];a80_0x4147=function(){return _0x16bc1d;};return a80_0x4147();}function a80_0xae6c(_0x25bba5,_0xd5ecbb){const _0x414741=a80_0x4147();return a80_0xae6c=function(_0xae6c98,_0x3f0452){_0xae6c98=_0xae6c98-0x6f;let _0x4a57be=_0x414741[_0xae6c98];return _0x4a57be;},a80_0xae6c(_0x25bba5,_0xd5ecbb);}export default class CQL{constructor(){const _0x8d7877=a80_0xae6c;this['inPatterns']=/ (IN) /i,this[_0x8d7877(0xce)]=[_0x8d7877(0xae),_0x8d7877(0x92),_0x8d7877(0xa3),_0x8d7877(0xa5)],this[_0x8d7877(0xab)]={'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(_0x2c5e46){const _0x247bd6=_0x8d7877;let _0x8b9b73=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x247bd6(0xc2)](_0x2c5e46);if(_0x8b9b73){let _0x37f56a=_0x2c5e46['length'],_0x34a9d4=_0x2c5e46[_0x247bd6(0x83)]('(',_0x8b9b73[0x0][_0x247bd6(0x8b)]);if(_0x34a9d4>-0x1){let _0x2b0afc=0x1;while(_0x34a9d4<_0x37f56a&&_0x2b0afc>0x0){_0x34a9d4++;switch(_0x2c5e46[_0x247bd6(0xa4)](_0x34a9d4)){case'(':_0x2b0afc++;break;case')':_0x2b0afc--;break;default:}}}return[_0x2c5e46[_0x247bd6(0xa8)](0x0,_0x34a9d4+0x1)];}},'END':/^$/},this['follows']={'LPAREN':[_0x8d7877(0x75),'SPATIAL',_0x8d7877(0xae),_0x8d7877(0xa3),_0x8d7877(0xd3)],'RPAREN':['NOT',_0x8d7877(0xa5),_0x8d7877(0x90),_0x8d7877(0xd0)],'PROPERTY':[_0x8d7877(0x92),'BETWEEN',_0x8d7877(0x7a),'IS_NULL'],'BETWEEN':[_0x8d7877(0xa3)],'IS_NULL':[_0x8d7877(0x90)],'COMPARISON':[_0x8d7877(0xa3)],'COMMA':[_0x8d7877(0x75),_0x8d7877(0xa3),_0x8d7877(0xae)],'VALUE':[_0x8d7877(0xa5),_0x8d7877(0x7a),_0x8d7877(0xd0),_0x8d7877(0x90)],'SPATIAL':[_0x8d7877(0xd3)],'LOGICAL':[_0x8d7877(0x9a),'VALUE',_0x8d7877(0xa7),_0x8d7877(0xae),_0x8d7877(0xd3)],'NOT':[_0x8d7877(0xae),_0x8d7877(0xd3)],'GEOMETRY':['COMMA','RPAREN']},this[_0x8d7877(0x80)]={'=':a80_0x1d57bb[_0x8d7877(0xbf)],'<>':a80_0x1d57bb[_0x8d7877(0x81)],'<':a80_0x1d57bb['lessThan'],'<=':a80_0x1d57bb[_0x8d7877(0xd6)],'>':a80_0x1d57bb[_0x8d7877(0x74)],'>=':a80_0x1d57bb[_0x8d7877(0x8c)],'LIKE':a80_0x1d57bb[_0x8d7877(0xcd)],'BETWEEN':a80_0x1d57bb[_0x8d7877(0xd8)],'IS\x20NULL':a80_0x1d57bb[_0x8d7877(0x9f)]},this[_0x8d7877(0x9c)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x8d7877(0xa1),'PropertyIsNull':_0x8d7877(0xcf),'PropertyIsBetween':_0x8d7877(0xd7)},this[_0x8d7877(0x98)]={'AND':a80_0x1d57bb[_0x8d7877(0x8d)],'OR':a80_0x1d57bb['or']},this['precedence']={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x2cee1e,_0x594d5c){return _0x594d5c instanceof RegExp?_0x594d5c['exec'](_0x2cee1e):_0x594d5c(_0x2cee1e);}[a80_0x248b65(0x94)](_0x3ea37f,_0x3d308a){const _0x57d50b=a80_0x248b65;let _0xb394e2,_0x28d2b5,_0x44f35b=_0x3d308a[_0x57d50b(0x8b)];for(_0xb394e2=0x0;_0xb394e2<_0x44f35b;_0xb394e2++){_0x28d2b5=_0x3d308a[_0xb394e2];let _0x26194b=this[_0x57d50b(0xab)][_0x28d2b5],_0x209ab4=this[_0x57d50b(0x85)](_0x3ea37f,_0x26194b);if(_0x209ab4){let _0x96bffe=_0x209ab4[0x0],_0x1405e9=_0x3ea37f['substring'](_0x96bffe['length'])['replace'](/^\s*/,'');return{'type':_0x28d2b5,'text':_0x96bffe,'remainder':_0x1405e9};}}let _0x5283ba='ERROR:\x20In\x20parsing:\x20['+_0x3ea37f+'],\x20expected\x20one\x20of:\x20';for(_0xb394e2=0x0;_0xb394e2<_0x44f35b;_0xb394e2++){_0x28d2b5=_0x3d308a[_0xb394e2],_0x5283ba+='\x0a\x20\x20\x20\x20'+_0x28d2b5+':\x20'+this[_0x57d50b(0xab)][_0x28d2b5];}throw new Error(_0x5283ba);}[a80_0x248b65(0xb8)](_0x39365d){const _0x1f5083=a80_0x248b65;_0x39365d=_0x39365d[_0x1f5083(0x7e)]('[','')[_0x1f5083(0x7e)](']','');let _0x40bdaa=this['tryToken'](_0x39365d,this[_0x1f5083(0xba)]);_0x40bdaa&&(_0x39365d=this['parseInToOr'](_0x39365d,_0x40bdaa));let _0x879c73=[],_0x21b97d,_0x2cbe4b=[_0x1f5083(0x9a),_0x1f5083(0x75),_0x1f5083(0xa7),_0x1f5083(0xae),_0x1f5083(0xd3)];do{_0x21b97d=this[_0x1f5083(0x94)](_0x39365d,_0x2cbe4b),_0x39365d=_0x21b97d[_0x1f5083(0x82)],_0x2cbe4b=this[_0x1f5083(0x87)][_0x21b97d[_0x1f5083(0xb9)]];if(_0x21b97d[_0x1f5083(0xb9)]!==_0x1f5083(0x90)&&!_0x2cbe4b)throw new Error(_0x1f5083(0x9d)+_0x21b97d['type']);_0x879c73[_0x1f5083(0xc5)](_0x21b97d);}while(_0x21b97d[_0x1f5083(0xb9)]!==_0x1f5083(0x90));return _0x879c73;}[a80_0x248b65(0xc4)](_0x14d433,_0xe6f052){const _0xae3a11=a80_0x248b65;let _0x3b6805=this['tryToken'](_0x14d433,/\((.+?)\)/g);if(_0x3b6805){let _0x3f4fee=_0x14d433[_0xae3a11(0xa8)](0x0,_0xe6f052[_0xae3a11(0xaa)]),_0x5b2988=_0x3b6805[0x1],_0x2c1e70=_0x5b2988[_0xae3a11(0x7e)]('\x20','')[_0xae3a11(0x77)](','),_0x287020='',_0xe2a705='';if(_0x3f4fee[_0xae3a11(0x83)]('\x20')>-0x1){let _0xf23c84=_0x3f4fee[_0xae3a11(0x93)]('\x20');_0xe2a705=_0x3f4fee[_0xae3a11(0xa8)](0x0,_0xf23c84+0x1),_0x287020=_0x3f4fee[_0xae3a11(0xa8)](_0xf23c84+0x1,_0x3f4fee[_0xae3a11(0x8b)]);}else _0x287020=_0x3f4fee;let _0xfa42cc=_0xe2a705;for(let _0x26860a=0x0;_0x26860a<_0x2c1e70[_0xae3a11(0x8b)];_0x26860a++){let _0x5394f7=_0x2c1e70[_0x26860a];_0xfa42cc+=_0x287020+'='+_0x5394f7,_0x26860a<_0x2c1e70[_0xae3a11(0x8b)]-0x1&&(_0xfa42cc+='\x20or\x20');}return _0xfa42cc;}return _0x14d433;}['buildAst'](_0x42dc35){const _0x11ad24=a80_0x248b65;let _0x254d5d=this,_0x4733af=[],_0x3d785b=[];while(_0x42dc35[_0x11ad24(0x8b)]){let _0x5e15ee=_0x42dc35[_0x11ad24(0xb2)]();switch(_0x5e15ee['type']){case _0x11ad24(0xae):case _0x11ad24(0x75):case _0x11ad24(0xa3):_0x3d785b['push'](_0x5e15ee);break;case _0x11ad24(0x92):case _0x11ad24(0xd7):case'IS_NULL':case _0x11ad24(0xa5):{let _0x37c4f7=this[_0x11ad24(0xc0)][_0x5e15ee[_0x11ad24(0xb9)]];while(_0x4733af['length']>0x0&&this['precedence'][_0x4733af[_0x4733af[_0x11ad24(0x8b)]-0x1][_0x11ad24(0xb9)]]<=_0x37c4f7){_0x3d785b[_0x11ad24(0xc5)](_0x4733af[_0x11ad24(0x7d)]());}_0x4733af[_0x11ad24(0xc5)](_0x5e15ee);break;}case _0x11ad24(0xa7):case _0x11ad24(0x9a):case _0x11ad24(0xd3):_0x4733af[_0x11ad24(0xc5)](_0x5e15ee);break;case _0x11ad24(0xd0):while(_0x4733af['length']>0x0&&_0x4733af[_0x4733af[_0x11ad24(0x8b)]-0x1][_0x11ad24(0xb9)]!==_0x11ad24(0xd3)){_0x3d785b[_0x11ad24(0xc5)](_0x4733af[_0x11ad24(0x7d)]());}_0x4733af[_0x11ad24(0x7d)]();_0x4733af[_0x11ad24(0x8b)]>0x0&&(_0x4733af[_0x4733af[_0x11ad24(0x8b)]-0x1]['type']===_0x11ad24(0xa7)||_0x4733af[_0x4733af[_0x11ad24(0x8b)]-0x1][_0x11ad24(0xb9)]==='NOT')&&_0x3d785b[_0x11ad24(0xc5)](_0x4733af[_0x11ad24(0x7d)]());break;case _0x11ad24(0x7a):case _0x11ad24(0x90):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x5e15ee[_0x11ad24(0xb9)]);}}while(_0x4733af[_0x11ad24(0x8b)]>0x0){_0x3d785b[_0x11ad24(0xc5)](_0x4733af[_0x11ad24(0x7d)]());}function _0x1ec71a(){const _0x2a6051=_0x11ad24;let _0x16589c,_0xba5ff7,_0x432cee=_0x3d785b['pop']();switch(_0x432cee['type']){case _0x2a6051(0xa5):{let _0x46e39d=_0x1ec71a(),_0x4c212f=_0x1ec71a();return new _0x254d5d[(_0x2a6051(0x98))][(_0x432cee[_0x2a6051(0xad)][_0x2a6051(0xa9)]())](_0x4c212f,_0x46e39d);}case _0x2a6051(0x9a):{let _0x19c9cf=_0x1ec71a();return a80_0x1d57bb[_0x2a6051(0xcc)](_0x19c9cf);}case _0x2a6051(0xd7):{let _0x2bc9d4,_0x237a51;return _0x3d785b[_0x2a6051(0x7d)](),_0x237a51=_0x1ec71a(),_0x2bc9d4=_0x1ec71a(),_0xba5ff7=_0x1ec71a(),a80_0x1d57bb[_0x2a6051(0xd8)](_0xba5ff7,_0x2bc9d4,_0x237a51);}case _0x2a6051(0x92):{return _0x16589c=_0x1ec71a(),_0xba5ff7=_0x1ec71a(),new _0x254d5d[(_0x2a6051(0x80))][(_0x432cee[_0x2a6051(0xad)][_0x2a6051(0xa9)]())](_0xba5ff7,_0x16589c);}case'IS_NULL':_0xba5ff7=_0x1ec71a();return new _0x254d5d[(_0x2a6051(0x80))][(_0x432cee[_0x2a6051(0xad)][_0x2a6051(0xa9)]())](_0xba5ff7);case'VALUE':{let _0x42b114=_0x432cee[_0x2a6051(0xad)][_0x2a6051(0xd2)](/^'(.*)'$/);return _0x42b114?_0x42b114[0x1][_0x2a6051(0xc1)](/''/g,'\x27'):Number(_0x432cee[_0x2a6051(0xad)]);}case'SPATIAL':switch(_0x432cee[_0x2a6051(0xad)][_0x2a6051(0xa9)]()){case _0x2a6051(0x9b):{let _0x1f77df=_0x1ec71a(),_0x4d9696=_0x1ec71a(),_0x551413=_0x1ec71a(),_0x4a3283=_0x1ec71a(),_0x17f551=_0x1ec71a();return a80_0x1d57bb['bbox'](_0x17f551,[_0x4a3283,_0x551413,_0x4d9696,_0x1f77df]);}case _0x2a6051(0x71):_0x16589c=_0x1ec71a(),_0xba5ff7=_0x1ec71a();return a80_0x1d57bb[_0x2a6051(0xbe)](_0xba5ff7,_0x16589c);case _0x2a6051(0xc9):_0x16589c=_0x1ec71a(),_0xba5ff7=_0x1ec71a();return a80_0x1d57bb['within'](_0xba5ff7,_0x16589c);case _0x2a6051(0x73):_0x16589c=_0x1ec71a(),_0xba5ff7=_0x1ec71a();return a80_0x1d57bb['contains'](_0xba5ff7,_0x16589c);}break;case _0x2a6051(0x75):return new WKT()[_0x2a6051(0xc8)](_0x432cee[_0x2a6051(0xad)],{});default:return _0x432cee[_0x2a6051(0xad)];}}let _0x4239f6=_0x1ec71a();if(_0x3d785b[_0x11ad24(0x8b)]>0x0){let _0x33e751='剩余的节点无法解析:\x20\x0a';for(let _0x48a6fd=_0x3d785b[_0x11ad24(0x8b)]-0x1;_0x48a6fd>=0x0;_0x48a6fd--){_0x33e751+=_0x3d785b[_0x48a6fd]['type']+':\x20'+_0x3d785b[_0x48a6fd][_0x11ad24(0xad)]+'\x0a';}throw new Error(_0x33e751);}return _0x4239f6;}[a80_0x248b65(0xc3)](_0x34d064){const _0x29e7bb=a80_0x248b65;try{return this[_0x29e7bb(0xcb)](this[_0x29e7bb(0xb8)](_0x34d064));}catch(_0x54241c){console[_0x29e7bb(0xb5)](_0x29e7bb(0x99)+_0x34d064),console[_0x29e7bb(0xb5)](_0x54241c);}}['write'](_0x96710){const _0x59d263=a80_0x248b65;switch(_0x96710[_0x59d263(0x8f)]){case _0x59d263(0x9b):return _0x59d263(0xb7)+_0x96710[_0x59d263(0xac)]+','+_0x96710[_0x59d263(0x76)]['join'](',')+','+_0x96710[_0x59d263(0x6f)]+')';case _0x59d263(0xd9):return _0x59d263(0xa2)+_0x96710[_0x59d263(0xac)]+',\x20'+this[_0x59d263(0xc8)](_0x96710[_0x59d263(0xbc)])+')';case'Intersects':return _0x59d263(0xa6)+_0x96710[_0x59d263(0xac)]+',\x20'+this['readGeometry'](_0x96710[_0x59d263(0xbc)])+')';case _0x59d263(0x96):return _0x59d263(0xb4)+_0x96710['geometryName']+',\x20'+this['readGeometry'](_0x96710[_0x59d263(0xbc)])+')';case _0x59d263(0xbb):return'NOT\x20('+this[_0x59d263(0x79)](_0x96710[_0x59d263(0xca)])+')';case _0x59d263(0x8a):case'Or':{let _0x2d99b1='(',_0x228bd5=!![];for(let _0x5a2d99=0x0;_0x5a2d99<_0x96710['conditions']['length'];_0x5a2d99++){_0x228bd5?_0x228bd5=![]:_0x2d99b1+=')\x20'+_0x96710[_0x59d263(0x8f)][_0x59d263(0xbd)]()+'\x20(',_0x2d99b1+=this[_0x59d263(0x79)](_0x96710[_0x59d263(0x7f)][_0x5a2d99]);}return _0x2d99b1+')';}case'PropertyIsBetween':return _0x96710[_0x59d263(0xd5)]+'\x20BETWEEN\x20'+this['write'](_0x96710[_0x59d263(0x7c)])+_0x59d263(0x70)+this['write'](_0x96710[_0x59d263(0x88)]);case _0x59d263(0xd1):case _0x59d263(0xa0):case'PropertyIsLessThan':case'PropertyIsLessThanOrEqualTo':case'PropertyIsGreaterThan':case _0x59d263(0x95):case'PropertyIsLike':case _0x59d263(0xda):{return _0x96710[_0x59d263(0x9e)]!==null?_0x96710[_0x59d263(0x78)]+'\x20'+this['operatorReverse'][_0x96710[_0x59d263(0x8f)]]+'\x20'+this[_0x59d263(0x79)](_0x96710[_0x59d263(0x9e)]):_0x96710[_0x59d263(0x78)]+'\x20'+this[_0x59d263(0x9c)][_0x96710[_0x59d263(0x8f)]];}case undefined:if(typeof _0x96710===_0x59d263(0x8e))return'\x27'+_0x96710['replace'](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x96710===_0x59d263(0xc6))return String(_0x96710);}break;default:throw new Error(_0x59d263(0xb0)+_0x96710['CLASS_NAME']+'\x20'+_0x96710);}}['readGeometry'](_0x3048e0){const _0x48645a=a80_0x248b65;if(_0x3048e0 instanceof a80_0x2a6d01)return new WKT()[_0x48645a(0x91)](_0x3048e0);}}
|
|
1
|
+
const a81_0x27a1cf=a81_0x5b8c;function a81_0x8d06(){const _0x2f617c=['nextToken','operatorReverse','CQL解析失败:','contains','PROPERTY','like','WITHIN(','PropertyIsGreaterThan','tokenize','conditions','writeGeometry','substring','Can\x27t\x20encode:\x20','1461534PYaaUP','BETWEEN','PropertyIsBetween','string','parseInToOr','expression','match','operators','\x20AND\x20','lessThanOrEqualTo','PropertyIsLessThanOrEqualTo','pop','184816LVVDJu','toLowerCase','lastIndexOf','BBOX(','126170XwoPQu','isNull','logicals','index','INTERSECTS(','readGeometry','charAt','361749AeMRma','tryToken','PropertyIsLike','replace','PropertyIsEqualTo','Contains','indexOf','358728VClNgK','follows','patterns','join','PropertyIsGreaterThanOrEqualTo','\x20or\x20','write','BBOX','Not','IS_NULL','LPAREN','within','not','exec','greaterThanOrEqualTo','剩余的节点无法解析:\x20\x0a','precedence','text','read','geometry','srsName','END','GEOMETRY','geometryName','12UUHUda','propertyName','No\x20follows\x20list\x20for\x20','393520VsSjrP','buildAst','warn','CLASS_NAME','toUpperCase','NOT','equalTo','LIKE','type','VALUE','length','RPAREN','LOGICAL','between','greaterThan','push','2862531oadfUm','\x0a\x20\x20\x20\x20','upperBoundary','Within','NOT\x20(','COMMA','COMPARISON','396MCmOXz','tagName_','inPatterns','SPATIAL','replaceAll','tokens','extent','lowerBoundary'];a81_0x8d06=function(){return _0x2f617c;};return a81_0x8d06();}(function(_0x11e611,_0x2934d2){const _0x8ca367=a81_0x5b8c,_0x454ab3=_0x11e611();while(!![]){try{const _0x23f5ba=-parseInt(_0x8ca367(0x102))/0x1+-parseInt(_0x8ca367(0xfb))/0x2+parseInt(_0x8ca367(0x109))/0x3*(-parseInt(_0x8ca367(0x121))/0x4)+-parseInt(_0x8ca367(0x124))/0x5+-parseInt(_0x8ca367(0x150))/0x6+parseInt(_0x8ca367(0x134))/0x7+-parseInt(_0x8ca367(0xf7))/0x8*(-parseInt(_0x8ca367(0x13b))/0x9);if(_0x23f5ba===_0x2934d2)break;else _0x454ab3['push'](_0x454ab3['shift']());}catch(_0x1d2152){_0x454ab3['push'](_0x454ab3['shift']());}}}(a81_0x8d06,0x4e04e));import*as a81_0x55b193 from'ol/format/filter';function a81_0x5b8c(_0x1a102e,_0x408693){const _0x8d0678=a81_0x8d06();return a81_0x5b8c=function(_0x5b8c21,_0x58f80e){_0x5b8c21=_0x5b8c21-0xec;let _0x3bf422=_0x8d0678[_0x5b8c21];return _0x3bf422;},a81_0x5b8c(_0x1a102e,_0x408693);}import{WKT}from'ol/format';import a81_0x51d64a from'ol/geom/Geometry';export default class CQL{constructor(){const _0x23b67c=a81_0x5b8c;this[_0x23b67c(0x13d)]=/ (IN) /i,this[_0x23b67c(0x140)]=[_0x23b67c(0x147),_0x23b67c(0x13a),'VALUE',_0x23b67c(0x130)],this[_0x23b67c(0x10b)]={'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(_0x4fa21b){const _0x455038=_0x23b67c;let _0x3440ed=/^(POINT|LINESTRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)/[_0x455038(0x116)](_0x4fa21b);if(_0x3440ed){let _0x3bae78=_0x4fa21b[_0x455038(0x12e)],_0x282133=_0x4fa21b[_0x455038(0x108)]('(',_0x3440ed[0x0][_0x455038(0x12e)]);if(_0x282133>-0x1){let _0x522e50=0x1;while(_0x282133<_0x3bae78&&_0x522e50>0x0){_0x282133++;switch(_0x4fa21b[_0x455038(0x101)](_0x282133)){case'(':_0x522e50++;break;case')':_0x522e50--;break;default:}}}return[_0x4fa21b[_0x455038(0x14e)](0x0,_0x282133+0x1)];}},'END':/^$/},this[_0x23b67c(0x10a)]={'LPAREN':[_0x23b67c(0x11f),_0x23b67c(0x13e),_0x23b67c(0x147),_0x23b67c(0x12d),_0x23b67c(0x113)],'RPAREN':[_0x23b67c(0x129),'LOGICAL',_0x23b67c(0x11e),_0x23b67c(0x12f)],'PROPERTY':[_0x23b67c(0x13a),'BETWEEN',_0x23b67c(0x139),_0x23b67c(0x112)],'BETWEEN':[_0x23b67c(0x12d)],'IS_NULL':[_0x23b67c(0x11e)],'COMPARISON':['VALUE'],'COMMA':['GEOMETRY','VALUE',_0x23b67c(0x147)],'VALUE':[_0x23b67c(0x130),'COMMA',_0x23b67c(0x12f),'END'],'SPATIAL':[_0x23b67c(0x113)],'LOGICAL':[_0x23b67c(0x129),_0x23b67c(0x12d),'SPATIAL','PROPERTY','LPAREN'],'NOT':[_0x23b67c(0x147),_0x23b67c(0x113)],'GEOMETRY':[_0x23b67c(0x139),_0x23b67c(0x12f)]},this[_0x23b67c(0xf2)]={'=':a81_0x55b193[_0x23b67c(0x12a)],'<>':a81_0x55b193['notEqualTo'],'<':a81_0x55b193['lessThan'],'<=':a81_0x55b193[_0x23b67c(0xf4)],'>':a81_0x55b193[_0x23b67c(0x132)],'>=':a81_0x55b193[_0x23b67c(0x117)],'LIKE':a81_0x55b193[_0x23b67c(0x148)],'BETWEEN':a81_0x55b193['between'],'IS\x20NULL':a81_0x55b193[_0x23b67c(0xfc)]},this[_0x23b67c(0x144)]={'PropertyIsEqualTo':'=','PropertyIsNotEqualTo':'<>','PropertyIsLessThan':'<','PropertyIsLessThanOrEqualTo':'<=','PropertyIsGreaterThan':'>','PropertyIsGreaterThanOrEqualTo':'>=','PropertyIsLike':_0x23b67c(0x12b),'PropertyIsNull':'IS\x20NULL','PropertyIsBetween':_0x23b67c(0xec)},this[_0x23b67c(0xfd)]={'AND':a81_0x55b193['and'],'OR':a81_0x55b193['or']},this[_0x23b67c(0x119)]={'RPAREN':0x3,'LOGICAL':0x2,'COMPARISON':0x1};}['tryToken'](_0x33b7d6,_0x2b70bb){const _0x44b131=a81_0x5b8c;return _0x2b70bb instanceof RegExp?_0x2b70bb[_0x44b131(0x116)](_0x33b7d6):_0x2b70bb(_0x33b7d6);}[a81_0x27a1cf(0x143)](_0x301106,_0x37ff96){const _0x4dba19=a81_0x27a1cf;let _0x5a06ac,_0x555e27,_0x4d4129=_0x37ff96[_0x4dba19(0x12e)];for(_0x5a06ac=0x0;_0x5a06ac<_0x4d4129;_0x5a06ac++){_0x555e27=_0x37ff96[_0x5a06ac];let _0x3186a7=this[_0x4dba19(0x10b)][_0x555e27],_0x7d4488=this[_0x4dba19(0x103)](_0x301106,_0x3186a7);if(_0x7d4488){let _0x408dc7=_0x7d4488[0x0],_0x3c8de3=_0x301106['substring'](_0x408dc7[_0x4dba19(0x12e)])[_0x4dba19(0x105)](/^\s*/,'');return{'type':_0x555e27,'text':_0x408dc7,'remainder':_0x3c8de3};}}let _0x10d52d='ERROR:\x20In\x20parsing:\x20['+_0x301106+'],\x20expected\x20one\x20of:\x20';for(_0x5a06ac=0x0;_0x5a06ac<_0x4d4129;_0x5a06ac++){_0x555e27=_0x37ff96[_0x5a06ac],_0x10d52d+=_0x4dba19(0x135)+_0x555e27+':\x20'+this[_0x4dba19(0x10b)][_0x555e27];}throw new Error(_0x10d52d);}[a81_0x27a1cf(0x14b)](_0x4eb4dd){const _0x31b6e9=a81_0x27a1cf;_0x4eb4dd=_0x4eb4dd[_0x31b6e9(0x13f)]('[','')['replaceAll'](']','');let _0x62ad78=this['tryToken'](_0x4eb4dd,this['inPatterns']);_0x62ad78&&(_0x4eb4dd=this[_0x31b6e9(0xef)](_0x4eb4dd,_0x62ad78));let _0x56896f=[],_0x2e60ff,_0x198a4c=[_0x31b6e9(0x129),_0x31b6e9(0x11f),_0x31b6e9(0x13e),'PROPERTY',_0x31b6e9(0x113)];do{_0x2e60ff=this[_0x31b6e9(0x143)](_0x4eb4dd,_0x198a4c),_0x4eb4dd=_0x2e60ff['remainder'],_0x198a4c=this[_0x31b6e9(0x10a)][_0x2e60ff[_0x31b6e9(0x12c)]];if(_0x2e60ff[_0x31b6e9(0x12c)]!==_0x31b6e9(0x11e)&&!_0x198a4c)throw new Error(_0x31b6e9(0x123)+_0x2e60ff['type']);_0x56896f[_0x31b6e9(0x133)](_0x2e60ff);}while(_0x2e60ff[_0x31b6e9(0x12c)]!==_0x31b6e9(0x11e));return _0x56896f;}['parseInToOr'](_0x41da1b,_0x229378){const _0x39e4f9=a81_0x27a1cf;let _0x454511=this[_0x39e4f9(0x103)](_0x41da1b,/\((.+?)\)/g);if(_0x454511){let _0x26729a=_0x41da1b[_0x39e4f9(0x14e)](0x0,_0x229378[_0x39e4f9(0xfe)]),_0x236924=_0x454511[0x1],_0x213ad4=_0x236924[_0x39e4f9(0x13f)]('\x20','')['split'](','),_0x5b06bf='',_0x717c5c='';if(_0x26729a['indexOf']('\x20')>-0x1){let _0x310371=_0x26729a[_0x39e4f9(0xf9)]('\x20');_0x717c5c=_0x26729a['substring'](0x0,_0x310371+0x1),_0x5b06bf=_0x26729a['substring'](_0x310371+0x1,_0x26729a['length']);}else _0x5b06bf=_0x26729a;let _0x44bf4d=_0x717c5c;for(let _0x1b4e77=0x0;_0x1b4e77<_0x213ad4[_0x39e4f9(0x12e)];_0x1b4e77++){let _0xfb26a7=_0x213ad4[_0x1b4e77];_0x44bf4d+=_0x5b06bf+'='+_0xfb26a7,_0x1b4e77<_0x213ad4[_0x39e4f9(0x12e)]-0x1&&(_0x44bf4d+=_0x39e4f9(0x10e));}return _0x44bf4d;}return _0x41da1b;}[a81_0x27a1cf(0x125)](_0x238540){const _0x79862b=a81_0x27a1cf;let _0x7bc10d=this,_0x59644c=[],_0x7a0fd0=[];while(_0x238540[_0x79862b(0x12e)]){let _0x176283=_0x238540['shift']();switch(_0x176283[_0x79862b(0x12c)]){case'PROPERTY':case _0x79862b(0x11f):case _0x79862b(0x12d):_0x7a0fd0['push'](_0x176283);break;case _0x79862b(0x13a):case _0x79862b(0xec):case _0x79862b(0x112):case _0x79862b(0x130):{let _0x1725ad=this[_0x79862b(0x119)][_0x176283['type']];while(_0x59644c[_0x79862b(0x12e)]>0x0&&this['precedence'][_0x59644c[_0x59644c[_0x79862b(0x12e)]-0x1][_0x79862b(0x12c)]]<=_0x1725ad){_0x7a0fd0[_0x79862b(0x133)](_0x59644c['pop']());}_0x59644c[_0x79862b(0x133)](_0x176283);break;}case _0x79862b(0x13e):case _0x79862b(0x129):case _0x79862b(0x113):_0x59644c[_0x79862b(0x133)](_0x176283);break;case _0x79862b(0x12f):while(_0x59644c['length']>0x0&&_0x59644c[_0x59644c[_0x79862b(0x12e)]-0x1][_0x79862b(0x12c)]!==_0x79862b(0x113)){_0x7a0fd0[_0x79862b(0x133)](_0x59644c[_0x79862b(0xf6)]());}_0x59644c[_0x79862b(0xf6)]();_0x59644c[_0x79862b(0x12e)]>0x0&&(_0x59644c[_0x59644c['length']-0x1]['type']===_0x79862b(0x13e)||_0x59644c[_0x59644c['length']-0x1][_0x79862b(0x12c)]===_0x79862b(0x129))&&_0x7a0fd0[_0x79862b(0x133)](_0x59644c['pop']());break;case _0x79862b(0x139):case _0x79862b(0x11e):break;default:throw new Error('Unknown\x20token\x20type\x20'+_0x176283[_0x79862b(0x12c)]);}}while(_0x59644c[_0x79862b(0x12e)]>0x0){_0x7a0fd0[_0x79862b(0x133)](_0x59644c['pop']());}function _0x58a43e(){const _0x259190=_0x79862b;let _0x447e66,_0x35a676,_0x565182=_0x7a0fd0[_0x259190(0xf6)]();switch(_0x565182[_0x259190(0x12c)]){case _0x259190(0x130):{let _0x4bd25e=_0x58a43e(),_0x1827fa=_0x58a43e();return new _0x7bc10d['logicals'][(_0x565182['text'][_0x259190(0x128)]())](_0x1827fa,_0x4bd25e);}case'NOT':{let _0x150dab=_0x58a43e();return a81_0x55b193[_0x259190(0x115)](_0x150dab);}case'BETWEEN':{let _0x98f548,_0x46f81b;return _0x7a0fd0[_0x259190(0xf6)](),_0x46f81b=_0x58a43e(),_0x98f548=_0x58a43e(),_0x35a676=_0x58a43e(),a81_0x55b193[_0x259190(0x131)](_0x35a676,_0x98f548,_0x46f81b);}case'COMPARISON':{return _0x447e66=_0x58a43e(),_0x35a676=_0x58a43e(),new _0x7bc10d[(_0x259190(0xf2))][(_0x565182[_0x259190(0x11a)][_0x259190(0x128)]())](_0x35a676,_0x447e66);}case _0x259190(0x112):_0x35a676=_0x58a43e();return new _0x7bc10d['operators'][(_0x565182[_0x259190(0x11a)][_0x259190(0x128)]())](_0x35a676);case'VALUE':{let _0x1dcb4e=_0x565182[_0x259190(0x11a)][_0x259190(0xf1)](/^'(.*)'$/);return _0x1dcb4e?_0x1dcb4e[0x1][_0x259190(0x105)](/''/g,'\x27'):Number(_0x565182[_0x259190(0x11a)]);}case'SPATIAL':switch(_0x565182['text'][_0x259190(0x128)]()){case _0x259190(0x110):{let _0x2d4276=_0x58a43e(),_0x3814b8=_0x58a43e(),_0x43c894=_0x58a43e(),_0x5b791a=_0x58a43e(),_0x1faf68=_0x58a43e();return a81_0x55b193['bbox'](_0x1faf68,[_0x5b791a,_0x43c894,_0x3814b8,_0x2d4276]);}case'INTERSECTS':_0x447e66=_0x58a43e(),_0x35a676=_0x58a43e();return a81_0x55b193['intersects'](_0x35a676,_0x447e66);case'WITHIN':_0x447e66=_0x58a43e(),_0x35a676=_0x58a43e();return a81_0x55b193[_0x259190(0x114)](_0x35a676,_0x447e66);case'CONTAINS':_0x447e66=_0x58a43e(),_0x35a676=_0x58a43e();return a81_0x55b193[_0x259190(0x146)](_0x35a676,_0x447e66);}break;case _0x259190(0x11f):return new WKT()['readGeometry'](_0x565182['text'],{});default:return _0x565182[_0x259190(0x11a)];}}let _0x3c908b=_0x58a43e();if(_0x7a0fd0['length']>0x0){let _0x3e7310=_0x79862b(0x118);for(let _0x2f4b2d=_0x7a0fd0['length']-0x1;_0x2f4b2d>=0x0;_0x2f4b2d--){_0x3e7310+=_0x7a0fd0[_0x2f4b2d]['type']+':\x20'+_0x7a0fd0[_0x2f4b2d][_0x79862b(0x11a)]+'\x0a';}throw new Error(_0x3e7310);}return _0x3c908b;}[a81_0x27a1cf(0x11b)](_0x2f3935){const _0x5f4eb9=a81_0x27a1cf;try{return this[_0x5f4eb9(0x125)](this[_0x5f4eb9(0x14b)](_0x2f3935));}catch(_0xd84e12){console[_0x5f4eb9(0x126)](_0x5f4eb9(0x145)+_0x2f3935),console[_0x5f4eb9(0x126)](_0xd84e12);}}[a81_0x27a1cf(0x10f)](_0x59c2eb){const _0x137a61=a81_0x27a1cf;switch(_0x59c2eb[_0x137a61(0x13c)]){case'BBOX':return _0x137a61(0xfa)+_0x59c2eb[_0x137a61(0x120)]+','+_0x59c2eb[_0x137a61(0x141)][_0x137a61(0x10c)](',')+','+_0x59c2eb[_0x137a61(0x11d)]+')';case _0x137a61(0x137):return _0x137a61(0x149)+_0x59c2eb[_0x137a61(0x120)]+',\x20'+this['readGeometry'](_0x59c2eb[_0x137a61(0x11c)])+')';case'Intersects':return _0x137a61(0xff)+_0x59c2eb[_0x137a61(0x120)]+',\x20'+this[_0x137a61(0x100)](_0x59c2eb['geometry'])+')';case _0x137a61(0x107):return'CONTAINS('+_0x59c2eb[_0x137a61(0x120)]+',\x20'+this[_0x137a61(0x100)](_0x59c2eb[_0x137a61(0x11c)])+')';case _0x137a61(0x111):return _0x137a61(0x138)+this[_0x137a61(0x10f)](_0x59c2eb['condition'])+')';case'And':case'Or':{let _0x13172f='(',_0x59c03a=!![];for(let _0x10a504=0x0;_0x10a504<_0x59c2eb[_0x137a61(0x14c)][_0x137a61(0x12e)];_0x10a504++){_0x59c03a?_0x59c03a=![]:_0x13172f+=')\x20'+_0x59c2eb[_0x137a61(0x13c)][_0x137a61(0xf8)]()+'\x20(',_0x13172f+=this[_0x137a61(0x10f)](_0x59c2eb[_0x137a61(0x14c)][_0x10a504]);}return _0x13172f+')';}case _0x137a61(0xed):return _0x59c2eb['property']+'\x20BETWEEN\x20'+this[_0x137a61(0x10f)](_0x59c2eb[_0x137a61(0x142)])+_0x137a61(0xf3)+this[_0x137a61(0x10f)](_0x59c2eb[_0x137a61(0x136)]);case _0x137a61(0x106):case'PropertyIsNotEqualTo':case'PropertyIsLessThan':case _0x137a61(0xf5):case _0x137a61(0x14a):case _0x137a61(0x10d):case _0x137a61(0x104):case'PropertyIsNull':{return _0x59c2eb[_0x137a61(0xf0)]!==null?_0x59c2eb[_0x137a61(0x122)]+'\x20'+this[_0x137a61(0x144)][_0x59c2eb['tagName_']]+'\x20'+this[_0x137a61(0x10f)](_0x59c2eb['expression']):_0x59c2eb[_0x137a61(0x122)]+'\x20'+this[_0x137a61(0x144)][_0x59c2eb[_0x137a61(0x13c)]];}case undefined:if(typeof _0x59c2eb===_0x137a61(0xee))return'\x27'+_0x59c2eb['replace'](/'/g,'\x27\x27')+'\x27';else{if(typeof _0x59c2eb==='number')return String(_0x59c2eb);}break;default:throw new Error(_0x137a61(0x14f)+_0x59c2eb[_0x137a61(0x127)]+'\x20'+_0x59c2eb);}}[a81_0x27a1cf(0x100)](_0x32e099){const _0x1b6cd6=a81_0x27a1cf;if(_0x32e099 instanceof a81_0x51d64a)return new WKT()[_0x1b6cd6(0x14d)](_0x32e099);}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x5a8d7c,_0x393c04){const _0x24f76e=a82_0x575f,_0x3a8298=_0x5a8d7c();while(!![]){try{const _0x564661=-parseInt(_0x24f76e(0xbf))/0x1*(parseInt(_0x24f76e(0xc7))/0x2)+parseInt(_0x24f76e(0xc5))/0x3*(-parseInt(_0x24f76e(0xb5))/0x4)+-parseInt(_0x24f76e(0xad))/0x5+-parseInt(_0x24f76e(0xc3))/0x6+parseInt(_0x24f76e(0xb4))/0x7+-parseInt(_0x24f76e(0xa9))/0x8+-parseInt(_0x24f76e(0xb6))/0x9*(-parseInt(_0x24f76e(0xbc))/0xa);if(_0x564661===_0x393c04)break;else _0x3a8298['push'](_0x3a8298['shift']());}catch(_0x3e1ebe){_0x3a8298['push'](_0x3a8298['shift']());}}}(a82_0x47cc,0x1a5e2));import a82_0x5e10d0 from'./CQL';function a82_0x47cc(){const _0x9d35a6=['PropertyIsNull','1662UCFRri','read','template','PropertyIsNotEqualTo','660672ZtvLPS','Not','lowerBoundary','PropertyIsEqualTo','771330iZatAV','PropertyIsBetween','PropertyIsLessThan','tagName_','push','propertyName','And','714154mkrPHT','114168AIevoe','6479469oFwFJE','conditions','expression','PropertyIsGreaterThanOrEqualTo','PropertyIsGreaterThan','idMapLength','10wzuKaF','join','property','143iKEsnX','condition','PropertyIsLessThanOrEqualTo','idMap','950904BtwRwQ','length','21kjPpUJ'];a82_0x47cc=function(){return _0x9d35a6;};return a82_0x47cc();}export function isMatchCql(_0x1ed314,_0x557b30){const _0x9a59a5=a82_0x575f;let _0xb4847c=new a82_0x5e10d0()[_0x9a59a5(0xc8)](_0x557b30);return isMatchFilter(_0x1ed314,_0xb4847c);}export function isMatchFilter(_0x332542,_0x2e9a0e){const _0x6fbbda=a82_0x575f;switch(_0x2e9a0e['tagName_']){case _0x6fbbda(0xaa):return!isMatchFilter(_0x332542,_0x2e9a0e['condition']);case _0x6fbbda(0xb3):{let _0xf00383=!![];for(let _0xc8aefa=0x0;_0xc8aefa<_0x2e9a0e[_0x6fbbda(0xb7)]['length'];_0xc8aefa++){_0xf00383=_0xf00383&&isMatchFilter(_0x332542,_0x2e9a0e['conditions'][_0xc8aefa]);}return _0xf00383;}case'Or':{let _0x3cd022=![];for(let _0x14e6ae=0x0;_0x14e6ae<_0x2e9a0e[_0x6fbbda(0xb7)][_0x6fbbda(0xc4)];_0x14e6ae++){_0x3cd022=_0x3cd022||isMatchFilter(_0x332542,_0x2e9a0e[_0x6fbbda(0xb7)][_0x14e6ae]);}return _0x3cd022;}case _0x6fbbda(0xae):return _0x332542[_0x2e9a0e['property']]>_0x2e9a0e[_0x6fbbda(0xab)]&&_0x332542[_0x2e9a0e['property']]<_0x2e9a0e['upperBoundary'];case _0x6fbbda(0xac):return _0x332542[_0x2e9a0e['propertyName']]===_0x2e9a0e['expression'];case _0x6fbbda(0xa8):return _0x332542[_0x2e9a0e['propertyName']]!==_0x2e9a0e[_0x6fbbda(0xb8)];case'PropertyIsLessThan':return _0x332542[_0x2e9a0e[_0x6fbbda(0xb2)]]<_0x2e9a0e[_0x6fbbda(0xb8)];case _0x6fbbda(0xc1):return _0x332542[_0x2e9a0e[_0x6fbbda(0xb2)]]<=_0x2e9a0e[_0x6fbbda(0xb8)];case'PropertyIsGreaterThan':return _0x332542[_0x2e9a0e[_0x6fbbda(0xb2)]]>_0x2e9a0e[_0x6fbbda(0xb8)];case _0x6fbbda(0xb9):return _0x332542[_0x2e9a0e[_0x6fbbda(0xb2)]]>=_0x2e9a0e[_0x6fbbda(0xb8)];case'PropertyIsLike':return _0x332542[_0x2e9a0e[_0x6fbbda(0xb2)]]['indexOf'](_0x2e9a0e['expression'])>-0x1;case _0x6fbbda(0xc6):{return!_0x332542[_0x2e9a0e['propertyName']];}default:return![];}}export function isEqualFilter(_0xe04867,_0x4e8cc1){const _0x1161e7=a82_0x575f;switch(_0xe04867['tagName_']){case _0x1161e7(0xaa):return _0xe04867['tagName_']===_0x4e8cc1[_0x1161e7(0xb0)]&&isEqualFilter(_0xe04867[_0x1161e7(0xc0)],_0x4e8cc1['condition']);case'Or':case _0x1161e7(0xb3):{let _0x441bd2=_0xe04867['tagName_']===_0x4e8cc1[_0x1161e7(0xb0)]&&_0xe04867[_0x1161e7(0xb7)]['length']===_0x4e8cc1[_0x1161e7(0xb7)]['length'];for(let _0x33eb86=0x0;_0x33eb86<_0xe04867['conditions'][_0x1161e7(0xc4)];_0x33eb86++){_0x441bd2=_0x441bd2&&isEqualFilter(_0xe04867[_0x1161e7(0xb7)][_0x33eb86],_0x4e8cc1[_0x1161e7(0xb7)][_0x33eb86]);}return _0x441bd2;}case _0x1161e7(0xae):return _0xe04867[_0x1161e7(0xb0)]===_0x4e8cc1['tagName_']&&_0xe04867[_0x1161e7(0xbe)]===_0x4e8cc1[_0x1161e7(0xbe)];case _0x1161e7(0xac):case _0x1161e7(0xa8):case _0x1161e7(0xaf):case _0x1161e7(0xc1):case _0x1161e7(0xba):case _0x1161e7(0xb9):case'PropertyIsLike':case _0x1161e7(0xc6):return _0xe04867[_0x1161e7(0xb0)]===_0x4e8cc1[_0x1161e7(0xb0)]&&_0xe04867[_0x1161e7(0xb2)]===_0x4e8cc1[_0x1161e7(0xb2)];default:return![];}}export function indexOfFilter(_0x26dc0b,_0x2e30b4){const _0x41e7ba=a82_0x575f;let _0x3ab64c=-0x1;if((_0x26dc0b===null||_0x26dc0b===void 0x0?void 0x0:_0x26dc0b[_0x41e7ba(0xc4)])>0x0)for(let _0x3dd5a2 in _0x26dc0b){if(isEqualFilter(_0x26dc0b[_0x3dd5a2][_0x41e7ba(0xc9)],_0x2e30b4))return _0x3dd5a2;}return _0x3ab64c;}export function getIndexByTemplate(_0x41785e,_0x2b645a){const _0x3ced92=a82_0x575f;let _0x3b76e7=_0x2b645a['template'];if(_0x2b645a[_0x3ced92(0xbb)]>0x0){let _0x3180b0=getKeyByTemplate(_0x41785e,_0x3b76e7);if(_0x3180b0 instanceof Array)for(let _0x1b259e in _0x3180b0){let _0x54950b=_0x2b645a['idMap'][_0x3180b0[_0x1b259e]+'_'+_0x1b259e];if(_0x54950b)return _0x54950b;}else return _0x2b645a[_0x3ced92(0xc2)][_0x3180b0];}return null;}export function getKeyByTemplate(_0x1bd37b,_0x71dffb){const _0x199ae3=a82_0x575f;switch(_0x71dffb[_0x199ae3(0xb0)]){case _0x199ae3(0xac):{return _0x1bd37b[_0x71dffb[_0x199ae3(0xb2)]];}case _0x199ae3(0xb3):{let _0x354595=[];for(let _0x157325=0x0;_0x157325<_0x71dffb[_0x199ae3(0xb7)][_0x199ae3(0xc4)];_0x157325++){let _0x1974d2=getKeyByTemplate(_0x1bd37b,_0x71dffb[_0x199ae3(0xb7)][_0x157325]);_0x1974d2&&_0x354595[_0x199ae3(0xb1)](_0x1974d2);}return _0x354595['join'](',');}case'Or':{let _0x560f38=[];for(let _0x2bfa9e=0x0;_0x2bfa9e<_0x71dffb['conditions'][_0x199ae3(0xc4)];_0x2bfa9e++){let _0x52c9c4=getKeyByTemplate(_0x1bd37b,_0x71dffb[_0x199ae3(0xb7)][_0x2bfa9e]);_0x52c9c4&&_0x560f38[_0x199ae3(0xb1)](_0x52c9c4);}return _0x560f38;}default:return null;}}function a82_0x575f(_0x595fe8,_0x4f9167){const _0x47cca1=a82_0x47cc();return a82_0x575f=function(_0x575f08,_0x59823f){_0x575f08=_0x575f08-0xa8;let _0x78d3d6=_0x47cca1[_0x575f08];return _0x78d3d6;},a82_0x575f(_0x595fe8,_0x4f9167);}export function createKeyFromFilter(_0x331feb){const _0x793989=a82_0x575f;switch(_0x331feb['tagName_']){case _0x793989(0xac):return _0x331feb[_0x793989(0xb8)];case'And':{let _0x1374fd=[];for(let _0x52b8f7=0x0;_0x52b8f7<_0x331feb[_0x793989(0xb7)][_0x793989(0xc4)];_0x52b8f7++){let _0x5ea28c=createKeyFromFilter(_0x331feb[_0x793989(0xb7)][_0x52b8f7]);if(_0x5ea28c)_0x1374fd['push'](_0x5ea28c);else return null;}return _0x1374fd[_0x793989(0xbd)](',');}case'Or':{let _0x5ceb34=[];for(let _0x57ea5e=0x0;_0x57ea5e<_0x331feb['conditions'][_0x793989(0xc4)];_0x57ea5e++){let _0x15f6df=createKeyFromFilter(_0x331feb[_0x793989(0xb7)][_0x57ea5e]);_0x15f6df&&_0x5ceb34['push'](_0x15f6df);}return _0x5ceb34;}default:return null;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a85_0x3927(){const _0xeaa469=['821126GeDsMB','cache_','image','8929600REKWGg','1317455sNfKFE','markerColor','get','markerSize','markerLabel','332756XCiSST','cacheSize_','2985584prNDfp','12UUxyCS','553212aGbwoG','3685260TVukUy'];a85_0x3927=function(){return _0xeaa469;};return a85_0x3927();}const a85_0x1bdee7=a85_0x2054;function a85_0x2054(_0x2c6148,_0x15827d){const _0x392701=a85_0x3927();return a85_0x2054=function(_0x205449,_0x5ca6b8){_0x205449=_0x205449-0x68;let _0x44b983=_0x392701[_0x205449];return _0x44b983;},a85_0x2054(_0x2c6148,_0x15827d);}(function(_0x566bfe,_0x213b29){const _0x47ec46=a85_0x2054,_0x1e5f2e=_0x566bfe();while(!![]){try{const _0x5b225a=-parseInt(_0x47ec46(0x6a))/0x1+parseInt(_0x47ec46(0x70))/0x2+-parseInt(_0x47ec46(0x6e))/0x3+parseInt(_0x47ec46(0x6d))/0x4*(parseInt(_0x47ec46(0x74))/0x5)+parseInt(_0x47ec46(0x6f))/0x6+parseInt(_0x47ec46(0x6c))/0x7+-parseInt(_0x47ec46(0x73))/0x8;if(_0x5b225a===_0x213b29)break;else _0x1e5f2e['push'](_0x1e5f2e['shift']());}catch(_0x233d91){_0x1e5f2e['push'](_0x1e5f2e['shift']());}}}(a85_0x3927,0x9488e));import{asString}from'ol/color';class ImageCache{constructor(){const _0x47232c=a85_0x2054;this[_0x47232c(0x71)]={},this[_0x47232c(0x6b)]=0x0;}['clear'](){const _0x5cca78=a85_0x2054;this[_0x5cca78(0x71)]={},this[_0x5cca78(0x6b)]=0x0;}[a85_0x1bdee7(0x76)](_0x17047a){const _0x4334ea=a85_0x1bdee7,_0x810d2b=getKey(_0x17047a[_0x4334ea(0x69)],_0x17047a[_0x4334ea(0x68)],_0x17047a[_0x4334ea(0x75)],_0x17047a['image']);return _0x810d2b in this['cache_']?this[_0x4334ea(0x71)][_0x810d2b]:null;}['set'](_0x53fb2b,_0x48a986){const _0x5e4741=a85_0x1bdee7,_0x2378b6=getKey(_0x53fb2b['markerLabel'],_0x53fb2b['markerSize'],_0x53fb2b['markerColor'],_0x53fb2b[_0x5e4741(0x72)]);this[_0x5e4741(0x71)][_0x2378b6]=_0x48a986,++this[_0x5e4741(0x6b)];}}function getKey(_0x5ac27f,_0x2687b2,_0x331431,_0x16357d){const _0x4f50c6=_0x331431?asString(_0x331431):'null';return _0x5ac27f+':'+_0x16357d+':'+_0x4f50c6+':'+_0x2687b2;}export default ImageCache;export const shared=new ImageCache();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a86_0x82fbe7=a86_0x13c8;(function(_0xaa3566,_0x28414b){const _0x59867f=a86_0x13c8,_0x439d9a=_0xaa3566();while(!![]){try{const _0x7dde6=parseInt(_0x59867f(0xad))/0x1*(parseInt(_0x59867f(0xc5))/0x2)+parseInt(_0x59867f(0xb5))/0x3+parseInt(_0x59867f(0xb8))/0x4*(parseInt(_0x59867f(0xaa))/0x5)+parseInt(_0x59867f(0xc6))/0x6+parseInt(_0x59867f(0xc0))/0x7*(-parseInt(_0x59867f(0xa9))/0x8)+-parseInt(_0x59867f(0xca))/0x9+-parseInt(_0x59867f(0xbb))/0xa;if(_0x7dde6===_0x28414b)break;else _0x439d9a['push'](_0x439d9a['shift']());}catch(_0x3f1862){_0x439d9a['push'](_0x439d9a['shift']());}}}(a86_0x20ea,0xd9dda));import a86_0x48cb69 from'color';import a86_0x2b8567 from'./writeTextToCanvas';import{Icon}from'ol/style';import a86_0x4f6cb5 from'ol/ImageState';function a86_0x13c8(_0x55370f,_0x42ec76){const _0x20ea1e=a86_0x20ea();return a86_0x13c8=function(_0x13c8cb,_0x7f9022){_0x13c8cb=_0x13c8cb-0xa7;let _0x112ea4=_0x20ea1e[_0x13c8cb];return _0x112ea4;},a86_0x13c8(_0x55370f,_0x42ec76);}import{parseImage}from'../../UrlUtil.js';class PinBuilder{constructor(){this['_cache']={};}[a86_0x82fbe7(0xb9)](_0xd0bba,_0x5ddb9f){const _0x19c60d=a86_0x82fbe7;if(!_0xd0bba)throw new Error(_0x19c60d(0xcd));if(!_0x5ddb9f)throw new Error(_0x19c60d(0xb6));return createPin('','',_0xd0bba,_0x5ddb9f,this[_0x19c60d(0xd4)]);}[a86_0x82fbe7(0xc7)](_0x4534fa,_0x154c24,_0x1b6767){const _0x38ef35=a86_0x82fbe7;if(!_0x4534fa)throw new Error(_0x38ef35(0xbe));if(!_0x154c24)throw new Error(_0x38ef35(0xcd));if(!_0x1b6767)throw new Error(_0x38ef35(0xb6));return createPin(_0x4534fa,'',_0x154c24,_0x1b6767,this[_0x38ef35(0xd4)]);}[a86_0x82fbe7(0xae)](_0x1b5407,_0x5399c8,_0x45ff2a){const _0x1b94b8=a86_0x82fbe7;if(!_0x1b5407)throw new Error(_0x1b94b8(0xba));if(!_0x5399c8)throw new Error(_0x1b94b8(0xcd));if(!_0x45ff2a)throw new Error(_0x1b94b8(0xb6));return createPin(parseImage(_0x1b5407),'',_0x5399c8,_0x45ff2a,this[_0x1b94b8(0xd4)]);}[a86_0x82fbe7(0xd2)](_0x253bac,_0x4dfd8d,_0x545e5a){const _0x29cb56=a86_0x82fbe7;if(!_0x253bac)throw new Error(_0x29cb56(0xac));if(!_0x4dfd8d)throw new Error(_0x29cb56(0xcd));if(!_0x545e5a)throw new Error(_0x29cb56(0xb6));return createPin('',_0x253bac,_0x4dfd8d,_0x545e5a,this[_0x29cb56(0xd4)]);}}function drawPin(_0x3fab2c,_0x529c75,_0x102d89){const _0x3b2152=a86_0x82fbe7;_0x3fab2c['save'](),_0x3fab2c['scale'](_0x102d89/0x18,_0x102d89/0x18),_0x3fab2c[_0x3b2152(0xc9)]=_0x529c75,_0x3fab2c['strokeStyle']=a86_0x48cb69(_0x529c75)['lighten'](0.6)[_0x3b2152(0xb0)](),_0x3fab2c['lineWidth']=0.846,_0x3fab2c['beginPath'](),_0x3fab2c[_0x3b2152(0xc3)](6.72,0.422),_0x3fab2c['lineTo'](17.28,0.422),_0x3fab2c[_0x3b2152(0xa8)](18.553,0.422,19.577,1.758,19.577,3.415),_0x3fab2c[_0x3b2152(0xa7)](19.577,10.973),_0x3fab2c['bezierCurveTo'](19.577,12.63,18.553,13.966,17.282,13.966),_0x3fab2c[_0x3b2152(0xa7)](14.386,14.008),_0x3fab2c[_0x3b2152(0xa7)](11.826,23.578),_0x3fab2c[_0x3b2152(0xa7)](9.614,14.008),_0x3fab2c[_0x3b2152(0xa7)](6.719,13.965),_0x3fab2c[_0x3b2152(0xa8)](5.446,13.983,4.422,12.629,4.422,10.972),_0x3fab2c[_0x3b2152(0xa7)](4.422,3.416),_0x3fab2c['bezierCurveTo'](4.423,1.76,5.447,0.423,6.718,0.423),_0x3fab2c[_0x3b2152(0xc8)](),_0x3fab2c['fill'](),_0x3fab2c['stroke'](),_0x3fab2c[_0x3b2152(0xd7)]();}function drawIcon(_0x28466f,_0x26ee06,_0x33162e){const _0x2e261e=a86_0x82fbe7,_0x1dd7c7=_0x33162e/2.5;let _0x6a099d=_0x1dd7c7,_0x45b8fb=_0x1dd7c7;if(_0x26ee06[_0x2e261e(0xbc)]>_0x26ee06[_0x2e261e(0xab)])_0x45b8fb=_0x1dd7c7*(_0x26ee06[_0x2e261e(0xab)]/_0x26ee06[_0x2e261e(0xbc)]);else _0x26ee06[_0x2e261e(0xbc)]<_0x26ee06[_0x2e261e(0xab)]&&(_0x6a099d=_0x1dd7c7*(_0x26ee06['width']/_0x26ee06['height']));const _0x46a0f2=Math[_0x2e261e(0xaf)]((_0x33162e-_0x6a099d)/0x2),_0x59436d=Math[_0x2e261e(0xaf)](0x7/0x18*_0x33162e-_0x45b8fb/0x2);_0x28466f[_0x2e261e(0xd3)]='destination-out',_0x28466f[_0x2e261e(0xb3)](_0x26ee06,_0x46a0f2-0x1,_0x59436d,_0x6a099d,_0x45b8fb),_0x28466f[_0x2e261e(0xb3)](_0x26ee06,_0x46a0f2,_0x59436d-0x1,_0x6a099d,_0x45b8fb),_0x28466f[_0x2e261e(0xb3)](_0x26ee06,_0x46a0f2+0x1,_0x59436d,_0x6a099d,_0x45b8fb),_0x28466f[_0x2e261e(0xb3)](_0x26ee06,_0x46a0f2,_0x59436d+0x1,_0x6a099d,_0x45b8fb),_0x28466f[_0x2e261e(0xd3)]='destination-over',_0x28466f[_0x2e261e(0xc9)]='#000000',_0x28466f['fillRect'](_0x46a0f2-0x1,_0x59436d-0x1,_0x6a099d+0x2,_0x45b8fb+0x2),_0x28466f['globalCompositeOperation']=_0x2e261e(0xbf),_0x28466f[_0x2e261e(0xb3)](_0x26ee06,_0x46a0f2,_0x59436d,_0x6a099d,_0x45b8fb),_0x28466f[_0x2e261e(0xd3)]=_0x2e261e(0xd6),_0x28466f[_0x2e261e(0xc9)]=_0x2e261e(0xce),_0x28466f[_0x2e261e(0xcf)](_0x46a0f2-0x1,_0x59436d-0x2,_0x6a099d+0x2,_0x45b8fb+0x2);}const stringifyScratch=new Array(0x4);function createPin(_0x12c8cf,_0x19d5e2,_0x586a33,_0x170082,_0x3c9acf){const _0x344b4d=a86_0x82fbe7;stringifyScratch[0x0]=_0x12c8cf,stringifyScratch[0x1]=_0x19d5e2,stringifyScratch[0x2]=_0x586a33,stringifyScratch[0x3]=_0x170082;const _0x9bbc81=JSON[_0x344b4d(0xbd)](stringifyScratch),_0x1b09a8=_0x3c9acf[_0x9bbc81];if(_0x1b09a8)return _0x1b09a8;const _0x5be66f=document[_0x344b4d(0xd0)](_0x344b4d(0xb7));_0x5be66f[_0x344b4d(0xbc)]=_0x170082,_0x5be66f['height']=_0x170082;const _0x2ea2df=_0x5be66f[_0x344b4d(0xb2)]('2d');drawPin(_0x2ea2df,_0x586a33,_0x170082);if(_0x12c8cf)return new Promise(_0x31f8c8=>{const _0x204ce0=_0x344b4d;let _0x15493e=new Icon({'src':_0x12c8cf}),_0x4864e1=_0x15493e[_0x204ce0(0xcb)]();_0x4864e1===a86_0x4f6cb5[_0x204ce0(0xc4)]||_0x4864e1===a86_0x4f6cb5[_0x204ce0(0xb4)]?(drawIcon(_0x2ea2df,_0x15493e[_0x204ce0(0xb1)](0x60),_0x170082),_0x3c9acf[_0x9bbc81]=_0x5be66f[_0x204ce0(0xd1)](),_0x31f8c8(_0x5be66f[_0x204ce0(0xd1)]())):(_0x4864e1===a86_0x4f6cb5[_0x204ce0(0xd5)]&&_0x15493e['load'](),_0x15493e[_0x204ce0(0xd8)](_0x568a6d=>{const _0x577219=_0x204ce0;_0x4864e1=_0x568a6d[_0x577219(0xc2)][_0x577219(0xcb)](),(_0x4864e1===a86_0x4f6cb5[_0x577219(0xc4)]||_0x4864e1===a86_0x4f6cb5[_0x577219(0xb4)])&&(drawIcon(_0x2ea2df,_0x15493e['getImage'](0x60),_0x170082),_0x3c9acf[_0x9bbc81]=_0x5be66f[_0x577219(0xd1)](),_0x31f8c8(_0x5be66f[_0x577219(0xd1)]()));}));});else{if(_0x19d5e2){const _0x4f95ae=a86_0x2b8567(_0x19d5e2,{'font':_0x344b4d(0xcc)+_0x170082+_0x344b4d(0xc1)});drawIcon(_0x2ea2df,_0x4f95ae,_0x170082);}}return _0x3c9acf[_0x9bbc81]=_0x5be66f[_0x344b4d(0xd1)](),_0x5be66f[_0x344b4d(0xd1)]();}function a86_0x20ea(){const _0x3cb061=['bold\x20','color\x20is\x20required','#FFFFFF','fillRect','createElement','toDataURL','fromText','globalCompositeOperation','_cache','IDLE','destination-over','restore','listenImageChange','lineTo','bezierCurveTo','2209504fgWYcF','60765zySzZM','height','text\x20is\x20required','58ynMOrl','fromMakiIconId','round','hexa','getImage','getContext','drawImage','ERROR','3441291pVurxG','size\x20is\x20required','canvas','52jtzbsN','fromColor','id\x20is\x20required','5776020vYzWDY','width','stringify','url\x20is\x20required','destination-out','28tOCIaY','px\x20sans-serif','target','moveTo','LOADED','30254FtxXlO','10095354WotLFg','fromUrl','closePath','fillStyle','11612511kkXxdE','getImageState'];a86_0x20ea=function(){return _0x3cb061;};return a86_0x20ea();}export default PinBuilder;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a87_0x4e7df6=a87_0x1412;(function(_0x260f06,_0x46936a){const _0x2b715f=a87_0x1412,_0x3a6a80=_0x260f06();while(!![]){try{const _0x44010e=-parseInt(_0x2b715f(0xcc))/0x1+-parseInt(_0x2b715f(0xea))/0x2+-parseInt(_0x2b715f(0xd3))/0x3+parseInt(_0x2b715f(0xcb))/0x4*(-parseInt(_0x2b715f(0xe1))/0x5)+parseInt(_0x2b715f(0xe5))/0x6*(parseInt(_0x2b715f(0xd7))/0x7)+-parseInt(_0x2b715f(0xd0))/0x8+-parseInt(_0x2b715f(0xce))/0x9*(-parseInt(_0x2b715f(0xd4))/0xa);if(_0x44010e===_0x46936a)break;else _0x3a6a80['push'](_0x3a6a80['shift']());}catch(_0x5e8cb1){_0x3a6a80['push'](_0x3a6a80['shift']());}}}(a87_0x1266,0x75c3c));import a87_0x1080f3 from'./PinBuilder';import{Icon}from'ol/style';import a87_0x5541e2 from'ol/ImageState';import a87_0x290e31 from'ol/events/Event';function a87_0x1266(){const _0x54a152=['43942NieSiz','load','135VZdroI','target','6273912qxiVpk','resolve','dispatchEvent','557073sYyZQN','1411450giwgcb','ERROR','_listener','21oPNfOd','fromUrl','_imageState','warn','LOADED','set','options','getImage','then','IDLE','255IrRvRw','markerColor','get','error','1378596xJfdmA','image','_icon','markerLabel','fromText','1508164mXvsAT','getImageState','listenImageChange','catch','markerSize','43620mdMbnG'];a87_0x1266=function(){return _0x54a152;};return a87_0x1266();}function a87_0x1412(_0x36bb35,_0x454d73){const _0x12666e=a87_0x1266();return a87_0x1412=function(_0x1412e0,_0x17af48){_0x1412e0=_0x1412e0-0xc9;let _0x592815=_0x12666e[_0x1412e0];return _0x592815;},a87_0x1412(_0x36bb35,_0x454d73);}import{shared as a87_0x261bca}from'./ImageCache';export default class PinIcon{constructor(_0x40afc1){const _0x78c01=a87_0x1412;this[_0x78c01(0xdd)]=_0x40afc1||{},this[_0x78c01(0xd9)]=a87_0x5541e2[_0x78c01(0xe0)],this['_icon']=a87_0x261bca[_0x78c01(0xe3)](this['options']),this[_0x78c01(0xe7)]&&(this[_0x78c01(0xd9)]=a87_0x5541e2[_0x78c01(0xdb)]);}[a87_0x4e7df6(0xcd)](){const _0x35bcd2=a87_0x4e7df6;try{let _0x2d8a57,_0x1e85d9=new a87_0x1080f3();if(this['options'][_0x35bcd2(0xe8)])_0x2d8a57=_0x1e85d9[_0x35bcd2(0xe9)](this[_0x35bcd2(0xdd)][_0x35bcd2(0xe8)],this[_0x35bcd2(0xdd)][_0x35bcd2(0xe2)],this[_0x35bcd2(0xdd)]['markerSize']||0x30);else this['options'][_0x35bcd2(0xe6)]&&(_0x2d8a57=_0x1e85d9[_0x35bcd2(0xd8)](this[_0x35bcd2(0xdd)][_0x35bcd2(0xe6)],this[_0x35bcd2(0xdd)][_0x35bcd2(0xe2)],this[_0x35bcd2(0xdd)][_0x35bcd2(0xca)]||0x30));Promise[_0x35bcd2(0xd1)](_0x2d8a57)[_0x35bcd2(0xdf)](_0x495d15=>{this['loadIcon'](_0x495d15);})[_0x35bcd2(0xc9)](_0x3ad9a=>{const _0xfb2fcb=_0x35bcd2;console[_0xfb2fcb(0xda)](_0x3ad9a),this[_0xfb2fcb(0xd9)]=a87_0x5541e2[_0xfb2fcb(0xd5)],this[_0xfb2fcb(0xd2)]('error');});}catch(_0x38bd77){console[_0x35bcd2(0xda)](_0x38bd77),this[_0x35bcd2(0xd9)]=a87_0x5541e2['ERROR'],this[_0x35bcd2(0xd2)](_0x35bcd2(0xe4));}}['loadIcon'](_0x32e217){const _0x511d65=a87_0x4e7df6;this[_0x511d65(0xe7)]=new Icon({'src':_0x32e217}),a87_0x261bca[_0x511d65(0xdc)](this['options'],this[_0x511d65(0xe7)]);let _0x59e918=this[_0x511d65(0xe7)][_0x511d65(0xeb)]();_0x59e918===a87_0x5541e2[_0x511d65(0xdb)]||_0x59e918===a87_0x5541e2[_0x511d65(0xd5)]?(this[_0x511d65(0xd9)]=this[_0x511d65(0xe7)]['getImageState'](),this[_0x511d65(0xd2)](_0x511d65(0xcd))):(_0x59e918===a87_0x5541e2[_0x511d65(0xe0)]&&this['_icon'][_0x511d65(0xcd)](),this['_icon'][_0x511d65(0xec)](_0x2aa66a=>{const _0x3db9d4=_0x511d65;_0x59e918=_0x2aa66a[_0x3db9d4(0xcf)][_0x3db9d4(0xeb)](),(_0x59e918===a87_0x5541e2[_0x3db9d4(0xdb)]||_0x59e918===a87_0x5541e2[_0x3db9d4(0xd5)])&&(this[_0x3db9d4(0xd9)]=this[_0x3db9d4(0xe7)][_0x3db9d4(0xeb)](),this[_0x3db9d4(0xd2)](_0x3db9d4(0xcd)));}));}[a87_0x4e7df6(0xeb)](){const _0x54b220=a87_0x4e7df6;return this[_0x54b220(0xd9)];}['getImage'](){const _0x4fd914=a87_0x4e7df6;var _0x1099b1;return(_0x1099b1=this[_0x4fd914(0xe7)])===null||_0x1099b1===void 0x0?void 0x0:_0x1099b1[_0x4fd914(0xde)]();}['listenImageChange'](_0xe91b74){this['_listener']=_0xe91b74;}[a87_0x4e7df6(0xd2)](_0x2994fc){const _0x20b87b=a87_0x4e7df6;if(this[_0x20b87b(0xd6)]){let _0x3eed46=new a87_0x290e31(_0x2994fc);_0x3eed46[_0x20b87b(0xcf)]=this,this['_listener'](_0x3eed46);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4042c7,_0x1494f2){const _0x1d5736=a88_0x2b2f,_0x58d69f=_0x4042c7();while(!![]){try{const _0x1448d3=-parseInt(_0x1d5736(0x1a3))/0x1+-parseInt(_0x1d5736(0x1b3))/0x2*(parseInt(_0x1d5736(0x19f))/0x3)+-parseInt(_0x1d5736(0x197))/0x4*(parseInt(_0x1d5736(0x1a4))/0x5)+parseInt(_0x1d5736(0x1b4))/0x6+-parseInt(_0x1d5736(0x1a2))/0x7+-parseInt(_0x1d5736(0x1c7))/0x8+parseInt(_0x1d5736(0x1a9))/0x9;if(_0x1448d3===_0x1494f2)break;else _0x58d69f['push'](_0x58d69f['shift']());}catch(_0x3cb8e4){_0x58d69f['push'](_0x58d69f['shift']());}}}(a88_0x302e,0x67e58));function measureText(_0x70969d,_0x31abb0,_0x5d829d,_0x3c89bc,_0x334345){const _0x4d36ac=a88_0x2b2f,_0x29511e=_0x70969d['measureText'](_0x31abb0),_0xa947cb=!/\S/[_0x4d36ac(0x1bf)](_0x31abb0);if(!_0xa947cb&&document[_0x4d36ac(0x199)]){const _0x3a1ce1=document[_0x4d36ac(0x199)][_0x4d36ac(0x1b2)](_0x70969d[_0x4d36ac(0x1b6)])[_0x4d36ac(0x1c1)](_0x4d36ac(0x1c9))['replace']('px',''),_0x59d43f=document[_0x4d36ac(0x1a6)](_0x4d36ac(0x1b6)),_0xaa2929=0x64,_0x1971e9=_0x29511e[_0x4d36ac(0x19b)]+_0xaa2929|0x0,_0x73808d=0x3*(_0x3a1ce1-0x0),_0x318781=_0x73808d/0x2;_0x59d43f['width']=_0x1971e9,_0x59d43f[_0x4d36ac(0x1a1)]=_0x73808d;const _0x1f1a9e=_0x59d43f['getContext']('2d');if(!_0x1f1a9e)return{};_0x1f1a9e[_0x4d36ac(0x1be)]=_0x5d829d,_0x1f1a9e['fillStyle']=_0x4d36ac(0x1b9),_0x1f1a9e[_0x4d36ac(0x1b0)](0x0,0x0,_0x59d43f['width']+0x1,_0x59d43f[_0x4d36ac(0x1a1)]+0x1);_0x3c89bc&&(_0x1f1a9e[_0x4d36ac(0x1cb)]=_0x4d36ac(0x1b5),_0x1f1a9e['lineWidth']=_0x70969d[_0x4d36ac(0x1c4)],_0x1f1a9e[_0x4d36ac(0x1a7)](_0x31abb0,_0xaa2929/0x2,_0x318781));_0x334345&&(_0x1f1a9e[_0x4d36ac(0x1bb)]=_0x4d36ac(0x1b5),_0x1f1a9e['fillText'](_0x31abb0,_0xaa2929/0x2,_0x318781));const _0x3ed669=_0x1f1a9e[_0x4d36ac(0x1bd)](0x0,0x0,_0x1971e9,_0x73808d)[_0x4d36ac(0x19d)],_0x163b1b=_0x3ed669[_0x4d36ac(0x1c5)],_0x3af267=_0x1971e9*0x4;let _0x48883c,_0x117865,_0x481d4d=0x0,_0x5977ce=0x0;for(_0x48883c=0x0;_0x48883c<_0x163b1b;++_0x48883c){if(_0x3ed669[_0x48883c]!==0xff){_0x481d4d=_0x48883c/_0x3af267|0x0;break;}}for(_0x48883c=_0x163b1b-0x1;_0x48883c>=0x0;--_0x48883c){if(_0x3ed669[_0x48883c]!==0xff){_0x5977ce=_0x48883c/_0x3af267|0x0;break;}}let _0x328e95=-0x1;for(_0x48883c=0x0;_0x48883c<_0x1971e9&&_0x328e95===-0x1;++_0x48883c){for(_0x117865=0x0;_0x117865<_0x73808d;++_0x117865){const _0x3540cf=_0x48883c*0x4+_0x117865*_0x3af267;if(_0x3ed669[_0x3540cf]!==0xff||_0x3ed669[_0x3540cf+0x1]!==0xff||_0x3ed669[_0x3540cf+0x2]!==0xff||_0x3ed669[_0x3540cf+0x3]!==0xff){_0x328e95=_0x48883c;break;}}}return{'width':_0x29511e[_0x4d36ac(0x19b)],'height':_0x5977ce-_0x481d4d,'ascent':_0x318781-_0x481d4d,'descent':_0x5977ce-_0x318781,'minx':_0x328e95-_0xaa2929/0x2};}return{'width':_0x29511e[_0x4d36ac(0x19b)],'height':0x0,'ascent':0x0,'descent':0x0,'minx':0x0};}let imageSmoothingEnabledName='';function writeTextToCanvas(_0x145a6e,_0x361e5f){const _0x57bc28=a88_0x2b2f;if(!_0x145a6e)throw new Error(_0x57bc28(0x1ae));if(_0x145a6e==='')return undefined;_0x361e5f=defaultValue(_0x361e5f,{});const _0x420b0e=defaultValue(_0x361e5f['font'],_0x57bc28(0x1b8)),_0x55139f=defaultValue(_0x361e5f[_0x57bc28(0x1a8)],![]),_0x5d7952=defaultValue(_0x361e5f[_0x57bc28(0x1ac)],!![]),_0x341950=defaultValue(_0x361e5f['strokeWidth'],0x1),_0x204281=defaultValue(_0x361e5f[_0x57bc28(0x1ab)],_0x57bc28(0x1a0)),_0x1b30aa=defaultValue(_0x361e5f[_0x57bc28(0x1af)],0x0),_0x468d75=_0x1b30aa*0x2,_0x5b79b7=document[_0x57bc28(0x1a6)]('canvas');_0x5b79b7[_0x57bc28(0x19b)]=0x1,_0x5b79b7[_0x57bc28(0x1a1)]=0x1,_0x5b79b7[_0x57bc28(0x1c0)][_0x57bc28(0x1be)]=_0x420b0e;const _0x870c63=_0x5b79b7[_0x57bc28(0x198)]('2d');if(!imageSmoothingEnabledName&&_0x870c63){if(_0x870c63[_0x57bc28(0x1c8)])imageSmoothingEnabledName=_0x57bc28(0x1c8);else{if(_0x870c63[_0x57bc28(0x1a5)])imageSmoothingEnabledName=_0x57bc28(0x1a5);else{if(_0x870c63['webkitImageSmoothingEnabled'])imageSmoothingEnabledName='webkitImageSmoothingEnabled';else _0x870c63[_0x57bc28(0x1ca)]&&(imageSmoothingEnabledName='msImageSmoothingEnabled');}}}_0x870c63[_0x57bc28(0x1be)]=_0x420b0e,_0x870c63[_0x57bc28(0x1ba)]=_0x57bc28(0x19e),_0x870c63['lineWidth']=_0x341950,_0x870c63[imageSmoothingEnabledName]=![],_0x5b79b7[_0x57bc28(0x1c0)][_0x57bc28(0x1aa)]='hidden',document['body'][_0x57bc28(0x1b7)](_0x5b79b7);const _0x2506ff=measureText(_0x870c63,_0x145a6e,_0x420b0e,_0x55139f,_0x5d7952);if(!_0x2506ff)return;_0x5b79b7['dimensions']=_0x2506ff,document[_0x57bc28(0x1c2)][_0x57bc28(0x196)](_0x5b79b7),_0x5b79b7[_0x57bc28(0x1c0)][_0x57bc28(0x1aa)]='';const _0x54f402=-(_0x2506ff[_0x57bc28(0x1ad)]?_0x2506ff[_0x57bc28(0x1ad)]:0x0),_0x17562f=Math[_0x57bc28(0x1b1)](_0x2506ff['width'])+_0x54f402+_0x468d75,_0x43e6f7=(_0x2506ff[_0x57bc28(0x1a1)]?_0x2506ff[_0x57bc28(0x1a1)]:0x0)+_0x468d75,_0x3fb82f=_0x43e6f7-(_0x2506ff[_0x57bc28(0x19c)]?_0x2506ff['ascent']:0x0)+_0x1b30aa,_0x366170=_0x43e6f7-_0x3fb82f+_0x468d75;return _0x5b79b7[_0x57bc28(0x19b)]=_0x17562f,_0x5b79b7[_0x57bc28(0x1a1)]=_0x43e6f7,_0x870c63[_0x57bc28(0x1be)]=_0x420b0e,_0x870c63[_0x57bc28(0x1ba)]=_0x57bc28(0x19e),_0x870c63[_0x57bc28(0x1c4)]=_0x341950,_0x870c63[imageSmoothingEnabledName]=![],_0x204281!==_0x57bc28(0x1a0)&&(_0x870c63[_0x57bc28(0x1bb)]=_0x204281,_0x870c63[_0x57bc28(0x1b0)](0x0,0x0,_0x5b79b7[_0x57bc28(0x19b)],_0x5b79b7[_0x57bc28(0x1a1)])),_0x55139f&&(_0x870c63['strokeStyle']=defaultValue(_0x361e5f['strokeColor'],_0x57bc28(0x1bc)),_0x870c63[_0x57bc28(0x1a7)](_0x145a6e,_0x54f402+_0x1b30aa,_0x366170)),_0x5d7952&&(_0x870c63['fillStyle']=defaultValue(_0x361e5f[_0x57bc28(0x1c3)],_0x57bc28(0x1c6)),_0x870c63[_0x57bc28(0x19a)](_0x145a6e,_0x54f402+_0x1b30aa,_0x366170)),_0x5b79b7;}function defaultValue(_0x467585,_0x8ff4bc){if(_0x467585!==undefined&&_0x467585!==null)return _0x467585;return _0x8ff4bc;}export default writeTextToCanvas;function a88_0x2b2f(_0x109081,_0x33a724){const _0x302ebc=a88_0x302e();return a88_0x2b2f=function(_0x2b2fa0,_0x1fbbba){_0x2b2fa0=_0x2b2fa0-0x196;let _0x53a6ee=_0x302ebc[_0x2b2fa0];return _0x53a6ee;},a88_0x2b2f(_0x109081,_0x33a724);}function a88_0x302e(){const _0x384152=['defaultView','fillText','width','ascent','data','round','3TFirGG','#00000000','height','3580878XkkEQC','753887xpZfAH','55NqudNO','mozImageSmoothingEnabled','createElement','strokeText','stroke','23355684moXxkZ','visibility','backgroundColor','fill','minx','text\x20is\x20required.','padding','fillRect','ceil','getComputedStyle','578142agBsya','2382288gxsfyd','black','canvas','appendChild','10px\x20sans-serif','white','lineJoin','fillStyle','#000000','getImageData','font','test','style','getPropertyValue','body','fillColor','lineWidth','length','#FFFFFF','2293784EiUtjV','imageSmoothingEnabled','font-size','msImageSmoothingEnabled','strokeStyle','removeChild','263756nCSMxo','getContext'];a88_0x302e=function(){return _0x384152;};return a88_0x302e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93_0x4221cd=a93_0x3685;(function(_0x5c95bb,_0x46764b){const _0x32c68d=a93_0x3685,_0x2df2fd=_0x5c95bb();while(!![]){try{const _0x32d586=parseInt(_0x32c68d(0xf2))/0x1*(parseInt(_0x32c68d(0x102))/0x2)+-parseInt(_0x32c68d(0x109))/0x3+-parseInt(_0x32c68d(0xf5))/0x4+parseInt(_0x32c68d(0xfe))/0x5*(parseInt(_0x32c68d(0xf6))/0x6)+parseInt(_0x32c68d(0xe6))/0x7*(parseInt(_0x32c68d(0xec))/0x8)+-parseInt(_0x32c68d(0xf0))/0x9*(parseInt(_0x32c68d(0x101))/0xa)+parseInt(_0x32c68d(0x107))/0xb*(parseInt(_0x32c68d(0xe4))/0xc);if(_0x32d586===_0x46764b)break;else _0x2df2fd['push'](_0x2df2fd['shift']());}catch(_0x5d2253){_0x2df2fd['push'](_0x2df2fd['shift']());}}}(a93_0x3b18,0x38207));import a93_0x23d50a from'ol/format/EsriJSON';import a93_0x3fc223 from'ol/format/GeoJSON';function a93_0x3685(_0x27b7b3,_0x5073f7){const _0x3b18f5=a93_0x3b18();return a93_0x3685=function(_0x368588,_0x4db4de){_0x368588=_0x368588-0xe3;let _0x374133=_0x3b18f5[_0x368588];return _0x374133;},a93_0x3685(_0x27b7b3,_0x5073f7);}import{getPointResolution}from'ol/proj';import a93_0xfb7601 from'./Task';import{appendPath}from'../../UrlUtil';import{getEsriSpatialReference}from'../../EsriUtil';function a93_0x3b18(){const _0x2c3e1d=['url','getCode','layers','mapExtent','11420jqqkrE','time','getProjection','3045030rWoobh','86XJVLTi','returnZ','_setGeometryParams','geometry','path','11209nRYdcj','imageDisplay','609249yPnHuM','layerDefs','calculateExtent','2724pyKyjR','geometryType','35aMzaoZ','getView','params','between','returnGeometry','run','261752wgQvXV','geojsonTypeToArcGIS','inSR','getType','9ZlOhuS','tolerance','4363ZBYlNq','valueOf','writeGeometryObject','951536wQlCtU','1032FfExpm','getSize','returnM','request'];a93_0x3b18=function(){return _0x2c3e1d;};return a93_0x3b18();}export default class Identify extends a93_0xfb7601{constructor(_0x2d13d3,_0x168e09,_0x13af35){const _0x5146f4=a93_0x3685;super(_0x2d13d3,_0x168e09,_0x13af35),this[_0x5146f4(0x106)]='identify',this['params']={'layers':'all','tolerance':0x0,'returnGeometry':!![]},this[_0x5146f4(0xf1)]=0x3,this['resolution']=0x0,this[_0x5146f4(0xfa)]=appendPath(this[_0x5146f4(0xfa)],this[_0x5146f4(0x106)]),_0x168e09&&((_0x168e09[_0x5146f4(0xea)]===!![]||_0x168e09[_0x5146f4(0xea)]===![])&&(this['params'][_0x5146f4(0xea)]=_0x168e09[_0x5146f4(0xea)]),_0x168e09[_0x5146f4(0xfc)]&&(this[_0x5146f4(0xe8)][_0x5146f4(0xfc)]=_0x168e09['layers']),_0x168e09[_0x5146f4(0x10a)]&&(this['params'][_0x5146f4(0x10a)]=_0x168e09[_0x5146f4(0x10a)]),(_0x168e09[_0x5146f4(0x103)]===!![]||_0x168e09['returnZ']===![])&&(this['params'][_0x5146f4(0x103)]=_0x168e09['returnZ']),(_0x168e09[_0x5146f4(0xf8)]===!![]||_0x168e09[_0x5146f4(0xf8)]===![])&&(this[_0x5146f4(0xe8)]['returnM']=_0x168e09['returnM']));}['at'](_0x23426d,_0x1e4473){const _0x5b02e1=a93_0x3685;let _0x517ea9,_0x1eaaa3;const _0x215f43=new a93_0x3fc223();_0x517ea9=_0x23426d,_0x1eaaa3=getEsriSpatialReference(_0x1e4473[_0x5b02e1(0xe7)]()[_0x5b02e1(0x100)]()[_0x5b02e1(0xfb)]());const _0x5b7a71=_0x1e4473[_0x5b02e1(0xf7)]();_0x5b7a71&&(this['params'][_0x5b02e1(0x108)]=[_0x5b7a71[0x0],_0x5b7a71[0x1],0x60]);this['params']['sr']=_0x1eaaa3;const _0x1c606a=_0x1e4473[_0x5b02e1(0xe7)]()[_0x5b02e1(0xe3)](_0x1e4473[_0x5b02e1(0xf7)]());this[_0x5b02e1(0xe8)][_0x5b02e1(0xfd)]={'xmin':_0x1c606a[0x0],'ymin':_0x1c606a[0x1],'xmax':_0x1c606a[0x2],'ymax':_0x1c606a[0x3],'spatialReference':_0x1eaaa3};const _0x3a2095=_0x1e4473[_0x5b02e1(0xe7)]()['getResolution'](),_0x1862de=_0x1e4473[_0x5b02e1(0xe7)]()['getCenter']();return _0x3a2095&&_0x1862de&&(this['resolution']=getPointResolution(_0x1e4473[_0x5b02e1(0xe7)]()[_0x5b02e1(0x100)](),_0x3a2095,_0x1862de)),this[_0x5b02e1(0x104)](_0x517ea9,_0x1e4473['getView']()['getProjection']()['getCode']()),this;}[a93_0x4221cd(0xe9)](_0x5d022d,_0x4bfeee){const _0x140e29=a93_0x4221cd;return this[_0x140e29(0xe8)][_0x140e29(0xff)]=[_0x5d022d[_0x140e29(0xf3)](),_0x4bfeee[_0x140e29(0xf3)]()],this;}[a93_0x4221cd(0xeb)](){const _0x509da0=a93_0x4221cd;this[_0x509da0(0xf9)]();}[a93_0x4221cd(0x104)](_0x50b0ef,_0x12160c){const _0x1e8f55=a93_0x4221cd;var _0x17d904=new a93_0x23d50a();const _0x5a2093=_0x17d904[_0x1e8f55(0xf4)](_0x50b0ef);this[_0x1e8f55(0xe8)][_0x1e8f55(0xee)]=getEsriSpatialReference(_0x12160c),this[_0x1e8f55(0xe8)][_0x1e8f55(0x105)]=_0x5a2093,this['params'][_0x1e8f55(0xe5)]=this[_0x1e8f55(0xed)](_0x50b0ef[_0x1e8f55(0xef)]());}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x33267e=a94_0x4b6a;(function(_0x55d1a7,_0x527411){const _0x512ef3=a94_0x4b6a,_0x185ad2=_0x55d1a7();while(!![]){try{const _0x158b15=parseInt(_0x512ef3(0x12e))/0x1+-parseInt(_0x512ef3(0x168))/0x2*(parseInt(_0x512ef3(0x156))/0x3)+-parseInt(_0x512ef3(0x16a))/0x4*(parseInt(_0x512ef3(0x126))/0x5)+-parseInt(_0x512ef3(0x14e))/0x6*(-parseInt(_0x512ef3(0x166))/0x7)+-parseInt(_0x512ef3(0x13b))/0x8+parseInt(_0x512ef3(0x15f))/0x9+parseInt(_0x512ef3(0x12b))/0xa;if(_0x158b15===_0x527411)break;else _0x185ad2['push'](_0x185ad2['shift']());}catch(_0x286d0d){_0x185ad2['push'](_0x185ad2['shift']());}}}(a94_0x3b91,0x32d3b));function a94_0x4b6a(_0x5a43c2,_0x698f3d){const _0x3b9135=a94_0x3b91();return a94_0x4b6a=function(_0x4b6ab4,_0xe318ff){_0x4b6ab4=_0x4b6ab4-0x120;let _0x4ad69e=_0x3b9135[_0x4b6ab4];return _0x4ad69e;},a94_0x4b6a(_0x5a43c2,_0x698f3d);}import a94_0x5c6f84 from'ol/format/EsriJSON';import a94_0x24c377 from'./Task';import{getEsriSpatialReference}from'../../EsriUtil';function a94_0x3b91(){const _0xfd6523=['returnGeometry','3101472vkYnDs','No\x20features\x20found','request','esriSpatialRelOverlaps','nearby','where','length','outSR','catch','join','_cleanParams','params','simplify','getType','run','esriSpatialRelEnvelopeIntersects','orderBy','query','_setGeometryParams','132yVkKRb','crosses','abs','readFeature','features','data','1=1','orderByFields','18MFJHNX','time','inSR','returnM','units','esriSpatialRelCrosses','contains','ids','maxAllowableOffset','375633phqjCB','code','_trapSQLerrors','/query','geometry','spatialRel','push','61670rnbhoD','getSize','110926lVmWVe','count','24coPJhi','bboxIntersects','getTime','geometryType','esriSRUnit_Meter','esriSpatialRelContains','indexIntersects','185060mrLCOr','ASC','apply','url','esriSpatialRelWithin','5534400AWtGvM','esriSpatialRelIntersects','returnExtentOnly','361724RvtHNb','touches','returnZ','esriSpatialRelTouches','layer','esriSpatialRelIndexIntersects','writeGeometryObject','forEach','path','returnIdsOnly','status','valueOf'];a94_0x3b91=function(){return _0xfd6523;};return a94_0x3b91();}import{appendPath}from'../../UrlUtil';export default class Query extends a94_0x24c377{constructor(_0x1df5ac,_0x578595,_0x547355){const _0x3b965c=a94_0x4b6a;super(_0x1df5ac,_0x578595,_0x547355),this[_0x3b965c(0x136)]=_0x3b965c(0x14c),this[_0x3b965c(0x146)]={'returnGeometry':!![],'where':_0x3b965c(0x154),'outFields':'*','returnZ':![],'returnM':![],'t':new Date()[_0x3b965c(0x121)]()},this[_0x3b965c(0x129)]=appendPath(this[_0x3b965c(0x129)],this[_0x3b965c(0x136)]),_0x578595&&((_0x578595[_0x3b965c(0x13a)]===!![]||_0x578595[_0x3b965c(0x13a)]===![])&&(this[_0x3b965c(0x146)][_0x3b965c(0x13a)]=_0x578595[_0x3b965c(0x13a)]),_0x578595['where']&&(this[_0x3b965c(0x146)][_0x3b965c(0x140)]=_0x578595[_0x3b965c(0x140)]),_0x578595['outSR']&&(this[_0x3b965c(0x146)][_0x3b965c(0x142)]=getEsriSpatialReference(_0x578595[_0x3b965c(0x142)])),(_0x578595['returnZ']===!![]||_0x578595[_0x3b965c(0x130)]===![])&&(this[_0x3b965c(0x146)]['returnZ']=_0x578595[_0x3b965c(0x130)]),(_0x578595['returnM']===!![]||_0x578595[_0x3b965c(0x159)]===![])&&(this[_0x3b965c(0x146)][_0x3b965c(0x159)]=_0x578595[_0x3b965c(0x159)]));}['within'](_0x2a5540,_0x118863){const _0x5deb60=a94_0x4b6a;return this[_0x5deb60(0x14d)](_0x2a5540,_0x118863),this[_0x5deb60(0x146)]['spatialRel']=_0x5deb60(0x124),this;}['intersects'](_0x4a4745,_0x2a7ac0){const _0xf0ab2=a94_0x4b6a;return this['_setGeometryParams'](_0x4a4745,_0x2a7ac0),this[_0xf0ab2(0x146)][_0xf0ab2(0x164)]=_0xf0ab2(0x12c),this;}[a94_0x33267e(0x15c)](_0x59cf68,_0x35c0ac){const _0x1da16f=a94_0x33267e;return this[_0x1da16f(0x14d)](_0x59cf68,_0x35c0ac),this['params'][_0x1da16f(0x164)]=_0x1da16f(0x12a),this;}[a94_0x33267e(0x14f)](_0x3e78af,_0x5399d9){const _0x53d34e=a94_0x33267e;return this['_setGeometryParams'](_0x3e78af,_0x5399d9),this[_0x53d34e(0x146)][_0x53d34e(0x164)]=_0x53d34e(0x15b),this;}[a94_0x33267e(0x12f)](_0x21874c,_0x38334b){const _0x2e3344=a94_0x33267e;return this[_0x2e3344(0x14d)](_0x21874c,_0x38334b),this[_0x2e3344(0x146)][_0x2e3344(0x164)]=_0x2e3344(0x131),this;}['overlaps'](_0x57ef54,_0x1e99f9){const _0x3c696c=a94_0x33267e;return this[_0x3c696c(0x14d)](_0x57ef54,_0x1e99f9),this['params']['spatialRel']=_0x3c696c(0x13e),this;}[a94_0x33267e(0x120)](_0x508794,_0x385a5f){const _0x3a6daa=a94_0x33267e;return this[_0x3a6daa(0x14d)](_0x508794,_0x385a5f),this['params']['spatialRel']=_0x3a6daa(0x14a),this;}[a94_0x33267e(0x125)](_0x2f75f0,_0x48264a){const _0x4448cd=a94_0x33267e;return this[_0x4448cd(0x14d)](_0x2f75f0,_0x48264a),this['params'][_0x4448cd(0x164)]=_0x4448cd(0x133),this;}[a94_0x33267e(0x13f)](_0x1cceba,_0x7b2209,_0x179a13){const _0x28c3c6=a94_0x33267e;return this[_0x28c3c6(0x14d)](_0x1cceba,_0x7b2209),this[_0x28c3c6(0x146)][_0x28c3c6(0x164)]=_0x28c3c6(0x12c),this[_0x28c3c6(0x146)][_0x28c3c6(0x15a)]=_0x28c3c6(0x123),this[_0x28c3c6(0x146)]['distance']=_0x179a13,this;}['where'](_0x2b8565){const _0x44074b=a94_0x33267e;return this[_0x44074b(0x146)][_0x44074b(0x140)]=_0x2b8565,this;}['between'](_0x212097,_0x51ae5b){const _0x2bbea9=a94_0x33267e;return this[_0x2bbea9(0x146)][_0x2bbea9(0x157)]=[_0x212097[_0x2bbea9(0x139)](),_0x51ae5b[_0x2bbea9(0x139)]()],this;}[a94_0x33267e(0x147)](_0x143db4,_0x19a74d){const _0x473058=a94_0x33267e,_0x81ae19=_0x143db4['getExtent']();var _0x3acb34=Math[_0x473058(0x150)](_0x81ae19[0x2]-_0x81ae19[0x0]);const _0x568beb=_0x143db4[_0x473058(0x167)]();if(_0x568beb)return this[_0x473058(0x146)][_0x473058(0x15e)]=_0x3acb34/_0x568beb[0x1]*_0x19a74d,this;}[a94_0x33267e(0x14b)](_0x10105e,_0x8af6c7){const _0x5087b0=a94_0x33267e;return _0x8af6c7=_0x8af6c7||_0x5087b0(0x127),this[_0x5087b0(0x146)][_0x5087b0(0x155)]=this[_0x5087b0(0x146)][_0x5087b0(0x155)]?this['params'][_0x5087b0(0x155)]+',':'',this['params'][_0x5087b0(0x155)]+=[_0x10105e,_0x8af6c7][_0x5087b0(0x144)]('\x20'),this;}async[a94_0x33267e(0x149)](){const _0x222198=a94_0x33267e;this[_0x222198(0x145)]();const _0x3f2857=await this[_0x222198(0x13d)]()[_0x222198(0x143)](_0x1ea962=>{throw new Error(_0x1ea962);});if(_0x3f2857[_0x222198(0x138)]!==0xc8)throw new Error(_0x222198(0x13c));if(_0x3f2857[_0x222198(0x153)]&&_0x3f2857[_0x222198(0x153)][_0x222198(0x152)]&&_0x3f2857[_0x222198(0x153)][_0x222198(0x152)][_0x222198(0x141)]>0x0){var _0x284ba4=new a94_0x5c6f84();let _0x3f45c5=[];return _0x3f2857['data'][_0x222198(0x152)][_0x222198(0x135)](_0x23cc8f=>{const _0x18e323=_0x222198,_0x5e2ec8=_0x284ba4[_0x18e323(0x151)](_0x23cc8f);_0x3f45c5[_0x18e323(0x165)](_0x5e2ec8);}),_0x3f45c5;}return[];}[a94_0x33267e(0x169)](){const _0x383689=a94_0x33267e;this[_0x383689(0x145)](),this[_0x383689(0x146)]['returnCountOnly']=!![],this[_0x383689(0x13d)]();}[a94_0x33267e(0x15d)](){const _0x311054=a94_0x33267e;this[_0x311054(0x145)](),this[_0x311054(0x146)][_0x311054(0x137)]=!![],this[_0x311054(0x13d)]();}['distinct'](){const _0x179346=a94_0x33267e;return this[_0x179346(0x146)][_0x179346(0x13a)]=![],this['params']['returnDistinctValues']=!![],this;}[a94_0x33267e(0x132)](_0x589e9d){const _0x1eeda2=a94_0x33267e;return this[_0x1eeda2(0x136)]=_0x589e9d+_0x1eeda2(0x162),this;}[a94_0x33267e(0x161)](_0x27283a){const _0x298736=a94_0x33267e;_0x27283a&&(_0x27283a[_0x298736(0x160)]==='400'&&console['warn'][_0x298736(0x128)]('one\x20common\x20syntax\x20error\x20in\x20query\x20requests\x20is\x20encasing\x20string\x20values\x20in\x20double\x20quotes\x20instead\x20of\x20single\x20quotes'));}[a94_0x33267e(0x145)](){const _0x513088=a94_0x33267e;delete this[_0x513088(0x146)][_0x513088(0x137)],delete this[_0x513088(0x146)][_0x513088(0x12d)],delete this[_0x513088(0x146)]['returnCountOnly'];}[a94_0x33267e(0x14d)](_0x15c7ea,_0xff9d3e){const _0x3de1bc=a94_0x33267e;var _0x29e2b6=new a94_0x5c6f84();const _0x2e39cb=_0x29e2b6[_0x3de1bc(0x134)](_0x15c7ea);this[_0x3de1bc(0x146)][_0x3de1bc(0x158)]=getEsriSpatialReference(_0xff9d3e),this[_0x3de1bc(0x146)][_0x3de1bc(0x163)]=_0x2e39cb,this['params'][_0x3de1bc(0x122)]=this['geojsonTypeToArcGIS'](_0x15c7ea[_0x3de1bc(0x148)]());}}
|
package/utils/tasks/esri/Task.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a95_0x304e14=a95_0x3928;(function(_0x231de5,_0x25b015){var _0x515412=a95_0x3928,_0x1c9e34=_0x231de5();while(!![]){try{var _0x33d5a9=-parseInt(_0x515412(0x19d))/0x1*(parseInt(_0x515412(0x192))/0x2)+-parseInt(_0x515412(0x18b))/0x3*(parseInt(_0x515412(0x177))/0x4)+-parseInt(_0x515412(0x197))/0x5*(-parseInt(_0x515412(0x17d))/0x6)+-parseInt(_0x515412(0x199))/0x7+parseInt(_0x515412(0x19a))/0x8+parseInt(_0x515412(0x1a0))/0x9*(parseInt(_0x515412(0x18d))/0xa)+parseInt(_0x515412(0x193))/0xb;if(_0x33d5a9===_0x25b015)break;else _0x1c9e34['push'](_0x1c9e34['shift']());}catch(_0x5e08be){_0x1c9e34['push'](_0x1c9e34['shift']());}}}(a95_0x5563,0x7c18f));function a95_0x5563(){var _0x53c988=['MultiLineString','call','100989zzoHcD','prototype','method','valueOf','4TMKces','params','serialize','MultiPolygon','url','GET','949818IozJLj','JSONP','request','get','hasOwnProperty','join','[object\x20Object]','[object\x20Date]','length','Point','esriGeometryPolygon','format','test','post','1707027oXyFEF','esriGeometryPoint','410SfjFAj','Polygon','isArcgisOnline','returnUnformattedValues','stringify','2bWMvDc','11427053jGNrje','[object\x20Array]','esriGeometryPolyline','json','5rMbfwQ','esriGeometryMultipoint','6834163JZsfSM','7803432FWTYPf','toString','LineString','578995CcDNTN'];a95_0x5563=function(){return _0x53c988;};return a95_0x5563();}function a95_0x3928(_0xcf176,_0x56a4c4){var _0x5563cc=a95_0x5563();return a95_0x3928=function(_0x3928dc,_0x4e5439){_0x3928dc=_0x3928dc-0x177;var _0x5c6baa=_0x5563cc[_0x3928dc];return _0x5c6baa;},a95_0x3928(_0xcf176,_0x56a4c4);}import a95_0x3319e6 from'../../AxiosUtil';import{jsonp,stringify}from'../../AxiosUtil';export default class Task{constructor(_0x560aff,_0x2c62f3,_0x3b15b8){var _0x3d6b32=a95_0x3928;this[_0x3d6b32(0x17b)]=_0x560aff,this[_0x3d6b32(0x178)]=_0x2c62f3||{},this[_0x3d6b32(0x1a2)]=!_0x3b15b8?_0x3d6b32(0x17c):_0x3b15b8;}['geojsonTypeToArcGIS'](_0x35350d){var _0x559a9e=a95_0x3928,_0x2c97b2;switch(_0x35350d){case _0x559a9e(0x186):_0x2c97b2=_0x559a9e(0x18c);break;case'MultiPoint':_0x2c97b2=_0x559a9e(0x198);break;case _0x559a9e(0x19c):_0x2c97b2=_0x559a9e(0x195);break;case _0x559a9e(0x19e):_0x2c97b2=_0x559a9e(0x195);break;case _0x559a9e(0x18e):_0x2c97b2=_0x559a9e(0x187);break;case _0x559a9e(0x17a):_0x2c97b2='esriGeometryPolygon';break;}return _0x2c97b2;}[a95_0x304e14(0x18f)](_0x3ada0f){var _0x19fb9f=a95_0x304e14;return/^(?!.*utility\.arcgis\.com).*\.arcgis\.com.*FeatureServer/i[_0x19fb9f(0x189)](_0x3ada0f);}[a95_0x304e14(0x179)](_0x4b8257){var _0xa6ba33=a95_0x304e14,_0x409d52='';_0x4b8257['f']=_0x4b8257['f']||_0xa6ba33(0x196);for(var _0x22eaae in _0x4b8257){if(Object[_0xa6ba33(0x1a1)][_0xa6ba33(0x181)][_0xa6ba33(0x19f)](_0x4b8257,_0x22eaae)){var _0x33a3e8=_0x4b8257[_0x22eaae],_0x8fd0c2=Object['prototype'][_0xa6ba33(0x19b)]['call'](_0x33a3e8),_0x9579dd;_0x409d52[_0xa6ba33(0x185)]&&(_0x409d52+='&');if(_0x8fd0c2===_0xa6ba33(0x194))_0x9579dd=Object[_0xa6ba33(0x1a1)][_0xa6ba33(0x19b)][_0xa6ba33(0x19f)](_0x33a3e8[0x0])===_0xa6ba33(0x183)?JSON[_0xa6ba33(0x191)](_0x33a3e8):_0x33a3e8[_0xa6ba33(0x182)](',');else{if(_0x8fd0c2===_0xa6ba33(0x183))_0x9579dd=JSON[_0xa6ba33(0x191)](_0x33a3e8);else _0x8fd0c2===_0xa6ba33(0x184)?_0x9579dd=_0x33a3e8[_0xa6ba33(0x1a3)]():_0x9579dd=_0x33a3e8;}_0x409d52+=encodeURIComponent(_0x22eaae)+'='+encodeURIComponent(_0x9579dd);}}return _0x409d52;}[a95_0x304e14(0x188)](_0x4ba843){var _0x1a4f8b=a95_0x304e14;return this[_0x1a4f8b(0x178)][_0x1a4f8b(0x190)]=!_0x4ba843,this;}async[a95_0x304e14(0x17f)](){var _0x4f0f87=a95_0x304e14,_0x5f29fa=this[_0x4f0f87(0x179)](this['params']);const _0x3968e8=this[_0x4f0f87(0x17b)]['indexOf']('?')>-0x1?this[_0x4f0f87(0x17b)]+'&'+_0x5f29fa:this[_0x4f0f87(0x17b)]+'?'+_0x5f29fa;if(this[_0x4f0f87(0x1a2)]===_0x4f0f87(0x17c))return a95_0x3319e6[_0x4f0f87(0x180)](_0x3968e8);else{if(this['method']===_0x4f0f87(0x17e))return jsonp(_0x3968e8);else{const _0x49c865=stringify(this[_0x4f0f87(0x178)]);return a95_0x3319e6[_0x4f0f87(0x18a)](this['url'],_0x49c865);}}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a97_0x1d6ff1=a97_0x253f;(function(_0x35a30d,_0x33517c){const _0x23773a=a97_0x253f,_0x668c26=_0x35a30d();while(!![]){try{const _0x26794d=-parseInt(_0x23773a(0x15b))/0x1*(parseInt(_0x23773a(0x14b))/0x2)+-parseInt(_0x23773a(0x163))/0x3*(parseInt(_0x23773a(0x15f))/0x4)+-parseInt(_0x23773a(0x153))/0x5+-parseInt(_0x23773a(0x14e))/0x6+parseInt(_0x23773a(0x140))/0x7*(parseInt(_0x23773a(0x156))/0x8)+-parseInt(_0x23773a(0x160))/0x9+parseInt(_0x23773a(0x149))/0xa;if(_0x26794d===_0x33517c)break;else _0x668c26['push'](_0x668c26['shift']());}catch(_0x4b8017){_0x668c26['push'](_0x668c26['shift']());}}}(a97_0x3ba4,0xa915e));function a97_0x3ba4(){const _0xc61c7c=['srsName\x20is\x20required','resolution','13746xlCvoN','geoserver','executeRaster','error','readFeature','35GBypRh','geometry\x20is\x20required','features','getFeatureInfoUrl','execute','json','queryParameters','geometryName','1.1.1','22544340RyDVtj','srsName','2NsUJhk','catch','map','5938770ueoZmZ','where','POST','getCoordinates','tableName','255975imYNhn','geometry','anonymous','1789528wwGQbB','url','then','writeGetFeature','stringify','478165FAMBIl','EPSG:4326','application/json','serializeToString','236zAUaBj','8017398vxhZjM'];a97_0x3ba4=function(){return _0xc61c7c;};return a97_0x3ba4();}import{and,intersects}from'ol/format/filter';import a97_0x1c50e5 from'../../format/CQL';import a97_0xf93d56 from'ol/format/WFS';import a97_0x27c36b from'ol/format/GeoJSON';import a97_0x3d977c from'ol/source/TileWMS';function a97_0x253f(_0x4698e2,_0x2e7b26){const _0x3ba4e9=a97_0x3ba4();return a97_0x253f=function(_0x253f30,_0x343a47){_0x253f30=_0x253f30-0x13f;let _0x36a39d=_0x3ba4e9[_0x253f30];return _0x36a39d;},a97_0x253f(_0x4698e2,_0x2e7b26);}import{getGeometryCenter}from'../../GeometryUtil';export default class QueryTask{constructor(_0x2ccc7c){const _0x310cd8=a97_0x253f;this['queryParameters']={},this[_0x310cd8(0x157)]=_0x2ccc7c;}async[a97_0x1d6ff1(0x165)](_0xa3e423){const _0x15d8b9=a97_0x1d6ff1,_0x39a515=new a97_0x3d977c({'url':this[_0x15d8b9(0x157)],'params':{'LAYERS':_0xa3e423[_0x15d8b9(0x152)],'TILED':!![],'VERSION':_0x15d8b9(0x148)},'serverType':_0x15d8b9(0x164),'crossOrigin':_0x15d8b9(0x155)}),_0x283c44=_0xa3e423[_0x15d8b9(0x162)]||0.001,_0x33bedc=_0xa3e423[_0x15d8b9(0x154)];if(!_0x33bedc)throw new Error(_0x15d8b9(0x141));let _0x1c83ec=getGeometryCenter(_0x33bedc);if(!_0x1c83ec)throw new Error('geometry\x20is\x20invalid');const _0x5be211=_0x39a515[_0x15d8b9(0x143)](_0x1c83ec[_0x15d8b9(0x151)](),_0x283c44,_0x15d8b9(0x15c),{'INFO_FORMAT':_0x15d8b9(0x15d)}),_0x286dfb=await fetch(_0x5be211,{'method':_0x15d8b9(0x150)}),_0x4a78b6=await _0x286dfb[_0x15d8b9(0x145)]();let _0xf954c3=[];const _0x2cd44c=new a97_0x27c36b();return _0xf954c3=_0x4a78b6['features']['map'](_0x56179b=>{const _0x4ba361=_0x15d8b9;return _0x2cd44c[_0x4ba361(0x13f)](JSON[_0x4ba361(0x15a)](_0x56179b));}),_0xf954c3;}async[a97_0x1d6ff1(0x144)](_0x23339e){const _0x4a1844=a97_0x1d6ff1;this[_0x4a1844(0x146)]=_0x23339e||{};const _0x5097c8=this[_0x4a1844(0x146)]['geometryName']||'the_geom';let _0x28ca2e=this[_0x4a1844(0x146)][_0x4a1844(0x14f)],_0x3cb8be;_0x28ca2e&&(_0x3cb8be=new a97_0x1c50e5()['read'](_0x28ca2e));let _0x3cf884=_0x3cb8be;if(this[_0x4a1844(0x146)]['geometry']){if(!this[_0x4a1844(0x146)][_0x4a1844(0x14a)])throw new Error(_0x4a1844(0x161));const _0x4f62f9=intersects(_0x5097c8,this[_0x4a1844(0x146)][_0x4a1844(0x154)]);_0x3cf884=_0x3cb8be?and(_0x3cb8be,_0x4f62f9):_0x4f62f9;}let _0x27d3e4=new a97_0xf93d56()[_0x4a1844(0x159)]({'srsName':this[_0x4a1844(0x146)][_0x4a1844(0x14a)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters'][_0x4a1844(0x152)]],'outputFormat':_0x4a1844(0x15d),'geometryName':_0x5097c8,'filter':_0x3cf884});const _0x2abd2d=await fetch(this[_0x4a1844(0x157)],{'method':_0x4a1844(0x150),'body':new XMLSerializer()[_0x4a1844(0x15e)](_0x27d3e4)}),_0x456d28=await _0x2abd2d[_0x4a1844(0x145)]();let _0x13248c=[];const _0x469eb9=new a97_0x27c36b();return _0x13248c=_0x456d28['features'][_0x4a1844(0x14d)](_0x393b7e=>{const _0xc5aee4=_0x4a1844;return _0x469eb9[_0xc5aee4(0x13f)](JSON[_0xc5aee4(0x15a)](_0x393b7e));}),_0x13248c;}['_geoserverQuery'](){const _0x1871d6=a97_0x1d6ff1,_0x539a56=this[_0x1871d6(0x146)][_0x1871d6(0x147)]||'the_geom';let _0x4e4a52=this[_0x1871d6(0x146)][_0x1871d6(0x14f)],_0x1102ee;_0x4e4a52&&(_0x1102ee=new a97_0x1c50e5()['read'](_0x4e4a52));let _0x76aa14=_0x1102ee;if(this[_0x1871d6(0x146)][_0x1871d6(0x154)]){const _0x3d7242=intersects(_0x539a56,this['queryParameters'][_0x1871d6(0x154)]);_0x76aa14=_0x1102ee?and(_0x1102ee,_0x3d7242):_0x3d7242;}let _0x3063db=new a97_0xf93d56()[_0x1871d6(0x159)]({'srsName':this[_0x1871d6(0x146)][_0x1871d6(0x14a)],'featureNS':'','featurePrefix':'','featureTypes':[this['queryParameters']['tableName']],'outputFormat':_0x1871d6(0x15d),'geometryName':_0x539a56,'filter':_0x76aa14});return new Promise(_0x4eaa8f=>{const _0x41c197=_0x1871d6;fetch(this['url'],{'method':_0x41c197(0x150),'body':new XMLSerializer()[_0x41c197(0x15e)](_0x3063db)})[_0x41c197(0x158)](_0x178394=>{const _0x2dcaef=_0x41c197;return _0x178394[_0x2dcaef(0x145)]();})[_0x41c197(0x158)](_0x37d0e0=>{const _0x5d9fd5=_0x41c197;let _0x56a6d1=[];const _0x4f2fd7=new a97_0x27c36b();_0x56a6d1=_0x37d0e0[_0x5d9fd5(0x142)][_0x5d9fd5(0x14d)](_0x2f4aa0=>{const _0x3ceb95=_0x5d9fd5;return _0x4f2fd7[_0x3ceb95(0x13f)](JSON[_0x3ceb95(0x15a)](_0x2f4aa0));}),_0x4eaa8f(_0x56a6d1);})[_0x41c197(0x14c)](_0x34de13=>{const _0x1e0cff=_0x41c197;_0x4eaa8f([]),console[_0x1e0cff(0x166)](_0x34de13);});});}}
|
package/utils/tasks/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a98_0x2e78(_0x307527,_0x11c6fb){const _0x22bcda=a98_0x22bc();return a98_0x2e78=function(_0x2e78ac,_0xe8f0dc){_0x2e78ac=_0x2e78ac-0x69;let _0x447b07=_0x22bcda[_0x2e78ac];return _0x447b07;},a98_0x2e78(_0x307527,_0x11c6fb);}(function(_0x489dbf,_0x38b61e){const _0x4c4fc8=a98_0x2e78,_0x2bbb1d=_0x489dbf();while(!![]){try{const _0x4d6ffa=parseInt(_0x4c4fc8(0x80))/0x1*(parseInt(_0x4c4fc8(0x7c))/0x2)+-parseInt(_0x4c4fc8(0x75))/0x3*(-parseInt(_0x4c4fc8(0x78))/0x4)+-parseInt(_0x4c4fc8(0x82))/0x5*(-parseInt(_0x4c4fc8(0x72))/0x6)+-parseInt(_0x4c4fc8(0x79))/0x7*(-parseInt(_0x4c4fc8(0x77))/0x8)+-parseInt(_0x4c4fc8(0x6a))/0x9*(-parseInt(_0x4c4fc8(0x84))/0xa)+-parseInt(_0x4c4fc8(0x7a))/0xb*(-parseInt(_0x4c4fc8(0x70))/0xc)+-parseInt(_0x4c4fc8(0x69))/0xd*(parseInt(_0x4c4fc8(0x81))/0xe);if(_0x4d6ffa===_0x38b61e)break;else _0x2bbb1d['push'](_0x2bbb1d['shift']());}catch(_0x33ab0b){_0x2bbb1d['push'](_0x2bbb1d['shift']());}}}(a98_0x22bc,0xd9e00));import{appendPath}from'../UrlUtil';import a98_0x181789 from'./esri/Query';import a98_0x2d1fbe from'./geoserver/QueryTask';import{getWFSLayerCapabilities}from'../../capabilities';function a98_0x22bc(){const _0x551380=['geoserver-wfs','geoserver-wmts','gwc/service/wmts','replace','name','5172DmtYCg','run','6nfAtoB','intersects','layerFields','15FSDrrV','find','712328MmoheS','204692ixZpqZ','133HnzueQ','25234deZrbe','geoserver-wms','2LBVSIc','executeRaster','arcgis-feature','wms','1251764qmBFrl','126TIUEmR','2845835tSIkua','fieldType','152430yFfFAX','execute','8114626xJaObQ','1035Wlampr'];a98_0x22bc=function(){return _0x551380;};return a98_0x22bc();}export async function selectFeaturesByGeo(_0xf59f43,_0x280fe6,_0x24c283,_0x4d9049,_0xb14684,_0x624562,_0x311c95){const _0x5b2033=a98_0x2e78;if(!_0x24c283||!_0x4d9049||!_0xb14684||!_0xb14684)return[];let _0x234756=[];try{if(_0xb14684=='arcgis-dynamic'||_0xb14684==_0x5b2033(0x7e)){const _0x5b2a9f=appendPath(_0x24c283,_0x4d9049),_0x56b66d=new a98_0x181789(_0x5b2a9f,{'outSR':_0x280fe6,'where':_0x624562});_0x56b66d[_0x5b2033(0x73)](_0xf59f43,_0x280fe6),_0x234756=await _0x56b66d[_0x5b2033(0x71)]();}else{if(_0xb14684==_0x5b2033(0x6b)||_0xb14684==_0x5b2033(0x7b)){const _0x14df92=new a98_0x2d1fbe(_0x24c283),_0x45ff13=await getWFSLayerCapabilities(_0x24c283,_0x4d9049);if(_0x45ff13&&_0x45ff13[_0x5b2033(0x74)]){const _0xc7b2bb=_0x45ff13[_0x5b2033(0x74)][_0x5b2033(0x76)](_0x5ef208=>_0x5ef208[_0x5b2033(0x83)]==0x6);_0x234756=await _0x14df92[_0x5b2033(0x85)]({'geometry':_0xf59f43,'tableName':_0x4d9049,'geometryName':_0xc7b2bb?_0xc7b2bb[_0x5b2033(0x6f)]:'','srsName':_0x280fe6,'where':_0x624562});}else _0x234756=await _0x14df92['executeRaster']({'geometry':_0xf59f43,'tableName':_0x4d9049,'geometryName':'','srsName':_0x280fe6,'where':_0x624562,'resolution':_0x311c95});}else{if(_0xb14684==_0x5b2033(0x6c)){_0x24c283=_0x24c283[_0x5b2033(0x6e)](_0x5b2033(0x6d),_0x5b2033(0x7f));const _0x428635=new a98_0x2d1fbe(_0x24c283),_0x180116=await getWFSLayerCapabilities(_0x24c283,_0x4d9049);if(_0x180116&&_0x180116[_0x5b2033(0x74)]){let _0x57753e=_0x180116[_0x5b2033(0x74)][_0x5b2033(0x76)](_0x3ea728=>_0x3ea728[_0x5b2033(0x83)]==0x6);_0x234756=await _0x428635[_0x5b2033(0x85)]({'geometry':_0xf59f43,'tableName':_0x4d9049,'geometryName':_0x57753e?_0x57753e[_0x5b2033(0x6f)]:'','srsName':_0x280fe6,'where':_0x624562});}else _0x234756=await _0x428635[_0x5b2033(0x7d)]({'geometry':_0xf59f43,'tableName':_0x4d9049,'geometryName':'','srsName':_0x280fe6,'where':_0x624562,'resolution':_0x311c95});}}}}catch(_0xa4ce14){}return _0x234756;}
|