????
Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/ |
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/90-es2015.js.map |
{"version":3,"sources":["./node_modules/arcgis-js-api/layers/graphics/data/FeatureFilter.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,iCAAO,CAAC,kCAAS,CAAC,OAAS,CAAC,gIAAuC,CAAC,8HAAsC,CAAC,oIAAyC,CAAC,4FAAqB,CAAC,4GAA6B,CAAC,8FAAsB,CAAC,4FAAqB,CAAC,0GAA4B,CAAC,sIAA0C,CAAC,gIAAuC,CAAC,sHAAoB,CAAC,0JAAsC,CAAC,4HAAuB,CAAC,4GAAe,CAAC,gGAAS,CAAC,8GAA8B,CAAC,mCAAC,8CAA8C,sCAAsC,SAAS,EAAE,kGAAkG,cAAc,WAAW,oFAAoF,yDAAyD,uCAAuC,qBAAqB,iDAAiD,eAAe,kBAAkB,+BAA+B,+BAA+B,gCAAgC,sBAAsB,gBAAgB,mCAAmC,WAAW,2CAA2C,2BAA2B,EAAE,qCAAqC,gBAAgB,WAAW,KAAK,WAAW,+BAA+B,iCAAiC,gDAAgD,kDAAkD,gDAAgD,kEAAkE,GAAG,eAAe,oCAAoC,8EAA8E,mBAAmB,yDAAyD,EAAE,kCAAkC,uCAAuC,MAAM,0BAA0B,gBAAgB,8EAA8E,yIAAyI,4BAA4B,EAAE,EAAE,6CAA6C,+DAA+D,8DAA8D,mCAAmC,KAAK,0HAA0H,WAAW,mBAAmB,sCAAsC,oKAAoK,4CAA4C,uCAAuC,UAAU,0BAA0B,gBAAgB,yNAAyN,mIAAmI,EAAE,EAAE,wCAAwC,4DAA4D,gCAAgC,6IAA6I,uBAAuB,iJAAiJ,sCAAsC,0GAA0G,6CAA6C,+CAA+C,qCAAqC,gHAAgH,2CAA2C,6FAA6F,uCAAuC,2DAA2D,8CAA8C,oKAAoK,2CAA2C,gBAAgB,kDAAkD,4CAA4C,IAAI,GAAG,GAAG,YAAY;AAAA,oGAAC,C","file":"90-es2015.js","sourcesContent":["// COPYRIGHT © 2019 Esri\n//\n// All rights reserved under the copyright laws of the United States\n// and applicable international laws, treaties, and conventions.\n//\n// This material is licensed for use under the Esri Master License\n// Agreement (MLA), and is bound by the terms of that agreement.\n// You may redistribute and use this code without modification,\n// provided you adhere to the terms of the MLA and include this\n// copyright notice.\n//\n// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english\n//\n// For additional information, contact:\n// Environmental Systems Research Institute, Inc.\n// Attn: Contracts and Legal Services Department\n// 380 New York Street\n// Redlands, California, USA 92373\n// USA\n//\n// email: contracts@esri.com\n//\n// See http://js.arcgis.com/4.14/esri/copyright.txt for details.\n\ndefine([\"require\",\"exports\",\"../../../core/tsSupport/awaiterHelper\",\"../../../core/tsSupport/assignHelper\",\"../../../core/tsSupport/generatorHelper\",\"../../../core/Error\",\"../../../core/iteratorUtils\",\"../../../core/Logger\",\"../../../core/maybe\",\"../../../core/promiseUtils\",\"../../../geometry/support/aaBoundingRect\",\"../../../geometry/support/boundsUtils\",\"./attributeSupport\",\"./optimizedFeatureQueryEngineAdapter\",\"./spatialQuerySupport\",\"./timeSupport\",\"./utils\",\"../../../tasks/support/Query\"],function(e,t,i,r,o,s,n,a,l,u,p,h,d,c,y,f,_,m){Object.defineProperty(t,\"__esModule\",{value:!0});var g=a.getLogger(\"esri.views.2d.layers.features.controllers.FeatureFilter\"),b=1,v=2,I=function(){function e(e){var t=this;this._geometryBounds=p.create(),this._idToVisibility=new Map,this.check=function(e){var i=e.objectId,r=t._idToVisibility,o=t._applyFilter(e);return r.set(i,o?b|v:v),!!(r.get(i)&b)},this._serviceInfo=e}return Object.defineProperty(e.prototype,\"hash\",{get:function(){return this._hash},enumerable:!0,configurable:!0}),e.prototype.clear=function(){var e=this._resetAllHiddenIds();return this.update(),{show:e,hide:[]}},e.prototype.invalidate=function(){var e=this;this._idToVisibility.forEach(function(t,i){e._idToVisibility.set(i,0)})},e.prototype.setKnownIds=function(e){for(var t=0,i=e;t<i.length;t++){var r=i[t];this._idToVisibility.set(r,b)}},e.prototype.setTrue=function(e){var t=this,i=[],r=[],o=n.createSetFromValues(e);return this._idToVisibility.forEach(function(e,s){var n=!!(t._idToVisibility.get(s)&b),a=o.has(s);!n&&a?i.push(s):n&&!a&&r.push(s),t._idToVisibility.set(s,a?b|v:0)}),{show:i,hide:r}},e.prototype.createQuery=function(){var e=this,t=e.geometry,i=e.spatialRel,r=e.where,o=e.timeExtent,s=e.objectIds;return m.fromJSON({geometry:t,spatialRel:i,where:r,timeExtent:o,objectIds:s})},e.prototype.update=function(e,t){return i(this,void 0,void 0,function(){var i;return o(this,function(r){switch(r.label){case 0:return this._hash=JSON.stringify(e),[4,_.normalizeQueryLike(e,null,t)];case 1:return i=r.sent(),[4,u.all([this._setGeometryFilter(i),this._setIdFilter(i),this._setAttributeFilter(i),this._setTimeFilter(i)])];case 2:return r.sent(),[2]}})})},e.prototype._setAttributeFilter=function(e){if(!e||!e.where)return this._clause=null,void(this.where=null);var t=d.getWhereClause(e.where,this._serviceInfo.fieldsIndex);if(t.isStandardized)this._clause=t;else{var i=new s(\"mapview - bad input\",\"Unable to apply filter's definition expression, as expression is not standardized.\",t);g.error(i)}this.where=e.where},e.prototype._setIdFilter=function(e){this._idsToShow=e&&e.objectIds&&n.createSetFromValues(e.objectIds),this._idsToHide=e&&e.hiddenIds&&n.createSetFromValues(e.hiddenIds),this.objectIds=e&&e.objectIds},e.prototype._setGeometryFilter=function(e){return i(this,void 0,void 0,function(){var t,i,r;return o(this,function(o){switch(o.label){case 0:return e&&e.geometry?(t=e.geometry,i=e.spatialRel||\"esriSpatialRelIntersects\",[4,y.getSpatialQueryOperator(i,t,this._serviceInfo)]):(this._spatialQueryOperator=null,this.geometry=null,this.spatialRel=null,[2]);case 1:return r=o.sent(),h.getBoundsXY(this._geometryBounds,t),this._spatialQueryOperator=r,this.geometry=t,this.spatialRel=i,[2]}})})},e.prototype._setTimeFilter=function(e){if(this.timeExtent=this._timeOperator=null,e&&e.timeExtent){if(!this._serviceInfo.timeInfo){var t=new s(\"feature-layer-view:time-filter-not-available\",\"Unable to apply time filter, as layer doesn't have time metadata.\",e.timeExtent);return void g.error(t)}this.timeExtent=e.timeExtent,this._timeOperator=f.getTimeOperator(this._serviceInfo.timeInfo,e.timeExtent,c.optimizedFeatureQueryEngineAdapter)}},e.prototype._applyFilter=function(e){return this._filterByGeometry(e)&&this._filterById(e)&&this._filterByTime(e)&&this._filterByExpression(e)},e.prototype._filterByExpression=function(e){return!this.where||this._clause.testFeature(e)},e.prototype._filterById=function(e){return(!this._idsToHide||!this._idsToHide.has(e.objectId))&&(!this._idsToShow||this._idsToShow.has(e.objectId))},e.prototype._filterByGeometry=function(e){return!this.geometry||!!this._earlyGeometryReject(e)&&this._spatialQueryOperator(e.geometry)},e.prototype._filterByTime=function(e){return!l.isSome(this._timeOperator)||this._timeOperator(e)},e.prototype._earlyGeometryReject=function(e){return!(!e.geometry||!e.geometry.coords.length)&&(!e.centroid||\"esriSpatialRelContains\"!==this.spatialRel||p.containsPoint(this._geometryBounds,e.centroid.coords))},e.prototype._resetAllHiddenIds=function(){var e=this,t=[];return this._idToVisibility.forEach(function(i,r){i&b||(e._idToVisibility.set(r,b),t.push(r))}),t},e}();t.default=I});"],"sourceRoot":"webpack:///"}