import{r as registerInstance,h,g as getElement}from"./index-08b73e9e.js";import{d as dist$1}from"./index-3cf720d3.js";import{d as dist}from"./index-a0a71287.js";import"./_commonjsHelpers-9943807e.js";var sv={"Upcoming payments":"Kommande betalningar"};function create(e){return dist.create({sv:sv},e)}var styleCss=".sc-ig-future-due-dates-h{display:block}[hidden].sc-ig-future-due-dates-h{display:none}.sc-ig-future-due-dates-h>table.sc-ig-future-due-dates{border:1px solid rgb(var(--smoothly-medium-color));width:100%;height:100%}tr.sc-ig-future-due-dates:first-of-type{border-bottom:1px solid rgb(var(--smoothly-medium-color));font-weight:bold}td.sc-ig-future-due-dates{padding:0.3em}";var IntergiroFutureDueDates=function(){function e(e){registerInstance(this,e)}e.prototype.componentWillLoad=function(){this.t=create(this.element)};e.prototype.render=function(){return[h("table",null,h("tr",{color:"light"},h("td",null,this.t("Upcoming payments"))),this.dates?this.dates.map((function(e){return h("tr",null,h("td",null,dist$1.DateTime.localize(dist$1.DateTime.parse(e)).slice(0,10)))})):[])]};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();IntergiroFutureDueDates.style=styleCss;export{IntergiroFutureDueDates as ig_future_due_dates};