System.register(["./index-c820db66.system.js","./index-dc84aac6.system.js","./index-2d937df8.system.js","./index-9ceb7f8c.system.js","./_commonjsHelpers-c8881874.system.js","./index-b0fe4e4c.system.js"],(function(e){"use strict";var t,n,r,i,d;return{setters:[function(e){t=e.r;n=e.h;r=e.g},function(e){i=e.P},function(e){d=e.d},function(){},function(){},function(){}],execute:function(){var s={Scheme:"System",Number:"Nummer",Expires:"Giltigt t.o.m.",Type:"Typ",card:"kort",Method:"Metod",Contact:"Kontakt",Message:"Meddelande","Open link":"Öppna länk",defer:"skickad",link:"länk"};function l(e){return d.create({sv:s},e)}var o="*.sc-ig-order-payment-h{display:-ms-flexbox;display:flex}[hidden].sc-ig-order-payment-h{display:none}.sc-ig-order-payment-h>span.sc-ig-order-payment{-ms-flex-positive:1;flex-grow:1;padding-left:0.6em;padding-right:0.6em}ul.sc-ig-order-payment{width:100%;list-style-type:none;margin-top:0;margin-bottom:0;-webkit-padding-start:0;padding-inline-start:0}summary.sc-ig-order-payment{outline:none;text-align:left}dl.sc-ig-order-payment{margin:8px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:3em;-ms-flex-pack:start;justify-content:flex-start}dt.sc-ig-order-payment{font-weight:bold;text-align:left}dd.sc-ig-order-payment{text-align:left;margin:0}dd.icon.sc-ig-order-payment{width:-webkit-max-content;width:-moz-max-content;width:max-content;padding-top:0.5em}";var a=e("ig_order_payment",function(){function e(e){t(this,e)}e.prototype.componentWillLoad=function(){this.t=l(this.element)};e.prototype.render=function(){var e=this.t;return n("ul",null,n("li",null,this.order.payment.type=="card"?n("summary",null,n("dl",null,this.order.payment.type?[n("dt",null,e("Type")),n("dd",null,e(this.order.payment.type))]:"",this.order.payment.scheme?[n("dt",null,e("Scheme")),n("dd",null,this.order.payment.scheme)]:"",i.Card.is(this.order.payment)?[n("dt",null,e("Number")),n("dd",null,this.order.payment.iin.substring(0,4)+" "+this.order.payment.iin.substring(4)+"** **** "+this.order.payment.last4)]:"",this.order.payment.expires?[n("dt",null,e("Expires")),n("dd",null,this.order.payment.expires[0],"/",this.order.payment.expires[1])]:"")):this.order.payment.type=="defer"?n("summary",null,n("dl",null,this.order.payment.type?[n("dt",null,e("Type")),n("dd",null,e(this.order.payment.type))]:"",this.order.payment.method?[n("dt",null,e("Method")),n("dd",null,e(this.order.payment.method))]:"",this.order.payment.contact?[n("dt",null,e("Contact")),n("dd",null,this.order.payment.contact)]:"",this.order.payment.message?[n("dt",null,e("Message")),n("dd",null,this.order.payment.message)]:"",i.Defer.is(this.order.payment)&&this.order.payment.link!=undefined?[n("dt",null),n("dd",{class:"icon"},n("a",{target:"_blank",href:this.order.payment.link},n("smoothly-icon",{toolTip:e("Open link"),name:"open"})))]:"")):"No payment information available."))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());a.style=o}}}));