{"ast":null,"code":"import { k as getAssetPath, r as registerInstance, e as createEvent, h, H as Host, i as getElement } from \"./index-7a8b7a1c.js\";\nimport { b as getIonMode$1 } from \"./ionic-global-63a97a32.js\";\nimport { k as hasShadowDom, i as inheritAttributes } from \"./helpers-dd7e4b7b.js\";\nimport { o as openURL, c as createColorClasses$1, h as hostContext } from \"./theme-ff3fc52f.js\";\nvar CACHED_MAP;\n\nvar getIconMap = function () {\n  if (typeof window === \"undefined\") {\n    return new Map();\n  } else {\n    if (!CACHED_MAP) {\n      var o = window;\n      o.Ionicons = o.Ionicons || {};\n      CACHED_MAP = o.Ionicons.map = o.Ionicons.map || new Map();\n    }\n\n    return CACHED_MAP;\n  }\n};\n\nvar getUrl = function (o) {\n  var t = getSrc(o.src);\n\n  if (t) {\n    return t;\n  }\n\n  t = getName(o.name, o.icon, o.mode, o.ios, o.md);\n\n  if (t) {\n    return getNamedUrl(t);\n  }\n\n  if (o.icon) {\n    t = getSrc(o.icon);\n\n    if (t) {\n      return t;\n    }\n\n    t = getSrc(o.icon[o.mode]);\n\n    if (t) {\n      return t;\n    }\n  }\n\n  return null;\n};\n\nvar getNamedUrl = function (o) {\n  var t = getIconMap().get(o);\n\n  if (t) {\n    return t;\n  }\n\n  return getAssetPath(\"svg/\" + o + \".svg\");\n};\n\nvar getName = function (o, t, n, r, i) {\n  n = (n && toLower(n)) === \"ios\" ? \"ios\" : \"md\";\n\n  if (r && n === \"ios\") {\n    o = toLower(r);\n  } else if (i && n === \"md\") {\n    o = toLower(i);\n  } else {\n    if (!o && t && !isSrc(t)) {\n      o = t;\n    }\n\n    if (isStr(o)) {\n      o = toLower(o);\n    }\n  }\n\n  if (!isStr(o) || o.trim() === \"\") {\n    return null;\n  }\n\n  var e = o.replace(/[a-z]|-|\\d/gi, \"\");\n\n  if (e !== \"\") {\n    return null;\n  }\n\n  return o;\n};\n\nvar getSrc = function (o) {\n  if (isStr(o)) {\n    o = o.trim();\n\n    if (isSrc(o)) {\n      return o;\n    }\n  }\n\n  return null;\n};\n\nvar isSrc = function (o) {\n  return o.length > 0 && /(\\/|\\.)/.test(o);\n};\n\nvar isStr = function (o) {\n  return typeof o === \"string\";\n};\n\nvar toLower = function (o) {\n  return o.toLowerCase();\n};\n\nvar buttonIosCss = ':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}';\nvar buttonMdCss = ':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\\n                background-color 15ms linear,\\n                color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';\n\nvar Button = function () {\n  function o(o) {\n    var t = this;\n    registerInstance(this, o);\n    this.ionFocus = createEvent(this, \"ionFocus\", 7);\n    this.ionBlur = createEvent(this, \"ionBlur\", 7);\n    this.inItem = false;\n    this.inListHeader = false;\n    this.inToolbar = false;\n    this.inheritedAttributes = {};\n    this.buttonType = \"button\";\n    this.disabled = false;\n    this.routerDirection = \"forward\";\n    this.strong = false;\n    this.type = \"button\";\n\n    this.handleClick = function (o) {\n      if (t.type === \"button\") {\n        openURL(t.href, o, t.routerDirection, t.routerAnimation);\n      } else if (hasShadowDom(t.el)) {\n        var n = t.el.closest(\"form\");\n\n        if (n) {\n          o.preventDefault();\n          var r = document.createElement(\"button\");\n          r.type = t.type;\n          r.style.display = \"none\";\n          n.appendChild(r);\n          r.click();\n          r.remove();\n        }\n      }\n    };\n\n    this.onFocus = function () {\n      t.ionFocus.emit();\n    };\n\n    this.onBlur = function () {\n      t.ionBlur.emit();\n    };\n  }\n\n  o.prototype.componentWillLoad = function () {\n    this.inToolbar = !!this.el.closest(\"ion-buttons\");\n    this.inListHeader = !!this.el.closest(\"ion-list-header\");\n    this.inItem = !!this.el.closest(\"ion-item\") || !!this.el.closest(\"ion-item-divider\");\n    this.inheritedAttributes = inheritAttributes(this.el, [\"aria-label\"]);\n  };\n\n  Object.defineProperty(o.prototype, \"hasIconOnly\", {\n    get: function () {\n      return !!this.el.querySelector('[slot=\"icon-only\"]');\n    },\n    enumerable: false,\n    configurable: true\n  });\n  Object.defineProperty(o.prototype, \"rippleType\", {\n    get: function () {\n      var o = this.fill === undefined || this.fill === \"clear\";\n\n      if (o && this.hasIconOnly && this.inToolbar) {\n        return \"unbounded\";\n      }\n\n      return \"bounded\";\n    },\n    enumerable: false,\n    configurable: true\n  });\n\n  o.prototype.render = function () {\n    var o;\n    var t = getIonMode$1(this);\n    var n = this,\n        r = n.buttonType,\n        i = n.type,\n        e = n.disabled,\n        a = n.rel,\n        s = n.target,\n        l = n.size,\n        c = n.href,\n        d = n.color,\n        u = n.expand,\n        b = n.hasIconOnly,\n        g = n.shape,\n        p = n.strong,\n        f = n.inheritedAttributes;\n    var v = l === undefined && this.inItem ? \"small\" : l;\n    var m = c === undefined ? \"button\" : \"a\";\n    var k = m === \"button\" ? {\n      type: i\n    } : {\n      download: this.download,\n      href: c,\n      rel: a,\n      target: s\n    };\n    var w = this.fill;\n\n    if (w === undefined) {\n      w = this.inToolbar || this.inListHeader ? \"clear\" : \"solid\";\n    }\n\n    return h(Host, {\n      onClick: this.handleClick,\n      \"aria-disabled\": e ? \"true\" : null,\n      class: createColorClasses$1(d, (o = {}, o[t] = true, o[r] = true, o[r + \"-\" + u] = u !== undefined, o[r + \"-\" + v] = v !== undefined, o[r + \"-\" + g] = g !== undefined, o[r + \"-\" + w] = true, o[r + \"-strong\"] = p, o[\"in-toolbar\"] = hostContext(\"ion-toolbar\", this.el), o[\"in-toolbar-color\"] = hostContext(\"ion-toolbar[color]\", this.el), o[\"button-has-icon-only\"] = b, o[\"button-disabled\"] = e, o[\"ion-activatable\"] = true, o[\"ion-focusable\"] = true, o))\n    }, h(m, Object.assign({}, k, {\n      class: \"button-native\",\n      part: \"native\",\n      disabled: e,\n      onFocus: this.onFocus,\n      onBlur: this.onBlur\n    }, f), h(\"span\", {\n      class: \"button-inner\"\n    }, h(\"slot\", {\n      name: \"icon-only\"\n    }), h(\"slot\", {\n      name: \"start\"\n    }), h(\"slot\", null), h(\"slot\", {\n      name: \"end\"\n    })), t === \"md\" && h(\"ion-ripple-effect\", {\n      type: this.rippleType\n    })));\n  };\n\n  Object.defineProperty(o.prototype, \"el\", {\n    get: function () {\n      return getElement(this);\n    },\n    enumerable: false,\n    configurable: true\n  });\n  return o;\n}();\n\nButton.style = {\n  ios: buttonIosCss,\n  md: buttonMdCss\n};\n\nvar validateContent = function (o) {\n  var t = document.createElement(\"div\");\n  t.innerHTML = o;\n\n  for (var n = t.childNodes.length - 1; n >= 0; n--) {\n    if (t.childNodes[n].nodeName.toLowerCase() !== \"svg\") {\n      t.removeChild(t.childNodes[n]);\n    }\n  }\n\n  var r = t.firstElementChild;\n\n  if (r && r.nodeName.toLowerCase() === \"svg\") {\n    var i = r.getAttribute(\"class\") || \"\";\n    r.setAttribute(\"class\", (i + \" s-ion-icon\").trim());\n\n    if (isValid(r)) {\n      return t.innerHTML;\n    }\n  }\n\n  return \"\";\n};\n\nvar isValid = function (o) {\n  if (o.nodeType === 1) {\n    if (o.nodeName.toLowerCase() === \"script\") {\n      return false;\n    }\n\n    for (var t = 0; t < o.attributes.length; t++) {\n      var n = o.attributes[t].value;\n\n      if (isStr(n) && n.toLowerCase().indexOf(\"on\") === 0) {\n        return false;\n      }\n    }\n\n    for (var t = 0; t < o.childNodes.length; t++) {\n      if (!isValid(o.childNodes[t])) {\n        return false;\n      }\n    }\n  }\n\n  return true;\n};\n\nvar ioniconContent = new Map();\nvar requests = new Map();\n\nvar getSvgContent = function (o, t) {\n  var n = requests.get(o);\n\n  if (!n) {\n    if (typeof fetch !== \"undefined\" && typeof document !== \"undefined\") {\n      n = fetch(o).then(function (n) {\n        if (n.ok) {\n          return n.text().then(function (n) {\n            if (n && t !== false) {\n              n = validateContent(n);\n            }\n\n            ioniconContent.set(o, n || \"\");\n          });\n        }\n\n        ioniconContent.set(o, \"\");\n      });\n      requests.set(o, n);\n    } else {\n      ioniconContent.set(o, \"\");\n      return Promise.resolve();\n    }\n  }\n\n  return n;\n};\n\nvar iconCss = \":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)}\";\n\nvar Icon = function () {\n  function o(o) {\n    registerInstance(this, o);\n    this.iconName = null;\n    this.isVisible = false;\n    this.mode = getIonMode();\n    this.lazy = false;\n    this.sanitize = true;\n  }\n\n  o.prototype.connectedCallback = function () {\n    var o = this;\n    this.waitUntilVisible(this.el, \"50px\", function () {\n      o.isVisible = true;\n      o.loadIcon();\n    });\n  };\n\n  o.prototype.disconnectedCallback = function () {\n    if (this.io) {\n      this.io.disconnect();\n      this.io = undefined;\n    }\n  };\n\n  o.prototype.waitUntilVisible = function (o, t, n) {\n    var r = this;\n\n    if (this.lazy && typeof window !== \"undefined\" && window.IntersectionObserver) {\n      var i = this.io = new window.IntersectionObserver(function (o) {\n        if (o[0].isIntersecting) {\n          i.disconnect();\n          r.io = undefined;\n          n();\n        }\n      }, {\n        rootMargin: t\n      });\n      i.observe(o);\n    } else {\n      n();\n    }\n  };\n\n  o.prototype.loadIcon = function () {\n    var o = this;\n\n    if (this.isVisible) {\n      var t = getUrl(this);\n\n      if (t) {\n        if (ioniconContent.has(t)) {\n          this.svgContent = ioniconContent.get(t);\n        } else {\n          getSvgContent(t, this.sanitize).then(function () {\n            return o.svgContent = ioniconContent.get(t);\n          });\n        }\n      }\n    }\n\n    var n = this.iconName = getName(this.name, this.icon, this.mode, this.ios, this.md);\n\n    if (!this.ariaLabel && this.ariaHidden !== \"true\") {\n      if (n) {\n        this.ariaLabel = n.replace(/\\-/g, \" \");\n      }\n    }\n  };\n\n  o.prototype.render = function () {\n    var o, t;\n    var n = this.iconName;\n    var r = this.mode || \"md\";\n    var i = this.flipRtl || n && (n.indexOf(\"arrow\") > -1 || n.indexOf(\"chevron\") > -1) && this.flipRtl !== false;\n    return h(Host, {\n      role: \"img\",\n      class: Object.assign(Object.assign((o = {}, o[r] = true, o), createColorClasses(this.color)), (t = {}, t[\"icon-\" + this.size] = !!this.size, t[\"flip-rtl\"] = !!i && this.el.ownerDocument.dir === \"rtl\", t))\n    }, this.svgContent ? h(\"div\", {\n      class: \"icon-inner\",\n      innerHTML: this.svgContent\n    }) : h(\"div\", {\n      class: \"icon-inner\"\n    }));\n  };\n\n  Object.defineProperty(o, \"assetsDirs\", {\n    get: function () {\n      return [\"svg\"];\n    },\n    enumerable: false,\n    configurable: true\n  });\n  Object.defineProperty(o.prototype, \"el\", {\n    get: function () {\n      return getElement(this);\n    },\n    enumerable: false,\n    configurable: true\n  });\n  Object.defineProperty(o, \"watchers\", {\n    get: function () {\n      return {\n        name: [\"loadIcon\"],\n        src: [\"loadIcon\"],\n        icon: [\"loadIcon\"]\n      };\n    },\n    enumerable: false,\n    configurable: true\n  });\n  return o;\n}();\n\nvar getIonMode = function () {\n  return typeof document !== \"undefined\" && document.documentElement.getAttribute(\"mode\") || \"md\";\n};\n\nvar createColorClasses = function (o) {\n  var t;\n  return o ? (t = {\n    \"ion-color\": true\n  }, t[\"ion-color-\" + o] = true, t) : null;\n};\n\nIcon.style = iconCss;\nexport { Button as ion_button, Icon as ion_icon };","map":{"version":3,"sources":["/Users/adekanbidansteve/github/klasha/react-klasha/ionic-test/node_modules/@ionic/core/dist/esm-es5/ion-button_2.entry.js"],"names":["k","getAssetPath","r","registerInstance","e","createEvent","h","H","Host","i","getElement","b","getIonMode$1","hasShadowDom","inheritAttributes","o","openURL","c","createColorClasses$1","hostContext","CACHED_MAP","getIconMap","window","Map","Ionicons","map","getUrl","t","getSrc","src","getName","name","icon","mode","ios","md","getNamedUrl","get","n","toLower","isSrc","isStr","trim","replace","length","test","toLowerCase","buttonIosCss","buttonMdCss","Button","ionFocus","ionBlur","inItem","inListHeader","inToolbar","inheritedAttributes","buttonType","disabled","routerDirection","strong","type","handleClick","href","routerAnimation","el","closest","preventDefault","document","createElement","style","display","appendChild","click","remove","onFocus","emit","onBlur","prototype","componentWillLoad","Object","defineProperty","querySelector","enumerable","configurable","fill","undefined","hasIconOnly","render","a","rel","s","target","l","size","d","color","u","expand","g","shape","p","f","v","m","download","w","onClick","class","assign","part","rippleType","validateContent","innerHTML","childNodes","nodeName","removeChild","firstElementChild","getAttribute","setAttribute","isValid","nodeType","attributes","value","indexOf","ioniconContent","requests","getSvgContent","fetch","then","ok","text","set","Promise","resolve","iconCss","Icon","iconName","isVisible","getIonMode","lazy","sanitize","connectedCallback","waitUntilVisible","loadIcon","disconnectedCallback","io","disconnect","IntersectionObserver","isIntersecting","rootMargin","observe","has","svgContent","ariaLabel","ariaHidden","flipRtl","role","createColorClasses","ownerDocument","dir","documentElement","ion_button","ion_icon"],"mappings":"AAAA,SAAOA,CAAC,IAAIC,YAAZ,EAAyBC,CAAC,IAAIC,gBAA9B,EAA+CC,CAAC,IAAIC,WAApD,EAAgEC,CAAhE,EAAkEC,CAAC,IAAIC,IAAvE,EAA4EC,CAAC,IAAIC,UAAjF,QAAgG,qBAAhG;AAAsH,SAAOC,CAAC,IAAIC,YAAZ,QAA6B,4BAA7B;AAA0D,SAAOZ,CAAC,IAAIa,YAAZ,EAAyBJ,CAAC,IAAIK,iBAA9B,QAAoD,uBAApD;AAA4E,SAAOC,CAAC,IAAIC,OAAZ,EAAoBC,CAAC,IAAIC,oBAAzB,EAA8CZ,CAAC,IAAIa,WAAnD,QAAmE,qBAAnE;AAAyF,IAAIC,UAAJ;;AAAe,IAAIC,UAAU,GAAC,YAAU;AAAC,MAAG,OAAOC,MAAP,KAAgB,WAAnB,EAA+B;AAAC,WAAO,IAAIC,GAAJ,EAAP;AAAe,GAA/C,MAAmD;AAAC,QAAG,CAACH,UAAJ,EAAe;AAAC,UAAIL,CAAC,GAACO,MAAN;AAAaP,MAAAA,CAAC,CAACS,QAAF,GAAWT,CAAC,CAACS,QAAF,IAAY,EAAvB;AAA0BJ,MAAAA,UAAU,GAACL,CAAC,CAACS,QAAF,CAAWC,GAAX,GAAeV,CAAC,CAACS,QAAF,CAAWC,GAAX,IAAgB,IAAIF,GAAJ,EAA1C;AAAkD;;AAAA,WAAOH,UAAP;AAAkB;AAAC,CAA1M;;AAA2M,IAAIM,MAAM,GAAC,UAASX,CAAT,EAAW;AAAC,MAAIY,CAAC,GAACC,MAAM,CAACb,CAAC,CAACc,GAAH,CAAZ;;AAAoB,MAAGF,CAAH,EAAK;AAAC,WAAOA,CAAP;AAAS;;AAAAA,EAAAA,CAAC,GAACG,OAAO,CAACf,CAAC,CAACgB,IAAH,E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wE,IAAAA,UAAU,EAAC,KAApD;AAA0DC,IAAAA,YAAY,EAAC;AAAvE,GAAvC;AAAqHJ,EAAAA,MAAM,CAACC,cAAP,CAAsBjE,CAAtB,EAAwB,UAAxB,EAAmC;AAACsB,IAAAA,GAAG,EAAC,YAAU;AAAC,aAAM;AAACN,QAAAA,IAAI,EAAC,CAAC,UAAD,CAAN;AAAmBF,QAAAA,GAAG,EAAC,CAAC,UAAD,CAAvB;AAAoCG,QAAAA,IAAI,EAAC,CAAC,UAAD;AAAzC,OAAN;AAA6D,KAA7E;AAA8EkD,IAAAA,UAAU,EAAC,KAAzF;AAA+FC,IAAAA,YAAY,EAAC;AAA5G,GAAnC;AAAsJ,SAAOpE,CAAP;AAAS,CAAj6D,EAAT;;AAA66D,IAAI2H,UAAU,GAAC,YAAU;AAAC,SAAO,OAAOvE,QAAP,KAAkB,WAAlB,IAA+BA,QAAQ,CAAC6F,eAAT,CAAyB3C,YAAzB,CAAsC,MAAtC,CAA/B,IAA8E,IAArF;AAA0F,CAApH;;AAAqH,IAAIwC,kBAAkB,GAAC,UAAS9I,CAAT,EAAW;AAAC,MAAIY,CAAJ;AAAM,SAAOZ,CAAC,IAAEY,CAAC,GAAC;AAAC,iBAAY;AAAb,GAAF,EAAqBA,CAAC,CAAC,eAAaZ,CAAd,CAAD,GAAkB,IAAvC,EAA4CY,CAA9C,IAAiD,IAAzD;AAA8D,CAAvG;;AAAwG4G,IAAI,CAAClE,KAAL,GAAWiE,OAAX;AAAmB,SAAOrF,MAAM,IAAIgH,UAAjB,EAA4B1B,IAAI,IAAI2B,QAApC","sourcesContent":["import{k as getAssetPath,r as registerInstance,e as createEvent,h,H as Host,i as getElement}from\"./index-7a8b7a1c.js\";import{b as getIonMode$1}from\"./ionic-global-63a97a32.js\";import{k as hasShadowDom,i as inheritAttributes}from\"./helpers-dd7e4b7b.js\";import{o as openURL,c as createColorClasses$1,h as hostContext}from\"./theme-ff3fc52f.js\";var CACHED_MAP;var getIconMap=function(){if(typeof window===\"undefined\"){return new Map}else{if(!CACHED_MAP){var o=window;o.Ionicons=o.Ionicons||{};CACHED_MAP=o.Ionicons.map=o.Ionicons.map||new Map}return CACHED_MAP}};var getUrl=function(o){var t=getSrc(o.src);if(t){return t}t=getName(o.name,o.icon,o.mode,o.ios,o.md);if(t){return getNamedUrl(t)}if(o.icon){t=getSrc(o.icon);if(t){return t}t=getSrc(o.icon[o.mode]);if(t){return t}}return null};var getNamedUrl=function(o){var t=getIconMap().get(o);if(t){return t}return getAssetPath(\"svg/\"+o+\".svg\")};var getName=function(o,t,n,r,i){n=(n&&toLower(n))===\"ios\"?\"ios\":\"md\";if(r&&n===\"ios\"){o=toLower(r)}else if(i&&n===\"md\"){o=toLower(i)}else{if(!o&&t&&!isSrc(t)){o=t}if(isStr(o)){o=toLower(o)}}if(!isStr(o)||o.trim()===\"\"){return null}var e=o.replace(/[a-z]|-|\\d/gi,\"\");if(e!==\"\"){return null}return o};var getSrc=function(o){if(isStr(o)){o=o.trim();if(isSrc(o)){return o}}return null};var isSrc=function(o){return o.length>0&&/(\\/|\\.)/.test(o)};var isStr=function(o){return typeof o===\"string\"};var toLower=function(o){return o.toLowerCase()};var buttonIosCss=':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:10px;--padding-top:0;--padding-bottom:0;--padding-start:1em;--padding-end:1em;--transition:background-color, opacity 100ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:2.8em;font-size:16px;font-weight:500;letter-spacing:-0.03em}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:var(--ion-color-primary-shade, #3171e0);--background-focused:var(--ion-color-primary-shade, #3171e0);--background-hover:var(--ion-color-primary-tint, #4c8dff);--background-activated-opacity:1;--background-focused-opacity:1;--background-hover-opacity:1}:host(.button-outline){--border-radius:10px;--border-width:1px;--border-style:solid;--background-activated:var(--ion-color-primary, #3880ff);--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;--color-activated:var(--ion-color-primary-contrast, #fff)}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:transparent;--background-focused-opacity:.1;font-size:17px;font-weight:normal;letter-spacing:0}:host(.button-large){--border-radius:12px;--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--border-radius:6px;--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-strong){font-weight:600}:host(.button-clear.ion-activated){opacity:0.4}:host(.button-outline.ion-activated.ion-color) .button-native{color:var(--ion-color-contrast)}:host(.button-outline.ion-activated.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-activated) .button-native::after{background:var(--ion-color-shade)}:host(.button-outline.ion-focused.ion-color) .button-native,:host(.button-clear.ion-focused.ion-color) .button-native{color:var(--ion-color-base)}:host(.button-outline.ion-focused.ion-color) .button-native::after,:host(.button-clear.ion-focused.ion-color) .button-native::after{background:var(--ion-color-base)}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-shade)}@media (any-hover: hover){:host(.button-clear:hover),:host(.button-outline:hover){opacity:0.6}:host(.button-clear.ion-color:hover) .button-native,:host(.button-outline.ion-color:hover) .button-native{color:var(--ion-color-base)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:transparent}:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-tint)}:host(:hover.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native::after{background:#fff;opacity:0.1}}';var buttonMdCss=':host{--overflow:hidden;--ripple-color:currentColor;--border-width:initial;--border-color:initial;--border-style:initial;--color-activated:var(--color);--color-focused:var(--color);--color-hover:var(--color);--box-shadow:none;display:inline-block;width:auto;color:var(--color);font-family:var(--ion-font-family, inherit);text-align:center;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;vertical-align:-webkit-baseline-middle;pointer-events:auto;-webkit-font-kerning:none;font-kerning:none}:host(.button-disabled){cursor:default;opacity:0.5;pointer-events:none}:host(.button-solid){--background:var(--ion-color-primary, #3880ff);--color:var(--ion-color-primary-contrast, #fff)}:host(.button-outline){--border-color:var(--ion-color-primary, #3880ff);--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-clear){--border-width:0;--background:transparent;--color:var(--ion-color-primary, #3880ff)}:host(.button-block){display:block}:host(.button-block) .button-native{margin-left:0;margin-right:0;display:block;width:100%;clear:both;contain:content}:host(.button-block) .button-native::after{clear:both}:host(.button-full){display:block}:host(.button-full) .button-native{margin-left:0;margin-right:0;display:block;width:100%;contain:content}:host(.button-full:not(.button-round)) .button-native{border-radius:0;border-right-width:0;border-left-width:0}.button-native{border-radius:var(--border-radius);-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:0;margin-right:0;margin-top:0;margin-bottom:0;padding-left:var(--padding-start);padding-right:var(--padding-end);padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;display:block;position:relative;width:100%;height:100%;-webkit-transition:var(--transition);transition:var(--transition);border-width:var(--border-width);border-style:var(--border-style);border-color:var(--border-color);outline:none;background:var(--background);line-height:1;-webkit-box-shadow:var(--box-shadow);box-shadow:var(--box-shadow);contain:layout style;cursor:pointer;opacity:var(--opacity);overflow:var(--overflow);z-index:0;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){.button-native{padding-left:unset;padding-right:unset;-webkit-padding-start:var(--padding-start);padding-inline-start:var(--padding-start);-webkit-padding-end:var(--padding-end);padding-inline-end:var(--padding-end)}}.button-native::-moz-focus-inner{border:0}.button-inner{display:-ms-flexbox;display:flex;position:relative;-ms-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-negative:0;flex-shrink:0;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;z-index:1}::slotted(ion-icon){font-size:1.4em;pointer-events:none}::slotted(ion-icon[slot=start]){margin-left:-0.3em;margin-right:0.3em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=start]){margin-left:unset;margin-right:unset;-webkit-margin-start:-0.3em;margin-inline-start:-0.3em;-webkit-margin-end:0.3em;margin-inline-end:0.3em}}::slotted(ion-icon[slot=end]){margin-left:0.3em;margin-right:-0.2em;margin-top:0;margin-bottom:0}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon[slot=end]){margin-left:unset;margin-right:unset;-webkit-margin-start:0.3em;margin-inline-start:0.3em;-webkit-margin-end:-0.2em;margin-inline-end:-0.2em}}::slotted(ion-icon[slot=icon-only]){font-size:1.8em}ion-ripple-effect{color:var(--ripple-color)}.button-native::after{left:0;right:0;top:0;bottom:0;position:absolute;content:\"\";opacity:0}:host(.ion-activated){color:var(--color-activated)}:host(.ion-activated) .button-native::after{background:var(--background-activated);opacity:var(--background-activated-opacity)}:host(.ion-focused){color:var(--color-focused)}:host(.ion-focused) .button-native::after{background:var(--background-focused);opacity:var(--background-focused-opacity)}@media (any-hover: hover){:host(:hover){color:var(--color-hover)}:host(:hover) .button-native::after{background:var(--background-hover);opacity:var(--background-hover-opacity)}}:host(.button-solid.ion-color) .button-native{background:var(--ion-color-base);color:var(--ion-color-contrast)}:host(.button-outline.ion-color) .button-native{border-color:var(--ion-color-base);background:transparent;color:var(--ion-color-base)}:host(.button-clear.ion-color) .button-native{background:transparent;color:var(--ion-color-base)}:host(.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{color:var(--ion-toolbar-color, var(--color))}:host(.button-outline.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{border-color:var(--ion-toolbar-color, var(--color, var(--border-color)))}:host(.button-solid.in-toolbar:not(.ion-color):not(.in-toolbar-color)) .button-native{background:var(--ion-toolbar-color, var(--background));color:var(--ion-toolbar-background, var(--color))}:host{--border-radius:4px;--padding-top:0;--padding-bottom:0;--padding-start:1.1em;--padding-end:1.1em;--transition:box-shadow 280ms cubic-bezier(.4, 0, .2, 1),\\n                background-color 15ms linear,\\n                color 15ms linear;margin-left:2px;margin-right:2px;margin-top:4px;margin-bottom:4px;height:36px;font-size:14px;font-weight:500;letter-spacing:0.06em;text-transform:uppercase}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px}}:host(.button-solid){--background-activated:transparent;--background-hover:var(--ion-color-primary-contrast, #fff);--background-focused:var(--ion-color-primary-contrast, #fff);--background-activated-opacity:0;--background-focused-opacity:.24;--background-hover-opacity:.08;--box-shadow:0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12)}:host(.button-solid.ion-activated){--box-shadow:0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12)}:host(.button-outline){--border-width:2px;--border-style:solid;--box-shadow:none;--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-outline.ion-activated.ion-color) .button-native{background:transparent}:host(.button-clear){--background-activated:transparent;--background-focused:var(--ion-color-primary, #3880ff);--background-hover:var(--ion-color-primary, #3880ff);--background-activated-opacity:0;--background-focused-opacity:.12;--background-hover-opacity:.04}:host(.button-round){--border-radius:64px;--padding-top:0;--padding-start:26px;--padding-end:26px;--padding-bottom:0}:host(.button-large){--padding-top:0;--padding-start:1em;--padding-end:1em;--padding-bottom:0;height:2.8em;font-size:20px}:host(.button-small){--padding-top:0;--padding-start:0.9em;--padding-end:0.9em;--padding-bottom:0;height:2.1em;font-size:13px}:host(.button-strong){font-weight:bold}::slotted(ion-icon[slot=icon-only]){padding-left:0;padding-right:0;padding-top:0;padding-bottom:0}:host(.button-solid.ion-color.ion-focused) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color.ion-focused) .button-native::after,:host(.button-outline.ion-color.ion-focused) .button-native::after{background:var(--ion-color-base)}@media (any-hover: hover){:host(.button-solid.ion-color:hover) .button-native::after{background:var(--ion-color-contrast)}:host(.button-clear.ion-color:hover) .button-native::after,:host(.button-outline.ion-color:hover) .button-native::after{background:var(--ion-color-base)}}';var Button=function(){function o(o){var t=this;registerInstance(this,o);this.ionFocus=createEvent(this,\"ionFocus\",7);this.ionBlur=createEvent(this,\"ionBlur\",7);this.inItem=false;this.inListHeader=false;this.inToolbar=false;this.inheritedAttributes={};this.buttonType=\"button\";this.disabled=false;this.routerDirection=\"forward\";this.strong=false;this.type=\"button\";this.handleClick=function(o){if(t.type===\"button\"){openURL(t.href,o,t.routerDirection,t.routerAnimation)}else if(hasShadowDom(t.el)){var n=t.el.closest(\"form\");if(n){o.preventDefault();var r=document.createElement(\"button\");r.type=t.type;r.style.display=\"none\";n.appendChild(r);r.click();r.remove()}}};this.onFocus=function(){t.ionFocus.emit()};this.onBlur=function(){t.ionBlur.emit()}}o.prototype.componentWillLoad=function(){this.inToolbar=!!this.el.closest(\"ion-buttons\");this.inListHeader=!!this.el.closest(\"ion-list-header\");this.inItem=!!this.el.closest(\"ion-item\")||!!this.el.closest(\"ion-item-divider\");this.inheritedAttributes=inheritAttributes(this.el,[\"aria-label\"])};Object.defineProperty(o.prototype,\"hasIconOnly\",{get:function(){return!!this.el.querySelector('[slot=\"icon-only\"]')},enumerable:false,configurable:true});Object.defineProperty(o.prototype,\"rippleType\",{get:function(){var o=this.fill===undefined||this.fill===\"clear\";if(o&&this.hasIconOnly&&this.inToolbar){return\"unbounded\"}return\"bounded\"},enumerable:false,configurable:true});o.prototype.render=function(){var o;var t=getIonMode$1(this);var n=this,r=n.buttonType,i=n.type,e=n.disabled,a=n.rel,s=n.target,l=n.size,c=n.href,d=n.color,u=n.expand,b=n.hasIconOnly,g=n.shape,p=n.strong,f=n.inheritedAttributes;var v=l===undefined&&this.inItem?\"small\":l;var m=c===undefined?\"button\":\"a\";var k=m===\"button\"?{type:i}:{download:this.download,href:c,rel:a,target:s};var w=this.fill;if(w===undefined){w=this.inToolbar||this.inListHeader?\"clear\":\"solid\"}return h(Host,{onClick:this.handleClick,\"aria-disabled\":e?\"true\":null,class:createColorClasses$1(d,(o={},o[t]=true,o[r]=true,o[r+\"-\"+u]=u!==undefined,o[r+\"-\"+v]=v!==undefined,o[r+\"-\"+g]=g!==undefined,o[r+\"-\"+w]=true,o[r+\"-strong\"]=p,o[\"in-toolbar\"]=hostContext(\"ion-toolbar\",this.el),o[\"in-toolbar-color\"]=hostContext(\"ion-toolbar[color]\",this.el),o[\"button-has-icon-only\"]=b,o[\"button-disabled\"]=e,o[\"ion-activatable\"]=true,o[\"ion-focusable\"]=true,o))},h(m,Object.assign({},k,{class:\"button-native\",part:\"native\",disabled:e,onFocus:this.onFocus,onBlur:this.onBlur},f),h(\"span\",{class:\"button-inner\"},h(\"slot\",{name:\"icon-only\"}),h(\"slot\",{name:\"start\"}),h(\"slot\",null),h(\"slot\",{name:\"end\"})),t===\"md\"&&h(\"ion-ripple-effect\",{type:this.rippleType})))};Object.defineProperty(o.prototype,\"el\",{get:function(){return getElement(this)},enumerable:false,configurable:true});return o}();Button.style={ios:buttonIosCss,md:buttonMdCss};var validateContent=function(o){var t=document.createElement(\"div\");t.innerHTML=o;for(var n=t.childNodes.length-1;n>=0;n--){if(t.childNodes[n].nodeName.toLowerCase()!==\"svg\"){t.removeChild(t.childNodes[n])}}var r=t.firstElementChild;if(r&&r.nodeName.toLowerCase()===\"svg\"){var i=r.getAttribute(\"class\")||\"\";r.setAttribute(\"class\",(i+\" s-ion-icon\").trim());if(isValid(r)){return t.innerHTML}}return\"\"};var isValid=function(o){if(o.nodeType===1){if(o.nodeName.toLowerCase()===\"script\"){return false}for(var t=0;t<o.attributes.length;t++){var n=o.attributes[t].value;if(isStr(n)&&n.toLowerCase().indexOf(\"on\")===0){return false}}for(var t=0;t<o.childNodes.length;t++){if(!isValid(o.childNodes[t])){return false}}}return true};var ioniconContent=new Map;var requests=new Map;var getSvgContent=function(o,t){var n=requests.get(o);if(!n){if(typeof fetch!==\"undefined\"&&typeof document!==\"undefined\"){n=fetch(o).then((function(n){if(n.ok){return n.text().then((function(n){if(n&&t!==false){n=validateContent(n)}ioniconContent.set(o,n||\"\")}))}ioniconContent.set(o,\"\")}));requests.set(o,n)}else{ioniconContent.set(o,\"\");return Promise.resolve()}}return n};var iconCss=\":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)}\";var Icon=function(){function o(o){registerInstance(this,o);this.iconName=null;this.isVisible=false;this.mode=getIonMode();this.lazy=false;this.sanitize=true}o.prototype.connectedCallback=function(){var o=this;this.waitUntilVisible(this.el,\"50px\",(function(){o.isVisible=true;o.loadIcon()}))};o.prototype.disconnectedCallback=function(){if(this.io){this.io.disconnect();this.io=undefined}};o.prototype.waitUntilVisible=function(o,t,n){var r=this;if(this.lazy&&typeof window!==\"undefined\"&&window.IntersectionObserver){var i=this.io=new window.IntersectionObserver((function(o){if(o[0].isIntersecting){i.disconnect();r.io=undefined;n()}}),{rootMargin:t});i.observe(o)}else{n()}};o.prototype.loadIcon=function(){var o=this;if(this.isVisible){var t=getUrl(this);if(t){if(ioniconContent.has(t)){this.svgContent=ioniconContent.get(t)}else{getSvgContent(t,this.sanitize).then((function(){return o.svgContent=ioniconContent.get(t)}))}}}var n=this.iconName=getName(this.name,this.icon,this.mode,this.ios,this.md);if(!this.ariaLabel&&this.ariaHidden!==\"true\"){if(n){this.ariaLabel=n.replace(/\\-/g,\" \")}}};o.prototype.render=function(){var o,t;var n=this.iconName;var r=this.mode||\"md\";var i=this.flipRtl||n&&(n.indexOf(\"arrow\")>-1||n.indexOf(\"chevron\")>-1)&&this.flipRtl!==false;return h(Host,{role:\"img\",class:Object.assign(Object.assign((o={},o[r]=true,o),createColorClasses(this.color)),(t={},t[\"icon-\"+this.size]=!!this.size,t[\"flip-rtl\"]=!!i&&this.el.ownerDocument.dir===\"rtl\",t))},this.svgContent?h(\"div\",{class:\"icon-inner\",innerHTML:this.svgContent}):h(\"div\",{class:\"icon-inner\"}))};Object.defineProperty(o,\"assetsDirs\",{get:function(){return[\"svg\"]},enumerable:false,configurable:true});Object.defineProperty(o.prototype,\"el\",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(o,\"watchers\",{get:function(){return{name:[\"loadIcon\"],src:[\"loadIcon\"],icon:[\"loadIcon\"]}},enumerable:false,configurable:true});return o}();var getIonMode=function(){return typeof document!==\"undefined\"&&document.documentElement.getAttribute(\"mode\")||\"md\"};var createColorClasses=function(o){var t;return o?(t={\"ion-color\":true},t[\"ion-color-\"+o]=true,t):null};Icon.style=iconCss;export{Button as ion_button,Icon as ion_icon};"]},"metadata":{},"sourceType":"module"}