@times-components/ts-components 1.129.5 → 1.129.6
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 +11 -0
- package/dist/components/palin-polls/PalinPolls.d.ts +6 -0
- package/dist/components/palin-polls/PalinPolls.js +24 -0
- package/dist/components/palin-polls/__tests__/PalinPolls.test.d.ts +1 -0
- package/dist/components/palin-polls/__tests__/PalinPolls.test.js +47 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +4 -4
- package/rnw.js +1 -1
- package/src/components/palin-polls/PalinPolls.tsx +35 -0
- package/src/components/palin-polls/__tests__/PalinPolls.test.tsx +59 -0
- package/src/index.ts +3 -0
package/rnw.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},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=21)}([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){e.exports=require("@times-components/image/rnw")},function(e,t){e.exports=require("@times-components/icons/rnw")},function(e,t){e.exports=require("@times-components/utils/rnw")},function(e,t){e.exports=require("date-fns/differenceInSeconds")},function(e,t){e.exports=require("date-fns/formatDistanceStrict")},function(e,t){e.exports=require("isomorphic-unfetch")},function(e,t){e.exports=require("react-elastic-carousel")},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/,i=/^\./,r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,d=c||s||Function("return this")();var p,u=Array.prototype,m=Function.prototype,f=Object.prototype,g=d["__core-js_shared__"],h=(p=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",y=m.toString,b=f.hasOwnProperty,x=f.toString,w=RegExp("^"+y.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=d.Symbol,_=u.splice,k=P(d,"Map"),C=P(Object,"create"),O=v?v.prototype:void 0,E=O?O.toString:void 0;function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function j(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function z(e,t){for(var n,o,i=e.length;i--;)if((n=e[i][0])===(o=t)||n!=n&&o!=o)return i;return-1}function A(e,t){for(var i,r=0,a=(t=function(e,t){if(R(e))return!1;var i=typeof e;if("number"==i||"symbol"==i||"boolean"==i||null==e||W(e))return!0;return o.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(i=t)?i:M(i)).length;null!=e&&r<a;)e=e[L(t[r++])];return r&&r==a?e:void 0}function N(e){return!(!B(e)||(t=e,h&&h 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 y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function T(e,t){var n,o,i=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function P(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return N(n)?n:void 0}I.prototype.clear=function(){this.__data__=C?C(null):{}},I.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},I.prototype.get=function(e){var t=this.__data__;if(C){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 C?void 0!==t[e]:b.call(t,e)},I.prototype.set=function(e,t){return this.__data__[e]=C&&void 0===t?"__lodash_hash_undefined__":t,this},S.prototype.clear=function(){this.__data__=[]},S.prototype.delete=function(e){var t=this.__data__,n=z(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},S.prototype.get=function(e){var t=this.__data__,n=z(t,e);return n<0?void 0:t[n][1]},S.prototype.has=function(e){return z(this.__data__,e)>-1},S.prototype.set=function(e,t){var n=this.__data__,o=z(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},j.prototype.clear=function(){this.__data__={hash:new I,map:new(k||S),string:new I}},j.prototype.delete=function(e){return T(this,e).delete(e)},j.prototype.get=function(e){return T(this,e).get(e)},j.prototype.has=function(e){return T(this,e).has(e)},j.prototype.set=function(e,t){return T(this,e).set(e,t),this};var M=D((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return E?E.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return i.test(e)&&n.push(""),e.replace(r,(function(e,t,o,i){n.push(o?i.replace(a,"$1"):t||e)})),n}));function L(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function D(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var a=e.apply(this,o);return n.cache=r.set(i,a),a};return n.cache=new(D.Cache||j),n}D.Cache=j;var R=Array.isArray;function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(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 o=null==e?void 0:A(e,t);return void 0===o?n:o}},function(e,t){e.exports=require("@times-components/ts-slices/rnw")},function(e,t){e.exports=require("date-fns-tz/format")},function(e,t){e.exports=require("date-fns/format")},function(e,t,n){(function(e){var n=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var r="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=r||a||Function("return this")(),c=t&&!t.nodeType&&t,s=c&&"object"==typeof e&&e&&!e.nodeType&&e,d=s&&s.exports===c,p=d&&r.process,u=function(){try{var e=s&&s.require&&s.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(e){}}(),m=u&&u.isTypedArray;function f(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var g,h,y,b=Array.prototype,x=Function.prototype,w=Object.prototype,v=l["__core-js_shared__"],_=x.toString,k=w.hasOwnProperty,C=(g=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",O=w.toString,E=_.call(Object),I=RegExp("^"+_.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=d?l.Buffer:void 0,j=l.Symbol,z=l.Uint8Array,A=S?S.allocUnsafe:void 0,N=(h=Object.getPrototypeOf,y=Object,function(e){return h(y(e))}),T=Object.create,P=w.propertyIsEnumerable,M=b.splice,L=j?j.toStringTag:void 0,D=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),R=S?S.isBuffer:void 0,B=Math.max,W=Date.now,H=ce(l,"Map"),F=ce(Object,"create"),q=function(){function e(){}return function(t){if(!we(t))return{};if(T)return T(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function U(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Y(e){var t=this.__data__=new U(e);this.size=t.size}function G(e,t){var n=ge(e),o=!n&&fe(e),i=!n&&!o&&ye(e),r=!n&&!o&&!i&&_e(e),a=n||o||i||r,l=a?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],c=l.length;for(var s in e)!t&&!k.call(e,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||r&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||se(s,c))||l.push(s);return l}function Z(e,t,n){(void 0!==n&&!me(e[t],n)||void 0===n&&!(t in e))&&Q(e,t,n)}function X(e,t,n){var o=e[t];k.call(e,t)&&me(o,n)&&(void 0!==n||t in e)||Q(e,t,n)}function J(e,t){for(var n=e.length;n--;)if(me(e[n][0],t))return n;return-1}function Q(e,t,n){"__proto__"==t&&D?D(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=F?F(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(F){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return k.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return F?void 0!==t[e]:k.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=F&&void 0===t?"__lodash_hash_undefined__":t,this},U.prototype.clear=function(){this.__data__=[],this.size=0},U.prototype.delete=function(e){var t=this.__data__,n=J(t,e);return!(n<0)&&(n==t.length-1?t.pop():M.call(t,n,1),--this.size,!0)},U.prototype.get=function(e){var t=this.__data__,n=J(t,e);return n<0?void 0:t[n][1]},U.prototype.has=function(e){return J(this.__data__,e)>-1},U.prototype.set=function(e,t){var n=this.__data__,o=J(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},V.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(H||U),string:new $}},V.prototype.delete=function(e){var t=le(this,e).delete(e);return this.size-=t?1:0,t},V.prototype.get=function(e){return le(this,e).get(e)},V.prototype.has=function(e){return le(this,e).has(e)},V.prototype.set=function(e,t){var n=le(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Y.prototype.clear=function(){this.__data__=new U,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var n=this.__data__;if(n instanceof U){var o=n.__data__;if(!H||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new V(o)}return n.set(e,t),this.size=n.size,this};var K,ee=function(e,t,n){for(var o=-1,i=Object(e),r=n(e),a=r.length;a--;){var l=r[K?a:++o];if(!1===t(i[l],l,i))break}return e};function te(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var t=k.call(e,L),n=e[L];try{e[L]=void 0;var o=!0}catch(e){}var i=O.call(e);o&&(t?e[L]=n:delete e[L]);return i}(e):function(e){return O.call(e)}(e)}function ne(e){return ve(e)&&"[object Arguments]"==te(e)}function oe(e){return!(!we(e)||function(e){return!!C&&C in e}(e))&&(be(e)?I:n).test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ie(e){if(!we(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=de(e),n=[];for(var o in e)("constructor"!=o||!t&&k.call(e,o))&&n.push(o);return n}function re(e,t,n,o,i){e!==t&&ee(t,(function(r,a){if(i||(i=new Y),we(r))!function(e,t,n,o,i,r,a){var l=pe(e,n),c=pe(t,n),s=a.get(c);if(s)return void Z(e,n,s);var d=r?r(l,c,n+"",e,t,a):void 0,p=void 0===d;if(p){var u=ge(c),m=!u&&ye(c),f=!u&&!m&&_e(c);d=c,u||m||f?ge(l)?d=l:ve(x=l)&&he(x)?d=function(e,t){var n=-1,o=e.length;t||(t=Array(o));for(;++n<o;)t[n]=e[n];return t}(l):m?(p=!1,d=function(e,t){if(t)return e.slice();var n=e.length,o=A?A(n):new e.constructor(n);return e.copy(o),o}(c,!0)):f?(p=!1,g=c,h=!0?(y=g.buffer,b=new y.constructor(y.byteLength),new z(b).set(new z(y)),b):g.buffer,d=new g.constructor(h,g.byteOffset,g.length)):d=[]:function(e){if(!ve(e)||"[object Object]"!=te(e))return!1;var t=N(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==E}(c)||fe(c)?(d=l,fe(l)?d=function(e){return function(e,t,n,o){var i=!n;n||(n={});var r=-1,a=t.length;for(;++r<a;){var l=t[r],c=o?o(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),i?Q(n,l,c):X(n,l,c)}return n}(e,ke(e))}(l):we(l)&&!be(l)||(d=function(e){return"function"!=typeof e.constructor||de(e)?{}:q(N(e))}(c))):p=!1}var g,h,y,b;var x;p&&(a.set(c,d),i(d,c,o,r,a),a.delete(c));Z(e,n,d)}(e,t,a,n,re,o,i);else{var l=o?o(pe(e,a),r,a+"",e,t,i):void 0;void 0===l&&(l=r),Z(e,a,l)}}),ke)}function ae(e,t){return ue(function(e,t,n){return t=B(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,r=B(o.length-t,0),a=Array(r);++i<r;)a[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(a),f(e,this,l)}}(e,t,Ee),e+"")}function le(e,t){var n,o,i=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ce(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return oe(n)?n:void 0}function se(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e<t}function de(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||w)}function pe(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ue=function(e){var t=0,n=0;return function(){var o=W(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(D?function(e,t){return D(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ee);function me(e,t){return e===t||e!=e&&t!=t}var fe=ne(function(){return arguments}())?ne:function(e){return ve(e)&&k.call(e,"callee")&&!P.call(e,"callee")},ge=Array.isArray;function he(e){return null!=e&&xe(e.length)&&!be(e)}var ye=R||function(){return!1};function be(e){if(!we(e))return!1;var t=te(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function we(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ve(e){return null!=e&&"object"==typeof e}var _e=m?function(e){return function(t){return e(t)}}(m):function(e){return ve(e)&&xe(e.length)&&!!i[te(e)]};function ke(e){return he(e)?G(e,!0):ie(e)}var Ce,Oe=(Ce=function(e,t,n){re(e,t,n)},ae((function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,r=o>2?t[2]:void 0;for(i=Ce.length>3&&"function"==typeof i?(o--,i):void 0,r&&function(e,t,n){if(!we(n))return!1;var o=typeof t;return!!("number"==o?he(n)&&se(t,n.length):"string"==o&&t in n)&&me(n[t],e)}(t[0],t[1],r)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var a=t[n];a&&Ce(e,a,n,i)}return e})));function Ee(e){return e}e.exports=Oe}).call(this,n(20)(e))},function(e,t){e.exports=require("xss")},function(e,t){e.exports=require("@times-components/provider/rnw")},function(e,t){e.exports=require("@times-components/link/rnw")},function(e,t){e.exports=require("date-fns/differenceInCalendarDays")},function(e,t){e.exports=require("date-fns-tz/utcToZonedTime")},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var o=n(0),i=n.n(o),r=n(2),a=n.n(r),l=n(1),c=n(5);const s=a.a.div.withConfig({displayName:"styles__LiveArticleFlagContainer",componentId:"sc-1ipxqw1-0"})(["background-color:#9f0000;height:24px;padding:7px 7px 7px 9px;display:flex;flex-direction:row;width:fit-content;"]),d=a.a.span.withConfig({displayName:"styles__LiveArticleFlagText",componentId:"sc-1ipxqw1-1"})(["font-family:",";color:#ffffff;font-weight:500;font-size:12px;letter-spacing:0.05em;display:flex;align-items:center;"],l.fonts.supporting),p=Object(r.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),u=a.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),m=a.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],p),f=a.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),g=a.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),h=a.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],e=>{let t=e.color;return Object(c.gqlRgbaToStyle)(t)||t}),y=a.a.div.withConfig({displayName:"styles__ArticleFlagTextContainer",componentId:"sc-1ipxqw1-7"})(["font-family:TimesDigitalW04-RegularSC;font-size:12px;font-weight:400;letter-spacing:0.6px;line-height:12px;margin-left:5px;color:",";"],e=>{let t=e.color;return Object(c.gqlRgbaToStyle)(t)||t}),b=a.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],e=>e.allFlags.length>1?"15px":0),x=a.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),w=a.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var v=n(6),_=n.n(v),k=n(7),C=n.n(k),O=n(13),E=n.n(O);const I=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding-left:8px;"]),S=a.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:14px;line-height:16px;"],e=>e.color||l.colours.functional.primary,l.fonts.supporting),j=e=>{let t=e.updatedTime,n=e.color;if(!t)return null;const o=new Date,r=new Date(t),a=C()(r,o,{roundingMethod:"floor"})+" ago",l=_()(o,r),c=l<60,s=l<46800;return i.a.createElement(I,null,!c&&s?i.a.createElement(S,{color:n,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(a)):s?null:i.a.createElement(S,{color:n,"data-testId":"DateTimeUpdated"},"Updated ",E()(r,"MMMM d, "),E()(r,"h.mmaaa")))},z=Object(o.createContext)(void 0),A=e=>{let t=e.updatedTime,n=e.children;return i.a.createElement(z.Provider,{value:t},n)},N=e=>{let t=e.title,n=e.timeStampTextColor;const r=Object(o.useContext)(z);return i.a.createElement(g,null,i.a.createElement(s,null,i.a.createElement(u,null,i.a.createElement(m,null)),i.a.createElement(d,null,t)),i.a.createElement(j,{updatedTime:r,color:n}))},T=e=>{let t=e.color;return i.a.createElement(N,{timeStampTextColor:t,title:"LIVE"})},P=e=>{let t=e.color;return i.a.createElement(N,{timeStampTextColor:t,title:"BREAKING"})};var M=n(14),L=n.n(M);function D(e,t,n){return Object(o.useEffect)(()=>{let o;return null!==e&&(o="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(e=>{e[0].isIntersecting&&(o&&o.disconnect(),t&&t())},n)||void 0,o&&o.observe(e)),()=>{o&&o.disconnect()}},[e])}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(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 H(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 H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const F=i.a.createContext({context:{}}),q=()=>Object(o.useContext)(F),$=e=>{let t=e.children,n=e.analyticsStream,r=e.context,a=e.scrolledEvent;const l=Object(o.useContext)(F),c=void 0!==n?n:l.analyticsStream,s=L()({},l.context,r),d=e=>{const t=L()({},s,e,{attrs:{eventTime:(new Date).toISOString()}});c?c(t):console.error("no analytics stream to send to",t)},p=W(Object(o.useState)(null),2),u=p[0],m=p[1];return a&&D(u,()=>d&&d(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({action:"Scrolled"},a)),{threshold:.5}),i.a.createElement(F.Provider,{value:{fireAnalyticsEvent:d,context:s,analyticsStream:c}},"function"==typeof t?t({fireAnalyticsEvent:d,intersectObserverRef:m}):t)};var U=n(3),V=n(8),Y=n.n(V);function G(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function Z(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(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 X(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 X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const J=Object(o.createContext)(void 0),Q=e=>{let t=e.url,n=e.options,r=e.previewData,a=e.children;const l=Z(Object(o.useState)(!1),2),c=l[0],s=l[1],d=Z(Object(o.useState)(),2),p=d[0],u=d[1],m=Z(Object(o.useState)(),2),f=m[0],g=m[1];return Object(o.useEffect)(()=>{if(!c){s(!0);(function(){var e,o=(e=function*(){try{if(r)return yield new Promise(e=>setTimeout(e,1500)),g(r),void s(!1);if(!t)throw new Error("must provide a Fetch url");{const e=yield Y()(t,n),o=yield e.json();g(o),s(!1)}}catch(e){u(e instanceof Error?e.message:"unknown error"),s(!1)}},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){G(r,o,i,a,l,"next",e)}function l(e){G(r,o,i,a,l,"throw",e)}a(void 0)}))});return function(){return o.apply(this,arguments)}})()()}},[t,n,r]),i.a.createElement(J.Provider,{value:{loading:c,error:p,data:f}},a)},K=()=>{const e=Object(o.useContext)(J);if(void 0===e)throw new Error("must be used within a FetchProvider");return e};var ee=n(15),te=n.n(ee);const ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value};let o={whiteList:t,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},i=n(e);return te()(i,o)},oe={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},ie=a.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],e=>{let t=e.ratio;return t&&oe[t]&&Object(r.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],oe[t])}),re=e=>{let t=e.ratio,n=e.children;return i.a.createElement(ie,{ratio:t},n)};var ae=n(4);const le=a.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],l.colours.functional.secondary,l.colours.functional.secondary),ce=a.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:15px;"],l.fonts.supporting),se=e=>{let t=e.link,n=e.linkText,o=e.onClick;return i.a.createElement(le,{href:t,onClick:()=>o&&o(n)},i.a.createElement(ce,null,n),i.a.createElement(ae.IconForwardChevron,{height:18,width:8}))},de=a.a.div.withConfig({displayName:"common-styles__PlaceholderContainer",componentId:"sc-14ch98m-0"})(["position:relative;height:200px;margin:0 auto 20px auto;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}"],l.breakpoints.medium,l.breakpoints.wide),pe=a.a.div.withConfig({displayName:"common-styles__Label",componentId:"sc-14ch98m-1"})(["font-family:",";font-size:12px;line-height:16px;text-transform:uppercase;color:",";padding-bottom:5px;letter-spacing:0.5px;"],l.fonts.supporting,e=>{let t=e.sectionColour;return"".concat(t)}),ue=a.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),me=a.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),fe=a.a.ul.withConfig({displayName:"common-styles__List",componentId:"sc-14ch98m-4"})(["display:flex;flex-wrap:wrap;margin:0 -2px -1px -15px;list-style:none;padding:0;@media (min-width:","px){}"],l.breakpoints.medium),ge=a.a.div.withConfig({displayName:"common-styles__ListContainer",componentId:"sc-14ch98m-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";"],e=>{let t=e.showAll,n=e.maxHeight,o=e.displayShowAll;return!t&&o?n+"px":"none"}),he=a.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],l.colours.functional.keyline,e=>e.displayShowAll?"flex":"none"),ye=a.a.div.withConfig({displayName:"common-styles__Headline",componentId:"sc-14ch98m-7"})(["font-family:",";font-size:24px;line-height:24px;color:",";margin:0 0 6px;@media (min-width:","px){font-size:32px;line-height:32px;}"],l.fonts.headline,l.colours.functional.brandColour,l.breakpoints.medium),be=a.a.button.withConfig({displayName:"common-styles__ShowAllButton",componentId:"sc-14ch98m-8"})(["font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;cursor:pointer;&:active{border:1px solid ",";color:",";}"],l.fonts.supporting,l.colours.functional.primary,l.colours.functional.action,l.colours.functional.action),xe=a.a.div.withConfig({displayName:"styles__Container",componentId:"e5otdw-0"})(["display:flex;flex-direction:column;margin:0 auto 20px auto;padding:20px;background-color:#f9f9f9;border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),we=a.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"e5otdw-1"})(["padding-bottom:12px;img{display:block;width:100%;}@media (min-width:","px){width:50%;padding-right:20px;padding-bottom:0;}"],l.breakpoints.medium),ve=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],l.breakpoints.medium,e=>e.hasImage?"50%":"100%"),_e=a.a.div.withConfig({displayName:"styles__Label",componentId:"e5otdw-3"})(["padding-bottom:",";color:",";font-family:",";font-size:12px;text-transform:uppercase;letter-spacing:0.5px;"],e=>e.hasImage?"8px":"12px",e=>e.sectionColour,l.fonts.supporting),ke=a.a.h4.withConfig({displayName:"styles__Headline",componentId:"e5otdw-4"})(["margin:0;padding-bottom:8px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;:hover{color:#069;}@media (min-width:","px){font-size:",";line-height:",";}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.wide,e=>e.hasImage?"24px":"28px",e=>e.hasImage?"24px":"28px"),Ce=a.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),Oe={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Ee=e=>{let t=e.sectionColour,n=e.forceImageAspectRatio;const o=e.isLiveOrBreaking||"no flag",r=(e,t)=>{e&&e(((e,t)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click",article_flag:t}}))(t,o))},a=K(),l=a.loading,c=a.error,s=a.data;if(l)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(c||void 0===s||0===s.body.data.length)return null;const d=s.body.data[0].data,p=d.image,u=d.label,m=d.headline,f=d.copy,g=d.link,h=d.linkText,y=Boolean(p);return i.a.createElement($,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(m),article_flag:o}},scrolledEvent:Oe},e=>{let o=e.fireAnalyticsEvent,a=e.intersectObserverRef;return i.a.createElement(xe,{ref:a,sectionColour:t},p?i.a.createElement(we,null,i.a.createElement("a",{href:g,onClick:()=>r(o,"image")},i.a.createElement(re,{ratio:n},i.a.createElement("img",{src:p})))):null,i.a.createElement(ve,{hasImage:y},i.a.createElement("div",null,i.a.createElement(_e,{hasImage:y,sectionColour:t},u),i.a.createElement("a",{href:g,onClick:()=>r(o,"headline")},i.a.createElement(ke,{hasImage:y},m)),f&&i.a.createElement(Ce,{dangerouslySetInnerHTML:{__html:ne(f,{b:{},i:{}})}})),i.a.createElement(se,{link:g,linkText:h||"Read more",onClick:()=>r(o,h||"Read more")})))})};var Ie=n(9),Se=n.n(Ie);const je=a.a.div.withConfig({displayName:"styles__Headline",componentId:"w8icgs-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;padding-bottom:0;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.breakpoints.wide),ze=a.a.div.withConfig({displayName:"styles__SubHeading",componentId:"w8icgs-1"})(["font-size:22px;line-height:22px;color:",";font-family:",";padding-bottom:7px;@media (min-width:","px){font-size:24px;line-height:24px;}"],l.colours.functional.brandColour,l.fonts.headlineRegular,l.breakpoints.medium),Ae=a.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),Ne=a.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"w8icgs-3"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],l.breakpoints.medium),Te=a.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),Pe=a.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"w8icgs-5"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}@media (hover:hover){&:hover{border:solid 1px ",";}}@media (hover:none){&:active{border:solid 1px ",";}}"],e=>e.disabled?l.colours.functional.keyline:l.colours.functional.primary,e=>e.disabled?"none":"auto",e=>e.disabled?l.colours.functional.keyline:l.colours.functional.primary,e=>e.disabled?l.colours.functional.keyline:l.colours.functional.action,e=>e.disabled?l.colours.functional.keyline:l.colours.functional.action),Me=a.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),Le=a.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"w8icgs-7"})(["background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],e=>e.active?l.colours.functional.action:l.colours.functional.keyline),De=a()(Se.a).withConfig({displayName:"styles__StyledCarousel",componentId:"w8icgs-8"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}"]),Re=a.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"w8icgs-9"})(["background-color:",";padding-bottom:16px;margin:0 auto 20px auto;border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}& div.rec-carousel-item.rec-carousel-item-visible{border-right:1px solid ",";}& div.rec-carousel-item:last-child{border-right:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"auto")||"auto"},l.breakpoints.medium,e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"80.8%")||"80.8%"},l.breakpoints.wide,e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"56.2%")||"56.2%"},l.colours.functional.keyline),Be=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"w8icgs-10"})(["display:flex;flex-direction:column;background-color:",";width:100%;height:30%;padding:20px 16px 14px 16px;"],l.colours.functional.backgroundPrimary),We=a.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),He=a.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),Fe=a.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),qe=e=>{let t=e.sectionColour,n=e.label,o=e.headline,r=e.children;return i.a.createElement(Be,null,i.a.createElement(We,null,i.a.createElement(pe,{sectionColour:t},n),i.a.createElement(Ne,null,i.a.createElement(je,null,o),r)))},$e=e=>{let t=e.size,n=void 0===t?{width:"16",height:"16"}:t;return i.a.createElement("svg",{width:n.width,height:n.height,xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function Ue(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ve(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 Ve(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 Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Ye;!function(e){e.Standard="4043",e.Wide="4042"}(Ye||(Ye={}));let Ge=new Array;const Ze=l.breakpoints.small,Xe=l.breakpoints.medium,Je=l.breakpoints.wide,Qe=e=>{let t=e.activePage,n=e.onClick,o=e.current,r=e.data,a=e.showDisplayItem,l=e.windowWidth,c=e.showDotItem;return i.a.createElement(Te,null,i.a.createElement(Pe,{"data-testid":"Previous button",disabled:0===t,onClick:()=>n(o/a-1,"left")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})),i.a.createElement(Me,null,r.map((e,o)=>{if(function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e),o<c){const e=t===o;return i.a.createElement(Le,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:e})}})),i.a.createElement(Pe,{"data-testid":"Next Button",disabled:t===Math.trunc(r.length/a-(Xe>l?1:0)),className:"nextBtn",onClick:()=>n(o/a+1,"right")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})))},Ke=e=>{let t=e.sectionColour,n=e.initialIndex,r=void 0===n?0:n;const a=K(),l=a.loading,c=a.error,s=a.data;if(c)return null;if(l||void 0===s)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));const d=s.fields,p=d.headline,u=d.label,m=d.size,f=s.body.data,g=e=>e===Ye.Standard,h=e=>e===Ye.Wide,y=Ue(Object(o.useState)("undefined"!=typeof window?window.innerWidth:0),2),b=y[0],x=y[1],w=Ue(Object(o.useState)(1),2),v=w[0],_=w[1],k=b.toString(),C=()=>x(window.innerWidth);Object(o.useEffect)(()=>(window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}),[]),Object(o.useEffect)(()=>{E()});const O=[{width:Ze,itemsToShow:1,itemsToScroll:1}];h(m)&&(Ge=[...O,{width:Xe,itemsToShow:2,itemsToScroll:2},{width:Je,itemsToShow:3,itemsToScroll:3}]),g(m)&&(Ge=[...O,{width:Ze+55,itemsToShow:2,itemsToScroll:2}]);const E=()=>{k<Xe?_(Ge[0].itemsToScroll):k>=Je&&h(m)?_(Ge[2].itemsToScroll):_(Ge[1].itemsToScroll)},I=f.length/v,S=f.length>(k>=Je&&h(m)?3:k<Xe?1:2),j=Ue(Object(o.useState)(r),2),z=j[0],A=j[1],N=e=>{A(e.index)};return i.a.createElement($,{context:{object:"InfoCard",attrs:{component_type:"in-article component : text-image info cards : interactive",event_navigation_action:"navigation",event_navigation_browsing_method:"click",component_name:"".concat(p)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(I>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},e=>{let n=e.intersectObserverRef,o=e.fireAnalyticsEvent;return i.a.createElement(Re,{sectionColour:t,isWide:h(m),isStandard:g(m),ref:n},i.a.createElement(De,{sectionColour:t,breakPoints:Ge,isRTL:!1,onChange:N,showArrows:!1,enableSwipe:S,renderPagination:e=>{let n=e.activePage,r=e.onClick;return i.a.createElement(qe,{data:f[z],headline:p,label:u,sectionColour:t},S&&i.a.createElement(Qe,{activePage:n,onClick:(e,t)=>{t&&o({attrs:{event_navigation_name:"button : ".concat(t),component_name:p}}),r&&r(e)},current:z,data:f,showDisplayItem:v,windowWidth:b.toString(),showDotItem:I}))}},f.map((e,t)=>i.a.createElement(He,{key:t},e.data.image&&i.a.createElement(re,{ratio:"16:9"},i.a.createElement(Fe,{src:e.data.image})),e.data.subtitle&&i.a.createElement(ze,null,e.data.subtitle),e.data.copy&&i.a.createElement(Ae,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,{br:{},b:{},i:{}})}})))))})};const et=a.a.div.withConfig({displayName:"styles__Headline",componentId:"d49zf9-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;font-size:",";line-height:",";padding-bottom:",";}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"32px":"24px",e=>e.isWide?"32px":"24px",e=>e.isWide?"0px":"14px"),tt=a.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"d49zf9-1"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],l.breakpoints.medium),nt=a.a.div.withConfig({displayName:"styles__Copy",componentId:"d49zf9-2"})(["color:#555555;font-family:",";font-size:14px;line-height:20px;padding-bottom:16px;@media (min-width:","px){width:",";font-size:16px;line-height:24px;}"],l.fonts.body,l.breakpoints.wide,e=>e.isWide?"60%":"100%"),ot=a.a.div.withConfig({displayName:"styles__ImageTitle",componentId:"d49zf9-3"})(["font-size:16px;line-height:16px;font-family:",";padding-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}@media (min-width:","px){font-size:",";line-height:",";}"],l.fonts.headlineRegular,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"24px":"18px",e=>e.isWide?"24px":"18px"),it=a.a.div.withConfig({displayName:"styles__Credit",componentId:"d49zf9-4"})(["text-transform:uppercase;font-size:12px;line-height:16px;font-family:",";color:",";padding-bottom:10px;padding-top:8px;@media (min-width:","px){padding-top:12px;}@media (min-width:","px){padding-top:12px;padding-bottom:",";}"],l.fonts.supporting,l.colours.functional.secondary,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"8px":"14px"),rt=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"d49zf9-5"})(["display:flex;flex-direction:column;background-color:#f9f9f9;width:100%;height:30%;padding:20px 16px 16px 16px;@media (min-width:","px){padding:20px 20px 12px 20px;}@media (min-width:","px){height:",";width:",";padding:",";}"],l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"30%":"auto",e=>{let t=e.isWide,n=e.isSmall;return(t?"100%":n&&"36%")||"33%"},e=>e.isWide?"20px 16px 16px 16px":"20px 16px"),at=a.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),lt=a.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"d49zf9-7"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding-left:6px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}&:hover{border:solid 1px #0a68c1;}"],e=>e.disabled?"#e4e4e4":"#000000",e=>e.disabled?"none":"auto",e=>e.disabled?"#CCCCCC":"black"),ct=a.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),st=a.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"d49zf9-9"})(["background-color:#cccccc;background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],e=>e.active?"#1573A2":"#CCCCCC"),dt=a.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),pt=a.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],l.breakpoints.wide,e=>e.isWide?"block":"none"),ut=a.a.div.withConfig({displayName:"styles__NotMobileOrLarge",componentId:"d49zf9-12"})(["display:none;@media (min-width:","px){display:",";justify-content:space-between;height:100%;flex-direction:column;}"],l.breakpoints.wide,e=>e.isWide?"none":"flex"),mt=a.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",l.breakpoints.wide,e=>e.isSmall?"82.1%":"100%"),ft=a()(Se.a).withConfig({displayName:"styles__StyledCarousel",componentId:"d49zf9-14"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}@media (min-width:","px){flex-direction:",";}"],l.breakpoints.medium,e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),gt=e=>{let t=e.children,n=e.isWide,o=e.data,r=e.headline,a=e.label,l=e.isSmall,c=e.sectionColour;const s=o.data;return i.a.createElement(rt,{isWide:n,isSmall:l},i.a.createElement(dt,null,i.a.createElement(pe,{sectionColour:c},a),i.a.createElement(tt,null,i.a.createElement(et,{isWide:n},r),i.a.createElement(pt,{isWide:n},t)),i.a.createElement(ut,{isWide:n},i.a.createElement("div",null,s.imageTitle&&i.a.createElement(ot,{isWide:n},s.imageTitle),s.copy&&i.a.createElement(nt,{isWide:n,dangerouslySetInnerHTML:{__html:ne(s.copy,{br:{},b:{},i:{}})}})),i.a.createElement("div",null,i.a.createElement(it,{isWide:n},s.credit),t))))};function ht(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||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,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 yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const bt=e=>{let t=e.activePage,n=e.onClick,o=e.current,r=e.data;return i.a.createElement(at,null,i.a.createElement(lt,{"data-testid":"Previous button",disabled:0===t,onClick:()=>n(o-1,"left")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})),i.a.createElement(ct,null,r.map((e,o)=>{!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);const r=t===o;return i.a.createElement(st,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:r})})),i.a.createElement(lt,{"data-testid":"Next Button",disabled:t===r.length-1,className:"nextBtn",onClick:()=>n(o+1,"right")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})))};var xt;!function(e){e.Small="4033",e.Wide="4035"}(xt||(xt={}));const wt=e=>{let t=e.sectionColour,n=e.initialIndex,r=void 0===n?0:n;const a=K(),l=a.loading,c=a.error,s=a.data;if(l)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(c||void 0===s||0===s.body.data.length)return null;const d=s.fields,p=d.headline,u=d.label,m=d.size,f=s.body.data,g=e=>e===xt.Small,h=e=>e===xt.Wide,y=ht(Object(o.useState)(r),2),b=y[0],x=y[1],w=e=>{x(e.index)};return i.a.createElement($,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(p)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},e=>{let n=e.intersectObserverRef,o=e.fireAnalyticsEvent;return i.a.createElement(mt,{sectionColour:t,isWide:h(m),isSmall:g(m),ref:n},i.a.createElement(ft,{sectionColour:t,isWide:h(m),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:w,showArrows:!1,renderPagination:e=>{let n=e.activePage,r=e.onClick;return i.a.createElement(gt,{isWide:h(m),data:f[b],headline:p,label:u,isSmall:g(m),sectionColour:t},f.length>1&&i.a.createElement(bt,{activePage:n,onClick:(e,t)=>{t&&o({attrs:{event_navigation_name:"button : ".concat(t),component_name:p,event_navigation_browsing_method:"click"}}),r&&r(e)},current:b,data:f}))}},f.map(e=>i.a.createElement("div",{style:{width:"100%"}},i.a.createElement(re,{ratio:"3:2"},i.a.createElement("img",{src:e.data.image}))))),i.a.createElement(pt,{isWide:h(m)},i.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},i.a.createElement(it,{isWide:h(m)},f[b].data.credit),f[b].data.imageTitle&&i.a.createElement(ot,{isWide:h(m)},f[b].data.imageTitle),f[b].data.copy&&i.a.createElement(nt,{isWide:h(m),dangerouslySetInnerHTML:{__html:ne(f[b].data.copy,{br:{},b:{},i:{}})}}))))})},vt=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwze61-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),_t=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),kt=a.a.div.withConfig({displayName:"styles__Headline",componentId:"sc-1qwze61-2"})(["font-family:",";font-size:24px;line-height:24px;color:",";@media (min-width:","px){font-size:32px;line-height:32px;}"],l.fonts.headline,l.colours.functional.brandColour,l.breakpoints.medium),Ct=a.a.div.withConfig({displayName:"styles__ReadMoreContainer",componentId:"sc-1qwze61-3"})(["display:flex;border-top:1px solid ",";margin-top:",";padding:5px;justify-content:center;display:",";@media (min-width:","px){display:none;}"],l.colours.functional.keyline,e=>e.readMore?"0":"15px",e=>e.showReadMore?"flex":"none",l.breakpoints.medium),Ot=a.a.button.withConfig({displayName:"styles__ReadMoreButton",componentId:"sc-1qwze61-4"})(["font-size:12px;font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;margin:15px 0;padding:10px 12px 5px;cursor:pointer;&:active{border:1px solid ",";color:",";}"],l.fonts.supporting,l.colours.functional.primary,l.colours.functional.action,l.colours.functional.action),Et=a.a.div.withConfig({displayName:"styles__ListContainer",componentId:"sc-1qwze61-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";@media (min-width:","px){max-height:none;}"],e=>{let t=e.readMore,n=e.maxHeight,o=e.showReadMore;return!t&&o?n+"px":"none"},l.breakpoints.medium),It=a.a.ul.withConfig({displayName:"styles__List",componentId:"sc-1qwze61-6"})(["column-count:1;column-gap:25px;column-rule:1px solid ",";margin-left:0;padding:0;@media (min-width:","px){column-count:2;margin-bottom:20px;}"],l.colours.functional.keyline,l.breakpoints.medium),St=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwze61-7"})(["color:",";font-family:",";font-size:16px;line-height:24px;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid;margin:0 5px 13px 0;padding-left:15px;list-style:none;position:relative;&:last-child{margin-bottom:0;}&::before{content:'';position:absolute;left:3px;top:7px;width:6px;height:6px;background-color:",";border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;}"],l.colours.functional.secondary,l.fonts.body,l.colours.functional.primary);function jt(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zt(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 zt(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 zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const At={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},Nt=l.breakpoints.medium,Tt=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=l.body.data,u=jt(Object(o.useState)(!1),2),m=u[0],f=u[1],g=Object(o.useRef)(null),h=jt(Object(o.useState)(!1),2),y=h[0],b=h[1],x=window.innerWidth.toString();return Object(o.useEffect)(()=>{const e=g.current;e&&b(e.clientHeight>350)},[]),i.a.createElement($,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(y&&x<Nt?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:At},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(vt,{ref:o,sectionColour:t},i.a.createElement(_t,null,i.a.createElement(pe,{sectionColour:t},d),i.a.createElement(kt,null,s),i.a.createElement(Et,{ref:g,readMore:m,maxHeight:350,showReadMore:y},i.a.createElement(It,null,p.map((e,t)=>i.a.createElement(St,{key:t,dangerouslySetInnerHTML:{__html:ne(e.data.copy,{b:{},i:{}})}}))))),i.a.createElement(Ct,{readMore:m,showReadMore:y},i.a.createElement(Ot,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),f(!m)})(n,m?"Collapse":"Read more")},m?"Collapse":"Read more")))})},Pt=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1tqomyo-0"})(["margin:0 auto 20px auto;padding:23px 0 0;background-color:",";border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>e.isWide?"100%":"auto",l.breakpoints.medium,e=>e.isWide?"100%":"80.8%",l.breakpoints.wide,e=>e.isWide?"100%":"56.2%"),Mt=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),Lt=a()(be).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:8px 12px 7px;"]),Dt=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1tqomyo-3"})(["flex:1 0 50%;padding:12px 16px 13px 0;border-width:0 1px 1px 0;border-style:solid;border-color:",";padding-left:16px;&:empty{height:0;border:none;}&:before,:after{box-sizing:border-box;}@media (min-width:","px){flex:1 0 ",";}"],l.colours.functional.keyline,l.breakpoints.medium,e=>e.isStandard?"50%":"33%"),Rt=a.a.div.withConfig({displayName:"styles__NumberContainer",componentId:"sc-1tqomyo-4"})(["font-family:",";font-size:32px;line-height:32px;margin-bottom:4px;color:",";@media (min-width:","px){font-size:50px;line-height:40px;}"],l.fonts.headline,e=>{let t=e.sectionColour;return"".concat(t)},l.breakpoints.medium);var Bt;!function(e){e.Standard="4043",e.Wide="4042"}(Bt||(Bt={}));const Wt=e=>e===Bt.Wide;function Ht(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ft(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 Ft(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 Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const qt={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},$t=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=c.size,u=l.body.data,m=Ht(Object(o.useState)(!1),2),f=m[0],g=m[1],h=Object(o.useRef)(null),y=Ht(Object(o.useState)(!1),2),b=y[0],x=y[1],w=Wt(p)?250:350;return Object(o.useEffect)(()=>{const e=h.current;e&&x(e.clientHeight>w)},[]),i.a.createElement($,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(b?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:qt},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(Pt,{ref:o,sectionColour:t,isWide:Wt(p)},i.a.createElement(Mt,null,i.a.createElement(pe,{sectionColour:t},d),s&&i.a.createElement(ye,null,s),i.a.createElement(ge,{ref:h,showAll:f,maxHeight:w,displayShowAll:b},i.a.createElement(fe,null,u.map((e,n)=>{return i.a.createElement(Dt,{key:n,isStandard:(o=p,o===Bt.Standard)},i.a.createElement(Rt,{sectionColour:t},e.data.number),i.a.createElement(me,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,{br:{},b:{},i:{}})}}));var o})))),i.a.createElement(he,{showAll:f,displayShowAll:b},i.a.createElement(Lt,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),g(!f)})(n,f?"Collapse":"Show all")},f?"Collapse":"Show all")))})};var Ut=e=>e?e.filter(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime()):[];const Vt=e=>{let t=e.color,n=void 0===t?l.colours.functional.primary:t,o=e.title;return i.a.createElement(f,null,i.a.createElement(h,{color:n}),i.a.createElement(y,{"aria-label":"".concat(o," Flag"),color:n,"data-testid":"flag-".concat(o)},o.toLowerCase()))},Yt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagNew:t;return i.a.createElement(Vt,{color:n,title:"new"})},Gt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagUpdated:t;return i.a.createElement(Vt,{color:n,title:"updated"})},Zt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagExclusive:t;return i.a.createElement(Vt,{color:n,title:"exclusive"})},Xt=e=>{let t=e.color,n=void 0===t?l.colours.functional.tertiary:t;return i.a.createElement(Vt,{color:n,title:"sponsored"})},Jt=e=>{let t=e.color,n=void 0===t?l.colours.functional.secondary:t;return i.a.createElement(Vt,{color:n,title:"long read"})},Qt=e=>{let t=e.allFlags,n=e.overrideColor,o=void 0===n?"":n;return i.a.createElement(x,null,t.map(e=>i.a.createElement(b,{key:e.type,allFlags:t},function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t&&(e={color:t}),new Map([["NEW",i.a.createElement(Yt,Object.assign({},e))],["LIVE",i.a.createElement(T,Object.assign({},e))],["BREAKING",i.a.createElement(P,Object.assign({},e))],["UPDATED",i.a.createElement(Gt,Object.assign({},e))],["EXCLUSIVE",i.a.createElement(Zt,Object.assign({},e))],["SPONSORED",i.a.createElement(Xt,Object.assign({},e))],["LONGREAD",i.a.createElement(Jt,Object.assign({},e))]])}(o).get(e.type))))},Kt=e=>{let t=e.flags,n=void 0===t?[]:t,o=e.longRead,r=void 0!==o&&o,a=e.withContainer,l=void 0!==a&&a,c=e.color,s=void 0===c?"":c;const d=[...Ut(n),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return d.length?l?i.a.createElement(w,null,i.a.createElement(Qt,{allFlags:d,overrideColor:s})):i.a.createElement(Qt,{allFlags:d,overrideColor:s}):null};const en=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwfd1c-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";width:100%;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}a{text-decoration:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),tn=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),nn=a()(be).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:13px;margin:11px 0;padding:12px 15px 10px;"]),on=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),rn=a.a.div.withConfig({displayName:"styles__LeftPanel",componentId:"sc-1qwfd1c-4"})(["display:table;float:left;width:",";text-align:center;padding-right:",";height:100%;& img{border-radius:100%;height:50px;width:50px;position:relative;margin-left:16px;z-index:2;}&:before{content:'';background:",";position:relative;top:0px;left:15px;width:8px;height:8px;border-radius:100%;z-index:1;display:",";}&:after{content:'';border-right:1px solid #ccc;height:100%;display:block;position:absolute;top:",";left:",";z-index:1;}@media (min-width:","px){width:",";padding-right:",";& img{height:76px;width:76px;}&:after{top:",";left:",";}}"],e=>e.circularImage?"80px":"40px",e=>e.circularImage?"16px":"24px",e=>{let t=e.sectionColour;return"".concat(t)},e=>e.circularImage?"none":"block",e=>e.circularImage?"60px":"20px",e=>e.circularImage?"42px":"19px",l.breakpoints.medium,e=>e.circularImage?"100px":"39px",e=>e.circularImage?"16px":"24px",e=>e.circularImage?"74px":"20px",e=>e.circularImage?"52px":"19px"),an=a.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),ln=a.a.div.withConfig({displayName:"styles__Date",componentId:"sc-1qwfd1c-6"})(["font-family:",";text-transform:uppercase;font-size:12px;line-height:16px;margin-bottom:8px;color:",";"],l.fonts.supporting,e=>{let t=e.sectionColour;return"".concat(t)}),cn=a.a.div.withConfig({displayName:"styles__SubHeading",componentId:"sc-1qwfd1c-7"})(["font-size:20px;line-height:20px;color:",";font-family:",";margin-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function sn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dn(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 dn(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 dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const pn={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},un=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=l.body.data,u=sn(Object(o.useState)(!1),2),m=u[0],f=u[1],g=Object(o.useRef)(null),h=sn(Object(o.useState)(!1),2),y=h[0],b=h[1];return Object(o.useEffect)(()=>{const e=g.current;e&&b(e.clientHeight>375)},[]),i.a.createElement($,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(y?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:pn},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(en,{ref:o,sectionColour:t},i.a.createElement(tn,null,i.a.createElement(pe,{sectionColour:t},d),s&&i.a.createElement(ye,null,s),i.a.createElement(ge,{ref:g,showAll:m,maxHeight:375,displayShowAll:y},i.a.createElement(fe,null,p.map((e,n)=>i.a.createElement(on,{key:n},i.a.createElement(rn,{sectionColour:t,circularImage:e.data.image},e.data.image&&i.a.createElement("img",{src:e.data.image})),i.a.createElement(an,null,i.a.createElement(ln,{sectionColour:t},e.data.date),i.a.createElement(cn,null,e.data.eventHeading),i.a.createElement(me,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,["br","b","i"])}}))))))),i.a.createElement(he,{showAll:m,displayShowAll:y},i.a.createElement(nn,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),f(!m)})(n,m?"Collapse":"Show all")},m?"Collapse":"Show all")))})},mn=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"qq20og-0"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;"]),fn=a()(ae.IconActivityIndicator).withConfig({displayName:"styles__LoadingIcon",componentId:"qq20og-1"})(["background-color:",";border-radius:9999;overflow:hidden;"],l.colours.functional.whiteGrey),gn=a.a.div.withConfig({displayName:"styles__SaveStarText",componentId:"qq20og-2"})(["margin-right:15px;color:",";font-family:",";font-size:14px;line-height:14px;"],l.colours.functional.secondary,l.fonts.supporting),hn=a.a.button.withConfig({displayName:"styles__SaveStarButton",componentId:"qq20og-3"})(["display:flex;justify-content:center;padding:0;background-color:",";border:0;border-radius:40px;outline:0;cursor:pointer;&:hover{background-color:",";}&:active{background-color:",";}"],l.colours.functional.white,l.colours.functional.whiteGrey,l.colours.functional.keyline),yn=e=>e?"Saved":"Save",bn=e=>e?l.colours.functional.action:l.colours.functional.white,xn=e=>{let t=e.articleId,n=e.onToggleSave,o=e.loading,r=e.error,a=e.data;return o?i.a.createElement(i.a.Fragment,null,i.a.createElement(gn,null,yn(!1)),i.a.createElement(mn,null,i.a.createElement(fn,null))):r||!a?null:i.a.createElement(i.a.Fragment,null,i.a.createElement(gn,null,yn(a.isBookmarked)),i.a.createElement(hn,{onClick:()=>n(t,a.isBookmarked)},i.a.createElement(mn,null,i.a.createElement(ae.IconStar,{height:18,title:(c=a.isBookmarked,c?"Remove from My Articles":"Save to My Articles"),fillColour:bn(a.isBookmarked),strokeColour:l.colours.functional.secondary}))));var c},wn=i.a.memo(e=>{let t=e.children;const n=K();return i.a.createElement(i.a.Fragment,null,i.a.isValidElement(t)&&i.a.cloneElement(t,n))});function vn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _n(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 _n(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 _n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const kn=i.a.memo(e=>{let t=e.articleId,n=e.isPreviewMode,r=e.children;const a=vn(Object(o.useState)("/api/collections/is-bookmarked/".concat(t)),2),l=a[0],c=a[1],s=vn(Object(o.useState)(n?{isBookmarked:!1}:void 0),2),d=s[0],p=s[1],u=Object(o.useMemo)(()=>({credentials:"same-origin"}),[]),m=Object(o.useCallback)((e,t)=>{n?p({isBookmarked:!t}):c(t?"/api/collections/delete/".concat(e):"/api/collections/save/".concat(e))},[]),f=r?Object(o.cloneElement)(r,{articleId:t,onToggleSave:m}):i.a.createElement(xn,{articleId:t,onToggleSave:m});return i.a.createElement(Q,{url:l,options:u,previewData:d},i.a.createElement(wn,null,f))}),Cn={blue070:"#006699",inkContrast:"#01000d",inkSubtle:"#696969",inkNonEssential:"#aaaaaa"},On=a.a.a.withConfig({displayName:"styles__BreadcrumbItem",componentId:"sc-1q1w5tj-0"})(["color:inherit;text-decoration:none;display:inline-grid;font-family:Roboto-Regular;font-size:12px;font-weight:500;line-height:1.250;letter-spacing:0%;font-stretch:normal display:inline-grid;background-color:transparent;min-height:32px;border:none;place-content:center;color:",";&:hover{color:","};"],e=>e.selected?Cn.inkContrast:Cn.inkSubtle,Cn.blue070),En=a.a.nav.withConfig({displayName:"styles__Breadcrumbs",componentId:"sc-1q1w5tj-1"})(["display:flex;"]),In=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1q1w5tj-2"})(["height:32px;display:flex;align-items:center;padding-inline:8px;"]);var Sn=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),o.createElement("path",{fill:e.color,d:"m6.667 4-.94.94L8.78 8l-3.053 3.06.94.94 4-4-4-4Z"}));const jn=e=>{let t=e.data;const n=(e,t)=>{e&&e((e=>({object:"Breadcrumb",action:"Clicked",attrs:{event_navigation_action:"navigation",event_navigation_name:"header:selection",event_navigation_browsing_method:"click",article_parent_name:"breadcrumb : ".concat(e)}}))(t))};return i.a.createElement($,null,e=>{let o=e.fireAnalyticsEvent;return i.a.createElement(En,{"aria-label":"breadcrumbs"},t.map((e,t,r)=>t<r.length-1?i.a.createElement(i.a.Fragment,null,i.a.createElement(On,{key:e.title,"aria-current":"false",href:e.url,selected:!1,onClick:()=>n(o,e.title)},e.title),i.a.createElement(In,null,i.a.createElement(Sn,{color:Cn.inkNonEssential}))):i.a.createElement(On,{"aria-current":"page",key:e.title,href:e.url,selected:!0,onClick:()=>n(o,e.title)},e.title)))})};var zn=e=>i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i.a.createElement("path",{fill:"currentcolor",d:"m3.166 8 .94.94 3.727-3.72v8.113h1.333V5.22l3.72 3.727.947-.947-5.334-5.333L3.166 8Z"}));const An={interactiveNegative040:"#9f0000",interactiveNegative050:"#800000",inkInverse:"#FFFFFF"},Nn={space030:"12px",space020:"8px"},Tn=a.a.button.withConfig({displayName:"styles__StyledButton",componentId:"sc-1i2ta0n-0"})(["border:none;background-color:",";padding-block:",";padding-inline:",";font-family:Roboto;font-size:1.4000000000000001rem;font-weight:500;letter-spacing:0em;color:",";display:inline-grid;grid-template-columns:repeat(2,auto);column-gap:8px;place-content:center;place-items:center;cursor:pointer;transition-property:background-color;transition-duration:200ms;transition-timing-function:cubic-bezier(0,0,0.5,1);&:hover{background-color:",";}&:active{background-color:",";}"],An.interactiveNegative040,Nn.space020,Nn.space030,An.inkInverse,An.interactiveNegative050,An.interactiveNegative050),Pn=e=>{let t=e.label,n=e.handleClick;return i.a.createElement(Tn,{onClick:()=>n()},i.a.createElement(zn,{"data-testid":"upward-arrow"}),t)};function Mn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ln(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 Ln(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 Ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Dn=e=>{let t=e.delay,n=e.initialState,r=e.children;const a=Mn(Object(o.useState)(n),2),l=a[0],c=a[1];return Object(o.useEffect)(()=>{setTimeout(()=>{c(!n)},t)},[]),i.a.createElement(i.a.Fragment,null,l?r:null)};function Rn(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function Bn(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){Rn(r,o,i,a,l,"next",e)}function l(e){Rn(r,o,i,a,l,"throw",e)}a(void 0)}))}}function Wn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hn(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 Hn(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 Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Fn=e=>{let t=e.delay,n=e.display,r=e.label,a=e.handleClick,l=e.updatedTime,c=e.articleId,s=e.update,d=void 0!==s&&s;const p=Wn(Object(o.useState)(d),2),u=p[0],m=p[1];return Object(o.useEffect)(()=>{const e=function(){var e=Bn((function*(){try{const e=yield Y()("/api/article-update-time/".concat(c));return(yield e.json()).article.publishedTime}catch(e){console.log(e)}}));return function(){return e.apply(this,arguments)}}(),t=setInterval(Bn((function*(){(yield e())>l&&m(!0)})),12e4);return()=>clearInterval(t)},[]),i.a.createElement(i.a.Fragment,null,u?i.a.createElement(Dn,{delay:t,initialState:n},i.a.createElement(Pn,{label:r,handleClick:a})):null)},qn=a.a.div.withConfig({displayName:"styles__BannerWrapper",componentId:"mc8dye-0"})(["max-width:498px;box-shadow:0px 16px 24px 0px rgba(17,17,17,0.08);z-index:100;width:100%;"]),$n=a.a.div.withConfig({displayName:"styles__StyledBanner",componentId:"mc8dye-1"})(["border-top:3px solid #005c8a;background-color:#fff;flex-direction:column;align-items:flex-start;padding-left:16px;padding-block:12px;padding-right:16px;@media screen and (min-width:","px){padding-block:10px;}@media screen and (min-width:","px){padding-right:30px;}"],l.breakpoints.wide,l.breakpoints.medium),Un=a.a.div.withConfig({displayName:"styles__BannerContentWrapper",componentId:"mc8dye-2"})(["flex-direction:inherit;"]),Vn=a.a.div.withConfig({displayName:"styles__Wrapper",componentId:"mc8dye-3"})(["display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px;@media screen and (min-width:","px){margin-bottom:8px;}"],l.breakpoints.medium),Yn=a.a.div.withConfig({displayName:"styles__TitleWrapper",componentId:"mc8dye-4"})(["display:flex;align-items:center;width:100%;"]),Gn=a.a.p.withConfig({displayName:"styles__Title",componentId:"mc8dye-5"})(["color:#333;font-weight:700;margin:0 0 0 16px;font-size:24px;line-height:27px;font-family:'Times Modern';letter-spacing:0em;@media (max-width:","px){font-size:18px;line-height:20px;}"],l.breakpoints.medium),Zn=a.a.p.withConfig({displayName:"styles__Body",componentId:"mc8dye-6"})(["color:#696969;font-weight:400;margin:0;font-size:16px;line-height:24px;font-family:'Roboto';letter-spacing:0em;@media (max-width:","px){font-size:14px;line-height:21px;}"],l.breakpoints.medium),Xn=a.a.button.withConfig({displayName:"styles__CloseIconWrapper",componentId:"mc8dye-7"})(["background:#fff;border:none;cursor:pointer;"]);function Jn(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Qn=e=>{let t=e.width,n=void 0===t?24:t,o=e.height,r=void 0===o?24:o,a=e.color,l=void 0===a?"#000":a,c=Jn(e,["width","height","color"]);return i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:n,height:r,viewBox:"0 0 14 14",fill:"none"},c),i.a.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:l}))};function Kn(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var eo=e=>{let t=e.width,n=void 0===t?24:t,o=e.height,r=void 0===o?24:o,a=e.color,l=void 0===a?"#000":a,c=Kn(e,["width","height","color"]);return i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:n,height:r,viewBox:"0 0 24 24",fill:"none"},c),i.a.createElement("path",{d:"M22 9.98V19C22 20.1 21.1 21 20 21H4C2.9 21 2 20.1 2 19L2.01 7C2.01 5.9 2.9 5 4 5H14.1C14.04 5.32 14 5.66 14 6C14 6.34 14.04 6.68 14.1 7H4L12 12L15.67 9.71C16.14 10.14 16.69 10.47 17.3 10.69L12 14L4 9V19H20V10.9C20.74 10.75 21.42 10.42 22 9.98ZM16 6C16 7.66 17.34 9 19 9C20.66 9 22 7.66 22 6C22 4.34 20.66 3 19 3C17.34 3 16 4.34 16 6Z",fill:l}))};const to=e=>{let t=e.title,n=e.body,o=e.onClose;return i.a.createElement(qn,null,i.a.createElement($n,{"aria-label":"Email verification banner"},i.a.createElement(Un,{role:"region"},i.a.createElement(Vn,null,i.a.createElement(Yn,null,i.a.createElement(eo,null),i.a.createElement(Gn,null,t)),i.a.createElement(Xn,{onClick:o},i.a.createElement(Qn,{width:14,height:14}))),i.a.createElement(Zn,null,n))))};var no=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),o.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},o.createElement("path",{fill:"currentcolor",d:"M7.333 4.667h1.334V6H7.334V4.667ZM7.333 7.333h1.334v4H7.334v-4Z"}),o.createElement("path",{fill:"currentcolor",fillRule:"evenodd",d:"M1.333 8A6.67 6.67 0 0 1 8 1.333 6.67 6.67 0 0 1 14.667 8 6.67 6.67 0 0 1 8 14.667 6.67 6.67 0 0 1 1.333 8Zm1.334 0A5.34 5.34 0 0 0 8 13.333 5.34 5.34 0 0 0 13.334 8 5.34 5.34 0 0 0 8 2.667 5.34 5.34 0 0 0 2.667 8Z",clipRule:"evenodd"})),o.createElement("g",{mask:"url(#a)"},o.createElement("path",{fill:"currentcolor",d:"M0 0h16v16H0z"})));const oo=a.a.button.withConfig({displayName:"styles__IconButton",componentId:"sc-170o5l5-0"})(["margin:0;padding:0;display:inline-grid;column-gap:8px;grid-template-columns:repeat(1,auto);width:32px;height:32px;margin-inline-start:8px;padding-inline:8px;padding-block:8px;box-sizing:border-box;overflow:hidden;border:none;appearance:none;background-color:#00000000;border-radius:50%;color:#333333;cursor:pointer;"]),io=a.a.div.withConfig({displayName:"styles__Popover",componentId:"sc-170o5l5-1"})(["position:relative;display:inline-block;"]),ro=a.a.div.withConfig({displayName:"styles__PopoverContext",componentId:"sc-170o5l5-2"})(["display:",";position:absolute;top:-55px;left:4px;box-shadow:0px 20px 32px 0px #11111114;border-radius:0px;border-style:none;z-index:80;div{margin:0;color:#333333;border-radius:0px;background-color:#ffffff;white-space:nowrap;display:grid;grid-template-areas:'header close' 'content content';grid-template-columns:1fr auto;grid-template-rows:auto 1fr;&::after{content:'';position:absolute;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);box-sizing:border-box;background-color:#ffffff;width:16px;height:16px;left:12px;bottom:calc(-16px / 2);}}"],e=>e.isOpen?"grid":"none"),ao=a.a.div.withConfig({displayName:"styles__PopoverHeader",componentId:"sc-170o5l5-3"})(["div{display:flex;grid-area:header;align-items:center;box-sizing:border-box;box-shadow:0px 20px 32px 0px #11111114;border-radius:0px;border-style:none;font-family:Roboto;font-size:1.4000000000000001rem;line-height:1.5;font-weight:500;letter-spacing:0em;padding-inline:24px;padding-block:16px;}"]),lo=a.a.button.withConfig({displayName:"styles__CloseButton",componentId:"sc-170o5l5-4"})(["height:48px;width:48px;border-radius:50%;padding:16px;background-color:transparent;border:none;outline:none;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s;&:focus-visible{background-color:#eeeeee;border:1px solid #000;}&:hover{background-color:#eeeeee;}"]),co=a.a.div.withConfig({displayName:"styles__Tooltip",componentId:"sc-170o5l5-5"})(["position:relative;display:inline-block;z-index:80;"]),so=a.a.div.withConfig({displayName:"styles__TooltipContext",componentId:"sc-170o5l5-6"})(["display:",";position:absolute;top:-34px;left:8px;grid-template-areas:'header close' 'content content';grid-template-columns:1fr auto;grid-template-rows:auto 1fr;color:rgb(255,255,255);background-color:rgb(17,17,17);font-family:'Roboto';font-size:14px;line-height:21px;font-weight:500;letter-spacing:0em;padding-inline:8px;padding-block:8px;white-space:nowrap;&::after{content:'';position:absolute;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);box-sizing:border-box;background-color:#ffffff;width:4px;height:4px;left:14px;bottom:calc(-4px / 2);box-sizing:border-box;background-color:rgb(17,17,17);}"],e=>e.isOpen?"grid":"none");var po=()=>i.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 14 14",fill:"none"},i.a.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#333333"}));function uo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return mo(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 mo(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 mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const fo=e=>{let t=e.contractualTitle;const n=uo(i.a.useState(!1),2),o=n[0],r=n[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement(co,null,i.a.createElement(so,{"data-testid":"Tooltip-context",isOpen:o},t),i.a.createElement(oo,{"aria-label":"See contractual title, button","data-testid":"Tooltip",onMouseOver:()=>r(!0),onMouseOut:()=>r(!1)},i.a.createElement(no,null))))},go=e=>{let t=e.contractualTitle;const n=uo(i.a.useState(!1),2),o=n[0],r=n[1],a=()=>{r(!o)};return i.a.createElement(i.a.Fragment,null,i.a.createElement(io,null,i.a.createElement(ro,{"data-testid":"Popover-context",isOpen:o},i.a.createElement(ao,null,i.a.createElement("div",null,t),i.a.createElement(lo,{"data-testid":"close-button",onClick:a},i.a.createElement(po,null)))),i.a.createElement(oo,{"aria-label":"See contractual title, button","data-testid":"Popover",onClick:a},i.a.createElement(no,null))))},ho=e=>{let t=e.contractualTitle;return e.isLargeDevice?i.a.createElement(fo,{contractualTitle:t,"data-testid":"Tooltip"}):i.a.createElement(go,{contractualTitle:t,"data-testid":"Popover"})},yo=()=>"undefined"!=typeof window&&window.sessionStorage;function bo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return xo(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 xo(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 xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach((function(t){_o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ko=(e,t)=>{const n=yo();if(n){const o=n.getItem("view-count"),i=vo(vo({},null!==o&&JSON.parse(o)||{}),{},{[e]:t});n.setItem("view-count",JSON.stringify(i))}},Co=e=>{const t=yo();if(t){const n=t.getItem("view-count"),o=null!==n&&JSON.parse(n);return o&&o[e]||1}return null},Oo=e=>{const t=Co(e);ko(e,t+1)},Eo=e=>{let t=e.displayFunction,n=void 0===t?()=>!0:t,r=e.trackingName,a=e.children;const l=bo(Object(o.useState)(),2),c=l[0],s=l[1],d=bo(Object(o.useState)(null),2),p=d[0],u=d[1];Object(o.useEffect)(()=>{const e=(e=>{const t=Co(e);return ko(e,t),t})(r);s(e)},[]),D(p,()=>Oo&&Oo(r),{threshold:.5});const m="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&n(c);return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"view-count-observer",ref:u}),i.a.createElement("div",{className:"view-count",style:{display:m?"block":"none"}},a))};var Io=n(16);const So=a.a.button.withConfig({displayName:"styles__PuffButton",componentId:"sc-1du8ah1-0"})(["font-family:",";font-size:15px;line-height:0;align-items:center;background-color:transparent;border-radius:0px;color:rgb(29,29,27);cursor:pointer;height:48px;justify-content:center;min-width:100px;padding-top:2px;width:100%;border-color:rgb(29,29,27);border-width:1px;letter-spacing:0.2px;&:hover{background-color:#e4e4e4;}&:active{background-color:#cccccc;}"],l.fonts.supporting),jo=a.a.button.withConfig({displayName:"styles__PuffLinkButton",componentId:"sc-1du8ah1-1"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;border:none;background-color:white;text-decoration-line:underline;&:hover{text-decoration-line:none;}"],l.colours.functional.action,l.fonts.body),zo=e=>{let t=e.updatingSubscription,n=void 0!==t&&t,o=e.onPress,r=e.style;const a=q().fireAnalyticsEvent,l=()=>{n||(o&&o(),a&&a({action:"Clicked",object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now",event_navigation_browsing_method:"click",event_navigation_action:"navigation"}}))};return"button"===r?i.a.createElement(So,{onClick:()=>l()},"Sign up with one click"):i.a.createElement(jo,{onClick:()=>l()},"Sign up with one click")};var Ao=n(17),No=n.n(Ao);const To=a.a.div.withConfig({displayName:"styles__View",componentId:"sc-18e8ba-0"})(["align-items:stretch;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0;"]),Po=a.a.div.withConfig({displayName:"styles__Text",componentId:"sc-18e8ba-1"})(["border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1);display:inline;font-size:14px;font-family:sans-serif;margin:0;padding:0;white-space:pre-wrap;word-wrap:break-word;"]),Mo=a()(To).withConfig({displayName:"styles__InpContainer",componentId:"sc-18e8ba-2"})(["border-top:2px solid ",";display:flex;flex-direction:column;margin-right:",";margin-bottom:",";margin-left:",";height:157.5px;@media (min-width:","px){margin:0 auto ",";width:80.8%;height:157.5px;}@media (min-width:","px){width:56.2%;height:117.5px;}"],e=>{let t=e.section;return t?l.colours.section[t]:"black"},Object(l.spacing)(2),Object(l.spacing)(4),Object(l.spacing)(2),l.breakpoints.medium,Object(l.spacing)(4),l.breakpoints.wide),Lo=a()(Po).withConfig({displayName:"styles__InpPreferencesText",componentId:"sc-18e8ba-3"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;margin-bottom:",";@media (min-width:","px){display:block;}"],l.colours.functional.action,l.fonts.body,Object(l.spacing)(3),l.breakpoints.wide),Do=e=>{let t=e.onPress;return i.a.createElement($,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(No.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(t&&t(),void(n&&n({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},i.a.createElement(c.HoverIcon,{underline:!0,colour:"#006699"},i.a.createElement(Lo,{ref:o},"Explore our newsletters")))})},Ro=a()(To).withConfig({displayName:"styles__Overlay",componentId:"sc-1nvj6r-0"})(["position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.9);z-index:1;"]),Bo=a.a.div.withConfig({displayName:"styles__Bubble",componentId:"sc-1nvj6r-1"})(["animation:expand 0.75s ease-in-out infinite;border-radius:20px;display:inline-block;transform-origin:center center;margin:0 7px;width:16px;height:16px;background:#c4c4c4;:nth-child(2){animation-delay:250ms;}:nth-child(3){animation-delay:500ms;}@keyframes expand{100%{background:#6b6b6b;}}"]),Wo=a()(To).withConfig({displayName:"styles__Loader",componentId:"sc-1nvj6r-2"})(["display:flex;flex-direction:row;left:40%;top:45%;@media (min-width:","px){left:40%;top:28%;}"],l.breakpoints.wide),Ho=()=>i.a.createElement(Ro,null,i.a.createElement(Wo,null,i.a.createElement(Bo,null),i.a.createElement(Bo,null),i.a.createElement(Bo,null))),Fo=a()(To).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],l.breakpoints.small),qo=a()(To).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],l.breakpoints.wide),$o=a()(Po).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],l.colours.functional.brandColour,l.fonts.headline,Object(l.spacing)(1)),Uo=a()(Po).withConfig({displayName:"styles__InpCopy",componentId:"sc-8h51gu-3"})(["font-family:",";font-size:18px;text-align:left;letter-spacing:-0.5px;color:",";margin-bottom:",";line-height:26px;"],l.fonts.body,l.colours.functional.primary,Object(l.spacing)(6)),Vo=a()(To).withConfig({displayName:"styles__InpSignupCTAContainer",componentId:"sc-8h51gu-4"})(["display:",";@media (min-width:","px){width:",";margin:0px auto;}@media (min-width:","px){display:",";}"],e=>"link"===e.childStyle?"none":"block",l.breakpoints.medium,e=>"button"===e.childStyle&&"220px",l.breakpoints.wide,e=>"link"===e.childStyle?"inline-block":"none"),Yo=a()(To).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]);function Go(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zo(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 Zo(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 Zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Xo=e=>{let t=e.intersectObserverRef,n=e.section,r=e.headline,a=e.copy,l=e.code,c=e.subscribeNewsletter,s=e.loading,d=e.error;const p=Go(Object(o.useState)(!1),2),u=p[0],m=p[1],f=e=>i.a.createElement(Vo,{ref:t,childStyle:e},i.a.createElement(zo,{style:e,updatingSubscription:s,onPress:()=>{s||(m(!0),c("/api/subscribe-newsletter/".concat(l)))}}));return i.a.createElement(i.a.Fragment,null,i.a.createElement(Mo,{section:n},s&&i.a.createElement(Ho,null),!d&&u&&i.a.createElement(Fo,null,i.a.createElement(Uo,null,"You've successfully signed up to the"," ",i.a.createElement($o,null,"".concat(r,".")," "),i.a.createElement(Do,null)),i.a.createElement(Yo,null)),d&&i.a.createElement(Fo,null,i.a.createElement(Uo,null,"An error occurred. Please use the link below.",i.a.createElement(Do,null)),i.a.createElement(Yo,null)),!u&&!d&&i.a.createElement(qo,null,i.a.createElement(Uo,null,i.a.createElement($o,null,r," "),"".concat(a," "),f("link")),f("button"))))};function Jo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Qo(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 Qo(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 Qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ko=e=>{let t=e.code,n=e.copy,r=e.headline,a=e.section;const l=Jo(Object(o.useState)("/api/is-subscribed-newsletter/".concat(t)),2),s=l[0],d=l[1],p=Object(o.useMemo)(()=>({credentials:"same-origin"}),[]);return i.a.createElement(Io.GetNewsletter,{code:t,ssr:!1,debounceTimeMs:0},e=>{let o=e.isLoading,l=e.error,u=e.newsletter;return l?null:o||!u?i.a.createElement(Mo,null,i.a.createElement(U.Placeholder,null)):u.isSubscribed?null:i.a.createElement(Q,{url:s,options:p},i.a.createElement($,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:u.title,event_navigation_action:"navigation"}},scrolledEvent:{object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now : displayed",event_navigation_browsing_method:"automated",event_navigation_action:"navigation"}}},e=>{let o=e.intersectObserverRef;return i.a.createElement(wn,null,i.a.createElement(Xo,{intersectObserverRef:o,section:Object(c.capitalise)(a),headline:r,copy:n,code:t,subscribeNewsletter:d}))}))})},ei=e=>{let t=e.code,n=e.copy,o=e.headline,r=e.section;return i.a.createElement(Eo,{trackingName:"auto-puff-".concat(t),displayFunction:e=>void 0!==e&&[1,3,5].includes(e)},i.a.createElement(Ko,{code:t,copy:n,headline:o,section:r}))},ti=e=>{let t=e.copy,n=e.headline,o=e.section;return i.a.createElement(Mo,{section:o},i.a.createElement(qo,null,i.a.createElement(Uo,null,i.a.createElement($o,null,n," "),t,i.a.createElement(Vo,{childStyle:"link"},i.a.createElement(zo,{style:"link"}))),i.a.createElement(Vo,{childStyle:"button"},i.a.createElement(zo,{style:"button"}))))},ni=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},oi=e=>{const t=(e=>{switch(e){case"cricket":return"https://secure.widget.cloud.opta.net/v3/css/v3.cricket.opta-widgets.css";case"rugby":return"https://secure.widget.cloud.opta.net/v3/css/v3.rugby.opta-widgets.css";case"football":default:return"https://secure.widget.cloud.opta.net/v3/css/v3.football.opta-widgets.css"}})(e);if(!document.head.querySelector('link[href="'.concat(t,'"]'))){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e)}},ii=()=>(e=>document.body.querySelector('script[src="'.concat(e,'"]'))?Promise.resolve():new Promise((t,n)=>{const o=document.createElement("script");o.setAttribute("async","async"),o.setAttribute("src",e),o.onload=t,o.onerror=n,document.body.appendChild(o)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),ri=(e,t,n)=>{const o=document.createElement(e);return t&&Object.keys(t).map(e=>{void 0!==t[e]&&o.setAttribute(e,t[e].toString())}),n&&o.appendChild(n),o},ai=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},li=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"n0zk21-0"})([""," margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],e=>{let t=e.$height;return t&&"height: ".concat(t,"px;")},l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),ci=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"n0zk21-1"})(["height:","px;position:relative;"],e=>e.height||200),si=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"n0zk21-2"})([".Opta{.Opta_W{margin:0;background-color:transparent !important;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),di=a()(si).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-17mc5vx-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{height:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}}&.Opta-MatchHeader-Details{div{margin:6px 0;padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;dl{margin:0 6px 4px 6px;color:inherit;font-size:inherit;:before{display:none;}&:first-of-type,&:last-of-type{display:block;}}}}}}}.Opta-CricketStateOfPlay{div{min-height:0;margin:0;padding:10px;color:",";font-family:",";font-size:18px;font-weight:normal;line-height:18px;background-color:transparent;}}.Opta-scorecard{.Opta-Tabs{.Opta-Nav{background-color:transparent;ul{display:flex;background-color:transparent;li{width:100%;a{width:100%;color:",";font-family:",";font-size:14px;font-weight:normal;text-align:center;background-color:#dbdbdb;&:hover{background-color:#ededed;}}&.Opta-On a{color:white;background-color:#008347;}}}}}table.Opta-batting{margin-bottom:10px;thead{th{width:8%;padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;background-color:#ededed;&:first-of-type{width:64%;padding-left:5px;}&:nth-of-type(4),&:nth-of-type(5){width:6%;}}}tfoot{th{color:",";font-family:",";font-size:14px;line-height:14px;font-weight:bold;background-color:#dbdbdb;&:first-of-type{padding-left:5px;}&:last-of-type{padding-left:0;}}}tbody{tr:nth-child(2n) th,tr:nth-child(2n) td{background-color:#ededed;}tr:last-of-type td{color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;}th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;&:first-of-type,&:nth-of-type(2){padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;}}}}table.Opta-bowling{width:calc(60% - 10px);float:left;thead{th{width:12%;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;background-color:#ededed;&:first-of-type{width:40%;padding-left:5px;text-align:left;}}}tbody{th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;text-align:center;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;&:first-of-type{padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;text-align:left;}}}}.Opta-Ranking{table{width:calc(40%);float:right;thead{th{color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;background-color:#ededed;&:first-of-type{padding-left:5px;text-align:left;}}}tbody{th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;text-align:center;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;&:first-of-type{padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;text-align:left;}}}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline);function pi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ui(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 ui(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 ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const mi=i.a.memo(e=>{let t=e.competition,n=e.match,r=e.full_width,a=e.height;const l=i.a.createRef(),c=pi(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("cricket"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"cricket",widget:"score_card",season:"0",competition:t,match:n,template:"normal",live:!0,show_match_header:!0,show_crests:!0,show_competition_name:!0,show_match_description:!0,show_date:!0,date_format:"DD/MM/YYYY",show_venue:!0,show_officials:!1,show_toss:!1,show_state_of_play:!0,navigation:"tabs",show_batting:!0,show_mins_batted:!1,show_fours:!0,show_sixes:!0,show_strike_rate:!0,show_bowling:!0,show_economy:!0,show_fow:!0,player_naming:"full",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(li,{border:s,fullWidth:r,$height:a},i.a.createElement(di,{ref:l}),!s&&i.a.createElement(ci,{height:a},i.a.createElement(U.Placeholder,null)))}),fi={119:"Italy",357:"Germany",115:"Scotland",538:"Hungary",497:"Switzerland",118:"Spain",535:"Croatia",534:"Albania",511:"Poland",366:"Netherlands",365:"Slovenia",369:"Denmark",364:"Serbia",114:"England",358:"Romania",510:"Ukraine",360:"Belgium",507:"Slovakia",515:"Austria",368:"France",362:"Turkey",520:"Georgia",359:"Portugal",367:"CzechRep"},gi=Object.keys(fi).map(e=>"\n .Opta-Team-".concat(e," .Opta-Team, .Opta-Team-").concat(e,".Opta-Team, .Opta-Player .Opta-Image-Team-").concat(e," {\n background-image: url(https://extras.thetimes.co.uk/web/opta/euro-flags/").concat(fi[e],".svg);\n background-size: 20px;\n background-repeat: no-repeat;\n }\n .Opta-Team-").concat(e," .Opta-Team {\n background-position: 0 13px;\n padding-left: 28px !important;\n \n @media (max-width: ").concat(l.breakpoints.small,"px) {\n background-image: none;\n padding-left: 0 !important;\n }\n }\n .Opta-Team-").concat(e,".Opta-Team {\n background-position: 10px 8px;\n padding-left: 38px !important;\n }\n .Opta-Scoreline .Opta-Team-").concat(e,".Opta-Team {\n padding-left: 28px !important;\n\n @media (max-width: ").concat(l.breakpoints.small,"px) {\n background-image: none;\n padding-left: 0 !important;\n padding-right: 0 !important;\n }\n }\n .Opta-Scoreline .Opta-Home.Opta-Team-").concat(e,".Opta-Team {\n padding-left: 0 !important;\n }\n\n .Opta-Player .Opta-Image-Team-").concat(e," {\n width: 100%;\n display: block;\n height: 100%;\n background-position: 7px 3px;\n\n &.Opta-Image-Medium {\n background-size: 35px;\n background-position: 0 6px;\n }\n\n img {\n display: none;\n }\n }\n")),hi=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1mw5214-0"})([""," margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],e=>{let t=e.$height;return t&&"height: ".concat(t,"px;")},l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),yi=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1mw5214-1"})(["position:relative;height:","px;"],e=>e.height||"200"),bi=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1mw5214-2"})(["&.team-flags{",";}.Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],gi,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),xi=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1td1ojw-0"})(["height:80px;"]),wi=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-1td1ojw-1"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1td1ojw-2"})([".Opta{font-family:Roboto !important;}.Opta-Scroll,.Opta-Window,.Opta-Room{height:80px !important;}"," @media (max-width:","px){.Opta-Window{left:"," !important;right:0 !important;","}}.fixtures-page-link.Opta-fixture{width:85px !important;padding:10px 8px;border:1px solid black;background-color:transparent;a{display:flex;flex-wrap:wrap;justify-content:space-between;flex-direction:column;height:100%;span{color:black !important;font-size:12px;font-weight:700 !important;display:block;}svg{rect{font-weight:700 !important;}stroke:black;fill:transparent;path{fill:black;}}}",";}.Opta-Cf.Opta-Scroll.Opta-Active{background-color:transparent !important;}.Opta-Scroller{background-color:white !important;border:1px solid #999 !important;border-radius:2px;box-sizing:border-box;padding:39px 0 !important;width:28px !important;&:hover{background-color:#f5f5f5 !important;}&:active{background-color:#eee !important;}&::after{background:rgba(0,0,0,0) url(https://secure.widget.cloud.opta.net/v3/assets/images/sprites/controls.svg) no-repeat !important;background-size:210px 186px !important;background-position-x:-180px !important;background-position-y:-19px !important;height:16px !important;width:16px !important;top:calc(50% - 8px) !important;left:calc(50% - 8px) !important;}&.Opta-Next::after{transform:rotate(-90deg) translateX(2px);}&.Opta-Previous::after{transform:rotate(90deg) translateX(2px);}@media (max-width:","px){width:18px !important;}@media (max-width:","px){width:24px !important;}",";}.Opta-fixture{height:80px;padding-inline:4px;display:flex;flex-direction:column;> div{background-color:white !important;}.Opta-Team,.Opta-timings{border-right:0 !important;}.Opta-Team{height:24px !important;.team-flag{width:20px;margin-bottom:-2px;margin-right:8px;}}.Opta-timings{height:24px !important;order:-1;color:#696969 !important;border-start-start-radius:4px;border-start-end-radius:4px;","}.Opta-timings .Opta-Time *{font-weight:700;color:#01000d !important;","}.Opta-TeamName,.Opta-Team-Score{color:#01000d !important;font-family:'Roboto-Medium' !important;","}.Opta-Away{border-end-start-radius:4px;border-end-end-radius:4px;height:34px !important;}&.Opta-prematch{> div{background-color:#f5f5f5 !important;","}.Opta-Team-Score::after{content:'-';}.Opta-timings .Opta-Time *{font-weight:400;color:#696969 !important;}}&.Opta-result > div{border:1px solid #ccc !important;"," &.Opta-timings{border-bottom:none !important;}&.Opta-Home{border-bottom:none !important;border-top:none !important;}&.Opta-Away{border-top:none !important;}}&.Opta-live > div{border:1px solid #01000d !important;"," &.Opta-timings{border-bottom:none !important;}&.Opta-Home{border-bottom:none !important;border-top:none !important;}&.Opta-Away{border-top:none !important;}}.Opta-Image-Team-Small{height:20px;}}.Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],e=>!e.showButtons&&"\n @media (max-width: ".concat(l.breakpoints.small,"px) {\n .Opta-Scroller {\n display: none !important;\n }\n }\n "),l.breakpoints.small,e=>e.showButtons?"30px":"0",e=>e.showButtons?"width: calc(100% - 60px) !important;":"\n overflow-x: auto !important;\n position: relative !important;",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n border: 1px solid white;\n\n a {\n span {\n color: white !important;\n }\n svg {\n stroke: white;\n path {\n fill: white;\n }\n }\n }\n }\n ",l.breakpoints.medium,l.breakpoints.wide,e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #1D1D1B !important;\n border: 1px solid #AAA !important;\n\n &:hover {\n border: 1px solid #333 !important;\n }\n &:active {\n border: 1px solid #696969 !important;\n }\n &::after {\n background-position-y: -57px !important;\n }\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #e4e4e4 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #fff !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #fff !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #333 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #1d1d1b !important;\n border: 1px solid #333 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #121212 !important;\n border: 1px solid #e4e4e4 !important;\n }\n ",l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport)),vi=e=>["3","235","941"].includes(e),_i=(e,t)=>{Object(o.useEffect)(()=>{e.current&&e.current.classList.add("team-flags");const n=document.getElementsByClassName(t);n&&(e=>{let t=0;const n=setInterval(()=>{t>=25&&clearInterval(n),t++;for(let t of e){const e=t;if(e){const t=e.innerText.includes("Third Place")||e.innerText.includes("Group");[{pattern:/Quarter-Finalist/g,replacement:"QF"},{pattern:/Semi-Finalist|Semi-Final/g,replacement:"SF"}].forEach(n=>{let o=n.pattern,i=n.replacement;e.innerText=t?"TBD":e.innerText.replace(o,i)})}}},500)})(n)},[e])},ki=(e,t)=>{const n=document.querySelector(".".concat(e)),o=document.querySelector(".fixtures-page-link");return!(!n||o)&&(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=Object.assign(document.createElement("div"),{className:"fixtures-page-link Opta-fixture"}),o=Object.assign(document.createElement("a"),{href:t}),i=Object.assign(document.createElement("span"),{textContent:"Full Fixtures & Results"});o.appendChild(i),o.insertAdjacentHTML("beforeend",'<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg" className="allFixturesIcon">\n <rect x="0.859375" y="0.5" width="23" height="23" rx="11.5" />\n <path d="M15.7734 11.5254C15.7702 11.6263 15.7507 11.7191 15.7148 11.8037C15.6758 11.8883 15.6172 11.9697 15.5391 12.0479L11.7793 15.7246C11.6556 15.8483 11.5042 15.9102 11.3252 15.9102C11.2015 15.9102 11.0908 15.8809 10.9932 15.8223C10.8923 15.7637 10.8125 15.6839 10.7539 15.583C10.6921 15.4854 10.6611 15.3763 10.6611 15.2559C10.6611 15.0736 10.7295 14.9141 10.8662 14.7773L14.2109 11.5254L10.8662 8.27344C10.7295 8.13346 10.6611 7.97396 10.6611 7.79492C10.6611 7.67122 10.6921 7.56055 10.7539 7.46289C10.8125 7.36523 10.8923 7.28711 10.9932 7.22852C11.0908 7.16992 11.2015 7.14062 11.3252 7.14062C11.5042 7.14062 11.6556 7.20247 11.7793 7.32617L15.5391 11.0029C15.6204 11.0811 15.6807 11.1624 15.7197 11.2471C15.7555 11.335 15.7734 11.4277 15.7734 11.5254Z" />\n </svg>'),n.appendChild(o),e.appendChild(n)}(n,t),!0)};function Ci(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oi(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 Oi(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 Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ei=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.days_ahead,c=e.days_before,s=e.round,d=e.isApp,p=e.showButtons,u=e.fixturesPageUrl,m=e.sport;const f=i.a.createRef(),g=Ci(Object(o.useState)(!1),2),h=g[0],y=g[1],b=vi(n);return Object(o.useEffect)(()=>{ni(),oi(m),ii().then(()=>{f.current&&(f.current.innerHTML=ri("opta-widget",{sport:m,widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,days_ahead:l,days_before:c,round:s,live:!0,start_on_current:!0,template:"strip",team_naming:"brief",match_status:"all",order_by:"date_ascending",show_grouping:!0,show_crests:!b,show_date:!0,show_live:!0,date_format:"ddd Do MMM",fixture_width:160,breakpoints:520}).outerHTML,ai(),y(!0))})},[f]),u&&!d&&((e,t,n)=>{Object(o.useEffect)(()=>{let e,o=ki(t,n);if(!o){let i=0;e=setInterval(()=>{i>=30&&clearInterval(e),i++,o=ki(t,n),o&&clearInterval(e)},200)}return()=>{e&&clearInterval(e)}},[e,t,n])})(f,"Opta-Room",u),b&&_i(f,"Opta-TeamName"),i.a.createElement(xi,null,i.a.createElement(wi,{isApp:d,showButtons:p,ref:f}),!h&&i.a.createElement(yi,{height:80},i.a.createElement(U.Placeholder,null)))}),Ii=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-19pyhbq-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-19pyhbq-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function Si(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ji(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 ji(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 ji(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const zi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.full_width;const c=i.a.createRef(),s=Si(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{c.current&&(c.current.innerHTML=ri("opta-widget",{sport:"football",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ai(),p(!0))})},[]),i.a.createElement(hi,{border:d,fullWidth:l},i.a.createElement(Ii,{ref:c}),!d&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),Ai=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"v51xce-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"v51xce-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{display:block;@media (min-width:","px){",";}tbody{display:block;break-inside:avoid;&:has(h3){column-span:all;",";}td.Opta-Nest.Opta-JS-Nest-Content.Opta-Expanded{display:inline;}td.Opta-title{display:block;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr{display:block;}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;display:flex;justify-content:space-between;align-items:center;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:0;color:"," !important;font-family:",";font-size:14px;line-height:14px;height:unset;background-color:transparent;&.Opta-Time{padding-left:10px;color:"," !important;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){font-size:13px;line-height:14px;}}&.Opta-Team{background-position:center left;width:34%;padding-left:"," &.Opta-Home{background-position:center right;padding-right:",";padding-left:0;text-align:right;}",";}&.Opta-Score{font-size:16px;line-height:16px;text-align:center !important;width:20px;span{font-size:inherit;line-height:inherit;}@media (min-width:","px){font-size:24px;line-height:24px;}}&.Opta-Crest{img{width:20px;}}&.Opta-Divider{text-align:center;width:8px;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){padding-right:10px;}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.breakpoints.medium,e=>e.columns&&"column-count: 2;",e=>e.hide_matchday&&"display: none;",l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.breakpoints.medium,e=>e.isNationalComp?"24px;":"10px;",e=>e.isNationalComp?"24px;":"10px;",e=>!e.isNationalComp&&"\n @media (max-width: ".concat(l.breakpoints.medium,"px) {\n padding-left: 15px;\n\n &.Opta-Home {\n padding-right: 15px;\n padding-left: 0;\n }\n }\n "),l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function Ni(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ti(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 Ti(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 Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Pi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.days_ahead,c=e.days_before,s=e.matchday,d=e.round,p=e.classes,u=e.hide_matchday,m=e.show_title,f=void 0===m||m,g=e.columns,h=void 0===g||g,y=e.full_width;const b=i.a.createRef(),x=Ni(Object(o.useState)(!1),2),w=x[0],v=x[1],_=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{b.current&&(b.current.innerHTML=ri("opta-widget",{sport:"football",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,days_ahead:l,days_before:c,matchday:s,round:d,show_title:f,live:!0,grouping:"matchday",show_grouping:!0,sub_grouping:"date|matchday|group",show_subgrouping:!0,show_crests:!_,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ai(),v(!0))})},[]),_&&_i(b,"Opta-Team"),i.a.createElement(hi,{border:w,fullWidth:y,className:p},i.a.createElement(Ai,{ref:b,isNationalComp:_,hide_matchday:u,columns:h}),!w&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),Mi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1ofehep-0"})([".Opta{h3.Opta-groupname{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;@media (min-width:","px){",";}&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:13px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:15px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.keyline,l.breakpoints.medium,l.breakpoints.medium,e=>e.columns&&"column-count: 2;",l.colours.functional.brandColour,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.backgroundPrimary,l.colours.functional.brandColour,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.colours.functional.backgroundSecondary,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function Li(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Di(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 Di(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 Di(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ri=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.default_nav,a=void 0===r?1:r,l=e.classes,c=e.navigation,s=e.show_title,d=void 0===s||s,p=e.full_width,u=e.columns,m=e.height;const f=i.a.createRef(),g=Li(Object(o.useState)(!1),2),h=g[0],y=g[1],b=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{f.current&&(f.current.innerHTML=ri("opta-widget",{sport:"football",widget:"standings",season:t,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:a,show_title:d,show_crests:!b,team_naming:"brief",breakpoints:520}).outerHTML,ai(),y(!0))})},[]),b&&_i(f,"Opta-Team"),i.a.createElement(hi,{border:h,fullWidth:p,className:l,$height:m},i.a.createElement(Mi,{ref:f,columns:u}),!h&&i.a.createElement(yi,{height:m},i.a.createElement(U.Placeholder,null)))}),Bi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1p8r5mo-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport);function Wi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hi(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 Hi(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 Hi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Fi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=Wi(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"football",widget:"match_summary",season:t,competition:n,match:r,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_goals:!0,show_cards:"red",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(hi,{border:s,fullWidth:a},i.a.createElement(Bi,{ref:l}),!s&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),qi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1loypld-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function $i(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ui(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 Ui(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 Ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Vi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width,l=e.height,c=void 0===l?640:l;const s=i.a.createRef(),d=$i(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{s.current&&(s.current.innerHTML=ri("opta-widget",{sport:"football",widget:"matchstats",season:t,competition:n,match:r,template:"custom",graph_style:"relative",stats_categories:"Category 1|possession,shots,shots_on_target,passes,passes_accuracy,corners_won,fouls_conceded,cards_yellow,cards_red",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),u(!0))})},[]),i.a.createElement(hi,{border:p,fullWidth:a,$height:c},i.a.createElement(qi,{ref:s}),!p&&i.a.createElement(yi,{height:c},i.a.createElement(U.Placeholder,null)))}),Yi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"boankv-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function Gi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zi(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 Zi(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 Zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Xi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.full_width,a=e.hide_zeroes,l=void 0===a||a,c=e.show_title,s=void 0===c||c,d=e.visible_categories,p=e.classes,u=e.height;const m=i.a.createRef(),f=Gi(Object(o.useState)(!1),2),g=f[0],h=f[1],y=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{m.current&&(m.current.innerHTML=ri("opta-widget",{sport:"football",widget:"player_ranking",hide_zeroes:l,season:t,competition:n,template:"normal",graph_style:"relative",visible_categories:d,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_title:s,date_format:"DD/MM/YYYY",breakpoints:"200"}).outerHTML,ai(),h(!0))})},[m]),y&&_i(m,"Opta-Image-Team"),i.a.createElement(hi,{border:g,fullWidth:r,className:p,$height:u},i.a.createElement(Yi,{ref:m}),!g&&i.a.createElement(yi,{height:u},i.a.createElement(U.Placeholder,null)))}),Ji=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1dlwd3q-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),Qi=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Ki=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1dlwd3q-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),er=(a()(Ki).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"me94al-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"me94al-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function tr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return nr(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 nr(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 nr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const or=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.full_width;const c=i.a.createRef(),s=tr(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{c.current&&(c.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"rugby",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",show_cards:"all",breakpoints:"520"})).outerHTML,ai(),p(!0))})},[]),i.a.createElement(Ji,{border:d,fullWidth:l},i.a.createElement(er,{ref:c}),!d&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),ir=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-9cbyte-0"})([".Opta{h3{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:13px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:15px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.keyline,l.breakpoints.medium,l.colours.functional.brandColour,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.backgroundPrimary,l.colours.functional.brandColour,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.colours.functional.backgroundSecondary,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function rr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ar(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 ar(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 ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const lr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.default_nav,a=void 0===r?1:r,l=e.navigation,c=e.full_width;const s=i.a.createRef(),d=rr(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{s.current&&(s.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"standings",season:t,competition:n,live:!0,navigation:l?"dropdown":void 0,default_nav:a,show_crests:!0,breakpoints:520}).outerHTML,ai(),u(!0))})},[]),i.a.createElement(Ji,{border:p,fullWidth:c},i.a.createElement(ir,{ref:s}),!p&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),cr=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1pgxtc2-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport);function sr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dr(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 dr(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 dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const pr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=sr(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"match_summary",season:t,competition:n,match:r,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(Ji,{border:s,fullWidth:a},i.a.createElement(cr,{ref:l}),!s&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),ur=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"lquz8o-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function mr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fr(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 fr(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 fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const gr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=mr(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"matchstats",season:t,competition:n,match:r,template:"custom",graph_style:"relative",stats_categories:"Category 1|tries,passes,tackles,carries,metres,lineouts_won_percent,scrums_won_percent,turnovers_conceded,yellow_cards,red_cards",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(Ji,{border:s,fullWidth:a},i.a.createElement(ur,{ref:l}),!s&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))});var hr=n(10),yr=n.n(hr),br=n(11);const xr=e=>e.map(e=>({url:e.url,ratio:e.aspectRatio})),wr=e=>{if(e){if(e.crops)return xr(e.crops);if(e.posterImage&&e.posterImage.crops)return xr(e.posterImage.crops)}return[]},vr=e=>{return{url:e.categoryPath,label:e.label,byline:(n=e.bylines,n?n.map(e=>"author"===e.type?e.name:e.value).join(""):void 0),headline:e.headline,summary:(t=e.summary,t&&t.children?t.children.map(e=>e.text).join("")+"...":void 0),datePublished:e.publishedDateTime,images:{alt:e.headline,crops:wr(e.media)}};var t,n},_r=e=>{switch(e){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},kr=e=>({name:_r(e.length),children:e.map(e=>({article:vr(e)})).slice(0,3)}),Cr=a.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12jqlbd-0"})(["margin-bottom:12px;padding:16px 12px 12px 12px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],l.colours.functional.brandColour,l.fonts.headline),Or=e=>{let t=e.heading;const n=K(),o=n.loading,r=n.error,a=n.data;if(o||r)return null;const l=yr()(a,"recommendations.articles");if(!l||!l.length)return null;const c=q().fireAnalyticsEvent;return i.a.createElement("div",{id:"recommended-articles"},i.a.createElement(Cr,null,t),i.a.createElement(br.Slice,{slice:kr(l),clickHandler:(e,t)=>{c&&c({action:"Clicked",attrs:{article_parent_name:t.headline}})}}))};function Er(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ir(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 Ir(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 Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Sr=e=>{let t=e.articleId,n=e.articleHeadline,r=e.articleSection;const a=Er(Object(o.useState)(!1),2),l=a[0],c=a[1];Object(o.useEffect)(()=>{try{const e=window.nuk.getCookieValue("acs_tnl"),t=window.__TIMES_CONFIG__.environmentName;e&&["local-prod","pr","uat","staging","prod"].includes(t)&&c(!0)}catch(e){console.log(e)}},[]);return l?i.a.createElement(Q,{url:"/api/recommended-articles/".concat(t,"/todays_section")},i.a.createElement($,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(r),article_name:n,widget_headline:"Read more".toLowerCase(),widget_section:r,widget_type:"today's section"}}},i.a.createElement(Or,{heading:"Read more"}))):null},jr=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-19exdh2-0"})(["display:none;"]),zr=e=>{let t=e.heading,n=e.articles;const o=q().fireAnalyticsEvent;return i.a.createElement(jr,{id:"categorised-articles"},i.a.createElement(Cr,null,"More from ".concat(t)),i.a.createElement(br.Slice,{slice:kr(n),clickHandler:(e,t)=>{o&&o({action:"Clicked",attrs:{article_parent_name:t.headline}})}}))},Ar={background:"#bedeed",foreground:"#1573a2"},Nr={background:"#ffeecc",foreground:"#ffa300"},Tr={background:"#ffd6d6",foreground:"#df0000"},Pr=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1lbbpaf-0"})(["display:flex;margin-top:50px;&.info{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.warning{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.error{background-color:",";border-left:4px solid ",";svg{fill:",";}}"],Ar.background,Ar.foreground,Ar.foreground,Nr.background,Nr.foreground,Nr.foreground,Tr.background,Tr.foreground,Tr.foreground),Mr=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),Lr=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),Dr=a.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:15px;line-height:16px;margin-bottom:6px;"],l.fonts.supporting),Rr=a.a.div.withConfig({displayName:"styles__Description",componentId:"sc-1lbbpaf-4"})(["font-family:",";font-weight:500;font-size:13px;line-height:20px;& a{color:#333333;text-decoration:underline;}"],l.fonts.supporting),Br=e=>{let t=e.size,n=void 0===t?{width:"20",height:"20"}:t;return i.a.createElement("svg",{width:n.width,height:n.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM9 15V9H11V15H9ZM9 5V7H11V5H9Z"}))},Wr=e=>{let t=e.title,n=e.type,o=e.children;return i.a.createElement(Pr,{className:n},i.a.createElement(Mr,null,i.a.createElement(Br,null)),i.a.createElement(Lr,null,i.a.createElement(Dr,null,t),i.a.createElement(Rr,null,o)))},Hr=a.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding-bottom:28px;@media (min-width:","px){padding-bottom:48px;padding-top:20px;}"],l.breakpoints.medium),Fr=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"kqn9c8-1"})(["max-width:343px;display:flex;flex-direction:column;align-items:center;@media (min-width:","px){max-width:403px;}"],l.breakpoints.medium),qr=a.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-2"})(["font-family:",";font-weight:700;font-color:#333333;font-size:28px;line-height:32px;letter-spacing:0;text-align:center;padding:8px;"],l.fonts.headlineRegular),$r=a.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-3"})(["font-family:",";font-weight:400;font-color:#333333;font-size:18px;line-height:27px;letter-spacing:0;text-align:center;max-width:660px;"],l.fonts.supporting),Ur=a.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-4"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#005c8a;color:white;font-family:",";width:100%;height:48px;padding:18.5px 0;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:0;margin:16px;"],l.fonts.cta),Vr=e=>{let t=e.title,n=e.href,o=void 0===n?"#":n,r=e.onClick,a=e.buttonText,l=e.children;return i.a.createElement(Hr,null,i.a.createElement(Fr,null,i.a.createElement(qr,null,t),i.a.createElement($r,null,l),i.a.createElement(Ur,{href:o,onClick:r},a)))};var Yr=n(18),Gr=n.n(Yr),Zr=n(19),Xr=n.n(Zr),Jr=n(12),Qr=n.n(Jr);var Kr=e=>{try{return decodeURIComponent(e)}catch(t){return e}};const ea=a.a.div.withConfig({displayName:"styles__Container",componentId:"uvi9j3-0"})(["display:flex;flex-direction:column;justify-content:center;margin:48px 10px 24px 10px;padding-top:",";border-top:2px solid #9f0000;@media (min-width:","px){width:80.8%;margin:64px 0 24px 10%;}@media (min-width:","px){width:56.2%;margin:64px 0 24px 22%;}"],e=>e.isBreaking?"8px":"5px",l.breakpoints.medium,l.breakpoints.wide),ta=a.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),na=a.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),oa=a.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:13px;line-height:18px;"],l.colours.functional.brandColour,l.fonts.supporting),ia=Object(r.css)(["color:",";font-family:",";font-size:13px;line-height:18px;"],l.colours.functional.secondary,l.fonts.supporting),ra=a.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),aa=a.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],ia),la=a.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],ia),ca=a.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],l.colours.functional.greyLabel),sa=a.a.h2.withConfig({displayName:"styles__Headline",componentId:"uvi9j3-8"})(["color:",";font-family:",";font-size:28px;line-height:28px;margin-top:22px;margin-bottom:0px;font-weight:400;@media (min-width:","px){font-size:36px;line-height:36px;margin-top:20px;margin-bottom:0px;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium),da=a.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]),pa=a.a.div.withConfig({displayName:"styles__BylineBlockContainer",componentId:"uvi9j3-10"})(["display:flex;align-items:center;margin-top:24px;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:16px;"]),ua=a.a.div.withConfig({displayName:"styles__BylineBlockImgContainer",componentId:"uvi9j3-11"})(["border-radius:50%;width:50px;height:50px;overflow:hidden;margin-right:10px;"]),ma=a.a.img.withConfig({displayName:"styles__BylineBlockImg",componentId:"uvi9j3-12"})(["height:100%;width:100%;"]),fa=a.a.div.withConfig({displayName:"styles__BylineBlockContent",componentId:"uvi9j3-13"})(["display:flex;flex-direction:column;"]),ga=a.a.div.withConfig({displayName:"styles__BylineBlockAuthorContent",componentId:"uvi9j3-14"})(["display:flex;align-items:center;margin-bottom:2px;"]),ha=a.a.p.withConfig({displayName:"styles__BylineBlockAuthorName",componentId:"uvi9j3-15"})(["color:#069;margin-right:5px;margin-block:0;"]),ya=a.a.p.withConfig({displayName:"styles__BylineBlockAuthorJobTitle",componentId:"uvi9j3-16"})(["color:#696969;margin-block:0;"]),ba=a.a.p.withConfig({displayName:"styles__BylineBlockDescription",componentId:"uvi9j3-17"})(["color:#696969;font-weight:500;margin-block:0;"]),xa=e=>{let t=e.authorData,n=e.description;return t&&t.name||t&&t.image||n?i.a.createElement(pa,null,t&&t.image&&i.a.createElement(ua,null,i.a.createElement(ma,{src:t.image,alt:t.name})),i.a.createElement(fa,null,i.a.createElement(ga,null,t&&t.name&&i.a.createElement(ha,null,t.name),t&&t.jobTitle&&i.a.createElement(ya,null,t.jobTitle)),n&&i.a.createElement(ba,null,n))):null};function wa(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function va(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _a(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 _a(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 _a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var ka=e=>{let t=e.updated,n=e.breaking,r=e.headline,a=e.authorSlug,l=e.description;const c=va(Object(o.useState)(""),2),s=c[0],d=c[1],p=va(Object(o.useState)(),2),u=p[0],m=p[1],f=new Date,g=new Date(t),h=Xr()(g,"Europe/London");Object(o.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&d(Qr()(h,"zzz",{timeZone:"Europe/London"}))}),Object(o.useEffect)(()=>{if(void 0===a)return void m(null);(function(){var e,t=(e=function*(){try{const e=yield fetch("/api/author-profile/".concat(a)),t=yield e.json();m(t)}catch(e){console.log(e)}},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){wa(r,o,i,a,l,"next",e)}function l(e){wa(r,o,i,a,l,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}})()()},[a]);const y=C()(g,f,{roundingMethod:"floor"})+" ago",b=_()(f,g),x=b<60,w=b<3600,v=b<46800,k=Gr()(f,h)>=1,O=!!n&&Boolean("true"===n.toLowerCase()),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=/\D+/g,o=e.replace(n,""),i=/\b(\w)/g,r=t.match(i),a=null===r?"":r.join("");return"u_".concat(o).concat(a)}(t,r);return i.a.createElement(ea,{isBreaking:O&&w,id:E},i.a.createElement(ta,null,i.a.createElement(ra,null,O&&w?i.a.createElement(da,null,i.a.createElement(P,null)):null,!x&&v?i.a.createElement(na,null,i.a.createElement(oa,{"data-testId":"TimeSincePublishing"},y),i.a.createElement(ca,null)):null,i.a.createElement(aa,{isLessThan13Hours:!x&&v},"".concat(Qr()(h,"h.mmaaa")," ").concat(s))),k?i.a.createElement(la,null,Qr()(h,"MMMM d")):null),r&&i.a.createElement(sa,null,Kr(r)),u&&i.a.createElement(xa,{authorData:u,description:l}))};const Ca=a.a.div.withConfig({displayName:"styles__WelcomeBannerContainer",componentId:"sc-1dq6agu-0"})(["display:flex;flex-direction:column;justify-content:center;width:100%;margin-bottom:16px;padding:18px 16px;background-color:",";"],l.colours.functional.bannerBackground),Oa=a.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1dq6agu-1"})(["color:",";font-family:",";font-size:40px;line-height:45px;text-align:left;br.mobile{display:inline;}br.larger-breakpoints{display:none;}@media (min-width:","px){text-align:center;br.mobile{display:none;}br.larger-breakpoints{display:inline;}}"],l.colours.functional.greyText,l.fonts.headline,l.breakpoints.medium),Ea=a.a.div.withConfig({displayName:"styles__Text",componentId:"sc-1dq6agu-2"})(["margin-top:6px;color:",";font-family:",";font-size:18px;line-height:27px;text-align:left;@media (min-width:","px){text-align:center;}"],l.colours.functional.primary,l.fonts.supporting,l.breakpoints.medium);function Ia(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sa(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 Sa(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 Sa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const ja=()=>{const e=Ia(Object(o.useState)(!1),2),t=e[0],n=e[1];return Object(o.useEffect)(()=>{window.sessionStorage.getItem("showWelcomeBanner")&&(window.sessionStorage.removeItem("showWelcomeBanner"),n(!0))},[]),t?i.a.createElement(Ca,null,i.a.createElement(Oa,{"data-testId":"title"},"Welcome to ",i.a.createElement("br",{className:"mobile"}),"The Times ",i.a.createElement("br",{className:"larger-breakpoints"})," and"," ",i.a.createElement("br",{className:"mobile"}),"The Sunday Times"),i.a.createElement(Ea,{"data-testId":"text"},"We hope you enjoy your free content")):null};var za=e=>o.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),o.createElement("path",{fill:"currentcolor",d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}));const Aa=a()(za).withConfig({displayName:"styles__ChevronRightIcon",componentId:"sc-1my13dk-0"})(["transform:rotate(90deg);width:16px;height:16px;"]),Na=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1my13dk-1"})(["padding-top:12px;border-style:solid none none none;border-width:3px;border-color:#c05729;"]),Ta=a.a.p.withConfig({displayName:"styles__Description",componentId:"sc-1my13dk-2"})(["display:block;font-family:'Roboto';font-weight:400;line-height:1.5;font-size:1.4rem;letter-spacing:0em;margin:7px 0 4px;"]),Pa=a.a.hr.withConfig({displayName:"styles__Divider",componentId:"sc-1my13dk-3"})(["margin:16px 0;border-style:dashed none none none;border-width:1px;border-color:#01000d;&:first-of-type{margin-top:11px;}"]),Ma=a.a.a.withConfig({displayName:"styles__Link",componentId:"sc-1my13dk-4"})(["display:block;text-decoration:none;&:hover{button{background-color:#e4e4e4;}h3{color:#00527a;}}h3{color:#c05729;}"]),La=a.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"sc-1my13dk-5"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Da=a.a.h3.withConfig({displayName:"styles__Title",componentId:"sc-1my13dk-6"})(["font-family:'Times Modern';font-weight:800;line-height:1.125;font-size:1.8rem;letter-spacing:0em;margin:2px 0 0;"]),Ra=a.a.button.withConfig({displayName:"styles__ChevronButton",componentId:"sc-1my13dk-7"})(["background-color:#eeeeee;color:#c05729;border-radius:50%;border:none;cursor:pointer;width:24px;height:24px;padding:0;display:flex;justify-content:center;align-items:center;"]),Ba=a.a.p.withConfig({displayName:"styles__ItemTitle",componentId:"sc-1my13dk-8"})(["font-family:'Times Modern';font-weight:400;line-height:1;font-size:1.6rem;letter-spacing:0em;margin:12px 0;"]),Wa=a.a.a.withConfig({displayName:"styles__PuzzleContainer",componentId:"sc-1my13dk-9"})(["display:flex;align-items:center;margin-top:16px;text-decoration:none;color:#01000d;:hover{color:#00527a;}"]),Ha=a.a.img.withConfig({displayName:"styles__PuzzleImage",componentId:"sc-1my13dk-10"})(["height:40px;width:40px;margin:0 16px 0 0;"]);function Fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ua=(e,t,n)=>{e&&e(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{object:"ArticleSidebar",action:"Clicked",attrs:qa({event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Article Sidebar"},t&&{article_parent_name:t.toLowerCase()})}}(t,n))},Va=e=>{let t=e.sectionTitle,n=e.data,o=e.pageLink;const r=q().fireAnalyticsEvent;return i.a.createElement(Na,null,i.a.createElement(Ma,{href:o,onClick:()=>Ua(r,"puzzle sidebar: header selected"),className:"trigger"},i.a.createElement(La,null,i.a.createElement(Da,null,t),i.a.createElement(Ra,null,i.a.createElement(Aa,null)))),i.a.createElement(Ta,null,"Challenge yourself with today’s puzzles."),i.a.createElement(Pa,null),n.map(e=>{let t=e.title,n=e.url,o=e.imgUrl;return i.a.createElement(i.a.Fragment,{key:t},i.a.createElement(Wa,{href:n,onClick:()=>Ua(r,"puzzle sidebar: puzzle selected","".concat(t)),className:"trigger-card-link"},i.a.createElement(Ha,{src:o,alt:"Puzzle category thumbnail"}),i.a.createElement(Ba,null,t)),i.a.createElement(Pa,null))}))},Ya=a.a.div.withConfig({displayName:"styles__Container",componentId:"lhknes-0"})(["padding-top:12px;border-style:solid none none none;border-width:3px;border-color:#c05729;min-width:160px;min-height:340px;"]),Ga=(a.a.p.withConfig({displayName:"styles__Description",componentId:"lhknes-1"})(["display:block;font-family:'Roboto';font-weight:400;line-height:1.5;font-size:1.4rem;letter-spacing:0em;margin:7px 0 4px;"]),a.a.hr.withConfig({displayName:"styles__Divider",componentId:"lhknes-2"})(["margin:12px 0;border-style:dashed none none none;border-width:1px;border-color:#01000d;&:first-of-type{margin-top:12px;}"])),Za=a.a.a.withConfig({displayName:"styles__Link",componentId:"lhknes-3"})(["display:block;text-decoration:none;&:hover{button{background-color:#e4e4e4;}h3{color:#00527a;}}h3{color:#c05729;}"]),Xa=a.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"lhknes-4"})(["display:flex;flex-direction:row;justify-content:space-between;& .question-icon{width:37.652px;height:40px;margin-left:8px;}"]),Ja=a.a.h3.withConfig({displayName:"styles__Title",componentId:"lhknes-5"})(["font-family:'Times Modern';font-weight:800;line-height:1.125;font-size:1.8rem;letter-spacing:0em;margin:2px 0 0;"]),Qa=a.a.h3.withConfig({displayName:"styles__Titletag",componentId:"lhknes-6"})(["font-family:'Roboto';font-size:12px;font-weight:700;line-height:18px;text-align:left;margin-block:0;"]),Ka=a.a.div.withConfig({displayName:"styles__Bottom",componentId:"lhknes-7"})(['display:flex;flex-direction:column;align-items:flex-start;padding:8px 0 0;min-height:90px;justify-content:space-between;& .q-icon{position:absolute;color:#C74600;font-family:TimesModern-Regular,TimesModern-Regular-fallback,serif;font-size:24px;font-style:normal;font-weight:700;line-height:150%;left:-28px;top:-7px;}& .q-arrow{width:16px;height:16px;background-image:url(\'data:image/svg+xml; charset=utf-8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M6.67999 4L5.73999 4.94L8.79332 8L5.73999 11.06L6.67999 12L10.68 8L6.67999 4Z" fill="%23C74600"/></svg>\');background-size:contain;background-repeat:no-repeat;display:inline-block;background-position:-3px 4px;margin-left:4px;}& p{position:relative;color:#333;font-family:Roboto-Regular,Roboto-Regular-fallback,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:150%;margin:0 0 20px;text-indent:28px;}& a{position:relative;width:100%;color:#C74600;font-family:Roboto-Regular,Roboto-Regular-fallback,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:112.5%;text-decoration:none;&:hover{color:#00527A;& .q-arrow{background-image:url(\'data:image/svg+xml; charset=utf-8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M6.67999 4L5.73999 4.94L8.79332 8L5.73999 11.06L6.67999 12L10.68 8L6.67999 4Z" fill="%2300527A"/></svg>\')}}']),el=(e,t)=>{e&&e((e=>({object:"QuizleSidebar",action:"Clicked",attrs:{event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Quizle Sidebar"}}))(t))};function tl(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function nl(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){tl(r,o,i,a,l,"next",e)}function l(e){tl(r,o,i,a,l,"throw",e)}a(void 0)}))}}function ol(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return il(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 il(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 il(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const rl=e=>{let t=e.sectionTitle,n=e.pageLink;const r=q().fireAnalyticsEvent,a=ol(Object(o.useState)(null),2),l=a[0],c=a[1],s=[{id:0,publishDate:"2024-10-29T00:00:00.000Z",question:"Which type of dog gets its name from the Welsh words for 'dwarf' and 'dog'?",solution:"Corgi"}],d=function(){var e=nl((function*(){try{const e=yield fetch("https://tnl-render.tools.news/production/content/puzzles/quizle/questions.json");if(!e.ok)throw new Error("Failed to fetch");return yield e.json()}catch(e){return s}}));return function(){return e.apply(this,arguments)}}();return Object(o.useEffect)(()=>{(function(){var e=nl((function*(){const e=(e=>{const t=(new Date).toDateString(),n=e.find(e=>new Date(e.publishDate).toDateString()===t);return n&&n.question?n.question:s[0].question})(yield d());c(e)}));return function(){return e.apply(this,arguments)}})()()},[]),i.a.createElement(Ya,null,i.a.createElement(i.a.Fragment,null,i.a.createElement(Xa,null,i.a.createElement("div",null,i.a.createElement(Qa,null,"BETA"),i.a.createElement(Za,{href:n,onClick:()=>el(r,"quizle sidebar: title selected"),className:"trigger"},i.a.createElement(Ja,null,t))),i.a.createElement("img",{src:"https://www.thetimes.com/d/img/puzzles/new-illustrations/quizzesteasers-4e9e19ef6b.png",className:"question-icon"}))),i.a.createElement(Ga,null),i.a.createElement(Ka,null,i.a.createElement("p",null,i.a.createElement("span",{className:"q-icon"},"Q: "),l),i.a.createElement(Za,{href:n,onClick:()=>el(r,"quizle sidebar: test your knowledge"),className:"quizle-link"},"Test your knowledge",i.a.createElement("span",{className:"q-arrow"}))),i.a.createElement(Ga,null))},al=a.a.button.withConfig({displayName:"styles__AudioButton",componentId:"sc-1pn7kal-0"})(["background-color:unset;border-radius:0;padding:7px 11px;border:1px solid ",";display:flex;align-items:center;color:",";font-family:Roboto;font-weight:500;font-size:14px;line-height:18px;svg{margin-right:8px;}span{margin-left:4px;font-size:12px;color:",";}"],l.colours.functional.primary,l.colours.functional.primary,l.colours.functional.secondary);var ll;Object(r.createGlobalStyle)(ll||(cl=["\n *, *::before, *::after {\n box-sizing: border-box;\n }\n"],sl||(sl=cl.slice(0)),ll=Object.freeze(Object.defineProperties(cl,{raw:{value:Object.freeze(sl)}}))));var cl,sl;const dl=a.a.div.withConfig({displayName:"styles__AudioPlayerContainer",componentId:"w3kg01-0"})(["position:fixed;bottom:0;left:0;width:100%;height:",";background-color:",";color:",";box-shadow:0px -2px 4px 0px #0000001a;border-top-left-radius:10px;border-top-right-radius:10px;transition:height 0.3s ease,transform 0.3s ease;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:16px;transform:",";@media (max-width:","){width:100%;}"],e=>{let t=e.isExpanded,n=e.isModalOpen;return t?n?"370px":"221px":"48px"},l.colours.functional.white,l.colours.functional.primary,e=>e.isExpanded?"translateY(0)":"translateY(calc(100% - 48px))",l.breakpoints.small),pl=a.a.div.withConfig({displayName:"styles__Row",componentId:"w3kg01-1"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),ul=a.a.button.withConfig({displayName:"styles__CollapseButton",componentId:"w3kg01-2"})(["background:none;border:none;cursor:pointer;padding:0;"]),ml=a.a.div.withConfig({displayName:"styles__Title",componentId:"w3kg01-3"})(["font-family:",";font-size:16px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;position:relative;width:90%;margin-top:16px;& > div{display:inline-block;padding-left:100%;animation:scroll 10s linear infinite;}@keyframes scroll{0%{transform:translateX(0);}100%{transform:translateX(-100%);}}"],l.fonts.supporting),fl=a.a.input.withConfig({displayName:"styles__StyledSeekBar",componentId:"w3kg01-4"})(["width:90%;height:4px;border-radius:2px;background:",";outline:none;appearance:none;margin:16px 0 6px 0;&::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";margin-top:-6px;transition:background 0.3s ease;}&::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";transition:background 0.3s ease;}&::-webkit-slider-runnable-track{height:4px;background:transparent;border:none;}&::-moz-range-track{height:4px;background:transparent;border:none;}&:disabled{opacity:0.5;cursor:not-allowed;}"],e=>{let t=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),gl=a.a.div.withConfig({displayName:"styles__StyledTimeDisplay",componentId:"w3kg01-5"})(["font-family:",";font-size:14px;font-weight:500;text-align:right;width:90%;display:flex;justify-content:space-between;margin-top:6px;margin-bottom:30px;"],l.fonts.supporting),hl=a.a.div.withConfig({displayName:"styles__Controls",componentId:"w3kg01-6"})(["width:90%;display:flex;justify-content:center;align-items:center;position:relative;@media (max-width:","){gap:16px;}"],l.breakpoints.small),yl=a.a.div.withConfig({displayName:"styles__PlaybackButtonsContainer",componentId:"w3kg01-7"})(["display:flex;justify-content:center;align-items:center;gap:8px;@media (min-width:","){gap:16px;}"],l.breakpoints.small),bl=a.a.button.withConfig({displayName:"styles__ControlButton",componentId:"w3kg01-8"})(["background:none;border:none;cursor:pointer;padding:0;svg{width:24px;height:24px;fill:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary),xl=a.a.button.withConfig({displayName:"styles__PlayPauseButton",componentId:"w3kg01-9"})(["width:48px;height:48px;border:none;border-radius:50%;background-color:#01000d;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:0;position:relative;&:hover{background-color:#02020f;}&:disabled{opacity:0.5;cursor:not-allowed;}svg{width:24px;height:24px;position:absolute;}"]),wl=a.a.button.withConfig({displayName:"styles__SpeedButton",componentId:"w3kg01-10"})(["background:none;border:1px solid ",";cursor:pointer;font-family:",";font-size:14px;font-weight:500;color:",";margin-left:16px;position:absolute;right:-10px;padding:8px 16px;@media (min-width:","){position:absolute;right:0;margin-left:0;}&:hover{background-color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.breakpoints.small,l.colours.functional.border),vl=a.a.div.withConfig({displayName:"styles__SpeedSelectModal",componentId:"w3kg01-11"})(["background:",";z-index:1000;display:flex;flex-direction:column;overflow:hidden;",";"],l.colours.functional.white,e=>e.isMobile?"\n position: absolute;\n top: 40px;\n left: 0;\n width: 100%;\n height: calc(100% - 40px);\n border: none;\n padding: 16px;\n ":"\n position: absolute;\n bottom: calc(100% + 18px);\n left: 50%;\n transform: translateX(-50%);\n width: 160px;\n height: 256px;\n border: 1px solid ".concat(l.colours.functional.greyLabel,";\n padding: 16px 0px;\n box-shadow: 0px 20px 32px 0px #0A0A0A14;\n overflow: unset;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border-width: 16px 16px 0 16px;\n border-style: solid;\n border-color: ").concat(l.colours.functional.white," transparent transparent transparent;\n width: 0;\n height: 0;\n }\n ")),_l=a.a.div.withConfig({displayName:"styles__SpeedOptionsContainer",componentId:"w3kg01-12"})(["flex:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),kl=a.a.div.withConfig({displayName:"styles__SpeedOptionItem",componentId:"w3kg01-13"})(["display:flex;justify-content:space-between;align-items:center;background:",";padding:8px 12px;cursor:pointer;width:",";font-family:",";font-size:16px;font-weight:500;color:",";svg{width:20px;height:20px;fill:",";}&:hover{background:",";}"],e=>e.selected?l.colours.functional.bannerBackground:"transparent",e=>e.isMobile?"80%;":"100%",l.fonts.supporting,e=>e.selected?l.colours.functional.brandColour:l.colours.functional.secondary,l.colours.functional.brandColour,e=>e.selected?l.colours.functional.bannerBackground:l.colours.functional.border),Cl=a.a.button.withConfig({displayName:"styles__CloseButton",componentId:"w3kg01-14"})(["background:none;border:none;cursor:pointer;font-family:",";font-size:16px;font-weight:500;color:",";padding:12px 0;align-self:center;&:hover{text-decoration:underline;}"],l.fonts.supporting,l.colours.functional.primary),Ol=(a.a.div.withConfig({displayName:"styles__VolumeControlContainer",componentId:"w3kg01-15"})(["display:flex;align-items:center;width:90%;padding:5px 0;"]),a.a.label.withConfig({displayName:"styles__VolumeLabel",componentId:"w3kg01-16"})(["margin-right:10px;font-family:",";font-size:14px;font-weight:500;"],l.fonts.supporting),a.a.input.withConfig({displayName:"styles__VolumeSlider",componentId:"w3kg01-17"})(["width:100%;height:4px;border-radius:2px;background:",";outline:none;appearance:none;&::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";margin-top:-6px;}&::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";}&::-webkit-slider-runnable-track{height:4px;background:",";border:none;}&::-moz-range-track{height:4px;background:",";border:none;}"],l.colours.functional.whiteGrey,"#1573A2","#1573A2","#1573A2","#1573A2",l.colours.functional.whiteGrey,l.colours.functional.whiteGrey),a.a.div.withConfig({displayName:"styles__TabletDesktopWrapper",componentId:"w3kg01-18"})(["width:100%;padding:16px 20px;position:fixed;bottom:0;left:0;background-color:",";box-shadow:0px -2px 4px 0px #0000001a;display:flex;align-items:center;justify-content:center;z-index:1000;"],l.colours.functional.white)),El=a.a.div.withConfig({displayName:"styles__TabletDesktopInnerWrapper",componentId:"w3kg01-19"})(["max-width:1440px;margin:0 auto;width:100%;display:flex;align-items:center;justify-content:space-between;"]),Il=a.a.div.withConfig({displayName:"styles__LeftControls",componentId:"w3kg01-20"})(["display:flex;align-items:center;"]),Sl=a.a.div.withConfig({displayName:"styles__CenterControls",componentId:"w3kg01-21"})(["display:flex;align-items:center;flex-grow:1;margin:0 16px;"]),jl=a.a.div.withConfig({displayName:"styles__RightControls",componentId:"w3kg01-22"})(["display:flex;align-items:center;"]),zl=a.a.button.withConfig({displayName:"styles__TabletDesktopPlayPauseButton",componentId:"w3kg01-23"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:32px;height:32px;fill:",";}"],l.colours.functional.primary),Al=a.a.span.withConfig({displayName:"styles__TabletDesktopStatusText",componentId:"w3kg01-24"})(["font-family:",";font-size:16px;font-weight:500;margin:0 16px;"],l.fonts.supporting),Nl=a.a.div.withConfig({displayName:"styles__TabletDesktopVolumeControlContainer",componentId:"w3kg01-25"})(["display:flex;align-items:center;margin:0 16px;"]),Tl=a.a.button.withConfig({displayName:"styles__TabletDesktopVolumeButton",componentId:"w3kg01-26"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],l.colours.functional.primary),Pl=a.a.input.withConfig({displayName:"styles__TabletDesktopVolumeSlider",componentId:"w3kg01-27"})(["width:100px;margin-left:8px;height:4px;background:",";outline:none;appearance:none;&::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";margin-top:-4px;}"],l.colours.functional.whiteGrey,"#1573A2","#1573A2"),Ml=a.a.div.withConfig({displayName:"styles__TabletDesktopTimeDisplay",componentId:"w3kg01-28"})(["display:flex;align-items:center;font-family:",";font-size:14px;font-weight:500;span{margin:0 4px;}"],l.fonts.supporting),Ll=a.a.input.withConfig({displayName:"styles__TabletDesktopSeekBar",componentId:"w3kg01-29"})(["flex-grow:1;height:4px;background:",";outline:none;appearance:none;margin:0 8px;&::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";margin-top:-4px;}&::-moz-range-thumb{width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],e=>{let t=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),Dl=a.a.button.withConfig({displayName:"styles__TabletDesktopSpeedButton",componentId:"w3kg01-30"})(["background:none;border:1px solid ",";cursor:pointer;font-family:",";font-size:14px;font-weight:500;color:",";padding:8px 16px;margin:0 16px;&:hover{background-color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.colours.functional.border),Rl=a.a.div.withConfig({displayName:"styles__SpeedButtonContainer",componentId:"w3kg01-31"})(["position:relative;"]),Bl=a.a.button.withConfig({displayName:"styles__TabletDesktopCloseButton",componentId:"w3kg01-32"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],l.colours.functional.primary),Wl=e=>{let t=e.isExpanded,n=e.toggleExpand;return e.allowExpandCollapse?i.a.createElement(pl,null,i.a.createElement(ul,{onClick:n,"aria-label":t?"Collapse Player":"Expand Player"},i.a.createElement(ae.PlayerModalIcon,null))):null},Hl=e=>{let t=e.title;return i.a.createElement(pl,null,i.a.createElement(ml,null,i.a.createElement("div",{"data-testid":"title-content"},t)))},Fl=e=>{let t=e.currentTime,n=e.duration,o=e.onSeek,r=e.allowSeek;const a=n>0?t/n*100:0;return i.a.createElement(pl,null,i.a.createElement(fl,{type:"range",min:"0",max:n,value:t,onChange:e=>o(parseFloat(e.target.value)),disabled:!r,"aria-label":"Seek Bar",progress:a}))},ql=e=>{const t=Math.floor(e/60),n=Math.floor(e%60);return"".concat(t,":").concat(n<10?"0":"").concat(n)},$l=e=>{let t=e.currentTime,n=e.duration;return i.a.createElement(pl,null,i.a.createElement(gl,null,i.a.createElement("span",{"data-testid":"current-time"},ql(t)),i.a.createElement("span",{"data-testid":"duration"},ql(n))))},Ul=e=>{let t=e.isPlaying,n=e.togglePlayPause,o=e.rewind,r=e.forward,a=e.speed,l=e.onSpeedChange,c=e.allowTogglePlay,s=e.allowSeek,d=e.allowPlaybackRateChange,p=e.isSpeedModalOpen,u=e.setIsSpeedModalOpen,m=e.isMobile;return i.a.createElement(pl,null,i.a.createElement(hl,null,i.a.createElement(yl,null,i.a.createElement(bl,{onClick:o,disabled:!s,"aria-label":"Rewind 10 seconds"},i.a.createElement(ae.PlayerBack,null)),i.a.createElement(xl,{onClick:n,disabled:!c,"aria-label":t?"Pause":"Play"},t?i.a.createElement(ae.PauseIcon,{fill:"white"}):i.a.createElement(ae.PlayIcon,{fill:"white"})),i.a.createElement(bl,{onClick:r,disabled:!s,"aria-label":"Forward 10 seconds"},i.a.createElement(ae.PlayerFront,null))),i.a.createElement(wl,{onClick:()=>{d&&u(!p)},"aria-label":"Change Playback Speed"},"Speed")),p&&i.a.createElement(vl,{isMobile:m},i.a.createElement(_l,null,[.5,.8,1,1.2,1.5,2].map(e=>i.a.createElement(kl,{key:e,selected:e===a,onClick:()=>(l(e),void u(!1))},i.a.createElement("span",null,e,"x"),e===a&&i.a.createElement(ae.IconCheck,null)))),i.a.createElement(Cl,{onClick:()=>u(!1)},"Close")))},Vl=e=>{let t=e.isPlaying,n=e.togglePlayPause,o=e.currentTime,r=e.duration,a=e.allowTogglePlay,l=e.allowSeek,c=e.allowVolumeChange,s=e.volume,d=e.handleSeek,p=e.handleVolumeChange,u=e.speed,m=e.allowPlaybackRateChange,f=e.isSpeedModalOpen,g=e.setIsSpeedModalOpen,h=e.speedOptions,y=e.handleSpeedSelect,b=e.isVolumeSliderVisible,x=e.setIsVolumeSliderVisible,w=e.onClose,v=e.allowExpandCollapse,_=e.isMobile;return i.a.createElement(Ol,null,i.a.createElement(El,null,i.a.createElement(Il,null,i.a.createElement(zl,{onClick:n,disabled:!a,"aria-label":t?"Pause":"Play"},t?i.a.createElement(ae.PauseIcon,null):i.a.createElement(ae.PlayIcon,null)),i.a.createElement(Al,null,t?"Playing":"Paused"),c&&i.a.createElement(Nl,null,i.a.createElement(Tl,{onClick:()=>x(!b),"aria-label":"Volume Control"},i.a.createElement(ae.IconVolume,null)),b&&i.a.createElement(Pl,{type:"range",min:"0",max:"1",step:"0.01",value:s,onChange:e=>p(parseFloat(e.target.value))}))),i.a.createElement(Sl,null,i.a.createElement(Ml,null,i.a.createElement("span",null,ql(o))),i.a.createElement(Ll,{type:"range",min:"0",max:r,value:o,onChange:e=>d(parseFloat(e.target.value)),disabled:!l,"aria-label":"Seek Bar",progress:r>0?o/r*100:0}),i.a.createElement(Ml,null,i.a.createElement("span",null,ql(r)))),i.a.createElement(jl,null,m&&i.a.createElement(Rl,null,i.a.createElement(Dl,{onClick:()=>{m&&g(!f)},"aria-label":"Change Playback Speed"},"Speed"),f&&i.a.createElement(vl,{isMobile:_},i.a.createElement(_l,null,h.map(e=>i.a.createElement(kl,{key:e,selected:e===u,onClick:()=>y(e)},i.a.createElement("span",null,e,"x"),e===u&&i.a.createElement(ae.IconCheck,null)))))),v&&i.a.createElement(Bl,{onClick:w,"aria-label":"Close Player"},i.a.createElement(ae.AudioCloseIcon,{fill:"black"})))))};function Yl(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gl(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 Gl(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 Gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Zl=Object(o.forwardRef)((e,t)=>{let n=e.src,r=e.title,a=void 0===r?"Audio Title":r,l=e.autoPlay,c=void 0!==l&&l,s=e.initialVolume,d=void 0===s?1:s,p=e.playbackRate,u=void 0===p?1:p,m=e.isPlayingProp,f=e.isExpandedProp,g=e.allowTogglePlay,h=void 0===g||g,y=e.allowSeek,b=void 0===y||y,x=e.allowVolumeChange,w=void 0===x||x,v=e.allowPlaybackRateChange,_=void 0===v||v,k=e.allowExpandCollapse,C=void 0===k||k,O=e.onPlay,E=e.onPause,I=e.onEnded,S=e.onTimeUpdate,j=e.onVolumeChange,z=e.onPlaybackRateChange,A=e.onSeek,N=e.onClose;const T=Object(o.useRef)(null),P=Yl(Object(o.useState)(null!=m?m:c),2),M=P[0],L=P[1],D=Yl(Object(o.useState)(null==f||f),2),R=D[0],B=D[1],W=Yl(Object(o.useState)(0),2),H=W[0],F=W[1],q=Yl(Object(o.useState)(0),2),$=q[0],U=q[1],V=Yl(Object(o.useState)(d),2),Y=V[0],G=V[1],Z=Yl(Object(o.useState)(u),2),X=Z[0],J=Z[1],Q=Yl(Object(o.useState)(!1),2),K=Q[0],ee=Q[1],te=Yl(Object(o.useState)(!1),2),ne=te[0],oe=te[1],ie=Yl(Object(o.useState)("undefined"==typeof window||window.innerWidth<=520),2),re=ie[0],ae=ie[1];Object(o.useEffect)(()=>{const e=()=>{"undefined"!=typeof window&&ae(window.innerWidth<=520)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),Object(o.useImperativeHandle)(t,()=>({parentControlToggle:()=>{le()}})),Object(o.useEffect)(()=>{T.current&&(T.current.volume=Y,T.current.playbackRate=X)},[Y,X]),Object(o.useEffect)(()=>{"boolean"==typeof m&&(m&&T.current?T.current.play().then(()=>{L(!0)}).catch(()=>{throw Error("Error attempting to play:")}):T.current&&(T.current.pause(),L(!1)))},[m]),Object(o.useEffect)(()=>{"boolean"==typeof f&&B(f)},[f]);const le=()=>{h&&(T.current&&T.current.paused?T.current.play().then(()=>{L(!0),O&&O()}).catch(()=>{throw Error("Error attempting to play:")}):T.current&&(T.current.pause(),L(!1),E&&E()))},ce=e=>{if(b&&T.current){const t=Math.min(Math.max(e,0),$);T.current.currentTime=t,F(t),A&&A(t)}},se=e=>{w&&(G(e),T.current&&(T.current.volume=e),j&&j(e))},de=e=>{_&&(J(e),T.current&&(T.current.playbackRate=e),z&&z(e))};return i.a.createElement(i.a.Fragment,null,i.a.createElement("audio",{ref:T,src:n,autoPlay:c,onTimeUpdate:()=>{if(!b)return;const e=T.current&&void 0!==T.current.currentTime&&null!==T.current.currentTime?T.current.currentTime:0;F(e),S&&S(e)},onLoadedMetadata:()=>{const e=T.current&&void 0!==T.current.duration&&null!==T.current.duration?T.current.duration:0;U(e)},onEnded:I}),re?i.a.createElement(dl,{isExpanded:R,isModalOpen:K},i.a.createElement(Wl,{isExpanded:R,toggleExpand:()=>{C&&B(!R)},allowExpandCollapse:C}),R&&i.a.createElement(i.a.Fragment,null,i.a.createElement(Hl,{title:a}),i.a.createElement(Fl,{currentTime:H,duration:$,onSeek:ce,allowSeek:b}),i.a.createElement($l,{currentTime:H,duration:$}),i.a.createElement(Ul,{isPlaying:M,togglePlayPause:le,rewind:()=>{ce(H-10)},forward:()=>{ce(H+10)},speed:X,onSpeedChange:de,allowTogglePlay:h,allowSeek:b,allowPlaybackRateChange:_,isSpeedModalOpen:K,setIsSpeedModalOpen:ee,isMobile:re}))):i.a.createElement(Vl,{audioRef:T,isPlaying:M,togglePlayPause:le,currentTime:H,duration:$,allowTogglePlay:h,allowSeek:b,allowVolumeChange:w,volume:Y,setVolume:se,handleSeek:ce,handleVolumeChange:se,speed:X,handleSpeedChange:de,allowPlaybackRateChange:_,isSpeedModalOpen:K,setIsSpeedModalOpen:ee,speedOptions:[.5,.8,1,1.2,1.5,2],handleSpeedSelect:e=>{de(e),ee(!1)},isVolumeSliderVisible:ne,setIsVolumeSliderVisible:oe,onClose:N,allowExpandCollapse:C,isMobile:re}))});function Xl(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jl(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 Jl(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 Jl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ql=e=>{let t=e.audioSrc;const n=Xl(Object(o.useState)("not-started"),2),r=n[0],a=n[1],l=Xl(Object(o.useState)(!1),2),c=l[0],s=l[1],d=Xl(Object(o.useState)(null),2),p=d[0],u=d[1],m=Object(o.useRef)(null);return i.a.createElement("div",null,i.a.createElement("audio",{ref:m,src:t,onLoadedMetadata:()=>{if(m.current){const e=Math.floor(m.current.duration),t=Math.floor(e/60)+1;u("".concat(t))}},preload:"metadata"}),i.a.createElement(al,{onClick:()=>{s(!0),a("playing"===r?"paused":"playing")},style:{backgroundColor:"not-started"!==r?"#1D1D1B":"unset",color:"not-started"===r?"#333":"#fff"}},"playing"===r?i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PauseIcon,{width:16,height:16,fill:"#fff"})," Playing"):"paused"===r?i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PlayIcon,{width:16,height:16,fill:"#fff"})," Paused"):i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PlayIcon,{width:16,height:16})," Listen"),i.a.createElement("span",{style:{color:"not-started"===r?"#696969":"#fff"}}," ",p," min")),c&&i.a.createElement(Zl,{src:t,isPlayingProp:"playing"===r,onPlay:()=>a("playing"),onPause:()=>a("paused"),onEnded:()=>a("not-started"),onClose:()=>{s(!1)}}))};const Kl=a.a.div.withConfig({displayName:"styles__FeaturesCarouselContainer",componentId:"li7f4o-0"})(["position:relative;width:100%;scrollbar-width:none;overflow:hidden;overflow-x:auto;"]),ec=a.a.div.withConfig({displayName:"styles__FeaturesCarouselWindow",componentId:"li7f4o-1"})(["position:relative;width:max-content;min-width:100%;display:grid;grid-template-columns:200px 200px 200px;grid-auto-rows:1fr;grid-gap:16px;padding-left:10px;padding-right:10px;"]),tc=a.a.a.withConfig({displayName:"styles__CarouselItem",componentId:"li7f4o-2"})(["border:1px solid #e4e4e4;border-radius:4px;display:flex;flex-direction:column;justify-content:center;float:left;text-align:center;text-decoration:none;img{height:80px;width:auto;margin:8px auto;}"]),nc=a.a.div.withConfig({displayName:"styles__CarouselContent",componentId:"li7f4o-3"})(["background:",";flex-grow:1;padding:0 16px;width:100%;h3{color:",";font-family:'Roboto';font-size:12px;font-weight:700;line-height:14px;margin:8px;text-transform:uppercase;}p{color:#000;font-family:'Times Modern';font-size:20px;font-weight:300;line-height:23px;margin:8px;}"],e=>e.colours.bg,e=>e.colours.title),oc=a.a.div.withConfig({displayName:"styles__Header",componentId:"li7f4o-4"})(["margin-bottom:12px;padding:16px 12px 12px 12px;font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],l.fonts.headline),ic=e=>{let t=e.title,n=e.text,o=e.image,r=e.color,a=e.url;return i.a.createElement(tc,{href:a},i.a.createElement("img",{src:o,alt:t}),i.a.createElement(nc,{colours:r},i.a.createElement("h3",null,t),i.a.createElement("p",null,n)))},rc=e=>{let t=e.heading,n=e.carouselItems,o=e.hideHeading;return n?i.a.createElement("div",{id:"benefits-carousel"},!o&&i.a.createElement(oc,null,t),i.a.createElement(Kl,null,i.a.createElement(ec,null,n.map(e=>i.a.createElement(ic,Object.assign({},e)))))):null},ac=a.a.a.withConfig({displayName:"styles__Link",componentId:"sc-1yp248t-0"})(["width:fit-content;height:48px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;border:none;border-radius:0;padding:12px 16px;background-color:#005c8a;color:#ffffff;display:flex;text-decoration:none;align-items:center;"]);function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach((function(t){sc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dc=e=>{let t=e.attributes;return t&&t.text.trim()&&t.url.trim()?i.a.createElement(ac,{href:t.url,target:t.target||"_blank",className:t.className,onClick:()=>function(e,t,n,o,i){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};window.utag&&window.utag.link?window.utag.link(cc({event_navigation_name:e,event_navigation_action:t,event_navigation_browsing_method:n,article_parent_name:o,section_details:i},r)):console.error("Tealium tracking is not available.")}("affiliate cta clicked","navigation","click",t.url,t.text.toLowerCase()),rel:"nofollow",style:{display:t.className&&t.className.includes("js-cta-experiment-variation")?"none":"block"}},t.text):null},pc=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"sc-12n1gx9-0"})(["padding:24px;height:auto;width:auto;border:1px solid #e4e4e4;background-color:#f5f5f5;margin:0;max-width:460px;"]),uc=a.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12n1gx9-1"})(["display:flex;"]),mc=a()(mn).withConfig({displayName:"styles__CustomIconContainer",componentId:"sc-12n1gx9-2"})(["height:auto;width:auto;margin-right:8px;svg{fill:#1573a2;width:20px;height:20px;}"]),fc=a.a.h1.withConfig({displayName:"styles__Title",componentId:"sc-12n1gx9-3"})(["color:#005c8a;font-family:Roboto;font-size:20px;font-style:normal;font-weight:700;line-height:112.5%;margin:0;@media (max-width:","px){font-size:18px;}"],l.breakpoints.medium),gc=a.a.p.withConfig({displayName:"styles__Paragraph",componentId:"sc-12n1gx9-4"})(["color:#333;font-family:Roboto;font-size:18px;font-style:normal;font-weight:400;line-height:150%;margin:24px 0;@media (max-width:","px){font-size:16px;}"],l.breakpoints.medium),hc=a.a.button.withConfig({displayName:"styles__EnableButton",componentId:"sc-12n1gx9-5"})(["display:flex;align-items:flex-start;align-self:stretch;background-color:#005c8a;padding:8px 12px;width:100%;justify-content:center;color:#ffffff;border:none;"]),yc=a.a.button.withConfig({displayName:"styles__AllowButton",componentId:"sc-12n1gx9-6"})(["display:flex;align-items:flex-start;align-self:stretch;color:#333333;width:100%;justify-content:center;margin-top:12px;padding:8px 12px;border-radius:0px;border-width:1px;"]),bc=a.a.a.withConfig({displayName:"styles__LinkPrivacyManager",componentId:"sc-12n1gx9-7"})(["color:#00527a;"]),xc=a.a.blockquote.withConfig({displayName:"styles__InstagramContainer",componentId:"sc-12n1gx9-8"})(["background:#fff;border:0;border-radius:3px;box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15);margin:1px;max-width:540px;min-width:326px;padding:0;width:calc(100% - 2px);position:relative;"]),wc={twitter:{id:"5fab0c31a22863611c5f8764",status:"pending",title:"X (Twitter)"},youtube:{id:"5e7ac3fae30e7d1bc1ebf5e8",status:"pending",title:"Youtube"},tiktok:{id:"5e7f6927b8e05c4e491e7380",status:"pending",title:"Tiktok"},instagram:{id:"5e7f6927b8e05c4e491e6324",status:"pending",title:"Instagram"}};function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Cc="gdpr",Oc="tcloaded",Ec="useractioncomplete";function Ic(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sc(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 Sc(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 Sc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const jc=Object(o.createContext)(void 0),zc=e=>{let t=e.children;const n=Ic(Object(o.useState)({instagram:!1,twitter:!1,tiktok:!1,youtube:!1}),2),r=n[0],a=n[1],l=Ic(Object(o.useState)({instagram:!1,twitter:!1,tiktok:!1,youtube:!1}),2),c=l[0],s=l[1];return Object(o.useEffect)(()=>{s({instagram:r.instagram,twitter:r.twitter,tiktok:r.tiktok,youtube:r.youtube})},[r]),i.a.createElement(jc.Provider,{value:{isSocialEmbedAllowed:r,setIsSocialEmbedAllowed:a,isAllowedOnce:c,setIsAllowedOnce:s}},t)},Ac=()=>{const e=Object(o.useContext)(jc);if(!e)throw new Error("useSocialEmbedsContext must be used within a SocialEmbedsProvider");return e};function Nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nc(Object(n),!0).forEach((function(t){Pc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mc=e=>{let t=e.vendorName;const n=Ac(),o=n.setIsSocialEmbedAllowed,r=n.setIsAllowedOnce;return i.a.createElement(pc,null,i.a.createElement(uc,null,i.a.createElement(mc,null,i.a.createElement(Br,null)),i.a.createElement(fc,null,((e,t)=>"twitter"===e?"X (Twitter)":t[e].title)(t,wc)," content blocked")),i.a.createElement(gc,null,"Please enable cookies and other technologies to view this content. You can update your cookies preferences any time using"," ",i.a.createElement(bc,{href:"#",onClick:e=>{e.preventDefault(),((e,t)=>{const n=yr()(window,"_sp_.".concat(e,".loadPrivacyManagerModal"));n?n(t):console.warn("Sourcepoint LoadPrivacyManagerModal is not available")})(Cc,window.__TIMES_CONFIG__.sourcepoint.gdprMessageId)}},"privacy manager.")),i.a.createElement(hc,{onClick:()=>{((e,t)=>{const n=(n,o)=>o?(t(t=>_c(_c({},t),{},{[e]:!0})),!0):(t(t=>_c(_c({},t),{},{[e]:!1})),null),o=wc[e].id;window.__tcfapi&&o&&window.__tcfapi("getCustomVendorConsents",2,(i,r)=>{r&&i&&i.grants[o]?window.__tcfapi("postCustomConsent",2,n,[o],Object.keys(i.grants[o].purposeGrants),[]):t(t=>_c(_c({},t),{},{[e]:!1}))})})(t,o)}},"Enable cookies"),i.a.createElement(yc,{onClick:()=>{r(e=>Tc(Tc({},e),{},{[t]:!0}))}},"Allow cookies once"))},Lc={twitter:e=>{let t=e.url;return i.a.createElement("blockquote",{className:"twitter-tweet","data-testid":"twitter-embed"},i.a.createElement("a",{href:t}))},youtube:e=>{let t=e.url;return i.a.createElement("iframe",{width:"560",height:"315",src:t,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})},tiktok:e=>{let t=e.url;Object(o.useEffect)(()=>{const e=document.createElement("script");return e.src="https://www.tiktok.com/embed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]);const n=new URL(t).pathname.split("/").pop(),r=new URL(t).origin+t;return i.a.createElement("blockquote",{className:"tiktok-embed",cite:r,"data-video-id":n,style:{maxWidth:"605px",minWidth:"325px"},"data-testid":"tiktok-embed"},i.a.createElement("section",null))},instagram:e=>{let t=e.url;return Object(o.useEffect)(()=>{const e=document.createElement("script");return e.src="https://www.instagram.com/embed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),i.a.createElement(xc,{className:"instagram-media","data-instgrm-captioned":!0,"data-instgrm-permalink":"".concat(t,"?utm_source=ig_embed&utm_campaign=loading"),"data-instgrm-version":"14"},i.a.createElement(U.Placeholder,null))}},Dc=e=>{let t=e.vendorName,n=e.url;const o=Lc[t];return i.a.createElement(o,{url:n})};function Rc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rc(Object(n),!0).forEach((function(t){Wc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hc=e=>{let t=e.id,n=e.url,r=e.vendorName;const a=Ac(),l=a.setIsSocialEmbedAllowed,c=a.isAllowedOnce,s=a.isSocialEmbedAllowed;return Object(o.useEffect)(()=>{window.__tcfapi&&window.__tcfapi("addEventListener",2,(e,t)=>{if(t&&(e.eventStatus===Oc||e.eventStatus===Ec)){const e=(e=>{let t=!1;return window.__tcfapi&&window.__tcfapi("getCustomVendorConsents",2,(n,o)=>{o&&n&&n.consentedVendors?t=n.consentedVendors.some(t=>t.name.toLowerCase()===e.toLowerCase()):(console.log("Error fetching consent data or ".concat(e," embed not allowed")),t=!1)}),t})(r);l(t=>Bc(Bc({},t),{},{[r]:e}))}})},[r,l]),s[r]||c[r]?i.a.createElement("div",{id:t},i.a.createElement(Dc,{vendorName:r,url:n})):i.a.createElement(Mc,{vendorName:r})},Fc=a.a.div.withConfig({displayName:"styles__Container",componentId:"o29w9b-0"})(["height:auto;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:30px 0 60px 0;padding:1px 1px 10px;"]),qc=a.a.div.withConfig({displayName:"styles__Disclaimer",componentId:"o29w9b-1"})(["text-align:center;padding:14px 0;margin:5px 0;display:flex;flex-direction:column;align-items:center;.shortcode-disclaimer_text{display:inline;clear:both;font-size:1.8rem;line-height:1.5;color:#1d1d1b;padding:0;font-weight:400;margin:0;}.shortcode-disclaimer__toggle{font-weight:400;word-wrap:break-word;margin-left:8px;font-family:Roboto,sans-serif;font-size:12px;line-height:1.5;font-weight:400;color:rgb(105,105,105) !important;font-style:normal;text-decoration:none !important;display:inline-flex;margin-top:5px;}.shortcode-disclaimer__toggle:after{transition:transform 0.2s linear;content:'';display:inline-block;background-image:url('https://www.thetimes.co.uk/travel/wp-content/themes/tnl-travel-refactor/dist/assets/css/svg/arrow-affiliate.svg');background-repeat:no-repeat;background-position:50%;background-size:cover;height:16px;width:16px;margin-left:2px;margin-top:2px;-webkit-transform:rotate(180deg);}"]),$c=a.a.div.withConfig({displayName:"styles__TextContainer",componentId:"o29w9b-2"})(["overflow:hidden;transition:height 0.3s ease-in-out;p{text-align:center;margin:0 !important;clear:both;font-size:1.8rem;line-height:1.6;color:rgb(105,105,105) !important;padding:0 5px 30px;font-weight:400;font-family:TimesDigitalW04-Regular,TimesDigitalW04-Regular-fallback,serif;}"]);function Uc(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vc(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 Vc(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 Vc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Yc=e=>{const t=e.attributes,n=Uc(Object(o.useState)(!1),2),r=n[0],a=n[1],l=Object(o.useRef)(null);return i.a.createElement(Fc,null,i.a.createElement(qc,null,i.a.createElement("p",{className:"shortcode-disclaimer_text"},decodeURIComponent(t.disclaimer_text)),i.a.createElement("a",{className:"shortcode-disclaimer__toggle",href:"#",onClick:e=>{e.preventDefault(),a(!r)}},r?decodeURIComponent(t.toggle_active_text):decodeURIComponent(t.toggle_inactive_text))),i.a.createElement($c,{style:{height:r&&l.current?"".concat(l.current.getBoundingClientRect().height,"px"):"0px"}},i.a.createElement("p",{ref:l},decodeURIComponent(t.disclaimer_full_text))))},Gc=a.a.div.withConfig({displayName:"styles__Hidden",componentId:"z2gbsu-0"})([""," "," "," ",""],e=>e.xs&&"\n @media (max-width: 767px) {\n display: none;\n}\n ",e=>e.sm&&"\n @media (min-width: 768px) and (max-width: 1023px) {\n display: none;\n }\n ",e=>e.md&&"\n @media (min-width: 1024px) and (max-width: 1439px) {\n display: none;\n }\n ",e=>e.lg&&"\n @media (min-width: 1440px) {\n display: none;\n }\n "),Zc=a.a.div.withConfig({displayName:"styles__StyledCard",componentId:"z2gbsu-1"})(["display:flex;flex-direction:column;@media (min-width:768px){position:relative;",";}@media (min-width:1024px){",";}"],e=>e.$numOfArticles>1&&"\n &::after {\n content: '';\n position: absolute;\n top: 0;\n right: -16px;\n width: 1px;\n height: 100%;\n background-color: #e4e4e4;\n }\n\n &:nth-of-type(4n),\n &:last-child {\n &::after {\n display: none;\n }\n }\n ",e=>1===e.$numOfArticles&&"\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-areas: 'media content';\n column-gap: 32px;\n "),Xc=a.a.div.withConfig({displayName:"styles__StyledMedia",componentId:"z2gbsu-2"})(["display:flex;justify-content:center;"]),Jc=a.a.picture.withConfig({displayName:"styles__StyledPicture",componentId:"z2gbsu-3"})(["display:block;width:100%;height:auto;"]),Qc=a.a.img.withConfig({displayName:"styles__StyledImg",componentId:"z2gbsu-4"})(["width:100%;height:100%;object-fit:cover;display:inline-block;@media (min-width:1440px){",";",";",";}@media (min-width:1024px) and (max-width:1439px){",";",";",";}@media (min-width:768px) and (max-width:1023px){",";",";",";",";}@media (max-width:375px){min-height:199px;}"],e=>4===e.$numOfArticles&&"\n min-height: 147px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 202px;\n ",e=>e.$numOfArticles<=2&&"\n min-height: 312px;\n ",e=>4===e.$numOfArticles&&"\n min-height: 124px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 172px;\n ",e=>e.$numOfArticles<=2&&"\n min-height: 267px;\n ",e=>4===e.$numOfArticles&&"\n min-height: 87px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 123px;\n ",e=>1===e.$numOfArticles&&"\n min-height: 405px;\n ",e=>2===e.$numOfArticles&&"\n min-height: 193px;\n "),Kc=a.a.div.withConfig({displayName:"styles__StyledContent",componentId:"z2gbsu-5"})(["display:flex;flex-direction:column;justify-content:center;@media (max-width:375px){&:nth-of-type(1){margin-block-start:15px;}&:not(:nth-of-type(1)){margin-block-start:0;}}@media (min-width:768px){margin-block-start:15px;}@media (min-width:1024px){",";}@media (min-width:768px) and (max-width:1023px){margin-block-start:12px;}"],e=>1===e.$numOfArticles&&"\n display: flex;\n flex-direction: column;\n justify-content: center;\n "),es=a.a.span.withConfig({displayName:"styles__StyledText",componentId:"z2gbsu-6"})(["color:rgb(105,105,105);font-family:'Times Digital W04 Regular';font-size:1.4rem;font-weight:400;padding:0.5px 0px;margin-block-start:20px;line-height:2.1rem;letter-spacing:0em;padding:0.5px 0px;&::before{display:block;content:'';margin-top:-0.393em;}&::after{display:block;content:'';margin-top:-0.415em;}@media (max-width:767px){display:none;",";}"],e=>1===e.$numOfArticles&&"\n display: block;\n "),ts=a.a.hr.withConfig({displayName:"styles__StyledDivider",componentId:"z2gbsu-7"})(["border-style:dashed;border-color:#cccccc;border-width:1px 0px 0px;margin-block:20px;width:100%;@media (min-width:768px){display:none;}"]),ns=a.a.a.withConfig({displayName:"styles__StyledLink",componentId:"z2gbsu-8"})(["font-weight:700;font-family:'Times Modern';font-size:20px;line-height:23px;text-decoration:none;color:#01000d;letter-spacing:0em;padding:0.5px 0px;font-stretch:normal;&::before{display:block;content:'';margin-top:-0.216em;}&::after{display:block;content:'';margin-top:-0.234em;}@media (max-width:375px){font-size:1.25rem;}@media (max-width:767px){font-size:2rem;line-height:2.25rem;&::before{display:block;content:'';margin-top:-0.2035em;}&::after{display:block;content:'';margin-top:-0.2215em;}}@media (min-width:1024px){font-size:2.8rem;line-height:3.15rem;",";}@media (min-width:767px) and (max-width:1023px){font-size:2.8rem;line-height:3.15rem;",";}"],e=>e.$numOfArticles>=3&&"\n font-size: 20px;\n line-height: 23px;\n ",e=>e.$numOfArticles>=2&&"\n font-size: 20px;\n line-height: 23px;\n "),os=(e,t)=>{global.window.utag&&global.window.utag.link({event_navigation_action:"navigation",event_navigation_name:"travel contents card selection",event_navigation_browsing_method:"click",article_parent_name:"".concat(e),section_details:"".concat(t)})};var is=e=>{const t=e.article,n=e.numOfArticles,o=e.isLeadingArticle,r=e.isLastCard,a=e=>e?"".concat(e).concat(e.includes("?")?"&":"?","resize=750"):"";return i.a.createElement(Zc,{$numOfArticles:n},o?i.a.createElement("a",{href:t.url,onClick:()=>{os(t.headline,t.headline)}},i.a.createElement(Xc,null,i.a.createElement(Jc,null,i.a.createElement(Qc,{loading:"lazy",src:a(t.image.url),$numOfArticles:n})))):i.a.createElement(Gc,{xs:!0},i.a.createElement("a",{href:t.url,onClick:()=>{os(t.headline,t.headline)}},i.a.createElement(Xc,null,i.a.createElement(Jc,null,i.a.createElement(Qc,{loading:"lazy",src:a(t.image.url),$numOfArticles:n}))))),i.a.createElement(Kc,{$numOfArticles:n},i.a.createElement(ns,{$numOfArticles:n,href:t.url,onClick:()=>os(t.headline,t.headline)},t.headline),i.a.createElement(es,{$numOfArticles:n},((e,t)=>{if(e.length<=t)return e;let n=e.slice(0,t);const o=n.lastIndexOf(" ");return o>0&&(n=n.slice(0,o)),"".concat(n,"...")})(t.summary,160)),!r&&i.a.createElement(ts,null)))};const rs=a.a.div.withConfig({displayName:"styles__Container",componentId:"l5v2oa-0"})(["max-width:1144px;margin:0 auto;padding-block-end:24px;@media (max-width:767px){padding-inline:10px;}@media (min-width:768px) and (max-width:1023px){padding-inline:24px;}@media (min-width:1024px) and (max-width:1319px){padding-inline:20px;}"]),as=a.a.span.withConfig({displayName:"styles__Title",componentId:"l5v2oa-1"})(["display:block;margin-block:24px 23px;font-family:'Times Modern';font-size:2.4rem;font-weight:800;color:#01000d;letter-spacing:0em;&::before{display:block;content:'';margin-top:-0.2035em;}&::after{display:block;content:'';margin-top:-0.2215em;}@media (min-width:768px){font-size:2.8rem;line-height:3.15rem;}@media (max-width:767px){margin-block:20px 19px;}"]),ls=a.a.div.withConfig({displayName:"styles__Grid",componentId:"l5v2oa-2"})(["display:grid;grid-template-columns:repeat(",",1fr);gap:20px;@media (max-width:767px){grid-template-columns:1fr;gap:0px;}@media (min-width:768px){gap:32px;}"],e=>e.columns),cs=a.a.hr.withConfig({displayName:"styles__Divider",componentId:"l5v2oa-3"})(["border-bottom:1px solid #01000d;border-top:0px;margin:0px;align-self:stretch;border-radius:0px;@media (max-width:767px){border-bottom:3px solid rgb(1,0,13);}"]),ss=e=>{let t=e.element;const n=e=>{try{const t=atob(e),n=new TextDecoder("utf-8"),o=Uint8Array.from(t,e=>e.charCodeAt(0));return n.decode(o)}catch(t){return console.error("Failed to decode base64 string:",e,t),e}},r=JSON.parse(atob(t.articles||"")).map(e=>({id:n(e.id),headline:n(e.headline),summary:n(e.summary),label:n(e.label),url:n(e.url),image:{alt:n(e.image.alt),url:n(e.image.url)}})),a=r.length;return i.a.createElement(rs,null,i.a.createElement(cs,null),i.a.createElement(as,null,t.title),i.a.createElement(ls,{columns:a},r.map((e,t)=>i.a.createElement(o.Fragment,{key:e.id},i.a.createElement(is,{article:e,sectionTitle:e.headline,numOfArticles:a,isLeadingArticle:0===t,isLastCard:t===a-1})))))};n.d(t,"BreakingArticleFlag",(function(){return P})),n.d(t,"LiveArticleFlag",(function(){return T})),n.d(t,"TrackingContextProvider",(function(){return $})),n.d(t,"InArticlePuff",(function(){return Ee})),n.d(t,"InfoCard",(function(){return Ke})),n.d(t,"GalleryCarousel",(function(){return wt})),n.d(t,"InfoCardBulletPoints",(function(){return Tt})),n.d(t,"BigNumbers",(function(){return $t})),n.d(t,"ArticleFlag",(function(){return Vt})),n.d(t,"ArticleFlags",(function(){return Kt})),n.d(t,"NewArticleFlag",(function(){return Yt})),n.d(t,"UpdatedArticleFlag",(function(){return Gt})),n.d(t,"ExclusiveArticleFlag",(function(){return Zt})),n.d(t,"SponsoredArticleFlag",(function(){return Xt})),n.d(t,"LongReadArticleFlag",(function(){return Jt})),n.d(t,"Timelines",(function(){return un})),n.d(t,"SaveStar",(function(){return kn})),n.d(t,"Breadcrumb",(function(){return jn})),n.d(t,"UpdateButton",(function(){return Pn})),n.d(t,"UpdateButtonWithDelay",(function(){return Fn})),n.d(t,"Banner",(function(){return to})),n.d(t,"JobTitle",(function(){return ho})),n.d(t,"AutoNewsletterPuff",(function(){return ei})),n.d(t,"InlineNewsletterPuff",(function(){return Ko})),n.d(t,"PreviewNewsletterPuff",(function(){return ti})),n.d(t,"OptaCricketScorecard",(function(){return mi})),n.d(t,"OptaFixturesTicker",(function(){return Ei})),n.d(t,"OptaFootballFixtures",(function(){return zi})),n.d(t,"OptaFootballFixturesTournament",(function(){return Pi})),n.d(t,"OptaFootballStandings",(function(){return Ri})),n.d(t,"OptaFootballSummary",(function(){return Fi})),n.d(t,"OptaFootballMatchStats",(function(){return Vi})),n.d(t,"OptaFootballPlayerStats",(function(){return Xi})),n.d(t,"OptaRugbyFixtures",(function(){return or})),n.d(t,"OptaRugbyStandings",(function(){return lr})),n.d(t,"OptaRugbySummary",(function(){return pr})),n.d(t,"OptaRugbyMatchStats",(function(){return gr})),n.d(t,"RecommendedFetch",(function(){return Sr})),n.d(t,"CategorisedArticles",(function(){return zr})),n.d(t,"FetchProvider",(function(){return Q})),n.d(t,"ViewCountWrapper",(function(){return Eo})),n.d(t,"HiddenDiv",(function(){return ue})),n.d(t,"InlineMessage",(function(){return Wr})),n.d(t,"InlineDialog",(function(){return Vr})),n.d(t,"ArticleHeader",(function(){return ka})),n.d(t,"UpdatedTimestamp",(function(){return j})),n.d(t,"UpdatedTimeProvider",(function(){return A})),n.d(t,"WelcomeBanner",(function(){return ja})),n.d(t,"safeDecodeURIComponent",(function(){return Kr})),n.d(t,"ArticleSidebar",(function(){return Va})),n.d(t,"QuizleSidebar",(function(){return rl})),n.d(t,"ArticleAudio",(function(){return Ql})),n.d(t,"FeaturesCarousel",(function(){return rc})),n.d(t,"CtaButton",(function(){return dc})),n.d(t,"SocialMediaEmbed",(function(){return Hc})),n.d(t,"useSocialEmbedsContext",(function(){return Ac})),n.d(t,"SocialEmbedsProvider",(function(){return zc})),n.d(t,"AffiliateLinkDisclaimer",(function(){return Yc})),n.d(t,"ArticleCard",(function(){return ss}))}]);
|
|
1
|
+
module.exports=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},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 o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},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=21)}([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){e.exports=require("@times-components/image/rnw")},function(e,t){e.exports=require("@times-components/icons/rnw")},function(e,t){e.exports=require("@times-components/utils/rnw")},function(e,t){e.exports=require("date-fns/differenceInSeconds")},function(e,t){e.exports=require("date-fns/formatDistanceStrict")},function(e,t){e.exports=require("isomorphic-unfetch")},function(e,t){e.exports=require("react-elastic-carousel")},function(e,t){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/,i=/^\./,r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,d=c||s||Function("return this")();var p,u=Array.prototype,m=Function.prototype,f=Object.prototype,g=d["__core-js_shared__"],h=(p=/[^.]+$/.exec(g&&g.keys&&g.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",y=m.toString,b=f.hasOwnProperty,x=f.toString,w=RegExp("^"+y.call(b).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=d.Symbol,_=u.splice,k=P(d,"Map"),C=P(Object,"create"),O=v?v.prototype:void 0,E=O?O.toString:void 0;function I(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function S(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function j(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function z(e,t){for(var n,o,i=e.length;i--;)if((n=e[i][0])===(o=t)||n!=n&&o!=o)return i;return-1}function A(e,t){for(var i,r=0,a=(t=function(e,t){if(R(e))return!1;var i=typeof e;if("number"==i||"symbol"==i||"boolean"==i||null==e||W(e))return!0;return o.test(e)||!n.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:R(i=t)?i:M(i)).length;null!=e&&r<a;)e=e[L(t[r++])];return r&&r==a?e:void 0}function N(e){return!(!B(e)||(t=e,h&&h 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 y.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t}function T(e,t){var n,o,i=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function P(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return N(n)?n:void 0}I.prototype.clear=function(){this.__data__=C?C(null):{}},I.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},I.prototype.get=function(e){var t=this.__data__;if(C){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 C?void 0!==t[e]:b.call(t,e)},I.prototype.set=function(e,t){return this.__data__[e]=C&&void 0===t?"__lodash_hash_undefined__":t,this},S.prototype.clear=function(){this.__data__=[]},S.prototype.delete=function(e){var t=this.__data__,n=z(t,e);return!(n<0)&&(n==t.length-1?t.pop():_.call(t,n,1),!0)},S.prototype.get=function(e){var t=this.__data__,n=z(t,e);return n<0?void 0:t[n][1]},S.prototype.has=function(e){return z(this.__data__,e)>-1},S.prototype.set=function(e,t){var n=this.__data__,o=z(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},j.prototype.clear=function(){this.__data__={hash:new I,map:new(k||S),string:new I}},j.prototype.delete=function(e){return T(this,e).delete(e)},j.prototype.get=function(e){return T(this,e).get(e)},j.prototype.has=function(e){return T(this,e).has(e)},j.prototype.set=function(e,t){return T(this,e).set(e,t),this};var M=D((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return E?E.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return i.test(e)&&n.push(""),e.replace(r,(function(e,t,o,i){n.push(o?i.replace(a,"$1"):t||e)})),n}));function L(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function D(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var a=e.apply(this,o);return n.cache=r.set(i,a),a};return n.cache=new(D.Cache||j),n}D.Cache=j;var R=Array.isArray;function B(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(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 o=null==e?void 0:A(e,t);return void 0===o?n:o}},function(e,t){e.exports=require("@times-components/ts-slices/rnw")},function(e,t){e.exports=require("date-fns-tz/format")},function(e,t){e.exports=require("date-fns/format")},function(e,t,n){(function(e){var n=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var r="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=r||a||Function("return this")(),c=t&&!t.nodeType&&t,s=c&&"object"==typeof e&&e&&!e.nodeType&&e,d=s&&s.exports===c,p=d&&r.process,u=function(){try{var e=s&&s.require&&s.require("util").types;return e||p&&p.binding&&p.binding("util")}catch(e){}}(),m=u&&u.isTypedArray;function f(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var g,h,y,b=Array.prototype,x=Function.prototype,w=Object.prototype,v=l["__core-js_shared__"],_=x.toString,k=w.hasOwnProperty,C=(g=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+g:"",O=w.toString,E=_.call(Object),I=RegExp("^"+_.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=d?l.Buffer:void 0,j=l.Symbol,z=l.Uint8Array,A=S?S.allocUnsafe:void 0,N=(h=Object.getPrototypeOf,y=Object,function(e){return h(y(e))}),T=Object.create,P=w.propertyIsEnumerable,M=b.splice,L=j?j.toStringTag:void 0,D=function(){try{var e=ce(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),R=S?S.isBuffer:void 0,B=Math.max,W=Date.now,H=ce(l,"Map"),F=ce(Object,"create"),q=function(){function e(){}return function(t){if(!we(t))return{};if(T)return T(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function $(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function U(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function V(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function Y(e){var t=this.__data__=new U(e);this.size=t.size}function G(e,t){var n=ge(e),o=!n&&fe(e),i=!n&&!o&&ye(e),r=!n&&!o&&!i&&_e(e),a=n||o||i||r,l=a?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],c=l.length;for(var s in e)!t&&!k.call(e,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||r&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||se(s,c))||l.push(s);return l}function Z(e,t,n){(void 0!==n&&!me(e[t],n)||void 0===n&&!(t in e))&&Q(e,t,n)}function X(e,t,n){var o=e[t];k.call(e,t)&&me(o,n)&&(void 0!==n||t in e)||Q(e,t,n)}function J(e,t){for(var n=e.length;n--;)if(me(e[n][0],t))return n;return-1}function Q(e,t,n){"__proto__"==t&&D?D(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}$.prototype.clear=function(){this.__data__=F?F(null):{},this.size=0},$.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},$.prototype.get=function(e){var t=this.__data__;if(F){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return k.call(t,e)?t[e]:void 0},$.prototype.has=function(e){var t=this.__data__;return F?void 0!==t[e]:k.call(t,e)},$.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=F&&void 0===t?"__lodash_hash_undefined__":t,this},U.prototype.clear=function(){this.__data__=[],this.size=0},U.prototype.delete=function(e){var t=this.__data__,n=J(t,e);return!(n<0)&&(n==t.length-1?t.pop():M.call(t,n,1),--this.size,!0)},U.prototype.get=function(e){var t=this.__data__,n=J(t,e);return n<0?void 0:t[n][1]},U.prototype.has=function(e){return J(this.__data__,e)>-1},U.prototype.set=function(e,t){var n=this.__data__,o=J(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this},V.prototype.clear=function(){this.size=0,this.__data__={hash:new $,map:new(H||U),string:new $}},V.prototype.delete=function(e){var t=le(this,e).delete(e);return this.size-=t?1:0,t},V.prototype.get=function(e){return le(this,e).get(e)},V.prototype.has=function(e){return le(this,e).has(e)},V.prototype.set=function(e,t){var n=le(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this},Y.prototype.clear=function(){this.__data__=new U,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var n=this.__data__;if(n instanceof U){var o=n.__data__;if(!H||o.length<199)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new V(o)}return n.set(e,t),this.size=n.size,this};var K,ee=function(e,t,n){for(var o=-1,i=Object(e),r=n(e),a=r.length;a--;){var l=r[K?a:++o];if(!1===t(i[l],l,i))break}return e};function te(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":L&&L in Object(e)?function(e){var t=k.call(e,L),n=e[L];try{e[L]=void 0;var o=!0}catch(e){}var i=O.call(e);o&&(t?e[L]=n:delete e[L]);return i}(e):function(e){return O.call(e)}(e)}function ne(e){return ve(e)&&"[object Arguments]"==te(e)}function oe(e){return!(!we(e)||function(e){return!!C&&C in e}(e))&&(be(e)?I:n).test(function(e){if(null!=e){try{return _.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function ie(e){if(!we(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=de(e),n=[];for(var o in e)("constructor"!=o||!t&&k.call(e,o))&&n.push(o);return n}function re(e,t,n,o,i){e!==t&&ee(t,(function(r,a){if(i||(i=new Y),we(r))!function(e,t,n,o,i,r,a){var l=pe(e,n),c=pe(t,n),s=a.get(c);if(s)return void Z(e,n,s);var d=r?r(l,c,n+"",e,t,a):void 0,p=void 0===d;if(p){var u=ge(c),m=!u&&ye(c),f=!u&&!m&&_e(c);d=c,u||m||f?ge(l)?d=l:ve(x=l)&&he(x)?d=function(e,t){var n=-1,o=e.length;t||(t=Array(o));for(;++n<o;)t[n]=e[n];return t}(l):m?(p=!1,d=function(e,t){if(t)return e.slice();var n=e.length,o=A?A(n):new e.constructor(n);return e.copy(o),o}(c,!0)):f?(p=!1,g=c,h=!0?(y=g.buffer,b=new y.constructor(y.byteLength),new z(b).set(new z(y)),b):g.buffer,d=new g.constructor(h,g.byteOffset,g.length)):d=[]:function(e){if(!ve(e)||"[object Object]"!=te(e))return!1;var t=N(e);if(null===t)return!0;var n=k.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==E}(c)||fe(c)?(d=l,fe(l)?d=function(e){return function(e,t,n,o){var i=!n;n||(n={});var r=-1,a=t.length;for(;++r<a;){var l=t[r],c=o?o(n[l],e[l],l,n,e):void 0;void 0===c&&(c=e[l]),i?Q(n,l,c):X(n,l,c)}return n}(e,ke(e))}(l):we(l)&&!be(l)||(d=function(e){return"function"!=typeof e.constructor||de(e)?{}:q(N(e))}(c))):p=!1}var g,h,y,b;var x;p&&(a.set(c,d),i(d,c,o,r,a),a.delete(c));Z(e,n,d)}(e,t,a,n,re,o,i);else{var l=o?o(pe(e,a),r,a+"",e,t,i):void 0;void 0===l&&(l=r),Z(e,a,l)}}),ke)}function ae(e,t){return ue(function(e,t,n){return t=B(void 0===t?e.length-1:t,0),function(){for(var o=arguments,i=-1,r=B(o.length-t,0),a=Array(r);++i<r;)a[i]=o[t+i];i=-1;for(var l=Array(t+1);++i<t;)l[i]=o[i];return l[t]=n(a),f(e,this,l)}}(e,t,Ee),e+"")}function le(e,t){var n,o,i=e.__data__;return("string"==(o=typeof(n=t))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof t?"string":"hash"]:i.map}function ce(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return oe(n)?n:void 0}function se(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&o.test(e))&&e>-1&&e%1==0&&e<t}function de(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||w)}function pe(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var ue=function(e){var t=0,n=0;return function(){var o=W(),i=16-(o-n);if(n=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(D?function(e,t){return D(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n}:Ee);function me(e,t){return e===t||e!=e&&t!=t}var fe=ne(function(){return arguments}())?ne:function(e){return ve(e)&&k.call(e,"callee")&&!P.call(e,"callee")},ge=Array.isArray;function he(e){return null!=e&&xe(e.length)&&!be(e)}var ye=R||function(){return!1};function be(e){if(!we(e))return!1;var t=te(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function xe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function we(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ve(e){return null!=e&&"object"==typeof e}var _e=m?function(e){return function(t){return e(t)}}(m):function(e){return ve(e)&&xe(e.length)&&!!i[te(e)]};function ke(e){return he(e)?G(e,!0):ie(e)}var Ce,Oe=(Ce=function(e,t,n){re(e,t,n)},ae((function(e,t){var n=-1,o=t.length,i=o>1?t[o-1]:void 0,r=o>2?t[2]:void 0;for(i=Ce.length>3&&"function"==typeof i?(o--,i):void 0,r&&function(e,t,n){if(!we(n))return!1;var o=typeof t;return!!("number"==o?he(n)&&se(t,n.length):"string"==o&&t in n)&&me(n[t],e)}(t[0],t[1],r)&&(i=o<3?void 0:i,o=1),e=Object(e);++n<o;){var a=t[n];a&&Ce(e,a,n,i)}return e})));function Ee(e){return e}e.exports=Oe}).call(this,n(20)(e))},function(e,t){e.exports=require("xss")},function(e,t){e.exports=require("@times-components/provider/rnw")},function(e,t){e.exports=require("@times-components/link/rnw")},function(e,t){e.exports=require("date-fns/differenceInCalendarDays")},function(e,t){e.exports=require("date-fns-tz/utcToZonedTime")},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";n.r(t);var o=n(0),i=n.n(o),r=n(2),a=n.n(r),l=n(1),c=n(5);const s=a.a.div.withConfig({displayName:"styles__LiveArticleFlagContainer",componentId:"sc-1ipxqw1-0"})(["background-color:#9f0000;height:24px;padding:7px 7px 7px 9px;display:flex;flex-direction:row;width:fit-content;"]),d=a.a.span.withConfig({displayName:"styles__LiveArticleFlagText",componentId:"sc-1ipxqw1-1"})(["font-family:",";color:#ffffff;font-weight:500;font-size:12px;letter-spacing:0.05em;display:flex;align-items:center;"],l.fonts.supporting),p=Object(r.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),u=a.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),m=a.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],p),f=a.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),g=a.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),h=a.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],e=>{let t=e.color;return Object(c.gqlRgbaToStyle)(t)||t}),y=a.a.div.withConfig({displayName:"styles__ArticleFlagTextContainer",componentId:"sc-1ipxqw1-7"})(["font-family:TimesDigitalW04-RegularSC;font-size:12px;font-weight:400;letter-spacing:0.6px;line-height:12px;margin-left:5px;color:",";"],e=>{let t=e.color;return Object(c.gqlRgbaToStyle)(t)||t}),b=a.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],e=>e.allFlags.length>1?"15px":0),x=a.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),w=a.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var v=n(6),_=n.n(v),k=n(7),C=n.n(k),O=n(13),E=n.n(O);const I=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding-left:8px;"]),S=a.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:14px;line-height:16px;"],e=>e.color||l.colours.functional.primary,l.fonts.supporting),j=e=>{let t=e.updatedTime,n=e.color;if(!t)return null;const o=new Date,r=new Date(t),a=C()(r,o,{roundingMethod:"floor"})+" ago",l=_()(o,r),c=l<60,s=l<46800;return i.a.createElement(I,null,!c&&s?i.a.createElement(S,{color:n,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(a)):s?null:i.a.createElement(S,{color:n,"data-testId":"DateTimeUpdated"},"Updated ",E()(r,"MMMM d, "),E()(r,"h.mmaaa")))},z=Object(o.createContext)(void 0),A=e=>{let t=e.updatedTime,n=e.children;return i.a.createElement(z.Provider,{value:t},n)},N=e=>{let t=e.title,n=e.timeStampTextColor;const r=Object(o.useContext)(z);return i.a.createElement(g,null,i.a.createElement(s,null,i.a.createElement(u,null,i.a.createElement(m,null)),i.a.createElement(d,null,t)),i.a.createElement(j,{updatedTime:r,color:n}))},T=e=>{let t=e.color;return i.a.createElement(N,{timeStampTextColor:t,title:"LIVE"})},P=e=>{let t=e.color;return i.a.createElement(N,{timeStampTextColor:t,title:"BREAKING"})};var M=n(14),L=n.n(M);function D(e,t,n){return Object(o.useEffect)(()=>{let o;return null!==e&&(o="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(e=>{e[0].isIntersecting&&(o&&o.disconnect(),t&&t())},n)||void 0,o&&o.observe(e)),()=>{o&&o.disconnect()}},[e])}function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function B(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(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 H(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 H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const F=i.a.createContext({context:{}}),q=()=>Object(o.useContext)(F),$=e=>{let t=e.children,n=e.analyticsStream,r=e.context,a=e.scrolledEvent;const l=Object(o.useContext)(F),c=void 0!==n?n:l.analyticsStream,s=L()({},l.context,r),d=e=>{const t=L()({},s,e,{attrs:{eventTime:(new Date).toISOString()}});c?c(t):console.error("no analytics stream to send to",t)},p=W(Object(o.useState)(null),2),u=p[0],m=p[1];return a&&D(u,()=>d&&d(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({action:"Scrolled"},a)),{threshold:.5}),i.a.createElement(F.Provider,{value:{fireAnalyticsEvent:d,context:s,analyticsStream:c}},"function"==typeof t?t({fireAnalyticsEvent:d,intersectObserverRef:m}):t)};var U=n(3),V=n(8),Y=n.n(V);function G(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function Z(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(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 X(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 X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const J=Object(o.createContext)(void 0),Q=e=>{let t=e.url,n=e.options,r=e.previewData,a=e.children;const l=Z(Object(o.useState)(!1),2),c=l[0],s=l[1],d=Z(Object(o.useState)(),2),p=d[0],u=d[1],m=Z(Object(o.useState)(),2),f=m[0],g=m[1];return Object(o.useEffect)(()=>{if(!c){s(!0);(function(){var e,o=(e=function*(){try{if(r)return yield new Promise(e=>setTimeout(e,1500)),g(r),void s(!1);if(!t)throw new Error("must provide a Fetch url");{const e=yield Y()(t,n),o=yield e.json();g(o),s(!1)}}catch(e){u(e instanceof Error?e.message:"unknown error"),s(!1)}},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){G(r,o,i,a,l,"next",e)}function l(e){G(r,o,i,a,l,"throw",e)}a(void 0)}))});return function(){return o.apply(this,arguments)}})()()}},[t,n,r]),i.a.createElement(J.Provider,{value:{loading:c,error:p,data:f}},a)},K=()=>{const e=Object(o.useContext)(J);if(void 0===e)throw new Error("must be used within a FetchProvider");return e};var ee=n(15),te=n.n(ee);const ne=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=e=>{let t=document.createElement("textarea");return t.innerHTML=e,t.value};let o={whiteList:t,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},i=n(e);return te()(i,o)},oe={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},ie=a.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],e=>{let t=e.ratio;return t&&oe[t]&&Object(r.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],oe[t])}),re=e=>{let t=e.ratio,n=e.children;return i.a.createElement(ie,{ratio:t},n)};var ae=n(4);const le=a.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],l.colours.functional.secondary,l.colours.functional.secondary),ce=a.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:15px;"],l.fonts.supporting),se=e=>{let t=e.link,n=e.linkText,o=e.onClick;return i.a.createElement(le,{href:t,onClick:()=>o&&o(n)},i.a.createElement(ce,null,n),i.a.createElement(ae.IconForwardChevron,{height:18,width:8}))},de=a.a.div.withConfig({displayName:"common-styles__PlaceholderContainer",componentId:"sc-14ch98m-0"})(["position:relative;height:200px;margin:0 auto 20px auto;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}"],l.breakpoints.medium,l.breakpoints.wide),pe=a.a.div.withConfig({displayName:"common-styles__Label",componentId:"sc-14ch98m-1"})(["font-family:",";font-size:12px;line-height:16px;text-transform:uppercase;color:",";padding-bottom:5px;letter-spacing:0.5px;"],l.fonts.supporting,e=>{let t=e.sectionColour;return"".concat(t)}),ue=a.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),me=a.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),fe=a.a.ul.withConfig({displayName:"common-styles__List",componentId:"sc-14ch98m-4"})(["display:flex;flex-wrap:wrap;margin:0 -2px -1px -15px;list-style:none;padding:0;@media (min-width:","px){}"],l.breakpoints.medium),ge=a.a.div.withConfig({displayName:"common-styles__ListContainer",componentId:"sc-14ch98m-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";"],e=>{let t=e.showAll,n=e.maxHeight,o=e.displayShowAll;return!t&&o?n+"px":"none"}),he=a.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],l.colours.functional.keyline,e=>e.displayShowAll?"flex":"none"),ye=a.a.div.withConfig({displayName:"common-styles__Headline",componentId:"sc-14ch98m-7"})(["font-family:",";font-size:24px;line-height:24px;color:",";margin:0 0 6px;@media (min-width:","px){font-size:32px;line-height:32px;}"],l.fonts.headline,l.colours.functional.brandColour,l.breakpoints.medium),be=a.a.button.withConfig({displayName:"common-styles__ShowAllButton",componentId:"sc-14ch98m-8"})(["font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;cursor:pointer;&:active{border:1px solid ",";color:",";}"],l.fonts.supporting,l.colours.functional.primary,l.colours.functional.action,l.colours.functional.action),xe=a.a.div.withConfig({displayName:"styles__Container",componentId:"e5otdw-0"})(["display:flex;flex-direction:column;margin:0 auto 20px auto;padding:20px;background-color:#f9f9f9;border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),we=a.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"e5otdw-1"})(["padding-bottom:12px;img{display:block;width:100%;}@media (min-width:","px){width:50%;padding-right:20px;padding-bottom:0;}"],l.breakpoints.medium),ve=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],l.breakpoints.medium,e=>e.hasImage?"50%":"100%"),_e=a.a.div.withConfig({displayName:"styles__Label",componentId:"e5otdw-3"})(["padding-bottom:",";color:",";font-family:",";font-size:12px;text-transform:uppercase;letter-spacing:0.5px;"],e=>e.hasImage?"8px":"12px",e=>e.sectionColour,l.fonts.supporting),ke=a.a.h4.withConfig({displayName:"styles__Headline",componentId:"e5otdw-4"})(["margin:0;padding-bottom:8px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;:hover{color:#069;}@media (min-width:","px){font-size:",";line-height:",";}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.wide,e=>e.hasImage?"24px":"28px",e=>e.hasImage?"24px":"28px"),Ce=a.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),Oe={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Ee=e=>{let t=e.sectionColour,n=e.forceImageAspectRatio;const o=e.isLiveOrBreaking||"no flag",r=(e,t)=>{e&&e(((e,t)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click",article_flag:t}}))(t,o))},a=K(),l=a.loading,c=a.error,s=a.data;if(l)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(c||void 0===s||0===s.body.data.length)return null;const d=s.body.data[0].data,p=d.image,u=d.label,m=d.headline,f=d.copy,g=d.link,h=d.linkText,y=Boolean(p);return i.a.createElement($,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(m),article_flag:o}},scrolledEvent:Oe},e=>{let o=e.fireAnalyticsEvent,a=e.intersectObserverRef;return i.a.createElement(xe,{ref:a,sectionColour:t},p?i.a.createElement(we,null,i.a.createElement("a",{href:g,onClick:()=>r(o,"image")},i.a.createElement(re,{ratio:n},i.a.createElement("img",{src:p})))):null,i.a.createElement(ve,{hasImage:y},i.a.createElement("div",null,i.a.createElement(_e,{hasImage:y,sectionColour:t},u),i.a.createElement("a",{href:g,onClick:()=>r(o,"headline")},i.a.createElement(ke,{hasImage:y},m)),f&&i.a.createElement(Ce,{dangerouslySetInnerHTML:{__html:ne(f,{b:{},i:{}})}})),i.a.createElement(se,{link:g,linkText:h||"Read more",onClick:()=>r(o,h||"Read more")})))})};var Ie=n(9),Se=n.n(Ie);const je=a.a.div.withConfig({displayName:"styles__Headline",componentId:"w8icgs-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;padding-bottom:0;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.breakpoints.wide),ze=a.a.div.withConfig({displayName:"styles__SubHeading",componentId:"w8icgs-1"})(["font-size:22px;line-height:22px;color:",";font-family:",";padding-bottom:7px;@media (min-width:","px){font-size:24px;line-height:24px;}"],l.colours.functional.brandColour,l.fonts.headlineRegular,l.breakpoints.medium),Ae=a.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],l.colours.functional.secondary,l.fonts.body),Ne=a.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"w8icgs-3"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],l.breakpoints.medium),Te=a.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),Pe=a.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"w8icgs-5"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}@media (hover:hover){&:hover{border:solid 1px ",";}}@media (hover:none){&:active{border:solid 1px ",";}}"],e=>e.disabled?l.colours.functional.keyline:l.colours.functional.primary,e=>e.disabled?"none":"auto",e=>e.disabled?l.colours.functional.keyline:l.colours.functional.primary,e=>e.disabled?l.colours.functional.keyline:l.colours.functional.action,e=>e.disabled?l.colours.functional.keyline:l.colours.functional.action),Me=a.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),Le=a.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"w8icgs-7"})(["background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],e=>e.active?l.colours.functional.action:l.colours.functional.keyline),De=a()(Se.a).withConfig({displayName:"styles__StyledCarousel",componentId:"w8icgs-8"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}"]),Re=a.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"w8icgs-9"})(["background-color:",";padding-bottom:16px;margin:0 auto 20px auto;border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}& div.rec-carousel-item.rec-carousel-item-visible{border-right:1px solid ",";}& div.rec-carousel-item:last-child{border-right:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"auto")||"auto"},l.breakpoints.medium,e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"80.8%")||"80.8%"},l.breakpoints.wide,e=>{let t=e.isWide,n=e.isStandard;return(t?"100%":n&&"56.2%")||"56.2%"},l.colours.functional.keyline),Be=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"w8icgs-10"})(["display:flex;flex-direction:column;background-color:",";width:100%;height:30%;padding:20px 16px 14px 16px;"],l.colours.functional.backgroundPrimary),We=a.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),He=a.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),Fe=a.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),qe=e=>{let t=e.sectionColour,n=e.label,o=e.headline,r=e.children;return i.a.createElement(Be,null,i.a.createElement(We,null,i.a.createElement(pe,{sectionColour:t},n),i.a.createElement(Ne,null,i.a.createElement(je,null,o),r)))},$e=e=>{let t=e.size,n=void 0===t?{width:"16",height:"16"}:t;return i.a.createElement("svg",{width:n.width,height:n.height,xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function Ue(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ve(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 Ve(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 Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Ye;!function(e){e.Standard="4043",e.Wide="4042"}(Ye||(Ye={}));let Ge=new Array;const Ze=l.breakpoints.small,Xe=l.breakpoints.medium,Je=l.breakpoints.wide,Qe=e=>{let t=e.activePage,n=e.onClick,o=e.current,r=e.data,a=e.showDisplayItem,l=e.windowWidth,c=e.showDotItem;return i.a.createElement(Te,null,i.a.createElement(Pe,{"data-testid":"Previous button",disabled:0===t,onClick:()=>n(o/a-1,"left")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})),i.a.createElement(Me,null,r.map((e,o)=>{if(function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e),o<c){const e=t===o;return i.a.createElement(Le,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:e})}})),i.a.createElement(Pe,{"data-testid":"Next Button",disabled:t===Math.trunc(r.length/a-(Xe>l?1:0)),className:"nextBtn",onClick:()=>n(o/a+1,"right")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})))},Ke=e=>{let t=e.sectionColour,n=e.initialIndex,r=void 0===n?0:n;const a=K(),l=a.loading,c=a.error,s=a.data;if(c)return null;if(l||void 0===s)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));const d=s.fields,p=d.headline,u=d.label,m=d.size,f=s.body.data,g=e=>e===Ye.Standard,h=e=>e===Ye.Wide,y=Ue(Object(o.useState)("undefined"!=typeof window?window.innerWidth:0),2),b=y[0],x=y[1],w=Ue(Object(o.useState)(1),2),v=w[0],_=w[1],k=b.toString(),C=()=>x(window.innerWidth);Object(o.useEffect)(()=>(window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}),[]),Object(o.useEffect)(()=>{E()});const O=[{width:Ze,itemsToShow:1,itemsToScroll:1}];h(m)&&(Ge=[...O,{width:Xe,itemsToShow:2,itemsToScroll:2},{width:Je,itemsToShow:3,itemsToScroll:3}]),g(m)&&(Ge=[...O,{width:Ze+55,itemsToShow:2,itemsToScroll:2}]);const E=()=>{k<Xe?_(Ge[0].itemsToScroll):k>=Je&&h(m)?_(Ge[2].itemsToScroll):_(Ge[1].itemsToScroll)},I=f.length/v,S=f.length>(k>=Je&&h(m)?3:k<Xe?1:2),j=Ue(Object(o.useState)(r),2),z=j[0],A=j[1],N=e=>{A(e.index)};return i.a.createElement($,{context:{object:"InfoCard",attrs:{component_type:"in-article component : text-image info cards : interactive",event_navigation_action:"navigation",event_navigation_browsing_method:"click",component_name:"".concat(p)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(I>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},e=>{let n=e.intersectObserverRef,o=e.fireAnalyticsEvent;return i.a.createElement(Re,{sectionColour:t,isWide:h(m),isStandard:g(m),ref:n},i.a.createElement(De,{sectionColour:t,breakPoints:Ge,isRTL:!1,onChange:N,showArrows:!1,enableSwipe:S,renderPagination:e=>{let n=e.activePage,r=e.onClick;return i.a.createElement(qe,{data:f[z],headline:p,label:u,sectionColour:t},S&&i.a.createElement(Qe,{activePage:n,onClick:(e,t)=>{t&&o({attrs:{event_navigation_name:"button : ".concat(t),component_name:p}}),r&&r(e)},current:z,data:f,showDisplayItem:v,windowWidth:b.toString(),showDotItem:I}))}},f.map((e,t)=>i.a.createElement(He,{key:t},e.data.image&&i.a.createElement(re,{ratio:"16:9"},i.a.createElement(Fe,{src:e.data.image})),e.data.subtitle&&i.a.createElement(ze,null,e.data.subtitle),e.data.copy&&i.a.createElement(Ae,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,{br:{},b:{},i:{}})}})))))})};const et=a.a.div.withConfig({displayName:"styles__Headline",componentId:"d49zf9-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;font-size:",";line-height:",";padding-bottom:",";}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"32px":"24px",e=>e.isWide?"32px":"24px",e=>e.isWide?"0px":"14px"),tt=a.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"d49zf9-1"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],l.breakpoints.medium),nt=a.a.div.withConfig({displayName:"styles__Copy",componentId:"d49zf9-2"})(["color:#555555;font-family:",";font-size:14px;line-height:20px;padding-bottom:16px;@media (min-width:","px){width:",";font-size:16px;line-height:24px;}"],l.fonts.body,l.breakpoints.wide,e=>e.isWide?"60%":"100%"),ot=a.a.div.withConfig({displayName:"styles__ImageTitle",componentId:"d49zf9-3"})(["font-size:16px;line-height:16px;font-family:",";padding-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}@media (min-width:","px){font-size:",";line-height:",";}"],l.fonts.headlineRegular,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"24px":"18px",e=>e.isWide?"24px":"18px"),it=a.a.div.withConfig({displayName:"styles__Credit",componentId:"d49zf9-4"})(["text-transform:uppercase;font-size:12px;line-height:16px;font-family:",";color:",";padding-bottom:10px;padding-top:8px;@media (min-width:","px){padding-top:12px;}@media (min-width:","px){padding-top:12px;padding-bottom:",";}"],l.fonts.supporting,l.colours.functional.secondary,l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"8px":"14px"),rt=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"d49zf9-5"})(["display:flex;flex-direction:column;background-color:#f9f9f9;width:100%;height:30%;padding:20px 16px 16px 16px;@media (min-width:","px){padding:20px 20px 12px 20px;}@media (min-width:","px){height:",";width:",";padding:",";}"],l.breakpoints.medium,l.breakpoints.wide,e=>e.isWide?"30%":"auto",e=>{let t=e.isWide,n=e.isSmall;return(t?"100%":n&&"36%")||"33%"},e=>e.isWide?"20px 16px 16px 16px":"20px 16px"),at=a.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),lt=a.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"d49zf9-7"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding-left:6px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}&:hover{border:solid 1px #0a68c1;}"],e=>e.disabled?"#e4e4e4":"#000000",e=>e.disabled?"none":"auto",e=>e.disabled?"#CCCCCC":"black"),ct=a.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),st=a.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"d49zf9-9"})(["background-color:#cccccc;background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],e=>e.active?"#1573A2":"#CCCCCC"),dt=a.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),pt=a.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],l.breakpoints.wide,e=>e.isWide?"block":"none"),ut=a.a.div.withConfig({displayName:"styles__NotMobileOrLarge",componentId:"d49zf9-12"})(["display:none;@media (min-width:","px){display:",";justify-content:space-between;height:100%;flex-direction:column;}"],l.breakpoints.wide,e=>e.isWide?"none":"flex"),mt=a.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",l.breakpoints.wide,e=>e.isSmall?"82.1%":"100%"),ft=a()(Se.a).withConfig({displayName:"styles__StyledCarousel",componentId:"d49zf9-14"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}@media (min-width:","px){flex-direction:",";}"],l.breakpoints.medium,e=>e.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),gt=e=>{let t=e.children,n=e.isWide,o=e.data,r=e.headline,a=e.label,l=e.isSmall,c=e.sectionColour;const s=o.data;return i.a.createElement(rt,{isWide:n,isSmall:l},i.a.createElement(dt,null,i.a.createElement(pe,{sectionColour:c},a),i.a.createElement(tt,null,i.a.createElement(et,{isWide:n},r),i.a.createElement(pt,{isWide:n},t)),i.a.createElement(ut,{isWide:n},i.a.createElement("div",null,s.imageTitle&&i.a.createElement(ot,{isWide:n},s.imageTitle),s.copy&&i.a.createElement(nt,{isWide:n,dangerouslySetInnerHTML:{__html:ne(s.copy,{br:{},b:{},i:{}})}})),i.a.createElement("div",null,i.a.createElement(it,{isWide:n},s.credit),t))))};function ht(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||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,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 yt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const bt=e=>{let t=e.activePage,n=e.onClick,o=e.current,r=e.data;return i.a.createElement(at,null,i.a.createElement(lt,{"data-testid":"Previous button",disabled:0===t,onClick:()=>n(o-1,"left")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})),i.a.createElement(ct,null,r.map((e,o)=>{!function(e){if(null==e)throw new TypeError("Cannot destructure undefined")}(e);const r=t===o;return i.a.createElement(st,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:r})})),i.a.createElement(lt,{"data-testid":"Next Button",disabled:t===r.length-1,className:"nextBtn",onClick:()=>n(o+1,"right")},i.a.createElement($e,{size:{width:"10px",height:"14px"}})))};var xt;!function(e){e.Small="4033",e.Wide="4035"}(xt||(xt={}));const wt=e=>{let t=e.sectionColour,n=e.initialIndex,r=void 0===n?0:n;const a=K(),l=a.loading,c=a.error,s=a.data;if(l)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(c||void 0===s||0===s.body.data.length)return null;const d=s.fields,p=d.headline,u=d.label,m=d.size,f=s.body.data,g=e=>e===xt.Small,h=e=>e===xt.Wide,y=ht(Object(o.useState)(r),2),b=y[0],x=y[1],w=e=>{x(e.index)};return i.a.createElement($,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(p)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},e=>{let n=e.intersectObserverRef,o=e.fireAnalyticsEvent;return i.a.createElement(mt,{sectionColour:t,isWide:h(m),isSmall:g(m),ref:n},i.a.createElement(ft,{sectionColour:t,isWide:h(m),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:w,showArrows:!1,renderPagination:e=>{let n=e.activePage,r=e.onClick;return i.a.createElement(gt,{isWide:h(m),data:f[b],headline:p,label:u,isSmall:g(m),sectionColour:t},f.length>1&&i.a.createElement(bt,{activePage:n,onClick:(e,t)=>{t&&o({attrs:{event_navigation_name:"button : ".concat(t),component_name:p,event_navigation_browsing_method:"click"}}),r&&r(e)},current:b,data:f}))}},f.map(e=>i.a.createElement("div",{style:{width:"100%"}},i.a.createElement(re,{ratio:"3:2"},i.a.createElement("img",{src:e.data.image}))))),i.a.createElement(pt,{isWide:h(m)},i.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},i.a.createElement(it,{isWide:h(m)},f[b].data.credit),f[b].data.imageTitle&&i.a.createElement(ot,{isWide:h(m)},f[b].data.imageTitle),f[b].data.copy&&i.a.createElement(nt,{isWide:h(m),dangerouslySetInnerHTML:{__html:ne(f[b].data.copy,{br:{},b:{},i:{}})}}))))})},vt=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwze61-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),_t=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),kt=a.a.div.withConfig({displayName:"styles__Headline",componentId:"sc-1qwze61-2"})(["font-family:",";font-size:24px;line-height:24px;color:",";@media (min-width:","px){font-size:32px;line-height:32px;}"],l.fonts.headline,l.colours.functional.brandColour,l.breakpoints.medium),Ct=a.a.div.withConfig({displayName:"styles__ReadMoreContainer",componentId:"sc-1qwze61-3"})(["display:flex;border-top:1px solid ",";margin-top:",";padding:5px;justify-content:center;display:",";@media (min-width:","px){display:none;}"],l.colours.functional.keyline,e=>e.readMore?"0":"15px",e=>e.showReadMore?"flex":"none",l.breakpoints.medium),Ot=a.a.button.withConfig({displayName:"styles__ReadMoreButton",componentId:"sc-1qwze61-4"})(["font-size:12px;font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;margin:15px 0;padding:10px 12px 5px;cursor:pointer;&:active{border:1px solid ",";color:",";}"],l.fonts.supporting,l.colours.functional.primary,l.colours.functional.action,l.colours.functional.action),Et=a.a.div.withConfig({displayName:"styles__ListContainer",componentId:"sc-1qwze61-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";@media (min-width:","px){max-height:none;}"],e=>{let t=e.readMore,n=e.maxHeight,o=e.showReadMore;return!t&&o?n+"px":"none"},l.breakpoints.medium),It=a.a.ul.withConfig({displayName:"styles__List",componentId:"sc-1qwze61-6"})(["column-count:1;column-gap:25px;column-rule:1px solid ",";margin-left:0;padding:0;@media (min-width:","px){column-count:2;margin-bottom:20px;}"],l.colours.functional.keyline,l.breakpoints.medium),St=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwze61-7"})(["color:",";font-family:",";font-size:16px;line-height:24px;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid;margin:0 5px 13px 0;padding-left:15px;list-style:none;position:relative;&:last-child{margin-bottom:0;}&::before{content:'';position:absolute;left:3px;top:7px;width:6px;height:6px;background-color:",";border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;}"],l.colours.functional.secondary,l.fonts.body,l.colours.functional.primary);function jt(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return zt(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 zt(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 zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const At={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},Nt=l.breakpoints.medium,Tt=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=l.body.data,u=jt(Object(o.useState)(!1),2),m=u[0],f=u[1],g=Object(o.useRef)(null),h=jt(Object(o.useState)(!1),2),y=h[0],b=h[1],x=window.innerWidth.toString();return Object(o.useEffect)(()=>{const e=g.current;e&&b(e.clientHeight>350)},[]),i.a.createElement($,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(y&&x<Nt?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:At},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(vt,{ref:o,sectionColour:t},i.a.createElement(_t,null,i.a.createElement(pe,{sectionColour:t},d),i.a.createElement(kt,null,s),i.a.createElement(Et,{ref:g,readMore:m,maxHeight:350,showReadMore:y},i.a.createElement(It,null,p.map((e,t)=>i.a.createElement(St,{key:t,dangerouslySetInnerHTML:{__html:ne(e.data.copy,{b:{},i:{}})}}))))),i.a.createElement(Ct,{readMore:m,showReadMore:y},i.a.createElement(Ot,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),f(!m)})(n,m?"Collapse":"Read more")},m?"Collapse":"Read more")))})},Pt=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1tqomyo-0"})(["margin:0 auto 20px auto;padding:23px 0 0;background-color:",";border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},e=>e.isWide?"100%":"auto",l.breakpoints.medium,e=>e.isWide?"100%":"80.8%",l.breakpoints.wide,e=>e.isWide?"100%":"56.2%"),Mt=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),Lt=a()(be).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:8px 12px 7px;"]),Dt=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1tqomyo-3"})(["flex:1 0 50%;padding:12px 16px 13px 0;border-width:0 1px 1px 0;border-style:solid;border-color:",";padding-left:16px;&:empty{height:0;border:none;}&:before,:after{box-sizing:border-box;}@media (min-width:","px){flex:1 0 ",";}"],l.colours.functional.keyline,l.breakpoints.medium,e=>e.isStandard?"50%":"33%"),Rt=a.a.div.withConfig({displayName:"styles__NumberContainer",componentId:"sc-1tqomyo-4"})(["font-family:",";font-size:32px;line-height:32px;margin-bottom:4px;color:",";@media (min-width:","px){font-size:50px;line-height:40px;}"],l.fonts.headline,e=>{let t=e.sectionColour;return"".concat(t)},l.breakpoints.medium);var Bt;!function(e){e.Standard="4043",e.Wide="4042"}(Bt||(Bt={}));const Wt=e=>e===Bt.Wide;function Ht(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ft(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 Ft(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 Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const qt={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},$t=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=c.size,u=l.body.data,m=Ht(Object(o.useState)(!1),2),f=m[0],g=m[1],h=Object(o.useRef)(null),y=Ht(Object(o.useState)(!1),2),b=y[0],x=y[1],w=Wt(p)?250:350;return Object(o.useEffect)(()=>{const e=h.current;e&&x(e.clientHeight>w)},[]),i.a.createElement($,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(b?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:qt},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(Pt,{ref:o,sectionColour:t,isWide:Wt(p)},i.a.createElement(Mt,null,i.a.createElement(pe,{sectionColour:t},d),s&&i.a.createElement(ye,null,s),i.a.createElement(ge,{ref:h,showAll:f,maxHeight:w,displayShowAll:b},i.a.createElement(fe,null,u.map((e,n)=>{return i.a.createElement(Dt,{key:n,isStandard:(o=p,o===Bt.Standard)},i.a.createElement(Rt,{sectionColour:t},e.data.number),i.a.createElement(me,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,{br:{},b:{},i:{}})}}));var o})))),i.a.createElement(he,{showAll:f,displayShowAll:b},i.a.createElement(Lt,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),g(!f)})(n,f?"Collapse":"Show all")},f?"Collapse":"Show all")))})};var Ut=e=>e?e.filter(e=>null===e.expiryTime||(new Date).getTime()<new Date(e.expiryTime).getTime()):[];const Vt=e=>{let t=e.color,n=void 0===t?l.colours.functional.primary:t,o=e.title;return i.a.createElement(f,null,i.a.createElement(h,{color:n}),i.a.createElement(y,{"aria-label":"".concat(o," Flag"),color:n,"data-testid":"flag-".concat(o)},o.toLowerCase()))},Yt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagNew:t;return i.a.createElement(Vt,{color:n,title:"new"})},Gt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagUpdated:t;return i.a.createElement(Vt,{color:n,title:"updated"})},Zt=e=>{let t=e.color,n=void 0===t?l.colours.functional.articleFlagExclusive:t;return i.a.createElement(Vt,{color:n,title:"exclusive"})},Xt=e=>{let t=e.color,n=void 0===t?l.colours.functional.tertiary:t;return i.a.createElement(Vt,{color:n,title:"sponsored"})},Jt=e=>{let t=e.color,n=void 0===t?l.colours.functional.secondary:t;return i.a.createElement(Vt,{color:n,title:"long read"})},Qt=e=>{let t=e.allFlags,n=e.overrideColor,o=void 0===n?"":n;return i.a.createElement(x,null,t.map(e=>i.a.createElement(b,{key:e.type,allFlags:t},function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==t&&(e={color:t}),new Map([["NEW",i.a.createElement(Yt,Object.assign({},e))],["LIVE",i.a.createElement(T,Object.assign({},e))],["BREAKING",i.a.createElement(P,Object.assign({},e))],["UPDATED",i.a.createElement(Gt,Object.assign({},e))],["EXCLUSIVE",i.a.createElement(Zt,Object.assign({},e))],["SPONSORED",i.a.createElement(Xt,Object.assign({},e))],["LONGREAD",i.a.createElement(Jt,Object.assign({},e))]])}(o).get(e.type))))},Kt=e=>{let t=e.flags,n=void 0===t?[]:t,o=e.longRead,r=void 0!==o&&o,a=e.withContainer,l=void 0!==a&&a,c=e.color,s=void 0===c?"":c;const d=[...Ut(n),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return d.length?l?i.a.createElement(w,null,i.a.createElement(Qt,{allFlags:d,overrideColor:s})):i.a.createElement(Qt,{allFlags:d,overrideColor:s}):null};const en=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwfd1c-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";width:100%;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}a{text-decoration:none;}"],l.colours.functional.backgroundPrimary,e=>{let t=e.sectionColour;return"2px solid ".concat(t)},l.breakpoints.medium,l.breakpoints.wide),tn=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),nn=a()(be).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:13px;margin:11px 0;padding:12px 15px 10px;"]),on=a.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),rn=a.a.div.withConfig({displayName:"styles__LeftPanel",componentId:"sc-1qwfd1c-4"})(["display:table;float:left;width:",";text-align:center;padding-right:",";height:100%;& img{border-radius:100%;height:50px;width:50px;position:relative;margin-left:16px;z-index:2;}&:before{content:'';background:",";position:relative;top:0px;left:15px;width:8px;height:8px;border-radius:100%;z-index:1;display:",";}&:after{content:'';border-right:1px solid #ccc;height:100%;display:block;position:absolute;top:",";left:",";z-index:1;}@media (min-width:","px){width:",";padding-right:",";& img{height:76px;width:76px;}&:after{top:",";left:",";}}"],e=>e.circularImage?"80px":"40px",e=>e.circularImage?"16px":"24px",e=>{let t=e.sectionColour;return"".concat(t)},e=>e.circularImage?"none":"block",e=>e.circularImage?"60px":"20px",e=>e.circularImage?"42px":"19px",l.breakpoints.medium,e=>e.circularImage?"100px":"39px",e=>e.circularImage?"16px":"24px",e=>e.circularImage?"74px":"20px",e=>e.circularImage?"52px":"19px"),an=a.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),ln=a.a.div.withConfig({displayName:"styles__Date",componentId:"sc-1qwfd1c-6"})(["font-family:",";text-transform:uppercase;font-size:12px;line-height:16px;margin-bottom:8px;color:",";"],l.fonts.supporting,e=>{let t=e.sectionColour;return"".concat(t)}),cn=a.a.div.withConfig({displayName:"styles__SubHeading",componentId:"sc-1qwfd1c-7"})(["font-size:20px;line-height:20px;color:",";font-family:",";margin-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function sn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dn(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 dn(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 dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const pn={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},un=e=>{let t=e.sectionColour;const n=K(),r=n.loading,a=n.error,l=n.data;if(r)return i.a.createElement(de,null,i.a.createElement(U.Placeholder,null));if(a||void 0===l)return null;const c=l.fields,s=c.headline,d=c.label,p=l.body.data,u=sn(Object(o.useState)(!1),2),m=u[0],f=u[1],g=Object(o.useRef)(null),h=sn(Object(o.useState)(!1),2),y=h[0],b=h[1];return Object(o.useEffect)(()=>{const e=g.current;e&&b(e.clientHeight>375)},[]),i.a.createElement($,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(y?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(s)}},scrolledEvent:pn},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(en,{ref:o,sectionColour:t},i.a.createElement(tn,null,i.a.createElement(pe,{sectionColour:t},d),s&&i.a.createElement(ye,null,s),i.a.createElement(ge,{ref:g,showAll:m,maxHeight:375,displayShowAll:y},i.a.createElement(fe,null,p.map((e,n)=>i.a.createElement(on,{key:n},i.a.createElement(rn,{sectionColour:t,circularImage:e.data.image},e.data.image&&i.a.createElement("img",{src:e.data.image})),i.a.createElement(an,null,i.a.createElement(ln,{sectionColour:t},e.data.date),i.a.createElement(cn,null,e.data.eventHeading),i.a.createElement(me,{dangerouslySetInnerHTML:{__html:ne(e.data.copy,["br","b","i"])}}))))))),i.a.createElement(he,{showAll:m,displayShowAll:y},i.a.createElement(nn,{onClick:()=>((e,t)=>{e&&e((e=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(e),event_navigation_browsing_method:"click"}}))(t)),f(!m)})(n,m?"Collapse":"Show all")},m?"Collapse":"Show all")))})},mn=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"qq20og-0"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;"]),fn=a()(ae.IconActivityIndicator).withConfig({displayName:"styles__LoadingIcon",componentId:"qq20og-1"})(["background-color:",";border-radius:9999;overflow:hidden;"],l.colours.functional.whiteGrey),gn=a.a.div.withConfig({displayName:"styles__SaveStarText",componentId:"qq20og-2"})(["margin-right:15px;color:",";font-family:",";font-size:14px;line-height:14px;"],l.colours.functional.secondary,l.fonts.supporting),hn=a.a.button.withConfig({displayName:"styles__SaveStarButton",componentId:"qq20og-3"})(["display:flex;justify-content:center;padding:0;background-color:",";border:0;border-radius:40px;outline:0;cursor:pointer;&:hover{background-color:",";}&:active{background-color:",";}"],l.colours.functional.white,l.colours.functional.whiteGrey,l.colours.functional.keyline),yn=e=>e?"Saved":"Save",bn=e=>e?l.colours.functional.action:l.colours.functional.white,xn=e=>{let t=e.articleId,n=e.onToggleSave,o=e.loading,r=e.error,a=e.data;return o?i.a.createElement(i.a.Fragment,null,i.a.createElement(gn,null,yn(!1)),i.a.createElement(mn,null,i.a.createElement(fn,null))):r||!a?null:i.a.createElement(i.a.Fragment,null,i.a.createElement(gn,null,yn(a.isBookmarked)),i.a.createElement(hn,{onClick:()=>n(t,a.isBookmarked)},i.a.createElement(mn,null,i.a.createElement(ae.IconStar,{height:18,title:(c=a.isBookmarked,c?"Remove from My Articles":"Save to My Articles"),fillColour:bn(a.isBookmarked),strokeColour:l.colours.functional.secondary}))));var c},wn=i.a.memo(e=>{let t=e.children;const n=K();return i.a.createElement(i.a.Fragment,null,i.a.isValidElement(t)&&i.a.cloneElement(t,n))});function vn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _n(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 _n(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 _n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const kn=i.a.memo(e=>{let t=e.articleId,n=e.isPreviewMode,r=e.children;const a=vn(Object(o.useState)("/api/collections/is-bookmarked/".concat(t)),2),l=a[0],c=a[1],s=vn(Object(o.useState)(n?{isBookmarked:!1}:void 0),2),d=s[0],p=s[1],u=Object(o.useMemo)(()=>({credentials:"same-origin"}),[]),m=Object(o.useCallback)((e,t)=>{n?p({isBookmarked:!t}):c(t?"/api/collections/delete/".concat(e):"/api/collections/save/".concat(e))},[]),f=r?Object(o.cloneElement)(r,{articleId:t,onToggleSave:m}):i.a.createElement(xn,{articleId:t,onToggleSave:m});return i.a.createElement(Q,{url:l,options:u,previewData:d},i.a.createElement(wn,null,f))}),Cn={blue070:"#006699",inkContrast:"#01000d",inkSubtle:"#696969",inkNonEssential:"#aaaaaa"},On=a.a.a.withConfig({displayName:"styles__BreadcrumbItem",componentId:"sc-1q1w5tj-0"})(["color:inherit;text-decoration:none;display:inline-grid;font-family:Roboto-Regular;font-size:12px;font-weight:500;line-height:1.250;letter-spacing:0%;font-stretch:normal display:inline-grid;background-color:transparent;min-height:32px;border:none;place-content:center;color:",";&:hover{color:","};"],e=>e.selected?Cn.inkContrast:Cn.inkSubtle,Cn.blue070),En=a.a.nav.withConfig({displayName:"styles__Breadcrumbs",componentId:"sc-1q1w5tj-1"})(["display:flex;"]),In=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1q1w5tj-2"})(["height:32px;display:flex;align-items:center;padding-inline:8px;"]);var Sn=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),o.createElement("path",{fill:e.color,d:"m6.667 4-.94.94L8.78 8l-3.053 3.06.94.94 4-4-4-4Z"}));const jn=e=>{let t=e.data;const n=(e,t)=>{e&&e((e=>({object:"Breadcrumb",action:"Clicked",attrs:{event_navigation_action:"navigation",event_navigation_name:"header:selection",event_navigation_browsing_method:"click",article_parent_name:"breadcrumb : ".concat(e)}}))(t))};return i.a.createElement($,null,e=>{let o=e.fireAnalyticsEvent;return i.a.createElement(En,{"aria-label":"breadcrumbs"},t.map((e,t,r)=>t<r.length-1?i.a.createElement(i.a.Fragment,null,i.a.createElement(On,{key:e.title,"aria-current":"false",href:e.url,selected:!1,onClick:()=>n(o,e.title)},e.title),i.a.createElement(In,null,i.a.createElement(Sn,{color:Cn.inkNonEssential}))):i.a.createElement(On,{"aria-current":"page",key:e.title,href:e.url,selected:!0,onClick:()=>n(o,e.title)},e.title)))})};var zn=e=>i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),i.a.createElement("path",{fill:"currentcolor",d:"m3.166 8 .94.94 3.727-3.72v8.113h1.333V5.22l3.72 3.727.947-.947-5.334-5.333L3.166 8Z"}));const An={interactiveNegative040:"#9f0000",interactiveNegative050:"#800000",inkInverse:"#FFFFFF"},Nn={space030:"12px",space020:"8px"},Tn=a.a.button.withConfig({displayName:"styles__StyledButton",componentId:"sc-1i2ta0n-0"})(["border:none;background-color:",";padding-block:",";padding-inline:",";font-family:Roboto;font-size:1.4000000000000001rem;font-weight:500;letter-spacing:0em;color:",";display:inline-grid;grid-template-columns:repeat(2,auto);column-gap:8px;place-content:center;place-items:center;cursor:pointer;transition-property:background-color;transition-duration:200ms;transition-timing-function:cubic-bezier(0,0,0.5,1);&:hover{background-color:",";}&:active{background-color:",";}"],An.interactiveNegative040,Nn.space020,Nn.space030,An.inkInverse,An.interactiveNegative050,An.interactiveNegative050),Pn=e=>{let t=e.label,n=e.handleClick;return i.a.createElement(Tn,{onClick:()=>n()},i.a.createElement(zn,{"data-testid":"upward-arrow"}),t)};function Mn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ln(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 Ln(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 Ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Dn=e=>{let t=e.delay,n=e.initialState,r=e.children;const a=Mn(Object(o.useState)(n),2),l=a[0],c=a[1];return Object(o.useEffect)(()=>{setTimeout(()=>{c(!n)},t)},[]),i.a.createElement(i.a.Fragment,null,l?r:null)};function Rn(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function Bn(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){Rn(r,o,i,a,l,"next",e)}function l(e){Rn(r,o,i,a,l,"throw",e)}a(void 0)}))}}function Wn(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hn(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 Hn(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 Hn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Fn=e=>{let t=e.delay,n=e.display,r=e.label,a=e.handleClick,l=e.updatedTime,c=e.articleId,s=e.update,d=void 0!==s&&s;const p=Wn(Object(o.useState)(d),2),u=p[0],m=p[1];return Object(o.useEffect)(()=>{const e=function(){var e=Bn((function*(){try{const e=yield Y()("/api/article-update-time/".concat(c));return(yield e.json()).article.publishedTime}catch(e){console.log(e)}}));return function(){return e.apply(this,arguments)}}(),t=setInterval(Bn((function*(){(yield e())>l&&m(!0)})),12e4);return()=>clearInterval(t)},[]),i.a.createElement(i.a.Fragment,null,u?i.a.createElement(Dn,{delay:t,initialState:n},i.a.createElement(Pn,{label:r,handleClick:a})):null)},qn=a.a.div.withConfig({displayName:"styles__BannerWrapper",componentId:"mc8dye-0"})(["max-width:498px;box-shadow:0px 16px 24px 0px rgba(17,17,17,0.08);z-index:100;width:100%;"]),$n=a.a.div.withConfig({displayName:"styles__StyledBanner",componentId:"mc8dye-1"})(["border-top:3px solid #005c8a;background-color:#fff;flex-direction:column;align-items:flex-start;padding-left:16px;padding-block:12px;padding-right:16px;@media screen and (min-width:","px){padding-block:10px;}@media screen and (min-width:","px){padding-right:30px;}"],l.breakpoints.wide,l.breakpoints.medium),Un=a.a.div.withConfig({displayName:"styles__BannerContentWrapper",componentId:"mc8dye-2"})(["flex-direction:inherit;"]),Vn=a.a.div.withConfig({displayName:"styles__Wrapper",componentId:"mc8dye-3"})(["display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:12px;@media screen and (min-width:","px){margin-bottom:8px;}"],l.breakpoints.medium),Yn=a.a.div.withConfig({displayName:"styles__TitleWrapper",componentId:"mc8dye-4"})(["display:flex;align-items:center;width:100%;"]),Gn=a.a.p.withConfig({displayName:"styles__Title",componentId:"mc8dye-5"})(["color:#333;font-weight:700;margin:0 0 0 16px;font-size:24px;line-height:27px;font-family:'Times Modern';letter-spacing:0em;@media (max-width:","px){font-size:18px;line-height:20px;}"],l.breakpoints.medium),Zn=a.a.p.withConfig({displayName:"styles__Body",componentId:"mc8dye-6"})(["color:#696969;font-weight:400;margin:0;font-size:16px;line-height:24px;font-family:'Roboto';letter-spacing:0em;@media (max-width:","px){font-size:14px;line-height:21px;}"],l.breakpoints.medium),Xn=a.a.button.withConfig({displayName:"styles__CloseIconWrapper",componentId:"mc8dye-7"})(["background:#fff;border:none;cursor:pointer;"]);function Jn(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Qn=e=>{let t=e.width,n=void 0===t?24:t,o=e.height,r=void 0===o?24:o,a=e.color,l=void 0===a?"#000":a,c=Jn(e,["width","height","color"]);return i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:n,height:r,viewBox:"0 0 14 14",fill:"none"},c),i.a.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:l}))};function Kn(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var eo=e=>{let t=e.width,n=void 0===t?24:t,o=e.height,r=void 0===o?24:o,a=e.color,l=void 0===a?"#000":a,c=Kn(e,["width","height","color"]);return i.a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:n,height:r,viewBox:"0 0 24 24",fill:"none"},c),i.a.createElement("path",{d:"M22 9.98V19C22 20.1 21.1 21 20 21H4C2.9 21 2 20.1 2 19L2.01 7C2.01 5.9 2.9 5 4 5H14.1C14.04 5.32 14 5.66 14 6C14 6.34 14.04 6.68 14.1 7H4L12 12L15.67 9.71C16.14 10.14 16.69 10.47 17.3 10.69L12 14L4 9V19H20V10.9C20.74 10.75 21.42 10.42 22 9.98ZM16 6C16 7.66 17.34 9 19 9C20.66 9 22 7.66 22 6C22 4.34 20.66 3 19 3C17.34 3 16 4.34 16 6Z",fill:l}))};const to=e=>{let t=e.title,n=e.body,o=e.onClose;return i.a.createElement(qn,null,i.a.createElement($n,{"aria-label":"Email verification banner"},i.a.createElement(Un,{role:"region"},i.a.createElement(Vn,null,i.a.createElement(Yn,null,i.a.createElement(eo,null),i.a.createElement(Gn,null,t)),i.a.createElement(Xn,{onClick:o},i.a.createElement(Qn,{width:14,height:14}))),i.a.createElement(Zn,null,n))))};var no=e=>o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none"},e),o.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},o.createElement("path",{fill:"currentcolor",d:"M7.333 4.667h1.334V6H7.334V4.667ZM7.333 7.333h1.334v4H7.334v-4Z"}),o.createElement("path",{fill:"currentcolor",fillRule:"evenodd",d:"M1.333 8A6.67 6.67 0 0 1 8 1.333 6.67 6.67 0 0 1 14.667 8 6.67 6.67 0 0 1 8 14.667 6.67 6.67 0 0 1 1.333 8Zm1.334 0A5.34 5.34 0 0 0 8 13.333 5.34 5.34 0 0 0 13.334 8 5.34 5.34 0 0 0 8 2.667 5.34 5.34 0 0 0 2.667 8Z",clipRule:"evenodd"})),o.createElement("g",{mask:"url(#a)"},o.createElement("path",{fill:"currentcolor",d:"M0 0h16v16H0z"})));const oo=a.a.button.withConfig({displayName:"styles__IconButton",componentId:"sc-170o5l5-0"})(["margin:0;padding:0;display:inline-grid;column-gap:8px;grid-template-columns:repeat(1,auto);width:32px;height:32px;margin-inline-start:8px;padding-inline:8px;padding-block:8px;box-sizing:border-box;overflow:hidden;border:none;appearance:none;background-color:#00000000;border-radius:50%;color:#333333;cursor:pointer;"]),io=a.a.div.withConfig({displayName:"styles__Popover",componentId:"sc-170o5l5-1"})(["position:relative;display:inline-block;"]),ro=a.a.div.withConfig({displayName:"styles__PopoverContext",componentId:"sc-170o5l5-2"})(["display:",";position:absolute;top:-55px;left:4px;box-shadow:0px 20px 32px 0px #11111114;border-radius:0px;border-style:none;z-index:80;div{margin:0;color:#333333;border-radius:0px;background-color:#ffffff;white-space:nowrap;display:grid;grid-template-areas:'header close' 'content content';grid-template-columns:1fr auto;grid-template-rows:auto 1fr;&::after{content:'';position:absolute;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);box-sizing:border-box;background-color:#ffffff;width:16px;height:16px;left:12px;bottom:calc(-16px / 2);}}"],e=>e.isOpen?"grid":"none"),ao=a.a.div.withConfig({displayName:"styles__PopoverHeader",componentId:"sc-170o5l5-3"})(["div{display:flex;grid-area:header;align-items:center;box-sizing:border-box;box-shadow:0px 20px 32px 0px #11111114;border-radius:0px;border-style:none;font-family:Roboto;font-size:1.4000000000000001rem;line-height:1.5;font-weight:500;letter-spacing:0em;padding-inline:24px;padding-block:16px;}"]),lo=a.a.button.withConfig({displayName:"styles__CloseButton",componentId:"sc-170o5l5-4"})(["height:48px;width:48px;border-radius:50%;padding:16px;background-color:transparent;border:none;outline:none;cursor:pointer;display:flex;justify-content:center;align-items:center;transition:background-color 0.2s;&:focus-visible{background-color:#eeeeee;border:1px solid #000;}&:hover{background-color:#eeeeee;}"]),co=a.a.div.withConfig({displayName:"styles__Tooltip",componentId:"sc-170o5l5-5"})(["position:relative;display:inline-block;z-index:80;"]),so=a.a.div.withConfig({displayName:"styles__TooltipContext",componentId:"sc-170o5l5-6"})(["display:",";position:absolute;top:-34px;left:8px;grid-template-areas:'header close' 'content content';grid-template-columns:1fr auto;grid-template-rows:auto 1fr;color:rgb(255,255,255);background-color:rgb(17,17,17);font-family:'Roboto';font-size:14px;line-height:21px;font-weight:500;letter-spacing:0em;padding-inline:8px;padding-block:8px;white-space:nowrap;&::after{content:'';position:absolute;-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);-ms-transform:rotate(45deg);box-sizing:border-box;background-color:#ffffff;width:4px;height:4px;left:14px;bottom:calc(-4px / 2);box-sizing:border-box;background-color:rgb(17,17,17);}"],e=>e.isOpen?"grid":"none");var po=()=>i.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:12,height:12,viewBox:"0 0 14 14",fill:"none"},i.a.createElement("path",{d:"M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z",fill:"#333333"}));function uo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return mo(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 mo(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 mo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const fo=e=>{let t=e.contractualTitle;const n=uo(i.a.useState(!1),2),o=n[0],r=n[1];return i.a.createElement(i.a.Fragment,null,i.a.createElement(co,null,i.a.createElement(so,{"data-testid":"Tooltip-context",isOpen:o},t),i.a.createElement(oo,{"aria-label":"See contractual title, button","data-testid":"Tooltip",onMouseOver:()=>r(!0),onMouseOut:()=>r(!1)},i.a.createElement(no,null))))},go=e=>{let t=e.contractualTitle;const n=uo(i.a.useState(!1),2),o=n[0],r=n[1],a=()=>{r(!o)};return i.a.createElement(i.a.Fragment,null,i.a.createElement(io,null,i.a.createElement(ro,{"data-testid":"Popover-context",isOpen:o},i.a.createElement(ao,null,i.a.createElement("div",null,t),i.a.createElement(lo,{"data-testid":"close-button",onClick:a},i.a.createElement(po,null)))),i.a.createElement(oo,{"aria-label":"See contractual title, button","data-testid":"Popover",onClick:a},i.a.createElement(no,null))))},ho=e=>{let t=e.contractualTitle;return e.isLargeDevice?i.a.createElement(fo,{contractualTitle:t,"data-testid":"Tooltip"}):i.a.createElement(go,{contractualTitle:t,"data-testid":"Popover"})},yo=()=>"undefined"!=typeof window&&window.sessionStorage;function bo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return xo(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 xo(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 xo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wo(Object(n),!0).forEach((function(t){_o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ko=(e,t)=>{const n=yo();if(n){const o=n.getItem("view-count"),i=vo(vo({},null!==o&&JSON.parse(o)||{}),{},{[e]:t});n.setItem("view-count",JSON.stringify(i))}},Co=e=>{const t=yo();if(t){const n=t.getItem("view-count"),o=null!==n&&JSON.parse(n);return o&&o[e]||1}return null},Oo=e=>{const t=Co(e);ko(e,t+1)},Eo=e=>{let t=e.displayFunction,n=void 0===t?()=>!0:t,r=e.trackingName,a=e.children;const l=bo(Object(o.useState)(),2),c=l[0],s=l[1],d=bo(Object(o.useState)(null),2),p=d[0],u=d[1];Object(o.useEffect)(()=>{const e=(e=>{const t=Co(e);return ko(e,t),t})(r);s(e)},[]),D(p,()=>Oo&&Oo(r),{threshold:.5});const m="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&n(c);return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"view-count-observer",ref:u}),i.a.createElement("div",{className:"view-count",style:{display:m?"block":"none"}},a))};var Io=n(16);const So=a.a.button.withConfig({displayName:"styles__PuffButton",componentId:"sc-1du8ah1-0"})(["font-family:",";font-size:15px;line-height:0;align-items:center;background-color:transparent;border-radius:0px;color:rgb(29,29,27);cursor:pointer;height:48px;justify-content:center;min-width:100px;padding-top:2px;width:100%;border-color:rgb(29,29,27);border-width:1px;letter-spacing:0.2px;&:hover{background-color:#e4e4e4;}&:active{background-color:#cccccc;}"],l.fonts.supporting),jo=a.a.button.withConfig({displayName:"styles__PuffLinkButton",componentId:"sc-1du8ah1-1"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;border:none;background-color:white;text-decoration-line:underline;&:hover{text-decoration-line:none;}"],l.colours.functional.action,l.fonts.body),zo=e=>{let t=e.updatingSubscription,n=void 0!==t&&t,o=e.onPress,r=e.style;const a=q().fireAnalyticsEvent,l=()=>{n||(o&&o(),a&&a({action:"Clicked",object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now",event_navigation_browsing_method:"click",event_navigation_action:"navigation"}}))};return"button"===r?i.a.createElement(So,{onClick:()=>l()},"Sign up with one click"):i.a.createElement(jo,{onClick:()=>l()},"Sign up with one click")};var Ao=n(17),No=n.n(Ao);const To=a.a.div.withConfig({displayName:"styles__View",componentId:"sc-18e8ba-0"})(["align-items:stretch;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0;"]),Po=a.a.div.withConfig({displayName:"styles__Text",componentId:"sc-18e8ba-1"})(["border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1);display:inline;font-size:14px;font-family:sans-serif;margin:0;padding:0;white-space:pre-wrap;word-wrap:break-word;"]),Mo=a()(To).withConfig({displayName:"styles__InpContainer",componentId:"sc-18e8ba-2"})(["border-top:2px solid ",";display:flex;flex-direction:column;margin-right:",";margin-bottom:",";margin-left:",";height:157.5px;@media (min-width:","px){margin:0 auto ",";width:80.8%;height:157.5px;}@media (min-width:","px){width:56.2%;height:117.5px;}"],e=>{let t=e.section;return t?l.colours.section[t]:"black"},Object(l.spacing)(2),Object(l.spacing)(4),Object(l.spacing)(2),l.breakpoints.medium,Object(l.spacing)(4),l.breakpoints.wide),Lo=a()(Po).withConfig({displayName:"styles__InpPreferencesText",componentId:"sc-18e8ba-3"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;margin-bottom:",";@media (min-width:","px){display:block;}"],l.colours.functional.action,l.fonts.body,Object(l.spacing)(3),l.breakpoints.wide),Do=e=>{let t=e.onPress;return i.a.createElement($,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},e=>{let n=e.fireAnalyticsEvent,o=e.intersectObserverRef;return i.a.createElement(No.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(t&&t(),void(n&&n({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},i.a.createElement(c.HoverIcon,{underline:!0,colour:"#006699"},i.a.createElement(Lo,{ref:o},"Explore our newsletters")))})},Ro=a()(To).withConfig({displayName:"styles__Overlay",componentId:"sc-1nvj6r-0"})(["position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.9);z-index:1;"]),Bo=a.a.div.withConfig({displayName:"styles__Bubble",componentId:"sc-1nvj6r-1"})(["animation:expand 0.75s ease-in-out infinite;border-radius:20px;display:inline-block;transform-origin:center center;margin:0 7px;width:16px;height:16px;background:#c4c4c4;:nth-child(2){animation-delay:250ms;}:nth-child(3){animation-delay:500ms;}@keyframes expand{100%{background:#6b6b6b;}}"]),Wo=a()(To).withConfig({displayName:"styles__Loader",componentId:"sc-1nvj6r-2"})(["display:flex;flex-direction:row;left:40%;top:45%;@media (min-width:","px){left:40%;top:28%;}"],l.breakpoints.wide),Ho=()=>i.a.createElement(Ro,null,i.a.createElement(Wo,null,i.a.createElement(Bo,null),i.a.createElement(Bo,null),i.a.createElement(Bo,null))),Fo=a()(To).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],l.breakpoints.small),qo=a()(To).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],l.breakpoints.wide),$o=a()(Po).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],l.colours.functional.brandColour,l.fonts.headline,Object(l.spacing)(1)),Uo=a()(Po).withConfig({displayName:"styles__InpCopy",componentId:"sc-8h51gu-3"})(["font-family:",";font-size:18px;text-align:left;letter-spacing:-0.5px;color:",";margin-bottom:",";line-height:26px;"],l.fonts.body,l.colours.functional.primary,Object(l.spacing)(6)),Vo=a()(To).withConfig({displayName:"styles__InpSignupCTAContainer",componentId:"sc-8h51gu-4"})(["display:",";@media (min-width:","px){width:",";margin:0px auto;}@media (min-width:","px){display:",";}"],e=>"link"===e.childStyle?"none":"block",l.breakpoints.medium,e=>"button"===e.childStyle&&"220px",l.breakpoints.wide,e=>"link"===e.childStyle?"inline-block":"none"),Yo=a()(To).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]);function Go(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zo(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 Zo(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 Zo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Xo=e=>{let t=e.intersectObserverRef,n=e.section,r=e.headline,a=e.copy,l=e.code,c=e.subscribeNewsletter,s=e.loading,d=e.error;const p=Go(Object(o.useState)(!1),2),u=p[0],m=p[1],f=e=>i.a.createElement(Vo,{ref:t,childStyle:e},i.a.createElement(zo,{style:e,updatingSubscription:s,onPress:()=>{s||(m(!0),c("/api/subscribe-newsletter/".concat(l)))}}));return i.a.createElement(i.a.Fragment,null,i.a.createElement(Mo,{section:n},s&&i.a.createElement(Ho,null),!d&&u&&i.a.createElement(Fo,null,i.a.createElement(Uo,null,"You've successfully signed up to the"," ",i.a.createElement($o,null,"".concat(r,".")," "),i.a.createElement(Do,null)),i.a.createElement(Yo,null)),d&&i.a.createElement(Fo,null,i.a.createElement(Uo,null,"An error occurred. Please use the link below.",i.a.createElement(Do,null)),i.a.createElement(Yo,null)),!u&&!d&&i.a.createElement(qo,null,i.a.createElement(Uo,null,i.a.createElement($o,null,r," "),"".concat(a," "),f("link")),f("button"))))};function Jo(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Qo(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 Qo(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 Qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ko=e=>{let t=e.code,n=e.copy,r=e.headline,a=e.section;const l=Jo(Object(o.useState)("/api/is-subscribed-newsletter/".concat(t)),2),s=l[0],d=l[1],p=Object(o.useMemo)(()=>({credentials:"same-origin"}),[]);return i.a.createElement(Io.GetNewsletter,{code:t,ssr:!1,debounceTimeMs:0},e=>{let o=e.isLoading,l=e.error,u=e.newsletter;return l?null:o||!u?i.a.createElement(Mo,null,i.a.createElement(U.Placeholder,null)):u.isSubscribed?null:i.a.createElement(Q,{url:s,options:p},i.a.createElement($,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:u.title,event_navigation_action:"navigation"}},scrolledEvent:{object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now : displayed",event_navigation_browsing_method:"automated",event_navigation_action:"navigation"}}},e=>{let o=e.intersectObserverRef;return i.a.createElement(wn,null,i.a.createElement(Xo,{intersectObserverRef:o,section:Object(c.capitalise)(a),headline:r,copy:n,code:t,subscribeNewsletter:d}))}))})},ei=e=>{let t=e.code,n=e.copy,o=e.headline,r=e.section;return i.a.createElement(Eo,{trackingName:"auto-puff-".concat(t),displayFunction:e=>void 0!==e&&[1,3,5].includes(e)},i.a.createElement(Ko,{code:t,copy:n,headline:o,section:r}))},ti=e=>{let t=e.copy,n=e.headline,o=e.section;return i.a.createElement(Mo,{section:o},i.a.createElement(qo,null,i.a.createElement(Uo,null,i.a.createElement($o,null,n," "),t,i.a.createElement(Vo,{childStyle:"link"},i.a.createElement(zo,{style:"link"}))),i.a.createElement(Vo,{childStyle:"button"},i.a.createElement(zo,{style:"button"}))))},ni=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},oi=e=>{const t=(e=>{switch(e){case"cricket":return"https://secure.widget.cloud.opta.net/v3/css/v3.cricket.opta-widgets.css";case"rugby":return"https://secure.widget.cloud.opta.net/v3/css/v3.rugby.opta-widgets.css";case"football":default:return"https://secure.widget.cloud.opta.net/v3/css/v3.football.opta-widgets.css"}})(e);if(!document.head.querySelector('link[href="'.concat(t,'"]'))){const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.getElementsByTagName("head")[0].appendChild(e)}},ii=()=>(e=>document.body.querySelector('script[src="'.concat(e,'"]'))?Promise.resolve():new Promise((t,n)=>{const o=document.createElement("script");o.setAttribute("async","async"),o.setAttribute("src",e),o.onload=t,o.onerror=n,document.body.appendChild(o)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),ri=(e,t,n)=>{const o=document.createElement(e);return t&&Object.keys(t).map(e=>{void 0!==t[e]&&o.setAttribute(e,t[e].toString())}),n&&o.appendChild(n),o},ai=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},li=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"n0zk21-0"})([""," margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],e=>{let t=e.$height;return t&&"height: ".concat(t,"px;")},l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),ci=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"n0zk21-1"})(["height:","px;position:relative;"],e=>e.height||200),si=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"n0zk21-2"})([".Opta{.Opta_W{margin:0;background-color:transparent !important;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),di=a()(si).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-17mc5vx-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{height:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}}&.Opta-MatchHeader-Details{div{margin:6px 0;padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;dl{margin:0 6px 4px 6px;color:inherit;font-size:inherit;:before{display:none;}&:first-of-type,&:last-of-type{display:block;}}}}}}}.Opta-CricketStateOfPlay{div{min-height:0;margin:0;padding:10px;color:",";font-family:",";font-size:18px;font-weight:normal;line-height:18px;background-color:transparent;}}.Opta-scorecard{.Opta-Tabs{.Opta-Nav{background-color:transparent;ul{display:flex;background-color:transparent;li{width:100%;a{width:100%;color:",";font-family:",";font-size:14px;font-weight:normal;text-align:center;background-color:#dbdbdb;&:hover{background-color:#ededed;}}&.Opta-On a{color:white;background-color:#008347;}}}}}table.Opta-batting{margin-bottom:10px;thead{th{width:8%;padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;background-color:#ededed;&:first-of-type{width:64%;padding-left:5px;}&:nth-of-type(4),&:nth-of-type(5){width:6%;}}}tfoot{th{color:",";font-family:",";font-size:14px;line-height:14px;font-weight:bold;background-color:#dbdbdb;&:first-of-type{padding-left:5px;}&:last-of-type{padding-left:0;}}}tbody{tr:nth-child(2n) th,tr:nth-child(2n) td{background-color:#ededed;}tr:last-of-type td{color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;}th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;&:first-of-type,&:nth-of-type(2){padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;}}}}table.Opta-bowling{width:calc(60% - 10px);float:left;thead{th{width:12%;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;background-color:#ededed;&:first-of-type{width:40%;padding-left:5px;text-align:left;}}}tbody{th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;text-align:center;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;&:first-of-type{padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;text-align:left;}}}}.Opta-Ranking{table{width:calc(40%);float:right;thead{th{color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;background-color:#ededed;&:first-of-type{padding-left:5px;text-align:left;}}}tbody{th{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:bold;text-align:center;}td{padding:0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;text-align:center;&:first-of-type{padding-left:5px;color:",";font-family:",";font-size:16px;font-weight:normal;line-height:16px;text-align:left;}}}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline);function pi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ui(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 ui(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 ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const mi=i.a.memo(e=>{let t=e.competition,n=e.match,r=e.full_width,a=e.height;const l=i.a.createRef(),c=pi(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("cricket"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"cricket",widget:"score_card",season:"0",competition:t,match:n,template:"normal",live:!0,show_match_header:!0,show_crests:!0,show_competition_name:!0,show_match_description:!0,show_date:!0,date_format:"DD/MM/YYYY",show_venue:!0,show_officials:!1,show_toss:!1,show_state_of_play:!0,navigation:"tabs",show_batting:!0,show_mins_batted:!1,show_fours:!0,show_sixes:!0,show_strike_rate:!0,show_bowling:!0,show_economy:!0,show_fow:!0,player_naming:"full",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(li,{border:s,fullWidth:r,$height:a},i.a.createElement(di,{ref:l}),!s&&i.a.createElement(ci,{height:a},i.a.createElement(U.Placeholder,null)))}),fi={119:"Italy",357:"Germany",115:"Scotland",538:"Hungary",497:"Switzerland",118:"Spain",535:"Croatia",534:"Albania",511:"Poland",366:"Netherlands",365:"Slovenia",369:"Denmark",364:"Serbia",114:"England",358:"Romania",510:"Ukraine",360:"Belgium",507:"Slovakia",515:"Austria",368:"France",362:"Turkey",520:"Georgia",359:"Portugal",367:"CzechRep"},gi=Object.keys(fi).map(e=>"\n .Opta-Team-".concat(e," .Opta-Team, .Opta-Team-").concat(e,".Opta-Team, .Opta-Player .Opta-Image-Team-").concat(e," {\n background-image: url(https://extras.thetimes.co.uk/web/opta/euro-flags/").concat(fi[e],".svg);\n background-size: 20px;\n background-repeat: no-repeat;\n }\n .Opta-Team-").concat(e," .Opta-Team {\n background-position: 0 13px;\n padding-left: 28px !important;\n \n @media (max-width: ").concat(l.breakpoints.small,"px) {\n background-image: none;\n padding-left: 0 !important;\n }\n }\n .Opta-Team-").concat(e,".Opta-Team {\n background-position: 10px 8px;\n padding-left: 38px !important;\n }\n .Opta-Scoreline .Opta-Team-").concat(e,".Opta-Team {\n padding-left: 28px !important;\n\n @media (max-width: ").concat(l.breakpoints.small,"px) {\n background-image: none;\n padding-left: 0 !important;\n padding-right: 0 !important;\n }\n }\n .Opta-Scoreline .Opta-Home.Opta-Team-").concat(e,".Opta-Team {\n padding-left: 0 !important;\n }\n\n .Opta-Player .Opta-Image-Team-").concat(e," {\n width: 100%;\n display: block;\n height: 100%;\n background-position: 7px 3px;\n\n &.Opta-Image-Medium {\n background-size: 35px;\n background-position: 0 6px;\n }\n\n img {\n display: none;\n }\n }\n")),hi=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1mw5214-0"})([""," margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],e=>{let t=e.$height;return t&&"height: ".concat(t,"px;")},l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),yi=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1mw5214-1"})(["position:relative;height:","px;"],e=>e.height||"200"),bi=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1mw5214-2"})(["&.team-flags{",";}.Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],gi,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),xi=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1td1ojw-0"})(["height:80px;"]),wi=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-1td1ojw-1"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1td1ojw-2"})([".Opta{font-family:Roboto !important;}.Opta-Scroll,.Opta-Window,.Opta-Room{height:80px !important;}"," @media (max-width:","px){.Opta-Window{left:"," !important;right:0 !important;","}}.fixtures-page-link.Opta-fixture{width:85px !important;padding:10px 8px;border:1px solid black;background-color:transparent;a{display:flex;flex-wrap:wrap;justify-content:space-between;flex-direction:column;height:100%;span{color:black !important;font-size:12px;font-weight:700 !important;display:block;}svg{rect{font-weight:700 !important;}stroke:black;fill:transparent;path{fill:black;}}}",";}.Opta-Cf.Opta-Scroll.Opta-Active{background-color:transparent !important;}.Opta-Scroller{background-color:white !important;border:1px solid #999 !important;border-radius:2px;box-sizing:border-box;padding:39px 0 !important;width:28px !important;&:hover{background-color:#f5f5f5 !important;}&:active{background-color:#eee !important;}&::after{background:rgba(0,0,0,0) url(https://secure.widget.cloud.opta.net/v3/assets/images/sprites/controls.svg) no-repeat !important;background-size:210px 186px !important;background-position-x:-180px !important;background-position-y:-19px !important;height:16px !important;width:16px !important;top:calc(50% - 8px) !important;left:calc(50% - 8px) !important;}&.Opta-Next::after{transform:rotate(-90deg) translateX(2px);}&.Opta-Previous::after{transform:rotate(90deg) translateX(2px);}@media (max-width:","px){width:18px !important;}@media (max-width:","px){width:24px !important;}",";}.Opta-fixture{height:80px;padding-inline:4px;display:flex;flex-direction:column;> div{background-color:white !important;}.Opta-Team,.Opta-timings{border-right:0 !important;}.Opta-Team{height:24px !important;.team-flag{width:20px;margin-bottom:-2px;margin-right:8px;}}.Opta-timings{height:24px !important;order:-1;color:#696969 !important;border-start-start-radius:4px;border-start-end-radius:4px;","}.Opta-timings .Opta-Time *{font-weight:700;color:#01000d !important;","}.Opta-TeamName,.Opta-Team-Score{color:#01000d !important;font-family:'Roboto-Medium' !important;","}.Opta-Away{border-end-start-radius:4px;border-end-end-radius:4px;height:34px !important;}&.Opta-prematch{> div{background-color:#f5f5f5 !important;","}.Opta-Team-Score::after{content:'-';}.Opta-timings .Opta-Time *{font-weight:400;color:#696969 !important;}}&.Opta-result > div{border:1px solid #ccc !important;"," &.Opta-timings{border-bottom:none !important;}&.Opta-Home{border-bottom:none !important;border-top:none !important;}&.Opta-Away{border-top:none !important;}}&.Opta-live > div{border:1px solid #01000d !important;"," &.Opta-timings{border-bottom:none !important;}&.Opta-Home{border-bottom:none !important;border-top:none !important;}&.Opta-Away{border-top:none !important;}}.Opta-Image-Team-Small{height:20px;}}.Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],e=>!e.showButtons&&"\n @media (max-width: ".concat(l.breakpoints.small,"px) {\n .Opta-Scroller {\n display: none !important;\n }\n }\n "),l.breakpoints.small,e=>e.showButtons?"30px":"0",e=>e.showButtons?"width: calc(100% - 60px) !important;":"\n overflow-x: auto !important;\n position: relative !important;",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n border: 1px solid white;\n\n a {\n span {\n color: white !important;\n }\n svg {\n stroke: white;\n path {\n fill: white;\n }\n }\n }\n }\n ",l.breakpoints.medium,l.breakpoints.wide,e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #1D1D1B !important;\n border: 1px solid #AAA !important;\n\n &:hover {\n border: 1px solid #333 !important;\n }\n &:active {\n border: 1px solid #696969 !important;\n }\n &::after {\n background-position-y: -57px !important;\n }\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #e4e4e4 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #fff !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n color: #fff !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #333 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #1d1d1b !important;\n border: 1px solid #333 !important;\n }\n ",e=>e.isApp&&"\n @media (prefers-color-scheme: dark) {\n background-color: #121212 !important;\n border: 1px solid #e4e4e4 !important;\n }\n ",l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport)),vi=e=>["3","235","941"].includes(e),_i=(e,t)=>{Object(o.useEffect)(()=>{e.current&&e.current.classList.add("team-flags");const n=document.getElementsByClassName(t);n&&(e=>{let t=0;const n=setInterval(()=>{t>=25&&clearInterval(n),t++;for(let t of e){const e=t;if(e){const t=e.innerText.includes("Third Place")||e.innerText.includes("Group");[{pattern:/Quarter-Finalist/g,replacement:"QF"},{pattern:/Semi-Finalist|Semi-Final/g,replacement:"SF"}].forEach(n=>{let o=n.pattern,i=n.replacement;e.innerText=t?"TBD":e.innerText.replace(o,i)})}}},500)})(n)},[e])},ki=(e,t)=>{const n=document.querySelector(".".concat(e)),o=document.querySelector(".fixtures-page-link");return!(!n||o)&&(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=Object.assign(document.createElement("div"),{className:"fixtures-page-link Opta-fixture"}),o=Object.assign(document.createElement("a"),{href:t}),i=Object.assign(document.createElement("span"),{textContent:"Full Fixtures & Results"});o.appendChild(i),o.insertAdjacentHTML("beforeend",'<svg width="25" height="24" viewBox="0 0 25 24" fill="none" xmlns="http://www.w3.org/2000/svg" className="allFixturesIcon">\n <rect x="0.859375" y="0.5" width="23" height="23" rx="11.5" />\n <path d="M15.7734 11.5254C15.7702 11.6263 15.7507 11.7191 15.7148 11.8037C15.6758 11.8883 15.6172 11.9697 15.5391 12.0479L11.7793 15.7246C11.6556 15.8483 11.5042 15.9102 11.3252 15.9102C11.2015 15.9102 11.0908 15.8809 10.9932 15.8223C10.8923 15.7637 10.8125 15.6839 10.7539 15.583C10.6921 15.4854 10.6611 15.3763 10.6611 15.2559C10.6611 15.0736 10.7295 14.9141 10.8662 14.7773L14.2109 11.5254L10.8662 8.27344C10.7295 8.13346 10.6611 7.97396 10.6611 7.79492C10.6611 7.67122 10.6921 7.56055 10.7539 7.46289C10.8125 7.36523 10.8923 7.28711 10.9932 7.22852C11.0908 7.16992 11.2015 7.14062 11.3252 7.14062C11.5042 7.14062 11.6556 7.20247 11.7793 7.32617L15.5391 11.0029C15.6204 11.0811 15.6807 11.1624 15.7197 11.2471C15.7555 11.335 15.7734 11.4277 15.7734 11.5254Z" />\n </svg>'),n.appendChild(o),e.appendChild(n)}(n,t),!0)};function Ci(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oi(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 Oi(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 Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ei=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.days_ahead,c=e.days_before,s=e.round,d=e.isApp,p=e.showButtons,u=e.fixturesPageUrl,m=e.sport;const f=i.a.createRef(),g=Ci(Object(o.useState)(!1),2),h=g[0],y=g[1],b=vi(n);return Object(o.useEffect)(()=>{ni(),oi(m),ii().then(()=>{f.current&&(f.current.innerHTML=ri("opta-widget",{sport:m,widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,days_ahead:l,days_before:c,round:s,live:!0,start_on_current:!0,template:"strip",team_naming:"brief",match_status:"all",order_by:"date_ascending",show_grouping:!0,show_crests:!b,show_date:!0,show_live:!0,date_format:"ddd Do MMM",fixture_width:160,breakpoints:520}).outerHTML,ai(),y(!0))})},[f]),u&&!d&&((e,t,n)=>{Object(o.useEffect)(()=>{let e,o=ki(t,n);if(!o){let i=0;e=setInterval(()=>{i>=30&&clearInterval(e),i++,o=ki(t,n),o&&clearInterval(e)},200)}return()=>{e&&clearInterval(e)}},[e,t,n])})(f,"Opta-Room",u),b&&_i(f,"Opta-TeamName"),i.a.createElement(xi,null,i.a.createElement(wi,{isApp:d,showButtons:p,ref:f}),!h&&i.a.createElement(yi,{height:80},i.a.createElement(U.Placeholder,null)))}),Ii=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-19pyhbq-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-19pyhbq-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function Si(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ji(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 ji(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 ji(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const zi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.full_width;const c=i.a.createRef(),s=Si(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{c.current&&(c.current.innerHTML=ri("opta-widget",{sport:"football",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ai(),p(!0))})},[]),i.a.createElement(hi,{border:d,fullWidth:l},i.a.createElement(Ii,{ref:c}),!d&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),Ai=(a()(bi).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"v51xce-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"v51xce-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{display:block;@media (min-width:","px){",";}tbody{display:block;break-inside:avoid;&:has(h3){column-span:all;",";}td.Opta-Nest.Opta-JS-Nest-Content.Opta-Expanded{display:inline;}td.Opta-title{display:block;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr{display:block;}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;display:flex;justify-content:space-between;align-items:center;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:0;color:"," !important;font-family:",";font-size:14px;line-height:14px;height:unset;background-color:transparent;&.Opta-Time{padding-left:10px;color:"," !important;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){font-size:13px;line-height:14px;}}&.Opta-Team{background-position:center left;width:34%;padding-left:"," &.Opta-Home{background-position:center right;padding-right:",";padding-left:0;text-align:right;}",";}&.Opta-Score{font-size:16px;line-height:16px;text-align:center !important;width:20px;span{font-size:inherit;line-height:inherit;}@media (min-width:","px){font-size:24px;line-height:24px;}}&.Opta-Crest{img{width:20px;}}&.Opta-Divider{text-align:center;width:8px;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){padding-right:10px;}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:13px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.breakpoints.medium,e=>e.columns&&"column-count: 2;",e=>e.hide_matchday&&"display: none;",l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.breakpoints.medium,e=>e.isNationalComp?"24px;":"10px;",e=>e.isNationalComp?"24px;":"10px;",e=>!e.isNationalComp&&"\n @media (max-width: ".concat(l.breakpoints.medium,"px) {\n padding-left: 15px;\n\n &.Opta-Home {\n padding-right: 15px;\n padding-left: 0;\n }\n }\n "),l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function Ni(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ti(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 Ti(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 Ti(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Pi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.days_ahead,c=e.days_before,s=e.matchday,d=e.round,p=e.classes,u=e.hide_matchday,m=e.show_title,f=void 0===m||m,g=e.columns,h=void 0===g||g,y=e.full_width;const b=i.a.createRef(),x=Ni(Object(o.useState)(!1),2),w=x[0],v=x[1],_=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{b.current&&(b.current.innerHTML=ri("opta-widget",{sport:"football",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,days_ahead:l,days_before:c,matchday:s,round:d,show_title:f,live:!0,grouping:"matchday",show_grouping:!0,sub_grouping:"date|matchday|group",show_subgrouping:!0,show_crests:!_,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,ai(),v(!0))})},[]),_&&_i(b,"Opta-Team"),i.a.createElement(hi,{border:w,fullWidth:y,className:p},i.a.createElement(Ai,{ref:b,isNationalComp:_,hide_matchday:u,columns:h}),!w&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),Mi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1ofehep-0"})([".Opta{h3.Opta-groupname{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;@media (min-width:","px){",";}&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:13px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:15px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.keyline,l.breakpoints.medium,l.breakpoints.medium,e=>e.columns&&"column-count: 2;",l.colours.functional.brandColour,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.backgroundPrimary,l.colours.functional.brandColour,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.colours.functional.backgroundSecondary,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function Li(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Di(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 Di(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 Di(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ri=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.default_nav,a=void 0===r?1:r,l=e.classes,c=e.navigation,s=e.show_title,d=void 0===s||s,p=e.full_width,u=e.columns,m=e.height;const f=i.a.createRef(),g=Li(Object(o.useState)(!1),2),h=g[0],y=g[1],b=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{f.current&&(f.current.innerHTML=ri("opta-widget",{sport:"football",widget:"standings",season:t,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:a,show_title:d,show_crests:!b,team_naming:"brief",breakpoints:520}).outerHTML,ai(),y(!0))})},[]),b&&_i(f,"Opta-Team"),i.a.createElement(hi,{border:h,fullWidth:p,className:l,$height:m},i.a.createElement(Mi,{ref:f,columns:u}),!h&&i.a.createElement(yi,{height:m},i.a.createElement(U.Placeholder,null)))}),Bi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1p8r5mo-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport);function Wi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Hi(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 Hi(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 Hi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Fi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=Wi(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"football",widget:"match_summary",season:t,competition:n,match:r,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_goals:!0,show_cards:"red",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(hi,{border:s,fullWidth:a},i.a.createElement(Bi,{ref:l}),!s&&i.a.createElement(yi,null,i.a.createElement(U.Placeholder,null)))}),qi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1loypld-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function $i(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ui(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 Ui(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 Ui(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Vi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width,l=e.height,c=void 0===l?640:l;const s=i.a.createRef(),d=$i(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{s.current&&(s.current.innerHTML=ri("opta-widget",{sport:"football",widget:"matchstats",season:t,competition:n,match:r,template:"custom",graph_style:"relative",stats_categories:"Category 1|possession,shots,shots_on_target,passes,passes_accuracy,corners_won,fouls_conceded,cards_yellow,cards_red",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),u(!0))})},[]),i.a.createElement(hi,{border:p,fullWidth:a,$height:c},i.a.createElement(qi,{ref:s}),!p&&i.a.createElement(yi,{height:c},i.a.createElement(U.Placeholder,null)))}),Yi=a()(bi).withConfig({displayName:"styles__WidgetContainer",componentId:"boankv-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function Gi(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Zi(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 Zi(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 Zi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Xi=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.full_width,a=e.hide_zeroes,l=void 0===a||a,c=e.show_title,s=void 0===c||c,d=e.visible_categories,p=e.classes,u=e.height;const m=i.a.createRef(),f=Gi(Object(o.useState)(!1),2),g=f[0],h=f[1],y=vi(n);return Object(o.useEffect)(()=>{ni(),oi("football"),ii().then(()=>{m.current&&(m.current.innerHTML=ri("opta-widget",{sport:"football",widget:"player_ranking",hide_zeroes:l,season:t,competition:n,template:"normal",graph_style:"relative",visible_categories:d,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_title:s,date_format:"DD/MM/YYYY",breakpoints:"200"}).outerHTML,ai(),h(!0))})},[m]),y&&_i(m,"Opta-Image-Team"),i.a.createElement(hi,{border:g,fullWidth:r,className:p,$height:u},i.a.createElement(Yi,{ref:m}),!g&&i.a.createElement(yi,{height:u},i.a.createElement(U.Placeholder,null)))}),Ji=a.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1dlwd3q-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],l.colours.functional.backgroundPrimary,e=>e.border?"2px solid ".concat(l.colours.section.sport):"none",l.breakpoints.medium,e=>e.fullWidth?"100%":"80.8%",l.breakpoints.wide,e=>e.fullWidth?"100%":"56.2%"),Qi=a.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Ki=a.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1dlwd3q-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting),er=(a()(Ki).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"me94al-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],l.fonts.headline,l.breakpoints.medium),a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"me94al-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:13px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],l.colours.functional.backgroundSecondary,l.colours.functional.brandColour,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.breakpoints.medium,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport));function tr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return nr(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 nr(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 nr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const or=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.date_from,a=e.date_to,l=e.full_width;const c=i.a.createRef(),s=tr(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{c.current&&(c.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"fixtures",season:t,competition:n,date_from:r,date_to:a,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},ri("opta-widget",{sport:"rugby",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",show_cards:"all",breakpoints:"520"})).outerHTML,ai(),p(!0))})},[]),i.a.createElement(Ji,{border:d,fullWidth:l},i.a.createElement(er,{ref:c}),!d&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),ir=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-9cbyte-0"})([".Opta{h3{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;font-size:13px;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:13px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:15px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.keyline,l.breakpoints.medium,l.colours.functional.brandColour,l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.backgroundPrimary,l.colours.functional.brandColour,l.colours.functional.primary,l.fonts.supporting,l.colours.functional.brandColour,l.colours.functional.backgroundSecondary,l.colours.functional.primary,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium);function rr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ar(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 ar(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 ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const lr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.default_nav,a=void 0===r?1:r,l=e.navigation,c=e.full_width;const s=i.a.createRef(),d=rr(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{s.current&&(s.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"standings",season:t,competition:n,live:!0,navigation:l?"dropdown":void 0,default_nav:a,show_crests:!0,breakpoints:520}).outerHTML,ai(),u(!0))})},[]),i.a.createElement(Ji,{border:p,fullWidth:c},i.a.createElement(ir,{ref:s}),!p&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),cr=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1pgxtc2-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:13px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport);function sr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dr(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 dr(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 dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const pr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=sr(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"match_summary",season:t,competition:n,match:r,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(Ji,{border:s,fullWidth:a},i.a.createElement(cr,{ref:l}),!s&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))}),ur=a()(Ki).withConfig({displayName:"styles__WidgetContainer",componentId:"lquz8o-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:13px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],l.colours.functional.brandColour,l.fonts.supporting,l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium,l.colours.section.sport,l.colours.section.sport,l.colours.functional.brandColour,l.fonts.supporting,l.colours.section.sport,l.fonts.supporting);function mr(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fr(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 fr(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 fr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const gr=i.a.memo(e=>{let t=e.season,n=e.competition,r=e.match,a=e.full_width;const l=i.a.createRef(),c=mr(Object(o.useState)(!1),2),s=c[0],d=c[1];return Object(o.useEffect)(()=>{ni(),oi("rugby"),ii().then(()=>{l.current&&(l.current.innerHTML=ri("opta-widget",{sport:"rugby",widget:"matchstats",season:t,competition:n,match:r,template:"custom",graph_style:"relative",stats_categories:"Category 1|tries,passes,tackles,carries,metres,lineouts_won_percent,scrums_won_percent,turnovers_conceded,yellow_cards,red_cards",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,ai(),d(!0))})},[]),i.a.createElement(Ji,{border:s,fullWidth:a},i.a.createElement(ur,{ref:l}),!s&&i.a.createElement(Qi,null,i.a.createElement(U.Placeholder,null)))});var hr=n(10),yr=n.n(hr),br=n(11);const xr=e=>e.map(e=>({url:e.url,ratio:e.aspectRatio})),wr=e=>{if(e){if(e.crops)return xr(e.crops);if(e.posterImage&&e.posterImage.crops)return xr(e.posterImage.crops)}return[]},vr=e=>{return{url:e.categoryPath,label:e.label,byline:(n=e.bylines,n?n.map(e=>"author"===e.type?e.name:e.value).join(""):void 0),headline:e.headline,summary:(t=e.summary,t&&t.children?t.children.map(e=>e.text).join("")+"...":void 0),datePublished:e.publishedDateTime,images:{alt:e.headline,crops:wr(e.media)}};var t,n},_r=e=>{switch(e){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},kr=e=>({name:_r(e.length),children:e.map(e=>({article:vr(e)})).slice(0,3)}),Cr=a.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12jqlbd-0"})(["margin-bottom:12px;padding:16px 12px 12px 12px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],l.colours.functional.brandColour,l.fonts.headline),Or=e=>{let t=e.heading;const n=K(),o=n.loading,r=n.error,a=n.data;if(o||r)return null;const l=yr()(a,"recommendations.articles");if(!l||!l.length)return null;const c=q().fireAnalyticsEvent;return i.a.createElement("div",{id:"recommended-articles"},i.a.createElement(Cr,null,t),i.a.createElement(br.Slice,{slice:kr(l),clickHandler:(e,t)=>{c&&c({action:"Clicked",attrs:{article_parent_name:t.headline}})}}))};function Er(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ir(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 Ir(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 Ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Sr=e=>{let t=e.articleId,n=e.articleHeadline,r=e.articleSection;const a=Er(Object(o.useState)(!1),2),l=a[0],c=a[1];Object(o.useEffect)(()=>{try{const e=window.nuk.getCookieValue("acs_tnl"),t=window.__TIMES_CONFIG__.environmentName;e&&["local-prod","pr","uat","staging","prod"].includes(t)&&c(!0)}catch(e){console.log(e)}},[]);return l?i.a.createElement(Q,{url:"/api/recommended-articles/".concat(t,"/todays_section")},i.a.createElement($,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(r),article_name:n,widget_headline:"Read more".toLowerCase(),widget_section:r,widget_type:"today's section"}}},i.a.createElement(Or,{heading:"Read more"}))):null},jr=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-19exdh2-0"})(["display:none;"]),zr=e=>{let t=e.heading,n=e.articles;const o=q().fireAnalyticsEvent;return i.a.createElement(jr,{id:"categorised-articles"},i.a.createElement(Cr,null,"More from ".concat(t)),i.a.createElement(br.Slice,{slice:kr(n),clickHandler:(e,t)=>{o&&o({action:"Clicked",attrs:{article_parent_name:t.headline}})}}))},Ar={background:"#bedeed",foreground:"#1573a2"},Nr={background:"#ffeecc",foreground:"#ffa300"},Tr={background:"#ffd6d6",foreground:"#df0000"},Pr=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1lbbpaf-0"})(["display:flex;margin-top:50px;&.info{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.warning{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.error{background-color:",";border-left:4px solid ",";svg{fill:",";}}"],Ar.background,Ar.foreground,Ar.foreground,Nr.background,Nr.foreground,Nr.foreground,Tr.background,Tr.foreground,Tr.foreground),Mr=a.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),Lr=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),Dr=a.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:15px;line-height:16px;margin-bottom:6px;"],l.fonts.supporting),Rr=a.a.div.withConfig({displayName:"styles__Description",componentId:"sc-1lbbpaf-4"})(["font-family:",";font-weight:500;font-size:13px;line-height:20px;& a{color:#333333;text-decoration:underline;}"],l.fonts.supporting),Br=e=>{let t=e.size,n=void 0===t?{width:"20",height:"20"}:t;return i.a.createElement("svg",{width:n.width,height:n.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM9 15V9H11V15H9ZM9 5V7H11V5H9Z"}))},Wr=e=>{let t=e.title,n=e.type,o=e.children;return i.a.createElement(Pr,{className:n},i.a.createElement(Mr,null,i.a.createElement(Br,null)),i.a.createElement(Lr,null,i.a.createElement(Dr,null,t),i.a.createElement(Rr,null,o)))},Hr=a.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding-bottom:28px;@media (min-width:","px){padding-bottom:48px;padding-top:20px;}"],l.breakpoints.medium),Fr=a.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"kqn9c8-1"})(["max-width:343px;display:flex;flex-direction:column;align-items:center;@media (min-width:","px){max-width:403px;}"],l.breakpoints.medium),qr=a.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-2"})(["font-family:",";font-weight:700;font-color:#333333;font-size:28px;line-height:32px;letter-spacing:0;text-align:center;padding:8px;"],l.fonts.headlineRegular),$r=a.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-3"})(["font-family:",";font-weight:400;font-color:#333333;font-size:18px;line-height:27px;letter-spacing:0;text-align:center;max-width:660px;"],l.fonts.supporting),Ur=a.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-4"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#005c8a;color:white;font-family:",";width:100%;height:48px;padding:18.5px 0;font-size:16px;font-style:normal;font-weight:500;line-height:24px;letter-spacing:0;margin:16px;"],l.fonts.cta),Vr=e=>{let t=e.title,n=e.href,o=void 0===n?"#":n,r=e.onClick,a=e.buttonText,l=e.children;return i.a.createElement(Hr,null,i.a.createElement(Fr,null,i.a.createElement(qr,null,t),i.a.createElement($r,null,l),i.a.createElement(Ur,{href:o,onClick:r},a)))};var Yr=n(18),Gr=n.n(Yr),Zr=n(19),Xr=n.n(Zr),Jr=n(12),Qr=n.n(Jr);var Kr=e=>{try{return decodeURIComponent(e)}catch(t){return e}};const ea=a.a.div.withConfig({displayName:"styles__Container",componentId:"uvi9j3-0"})(["display:flex;flex-direction:column;justify-content:center;margin:48px 10px 24px 10px;padding-top:",";border-top:2px solid #9f0000;@media (min-width:","px){width:80.8%;margin:64px 0 24px 10%;}@media (min-width:","px){width:56.2%;margin:64px 0 24px 22%;}"],e=>e.isBreaking?"8px":"5px",l.breakpoints.medium,l.breakpoints.wide),ta=a.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),na=a.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),oa=a.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:13px;line-height:18px;"],l.colours.functional.brandColour,l.fonts.supporting),ia=Object(r.css)(["color:",";font-family:",";font-size:13px;line-height:18px;"],l.colours.functional.secondary,l.fonts.supporting),ra=a.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),aa=a.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],ia),la=a.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],ia),ca=a.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],l.colours.functional.greyLabel),sa=a.a.h2.withConfig({displayName:"styles__Headline",componentId:"uvi9j3-8"})(["color:",";font-family:",";font-size:28px;line-height:28px;margin-top:22px;margin-bottom:0px;font-weight:400;@media (min-width:","px){font-size:36px;line-height:36px;margin-top:20px;margin-bottom:0px;}"],l.colours.functional.brandColour,l.fonts.headline,l.breakpoints.medium),da=a.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]),pa=a.a.div.withConfig({displayName:"styles__BylineBlockContainer",componentId:"uvi9j3-10"})(["display:flex;align-items:center;margin-top:24px;font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:16px;"]),ua=a.a.div.withConfig({displayName:"styles__BylineBlockImgContainer",componentId:"uvi9j3-11"})(["border-radius:50%;width:50px;height:50px;overflow:hidden;margin-right:10px;"]),ma=a.a.img.withConfig({displayName:"styles__BylineBlockImg",componentId:"uvi9j3-12"})(["height:100%;width:100%;"]),fa=a.a.div.withConfig({displayName:"styles__BylineBlockContent",componentId:"uvi9j3-13"})(["display:flex;flex-direction:column;"]),ga=a.a.div.withConfig({displayName:"styles__BylineBlockAuthorContent",componentId:"uvi9j3-14"})(["display:flex;align-items:center;margin-bottom:2px;"]),ha=a.a.p.withConfig({displayName:"styles__BylineBlockAuthorName",componentId:"uvi9j3-15"})(["color:#069;margin-right:5px;margin-block:0;"]),ya=a.a.p.withConfig({displayName:"styles__BylineBlockAuthorJobTitle",componentId:"uvi9j3-16"})(["color:#696969;margin-block:0;"]),ba=a.a.p.withConfig({displayName:"styles__BylineBlockDescription",componentId:"uvi9j3-17"})(["color:#696969;font-weight:500;margin-block:0;"]),xa=e=>{let t=e.authorData,n=e.description;return t&&t.name||t&&t.image||n?i.a.createElement(pa,null,t&&t.image&&i.a.createElement(ua,null,i.a.createElement(ma,{src:t.image,alt:t.name})),i.a.createElement(fa,null,i.a.createElement(ga,null,t&&t.name&&i.a.createElement(ha,null,t.name),t&&t.jobTitle&&i.a.createElement(ya,null,t.jobTitle)),n&&i.a.createElement(ba,null,n))):null};function wa(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function va(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _a(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 _a(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 _a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var ka=e=>{let t=e.updated,n=e.breaking,r=e.headline,a=e.authorSlug,l=e.description;const c=va(Object(o.useState)(""),2),s=c[0],d=c[1],p=va(Object(o.useState)(),2),u=p[0],m=p[1],f=new Date,g=new Date(t),h=Xr()(g,"Europe/London");Object(o.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&d(Qr()(h,"zzz",{timeZone:"Europe/London"}))}),Object(o.useEffect)(()=>{if(void 0===a)return void m(null);(function(){var e,t=(e=function*(){try{const e=yield fetch("/api/author-profile/".concat(a)),t=yield e.json();m(t)}catch(e){console.log(e)}},function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){wa(r,o,i,a,l,"next",e)}function l(e){wa(r,o,i,a,l,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}})()()},[a]);const y=C()(g,f,{roundingMethod:"floor"})+" ago",b=_()(f,g),x=b<60,w=b<3600,v=b<46800,k=Gr()(f,h)>=1,O=!!n&&Boolean("true"===n.toLowerCase()),E=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=/\D+/g,o=e.replace(n,""),i=/\b(\w)/g,r=t.match(i),a=null===r?"":r.join("");return"u_".concat(o).concat(a)}(t,r);return i.a.createElement(ea,{isBreaking:O&&w,id:E},i.a.createElement(ta,null,i.a.createElement(ra,null,O&&w?i.a.createElement(da,null,i.a.createElement(P,null)):null,!x&&v?i.a.createElement(na,null,i.a.createElement(oa,{"data-testId":"TimeSincePublishing"},y),i.a.createElement(ca,null)):null,i.a.createElement(aa,{isLessThan13Hours:!x&&v},"".concat(Qr()(h,"h.mmaaa")," ").concat(s))),k?i.a.createElement(la,null,Qr()(h,"MMMM d")):null),r&&i.a.createElement(sa,null,Kr(r)),u&&i.a.createElement(xa,{authorData:u,description:l}))};const Ca=a.a.div.withConfig({displayName:"styles__WelcomeBannerContainer",componentId:"sc-1dq6agu-0"})(["display:flex;flex-direction:column;justify-content:center;width:100%;margin-bottom:16px;padding:18px 16px;background-color:",";"],l.colours.functional.bannerBackground),Oa=a.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1dq6agu-1"})(["color:",";font-family:",";font-size:40px;line-height:45px;text-align:left;br.mobile{display:inline;}br.larger-breakpoints{display:none;}@media (min-width:","px){text-align:center;br.mobile{display:none;}br.larger-breakpoints{display:inline;}}"],l.colours.functional.greyText,l.fonts.headline,l.breakpoints.medium),Ea=a.a.div.withConfig({displayName:"styles__Text",componentId:"sc-1dq6agu-2"})(["margin-top:6px;color:",";font-family:",";font-size:18px;line-height:27px;text-align:left;@media (min-width:","px){text-align:center;}"],l.colours.functional.primary,l.fonts.supporting,l.breakpoints.medium);function Ia(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sa(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 Sa(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 Sa(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const ja=()=>{const e=Ia(Object(o.useState)(!1),2),t=e[0],n=e[1];return Object(o.useEffect)(()=>{window.sessionStorage.getItem("showWelcomeBanner")&&(window.sessionStorage.removeItem("showWelcomeBanner"),n(!0))},[]),t?i.a.createElement(Ca,null,i.a.createElement(Oa,{"data-testId":"title"},"Welcome to ",i.a.createElement("br",{className:"mobile"}),"The Times ",i.a.createElement("br",{className:"larger-breakpoints"})," and"," ",i.a.createElement("br",{className:"mobile"}),"The Sunday Times"),i.a.createElement(Ea,{"data-testId":"text"},"We hope you enjoy your free content")):null};var za=e=>o.createElement("svg",Object.assign({viewBox:"0 0 24 24","aria-hidden":"true",fill:"currentcolor",xmlns:"http://www.w3.org/2000/svg"},e),o.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),o.createElement("path",{fill:"currentcolor",d:"m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z"}));const Aa=a()(za).withConfig({displayName:"styles__ChevronRightIcon",componentId:"sc-1my13dk-0"})(["transform:rotate(90deg);width:16px;height:16px;"]),Na=a.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1my13dk-1"})(["padding-top:12px;border-style:solid none none none;border-width:3px;border-color:#c05729;"]),Ta=a.a.p.withConfig({displayName:"styles__Description",componentId:"sc-1my13dk-2"})(["display:block;font-family:'Roboto';font-weight:400;line-height:1.5;font-size:1.4rem;letter-spacing:0em;margin:7px 0 4px;"]),Pa=a.a.hr.withConfig({displayName:"styles__Divider",componentId:"sc-1my13dk-3"})(["margin:16px 0;border-style:dashed none none none;border-width:1px;border-color:#01000d;&:first-of-type{margin-top:11px;}"]),Ma=a.a.a.withConfig({displayName:"styles__Link",componentId:"sc-1my13dk-4"})(["display:block;text-decoration:none;&:hover{button{background-color:#e4e4e4;}h3{color:#00527a;}}h3{color:#c05729;}"]),La=a.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"sc-1my13dk-5"})(["display:flex;flex-direction:row;justify-content:space-between;"]),Da=a.a.h3.withConfig({displayName:"styles__Title",componentId:"sc-1my13dk-6"})(["font-family:'Times Modern';font-weight:800;line-height:1.125;font-size:1.8rem;letter-spacing:0em;margin:2px 0 0;"]),Ra=a.a.button.withConfig({displayName:"styles__ChevronButton",componentId:"sc-1my13dk-7"})(["background-color:#eeeeee;color:#c05729;border-radius:50%;border:none;cursor:pointer;width:24px;height:24px;padding:0;display:flex;justify-content:center;align-items:center;"]),Ba=a.a.p.withConfig({displayName:"styles__ItemTitle",componentId:"sc-1my13dk-8"})(["font-family:'Times Modern';font-weight:400;line-height:1;font-size:1.6rem;letter-spacing:0em;margin:12px 0;"]),Wa=a.a.a.withConfig({displayName:"styles__PuzzleContainer",componentId:"sc-1my13dk-9"})(["display:flex;align-items:center;margin-top:16px;text-decoration:none;color:#01000d;:hover{color:#00527a;}"]),Ha=a.a.img.withConfig({displayName:"styles__PuzzleImage",componentId:"sc-1my13dk-10"})(["height:40px;width:40px;margin:0 16px 0 0;"]);function Fa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function qa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fa(Object(n),!0).forEach((function(t){$a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Ua=(e,t,n)=>{e&&e(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return{object:"ArticleSidebar",action:"Clicked",attrs:qa({event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Article Sidebar"},t&&{article_parent_name:t.toLowerCase()})}}(t,n))},Va=e=>{let t=e.sectionTitle,n=e.data,o=e.pageLink;const r=q().fireAnalyticsEvent;return i.a.createElement(Na,null,i.a.createElement(Ma,{href:o,onClick:()=>Ua(r,"puzzle sidebar: header selected"),className:"trigger"},i.a.createElement(La,null,i.a.createElement(Da,null,t),i.a.createElement(Ra,null,i.a.createElement(Aa,null)))),i.a.createElement(Ta,null,"Challenge yourself with today’s puzzles."),i.a.createElement(Pa,null),n.map(e=>{let t=e.title,n=e.url,o=e.imgUrl;return i.a.createElement(i.a.Fragment,{key:t},i.a.createElement(Wa,{href:n,onClick:()=>Ua(r,"puzzle sidebar: puzzle selected","".concat(t)),className:"trigger-card-link"},i.a.createElement(Ha,{src:o,alt:"Puzzle category thumbnail"}),i.a.createElement(Ba,null,t)),i.a.createElement(Pa,null))}))},Ya=a.a.div.withConfig({displayName:"styles__Container",componentId:"lhknes-0"})(["padding-top:12px;border-style:solid none none none;border-width:3px;border-color:#c05729;min-width:160px;min-height:340px;"]),Ga=(a.a.p.withConfig({displayName:"styles__Description",componentId:"lhknes-1"})(["display:block;font-family:'Roboto';font-weight:400;line-height:1.5;font-size:1.4rem;letter-spacing:0em;margin:7px 0 4px;"]),a.a.hr.withConfig({displayName:"styles__Divider",componentId:"lhknes-2"})(["margin:12px 0;border-style:dashed none none none;border-width:1px;border-color:#01000d;&:first-of-type{margin-top:12px;}"])),Za=a.a.a.withConfig({displayName:"styles__Link",componentId:"lhknes-3"})(["display:block;text-decoration:none;&:hover{button{background-color:#e4e4e4;}h3{color:#00527a;}}h3{color:#c05729;}"]),Xa=a.a.div.withConfig({displayName:"styles__TitleIconContainer",componentId:"lhknes-4"})(["display:flex;flex-direction:row;justify-content:space-between;& .question-icon{width:37.652px;height:40px;margin-left:8px;}"]),Ja=a.a.h3.withConfig({displayName:"styles__Title",componentId:"lhknes-5"})(["font-family:'Times Modern';font-weight:800;line-height:1.125;font-size:1.8rem;letter-spacing:0em;margin:2px 0 0;"]),Qa=a.a.h3.withConfig({displayName:"styles__Titletag",componentId:"lhknes-6"})(["font-family:'Roboto';font-size:12px;font-weight:700;line-height:18px;text-align:left;margin-block:0;"]),Ka=a.a.div.withConfig({displayName:"styles__Bottom",componentId:"lhknes-7"})(['display:flex;flex-direction:column;align-items:flex-start;padding:8px 0 0;min-height:90px;justify-content:space-between;& .q-icon{position:absolute;color:#C74600;font-family:TimesModern-Regular,TimesModern-Regular-fallback,serif;font-size:24px;font-style:normal;font-weight:700;line-height:150%;left:-28px;top:-7px;}& .q-arrow{width:16px;height:16px;background-image:url(\'data:image/svg+xml; charset=utf-8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M6.67999 4L5.73999 4.94L8.79332 8L5.73999 11.06L6.67999 12L10.68 8L6.67999 4Z" fill="%23C74600"/></svg>\');background-size:contain;background-repeat:no-repeat;display:inline-block;background-position:-3px 4px;margin-left:4px;}& p{position:relative;color:#333;font-family:Roboto-Regular,Roboto-Regular-fallback,sans-serif;font-size:14px;font-style:normal;font-weight:400;line-height:150%;margin:0 0 20px;text-indent:28px;}& a{position:relative;width:100%;color:#C74600;font-family:Roboto-Regular,Roboto-Regular-fallback,sans-serif;font-size:14px;font-style:normal;font-weight:500;line-height:112.5%;text-decoration:none;&:hover{color:#00527A;& .q-arrow{background-image:url(\'data:image/svg+xml; charset=utf-8, <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M6.67999 4L5.73999 4.94L8.79332 8L5.73999 11.06L6.67999 12L10.68 8L6.67999 4Z" fill="%2300527A"/></svg>\')}}']),el=(e,t)=>{e&&e((e=>({object:"QuizleSidebar",action:"Clicked",attrs:{event_navigation_action:"navigation",event_navigation_name:"".concat(e),event_navigation_browsing_method:"click",component_name:"Quizle Sidebar"}}))(t))};function tl(e,t,n,o,i,r,a){try{var l=e[r](a),c=l.value}catch(e){return void n(e)}l.done?t(c):Promise.resolve(c).then(o,i)}function nl(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var r=e.apply(t,n);function a(e){tl(r,o,i,a,l,"next",e)}function l(e){tl(r,o,i,a,l,"throw",e)}a(void 0)}))}}function ol(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return il(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 il(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 il(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const rl=e=>{let t=e.sectionTitle,n=e.pageLink;const r=q().fireAnalyticsEvent,a=ol(Object(o.useState)(null),2),l=a[0],c=a[1],s=[{id:0,publishDate:"2024-10-29T00:00:00.000Z",question:"Which type of dog gets its name from the Welsh words for 'dwarf' and 'dog'?",solution:"Corgi"}],d=function(){var e=nl((function*(){try{const e=yield fetch("https://tnl-render.tools.news/production/content/puzzles/quizle/questions.json");if(!e.ok)throw new Error("Failed to fetch");return yield e.json()}catch(e){return s}}));return function(){return e.apply(this,arguments)}}();return Object(o.useEffect)(()=>{(function(){var e=nl((function*(){const e=(e=>{const t=(new Date).toDateString(),n=e.find(e=>new Date(e.publishDate).toDateString()===t);return n&&n.question?n.question:s[0].question})(yield d());c(e)}));return function(){return e.apply(this,arguments)}})()()},[]),i.a.createElement(Ya,null,i.a.createElement(i.a.Fragment,null,i.a.createElement(Xa,null,i.a.createElement("div",null,i.a.createElement(Qa,null,"BETA"),i.a.createElement(Za,{href:n,onClick:()=>el(r,"quizle sidebar: title selected"),className:"trigger"},i.a.createElement(Ja,null,t))),i.a.createElement("img",{src:"https://www.thetimes.com/d/img/puzzles/new-illustrations/quizzesteasers-4e9e19ef6b.png",className:"question-icon"}))),i.a.createElement(Ga,null),i.a.createElement(Ka,null,i.a.createElement("p",null,i.a.createElement("span",{className:"q-icon"},"Q: "),l),i.a.createElement(Za,{href:n,onClick:()=>el(r,"quizle sidebar: test your knowledge"),className:"quizle-link"},"Test your knowledge",i.a.createElement("span",{className:"q-arrow"}))),i.a.createElement(Ga,null))},al=a.a.button.withConfig({displayName:"styles__AudioButton",componentId:"sc-1pn7kal-0"})(["background-color:unset;border-radius:0;padding:7px 11px;border:1px solid ",";display:flex;align-items:center;color:",";font-family:Roboto;font-weight:500;font-size:14px;line-height:18px;svg{margin-right:8px;}span{margin-left:4px;font-size:12px;color:",";}"],l.colours.functional.primary,l.colours.functional.primary,l.colours.functional.secondary);var ll;Object(r.createGlobalStyle)(ll||(cl=["\n *, *::before, *::after {\n box-sizing: border-box;\n }\n"],sl||(sl=cl.slice(0)),ll=Object.freeze(Object.defineProperties(cl,{raw:{value:Object.freeze(sl)}}))));var cl,sl;const dl=a.a.div.withConfig({displayName:"styles__AudioPlayerContainer",componentId:"w3kg01-0"})(["position:fixed;bottom:0;left:0;width:100%;height:",";background-color:",";color:",";box-shadow:0px -2px 4px 0px #0000001a;border-top-left-radius:10px;border-top-right-radius:10px;transition:height 0.3s ease,transform 0.3s ease;overflow:hidden;display:flex;flex-direction:column;align-items:center;padding:16px;transform:",";@media (max-width:","){width:100%;}"],e=>{let t=e.isExpanded,n=e.isModalOpen;return t?n?"370px":"221px":"48px"},l.colours.functional.white,l.colours.functional.primary,e=>e.isExpanded?"translateY(0)":"translateY(calc(100% - 48px))",l.breakpoints.small),pl=a.a.div.withConfig({displayName:"styles__Row",componentId:"w3kg01-1"})(["width:100%;display:flex;justify-content:center;align-items:center;"]),ul=a.a.button.withConfig({displayName:"styles__CollapseButton",componentId:"w3kg01-2"})(["background:none;border:none;cursor:pointer;padding:0;"]),ml=a.a.div.withConfig({displayName:"styles__Title",componentId:"w3kg01-3"})(["font-family:",";font-size:16px;font-weight:700;text-align:center;white-space:nowrap;overflow:hidden;position:relative;width:90%;margin-top:16px;& > div{display:inline-block;padding-left:100%;animation:scroll 10s linear infinite;}@keyframes scroll{0%{transform:translateX(0);}100%{transform:translateX(-100%);}}"],l.fonts.supporting),fl=a.a.input.withConfig({displayName:"styles__StyledSeekBar",componentId:"w3kg01-4"})(["width:90%;height:4px;border-radius:2px;background:",";outline:none;appearance:none;margin:16px 0 6px 0;&::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";margin-top:-6px;transition:background 0.3s ease;}&::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";transition:background 0.3s ease;}&::-webkit-slider-runnable-track{height:4px;background:transparent;border:none;}&::-moz-range-track{height:4px;background:transparent;border:none;}&:disabled{opacity:0.5;cursor:not-allowed;}"],e=>{let t=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),gl=a.a.div.withConfig({displayName:"styles__StyledTimeDisplay",componentId:"w3kg01-5"})(["font-family:",";font-size:14px;font-weight:500;text-align:right;width:90%;display:flex;justify-content:space-between;margin-top:6px;margin-bottom:30px;"],l.fonts.supporting),hl=a.a.div.withConfig({displayName:"styles__Controls",componentId:"w3kg01-6"})(["width:90%;display:flex;justify-content:center;align-items:center;position:relative;@media (max-width:","){gap:16px;}"],l.breakpoints.small),yl=a.a.div.withConfig({displayName:"styles__PlaybackButtonsContainer",componentId:"w3kg01-7"})(["display:flex;justify-content:center;align-items:center;gap:8px;@media (min-width:","){gap:16px;}"],l.breakpoints.small),bl=a.a.button.withConfig({displayName:"styles__ControlButton",componentId:"w3kg01-8"})(["background:none;border:none;cursor:pointer;padding:0;svg{width:24px;height:24px;fill:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary),xl=a.a.button.withConfig({displayName:"styles__PlayPauseButton",componentId:"w3kg01-9"})(["width:48px;height:48px;border:none;border-radius:50%;background-color:#01000d;display:flex;justify-content:center;align-items:center;cursor:pointer;padding:0;position:relative;&:hover{background-color:#02020f;}&:disabled{opacity:0.5;cursor:not-allowed;}svg{width:24px;height:24px;position:absolute;}"]),wl=a.a.button.withConfig({displayName:"styles__SpeedButton",componentId:"w3kg01-10"})(["background:none;border:1px solid ",";cursor:pointer;font-family:",";font-size:14px;font-weight:500;color:",";margin-left:16px;position:absolute;right:-10px;padding:8px 16px;@media (min-width:","){position:absolute;right:0;margin-left:0;}&:hover{background-color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.breakpoints.small,l.colours.functional.border),vl=a.a.div.withConfig({displayName:"styles__SpeedSelectModal",componentId:"w3kg01-11"})(["background:",";z-index:1000;display:flex;flex-direction:column;overflow:hidden;",";"],l.colours.functional.white,e=>e.isMobile?"\n position: absolute;\n top: 40px;\n left: 0;\n width: 100%;\n height: calc(100% - 40px);\n border: none;\n padding: 16px;\n ":"\n position: absolute;\n bottom: calc(100% + 18px);\n left: 50%;\n transform: translateX(-50%);\n width: 160px;\n height: 256px;\n border: 1px solid ".concat(l.colours.functional.greyLabel,";\n padding: 16px 0px;\n box-shadow: 0px 20px 32px 0px #0A0A0A14;\n overflow: unset;\n\n &::after {\n content: '';\n position: absolute;\n top: 100%;\n left: 50%;\n transform: translateX(-50%);\n border-width: 16px 16px 0 16px;\n border-style: solid;\n border-color: ").concat(l.colours.functional.white," transparent transparent transparent;\n width: 0;\n height: 0;\n }\n ")),_l=a.a.div.withConfig({displayName:"styles__SpeedOptionsContainer",componentId:"w3kg01-12"})(["flex:1;width:100%;display:flex;flex-direction:column;align-items:center;"]),kl=a.a.div.withConfig({displayName:"styles__SpeedOptionItem",componentId:"w3kg01-13"})(["display:flex;justify-content:space-between;align-items:center;background:",";padding:8px 12px;cursor:pointer;width:",";font-family:",";font-size:16px;font-weight:500;color:",";svg{width:20px;height:20px;fill:",";}&:hover{background:",";}"],e=>e.selected?l.colours.functional.bannerBackground:"transparent",e=>e.isMobile?"80%;":"100%",l.fonts.supporting,e=>e.selected?l.colours.functional.brandColour:l.colours.functional.secondary,l.colours.functional.brandColour,e=>e.selected?l.colours.functional.bannerBackground:l.colours.functional.border),Cl=a.a.button.withConfig({displayName:"styles__CloseButton",componentId:"w3kg01-14"})(["background:none;border:none;cursor:pointer;font-family:",";font-size:16px;font-weight:500;color:",";padding:12px 0;align-self:center;&:hover{text-decoration:underline;}"],l.fonts.supporting,l.colours.functional.primary),Ol=(a.a.div.withConfig({displayName:"styles__VolumeControlContainer",componentId:"w3kg01-15"})(["display:flex;align-items:center;width:90%;padding:5px 0;"]),a.a.label.withConfig({displayName:"styles__VolumeLabel",componentId:"w3kg01-16"})(["margin-right:10px;font-family:",";font-size:14px;font-weight:500;"],l.fonts.supporting),a.a.input.withConfig({displayName:"styles__VolumeSlider",componentId:"w3kg01-17"})(["width:100%;height:4px;border-radius:2px;background:",";outline:none;appearance:none;&::-webkit-slider-thumb{appearance:none;width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";margin-top:-6px;}&::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:",";cursor:pointer;border:1px solid ",";}&::-webkit-slider-runnable-track{height:4px;background:",";border:none;}&::-moz-range-track{height:4px;background:",";border:none;}"],l.colours.functional.whiteGrey,"#1573A2","#1573A2","#1573A2","#1573A2",l.colours.functional.whiteGrey,l.colours.functional.whiteGrey),a.a.div.withConfig({displayName:"styles__TabletDesktopWrapper",componentId:"w3kg01-18"})(["width:100%;padding:16px 20px;position:fixed;bottom:0;left:0;background-color:",";box-shadow:0px -2px 4px 0px #0000001a;display:flex;align-items:center;justify-content:center;z-index:1000;"],l.colours.functional.white)),El=a.a.div.withConfig({displayName:"styles__TabletDesktopInnerWrapper",componentId:"w3kg01-19"})(["max-width:1440px;margin:0 auto;width:100%;display:flex;align-items:center;justify-content:space-between;"]),Il=a.a.div.withConfig({displayName:"styles__LeftControls",componentId:"w3kg01-20"})(["display:flex;align-items:center;"]),Sl=a.a.div.withConfig({displayName:"styles__CenterControls",componentId:"w3kg01-21"})(["display:flex;align-items:center;flex-grow:1;margin:0 16px;"]),jl=a.a.div.withConfig({displayName:"styles__RightControls",componentId:"w3kg01-22"})(["display:flex;align-items:center;"]),zl=a.a.button.withConfig({displayName:"styles__TabletDesktopPlayPauseButton",componentId:"w3kg01-23"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:32px;height:32px;fill:",";}"],l.colours.functional.primary),Al=a.a.span.withConfig({displayName:"styles__TabletDesktopStatusText",componentId:"w3kg01-24"})(["font-family:",";font-size:16px;font-weight:500;margin:0 16px;"],l.fonts.supporting),Nl=a.a.div.withConfig({displayName:"styles__TabletDesktopVolumeControlContainer",componentId:"w3kg01-25"})(["display:flex;align-items:center;margin:0 16px;"]),Tl=a.a.button.withConfig({displayName:"styles__TabletDesktopVolumeButton",componentId:"w3kg01-26"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],l.colours.functional.primary),Pl=a.a.input.withConfig({displayName:"styles__TabletDesktopVolumeSlider",componentId:"w3kg01-27"})(["width:100px;margin-left:8px;height:4px;background:",";outline:none;appearance:none;&::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";margin-top:-4px;}"],l.colours.functional.whiteGrey,"#1573A2","#1573A2"),Ml=a.a.div.withConfig({displayName:"styles__TabletDesktopTimeDisplay",componentId:"w3kg01-28"})(["display:flex;align-items:center;font-family:",";font-size:14px;font-weight:500;span{margin:0 4px;}"],l.fonts.supporting),Ll=a.a.input.withConfig({displayName:"styles__TabletDesktopSeekBar",componentId:"w3kg01-29"})(["flex-grow:1;height:4px;background:",";outline:none;appearance:none;margin:0 8px;&::-webkit-slider-thumb{appearance:none;width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";margin-top:-4px;}&::-moz-range-thumb{width:12px;height:12px;background:",";cursor:pointer;border-radius:50%;border:1px solid ",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],e=>{let t=e.progress;return"linear-gradient(to right, ".concat("#1573A2"," 0%, ").concat("#1573A2"," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," ").concat(t,"%, ").concat(l.colours.functional.whiteGrey," 100%)")},"#1573A2","#1573A2","#1573A2","#1573A2"),Dl=a.a.button.withConfig({displayName:"styles__TabletDesktopSpeedButton",componentId:"w3kg01-30"})(["background:none;border:1px solid ",";cursor:pointer;font-family:",";font-size:14px;font-weight:500;color:",";padding:8px 16px;margin:0 16px;&:hover{background-color:",";}&:disabled{opacity:0.5;cursor:not-allowed;}"],l.colours.functional.primary,l.fonts.supporting,l.colours.functional.primary,l.colours.functional.border),Rl=a.a.div.withConfig({displayName:"styles__SpeedButtonContainer",componentId:"w3kg01-31"})(["position:relative;"]),Bl=a.a.button.withConfig({displayName:"styles__TabletDesktopCloseButton",componentId:"w3kg01-32"})(["background:none;border:none;cursor:pointer;padding:0 8px;svg{width:24px;height:24px;fill:",";}"],l.colours.functional.primary),Wl=e=>{let t=e.isExpanded,n=e.toggleExpand;return e.allowExpandCollapse?i.a.createElement(pl,null,i.a.createElement(ul,{onClick:n,"aria-label":t?"Collapse Player":"Expand Player"},i.a.createElement(ae.PlayerModalIcon,null))):null},Hl=e=>{let t=e.title;return i.a.createElement(pl,null,i.a.createElement(ml,null,i.a.createElement("div",{"data-testid":"title-content"},t)))},Fl=e=>{let t=e.currentTime,n=e.duration,o=e.onSeek,r=e.allowSeek;const a=n>0?t/n*100:0;return i.a.createElement(pl,null,i.a.createElement(fl,{type:"range",min:"0",max:n,value:t,onChange:e=>o(parseFloat(e.target.value)),disabled:!r,"aria-label":"Seek Bar",progress:a}))},ql=e=>{const t=Math.floor(e/60),n=Math.floor(e%60);return"".concat(t,":").concat(n<10?"0":"").concat(n)},$l=e=>{let t=e.currentTime,n=e.duration;return i.a.createElement(pl,null,i.a.createElement(gl,null,i.a.createElement("span",{"data-testid":"current-time"},ql(t)),i.a.createElement("span",{"data-testid":"duration"},ql(n))))},Ul=e=>{let t=e.isPlaying,n=e.togglePlayPause,o=e.rewind,r=e.forward,a=e.speed,l=e.onSpeedChange,c=e.allowTogglePlay,s=e.allowSeek,d=e.allowPlaybackRateChange,p=e.isSpeedModalOpen,u=e.setIsSpeedModalOpen,m=e.isMobile;return i.a.createElement(pl,null,i.a.createElement(hl,null,i.a.createElement(yl,null,i.a.createElement(bl,{onClick:o,disabled:!s,"aria-label":"Rewind 10 seconds"},i.a.createElement(ae.PlayerBack,null)),i.a.createElement(xl,{onClick:n,disabled:!c,"aria-label":t?"Pause":"Play"},t?i.a.createElement(ae.PauseIcon,{fill:"white"}):i.a.createElement(ae.PlayIcon,{fill:"white"})),i.a.createElement(bl,{onClick:r,disabled:!s,"aria-label":"Forward 10 seconds"},i.a.createElement(ae.PlayerFront,null))),i.a.createElement(wl,{onClick:()=>{d&&u(!p)},"aria-label":"Change Playback Speed"},"Speed")),p&&i.a.createElement(vl,{isMobile:m},i.a.createElement(_l,null,[.5,.8,1,1.2,1.5,2].map(e=>i.a.createElement(kl,{key:e,selected:e===a,onClick:()=>(l(e),void u(!1))},i.a.createElement("span",null,e,"x"),e===a&&i.a.createElement(ae.IconCheck,null)))),i.a.createElement(Cl,{onClick:()=>u(!1)},"Close")))},Vl=e=>{let t=e.isPlaying,n=e.togglePlayPause,o=e.currentTime,r=e.duration,a=e.allowTogglePlay,l=e.allowSeek,c=e.allowVolumeChange,s=e.volume,d=e.handleSeek,p=e.handleVolumeChange,u=e.speed,m=e.allowPlaybackRateChange,f=e.isSpeedModalOpen,g=e.setIsSpeedModalOpen,h=e.speedOptions,y=e.handleSpeedSelect,b=e.isVolumeSliderVisible,x=e.setIsVolumeSliderVisible,w=e.onClose,v=e.allowExpandCollapse,_=e.isMobile;return i.a.createElement(Ol,null,i.a.createElement(El,null,i.a.createElement(Il,null,i.a.createElement(zl,{onClick:n,disabled:!a,"aria-label":t?"Pause":"Play"},t?i.a.createElement(ae.PauseIcon,null):i.a.createElement(ae.PlayIcon,null)),i.a.createElement(Al,null,t?"Playing":"Paused"),c&&i.a.createElement(Nl,null,i.a.createElement(Tl,{onClick:()=>x(!b),"aria-label":"Volume Control"},i.a.createElement(ae.IconVolume,null)),b&&i.a.createElement(Pl,{type:"range",min:"0",max:"1",step:"0.01",value:s,onChange:e=>p(parseFloat(e.target.value))}))),i.a.createElement(Sl,null,i.a.createElement(Ml,null,i.a.createElement("span",null,ql(o))),i.a.createElement(Ll,{type:"range",min:"0",max:r,value:o,onChange:e=>d(parseFloat(e.target.value)),disabled:!l,"aria-label":"Seek Bar",progress:r>0?o/r*100:0}),i.a.createElement(Ml,null,i.a.createElement("span",null,ql(r)))),i.a.createElement(jl,null,m&&i.a.createElement(Rl,null,i.a.createElement(Dl,{onClick:()=>{m&&g(!f)},"aria-label":"Change Playback Speed"},"Speed"),f&&i.a.createElement(vl,{isMobile:_},i.a.createElement(_l,null,h.map(e=>i.a.createElement(kl,{key:e,selected:e===u,onClick:()=>y(e)},i.a.createElement("span",null,e,"x"),e===u&&i.a.createElement(ae.IconCheck,null)))))),v&&i.a.createElement(Bl,{onClick:w,"aria-label":"Close Player"},i.a.createElement(ae.AudioCloseIcon,{fill:"black"})))))};function Yl(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gl(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 Gl(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 Gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Zl=Object(o.forwardRef)((e,t)=>{let n=e.src,r=e.title,a=void 0===r?"Audio Title":r,l=e.autoPlay,c=void 0!==l&&l,s=e.initialVolume,d=void 0===s?1:s,p=e.playbackRate,u=void 0===p?1:p,m=e.isPlayingProp,f=e.isExpandedProp,g=e.allowTogglePlay,h=void 0===g||g,y=e.allowSeek,b=void 0===y||y,x=e.allowVolumeChange,w=void 0===x||x,v=e.allowPlaybackRateChange,_=void 0===v||v,k=e.allowExpandCollapse,C=void 0===k||k,O=e.onPlay,E=e.onPause,I=e.onEnded,S=e.onTimeUpdate,j=e.onVolumeChange,z=e.onPlaybackRateChange,A=e.onSeek,N=e.onClose;const T=Object(o.useRef)(null),P=Yl(Object(o.useState)(null!=m?m:c),2),M=P[0],L=P[1],D=Yl(Object(o.useState)(null==f||f),2),R=D[0],B=D[1],W=Yl(Object(o.useState)(0),2),H=W[0],F=W[1],q=Yl(Object(o.useState)(0),2),$=q[0],U=q[1],V=Yl(Object(o.useState)(d),2),Y=V[0],G=V[1],Z=Yl(Object(o.useState)(u),2),X=Z[0],J=Z[1],Q=Yl(Object(o.useState)(!1),2),K=Q[0],ee=Q[1],te=Yl(Object(o.useState)(!1),2),ne=te[0],oe=te[1],ie=Yl(Object(o.useState)("undefined"==typeof window||window.innerWidth<=520),2),re=ie[0],ae=ie[1];Object(o.useEffect)(()=>{const e=()=>{"undefined"!=typeof window&&ae(window.innerWidth<=520)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),Object(o.useImperativeHandle)(t,()=>({parentControlToggle:()=>{le()}})),Object(o.useEffect)(()=>{T.current&&(T.current.volume=Y,T.current.playbackRate=X)},[Y,X]),Object(o.useEffect)(()=>{"boolean"==typeof m&&(m&&T.current?T.current.play().then(()=>{L(!0)}).catch(()=>{throw Error("Error attempting to play:")}):T.current&&(T.current.pause(),L(!1)))},[m]),Object(o.useEffect)(()=>{"boolean"==typeof f&&B(f)},[f]);const le=()=>{h&&(T.current&&T.current.paused?T.current.play().then(()=>{L(!0),O&&O()}).catch(()=>{throw Error("Error attempting to play:")}):T.current&&(T.current.pause(),L(!1),E&&E()))},ce=e=>{if(b&&T.current){const t=Math.min(Math.max(e,0),$);T.current.currentTime=t,F(t),A&&A(t)}},se=e=>{w&&(G(e),T.current&&(T.current.volume=e),j&&j(e))},de=e=>{_&&(J(e),T.current&&(T.current.playbackRate=e),z&&z(e))};return i.a.createElement(i.a.Fragment,null,i.a.createElement("audio",{ref:T,src:n,autoPlay:c,onTimeUpdate:()=>{if(!b)return;const e=T.current&&void 0!==T.current.currentTime&&null!==T.current.currentTime?T.current.currentTime:0;F(e),S&&S(e)},onLoadedMetadata:()=>{const e=T.current&&void 0!==T.current.duration&&null!==T.current.duration?T.current.duration:0;U(e)},onEnded:I}),re?i.a.createElement(dl,{isExpanded:R,isModalOpen:K},i.a.createElement(Wl,{isExpanded:R,toggleExpand:()=>{C&&B(!R)},allowExpandCollapse:C}),R&&i.a.createElement(i.a.Fragment,null,i.a.createElement(Hl,{title:a}),i.a.createElement(Fl,{currentTime:H,duration:$,onSeek:ce,allowSeek:b}),i.a.createElement($l,{currentTime:H,duration:$}),i.a.createElement(Ul,{isPlaying:M,togglePlayPause:le,rewind:()=>{ce(H-10)},forward:()=>{ce(H+10)},speed:X,onSpeedChange:de,allowTogglePlay:h,allowSeek:b,allowPlaybackRateChange:_,isSpeedModalOpen:K,setIsSpeedModalOpen:ee,isMobile:re}))):i.a.createElement(Vl,{audioRef:T,isPlaying:M,togglePlayPause:le,currentTime:H,duration:$,allowTogglePlay:h,allowSeek:b,allowVolumeChange:w,volume:Y,setVolume:se,handleSeek:ce,handleVolumeChange:se,speed:X,handleSpeedChange:de,allowPlaybackRateChange:_,isSpeedModalOpen:K,setIsSpeedModalOpen:ee,speedOptions:[.5,.8,1,1.2,1.5,2],handleSpeedSelect:e=>{de(e),ee(!1)},isVolumeSliderVisible:ne,setIsVolumeSliderVisible:oe,onClose:N,allowExpandCollapse:C,isMobile:re}))});function Xl(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Jl(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 Jl(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 Jl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Ql=e=>{let t=e.audioSrc;const n=Xl(Object(o.useState)("not-started"),2),r=n[0],a=n[1],l=Xl(Object(o.useState)(!1),2),c=l[0],s=l[1],d=Xl(Object(o.useState)(null),2),p=d[0],u=d[1],m=Object(o.useRef)(null);return i.a.createElement("div",null,i.a.createElement("audio",{ref:m,src:t,onLoadedMetadata:()=>{if(m.current){const e=Math.floor(m.current.duration),t=Math.floor(e/60)+1;u("".concat(t))}},preload:"metadata"}),i.a.createElement(al,{onClick:()=>{s(!0),a("playing"===r?"paused":"playing")},style:{backgroundColor:"not-started"!==r?"#1D1D1B":"unset",color:"not-started"===r?"#333":"#fff"}},"playing"===r?i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PauseIcon,{width:16,height:16,fill:"#fff"})," Playing"):"paused"===r?i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PlayIcon,{width:16,height:16,fill:"#fff"})," Paused"):i.a.createElement(i.a.Fragment,null,i.a.createElement(ae.PlayIcon,{width:16,height:16})," Listen"),i.a.createElement("span",{style:{color:"not-started"===r?"#696969":"#fff"}}," ",p," min")),c&&i.a.createElement(Zl,{src:t,isPlayingProp:"playing"===r,onPlay:()=>a("playing"),onPause:()=>a("paused"),onEnded:()=>a("not-started"),onClose:()=>{s(!1)}}))};const Kl=a.a.div.withConfig({displayName:"styles__FeaturesCarouselContainer",componentId:"li7f4o-0"})(["position:relative;width:100%;scrollbar-width:none;overflow:hidden;overflow-x:auto;"]),ec=a.a.div.withConfig({displayName:"styles__FeaturesCarouselWindow",componentId:"li7f4o-1"})(["position:relative;width:max-content;min-width:100%;display:grid;grid-template-columns:200px 200px 200px;grid-auto-rows:1fr;grid-gap:16px;padding-left:10px;padding-right:10px;"]),tc=a.a.a.withConfig({displayName:"styles__CarouselItem",componentId:"li7f4o-2"})(["border:1px solid #e4e4e4;border-radius:4px;display:flex;flex-direction:column;justify-content:center;float:left;text-align:center;text-decoration:none;img{height:80px;width:auto;margin:8px auto;}"]),nc=a.a.div.withConfig({displayName:"styles__CarouselContent",componentId:"li7f4o-3"})(["background:",";flex-grow:1;padding:0 16px;width:100%;h3{color:",";font-family:'Roboto';font-size:12px;font-weight:700;line-height:14px;margin:8px;text-transform:uppercase;}p{color:#000;font-family:'Times Modern';font-size:20px;font-weight:300;line-height:23px;margin:8px;}"],e=>e.colours.bg,e=>e.colours.title),oc=a.a.div.withConfig({displayName:"styles__Header",componentId:"li7f4o-4"})(["margin-bottom:12px;padding:16px 12px 12px 12px;font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],l.fonts.headline),ic=e=>{let t=e.title,n=e.text,o=e.image,r=e.color,a=e.url;return i.a.createElement(tc,{href:a},i.a.createElement("img",{src:o,alt:t}),i.a.createElement(nc,{colours:r},i.a.createElement("h3",null,t),i.a.createElement("p",null,n)))},rc=e=>{let t=e.heading,n=e.carouselItems,o=e.hideHeading;return n?i.a.createElement("div",{id:"benefits-carousel"},!o&&i.a.createElement(oc,null,t),i.a.createElement(Kl,null,i.a.createElement(ec,null,n.map(e=>i.a.createElement(ic,Object.assign({},e)))))):null},ac=a.a.a.withConfig({displayName:"styles__Link",componentId:"sc-1yp248t-0"})(["width:fit-content;height:48px;font-family:Roboto,sans-serif;font-size:16px;font-weight:500;border:none;border-radius:0;padding:12px 16px;background-color:#005c8a;color:#ffffff;display:flex;text-decoration:none;align-items:center;"]);function lc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function cc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lc(Object(n),!0).forEach((function(t){sc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const dc=e=>{let t=e.attributes;return t&&t.text.trim()&&t.url.trim()?i.a.createElement(ac,{href:t.url,target:t.target||"_blank",className:t.className,onClick:()=>function(e,t,n,o,i){let r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};window.utag&&window.utag.link?window.utag.link(cc({event_navigation_name:e,event_navigation_action:t,event_navigation_browsing_method:n,article_parent_name:o,section_details:i},r)):console.error("Tealium tracking is not available.")}("affiliate cta clicked","navigation","click",t.url,t.text.toLowerCase()),rel:"nofollow",style:{display:t.className&&t.className.includes("js-cta-experiment-variation")?"none":"block"}},t.text):null},pc=a.a.div.withConfig({displayName:"styles__CardContainer",componentId:"sc-12n1gx9-0"})(["padding:24px;height:auto;width:auto;border:1px solid #e4e4e4;background-color:#f5f5f5;margin:0;max-width:460px;"]),uc=a.a.div.withConfig({displayName:"styles__Header",componentId:"sc-12n1gx9-1"})(["display:flex;"]),mc=a()(mn).withConfig({displayName:"styles__CustomIconContainer",componentId:"sc-12n1gx9-2"})(["height:auto;width:auto;margin-right:8px;svg{fill:#1573a2;width:20px;height:20px;}"]),fc=a.a.h1.withConfig({displayName:"styles__Title",componentId:"sc-12n1gx9-3"})(["color:#005c8a;font-family:Roboto;font-size:20px;font-style:normal;font-weight:700;line-height:112.5%;margin:0;@media (max-width:","px){font-size:18px;}"],l.breakpoints.medium),gc=a.a.p.withConfig({displayName:"styles__Paragraph",componentId:"sc-12n1gx9-4"})(["color:#333;font-family:Roboto;font-size:18px;font-style:normal;font-weight:400;line-height:150%;margin:24px 0;@media (max-width:","px){font-size:16px;}"],l.breakpoints.medium),hc=a.a.button.withConfig({displayName:"styles__EnableButton",componentId:"sc-12n1gx9-5"})(["display:flex;align-items:flex-start;align-self:stretch;background-color:#005c8a;padding:8px 12px;width:100%;justify-content:center;color:#ffffff;border:none;"]),yc=a.a.button.withConfig({displayName:"styles__AllowButton",componentId:"sc-12n1gx9-6"})(["display:flex;align-items:flex-start;align-self:stretch;color:#333333;width:100%;justify-content:center;margin-top:12px;padding:8px 12px;border-radius:0px;border-width:1px;"]),bc=a.a.a.withConfig({displayName:"styles__LinkPrivacyManager",componentId:"sc-12n1gx9-7"})(["color:#00527a;"]),xc=a.a.blockquote.withConfig({displayName:"styles__InstagramContainer",componentId:"sc-12n1gx9-8"})(["background:#fff;border:0;border-radius:3px;box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15);margin:1px;max-width:540px;min-width:326px;padding:0;width:calc(100% - 2px);position:relative;"]),wc={twitter:{id:"5fab0c31a22863611c5f8764",status:"pending",title:"X (Twitter)"},youtube:{id:"5e7ac3fae30e7d1bc1ebf5e8",status:"pending",title:"Youtube"},tiktok:{id:"5e7f6927b8e05c4e491e7380",status:"pending",title:"Tiktok"},instagram:{id:"5e7f6927b8e05c4e491e6324",status:"pending",title:"Instagram"}};function vc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function _c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vc(Object(n),!0).forEach((function(t){kc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Cc="gdpr",Oc="tcloaded",Ec="useractioncomplete";function Ic(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Sc(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 Sc(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 Sc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const jc=Object(o.createContext)(void 0),zc=e=>{let t=e.children;const n=Ic(Object(o.useState)({instagram:!1,twitter:!1,tiktok:!1,youtube:!1}),2),r=n[0],a=n[1],l=Ic(Object(o.useState)({instagram:!1,twitter:!1,tiktok:!1,youtube:!1}),2),c=l[0],s=l[1];return Object(o.useEffect)(()=>{s({instagram:r.instagram,twitter:r.twitter,tiktok:r.tiktok,youtube:r.youtube})},[r]),i.a.createElement(jc.Provider,{value:{isSocialEmbedAllowed:r,setIsSocialEmbedAllowed:a,isAllowedOnce:c,setIsAllowedOnce:s}},t)},Ac=()=>{const e=Object(o.useContext)(jc);if(!e)throw new Error("useSocialEmbedsContext must be used within a SocialEmbedsProvider");return e};function Nc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Tc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nc(Object(n),!0).forEach((function(t){Pc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Mc=e=>{let t=e.vendorName;const n=Ac(),o=n.setIsSocialEmbedAllowed,r=n.setIsAllowedOnce;return i.a.createElement(pc,null,i.a.createElement(uc,null,i.a.createElement(mc,null,i.a.createElement(Br,null)),i.a.createElement(fc,null,((e,t)=>"twitter"===e?"X (Twitter)":t[e].title)(t,wc)," content blocked")),i.a.createElement(gc,null,"Please enable cookies and other technologies to view this content. You can update your cookies preferences any time using"," ",i.a.createElement(bc,{href:"#",onClick:e=>{e.preventDefault(),((e,t)=>{const n=yr()(window,"_sp_.".concat(e,".loadPrivacyManagerModal"));n?n(t):console.warn("Sourcepoint LoadPrivacyManagerModal is not available")})(Cc,window.__TIMES_CONFIG__.sourcepoint.gdprMessageId)}},"privacy manager.")),i.a.createElement(hc,{onClick:()=>{((e,t)=>{const n=(n,o)=>o?(t(t=>_c(_c({},t),{},{[e]:!0})),!0):(t(t=>_c(_c({},t),{},{[e]:!1})),null),o=wc[e].id;window.__tcfapi&&o&&window.__tcfapi("getCustomVendorConsents",2,(i,r)=>{r&&i&&i.grants[o]?window.__tcfapi("postCustomConsent",2,n,[o],Object.keys(i.grants[o].purposeGrants),[]):t(t=>_c(_c({},t),{},{[e]:!1}))})})(t,o)}},"Enable cookies"),i.a.createElement(yc,{onClick:()=>{r(e=>Tc(Tc({},e),{},{[t]:!0}))}},"Allow cookies once"))},Lc={twitter:e=>{let t=e.url;return i.a.createElement("blockquote",{className:"twitter-tweet","data-testid":"twitter-embed"},i.a.createElement("a",{href:t}))},youtube:e=>{let t=e.url;return i.a.createElement("iframe",{width:"560",height:"315",src:t,title:"YouTube video player",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})},tiktok:e=>{let t=e.url;Object(o.useEffect)(()=>{const e=document.createElement("script");return e.src="https://www.tiktok.com/embed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]);const n=new URL(t).pathname.split("/").pop(),r=new URL(t).origin+t;return i.a.createElement("blockquote",{className:"tiktok-embed",cite:r,"data-video-id":n,style:{maxWidth:"605px",minWidth:"325px"},"data-testid":"tiktok-embed"},i.a.createElement("section",null))},instagram:e=>{let t=e.url;return Object(o.useEffect)(()=>{const e=document.createElement("script");return e.src="https://www.instagram.com/embed.js",e.async=!0,document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),i.a.createElement(xc,{className:"instagram-media","data-instgrm-captioned":!0,"data-instgrm-permalink":"".concat(t,"?utm_source=ig_embed&utm_campaign=loading"),"data-instgrm-version":"14"},i.a.createElement(U.Placeholder,null))}},Dc=e=>{let t=e.vendorName,n=e.url;const o=Lc[t];return i.a.createElement(o,{url:n})};function Rc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Bc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rc(Object(n),!0).forEach((function(t){Wc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Wc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Hc=e=>{let t=e.id,n=e.url,r=e.vendorName;const a=Ac(),l=a.setIsSocialEmbedAllowed,c=a.isAllowedOnce,s=a.isSocialEmbedAllowed;return Object(o.useEffect)(()=>{window.__tcfapi&&window.__tcfapi("addEventListener",2,(e,t)=>{if(t&&(e.eventStatus===Oc||e.eventStatus===Ec)){const e=(e=>{let t=!1;return window.__tcfapi&&window.__tcfapi("getCustomVendorConsents",2,(n,o)=>{o&&n&&n.consentedVendors?t=n.consentedVendors.some(t=>t.name.toLowerCase()===e.toLowerCase()):(console.log("Error fetching consent data or ".concat(e," embed not allowed")),t=!1)}),t})(r);l(t=>Bc(Bc({},t),{},{[r]:e}))}})},[r,l]),s[r]||c[r]?i.a.createElement("div",{id:t},i.a.createElement(Dc,{vendorName:r,url:n})):i.a.createElement(Mc,{vendorName:r})},Fc=e=>{let t=e.source;return t?(Object(o.useEffect)(()=>{setTimeout(()=>{const e=atob(t),n=(new DOMParser).parseFromString(e,"text/html").head.getElementsByTagName("script")[0].getAttribute("src"),o=document.getElementById("poll-parent");if(o&&n){let e=document.createElement("script");e.setAttribute("src",n),o.appendChild(e)}},0)},[]),i.a.createElement("div",{id:"poll-parent","data-testid":"poll-parent"})):null},qc=a.a.div.withConfig({displayName:"styles__Container",componentId:"o29w9b-0"})(["height:auto;border-top:1px solid #ccc;border-bottom:1px solid #ccc;margin:30px 0 60px 0;padding:1px 1px 10px;"]),$c=a.a.div.withConfig({displayName:"styles__Disclaimer",componentId:"o29w9b-1"})(["text-align:center;padding:14px 0;margin:5px 0;display:flex;flex-direction:column;align-items:center;.shortcode-disclaimer_text{display:inline;clear:both;font-size:1.8rem;line-height:1.5;color:#1d1d1b;padding:0;font-weight:400;margin:0;}.shortcode-disclaimer__toggle{font-weight:400;word-wrap:break-word;margin-left:8px;font-family:Roboto,sans-serif;font-size:12px;line-height:1.5;font-weight:400;color:rgb(105,105,105) !important;font-style:normal;text-decoration:none !important;display:inline-flex;margin-top:5px;}.shortcode-disclaimer__toggle:after{transition:transform 0.2s linear;content:'';display:inline-block;background-image:url('https://www.thetimes.co.uk/travel/wp-content/themes/tnl-travel-refactor/dist/assets/css/svg/arrow-affiliate.svg');background-repeat:no-repeat;background-position:50%;background-size:cover;height:16px;width:16px;margin-left:2px;margin-top:2px;-webkit-transform:rotate(180deg);}"]),Uc=a.a.div.withConfig({displayName:"styles__TextContainer",componentId:"o29w9b-2"})(["overflow:hidden;transition:height 0.3s ease-in-out;p{text-align:center;margin:0 !important;clear:both;font-size:1.8rem;line-height:1.6;color:rgb(105,105,105) !important;padding:0 5px 30px;font-weight:400;font-family:TimesDigitalW04-Regular,TimesDigitalW04-Regular-fallback,serif;}"]);function Vc(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 o,i,r=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(o=n.next()).done)&&(r.push(o.value),!t||r.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Yc(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 Yc(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 Yc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}const Gc=e=>{const t=e.attributes,n=Vc(Object(o.useState)(!1),2),r=n[0],a=n[1],l=Object(o.useRef)(null);return i.a.createElement(qc,null,i.a.createElement($c,null,i.a.createElement("p",{className:"shortcode-disclaimer_text"},decodeURIComponent(t.disclaimer_text)),i.a.createElement("a",{className:"shortcode-disclaimer__toggle",href:"#",onClick:e=>{e.preventDefault(),a(!r)}},r?decodeURIComponent(t.toggle_active_text):decodeURIComponent(t.toggle_inactive_text))),i.a.createElement(Uc,{style:{height:r&&l.current?"".concat(l.current.getBoundingClientRect().height,"px"):"0px"}},i.a.createElement("p",{ref:l},decodeURIComponent(t.disclaimer_full_text))))},Zc=a.a.div.withConfig({displayName:"styles__Hidden",componentId:"z2gbsu-0"})([""," "," "," ",""],e=>e.xs&&"\n @media (max-width: 767px) {\n display: none;\n}\n ",e=>e.sm&&"\n @media (min-width: 768px) and (max-width: 1023px) {\n display: none;\n }\n ",e=>e.md&&"\n @media (min-width: 1024px) and (max-width: 1439px) {\n display: none;\n }\n ",e=>e.lg&&"\n @media (min-width: 1440px) {\n display: none;\n }\n "),Xc=a.a.div.withConfig({displayName:"styles__StyledCard",componentId:"z2gbsu-1"})(["display:flex;flex-direction:column;@media (min-width:768px){position:relative;",";}@media (min-width:1024px){",";}"],e=>e.$numOfArticles>1&&"\n &::after {\n content: '';\n position: absolute;\n top: 0;\n right: -16px;\n width: 1px;\n height: 100%;\n background-color: #e4e4e4;\n }\n\n &:nth-of-type(4n),\n &:last-child {\n &::after {\n display: none;\n }\n }\n ",e=>1===e.$numOfArticles&&"\n display: grid;\n grid-template-columns: repeat(2, 1fr);\n grid-template-areas: 'media content';\n column-gap: 32px;\n "),Jc=a.a.div.withConfig({displayName:"styles__StyledMedia",componentId:"z2gbsu-2"})(["display:flex;justify-content:center;"]),Qc=a.a.picture.withConfig({displayName:"styles__StyledPicture",componentId:"z2gbsu-3"})(["display:block;width:100%;height:auto;"]),Kc=a.a.img.withConfig({displayName:"styles__StyledImg",componentId:"z2gbsu-4"})(["width:100%;height:100%;object-fit:cover;display:inline-block;@media (min-width:1440px){",";",";",";}@media (min-width:1024px) and (max-width:1439px){",";",";",";}@media (min-width:768px) and (max-width:1023px){",";",";",";",";}@media (max-width:375px){min-height:199px;}"],e=>4===e.$numOfArticles&&"\n min-height: 147px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 202px;\n ",e=>e.$numOfArticles<=2&&"\n min-height: 312px;\n ",e=>4===e.$numOfArticles&&"\n min-height: 124px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 172px;\n ",e=>e.$numOfArticles<=2&&"\n min-height: 267px;\n ",e=>4===e.$numOfArticles&&"\n min-height: 87px;\n ",e=>3===e.$numOfArticles&&"\n min-height: 123px;\n ",e=>1===e.$numOfArticles&&"\n min-height: 405px;\n ",e=>2===e.$numOfArticles&&"\n min-height: 193px;\n "),es=a.a.div.withConfig({displayName:"styles__StyledContent",componentId:"z2gbsu-5"})(["display:flex;flex-direction:column;justify-content:center;@media (max-width:375px){&:nth-of-type(1){margin-block-start:15px;}&:not(:nth-of-type(1)){margin-block-start:0;}}@media (min-width:768px){margin-block-start:15px;}@media (min-width:1024px){",";}@media (min-width:768px) and (max-width:1023px){margin-block-start:12px;}"],e=>1===e.$numOfArticles&&"\n display: flex;\n flex-direction: column;\n justify-content: center;\n "),ts=a.a.span.withConfig({displayName:"styles__StyledText",componentId:"z2gbsu-6"})(["color:rgb(105,105,105);font-family:'Times Digital W04 Regular';font-size:1.4rem;font-weight:400;padding:0.5px 0px;margin-block-start:20px;line-height:2.1rem;letter-spacing:0em;padding:0.5px 0px;&::before{display:block;content:'';margin-top:-0.393em;}&::after{display:block;content:'';margin-top:-0.415em;}@media (max-width:767px){display:none;",";}"],e=>1===e.$numOfArticles&&"\n display: block;\n "),ns=a.a.hr.withConfig({displayName:"styles__StyledDivider",componentId:"z2gbsu-7"})(["border-style:dashed;border-color:#cccccc;border-width:1px 0px 0px;margin-block:20px;width:100%;@media (min-width:768px){display:none;}"]),os=a.a.a.withConfig({displayName:"styles__StyledLink",componentId:"z2gbsu-8"})(["font-weight:700;font-family:'Times Modern';font-size:20px;line-height:23px;text-decoration:none;color:#01000d;letter-spacing:0em;padding:0.5px 0px;font-stretch:normal;&::before{display:block;content:'';margin-top:-0.216em;}&::after{display:block;content:'';margin-top:-0.234em;}@media (max-width:375px){font-size:1.25rem;}@media (max-width:767px){font-size:2rem;line-height:2.25rem;&::before{display:block;content:'';margin-top:-0.2035em;}&::after{display:block;content:'';margin-top:-0.2215em;}}@media (min-width:1024px){font-size:2.8rem;line-height:3.15rem;",";}@media (min-width:767px) and (max-width:1023px){font-size:2.8rem;line-height:3.15rem;",";}"],e=>e.$numOfArticles>=3&&"\n font-size: 20px;\n line-height: 23px;\n ",e=>e.$numOfArticles>=2&&"\n font-size: 20px;\n line-height: 23px;\n "),is=(e,t)=>{global.window.utag&&global.window.utag.link({event_navigation_action:"navigation",event_navigation_name:"travel contents card selection",event_navigation_browsing_method:"click",article_parent_name:"".concat(e),section_details:"".concat(t)})};var rs=e=>{const t=e.article,n=e.numOfArticles,o=e.isLeadingArticle,r=e.isLastCard,a=e=>e?"".concat(e).concat(e.includes("?")?"&":"?","resize=750"):"";return i.a.createElement(Xc,{$numOfArticles:n},o?i.a.createElement("a",{href:t.url,onClick:()=>{is(t.headline,t.headline)}},i.a.createElement(Jc,null,i.a.createElement(Qc,null,i.a.createElement(Kc,{loading:"lazy",src:a(t.image.url),$numOfArticles:n})))):i.a.createElement(Zc,{xs:!0},i.a.createElement("a",{href:t.url,onClick:()=>{is(t.headline,t.headline)}},i.a.createElement(Jc,null,i.a.createElement(Qc,null,i.a.createElement(Kc,{loading:"lazy",src:a(t.image.url),$numOfArticles:n}))))),i.a.createElement(es,{$numOfArticles:n},i.a.createElement(os,{$numOfArticles:n,href:t.url,onClick:()=>is(t.headline,t.headline)},t.headline),i.a.createElement(ts,{$numOfArticles:n},((e,t)=>{if(e.length<=t)return e;let n=e.slice(0,t);const o=n.lastIndexOf(" ");return o>0&&(n=n.slice(0,o)),"".concat(n,"...")})(t.summary,160)),!r&&i.a.createElement(ns,null)))};const as=a.a.div.withConfig({displayName:"styles__Container",componentId:"l5v2oa-0"})(["max-width:1144px;margin:0 auto;padding-block-end:24px;@media (max-width:767px){padding-inline:10px;}@media (min-width:768px) and (max-width:1023px){padding-inline:24px;}@media (min-width:1024px) and (max-width:1319px){padding-inline:20px;}"]),ls=a.a.span.withConfig({displayName:"styles__Title",componentId:"l5v2oa-1"})(["display:block;margin-block:24px 23px;font-family:'Times Modern';font-size:2.4rem;font-weight:800;color:#01000d;letter-spacing:0em;&::before{display:block;content:'';margin-top:-0.2035em;}&::after{display:block;content:'';margin-top:-0.2215em;}@media (min-width:768px){font-size:2.8rem;line-height:3.15rem;}@media (max-width:767px){margin-block:20px 19px;}"]),cs=a.a.div.withConfig({displayName:"styles__Grid",componentId:"l5v2oa-2"})(["display:grid;grid-template-columns:repeat(",",1fr);gap:20px;@media (max-width:767px){grid-template-columns:1fr;gap:0px;}@media (min-width:768px){gap:32px;}"],e=>e.columns),ss=a.a.hr.withConfig({displayName:"styles__Divider",componentId:"l5v2oa-3"})(["border-bottom:1px solid #01000d;border-top:0px;margin:0px;align-self:stretch;border-radius:0px;@media (max-width:767px){border-bottom:3px solid rgb(1,0,13);}"]),ds=e=>{let t=e.element;const n=e=>{try{const t=atob(e),n=new TextDecoder("utf-8"),o=Uint8Array.from(t,e=>e.charCodeAt(0));return n.decode(o)}catch(t){return console.error("Failed to decode base64 string:",e,t),e}},r=JSON.parse(atob(t.articles||"")).map(e=>({id:n(e.id),headline:n(e.headline),summary:n(e.summary),label:n(e.label),url:n(e.url),image:{alt:n(e.image.alt),url:n(e.image.url)}})),a=r.length;return i.a.createElement(as,null,i.a.createElement(ss,null),i.a.createElement(ls,null,t.title),i.a.createElement(cs,{columns:a},r.map((e,t)=>i.a.createElement(o.Fragment,{key:e.id},i.a.createElement(rs,{article:e,sectionTitle:e.headline,numOfArticles:a,isLeadingArticle:0===t,isLastCard:t===a-1})))))};n.d(t,"BreakingArticleFlag",(function(){return P})),n.d(t,"LiveArticleFlag",(function(){return T})),n.d(t,"TrackingContextProvider",(function(){return $})),n.d(t,"InArticlePuff",(function(){return Ee})),n.d(t,"InfoCard",(function(){return Ke})),n.d(t,"GalleryCarousel",(function(){return wt})),n.d(t,"InfoCardBulletPoints",(function(){return Tt})),n.d(t,"BigNumbers",(function(){return $t})),n.d(t,"ArticleFlag",(function(){return Vt})),n.d(t,"ArticleFlags",(function(){return Kt})),n.d(t,"NewArticleFlag",(function(){return Yt})),n.d(t,"UpdatedArticleFlag",(function(){return Gt})),n.d(t,"ExclusiveArticleFlag",(function(){return Zt})),n.d(t,"SponsoredArticleFlag",(function(){return Xt})),n.d(t,"LongReadArticleFlag",(function(){return Jt})),n.d(t,"Timelines",(function(){return un})),n.d(t,"SaveStar",(function(){return kn})),n.d(t,"Breadcrumb",(function(){return jn})),n.d(t,"UpdateButton",(function(){return Pn})),n.d(t,"UpdateButtonWithDelay",(function(){return Fn})),n.d(t,"Banner",(function(){return to})),n.d(t,"JobTitle",(function(){return ho})),n.d(t,"AutoNewsletterPuff",(function(){return ei})),n.d(t,"InlineNewsletterPuff",(function(){return Ko})),n.d(t,"PreviewNewsletterPuff",(function(){return ti})),n.d(t,"OptaCricketScorecard",(function(){return mi})),n.d(t,"OptaFixturesTicker",(function(){return Ei})),n.d(t,"OptaFootballFixtures",(function(){return zi})),n.d(t,"OptaFootballFixturesTournament",(function(){return Pi})),n.d(t,"OptaFootballStandings",(function(){return Ri})),n.d(t,"OptaFootballSummary",(function(){return Fi})),n.d(t,"OptaFootballMatchStats",(function(){return Vi})),n.d(t,"OptaFootballPlayerStats",(function(){return Xi})),n.d(t,"OptaRugbyFixtures",(function(){return or})),n.d(t,"OptaRugbyStandings",(function(){return lr})),n.d(t,"OptaRugbySummary",(function(){return pr})),n.d(t,"OptaRugbyMatchStats",(function(){return gr})),n.d(t,"RecommendedFetch",(function(){return Sr})),n.d(t,"CategorisedArticles",(function(){return zr})),n.d(t,"FetchProvider",(function(){return Q})),n.d(t,"ViewCountWrapper",(function(){return Eo})),n.d(t,"HiddenDiv",(function(){return ue})),n.d(t,"InlineMessage",(function(){return Wr})),n.d(t,"InlineDialog",(function(){return Vr})),n.d(t,"ArticleHeader",(function(){return ka})),n.d(t,"UpdatedTimestamp",(function(){return j})),n.d(t,"UpdatedTimeProvider",(function(){return A})),n.d(t,"WelcomeBanner",(function(){return ja})),n.d(t,"safeDecodeURIComponent",(function(){return Kr})),n.d(t,"ArticleSidebar",(function(){return Va})),n.d(t,"QuizleSidebar",(function(){return rl})),n.d(t,"ArticleAudio",(function(){return Ql})),n.d(t,"FeaturesCarousel",(function(){return rc})),n.d(t,"CtaButton",(function(){return dc})),n.d(t,"SocialMediaEmbed",(function(){return Hc})),n.d(t,"PalinPolls",(function(){return Fc})),n.d(t,"useSocialEmbedsContext",(function(){return Ac})),n.d(t,"SocialEmbedsProvider",(function(){return zc})),n.d(t,"AffiliateLinkDisclaimer",(function(){return Gc})),n.d(t,"ArticleCard",(function(){return ds}))}]);
|