text: (window["webpackJsonp"] = window["webpackJsonp"] || []).push([[2],{
  
  /***/ "./node_modules/ionicons/dist/esm-es5/ion-icon.entry.js":
  /*!**************************************************************!*\
    !*** ./node_modules/ionicons/dist/esm-es5/ion-icon.entry.js ***!
    \**************************************************************/
  /*! exports provided: ion_icon */
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
  
  "use strict";
  __webpack_require__.r(__webpack_exports__);
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ion_icon", function() { return Icon; });
  /* harmony import */ var _core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core-704d7629.js */ "./node_modules/ionicons/dist/esm-es5/core-704d7629.js");
  /* harmony import */ var _utils_de0c8065_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./utils-de0c8065.js */ "./node_modules/ionicons/dist/esm-es5/utils-de0c8065.js");
  
  
  var validateContent = function (svgContent) {
      if (svgContent) {
          var div = document.createElement('div');
          div.innerHTML = svgContent;
          // setup this way to ensure it works on our buddy IE
          for (var i = div.childNodes.length - 1; i >= 0; i--) {
              if (div.childNodes[i].nodeName.toLowerCase() !== 'svg') {
                  div.removeChild(div.childNodes[i]);
              }
          }
          // must only have 1 root element
          var svgElm = div.firstElementChild;
          if (svgElm && svgElm.nodeName.toLowerCase() === 'svg') {
              var svgClass = svgElm.getAttribute('class') || '';
              svgElm.setAttribute('class', (svgClass + ' s-ion-icon').trim());
              // root element must be an svg
              // lets double check we've got valid elements
              // do not allow scripts
              if (isValid(svgElm)) {
                  return div.innerHTML;
              }
          }
      }
      return '';
  };
  var isValid = function (elm) {
      if (elm.nodeType === 1) {
          if (elm.nodeName.toLowerCase() === 'script') {
              return false;
          }
          for (var i = 0; i < elm.attributes.length; i++) {
              var val = elm.attributes[i].value;
              if (Object(_utils_de0c8065_js__WEBPACK_IMPORTED_MODULE_1__["i"])(val) && val.toLowerCase().indexOf('on') === 0) {
                  return false;
              }
          }
          for (var i = 0; i < elm.childNodes.length; i++) {
              if (!isValid(elm.childNodes[i])) {
                  return false;
              }
          }
      }
      return true;
  };
  var ioniconContent = new Map();
  var requests = new Map();
  var getSvgContent = function (url) {
      // see if we already have a request for this url
      var req = requests.get(url);
      if (!req) {
          // we don't already have a request
          req = fetch(url).then(function (rsp) {
              if (rsp.ok) {
                  return rsp.text().then(function (svgContent) {
                      ioniconContent.set(url, validateContent(svgContent));
                  });
              }
              ioniconContent.set(url, '');
          });
          // cache for the same requests
          requests.set(url, req);
      }
      return req;
  };
  var Icon = /** @class */ (function () {
      function Icon(hostRef) {
          Object(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef);
          this.isVisible = false;
          /**
           * The mode determines which platform styles to use.
           */
          this.mode = getIonMode();
          /**
           * If enabled, ion-icon will be loaded lazily when it's visible in the viewport.
           * Default, `false`.
           */
          this.lazy = false;
      }
      Icon.prototype.connectedCallback = function () {
          var _this = this;
          // purposely do not return the promise here because loading
          // the svg file should not hold up loading the app
          // only load the svg if it's visible
          this.waitUntilVisible(this.el, '50px', function () {
              _this.isVisible = true;
              _this.loadIcon();
          });
      };
      Icon.prototype.disconnectedCallback = function () {
          if (this.io) {
              this.io.disconnect();
              this.io = undefined;
          }
      };
      Icon.prototype.waitUntilVisible = function (el, rootMargin, cb) {
          var _this = this;
          if (this.lazy && typeof window !== 'undefined' && window.IntersectionObserver) {
              var io_1 = this.io = new window.IntersectionObserver(function (data) {
                  if (data[0].isIntersecting) {
                      io_1.disconnect();
                      _this.io = undefined;
                      cb();
                  }
              }, { rootMargin: rootMargin });
              io_1.observe(el);
          }
          else {
              // browser doesn't support IntersectionObserver
              // so just fallback to always show it
              cb();
          }
      };
      Icon.prototype.loadIcon = function () {
          var _this = this;
          if (this.isVisible) {
              var url_1 = Object(_utils_de0c8065_js__WEBPACK_IMPORTED_MODULE_1__["g"])(this);
              if (url_1) {
                  if (ioniconContent.has(url_1)) {
                      // sync if it's already loaded
                      this.svgContent = ioniconContent.get(url_1);
                  }
                  else {
                      // async if it hasn't been loaded
                      getSvgContent(url_1).then(function () { return _this.svgContent = ioniconContent.get(url_1); });
                  }
              }
          }
          if (!this.ariaLabel) {
              var label = Object(_utils_de0c8065_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this.name, this.icon, this.mode, this.ios, this.md);
              // user did not provide a label
              // come up with the label based on the icon name
              if (label) {
                  this.ariaLabel = label.replace(/\-/g, ' ');
              }
          }
      };
      Icon.prototype.render = function () {
          var _a, _b;
          var mode = this.mode || 'md';
          var flipRtl = this.flipRtl || (this.ariaLabel && (this.ariaLabel.indexOf('arrow') > -1 || this.ariaLabel.indexOf('chevron') > -1) && this.flipRtl !== false);
          return (Object(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["H"], { role: "img", class: Object.assign(Object.assign((_a = {}, _a[mode] = true, _a), createColorClasses(this.color)), (_b = {}, _b["icon-" + this.size] = !!this.size, _b['flip-rtl'] = !!flipRtl && this.el.ownerDocument.dir === 'rtl', _b)) }, ((this.svgContent)
              ? Object(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", { class: "icon-inner", innerHTML: this.svgContent })
              : Object(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["h"])("div", { class: "icon-inner" }))));
      };
      Object.defineProperty(Icon, "assetsDirs", {
          get: function () { return ["svg"]; },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Icon.prototype, "el", {
          get: function () { return Object(_core_704d7629_js__WEBPACK_IMPORTED_MODULE_0__["c"])(this); },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Icon, "watchers", {
          get: function () {
              return {
                  "name": ["loadIcon"],
                  "src": ["loadIcon"],
                  "icon": ["loadIcon"]
              };
          },
          enumerable: true,
          configurable: true
      });
      Object.defineProperty(Icon, "style", {
          get: function () { return ":host{display:inline-block;width:1em;height:1em;contain:strict;fill:currentColor;-webkit-box-sizing:content-box!important;box-sizing:content-box!important}:host .ionicon{stroke:currentColor}.ionicon-fill-none{fill:none}.ionicon-stroke-width{stroke-width:32px;stroke-width:var(--ionicon-stroke-width,32px)}.icon-inner,.ionicon,svg{display:block;height:100%;width:100%}:host(.flip-rtl) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.icon-small){font-size:18px!important}:host(.icon-large){font-size:32px!important}:host(.ion-color){color:var(--ion-color-base)!important}:host(.ion-color-primary){--ion-color-base:var(--ion-color-primary,#3880ff)}:host(.ion-color-secondary){--ion-color-base:var(--ion-color-secondary,#0cd1e8)}:host(.ion-color-tertiary){--ion-color-base:var(--ion-color-tertiary,#f4a942)}:host(.ion-color-success){--ion-color-base:var(--ion-color-success,#10dc60)}:host(.ion-color-warning){--ion-color-base:var(--ion-color-warning,#ffce00)}:host(.ion-color-danger){--ion-color-base:var(--ion-color-danger,#f14141)}:host(.ion-color-light){--ion-color-base:var(--ion-color-light,#f4f5f8)}:host(.ion-color-medium){--ion-color-base:var(--ion-color-medium,#989aa2)}:host(.ion-color-dark){--ion-color-base:var(--ion-color-dark,#222428)}"; },
          enumerable: true,
          configurable: true
      });
      return Icon;
  }());
  var getIonMode = function () { return (document.documentElement.getAttribute('mode')) || 'md'; };
  var createColorClasses = function (color) {
      var _a;
      return (color) ? (_a = {
              'ion-color': true
          },
          _a["ion-color-" + color] = true,
          _a) : null;
  };
  
  
  
  /***/ })
  
  }]);