2 lines
3.2 KiB
JavaScript
2 lines
3.2 KiB
JavaScript
try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6d594553-7cfb-426d-96e1-69a6ed083fe7",e._sentryDebugIdIdentifier="sentry-dbid-6d594553-7cfb-426d-96e1-69a6ed083fe7")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"materio-10.3.6"};(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[413],{7556:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var o=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"showrooms"}},[e.items.length?e._l(e.items,(function(e){return t("Showroom",{key:e.uuid,attrs:{item:e}})})):t("div",{staticClass:"loading"},[t("span",[e._v(e._s(e.$t("default.Loading…")))])])],2)};o._withStripped=!0;var i=function(){var e=this,t=e._self._c;return t("article",{staticClass:"showroom"},[t("section",{directives:[{name:"switcher",rawName:"v-switcher"}],staticClass:"images"},e._l(e.item.images,(function(s,o){return t("figure",{directives:[{name:"lazy",rawName:"v-lazy",value:o,expression:"index"}],key:s.url,staticClass:"lazy"},[t("img",{attrs:{"data-src":s.style_showroomhome.url},on:{click:function(t){return e.setLightBox(o)}}})])})),0),e._v(" "),t("section",{staticClass:"content"},[t("header",[t("h1",[e._v(e._s(e.item.name))])]),e._v(" "),t("section",{staticClass:"description",domProps:{innerHTML:e._s(e.item.description)}}),e._v(" "),t("address",[e.item.address.organization?t("span",[e._v(e._s(e.item.address.organization)),t("br")]):e._e(),e._v(" "),e.item.address.address_line1?t("span",[e._v(e._s(e.item.address.address_line1)),t("br")]):e._e(),e._v(" "),e.item.address.locality?t("span",[e._v(e._s(e.item.address.locality)),t("br")]):e._e(),e._v(" "),e.item.country.country_name?t("span",[e._v(e._s(e.item.country.country_name))]):e._e()]),e._v(" "),t("div",{staticClass:"phone",domProps:{innerHTML:e._s(e.item.phone)}}),e._v(" "),t("a",{staticClass:"email",attrs:{href:"mailto:"+e.item.email},domProps:{innerHTML:e._s(e.item.email)}}),e._v(" "),t("div",{staticClass:"website"},[t("a",{attrs:{_target:"_blank",href:e.item.website.url}},[e._v(e._s(e.item.website.title))])])])])};i._withStripped=!0;var a=s(5353),n=s(3611),r=s(9811);drupalSettings.path.baseUrl,drupalSettings.path.pathPrefix;const d={name:"Showroom",router:n.A,mixins:[r.A],props:["item"],computed:{...(0,a.aH)({coolLightBoxItems:e=>e.Common.coolLightBoxItems,coolLightBoxIndex:e=>e.Common.coolLightBoxIndex})},methods:{...(0,a.i0)({setcoolLightBoxItems:"Common/setcoolLightBoxItems",setcoolLightBoxIndex:"Common/setcoolLightBoxIndex"}),setLightBox(e){this.setcoolLightBoxItems(this.item.images),this.setcoolLightBoxIndex(e)}}};var l=s(4486);const m=(0,l.A)(d,i,[],!1,null,"582a0cbe",null).exports,c={name:"Showrooms",computed:{...(0,a.aH)({items:e=>e.Showrooms.items})},created(){this.items.length||this.getShowrooms()},methods:{...(0,a.i0)({getShowrooms:"Showrooms/getShowrooms"})},components:{Showroom:m}};const h=(0,l.A)(c,o,[],!1,null,"5891e183",null).exports}}]);
|
|
//# sourceMappingURL=module-showrooms.fb77eff450cf89bb2f43.bundle.js.map
|