????

Your IP : 3.17.152.174


Current Path : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/
Upload File :
Current File : C:/inetpub/vhost/bcvt.kontum.gov.vn/www/21-es5.js

(function () {
  var absMids = {
    "esri/core/libs/quickselect/quickselect": "./node_modules/arcgis-js-api/core/libs/quickselect/quickselect.js",
    "esri/core/libs/rbush/rbush": "./node_modules/arcgis-js-api/core/libs/rbush/rbush.js",
    "esri/layers/graphics/data/projectionSupport": "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js",
    "esri/layers/graphics/sources/support/clientSideDefaults": "./node_modules/arcgis-js-api/layers/graphics/sources/support/clientSideDefaults.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([[21], {
  /***/
  "./node_modules/arcgis-js-api/core/libs/quickselect/quickselect.js":
  /*!*************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/quickselect/quickselect.js ***!
    \*************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsQuickselectQuickselectJs(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_AMD_DEFINE_RESULT__ = function () {
      "use strict";

      function t(t, r, f, a, i) {
        n(t, r, f || 0, a || t.length - 1, i || o);
      }

      function n(t, o, f, a, i) {
        for (; a > f;) {
          if (a - f > 600) {
            var h = a - f + 1,
                u = o - f + 1,
                e = Math.log(h),
                M = .5 * Math.exp(2 * e / 3),
                c = .5 * Math.sqrt(e * M * (h - M) / h) * (u - h / 2 < 0 ? -1 : 1);
            n(t, o, Math.max(f, Math.floor(o - u * M / h + c)), Math.min(a, Math.floor(o + (h - u) * M / h + c)), i);
          }

          var l = t[o],
              s = f,
              v = a;

          for (r(t, f, o), i(t[a], l) > 0 && r(t, f, a); s < v;) {
            for (r(t, s, v), s++, v--; i(t[s], l) < 0;) s++;

            for (; i(t[v], l) > 0;) v--;
          }

          0 === i(t[f], l) ? r(t, f, v) : (v++, r(t, v, a)), v <= o && (f = v + 1), o <= v && (a = v - 1);
        }
      }

      function r(t, n, r) {
        var o = t[n];
        t[n] = t[r], t[r] = o;
      }

      function o(t, n) {
        return t < n ? -1 : t > n ? 1 : 0;
      }

      return t;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/core/libs/rbush/rbush.js":
  /*!*************************************************************!*\
    !*** ./node_modules/arcgis-js-api/core/libs/rbush/rbush.js ***!
    \*************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiCoreLibsRbushRbushJs(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__(
    /*! ../quickselect/quickselect */
    "./node_modules/arcgis-js-api/core/libs/quickselect/quickselect.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (t) {
      "use strict";

      function i(t, n) {
        if (!(this instanceof i)) return new i(t, n);
        this._maxEntries = Math.max(4, t || 9), this._minEntries = Math.max(2, Math.ceil(.4 * this._maxEntries)), n && ("function" == typeof n ? this.toBBox = n : this._initFormat(n)), this.clear();
      }

      function n(t, i, n) {
        if (!n) return i.indexOf(t);

        for (var h = 0; h < i.length; h++) if (n(t, i[h])) return h;

        return -1;
      }

      function h(t, i) {
        a(t, 0, t.children.length, i, t);
      }

      function a(t, i, n, h, a) {
        a || (a = x(null)), a.minX = 1 / 0, a.minY = 1 / 0, a.maxX = -1 / 0, a.maxY = -1 / 0;

        for (var r, o = i; o < n; o++) r = t.children[o], e(a, t.leaf ? h(r) : r);

        return a;
      }

      function e(t, i) {
        return t.minX = Math.min(t.minX, i.minX), t.minY = Math.min(t.minY, i.minY), t.maxX = Math.max(t.maxX, i.maxX), t.maxY = Math.max(t.maxY, i.maxY), t;
      }

      function r(t, i) {
        return t.minX - i.minX;
      }

      function o(t, i) {
        return t.minY - i.minY;
      }

      function s(t) {
        return (t.maxX - t.minX) * (t.maxY - t.minY);
      }

      function l(t) {
        return t.maxX - t.minX + (t.maxY - t.minY);
      }

      function c(t, i) {
        return (Math.max(i.maxX, t.maxX) - Math.min(i.minX, t.minX)) * (Math.max(i.maxY, t.maxY) - Math.min(i.minY, t.minY));
      }

      function u(t, i) {
        var n = Math.max(t.minX, i.minX),
            h = Math.max(t.minY, i.minY),
            a = Math.min(t.maxX, i.maxX),
            e = Math.min(t.maxY, i.maxY);
        return Math.max(0, a - n) * Math.max(0, e - h);
      }

      function m(t, i) {
        return t.minX <= i.minX && t.minY <= i.minY && i.maxX <= t.maxX && i.maxY <= t.maxY;
      }

      function f(t, i) {
        return i.minX <= t.maxX && i.minY <= t.maxY && i.maxX >= t.minX && i.maxY >= t.minY;
      }

      function x(t) {
        return {
          children: t,
          height: 1,
          leaf: !0,
          minX: 1 / 0,
          minY: 1 / 0,
          maxX: -1 / 0,
          maxY: -1 / 0
        };
      }

      function d(i, n, h, a, e) {
        for (var r, o = [n, h]; o.length;) h = o.pop(), n = o.pop(), h - n <= a || (r = n + Math.ceil((h - n) / a / 2) * a, t(i, r, n, h, e), o.push(n, r, r, h));
      }

      return i.prototype = {
        all: function all() {
          return this._all(this.data, []);
        },
        search: function search(t) {
          var i = this.data,
              n = [],
              h = this.toBBox;
          if (!f(t, i)) return n;

          for (var a, e, r, o, s = []; i;) {
            for (a = 0, e = i.children.length; a < e; a++) r = i.children[a], o = i.leaf ? h(r) : r, f(t, o) && (i.leaf ? n.push(r) : m(t, o) ? this._all(r, n) : s.push(r));

            i = s.pop();
          }

          return n;
        },
        collides: function collides(t) {
          var i = this.data,
              n = this.toBBox;
          if (!f(t, i)) return !1;

          for (var h, a, e, r, o = []; i;) {
            for (h = 0, a = i.children.length; h < a; h++) if (e = i.children[h], r = i.leaf ? n(e) : e, f(t, r)) {
              if (i.leaf || m(t, r)) return !0;
              o.push(e);
            }

            i = o.pop();
          }

          return !1;
        },
        load: function load(t) {
          if (!t || !t.length) return this;

          if (t.length < this._minEntries) {
            for (var i = 0, n = t.length; i < n; i++) this.insert(t[i]);

            return this;
          }

          var h = this._build(t.slice(), 0, t.length - 1, 0);

          if (this.data.children.length) {
            if (this.data.height === h.height) this._splitRoot(this.data, h);else {
              if (this.data.height < h.height) {
                var a = this.data;
                this.data = h, h = a;
              }

              this._insert(h, this.data.height - h.height - 1, !0);
            }
          } else this.data = h;
          return this;
        },
        insert: function insert(t) {
          return t && this._insert(t, this.data.height - 1), this;
        },
        clear: function clear() {
          return this.data = x([]), this;
        },
        remove: function remove(t, i) {
          if (!t) return this;

          for (var h, a, e, r, o = this.data, s = this.toBBox(t), l = [], c = []; o || l.length;) {
            if (o || (o = l.pop(), a = l[l.length - 1], h = c.pop(), r = !0), o.leaf && -1 !== (e = n(t, o.children, i))) return o.children.splice(e, 1), l.push(o), this._condense(l), this;
            r || o.leaf || !m(o, s) ? a ? (h++, o = a.children[h], r = !1) : o = null : (l.push(o), c.push(h), h = 0, a = o, o = o.children[0]);
          }

          return this;
        },
        toBBox: function toBBox(t) {
          return t;
        },
        compareMinX: r,
        compareMinY: o,
        toJSON: function toJSON() {
          return this.data;
        },
        fromJSON: function fromJSON(t) {
          return this.data = t, this;
        },
        _all: function _all(t, i) {
          for (var n = []; t;) t.leaf ? i.push.apply(i, t.children) : n.push.apply(n, t.children), t = n.pop();

          return i;
        },
        _build: function _build(t, i, n, a) {
          var e,
              r = n - i + 1,
              o = this._maxEntries;
          if (r <= o) return e = x(t.slice(i, n + 1)), h(e, this.toBBox), e;
          a || (a = Math.ceil(Math.log(r) / Math.log(o)), o = Math.ceil(r / Math.pow(o, a - 1))), e = x([]), e.leaf = !1, e.height = a;
          var s,
              l,
              c,
              u,
              m = Math.ceil(r / o),
              f = m * Math.ceil(Math.sqrt(o));

          for (d(t, i, n, f, this.compareMinX), s = i; s <= n; s += f) for (c = Math.min(s + f - 1, n), d(t, s, c, m, this.compareMinY), l = s; l <= c; l += m) u = Math.min(l + m - 1, c), e.children.push(this._build(t, l, u, a - 1));

          return h(e, this.toBBox), e;
        },
        _chooseSubtree: function _chooseSubtree(t, i, n, h) {
          for (var a, e, r, o, l, u, m, f;;) {
            if (h.push(i), i.leaf || h.length - 1 === n) break;

            for (m = f = 1 / 0, a = 0, e = i.children.length; a < e; a++) r = i.children[a], l = s(r), u = c(t, r) - l, u < f ? (f = u, m = l < m ? l : m, o = r) : u === f && l < m && (m = l, o = r);

            i = o || i.children[0];
          }

          return i;
        },
        _insert: function _insert(t, i, n) {
          var h = this.toBBox,
              a = n ? t : h(t),
              r = [],
              o = this._chooseSubtree(a, this.data, i, r);

          for (o.children.push(t), e(o, a); i >= 0 && r[i].children.length > this._maxEntries;) this._split(r, i), i--;

          this._adjustParentBBoxes(a, r, i);
        },
        _split: function _split(t, i) {
          var n = t[i],
              a = n.children.length,
              e = this._minEntries;

          this._chooseSplitAxis(n, e, a);

          var r = this._chooseSplitIndex(n, e, a),
              o = x(n.children.splice(r, n.children.length - r));

          o.height = n.height, o.leaf = n.leaf, h(n, this.toBBox), h(o, this.toBBox), i ? t[i - 1].children.push(o) : this._splitRoot(n, o);
        },
        _splitRoot: function _splitRoot(t, i) {
          this.data = x([t, i]), this.data.height = t.height + 1, this.data.leaf = !1, h(this.data, this.toBBox);
        },
        _chooseSplitIndex: function _chooseSplitIndex(t, i, n) {
          var h, e, r, o, l, c, m, f;

          for (c = m = 1 / 0, h = i; h <= n - i; h++) e = a(t, 0, h, this.toBBox), r = a(t, h, n, this.toBBox), o = u(e, r), l = s(e) + s(r), o < c ? (c = o, f = h, m = l < m ? l : m) : o === c && l < m && (m = l, f = h);

          return f;
        },
        _chooseSplitAxis: function _chooseSplitAxis(t, i, n) {
          var h = t.leaf ? this.compareMinX : r,
              a = t.leaf ? this.compareMinY : o;
          this._allDistMargin(t, i, n, h) < this._allDistMargin(t, i, n, a) && t.children.sort(h);
        },
        _allDistMargin: function _allDistMargin(t, i, n, h) {
          t.children.sort(h);
          var r,
              o,
              s = this.toBBox,
              c = a(t, 0, i, s),
              u = a(t, n - i, n, s),
              m = l(c) + l(u);

          for (r = i; r < n - i; r++) o = t.children[r], e(c, t.leaf ? s(o) : o), m += l(c);

          for (r = n - i - 1; r >= i; r--) o = t.children[r], e(u, t.leaf ? s(o) : o), m += l(u);

          return m;
        },
        _adjustParentBBoxes: function _adjustParentBBoxes(t, i, n) {
          for (var h = n; h >= 0; h--) e(i[h], t);
        },
        _condense: function _condense(t) {
          for (var i, n = t.length - 1; n >= 0; n--) 0 === t[n].children.length ? n > 0 ? (i = t[n - 1].children, i.splice(i.indexOf(t[n]), 1)) : this.clear() : h(t[n], this.toBBox);
        },
        _initFormat: function _initFormat(t) {
          var i = ["return a", " - b", ";"];
          this.compareMinX = new Function("a", "b", i.join(t[0])), this.compareMinY = new Function("a", "b", i.join(t[1])), this.toBBox = new Function("a", "return {minX: a" + t[0] + ", minY: a" + t[1] + ", maxX: a" + t[2] + ", maxY: a" + t[3] + "};");
        }
      }, i;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js":
  /*!******************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/graphics/data/projectionSupport.js ***!
    \******************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsDataProjectionSupportJs(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/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/Error */
    "./node_modules/arcgis-js-api/core/Error.js"), __webpack_require__(
    /*! ../../../core/promiseUtils */
    "./node_modules/arcgis-js-api/core/promiseUtils.js"), __webpack_require__(
    /*! ../../../geometry/projection */
    "./node_modules/arcgis-js-api/geometry/projection.js"), __webpack_require__(
    /*! ../../../geometry/support/spatialReferenceUtils */
    "./node_modules/arcgis-js-api/geometry/support/spatialReferenceUtils.js"), __webpack_require__(
    /*! ../../../geometry/support/webMercatorUtils */
    "./node_modules/arcgis-js-api/geometry/support/webMercatorUtils.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, r, t, n, i, o, s, a, u) {
      function p(e, r) {
        var t, n, i;
        if (!r) return null;

        if ("x" in r) {
          var o = {
            x: 0,
            y: 0
          };
          return t = e(r.x, r.y, y), o.x = t[0], o.y = t[1], null != r.z && (o.z = r.z), null != r.m && (o.m = r.m), o;
        }

        if ("xmin" in r) {
          var o = {
            xmin: 0,
            ymin: 0,
            xmax: 0,
            ymax: 0
          };
          return n = e(r.xmin, r.ymin, y), o.xmin = n[0], o.ymin = n[1], i = e(r.xmax, r.ymax, y), o.xmax = i[0], o.ymax = i[1], r.hasZ && (o.zmin = r.zmin, o.zmax = r.zmax, o.hasZ = !0), r.hasM && (o.mmin = r.mmin, o.mmax = r.mmax, o.hasM = !0), o;
        }

        return "rings" in r ? {
          rings: c(r.rings, e),
          hasM: r.hasM,
          hasZ: r.hasZ
        } : "paths" in r ? {
          paths: c(r.paths, e),
          hasM: r.hasM,
          hasZ: r.hasZ
        } : "points" in r ? {
          points: l(r.points, e),
          hasM: r.hasM,
          hasZ: r.hasZ
        } : void 0;
      }

      function c(e, r) {
        for (var t = [], n = 0, i = e; n < i.length; n++) {
          var o = i[n];
          t.push(l(o, r));
        }

        return t;
      }

      function l(e, r) {
        for (var t = [], n = 0, i = e; n < i.length; n++) {
          var o = i[n],
              s = r(o[0], o[1], [0, 0]);
          t.push(s), o.length > 2 && s.push(o[2]), o.length > 3 && s.push(o[3]);
        }

        return t;
      }

      function h(e, r) {
        return !m(e, r) || s.isSupported();
      }

      function f(e, r) {
        return n(this, void 0, void 0, function () {
          var n, o, a;
          return t(this, function (t) {
            if (!r) return [2];

            if (Array.isArray(e)) {
              for (n = 0, o = e; n < o.length; n++) if (a = o[n], m(a.geometry && a.geometry.spatialReference, r)) {
                if (s.isSupported()) return [2, s.load()];
                throw new i(x, "projection not supported", {
                  inSpatialReference: e,
                  outSpatialReference: r
                });
              }

              return [2];
            }

            if (!m(e, r)) return [2];
            if (s.isSupported()) return [2, s.load()];
            throw new i(x, "projection not supported", {
              inSpatialReference: e,
              outSpatialReference: r
            });
          });
        });
      }

      function m(e, r) {
        return !(!a.isValid(e) || !a.isValid(r) || a.equals(e, r) || u.canProject(e, r));
      }

      function d(e, r, t) {
        return e ? (t || (t = r, r = e.spatialReference), a.isValid(r) && a.isValid(t) && !a.equals(r, t) ? u.canProject(r, t) ? a.isWebMercator(t) ? g(e) : j(e) : s.projectMany([e], r, t, null, !0)[0] : e) : e;
      }

      function v(e, r, i) {
        return n(this, void 0, void 0, function () {
          return t(this, function (t) {
            return [2, M.push(e, r, i)];
          });
        });
      }

      Object.defineProperty(r, "__esModule", {
        value: !0
      });
      var x = "feature-store:unsupported-query",
          y = [0, 0];
      r.doesBrowserSupportProjection = h, r.checkProjectionSupport = f;
      var g = p.bind(null, u.lngLatToXY),
          j = p.bind(null, u.xyToLngLat);
      r.project = d;

      var _ = function () {
        function e() {
          this._jobs = [], this._timer = null, this._process = this._process.bind(this);
        }

        return e.prototype.push = function (e, r, i) {
          return n(this, void 0, void 0, function () {
            var n,
                s = this;
            return t(this, function (t) {
              return e && e.length && r && i && !a.equals(r, i) || o.resolve(e), n = {
                geometries: e,
                inSpatialReference: r,
                outSpatialReference: i,
                resolve: null
              }, this._jobs.push(n), [2, o.create(function (e) {
                n.resolve = e, null === s._timer && (s._timer = setTimeout(s._process, 10));
              }, function () {
                var e = s._jobs.indexOf(n);

                e > -1 && s._jobs.splice(e, 1);
              })];
            });
          });
        }, e.prototype._process = function () {
          this._timer = null;

          var e = this._jobs.shift();

          if (e) {
            var r = e.geometries,
                t = e.inSpatialReference,
                n = e.outSpatialReference,
                i = e.resolve;
            i(u.canProject(t, n) ? a.isWebMercator(n) ? r.map(g) : r.map(j) : s.projectMany(r, t, n, null, !0)), this._jobs.length > 0 && (this._timer = setTimeout(this._process, 10));
          }
        }, e;
      }(),
          M = new _();

      r.projectMany = v;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  },

  /***/
  "./node_modules/arcgis-js-api/layers/graphics/sources/support/clientSideDefaults.js":
  /*!******************************************************************************************!*\
    !*** ./node_modules/arcgis-js-api/layers/graphics/sources/support/clientSideDefaults.js ***!
    \******************************************************************************************/

  /*! no static exports found */

  /***/
  function node_modulesArcgisJsApiLayersGraphicsSourcesSupportClientSideDefaultsJs(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/assignHelper */
    "./node_modules/arcgis-js-api/core/tsSupport/assignHelper.js"), __webpack_require__(
    /*! ../../../../core/has */
    "./node_modules/arcgis-js-api/core/has.js"), __webpack_require__(
    /*! ../../../../core/lang */
    "./node_modules/arcgis-js-api/core/lang.js"), __webpack_require__(
    /*! ../../../../symbols/support/defaultsJSON */
    "./node_modules/arcgis-js-api/symbols/support/defaultsJSON.js")], __WEBPACK_AMD_DEFINE_RESULT__ = function (e, t, r, n, o, i) {
      function u(e) {
        return {
          renderer: {
            type: "simple",
            symbol: "esriGeometryPoint" === e || "esriGeometryMultipoint" === e ? i.defaultPointSymbolJSON : "esriGeometryPolyline" === e ? i.defaultPolylineSymbolJSON : i.defaultPolygonSymbolJSON
          }
        };
      }

      function l(e, t) {
        if (n("csp-restrictions")) return function () {
          var n;
          return r((n = {}, n[t] = null, n), e);
        };

        try {
          var o = "this." + t + " = null;";

          for (var i in e) o += "this." + i + " = " + JSON.stringify(e[i]) + ";";

          var u = new Function(o);
          return function () {
            return new u();
          };
        } catch (n) {
          return function () {
            var n;
            return r((n = {}, n[t] = null, n), e);
          };
        }
      }

      function a(e) {
        return void 0 === e && (e = {}), [{
          name: "New Feature",
          description: "",
          prototype: {
            attributes: o.clone(e)
          }
        }];
      }

      Object.defineProperty(t, "__esModule", {
        value: !0
      }), t.createDrawingInfo = u, t.createDefaultAttributesFunction = l, t.createDefaultTemplate = a;
    }.apply(null, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
    /***/
  }
}]);
//# sourceMappingURL=21-es5.js.map