????
Your IP : 3.145.36.46
(function(){
var absMids = {
"esri/core/nls/Units":"./node_modules/arcgis-js-api/core/nls/Units.js",
"esri/core/nls/vi/Units":"./node_modules/arcgis-js-api/core/nls/vi/Units.js",
"esri/core/unitFormatUtils":"./node_modules/arcgis-js-api/core/unitFormatUtils.js",
"esri/views/interactive/InteractiveToolBase":"./node_modules/arcgis-js-api/views/interactive/InteractiveToolBase.js",
"esri/views/interactive/ManipulatorCollection":"./node_modules/arcgis-js-api/views/interactive/ManipulatorCollection.js",
"esri/widgets/support/InteractiveToolViewModel":"./node_modules/arcgis-js-api/widgets/support/InteractiveToolViewModel.js",
"dojo/i18n!esri/core/nls/Units":"./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/core/nls/Units.js"
};
var globalObj = this||window;
var jsonpArray = globalObj["webpackJsonp"] = globalObj["webpackJsonp"] || [];
if (jsonpArray.registerAbsMids) {
jsonpArray.registerAbsMids(absMids);
} else {
var absMidsWaiting = jsonpArray.absMidsWaiting = jsonpArray.absMidsWaiting || [];
absMidsWaiting.push(absMids);
}
})(),(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[14],{
/***/ "./node_modules/arcgis-js-api/core/nls/Units.js":
/*!******************************************************!*\
!*** ./node_modules/arcgis-js-api/core/nls/Units.js ***!
\******************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
/*
* This module was modified by dojo-webpack-plugin to disable some locales
* that were excluded by the plugin's 'locales' option
*/
!(module.exports = {'root':({'measures':({'length':'Length','area':'Area','volume':'Volume','angle':'Angle'}),'units':({'millimeters':({'singular':'millimeter','plural':'millimeters','abbr':'mm'}),'centimeters':({'singular':'centimeter','plural':'centimeters','abbr':'cm'}),'decimeters':({'singular':'decimeter','plural':'decimeters','abbr':'dm'}),'meters':({'singular':'meter','plural':'meters','abbr':'m'}),'kilometers':({'singular':'kilometer','plural':'kilometers','abbr':'km'}),'inches':({'singular':'inch','plural':'inches','abbr':'in'}),'feet':({'singular':'foot','plural':'feet','abbr':'ft'}),'yards':({'singular':'yard','plural':'yards','abbr':'yd'}),'miles':({'singular':'mile','plural':'miles','abbr':'mi'}),'nautical-miles':({'singular':'nautical mile','plural':'nautical miles','abbr':'nm'}),'us-feet':({'singular':'foot (US)','plural':'feet (US)','abbr':'ft'}),'square-millimeters':({'singular':'square millimeter','plural':'square millimeters','abbr':'mm²'}),'square-centimeters':({'singular':'square centimeter','plural':'square centimeters','abbr':'cm²'}),'square-decimeters':({'singular':'square decimeter','plural':'square decimeters','abbr':'dm²'}),'square-meters':({'singular':'square meter','plural':'square meters','abbr':'m²'}),'square-kilometers':({'singular':'square kilometer','plural':'square kilometers','abbr':'km²'}),'square-inches':({'singular':'square inch','plural':'square inches','abbr':'in²'}),'square-feet':({'singular':'square foot','plural':'square feet','abbr':'ft²'}),'square-yards':({'singular':'square yard','plural':'square yards','abbr':'yd²'}),'square-miles':({'singular':'square mile','plural':'square miles','abbr':'mi²'}),'square-us-feet':({'singular':'square foot (US)','plural':'square feet (US)','abbr':'ft²'}),'acres':({'singular':'acre','plural':'acres','abbr':'acre'}),'ares':({'singular':'are','plural':'ares','abbr':'a'}),'hectares':({'singular':'hectare','plural':'hectares','abbr':'ha'}),'liters':({'singular':'liter','plural':'liters','abbr':'l'}),'cubic-millimeters':({'singular':'cubic millimeter','plural':'cubic millimeters','abbr':'mm³'}),'cubic-centimeters':({'singular':'cubic centimeter','plural':'cubic centimeters','abbr':'cm³'}),'cubic-decimeters':({'singular':'cubic decimeter','plural':'cubic decimeters','abbr':'dm³'}),'cubic-meters':({'singular':'cubic meter','plural':'cubic meters','abbr':'m³'}),'cubic-kilometers':({'singular':'cubic kilometer','plural':'cubic kilometers','abbr':'km³'}),'cubic-inches':({'singular':'cubic inch','plural':'cubic inches','abbr':'in³'}),'cubic-feet':({'singular':'cubic foot','plural':'cubic feet','abbr':'ft³'}),'cubic-yards':({'singular':'cubic yard','plural':'cubic yards','abbr':'yd³'}),'cubic-miles':({'singular':'cubic mile','plural':'cubic miles','abbr':'mi³'}),'radians':({'singular':'radian','plural':'radians','abbr':''}),'degrees':({'singular':'degree','plural':'degrees','abbr':'°'})})}),'ar':false,'bs':false,'cs':false,'da':false,'de':false,'el':false,'es':false,'et':false,'fi':false,'fr':false,'he':false,'hr':false,'id':false,'it':false,'ja':false,'ko':false,'lv':false,'lt':false,'nl':false,'nb':false,'pl':false,'pt-br':false,'pt-pt':false,'ro':false,'ru':false,'sr':false,'sv':false,'th':false,'tr':false,'uk':false,'vi':1,'zh-cn':false,'zh-hk':false,'zh-tw':false})
/***/ }),
/***/ "./node_modules/arcgis-js-api/core/nls/vi/Units.js":
/*!*********************************************************!*\
!*** ./node_modules/arcgis-js-api/core/nls/vi/Units.js ***!
\*********************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.
!(module.exports = {measures:{length:"Độ dài",area:"Khu vực",volume:"Ổ đĩa",angle:"Góc"},units:{millimeters:{singular:"milimét",plural:"milimét",abbr:"mm"},centimeters:{singular:"xentimét",plural:"xentimét",abbr:"cm"},decimeters:{singular:"đềximét",plural:"đề-xi-mét",abbr:"dm"},meters:{singular:"mét",plural:"mét",abbr:"m"},kilometers:{singular:"Kilômét",plural:"ki-lô-mét",abbr:"km"},inches:{singular:"inch",plural:"inch",abbr:"trong"},feet:{singular:"foot",plural:"feet",abbr:"ft"},yards:{singular:"thước",plural:"thước",abbr:"yd"},miles:{singular:"dặm",plural:"dặm",abbr:"mi"},"nautical-miles":{singular:"hải lý",plural:"hải lý",abbr:"nm"},"us-feet":{singular:"foot (Mỹ)",plural:"feet (Mỹ)",abbr:"ft"},"square-millimeters":{singular:"millimét vuông",plural:"millimét vuông",abbr:"mm²"},"square-centimeters":{singular:"xentimét vuông",plural:"xentimét vuông",abbr:"cm²"},"square-decimeters":{singular:"đềximét vuông",plural:"đềximét vuông",abbr:"dm²"},"square-meters":{singular:"mét vuông",plural:"mét vuông",abbr:"m²"},"square-kilometers":{singular:"kilômét vuông",plural:"kilômét vuông",abbr:"km²"},"square-inches":{singular:"inch vuông",plural:"Inch vuông",abbr:"in²"},"square-feet":{singular:"foot vuông",plural:"feet vuông",abbr:"ft²"},"square-yards":{singular:"thước vuông",plural:"thước vuông",abbr:"yd²"},"square-miles":{singular:"dặm vuông",plural:"dặm vuông",abbr:"mi²"},"square-us-feet":{singular:"foot vuông (Mỹ)",plural:"feet vuông (Mỹ)",abbr:"ft²"},acres:{singular:"mẫu Anh",plural:"acre",abbr:"mẫu Anh"},ares:{singular:"are",plural:"are",abbr:"a"},hectares:{singular:"hecta",plural:"hecta",abbr:"ha"},liters:{singular:"lít",plural:"lít",abbr:"l"},"cubic-millimeters":{singular:"millimét khối",plural:"millimét khối",abbr:"mm³"},"cubic-centimeters":{singular:"xentimét khối",plural:"xentimét khối",abbr:"cm³"},"cubic-decimeters":{singular:"đềximét khối",plural:"đềximét khối",abbr:"dm³"},"cubic-meters":{singular:"mét khối",plural:"mét khối",abbr:"m³"},"cubic-kilometers":{singular:"kilômét khối",plural:"kilômét khối",abbr:"km³"},"cubic-inches":{singular:"inch khối",plural:"inch khối",abbr:"in³"},"cubic-feet":{singular:"foot khối",plural:"feet khối",abbr:"ft³"},"cubic-yards":{singular:"thước khối",plural:"thước khối",abbr:"yd³"},"cubic-miles":{singular:"dặm khối",plural:"dặm khối",abbr:"mi³"},radians:{singular:"radian",plural:"radian",abbr:""},degrees:{singular:"độ",plural:"độ",abbr:"°"}}});
/***/ }),
/***/ "./node_modules/arcgis-js-api/core/unitFormatUtils.js":
/*!************************************************************!*\
!*** ./node_modules/arcgis-js-api/core/unitFormatUtils.js ***!
\************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! dojo/i18n!./nls/Units */ "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/core/nls/Units.js"),__webpack_require__(/*! ./unitUtils */ "./node_modules/arcgis-js-api/core/unitUtils.js"),__webpack_require__(/*! ../intl/number */ "./node_modules/arcgis-js-api/intl/number.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(r,e,t,i,n){function o(r,e){return t.units[r][e]}function a(r,e,t,i){return void 0===t&&(t=2),void 0===i&&(i="abbr"),n.formatNumber(r,{minimumFractionDigits:t,maximumFractionDigits:t})+" "+o(e,i)}function c(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredMetricLengthUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function v(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredMetricVerticalLengthUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function d(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredImperialLengthUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function f(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredImperialVerticalLengthUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function u(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredMetricAreaUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function m(r,e,t,n){void 0===t&&(t=2),void 0===n&&(n="abbr");var o=i.preferredImperialAreaUnit(r,e);return a(i.convertUnit(r,e,o),o,t,n)}function l(r,e,t){void 0===t&&(t=2);var n=i.convertUnit(r,e,"degrees"),o=n-Math.floor(n);n-=o,o*=60;var a=o-Math.floor(o);return o-=a,a*=60,n.toFixed()+"° "+o.toFixed()+"' "+a.toFixed(t)+'"'}Object.defineProperty(e,"__esModule",{value:!0}),e.unitName=o,e.formatDecimal=a,e.formatMetricLength=c,e.formatMetricVerticalLength=v,e.formatImperialLength=d,e.formatImperialVerticalLength=f,e.formatMetricArea=u,e.formatImperialArea=m,e.formatDMS=l}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ }),
/***/ "./node_modules/arcgis-js-api/views/interactive/InteractiveToolBase.js":
/*!*****************************************************************************!*\
!*** ./node_modules/arcgis-js-api/views/interactive/InteractiveToolBase.js ***!
\*****************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"),__webpack_require__(/*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../core/Accessor */ "./node_modules/arcgis-js-api/core/Accessor.js"),__webpack_require__(/*! ../../core/Handles */ "./node_modules/arcgis-js-api/core/Handles.js"),__webpack_require__(/*! ../../core/has */ "./node_modules/arcgis-js-api/core/has.js"),__webpack_require__(/*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"),__webpack_require__(/*! ../../core/scheduling */ "./node_modules/arcgis-js-api/core/scheduling.js"),__webpack_require__(/*! ../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"),__webpack_require__(/*! ./interactiveToolUtils */ "./node_modules/arcgis-js-api/views/interactive/interactiveToolUtils.js"),__webpack_require__(/*! ./ManipulatorCollection */ "./node_modules/arcgis-js-api/views/interactive/ManipulatorCollection.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(t,e,o,i,r,n,a,s,p,l,c,h){Object.defineProperty(e,"__esModule",{value:!0});var u=function(t){function e(e){var o=t.call(this,e)||this;return o.attached=!1,o.created=!1,o.completed=!1,o.manipulators=new h.ManipulatorCollection,o.deferCreation=!1,o._editableFlags=new Array,o._manipulatorHandles=new n,o._creationResolver=s.createResolver(),o}return o(e,t),Object.defineProperty(e.prototype,"active",{get:function(){return null!=this.view&&this.view.activeTool===this},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSupported",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"visible",{set:function(t){this._set("visible",t),t||c.setActive(this,!1),this.attached&&(t?this._show():this._hide())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"editable",{get:function(){return this.hasEditableFlag(0)},set:function(t){this.setEditableFlag(0,t)},enumerable:!0,configurable:!0}),e.prototype.attach=function(){!this.attached&&this.isSupported&&(this.manipulators.attach(),this.onAttach(),this.visible&&this.onShow(),this._set("attached",!0))},e.prototype.detach=function(){this.attached&&(this.onHide(),this.onDetach(),this.manipulators.detach(),this._manipulatorHandles.removeAll(),this._set("attached",!1))},e.prototype.handleInputEvent=function(t){this.attached&&this.onInputEvent(t)},e.prototype.destroy=function(){this.manipulators.destroy(),this._manipulatorHandles&&(this._manipulatorHandles.destroy(),this._manipulatorHandles=null),this._set("view",null)},e.prototype.setEditableFlag=function(t,e){this._editableFlags[t]=e,this.manipulators.isToolEditable=this._editableFlags.every(function(t){return null==t||t}),this._updateManipulatorAttachment(),0===t&&this.notifyChange("editable"),this.onEditableChange()},e.prototype.hasEditableFlag=function(t){var e=this._editableFlags[t];return null==e||e},e.prototype.when=function(){return this._creationResolver.promise},e.prototype.rejectCreation=function(t){this._creationResolver.reject(t)},e.prototype.initialize=function(){this.deferCreation||this.complete()},e.prototype.onAttach=function(){},e.prototype.onDetach=function(){},e.prototype.onShow=function(){},e.prototype.onHide=function(){},e.prototype.onEditableChange=function(){},e.prototype.onInputEvent=function(t){},Object.defineProperty(e.prototype,"internallyEditable",{get:function(){return this.hasEditableFlag(0)&&this.hasEditableFlag(1)},enumerable:!0,configurable:!0}),e.prototype.create=function(){var t=this;this.created||(this._set("created",!0),a("esri-native-promise")?this._creationResolver(this):p.schedule(function(){return t._creationResolver(t)}))},e.prototype.complete=function(){this.create(),this._set("completed",!0)},e.prototype._show=function(){this._updateManipulatorAttachment(),this.onShow()},e.prototype._hide=function(){this._updateManipulatorAttachment(),this.onHide()},e.prototype._updateManipulatorAttachment=function(){this.attached&&this.visible?this.manipulators.attach():this.manipulators.detach()},i([l.property({constructOnly:!0})],e.prototype,"view",void 0),i([l.property({dependsOn:["view.activeTool"],readOnly:!0})],e.prototype,"active",null),i([l.property({value:!0})],e.prototype,"visible",null),i([l.property({value:!0})],e.prototype,"editable",null),i([l.property({readOnly:!0})],e.prototype,"attached",void 0),i([l.property({readOnly:!0})],e.prototype,"created",void 0),i([l.property({readOnly:!0})],e.prototype,"completed",void 0),i([l.property({readOnly:!0})],e.prototype,"manipulators",void 0),i([l.property({constructOnly:!0})],e.prototype,"deferCreation",void 0),e=i([l.subclass("esri.views.interactive.InteractiveToolBase")],e)}(l.declared(r));e.InteractiveToolBase=u}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ }),
/***/ "./node_modules/arcgis-js-api/views/interactive/ManipulatorCollection.js":
/*!*******************************************************************************!*\
!*** ./node_modules/arcgis-js-api/views/interactive/ManipulatorCollection.js ***!
\*******************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../core/Collection */ "./node_modules/arcgis-js-api/core/Collection.js"),__webpack_require__(/*! ../../core/maybe */ "./node_modules/arcgis-js-api/core/maybe.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(t,i,a,e,r){Object.defineProperty(i,"__esModule",{value:!0});var o=function(){function t(){this._isToolEditable=!0,this._manipulators=new e,this._nextManipulatorId=0,this._resourceContexts={manipulator3D:{}},this._attached=!1}return Object.defineProperty(t.prototype,"isToolEditable",{set:function(t){this._isToolEditable=t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"length",{get:function(){return this._manipulators.length},enumerable:!0,configurable:!0}),t.prototype.add=function(t,i){return void 0===i&&(i=0),this.addMany([t],i)[0]},t.prototype.addMany=function(t,i){var a=this;return void 0===i&&(i=0),t.map(function(t){var e=a._nextManipulatorId++,r={id:e,manipulator:t,visibilityPredicate:i,attached:!1};return a._manipulators.add(r),a._attached&&a._updateManipulatorAttachment(r),e})},t.prototype.remove=function(t){if("number"==typeof t){for(var i=t,a=0;a<this._manipulators.length;a++)if(this._manipulators.getItemAt(a).id===i){var e=this._manipulators.splice(a,1)[0];return this._detachManipulator(e),e.id}return null}for(var r=t,a=0;a<this._manipulators.length;a++)if(this._manipulators.getItemAt(a).manipulator===r){var e=this._manipulators.splice(a,1)[0];return this._detachManipulator(e),e.id}return null},t.prototype.removeAll=function(){var t=this;this._manipulators.forEach(function(i){t._detachManipulator(i)}),this._manipulators.removeAll()},t.prototype.attach=function(){var t=this;this._manipulators.forEach(function(i){t._updateManipulatorAttachment(i)}),this._attached=!0},t.prototype.detach=function(){var t=this;this._manipulators.forEach(function(i){t._detachManipulator(i)}),this._attached=!1},t.prototype.destroy=function(){this._manipulators.forEach(function(t){var i=t.manipulator;i.destroy&&i.destroy()}),this._manipulators.destroy(),this._resourceContexts=null},t.prototype.on=function(t,i){return this._manipulators.on(t,function(t){i(t)})},t.prototype.forEach=function(t){for(var i=0,a=this._manipulators.items;i<a.length;i++){t(a[i])}},t.prototype.intersect=function(t,i){var a=null,e=Number.MAX_VALUE;return this._manipulators.forEach(function(o){var n=o.id,u=o.manipulator;if(o.attached&&u.interactive){var s=u.intersectionDistance(t,i);r.isSome(s)&&s<e&&(e=s,a=n)}}),a},t.prototype.findById=function(t){if(r.isNone(t))return null;for(var i=0,a=this._manipulators.items;i<a.length;i++){var e=a[i];if(t===e.id)return e.manipulator}return null},t.prototype._updateManipulatorAttachment=function(t){this._isManipulatorItemVisible(t)?this._attachManipulator(t):this._detachManipulator(t)},t.prototype._attachManipulator=function(t){t.attached||(t.manipulator.attach(this._resourceContexts),t.attached=!0)},t.prototype._detachManipulator=function(t){if(t.attached){var i=t.manipulator;i.grabbing=!1,i.dragging=!1,i.hovering=!1,i.selected=!1,i.detach(this._resourceContexts),t.attached=!1}},t.prototype._isManipulatorItemVisible=function(t){return 2===t.visibilityPredicate||(this._isToolEditable?0===t.visibilityPredicate:1===t.visibilityPredicate)},t}();i.ManipulatorCollection=o}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ }),
/***/ "./node_modules/arcgis-js-api/widgets/support/InteractiveToolViewModel.js":
/*!********************************************************************************!*\
!*** ./node_modules/arcgis-js-api/widgets/support/InteractiveToolViewModel.js ***!
\********************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;// COPYRIGHT © 2019 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
//
// This material is licensed for use under the Esri Master License
// Agreement (MLA), and is bound by the terms of that agreement.
// You may redistribute and use this code without modification,
// provided you adhere to the terms of the MLA and include this
// copyright notice.
//
// See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
//
// For additional information, contact:
// Environmental Systems Research Institute, Inc.
// Attn: Contracts and Legal Services Department
// 380 New York Street
// Redlands, California, USA 92373
// USA
//
// email: contracts@esri.com
//
// See http://js.arcgis.com/4.14/esri/copyright.txt for details.
!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__.dj.c(module.i),exports,__webpack_require__(/*! ../../core/tsSupport/declareExtendsHelper */ "./node_modules/arcgis-js-api/core/tsSupport/declareExtendsHelper.js"),__webpack_require__(/*! ../../core/tsSupport/decorateHelper */ "./node_modules/arcgis-js-api/core/tsSupport/decorateHelper.js"),__webpack_require__(/*! ../../core/tsSupport/assignHelper */ "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"),__webpack_require__(/*! ../../core/tsSupport/generatorHelper */ "./node_modules/arcgis-js-api/core/tsSupport/generatorHelper.js"),__webpack_require__(/*! ../../core/tsSupport/awaiterHelper */ "./node_modules/arcgis-js-api/core/tsSupport/awaiterHelper.js"),__webpack_require__(/*! ../../core/Accessor */ "./node_modules/arcgis-js-api/core/Accessor.js"),__webpack_require__(/*! ../../core/Error */ "./node_modules/arcgis-js-api/core/Error.js"),__webpack_require__(/*! ../../core/Handles */ "./node_modules/arcgis-js-api/core/Handles.js"),__webpack_require__(/*! ../../core/promiseUtils */ "./node_modules/arcgis-js-api/core/promiseUtils.js"),__webpack_require__(/*! ../../core/watchUtils */ "./node_modules/arcgis-js-api/core/watchUtils.js"),__webpack_require__(/*! ../../core/accessorSupport/decorators */ "./node_modules/arcgis-js-api/core/accessorSupport/decorators.js"),__webpack_require__(/*! ../../views/interactive/interactiveToolUtils */ "./node_modules/arcgis-js-api/views/interactive/interactiveToolUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = (function(e,t,o,r,i,n,l,s,p,a,c,u,d,v){Object.defineProperty(t,"__esModule",{value:!0});var h=function(e){function t(t){var o=e.call(this)||this;return o.tool=null,o._baseHandles=new a,o._loggedUnsupportedErrorOnce=!1,o._creationAbortController=null,t&&null!=t.visible&&(o.visible=t.visible),o}return o(t,e),t.prototype.initialize=function(){var e=this;this._baseHandles.add(u.init(this,["view.ready","isSupported"],function(){e.view&&e.view.ready&&!e.isSupported?e._loggedUnsupportedErrorOnce||(e.logUnsupportedError(),e._loggedUnsupportedErrorOnce=!0):e._loggedUnsupportedErrorOnce=!1}))},t.prototype.destroy=function(){this.removeTool(),this.view=null,this._baseHandles.destroy(),this._baseHandles=null},Object.defineProperty(t.prototype,"isSupported",{get:function(){return!this.view||this.view.type===this.supportedViewType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"view",{get:function(){return this._get("view")},set:function(e){var t=this;if(e!==this.view){this.removeTool(),this._set("view",e);this._baseHandles.remove("tools"),e&&this._baseHandles.add(e.tools.on("change",function(e){if(t.tool)for(var o=0,r=e.removed;o<r.length;o++){var i=r[o];if(t.tool===i){i.destroyed||i.destroy(),t._set("tool",null);break}}}),"tools")}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"visible",{set:function(e){this._set("visible",e),this.tool&&(this.tool.visible=e),!e&&this._creationAbortController&&(this._creationAbortController.abort(),this._creationAbortController=null)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"active",{get:function(){return null!=this._creationAbortController||null!=this.tool&&this.tool.active},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isDisabled",{get:function(){return!this.view||!this.view.ready||!this.isSupported},enumerable:!0,configurable:!0}),t.prototype.createTool=function(){return l(this,void 0,void 0,function(){var e,t,o,r,l,s,a,u=this;return n(this,function(n){switch(n.label){case 0:if(this.removeTool(),!this.isSupported)return[2,c.reject(new p("tool:create","The view does not support the tool"))];e=this.createToolParams(),t=function(){var t=v.evaluateToolConstructorArguments(e.constructorArguments);return i({visible:u.visible},t)},o=new AbortController,r=o.signal,this._creationAbortController=o,l=function(){o===u._creationAbortController&&(u._creationAbortController=null)},n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.view.createTool(e.toolConstructor,t,{signal:r})];case 2:return s=n.sent(),this._set("tool",s),l(),[3,4];case 3:throw a=n.sent(),l(),a;case 4:return[2]}})})},t.prototype.removeTool=function(){this._creationAbortController&&this._creationAbortController.abort(),this._creationAbortController=null;var e=this.tool;e&&(this.view&&this.view.tools&&this.view.tools.remove(e),e.destroyed||e.destroy(),this._set("tool",null))},r([d.property({constructOnly:!0})],t.prototype,"tool",void 0),r([d.property({dependsOn:["view.type"]})],t.prototype,"isSupported",null),r([d.property({value:null})],t.prototype,"view",null),r([d.property({type:Boolean,value:!0})],t.prototype,"visible",null),r([d.property({dependsOn:["_creationAbortController","tool.active"]})],t.prototype,"active",null),r([d.property({dependsOn:["view","view.ready","isSupported"]})],t.prototype,"isDisabled",null),r([d.property()],t.prototype,"_creationAbortController",void 0),t=r([d.subclass("esri.widgets.support.InteractiveToolViewModel")],t)}(d.declared(s));t.InteractiveToolViewModel=h}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ }),
/***/ "./node_modules/dojo-webpack-plugin/loaders/dojo/i18n/index.js!./node_modules/arcgis-js-api/core/nls/Units.js":
/*!***********************************************************************************************************!*\
!*** ./node_modules/dojo-webpack-plugin/loaders/dojo/i18n!./node_modules/arcgis-js-api/core/nls/Units.js ***!
\***********************************************************************************************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {
var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;!(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__(/*! dojo/i18n */ "./node_modules/dojo/i18n.js"), __webpack_require__(/*! ./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js */ "./node_modules/dojo-webpack-plugin/loaders/dojo/runner.js")
,__webpack_require__(/*! esri/core/nls/vi/Units */ "./node_modules/arcgis-js-api/core/nls/vi/Units.js")
,__webpack_require__(/*! ./node_modules/arcgis-js-api/core/nls/Units.js?absMid=esri/core/nls/Units */ "./node_modules/arcgis-js-api/core/nls/Units.js")
], __WEBPACK_AMD_DEFINE_RESULT__ = (function(loader, runner) {
return runner(loader, "esri/core/nls/Units", __webpack_require__.dj.c(), false);
}).apply(null, __WEBPACK_AMD_DEFINE_ARRAY__),
__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
/***/ })
}]);
//# sourceMappingURL=14-es2015.js.map