System.register(["./p-16517c1c.system.js","./p-cb27d1d4.system.js"],(function(e){"use strict";var i,t,o,n,r,s,a,c;return{setters:[function(e){i=e.r;t=e.h;o=e.H;n=e.a},function(e){r=e.i;s=e.b;a=e.g;c=e.c}],execute:function(){var l=function(e){var i=document.createElement("div");i.innerHTML=e;for(var t=i.childNodes.length-1;t>=0;t--){if(i.childNodes[t].nodeName.toLowerCase()!=="svg"){i.removeChild(i.childNodes[t])}}var o=i.firstElementChild;if(o&&o.nodeName.toLowerCase()==="svg"){var n=o.getAttribute("class")||"";o.setAttribute("class",(n+" s-ion-icon").trim());if(f(o)){return i.innerHTML}}return""};var f=function(e){if(e.nodeType===1){if(e.nodeName.toLowerCase()==="script"){return false}for(var i=0;i<e.attributes.length;i++){var t=e.attributes[i].name;if(r(t)&&t.toLowerCase().indexOf("on")===0){return false}}for(var i=0;i<e.childNodes.length;i++){if(!f(e.childNodes[i])){return false}}}return true};var d=new Map;var h=new Map;var u=function(e,i){var t=h.get(e);if(!t){if(typeof fetch!=="undefined"&&typeof document!=="undefined"){t=fetch(e).then((function(t){if(t.ok){return t.text().then((function(t){if(t&&i!==false){t=l(t)}d.set(e,t||"")}))}d.set(e,"")}));h.set(e,t)}else{d.set(e,"");return Promise.resolve()}}return t};var v=":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 b=e("ion_icon",function(){function e(e){var t=this;i(this,e);this.iconName=null;this.inheritedAttributes={};this.isVisible=false;this.mode=m();this.lazy=false;this.sanitize=true;this.hasAriaHidden=function(){var e=t.el;return e.hasAttribute("aria-hidden")&&e.getAttribute("aria-hidden")==="true"}}e.prototype.componentWillLoad=function(){this.inheritedAttributes=s(this.el,["aria-label"])};e.prototype.connectedCallback=function(){var e=this;this.waitUntilVisible(this.el,"50px",(function(){e.isVisible=true;e.loadIcon()}))};e.prototype.disconnectedCallback=function(){if(this.io){this.io.disconnect();this.io=undefined}};e.prototype.waitUntilVisible=function(e,i,t){var o=this;if(this.lazy&&typeof window!=="undefined"&&window.IntersectionObserver){var n=this.io=new window.IntersectionObserver((function(e){if(e[0].isIntersecting){n.disconnect();o.io=undefined;t()}}),{rootMargin:i});n.observe(e)}else{t()}};e.prototype.loadIcon=function(){var e=this;if(this.isVisible){var i=a(this);if(i){if(d.has(i)){this.svgContent=d.get(i)}else{u(i,this.sanitize).then((function(){return e.svgContent=d.get(i)}))}}}var t=this.iconName=c(this.name,this.icon,this.mode,this.ios,this.md);if(t){this.ariaLabel=t.replace(/\-/g," ")}};e.prototype.render=function(){var e,i;var n=this,r=n.iconName,s=n.ariaLabel,a=n.inheritedAttributes;var c=this.mode||"md";var l=this.flipRtl||r&&(r.indexOf("arrow")>-1||r.indexOf("chevron")>-1)&&this.flipRtl!==false;return t(o,Object.assign({"aria-label":s!==undefined&&!this.hasAriaHidden()?s:null,role:"img",class:Object.assign(Object.assign((e={},e[c]=true,e),p(this.color)),(i={},i["icon-".concat(this.size)]=!!this.size,i["flip-rtl"]=!!l&&this.el.ownerDocument.dir==="rtl",i))},a),this.svgContent?t("div",{class:"icon-inner",innerHTML:this.svgContent}):t("div",{class:"icon-inner"}))};Object.defineProperty(e,"assetsDirs",{get:function(){return["svg"]},enumerable:false,configurable:true});Object.defineProperty(e.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{name:["loadIcon"],src:["loadIcon"],icon:["loadIcon"]}},enumerable:false,configurable:true});return e}());var m=function(){return typeof document!=="undefined"&&document.documentElement.getAttribute("mode")||"md"};var p=function(e){var i;return e?(i={"ion-color":true},i["ion-color-".concat(e)]=true,i):null};b.style=v}}}));