import{r as t,h as e,H as i}from"./p-76ab1744.js";const l=class{constructor(e){t(this,e),this.dataTrackingId="telia-footer-legal",this.classname="telia-footer-legal"}getItems(){if(!this.items)return;let t;return t="object"==typeof this.items?this.items:JSON.parse(this.items),t.map((t=>e("li",{class:`${this.classname}__link`},e("telia-link",{href:t.href,variant:"text","dark-background":!0,"disable-visited":!0},t.name))))}renderCopyrightNotice(){if(this.copyright)return e("div",{class:`${this.classname}__copyright-notice`},this.copyright)}render(){return e(i,{class:`${this.classname}`,"data-testid":this.dataTestid},e("telia-grid",{class:`${this.classname}__container`},e("telia-row",{class:`${this.classname}__content`},e("telia-col",{width:12,"width-md":6},this.renderCopyrightNotice(),e("slot",{name:"contacts"})),e("telia-col",{width:12,"width-md":6},e("slot",{name:"additional"}),e("telia-list",{class:`${this.classname}__links`,"list-tag":"ul",variant:"row"},this.getItems())))),e("telia-vst",{dataTrackingId:this.dataTrackingId}))}};l.style='.telia-footer-legal{color:#ffffff;display:flex;flex-direction:column}@media screen and (min-width: 64em){.telia-footer-legal{align-items:center;flex-direction:row;justify-content:space-between}}.telia-footer-legal__container{padding:0}.telia-footer-legal__copyright-notice{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:normal;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.5;margin-bottom:calc(0.8rem * var(--voca-rem-multiplier))}.telia-footer-legal__content{}.telia-footer-legal__content telia-col:first-of-type{display:flex;flex-direction:column;justify-content:flex-end;margin-bottom:calc(1.6rem * var(--voca-rem-multiplier))}@media screen and (min-width: 37.5em){.telia-footer-legal__content telia-col:first-of-type{margin-bottom:0}}.telia-footer-legal__content ::slotted([slot=contacts]){font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:normal;font-size:calc(1.4rem * var(--voca-rem-multiplier));line-height:1.5;color:rgba(255, 255, 255, 0.6)}.telia-footer-legal__content ::slotted([slot=additional]){margin-bottom:calc(1.6rem * var(--voca-rem-multiplier))}.telia-footer-legal__content telia-col:last-of-type{display:grid}@media screen and (min-width: 37.5em){.telia-footer-legal__content telia-col:last-of-type{justify-content:flex-end}}.telia-footer-legal__links{align-self:flex-end}.telia-footer-legal__link{font-family:"TeliaSans", Helvetica, Arial, "Lucida Grande", sans-serif;font-weight:normal;font-size:calc(1.6rem * var(--voca-rem-multiplier));line-height:1.5;width:100%;margin-bottom:calc(0.8rem * var(--voca-rem-multiplier))}@media screen and (min-width: 37.5em){.telia-footer-legal__link{width:auto;margin-bottom:0;margin-right:calc(1.2rem * var(--voca-rem-multiplier))}.telia-footer-legal__link:last-of-type{margin-right:0}}.telia-footer-legal__link:last-of-type{margin-bottom:0}';export{l as telia_footer_legal}