import{r,h as s}from"./p-890a2f7e.js";import{d as o}from"./p-c5e6713f.js";import{b as l}from"./p-d6eb762b.js";import"./p-d30b6245.js";import"./p-888f7794.js";import"./p-be8a42cb.js";import"./p-9f421a09.js";import"./p-112455b1.js";import"./p-1ae2b158.js";import"./p-a96ec623.js";const p=class{constructor(s){r(this,s)}render(){var r,p,i;const t="string"==typeof this.value?JSON.parse(this.value):this.value;return""==t.countryCode?s("address",null,null!==(r=t.address1)&&void 0!==r?r:"",s("br",null),null!==(p=t.address2)&&void 0!==p?p:"",s("br",null),null!==(i=t.address3)&&void 0!==i?i:""):s("address",null,t.street,s("br",null),t.zipCode," ",t.city,s("br",null),l.DE.is(t)||l.General.is(t)&&t.state?t.state+" ":[],o.CountryCode.Name.from("en",t.countryCode))}};p.style=".sc-ig-address-display-h{display:block;border-top:1px solid rgb(var(--smoothly-medium-color));border-bottom:1px solid rgb(var(--smoothly-medium-color))}";export{p as ig_address_display}