1"use strict";(self.webpackChunkshedcollective_egon_zehnder_site=self.webpackChunkshedcollective_egon_zehnder_site||[]).push([[8876],{8876:function(e,t,n){n.r(t),n.d(t,{default:function(){return i}});var r={name:"ContentGridWrapper",props:{items:{type:Array,required:!1,default:function(){return[]}},buttonLink:{type:String,required:!1,default:null},buttonLabel:{type:String,required:!1,default:null},initLoadCount:{type:Number,required:!0,default:0},loadMoreCount:{type:Number,required:!0,default:0},columnNumber:{type:String,required:!1,default:"one"},dictionary:{type:Object,required:!1,default:function(){}},isMasonry:{type:Boolean,default:!1,required:!1}},data:function(){return{container:null,containerElements:[],showLoadMore:!0,masonryInstance:!1,page:1}},computed:{innerItems:function(){var e=this;return this.items.filter(function(t,n){return n<e.initLoadCount*e.page})},columns:function(){switch(this.columnNumber){case"five":return{default:5,768:4,480:1};case"four":return{default:4,768:3,480:1};case"three":return{default:3,768:2,480:1};case"two":return{default:2,768:1};default:return 1}}},methods:{loadMore:function(){this.initLoadCount*this.page<this.items.length&&this.page++,this.initLoadCount*this.page>=this.items.length&&(this.showLoadMore=!1)},escapedExcerpt:function(e){var t=document.createElement("textarea");return t.innerHTML=e||"",t.textContent}}},o=(0,n(4486).A)(r,function(){var e=this,t=e._self._c;return t("div",[t(e.isMasonry?"masonry":"div",{tag:"component",class:["feature-block-row--".concat(e.columnNumber,"-up"),{"feature-block-row":!e.isMasonry,"feature-block-row--masonry":e.isMasonry}],attrs:{cols:e.columns,gutter:24}},[e._l(e.innerItems,function(n,r){return[t("".concat(n.component,"-card"),{key:r,tag:"component",attrs:{title:n.label,label:n.label,"sub-label":n.sub_label,image:n.image,logo:n.logo,url:n.url,date:n.date,readtime:n.readtime,excerpt:e.escapedExcerpt(n.excerpt),"full-excerpt":e.escapedExcerpt(n.full_excerpt),"video-id":n.video_id,"video-poster":n.video_poster,"video-duration":n.video_duration,"primary-service":n.primary_service,dictionary:n.dictionary,"card-style":n.card_style,"is-external":n.is_external||!1,"external-label":n.external_label,"show-readmore":n.show_readmore,"video-data":(null==n?void 0:n.video_data)||null}})]})],2),e._v(" "),e.items.length>e.initLoadCount&&e.showLoadMore?t("div",{staticClass:"btn-section btn-section--center u-mb0 u-mt-3"},[t("button",{staticClass:"btn btn--primary btn--xs-full btn--no-anchor",on:{click:function(t){return t.preventDefault(),e.loadMore.apply(null,arguments)}}},[e._v("\n "+e._s(e.dictionary&&e.dictionary.load_more?e.dictionary.load_more:"Load more")+"\n ")])]):e.buttonLink?t("div",{staticClass:"btn-section btn-section--center u-mb0 u-mt-3"},[t("a",{staticClass:"btn btn--primary btn--xs-full",attrs:{href:e.buttonLink}},[e._v("\n "+e._s(e.buttonLabel)+"\n ")])]):e._e()],1)},[],!1,null,null,null),i=o.exports},4486:function(e,t,n){function r(e,t,n,r,o,i,a,s){var u,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),a?(u=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=u):o&&(u=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(l.functional){l._injectStyles=u;var c=l.render;l.render=function(e,t){return u.call(t),c(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,u):[u]}return{exports:e,options:l}}n.d(t,{A:function(){return r}})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.