(window.webpackJsonp=window.webpackJsonp||[]).push([[150,116],{1103:function(e,t,n){var content=n(1231);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(9).default)("898abc78",content,!0,{sourceMap:!1})},1230:function(e,t,n){"use strict";n(1103)},1231:function(e,t,n){var r=n(8)((function(i){return i[1]}));r.push([e.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}.page-ensemble-details__contact{color:#000;font-size:18px;text-decoration:none;border-bottom:1px solid #000;align-self:flex-start}.page-ensemble-details__image a.link{display:block;aspect-ratio:16/9;width:100%}.page-ensemble-details__image a.link img{width:100%;height:100%;object-fit:cover}",""]),r.locals={},e.exports=r},1448:function(e,t,n){"use strict";n.r(t);var r=n(2),l=n(143),c=n(186),o=n(880),d={name:"EnsembleDetail",components:{HeadlineModule:l.a,SearchIndexStart:c.default},mixins:[o.a],asyncData:e=>Object(r.a)((function*(){var{redirect:t,i18n:n,route:r,store:l,$repository:c,$axios:o,error:d}=e,details=yield c("/api/persons/",n.locale).show(r.params.id).then((e=>e.data)).catch((()=>{var e="/404?redirect=".concat(encodeURIComponent(r.fullPath));return t(301,e)})),m=yield o.get("/".concat(n.locale).concat("/api/events/","?date=").concat((new Date).toISOString(),"&person=").concat(r.params.id)).then((e=>e.data)).catch((()=>{var e="/404?redirect=".concat(encodeURIComponent(r.fullPath));return t(301,e)}));return yield l.commit("login/setId",r.params.id),{details:details,events:m}}))(),fetch(){var e=this;return Object(r.a)((function*(){yield e.requestPageBreadcrumb()}))()},head(){return{title:this.details&&this.details.name,meta:this.$utils.addMetaData({title:this.details&&this.details.name,image:this.details&&this.details.image_thumbnails&&this.details.image_thumbnails.medium})}}},m=(n(1230),n(1)),component=Object(m.a)(d,(function(){var e=this,t=e._self._c;return t("div",{staticClass:"grid-container page-ensemble-details"},[t("div",{staticClass:"spacer--small"}),e._v(" "),t("SharedBreadcrumb",{attrs:{links:e.breadcrumbDetailPage}}),e._v(" "),t("SearchIndexStart"),e._v(" "),t("div",{staticClass:"spacer--small"}),e._v(" "),t("div",{staticClass:"custom-container"},[t("div",{staticClass:"grid-x grid-margin-x align-center"},[t("div",{staticClass:"small-12 medium-10 large-8"},[t("HeadlineModule",{staticClass:"page-ensemble-details__headline",attrs:{content:e.details.name,subline:e.details.position&&e.details.position,headline_level:"1","class-child":"cell small-12"}}),e._v(" "),t("div",{staticClass:"spacer--small"}),e._v(" "),t("ul",{staticClass:"grid-x grid-margin-x grid-margin-y"},[t("li",{directives:[{name:"show",rawName:"v-show",value:e.details.phone,expression:"details.phone"}],staticClass:"cell grid-y small-12 medium-6"},[t("span",{staticClass:"page-ensemble-details__contact-title"},[e._v(e._s(e.$t("Telephone")))]),e._v(" "),t("a",{staticClass:"page-ensemble-details__contact",attrs:{href:"tel:".concat(e.details.phone)}},[e._v("\n "+e._s(e.details.phone)+"\n ")])]),e._v(" "),t("li",{directives:[{name:"show",rawName:"v-show",value:e.details.email,expression:"details.email"}],staticClass:"cell grid-y small-12 medium-6"},[t("span",{staticClass:"page-ensemble-details__contact-title"},[e._v(e._s(e.$t("Email")))]),e._v(" "),t("a",{staticClass:"page-ensemble-details__contact",attrs:{href:"mailto:".concat(e.details.email)}},[e._v("\n "+e._s(e.details.email)+"\n ")])])]),e._v(" "),t("div",{staticClass:"spacer--small"}),e._v(" "),e.details.image_thumbnails&&e.details.image_obj?t("SharedImage",{staticClass:"page-ensemble-details__image",attrs:{src:e.details.image_thumbnails.large,copyright:e.details.image_obj.copyright}}):e._e(),e._v(" "),t("div",{staticClass:"spacer"}),e._v(" "),e.details.biography?t("section",{staticClass:"page-ensemble-details__bio"},[t("h2",{staticClass:"page-ensemble-details__bio-title"},[e._v(e._s(e.$t("Biography")))]),e._v(" "),t("div",{staticClass:"spacer--small"}),e._v(" "),t("div",{staticClass:"page-ensemble-details__bio-content",domProps:{innerHTML:e._s(e.details.biography)}})]):e._e()],1)]),e._v(" "),t("div",{staticClass:"spacer"}),e._v(" "),e.events&&e.events.results&&e.events.results.length?t("LazyEventList",{attrs:{"is-loading":!1,events:e.events&&e.events.results}}):e._e(),e._v(" "),t("div",{staticClass:"spacer"})],1)],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{SharedBreadcrumb:n(564).default,SearchIndexStart:n(186).default,SharedImage:n(837).default})},830:function(e,t,n){var content=n(836);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(9).default)("4a4eb98a",content,!0,{sourceMap:!1})},835:function(e,t,n){"use strict";n(830)},836:function(e,t,n){var r=n(8)((function(i){return i[1]}));r.push([e.i,".grid-container .grid-container{padding-left:0;padding-right:0}.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 48px)}@media print,screen and (min-width: 48em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 80px)}}@media print,screen and (min-width: 64em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 85.375em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 160px)}}@media screen and (min-width: 100em){.grid-container .grid-container:not(.fluid),.grid-container .grid-container:not(.full){max-width:calc(188rem - 192px)}}img{width:100%}.copyright{margin-top:8px}",""]),r.locals={},e.exports=r},837:function(e,t,n){"use strict";n.r(t);var r={props:{src:{type:String,default:""},alt:{type:String,default:""},copyright:{type:String,default:""},link:{type:String,default:""}}},l=(n(835),n(1)),component=Object(l.a)(r,(function(){var e=this,t=e._self._c;return t("figure",[t("SharedLink",{attrs:{link:e.link}},[t("img",{attrs:{src:e.src,alt:e.alt,loading:"lazy"}})]),e._v(" "),e.copyright?t("figcaption",{staticClass:"copyright"},[e._v("\n\t\t© "+e._s(e.copyright)+"\n\t")]):e._e()],1)}),[],!1,null,null,null);t.default=component.exports;installComponents(component,{SharedLink:n(50).default})},880:function(e,t,n){"use strict";var r=n(4),l=n(2),c=(n(10),n(11),n(246));function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var d={};try{d=n(187)}catch(e){d=n(188)}t.a={data:()=>({pageData:null}),mixins:[c.a],computed:{staticUrlType(){return this.$route.name.split("-")[0]||""},breadcrumbTitle(){return this.$metaInfo.title||""},breadcrumbDetailPage(){return[...this.breadcrumbPages,{text:this.breadcrumbTitle,link:this.$route.path}]}},methods:{requestPageBreadcrumb(){var e=this;return Object(l.a)((function*(){if(!e.staticUrlType)return console.error("@/mixins/breadcrumbsDetailPage.js - staticUrlType is missing");if(!(e.staticUrlType in d))return console.error("This staticUrlType: "+e.staticUrlType+" does not exist");var t=d[e.staticUrlType][e.$i18n.locale],n=e.$store.state.login.logged?{headers:{"X-CSRFToken":e.$cookies.get("csrftoken")},withCredentials:!0}:{};yield e.$axios(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({method:"GET",url:"".concat(e.$i18n.locale).concat("/pageeditor-api","/page/").concat(decodeURI(t))},n)).then((t=>{var{data:data}=t;e.pageData=data}))}))()}}}}}]);