1(this.webpackJsonpscandipwa=this.webpackJsonpscandipwa||[]).push([[23],{1027:function(e,t,r){"use strict";r.r(t);var a=r(1643);r.d(t,"default",(function(){return a.a}))},1148:function(e,t,r){"use strict";r.r(t),function(e){r.d(t,"CategoriesDispatcher",(function(){return h}));var a=r(3),n=r(6),i=r(19),o=r(17),s=r(4),c=r(5),l=r(29),u=r(24),d=r(1335),p=r(337),h=e.middleware(function(e){Object(s.a)(r,e);var t=Object(c.a)(r);function r(){return Object(a.a)(this,r),t.apply(this,arguments)}return Object(n.a)(r,[{key:"__construct",value:function(){Object(i.a)(Object(o.a)(r.prototype),"__construct",this).call(this,"BlogCategories")}},{key:"onSuccess",value:function(e,t){var r=e.categories;t(Object(p.b)(r))}},{key:"onError",value:function(e,t){var r=e.message;t(Object(l.d)("error","Error fetching Categories!",r))}},{key:"prepareRequest",value:function(e){return d.a.getQuery(e)}}]),r}(e.Extensible(u.a)),"Blog/Store/Categories/Dispatcher/CategoriesDispatcher");t.default=new h}.call(this,r(7).default)},1335:function(e,t,r){"use strict";(function(e){var a=r(3),n=r(6),i=r(4),o=r(5),s=r(9),c=e.middleware(function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){return Object(a.a)(this,r),t.apply(this,arguments)}return Object(n.a)(r,[{key:"getQuery",value:function(){var e=c.itemField(),t=c.pageField();return new s.a("blogCategories").addField(e).addFieldList(t).setAlias("categories")}}],[{key:"itemField",value:function(){var e=[];return e.push("category_id","identifier","title"),new s.a("items").addFieldList(e)}},{key:"pageField",value:function(){return["total_count"]}}]),r}(e.Extensible()),"Blog/Query/BlogCategories/Query/BlogCategoriesQuery");t.a=new c}).call(this,r(7).default)},1336:function(e,t,r){"use strict";(function(e){var a=r(15),n=r(3),i=r(6),o=r(19),s=r(17),c=r(4),l=r(5),u=r(29),d=r(24),p=r(1644),h=r(343),g=e.middleware(function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return Object(i.a)(r,[{key:"__construct",value:function(){Object(o.a)(Object(s.a)(r.prototype),"__construct",this).call(this,"BlogPosts")}},{key:"onSuccess",value:function(e,t){var r=e.posts;t(Object(h.c)(r))}},{key:"onError",value:function(e,t){var r=Object(a.a)(e,1)[0].message;t(Object(h.b)(r)),t(Object(u.d)("error","Error fetching Posts!",r))}},{key:"prepareRequest",value:function(e){return p.a.getQuery(e)}}]),r}(e.Extensible(d.a)),"Blog/Store/Posts/Dispatcher/PostsDispatcher");t.a=new g}).call(this,r(7).default)},1337:function(e,t,r){"use strict";(function(e){var a,n,i=r(3),o=r(6),s=r(19),c=r(17),l=r(4),u=r(5),d=r(0),p=r.n(d),h=r(46),g=(r(48),r(2264)),f=r(361),b=(r(2269),r(11).checkBEMProps),m=e.middleware((n=a=function(e){Object(l.a)(r,e);var t=Object(u.a)(r);function r(){return Object(i.a)(this,r),t.apply(this,arguments)}return Object(o.a)(r,[{key:"__construct",value:function(e){Object(s.a)(Object(c.a)(r.prototype),"__construct",this).call(this,e),this.state={searchCriteria:"",isSearchVisible:!1},this.onSearchBarChange=this.onSearchBarChange.bind(this),this.onSearchOutsideClick=this.onSearchOutsideClick.bind(this),this.onSearchBarClick=this.onSearchBarClick.bind(this)}},{key:"onSearchOutsideClick",value:function(){var e=this.props,t=e.hideActiveOverlay,r=e.goToPreviousNavigationState;this.state.isSearchVisible&&(t(),r(),this.setState({isSearchVisible:!1}))}},{key:"setHeaderState",value:function(){var e=this.props.setHeaderState;e({name:f.a})}},{key:"onSearchBarClick",value:function(){var e=this.props.showOverlay;this.state.isSearchVisible||(this.setState({isSearchVisible:!0}),e(f.a),this.setHeaderState())}},{key:"onSearchBarChange",value:function(e){var t=e.target.value;this.setState({searchCriteria:t})}},{key:"render",value:function(){var e=this.state,t=e.searchCriteria,r=e.isSearchVisible,a=this.props,n=a.isSearchBarEnabled,i=a.mix;return n?b(p.a,"div",{mix:i},b(p.a,h.a,{onClick:this.onSearchOutsideClick},b(p.a,"div",{block:"BlogSearchBar",elem:"SearchWrapper","aria-label":"Search"},b(p.a,"div",{block:"BlogSearchBar",elem:"Search"},b(p.a,"input",{id:"posts-search-field",placeholder:"Search",block:"BlogSearchBar",elem:"SearchField",onClick:this.onSearchBarClick,onChange:this.onSearchBarChange,value:t,mods:{type:"searchField"}})),b(p.a,g.a,{searchCriteria:t,onSearchOutsideClick:this.onSearchOutsideClick,isSearchVisible:r})))):null}}]),r}(e.Extensible(d.PureComponent)),a.defaultProps={mix:{}},n),"Blog/Component/BlogSearchBar/Component/BlogSearchBarComponent");t.a=m}).call(this,r(7).default)},1643:function(e,t,r){"use strict";(function(e){var a,n,i=r(1),o=r(3),s=r(6),c=r(19),l=r(17),u=r(4),d=r(5),p=r(0),h=r.n(p),g=r(12),f=r(144),b=r(59),m=r(51),v=r(27),C=r(26),k=r(2253),y=r(2254),O=r(2255),B=Prom
1ise.all([r.e(42),r.e(7),r.e(16)]).then(r.bind(null,995)),S=e.middleware((function(e){return{posts:e.PostsReducer.posts,isLoaded:e.PostsReducer.isLoaded,categories:e.CategoriesReducer.categories,posts_per_page:e.ConfigReducer.blog_posts_per_page,blogTitle:e.ConfigReducer.mfblog_index_page_title}}),"Blog/Route/PostsListing/Container/mapStateToProps"),P=e.middleware((function(e){return{requestPosts:function(t){return y.a.handleData(e,t)},requestCategories:function(t){return k.a.handleData(e,t)},updateBreadcrumbs:function(t){return B.then((function(r){return r.default.update(t,e)}))},updateMeta:function(t){return e(Object(f.b)(t))},setHeaderState:function(t){return e(Object(b.c)(m.b,t))}}}),"Blog/Route/PostsListing/Container/mapDispatchToProps"),j=r(11).checkBEMProps,_=e.middleware((n=a=function(e){Object(u.a)(r,e);var t=Object(d.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}return Object(s.a)(r,[{key:"componentDidMount",value:function(){this.getCategoryFromUrl()?this.updateCategory():this.requestPosts(),this.requestCategories(),window.scrollTo(0,0)}},{key:"componentDidUpdate",value:function(e){var t=this.state.category,r=this.props.posts_per_page,a=e.posts_per_page;if(this.getCategoryFromUrl()!==t&&this.updateCategory(),r!==a){var n=this.options.postsOptions;this.options={postsOptions:Object(i.a)(Object(i.a)({},n),{},{pageSize:r})},this.requestPosts()}}},{key:"__construct",value:function(e){Object(c.a)(Object(l.a)(r.prototype),"__construct",this).call(this,e);var t=this.props.posts_per_page;this.state={category:""},this.options={postsOptions:{pageSize:t,getDescription:!0,getMedia:!0}},this.containerFunctions={requestPosts:this.requestPosts.bind(this),requestCategories:this.requestCategories.bind(this),loadPage:this.loadPage.bind(this),getPageNumberFromUrl:this.getPageNumberFromUrl.bind(this),getCategoryFromUrl:this.getCategoryFromUrl.bind(this),onBackButtonClick:this.onBackButtonClick.bind(this)}}},{key:"onBackButtonClick",value:function(){v.a.goBack()}},{key:"getCategoryFromUrl",value:function(){return this.props.identifier||""}},{key:"getPageNumberFromUrl",value:function(){return Object(C.d)("page",location)||""}},{key:"updateCategory",value:function(){var e=this.props.identifier,t=e?{filter:{category_id:{eq:e}}}:{};this.setState({category:e}),this.requestPosts(t)}},{key:"requestPosts",value:function(e){var t=this.props.requestPosts,r=this.options.postsOptions;!this.getPageNumberFromUrl()||(null===r||void 0===r?void 0:r.currentPage)?t(Object(i.a)(Object(i.a)({},r),e)):t(Object(i.a)(Object(i.a)(Object(i.a)({},r),e),{},{currentPage:this.getPageNumberFromUrl()}))}},{key:"requestCategories",value:function(){var e=this.props.requestCategories;e()}},{key:"loadPage",value:function(e){var t=this.options.postsOptions,r=this.props.posts_per_page,a=this.state.category;this.options={postsOptions:Object(i.a)(Object(i.a)({},t),{},{pageSize:r,currentPage:e||1})};var n=a?{filter:{category_id:{eq:a}}}:{};this.requestPosts(n)}},{key:"render",value:function(){var e=this.state.category,t=this.options.postsOptions.pageSize;return j(h.a,O.a,Object.assign({},this.props,this.containerFunctions,{category:e,pageSize:t}))}}]),r}(e.Extensible(p.PureComponent)),a.defaultProps={blog_category_id:"",identifier:""},n),"Blog/Route/PostsListing/Container/PostsListingContainer");t.a=Object(g.b)(S,P)(_)}).call(this,r(7).default)},1644:function(e,t,r){"use strict";(function(e){var a=r(10),n=r(1),i=r(3),o=r(6),s=r(4),c=r(5),l=r(9),u=e.middleware(function(e){Object(s.a)(r,e);var t=Object(c.a)(r);function r(){return Object(i.a)(this,r),t.apply(this,arguments)}return Object(o.a)(r,[{key:"getQuery",value:function(e){var t=this.itemField(e),r=this.pageField(),a=e.filter,i=e.sort,o=Object(n.a)(Object(n.a)({},{pageSize:10,currentPage:1,sort:"DESC"}),e),s=new l.a("blogPosts").addArgument("pageSize","Int",o.pageSize).addArgument("currentPage","Int",o.currentPage).addArgument("sort","[String]",o.sort).addField(t).addFieldList(r).setAlias("posts");return a&&s.addArgument("filter","BlogPostsFilterInput",a),i&&s.addArgument("sort","[String]",i),s}}
1,{key:"itemField",value:function(e){var t=e.getBasicDetails,r=void 0===t||t,n=e.getDescription,i=e.getMedia,o=[],s=this.authorField();return r&&o.push.apply(o,["post_id","identifier","title","formatted_publish_time"].concat(Object(a.a)(this.metaFields()))),n&&o.push("short_content",s,"content"),i&&o.push("og_image","first_image","featured_image","featured_mobile_image","media_gallery"),new l.a("items").addFieldList(o)}},{key:"pageField",value:function(){return["total_count","total_pages","header_image"]}},{key:"authorField",value:function(){return new l.a("author").addField("name")}},{key:"metaFields",value:function(){return["meta_title","meta_description","meta_keywords"]}}]),r}(e.Extensible()),"Blog/Query/BlogPosts/Query/BlogPostsQuery");t.a=new u}).call(this,r(7).default)},1645:function(e,t,r){"use strict";(function(e){var a=r(12),n=r(2257),i=e.middleware((function(e){return{categories:e.CategoriesReducer.categories.items,isLoaded:e.CategoriesReducer.isLoaded}}),"Blog/Component/BlogCategories/Container/mapStateToProps"),o=e.middleware((function(e){return{}}),"Blog/Component/BlogCategories/Container/mapDispatchToProps");t.a=Object(a.b)(i,o)(n.a)}).call(this,r(7).default)},1646:function(e,t,r){"use strict";(function(e,a){var n=r(3),i=r(6),o=r(4),s=r(5),c=r(0),l=r(12),u=r(2261),d=e.middleware((function(e){return{device:e.ConfigReducer.device}}),"Blog/Component/BlogPostCard/Container/mapStateToProps"),p=e.middleware((function(){return{}}),"Blog/Component/BlogPostCard/Container/mapDispatchToProps"),h=r(11).checkBEMProps,g=e.middleware(function(e){Object(o.a)(r,e);var t=Object(s.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return Object(i.a)(r,[{key:"render",value:function(){return h(a,u.a,this.props)}}]),r}(e.Extensible(c.PureComponent)),"Blog/Component/BlogPostCard/Container/BlogPostCardContainer");t.a=Object(l.b)(d,p)(g)}).call(this,r(7).default,r(0))},1647:function(e,t,r){"use strict";(function(e){var a=r(12),n=r(59),i=r(51),o=r(37),s=r(1337),c=e.middleware((function(e){return{isSearchBarEnabled:!!e.ConfigReducer.mfblog_sidebar_search_enabled}}),"Blog/Component/BlogSearchBar/Container/mapStateToProps"),l=e.middleware((function(e){return{hideActiveOverlay:function(){return e(Object(o.d)())},showOverlay:function(t){return e(Object(o.f)(t))},setHeaderState:function(t){return e(Object(n.c)(i.b,t))},goToPreviousNavigationState:function(){return e(Object(n.d)(i.b))}}}),"Blog/Component/BlogSearchBar/Container/mapDispatchToProps");t.a=Object(a.b)(c,l)(s.a)}).call(this,r(7).default)},1648:function(e,t,r){"use strict";(function(e,a){var n=r(3),i=r(6),o=r(8),s=r(4),c=r(5),l=r(0),u=r(12),d=r(37),p=r(2265),h=r(2266),g=e.middleware((function(e){return{searchResults:e.PostsSearchReducer.postsInSearch,isLoading:e.PostsSearchReducer.isLoading}}),"Blog/Component/BlogSearchOverlay/Container/mapStateToProps"),f=e.middleware((function(e){return{hideActiveOverlay:function(){return e(Object(d.d)())},makeSearchRequest:function(t){return p.a.handleData(e,t)},clearSearchResults:function(){return p.a.clearSearchResults(e)}}}),"Blog/Component/BlogSearchOverlay/Container/mapDispatchToProps"),b=r(11).checkBEMProps,m=e.middleware(function(e){Object(s.a)(r,e);var t=Object(c.a)(r);function r(){var e;Object(n.a)(this,r);for(var a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).containerFunctions={makeSearchRequest:e.makeSearchRequest.bind(Object(o.a)(e))},e}return Object(i.a)(r,[{key:"makeSearchRequest",value:function(){var e=this.props,t=e.makeSearchRequest,r=e.clearSearchResults,a=e.searchCriteria;a&&(r(),t({filter:"{ search: { eq: ".concat(encodeURIComponent(a)," } }"),getMedia:!0}))}},{key:"render",value:function(){return b(a,h.a,Object.assign({},this.props,this.containerFunctions))}}]),r}(e.Extensible(l.PureComponent)),"Blog/Component/BlogSearchOverlay/Container/BlogSearchOverlayContainer");t.a=Object(u.b)(g,f)(m)}).call(this,r(7).default,r(0))},1649:function(e,t,r){"use strict";(function(e){var a=r(3),n=r(6),i=r(19),o=r(17),s=r(4),c=r(5),l=r(24),u=r(1644),d=r(292),p=e.middleware(function(e){Object(s.a)(r,e);var t=Object(c.a)(r);function r(){return Object(a.a)(this,r),t.apply(this,arguments)}return Object(n.a)(r,[{key:"__construct",value:function(){Object(i.a)(Object(o.a)(r.prototype),"__construct",this).call(this,"BlogPostsSearch")}},{key:"onSuccess",value:function(e,t){var r=e.posts.items;t(Object(d.c)(!1)),t(Object(d.d)(r))}},{key:"onError",value:function(e,t){t(Object(d.c)(!1))}},{key:"clearSearchResults",value:function(e){e(Object(d.d)([]))}},{key:"prepareRequest",value:function(e,t){return t(Object(d.c)(!0)),u.a.getQuery(e)}}]),r}(e.Extensible(l.a)),"Blog/Store/PostsSearch/Dispatcher/PostsSearchDispat
1cher");t.a=new p}).call(this,r(7).default)},1650:function(e,t,r){"use strict";(function(e,a,n){var i=r(3),o=r(6),s=r(4),c=r(5),l=r(0),u=r(25),d=r(2271),p=r(2274),h=(r(2275),r(11).checkBEMProps),g=e.middleware(function(e){Object(s.a)(r,e);var t=Object(c.a)(r);function r(){return Object(i.a)(this,r),t.apply(this,arguments)}return Object(o.a)(r,[{key:"getSocialButtons",value:function(){return Object.values(p.a).map((function(e){return h(a,u.a,{to:"/",block:"BlogSocialLinks",elem:"SocialButtons",id:e},h(a,"div",{block:"BlogSocialLinks",elem:e}))}))}},{key:"render",value:function(){return h(a,"div",{block:"BlogSocialLinks",elem:"SocialBlock"},h(a,"h4",{block:"BlogSocialLinks",elem:"SocialTitle"},n("Follow us")),h(a,"div",{block:"BlogSocialLinks",elem:"Buttons"},this.getSocialButtons(),h(a,d.a,null)))}}]),r}(e.Extensible(l.PureComponent)),"Blog/Component/BlogSocialLinks/Component/BlogSocialLinksComponent");t.a=g}).call(this,r(7).default,r(0),r(16).default)},1651:function(e,t,r){"use strict";(function(e,a){var n=r(3),i=r(6),o=r(4),s=r(5),c=r(0),l=r(12),u=r(2272),d=e.middleware((function(e){return{isRssEnabled:!!e.ConfigReducer.mfblog_sidebar_rss_feed_enabled}}),"Blog/Component/BlogRss/Container/mapStateToProps"),p=e.middleware((function(){return{}}),"Blog/Component/BlogRss/Container/mapDispatchToProps"),h=r(11).checkBEMProps,g=e.middleware(function(e){Object(o.a)(r,e);var t=Object(s.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return Object(i.a)(r,[{key:"containerProps",value:function(){return{isRssEnabled:this.props.isRssEnabled}}},{key:"render",value:function(){return h(a,u.a,this.containerProps())}}]),r}(e.Extensible(c.PureComponent)),"Blog/Component/BlogRss/Container/BlogRssContainer");t.a=Object(l.b)(d,p)(g)}).call(this,r(7).default,r(0))},1656:function(e,t,r){"use strict";function a(e){var t=e.identifier;return"/blog/post/".concat(t)}r.d(t,"a",(function(){return a}))},2253:function(e,t,r){"use strict";r(362);var a=r(1148);r.d(t,"a",(function(){return a.default}));r(337)},2254:function(e,t,r){"use strict";r(363);var a=r(1336);r.d(t,"a",(function(){return a.a}));r(343)},2255:function(e,t,r){"use strict";(function(e,a,n){var i,o,s=r(10),c=r(3),l=r(6),u=r(4),d=r(5),p=r(0),h=r(358),g=r(77),f=(r(48),r(2256)),b=r(2260),m=r(2263),v=r(2270),C=r(517),k=(r(2276),r(49)),y=r(74),O=r(11).checkBEMProps,B=e.middleware((o=i=function(e){Object(u.a)(r,e);var t=Object(d.a)(r);function r(){return Object(c.a)(this,r),t.apply(this,arguments)}return Object(l.a)(r,[{key:"componentDidMount",value:function(){this.updateMeta(),this.setHeaderState()}},{key:"componentDidUpdate",value:function(){this.setHeaderState()}},{key:"updateBreadcrumbs",value:function(){var e=this.props.updateBreadcrumbs;e([].concat(Object(s.a)(this.getCategoryBreadcrumb()),[{url:"/blog",name:a("Blog")}]))}},{key:"updateMeta",value:function(){var e=this.props.updateMeta;e({title:a("Blog"),canonical_url:this.getCanonicalUrl()})}},{key:"renderHeaderImage",value:function(){var e=this.props.posts.header_image;return O(n,"div",{block:"PostsListing",elem:"HeaderImage"},O(n,k.a,{src:Object(y.b)(e,"image/"),alt:"header_image",ratio:"16x9",block:"PostsList",elem:"Image"}))}},{key:"renderTitle",value:function(){var e=this.props.blogTitle;this.updateBreadcrumbs();var t=window.location.href.replace(/\/$/,"").split("/");return C.b.includes(t[t.length-1])?O(n,"h1",{block:"PostsListing",elem:"Title"},a("Webinars")):O(n,"h1",{block:"PostsListing",elem:"Title"},!e&&(this.getCategoryTitle()||a("Blog")),!!e&&e)}},{key:"getCanonicalUrl",value:function(){var e=this.props.category,t=window.location.origin;return e?"".concat(t,"/blog/").concat(e):"".concat(t,"/blog")}},{key:"getCategoryTitle",value:function(){var e=this.props,t=e.category;return(e.categories.items.find((function(e){return e.identifier===t}))||{}).title}},{key:"getCategoryBreadcrumb",value:function(){var e=this.props,t=e.categories.count,r=e.category,a=this.getCategoryTitle()||"";return t&&a?[{name:a}]:!t&&r?[{name:""}]:[]}},{key:"setHeaderState",value:function(){var e=this.props,t=e.setHeaderState,r=e.history;t({name:C.a,title:"Blog",onBackClick:function(){return r.goBack()}})}},{key:"renderGrid",value:function(){var e=this.props,t=e.isLoaded,r=e.posts.items,i=e.pageSize;return t&&r.length?r.map((function(e){return O(n,b.a,{key:e.post_id,block:"BlogPostCard",post:e})})):t?O(n,"span",null,a("No posts in this category")):Array.from({length:i},(function(e,t){return O(n,b.a,{key:t,block:"BlogPostCard",isPlaceholder:!0})}))}},{key:"renderPagination",value:function(){var e=this.props,t=e.isLoading,r=e.posts_per_page,a=e.loadPage,i=e.posts,o=i.count,s=i.items;return o<=r||!s?null:O(n,h.a,{isLoading:t,totalPages:Math.ceil(o/r),onPageSelect:a})}},{key:"renderPostsListingHeader",value:function(){var e=this.props.onBackButtonClick;return O(n,"div",{block:"PostsListing",elem:"Header"},O(n,"div",{block:"PostsListing",elem:"Navigation"},O(n,"button",{onClick:e,block:"PostsListing",elem:"ToHomepage"}),this.renderTitle()),this.renderHeaderImage())}},{key:"renderPostsListingSidebar",value:function(){var e=this.props.getCategoryFromUrl;return O(n,"div",{block:"PostsListing",elem:"Sidebar"},O(n,m.a,{mix:{block:"PostsListing",elem:"Search"}}),O(n,f.a,{getCategoryFromUrl:e()}),O(n,v.a,null))}},{key:"render",value:function(){return O(n,"main",{block:"PostsListing"},O(n,g.a,{label:"PostsListing"},this.renderPostsListingHeader(),O(n,"div",{block:"PostsListing",elem:"ColumnWrapper"},this.renderPostsListingSidebar(),O(n,"div",{block:"PostsListing",elem:"Grid"},this.renderGrid(),this.renderPagination()))))}}]),r}
1(e.Extensible(p.PureComponent)),i.defaultProps={isLoaded:!1,blogTitle:null},o),"Blog/Route/PostsListing/Component/PostsListingComponent");t.a=B}).call(this,r(7).default,r(16).default,r(0))},2256:function(e,t,r){"use strict";var a=r(1645);r.d(t,"a",(function(){return a.a}))},2257:function(e,t,r){"use strict";(function(e,a){var n,i,o=r(3),s=r(6),c=r(4),l=r(5),u=r(0),d=r.n(u),p=r(25),h=r(56),g=r(760),f=r(2258),b=(r(2259),r(11).checkBEMProps),m=e.middleware((i=n=function(e){Object(c.a)(r,e);var t=Object(l.a)(r);function r(){var e;Object(o.a)(this,r);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(e=t.call.apply(t,[this].concat(i))).renderCategory=function(t,r){var n=t.title,i=t.identifier,o=e.props.getCategoryFromUrl;return b(d.a,"div",{block:"BlogCategories",elem:"Category",mods:{isSelected:o===i},key:r},b(d.a,p.a,{to:{pathname:"/blog/post/".concat(i),state:{MF_BLOG_CATEGORY:g.MF_BLOG_CATEGORY}},title:a("View %s",n)},b(d.a,"h3",{block:"BlogCategories",elem:"CategoryTitle"},b(d.a,h.a,{mix:{block:"BlogCategories",elem:"CategoryTitlePlaceholder"},content:n,length:"long"}))))},e}return Object(s.a)(r,[{key:"renderTitle",value:function(){return b(d.a,"h3",{block:"BlogCategories",elem:"Title"},a("Categories"))}},{key:"renderContent",value:function(){var e=this,t=this.props,r=t.categories,n=t.isLoaded,i={};return n?n&&0===r.length?a("No categories"):r.map(this.renderCategory):Array(f.a).fill().map((function(t,r){return e.renderCategory(i,r)}))}},{key:"render",value:function(){return b(d.a,"div",{block:"BlogCategories",elem:"Wrapper"},this.renderTitle(),b(d.a,"div",{block:"BlogCategories",elem:"Categories"},this.renderContent()))}}]),r}(e.Extensible(u.PureComponent)),n.defaultProps={categories:{},isLoaded:!1},i),"Blog/Component/BlogCategories/Component/BlogCategoriesComponent");t.a=m}).call(this,r(7).default,r(16).default)},2258:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var a=3},2259:function(e,t,r){},2260:function(e,t,r){"use strict";var a=r(1646);r.d(t,"a",(function(){return a.a}))},2261:function(e,t,r){"use strict";(function(e,a,n){var i,o,s=r(3),c=r(6),l=r(4),u=r(5),d=r(0),p=r(67),h=r(49),g=r(25),f=(r(40),r(1656)),b=(r(2262),r(11).checkBEMProps),m=e.middleware((o=i=function(e){Object(l.a)(r,e);var t=Object(u.a)(r);function r(){return Object(s.a)(this,r),t.apply(this,arguments)}return Object(c.a)(r,[{key:"renderImage",value:function(){var e=this.props,t=e.device.isMobile,r=e.post,i=r.post_id,o=r.identifier,s=r.featured_image,c=r.featured_mobile_image,l=r.title,u=e.post,d=t&&c?c:s;return d?b(a,g.a,{to:{pathname:Object(f.a)(u),state:{blog_post:{post_id:i,identifier:o}}},title:n("View %s",l),mix:{block:"BlogPostCard",elem:"ImageWrapper"}},b(a,h.a,{mix:{block:"BlogPostCard",elem:"Image"},ratio:"square",alt:"".concat(l," featured image"),src:d})):null}},{key:"renderTitle",value:function(){var e=this.props,t=e.post.title,r=e.post;return t?b(a,g.a,{to:Object(f.a)(r)},b(a,"div",{block:"BlogPostCard",elem:"Title"},t)):null}},{key:"renderDescription",value:function(){var e=this.props.post.short_content;return e?b(a,p.a,{content:e}):null}},{key:"renderData",value:function(){var e=this.props.post.formatted_publish_time;return e?b(a,"div",{block:"BlogPostCard",elem:"Data"},e):null}},{key:"renderContents",value:function(){var e=this.props,t=e.post,r=e.post,i=r.post_id,o=r.identifier;return this.props.isPlaceholder?null:b(a,"div",{block:"BlogPostCard",elem:"ContentWrapper",mods:{expand:!0}},this.renderImage(),b(a,"div",{block:"BlogPostCard",elem:"Details"},this.renderTitle(),b(a,"div",{block:"BlogPostCard",elem:"DescriptionWrapper"},this.renderDescription(),b(a,"div",{block:"BlogPostCard",elem:"DescriptionWrapperBorder"})),b(a,"div",{block:"BlogPostCard",elem:"FooterWrapper"},b(a,g.a,{to:{pathname:Object(f.a)(t),state:{blog_post:{post_id:i,identifier:o}}}},b(a,"div",{block:"BlogPostCard",elem:"ReadMore"},n("Read more"))),this.renderData())))}},{key:"render",value:function(){var e=this.props,t=e.isPlaceholder,r=e.isCompactOnMobile;return b(a,"div",{block:"BlogPostCard",mods:{isLoading:t,isCompactOnMobile:r}},this.renderContents())}}]),r}(e.Extensible(d.PureComponent)),i.defaultProps={post:!1,isPlaceholder:!1,isCompactOnMobile:!1},o),"Blog/Component/BlogPostCard/Component/BlogPostCardComponent");t.a=m}).call(this,r(7).default,r(0),r(16).default)},2262:function(e,t,r){},2263:function(e,t,r){"use strict";var a=r(1647);r.d(t,"a",(function(){return a.a}));r(1337)},2264:function(e,t,r){"use strict";var a=r(1648);r.d(t,"a",(function(){return a.a}))},2265:function(e,t,r){"use strict";r(292),r(365);var a=r(1649);r.d(t,"a",(function(){return a.a}))},2266:function(e,t,r){"use strict";(function(e,a){var n,i,o=r(3),s=r(6),c=r(19),l=r(17),u=r(4),d=r(5),p=r(0),h=r.n(p),g=r(49),f=r(25),b=r(119),m=r(56),v=r(1656),C=r(361),k=r(2267),y=(r(2268),r(11).checkBEMProps),O=e.middleware((i=n=function(e){Object(u.a)(r,e);var t=Object(d.a)(r);function r(){return Object(o.a)(this,r),t.apply(this,arguments)}
1return Object(s.a)(r,[{key:"componentDidUpdate",value:function(e){var t=this,r=e.searchCriteria,a=this.props,n=a.searchCriteria,i=a.clearSearchResults,o=a.makeSearchRequest;this.timeout&&clearTimeout(this.timeout),n!==r&&(this.timeout=setTimeout((function(){t.timeout=null,i(),o()}),k.b))}},{key:"__construct",value:function(e){Object(c.a)(Object(l.a)(r.prototype),"__construct",this).call(this,e),this.renderSearchItem=this.renderSearchItem.bind(this)}},{key:"renderSearchItemContent",value:function(e){return y(h.a,"h4",{block:"BlogSearchOverlay",elem:"Title",mods:{isLoaded:!!name}},y(h.a,m.a,{content:e,length:"medium"}))}},{key:"renderSearchItem",value:function(e,t){var r=this.props.onSearchOutsideClick,n=e.title,i=e.first_image;return y(h.a,"li",{block:"BlogSearchOverlay",elem:"Item",key:t},y(h.a,f.a,{block:"BlogSearchOverlay",elem:"Link",to:Object(v.a)(e),onClick:r},y(h.a,"figure",{block:"BlogSearchOverlay",elem:"Wrapper"},y(h.a,g.a,{src:i,ratio:"16x9",alt:a("Product %s thumbnail.",n),isPlaceholder:!i}),y(h.a,"figcaption",{block:"BlogSearchOverlay",elem:"Content"},this.renderSearchItemContent(n)))))}},{key:"renderSearchCriteria",value:function(){var e=this.props.searchCriteria;return y(h.a,"p",{block:"BlogSearchOverlay",elem:"Criteria",mods:{isVisible:!!e}},a("Results for:"),y(h.a,"strong",null,e))}},{key:"renderNoSearchCriteria",value:function(){return y(h.a,"p",null,a("Start typing to search posts!"))}},{key:"renderNoResults",value:function(){return y(h.a,"p",null,a("No results found!"))}},{key:"renderSearchResults",value:function(){var e=this.props,t=e.searchCriteria,r=e.searchResults,a=e.isLoading;if(!t)return this.renderNoSearchCriteria();if(!r.length&&!a&&!this.timeout)return this.renderNoResults();var n=a||this.timeout?Array(k.a).fill({}):r;return y(h.a,"ul",null,n.map(this.renderSearchItem))}},{key:"render",value:function(){return y(h.a,b.a,{id:C.a,mix:{block:"BlogSearchOverlay"}},this.renderSearchCriteria(),y(h.a,"article",{block:"BlogSearchOverlay",elem:"Results"},this.renderSearchResults()))}}]),r}(e.Extensible(p.PureComponent)),n.defaultProps={searchCriteria:""},i),"Blog/Component/BlogSearchOverlay/Component/BlogSearchOverlayComponent");t.a=O}).call(this,r(7).default,r(16).default)},2267:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return n}));var a=500,n=4},2268:function(e,t,r){},2269:function(e,t,r){},2270:function(e,t,r){"use strict";var a=r(1650);r.d(t,"a",(function(){return a.a}))},2271:function(e,t,r){"use strict";var a=r(1651);r.d(t,"a",(function(){return a.a}))},2272:function(e,t,r){"use strict";(function(e,a){var n=r(3),i=r(6),o=r(4),s=r(5),c=r(0),l=r(25),u=r(2273),d=r(11).checkBEMProps,p=e.middleware(function(e){Object(o.a)(r,e);var t=Object(s.a)(r);function r(){return Object(n.a)(this,r),t.apply(this,arguments)}return Object(i.a)(r,[{key:"render",value:function(){return this.props.isRssEnabled?d(a,l.a,{block:"BlogSocialLinks",elem:"SocialButtons",to:u.a,target:"_blank"},d(a,"div",{block:"BlogSocialLinks",elem:"Rss"})):null}}]),r}(e.Extensible(c.PureComponent)),"Blog/Component/BlogRss/Component/BlogRssComponent");t.a=p}).call(this,r(7).default,r(0))},2273:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var a="/blog/rss/feed"},2274:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var a={facebook:"Facebook"}},2275:function(e,t,r){},2276:function(e,t,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.