@times-components/ts-slices 1.9.23 → 1.10.1-alpha.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [1.10.0](https://github.com/newsuk/times-components/compare/@times-components/ts-slices@1.9.23...@times-components/ts-slices@1.10.0) (2024-12-02)
7
+
8
+
9
+ ### Features
10
+
11
+ * **TMRS-482:** add CategorisedArticles ([#3976](https://github.com/newsuk/times-components/issues/3976)) ([164ee6a](https://github.com/newsuk/times-components/commit/164ee6ae81516489bd6d5afb8e7289104c65720a))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [1.9.23](https://github.com/newsuk/times-components/compare/@times-components/ts-slices@1.9.22...@times-components/ts-slices@1.9.23) (2024-10-14)
7
18
 
8
19
  **Note:** Version bump only for package @times-components/ts-slices
@@ -3,7 +3,7 @@ import { resizeImage } from '../../../../utils/resizeImage';
3
3
  import { LazyContainer, BackgroundImage } from './styles';
4
4
  export const LazyImage = ({ url, alt, isRoundal, isBackground }) => {
5
5
  const ref = React.createRef();
6
- const [src, setSrc] = useState();
6
+ const [src, setSrc] = useState(url);
7
7
  useEffect(() => {
8
8
  if ('IntersectionObserver' in window) {
9
9
  const observer = new IntersectionObserver(entries => entries.forEach(e => {
@@ -29,4 +29,4 @@ export const LazyImage = ({ url, alt, isRoundal, isBackground }) => {
29
29
  }, [url, ref]);
30
30
  return (React.createElement(LazyContainer, { visible: src ? true : false, isRoundal: isRoundal }, isBackground ? (React.createElement(BackgroundImage, { src: src, ref: ref, role: "img", "aria-label": alt })) : (React.createElement("img", { src: src, alt: alt, ref: ref }))));
31
31
  };
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGF6eUltYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvZWxlbWVudHMvSW1hZ2UvTGF6eUltYWdlL0xhenlJbWFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLE1BQU0sT0FBTyxDQUFDO0FBRW5ELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUU1RCxPQUFPLEVBQUUsYUFBYSxFQUFFLGVBQWUsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUUxRCxNQUFNLENBQUMsTUFBTSxTQUFTLEdBS2pCLENBQUMsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsRUFBRSxFQUFFO0lBQzdDLE1BQU0sR0FBRyxHQUFzQyxLQUFLLENBQUMsU0FBUyxFQUFFLENBQUM7SUFFakUsTUFBTSxDQUFDLEdBQUcsRUFBRSxNQUFNLENBQUMsR0FBRyxRQUFRLEVBQVUsQ0FBQztJQUV6QyxTQUFTLENBQ1AsR0FBRyxFQUFFO1FBQ0gsSUFBSSxzQkFBc0IsSUFBSSxNQUFNLEVBQUU7WUFDcEMsTUFBTSxRQUFRLEdBQUcsSUFBSSxvQkFBb0IsQ0FDdkMsT0FBTyxDQUFDLEVBQUUsQ0FDUixPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxFQUFFO2dCQUNsQixJQUFJLENBQUMsQ0FBQyxjQUFjLEVBQUU7b0JBQ3BCLFFBQVEsQ0FBQyxVQUFVLEVBQUUsQ0FBQztvQkFFdEIsSUFBSSxHQUFHLElBQUksR0FBRyxDQUFDLE9BQU8sRUFBRTt3QkFDdEIsTUFBTSxLQUFLLEdBQUcsR0FBRyxDQUFDLE9BQU8sQ0FBQyxXQUFXLENBQUM7d0JBQ3RDLE1BQU0sTUFBTSxHQUFxQixJQUFJLEtBQUssRUFBRSxDQUFDO3dCQUM3QyxNQUFNLENBQUMsTUFBTSxHQUFHLEdBQUcsRUFBRSxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7d0JBQ3pDLE1BQU0sQ0FBQyxHQUFHLEdBQUcsV0FBVyxDQUFDLEdBQUcsRUFBRSxLQUFLLENBQUMsQ0FBQztxQkFDdEM7aUJBQ0Y7WUFDSCxDQUFDLENBQUMsRUFDSixFQUFFLFVBQVUsRUFBRSxNQUFNLEVBQUUsQ0FDdkIsQ0FBQztZQUVGLElBQUksR0FBRyxDQUFDLE9BQU8sRUFBRTtnQkFDZixRQUFRLENBQUMsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQzthQUMvQjtZQUVELE9BQU8sR0FBRyxFQUFFLENBQUMsUUFBUSxDQUFDLFVBQVUsRUFBRSxDQUFDO1NBQ3BDO1FBRUQsSUFBSSxHQUFHLElBQUksR0FBRyxDQUFDLE9BQU8sRUFBRTtZQUN0QixNQUFNLENBQUMsV0FBVyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQyxDQUFDLENBQUM7U0FDbkQ7UUFFRCxPQUFPO0lBQ1QsQ0FBQyxFQUNELENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUNYLENBQUM7SUFFRixPQUFPLENBQ0wsb0JBQUMsYUFBYSxJQUFDLE9BQU8sRUFBRSxHQUFHLENBQUMsQ0FBQyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsS0FBSyxFQUFFLFNBQVMsRUFBRSxTQUFTLElBQzdELFlBQVksQ0FBQyxDQUFDLENBQUMsQ0FDZCxvQkFBQyxlQUFlLElBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLElBQUksRUFBQyxLQUFLLGdCQUFhLEdBQUcsR0FBSSxDQUNwRSxDQUFDLENBQUMsQ0FBQyxDQUNGLDZCQUFLLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxHQUFJLENBQ3RDLENBQ2EsQ0FDakIsQ0FBQztBQUNKLENBQUMsQ0FBQyJ9
32
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTGF6eUltYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvZWxlbWVudHMvSW1hZ2UvTGF6eUltYWdlL0xhenlJbWFnZS50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEVBQUUsRUFBRSxRQUFRLEVBQUUsU0FBUyxFQUFFLE1BQU0sT0FBTyxDQUFDO0FBRW5ELE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQUU1RCxPQUFPLEVBQUUsYUFBYSxFQUFFLGVBQWUsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUUxRCxNQUFNLENBQUMsTUFBTSxTQUFTLEdBS2pCLENBQUMsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLFNBQVMsRUFBRSxZQUFZLEVBQUUsRUFBRSxFQUFFO0lBQzdDLE1BQU0sR0FBRyxHQUFzQyxLQUFLLENBQUMsU0FBUyxFQUFFLENBQUM7SUFFakUsTUFBTSxDQUFDLEdBQUcsRUFBRSxNQUFNLENBQUMsR0FBRyxRQUFRLENBQXFCLEdBQUcsQ0FBQyxDQUFDO0lBRXhELFNBQVMsQ0FDUCxHQUFHLEVBQUU7UUFDSCxJQUFJLHNCQUFzQixJQUFJLE1BQU0sRUFBRTtZQUNwQyxNQUFNLFFBQVEsR0FBRyxJQUFJLG9CQUFvQixDQUN2QyxPQUFPLENBQUMsRUFBRSxDQUNSLE9BQU8sQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUU7Z0JBQ2xCLElBQUksQ0FBQyxDQUFDLGNBQWMsRUFBRTtvQkFDcEIsUUFBUSxDQUFDLFVBQVUsRUFBRSxDQUFDO29CQUV0QixJQUFJLEdBQUcsSUFBSSxHQUFHLENBQUMsT0FBTyxFQUFFO3dCQUN0QixNQUFNLEtBQUssR0FBRyxHQUFHLENBQUMsT0FBTyxDQUFDLFdBQVcsQ0FBQzt3QkFDdEMsTUFBTSxNQUFNLEdBQXFCLElBQUksS0FBSyxFQUFFLENBQUM7d0JBQzdDLE1BQU0sQ0FBQyxNQUFNLEdBQUcsR0FBRyxFQUFFLENBQUMsTUFBTSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQzt3QkFDekMsTUFBTSxDQUFDLEdBQUcsR0FBRyxXQUFXLENBQUMsR0FBRyxFQUFFLEtBQUssQ0FBQyxDQUFDO3FCQUN0QztpQkFDRjtZQUNILENBQUMsQ0FBQyxFQUNKLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxDQUN2QixDQUFDO1lBRUYsSUFBSSxHQUFHLENBQUMsT0FBTyxFQUFFO2dCQUNmLFFBQVEsQ0FBQyxPQUFPLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxDQUFDO2FBQy9CO1lBRUQsT0FBTyxHQUFHLEVBQUUsQ0FBQyxRQUFRLENBQUMsVUFBVSxFQUFFLENBQUM7U0FDcEM7UUFFRCxJQUFJLEdBQUcsSUFBSSxHQUFHLENBQUMsT0FBTyxFQUFFO1lBQ3RCLE1BQU0sQ0FBQyxXQUFXLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxPQUFPLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQztTQUNuRDtRQUVELE9BQU87SUFDVCxDQUFDLEVBQ0QsQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQ1gsQ0FBQztJQUVGLE9BQU8sQ0FDTCxvQkFBQyxhQUFhLElBQUMsT0FBTyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxLQUFLLEVBQUUsU0FBUyxFQUFFLFNBQVMsSUFDN0QsWUFBWSxDQUFDLENBQUMsQ0FBQyxDQUNkLG9CQUFDLGVBQWUsSUFBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsSUFBSSxFQUFDLEtBQUssZ0JBQWEsR0FBRyxHQUFJLENBQ3BFLENBQUMsQ0FBQyxDQUFDLENBQ0YsNkJBQUssR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLEdBQUksQ0FDdEMsQ0FDYSxDQUNqQixDQUFDO0FBQ0osQ0FBQyxDQUFDIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/ts-slices",
3
- "version": "1.9.23",
3
+ "version": "1.10.1-alpha.26+fef9c66110",
4
4
  "description": "Reuseable Typescript React Components",
5
5
  "main": "dist/index.js",
6
6
  "dev": "dist/index.js",
@@ -51,7 +51,7 @@
51
51
  "node": ">=8.9"
52
52
  },
53
53
  "dependencies": {
54
- "@times-components/ts-styleguide": "1.50.34",
54
+ "@times-components/ts-styleguide": "^1.50.35-alpha.145+fef9c66110",
55
55
  "date-fns": "2.28.0",
56
56
  "lodash.get": "4.4.2",
57
57
  "react": "16.9.0",
@@ -59,7 +59,7 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@testing-library/react": "^12.1.2",
62
- "@times-components/storybook": "4.12.34",
62
+ "@times-components/storybook": "^4.12.35-alpha.145+fef9c66110",
63
63
  "@types/lodash.get": "4.4.6",
64
64
  "@types/lodash.shuffle": "4.2.6",
65
65
  "@types/mockdate": "2.0.0",
@@ -87,5 +87,5 @@
87
87
  "@testing-library/jest-dom/extend-expect"
88
88
  ]
89
89
  },
90
- "gitHead": "6cbae72def0bec2c8bd9e7c2cc517fb84c88cb6b"
90
+ "gitHead": "fef9c66110baaa55cc7341a0333744a0ab45428f"
91
91
  }
package/rnw.js CHANGED
@@ -1 +1 @@
1
- module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@times-components/ts-styleguide/rnw")},function(e,t){e.exports=require("styled-components")},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,r=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,d="object"==typeof self&&self&&self.Object===Object&&self,s=c||d||Function("return this")();var m,p=Array.prototype,u=Function.prototype,f=Object.prototype,h=s["__core-js_shared__"],y=(m=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",g=u.toString,b=f.hasOwnProperty,x=f.toString,w=RegExp("^"+g.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=s.Symbol,v=p.splice,_=H(s,"Map"),k=H(Object,"create"),E=S?S.prototype:void 0,C=E?E.toString:void 0;function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function F(e,t){for(var n,i,r=e.length;r--;)if((n=e[r][0])===(i=t)||n!=n&&i!=i)return r;return-1}function N(e,t){for(var r,a=0,o=(t=function(e,t){if(L(e))return!1;var r=typeof e;if("number"==r||"symbol"==r||"boolean"==r||null==e||P(e))return!0;return i.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:L(r=t)?r:R(r)).length;null!=e&&a<o;)e=e[D(t[a++])];return a&&a==o?e:void 0}function O(e){return!(!B(e)||(t=e,y&&y in t))&&(function(e){var t=B(e)?x.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?w:l).test(function(e){if(null!=e){try{return g.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function j(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function H(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return O(n)?n:void 0}I.prototype.clear=function(){this.__data__=k?k(null):{}},I.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},I.prototype.get=function(e){var t=this.__data__;if(k){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return b.call(t,e)?t[e]:void 0},I.prototype.has=function(e){var t=this.__data__;return k?void 0!==t[e]:b.call(t,e)},I.prototype.set=function(e,t){return this.__data__[e]=k&&void 0===t?"__lodash_hash_undefined__":t,this},A.prototype.clear=function(){this.__data__=[]},A.prototype.delete=function(e){var t=this.__data__,n=F(t,e);return!(n<0)&&(n==t.length-1?t.pop():v.call(t,n,1),!0)},A.prototype.get=function(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]},A.prototype.has=function(e){return F(this.__data__,e)>-1},A.prototype.set=function(e,t){var n=this.__data__,i=F(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},z.prototype.clear=function(){this.__data__={hash:new I,map:new(_||A),string:new I}},z.prototype.delete=function(e){return j(this,e).delete(e)},z.prototype.get=function(e){return j(this,e).get(e)},z.prototype.has=function(e){return j(this,e).has(e)},z.prototype.set=function(e,t){return j(this,e).set(e,t),this};var R=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(P(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return r.test(e)&&n.push(""),e.replace(a,(function(e,t,i,r){n.push(i?r.replace(o,"$1"):t||e)})),n}));function D(e){if("string"==typeof e||P(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(T.Cache||z),n}T.Cache=z;var L=Array.isArray;function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function P(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==x.call(e)}e.exports=function(e,t,n){var i=null==e?void 0:N(e,t);return void 0===i?n:i}},function(e,t){e.exports=require("date-fns/parseISO")},function(e,t){e.exports=require("date-fns/isValid")},function(e,t){e.exports=require("date-fns/max")},function(e,t){e.exports=require("date-fns/formatDistanceToNowStrict")},function(e,t){e.exports=require("date-fns/differenceInCalendarDays")},function(e,t){e.exports=require("date-fns/format")},function(e,t){e.exports=require("date-fns/addMinutes")},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),a=n(3),o=n.n(a);function l(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=["sm","md","lg","xlg"],h=function(e){if(e){var t={};return f.reduce((function(n,i){var r=p(p({},t),o()(e,i));return t=r,p(p({},n),{},u({},i,r))}),{})}},y=function(e,t){return!0===o()(o()(t,e),"isSideBySide")},g=function(e,t){return!0===o()(o()(t,e),"isCentered")},b=function(e,t){return"calc(".concat(e,"% - ").concat(function(e){return 12*(2*e-2)/e}(t),"px)")},x=n(6),w=n.n(x),S=n(4),v=n.n(S),_=n(5),k=n.n(_),E=n(7),C=n.n(E),I=n(8),A=n.n(I),z=function(e){return o()(e,"images.alt",o()(e,"headline"))},F=[760,660,560,480,380,320,270,230,180,120,80],N=function(e,t){var n,i=(n=t,F.reduce((function(e,t){return n<=t?t:e}),F[0]))*window.devicePixelRatio,r=new URL(e),a=new URLSearchParams(r.search.slice(1));a.set("resize",i.toString());var o=r.origin.includes("uat-thetimes")?r.origin.replace("uat-thetimes","thetimes"):r.origin;return"".concat(o).concat(r.pathname,"?").concat(a.toString())},O=function(e,t){return e.includes("thetimes.")&&e.includes("/imageserver")?N(e,t):e},j=n(2),H=n.n(j),R=H.a.div.withConfig({displayName:"styles__LazyContainer",componentId:"qsbah5-0"})(["position:absolute;width:100%;height:100%;background-color:",";border-radius:",";transition:0.5s;div,img{width:100%;height:100%;border-radius:",";opacity:",";transition:opacity 0.5s;}"],(function(e){return e.visible?"transparent":"#f0f0f0"}),(function(e){return e.isRoundal?"50%":0}),(function(e){return e.isRoundal?"50%":0}),(function(e){return e.visible?1:0})),D=H.a.div.withConfig({displayName:"styles__BackgroundImage",componentId:"qsbah5-1"})(["background:",";background-size:cover;"],(function(e){var t=e.src;return t?"url(".concat(t,") no-repeat center center"):"none"}));function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var B=function(e){var t=e.url,n=e.alt,a=e.isRoundal,o=e.isBackground,l=r.a.createRef(),c=T(Object(i.useState)(),2),d=c[0],s=c[1];return Object(i.useEffect)((function(){if("IntersectionObserver"in window){var e=new IntersectionObserver((function(n){return n.forEach((function(n){if(n.isIntersecting&&(e.disconnect(),t&&l.current)){var i=l.current.offsetWidth,r=new Image;r.onload=function(){return s(r.src)},r.src=O(t,i)}}))}),{rootMargin:"60px"});return l.current&&e.observe(l.current),function(){return e.disconnect()}}t&&l.current&&s(O(t,l.current.offsetWidth))}),[t,l]),r.a.createElement(R,{visible:!!d,isRoundal:a},o?r.a.createElement(D,{src:d,ref:l,role:"img","aria-label":n}):r.a.createElement("img",{src:d,alt:n,ref:l}))},P=n(1),M=function(e,t){return y(e,t)||function(e,t){return!0===o()(o()(t,e),"isImageHidden")}(e,t)?0:"12px"},U=function(e,t){return t&&t.includes(e)?"block":"none"},q=H.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-8lglkt-0"})(["margin-bottom:",";@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}"],(function(e){var t=e.schema;return M("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return M("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return M("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return M("xlg",t)})),$=H.a.div.withConfig({displayName:"styles__ImageRatio",componentId:"sc-8lglkt-1"})(["position:relative;display:",";overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}@media (min-width:","px){display:",";}@media (min-width:","px){display:",";}@media (min-width:","px){display:",";}"],(function(e){var t=e.schema;return U("sm",t)}),(function(e){return function(e){switch(e){case"16:9":return"56.25%";case"3:2":return"66.66%";case"1:1":return"100%";default:return 0}}(e.ratio)}),P.breakpoints.medium,(function(e){var t=e.schema;return U("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return U("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return U("xlg",t)}));function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var V=function(e){var t,n,i=e.article,a=e.displaySchema,d=e.clickHandler,s=(t=a)?Object.entries(t).reduce((function(e,t){var i=c(t,2),r=i[0],a=i[1],d=o()(a,"imageRatio",n);return n=d,d&&!o()(a,"isImageHidden")?p(p({},e),{},u({},d,[].concat(l(o()(e,d,[])),[r]))):e}),{}):{};return r.a.createElement(q,{schema:a},r.a.createElement("a",{onClick:function(e){i&&d&&d(e,i)},href:i.url},Object.entries(s).map((function(e,t){var n=W(e,2),a=n[0],l=n[1],c=function(e,t){return t.images.crops.find((function(t){return"*"===t.ratio||t.ratio===e}))}(a,i);return r.a.createElement($,{key:t,ratio:a,schema:l},r.a.createElement(B,{url:o()(c,"url"),alt:z(i),isRoundal:"1:1"===a,isBackground:"*"===o()(c,"ratio")}))}))))},G=function(e,t){return o()(o()(t,e),"headlineFontSize",10)},J=function(e,t){return g(e,t)?"sm"===e||"md"===e?"90%":"80%":"100%"},K=function(e,t){return g(e,t)?"center":"left"},Q=H.a.div.withConfig({displayName:"styles__HeadlineContainer",componentId:"k0mgwi-0"})(["width:",";margin:0 auto;@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;h3{margin:0;color:",";font-size:","px;line-height:","px;font-family:",";font-weight:normal;text-align:",";@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}}&:hover{h3{color:#006699;}}}"],(function(e){var t=e.schema;return J("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return J("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return J("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return J("xlg",t)}),P.colours.functional.brandColour,(function(e){var t=e.schema;return G("sm",t)}),(function(e){var t=e.schema;return G("sm",t)}),P.fonts.headline,(function(e){var t=e.schema;return K("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return G("md",t)}),(function(e){var t=e.schema;return G("md",t)}),(function(e){var t=e.schema;return K("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return G("lg",t)}),(function(e){var t=e.schema;return G("lg",t)}),(function(e){var t=e.schema;return K("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return G("xlg",t)}),(function(e){var t=e.schema;return G("xlg",t)}),(function(e){var t=e.schema;return K("xlg",t)})),X=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t.headline)return null;return r.a.createElement(Q,{schema:n},r.a.createElement("a",{onClick:function(e){t&&i&&i(e,t)},href:t.url},r.a.createElement("h3",null,t.headline)))},Z=function(e,t){return y(e,t)?"row":"column"},ee=function(e,t){return y(e,t)?o()(o()(t,e),"sideBySideWidth","50%"):"100%"},te=function(e,t){return y(e,t)?"".concat(o()(o()(t,e),"sideBySidePadding",8),"px"):0},ne=function(e,t){return g(e,t)?"center":"flex-start"},ie=function(e,t){return g(e,t)&&!y(e,t)?"16px 0 24px 0":0},re=function(e,t){return o()(o()(t,e),"backgroundColor","transparent")},ae=H.a.article.withConfig({displayName:"shared-styles__ArticleContainer",componentId:"sc-1kek94e-0"})(["display:flex;flex-direction:",";background-color:",";@media (min-width:","px){flex-direction:",";background-color:",";}@media (min-width:","px){flex-direction:",";background-color:",";}@media (min-width:","px){flex-direction:",";background-color:",";}"],(function(e){var t=e.schema;return Z("sm",t)}),(function(e){var t=e.schema;return re("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return Z("md",t)}),(function(e){var t=e.schema;return re("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return Z("lg",t)}),(function(e){var t=e.schema;return re("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return Z("xlg",t)}),(function(e){var t=e.schema;return re("xlg",t)})),oe=H.a.div.withConfig({displayName:"shared-styles__SideBySideColumn",componentId:"sc-1kek94e-1"})(["width:100%;&:first-of-type{flex-shrink:0;width:",";padding-right:",";}&:last-of-type{display:flex;flex-direction:column;justify-content:",";align-items:",";margin:",";padding-left:",";}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}"],(function(e){var t=e.schema;return ee("sm",t)}),(function(e){var t=e.schema;return te("sm",t)}),(function(e){var t=e.schema;return ne("sm",t)}),(function(e){var t=e.schema;return ne("sm",t)}),(function(e){var t=e.schema;return ie("sm",t)}),(function(e){var t=e.schema;return te("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return ee("md",t)}),(function(e){var t=e.schema;return te("md",t)}),(function(e){var t=e.schema;return ne("md",t)}),(function(e){var t=e.schema;return ne("md",t)}),(function(e){var t=e.schema;return ie("md",t)}),(function(e){var t=e.schema;return te("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return ee("lg",t)}),(function(e){var t=e.schema;return te("lg",t)}),(function(e){var t=e.schema;return ne("lg",t)}),(function(e){var t=e.schema;return ne("lg",t)}),(function(e){var t=e.schema;return ie("lg",t)}),(function(e){var t=e.schema;return te("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return ee("xlg",t)}),(function(e){var t=e.schema;return te("xlg",t)}),(function(e){var t=e.schema;return ne("xlg",t)}),(function(e){var t=e.schema;return ne("xlg",t)}),(function(e){var t=e.schema;return ie("xlg",t)}),(function(e){var t=e.schema;return te("xlg",t)})),le=H.a.p.withConfig({displayName:"shared-styles__Label",componentId:"sc-1kek94e-2"})(["margin:0 0 4px 0;color:",";font-size:12px;line-height:16px;letter-spacing:0.5px;font-family:",";text-transform:uppercase;"],P.colours.functional.secondary,P.fonts.supporting),ce=function(e,t){return g(e,t)?"sm"===e||"md"===e?"90%":"80%":"100%"},de=function(e,t){return g(e,t)?"center":"left"},se=H.a.p.withConfig({displayName:"styles__Strapline",componentId:"p3h2iu-0"})(["width:",";margin:4px auto 0 auto;color:",";font-size:14px;line-height:20px;text-align:",";font-family:",";@media (min-width:","px){width:",";text-align:",";}@media (min-width:","px){width:",";text-align:",";}@media (min-width:","px){width:",";text-align:",";}"],(function(e){var t=e.schema;return ce("sm",t)}),P.colours.functional.secondary,(function(e){var t=e.schema;return de("sm",t)}),P.fonts.body,P.breakpoints.medium,(function(e){var t=e.schema;return ce("md",t)}),(function(e){var t=e.schema;return de("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return ce("lg",t)}),(function(e){var t=e.schema;return de("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return ce("xlg",t)}),(function(e){var t=e.schema;return de("xlg",t)})),me=H.a.p.withConfig({displayName:"styles__TimeSince",componentId:"p3h2iu-1"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;letter-spacing:1px;font-family:",";text-transform:uppercase;"],P.colours.functional.secondary,P.fonts.supporting),pe=H.a.div.withConfig({displayName:"styles__Link",componentId:"p3h2iu-2"})(["margin-top:8px;a{color:#006699;font-size:13px;line-height:13px;letter-spacing:0px;font-family:",";font-weight:500;text-decoration:none;&:after{display:inline-block;content:'\\E003';font-size:10px;font-family:iconfont;padding:0 0 1px 6px;vertical-align:middle;}}"],P.fonts.supporting),ue=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t)return null;var a=t.standfirst||t.summary,l=function(e){var t=v()(o()(e,"datePublished","")),n=v()(o()(e,"dateUpdated","")),i=w()([t,n].filter((function(e){return k()(e)}))),r=A()(new Date,i);return!k()(i)||r>=7?null:"".concat(C()(i,{roundingMethod:"floor"})," ago")}(t);return r.a.createElement(ae,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i})),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}),a&&r.a.createElement(se,{schema:n},a),l&&r.a.createElement(me,null,l),t.cta&&r.a.createElement(pe,null,r.a.createElement("a",{href:t.url},t.cta))))},fe=H.a.div.withConfig({displayName:"shared-styles__SliceContainer",componentId:"ismxwo-0"})(["display:flex;flex-wrap:wrap;justify-content:space-between;margin:0 auto;padding:",";@media (min-width:","px){max-width:520px;}@media (min-width:","px){max-width:860px;padding:",";}@media (min-width:","px){max-width:1024px;}@media (min-width:","px){max-width:1180px;}"],(function(e){var t=e.styles;return t&&t.removePadding?0:"0 16px"}),P.breakpoints.small,P.breakpoints.medium,(function(e){var t=e.styles;return t&&t.removePadding?0:"0 20px"}),P.breakpoints.wide,P.breakpoints.huge),he=H.a.div.withConfig({displayName:"shared-styles__SlotContainer",componentId:"ismxwo-1"})(["position:relative;width:100%;margin-bottom:",";padding-bottom:",";box-sizing:content-box;:before{content:'';display:none;position:absolute;top:0;right:0;bottom:0;width:1px;background-color:",";}:after{content:'';display:",";position:absolute;right:0;bottom:0;left:0;height:1px;background-color:",";}"],(function(e){return e.collapse?0:"12px"}),(function(e){return e.collapse?0:"12px"}),(function(e){var t=e.styles;return t&&t.lineColor?t.lineColor:"#dbdbdb"}),(function(e){return e.collapse?"none":"block"}),(function(e){var t=e.styles;return t&&t.lineColor?t.lineColor:"#dbdbdb"})),ye=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-614vlg-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),ge=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-614vlg-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:0;padding-bottom:24px;}"],P.breakpoints.medium),be=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(ye,{styles:n},r.a.createElement(ge,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",isCentered:!0,headlineFontSize:28,backgroundColor:"#f0f0f0"},md:{isSideBySide:!0},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})))})),xe=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-1r0nv22-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),we=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-1r0nv22-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium),Se=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-1r0nv22-2"})(["@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(33.33,3)),ve=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(xe,{styles:n},r.a.createElement(we,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:28},md:{imageRatio:"16:9"},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})),r.a.createElement(Se,{styles:n},r.a.createElement(ue,{article:o()(t,"children[1].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},lg:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})))})),_e=function(e){return e&&("maincomment"===e.template||"magazinecomment"===e.template||"externalcomment"===e.template)},ke=H()(ae).withConfig({displayName:"styles__ArticleContainer",componentId:"sc-2eizyd-0"})(["align-items:center;"]),Ee=H.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-2eizyd-1"})(["max-width:120px;margin:0 auto;@media (min-width:","px){max-width:140px;}"],P.breakpoints.huge),Ce=H.a.p.withConfig({displayName:"styles__Byline",componentId:"sc-2eizyd-2"})(["margin:0 0 4px 0;color:",";font-size:22px;line-height:22px;font-family:",";@media (min-width:","px){font-size:24px;line-height:24px;}"],P.colours.functional.secondary,P.fonts.headlineRegular,P.breakpoints.huge),Ie=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;return t?r.a.createElement(ke,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(Ee,null,r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i}))),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),t.byline&&r.a.createElement(Ce,null,t.byline),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}))):null},Ae=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"fss0bs-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),ze=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"fss0bs-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium),Fe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"fss0bs-2"})(["@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(33.33,3)),Ne=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ae,{styles:n},r.a.createElement(ze,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:28},md:{imageRatio:"16:9"},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})),r.a.createElement(Fe,{styles:n},r.a.createElement(he,{styles:n},r.a.createElement(ue,{article:o()(t,"children[1].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},lg:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})),_e(o()(t,"children[2].article"))?r.a.createElement(Ie,{article:t.children[2].article,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{headlineFontSize:16},lg:{sideBySideWidth:"50%"},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:o()(t,"children[2].article"),displaySchema:h({sm:{isSideBySide:!0,imageRatio:"3:2",headlineFontSize:18},md:{headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i})))})),Oe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"rqwi1t-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium,b(50,2)),je=H.a.div.withConfig({displayName:"styles__SideBySideColumn",componentId:"rqwi1t-1"})(["display:flex;flex-wrap:wrap;justify-content:space-between;"]),He=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"rqwi1t-2"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(50,2)),Re=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"rqwi1t-3"})(["width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:last-of-type{padding-left:12px;}"],b(50,2));function De(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Le=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},r.a.createElement(Oe,{styles:n},r.a.createElement(je,null,De(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Re,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18},md:{imageRatio:"16:9"},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))}))),r.a.createElement(ue,{article:o()(t,"children[2].article"),displaySchema:h({sm:{isSideBySide:!0,sideBySidePadding:12,imageRatio:"3:2",headlineFontSize:18},md:{imageRatio:"16:9",headlineFontSize:22},lg:{headlineFontSize:24}}),clickHandler:i})),r.a.createElement(He,{styles:n},r.a.createElement(ue,{article:o()(t,"children[3].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})))})),Be=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"z7ncw3-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}"],P.breakpoints.medium,b(50,2)),Pe=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(Be,{key:t,styles:n},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{imageRatio:"16:9",headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i}))})))})),Me=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"xnsfmb-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),Ue=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"xnsfmb-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),qe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"xnsfmb-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),$e=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"xnsfmb-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}@media (min-width:","px){width:100%;margin-bottom:12px;padding-bottom:12px;&:first-of-type{padding-right:0;:before{display:none;}}&:last-of-type{margin-bottom:0;padding:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function We(e){return function(e){if(Array.isArray(e))return Ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ve=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Me,{styles:n},We(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Ue,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(qe,{styles:n},We(Array(2)).fill(null).map((function(e,a){var l=o()(t,"children[".concat(a+2,"].article"));return r.a.createElement($e,{key:a,styles:n},_e(l)?r.a.createElement(Ie,{article:l,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{sideBySideWidth:"50%",headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:l,displaySchema:h({sm:{isSideBySide:!0,imageRatio:"3:2",headlineFontSize:18},md:{headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}))}))))})),Ge=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-7y5fg-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),Je=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-7y5fg-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),Ke=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"sc-7y5fg-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),Qe=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-7y5fg-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;:before{display:none;}}}@media (min-width:","px){width:100%;margin-bottom:12px;padding:0 0 12px 0;:before{display:none;}&:last-of-type{margin-bottom:0;padding-bottom:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function Xe(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var et=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ge,{styles:n},Xe(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Je,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(Ke,{styles:n},Xe(Array(3)).fill(null).map((function(e,a){return r.a.createElement(Qe,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a+2,"].article")),displaySchema:h({sm:{isImageHidden:!0,imageRatio:"3:2",headlineFontSize:18},lg:{isSideBySide:!0,isImageHidden:!1,headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}))}))))})),tt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-11upv3n-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),nt=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-11upv3n-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),it=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"sc-11upv3n-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),rt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-11upv3n-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;:before{display:none;}}}@media (min-width:","px){width:100%;margin-bottom:12px;padding:0 0 12px 0;:before{display:none;}&:last-of-type{margin-bottom:0;padding-bottom:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function at(e){return function(e){if(Array.isArray(e))return ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ot(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var lt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(tt,{styles:n},at(Array(2)).fill(null).map((function(e,a){return r.a.createElement(nt,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(it,{styles:n},at(Array(3)).fill(null).map((function(e,a){return r.a.createElement(rt,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a+2,"].article")),displaySchema:h({sm:{isImageHidden:!0,headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))}))))})),ct=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"bazswq-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}:after{display:block;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],P.breakpoints.medium,b(33.33,3)),dt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(ct,{key:t,styles:n,collapse:!e.article},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),st=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-1gqjewy-0"})(["width:",";&:nth-of-type(odd){padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(even){padding-left:12px;}@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px !important;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],b(50,2),P.breakpoints.medium,b(25,4)),mt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(st,{key:t,styles:n},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),pt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"c5tu9p-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),ut=H()(he).withConfig({displayName:"styles__SlotContainerLarge",componentId:"c5tu9p-1"})(["order:1;@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(3){padding-left:12px;}}@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(3){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide,b(33.33,3)),ft=H()(he).withConfig({displayName:"styles__SlotContainerSmall",componentId:"c5tu9p-2"})(["order:2;@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:nth-of-type(2){padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}@media (min-width:","px){order:1;&:nth-of-type(2){padding-left:12px;:before{bottom:24px;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function ht(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var gt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(pt,{styles:n},ht(Array(2)).fill(null).map((function(e,a){var l=o()(t,"children[".concat(2*a,"].article")),c=o()(t,"children[".concat(2*a+1,"].article"));return r.a.createElement(r.a.Fragment,{key:a},r.a.createElement(ut,{styles:n},r.a.createElement(ue,{article:l,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i})),r.a.createElement(ft,{styles:n},_e(c)?r.a.createElement(Ie,{article:c,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{sideBySideWidth:"50%",headlineFontSize:16},lg:{isSideBySide:!1},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:c,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"3:2",headlineFontSize:18},md:{isImageHidden:!1,isSideBySide:!0,headlineFontSize:16},lg:{isSideBySide:!1},xlg:{headlineFontSize:18}}),clickHandler:i})))})))})),bt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-189xcog-0"})(["width:",";&:nth-of-type(odd){padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(even){padding-left:12px;}@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px !important;}&:nth-of-type(5n + 1){padding-left:0;}&:nth-of-type(5n){padding-right:0;&:before{display:none;}}}"],b(50,2),P.breakpoints.medium,b(20,5)),xt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(bt,{key:t,styles:n},r.a.createElement(ue,{article:o()(e,"article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18,isCentered:!0},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),wt=n(9),St=n.n(wt),vt=n(10),_t=n.n(vt),kt=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),i=n.getDay(),r=n.getDate()-i,a=new Date(Date.UTC(t,e,r));return a.setHours(1),a},Et=function(e){if(e){var t=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())}(e),n=_t()(t,function(e){var t=kt(2,e.getFullYear()),n=kt(9,e.getFullYear()),i=e.getTime()>=t.getTime(),r=e.getTime()<n.getTime();return i&&r}(t)?60:0);return St()(n,"MMMM dd yyyy, h.mmaaa")}return null},Ct=H.a.p.withConfig({displayName:"styles__DateTime",componentId:"sc-1p1alcs-0"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;font-family:",";"],P.colours.functional.secondary,P.fonts.supporting),It=H.a.p.withConfig({displayName:"styles__Byline",componentId:"sc-1p1alcs-1"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;font-family:",";"],P.colours.functional.brandColour,P.fonts.supporting),At=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t)return null;var a=Et(t.datePublished);return r.a.createElement(ae,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i})),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}),a&&r.a.createElement(Ct,null,a),t.byline&&r.a.createElement(It,null,t.byline)))},zt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"b33h2c-0"})(["@media (min-width:","px){flex-wrap:nowrap;width:80.8%;max-width:none;padding:0;}@media (min-width:","px){width:56.2%;}"],P.breakpoints.medium,P.breakpoints.wide),Ft=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"b33h2c-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:0;padding-bottom:24px;}"],P.breakpoints.medium),Nt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(zt,{styles:n},r.a.createElement(Ft,{styles:n},r.a.createElement(At,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"16:9",headlineFontSize:22},md:{isSideBySide:!0}}),clickHandler:i})))})),Ot=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"v1jynn-0"})(["@media (min-width:","px){width:80.8%;max-width:none;padding:0;}@media (min-width:","px){width:56.2%;}"],P.breakpoints.medium,P.breakpoints.wide),jt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"v1jynn-1"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}"],P.breakpoints.medium,b(50,2)),Ht=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ot,{styles:n},t.children.map((function(e,t){return r.a.createElement(jt,{key:t,styles:n},r.a.createElement(At,{article:e.article,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"16:9",headlineFontSize:22},md:{isImageHidden:!1}}),clickHandler:i}))})))})),Rt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"yjxerl-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}:after{display:block;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],P.breakpoints.medium,b(33.33,3)),Dt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(Rt,{key:t,styles:n},r.a.createElement(At,{article:e.article,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"16:9",headlineFontSize:22},md:{isImageHidden:!1}}),clickHandler:i}))})))})),Tt=function(e){var t=e.slice,n=e.styles,i=e.clickHandler,a=function(e){switch(e){case"LEAD_1":case"LEAD_1_COMPONENT":case"INTERACTIVE_FULL_WIDTH":return be;case"LEAD_1_AND_1":case"LEAD_1_AND_1_COMPONENT":return ve;case"LEAD_1_AND_2":case"LEAD_1_AND_2_COLUMNIST":return Ne;case"LEAD_1_AND_3_REVERSED":return Le;case"LEAD_2":case"LEAD_2_COMPONENT":case"INTERACTIVE_HALF_WIDTH":return Pe;case"SECONDARY_2_AND_2":return Ve;case"SECONDARY_2_AND_3":return et;case"SECONDARY_2_AND_3_NO_PIC":return lt;case"SECONDARY_3":return dt;case"SECONDARY_4":return mt;case"SECONDARY_4_ODD":case"SECONDARY_4_ODD_COLUMNIST":return gt;case"SECONDARY_10":return xt;case"RELATED_ARTICLE_1":return Nt;case"RELATED_ARTICLE_2":return Ht;case"RELATED_ARTICLE_3":return Dt;default:return function(){return null}}}(t.name);return r.a.createElement(a,{slice:t,styles:n,clickHandler:i})};n.d(t,"Slice",(function(){return Tt}))}]);
1
+ module.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=11)}([function(e,t){e.exports=require("react")},function(e,t){e.exports=require("@times-components/ts-styleguide/rnw")},function(e,t){e.exports=require("styled-components")},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,i=/^\w*$/,r=/^\./,a=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,d="object"==typeof self&&self&&self.Object===Object&&self,s=c||d||Function("return this")();var m,p=Array.prototype,u=Function.prototype,f=Object.prototype,h=s["__core-js_shared__"],y=(m=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",g=u.toString,b=f.hasOwnProperty,x=f.toString,w=RegExp("^"+g.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=s.Symbol,v=p.splice,_=H(s,"Map"),k=H(Object,"create"),E=S?S.prototype:void 0,C=E?E.toString:void 0;function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function A(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function z(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function F(e,t){for(var n,i,r=e.length;r--;)if((n=e[r][0])===(i=t)||n!=n&&i!=i)return r;return-1}function N(e,t){for(var r,a=0,o=(t=function(e,t){if(L(e))return!1;var r=typeof e;if("number"==r||"symbol"==r||"boolean"==r||null==e||P(e))return!0;return i.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:L(r=t)?r:R(r)).length;null!=e&&a<o;)e=e[D(t[a++])];return a&&a==o?e:void 0}function O(e){return!(!B(e)||(t=e,y&&y in t))&&(function(e){var t=B(e)?x.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?w:l).test(function(e){if(null!=e){try{return g.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function j(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function H(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return O(n)?n:void 0}I.prototype.clear=function(){this.__data__=k?k(null):{}},I.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},I.prototype.get=function(e){var t=this.__data__;if(k){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return b.call(t,e)?t[e]:void 0},I.prototype.has=function(e){var t=this.__data__;return k?void 0!==t[e]:b.call(t,e)},I.prototype.set=function(e,t){return this.__data__[e]=k&&void 0===t?"__lodash_hash_undefined__":t,this},A.prototype.clear=function(){this.__data__=[]},A.prototype.delete=function(e){var t=this.__data__,n=F(t,e);return!(n<0)&&(n==t.length-1?t.pop():v.call(t,n,1),!0)},A.prototype.get=function(e){var t=this.__data__,n=F(t,e);return n<0?void 0:t[n][1]},A.prototype.has=function(e){return F(this.__data__,e)>-1},A.prototype.set=function(e,t){var n=this.__data__,i=F(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},z.prototype.clear=function(){this.__data__={hash:new I,map:new(_||A),string:new I}},z.prototype.delete=function(e){return j(this,e).delete(e)},z.prototype.get=function(e){return j(this,e).get(e)},z.prototype.has=function(e){return j(this,e).has(e)},z.prototype.set=function(e,t){return j(this,e).set(e,t),this};var R=T((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(P(e))return C?C.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return r.test(e)&&n.push(""),e.replace(a,(function(e,t,i,r){n.push(i?r.replace(o,"$1"):t||e)})),n}));function D(e){if("string"==typeof e||P(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function T(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=t?t.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=e.apply(this,i);return n.cache=a.set(r,o),o};return n.cache=new(T.Cache||z),n}T.Cache=z;var L=Array.isArray;function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function P(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==x.call(e)}e.exports=function(e,t,n){var i=null==e?void 0:N(e,t);return void 0===i?n:i}},function(e,t){e.exports=require("date-fns/parseISO")},function(e,t){e.exports=require("date-fns/isValid")},function(e,t){e.exports=require("date-fns/max")},function(e,t){e.exports=require("date-fns/formatDistanceToNowStrict")},function(e,t){e.exports=require("date-fns/differenceInCalendarDays")},function(e,t){e.exports=require("date-fns/format")},function(e,t){e.exports=require("date-fns/addMinutes")},function(e,t,n){"use strict";n.r(t);var i=n(0),r=n.n(i),a=n(3),o=n.n(a);function l(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=["sm","md","lg","xlg"],h=function(e){if(e){var t={};return f.reduce((function(n,i){var r=p(p({},t),o()(e,i));return t=r,p(p({},n),{},u({},i,r))}),{})}},y=function(e,t){return!0===o()(o()(t,e),"isSideBySide")},g=function(e,t){return!0===o()(o()(t,e),"isCentered")},b=function(e,t){return"calc(".concat(e,"% - ").concat(function(e){return 12*(2*e-2)/e}(t),"px)")},x=n(6),w=n.n(x),S=n(4),v=n.n(S),_=n(5),k=n.n(_),E=n(7),C=n.n(E),I=n(8),A=n.n(I),z=function(e){return o()(e,"images.alt",o()(e,"headline"))},F=[760,660,560,480,380,320,270,230,180,120,80],N=function(e,t){var n,i=(n=t,F.reduce((function(e,t){return n<=t?t:e}),F[0]))*window.devicePixelRatio,r=new URL(e),a=new URLSearchParams(r.search.slice(1));a.set("resize",i.toString());var o=r.origin.includes("uat-thetimes")?r.origin.replace("uat-thetimes","thetimes"):r.origin;return"".concat(o).concat(r.pathname,"?").concat(a.toString())},O=function(e,t){return e.includes("thetimes.")&&e.includes("/imageserver")?N(e,t):e},j=n(2),H=n.n(j),R=H.a.div.withConfig({displayName:"styles__LazyContainer",componentId:"qsbah5-0"})(["position:absolute;width:100%;height:100%;background-color:",";border-radius:",";transition:0.5s;div,img{width:100%;height:100%;border-radius:",";opacity:",";transition:opacity 0.5s;}"],(function(e){return e.visible?"transparent":"#f0f0f0"}),(function(e){return e.isRoundal?"50%":0}),(function(e){return e.isRoundal?"50%":0}),(function(e){return e.visible?1:0})),D=H.a.div.withConfig({displayName:"styles__BackgroundImage",componentId:"qsbah5-1"})(["background:",";background-size:cover;"],(function(e){var t=e.src;return t?"url(".concat(t,") no-repeat center center"):"none"}));function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var B=function(e){var t=e.url,n=e.alt,a=e.isRoundal,o=e.isBackground,l=r.a.createRef(),c=T(Object(i.useState)(t),2),d=c[0],s=c[1];return Object(i.useEffect)((function(){if("IntersectionObserver"in window){var e=new IntersectionObserver((function(n){return n.forEach((function(n){if(n.isIntersecting&&(e.disconnect(),t&&l.current)){var i=l.current.offsetWidth,r=new Image;r.onload=function(){return s(r.src)},r.src=O(t,i)}}))}),{rootMargin:"60px"});return l.current&&e.observe(l.current),function(){return e.disconnect()}}t&&l.current&&s(O(t,l.current.offsetWidth))}),[t,l]),r.a.createElement(R,{visible:!!d,isRoundal:a},o?r.a.createElement(D,{src:d,ref:l,role:"img","aria-label":n}):r.a.createElement("img",{src:d,alt:n,ref:l}))},P=n(1),M=function(e,t){return y(e,t)||function(e,t){return!0===o()(o()(t,e),"isImageHidden")}(e,t)?0:"12px"},U=function(e,t){return t&&t.includes(e)?"block":"none"},q=H.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-8lglkt-0"})(["margin-bottom:",";@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}@media (min-width:","px){margin-bottom:",";}"],(function(e){var t=e.schema;return M("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return M("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return M("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return M("xlg",t)})),$=H.a.div.withConfig({displayName:"styles__ImageRatio",componentId:"sc-8lglkt-1"})(["position:relative;display:",";overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}@media (min-width:","px){display:",";}@media (min-width:","px){display:",";}@media (min-width:","px){display:",";}"],(function(e){var t=e.schema;return U("sm",t)}),(function(e){return function(e){switch(e){case"16:9":return"56.25%";case"3:2":return"66.66%";case"1:1":return"100%";default:return 0}}(e.ratio)}),P.breakpoints.medium,(function(e){var t=e.schema;return U("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return U("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return U("xlg",t)}));function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var i,r,a=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);o=!0);}catch(e){l=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw r}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var V=function(e){var t,n,i=e.article,a=e.displaySchema,d=e.clickHandler,s=(t=a)?Object.entries(t).reduce((function(e,t){var i=c(t,2),r=i[0],a=i[1],d=o()(a,"imageRatio",n);return n=d,d&&!o()(a,"isImageHidden")?p(p({},e),{},u({},d,[].concat(l(o()(e,d,[])),[r]))):e}),{}):{};return r.a.createElement(q,{schema:a},r.a.createElement("a",{onClick:function(e){i&&d&&d(e,i)},href:i.url},Object.entries(s).map((function(e,t){var n=W(e,2),a=n[0],l=n[1],c=function(e,t){return t.images.crops.find((function(t){return"*"===t.ratio||t.ratio===e}))}(a,i);return r.a.createElement($,{key:t,ratio:a,schema:l},r.a.createElement(B,{url:o()(c,"url"),alt:z(i),isRoundal:"1:1"===a,isBackground:"*"===o()(c,"ratio")}))}))))},G=function(e,t){return o()(o()(t,e),"headlineFontSize",10)},J=function(e,t){return g(e,t)?"sm"===e||"md"===e?"90%":"80%":"100%"},K=function(e,t){return g(e,t)?"center":"left"},Q=H.a.div.withConfig({displayName:"styles__HeadlineContainer",componentId:"k0mgwi-0"})(["width:",";margin:0 auto;@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;h3{margin:0;color:",";font-size:","px;line-height:","px;font-family:",";font-weight:normal;text-align:",";@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}@media (min-width:","px){font-size:","px;line-height:","px;text-align:",";}}&:hover{h3{color:#006699;}}}"],(function(e){var t=e.schema;return J("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return J("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return J("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return J("xlg",t)}),P.colours.functional.brandColour,(function(e){var t=e.schema;return G("sm",t)}),(function(e){var t=e.schema;return G("sm",t)}),P.fonts.headline,(function(e){var t=e.schema;return K("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return G("md",t)}),(function(e){var t=e.schema;return G("md",t)}),(function(e){var t=e.schema;return K("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return G("lg",t)}),(function(e){var t=e.schema;return G("lg",t)}),(function(e){var t=e.schema;return K("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return G("xlg",t)}),(function(e){var t=e.schema;return G("xlg",t)}),(function(e){var t=e.schema;return K("xlg",t)})),X=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t.headline)return null;return r.a.createElement(Q,{schema:n},r.a.createElement("a",{onClick:function(e){t&&i&&i(e,t)},href:t.url},r.a.createElement("h3",null,t.headline)))},Z=function(e,t){return y(e,t)?"row":"column"},ee=function(e,t){return y(e,t)?o()(o()(t,e),"sideBySideWidth","50%"):"100%"},te=function(e,t){return y(e,t)?"".concat(o()(o()(t,e),"sideBySidePadding",8),"px"):0},ne=function(e,t){return g(e,t)?"center":"flex-start"},ie=function(e,t){return g(e,t)&&!y(e,t)?"16px 0 24px 0":0},re=function(e,t){return o()(o()(t,e),"backgroundColor","transparent")},ae=H.a.article.withConfig({displayName:"shared-styles__ArticleContainer",componentId:"sc-1kek94e-0"})(["display:flex;flex-direction:",";background-color:",";@media (min-width:","px){flex-direction:",";background-color:",";}@media (min-width:","px){flex-direction:",";background-color:",";}@media (min-width:","px){flex-direction:",";background-color:",";}"],(function(e){var t=e.schema;return Z("sm",t)}),(function(e){var t=e.schema;return re("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return Z("md",t)}),(function(e){var t=e.schema;return re("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return Z("lg",t)}),(function(e){var t=e.schema;return re("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return Z("xlg",t)}),(function(e){var t=e.schema;return re("xlg",t)})),oe=H.a.div.withConfig({displayName:"shared-styles__SideBySideColumn",componentId:"sc-1kek94e-1"})(["width:100%;&:first-of-type{flex-shrink:0;width:",";padding-right:",";}&:last-of-type{display:flex;flex-direction:column;justify-content:",";align-items:",";margin:",";padding-left:",";}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}@media (min-width:","px){&:first-of-type{width:",";padding-right:",";}&:last-of-type{justify-content:",";align-items:",";margin:",";padding-left:",";}}"],(function(e){var t=e.schema;return ee("sm",t)}),(function(e){var t=e.schema;return te("sm",t)}),(function(e){var t=e.schema;return ne("sm",t)}),(function(e){var t=e.schema;return ne("sm",t)}),(function(e){var t=e.schema;return ie("sm",t)}),(function(e){var t=e.schema;return te("sm",t)}),P.breakpoints.medium,(function(e){var t=e.schema;return ee("md",t)}),(function(e){var t=e.schema;return te("md",t)}),(function(e){var t=e.schema;return ne("md",t)}),(function(e){var t=e.schema;return ne("md",t)}),(function(e){var t=e.schema;return ie("md",t)}),(function(e){var t=e.schema;return te("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return ee("lg",t)}),(function(e){var t=e.schema;return te("lg",t)}),(function(e){var t=e.schema;return ne("lg",t)}),(function(e){var t=e.schema;return ne("lg",t)}),(function(e){var t=e.schema;return ie("lg",t)}),(function(e){var t=e.schema;return te("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return ee("xlg",t)}),(function(e){var t=e.schema;return te("xlg",t)}),(function(e){var t=e.schema;return ne("xlg",t)}),(function(e){var t=e.schema;return ne("xlg",t)}),(function(e){var t=e.schema;return ie("xlg",t)}),(function(e){var t=e.schema;return te("xlg",t)})),le=H.a.p.withConfig({displayName:"shared-styles__Label",componentId:"sc-1kek94e-2"})(["margin:0 0 4px 0;color:",";font-size:12px;line-height:16px;letter-spacing:0.5px;font-family:",";text-transform:uppercase;"],P.colours.functional.secondary,P.fonts.supporting),ce=function(e,t){return g(e,t)?"sm"===e||"md"===e?"90%":"80%":"100%"},de=function(e,t){return g(e,t)?"center":"left"},se=H.a.p.withConfig({displayName:"styles__Strapline",componentId:"p3h2iu-0"})(["width:",";margin:4px auto 0 auto;color:",";font-size:14px;line-height:20px;text-align:",";font-family:",";@media (min-width:","px){width:",";text-align:",";}@media (min-width:","px){width:",";text-align:",";}@media (min-width:","px){width:",";text-align:",";}"],(function(e){var t=e.schema;return ce("sm",t)}),P.colours.functional.secondary,(function(e){var t=e.schema;return de("sm",t)}),P.fonts.body,P.breakpoints.medium,(function(e){var t=e.schema;return ce("md",t)}),(function(e){var t=e.schema;return de("md",t)}),P.breakpoints.wide,(function(e){var t=e.schema;return ce("lg",t)}),(function(e){var t=e.schema;return de("lg",t)}),P.breakpoints.huge,(function(e){var t=e.schema;return ce("xlg",t)}),(function(e){var t=e.schema;return de("xlg",t)})),me=H.a.p.withConfig({displayName:"styles__TimeSince",componentId:"p3h2iu-1"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;letter-spacing:1px;font-family:",";text-transform:uppercase;"],P.colours.functional.secondary,P.fonts.supporting),pe=H.a.div.withConfig({displayName:"styles__Link",componentId:"p3h2iu-2"})(["margin-top:8px;a{color:#006699;font-size:13px;line-height:13px;letter-spacing:0px;font-family:",";font-weight:500;text-decoration:none;&:after{display:inline-block;content:'\\E003';font-size:10px;font-family:iconfont;padding:0 0 1px 6px;vertical-align:middle;}}"],P.fonts.supporting),ue=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t)return null;var a=t.standfirst||t.summary,l=function(e){var t=v()(o()(e,"datePublished","")),n=v()(o()(e,"dateUpdated","")),i=w()([t,n].filter((function(e){return k()(e)}))),r=A()(new Date,i);return!k()(i)||r>=7?null:"".concat(C()(i,{roundingMethod:"floor"})," ago")}(t);return r.a.createElement(ae,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i})),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}),a&&r.a.createElement(se,{schema:n},a),l&&r.a.createElement(me,null,l),t.cta&&r.a.createElement(pe,null,r.a.createElement("a",{href:t.url},t.cta))))},fe=H.a.div.withConfig({displayName:"shared-styles__SliceContainer",componentId:"ismxwo-0"})(["display:flex;flex-wrap:wrap;justify-content:space-between;margin:0 auto;padding:",";@media (min-width:","px){max-width:520px;}@media (min-width:","px){max-width:860px;padding:",";}@media (min-width:","px){max-width:1024px;}@media (min-width:","px){max-width:1180px;}"],(function(e){var t=e.styles;return t&&t.removePadding?0:"0 16px"}),P.breakpoints.small,P.breakpoints.medium,(function(e){var t=e.styles;return t&&t.removePadding?0:"0 20px"}),P.breakpoints.wide,P.breakpoints.huge),he=H.a.div.withConfig({displayName:"shared-styles__SlotContainer",componentId:"ismxwo-1"})(["position:relative;width:100%;margin-bottom:",";padding-bottom:",";box-sizing:content-box;:before{content:'';display:none;position:absolute;top:0;right:0;bottom:0;width:1px;background-color:",";}:after{content:'';display:",";position:absolute;right:0;bottom:0;left:0;height:1px;background-color:",";}"],(function(e){return e.collapse?0:"12px"}),(function(e){return e.collapse?0:"12px"}),(function(e){var t=e.styles;return t&&t.lineColor?t.lineColor:"#dbdbdb"}),(function(e){return e.collapse?"none":"block"}),(function(e){var t=e.styles;return t&&t.lineColor?t.lineColor:"#dbdbdb"})),ye=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-614vlg-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),ge=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-614vlg-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:0;padding-bottom:24px;}"],P.breakpoints.medium),be=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(ye,{styles:n},r.a.createElement(ge,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",isCentered:!0,headlineFontSize:28,backgroundColor:"#f0f0f0"},md:{isSideBySide:!0},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})))})),xe=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-1r0nv22-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),we=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-1r0nv22-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium),Se=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-1r0nv22-2"})(["@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(33.33,3)),ve=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(xe,{styles:n},r.a.createElement(we,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:28},md:{imageRatio:"16:9"},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})),r.a.createElement(Se,{styles:n},r.a.createElement(ue,{article:o()(t,"children[1].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},lg:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})))})),_e=function(e){return e&&("maincomment"===e.template||"magazinecomment"===e.template||"externalcomment"===e.template)},ke=H()(ae).withConfig({displayName:"styles__ArticleContainer",componentId:"sc-2eizyd-0"})(["align-items:center;"]),Ee=H.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"sc-2eizyd-1"})(["max-width:120px;margin:0 auto;@media (min-width:","px){max-width:140px;}"],P.breakpoints.huge),Ce=H.a.p.withConfig({displayName:"styles__Byline",componentId:"sc-2eizyd-2"})(["margin:0 0 4px 0;color:",";font-size:22px;line-height:22px;font-family:",";@media (min-width:","px){font-size:24px;line-height:24px;}"],P.colours.functional.secondary,P.fonts.headlineRegular,P.breakpoints.huge),Ie=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;return t?r.a.createElement(ke,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(Ee,null,r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i}))),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),t.byline&&r.a.createElement(Ce,null,t.byline),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}))):null},Ae=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"fss0bs-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.medium),ze=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"fss0bs-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium),Fe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"fss0bs-2"})(["@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(33.33,3)),Ne=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ae,{styles:n},r.a.createElement(ze,{styles:n},r.a.createElement(ue,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:28},md:{imageRatio:"16:9"},lg:{headlineFontSize:32},xlg:{headlineFontSize:36}}),clickHandler:i})),r.a.createElement(Fe,{styles:n},r.a.createElement(he,{styles:n},r.a.createElement(ue,{article:o()(t,"children[1].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},lg:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})),_e(o()(t,"children[2].article"))?r.a.createElement(Ie,{article:t.children[2].article,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{headlineFontSize:16},lg:{sideBySideWidth:"50%"},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:o()(t,"children[2].article"),displaySchema:h({sm:{isSideBySide:!0,imageRatio:"3:2",headlineFontSize:18},md:{headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i})))})),Oe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"rqwi1t-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-right:12px;padding-bottom:24px;:before{display:block;bottom:24px;}}"],P.breakpoints.medium,b(50,2)),je=H.a.div.withConfig({displayName:"styles__SideBySideColumn",componentId:"rqwi1t-1"})(["display:flex;flex-wrap:wrap;justify-content:space-between;"]),He=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"rqwi1t-2"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;}"],P.breakpoints.medium,b(50,2)),Re=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"rqwi1t-3"})(["width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:last-of-type{padding-left:12px;}"],b(50,2));function De(e){return function(e){if(Array.isArray(e))return Te(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Le=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},r.a.createElement(Oe,{styles:n},r.a.createElement(je,null,De(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Re,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18},md:{imageRatio:"16:9"},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))}))),r.a.createElement(ue,{article:o()(t,"children[2].article"),displaySchema:h({sm:{isSideBySide:!0,sideBySidePadding:12,imageRatio:"3:2",headlineFontSize:18},md:{imageRatio:"16:9",headlineFontSize:22},lg:{headlineFontSize:24}}),clickHandler:i})),r.a.createElement(He,{styles:n},r.a.createElement(ue,{article:o()(t,"children[3].article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i})))})),Be=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"z7ncw3-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}"],P.breakpoints.medium,b(50,2)),Pe=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(Be,{key:t,styles:n},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{imageRatio:"16:9",headlineFontSize:24},xlg:{headlineFontSize:28}}),clickHandler:i}))})))})),Me=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"xnsfmb-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),Ue=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"xnsfmb-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),qe=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"xnsfmb-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),$e=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"xnsfmb-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}@media (min-width:","px){width:100%;margin-bottom:12px;padding-bottom:12px;&:first-of-type{padding-right:0;:before{display:none;}}&:last-of-type{margin-bottom:0;padding:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function We(e){return function(e){if(Array.isArray(e))return Ye(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ye(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ye(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ye(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var Ve=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Me,{styles:n},We(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Ue,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(qe,{styles:n},We(Array(2)).fill(null).map((function(e,a){var l=o()(t,"children[".concat(a+2,"].article"));return r.a.createElement($e,{key:a,styles:n},_e(l)?r.a.createElement(Ie,{article:l,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{sideBySideWidth:"50%",headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:l,displaySchema:h({sm:{isSideBySide:!0,imageRatio:"3:2",headlineFontSize:18},md:{headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}))}))))})),Ge=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-7y5fg-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),Je=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-7y5fg-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),Ke=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"sc-7y5fg-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),Qe=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-7y5fg-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;:before{display:none;}}}@media (min-width:","px){width:100%;margin-bottom:12px;padding:0 0 12px 0;:before{display:none;}&:last-of-type{margin-bottom:0;padding-bottom:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function Xe(e){return function(e){if(Array.isArray(e))return Ze(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Ze(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ze(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ze(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var et=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ge,{styles:n},Xe(Array(2)).fill(null).map((function(e,a){return r.a.createElement(Je,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(Ke,{styles:n},Xe(Array(3)).fill(null).map((function(e,a){return r.a.createElement(Qe,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a+2,"].article")),displaySchema:h({sm:{isImageHidden:!0,imageRatio:"3:2",headlineFontSize:18},lg:{isSideBySide:!0,isImageHidden:!1,headlineFontSize:16},xlg:{headlineFontSize:18}}),clickHandler:i}))}))))})),tt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"sc-11upv3n-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),nt=H()(he).withConfig({displayName:"styles__SlotContainerLead",componentId:"sc-11upv3n-1"})(["@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(2){padding-left:12px;}}@media (min-width:","px){margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(2){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide),it=H()(he).withConfig({displayName:"styles__StackedColumn",componentId:"sc-11upv3n-2"})(["margin-bottom:0;padding-bottom:0;:after{display:none;}@media (min-width:","px){display:flex;justify-content:space-between;}@media (min-width:","px){display:block;flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;padding-left:12px;:after{display:block;}}"],P.breakpoints.medium,P.breakpoints.wide,b(33.33,3)),rt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-11upv3n-3"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;:before{display:none;}}}@media (min-width:","px){width:100%;margin-bottom:12px;padding:0 0 12px 0;:before{display:none;}&:last-of-type{margin-bottom:0;padding-bottom:0;:after{display:none;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function at(e){return function(e){if(Array.isArray(e))return ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ot(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ot(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var lt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(tt,{styles:n},at(Array(2)).fill(null).map((function(e,a){return r.a.createElement(nt,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a,"].article")),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})),r.a.createElement(it,{styles:n},at(Array(3)).fill(null).map((function(e,a){return r.a.createElement(rt,{key:a,styles:n},r.a.createElement(ue,{article:o()(t,"children[".concat(a+2,"].article")),displaySchema:h({sm:{isImageHidden:!0,headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))}))))})),ct=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"bazswq-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}:after{display:block;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],P.breakpoints.medium,b(33.33,3)),dt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(ct,{key:t,styles:n,collapse:!e.article},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},md:{headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),st=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-1gqjewy-0"})(["width:",";&:nth-of-type(odd){padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(even){padding-left:12px;}@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px !important;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],b(50,2),P.breakpoints.medium,b(25,4)),mt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(st,{key:t,styles:n},r.a.createElement(ue,{article:e.article,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),pt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"c5tu9p-0"})(["@media (min-width:","px){flex-wrap:nowrap;}"],P.breakpoints.wide),ut=H()(he).withConfig({displayName:"styles__SlotContainerLarge",componentId:"c5tu9p-1"})(["order:1;@media (min-width:","px){width:",";&:first-of-type{padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(3){padding-left:12px;}}@media (min-width:","px){flex-shrink:0;width:",";margin-bottom:24px;padding-bottom:24px;:before{display:block;bottom:24px !important;}&:nth-of-type(3){padding-right:12px;}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide,b(33.33,3)),ft=H()(he).withConfig({displayName:"styles__SlotContainerSmall",componentId:"c5tu9p-2"})(["order:2;@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:nth-of-type(2){padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}@media (min-width:","px){order:1;&:nth-of-type(2){padding-left:12px;:before{bottom:24px;}}}"],P.breakpoints.medium,b(50,2),P.breakpoints.wide);function ht(e){return function(e){if(Array.isArray(e))return yt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return yt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return yt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var gt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(pt,{styles:n},ht(Array(2)).fill(null).map((function(e,a){var l=o()(t,"children[".concat(2*a,"].article")),c=o()(t,"children[".concat(2*a+1,"].article"));return r.a.createElement(r.a.Fragment,{key:a},r.a.createElement(ut,{styles:n},r.a.createElement(ue,{article:l,displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i})),r.a.createElement(ft,{styles:n},_e(c)?r.a.createElement(Ie,{article:c,displaySchema:h({sm:{isSideBySide:!0,sideBySideWidth:"35%",imageRatio:"1:1",headlineFontSize:18},md:{sideBySideWidth:"50%",headlineFontSize:16},lg:{isSideBySide:!1},xlg:{headlineFontSize:18}}),clickHandler:i}):r.a.createElement(ue,{article:c,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"3:2",headlineFontSize:18},md:{isImageHidden:!1,isSideBySide:!0,headlineFontSize:16},lg:{isSideBySide:!1},xlg:{headlineFontSize:18}}),clickHandler:i})))})))})),bt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"sc-189xcog-0"})(["width:",";&:nth-of-type(odd){padding-right:12px;:before{display:block;bottom:12px;}}&:nth-of-type(even){padding-left:12px;}@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px !important;}&:nth-of-type(5n + 1){padding-left:0;}&:nth-of-type(5n){padding-right:0;&:before{display:none;}}}"],b(50,2),P.breakpoints.medium,b(20,5)),xt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(bt,{key:t,styles:n},r.a.createElement(ue,{article:o()(e,"article"),displaySchema:h({sm:{imageRatio:"3:2",headlineFontSize:18,isCentered:!0},lg:{headlineFontSize:22},xlg:{headlineFontSize:24}}),clickHandler:i}))})))})),wt=n(9),St=n.n(wt),vt=n(10),_t=n.n(vt),kt=function(e,t){var n=new Date(Date.UTC(t,e+1,0)),i=n.getDay(),r=n.getDate()-i,a=new Date(Date.UTC(t,e,r));return a.setHours(1),a},Et=function(e){if(e){var t=function(e){var t=new Date(e);return new Date(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes())}(e),n=_t()(t,function(e){var t=kt(2,e.getFullYear()),n=kt(9,e.getFullYear()),i=e.getTime()>=t.getTime(),r=e.getTime()<n.getTime();return i&&r}(t)?60:0);return St()(n,"MMMM dd yyyy, h.mmaaa")}return null},Ct=H.a.p.withConfig({displayName:"styles__DateTime",componentId:"sc-1p1alcs-0"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;font-family:",";"],P.colours.functional.secondary,P.fonts.supporting),It=H.a.p.withConfig({displayName:"styles__Byline",componentId:"sc-1p1alcs-1"})(["margin:8px 0 0 0;color:",";font-size:12px;line-height:16px;font-family:",";"],P.colours.functional.brandColour,P.fonts.supporting),At=function(e){var t=e.article,n=e.displaySchema,i=e.clickHandler;if(!t)return null;var a=Et(t.datePublished);return r.a.createElement(ae,{schema:n},r.a.createElement(oe,{schema:n},r.a.createElement(V,{article:t,displaySchema:n,clickHandler:i})),r.a.createElement(oe,{schema:n},t.label&&r.a.createElement(le,null,t.label),r.a.createElement(X,{article:t,displaySchema:n,clickHandler:i}),a&&r.a.createElement(Ct,null,a),t.byline&&r.a.createElement(It,null,t.byline)))},zt=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"b33h2c-0"})(["@media (min-width:","px){flex-wrap:nowrap;width:80.8%;max-width:none;padding:0;}@media (min-width:","px){width:56.2%;}"],P.breakpoints.medium,P.breakpoints.wide),Ft=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"b33h2c-1"})(["@media (min-width:","px){margin-bottom:24px;padding-right:0;padding-bottom:24px;}"],P.breakpoints.medium),Nt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(zt,{styles:n},r.a.createElement(Ft,{styles:n},r.a.createElement(At,{article:o()(t,"children[0].article"),displaySchema:h({sm:{imageRatio:"16:9",headlineFontSize:22},md:{isSideBySide:!0}}),clickHandler:i})))})),Ot=H()(fe).withConfig({displayName:"styles__SliceContainer",componentId:"v1jynn-0"})(["@media (min-width:","px){width:80.8%;max-width:none;padding:0;}@media (min-width:","px){width:56.2%;}"],P.breakpoints.medium,P.breakpoints.wide),jt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"v1jynn-1"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding-bottom:24px;&:first-of-type{padding-right:12px;:before{display:block;bottom:24px;}}&:last-of-type{padding-left:12px;}}"],P.breakpoints.medium,b(50,2)),Ht=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(Ot,{styles:n},t.children.map((function(e,t){return r.a.createElement(jt,{key:t,styles:n},r.a.createElement(At,{article:e.article,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"16:9",headlineFontSize:22},md:{isImageHidden:!1}}),clickHandler:i}))})))})),Rt=H()(he).withConfig({displayName:"styles__SlotContainer",componentId:"yjxerl-0"})(["@media (min-width:","px){width:",";margin-bottom:24px;padding:0 12px 24px 12px;:before{display:block;bottom:24px;}:after{display:block;}&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;&:before{display:none;}}}"],P.breakpoints.medium,b(33.33,3)),Dt=r.a.memo((function(e){var t=e.slice,n=e.styles,i=e.clickHandler;return r.a.createElement(fe,{styles:n},t.children.map((function(e,t){return r.a.createElement(Rt,{key:t,styles:n},r.a.createElement(At,{article:e.article,displaySchema:h({sm:{isImageHidden:!0,imageRatio:"16:9",headlineFontSize:22},md:{isImageHidden:!1}}),clickHandler:i}))})))})),Tt=function(e){var t=e.slice,n=e.styles,i=e.clickHandler,a=function(e){switch(e){case"LEAD_1":case"LEAD_1_COMPONENT":case"INTERACTIVE_FULL_WIDTH":return be;case"LEAD_1_AND_1":case"LEAD_1_AND_1_COMPONENT":return ve;case"LEAD_1_AND_2":case"LEAD_1_AND_2_COLUMNIST":return Ne;case"LEAD_1_AND_3_REVERSED":return Le;case"LEAD_2":case"LEAD_2_COMPONENT":case"INTERACTIVE_HALF_WIDTH":return Pe;case"SECONDARY_2_AND_2":return Ve;case"SECONDARY_2_AND_3":return et;case"SECONDARY_2_AND_3_NO_PIC":return lt;case"SECONDARY_3":return dt;case"SECONDARY_4":return mt;case"SECONDARY_4_ODD":case"SECONDARY_4_ODD_COLUMNIST":return gt;case"SECONDARY_10":return xt;case"RELATED_ARTICLE_1":return Nt;case"RELATED_ARTICLE_2":return Ht;case"RELATED_ARTICLE_3":return Dt;default:return function(){return null}}}(t.name);return r.a.createElement(a,{slice:t,styles:n,clickHandler:i})};n.d(t,"Slice",(function(){return Tt}))}]);
@@ -12,7 +12,7 @@ export const LazyImage: React.FC<{
12
12
  }> = ({ url, alt, isRoundal, isBackground }) => {
13
13
  const ref: React.RefObject<HTMLImageElement> = React.createRef();
14
14
 
15
- const [src, setSrc] = useState<string>();
15
+ const [src, setSrc] = useState<string | undefined>(url);
16
16
 
17
17
  useEffect(
18
18
  () => {
@@ -11,10 +11,11 @@ exports[`<Image /> should render image component correctly 1`] = `
11
11
  class="sc-bxivhb gqElVf"
12
12
  >
13
13
  <div
14
- class="sc-bdVaJa gqNbEe"
14
+ class="sc-bdVaJa fdpJDB"
15
15
  >
16
16
  <img
17
17
  alt="image alt text"
18
+ src="https://dummyimage.com/300"
18
19
  />
19
20
  </div>
20
21
  </div>