1(window.webpackJsonp=window.webpackJsonp||[]).push([[74,8,11,22,26,27,30,49,53,54],{419:function(t,e,r){"use strict";r.r(e);var n=r(20),component=Object(n.a)({},(function(){var t=this._self._c;return t("svg",{staticClass:"h-2",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 28 15"}},[t("g",{attrs:{stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"}},[t("path",{attrs:{d:"M1 7.39h25.5M21.35.42 27 7.4M21.35 14.36 27 7.39"}})])])}),[],!1,null,null,null);e.default=component.exports},420:function(t,e,r){"use strict";r.r(e);var n=r(0),l=r(51),o=n.a.extend({props:{tags:{type:Array,default:function(){return[]},required:!0}},computed:{COLORS:function(){return l.c}}}),c=r(20),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("ul",{staticClass:"tag-container"},t._l(t.tags,(function(r){return e("li",{key:r.id,staticClass:"base-tag",class:[r.attributes&&r.attributes.Color&&t.COLORS[r.attributes.Color].key&&"border-transparent",r.attributes&&r.attributes.Color&&"light"===t.COLORS[r.attributes.Color].theme&&"text-white"],style:r.attributes&&r.attributes.Color&&"background: var(--".concat(t.COLORS[r.attributes.Color].key,")")},[r.attributes&&r.attributes.Name?e("span",[t._v(t._s(r.attributes.Name))]):t._e()])})),0)}),[],!1,null,null,null);e.default=component.exports},426:function(t,e,r){"use strict";r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return o}));r(41),r(165);var n=r(51),l=function(){var t,e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1?arguments[1]:void 0,o=[];null!=r&&r.Title&&(o.push({hid:"og:title",property:"og:title",content:r.Title}),o.push({hid:"twitter:title",property:"twitter:title",content:r.Title})),null!=r&&r.Description&&(o.push({hid:"description",name:"description",content:r.Description}),o.push({hid:"og:description",property:"og:description",content:r.Description}),o.push({hid:"twitter:description",name:"twitter:description",content:r.Description}));var c=null===(t=r.Image)||void 0===t||null===(e=t.data)||void 0===e?void 0:e.attributes.url;return c&&(o.push({hid:"og:image",property:"og:image",content:n.a+c}),o.push({hid:"twitter:image",name:"twitter:image",content:n.a+c})),[].concat(o,[l&&{hid:"og:url",property:"og:url",content:n.b+l},l&&{hid:"twitter:url",name:"twitter:url",content:n.b+l}])};var o=function(t){return[{hid:"canonical",rel:"canonical",href:n.b+(e=t,e+(e.endsWith("/")?"":"/"))}];var e}},429:function(t,e,r){"use strict";r.r(e);var n=r(20),component=Object(n.a)({},(function(){return(0,this._self._c)("button",{staticClass:"px-4 md:px-6 border-b border-current sm:text-lg md:text-xl lg:text-2xl text-dark-green hover:opacity-60 transition-opacity duration-200",attrs:{"aria-label":"Load more"}},[this._v("\n More +\n")])}),[],!1,null,null,null);e.default=component.exports},430:function(t,e,r){"use strict";r.r(e);var n=r(126),l={props:{url:String,required:!0},computed:{isExternalLink:function(){return this.url&&Object(n.d)(this.url)}}},o=r(20),component=Object(o.a)(l,(function(){var t=this,e=t._self._c;return t.url&&!t.isExternalLink?e("nuxt-link",{attrs:{to:t.url}},[t._t("default")],2):t.url&&t.isExternalLink?e("a",{attrs:{href:t.isExternalLink,target:"_blank",rel:"noopener noreferrer"}},[t._t("default")],2):e("div",[t._t("default")],2)}),[],!1,null,null,null);e.default=component.exports},435:function(t,e,r){"use strict";r.r(e);r(427),r(42),r(41);var n=r(0),l=r(51),o=n.a.extend({props:{image:{type:Object,default:function(){}}},computed:{imageAttrs:function(){return t=this.image.data.attributes,e=t.formats&&Object.values(t.formats)||[],r=e.length?e.map((function(t){return"".concat(l.a+t.url," ").concat(t.width,"w")})):"",{src:l.a+t.url,width:t.width,height:t.height,alt:t.alternativeText,srcset:r};var t,e,r}}}),c=r(20),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("img",{attrs:{src:t.imageAttrs.src,width:t.imageAttrs.width,height:t.imageAttrs.height,srcset:t.imageAttrs.srcset,alt:t.imageAttrs.alt||"",decoding:"async"}})}),[],!1,null,null,null);e.default=component.exports},436:function(t,e,r){"use strict";r.r(e);var n=r(0).a.extend({props:{isDisabled:{type:Boolean,required:!0,default:!1},direction:{type:String,required:!0,default:"left"}}}),l=r(20),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("button",{staticClass:"bg-current p-1 md:p-2 rounded-full opacity-80 hover:opacity-100 transition-opacity duration-200 disabled:opacity-10",attrs:{type:"button",disabled:t.isDisabled}},["left"===t.direction?[e("span",{staticClass:"sr-only"},[t._v("Previous")]),t._v(" "),e("svg",{staticClass:"h-6 w-6 opacity-80",style:"color: var(--btn-color)",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"}})])]:"right"===t.direction?[e("span",{staticClass:"sr-only"},[t._v("Next")]),t._v(" "),e("svg",{staticClass:"h-6 w-6 opacity-80",style:"color: var(--btn-color)",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[e("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])]:t._e()],2)}),[],!1,null,null,null);e.default=component.exports},438:function(t,e,r){var content=r(460);
1content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(58).default)("2831bf0a",content,!0,{sourceMap:!1})},443:function(t,e,r){"use strict";r.r(e);var n=r(0).a.extend({props:{title:{type:String,required:!0},subtitle:{type:String,required:!1,default:null}}}),l=r(20),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{staticClass:"pt-3 sm:pt-8 md:pt-10 pb-6 container-auto"},[e("div",{staticClass:"h-14 sm:h-12"}),t._v(" "),e("div",{staticClass:"space-y-1 lg:space-y-0 lg:flex lg:items-center lg:space-x-6"},[e("h1",{staticClass:"shrink-0 uppercase inline-block px-2 sm:px-3 md:px-4 py-px md:py-1 text-xs sm:text-base md:text-lg xl:text-xl border border-current"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.subtitle?e("h2",{staticClass:"grow text-lg sm:text-xl md:text-2xl lg:text-3xl"},[t._v("\n "+t._s(t.subtitle)+"\n ")]):t._e()])])])}),[],!1,null,null,null);e.default=component.exports},449:function(t,e,r){var content=r(481);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(58).default)("44c31c43",content,!0,{sourceMap:!1})},459:function(t,e,r){"use strict";r(438)},460:function(t,e,r){var n=r(57)((function(i){return i[1]}));n.push([t.i,".cta-image img{height:10rem;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center;width:100%}@media (min-width:768px){.cta-image img{height:100%;left:0;position:absolute;top:0}}",""]),n.locals={},t.exports=n},473:function(t,e,r){"use strict";r.r(e);r(21),r(64);var n=r(0),l=r(51),o=n.a.extend({props:{title:{type:String,required:!0},description:{type:String,required:!1,default:null},image:{type:Object,required:!1,default:null},titleSmall:{type:Boolean,default:!1,required:!1},color:{type:Object,default:function(){return l.c.LIGHT_GREEN}},imageRight:{type:Boolean,default:!1}}}),c=(r(459),r(20)),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("section",[e("div",{staticClass:"bg-light-green md:grid md:grid-rows-1 md:grid-cols-2 md:justify-between",style:"background-color: var(--".concat(t.color.key,")")},[e("div",{class:t.imageRight&&"order-2"},[e("div",{staticClass:"py-6 md:py-12",class:t.imageRight?"px-[var(--lateral-container)] md:pl-10":"px-[var(--lateral-container)] md:pr-10"},[e("h2",{staticClass:"text-3xl sm:text-4xl md:text-5xl",class:!t.titleSmall&&"lg:text-6xl"},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),t.description?e("p",{staticClass:"mt-2 md:mt-3 text-lg max-w-lg"},[t._v("\n "+t._s(t.description)+"\n ")]):t._e(),t._v(" "),e("div",{staticClass:"mt-4 md:mt-6"},[t._t("btn")],2)])]),t._v(" "),t.image?e("div",{staticClass:"cta-image relative w-full"},[e("nuxt-picture",{staticClass:"h-full w-full",attrs:{src:t.image.url,alt:t.image.alt,sizes:"sm:100vw md:70vw lg:70vw xl:70vw 2xl:70vw",loading:"lazy",decoding:"async",format:"webp",width:t.image.width,height:t.image.height}})],1):t._e()])])}),[],!1,null,null,null);e.default=component.exports},480:function(t,e,r){"use strict";r(449)},481:function(t,e,r){var n=r(57)((function(i){return i[1]}));n.push([t.i,"input:checked~label{background:var(--dark-green);color:#fff}input:focus~label{border-color:transparent;outline:2px solid var(--dark-gray)}input:focus:not(:focus-visible)~label{outline:none}input:focus-visible~label{border-color:transparent;outline:2px solid var(--dark-gray)}",""]),n.locals={},t.exports=n},487:function(t,e,r){var content=r(557);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(58).default)("1b718cba",content,!0,{sourceMap:!1})},488:function(t,e,r){var content=r(559);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(58).default)("0ce6c72f",content,!0,{sourceMap:!1})},537:function(t,e,r){"use strict";r.r(e);var n=r(0).a.extend({props:{tags:{type:Array,required:!0},selectedFilterTag:{type:String,required:!0},searchFilterText:{type:String,required:!1,default:""}}}),l=(r(480),r(20)),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"grid gap-2 md:grid-cols-2 text-xs sm:text-sm md:text-base"},[e("fieldset",[e("div",{staticClass:"flex flex-wrap items-center"},[e("legend",{staticClass:"mr-2 mb-2 inline-block"},[t._v("Filter by:")]),t._v(" "),t._l(t.tags,(function(r){return e("div",{key:r.id,staticClass:"mr-2 mb-2"},[e("input",{staticClass:"sr-only",attrs:{id:r.Name,type:"radio",name:"tag"},domProps:{checked:t.selectedFilterTag===r.Name,value:r.Name},on:{change:function(e){return t.$emit("SELECT_TAG",r.Name)}}}),t._v(" "),e("label",{staticClass:"px-8 py-1 border border-black border-opacity-20 inline-block",attrs:{for:r.Name}},[t._v("\n "+t._s(r.Name)+"\n ")])])}))],2)]),t._v(" "),e("div",{staticClass:"md:justify-self-end"},[e("label",{staticClass:"sr-only",attrs:{for:"article-search"}},[t._v("Search an article")]),t._v(" "),e("input",{staticClass:"py-2 px-4 roun
1ded-full",attrs:{id:"article-search",type:"text",name:"article-search",placeholder:"Search"},domProps:{value:t.searchFilterText},on:{input:function(e){return t.$emit("INPUT_TEXT",e.target.value)}}})])])}),[],!1,null,null,null);e.default=component.exports},539:function(t,e,r){"use strict";r.r(e);r(21),r(64);var n=r(0).a.extend({props:{title:{type:String,required:!0},subtitle:{type:String,required:!1,default:null},description:{type:String,required:!1,default:null},linkUrl:{type:String,required:!0},image:{type:Object,required:!1,default:null},tags:{type:Array,required:!0,default:function(){return[]}}}}),l=r(20),component=Object(l.a)(n,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("li",{staticClass:"shrink-0 card group relative"},[e("article",{staticClass:"grid grid-cols-1 bg-white"},[e("div",{staticClass:"order-2 p-6"},[e("div",{staticClass:"space-y-2"},[t.tags.length?e("TagsRow",{attrs:{tags:t.tags}}):t._e(),t._v(" "),t.subtitle?e("p",{staticClass:"text-xs text-dark-green font-bold sm:text-base md:text-lg"},[t._v("\n "+t._s(t.subtitle)+"\n ")]):t._e(),t._v(" "),t.title?e("h3",{staticClass:"card-title text-base sm:text-lg md:text-xl lg:text-2xl font-bold"},[e("BaseLink",{attrs:{url:t.linkUrl}},[t._v("\n "+t._s(t.title)+"\n ")])],1):t._e(),t._v(" "),t.description?e("p",{staticClass:"text-sm sm:text-lg"},[t._v("\n "+t._s(t.description)+"\n ")]):t._e()],1),t._v(" "),t.linkUrl?e("div",{staticClass:"mt-4"},[e("div",{staticClass:"base-button group-hover:opacity-60"},[e("span",[t._v("Read more")]),t._v(" "),e("IconArrowRight")],1)]):t._e()]),t._v(" "),t.image&&t.image.data&&t.image.data.attributes?e("div",{staticClass:"vertical-card-img h-48 w-full bg-gray-200 overflow-hidden"},[e("BasePicture",{staticClass:"w-full h-full max-h-full object-cover scale-105 group-hover:scale-100 transition-transform duration-1000 ease-in-out",attrs:{image:t.image,loading:"lazy",sizes:"(min-width: 768px) 600px, 100vw"}})],1):t._e()]),t._v(" "),t.linkUrl?e("BaseLink",{staticClass:"absolute inset-0",attrs:{url:t.linkUrl,"aria-hidden":"true",tabindex:"-1"}}):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{TagsRow:r(420).default,BaseLink:r(430).default,IconArrowRight:r(419).default,BasePicture:r(435).default})},556:function(t,e,r){"use strict";r(487)},557:function(t,e,r){var n=r(57)((function(i){return i[1]}));n.push([t.i,".flickity-viewport{overflow:visible}",""]),n.locals={},t.exports=n},558:function(t,e,r){"use strict";r(488)},559:function(t,e,r){var n=r(57)((function(i){return i[1]}));n.push([t.i,".words-section[data-v-ead01898]{overflow-x:hidden;transition-duration:.3s;transition-property:color background;transition-timing-function:ease}.main-carousel[data-v-ead01898]:not(.flickity-enabled){display:flex;overflow:hidden}",""]),n.locals={},t.exports=n},602:function(t,e,r){var content=r(696);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(58).default)("4bd3a20c",content,!0,{sourceMap:!1})},636:function(t,e,r){"use strict";r.r(e);var n=r(5),l=(r(34),r(11),r(35),r(40),r(52),r(0)),o=r(51),c=l.a.extend({props:["topics","selectedIdx"],data:function(){return{flkty:null}},computed:{currentIdxColor:function(){var t,e,r,n,l,c=null===(t=this.topics)||void 0===t||null===(e=t[this.selectedIdx])||void 0===e||null===(r=e.RelatedLabel)||void 0===r||null===(n=r.data)||void 0===n||null===(l=n.attributes)||void 0===l?void 0:l.Color;return c&&o.c[c]}},mounted:function(){this.initCarousel()},beforeDestroy:function(){this.flkty&&(this.flkty.destroy(),this.flkty=null)},methods:{initCarousel:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var n,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.e(78).then(r.t.bind(null,820,7));case 2:n=e.sent,l=n.default,setTimeout((function(){t.flkty=new l(t.$refs.mainCarousel,{cellAlign:"left",contain:!1,pageDots:!1,prevNextButtons:!1}),t.flkty&&(t.flkty.on("change",(function(e){t.$emit("SELECT_IDX",e)})),t.flkty.on("staticClick",(function(e,r,n,l){t.flkty.select(l)})))}),50);case 5:case"end":return e.stop()}}),e)})))()}}}),d=(r(556),r(558),r(20)),component=Object(d.a)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"words-section py-12",class:t.currentIdxColor&&"light"===t.currentIdxColor.theme&&"text-white",style:t.currentIdxColor&&"background: var(--".concat(t.currentIdxColor.key,");")},[e("div",{staticClass:"container-auto"},[e("div",{ref:"mainCarousel",staticClass:"main-carousel"},t._l(t.topics,(function(r,n){return e("h2",{key:n,staticClass:"carousel-cell transition-opacity duration-300 text-8xl sm:text-[10rem] md:text-[12rem] lg:text-[16rem] xl:text-[22rem] 2xl:text-[24rem] leading-[0.9]",class:t.selectedIdx!==n&&"opacity-10"},[t._v("\n "+t._s(r.Title)+"\n ")])})),0)]),t._v(" "),e("div",{staticClass:"mt-6 flex flex-col md:flex-row items-end md:items-start justify-between container-auto space-y-4 md:space-y-0"},[e("div",{staticClass:"base-body-text max-w-[65ch]"},[e("p",{}
1,[t._v(t._s(t.topics[t.selectedIdx].Description))])]),t._v(" "),e("div",{staticClass:"mt-2 controls flex space-x-2",style:"--btn-color: ".concat(t.currentIdxColor&&"light"===t.currentIdxColor.theme?"var(--dark-gray)":"white")},[e("ButtonArrowCarousel",{attrs:{"is-disabled":0===t.selectedIdx,direction:"left"},nativeOn:{click:function(e){return t.flkty.previous()}}}),t._v(" "),e("ButtonArrowCarousel",{attrs:{"is-disabled":t.selectedIdx===t.topics.length-1,direction:"right"},nativeOn:{click:function(e){return t.flkty.next()}}})],1)])])}),[],!1,null,"ead01898",null);e.default=component.exports;installComponents(component,{ButtonArrowCarousel:r(436).default})},637:function(t,e,r){"use strict";r.r(e);var n=r(0),l=r(126),o=n.a.extend({props:{post:{type:Object,required:!0}},computed:{image:function(){var t;return null!==(t=this.post)&&void 0!==t&&t.Thumbnail?Object(l.h)(this.post.Thumbnail):null}}}),c=r(20),component=Object(c.a)(o,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"featured-post isolate min-h-[75vh] flex flex-col justify-end bg-gray-200 text-white pb-6 relative"},[e("div",{staticClass:"absolute inset-0 w-full h-full isolate"},[e("div",{staticClass:"relative h-full w-full bg-black/20 z-20"}),t._v(" "),t.post.Thumbnail?e("BasePicture",{staticClass:"h-full w-full absolute inset-0 object-cover z-10",attrs:{image:t.post.Thumbnail,loading:"lazy"}}):t._e()],1),t._v(" "),e("article",{staticClass:"relative z-10"},[e("div",{staticClass:"container-auto md:flex items-end justify-between space-y-3 md:space-y-0"},[e("div",{staticClass:"space-y-2 w-full"},[t.post.labels&&t.post.labels.data?e("TagsRow",{attrs:{tags:t.post.labels.data}}):t._e(),t._v(" "),t.post.Title?e("h3",{staticClass:"text-xl sm:text-3xl md:text-4xl lg:text-5xl xl:text-6xl md:max-w-[70%]"},[e("nuxt-link",{attrs:{to:"/stories/".concat(t.post.Slug,"/")}},[t._v("\n "+t._s(t.post.Title)+"\n ")])],1):t._e(),t._v(" "),t.post.Slug?e("div",[e("div",{staticClass:"base-button"},[e("span",[t._v("Read more")]),t._v(" "),e("IconArrowRight")],1)]):t._e()],1)])]),t._v(" "),e("nuxt-link",{staticClass:"absolute inset-0 z-10 opacity-0",attrs:{to:"/stories/".concat(t.post.Slug,"/"),"aria-hidden":"true",tabindex:"-1"}},[t._v("\n "+t._s(t.post.Title)+"\n ")])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BasePicture:r(435).default,TagsRow:r(420).default,IconArrowRight:r(419).default})},695:function(t,e,r){"use strict";r(602)},696:function(t,e,r){var n=r(57)((function(i){return i[1]}));n.push([t.i,".story-card .card-title{font-size:1.125rem;font-weight:200;line-height:1.4}@media (min-width:640px){.story-card .card-title{font-size:1.25rem;line-height:1.3}}@media (min-width:768px){.story-card .card-title{font-size:1.5rem;line-height:1.25}}",""]),n.locals={},t.exports=n},825:function(t,e,r){"use strict";r.r(e);r(23),r(21),r(22),r(29),r(18),r(30);var n=r(9),l=r(164),o=r(5),c=(r(34),r(661),r(663),r(42),r(11),r(664),r(35),r(671),r(672),r(673),r(676),r(677),r(678),r(679),r(681),r(683),r(685),r(687),r(688),r(689),r(690),r(691),r(693),r(40),r(41),r(0)),d=r(95),f=r(426),v=r(126),h=r(51);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function x(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?m(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){var e,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(d.a)("/stories-posts",{populate:["labels"],pagination:{limit:-1}});case 2:return e=t.sent,t.next=5,e.data.map((function(t){return t.attributes.labels.data.flat()})).flat();case 5:return r=t.sent,t.abrupt("return",Object(l.a)(new Set(r.map((function(t){return t.attributes.Name})))));case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),y=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){var e,r,n,l=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=l.length>0&&void 0!==l[0]?l[0]:1,r=l.length>1&&void 0!==l[1]?l[1]:{},t.next=4,Object(d.a)("/stories-posts",{populate:["Thumbnail","labels"],filters:x({},r),sort:["Date:Desc"],pagination:{page:e,pageSize:6}});case 4:return n=t.sent,t.abrupt("return",n);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),w=c.a.extend({meta:{nav_text_theme:"light",nav_scrolled_bg:"var(--dark-gray)",nav_scrolled_text_theme:"light"},asyncData:function(){return Object(o.a)(regeneratorRuntime.mark((function t(){var e,r,n,o,c;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=["SEO_Metadata","StoryToTell"],t.next=3,Object(d.a)("/story",{populate:x(x({},Object(d.b)(e)),{},{StorySection:{populate:{selected_stories_post:{populate:["Thumbnail","labels"]},RelatedLabel:{populate:"*"}}}})});case 3:return r=t.sent,t.next=6,y();case 6:return n=t.sent,t.next=9,_();case 9:return o=t.sent,c=[].concat(Object(l.a)(o.map((function(label){return{Name:label}}))),[{Name:"All"}]),t.abrupt("return",{storiesData:r.data.attributes,postsStories:n,filterTags:c});case 12:case"end":return t.stop()}}),t)})))()},data:function(){return{selectedTopicIdx:0,selectedFilterTag:h.d,searchFilterText:"",currentPage:1,state:"idle"}},head:function(){return{title:"Stories",meta:Object(f.b)(this.storiesData.SEO_Metadata,this.$route.path),link:Object(f.a)(this.$route.path)}},computed:{COLORS:function(){return h.c},featuredPost:function(){var t,e,r=this.storiesData.StorySection[this.selectedTopicIdx];return null==r||null===(t=r.selected_stories_post)||void 0===t||null===(e=t.data)||void 0===e?void 0:e.attributes},canLoadMore:function(){var t,e,r=null===(t=this.postsStories)||void 0===t||null===(e=t.meta)||void 0===e?void 0:e.pagination;return!!r&&r.pageCount>r.page}},watch:{selectedFilterTag:function(){this.onFilterChange()},searchFilterText:function(){this.onFilterChange()}},methods:{toImageFormat:function(t){return Object(v.h)(t)},fetchPostsWithParams:function(){var t=arguments,e=this;return Object(o.a)(regeneratorRuntime.mark((function r(){var n,o,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.length>0&&void 0!==t[0]&&t[0],e.state="loading",o={},e.searchFilterText&&(o.Title={$containsi:e.searchFilterText}),e.selectedFilterTag&&e.selectedFilterTag!==h.d&&(o.labels={Name:{$in:e.selectedFilterTag}}),r.next=7,y(e.currentPage,o);case 7:(c=r.sent)&&(n?e.postsStories=c:(e.postsStories.data=[].concat(Object(l.a)(e.postsStories.data),Object(l.a)(c.data)),e.postsStories.meta=c.meta)),e.state="idle";case 10:case"end":return r.stop()}}),r)})))()}
1,loadMore:function(){this.canLoadMore&&"loading"!==this.state&&(this.currentPage++,this.fetchPostsWithParams())},onFilterChange:function(){this.currentPage=1,this.fetchPostsWithParams(!0)}}}),C=w,k=(r(695),r(20)),component=Object(k.a)(C,(function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",[e("div",{staticClass:"min-h-[70vh]"},[e("PageHeroHeader",{staticClass:"bg-dark-gray text-white",attrs:{title:"Stories",subtitle:t.storiesData.Story_DetailSection}}),t._v(" "),t.storiesData.StorySection.length?e("StoriesWordCarousel",{attrs:{"selected-idx":t.selectedTopicIdx,topics:t.storiesData.StorySection},on:{SELECT_IDX:function(e){return t.selectedTopicIdx=e}}}):t._e(),t._v(" "),t.featuredPost?e("StoriesFeaturedPost",{attrs:{post:t.featuredPost}}):t._e(),t._v(" "),t.filterTags?e("FilterTagsSearch",{staticClass:"mt-14 container-auto",attrs:{tags:t.filterTags,"selected-filter-tag":t.selectedFilterTag,"search-filter-text":t.searchFilterText},on:{SELECT_TAG:function(e){t.selectedFilterTag=e},INPUT_TEXT:function(e){t.searchFilterText=e}}}):t._e(),t._v(" "),e("div",{staticClass:"mt-14 sm:container sm:px-6"},[t.postsStories.data&&t.postsStories.data.length?e("div",[e("ul",{staticClass:"grid gap-10 md:grid-cols-2 lg:grid-cols-3"},t._l(t.postsStories.data,(function(t){return e("CardVertical",{key:t.id,staticClass:"story-card",attrs:{tags:t.attributes.labels.data,title:t.attributes.Title,image:t.attributes.Thumbnail,"link-url":"/stories/".concat(t.attributes.Slug,"/")}})})),1),t._v(" "),t.canLoadMore?e("div",{staticClass:"mt-6 sm:mt-8 md:mt-12 text-center"},[e("LoadMoreButton",{nativeOn:{click:function(e){return t.loadMore.apply(null,arguments)}}})],1):t._e()]):e("div",[e("p",[t._v("Oops! There are no results that match your search")])])])],1),t._v(" "),e("SectionCTA",{staticClass:"mt-14 md:mt-24",attrs:{title:t.storiesData.StoryToTell.Title,description:t.storiesData.StoryToTell.Description,image:t.toImageFormat(t.storiesData.StoryToTell.Image),"title-small":!0},scopedSlots:t._u([{key:"btn",fn:function(){return[e("a",{staticClass:"base-button",attrs:{href:t.storiesData.StoryToTell.Link},on:{click:function(e){return t.$fathom.trackGoal("OKVYQZ2M",0)}}},[e("span",[t._v(t._s(t.storiesData.StoryToTell.CTA))]),t._v(" "),e("IconArrowRight")],1)]},proxy:!0}])})],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{PageHeroHeader:r(443).default,StoriesWordCarousel:r(636).default,StoriesFeaturedPost:r(637).default,FilterTagsSearch:r(537).default,CardVertical:r(539).default,LoadMoreButton:r(429).default,IconArrowRight:r(419).default,SectionCTA:r(473).default})}}]);
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.