System.register(["./p-5e377a26.system.js","./p-470bbffb.system.js","./p-ffbae3f6.system.js","./p-e847e88b.system.js"],(function(t){"use strict";var e,i,r,n,a,c,s;return{setters:[function(t){e=t.r;i=t.h;r=t.H;n=t.g},function(t){a=t.m;c=t.i},function(t){s=t.A},function(){}],execute:function(){var o="devingen-product-card{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:calc(2 * var(--spacing-unit));color:var(--color-text);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}devingen-product-card .icon-container{padding:calc(1.5 * var(--spacing-unit));background:var(--color-background-primary);border-radius:calc(var(--corner-radius) / 3 * 2);margin-right:calc(2 * var(--spacing-unit))}devingen-product-card .icon-container.damga{background:var(--color-primary);color:white}devingen-product-card .icon-container.kimlik{background:var(--color-secondary);color:white}";var l={damga:"shield-check",kimlik:"padlock"};var u=t("devingen_product_card",function(){function t(t){e(this,t)}t.prototype.render=function(){var t;var e=this.product;if(!e){return i(r,null,i("div",{class:"icon-container"},i("dvn-icon",{iconName:"uil uil-plus",scale:"large"})),"Add new product")}return i(r,null,i("div",{class:(t={"icon-container":true},t[e.type]=true,t)},i("dvn-icon",{iconName:"uil uil-".concat(l[e.type]||"question"),scale:"large"})),e.name)};return t}());u.style=o;var h=function(t,e){if(t.charAt(0)=="/"&&e.charAt(e.length-1)=="/"){return e.slice(0,e.length-1)+t}return e+t};var p=t("stencil_route_link",function(){function t(t){e(this,t);this.unsubscribe=function(){return};this.activeClass="link-active";this.exact=false;this.strict=true;this.custom="a";this.match=null}t.prototype.componentWillLoad=function(){this.computeMatch()};t.prototype.computeMatch=function(){if(this.location){this.match=a(this.location.pathname,{path:this.urlMatch||this.url,exact:this.exact,strict:this.strict})}};t.prototype.handleClick=function(t){if(c(t)||!this.history||!this.url||!this.root){return}t.preventDefault();return this.history.push(h(this.url,this.root))};t.prototype.render=function(){var t;var e={class:(t={},t[this.activeClass]=this.match!==null,t),onClick:this.handleClick.bind(this)};if(this.anchorClass){e.class[this.anchorClass]=true}if(this.custom==="a"){e=Object.assign({},e,{href:this.url,title:this.anchorTitle,role:this.anchorRole,tabindex:this.anchorTabIndex,"aria-haspopup":this.ariaHaspopup,id:this.anchorId,"aria-posinset":this.ariaPosinset,"aria-setsize":this.ariaSetsize,"aria-label":this.ariaLabel})}return i(this.custom,Object.assign({},e),i("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{location:["computeMatch"]}},enumerable:false,configurable:true});return t}());s.injectProps(p,["history","location","root"])}}}));